@breeztech/breez-sdk-spark 0.12.2-dev3 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/breez-sdk-spark.tgz +0 -0
- package/bundler/breez_sdk_spark_wasm.d.ts +601 -731
- package/bundler/breez_sdk_spark_wasm_bg.js +54 -151
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/bundler/breez_sdk_spark_wasm_bg.wasm.d.ts +5 -7
- package/bundler/storage/index.js +43 -65
- package/deno/breez_sdk_spark_wasm.d.ts +601 -731
- package/deno/breez_sdk_spark_wasm.js +54 -141
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm_bg.wasm.d.ts +5 -7
- package/nodejs/breez_sdk_spark_wasm.d.ts +601 -731
- package/nodejs/breez_sdk_spark_wasm.js +54 -151
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm_bg.wasm.d.ts +5 -7
- package/nodejs/index.js +2 -16
- package/nodejs/package.json +0 -1
- package/nodejs/postgres-storage/index.cjs +31 -42
- package/nodejs/postgres-storage/migrations.cjs +0 -24
- package/nodejs/postgres-tree-store/index.cjs +2 -12
- package/nodejs/storage/index.cjs +28 -19
- package/nodejs/storage/migrations.cjs +0 -18
- package/package.json +1 -1
- package/web/breez_sdk_spark_wasm.d.ts +606 -738
- package/web/breez_sdk_spark_wasm.js +54 -141
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/web/breez_sdk_spark_wasm_bg.wasm.d.ts +5 -7
- package/web/storage/index.js +43 -65
- package/nodejs/postgres-token-store/errors.cjs +0 -13
- package/nodejs/postgres-token-store/index.cjs +0 -857
- package/nodejs/postgres-token-store/migrations.cjs +0 -163
- package/nodejs/postgres-token-store/package.json +0 -9
|
@@ -232,6 +232,19 @@ export function getSparkStatus() {
|
|
|
232
232
|
return ret;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
/**
|
|
236
|
+
* @param {Config} config
|
|
237
|
+
* @param {ExternalSigner} signer
|
|
238
|
+
* @param {string} storage_dir
|
|
239
|
+
* @returns {Promise<BreezSdk>}
|
|
240
|
+
*/
|
|
241
|
+
export function connectWithSigner(config, signer, storage_dir) {
|
|
242
|
+
const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
243
|
+
const len0 = WASM_VECTOR_LEN;
|
|
244
|
+
const ret = wasm.connectWithSigner(config, signer, ptr0, len0);
|
|
245
|
+
return ret;
|
|
246
|
+
}
|
|
247
|
+
|
|
235
248
|
/**
|
|
236
249
|
* @param {ConnectRequest} request
|
|
237
250
|
* @returns {Promise<BreezSdk>}
|
|
@@ -241,6 +254,15 @@ export function connect(request) {
|
|
|
241
254
|
return ret;
|
|
242
255
|
}
|
|
243
256
|
|
|
257
|
+
/**
|
|
258
|
+
* @param {Network} network
|
|
259
|
+
* @returns {Config}
|
|
260
|
+
*/
|
|
261
|
+
export function defaultConfig(network) {
|
|
262
|
+
const ret = wasm.defaultConfig(network);
|
|
263
|
+
return ret;
|
|
264
|
+
}
|
|
265
|
+
|
|
244
266
|
/**
|
|
245
267
|
* @param {Logger} logger
|
|
246
268
|
* @param {string | null} [filter]
|
|
@@ -253,15 +275,6 @@ export function initLogging(logger, filter) {
|
|
|
253
275
|
return ret;
|
|
254
276
|
}
|
|
255
277
|
|
|
256
|
-
/**
|
|
257
|
-
* @param {Network} network
|
|
258
|
-
* @returns {Config}
|
|
259
|
-
*/
|
|
260
|
-
export function defaultConfig(network) {
|
|
261
|
-
const ret = wasm.defaultConfig(network);
|
|
262
|
-
return ret;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
278
|
function takeFromExternrefTable0(idx) {
|
|
266
279
|
const value = wasm.__wbindgen_export_5.get(idx);
|
|
267
280
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -286,19 +299,6 @@ export function defaultExternalSigner(mnemonic, passphrase, network, key_set_con
|
|
|
286
299
|
return DefaultSigner.__wrap(ret[0]);
|
|
287
300
|
}
|
|
288
301
|
|
|
289
|
-
/**
|
|
290
|
-
* @param {Config} config
|
|
291
|
-
* @param {ExternalSigner} signer
|
|
292
|
-
* @param {string} storage_dir
|
|
293
|
-
* @returns {Promise<BreezSdk>}
|
|
294
|
-
*/
|
|
295
|
-
export function connectWithSigner(config, signer, storage_dir) {
|
|
296
|
-
const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
297
|
-
const len0 = WASM_VECTOR_LEN;
|
|
298
|
-
const ret = wasm.connectWithSigner(config, signer, ptr0, len0);
|
|
299
|
-
return ret;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
302
|
function passArray8ToWasm0(arg, malloc) {
|
|
303
303
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
304
304
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -317,15 +317,15 @@ export function task_worker_entry_point(ptr) {
|
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
function __wbg_adapter_64(arg0, arg1, arg2) {
|
|
320
|
-
wasm.
|
|
320
|
+
wasm.closure444_externref_shim(arg0, arg1, arg2);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
function __wbg_adapter_69(arg0, arg1) {
|
|
324
324
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1bbbe552b190da27(arg0, arg1);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
function
|
|
328
|
-
wasm.
|
|
327
|
+
function __wbg_adapter_373(arg0, arg1, arg2, arg3) {
|
|
328
|
+
wasm.closure711_externref_shim(arg0, arg1, arg2, arg3);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -462,13 +462,6 @@ export class BreezSdk {
|
|
|
462
462
|
const ret = wasm.breezsdk_listPayments(this.__wbg_ptr, request);
|
|
463
463
|
return ret;
|
|
464
464
|
}
|
|
465
|
-
/**
|
|
466
|
-
* @returns {Promise<Webhook[]>}
|
|
467
|
-
*/
|
|
468
|
-
listWebhooks() {
|
|
469
|
-
const ret = wasm.breezsdk_listWebhooks(this.__wbg_ptr);
|
|
470
|
-
return ret;
|
|
471
|
-
}
|
|
472
465
|
/**
|
|
473
466
|
* @param {string} id
|
|
474
467
|
* @returns {Promise<void>}
|
|
@@ -532,14 +525,6 @@ export class BreezSdk {
|
|
|
532
525
|
const ret = wasm.breezsdk_recommendedFees(this.__wbg_ptr);
|
|
533
526
|
return ret;
|
|
534
527
|
}
|
|
535
|
-
/**
|
|
536
|
-
* @param {RegisterWebhookRequest} request
|
|
537
|
-
* @returns {Promise<RegisterWebhookResponse>}
|
|
538
|
-
*/
|
|
539
|
-
registerWebhook(request) {
|
|
540
|
-
const ret = wasm.breezsdk_registerWebhook(this.__wbg_ptr, request);
|
|
541
|
-
return ret;
|
|
542
|
-
}
|
|
543
528
|
/**
|
|
544
529
|
* @returns {Promise<UserSettings>}
|
|
545
530
|
*/
|
|
@@ -571,14 +556,6 @@ export class BreezSdk {
|
|
|
571
556
|
const ret = wasm.breezsdk_claimHtlcPayment(this.__wbg_ptr, request);
|
|
572
557
|
return ret;
|
|
573
558
|
}
|
|
574
|
-
/**
|
|
575
|
-
* @param {UnregisterWebhookRequest} request
|
|
576
|
-
* @returns {Promise<void>}
|
|
577
|
-
*/
|
|
578
|
-
unregisterWebhook(request) {
|
|
579
|
-
const ret = wasm.breezsdk_unregisterWebhook(this.__wbg_ptr, request);
|
|
580
|
-
return ret;
|
|
581
|
-
}
|
|
582
559
|
/**
|
|
583
560
|
* @param {GetTokensMetadataRequest} request
|
|
584
561
|
* @returns {Promise<GetTokensMetadataResponse>}
|
|
@@ -643,12 +620,8 @@ export class BreezSdk {
|
|
|
643
620
|
const ret = wasm.breezsdk_listUnclaimedDeposits(this.__wbg_ptr, request);
|
|
644
621
|
return ret;
|
|
645
622
|
}
|
|
646
|
-
/**
|
|
647
|
-
* @returns {Promise<void>}
|
|
648
|
-
*/
|
|
649
623
|
startLeafOptimization() {
|
|
650
|
-
|
|
651
|
-
return ret;
|
|
624
|
+
wasm.breezsdk_startLeafOptimization(this.__wbg_ptr);
|
|
652
625
|
}
|
|
653
626
|
/**
|
|
654
627
|
* @returns {Promise<void>}
|
|
@@ -1251,9 +1224,9 @@ export class SdkBuilder {
|
|
|
1251
1224
|
* @param {PostgresStorageConfig} config
|
|
1252
1225
|
* @returns {SdkBuilder}
|
|
1253
1226
|
*/
|
|
1254
|
-
|
|
1227
|
+
withPostgresStorage(config) {
|
|
1255
1228
|
const ptr = this.__destroy_into_raw();
|
|
1256
|
-
const ret = wasm.
|
|
1229
|
+
const ret = wasm.sdkbuilder_withPostgresStorage(ptr, config);
|
|
1257
1230
|
return SdkBuilder.__wrap(ret);
|
|
1258
1231
|
}
|
|
1259
1232
|
/**
|
|
@@ -1269,6 +1242,15 @@ export class SdkBuilder {
|
|
|
1269
1242
|
const ret = wasm.sdkbuilder_withRestChainService(ptr, ptr0, len0, api_type, isLikeNone(credentials) ? 0 : addToExternrefTable0(credentials));
|
|
1270
1243
|
return SdkBuilder.__wrap(ret);
|
|
1271
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* @param {PostgresStorageConfig} config
|
|
1247
|
+
* @returns {SdkBuilder}
|
|
1248
|
+
*/
|
|
1249
|
+
withPostgresTreeStore(config) {
|
|
1250
|
+
const ptr = this.__destroy_into_raw();
|
|
1251
|
+
const ret = wasm.sdkbuilder_withPostgresTreeStore(ptr, config);
|
|
1252
|
+
return SdkBuilder.__wrap(ret);
|
|
1253
|
+
}
|
|
1272
1254
|
/**
|
|
1273
1255
|
* @param {Config} config
|
|
1274
1256
|
* @param {Seed} seed
|
|
@@ -1384,13 +1366,13 @@ const imports = {
|
|
|
1384
1366
|
__wbg_abort_775ef1d17fc65868: function(arg0) {
|
|
1385
1367
|
arg0.abort();
|
|
1386
1368
|
},
|
|
1387
|
-
|
|
1369
|
+
__wbg_addDeposit_5b1f93e7014f1e18: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1388
1370
|
let deferred0_0;
|
|
1389
1371
|
let deferred0_1;
|
|
1390
1372
|
try {
|
|
1391
1373
|
deferred0_0 = arg1;
|
|
1392
1374
|
deferred0_1 = arg2;
|
|
1393
|
-
const ret = arg0.addDeposit(getStringFromWasm0(arg1, arg2), arg3 >>> 0, BigInt.asUintN(64, arg4)
|
|
1375
|
+
const ret = arg0.addDeposit(getStringFromWasm0(arg1, arg2), arg3 >>> 0, BigInt.asUintN(64, arg4));
|
|
1394
1376
|
return ret;
|
|
1395
1377
|
} finally {
|
|
1396
1378
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
@@ -1477,18 +1459,6 @@ const imports = {
|
|
|
1477
1459
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1478
1460
|
}
|
|
1479
1461
|
}, arguments) },
|
|
1480
|
-
__wbg_cancelReservation_fd3065607b457424: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1481
|
-
let deferred0_0;
|
|
1482
|
-
let deferred0_1;
|
|
1483
|
-
try {
|
|
1484
|
-
deferred0_0 = arg1;
|
|
1485
|
-
deferred0_1 = arg2;
|
|
1486
|
-
const ret = arg0.cancelReservation(getStringFromWasm0(arg1, arg2));
|
|
1487
|
-
return ret;
|
|
1488
|
-
} finally {
|
|
1489
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1490
|
-
}
|
|
1491
|
-
}, arguments) },
|
|
1492
1462
|
__wbg_cancel_8a308660caa6cadf: function(arg0) {
|
|
1493
1463
|
const ret = arg0.cancel();
|
|
1494
1464
|
return ret;
|
|
@@ -1526,20 +1496,12 @@ const imports = {
|
|
|
1526
1496
|
const ret = createDefaultStorage(getStringFromWasm0(arg0, arg1), arg2);
|
|
1527
1497
|
return ret;
|
|
1528
1498
|
}, arguments) },
|
|
1529
|
-
|
|
1530
|
-
const ret =
|
|
1531
|
-
return ret;
|
|
1532
|
-
}, arguments) },
|
|
1533
|
-
__wbg_createPostgresStorageWithPool_77aa64bddd7440db: function() { return handleError(function (arg0, arg1) {
|
|
1534
|
-
const ret = createPostgresStorageWithPool(arg0, arg1);
|
|
1499
|
+
__wbg_createPostgresStorage_46770cbf8e947f9e: function() { return handleError(function (arg0, arg1) {
|
|
1500
|
+
const ret = createPostgresStorage(arg0, arg1);
|
|
1535
1501
|
return ret;
|
|
1536
1502
|
}, arguments) },
|
|
1537
|
-
|
|
1538
|
-
const ret =
|
|
1539
|
-
return ret;
|
|
1540
|
-
}, arguments) },
|
|
1541
|
-
__wbg_createPostgresTreeStoreWithPool_55e19122e69fb9e3: function() { return handleError(function (arg0, arg1) {
|
|
1542
|
-
const ret = createPostgresTreeStoreWithPool(arg0, arg1);
|
|
1503
|
+
__wbg_createPostgresTreeStore_7887b0b703c72f83: function() { return handleError(function (arg0, arg1) {
|
|
1504
|
+
const ret = createPostgresTreeStore(arg0, arg1);
|
|
1543
1505
|
return ret;
|
|
1544
1506
|
}, arguments) },
|
|
1545
1507
|
__wbg_crypto_574e78ad8b13b65f: function(arg0) {
|
|
@@ -1697,18 +1659,6 @@ const imports = {
|
|
|
1697
1659
|
const ret = fetch(arg0);
|
|
1698
1660
|
return ret;
|
|
1699
1661
|
},
|
|
1700
|
-
__wbg_finalizeReservation_86ee8385c17e015b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1701
|
-
let deferred0_0;
|
|
1702
|
-
let deferred0_1;
|
|
1703
|
-
try {
|
|
1704
|
-
deferred0_0 = arg1;
|
|
1705
|
-
deferred0_1 = arg2;
|
|
1706
|
-
const ret = arg0.finalizeReservation(getStringFromWasm0(arg1, arg2));
|
|
1707
|
-
return ret;
|
|
1708
|
-
} finally {
|
|
1709
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1710
|
-
}
|
|
1711
|
-
}, arguments) },
|
|
1712
1662
|
__wbg_finalizeReservation_a8fad570b7fe5185: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1713
1663
|
let deferred0_0;
|
|
1714
1664
|
let deferred0_1;
|
|
@@ -1841,10 +1791,6 @@ const imports = {
|
|
|
1841
1791
|
const ret = arg0.getStaticDepositSecretSource(arg1 >>> 0);
|
|
1842
1792
|
return ret;
|
|
1843
1793
|
}, arguments) },
|
|
1844
|
-
__wbg_getTokenOutputs_f51d6f5d47330273: function() { return handleError(function (arg0, arg1) {
|
|
1845
|
-
const ret = arg0.getTokenOutputs(arg1);
|
|
1846
|
-
return ret;
|
|
1847
|
-
}, arguments) },
|
|
1848
1794
|
__wbg_getTransactionHex_973b8d0555c60f99: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1849
1795
|
let deferred0_0;
|
|
1850
1796
|
let deferred0_1;
|
|
@@ -1935,10 +1881,6 @@ const imports = {
|
|
|
1935
1881
|
const ret = arg0.insertPayment(arg1);
|
|
1936
1882
|
return ret;
|
|
1937
1883
|
}, arguments) },
|
|
1938
|
-
__wbg_insertTokenOutputs_043ceea065ff8f65: function() { return handleError(function (arg0, arg1) {
|
|
1939
|
-
const ret = arg0.insertTokenOutputs(arg1);
|
|
1940
|
-
return ret;
|
|
1941
|
-
}, arguments) },
|
|
1942
1884
|
__wbg_instanceof_ArrayBuffer_e14585432e3737fc: function(arg0) {
|
|
1943
1885
|
let result;
|
|
1944
1886
|
try {
|
|
@@ -2055,10 +1997,6 @@ const imports = {
|
|
|
2055
1997
|
const ret = arg0.listPayments(arg1);
|
|
2056
1998
|
return ret;
|
|
2057
1999
|
}, arguments) },
|
|
2058
|
-
__wbg_listTokensOutputs_4b4500bd5aca2c88: function() { return handleError(function (arg0) {
|
|
2059
|
-
const ret = arg0.listTokensOutputs();
|
|
2060
|
-
return ret;
|
|
2061
|
-
}, arguments) },
|
|
2062
2000
|
__wbg_log_62b3ddcc89229688: function(arg0, arg1) {
|
|
2063
2001
|
arg0.log(arg1);
|
|
2064
2002
|
},
|
|
@@ -2099,7 +2037,7 @@ const imports = {
|
|
|
2099
2037
|
const a = state0.a;
|
|
2100
2038
|
state0.a = 0;
|
|
2101
2039
|
try {
|
|
2102
|
-
return
|
|
2040
|
+
return __wbg_adapter_373(a, state0.b, arg0, arg1);
|
|
2103
2041
|
} finally {
|
|
2104
2042
|
state0.a = a;
|
|
2105
2043
|
}
|
|
@@ -2178,10 +2116,6 @@ const imports = {
|
|
|
2178
2116
|
const ret = Date.now();
|
|
2179
2117
|
return ret;
|
|
2180
2118
|
}, arguments) },
|
|
2181
|
-
__wbg_now_79892f24f17d010a: function() { return handleError(function (arg0) {
|
|
2182
|
-
const ret = arg0.now();
|
|
2183
|
-
return ret;
|
|
2184
|
-
}, arguments) },
|
|
2185
2119
|
__wbg_now_807e54c39636c349: function() {
|
|
2186
2120
|
const ret = Date.now();
|
|
2187
2121
|
return ret;
|
|
@@ -2253,23 +2187,6 @@ const imports = {
|
|
|
2253
2187
|
const ret = module.require;
|
|
2254
2188
|
return ret;
|
|
2255
2189
|
}, arguments) },
|
|
2256
|
-
__wbg_reserveTokenOutputs_6a190cf797e7d196: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2257
|
-
let deferred0_0;
|
|
2258
|
-
let deferred0_1;
|
|
2259
|
-
let deferred1_0;
|
|
2260
|
-
let deferred1_1;
|
|
2261
|
-
try {
|
|
2262
|
-
deferred0_0 = arg1;
|
|
2263
|
-
deferred0_1 = arg2;
|
|
2264
|
-
deferred1_0 = arg4;
|
|
2265
|
-
deferred1_1 = arg5;
|
|
2266
|
-
const ret = arg0.reserveTokenOutputs(getStringFromWasm0(arg1, arg2), arg3, getStringFromWasm0(arg4, arg5), arg6, arg7);
|
|
2267
|
-
return ret;
|
|
2268
|
-
} finally {
|
|
2269
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2270
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
2271
|
-
}
|
|
2272
|
-
}, arguments) },
|
|
2273
2190
|
__wbg_resolve_4851785c9c5f573d: function(arg0) {
|
|
2274
2191
|
const ret = Promise.resolve(arg0);
|
|
2275
2192
|
return ret;
|
|
@@ -2325,10 +2242,6 @@ const imports = {
|
|
|
2325
2242
|
const ret = setTimeout(arg0, arg1);
|
|
2326
2243
|
return ret;
|
|
2327
2244
|
}, arguments) },
|
|
2328
|
-
__wbg_setTokensOutputs_5b8449721027f347: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2329
|
-
const ret = arg0.setTokensOutputs(arg1, arg2);
|
|
2330
|
-
return ret;
|
|
2331
|
-
}, arguments) },
|
|
2332
2245
|
__wbg_set_37837023f3d740e8: function(arg0, arg1, arg2) {
|
|
2333
2246
|
arg0[arg1 >>> 0] = arg2;
|
|
2334
2247
|
},
|
|
@@ -2639,24 +2552,24 @@ const imports = {
|
|
|
2639
2552
|
const ret = false;
|
|
2640
2553
|
return ret;
|
|
2641
2554
|
},
|
|
2642
|
-
|
|
2643
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2555
|
+
__wbindgen_closure_wrapper10368: function(arg0, arg1, arg2) {
|
|
2556
|
+
const ret = makeMutClosure(arg0, arg1, 445, __wbg_adapter_69);
|
|
2644
2557
|
return ret;
|
|
2645
2558
|
},
|
|
2646
|
-
|
|
2647
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2559
|
+
__wbindgen_closure_wrapper15754: function(arg0, arg1, arg2) {
|
|
2560
|
+
const ret = makeMutClosure(arg0, arg1, 445, __wbg_adapter_64);
|
|
2648
2561
|
return ret;
|
|
2649
2562
|
},
|
|
2650
|
-
|
|
2651
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2563
|
+
__wbindgen_closure_wrapper5890: function(arg0, arg1, arg2) {
|
|
2564
|
+
const ret = makeMutClosure(arg0, arg1, 445, __wbg_adapter_64);
|
|
2652
2565
|
return ret;
|
|
2653
2566
|
},
|
|
2654
|
-
|
|
2655
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2567
|
+
__wbindgen_closure_wrapper5898: function(arg0, arg1, arg2) {
|
|
2568
|
+
const ret = makeMutClosure(arg0, arg1, 445, __wbg_adapter_64);
|
|
2656
2569
|
return ret;
|
|
2657
2570
|
},
|
|
2658
|
-
|
|
2659
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2571
|
+
__wbindgen_closure_wrapper7595: function(arg0, arg1, arg2) {
|
|
2572
|
+
const ret = makeMutClosure(arg0, arg1, 954, __wbg_adapter_69);
|
|
2660
2573
|
return ret;
|
|
2661
2574
|
},
|
|
2662
2575
|
__wbindgen_debug_string: function(arg0, arg1) {
|
|
Binary file
|
|
@@ -30,7 +30,6 @@ export const breezsdk_listFiatCurrencies: (a: number) => any;
|
|
|
30
30
|
export const breezsdk_listFiatRates: (a: number) => any;
|
|
31
31
|
export const breezsdk_listPayments: (a: number, b: any) => any;
|
|
32
32
|
export const breezsdk_listUnclaimedDeposits: (a: number, b: any) => any;
|
|
33
|
-
export const breezsdk_listWebhooks: (a: number) => any;
|
|
34
33
|
export const breezsdk_lnurlAuth: (a: number, b: any) => any;
|
|
35
34
|
export const breezsdk_lnurlPay: (a: number, b: any) => any;
|
|
36
35
|
export const breezsdk_lnurlWithdraw: (a: number, b: any) => any;
|
|
@@ -41,13 +40,11 @@ export const breezsdk_receivePayment: (a: number, b: any) => any;
|
|
|
41
40
|
export const breezsdk_recommendedFees: (a: number) => any;
|
|
42
41
|
export const breezsdk_refundDeposit: (a: number, b: any) => any;
|
|
43
42
|
export const breezsdk_registerLightningAddress: (a: number, b: any) => any;
|
|
44
|
-
export const breezsdk_registerWebhook: (a: number, b: any) => any;
|
|
45
43
|
export const breezsdk_removeEventListener: (a: number, b: number, c: number) => any;
|
|
46
44
|
export const breezsdk_sendPayment: (a: number, b: any) => any;
|
|
47
45
|
export const breezsdk_signMessage: (a: number, b: any) => any;
|
|
48
|
-
export const breezsdk_startLeafOptimization: (a: number) =>
|
|
46
|
+
export const breezsdk_startLeafOptimization: (a: number) => void;
|
|
49
47
|
export const breezsdk_syncWallet: (a: number, b: any) => any;
|
|
50
|
-
export const breezsdk_unregisterWebhook: (a: number, b: any) => any;
|
|
51
48
|
export const breezsdk_updateContact: (a: number, b: any) => any;
|
|
52
49
|
export const breezsdk_updateUserSettings: (a: number, b: any) => any;
|
|
53
50
|
export const connect: (a: any) => any;
|
|
@@ -91,7 +88,8 @@ export const sdkbuilder_withFiatService: (a: number, b: any) => number;
|
|
|
91
88
|
export const sdkbuilder_withKeySet: (a: number, b: any) => number;
|
|
92
89
|
export const sdkbuilder_withLnurlClient: (a: number, b: any) => number;
|
|
93
90
|
export const sdkbuilder_withPaymentObserver: (a: number, b: any) => number;
|
|
94
|
-
export const
|
|
91
|
+
export const sdkbuilder_withPostgresStorage: (a: number, b: any) => number;
|
|
92
|
+
export const sdkbuilder_withPostgresTreeStore: (a: number, b: any) => number;
|
|
95
93
|
export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: any, e: number) => number;
|
|
96
94
|
export const sdkbuilder_withStorage: (a: number, b: any) => number;
|
|
97
95
|
export const tokenissuer_burnIssuerToken: (a: number, b: any) => any;
|
|
@@ -128,7 +126,7 @@ export const __wbindgen_export_5: WebAssembly.Table;
|
|
|
128
126
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
129
127
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
130
128
|
export const __externref_table_dealloc: (a: number) => void;
|
|
131
|
-
export const
|
|
129
|
+
export const closure444_externref_shim: (a: number, b: number, c: any) => void;
|
|
132
130
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1bbbe552b190da27: (a: number, b: number) => void;
|
|
133
|
-
export const
|
|
131
|
+
export const closure711_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
134
132
|
export const __wbindgen_start: () => void;
|