projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated TypeScript Bindings
[ldk-java]
/
ts
/
structs
/
Result_PaymentSecretAPIErrorZ.mts
diff --git
a/ts/structs/Result_PaymentSecretAPIErrorZ.mts
b/ts/structs/Result_PaymentSecretAPIErrorZ.mts
index e3190dd9ef18e580a35dbb80ff3581f321db8319..5c26f11a690103682451d8309edb342d2c337195 100644
(file)
--- a/
ts/structs/Result_PaymentSecretAPIErrorZ.mts
+++ b/
ts/structs/Result_PaymentSecretAPIErrorZ.mts
@@
-279,7
+279,6
@@
import { MultiThreadedLockableScore } from '../structs/MultiThreadedLockableScor
import CommonBase from './CommonBase.mjs';
import * as bindings from '../bindings.mjs'
import CommonBase from './CommonBase.mjs';
import * as bindings from '../bindings.mjs'
-import * as InternalUtils from '../InternalUtils.mjs'
@@
-296,7
+295,7
@@
export class Result_PaymentSecretAPIErrorZ extends CommonBase {
}
}
public static constructor_ok(o: Uint8Array): Result_PaymentSecretAPIErrorZ {
}
}
public static constructor_ok(o: Uint8Array): Result_PaymentSecretAPIErrorZ {
- const ret: number = bindings.CResult_PaymentSecretAPIErrorZ_ok(
InternalUtils.check_arr_len(o, 32
));
+ const ret: number = bindings.CResult_PaymentSecretAPIErrorZ_ok(
bindings.encodeUint8Array(bindings.check_arr_len(o, 32)
));
const ret_hu_conv: Result_PaymentSecretAPIErrorZ = Result_PaymentSecretAPIErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
const ret_hu_conv: Result_PaymentSecretAPIErrorZ = Result_PaymentSecretAPIErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
@@
-330,7
+329,9
@@
export class Result_PaymentSecretAPIErrorZ_OK extends Result_PaymentSecretAPIErr
/* @internal */
public constructor(_dummy: object, ptr: number) {
super(_dummy, ptr);
/* @internal */
public constructor(_dummy: object, ptr: number) {
super(_dummy, ptr);
- this.res = bindings.CResult_PaymentSecretAPIErrorZ_get_ok(ptr);
+ const res: number = bindings.CResult_PaymentSecretAPIErrorZ_get_ok(ptr);
+ const res_conv: Uint8Array = bindings.decodeUint8Array(res);
+ this.res = res_conv;
}
}
export class Result_PaymentSecretAPIErrorZ_Err extends Result_PaymentSecretAPIErrorZ {
}
}
export class Result_PaymentSecretAPIErrorZ_Err extends Result_PaymentSecretAPIErrorZ {