@xstoicunicornx/payjoin_test 0.1.6 → 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.
Files changed (41) hide show
  1. package/README.md +44 -3
  2. package/dist/{generated/payjoin_ffi.d.ts → nodejs/bindings/payjoin.d.ts} +3078 -324
  3. package/dist/nodejs/bindings/payjoin.d.ts.map +1 -0
  4. package/dist/{generated/payjoin_ffi.js → nodejs/bindings/payjoin.js} +5754 -2165
  5. package/dist/nodejs/bindings/payjoin.js.map +1 -0
  6. package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.d.ts +459 -136
  7. package/dist/{generated → nodejs/bindings}/wasm-bindgen/index.js +2712 -965
  8. package/dist/nodejs/bindings/wasm-bindgen/index_bg.wasm +0 -0
  9. package/dist/{generated → nodejs/bindings}/wasm-bindgen/index_bg.wasm.d.ts +715 -569
  10. package/dist/nodejs/index.d.ts +8 -0
  11. package/dist/nodejs/index.d.ts.map +1 -0
  12. package/dist/{index.js → nodejs/index.js} +3 -7
  13. package/dist/nodejs/index.js.map +1 -0
  14. package/dist/web/bindings/payjoin.d.ts +6865 -0
  15. package/dist/web/bindings/payjoin.d.ts.map +1 -0
  16. package/dist/web/bindings/payjoin.js +14435 -0
  17. package/dist/web/bindings/payjoin.js.map +1 -0
  18. package/dist/web/bindings/wasm-bindgen/index.d.ts +2504 -0
  19. package/dist/web/bindings/wasm-bindgen/index.js +6808 -0
  20. package/dist/web/bindings/wasm-bindgen/index_bg.wasm +0 -0
  21. package/dist/web/bindings/wasm-bindgen/index_bg.wasm.d.ts +1211 -0
  22. package/dist/web/index.d.ts +8 -0
  23. package/dist/web/index.d.ts.map +1 -0
  24. package/dist/web/index.js +20 -0
  25. package/dist/web/index.js.map +1 -0
  26. package/dist/web/vite.index.d.ts +8 -0
  27. package/dist/web/vite.index.d.ts.map +1 -0
  28. package/dist/web/vite.index.js +24 -0
  29. package/dist/web/vite.index.js.map +1 -0
  30. package/package.json +44 -37
  31. package/dist/generated/bitcoin.d.ts +0 -4633
  32. package/dist/generated/bitcoin.d.ts.map +0 -1
  33. package/dist/generated/bitcoin.js +0 -3861
  34. package/dist/generated/bitcoin.js.map +0 -1
  35. package/dist/generated/payjoin_ffi.d.ts.map +0 -1
  36. package/dist/generated/payjoin_ffi.js.map +0 -1
  37. package/dist/generated/wasm-bindgen/index_bg.wasm +0 -0
  38. package/dist/index.d.ts +0 -11
  39. package/dist/index.d.ts.map +0 -1
  40. package/dist/index.js.map +0 -1
  41. package/dist/index.web.js +0 -30
@@ -1,196 +1,211 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
 
