projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-fix whitespace errors
[ldk-java]
/
typescript_strings.py
diff --git
a/typescript_strings.py
b/typescript_strings.py
index de8ce66a455235a298805603b20fdfae32b9e084..5e008a736ce5da66d1119602c8bc6264840db1d4 100644
(file)
--- a/
typescript_strings.py
+++ b/
typescript_strings.py
@@
-286,11
+286,9
@@
import * as bindings from '../bindings' // TODO: figure out location
else:
return None
-
def wasm_import_header(self, target):
if target == Target.NODEJS:
return """
-
import * as fs from 'fs';
const source = fs.readFileSync('./ldk.wasm');
@@
-398,9
+396,7
@@
const decodeString = (stringPointer, free = true) => {
return result;
};
-
-
- """
+"""
return ''
def init_str(self):