@xstoicunicornx/payjoin_test 0.1.8 → 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.
- package/README.md +4 -1
- package/dist/nodejs/generated/payjoin-ffi.d.ts +105 -0
- package/dist/nodejs/generated/payjoin-ffi.d.ts.map +1 -0
- package/dist/nodejs/generated/payjoin-ffi.js +4 -0
- package/dist/nodejs/generated/payjoin-ffi.js.map +1 -0
- package/dist/nodejs/{bindings → generated}/payjoin.d.ts +4568 -4880
- package/dist/nodejs/generated/payjoin.d.ts.map +1 -0
- package/dist/{web/bindings → nodejs/generated}/payjoin.js +7594 -8538
- package/dist/nodejs/generated/payjoin.js.map +1 -0
- package/dist/nodejs/{bindings → generated}/wasm-bindgen/index.d.ts +170 -185
- package/dist/nodejs/{bindings → generated}/wasm-bindgen/index.js +570 -639
- package/dist/{web/bindings → nodejs/generated}/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/{web/bindings → nodejs/generated}/wasm-bindgen/index_bg.wasm.d.ts +16 -22
- package/dist/nodejs/index.d.ts +2 -2
- package/dist/nodejs/index.d.ts.map +1 -1
- package/dist/nodejs/index.js +3 -3
- package/dist/nodejs/index.js.map +1 -1
- package/dist/web/generated/payjoin-ffi.d.ts +105 -0
- package/dist/web/generated/payjoin-ffi.d.ts.map +1 -0
- package/dist/web/generated/payjoin-ffi.js +4 -0
- package/dist/web/generated/payjoin-ffi.js.map +1 -0
- package/dist/web/{bindings → generated}/payjoin.d.ts +4568 -4880
- package/dist/web/generated/payjoin.d.ts.map +1 -0
- package/dist/{nodejs/bindings → web/generated}/payjoin.js +7594 -8538
- package/dist/web/generated/payjoin.js.map +1 -0
- package/dist/web/{bindings → generated}/wasm-bindgen/index.d.ts +186 -207
- package/dist/web/{bindings → generated}/wasm-bindgen/index.js +570 -634
- package/dist/{nodejs/bindings → web/generated}/wasm-bindgen/index_bg.wasm +0 -0
- package/dist/{nodejs/bindings → web/generated}/wasm-bindgen/index_bg.wasm.d.ts +16 -22
- package/dist/web/index.d.ts +2 -2
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +4 -4
- package/dist/web/index.js.map +1 -1
- package/dist/web/vite.index.d.ts +2 -2
- package/dist/web/vite.index.d.ts.map +1 -1
- package/dist/web/vite.index.js +4 -4
- package/dist/web/vite.index.js.map +1 -1
- package/package.json +8 -7
- package/dist/nodejs/bindings/payjoin.d.ts.map +0 -1
- package/dist/nodejs/bindings/payjoin.js.map +0 -1
- package/dist/web/bindings/payjoin.d.ts.map +0 -1
- package/dist/web/bindings/payjoin.js.map +0 -1
|
Binary file
|
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
4
|
+
export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
5
|
+
export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
6
|
+
export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
7
|
+
export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
6
8
|
export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
|
|
7
9
|
export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
+
export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
11
|
+
export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
12
|
+
export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
13
|
+
export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
10
14
|
export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
|
|
11
15
|
export const foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
16
|
+
export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
|
|
17
|
+
export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
18
|
+
export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
|
|
19
|
+
export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
20
|
+
export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
|
|
21
|
+
export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
22
|
+
export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
23
|
+
export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
12
24
|
export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
|
|
13
25
|
export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
14
|
-
export const __wbg_foreignfuturecompletepointer_free: (a: number, b: number) => void;
|
|
15
|
-
export const foreignfuturecompletepointer_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
16
26
|
export const uniffi_payjoin_ffi_fn_free_uri: (a: bigint, b: number) => void;
|
|
17
27
|
export const uniffi_payjoin_ffi_fn_free_url: (a: bigint, b: number) => void;
|
|
18
28
|
export const uniffi_payjoin_ffi_fn_clone_uri: (a: bigint, b: number) => bigint;
|
|
@@ -598,7 +608,6 @@ export const ubrn_ffi_payjoin_ffi_rust_future_cancel_i16: (a: bigint) => void;
|
|
|
598
608
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_i32: (a: bigint) => void;
|
|
599
609
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_i64: (a: bigint) => void;
|
|
600
610
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_i8: (a: bigint) => void;
|
|
601
|
-
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer: (a: bigint) => void;
|
|
602
611
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_rust_buffer: (a: bigint) => void;
|
|
603
612
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_u16: (a: bigint) => void;
|
|
604
613
|
export const ubrn_ffi_payjoin_ffi_rust_future_cancel_u32: (a: bigint) => void;
|
|
@@ -611,7 +620,6 @@ export const ubrn_ffi_payjoin_ffi_rust_future_complete_i16: (a: bigint, b: numbe
|
|
|
611
620
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_i32: (a: bigint, b: number) => number;
|
|
612
621
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_i64: (a: bigint, b: number) => bigint;
|
|
613
622
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_i8: (a: bigint, b: number) => number;
|
|
614
|
-
export const ubrn_ffi_payjoin_ffi_rust_future_complete_pointer: (a: bigint, b: number) => bigint;
|
|
615
623
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_rust_buffer: (a: bigint, b: number) => [number, number];
|
|
616
624
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_u16: (a: bigint, b: number) => number;
|
|
617
625
|
export const ubrn_ffi_payjoin_ffi_rust_future_complete_u32: (a: bigint, b: number) => number;
|
|
@@ -624,7 +632,6 @@ export const ubrn_ffi_payjoin_ffi_rust_future_free_i16: (a: bigint) => void;
|
|
|
624
632
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_i32: (a: bigint) => void;
|
|
625
633
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_i64: (a: bigint) => void;
|
|
626
634
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_i8: (a: bigint) => void;
|
|
627
|
-
export const ubrn_ffi_payjoin_ffi_rust_future_free_pointer: (a: bigint) => void;
|
|
628
635
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_rust_buffer: (a: bigint) => void;
|
|
629
636
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_u16: (a: bigint) => void;
|
|
630
637
|
export const ubrn_ffi_payjoin_ffi_rust_future_free_u32: (a: bigint) => void;
|
|
@@ -637,7 +644,6 @@ export const ubrn_ffi_payjoin_ffi_rust_future_poll_i16: (a: bigint, b: any, c: b
|
|
|
637
644
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_i32: (a: bigint, b: any, c: bigint) => void;
|
|
638
645
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_i64: (a: bigint, b: any, c: bigint) => void;
|
|
639
646
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_i8: (a: bigint, b: any, c: bigint) => void;
|
|
640
|
-
export const ubrn_ffi_payjoin_ffi_rust_future_poll_pointer: (a: bigint, b: any, c: bigint) => void;
|
|
641
647
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_rust_buffer: (a: bigint, b: any, c: bigint) => void;
|
|
642
648
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_u16: (a: bigint, b: any, c: bigint) => void;
|
|
643
649
|
export const ubrn_ffi_payjoin_ffi_rust_future_poll_u32: (a: bigint, b: any, c: bigint) => void;
|
|
@@ -1175,20 +1181,8 @@ export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_create_v2_post_reque
|
|
|
1175
1181
|
export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_process_response: (a: bigint, b: number, c: number, d: bigint, e: number) => bigint;
|
|
1176
1182
|
export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save: (a: bigint, b: bigint, c: number) => bigint;
|
|
1177
1183
|
export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save_async: (a: bigint, b: bigint) => bigint;
|
|
1178
|
-
export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
|
|
1179
|
-
export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1180
|
-
export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
|
|
1181
|
-
export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1182
|
-
export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
|
|
1183
|
-
export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1184
|
-
export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
|
|
1185
|
-
export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1186
|
-
export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
|
|
1187
|
-
export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1188
1184
|
export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
|
|
1189
1185
|
export const foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1190
|
-
export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
|
|
1191
|
-
export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
|
|
1192
1186
|
export const __wbg_get_rustcallstatus_code: (a: number) => number;
|
|
1193
1187
|
export const __wbg_rustcallstatus_free: (a: number, b: number) => void;
|
|
1194
1188
|
export const __wbg_set_rustcallstatus_code: (a: number, b: number) => void;
|
package/dist/nodejs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * as payjoin from "./
|
|
2
|
-
import * as payjoin from "./
|
|
1
|
+
export * as payjoin from "./generated/payjoin.js";
|
|
2
|
+
import * as payjoin from "./generated/payjoin.js";
|
|
3
3
|
export declare function uniffiInitAsync(): Promise<void>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
payjoin: typeof payjoin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/nodejs/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/nodejs/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAKlD,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAIlD,wBAAsB,eAAe,kBAYpC;;;;AAGD,wBAEE"}
|
package/dist/nodejs/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Export the generated bindings to the app.
|
|
2
|
-
export * as payjoin from "./
|
|
2
|
+
export * as payjoin from "./generated/payjoin.js";
|
|
3
3
|
// Now import the bindings so we can:
|
|
4
4
|
// - initialize them
|
|
5
5
|
// - export them as namespaced objects as the default export.
|
|
6
|
-
import * as payjoin from "./
|
|
6
|
+
import * as payjoin from "./generated/payjoin.js";
|
|
7
7
|
let initialized = false;
|
|
8
8
|
export async function uniffiInitAsync() {
|
|
9
9
|
if (initialized)
|
|
10
10
|
return;
|
|
11
11
|
// Await WASM loading
|
|
12
|
-
await import("./
|
|
12
|
+
await import("./generated/wasm-bindgen/index.js");
|
|
13
13
|
// Initialize the generated bindings: mostly checksums, but also callbacks.
|
|
14
14
|
// - the boolean flag ensures this loads exactly once, even if the JS code
|
|
15
15
|
// is reloaded (e.g. during development with metro).
|
package/dist/nodejs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/nodejs/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/nodejs/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAElD,qCAAqC;AACrC,oBAAoB;AACpB,6DAA6D;AAC7D,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAElD,IAAI,WAAW,GAAG,KAAK,CAAC;AAExB,MAAM,CAAC,KAAK,UAAU,eAAe;IACjC,IAAI,WAAW;QAAE,OAAO;IAExB,qBAAqB;IACrB,MAAM,MAAM,CAAC,mCAAmC,CAAC,CAAC;IAElD,2EAA2E;IAC3E,0EAA0E;IAC1E,sDAAsD;IACtD,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAE7B,WAAW,GAAG,IAAI,CAAC;AACvB,CAAC;AAED,wDAAwD;AACxD,eAAe;IACX,OAAO;CACV,CAAC"}
|
|
@@ -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/web/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,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;AAC1E,MAAM,MAAM,wCAAwC,GAAG;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kCAAkC,CAAC;CAC5C,CAAC;AACF,KAAK,iDAAiD,GAAG,CACrD,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,UAAU,KACb,MAAM,CAAC;AACZ,KAAK,+CAA+C,GAAG,CACnD,MAAM,EAAE,MAAM,KACb,YAAY,CAAC,IAAI,CAAC,CAAC;AACxB,KAAK,8CAA8C,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;AAC/E,MAAM,M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