4
- export class RustCallStatus {
4
+ export class ForeignFutureCompleteF32 {
5
+ private constructor();
5
6
  free(): void;
6
7
  [Symbol.dispose](): void;
7
- constructor();
8
- code: number;
9
- get errorBuf(): Uint8Array | undefined;
10
- set errorBuf(value: Uint8Array | null | undefined);
8
+ call(_ctx: ForeignFutureCompleteF32, callback_data: bigint, result: any): void;
11
9
  }
12
10
 
13
- export function ubrn_ffi_bitcoin_ffi_uniffi_contract_version(): number;
14
-
15
- export function ubrn_ffi_payjoin_ffi_uniffi_contract_version(): number;
16
-
17
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_address_from_script(): number;
18
-
19
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_address_new(): number;
20
-
21
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_amount_from_btc(): number;
22
-
23
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_amount_from_sat(): number;
24
-
25
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_feerate_from_sat_per_kwu(): number;
26
-
27
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_feerate_from_sat_per_vb(): number;
28
-
29
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_psbt_deserialize(): number;
30
-
31
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_psbt_deserialize_base64(): number;
32
-
33
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_psbt_from_unsigned_tx(): number;
34
-
35
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_script_new(): number;
36
-
37
- export function ubrn_uniffi_bitcoin_ffi_checksum_constructor_transaction_deserialize(): number;
38
-
39
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_address_is_valid_for_network(): number;
40
-
41
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_address_script_pubkey(): number;
42
-
43
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_address_to_qr_uri(): number;
44
-
45
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_amount_to_btc(): number;
46
-
47
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_amount_to_sat(): number;
48
-
49
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_feerate_to_sat_per_kwu(): number;
50
-
51
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_feerate_to_sat_per_vb_ceil(): number;
52
-
53
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_feerate_to_sat_per_vb_floor(): number;
54
-
55
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_combine(): number;
56
-
57
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_extract_tx(): number;
58
-
59
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_fee(): number;
60
-
61
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_serialize(): number;
62
-
63
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_serialize_base64(): number;
11
+ export class ForeignFutureCompleteF64 {
12
+ private constructor();
13
+ free(): void;
14
+ [Symbol.dispose](): void;
15
+ call(_ctx: ForeignFutureCompleteF64, callback_data: bigint, result: any): void;
16
+ }
64
17
 
65
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_psbt_serialize_hex(): number;
18
+ export class ForeignFutureCompleteI16 {
19
+ private constructor();
20
+ free(): void;
21
+ [Symbol.dispose](): void;
22
+ call(_ctx: ForeignFutureCompleteI16, callback_data: bigint, result: any): void;
23
+ }
66
24
 
67
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_script_to_bytes(): number;
25
+ export class ForeignFutureCompleteI32 {
26
+ private constructor();
27
+ free(): void;
28
+ [Symbol.dispose](): void;
29
+ call(_ctx: ForeignFutureCompleteI32, callback_data: bigint, result: any): void;
30
+ }
68
31
 
69
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_compute_txid(): number;
32
+ export class ForeignFutureCompleteI64 {
33
+ private constructor();
34
+ free(): void;
35
+ [Symbol.dispose](): void;
36
+ call(_ctx: ForeignFutureCompleteI64, callback_data: bigint, result: any): void;
37
+ }
70
38
 
71
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_input(): number;
39
+ export class ForeignFutureCompleteI8 {
40
+ private constructor();
41
+ free(): void;
42
+ [Symbol.dispose](): void;
43
+ call(_ctx: ForeignFutureCompleteI8, callback_data: bigint, result: any): void;
44
+ }
72
45
 
73
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_is_coinbase(): number;
46
+ export class ForeignFutureCompletePointer {
47
+ private constructor();
48
+ free(): void;
49
+ [Symbol.dispose](): void;
50
+ call(_ctx: ForeignFutureCompletePointer, callback_data: bigint, result: any): void;
51
+ }
74
52
 
75
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_is_explicitly_rbf(): number;
53
+ export class ForeignFutureCompleteRustBuffer {
54
+ private constructor();
55
+ free(): void;
56
+ [Symbol.dispose](): void;
57
+ call(_ctx: ForeignFutureCompleteRustBuffer, callback_data: bigint, result: any): void;
58
+ }
76
59
 
77
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_is_lock_time_enabled(): number;
60
+ export class ForeignFutureCompleteU16 {
61
+ private constructor();
62
+ free(): void;
63
+ [Symbol.dispose](): void;
64
+ call(_ctx: ForeignFutureCompleteU16, callback_data: bigint, result: any): void;
65
+ }
78
66
 
79
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_lock_time(): number;
67
+ export class ForeignFutureCompleteU32 {
68
+ private constructor();
69
+ free(): void;
70
+ [Symbol.dispose](): void;
71
+ call(_ctx: ForeignFutureCompleteU32, callback_data: bigint, result: any): void;
72
+ }
80
73
 
81
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_output(): number;
74
+ export class ForeignFutureCompleteU64 {
75
+ private constructor();
76
+ free(): void;
77
+ [Symbol.dispose](): void;
78
+ call(_ctx: ForeignFutureCompleteU64, callback_data: bigint, result: any): void;
79
+ }
82
80
 
83
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_serialize(): number;
81
+ export class ForeignFutureCompleteU8 {
82
+ private constructor();
83
+ free(): void;
84
+ [Symbol.dispose](): void;
85
+ call(_ctx: ForeignFutureCompleteU8, callback_data: bigint, result: any): void;
86
+ }
84
87
 
85
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_total_size(): number;
88
+ export class ForeignFutureCompleteVoid {
89
+ private constructor();
90
+ free(): void;
91
+ [Symbol.dispose](): void;
92
+ call(_ctx: ForeignFutureCompleteVoid, callback_data: bigint, result: any): void;
93
+ }
86
94
 
87
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_version(): number;
95
+ export class RustCallStatus {
96
+ free(): void;
97
+ [Symbol.dispose](): void;
98
+ constructor();
99
+ code: number;
100
+ get errorBuf(): Uint8Array | undefined;
101
+ set errorBuf(value: Uint8Array | null | undefined);
102
+ }
88
103
 
89
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_vsize(): number;
104
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_f32(handle: bigint): void;
90
105
 
91
- export function ubrn_uniffi_bitcoin_ffi_checksum_method_transaction_weight(): number;
106
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_f64(handle: bigint): void;
92
107
 
93
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_address(ptr: bigint, f_status_: RustCallStatus): bigint;
108
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_i16(handle: bigint): void;
94
109
 
95
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_amount(ptr: bigint, f_status_: RustCallStatus): bigint;
110
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_i32(handle: bigint): void;
96
111
 
97
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_feerate(ptr: bigint, f_status_: RustCallStatus): bigint;
112
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_i64(handle: bigint): void;
98
113
 
99
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_psbt(ptr: bigint, f_status_: RustCallStatus): bigint;
114
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_i8(handle: bigint): void;
100
115
 
101
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_script(ptr: bigint, f_status_: RustCallStatus): bigint;
116
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_pointer(handle: bigint): void;
102
117
 
103
- export function ubrn_uniffi_bitcoin_ffi_fn_clone_transaction(ptr: bigint, f_status_: RustCallStatus): bigint;
118
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_rust_buffer(handle: bigint): void;
104
119
 
105
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_address_from_script(script: bigint, network: Uint8Array, f_status_: RustCallStatus): bigint;
120
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_u16(handle: bigint): void;
106
121
 
107
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_address_new(address: Uint8Array, network: Uint8Array, f_status_: RustCallStatus): bigint;
122
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_u32(handle: bigint): void;
108
123
 
109
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_amount_from_btc(btc: number, f_status_: RustCallStatus): bigint;
124
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_u64(handle: bigint): void;
110
125
 
111
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_amount_from_sat(sat: bigint, f_status_: RustCallStatus): bigint;
126
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_u8(handle: bigint): void;
112
127
 
113
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_feerate_from_sat_per_kwu(sat_per_kwu: bigint, f_status_: RustCallStatus): bigint;
128
+ export function ubrn_ffi_payjoin_ffi_rust_future_cancel_void(handle: bigint): void;
114
129
 
115
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_feerate_from_sat_per_vb(sat_per_vb: bigint, f_status_: RustCallStatus): bigint;
130
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_f32(handle: bigint, f_status_: RustCallStatus): number;
116
131
 
117
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_psbt_deserialize(psbt_bytes: Uint8Array, f_status_: RustCallStatus): bigint;
132
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_f64(handle: bigint, f_status_: RustCallStatus): number;
118
133
 
119
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_psbt_deserialize_base64(psbt_base64: Uint8Array, f_status_: RustCallStatus): bigint;
134
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_i16(handle: bigint, f_status_: RustCallStatus): number;
120
135
 
121
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_psbt_from_unsigned_tx(tx: bigint, f_status_: RustCallStatus): bigint;
136
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_i32(handle: bigint, f_status_: RustCallStatus): number;
122
137
 
123
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_script_new(raw_output_script: Uint8Array, f_status_: RustCallStatus): bigint;
138
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_i64(handle: bigint, f_status_: RustCallStatus): bigint;
124
139
 
125
- export function ubrn_uniffi_bitcoin_ffi_fn_constructor_transaction_deserialize(transaction_bytes: Uint8Array, f_status_: RustCallStatus): bigint;
140
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_i8(handle: bigint, f_status_: RustCallStatus): number;
126
141
 
127
- export function ubrn_uniffi_bitcoin_ffi_fn_free_address(ptr: bigint, f_status_: RustCallStatus): void;
142
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_pointer(handle: bigint, f_status_: RustCallStatus): bigint;
128
143
 
129
- export function ubrn_uniffi_bitcoin_ffi_fn_free_amount(ptr: bigint, f_status_: RustCallStatus): void;
144
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_rust_buffer(handle: bigint, f_status_: RustCallStatus): Uint8Array;
130
145
 
131
- export function ubrn_uniffi_bitcoin_ffi_fn_free_feerate(ptr: bigint, f_status_: RustCallStatus): void;
146
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_u16(handle: bigint, f_status_: RustCallStatus): number;
132
147
 
133
- export function ubrn_uniffi_bitcoin_ffi_fn_free_psbt(ptr: bigint, f_status_: RustCallStatus): void;
148
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_u32(handle: bigint, f_status_: RustCallStatus): number;
134
149
 
135
- export function ubrn_uniffi_bitcoin_ffi_fn_free_script(ptr: bigint, f_status_: RustCallStatus): void;
150
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_u64(handle: bigint, f_status_: RustCallStatus): bigint;
136
151
 
137
- export function ubrn_uniffi_bitcoin_ffi_fn_free_transaction(ptr: bigint, f_status_: RustCallStatus): void;
152
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_u8(handle: bigint, f_status_: RustCallStatus): number;
138
153
 
139
- export function ubrn_uniffi_bitcoin_ffi_fn_method_address_is_valid_for_network(ptr: bigint, network: Uint8Array, f_status_: RustCallStatus): number;
154
+ export function ubrn_ffi_payjoin_ffi_rust_future_complete_void(handle: bigint, f_status_: RustCallStatus): void;
140
155
 
141
- export function ubrn_uniffi_bitcoin_ffi_fn_method_address_script_pubkey(ptr: bigint, f_status_: RustCallStatus): bigint;
156
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_f32(handle: bigint): void;
142
157
 
143
- export function ubrn_uniffi_bitcoin_ffi_fn_method_address_to_qr_uri(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
158
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_f64(handle: bigint): void;
144
159
 
145
- export function ubrn_uniffi_bitcoin_ffi_fn_method_address_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
160
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_i16(handle: bigint): void;
146
161
 
147
- export function ubrn_uniffi_bitcoin_ffi_fn_method_amount_to_btc(ptr: bigint, f_status_: RustCallStatus): number;
162
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_i32(handle: bigint): void;
148
163
 
149
- export function ubrn_uniffi_bitcoin_ffi_fn_method_amount_to_sat(ptr: bigint, f_status_: RustCallStatus): bigint;
164
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_i64(handle: bigint): void;
150
165
 
151
- export function ubrn_uniffi_bitcoin_ffi_fn_method_feerate_to_sat_per_kwu(ptr: bigint, f_status_: RustCallStatus): bigint;
166
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_i8(handle: bigint): void;
152
167
 
153
- export function ubrn_uniffi_bitcoin_ffi_fn_method_feerate_to_sat_per_vb_ceil(ptr: bigint, f_status_: RustCallStatus): bigint;
168
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_pointer(handle: bigint): void;
154
169
 
155
- export function ubrn_uniffi_bitcoin_ffi_fn_method_feerate_to_sat_per_vb_floor(ptr: bigint, f_status_: RustCallStatus): bigint;
170
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_rust_buffer(handle: bigint): void;
156
171
 
157
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_combine(ptr: bigint, other: bigint, f_status_: RustCallStatus): bigint;
172
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_u16(handle: bigint): void;
158
173
 
159
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_extract_tx(ptr: bigint, f_status_: RustCallStatus): bigint;
174
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_u32(handle: bigint): void;
160
175
 
161
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_fee(ptr: bigint, f_status_: RustCallStatus): bigint;
176
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_u64(handle: bigint): void;
162
177
 
163
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_serialize(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
178
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_u8(handle: bigint): void;
164
179
 
165
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_serialize_base64(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
180
+ export function ubrn_ffi_payjoin_ffi_rust_future_free_void(handle: bigint): void;
166
181
 
167
- export function ubrn_uniffi_bitcoin_ffi_fn_method_psbt_serialize_hex(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
182
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_f32(handle: bigint, callback: any, callback_data: bigint): void;
168
183
 
169
- export function ubrn_uniffi_bitcoin_ffi_fn_method_script_to_bytes(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
184
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_f64(handle: bigint, callback: any, callback_data: bigint): void;
170
185
 
171
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_compute_txid(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
186
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_i16(handle: bigint, callback: any, callback_data: bigint): void;
172
187
 
173
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_input(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
188
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_i32(handle: bigint, callback: any, callback_data: bigint): void;
174
189
 
175
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_is_coinbase(ptr: bigint, f_status_: RustCallStatus): number;
190
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_i64(handle: bigint, callback: any, callback_data: bigint): void;
176
191
 
177
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_is_explicitly_rbf(ptr: bigint, f_status_: RustCallStatus): number;
192
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_i8(handle: bigint, callback: any, callback_data: bigint): void;
178
193
 
179
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_is_lock_time_enabled(ptr: bigint, f_status_: RustCallStatus): number;
194
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_pointer(handle: bigint, callback: any, callback_data: bigint): void;
180
195
 
181
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_lock_time(ptr: bigint, f_status_: RustCallStatus): number;
196
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_rust_buffer(handle: bigint, callback: any, callback_data: bigint): void;
182
197
 
183
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_output(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
198
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_u16(handle: bigint, callback: any, callback_data: bigint): void;
184
199
 
185
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_serialize(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
200
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_u32(handle: bigint, callback: any, callback_data: bigint): void;
186
201
 
187
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_total_size(ptr: bigint, f_status_: RustCallStatus): bigint;
202
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_u64(handle: bigint, callback: any, callback_data: bigint): void;
188
203
 
189
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_version(ptr: bigint, f_status_: RustCallStatus): number;
204
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_u8(handle: bigint, callback: any, callback_data: bigint): void;
190
205
 
191
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_vsize(ptr: bigint, f_status_: RustCallStatus): bigint;
206
+ export function ubrn_ffi_payjoin_ffi_rust_future_poll_void(handle: bigint, callback: any, callback_data: bigint): void;
192
207
 
193
- export function ubrn_uniffi_bitcoin_ffi_fn_method_transaction_weight(ptr: bigint, f_status_: RustCallStatus): bigint;
208
+ export function ubrn_ffi_payjoin_ffi_uniffi_contract_version(): number;
194
209
 
195
210
  export function ubrn_uniffi_payjoin_ffi_checksum_constructor_inputpair_new(): number;
196
211
 
@@ -210,18 +225,34 @@ export function ubrn_uniffi_payjoin_ffi_checksum_constructor_url_parse(): number
210
225
 
211
226
  export function ubrn_uniffi_payjoin_ffi_checksum_func_replay_receiver_event_log(): number;
212
227
 
228
+ export function ubrn_uniffi_payjoin_ffi_checksum_func_replay_receiver_event_log_async(): number;
229
+
213
230
  export function ubrn_uniffi_payjoin_ffi_checksum_func_replay_sender_event_log(): number;
214
231
 
232
+ export function ubrn_uniffi_payjoin_ffi_checksum_func_replay_sender_event_log_async(): number;
233
+
215
234
  export function ubrn_uniffi_payjoin_ffi_checksum_method_assumeinteractivetransition_save(): number;
216
235
 
236
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_assumeinteractivetransition_save_async(): number;
237
+
217
238
  export function ubrn_uniffi_payjoin_ffi_checksum_method_canbroadcast_callback(): number;
218
239
 
240
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_canceltransition_save(): number;
241
+
242
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_canceltransition_save_async(): number;
243
+
244
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_hasreplyableerror_cancel(): number;
245
+
219
246
  export function ubrn_uniffi_payjoin_ffi_checksum_method_hasreplyableerror_create_error_request(): number;
220
247
 
221
248
  export function ubrn_uniffi_payjoin_ffi_checksum_method_hasreplyableerror_process_error_response(): number;
222
249
 
223
250
  export function ubrn_uniffi_payjoin_ffi_checksum_method_hasreplyableerrortransition_save(): number;
224
251
 
252
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_hasreplyableerrortransition_save_async(): number;
253
+
254
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_initialized_cancel(): number;
255
+
225
256
  export function ubrn_uniffi_payjoin_ffi_checksum_method_initialized_create_poll_request(): number;
226
257
 
227
258
  export function ubrn_uniffi_payjoin_ffi_checksum_method_initialized_pj_uri(): number;
@@ -230,10 +261,16 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_initialized_process_resp
230
261
 
231
262
  export function ubrn_uniffi_payjoin_ffi_checksum_method_initializedtransition_save(): number;
232
263
 
264
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_initializedtransition_save_async(): number;
265
+
233
266
  export function ubrn_uniffi_payjoin_ffi_checksum_method_initialreceivetransition_save(): number;
234
267
 
268
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_initialreceivetransition_save_async(): number;
269
+
235
270
  export function ubrn_uniffi_payjoin_ffi_checksum_method_initialsendtransition_save(): number;
236
271
 
272
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_initialsendtransition_save_async(): number;
273
+
237
274
  export function ubrn_uniffi_payjoin_ffi_checksum_method_isoutputknown_callback(): number;
238
275
 
239
276
  export function ubrn_uniffi_payjoin_ffi_checksum_method_isscriptowned_callback(): number;
@@ -244,32 +281,60 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonreceiversessionpersi
244
281
 
245
282
  export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonreceiversessionpersister_save(): number;
246
283
 
284
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonreceiversessionpersisterasync_close(): number;
285
+
286
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonreceiversessionpersisterasync_load(): number;
287
+
288
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonreceiversessionpersisterasync_save(): number;
289
+
247
290
  export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersister_close(): number;
248
291
 
249
292
  export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersister_load(): number;
250
293
 
251
294
  export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersister_save(): number;
252
295
 
296
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersisterasync_close(): number;
297
+
298
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersisterasync_load(): number;
299
+
300
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_jsonsendersessionpersisterasync_save(): number;
301
+
302
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsowned_cancel(): number;
303
+
253
304
  export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsowned_check_inputs_not_owned(): number;
254
305
 
255
306
  export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsowned_extract_tx_to_schedule_broadcast(): number;
256
307
 
257
308
  export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsownedtransition_save(): number;
258
309
 
310
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsownedtransition_save_async(): number;
311
+
312
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsseen_cancel(): number;
313
+
259
314
  export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsseen_check_no_inputs_seen_before(): number;
260
315
 
261
316
  export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsseentransition_save(): number;
262
317
 
318
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_maybeinputsseentransition_save_async(): number;
319
+
320
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_monitor_cancel(): number;
321
+
263
322
  export function ubrn_uniffi_payjoin_ffi_checksum_method_monitor_monitor(): number;
264
323
 
265
324
  export function ubrn_uniffi_payjoin_ffi_checksum_method_monitortransition_save(): number;
266
325
 
267
- export function ubrn_uniffi_payjoin_ffi_checksum_method_outpointspent_callback(): number;
326
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_monitortransition_save_async(): number;
327
+
328
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_outputsunknown_cancel(): number;
268
329
 
269
330
  export function ubrn_uniffi_payjoin_ffi_checksum_method_outputsunknown_identify_receiver_outputs(): number;
270
331
 
271
332
  export function ubrn_uniffi_payjoin_ffi_checksum_method_outputsunknowntransition_save(): number;
272
333
 
334
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_outputsunknowntransition_save_async(): number;
335
+
336
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposal_cancel(): number;
337
+
273
338
  export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposal_create_post_request(): number;
274
339
 
275
340
  export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposal_process_response(): number;
@@ -280,6 +345,8 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposal_utxos_to
280
345
 
281
346
  export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposaltransition_save(): number;
282
347
 
348
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_payjoinproposaltransition_save_async(): number;
349
+
283
350
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pjuri_address(): number;
284
351
 
285
352
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pjuri_amount_sats(): number;
@@ -290,20 +357,28 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_pjuri_pj_endpoint(): num
290
357
 
291
358
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pjuri_set_amount_sats(): number;
292
359
 
360
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_pollingforproposal_cancel(): number;
361
+
293
362
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pollingforproposal_create_poll_request(): number;
294
363
 
295
364
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pollingforproposal_process_response(): number;
296
365
 
297
366
  export function ubrn_uniffi_payjoin_ffi_checksum_method_pollingforproposaltransition_save(): number;
298
367
 
368
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_pollingforproposaltransition_save_async(): number;
369
+
299
370
  export function ubrn_uniffi_payjoin_ffi_checksum_method_processpsbt_callback(): number;
300
371
 
372
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_provisionalproposal_cancel(): number;
373
+
301
374
  export function ubrn_uniffi_payjoin_ffi_checksum_method_provisionalproposal_finalize_proposal(): number;
302
375
 
303
376
  export function ubrn_uniffi_payjoin_ffi_checksum_method_provisionalproposal_psbt_to_sign(): number;
304
377
 
305
378
  export function ubrn_uniffi_payjoin_ffi_checksum_method_provisionalproposaltransition_save(): number;
306
379
 
380
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_provisionalproposaltransition_save_async(): number;
381
+
307
382
  export function ubrn_uniffi_payjoin_ffi_checksum_method_receiverbuilder_build(): number;
308
383
 
309
384
  export function ubrn_uniffi_payjoin_ffi_checksum_method_receiverbuilder_with_amount(): number;
@@ -332,6 +407,10 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_senderbuilder_build_reco
332
407
 
333
408
  export function ubrn_uniffi_payjoin_ffi_checksum_method_senderbuilder_build_with_additional_fee(): number;
334
409
 
410
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendercanceltransition_save(): number;
411
+
412
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendercanceltransition_save_async(): number;
413
+
335
414
  export function ubrn_uniffi_payjoin_ffi_checksum_method_senderreplayresult_session_history(): number;
336
415
 
337
416
  export function ubrn_uniffi_payjoin_ffi_checksum_method_senderreplayresult_state(): number;
@@ -344,14 +423,26 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionhistory_pj_
344
423
 
345
424
  export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionhistory_status(): number;
346
425
 
426
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionoutcome_is_cancelled(): number;
427
+
428
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionoutcome_is_failure(): number;
429
+
430
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionoutcome_is_success(): number;
431
+
432
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_sendersessionoutcome_success_psbt_base64(): number;
433
+
347
434
  export function ubrn_uniffi_payjoin_ffi_checksum_method_transactionexists_callback(): number;
348
435
 
349
436
  export function ubrn_uniffi_payjoin_ffi_checksum_method_uncheckedoriginalpayload_assume_interactive_receiver(): number;
350
437
 
438
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_uncheckedoriginalpayload_cancel(): number;
439
+
351
440
  export function ubrn_uniffi_payjoin_ffi_checksum_method_uncheckedoriginalpayload_check_broadcast_suitability(): number;
352
441
 
353
442
  export function ubrn_uniffi_payjoin_ffi_checksum_method_uncheckedoriginalpayloadtransition_save(): number;
354
443
 
444
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_uncheckedoriginalpayloadtransition_save_async(): number;
445
+
355
446
  export function ubrn_uniffi_payjoin_ffi_checksum_method_uri_address(): number;
356
447
 
357
448
  export function ubrn_uniffi_payjoin_ffi_checksum_method_uri_amount_sats(): number;
@@ -372,8 +463,14 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_v1context_process_respon
372
463
 
373
464
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsfeerange_apply_fee_range(): number;
374
465
 
466
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsfeerange_cancel(): number;
467
+
375
468
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsfeerangetransition_save(): number;
376
469
 
470
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsfeerangetransition_save_async(): number;
471
+
472
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputs_cancel(): number;
473
+
377
474
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputs_commit_inputs(): number;
378
475
 
379
476
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputs_contribute_inputs(): number;
@@ -382,6 +479,10 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputs_try_preservi
382
479
 
383
480
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputstransition_save(): number;
384
481
 
482
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsinputstransition_save_async(): number;
483
+
484
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputs_cancel(): number;
485
+
385
486
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputs_commit_outputs(): number;
386
487
 
387
488
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputs_output_substitution(): number;
@@ -392,18 +493,28 @@ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputs_substitute_
392
493
 
393
494
  export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputstransition_save(): number;
394
495
 
496
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_wantsoutputstransition_save_async(): number;
497
+
498
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_withreplykey_cancel(): number;
499
+
395
500
  export function ubrn_uniffi_payjoin_ffi_checksum_method_withreplykey_create_v2_post_request(): number;
396
501
 
397
502
  export function ubrn_uniffi_payjoin_ffi_checksum_method_withreplykey_process_response(): number;
398
503
 
399
504
  export function ubrn_uniffi_payjoin_ffi_checksum_method_withreplykeytransition_save(): number;
400
505
 
506
+ export function ubrn_uniffi_payjoin_ffi_checksum_method_withreplykeytransition_save_async(): number;
507
+
508
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_addressparseerror(ptr: bigint, f_status_: RustCallStatus): bigint;
509
+
401
510
  export function ubrn_uniffi_payjoin_ffi_fn_clone_assumeinteractivetransition(ptr: bigint, f_status_: RustCallStatus): bigint;
402
511
 
403
512
  export function ubrn_uniffi_payjoin_ffi_fn_clone_buildsendererror(ptr: bigint, f_status_: RustCallStatus): bigint;
404
513
 
405
514
  export function ubrn_uniffi_payjoin_ffi_fn_clone_canbroadcast(ptr: bigint, f_status_: RustCallStatus): bigint;
406
515
 
516
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_canceltransition(ptr: bigint, f_status_: RustCallStatus): bigint;
517
+
407
518
  export function ubrn_uniffi_payjoin_ffi_fn_clone_clientresponse(ptr: bigint, f_status_: RustCallStatus): bigint;
408
519
 
409
520
  export function ubrn_uniffi_payjoin_ffi_fn_clone_createrequesterror(ptr: bigint, f_status_: RustCallStatus): bigint;
@@ -438,10 +549,14 @@ export function ubrn_uniffi_payjoin_ffi_fn_clone_isscriptowned(ptr: bigint, f_st
438
549
 
439
550
  export function ubrn_uniffi_payjoin_ffi_fn_clone_jsonreceiversessionpersister(ptr: bigint, f_status_: RustCallStatus): bigint;
440
551
 
552
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_jsonreceiversessionpersisterasync(ptr: bigint, f_status_: RustCallStatus): bigint;
553
+
441
554
  export function ubrn_uniffi_payjoin_ffi_fn_clone_jsonreply(ptr: bigint, f_status_: RustCallStatus): bigint;
442
555
 
443
556
  export function ubrn_uniffi_payjoin_ffi_fn_clone_jsonsendersessionpersister(ptr: bigint, f_status_: RustCallStatus): bigint;
444
557
 
558
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_jsonsendersessionpersisterasync(ptr: bigint, f_status_: RustCallStatus): bigint;
559
+
445
560
  export function ubrn_uniffi_payjoin_ffi_fn_clone_maybeinputsowned(ptr: bigint, f_status_: RustCallStatus): bigint;
446
561
 
447
562
  export function ubrn_uniffi_payjoin_ffi_fn_clone_maybeinputsownedtransition(ptr: bigint, f_status_: RustCallStatus): bigint;
@@ -458,9 +573,7 @@ export function ubrn_uniffi_payjoin_ffi_fn_clone_ohttperror(ptr: bigint, f_statu
458
573
 
459
574
  export function ubrn_uniffi_payjoin_ffi_fn_clone_ohttpkeys(ptr: bigint, f_status_: RustCallStatus): bigint;
460
575
 
461
- export function ubrn_uniffi_payjoin_ffi_fn_clone_outpointspent(ptr: bigint, f_status_: RustCallStatus): bigint;
462
-
463
- export function ubrn_uniffi_payjoin_ffi_fn_clone_outputsubstitutionerror(ptr: bigint, f_status_: RustCallStatus): bigint;
576
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_outputsubstitutionprotocolerror(ptr: bigint, f_status_: RustCallStatus): bigint;
464
577
 
465
578
  export function ubrn_uniffi_payjoin_ffi_fn_clone_outputsunknown(ptr: bigint, f_status_: RustCallStatus): bigint;
466
579
 
@@ -510,6 +623,8 @@ export function ubrn_uniffi_payjoin_ffi_fn_clone_selectionerror(ptr: bigint, f_s
510
623
 
511
624
  export function ubrn_uniffi_payjoin_ffi_fn_clone_senderbuilder(ptr: bigint, f_status_: RustCallStatus): bigint;
512
625
 
626
+ export function ubrn_uniffi_payjoin_ffi_fn_clone_sendercanceltransition(ptr: bigint, f_status_: RustCallStatus): bigint;
627
+
513
628
  export function ubrn_uniffi_payjoin_ffi_fn_clone_senderreplayerror(ptr: bigint, f_status_: RustCallStatus): bigint;
514
629
 
515
630
  export function ubrn_uniffi_payjoin_ffi_fn_clone_senderreplayresult(ptr: bigint, f_status_: RustCallStatus): bigint;
@@ -564,7 +679,7 @@ export function ubrn_uniffi_payjoin_ffi_fn_constructor_inputpair_new(txin: Uint8
564
679
 
565
680
  export function ubrn_uniffi_payjoin_ffi_fn_constructor_ohttpkeys_decode(bytes: Uint8Array, f_status_: RustCallStatus): bigint;
566
681
 
567
- export function ubrn_uniffi_payjoin_ffi_fn_constructor_receiverbuilder_new(address: bigint, directory: Uint8Array, ohttp_keys: bigint, f_status_: RustCallStatus): bigint;
682
+ export function ubrn_uniffi_payjoin_ffi_fn_constructor_receiverbuilder_new(address: Uint8Array, directory: Uint8Array, ohttp_keys: bigint, f_status_: RustCallStatus): bigint;
568
683
 
569
684
  export function ubrn_uniffi_payjoin_ffi_fn_constructor_receiversessionevent_from_json(json: Uint8Array, f_status_: RustCallStatus): bigint;
570
685
 
@@ -576,12 +691,16 @@ export function ubrn_uniffi_payjoin_ffi_fn_constructor_uri_parse(uri: Uint8Array
576
691
 
577
692
  export function ubrn_uniffi_payjoin_ffi_fn_constructor_url_parse(input: Uint8Array, f_status_: RustCallStatus): bigint;
578
693
 
694
+ export function ubrn_uniffi_payjoin_ffi_fn_free_addressparseerror(ptr: bigint, f_status_: RustCallStatus): void;
695
+
579
696
  export function ubrn_uniffi_payjoin_ffi_fn_free_assumeinteractivetransition(ptr: bigint, f_status_: RustCallStatus): void;
580
697
 
581
698
  export function ubrn_uniffi_payjoin_ffi_fn_free_buildsendererror(ptr: bigint, f_status_: RustCallStatus): void;
582
699
 
583
700
  export function ubrn_uniffi_payjoin_ffi_fn_free_canbroadcast(ptr: bigint, f_status_: RustCallStatus): void;
584
701
 
702
+ export function ubrn_uniffi_payjoin_ffi_fn_free_canceltransition(ptr: bigint, f_status_: RustCallStatus): void;
703
+
585
704
  export function ubrn_uniffi_payjoin_ffi_fn_free_clientresponse(ptr: bigint, f_status_: RustCallStatus): void;
586
705
 
587
706
  export function ubrn_uniffi_payjoin_ffi_fn_free_createrequesterror(ptr: bigint, f_status_: RustCallStatus): void;
@@ -616,10 +735,14 @@ export function ubrn_uniffi_payjoin_ffi_fn_free_isscriptowned(ptr: bigint, f_sta
616
735
 
617
736
  export function ubrn_uniffi_payjoin_ffi_fn_free_jsonreceiversessionpersister(ptr: bigint, f_status_: RustCallStatus): void;
618
737
 
738
+ export function ubrn_uniffi_payjoin_ffi_fn_free_jsonreceiversessionpersisterasync(ptr: bigint, f_status_: RustCallStatus): void;
739
+
619
740
  export function ubrn_uniffi_payjoin_ffi_fn_free_jsonreply(ptr: bigint, f_status_: RustCallStatus): void;
620
741
 
621
742
  export function ubrn_uniffi_payjoin_ffi_fn_free_jsonsendersessionpersister(ptr: bigint, f_status_: RustCallStatus): void;
622
743
 
744
+ export function ubrn_uniffi_payjoin_ffi_fn_free_jsonsendersessionpersisterasync(ptr: bigint, f_status_: RustCallStatus): void;
745
+
623
746
  export function ubrn_uniffi_payjoin_ffi_fn_free_maybeinputsowned(ptr: bigint, f_status_: RustCallStatus): void;
624
747
 
625
748
  export function ubrn_uniffi_payjoin_ffi_fn_free_maybeinputsownedtransition(ptr: bigint, f_status_: RustCallStatus): void;
@@ -636,9 +759,7 @@ export function ubrn_uniffi_payjoin_ffi_fn_free_ohttperror(ptr: bigint, f_status
636
759
 
637
760
  export function ubrn_uniffi_payjoin_ffi_fn_free_ohttpkeys(ptr: bigint, f_status_: RustCallStatus): void;
638
761
 
639
- export function ubrn_uniffi_payjoin_ffi_fn_free_outpointspent(ptr: bigint, f_status_: RustCallStatus): void;
640
-
641
- export function ubrn_uniffi_payjoin_ffi_fn_free_outputsubstitutionerror(ptr: bigint, f_status_: RustCallStatus): void;
762
+ export function ubrn_uniffi_payjoin_ffi_fn_free_outputsubstitutionprotocolerror(ptr: bigint, f_status_: RustCallStatus): void;
642
763
 
643
764
  export function ubrn_uniffi_payjoin_ffi_fn_free_outputsunknown(ptr: bigint, f_status_: RustCallStatus): void;
644
765
 
@@ -688,6 +809,8 @@ export function ubrn_uniffi_payjoin_ffi_fn_free_selectionerror(ptr: bigint, f_st
688
809
 
689
810
  export function ubrn_uniffi_payjoin_ffi_fn_free_senderbuilder(ptr: bigint, f_status_: RustCallStatus): void;
690
811
 
812
+ export function ubrn_uniffi_payjoin_ffi_fn_free_sendercanceltransition(ptr: bigint, f_status_: RustCallStatus): void;
813
+
691
814
  export function ubrn_uniffi_payjoin_ffi_fn_free_senderreplayerror(ptr: bigint, f_status_: RustCallStatus): void;
692
815
 
693
816
  export function ubrn_uniffi_payjoin_ffi_fn_free_senderreplayresult(ptr: bigint, f_status_: RustCallStatus): void;
@@ -740,8 +863,12 @@ export function ubrn_uniffi_payjoin_ffi_fn_free_withreplykeytransition(ptr: bigi
740
863
 
741
864
  export function ubrn_uniffi_payjoin_ffi_fn_func_replay_receiver_event_log(persister: bigint, f_status_: RustCallStatus): bigint;
742
865
 
866
+ export function ubrn_uniffi_payjoin_ffi_fn_func_replay_receiver_event_log_async(persister: bigint): bigint;
867
+
743
868
  export function ubrn_uniffi_payjoin_ffi_fn_func_replay_sender_event_log(persister: bigint, f_status_: RustCallStatus): bigint;
744
869
 
870
+ export function ubrn_uniffi_payjoin_ffi_fn_func_replay_sender_event_log_async(persister: bigint): bigint;
871
+
745
872
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_canbroadcast(vtable: any): void;
746
873
 
747
874
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_isoutputknown(vtable: any): void;
@@ -750,24 +877,66 @@ export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_isscriptowned(vt
750
877
 
751
878
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonreceiversessionpersister(vtable: any): void;
752
879
 
880
+ export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonreceiversessionpersisterasync(vtable: any): void;
881
+
753
882
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonsendersessionpersister(vtable: any): void;
754
883
 
755
- export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_outpointspent(vtable: any): void;
884
+ export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_jsonsendersessionpersisterasync(vtable: any): void;
756
885
 
757
886
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_processpsbt(vtable: any): void;
758
887
 
759
888
  export function ubrn_uniffi_payjoin_ffi_fn_init_callback_vtable_transactionexists(vtable: any): void;
760
889
 
890
+ export function ubrn_uniffi_payjoin_ffi_fn_method_addressparseerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
891
+
892
+ export function ubrn_uniffi_payjoin_ffi_fn_method_addressparseerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
893
+
761
894
  export function ubrn_uniffi_payjoin_ffi_fn_method_assumeinteractivetransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
762
895
 
896
+ export function ubrn_uniffi_payjoin_ffi_fn_method_assumeinteractivetransition_save_async(ptr: bigint, persister: bigint): bigint;
897
+
898
+ export function ubrn_uniffi_payjoin_ffi_fn_method_buildsendererror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
899
+
900
+ export function ubrn_uniffi_payjoin_ffi_fn_method_buildsendererror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
901
+
902
+ export function ubrn_uniffi_payjoin_ffi_fn_method_buildsendererror_uniffi_trait_eq_eq(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
903
+
904
+ export function ubrn_uniffi_payjoin_ffi_fn_method_buildsendererror_uniffi_trait_eq_ne(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
905
+
763
906
  export function ubrn_uniffi_payjoin_ffi_fn_method_canbroadcast_callback(ptr: bigint, tx: Uint8Array, f_status_: RustCallStatus): number;
764
907
 
908
+ export function ubrn_uniffi_payjoin_ffi_fn_method_canceltransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): Uint8Array;
909
+
910
+ export function ubrn_uniffi_payjoin_ffi_fn_method_canceltransition_save_async(ptr: bigint, persister: bigint): bigint;
911
+
912
+ export function ubrn_uniffi_payjoin_ffi_fn_method_createrequesterror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
913
+
914
+ export function ubrn_uniffi_payjoin_ffi_fn_method_createrequesterror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
915
+
916
+ export function ubrn_uniffi_payjoin_ffi_fn_method_encapsulationerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
917
+
918
+ export function ubrn_uniffi_payjoin_ffi_fn_method_encapsulationerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
919
+
920
+ export function ubrn_uniffi_payjoin_ffi_fn_method_feerateerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
921
+
922
+ export function ubrn_uniffi_payjoin_ffi_fn_method_feerateerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
923
+
924
+ export function ubrn_uniffi_payjoin_ffi_fn_method_hasreplyableerror_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
925
+
765
926
  export function ubrn_uniffi_payjoin_ffi_fn_method_hasreplyableerror_create_error_request(ptr: bigint, ohttp_relay: Uint8Array, f_status_: RustCallStatus): Uint8Array;
766
927
 
767
928
  export function ubrn_uniffi_payjoin_ffi_fn_method_hasreplyableerror_process_error_response(ptr: bigint, body: Uint8Array, ohttp_context: bigint, f_status_: RustCallStatus): bigint;
768
929
 
769
930
  export function ubrn_uniffi_payjoin_ffi_fn_method_hasreplyableerrortransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): void;
770
931
 
932
+ export function ubrn_uniffi_payjoin_ffi_fn_method_hasreplyableerrortransition_save_async(ptr: bigint, persister: bigint): bigint;
933
+
934
+ export function ubrn_uniffi_payjoin_ffi_fn_method_implementationerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
935
+
936
+ export function ubrn_uniffi_payjoin_ffi_fn_method_implementationerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
937
+
938
+ export function ubrn_uniffi_payjoin_ffi_fn_method_initialized_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
939
+
771
940
  export function ubrn_uniffi_payjoin_ffi_fn_method_initialized_create_poll_request(ptr: bigint, ohttp_relay: Uint8Array, f_status_: RustCallStatus): Uint8Array;
772
941
 
773
942
  export function ubrn_uniffi_payjoin_ffi_fn_method_initialized_pj_uri(ptr: bigint, f_status_: RustCallStatus): bigint;
@@ -776,10 +945,24 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_initialized_process_response(p
776
945
 
777
946
  export function ubrn_uniffi_payjoin_ffi_fn_method_initializedtransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): Uint8Array;
778
947
 
948
+ export function ubrn_uniffi_payjoin_ffi_fn_method_initializedtransition_save_async(ptr: bigint, persister: bigint): bigint;
949
+
779
950
  export function ubrn_uniffi_payjoin_ffi_fn_method_initialreceivetransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
780
951
 
952
+ export function ubrn_uniffi_payjoin_ffi_fn_method_initialreceivetransition_save_async(ptr: bigint, persister: bigint): bigint;
953
+
781
954
  export function ubrn_uniffi_payjoin_ffi_fn_method_initialsendtransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
782
955
 
956
+ export function ubrn_uniffi_payjoin_ffi_fn_method_initialsendtransition_save_async(ptr: bigint, persister: bigint): bigint;
957
+
958
+ export function ubrn_uniffi_payjoin_ffi_fn_method_inputcontributionerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
959
+
960
+ export function ubrn_uniffi_payjoin_ffi_fn_method_inputcontributionerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
961
+
962
+ export function ubrn_uniffi_payjoin_ffi_fn_method_intourlerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
963
+
964
+ export function ubrn_uniffi_payjoin_ffi_fn_method_intourlerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
965
+
783
966
  export function ubrn_uniffi_payjoin_ffi_fn_method_isoutputknown_callback(ptr: bigint, outpoint: Uint8Array, f_status_: RustCallStatus): number;
784
967
 
785
968
  export function ubrn_uniffi_payjoin_ffi_fn_method_isscriptowned_callback(ptr: bigint, script: Uint8Array, f_status_: RustCallStatus): number;
@@ -790,32 +973,74 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreceiversessionpersister_l
790
973
 
791
974
  export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreceiversessionpersister_save(ptr: bigint, event: Uint8Array, f_status_: RustCallStatus): void;
792
975
 
976
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreceiversessionpersisterasync_close(ptr: bigint): bigint;
977
+
978
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreceiversessionpersisterasync_load(ptr: bigint): bigint;
979
+
980
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreceiversessionpersisterasync_save(ptr: bigint, event: Uint8Array): bigint;
981
+
982
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreply_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
983
+
984
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreply_uniffi_trait_eq_eq(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
985
+
986
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonreply_uniffi_trait_eq_ne(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
987
+
793
988
  export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersister_close(ptr: bigint, f_status_: RustCallStatus): void;
794
989
 
795
990
  export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersister_load(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
796
991
 
797
992
  export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersister_save(ptr: bigint, event: Uint8Array, f_status_: RustCallStatus): void;
798
993
 
994
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersisterasync_close(ptr: bigint): bigint;
995
+
996
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersisterasync_load(ptr: bigint): bigint;
997
+
998
+ export function ubrn_uniffi_payjoin_ffi_fn_method_jsonsendersessionpersisterasync_save(ptr: bigint, event: Uint8Array): bigint;
999
+
1000
+ export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsowned_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1001
+
799
1002
  export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsowned_check_inputs_not_owned(ptr: bigint, is_owned: bigint, f_status_: RustCallStatus): bigint;
800
1003
 
801
1004
  export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsowned_extract_tx_to_schedule_broadcast(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
802
1005
 
803
1006
  export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsownedtransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
804
1007
 
1008
+ export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsownedtransition_save_async(ptr: bigint, persister: bigint): bigint;
1009
+
1010
+ export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsseen_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1011
+
805
1012
  export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsseen_check_no_inputs_seen_before(ptr: bigint, is_known: bigint, f_status_: RustCallStatus): bigint;
806
1013
 
807
1014
  export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsseentransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
808
1015
 
809
- export function ubrn_uniffi_payjoin_ffi_fn_method_monitor_monitor(ptr: bigint, transaction_exists: bigint, outpoint_spent: bigint, f_status_: RustCallStatus): bigint;
1016
+ export function ubrn_uniffi_payjoin_ffi_fn_method_maybeinputsseentransition_save_async(ptr: bigint, persister: bigint): bigint;
1017
+
1018
+ export function ubrn_uniffi_payjoin_ffi_fn_method_monitor_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1019
+
1020
+ export function ubrn_uniffi_payjoin_ffi_fn_method_monitor_monitor(ptr: bigint, transaction_exists: bigint, f_status_: RustCallStatus): bigint;
810
1021
 
811
1022
  export function ubrn_uniffi_payjoin_ffi_fn_method_monitortransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): void;
812
1023
 
813
- export function ubrn_uniffi_payjoin_ffi_fn_method_outpointspent_callback(ptr: bigint, outpoint: Uint8Array, f_status_: RustCallStatus): number;
1024
+ export function ubrn_uniffi_payjoin_ffi_fn_method_monitortransition_save_async(ptr: bigint, persister: bigint): bigint;
1025
+
1026
+ export function ubrn_uniffi_payjoin_ffi_fn_method_ohttperror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1027
+
1028
+ export function ubrn_uniffi_payjoin_ffi_fn_method_ohttperror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1029
+
1030
+ export function ubrn_uniffi_payjoin_ffi_fn_method_outputsubstitutionprotocolerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1031
+
1032
+ export function ubrn_uniffi_payjoin_ffi_fn_method_outputsubstitutionprotocolerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1033
+
1034
+ export function ubrn_uniffi_payjoin_ffi_fn_method_outputsunknown_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
814
1035
 
815
1036
  export function ubrn_uniffi_payjoin_ffi_fn_method_outputsunknown_identify_receiver_outputs(ptr: bigint, is_receiver_output: bigint, f_status_: RustCallStatus): bigint;
816
1037
 
817
1038
  export function ubrn_uniffi_payjoin_ffi_fn_method_outputsunknowntransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
818
1039
 
1040
+ export function ubrn_uniffi_payjoin_ffi_fn_method_outputsunknowntransition_save_async(ptr: bigint, persister: bigint): bigint;
1041
+
1042
+ export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposal_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1043
+
819
1044
  export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposal_create_post_request(ptr: bigint, ohttp_relay: Uint8Array, f_status_: RustCallStatus): Uint8Array;
820
1045
 
821
1046
  export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposal_process_response(ptr: bigint, body: Uint8Array, ohttp_context: bigint, f_status_: RustCallStatus): bigint;
@@ -826,6 +1051,24 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposal_utxos_to_be_lo
826
1051
 
827
1052
  export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposaltransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
828
1053
 
1054
+ export function ubrn_uniffi_payjoin_ffi_fn_method_payjoinproposaltransition_save_async(ptr: bigint, persister: bigint): bigint;
1055
+
1056
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjnotsupported_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1057
+
1058
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjnotsupported_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1059
+
1060
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjnotsupported_uniffi_trait_eq_eq(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
1061
+
1062
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjnotsupported_uniffi_trait_eq_ne(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
1063
+
1064
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjparseerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1065
+
1066
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjparseerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1067
+
1068
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjparseerror_uniffi_trait_eq_eq(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
1069
+
1070
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pjparseerror_uniffi_trait_eq_ne(ptr: bigint, other: bigint, f_status_: RustCallStatus): number;
1071
+
829
1072
  export function ubrn_uniffi_payjoin_ffi_fn_method_pjuri_address(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
830
1073
 
831
1074
  export function ubrn_uniffi_payjoin_ffi_fn_method_pjuri_amount_sats(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
@@ -836,20 +1079,36 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_pjuri_pj_endpoint(ptr: bigint,
836
1079
 
837
1080
  export function ubrn_uniffi_payjoin_ffi_fn_method_pjuri_set_amount_sats(ptr: bigint, amount_sats: bigint, f_status_: RustCallStatus): bigint;
838
1081
 
1082
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pollingforproposal_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1083
+
839
1084
  export function ubrn_uniffi_payjoin_ffi_fn_method_pollingforproposal_create_poll_request(ptr: bigint, ohttp_relay: Uint8Array, f_status_: RustCallStatus): Uint8Array;
840
1085
 
841
1086
  export function ubrn_uniffi_payjoin_ffi_fn_method_pollingforproposal_process_response(ptr: bigint, response: Uint8Array, ohttp_ctx: bigint, f_status_: RustCallStatus): bigint;
842
1087
 
843
1088
  export function ubrn_uniffi_payjoin_ffi_fn_method_pollingforproposaltransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): Uint8Array;
844
1089
 
1090
+ export function ubrn_uniffi_payjoin_ffi_fn_method_pollingforproposaltransition_save_async(ptr: bigint, persister: bigint): bigint;
1091
+
845
1092
  export function ubrn_uniffi_payjoin_ffi_fn_method_processpsbt_callback(ptr: bigint, psbt: Uint8Array, f_status_: RustCallStatus): Uint8Array;
846
1093
 
1094
+ export function ubrn_uniffi_payjoin_ffi_fn_method_protocolerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1095
+
1096
+ export function ubrn_uniffi_payjoin_ffi_fn_method_protocolerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1097
+
1098
+ export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposal_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1099
+
847
1100
  export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposal_finalize_proposal(ptr: bigint, process_psbt: bigint, f_status_: RustCallStatus): bigint;
848
1101
 
849
- export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposal_psbt_to_sign(ptr: bigint, f_status_: RustCallStatus): bigint;
1102
+ export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposal_psbt_to_sign(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
850
1103
 
851
1104
  export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposaltransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
852
1105
 
1106
+ export function ubrn_uniffi_payjoin_ffi_fn_method_provisionalproposaltransition_save_async(ptr: bigint, persister: bigint): bigint;
1107
+
1108
+ export function ubrn_uniffi_payjoin_ffi_fn_method_psbtinputerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1109
+
1110
+ export function ubrn_uniffi_payjoin_ffi_fn_method_psbtinputerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1111
+
853
1112
  export function ubrn_uniffi_payjoin_ffi_fn_method_receiverbuilder_build(ptr: bigint, f_status_: RustCallStatus): bigint;
854
1113
 
855
1114
  export function ubrn_uniffi_payjoin_ffi_fn_method_receiverbuilder_with_amount(ptr: bigint, amount_sats: bigint, f_status_: RustCallStatus): bigint;
@@ -858,6 +1117,10 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_receiverbuilder_with_expiratio
858
1117
 
859
1118
  export function ubrn_uniffi_payjoin_ffi_fn_method_receiverbuilder_with_max_fee_rate(ptr: bigint, max_effective_fee_rate_sat_per_vb: bigint, f_status_: RustCallStatus): bigint;
860
1119
 
1120
+ export function ubrn_uniffi_payjoin_ffi_fn_method_receiverreplayerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1121
+
1122
+ export function ubrn_uniffi_payjoin_ffi_fn_method_receiverreplayerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1123
+
861
1124
  export function ubrn_uniffi_payjoin_ffi_fn_method_receiversessionevent_to_json(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
862
1125
 
863
1126
  export function ubrn_uniffi_payjoin_ffi_fn_method_receiversessionhistory_fallback_tx(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
@@ -870,6 +1133,10 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_replayresult_session_history(p
870
1133
 
871
1134
  export function ubrn_uniffi_payjoin_ffi_fn_method_replayresult_state(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
872
1135
 
1136
+ export function ubrn_uniffi_payjoin_ffi_fn_method_selectionerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1137
+
1138
+ export function ubrn_uniffi_payjoin_ffi_fn_method_selectionerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1139
+
873
1140
  export function ubrn_uniffi_payjoin_ffi_fn_method_senderbuilder_always_disable_output_substitution(ptr: bigint, f_status_: RustCallStatus): bigint;
874
1141
 
875
1142
  export function ubrn_uniffi_payjoin_ffi_fn_method_senderbuilder_build_non_incentivizing(ptr: bigint, min_fee_rate: bigint, f_status_: RustCallStatus): bigint;
@@ -878,26 +1145,54 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_senderbuilder_build_recommende
878
1145
 
879
1146
  export function ubrn_uniffi_payjoin_ffi_fn_method_senderbuilder_build_with_additional_fee(ptr: bigint, max_fee_contribution: bigint, change_index: Uint8Array, min_fee_rate: bigint, clamp_fee_contribution: number, f_status_: RustCallStatus): bigint;
880
1147
 
1148
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendercanceltransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): Uint8Array;
1149
+
1150
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendercanceltransition_save_async(ptr: bigint, persister: bigint): bigint;
1151
+
1152
+ export function ubrn_uniffi_payjoin_ffi_fn_method_senderreplayerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1153
+
1154
+ export function ubrn_uniffi_payjoin_ffi_fn_method_senderreplayerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1155
+
881
1156
  export function ubrn_uniffi_payjoin_ffi_fn_method_senderreplayresult_session_history(ptr: bigint, f_status_: RustCallStatus): bigint;
882
1157
 
883
1158
  export function ubrn_uniffi_payjoin_ffi_fn_method_senderreplayresult_state(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
884
1159
 
885
1160
  export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionevent_to_json(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
886
1161
 
887
- export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionhistory_fallback_tx(ptr: bigint, f_status_: RustCallStatus): bigint;
1162
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionhistory_fallback_tx(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
888
1163
 
889
1164
  export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionhistory_pj_param(ptr: bigint, f_status_: RustCallStatus): bigint;
890
1165
 
891
1166
  export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionhistory_status(ptr: bigint, f_status_: RustCallStatus): bigint;
892
1167
 
1168
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionoutcome_is_cancelled(ptr: bigint, f_status_: RustCallStatus): number;
1169
+
1170
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionoutcome_is_failure(ptr: bigint, f_status_: RustCallStatus): number;
1171
+
1172
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionoutcome_is_success(ptr: bigint, f_status_: RustCallStatus): number;
1173
+
1174
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sendersessionoutcome_success_psbt_base64(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1175
+
1176
+ export function ubrn_uniffi_payjoin_ffi_fn_method_serdejsonerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1177
+
1178
+ export function ubrn_uniffi_payjoin_ffi_fn_method_serdejsonerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1179
+
1180
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sessionerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1181
+
1182
+ export function ubrn_uniffi_payjoin_ffi_fn_method_sessionerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1183
+
893
1184
  export function ubrn_uniffi_payjoin_ffi_fn_method_transactionexists_callback(ptr: bigint, txid: Uint8Array, f_status_: RustCallStatus): Uint8Array;
894
1185
 
895
1186
  export function ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayload_assume_interactive_receiver(ptr: bigint, f_status_: RustCallStatus): bigint;
896
1187
 
1188
+ export function ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayload_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1189
+
897
1190
  export function ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayload_check_broadcast_suitability(ptr: bigint, min_fee_rate: Uint8Array, can_broadcast: bigint, f_status_: RustCallStatus): bigint;
898
1191
 
899
1192
  export function ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayloadtransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
900
1193
 
1194
+ export function ubrn_uniffi_payjoin_ffi_fn_method_uncheckedoriginalpayloadtransition_save_async(ptr: bigint, persister: bigint): bigint;
1195
+
901
1196
  export function ubrn_uniffi_payjoin_ffi_fn_method_uri_address(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
902
1197
 
903
1198
  export function ubrn_uniffi_payjoin_ffi_fn_method_uri_amount_sats(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
@@ -914,12 +1209,26 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_url_as_string(ptr: bigint, f_s
914
1209
 
915
1210
  export function ubrn_uniffi_payjoin_ffi_fn_method_url_query(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
916
1211
 
1212
+ export function ubrn_uniffi_payjoin_ffi_fn_method_urlparseerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1213
+
1214
+ export function ubrn_uniffi_payjoin_ffi_fn_method_urlparseerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1215
+
917
1216
  export function ubrn_uniffi_payjoin_ffi_fn_method_v1context_process_response(ptr: bigint, response: Uint8Array, f_status_: RustCallStatus): Uint8Array;
918
1217
 
1218
+ export function ubrn_uniffi_payjoin_ffi_fn_method_validationerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1219
+
1220
+ export function ubrn_uniffi_payjoin_ffi_fn_method_validationerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1221
+
919
1222
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsfeerange_apply_fee_range(ptr: bigint, min_fee_rate_sat_per_vb: Uint8Array, max_effective_fee_rate_sat_per_vb: Uint8Array, f_status_: RustCallStatus): bigint;
920
1223
 
1224
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsfeerange_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1225
+
921
1226
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsfeerangetransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
922
1227
 
1228
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsfeerangetransition_save_async(ptr: bigint, persister: bigint): bigint;
1229
+
1230
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputs_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1231
+
923
1232
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputs_commit_inputs(ptr: bigint, f_status_: RustCallStatus): bigint;
924
1233
 
925
1234
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputs_contribute_inputs(ptr: bigint, replacement_inputs: Uint8Array, f_status_: RustCallStatus): bigint;
@@ -928,18 +1237,32 @@ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputs_try_preserving_pri
928
1237
 
929
1238
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputstransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
930
1239
 
1240
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsinputstransition_save_async(ptr: bigint, persister: bigint): bigint;
1241
+
1242
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1243
+
931
1244
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_commit_outputs(ptr: bigint, f_status_: RustCallStatus): bigint;
932
1245
 
933
1246
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_output_substitution(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
934
1247
 
935
- export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_replace_receiver_outputs(ptr: bigint, replacement_outputs: Uint8Array, drain_script: bigint, f_status_: RustCallStatus): bigint;
1248
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_replace_receiver_outputs(ptr: bigint, replacement_outputs: Uint8Array, drain_script_pubkey: Uint8Array, f_status_: RustCallStatus): bigint;
936
1249
 
937
- export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_substitute_receiver_script(ptr: bigint, output_script: bigint, f_status_: RustCallStatus): bigint;
1250
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputs_substitute_receiver_script(ptr: bigint, output_script_pubkey: Uint8Array, f_status_: RustCallStatus): bigint;
938
1251
 
939
1252
  export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputstransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
940
1253
 
1254
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wantsoutputstransition_save_async(ptr: bigint, persister: bigint): bigint;
1255
+
1256
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wellknownerror_uniffi_trait_debug(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1257
+
1258
+ export function ubrn_uniffi_payjoin_ffi_fn_method_wellknownerror_uniffi_trait_display(ptr: bigint, f_status_: RustCallStatus): Uint8Array;
1259
+
1260
+ export function ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_cancel(ptr: bigint, f_status_: RustCallStatus): bigint;
1261
+
941
1262
  export function ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_create_v2_post_request(ptr: bigint, ohttp_relay: Uint8Array, f_status_: RustCallStatus): Uint8Array;
942
1263
 
943
1264
  export function ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_process_response(ptr: bigint, response: Uint8Array, post_ctx: bigint, f_status_: RustCallStatus): bigint;
944
1265
 
945
1266
  export function ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save(ptr: bigint, persister: bigint, f_status_: RustCallStatus): bigint;
1267
+
1268
+ export function ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save_async(ptr: bigint, persister: bigint): bigint;