@xstoicunicornx/payjoin_test 0.1.9 → 0.1.10

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.
@@ -0,0 +1,105 @@
1
+ export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;
2
+ export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;
3
+ export type UniffiForeignFutureDroppedCallbackStruct = {
4
+ handle: bigint;
5
+ free: UniffiForeignFutureDroppedCallback;
6
+ };
7
+ type UniffiCallbackInterfacePayjoinCanBroadcastMethod0 = (uniffiHandle: bigint, tx: Uint8Array) => number;
8
+ type UniffiCallbackInterfaceClonePayjoinCanBroadcast = (handle: bigint) => UniffiResult<void>;
9
+ type UniffiCallbackInterfaceFreePayjoinCanBroadcast = (handle: bigint) => void;
10
+ export type UniffiVTableCallbackInterfacePayjoinCanBroadcast = {
11
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinCanBroadcast;
12
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinCanBroadcast;
13
+ callback: UniffiCallbackInterfacePayjoinCanBroadcastMethod0;
14
+ };
15
+ type UniffiCallbackInterfacePayjoinIsOutputKnownMethod0 = (uniffiHandle: bigint, outpoint: Uint8Array) => number;
16
+ type UniffiCallbackInterfaceClonePayjoinIsOutputKnown = (handle: bigint) => UniffiResult<void>;
17
+ type UniffiCallbackInterfaceFreePayjoinIsOutputKnown = (handle: bigint) => void;
18
+ export type UniffiVTableCallbackInterfacePayjoinIsOutputKnown = {
19
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinIsOutputKnown;
20
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinIsOutputKnown;
21
+ callback: UniffiCallbackInterfacePayjoinIsOutputKnownMethod0;
22
+ };
23
+ type UniffiCallbackInterfacePayjoinIsScriptOwnedMethod0 = (uniffiHandle: bigint, script: Uint8Array) => number;
24
+ type UniffiCallbackInterfaceClonePayjoinIsScriptOwned = (handle: bigint) => UniffiResult<void>;
25
+ type UniffiCallbackInterfaceFreePayjoinIsScriptOwned = (handle: bigint) => void;
26
+ export type UniffiVTableCallbackInterfacePayjoinIsScriptOwned = {
27
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinIsScriptOwned;
28
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinIsScriptOwned;
29
+ callback: UniffiCallbackInterfacePayjoinIsScriptOwnedMethod0;
30
+ };
31
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod0 = (uniffiHandle: bigint, event: Uint8Array) => UniffiResult<void>;
32
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod1 = (uniffiHandle: bigint) => Uint8Array;
33
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod2 = (uniffiHandle: bigint) => UniffiResult<void>;
34
+ type UniffiCallbackInterfaceClonePayjoinJsonReceiverSessionPersister = (handle: bigint) => UniffiResult<void>;
35
+ type UniffiCallbackInterfaceFreePayjoinJsonReceiverSessionPersister = (handle: bigint) => void;
36
+ export type UniffiVTableCallbackInterfacePayjoinJsonReceiverSessionPersister = {
37
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinJsonReceiverSessionPersister;
38
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinJsonReceiverSessionPersister;
39
+ save: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod0;
40
+ load: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod1;
41
+ close: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterMethod2;
42
+ };
43
+ export type UniffiForeignFutureResultVoid = {
44
+ call_status: UniffiRustCallStatus;
45
+ };
46
+ export type UniffiForeignFutureCompletevoid = (callbackData: bigint, result: UniffiForeignFutureResultVoid) => void;
47
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod0 = (uniffiHandle: bigint, event: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
48
+ export type UniffiForeignFutureResultRustBuffer = {
49
+ return_value: Uint8Array;
50
+ call_status: UniffiRustCallStatus;
51
+ };
52
+ export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;
53
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
54
+ type UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod2 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
55
+ type UniffiCallbackInterfaceClonePayjoinJsonReceiverSessionPersisterAsync = (handle: bigint) => UniffiResult<void>;
56
+ type UniffiCallbackInterfaceFreePayjoinJsonReceiverSessionPersisterAsync = (handle: bigint) => void;
57
+ export type UniffiVTableCallbackInterfacePayjoinJsonReceiverSessionPersisterAsync = {
58
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinJsonReceiverSessionPersisterAsync;
59
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinJsonReceiverSessionPersisterAsync;
60
+ save: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod0;
61
+ load: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod1;
62
+ close: UniffiCallbackInterfacePayjoinJsonReceiverSessionPersisterAsyncMethod2;
63
+ };
64
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod0 = (uniffiHandle: bigint, event: Uint8Array) => UniffiResult<void>;
65
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod1 = (uniffiHandle: bigint) => Uint8Array;
66
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod2 = (uniffiHandle: bigint) => UniffiResult<void>;
67
+ type UniffiCallbackInterfaceClonePayjoinJsonSenderSessionPersister = (handle: bigint) => UniffiResult<void>;
68
+ type UniffiCallbackInterfaceFreePayjoinJsonSenderSessionPersister = (handle: bigint) => void;
69
+ export type UniffiVTableCallbackInterfacePayjoinJsonSenderSessionPersister = {
70
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinJsonSenderSessionPersister;
71
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinJsonSenderSessionPersister;
72
+ save: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod0;
73
+ load: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod1;
74
+ close: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterMethod2;
75
+ };
76
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod0 = (uniffiHandle: bigint, event: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
77
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
78
+ type UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod2 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompletevoid, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;
79
+ type UniffiCallbackInterfaceClonePayjoinJsonSenderSessionPersisterAsync = (handle: bigint) => UniffiResult<void>;
80
+ type UniffiCallbackInterfaceFreePayjoinJsonSenderSessionPersisterAsync = (handle: bigint) => void;
81
+ export type UniffiVTableCallbackInterfacePayjoinJsonSenderSessionPersisterAsync = {
82
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinJsonSenderSessionPersisterAsync;
83
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinJsonSenderSessionPersisterAsync;
84
+ save: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod0;
85
+ load: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod1;
86
+ close: UniffiCallbackInterfacePayjoinJsonSenderSessionPersisterAsyncMethod2;
87
+ };
88
+ type UniffiCallbackInterfacePayjoinProcessPsbtMethod0 = (uniffiHandle: bigint, psbt: Uint8Array) => Uint8Array;
89
+ type UniffiCallbackInterfaceClonePayjoinProcessPsbt = (handle: bigint) => UniffiResult<void>;
90
+ type UniffiCallbackInterfaceFreePayjoinProcessPsbt = (handle: bigint) => void;
91
+ export type UniffiVTableCallbackInterfacePayjoinProcessPsbt = {
92
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinProcessPsbt;
93
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinProcessPsbt;
94
+ callback: UniffiCallbackInterfacePayjoinProcessPsbtMethod0;
95
+ };
96
+ type UniffiCallbackInterfacePayjoinTransactionExistsMethod0 = (uniffiHandle: bigint, txid: Uint8Array) => Uint8Array;
97
+ type UniffiCallbackInterfaceClonePayjoinTransactionExists = (handle: bigint) => UniffiResult<void>;
98
+ type UniffiCallbackInterfaceFreePayjoinTransactionExists = (handle: bigint) => void;
99
+ export type UniffiVTableCallbackInterfacePayjoinTransactionExists = {
100
+ uniffi_free: UniffiCallbackInterfaceFreePayjoinTransactionExists;
101
+ uniffi_clone: UniffiCallbackInterfaceClonePayjoinTransactionExists;
102
+ callback: UniffiCallbackInterfacePayjoinTransactionExistsMethod0;
103
+ };
104
+ export {};
105
+ //# sourceMappingURL=payjoin-ffi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payjoin-ffi.d.ts","sourceRoot":"","sources":["../../../src/nodejs/generated/payjoin-ffi.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,oCAAoC,GAAG,CAC/C,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,KACjB,IAAI,CAAC;AACV,MAAM,MAAM,kCAAkC,GAAG,CAAC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1D,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,UAAU,KACf,UAAU,CAAC;AAChB,KAAK,oDAAoD,GAAG,CACxD,MAAM,EAAE,MAAM,KACb,YAAY,CAAC,IAAI,CAAC,CAAC;AACxB,KAAK,mDAAmD,GAAG,CACvD,MAAM,EAAE,MAAM,KACb,IAAI,CAAC;AACV,MAAM,MAAM,qDAAqD,GAAG;IAChE,WAAW,EAAE,mDAAmD,CAAC;IACjE,YAAY,EAAE,oDAAoD,CAAC;IACnE,QAAQ,EAAE,sDAAsD,CAAC;CACpE,CAAC"}
@@ -0,0 +1,4 @@
1
+ // This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
2
+ // Trust me, you don't want to mess with it!
3
+ export {};
4
+ //# sourceMappingURL=payjoin-ffi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payjoin-ffi.js","sourceRoot":"","sources":["../../../src/nodejs/generated/payjoin-ffi.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,4CAA4C"}