@breeztech/breez-sdk-spark 0.18.0-dev4 → 0.19.0
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/breez-sdk-spark.tgz +0 -0
- package/bundler/breez_sdk_spark_wasm.d.ts +162 -0
- package/bundler/breez_sdk_spark_wasm.js +1 -1
- package/bundler/breez_sdk_spark_wasm_bg.js +407 -22
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/bundler/breez_sdk_spark_wasm_bg.wasm.d.ts +25 -5
- package/deno/breez_sdk_spark_wasm.d.ts +162 -0
- package/deno/breez_sdk_spark_wasm.js +407 -22
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm_bg.wasm.d.ts +25 -5
- package/nodejs/breez_sdk_spark_wasm.d.ts +162 -0
- package/nodejs/breez_sdk_spark_wasm.js +413 -22
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm_bg.wasm.d.ts +25 -5
- package/nodejs/index.mjs +6 -0
- package/nodejs/mysql-token-store/index.cjs +212 -70
- package/nodejs/mysql-tree-store/index.cjs +158 -26
- package/nodejs/postgres-token-store/index.cjs +207 -69
- package/nodejs/postgres-tree-store/index.cjs +157 -31
- package/package.json +1 -1
- package/ssr/index.js +36 -0
- package/web/breez_sdk_spark_wasm.d.ts +187 -5
- package/web/breez_sdk_spark_wasm.js +407 -22
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/web/breez_sdk_spark_wasm_bg.wasm.d.ts +25 -5
|
@@ -114,6 +114,22 @@ export class BreezSdk {
|
|
|
114
114
|
const ret = wasm.breezsdk_authorizeLightningAddressTransfer(this.__wbg_ptr, request);
|
|
115
115
|
return ret;
|
|
116
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* @param {BuildUnsignedLnurlPayPackageRequest} request
|
|
119
|
+
* @returns {Promise<UnsignedTransferPackage>}
|
|
120
|
+
*/
|
|
121
|
+
buildUnsignedLnurlPayPackage(request) {
|
|
122
|
+
const ret = wasm.breezsdk_buildUnsignedLnurlPayPackage(this.__wbg_ptr, request);
|
|
123
|
+
return ret;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @param {BuildUnsignedTransferPackageRequest} request
|
|
127
|
+
* @returns {Promise<UnsignedTransferPackage>}
|
|
128
|
+
*/
|
|
129
|
+
buildUnsignedTransferPackage(request) {
|
|
130
|
+
const ret = wasm.breezsdk_buildUnsignedTransferPackage(this.__wbg_ptr, request);
|
|
131
|
+
return ret;
|
|
132
|
+
}
|
|
117
133
|
/**
|
|
118
134
|
* @param {BuyBitcoinRequest} request
|
|
119
135
|
* @returns {Promise<BuyBitcoinResponse>}
|
|
@@ -350,6 +366,22 @@ export class BreezSdk {
|
|
|
350
366
|
const ret = wasm.breezsdk_prepareSendPayment(this.__wbg_ptr, request);
|
|
351
367
|
return ret;
|
|
352
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* @param {PublishSignedLnurlPayPackageRequest} request
|
|
371
|
+
* @returns {Promise<PublishSignedLnurlPayResponse>}
|
|
372
|
+
*/
|
|
373
|
+
publishSignedLnurlPayPackage(request) {
|
|
374
|
+
const ret = wasm.breezsdk_publishSignedLnurlPayPackage(this.__wbg_ptr, request);
|
|
375
|
+
return ret;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* @param {PublishSignedTransferPackageRequest} request
|
|
379
|
+
* @returns {Promise<PublishSignedTransferPackageResponse>}
|
|
380
|
+
*/
|
|
381
|
+
publishSignedTransferPackage(request) {
|
|
382
|
+
const ret = wasm.breezsdk_publishSignedTransferPackage(this.__wbg_ptr, request);
|
|
383
|
+
return ret;
|
|
384
|
+
}
|
|
353
385
|
/**
|
|
354
386
|
* @param {ReceivePaymentRequest} request
|
|
355
387
|
* @returns {Promise<ReceivePaymentResponse>}
|
|
@@ -457,6 +489,54 @@ export class BreezSdk {
|
|
|
457
489
|
}
|
|
458
490
|
if (Symbol.dispose) BreezSdk.prototype[Symbol.dispose] = BreezSdk.prototype.free;
|
|
459
491
|
|
|
492
|
+
/**
|
|
493
|
+
* A JS handle to a backend's own session store (from `defaultSessionStore`),
|
|
494
|
+
* exposing the same `getSession` / `setSession` interface. Wrap it in a JS
|
|
495
|
+
* `SessionStore` decorator and pass that to `SdkBuilder.withSessionStore` to
|
|
496
|
+
* transform tokens while keeping the backend's persistence: for example
|
|
497
|
+
* at-rest encryption, which the SDK does not apply itself.
|
|
498
|
+
*/
|
|
499
|
+
export class DefaultSessionStore {
|
|
500
|
+
static __wrap(ptr) {
|
|
501
|
+
const obj = Object.create(DefaultSessionStore.prototype);
|
|
502
|
+
obj.__wbg_ptr = ptr;
|
|
503
|
+
DefaultSessionStoreFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
504
|
+
return obj;
|
|
505
|
+
}
|
|
506
|
+
__destroy_into_raw() {
|
|
507
|
+
const ptr = this.__wbg_ptr;
|
|
508
|
+
this.__wbg_ptr = 0;
|
|
509
|
+
DefaultSessionStoreFinalization.unregister(this);
|
|
510
|
+
return ptr;
|
|
511
|
+
}
|
|
512
|
+
free() {
|
|
513
|
+
const ptr = this.__destroy_into_raw();
|
|
514
|
+
wasm.__wbg_defaultsessionstore_free(ptr, 0);
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* @param {string} service_identity_key
|
|
518
|
+
* @returns {Promise<Session>}
|
|
519
|
+
*/
|
|
520
|
+
getSession(service_identity_key) {
|
|
521
|
+
const ptr0 = passStringToWasm0(service_identity_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
522
|
+
const len0 = WASM_VECTOR_LEN;
|
|
523
|
+
const ret = wasm.defaultsessionstore_getSession(this.__wbg_ptr, ptr0, len0);
|
|
524
|
+
return ret;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @param {string} service_identity_key
|
|
528
|
+
* @param {Session} session
|
|
529
|
+
* @returns {Promise<void>}
|
|
530
|
+
*/
|
|
531
|
+
setSession(service_identity_key, session) {
|
|
532
|
+
const ptr0 = passStringToWasm0(service_identity_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
533
|
+
const len0 = WASM_VECTOR_LEN;
|
|
534
|
+
const ret = wasm.defaultsessionstore_setSession(this.__wbg_ptr, ptr0, len0, session);
|
|
535
|
+
return ret;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
if (Symbol.dispose) DefaultSessionStore.prototype[Symbol.dispose] = DefaultSessionStore.prototype.free;
|
|
539
|
+
|
|
460
540
|
/**
|
|
461
541
|
* A Rust-backed [`ExternalBreezSigner`] surfaced to JS as a signer object that
|
|
462
542
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -610,6 +690,79 @@ export class ExternalSigners {
|
|
|
610
690
|
}
|
|
611
691
|
if (Symbol.dispose) ExternalSigners.prototype[Symbol.dispose] = ExternalSigners.prototype.free;
|
|
612
692
|
|
|
693
|
+
/**
|
|
694
|
+
* A Rust-backed [`ExternalSigningSigner`] surfaced to JS as a signer object
|
|
695
|
+
* that can be passed to `connectWithSigningOnlySigner` or
|
|
696
|
+
* `SdkBuilder.newWithSigningOnlySigner`. Produced by
|
|
697
|
+
* `createTurnkeySigningOnlySigner`.
|
|
698
|
+
*
|
|
699
|
+
* [`ExternalSigningSigner`]: breez_sdk_spark::signer::ExternalSigningSigner
|
|
700
|
+
*/
|
|
701
|
+
export class ExternalSigningSignerHandle {
|
|
702
|
+
static __wrap(ptr) {
|
|
703
|
+
const obj = Object.create(ExternalSigningSignerHandle.prototype);
|
|
704
|
+
obj.__wbg_ptr = ptr;
|
|
705
|
+
ExternalSigningSignerHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
706
|
+
return obj;
|
|
707
|
+
}
|
|
708
|
+
__destroy_into_raw() {
|
|
709
|
+
const ptr = this.__wbg_ptr;
|
|
710
|
+
this.__wbg_ptr = 0;
|
|
711
|
+
ExternalSigningSignerHandleFinalization.unregister(this);
|
|
712
|
+
return ptr;
|
|
713
|
+
}
|
|
714
|
+
free() {
|
|
715
|
+
const ptr = this.__destroy_into_raw();
|
|
716
|
+
wasm.__wbg_externalsigningsignerhandle_free(ptr, 0);
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* @param {string} path
|
|
720
|
+
* @returns {Promise<PublicKeyBytes>}
|
|
721
|
+
*/
|
|
722
|
+
derivePublicKey(path) {
|
|
723
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
724
|
+
const len0 = WASM_VECTOR_LEN;
|
|
725
|
+
const ret = wasm.externalsigningsignerhandle_derivePublicKey(this.__wbg_ptr, ptr0, len0);
|
|
726
|
+
return ret;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* @param {MessageBytes} message
|
|
730
|
+
* @param {string} path
|
|
731
|
+
* @returns {Promise<EcdsaSignatureBytes>}
|
|
732
|
+
*/
|
|
733
|
+
signEcdsa(message, path) {
|
|
734
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
735
|
+
const len0 = WASM_VECTOR_LEN;
|
|
736
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsa(this.__wbg_ptr, message, ptr0, len0);
|
|
737
|
+
return ret;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* @param {MessageBytes} message
|
|
741
|
+
* @param {string} path
|
|
742
|
+
* @returns {Promise<RecoverableEcdsaSignatureBytes>}
|
|
743
|
+
*/
|
|
744
|
+
signEcdsaRecoverable(message, path) {
|
|
745
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
746
|
+
const len0 = WASM_VECTOR_LEN;
|
|
747
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsaRecoverable(this.__wbg_ptr, message, ptr0, len0);
|
|
748
|
+
return ret;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* @param {Uint8Array} hash
|
|
752
|
+
* @param {string} path
|
|
753
|
+
* @returns {Promise<SchnorrSignatureBytes>}
|
|
754
|
+
*/
|
|
755
|
+
signHashSchnorr(hash, path) {
|
|
756
|
+
const ptr0 = passArray8ToWasm0(hash, wasm.__wbindgen_malloc);
|
|
757
|
+
const len0 = WASM_VECTOR_LEN;
|
|
758
|
+
const ptr1 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
759
|
+
const len1 = WASM_VECTOR_LEN;
|
|
760
|
+
const ret = wasm.externalsigningsignerhandle_signHashSchnorr(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
761
|
+
return ret;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
if (Symbol.dispose) ExternalSigningSignerHandle.prototype[Symbol.dispose] = ExternalSigningSignerHandle.prototype.free;
|
|
765
|
+
|
|
613
766
|
/**
|
|
614
767
|
* A Rust-backed [`ExternalSparkSigner`] surfaced to JS as a signer object that
|
|
615
768
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -1035,6 +1188,20 @@ export class SdkBuilder {
|
|
|
1035
1188
|
const ret = wasm.sdkbuilder_newWithSigner(config, breez_signer, spark_signer);
|
|
1036
1189
|
return SdkBuilder.__wrap(ret);
|
|
1037
1190
|
}
|
|
1191
|
+
/**
|
|
1192
|
+
* Creates a new `SdkBuilder` with a signing-only external signer, for a
|
|
1193
|
+
* signer that can't perform the SDK's local ECIES/HMAC operations. The SDK
|
|
1194
|
+
* keeps session tokens in plaintext and disables the features that rely on
|
|
1195
|
+
* ECIES/HMAC.
|
|
1196
|
+
* @param {Config} config
|
|
1197
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1198
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1199
|
+
* @returns {SdkBuilder}
|
|
1200
|
+
*/
|
|
1201
|
+
static newWithSigningOnlySigner(config, breez_signer, spark_signer) {
|
|
1202
|
+
const ret = wasm.sdkbuilder_newWithSigningOnlySigner(config, breez_signer, spark_signer);
|
|
1203
|
+
return SdkBuilder.__wrap(ret);
|
|
1204
|
+
}
|
|
1038
1205
|
/**
|
|
1039
1206
|
* @param {number} account_number
|
|
1040
1207
|
* @returns {SdkBuilder}
|
|
@@ -1130,6 +1297,19 @@ export class SdkBuilder {
|
|
|
1130
1297
|
const ret = wasm.sdkbuilder_withRestChainService(ptr, ptr0, len0, api_type, isLikeNone(credentials) ? 0 : addToExternrefTable0(credentials));
|
|
1131
1298
|
return SdkBuilder.__wrap(ret);
|
|
1132
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Overrides the session store used to cache auth tokens, replacing the one
|
|
1302
|
+
* the backend provides. Pass any `SessionStore`: for example one that wraps
|
|
1303
|
+
* the backend's own store from `defaultSessionStore` to add at-rest
|
|
1304
|
+
* encryption, which the SDK does not apply itself.
|
|
1305
|
+
* @param {SessionStore} session_store
|
|
1306
|
+
* @returns {SdkBuilder}
|
|
1307
|
+
*/
|
|
1308
|
+
withSessionStore(session_store) {
|
|
1309
|
+
const ptr = this.__destroy_into_raw();
|
|
1310
|
+
const ret = wasm.sdkbuilder_withSessionStore(ptr, session_store);
|
|
1311
|
+
return SdkBuilder.__wrap(ret);
|
|
1312
|
+
}
|
|
1133
1313
|
/**
|
|
1134
1314
|
* Threads a shared [`WasmSdkContext`] into the builder.
|
|
1135
1315
|
*
|
|
@@ -1172,6 +1352,47 @@ export class SdkBuilder {
|
|
|
1172
1352
|
}
|
|
1173
1353
|
if (Symbol.dispose) SdkBuilder.prototype[Symbol.dispose] = SdkBuilder.prototype.free;
|
|
1174
1354
|
|
|
1355
|
+
/**
|
|
1356
|
+
* The signing-only external signers for the SDK's signer-based connect.
|
|
1357
|
+
* Returned by `createTurnkeySigningOnlySigner`; pass both halves to
|
|
1358
|
+
* `connectWithSigningOnlySigner` or `SdkBuilder.newWithSigningOnlySigner`.
|
|
1359
|
+
*/
|
|
1360
|
+
export class SigningOnlyExternalSigners {
|
|
1361
|
+
static __wrap(ptr) {
|
|
1362
|
+
const obj = Object.create(SigningOnlyExternalSigners.prototype);
|
|
1363
|
+
obj.__wbg_ptr = ptr;
|
|
1364
|
+
SigningOnlyExternalSignersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1365
|
+
return obj;
|
|
1366
|
+
}
|
|
1367
|
+
__destroy_into_raw() {
|
|
1368
|
+
const ptr = this.__wbg_ptr;
|
|
1369
|
+
this.__wbg_ptr = 0;
|
|
1370
|
+
SigningOnlyExternalSignersFinalization.unregister(this);
|
|
1371
|
+
return ptr;
|
|
1372
|
+
}
|
|
1373
|
+
free() {
|
|
1374
|
+
const ptr = this.__destroy_into_raw();
|
|
1375
|
+
wasm.__wbg_signingonlyexternalsigners_free(ptr, 0);
|
|
1376
|
+
}
|
|
1377
|
+
/**
|
|
1378
|
+
* Signing-only external signer for non-Spark SDK signing.
|
|
1379
|
+
* @returns {ExternalSigningSignerHandle}
|
|
1380
|
+
*/
|
|
1381
|
+
get breezSigner() {
|
|
1382
|
+
const ret = wasm.signingonlyexternalsigners_breezSigner(this.__wbg_ptr);
|
|
1383
|
+
return ExternalSigningSignerHandle.__wrap(ret);
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* External high-level Spark signer for the Spark wallet flows.
|
|
1387
|
+
* @returns {ExternalSparkSignerHandle}
|
|
1388
|
+
*/
|
|
1389
|
+
get sparkSigner() {
|
|
1390
|
+
const ret = wasm.signingonlyexternalsigners_sparkSigner(this.__wbg_ptr);
|
|
1391
|
+
return ExternalSparkSignerHandle.__wrap(ret);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
if (Symbol.dispose) SigningOnlyExternalSigners.prototype[Symbol.dispose] = SigningOnlyExternalSigners.prototype.free;
|
|
1395
|
+
|
|
1175
1396
|
export class TokenIssuer {
|
|
1176
1397
|
static __wrap(ptr) {
|
|
1177
1398
|
const obj = Object.create(TokenIssuer.prototype);
|
|
@@ -1322,6 +1543,23 @@ export function connectWithSigner(config, breez_signer, spark_signer, storage_di
|
|
|
1322
1543
|
return ret;
|
|
1323
1544
|
}
|
|
1324
1545
|
|
|
1546
|
+
/**
|
|
1547
|
+
* Connects using a signing-only external signer, for a signer that can't
|
|
1548
|
+
* perform the SDK's local ECIES/HMAC operations. The SDK keeps session tokens
|
|
1549
|
+
* in plaintext and disables the features that rely on ECIES/HMAC.
|
|
1550
|
+
* @param {Config} config
|
|
1551
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1552
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1553
|
+
* @param {string} storage_dir
|
|
1554
|
+
* @returns {Promise<BreezSdk>}
|
|
1555
|
+
*/
|
|
1556
|
+
export function connectWithSigningOnlySigner(config, breez_signer, spark_signer, storage_dir) {
|
|
1557
|
+
const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1558
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1559
|
+
const ret = wasm.connectWithSigningOnlySigner(config, breez_signer, spark_signer, ptr0, len0);
|
|
1560
|
+
return ret;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1325
1563
|
/**
|
|
1326
1564
|
* Builds the Turnkey-backed signers from `config`, then pass
|
|
1327
1565
|
* `signers.breezSigner` and `signers.sparkSigner` to `connectWithSigner`,
|
|
@@ -1334,6 +1572,19 @@ export function createTurnkeySigner(config) {
|
|
|
1334
1572
|
return ret;
|
|
1335
1573
|
}
|
|
1336
1574
|
|
|
1575
|
+
/**
|
|
1576
|
+
* Builds the signing-only Turnkey-backed signers from `config` (for a wallet
|
|
1577
|
+
* under a deny-export policy), then pass `signers.breezSigner` and
|
|
1578
|
+
* `signers.sparkSigner` to `connectWithSigningOnlySigner`. The Breez half
|
|
1579
|
+
* performs signing only and never exports a key.
|
|
1580
|
+
* @param {TurnkeyConfig} config
|
|
1581
|
+
* @returns {Promise<SigningOnlyExternalSigners>}
|
|
1582
|
+
*/
|
|
1583
|
+
export function createTurnkeySigningOnlySigner(config) {
|
|
1584
|
+
const ret = wasm.createTurnkeySigningOnlySigner(config);
|
|
1585
|
+
return ret;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1337
1588
|
/**
|
|
1338
1589
|
* @param {Network} network
|
|
1339
1590
|
* @returns {Config}
|
|
@@ -1410,6 +1661,24 @@ export function defaultServerConfig(network) {
|
|
|
1410
1661
|
return ret;
|
|
1411
1662
|
}
|
|
1412
1663
|
|
|
1664
|
+
/**
|
|
1665
|
+
* The session store the `config`'s backend provides for `identity` (the wallet
|
|
1666
|
+
* identity public key, hex), as a handle to wrap in a `SessionStore` decorator
|
|
1667
|
+
* and pass to `SdkBuilder.withSessionStore`, keeping the backend's persistence.
|
|
1668
|
+
* A typical use is at-rest encryption, which the SDK does not apply itself.
|
|
1669
|
+
* @param {WasmStorageConfig} config
|
|
1670
|
+
* @param {Network} network
|
|
1671
|
+
* @param {string} identity
|
|
1672
|
+
* @returns {Promise<DefaultSessionStore>}
|
|
1673
|
+
*/
|
|
1674
|
+
export function defaultSessionStore(config, network, identity) {
|
|
1675
|
+
_assertClass(config, WasmStorageConfig);
|
|
1676
|
+
const ptr0 = passStringToWasm0(identity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1677
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1678
|
+
const ret = wasm.defaultSessionStore(config.__wbg_ptr, network, ptr0, len0);
|
|
1679
|
+
return ret;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1413
1682
|
/**
|
|
1414
1683
|
* File-based storage rooted at `storageDir` — IndexedDB in the browser,
|
|
1415
1684
|
* SQLite under Node.js.
|
|
@@ -1846,6 +2115,10 @@ export function __wbg_decryptEcies_ebe426814020926b() { return handleError(funct
|
|
|
1846
2115
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1847
2116
|
}
|
|
1848
2117
|
}, arguments); }
|
|
2118
|
+
export function __wbg_defaultsessionstore_new(arg0) {
|
|
2119
|
+
const ret = DefaultSessionStore.__wrap(arg0);
|
|
2120
|
+
return ret;
|
|
2121
|
+
}
|
|
1849
2122
|
export function __wbg_deleteCachedItem_b8fbe3ebea21ed7e() { return handleError(function (arg0, arg1, arg2) {
|
|
1850
2123
|
let deferred0_0;
|
|
1851
2124
|
let deferred0_1;
|
|
@@ -1911,6 +2184,18 @@ export function __wbg_derivePublicKey_1bc53f60dc792488() { return handleError(fu
|
|
|
1911
2184
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1912
2185
|
}
|
|
1913
2186
|
}, arguments); }
|
|
2187
|
+
export function __wbg_derivePublicKey_db43f40bd54e092a() { return handleError(function (arg0, arg1, arg2) {
|
|
2188
|
+
let deferred0_0;
|
|
2189
|
+
let deferred0_1;
|
|
2190
|
+
try {
|
|
2191
|
+
deferred0_0 = arg1;
|
|
2192
|
+
deferred0_1 = arg2;
|
|
2193
|
+
const ret = arg0.derivePublicKey(getStringFromWasm0(arg1, arg2));
|
|
2194
|
+
return ret;
|
|
2195
|
+
} finally {
|
|
2196
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2197
|
+
}
|
|
2198
|
+
}, arguments); }
|
|
1914
2199
|
export function __wbg_deriveSeeds_5c331613e2894c56() { return handleError(function (arg0, arg1, arg2) {
|
|
1915
2200
|
const ret = arg0.deriveSeeds(arg1, arg2);
|
|
1916
2201
|
return ret;
|
|
@@ -2179,6 +2464,10 @@ export function __wbg_getTransactionStatus_32c49e1985e35d63() { return handleErr
|
|
|
2179
2464
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2180
2465
|
}
|
|
2181
2466
|
}, arguments); }
|
|
2467
|
+
export function __wbg_getVerifiedLeafKeys_12405bb5f39ffb61() { return handleError(function (arg0) {
|
|
2468
|
+
const ret = arg0.getVerifiedLeafKeys();
|
|
2469
|
+
return ret;
|
|
2470
|
+
}, arguments); }
|
|
2182
2471
|
export function __wbg_get_41476db20fef99a8() { return handleError(function (arg0, arg1) {
|
|
2183
2472
|
const ret = Reflect.get(arg0, arg1);
|
|
2184
2473
|
return ret;
|
|
@@ -2624,6 +2913,23 @@ export function __wbg_require_b4edbdcf3e2a1ef0() { return handleError(function (
|
|
|
2624
2913
|
const ret = module.require;
|
|
2625
2914
|
return ret;
|
|
2626
2915
|
}, arguments); }
|
|
2916
|
+
export function __wbg_reserveTokenOutputsByOutpoints_a18be5f9fb4ab30a() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2917
|
+
let deferred0_0;
|
|
2918
|
+
let deferred0_1;
|
|
2919
|
+
let deferred1_0;
|
|
2920
|
+
let deferred1_1;
|
|
2921
|
+
try {
|
|
2922
|
+
deferred0_0 = arg1;
|
|
2923
|
+
deferred0_1 = arg2;
|
|
2924
|
+
deferred1_0 = arg4;
|
|
2925
|
+
deferred1_1 = arg5;
|
|
2926
|
+
const ret = arg0.reserveTokenOutputsByOutpoints(getStringFromWasm0(arg1, arg2), arg3, getStringFromWasm0(arg4, arg5));
|
|
2927
|
+
return ret;
|
|
2928
|
+
} finally {
|
|
2929
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2930
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
2931
|
+
}
|
|
2932
|
+
}, arguments); }
|
|
2627
2933
|
export function __wbg_reserveTokenOutputs_233990fbd0ce963a() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2628
2934
|
let deferred0_0;
|
|
2629
2935
|
let deferred0_1;
|
|
@@ -2652,6 +2958,18 @@ export function __wbg_sdkbuilder_new(arg0) {
|
|
|
2652
2958
|
const ret = SdkBuilder.__wrap(arg0);
|
|
2653
2959
|
return ret;
|
|
2654
2960
|
}
|
|
2961
|
+
export function __wbg_selectTokenOutputs_450f20621013b14d() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2962
|
+
let deferred0_0;
|
|
2963
|
+
let deferred0_1;
|
|
2964
|
+
try {
|
|
2965
|
+
deferred0_0 = arg1;
|
|
2966
|
+
deferred0_1 = arg2;
|
|
2967
|
+
const ret = arg0.selectTokenOutputs(getStringFromWasm0(arg1, arg2), arg3, arg4, arg5);
|
|
2968
|
+
return ret;
|
|
2969
|
+
} finally {
|
|
2970
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2971
|
+
}
|
|
2972
|
+
}, arguments); }
|
|
2655
2973
|
export function __wbg_send_0edb796d05cd3239() { return handleError(function (arg0, arg1, arg2) {
|
|
2656
2974
|
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
2657
2975
|
}, arguments); }
|
|
@@ -2791,6 +3109,18 @@ export function __wbg_signAuthenticationChallenge_e2ea9cf87c76a6de() { return ha
|
|
|
2791
3109
|
const ret = arg0.signAuthenticationChallenge(v0);
|
|
2792
3110
|
return ret;
|
|
2793
3111
|
}, arguments); }
|
|
3112
|
+
export function __wbg_signEcdsaRecoverable_7a9da0490e388132() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3113
|
+
let deferred0_0;
|
|
3114
|
+
let deferred0_1;
|
|
3115
|
+
try {
|
|
3116
|
+
deferred0_0 = arg2;
|
|
3117
|
+
deferred0_1 = arg3;
|
|
3118
|
+
const ret = arg0.signEcdsaRecoverable(arg1, getStringFromWasm0(arg2, arg3));
|
|
3119
|
+
return ret;
|
|
3120
|
+
} finally {
|
|
3121
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3122
|
+
}
|
|
3123
|
+
}, arguments); }
|
|
2794
3124
|
export function __wbg_signEcdsaRecoverable_978c5526e66a433b() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2795
3125
|
let deferred0_0;
|
|
2796
3126
|
let deferred0_1;
|
|
@@ -2815,10 +3145,36 @@ export function __wbg_signEcdsa_1947a1a2c8f39a16() { return handleError(function
|
|
|
2815
3145
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2816
3146
|
}
|
|
2817
3147
|
}, arguments); }
|
|
3148
|
+
export function __wbg_signEcdsa_89f0abf313463778() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3149
|
+
let deferred0_0;
|
|
3150
|
+
let deferred0_1;
|
|
3151
|
+
try {
|
|
3152
|
+
deferred0_0 = arg2;
|
|
3153
|
+
deferred0_1 = arg3;
|
|
3154
|
+
const ret = arg0.signEcdsa(arg1, getStringFromWasm0(arg2, arg3));
|
|
3155
|
+
return ret;
|
|
3156
|
+
} finally {
|
|
3157
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3158
|
+
}
|
|
3159
|
+
}, arguments); }
|
|
2818
3160
|
export function __wbg_signFrost_08951e01d00d4b1c() { return handleError(function (arg0, arg1) {
|
|
2819
3161
|
const ret = arg0.signFrost(arg1);
|
|
2820
3162
|
return ret;
|
|
2821
3163
|
}, arguments); }
|
|
3164
|
+
export function __wbg_signHashSchnorr_881022637f4bf583() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3165
|
+
let deferred1_0;
|
|
3166
|
+
let deferred1_1;
|
|
3167
|
+
try {
|
|
3168
|
+
var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
|
|
3169
|
+
wasm.__wbindgen_free(arg1, arg2 * 1, 1);
|
|
3170
|
+
deferred1_0 = arg3;
|
|
3171
|
+
deferred1_1 = arg4;
|
|
3172
|
+
const ret = arg0.signHashSchnorr(v0, getStringFromWasm0(arg3, arg4));
|
|
3173
|
+
return ret;
|
|
3174
|
+
} finally {
|
|
3175
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3176
|
+
}
|
|
3177
|
+
}, arguments); }
|
|
2822
3178
|
export function __wbg_signHashSchnorr_fc8afda9a7ee021a() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2823
3179
|
let deferred1_0;
|
|
2824
3180
|
let deferred1_1;
|
|
@@ -2851,6 +3207,10 @@ export function __wbg_signal_4643ce883b92b553(arg0) {
|
|
|
2851
3207
|
const ret = arg0.signal;
|
|
2852
3208
|
return ret;
|
|
2853
3209
|
}
|
|
3210
|
+
export function __wbg_signingonlyexternalsigners_new(arg0) {
|
|
3211
|
+
const ret = SigningOnlyExternalSigners.__wrap(arg0);
|
|
3212
|
+
return ret;
|
|
3213
|
+
}
|
|
2854
3214
|
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
2855
3215
|
const ret = arg1.stack;
|
|
2856
3216
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2951,6 +3311,18 @@ export function __wbg_toString_9ae74d2321992740(arg0) {
|
|
|
2951
3311
|
const ret = arg0.toString();
|
|
2952
3312
|
return ret;
|
|
2953
3313
|
}
|
|
3314
|
+
export function __wbg_tryReserveLeavesByIds_a6433e824993a82f() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3315
|
+
let deferred0_0;
|
|
3316
|
+
let deferred0_1;
|
|
3317
|
+
try {
|
|
3318
|
+
deferred0_0 = arg2;
|
|
3319
|
+
deferred0_1 = arg3;
|
|
3320
|
+
const ret = arg0.tryReserveLeavesByIds(arg1, getStringFromWasm0(arg2, arg3));
|
|
3321
|
+
return ret;
|
|
3322
|
+
} finally {
|
|
3323
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3324
|
+
}
|
|
3325
|
+
}, arguments); }
|
|
2954
3326
|
export function __wbg_tryReserveLeaves_d2cd87cbc2a886d2() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2955
3327
|
let deferred0_0;
|
|
2956
3328
|
let deferred0_1;
|
|
@@ -2963,6 +3335,10 @@ export function __wbg_tryReserveLeaves_d2cd87cbc2a886d2() { return handleError(f
|
|
|
2963
3335
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2964
3336
|
}
|
|
2965
3337
|
}, arguments); }
|
|
3338
|
+
export function __wbg_trySelectLeaves_ff1aeb7ffc5e4e57() { return handleError(function (arg0, arg1) {
|
|
3339
|
+
const ret = arg0.trySelectLeaves(arg1);
|
|
3340
|
+
return ret;
|
|
3341
|
+
}, arguments); }
|
|
2966
3342
|
export function __wbg_updateDeposit_efb96cf6e6fbe7b7() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2967
3343
|
let deferred0_0;
|
|
2968
3344
|
let deferred0_1;
|
|
@@ -3027,61 +3403,61 @@ export function __wbg_wasmsdkcontext_new(arg0) {
|
|
|
3027
3403
|
}
|
|
3028
3404
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
3029
3405
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3030
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3406
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575);
|
|
3031
3407
|
return ret;
|
|
3032
3408
|
}
|
|
3033
3409
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
3034
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3410
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3035
3411
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2);
|
|
3036
3412
|
return ret;
|
|
3037
3413
|
}
|
|
3038
3414
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
3039
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
3415
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3040
3416
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_2);
|
|
3041
3417
|
return ret;
|
|
3042
3418
|
}
|
|
3043
3419
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
3044
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
3420
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3045
3421
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_3);
|
|
3046
3422
|
return ret;
|
|
3047
3423
|
}
|
|
3048
3424
|
export function __wbindgen_cast_0000000000000005(arg0, arg1) {
|
|
3049
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
3425
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3050
3426
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_4);
|
|
3051
3427
|
return ret;
|
|
3052
3428
|
}
|
|
3053
3429
|
export function __wbindgen_cast_0000000000000006(arg0, arg1) {
|
|
3054
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
3430
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3055
3431
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5);
|
|
3056
3432
|
return ret;
|
|
3057
3433
|
}
|
|
3058
3434
|
export function __wbindgen_cast_0000000000000007(arg0, arg1) {
|
|
3059
3435
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("SessionStore")], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3060
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3436
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6);
|
|
3061
3437
|
return ret;
|
|
3062
3438
|
}
|
|
3063
3439
|
export function __wbindgen_cast_0000000000000008(arg0, arg1) {
|
|
3064
3440
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Storage")], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3065
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3441
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7);
|
|
3066
3442
|
return ret;
|
|
3067
3443
|
}
|
|
3068
3444
|
export function __wbindgen_cast_0000000000000009(arg0, arg1) {
|
|
3069
3445
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("TokenStore")], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3070
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3446
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8);
|
|
3071
3447
|
return ret;
|
|
3072
3448
|
}
|
|
3073
3449
|
export function __wbindgen_cast_000000000000000a(arg0, arg1) {
|
|
3074
3450
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("TreeStore")], shim_idx: 17, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3075
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3451
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9);
|
|
3076
3452
|
return ret;
|
|
3077
3453
|
}
|
|
3078
3454
|
export function __wbindgen_cast_000000000000000b(arg0, arg1) {
|
|
3079
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3455
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 392, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3080
3456
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d6669a7b693932a);
|
|
3081
3457
|
return ret;
|
|
3082
3458
|
}
|
|
3083
3459
|
export function __wbindgen_cast_000000000000000c(arg0, arg1) {
|
|
3084
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3460
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 421, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
3085
3461
|
const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0fa3f876e31d2a3e);
|
|
3086
3462
|
return ret;
|
|
3087
3463
|
}
|
|
@@ -3194,36 +3570,36 @@ function wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5(arg0, a
|
|
|
3194
3570
|
wasm.wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5(arg0, arg1, arg2);
|
|
3195
3571
|
}
|
|
3196
3572
|
|
|
3197
|
-
function
|
|
3198
|
-
const ret = wasm.
|
|
3573
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575(arg0, arg1, arg2) {
|
|
3574
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575(arg0, arg1, arg2);
|
|
3199
3575
|
if (ret[1]) {
|
|
3200
3576
|
throw takeFromExternrefTable0(ret[0]);
|
|
3201
3577
|
}
|
|
3202
3578
|
}
|
|
3203
3579
|
|
|
3204
|
-
function
|
|
3205
|
-
const ret = wasm.
|
|
3580
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6(arg0, arg1, arg2) {
|
|
3581
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6(arg0, arg1, arg2);
|
|
3206
3582
|
if (ret[1]) {
|
|
3207
3583
|
throw takeFromExternrefTable0(ret[0]);
|
|
3208
3584
|
}
|
|
3209
3585
|
}
|
|
3210
3586
|
|
|
3211
|
-
function
|
|
3212
|
-
const ret = wasm.
|
|
3587
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7(arg0, arg1, arg2) {
|
|
3588
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7(arg0, arg1, arg2);
|
|
3213
3589
|
if (ret[1]) {
|
|
3214
3590
|
throw takeFromExternrefTable0(ret[0]);
|
|
3215
3591
|
}
|
|
3216
3592
|
}
|
|
3217
3593
|
|
|
3218
|
-
function
|
|
3219
|
-
const ret = wasm.
|
|
3594
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8(arg0, arg1, arg2) {
|
|
3595
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8(arg0, arg1, arg2);
|
|
3220
3596
|
if (ret[1]) {
|
|
3221
3597
|
throw takeFromExternrefTable0(ret[0]);
|
|
3222
3598
|
}
|
|
3223
3599
|
}
|
|
3224
3600
|
|
|
3225
|
-
function
|
|
3226
|
-
const ret = wasm.
|
|
3601
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9(arg0, arg1, arg2) {
|
|
3602
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9(arg0, arg1, arg2);
|
|
3227
3603
|
if (ret[1]) {
|
|
3228
3604
|
throw takeFromExternrefTable0(ret[0]);
|
|
3229
3605
|
}
|
|
@@ -3259,12 +3635,18 @@ const BitcoinChainServiceHandleFinalization = (typeof FinalizationRegistry === '
|
|
|
3259
3635
|
const BreezSdkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3260
3636
|
? { register: () => {}, unregister: () => {} }
|
|
3261
3637
|
: new FinalizationRegistry(ptr => wasm.__wbg_breezsdk_free(ptr, 1));
|
|
3638
|
+
const DefaultSessionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3639
|
+
? { register: () => {}, unregister: () => {} }
|
|
3640
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_defaultsessionstore_free(ptr, 1));
|
|
3262
3641
|
const ExternalBreezSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3263
3642
|
? { register: () => {}, unregister: () => {} }
|
|
3264
3643
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalbreezsignerhandle_free(ptr, 1));
|
|
3265
3644
|
const ExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3266
3645
|
? { register: () => {}, unregister: () => {} }
|
|
3267
3646
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigners_free(ptr, 1));
|
|
3647
|
+
const ExternalSigningSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3648
|
+
? { register: () => {}, unregister: () => {} }
|
|
3649
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigningsignerhandle_free(ptr, 1));
|
|
3268
3650
|
const ExternalSparkSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3269
3651
|
? { register: () => {}, unregister: () => {} }
|
|
3270
3652
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsparksignerhandle_free(ptr, 1));
|
|
@@ -3286,6 +3668,9 @@ const PasskeyLabelsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
3286
3668
|
const SdkBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3287
3669
|
? { register: () => {}, unregister: () => {} }
|
|
3288
3670
|
: new FinalizationRegistry(ptr => wasm.__wbg_sdkbuilder_free(ptr, 1));
|
|
3671
|
+
const SigningOnlyExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3672
|
+
? { register: () => {}, unregister: () => {} }
|
|
3673
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_signingonlyexternalsigners_free(ptr, 1));
|
|
3289
3674
|
const TokenIssuerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3290
3675
|
? { register: () => {}, unregister: () => {} }
|
|
3291
3676
|
: new FinalizationRegistry(ptr => wasm.__wbg_tokenissuer_free(ptr, 1));
|
|
Binary file
|