@xstoicunicornx/payjoin_test 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1256,18 +1256,28 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
1256
1256
 
1257
1257
  export interface InitOutput {
1258
1258
  readonly memory: WebAssembly.Memory;
1259
- readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
1260
- readonly foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
1259
+ readonly __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
1260
+ readonly foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
1261
+ readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
1262
+ readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
1263
+ readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
1264
+ readonly foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
1261
1265
  readonly __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
1262
1266
  readonly foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
1263
- readonly __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
1264
- readonly foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
1265
1267
  readonly __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
1266
1268
  readonly foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
1267
- readonly __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
1268
- readonly foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
1269
- readonly __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
1270
- readonly foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
1269
+ readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
1270
+ readonly foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
1271
+ readonly __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
1272
+ readonly foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
1273
+ readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
1274
+ readonly foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
1275
+ readonly __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
1276
+ readonly foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
1277
+ readonly __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
1278
+ readonly foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
1279
+ readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
1280
+ readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
1271
1281
  readonly uniffi_payjoin_ffi_fn_free_uri: (a: bigint, b: number) => void;
1272
1282
  readonly uniffi_payjoin_ffi_fn_free_url: (a: bigint, b: number) => void;
1273
1283
  readonly uniffi_payjoin_ffi_fn_clone_uri: (a: bigint, b: number) => bigint;
@@ -2426,16 +2436,6 @@ export interface InitOutput {
2426
2436
  readonly ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_process_response: (a: bigint, b: number, c: number, d: bigint, e: number) => bigint;
2427
2437
  readonly ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save: (a: bigint, b: bigint, c: number) => bigint;
2428
2438
  readonly ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save_async: (a: bigint, b: bigint) => bigint;
2429
- readonly __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
2430
- readonly foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
2431
- readonly __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
2432
- readonly foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
2433
- readonly __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
2434
- readonly foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
2435
- readonly __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
2436
- readonly foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
2437
- readonly __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
2438
- readonly foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
2439
2439
  readonly __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
2440
2440
  readonly foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
2441
2441
  readonly __wbg_get_rustcallstatus_code: (a: number) => number;
@@ -6238,12 +6238,6 @@ function __wbg_get_imports() {
6238
6238
  __wbg___wbindgen_throw_be289d5034ed271b: function(arg0, arg1) {
6239
6239
  throw new Error(getStringFromWasm0(arg0, arg1));
6240
6240
  },
6241
- __wbg_callStatus_e29db39390b7a319: function(arg0) {
6242
- const ret = arg0.callStatus;
6243
- _assertClass(ret, RustCallStatus);
6244
- var ptr1 = ret.__destroy_into_raw();
6245
- return ptr1;
6246
- },
6247
6241
  __wbg_call_0177324acba7cd47: function(arg0, arg1, arg2, arg3, arg4) {
6248
6242
  var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
6249
6243
  wasm.__wbindgen_free(arg3, arg4 * 1, 1);
@@ -6320,6 +6314,12 @@ function __wbg_get_imports() {
6320
6314
  const ret = arg0.call(arg1, BigInt.asUintN(64, arg2), v0, ForeignFutureCompleteVoid.__wrap(arg5), BigInt.asUintN(64, arg6));
6321
6315
  return ret;
6322
6316
  },
6317
+ __wbg_call_status_e29db39390b7a319: function(arg0) {
6318
+ const ret = arg0.call_status;
6319
+ _assertClass(ret, RustCallStatus);
6320
+ var ptr1 = ret.__destroy_into_raw();
6321
+ return ptr1;
6322
+ },
6323
6323
  __wbg_callback_dce5d7a7bd5ba5ab: function(arg0) {
6324
6324
  const ret = arg0.callback;
6325
6325
  return ret;
@@ -6328,15 +6328,15 @@ function __wbg_get_imports() {
6328
6328
  const ret = arg0.close;
6329
6329
  return ret;
6330
6330
  },
6331
- __wbg_code_344daf1474f2c3b8: function(arg0) {
6331
+ __wbg_code_0d40bce655fe0f78: function(arg0) {
6332
6332
  const ret = arg0.code;
6333
6333
  return ret;
6334
6334
  },
6335
- __wbg_code_79f223f362626b35: function(arg0) {
6335
+ __wbg_code_afdf720982585182: function(arg0) {
6336
6336
  const ret = arg0.code;
6337
6337
  return ret;
6338
6338
  },
6339
- __wbg_code_aece538fe8c0f3ea: function(arg0) {
6339
+ __wbg_code_ebf83f98eb89c937: function(arg0) {
6340
6340
  const ret = arg0.code;
6341
6341
  return ret;
6342
6342
  },
@@ -6344,21 +6344,21 @@ function __wbg_get_imports() {
6344
6344
  const ret = arg0.crypto;
6345
6345
  return ret;
6346
6346
  },
6347
- __wbg_error_buf_147588f0cf30ca52: function(arg0, arg1) {
6347
+ __wbg_error_buf_5cf8ae2693b99621: function(arg0, arg1) {
6348
6348
  const ret = arg1.errorBuf;
6349
6349
  var ptr1 = isLikeNone(ret) ? 0 : passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6350
6350
  var len1 = WASM_VECTOR_LEN;
6351
6351
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6352
6352
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6353
6353
  },
6354
- __wbg_error_buf_291b7b70d6231cb2: function(arg0, arg1) {
6354
+ __wbg_error_buf_bbc4310e751b1f64: function(arg0, arg1) {
6355
6355
  const ret = arg1.errorBuf;
6356
6356
  var ptr1 = isLikeNone(ret) ? 0 : passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6357
6357
  var len1 = WASM_VECTOR_LEN;
6358
6358
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6359
6359
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6360
6360
  },
6361
- __wbg_error_buf_5b46ac0664325e3b: function(arg0, arg1) {
6361
+ __wbg_error_buf_e70352ccc385bdd1: function(arg0, arg1) {
6362
6362
  const ret = arg1.errorBuf;
6363
6363
  var ptr1 = isLikeNone(ret) ? 0 : passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6364
6364
  var len1 = WASM_VECTOR_LEN;
@@ -6404,14 +6404,14 @@ function __wbg_get_imports() {
6404
6404
  const ret = Date.now();
6405
6405
  return ret;
6406
6406
  },
6407
- __wbg_pointee_79d2358b4bd75a4e: function(arg0, arg1) {
6407
+ __wbg_pointee_27c2ccdcd300417f: function(arg0, arg1) {
6408
6408
  const ret = arg1.pointee;
6409
6409
  var ptr1 = isLikeNone(ret) ? 0 : passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6410
6410
  var len1 = WASM_VECTOR_LEN;
6411
6411
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
6412
6412
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
6413
6413
  },
6414
- __wbg_pointee_8b29a091693b1155: function(arg0) {
6414
+ __wbg_pointee_d6fba9b2e80a1bb9: function(arg0) {
6415
6415
  const ret = arg0.pointee;
6416
6416
  return isLikeNone(ret) ? 0xFFFFFF : ret;
6417
6417
  },
@@ -6429,48 +6429,48 @@ function __wbg_get_imports() {
6429
6429
  const ret = module.require;
6430
6430
  return ret;
6431
6431
  }, arguments); },
6432
- __wbg_returnValue_115f121efb417ada: function(arg0) {
6433
- const ret = arg0.returnValue;
6432
+ __wbg_return_value_115f121efb417ada: function(arg0) {
6433
+ const ret = arg0.return_value;
6434
6434
  return ret;
6435
6435
  },
6436
- __wbg_returnValue_1b10f9b00d299011: function(arg0) {
6437
- const ret = arg0.returnValue;
6436
+ __wbg_return_value_1b10f9b00d299011: function(arg0) {
6437
+ const ret = arg0.return_value;
6438
6438
  return ret;
6439
6439
  },
6440
- __wbg_returnValue_1e45752b46373e8e: function(arg0) {
6441
- const ret = arg0.returnValue;
6440
+ __wbg_return_value_1e45752b46373e8e: function(arg0) {
6441
+ const ret = arg0.return_value;
6442
6442
  return ret;
6443
6443
  },
6444
- __wbg_returnValue_1f5dfd25006fcdcd: function(arg0) {
6445
- const ret = arg0.returnValue;
6444
+ __wbg_return_value_1f5dfd25006fcdcd: function(arg0) {
6445
+ const ret = arg0.return_value;
6446
6446
  return ret;
6447
6447
  },
6448
- __wbg_returnValue_2cd8414eaf40d9b0: function(arg0) {
6449
- const ret = arg0.returnValue;
6448
+ __wbg_return_value_2cd8414eaf40d9b0: function(arg0) {
6449
+ const ret = arg0.return_value;
6450
6450
  return ret;
6451
6451
  },
6452
- __wbg_returnValue_72879231be83b6ff: function(arg0) {
6453
- const ret = arg0.returnValue;
6452
+ __wbg_return_value_72879231be83b6ff: function(arg0) {
6453
+ const ret = arg0.return_value;
6454
6454
  return ret;
6455
6455
  },
6456
- __wbg_returnValue_7d02db70a59fc568: function(arg0) {
6457
- const ret = arg0.returnValue;
6456
+ __wbg_return_value_7d02db70a59fc568: function(arg0) {
6457
+ const ret = arg0.return_value;
6458
6458
  return ret;
6459
6459
  },
6460
- __wbg_returnValue_8ddeb2ad954dd490: function(arg0) {
6461
- const ret = arg0.returnValue;
6460
+ __wbg_return_value_8ddeb2ad954dd490: function(arg0) {
6461
+ const ret = arg0.return_value;
6462
6462
  return ret;
6463
6463
  },
6464
- __wbg_returnValue_b96bb2982155d6d3: function(arg0) {
6465
- const ret = arg0.returnValue;
6464
+ __wbg_return_value_b96bb2982155d6d3: function(arg0) {
6465
+ const ret = arg0.return_value;
6466
6466
  return ret;
6467
6467
  },
6468
- __wbg_returnValue_c26afadf04a82944: function(arg0) {
6469
- const ret = arg0.returnValue;
6468
+ __wbg_return_value_c26afadf04a82944: function(arg0) {
6469
+ const ret = arg0.return_value;
6470
6470
  return ret;
6471
6471
  },
6472
- __wbg_returnValue_d79bde54a86437de: function(arg0, arg1) {
6473
- const ret = arg1.returnValue;
6472
+ __wbg_return_value_d79bde54a86437de: function(arg0, arg1) {
6473
+ const ret = arg1.return_value;
6474
6474
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
6475
6475
  const len1 = WASM_VECTOR_LEN;
6476
6476
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
@@ -6500,12 +6500,12 @@ function __wbg_get_imports() {
6500
6500
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
6501
6501
  return ret;
6502
6502
  },
6503
- __wbg_uniffiClone_1675d398b1f7fbbf: function(arg0) {
6504
- const ret = arg0.uniffiClone;
6503
+ __wbg_uniffi_clone_1675d398b1f7fbbf: function(arg0) {
6504
+ const ret = arg0.uniffi_clone;
6505
6505
  return ret;
6506
6506
  },
6507
- __wbg_uniffiFree_6cc0d2110d0ded17: function(arg0) {
6508
- const ret = arg0.uniffiFree;
6507
+ __wbg_uniffi_free_6cc0d2110d0ded17: function(arg0) {
6508
+ const ret = arg0.uniffi_free;
6509
6509
  return ret;
6510
6510
  },
6511
6511
  __wbg_versions_4e31226f5e8dc909: function(arg0) {
@@ -1,18 +1,28 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_foreignfuturecompletef64_free: (a: number, b: number) => void;
5
- export const foreignfuturecompletef64_call: (a: number, b: number, c: bigint, d: any) => void;
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;
8
+ export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
9
+ export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
6
10
  export const __wbg_foreignfuturecompletei64_free: (a: number, b: number) => void;
7
11
  export const foreignfuturecompletei64_call: (a: number, b: number, c: bigint, d: any) => void;
8
- export const __wbg_foreignfuturecompleteu32_free: (a: number, b: number) => void;
9
- export const foreignfuturecompleteu32_call: (a: number, b: number, c: bigint, d: any) => void;
10
12
  export const __wbg_foreignfuturecompletevoid_free: (a: number, b: number) => void;
11
13
  export const foreignfuturecompletevoid_call: (a: number, b: number, c: bigint, d: any) => void;
12
- export const __wbg_foreignfuturecompletef32_free: (a: number, b: number) => void;
13
- export const foreignfuturecompletef32_call: (a: number, b: number, c: bigint, d: any) => void;
14
- export const __wbg_foreignfuturecompleteu64_free: (a: number, b: number) => void;
15
- export const foreignfuturecompleteu64_call: (a: number, b: number, c: bigint, d: any) => void;
14
+ export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
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;
24
+ export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
25
+ export const foreignfuturecompletei16_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;
@@ -1171,16 +1181,6 @@ export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_create_v2_post_reque
1171
1181
  export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykey_process_response: (a: bigint, b: number, c: number, d: bigint, e: number) => bigint;
1172
1182
  export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save: (a: bigint, b: bigint, c: number) => bigint;
1173
1183
  export const ubrn_uniffi_payjoin_ffi_fn_method_withreplykeytransition_save_async: (a: bigint, b: bigint) => bigint;
1174
- export const __wbg_foreignfuturecompleteu16_free: (a: number, b: number) => void;
1175
- export const foreignfuturecompleteu16_call: (a: number, b: number, c: bigint, d: any) => void;
1176
- export const __wbg_foreignfuturecompletei8_free: (a: number, b: number) => void;
1177
- export const foreignfuturecompletei8_call: (a: number, b: number, c: bigint, d: any) => void;
1178
- export const __wbg_foreignfuturecompletei32_free: (a: number, b: number) => void;
1179
- export const foreignfuturecompletei32_call: (a: number, b: number, c: bigint, d: any) => void;
1180
- export const __wbg_foreignfuturecompleterustbuffer_free: (a: number, b: number) => void;
1181
- export const foreignfuturecompleterustbuffer_call: (a: number, b: number, c: bigint, d: any) => void;
1182
- export const __wbg_foreignfuturecompletei16_free: (a: number, b: number) => void;
1183
- export const foreignfuturecompletei16_call: (a: number, b: number, c: bigint, d: any) => void;
1184
1184
  export const __wbg_foreignfuturecompleteu8_free: (a: number, b: number) => void;
1185
1185
  export const foreignfuturecompleteu8_call: (a: number, b: number, c: bigint, d: any) => void;
1186
1186
  export const __wbg_get_rustcallstatus_code: (a: number) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xstoicunicornx/payjoin_test",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "JavaScript/WASM bindings for rust-payjoin",
5
5
  "scripts": {
6
6
  "ubrn:nodejs": "ubrn build web --config ubrn.nodejs.config.yaml --and-generate",
@@ -26,9 +26,9 @@
26
26
  "rust"
27
27
  ],
28
28
  "devDependencies": {
29
- "prettier": "^3.6.2",
30
- "tsx": "^4.20.6",
31
- "typescript": "^5.9.3"
29
+ "prettier": "3.6.2",
30
+ "tsx": "4.20.6",
31
+ "typescript": "5.9.3"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
@@ -42,6 +42,6 @@
42
42
  "./web-vite": "./dist/web/vite.index.js"
43
43
  },
44
44
  "dependencies": {
45
- "uniffi-bindgen-react-native": "0.30.0-1"
45
+ "uniffi-bindgen-react-native": "github:spacebear21/uniffi-bindgen-react-native#tsconfig-module-nodenext"
46
46
  }
47
47
  }