@breeztech/breez-sdk-spark 0.7.13 → 0.7.15-dev1

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.
@@ -222,11 +222,15 @@ function debugString(val) {
222
222
  return className;
223
223
  }
224
224
  /**
225
- * @param {ConnectRequest} request
225
+ * @param {Config} config
226
+ * @param {ExternalSigner} signer
227
+ * @param {string} storage_dir
226
228
  * @returns {Promise<BreezSdk>}
227
229
  */
228
- export function connect(request) {
229
- const ret = wasm.connect(request);
230
+ export function connectWithSigner(config, signer, storage_dir) {
231
+ const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
232
+ const len0 = WASM_VECTOR_LEN;
233
+ const ret = wasm.connectWithSigner(config, signer, ptr0, len0);
230
234
  return ret;
231
235
  }
232
236
 
@@ -243,15 +247,11 @@ export function initLogging(logger, filter) {
243
247
  }
244
248
 
245
249
  /**
246
- * @param {Config} config
247
- * @param {ExternalSigner} signer
248
- * @param {string} storage_dir
250
+ * @param {ConnectRequest} request
249
251
  * @returns {Promise<BreezSdk>}
250
252
  */
251
- export function connectWithSigner(config, signer, storage_dir) {
252
- const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
253
- const len0 = WASM_VECTOR_LEN;
254
- const ret = wasm.connectWithSigner(config, signer, ptr0, len0);
253
+ export function connect(request) {
254
+ const ret = wasm.connect(request);
255
255
  return ret;
256
256
  }
257
257
 
@@ -309,17 +309,19 @@ export function task_worker_entry_point(ptr) {
309
309
  }
310
310
 
311
311
  function __wbg_adapter_64(arg0, arg1) {
312
- wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdf0ebd5238280272(arg0, arg1);
312
+ wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7f40343a8ffdf67e(arg0, arg1);
313
313
  }
314
314
 
315
315
  function __wbg_adapter_67(arg0, arg1, arg2) {
316
- wasm.closure1071_externref_shim(arg0, arg1, arg2);
316
+ wasm.closure446_externref_shim(arg0, arg1, arg2);
317
317
  }
318
318
 
319
- function __wbg_adapter_353(arg0, arg1, arg2, arg3) {
320
- wasm.closure654_externref_shim(arg0, arg1, arg2, arg3);
319
+ function __wbg_adapter_304(arg0, arg1, arg2, arg3) {
320
+ wasm.closure709_externref_shim(arg0, arg1, arg2, arg3);
321
321
  }
322
322
 
323
+ const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
324
+
323
325
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
324
326
 
325
327
  const __wbindgen_enum_ReferrerPolicy = ["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "unsafe-url", "same-origin", "strict-origin", "strict-origin-when-cross-origin"];
@@ -1115,6 +1117,104 @@ export class SdkBuilder {
1115
1117
  }
1116
1118
  }
1117
1119
 
1120
+ const SeedlessRestoreFinalization = (typeof FinalizationRegistry === 'undefined')
1121
+ ? { register: () => {}, unregister: () => {} }
1122
+ : new FinalizationRegistry(ptr => wasm.__wbg_seedlessrestore_free(ptr >>> 0, 1));
1123
+ /**
1124
+ * WASM wrapper for SeedlessRestore.
1125
+ *
1126
+ * Orchestrates seedless wallet creation and restore operations using
1127
+ * passkey PRF and Nostr relays.
1128
+ */
1129
+ export class SeedlessRestore {
1130
+
1131
+ __destroy_into_raw() {
1132
+ const ptr = this.__wbg_ptr;
1133
+ this.__wbg_ptr = 0;
1134
+ SeedlessRestoreFinalization.unregister(this);
1135
+ return ptr;
1136
+ }
1137
+
1138
+ free() {
1139
+ const ptr = this.__destroy_into_raw();
1140
+ wasm.__wbg_seedlessrestore_free(ptr, 0);
1141
+ }
1142
+ /**
1143
+ * List all salts published to Nostr for this passkey's identity.
1144
+ *
1145
+ * This method queries Nostr relays for all kind-1 text note events
1146
+ * authored by the Nostr identity derived from the passkey.
1147
+ *
1148
+ * @returns A Promise resolving to an array of salt strings
1149
+ * @returns {Promise<any>}
1150
+ */
1151
+ listSalts() {
1152
+ const ret = wasm.seedlessrestore_listSalts(this.__wbg_ptr);
1153
+ return ret;
1154
+ }
1155
+ /**
1156
+ * Create a new wallet seed from a user-provided salt.
1157
+ *
1158
+ * This method:
1159
+ * 1. Derives the Nostr identity from the passkey using the magic salt
1160
+ * 2. Checks if the salt already exists on Nostr (idempotency)
1161
+ * 3. If not, publishes the salt to Nostr relays
1162
+ * 4. Derives the wallet seed from the passkey using the user's salt
1163
+ *
1164
+ * @param salt - A user-chosen salt string (e.g., "personal", "business")
1165
+ * @returns A Promise resolving to the derived wallet seed (24-word mnemonic)
1166
+ * @param {string} salt
1167
+ * @returns {Promise<any>}
1168
+ */
1169
+ createSeed(salt) {
1170
+ const ptr0 = passStringToWasm0(salt, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1171
+ const len0 = WASM_VECTOR_LEN;
1172
+ const ret = wasm.seedlessrestore_createSeed(this.__wbg_ptr, ptr0, len0);
1173
+ return ret;
1174
+ }
1175
+ /**
1176
+ * Restore a wallet seed from a specific salt.
1177
+ *
1178
+ * Use this after calling listSalts() to restore a specific wallet.
1179
+ * This method only derives the seed; it does not publish anything.
1180
+ *
1181
+ * @param salt - The salt string to use for seed derivation
1182
+ * @returns A Promise resolving to the derived wallet seed (24-word mnemonic)
1183
+ * @param {string} salt
1184
+ * @returns {Promise<any>}
1185
+ */
1186
+ restoreSeed(salt) {
1187
+ const ptr0 = passStringToWasm0(salt, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1188
+ const len0 = WASM_VECTOR_LEN;
1189
+ const ret = wasm.seedlessrestore_restoreSeed(this.__wbg_ptr, ptr0, len0);
1190
+ return ret;
1191
+ }
1192
+ /**
1193
+ * Check if passkey PRF is available on this device.
1194
+ *
1195
+ * @returns A Promise resolving to true if PRF-capable passkey is available
1196
+ * @returns {Promise<boolean>}
1197
+ */
1198
+ isPrfAvailable() {
1199
+ const ret = wasm.seedlessrestore_isPrfAvailable(this.__wbg_ptr);
1200
+ return ret;
1201
+ }
1202
+ /**
1203
+ * Create a new SeedlessRestore instance.
1204
+ *
1205
+ * @param prf_provider - Platform implementation of passkey PRF operations
1206
+ * @param relay_config - Configuration for Nostr relay connections
1207
+ * @param {PasskeyPrfProvider} prf_provider
1208
+ * @param {NostrRelayConfig | null} [relay_config]
1209
+ */
1210
+ constructor(prf_provider, relay_config) {
1211
+ const ret = wasm.seedlessrestore_new(prf_provider, isLikeNone(relay_config) ? 0 : addToExternrefTable0(relay_config));
1212
+ this.__wbg_ptr = ret >>> 0;
1213
+ SeedlessRestoreFinalization.register(this, this.__wbg_ptr, this);
1214
+ return this;
1215
+ }
1216
+ }
1217
+
1118
1218
  const TokenIssuerFinalization = (typeof FinalizationRegistry === 'undefined')
1119
1219
  ? { register: () => {}, unregister: () => {} }
1120
1220
  : new FinalizationRegistry(ptr => wasm.__wbg_tokenissuer_free(ptr >>> 0, 1));
@@ -1314,11 +1414,20 @@ export function __wbg_catch_a6e601879b2610e9(arg0, arg1) {
1314
1414
  return ret;
1315
1415
  };
1316
1416
 
1417
+ export function __wbg_clearTimeout_5a54f8841c30079a(arg0) {
1418
+ const ret = clearTimeout(arg0);
1419
+ return ret;
1420
+ };
1421
+
1317
1422
  export function __wbg_clearTimeout_6222fede17abcb1a(arg0) {
1318
1423
  const ret = clearTimeout(arg0);
1319
1424
  return ret;
1320
1425
  };
1321
1426
 
1427
+ export function __wbg_close_2893b7d056a0627d() { return handleError(function (arg0) {
1428
+ arg0.close();
1429
+ }, arguments) };
1430
+
1322
1431
  export function __wbg_close_304cc1fef3466669() { return handleError(function (arg0) {
1323
1432
  arg0.close();
1324
1433
  }, arguments) };
@@ -1332,6 +1441,11 @@ export function __wbg_code_cfd8f6868bdaed9b(arg0) {
1332
1441
  return ret;
1333
1442
  };
1334
1443
 
1444
+ export function __wbg_code_f4ec1e6e2e1b0417(arg0) {
1445
+ const ret = arg0.code;
1446
+ return ret;
1447
+ };
1448
+
1335
1449
  export function __wbg_createDefaultStorage_458aa01b5eaead27() { return handleError(function (arg0, arg1, arg2) {
1336
1450
  const ret = createDefaultStorage(getStringFromWasm0(arg0, arg1), arg2);
1337
1451
  return ret;
@@ -1342,6 +1456,11 @@ export function __wbg_crypto_574e78ad8b13b65f(arg0) {
1342
1456
  return ret;
1343
1457
  };
1344
1458
 
1459
+ export function __wbg_data_432d9c3df2630942(arg0) {
1460
+ const ret = arg0.data;
1461
+ return ret;
1462
+ };
1463
+
1345
1464
  export function __wbg_deleteCachedItem_ff3c84380e94360b() { return handleError(function (arg0, arg1, arg2) {
1346
1465
  let deferred0_0;
1347
1466
  let deferred0_1;
@@ -1386,6 +1505,19 @@ export function __wbg_deleteRequest_7be0a74a10deac70() { return handleError(func
1386
1505
  }
1387
1506
  }, arguments) };
1388
1507
 
1508
+ export function __wbg_derivePrfSeed_8584c0fcf554b593() { return handleError(function (arg0, arg1, arg2) {
1509
+ let deferred0_0;
1510
+ let deferred0_1;
1511
+ try {
1512
+ deferred0_0 = arg1;
1513
+ deferred0_1 = arg2;
1514
+ const ret = arg0.derivePrfSeed(getStringFromWasm0(arg1, arg2));
1515
+ return ret;
1516
+ } finally {
1517
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1518
+ }
1519
+ }, arguments) };
1520
+
1389
1521
  export function __wbg_derivePublicKey_736fb57b6852f201() { return handleError(function (arg0, arg1, arg2) {
1390
1522
  let deferred0_0;
1391
1523
  let deferred0_1;
@@ -1544,6 +1676,13 @@ export function __wbg_getPaymentByInvoice_afddfcbefa5508b0() { return handleErro
1544
1676
  }
1545
1677
  }, arguments) };
1546
1678
 
1679
+ export function __wbg_getPaymentsByParentIds_0f8f8e0097a07321() { return handleError(function (arg0, arg1, arg2) {
1680
+ var v0 = getArrayJsValueFromWasm0(arg1, arg2).slice();
1681
+ wasm.__wbindgen_free(arg1, arg2 * 4, 4);
1682
+ const ret = arg0.getPaymentsByParentIds(v0);
1683
+ return ret;
1684
+ }, arguments) };
1685
+
1547
1686
  export function __wbg_getPublicKeyForNode_5ddb3378904e4ad4() { return handleError(function (arg0, arg1) {
1548
1687
  const ret = arg0.getPublicKeyForNode(arg1);
1549
1688
  return ret;
@@ -1676,6 +1815,19 @@ export function __wbg_identityPublicKey_c8b35005055a3df0() { return handleError(
1676
1815
  return ret;
1677
1816
  }, arguments) };
1678
1817
 
1818
+ export function __wbg_insertPaymentMetadata_0c4ebdcde694d29b() { return handleError(function (arg0, arg1, arg2, arg3) {
1819
+ let deferred0_0;
1820
+ let deferred0_1;
1821
+ try {
1822
+ deferred0_0 = arg1;
1823
+ deferred0_1 = arg2;
1824
+ const ret = arg0.insertPaymentMetadata(getStringFromWasm0(arg1, arg2), arg3);
1825
+ return ret;
1826
+ } finally {
1827
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1828
+ }
1829
+ }, arguments) };
1830
+
1679
1831
  export function __wbg_insertPayment_2afe3300c5f86ccf() { return handleError(function (arg0, arg1) {
1680
1832
  const ret = arg0.insertPayment(arg1);
1681
1833
  return ret;
@@ -1692,6 +1844,17 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
1692
1844
  return ret;
1693
1845
  };
1694
1846
 
1847
+ export function __wbg_instanceof_Blob_ca721ef3bdab15d1(arg0) {
1848
+ let result;
1849
+ try {
1850
+ result = arg0 instanceof Blob;
1851
+ } catch (_) {
1852
+ result = false;
1853
+ }
1854
+ const ret = result;
1855
+ return ret;
1856
+ };
1857
+
1695
1858
  export function __wbg_instanceof_DomException_ed1ccb7aaf39034c(arg0) {
1696
1859
  let result;
1697
1860
  try {
@@ -1763,6 +1926,11 @@ export function __wbg_isArray_a1eab7e0d067391b(arg0) {
1763
1926
  return ret;
1764
1927
  };
1765
1928
 
1929
+ export function __wbg_isPrfAvailable_c13e727932109c6e() { return handleError(function (arg0) {
1930
+ const ret = arg0.isPrfAvailable();
1931
+ return ret;
1932
+ }, arguments) };
1933
+
1766
1934
  export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
1767
1935
  const ret = Number.isSafeInteger(arg0);
1768
1936
  return ret;
@@ -1840,7 +2008,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
1840
2008
  const a = state0.a;
1841
2009
  state0.a = 0;
1842
2010
  try {
1843
- return __wbg_adapter_353(a, state0.b, arg0, arg1);
2011
+ return __wbg_adapter_304(a, state0.b, arg0, arg1);
1844
2012
  } finally {
1845
2013
  state0.a = a;
1846
2014
  }
@@ -1867,6 +2035,11 @@ export function __wbg_new_78feb108b6472713() {
1867
2035
  return ret;
1868
2036
  };
1869
2037
 
2038
+ export function __wbg_new_92c54fc74574ef55() { return handleError(function (arg0, arg1) {
2039
+ const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
2040
+ return ret;
2041
+ }, arguments) };
2042
+
1870
2043
  export function __wbg_new_a12002a7f91c75be(arg0) {
1871
2044
  const ret = new Uint8Array(arg0);
1872
2045
  return ret;
@@ -1986,6 +2159,19 @@ export function __wbg_read_a2434af1186cb56c(arg0) {
1986
2159
  return ret;
1987
2160
  };
1988
2161
 
2162
+ export function __wbg_readyState_7ef6e63c349899ed(arg0) {
2163
+ const ret = arg0.readyState;
2164
+ return ret;
2165
+ };
2166
+
2167
+ export function __wbg_reason_49f1cede8bcf23dd(arg0, arg1) {
2168
+ const ret = arg1.reason;
2169
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2170
+ const len1 = WASM_VECTOR_LEN;
2171
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2172
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2173
+ };
2174
+
1989
2175
  export function __wbg_recommendedFees_a61f331fce46523e() { return handleError(function (arg0) {
1990
2176
  const ret = arg0.recommendedFees();
1991
2177
  return ret;
@@ -2014,6 +2200,14 @@ export function __wbg_sdkbuilder_new(arg0) {
2014
2200
  return ret;
2015
2201
  };
2016
2202
 
2203
+ export function __wbg_send_0293179ba074ffb4() { return handleError(function (arg0, arg1, arg2) {
2204
+ arg0.send(getStringFromWasm0(arg1, arg2));
2205
+ }, arguments) };
2206
+
2207
+ export function __wbg_send_fc0c204e8a1757f4() { return handleError(function (arg0, arg1, arg2) {
2208
+ arg0.send(getArrayU8FromWasm0(arg1, arg2));
2209
+ }, arguments) };
2210
+
2017
2211
  export function __wbg_setCachedItem_91b03741dfb0b4c2() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2018
2212
  let deferred0_0;
2019
2213
  let deferred0_1;
@@ -2039,19 +2233,6 @@ export function __wbg_setLnurlMetadata_0bf15cc7efb6cc11() { return handleError(f
2039
2233
  return ret;
2040
2234
  }, arguments) };
2041
2235
 
2042
- export function __wbg_setPaymentMetadata_0bbf82aa72b85deb() { return handleError(function (arg0, arg1, arg2, arg3) {
2043
- let deferred0_0;
2044
- let deferred0_1;
2045
- try {
2046
- deferred0_0 = arg1;
2047
- deferred0_1 = arg2;
2048
- const ret = arg0.setPaymentMetadata(getStringFromWasm0(arg1, arg2), arg3);
2049
- return ret;
2050
- } finally {
2051
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2052
- }
2053
- }, arguments) };
2054
-
2055
2236
  export function __wbg_setTimeout_2b339866a2aa3789(arg0, arg1) {
2056
2237
  const ret = setTimeout(arg0, arg1);
2057
2238
  return ret;
@@ -2061,6 +2242,11 @@ export function __wbg_setTimeout_8f06012fba12034e(arg0, arg1) {
2061
2242
  globalThis.setTimeout(arg0, arg1);
2062
2243
  };
2063
2244
 
2245
+ export function __wbg_setTimeout_db2dbaeefb6f39c7() { return handleError(function (arg0, arg1) {
2246
+ const ret = setTimeout(arg0, arg1);
2247
+ return ret;
2248
+ }, arguments) };
2249
+
2064
2250
  export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
2065
2251
  arg0[arg1 >>> 0] = arg2;
2066
2252
  };
@@ -2083,6 +2269,10 @@ export function __wbg_set_bb8cecf6a62b9f46() { return handleError(function (arg0
2083
2269
  return ret;
2084
2270
  }, arguments) };
2085
2271
 
2272
+ export function __wbg_setbinaryType_92fa1ffd873b327c(arg0, arg1) {
2273
+ arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
2274
+ };
2275
+
2086
2276
  export function __wbg_setbody_5923b78a95eedf29(arg0, arg1) {
2087
2277
  arg0.body = arg1;
2088
2278
  };
@@ -2111,6 +2301,22 @@ export function __wbg_setmode_5dc300b865044b65(arg0, arg1) {
2111
2301
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
2112
2302
  };
2113
2303
 
2304
+ export function __wbg_setonclose_14fc475a49d488fc(arg0, arg1) {
2305
+ arg0.onclose = arg1;
2306
+ };
2307
+
2308
+ export function __wbg_setonerror_8639efe354b947cd(arg0, arg1) {
2309
+ arg0.onerror = arg1;
2310
+ };
2311
+
2312
+ export function __wbg_setonmessage_6eccab530a8fb4c7(arg0, arg1) {
2313
+ arg0.onmessage = arg1;
2314
+ };
2315
+
2316
+ export function __wbg_setonopen_2da654e1f39745d5(arg0, arg1) {
2317
+ arg0.onopen = arg1;
2318
+ };
2319
+
2114
2320
  export function __wbg_setredirect_40e6a7f717a2f86a(arg0, arg1) {
2115
2321
  arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
2116
2322
  };
@@ -2316,6 +2522,14 @@ export function __wbg_url_ae10c34ca209681d(arg0, arg1) {
2316
2522
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2317
2523
  };
2318
2524
 
2525
+ export function __wbg_url_ce9ab75bf9627ae4(arg0, arg1) {
2526
+ const ret = arg1.url;
2527
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2528
+ const len1 = WASM_VECTOR_LEN;
2529
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2530
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2531
+ };
2532
+
2319
2533
  export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
2320
2534
  const ret = arg0.value;
2321
2535
  return ret;
@@ -2331,6 +2545,11 @@ export function __wbg_view_fd8a56e8983f448d(arg0) {
2331
2545
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2332
2546
  };
2333
2547
 
2548
+ export function __wbg_wasClean_605b4fd66d44354a(arg0) {
2549
+ const ret = arg0.wasClean;
2550
+ return ret;
2551
+ };
2552
+
2334
2553
  export function __wbindgen_array_new() {
2335
2554
  const ret = [];
2336
2555
  return ret;
@@ -2383,13 +2602,28 @@ export function __wbindgen_cb_drop(arg0) {
2383
2602
  return ret;
2384
2603
  };
2385
2604
 
2386
- export function __wbindgen_closure_wrapper11316(arg0, arg1, arg2) {
2387
- const ret = makeMutClosure(arg0, arg1, 834, __wbg_adapter_64);
2605
+ export function __wbindgen_closure_wrapper1405(arg0, arg1, arg2) {
2606
+ const ret = makeMutClosure(arg0, arg1, 950, __wbg_adapter_64);
2607
+ return ret;
2608
+ };
2609
+
2610
+ export function __wbindgen_closure_wrapper14979(arg0, arg1, arg2) {
2611
+ const ret = makeMutClosure(arg0, arg1, 447, __wbg_adapter_67);
2612
+ return ret;
2613
+ };
2614
+
2615
+ export function __wbindgen_closure_wrapper5733(arg0, arg1, arg2) {
2616
+ const ret = makeMutClosure(arg0, arg1, 447, __wbg_adapter_67);
2617
+ return ret;
2618
+ };
2619
+
2620
+ export function __wbindgen_closure_wrapper5738(arg0, arg1, arg2) {
2621
+ const ret = makeMutClosure(arg0, arg1, 447, __wbg_adapter_67);
2388
2622
  return ret;
2389
2623
  };
2390
2624
 
2391
- export function __wbindgen_closure_wrapper13298(arg0, arg1, arg2) {
2392
- const ret = makeMutClosure(arg0, arg1, 1072, __wbg_adapter_67);
2625
+ export function __wbindgen_closure_wrapper9713(arg0, arg1, arg2) {
2626
+ const ret = makeMutClosure(arg0, arg1, 447, __wbg_adapter_64);
2393
2627
  return ret;
2394
2628
  };
2395
2629
 
@@ -4,6 +4,7 @@ export const memory: WebAssembly.Memory;
4
4
  export const __wbg_breezsdk_free: (a: number, b: number) => void;
5
5
  export const __wbg_defaultsigner_free: (a: number, b: number) => void;
6
6
  export const __wbg_sdkbuilder_free: (a: number, b: number) => void;
7
+ export const __wbg_seedlessrestore_free: (a: number, b: number) => void;
7
8
  export const __wbg_tokenissuer_free: (a: number, b: number) => void;
8
9
  export const breezsdk_addEventListener: (a: number, b: any) => any;
9
10
  export const breezsdk_cancelLeafOptimization: (a: number) => any;
@@ -77,6 +78,11 @@ export const sdkbuilder_withLnurlClient: (a: number, b: any) => number;
77
78
  export const sdkbuilder_withPaymentObserver: (a: number, b: any) => number;
78
79
  export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: any, e: number) => number;
79
80
  export const sdkbuilder_withStorage: (a: number, b: any) => number;
81
+ export const seedlessrestore_createSeed: (a: number, b: number, c: number) => any;
82
+ export const seedlessrestore_isPrfAvailable: (a: number) => any;
83
+ export const seedlessrestore_listSalts: (a: number) => any;
84
+ export const seedlessrestore_new: (a: any, b: number) => number;
85
+ export const seedlessrestore_restoreSeed: (a: number, b: number, c: number) => any;
80
86
  export const tokenissuer_burnIssuerToken: (a: number, b: any) => any;
81
87
  export const tokenissuer_createIssuerToken: (a: number, b: any) => any;
82
88
  export const tokenissuer_freezeIssuerToken: (a: number, b: any) => any;
@@ -111,7 +117,7 @@ export const __wbindgen_export_5: WebAssembly.Table;
111
117
  export const __externref_drop_slice: (a: number, b: number) => void;
112
118
  export const __wbindgen_export_7: WebAssembly.Table;
113
119
  export const __externref_table_dealloc: (a: number) => void;
114
- export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hdf0ebd5238280272: (a: number, b: number) => void;
115
- export const closure1071_externref_shim: (a: number, b: number, c: any) => void;
116
- export const closure654_externref_shim: (a: number, b: number, c: any, d: any) => void;
120
+ export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7f40343a8ffdf67e: (a: number, b: number) => void;
121
+ export const closure446_externref_shim: (a: number, b: number, c: any) => void;
122
+ export const closure709_externref_shim: (a: number, b: number, c: any, d: any) => void;
117
123
  export const __wbindgen_start: () => void;