[TS] Update auto-generated TS bindings
[ldk-java] / ts / structs / TwoTuple_PublicKeyTypeZ.mts
index 3b1cffa08ce9c28adf2ea9174c154bef6cfa3eb3..76cd9f0ecf7b2dce091c8552b1bb6e0f73c47fc1 100644 (file)
@@ -361,7 +361,7 @@ import * as bindings from '../bindings.mjs'
  */
 export class TwoTuple_PublicKeyTypeZ extends CommonBase {
        /* @internal */
-       public constructor(_dummy: object, ptr: number) {
+       public constructor(_dummy: object, ptr: bigint) {
                super(ptr, bindings.C2Tuple_PublicKeyTypeZ_free);
        }
 
@@ -378,14 +378,14 @@ export class TwoTuple_PublicKeyTypeZ extends CommonBase {
         * 
         */
        public get_b(): Type {
-               const ret: number = bindings.C2Tuple_PublicKeyTypeZ_get_b(this.ptr);
+               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_get_b(this.ptr);
                const ret_hu_conv: Type = new Type(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, this);
                return ret_hu_conv;
        }
 
-       public clone_ptr(): number {
-               const ret: number = bindings.C2Tuple_PublicKeyTypeZ_clone_ptr(this.ptr);
+       public clone_ptr(): bigint {
+               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_clone_ptr(this.ptr);
                return ret;
        }
 
@@ -394,7 +394,7 @@ export class TwoTuple_PublicKeyTypeZ extends CommonBase {
         * but with all dynamically-allocated buffers duplicated in new buffers.
         */
        public clone(): TwoTuple_PublicKeyTypeZ {
-               const ret: number = bindings.C2Tuple_PublicKeyTypeZ_clone(this.ptr);
+               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_clone(this.ptr);
                const ret_hu_conv: TwoTuple_PublicKeyTypeZ = new TwoTuple_PublicKeyTypeZ(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, this);
                return ret_hu_conv;
@@ -404,7 +404,7 @@ export class TwoTuple_PublicKeyTypeZ extends CommonBase {
         * Creates a new C2Tuple_PublicKeyTypeZ from the contained elements.
         */
        public static constructor_new(a: Uint8Array, b: Type): TwoTuple_PublicKeyTypeZ {
-               const ret: number = bindings.C2Tuple_PublicKeyTypeZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 33)), b == null ? 0 : CommonBase.get_ptr_of(b));
+               const ret: bigint = bindings.C2Tuple_PublicKeyTypeZ_new(bindings.encodeUint8Array(bindings.check_arr_len(a, 33)), b == null ? 0n : CommonBase.get_ptr_of(b));
                const ret_hu_conv: TwoTuple_PublicKeyTypeZ = new TwoTuple_PublicKeyTypeZ(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, b);