projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Java] Update LDK batteries to latest upstream API
[ldk-java]
/
typescript_strings.py
diff --git
a/typescript_strings.py
b/typescript_strings.py
index 76e43828913cc71225f65eebfab8d336a5c1a574..670eb2ae73124346a41e919247f43d601e12a63f 100644
(file)
--- a/
typescript_strings.py
+++ b/
typescript_strings.py
@@
-326,6
+326,10
@@
export class UInt5 {
return this.val;
}
}
return this.val;
}
}
+
+export class UnqualifiedError {
+ public constructor(val: number) {}
+}
"""
self.txout_defn = """export class TxOut extends CommonBase {
"""
self.txout_defn = """export class TxOut extends CommonBase {
@@
-592,7
+596,7
@@
jstring __attribute__((export_name("TS_get_ldk_version"))) get_ldk_version() {
}"""
self.hu_struct_file_prefix = """
}"""
self.hu_struct_file_prefix = """
-import { CommonBase, UInt5 } from './CommonBase.mjs';
+import { CommonBase, UInt5
, UnqualifiedError
} from './CommonBase.mjs';
import * as bindings from '../bindings.mjs'
"""
import * as bindings from '../bindings.mjs'
"""