@breeztech/breez-sdk-spark 0.12.2-dev1 → 0.12.2-dev3
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 +731 -601
- package/bundler/breez_sdk_spark_wasm_bg.js +151 -54
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/bundler/breez_sdk_spark_wasm_bg.wasm.d.ts +7 -5
- package/bundler/storage/index.js +65 -43
- package/deno/breez_sdk_spark_wasm.d.ts +731 -601
- package/deno/breez_sdk_spark_wasm.js +141 -54
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm_bg.wasm.d.ts +7 -5
- package/nodejs/breez_sdk_spark_wasm.d.ts +731 -601
- package/nodejs/breez_sdk_spark_wasm.js +151 -54
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm_bg.wasm.d.ts +7 -5
- package/nodejs/index.js +16 -2
- package/nodejs/package.json +1 -0
- package/nodejs/postgres-storage/index.cjs +42 -31
- package/nodejs/postgres-storage/migrations.cjs +24 -0
- package/nodejs/postgres-token-store/errors.cjs +13 -0
- package/nodejs/postgres-token-store/index.cjs +857 -0
- package/nodejs/postgres-token-store/migrations.cjs +163 -0
- package/nodejs/postgres-token-store/package.json +9 -0
- package/nodejs/postgres-tree-store/index.cjs +12 -2
- package/nodejs/storage/index.cjs +19 -28
- package/nodejs/storage/migrations.cjs +18 -0
- package/package.json +1 -1
- package/web/breez_sdk_spark_wasm.d.ts +738 -606
- package/web/breez_sdk_spark_wasm.js +141 -54
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/web/breez_sdk_spark_wasm_bg.wasm.d.ts +7 -5
- package/web/storage/index.js +65 -43
|
@@ -232,19 +232,6 @@ 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
|
-
|
|
248
235
|
/**
|
|
249
236
|
* @param {ConnectRequest} request
|
|
250
237
|
* @returns {Promise<BreezSdk>}
|
|
@@ -254,15 +241,6 @@ export function connect(request) {
|
|
|
254
241
|
return ret;
|
|
255
242
|
}
|
|
256
243
|
|
|
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
|
-
|
|
266
244
|
/**
|
|
267
245
|
* @param {Logger} logger
|
|
268
246
|
* @param {string | null} [filter]
|
|
@@ -275,6 +253,15 @@ export function initLogging(logger, filter) {
|
|
|
275
253
|
return ret;
|
|
276
254
|
}
|
|
277
255
|
|
|
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
|
+
|
|
278
265
|
function takeFromExternrefTable0(idx) {
|
|
279
266
|
const value = wasm.__wbindgen_export_5.get(idx);
|
|
280
267
|
wasm.__externref_table_dealloc(idx);
|
|
@@ -299,6 +286,19 @@ export function defaultExternalSigner(mnemonic, passphrase, network, key_set_con
|
|
|
299
286
|
return DefaultSigner.__wrap(ret[0]);
|
|
300
287
|
}
|
|
301
288
|
|
|
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.closure456_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_395(arg0, arg1, arg2, arg3) {
|
|
328
|
+
wasm.closure736_externref_shim(arg0, arg1, arg2, arg3);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
@@ -462,6 +462,13 @@ 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
|
+
}
|
|
465
472
|
/**
|
|
466
473
|
* @param {string} id
|
|
467
474
|
* @returns {Promise<void>}
|
|
@@ -525,6 +532,14 @@ export class BreezSdk {
|
|
|
525
532
|
const ret = wasm.breezsdk_recommendedFees(this.__wbg_ptr);
|
|
526
533
|
return ret;
|
|
527
534
|
}
|
|
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
|
+
}
|
|
528
543
|
/**
|
|
529
544
|
* @returns {Promise<UserSettings>}
|
|
530
545
|
*/
|
|
@@ -556,6 +571,14 @@ export class BreezSdk {
|
|
|
556
571
|
const ret = wasm.breezsdk_claimHtlcPayment(this.__wbg_ptr, request);
|
|
557
572
|
return ret;
|
|
558
573
|
}
|
|
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
|
+
}
|
|
559
582
|
/**
|
|
560
583
|
* @param {GetTokensMetadataRequest} request
|
|
561
584
|
* @returns {Promise<GetTokensMetadataResponse>}
|
|
@@ -620,8 +643,12 @@ export class BreezSdk {
|
|
|
620
643
|
const ret = wasm.breezsdk_listUnclaimedDeposits(this.__wbg_ptr, request);
|
|
621
644
|
return ret;
|
|
622
645
|
}
|
|
646
|
+
/**
|
|
647
|
+
* @returns {Promise<void>}
|
|
648
|
+
*/
|
|
623
649
|
startLeafOptimization() {
|
|
624
|
-
wasm.breezsdk_startLeafOptimization(this.__wbg_ptr);
|
|
650
|
+
const ret = wasm.breezsdk_startLeafOptimization(this.__wbg_ptr);
|
|
651
|
+
return ret;
|
|
625
652
|
}
|
|
626
653
|
/**
|
|
627
654
|
* @returns {Promise<void>}
|
|
@@ -1224,9 +1251,9 @@ export class SdkBuilder {
|
|
|
1224
1251
|
* @param {PostgresStorageConfig} config
|
|
1225
1252
|
* @returns {SdkBuilder}
|
|
1226
1253
|
*/
|
|
1227
|
-
|
|
1254
|
+
withPostgresBackend(config) {
|
|
1228
1255
|
const ptr = this.__destroy_into_raw();
|
|
1229
|
-
const ret = wasm.
|
|
1256
|
+
const ret = wasm.sdkbuilder_withPostgresBackend(ptr, config);
|
|
1230
1257
|
return SdkBuilder.__wrap(ret);
|
|
1231
1258
|
}
|
|
1232
1259
|
/**
|
|
@@ -1242,15 +1269,6 @@ export class SdkBuilder {
|
|
|
1242
1269
|
const ret = wasm.sdkbuilder_withRestChainService(ptr, ptr0, len0, api_type, isLikeNone(credentials) ? 0 : addToExternrefTable0(credentials));
|
|
1243
1270
|
return SdkBuilder.__wrap(ret);
|
|
1244
1271
|
}
|
|
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
|
-
}
|
|
1254
1272
|
/**
|
|
1255
1273
|
* @param {Config} config
|
|
1256
1274
|
* @param {Seed} seed
|
|
@@ -1366,13 +1384,13 @@ const imports = {
|
|
|
1366
1384
|
__wbg_abort_775ef1d17fc65868: function(arg0) {
|
|
1367
1385
|
arg0.abort();
|
|
1368
1386
|
},
|
|
1369
|
-
|
|
1387
|
+
__wbg_addDeposit_42b1593db58de120: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1370
1388
|
let deferred0_0;
|
|
1371
1389
|
let deferred0_1;
|
|
1372
1390
|
try {
|
|
1373
1391
|
deferred0_0 = arg1;
|
|
1374
1392
|
deferred0_1 = arg2;
|
|
1375
|
-
const ret = arg0.addDeposit(getStringFromWasm0(arg1, arg2), arg3 >>> 0, BigInt.asUintN(64, arg4));
|
|
1393
|
+
const ret = arg0.addDeposit(getStringFromWasm0(arg1, arg2), arg3 >>> 0, BigInt.asUintN(64, arg4), arg5 !== 0);
|
|
1376
1394
|
return ret;
|
|
1377
1395
|
} finally {
|
|
1378
1396
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
@@ -1459,6 +1477,18 @@ const imports = {
|
|
|
1459
1477
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1460
1478
|
}
|
|
1461
1479
|
}, 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) },
|
|
1462
1492
|
__wbg_cancel_8a308660caa6cadf: function(arg0) {
|
|
1463
1493
|
const ret = arg0.cancel();
|
|
1464
1494
|
return ret;
|
|
@@ -1496,12 +1526,20 @@ const imports = {
|
|
|
1496
1526
|
const ret = createDefaultStorage(getStringFromWasm0(arg0, arg1), arg2);
|
|
1497
1527
|
return ret;
|
|
1498
1528
|
}, arguments) },
|
|
1499
|
-
|
|
1500
|
-
const ret =
|
|
1529
|
+
__wbg_createPostgresPool_8b4003e9db8e9432: function() { return handleError(function (arg0) {
|
|
1530
|
+
const ret = createPostgresPool(arg0);
|
|
1531
|
+
return ret;
|
|
1532
|
+
}, arguments) },
|
|
1533
|
+
__wbg_createPostgresStorageWithPool_77aa64bddd7440db: function() { return handleError(function (arg0, arg1) {
|
|
1534
|
+
const ret = createPostgresStorageWithPool(arg0, arg1);
|
|
1501
1535
|
return ret;
|
|
1502
1536
|
}, arguments) },
|
|
1503
|
-
|
|
1504
|
-
const ret =
|
|
1537
|
+
__wbg_createPostgresTokenStoreWithPool_5e7b75f5975d8b94: function() { return handleError(function (arg0, arg1) {
|
|
1538
|
+
const ret = createPostgresTokenStoreWithPool(arg0, arg1);
|
|
1539
|
+
return ret;
|
|
1540
|
+
}, arguments) },
|
|
1541
|
+
__wbg_createPostgresTreeStoreWithPool_55e19122e69fb9e3: function() { return handleError(function (arg0, arg1) {
|
|
1542
|
+
const ret = createPostgresTreeStoreWithPool(arg0, arg1);
|
|
1505
1543
|
return ret;
|
|
1506
1544
|
}, arguments) },
|
|
1507
1545
|
__wbg_crypto_574e78ad8b13b65f: function(arg0) {
|
|
@@ -1659,6 +1697,18 @@ const imports = {
|
|
|
1659
1697
|
const ret = fetch(arg0);
|
|
1660
1698
|
return ret;
|
|
1661
1699
|
},
|
|
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) },
|
|
1662
1712
|
__wbg_finalizeReservation_a8fad570b7fe5185: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1663
1713
|
let deferred0_0;
|
|
1664
1714
|
let deferred0_1;
|
|
@@ -1791,6 +1841,10 @@ const imports = {
|
|
|
1791
1841
|
const ret = arg0.getStaticDepositSecretSource(arg1 >>> 0);
|
|
1792
1842
|
return ret;
|
|
1793
1843
|
}, arguments) },
|
|
1844
|
+
__wbg_getTokenOutputs_f51d6f5d47330273: function() { return handleError(function (arg0, arg1) {
|
|
1845
|
+
const ret = arg0.getTokenOutputs(arg1);
|
|
1846
|
+
return ret;
|
|
1847
|
+
}, arguments) },
|
|
1794
1848
|
__wbg_getTransactionHex_973b8d0555c60f99: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1795
1849
|
let deferred0_0;
|
|
1796
1850
|
let deferred0_1;
|
|
@@ -1881,6 +1935,10 @@ const imports = {
|
|
|
1881
1935
|
const ret = arg0.insertPayment(arg1);
|
|
1882
1936
|
return ret;
|
|
1883
1937
|
}, arguments) },
|
|
1938
|
+
__wbg_insertTokenOutputs_043ceea065ff8f65: function() { return handleError(function (arg0, arg1) {
|
|
1939
|
+
const ret = arg0.insertTokenOutputs(arg1);
|
|
1940
|
+
return ret;
|
|
1941
|
+
}, arguments) },
|
|
1884
1942
|
__wbg_instanceof_ArrayBuffer_e14585432e3737fc: function(arg0) {
|
|
1885
1943
|
let result;
|
|
1886
1944
|
try {
|
|
@@ -1997,6 +2055,10 @@ const imports = {
|
|
|
1997
2055
|
const ret = arg0.listPayments(arg1);
|
|
1998
2056
|
return ret;
|
|
1999
2057
|
}, arguments) },
|
|
2058
|
+
__wbg_listTokensOutputs_4b4500bd5aca2c88: function() { return handleError(function (arg0) {
|
|
2059
|
+
const ret = arg0.listTokensOutputs();
|
|
2060
|
+
return ret;
|
|
2061
|
+
}, arguments) },
|
|
2000
2062
|
__wbg_log_62b3ddcc89229688: function(arg0, arg1) {
|
|
2001
2063
|
arg0.log(arg1);
|
|
2002
2064
|
},
|
|
@@ -2037,7 +2099,7 @@ const imports = {
|
|
|
2037
2099
|
const a = state0.a;
|
|
2038
2100
|
state0.a = 0;
|
|
2039
2101
|
try {
|
|
2040
|
-
return
|
|
2102
|
+
return __wbg_adapter_395(a, state0.b, arg0, arg1);
|
|
2041
2103
|
} finally {
|
|
2042
2104
|
state0.a = a;
|
|
2043
2105
|
}
|
|
@@ -2116,6 +2178,10 @@ const imports = {
|
|
|
2116
2178
|
const ret = Date.now();
|
|
2117
2179
|
return ret;
|
|
2118
2180
|
}, arguments) },
|
|
2181
|
+
__wbg_now_79892f24f17d010a: function() { return handleError(function (arg0) {
|
|
2182
|
+
const ret = arg0.now();
|
|
2183
|
+
return ret;
|
|
2184
|
+
}, arguments) },
|
|
2119
2185
|
__wbg_now_807e54c39636c349: function() {
|
|
2120
2186
|
const ret = Date.now();
|
|
2121
2187
|
return ret;
|
|
@@ -2187,6 +2253,23 @@ const imports = {
|
|
|
2187
2253
|
const ret = module.require;
|
|
2188
2254
|
return ret;
|
|
2189
2255
|
}, 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) },
|
|
2190
2273
|
__wbg_resolve_4851785c9c5f573d: function(arg0) {
|
|
2191
2274
|
const ret = Promise.resolve(arg0);
|
|
2192
2275
|
return ret;
|
|
@@ -2242,6 +2325,10 @@ const imports = {
|
|
|
2242
2325
|
const ret = setTimeout(arg0, arg1);
|
|
2243
2326
|
return ret;
|
|
2244
2327
|
}, arguments) },
|
|
2328
|
+
__wbg_setTokensOutputs_5b8449721027f347: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2329
|
+
const ret = arg0.setTokensOutputs(arg1, arg2);
|
|
2330
|
+
return ret;
|
|
2331
|
+
}, arguments) },
|
|
2245
2332
|
__wbg_set_37837023f3d740e8: function(arg0, arg1, arg2) {
|
|
2246
2333
|
arg0[arg1 >>> 0] = arg2;
|
|
2247
2334
|
},
|
|
@@ -2552,24 +2639,24 @@ const imports = {
|
|
|
2552
2639
|
const ret = false;
|
|
2553
2640
|
return ret;
|
|
2554
2641
|
},
|
|
2555
|
-
|
|
2556
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2642
|
+
__wbindgen_closure_wrapper10760: function(arg0, arg1, arg2) {
|
|
2643
|
+
const ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_69);
|
|
2557
2644
|
return ret;
|
|
2558
2645
|
},
|
|
2559
|
-
|
|
2560
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2646
|
+
__wbindgen_closure_wrapper16136: function(arg0, arg1, arg2) {
|
|
2647
|
+
const ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_64);
|
|
2561
2648
|
return ret;
|
|
2562
2649
|
},
|
|
2563
|
-
|
|
2564
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2650
|
+
__wbindgen_closure_wrapper6193: function(arg0, arg1, arg2) {
|
|
2651
|
+
const ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_64);
|
|
2565
2652
|
return ret;
|
|
2566
2653
|
},
|
|
2567
|
-
|
|
2568
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2654
|
+
__wbindgen_closure_wrapper6201: function(arg0, arg1, arg2) {
|
|
2655
|
+
const ret = makeMutClosure(arg0, arg1, 457, __wbg_adapter_64);
|
|
2569
2656
|
return ret;
|
|
2570
2657
|
},
|
|
2571
|
-
|
|
2572
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2658
|
+
__wbindgen_closure_wrapper7894: function(arg0, arg1, arg2) {
|
|
2659
|
+
const ret = makeMutClosure(arg0, arg1, 979, __wbg_adapter_69);
|
|
2573
2660
|
return ret;
|
|
2574
2661
|
},
|
|
2575
2662
|
__wbindgen_debug_string: function(arg0, arg1) {
|
|
Binary file
|
|
@@ -30,6 +30,7 @@ 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;
|
|
33
34
|
export const breezsdk_lnurlAuth: (a: number, b: any) => any;
|
|
34
35
|
export const breezsdk_lnurlPay: (a: number, b: any) => any;
|
|
35
36
|
export const breezsdk_lnurlWithdraw: (a: number, b: any) => any;
|
|
@@ -40,11 +41,13 @@ export const breezsdk_receivePayment: (a: number, b: any) => any;
|
|
|
40
41
|
export const breezsdk_recommendedFees: (a: number) => any;
|
|
41
42
|
export const breezsdk_refundDeposit: (a: number, b: any) => any;
|
|
42
43
|
export const breezsdk_registerLightningAddress: (a: number, b: any) => any;
|
|
44
|
+
export const breezsdk_registerWebhook: (a: number, b: any) => any;
|
|
43
45
|
export const breezsdk_removeEventListener: (a: number, b: number, c: number) => any;
|
|
44
46
|
export const breezsdk_sendPayment: (a: number, b: any) => any;
|
|
45
47
|
export const breezsdk_signMessage: (a: number, b: any) => any;
|
|
46
|
-
export const breezsdk_startLeafOptimization: (a: number) =>
|
|
48
|
+
export const breezsdk_startLeafOptimization: (a: number) => any;
|
|
47
49
|
export const breezsdk_syncWallet: (a: number, b: any) => any;
|
|
50
|
+
export const breezsdk_unregisterWebhook: (a: number, b: any) => any;
|
|
48
51
|
export const breezsdk_updateContact: (a: number, b: any) => any;
|
|
49
52
|
export const breezsdk_updateUserSettings: (a: number, b: any) => any;
|
|
50
53
|
export const connect: (a: any) => any;
|
|
@@ -88,8 +91,7 @@ export const sdkbuilder_withFiatService: (a: number, b: any) => number;
|
|
|
88
91
|
export const sdkbuilder_withKeySet: (a: number, b: any) => number;
|
|
89
92
|
export const sdkbuilder_withLnurlClient: (a: number, b: any) => number;
|
|
90
93
|
export const sdkbuilder_withPaymentObserver: (a: number, b: any) => number;
|
|
91
|
-
export const
|
|
92
|
-
export const sdkbuilder_withPostgresTreeStore: (a: number, b: any) => number;
|
|
94
|
+
export const sdkbuilder_withPostgresBackend: (a: number, b: any) => number;
|
|
93
95
|
export const sdkbuilder_withRestChainService: (a: number, b: number, c: number, d: any, e: number) => number;
|
|
94
96
|
export const sdkbuilder_withStorage: (a: number, b: any) => number;
|
|
95
97
|
export const tokenissuer_burnIssuerToken: (a: number, b: any) => any;
|
|
@@ -126,7 +128,7 @@ export const __wbindgen_export_5: WebAssembly.Table;
|
|
|
126
128
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
127
129
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
128
130
|
export const __externref_table_dealloc: (a: number) => void;
|
|
129
|
-
export const
|
|
131
|
+
export const closure456_externref_shim: (a: number, b: number, c: any) => void;
|
|
130
132
|
export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1bbbe552b190da27: (a: number, b: number) => void;
|
|
131
|
-
export const
|
|
133
|
+
export const closure736_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
132
134
|
export const __wbindgen_start: () => void;
|