@xstoicunicornx/payjoin_test 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -2
- package/dist/{generated → nodejs/bindings}/payjoin.d.ts +171 -171
- package/dist/nodejs/bindings/payjoin.d.ts.map +1 -0
- package/dist/{generated → nodejs/bindings}/payjoin.js +73 -100
- package/dist/nodejs/bindings/payjoin.js.map +1 -0
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.d.ts +185 -170
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.js +609 -540
- package/dist/nodejs/bindings/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/{generated → nodejs/bindings}/wasm-bindgen/index_bg.wasm.d.ts +26 -20
- package/dist/{index.d.ts → nodejs/index.d.ts} +2 -2
- package/dist/nodejs/index.d.ts.map +1 -0
- package/dist/{index.js → nodejs/index.js} +3 -3
- package/dist/nodejs/index.js.map +1 -0
- package/dist/web/bindings/payjoin.d.ts +6865 -0
- package/dist/web/bindings/payjoin.d.ts.map +1 -0
- package/dist/web/bindings/payjoin.js +14435 -0
- package/dist/web/bindings/payjoin.js.map +1 -0
- package/dist/web/bindings/wasm-bindgen/index.d.ts +2504 -0
- package/dist/web/bindings/wasm-bindgen/index.js +6808 -0
- package/dist/{generated → web/bindings}/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/web/bindings/wasm-bindgen/index_bg.wasm.d.ts +1211 -0
- package/dist/web/index.d.ts +8 -0
- package/dist/web/index.d.ts.map +1 -0
- package/dist/web/index.js +20 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/vite.index.d.ts +8 -0
- package/dist/web/vite.index.d.ts.map +1 -0
- package/dist/web/vite.index.js +24 -0
- package/dist/web/vite.index.js.map +1 -0
- package/package.json +19 -12
- package/dist/generated/payjoin.d.ts.map +0 -1
- package/dist/generated/payjoin.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.web.js +0 -26
|
@@ -32,13 +32,13 @@ export async function replayReceiverEventLogAsync(persister, asyncOpts_) {
|
|
|
32
32
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_func_replay_receiver_event_log_async(FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
33
33
|
},
|
|
34
34
|
/*pollFunc:*/ nativeModule()
|
|
35
|
-
.
|
|
35
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
36
36
|
/*cancelFunc:*/ nativeModule()
|
|
37
|
-
.
|
|
37
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
38
38
|
/*completeFunc:*/ nativeModule()
|
|
39
|
-
.
|
|
39
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
40
40
|
/*freeFunc:*/ nativeModule()
|
|
41
|
-
.
|
|
41
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
42
42
|
/*liftFunc:*/ FfiConverterTypeReplayResult.lift.bind(FfiConverterTypeReplayResult),
|
|
43
43
|
/*liftString:*/ FfiConverterString.lift,
|
|
44
44
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -68,13 +68,13 @@ export async function replaySenderEventLogAsync(persister, asyncOpts_) {
|
|
|
68
68
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_func_replay_sender_event_log_async(FfiConverterTypeJsonSenderSessionPersisterAsync.lower(persister));
|
|
69
69
|
},
|
|
70
70
|
/*pollFunc:*/ nativeModule()
|
|
71
|
-
.
|
|
71
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
72
72
|
/*cancelFunc:*/ nativeModule()
|
|
73
|
-
.
|
|
73
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
74
74
|
/*completeFunc:*/ nativeModule()
|
|
75
|
-
.
|
|
75
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
76
76
|
/*freeFunc:*/ nativeModule()
|
|
77
|
-
.
|
|
77
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
78
78
|
/*liftFunc:*/ FfiConverterTypeSenderReplayResult.lift.bind(FfiConverterTypeSenderReplayResult),
|
|
79
79
|
/*liftString:*/ FfiConverterString.lift,
|
|
80
80
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -3567,13 +3567,13 @@ export class AssumeInteractiveTransition extends UniffiAbstractObject {
|
|
|
3567
3567
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_assumeinteractivetransition_save_async(uniffiTypeAssumeInteractiveTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
3568
3568
|
},
|
|
3569
3569
|
/*pollFunc:*/ nativeModule()
|
|
3570
|
-
.
|
|
3570
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
3571
3571
|
/*cancelFunc:*/ nativeModule()
|
|
3572
|
-
.
|
|
3572
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
3573
3573
|
/*completeFunc:*/ nativeModule()
|
|
3574
|
-
.
|
|
3574
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
3575
3575
|
/*freeFunc:*/ nativeModule()
|
|
3576
|
-
.
|
|
3576
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
3577
3577
|
/*liftFunc:*/ FfiConverterTypeMaybeInputsOwned.lift.bind(FfiConverterTypeMaybeInputsOwned),
|
|
3578
3578
|
/*liftString:*/ FfiConverterString.lift,
|
|
3579
3579
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -3904,9 +3904,6 @@ const uniffiCallbackInterfaceCanBroadcast = {
|
|
|
3904
3904
|
// CanBroadcast: this will throw a stale handle error if the handle isn't found.
|
|
3905
3905
|
FfiConverterTypeCanBroadcast.drop(uniffiHandle);
|
|
3906
3906
|
},
|
|
3907
|
-
uniffiClone: (uniffiHandle) => {
|
|
3908
|
-
return FfiConverterTypeCanBroadcast.clone(uniffiHandle);
|
|
3909
|
-
},
|
|
3910
3907
|
},
|
|
3911
3908
|
register: () => {
|
|
3912
3909
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_canbroadcast(uniffiCallbackInterfaceCanBroadcast.vtable);
|
|
@@ -4838,13 +4835,13 @@ export class InitialReceiveTransition extends UniffiAbstractObject {
|
|
|
4838
4835
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_initialreceivetransition_save_async(uniffiTypeInitialReceiveTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
4839
4836
|
},
|
|
4840
4837
|
/*pollFunc:*/ nativeModule()
|
|
4841
|
-
.
|
|
4838
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
4842
4839
|
/*cancelFunc:*/ nativeModule()
|
|
4843
|
-
.
|
|
4840
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
4844
4841
|
/*completeFunc:*/ nativeModule()
|
|
4845
|
-
.
|
|
4842
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
4846
4843
|
/*freeFunc:*/ nativeModule()
|
|
4847
|
-
.
|
|
4844
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
4848
4845
|
/*liftFunc:*/ FfiConverterTypeInitialized.lift.bind(FfiConverterTypeInitialized),
|
|
4849
4846
|
/*liftString:*/ FfiConverterString.lift,
|
|
4850
4847
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -4956,13 +4953,13 @@ export class InitialSendTransition extends UniffiAbstractObject {
|
|
|
4956
4953
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_initialsendtransition_save_async(uniffiTypeInitialSendTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonSenderSessionPersisterAsync.lower(persister));
|
|
4957
4954
|
},
|
|
4958
4955
|
/*pollFunc:*/ nativeModule()
|
|
4959
|
-
.
|
|
4956
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
4960
4957
|
/*cancelFunc:*/ nativeModule()
|
|
4961
|
-
.
|
|
4958
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
4962
4959
|
/*completeFunc:*/ nativeModule()
|
|
4963
|
-
.
|
|
4960
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
4964
4961
|
/*freeFunc:*/ nativeModule()
|
|
4965
|
-
.
|
|
4962
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
4966
4963
|
/*liftFunc:*/ FfiConverterTypeWithReplyKey.lift.bind(FfiConverterTypeWithReplyKey),
|
|
4967
4964
|
/*liftString:*/ FfiConverterString.lift,
|
|
4968
4965
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -5725,9 +5722,6 @@ const uniffiCallbackInterfaceIsOutputKnown = {
|
|
|
5725
5722
|
// IsOutputKnown: this will throw a stale handle error if the handle isn't found.
|
|
5726
5723
|
FfiConverterTypeIsOutputKnown.drop(uniffiHandle);
|
|
5727
5724
|
},
|
|
5728
|
-
uniffiClone: (uniffiHandle) => {
|
|
5729
|
-
return FfiConverterTypeIsOutputKnown.clone(uniffiHandle);
|
|
5730
|
-
},
|
|
5731
5725
|
},
|
|
5732
5726
|
register: () => {
|
|
5733
5727
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_isoutputknown(uniffiCallbackInterfaceIsOutputKnown.vtable);
|
|
@@ -5854,9 +5848,6 @@ const uniffiCallbackInterfaceIsScriptOwned = {
|
|
|
5854
5848
|
// IsScriptOwned: this will throw a stale handle error if the handle isn't found.
|
|
5855
5849
|
FfiConverterTypeIsScriptOwned.drop(uniffiHandle);
|
|
5856
5850
|
},
|
|
5857
|
-
uniffiClone: (uniffiHandle) => {
|
|
5858
|
-
return FfiConverterTypeIsScriptOwned.clone(uniffiHandle);
|
|
5859
|
-
},
|
|
5860
5851
|
},
|
|
5861
5852
|
register: () => {
|
|
5862
5853
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_isscriptowned(uniffiCallbackInterfaceIsScriptOwned.vtable);
|
|
@@ -6042,9 +6033,6 @@ const uniffiCallbackInterfaceJsonReceiverSessionPersister = {
|
|
|
6042
6033
|
// JsonReceiverSessionPersister: this will throw a stale handle error if the handle isn't found.
|
|
6043
6034
|
FfiConverterTypeJsonReceiverSessionPersister.drop(uniffiHandle);
|
|
6044
6035
|
},
|
|
6045
|
-
uniffiClone: (uniffiHandle) => {
|
|
6046
|
-
return FfiConverterTypeJsonReceiverSessionPersister.clone(uniffiHandle);
|
|
6047
|
-
},
|
|
6048
6036
|
},
|
|
6049
6037
|
register: () => {
|
|
6050
6038
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonreceiversessionpersister(uniffiCallbackInterfaceJsonReceiverSessionPersister.vtable);
|
|
@@ -6236,13 +6224,13 @@ const uniffiCallbackInterfaceJsonReceiverSessionPersisterAsync = {
|
|
|
6236
6224
|
};
|
|
6237
6225
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6238
6226
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6239
|
-
/*
|
|
6227
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6240
6228
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6241
6229
|
});
|
|
6242
6230
|
};
|
|
6243
6231
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6244
6232
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6245
|
-
/*
|
|
6233
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6246
6234
|
// TODO create callstatus with error.
|
|
6247
6235
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
6248
6236
|
});
|
|
@@ -6263,14 +6251,14 @@ const uniffiCallbackInterfaceJsonReceiverSessionPersisterAsync = {
|
|
|
6263
6251
|
};
|
|
6264
6252
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6265
6253
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6266
|
-
/*
|
|
6254
|
+
/* UniffiForeignFutureStructRustBuffer */ {
|
|
6267
6255
|
returnValue: FfiConverterArrayString.lower(returnValue),
|
|
6268
6256
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6269
6257
|
});
|
|
6270
6258
|
};
|
|
6271
6259
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6272
6260
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6273
|
-
/*
|
|
6261
|
+
/* UniffiForeignFutureStructRustBuffer */ {
|
|
6274
6262
|
returnValue: /*empty*/ new Uint8Array(0),
|
|
6275
6263
|
// TODO create callstatus with error.
|
|
6276
6264
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
@@ -6292,13 +6280,13 @@ const uniffiCallbackInterfaceJsonReceiverSessionPersisterAsync = {
|
|
|
6292
6280
|
};
|
|
6293
6281
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6294
6282
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6295
|
-
/*
|
|
6283
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6296
6284
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6297
6285
|
});
|
|
6298
6286
|
};
|
|
6299
6287
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6300
6288
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6301
|
-
/*
|
|
6289
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6302
6290
|
// TODO create callstatus with error.
|
|
6303
6291
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
6304
6292
|
});
|
|
@@ -6316,9 +6304,6 @@ const uniffiCallbackInterfaceJsonReceiverSessionPersisterAsync = {
|
|
|
6316
6304
|
// JsonReceiverSessionPersisterAsync: this will throw a stale handle error if the handle isn't found.
|
|
6317
6305
|
FfiConverterTypeJsonReceiverSessionPersisterAsync.drop(uniffiHandle);
|
|
6318
6306
|
},
|
|
6319
|
-
uniffiClone: (uniffiHandle) => {
|
|
6320
|
-
return FfiConverterTypeJsonReceiverSessionPersisterAsync.clone(uniffiHandle);
|
|
6321
|
-
},
|
|
6322
6307
|
},
|
|
6323
6308
|
register: () => {
|
|
6324
6309
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonreceiversessionpersisterasync(uniffiCallbackInterfaceJsonReceiverSessionPersisterAsync.vtable);
|
|
@@ -6632,9 +6617,6 @@ const uniffiCallbackInterfaceJsonSenderSessionPersister = {
|
|
|
6632
6617
|
// JsonSenderSessionPersister: this will throw a stale handle error if the handle isn't found.
|
|
6633
6618
|
FfiConverterTypeJsonSenderSessionPersister.drop(uniffiHandle);
|
|
6634
6619
|
},
|
|
6635
|
-
uniffiClone: (uniffiHandle) => {
|
|
6636
|
-
return FfiConverterTypeJsonSenderSessionPersister.clone(uniffiHandle);
|
|
6637
|
-
},
|
|
6638
6620
|
},
|
|
6639
6621
|
register: () => {
|
|
6640
6622
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonsendersessionpersister(uniffiCallbackInterfaceJsonSenderSessionPersister.vtable);
|
|
@@ -6826,13 +6808,13 @@ const uniffiCallbackInterfaceJsonSenderSessionPersisterAsync = {
|
|
|
6826
6808
|
};
|
|
6827
6809
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6828
6810
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6829
|
-
/*
|
|
6811
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6830
6812
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6831
6813
|
});
|
|
6832
6814
|
};
|
|
6833
6815
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6834
6816
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6835
|
-
/*
|
|
6817
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6836
6818
|
// TODO create callstatus with error.
|
|
6837
6819
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
6838
6820
|
});
|
|
@@ -6853,14 +6835,14 @@ const uniffiCallbackInterfaceJsonSenderSessionPersisterAsync = {
|
|
|
6853
6835
|
};
|
|
6854
6836
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6855
6837
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6856
|
-
/*
|
|
6838
|
+
/* UniffiForeignFutureStructRustBuffer */ {
|
|
6857
6839
|
returnValue: FfiConverterArrayString.lower(returnValue),
|
|
6858
6840
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6859
6841
|
});
|
|
6860
6842
|
};
|
|
6861
6843
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6862
6844
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6863
|
-
/*
|
|
6845
|
+
/* UniffiForeignFutureStructRustBuffer */ {
|
|
6864
6846
|
returnValue: /*empty*/ new Uint8Array(0),
|
|
6865
6847
|
// TODO create callstatus with error.
|
|
6866
6848
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
@@ -6882,13 +6864,13 @@ const uniffiCallbackInterfaceJsonSenderSessionPersisterAsync = {
|
|
|
6882
6864
|
};
|
|
6883
6865
|
const uniffiHandleSuccess = (returnValue) => {
|
|
6884
6866
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6885
|
-
/*
|
|
6867
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6886
6868
|
callStatus: uniffiCaller.createCallStatus(),
|
|
6887
6869
|
});
|
|
6888
6870
|
};
|
|
6889
6871
|
const uniffiHandleError = (code, errorBuf) => {
|
|
6890
6872
|
uniffiFutureCallback.call(uniffiFutureCallback, uniffiCallbackData,
|
|
6891
|
-
/*
|
|
6873
|
+
/* UniffiForeignFutureStructVoid */ {
|
|
6892
6874
|
// TODO create callstatus with error.
|
|
6893
6875
|
callStatus: uniffiCaller.createErrorStatus(code, errorBuf),
|
|
6894
6876
|
});
|
|
@@ -6906,9 +6888,6 @@ const uniffiCallbackInterfaceJsonSenderSessionPersisterAsync = {
|
|
|
6906
6888
|
// JsonSenderSessionPersisterAsync: this will throw a stale handle error if the handle isn't found.
|
|
6907
6889
|
FfiConverterTypeJsonSenderSessionPersisterAsync.drop(uniffiHandle);
|
|
6908
6890
|
},
|
|
6909
|
-
uniffiClone: (uniffiHandle) => {
|
|
6910
|
-
return FfiConverterTypeJsonSenderSessionPersisterAsync.clone(uniffiHandle);
|
|
6911
|
-
},
|
|
6912
6891
|
},
|
|
6913
6892
|
register: () => {
|
|
6914
6893
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonsendersessionpersisterasync(uniffiCallbackInterfaceJsonSenderSessionPersisterAsync.vtable);
|
|
@@ -7057,13 +7036,13 @@ export class MaybeInputsOwnedTransition extends UniffiAbstractObject {
|
|
|
7057
7036
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsownedtransition_save_async(uniffiTypeMaybeInputsOwnedTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
7058
7037
|
},
|
|
7059
7038
|
/*pollFunc:*/ nativeModule()
|
|
7060
|
-
.
|
|
7039
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
7061
7040
|
/*cancelFunc:*/ nativeModule()
|
|
7062
|
-
.
|
|
7041
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
7063
7042
|
/*completeFunc:*/ nativeModule()
|
|
7064
|
-
.
|
|
7043
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
7065
7044
|
/*freeFunc:*/ nativeModule()
|
|
7066
|
-
.
|
|
7045
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
7067
7046
|
/*liftFunc:*/ FfiConverterTypeMaybeInputsSeen.lift.bind(FfiConverterTypeMaybeInputsSeen),
|
|
7068
7047
|
/*liftString:*/ FfiConverterString.lift,
|
|
7069
7048
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -7280,13 +7259,13 @@ export class MaybeInputsSeenTransition extends UniffiAbstractObject {
|
|
|
7280
7259
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsseentransition_save_async(uniffiTypeMaybeInputsSeenTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
7281
7260
|
},
|
|
7282
7261
|
/*pollFunc:*/ nativeModule()
|
|
7283
|
-
.
|
|
7262
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
7284
7263
|
/*cancelFunc:*/ nativeModule()
|
|
7285
|
-
.
|
|
7264
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
7286
7265
|
/*completeFunc:*/ nativeModule()
|
|
7287
|
-
.
|
|
7266
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
7288
7267
|
/*freeFunc:*/ nativeModule()
|
|
7289
|
-
.
|
|
7268
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
7290
7269
|
/*liftFunc:*/ FfiConverterTypeOutputsUnknown.lift.bind(FfiConverterTypeOutputsUnknown),
|
|
7291
7270
|
/*liftString:*/ FfiConverterString.lift,
|
|
7292
7271
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -8054,13 +8033,13 @@ export class OutputsUnknownTransition extends UniffiAbstractObject {
|
|
|
8054
8033
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_outputsunknowntransition_save_async(uniffiTypeOutputsUnknownTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
8055
8034
|
},
|
|
8056
8035
|
/*pollFunc:*/ nativeModule()
|
|
8057
|
-
.
|
|
8036
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
8058
8037
|
/*cancelFunc:*/ nativeModule()
|
|
8059
|
-
.
|
|
8038
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
8060
8039
|
/*completeFunc:*/ nativeModule()
|
|
8061
|
-
.
|
|
8040
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
8062
8041
|
/*freeFunc:*/ nativeModule()
|
|
8063
|
-
.
|
|
8042
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
8064
8043
|
/*liftFunc:*/ FfiConverterTypeWantsOutputs.lift.bind(FfiConverterTypeWantsOutputs),
|
|
8065
8044
|
/*liftString:*/ FfiConverterString.lift,
|
|
8066
8045
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -8309,13 +8288,13 @@ export class PayjoinProposalTransition extends UniffiAbstractObject {
|
|
|
8309
8288
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposaltransition_save_async(uniffiTypePayjoinProposalTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
8310
8289
|
},
|
|
8311
8290
|
/*pollFunc:*/ nativeModule()
|
|
8312
|
-
.
|
|
8291
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
8313
8292
|
/*cancelFunc:*/ nativeModule()
|
|
8314
|
-
.
|
|
8293
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
8315
8294
|
/*completeFunc:*/ nativeModule()
|
|
8316
|
-
.
|
|
8295
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
8317
8296
|
/*freeFunc:*/ nativeModule()
|
|
8318
|
-
.
|
|
8297
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
8319
8298
|
/*liftFunc:*/ FfiConverterTypeMonitor.lift.bind(FfiConverterTypeMonitor),
|
|
8320
8299
|
/*liftString:*/ FfiConverterString.lift,
|
|
8321
8300
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -9222,9 +9201,6 @@ const uniffiCallbackInterfaceProcessPsbt = {
|
|
|
9222
9201
|
// ProcessPsbt: this will throw a stale handle error if the handle isn't found.
|
|
9223
9202
|
FfiConverterTypeProcessPsbt.drop(uniffiHandle);
|
|
9224
9203
|
},
|
|
9225
|
-
uniffiClone: (uniffiHandle) => {
|
|
9226
|
-
return FfiConverterTypeProcessPsbt.clone(uniffiHandle);
|
|
9227
|
-
},
|
|
9228
9204
|
},
|
|
9229
9205
|
register: () => {
|
|
9230
9206
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_processpsbt(uniffiCallbackInterfaceProcessPsbt.vtable);
|
|
@@ -9487,13 +9463,13 @@ export class ProvisionalProposalTransition extends UniffiAbstractObject {
|
|
|
9487
9463
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposaltransition_save_async(uniffiTypeProvisionalProposalTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
9488
9464
|
},
|
|
9489
9465
|
/*pollFunc:*/ nativeModule()
|
|
9490
|
-
.
|
|
9466
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
9491
9467
|
/*cancelFunc:*/ nativeModule()
|
|
9492
|
-
.
|
|
9468
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
9493
9469
|
/*completeFunc:*/ nativeModule()
|
|
9494
|
-
.
|
|
9470
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
9495
9471
|
/*freeFunc:*/ nativeModule()
|
|
9496
|
-
.
|
|
9472
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
9497
9473
|
/*liftFunc:*/ FfiConverterTypePayjoinProposal.lift.bind(FfiConverterTypePayjoinProposal),
|
|
9498
9474
|
/*liftString:*/ FfiConverterString.lift,
|
|
9499
9475
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -11784,9 +11760,6 @@ const uniffiCallbackInterfaceTransactionExists = {
|
|
|
11784
11760
|
// TransactionExists: this will throw a stale handle error if the handle isn't found.
|
|
11785
11761
|
FfiConverterTypeTransactionExists.drop(uniffiHandle);
|
|
11786
11762
|
},
|
|
11787
|
-
uniffiClone: (uniffiHandle) => {
|
|
11788
|
-
return FfiConverterTypeTransactionExists.clone(uniffiHandle);
|
|
11789
|
-
},
|
|
11790
11763
|
},
|
|
11791
11764
|
register: () => {
|
|
11792
11765
|
nativeModule().ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_transactionexists(uniffiCallbackInterfaceTransactionExists.vtable);
|
|
@@ -11940,13 +11913,13 @@ export class UncheckedOriginalPayloadTransition extends UniffiAbstractObject {
|
|
|
11940
11913
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayloadtransition_save_async(uniffiTypeUncheckedOriginalPayloadTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
11941
11914
|
},
|
|
11942
11915
|
/*pollFunc:*/ nativeModule()
|
|
11943
|
-
.
|
|
11916
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
11944
11917
|
/*cancelFunc:*/ nativeModule()
|
|
11945
|
-
.
|
|
11918
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
11946
11919
|
/*completeFunc:*/ nativeModule()
|
|
11947
|
-
.
|
|
11920
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
11948
11921
|
/*freeFunc:*/ nativeModule()
|
|
11949
|
-
.
|
|
11922
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
11950
11923
|
/*liftFunc:*/ FfiConverterTypeMaybeInputsOwned.lift.bind(FfiConverterTypeMaybeInputsOwned),
|
|
11951
11924
|
/*liftString:*/ FfiConverterString.lift,
|
|
11952
11925
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -12748,13 +12721,13 @@ export class WantsFeeRangeTransition extends UniffiAbstractObject {
|
|
|
12748
12721
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_wantsfeerangetransition_save_async(uniffiTypeWantsFeeRangeTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
12749
12722
|
},
|
|
12750
12723
|
/*pollFunc:*/ nativeModule()
|
|
12751
|
-
.
|
|
12724
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
12752
12725
|
/*cancelFunc:*/ nativeModule()
|
|
12753
|
-
.
|
|
12726
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
12754
12727
|
/*completeFunc:*/ nativeModule()
|
|
12755
|
-
.
|
|
12728
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
12756
12729
|
/*freeFunc:*/ nativeModule()
|
|
12757
|
-
.
|
|
12730
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
12758
12731
|
/*liftFunc:*/ FfiConverterTypeProvisionalProposal.lift.bind(FfiConverterTypeProvisionalProposal),
|
|
12759
12732
|
/*liftString:*/ FfiConverterString.lift,
|
|
12760
12733
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -12998,13 +12971,13 @@ export class WantsInputsTransition extends UniffiAbstractObject {
|
|
|
12998
12971
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_wantsinputstransition_save_async(uniffiTypeWantsInputsTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
12999
12972
|
},
|
|
13000
12973
|
/*pollFunc:*/ nativeModule()
|
|
13001
|
-
.
|
|
12974
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
13002
12975
|
/*cancelFunc:*/ nativeModule()
|
|
13003
|
-
.
|
|
12976
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
13004
12977
|
/*completeFunc:*/ nativeModule()
|
|
13005
|
-
.
|
|
12978
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
13006
12979
|
/*freeFunc:*/ nativeModule()
|
|
13007
|
-
.
|
|
12980
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
13008
12981
|
/*liftFunc:*/ FfiConverterTypeWantsFeeRange.lift.bind(FfiConverterTypeWantsFeeRange),
|
|
13009
12982
|
/*liftString:*/ FfiConverterString.lift,
|
|
13010
12983
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -13244,13 +13217,13 @@ export class WantsOutputsTransition extends UniffiAbstractObject {
|
|
|
13244
13217
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputstransition_save_async(uniffiTypeWantsOutputsTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonReceiverSessionPersisterAsync.lower(persister));
|
|
13245
13218
|
},
|
|
13246
13219
|
/*pollFunc:*/ nativeModule()
|
|
13247
|
-
.
|
|
13220
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
13248
13221
|
/*cancelFunc:*/ nativeModule()
|
|
13249
|
-
.
|
|
13222
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
13250
13223
|
/*completeFunc:*/ nativeModule()
|
|
13251
|
-
.
|
|
13224
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
13252
13225
|
/*freeFunc:*/ nativeModule()
|
|
13253
|
-
.
|
|
13226
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
13254
13227
|
/*liftFunc:*/ FfiConverterTypeWantsInputs.lift.bind(FfiConverterTypeWantsInputs),
|
|
13255
13228
|
/*liftString:*/ FfiConverterString.lift,
|
|
13256
13229
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -13596,13 +13569,13 @@ export class WithReplyKeyTransition extends UniffiAbstractObject {
|
|
|
13596
13569
|
return nativeModule().ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save_async(uniffiTypeWithReplyKeyTransitionObjectFactory.clonePointer(this), FfiConverterTypeJsonSenderSessionPersisterAsync.lower(persister));
|
|
13597
13570
|
},
|
|
13598
13571
|
/*pollFunc:*/ nativeModule()
|
|
13599
|
-
.
|
|
13572
|
+
.ubrn_ffi_payjoin_ffi_rust_future_poll_pointer,
|
|
13600
13573
|
/*cancelFunc:*/ nativeModule()
|
|
13601
|
-
.
|
|
13574
|
+
.ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer,
|
|
13602
13575
|
/*completeFunc:*/ nativeModule()
|
|
13603
|
-
.
|
|
13576
|
+
.ubrn_ffi_payjoin_ffi_rust_future_complete_pointer,
|
|
13604
13577
|
/*freeFunc:*/ nativeModule()
|
|
13605
|
-
.
|
|
13578
|
+
.ubrn_ffi_payjoin_ffi_rust_future_free_pointer,
|
|
13606
13579
|
/*liftFunc:*/ FfiConverterTypePollingForProposal.lift.bind(FfiConverterTypePollingForProposal),
|
|
13607
13580
|
/*liftString:*/ FfiConverterString.lift,
|
|
13608
13581
|
/*asyncOpts:*/ asyncOpts_,
|
|
@@ -13720,7 +13693,7 @@ const FfiConverterArrayTypeInputPair = new FfiConverterArray(FfiConverterTypeInp
|
|
|
13720
13693
|
*/
|
|
13721
13694
|
function uniffiEnsureInitialized() {
|
|
13722
13695
|
// Get the bindings contract version from our ComponentInterface
|
|
13723
|
-
const bindingsContractVersion =
|
|
13696
|
+
const bindingsContractVersion = 29;
|
|
13724
13697
|
// Get the scaffolding contract version by calling the into the dylib
|
|
13725
13698
|
const scaffoldingContractVersion = nativeModule().ubrn_ffi_payjoin_ffi_uniffi_contract_version();
|
|
13726
13699
|
if (bindingsContractVersion !== scaffoldingContractVersion) {
|