@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
|
@@ -116,6 +116,22 @@ export class BreezSdk {
|
|
|
116
116
|
const ret = wasm.breezsdk_authorizeLightningAddressTransfer(this.__wbg_ptr, request);
|
|
117
117
|
return ret;
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* @param {BuildUnsignedLnurlPayPackageRequest} request
|
|
121
|
+
* @returns {Promise<UnsignedTransferPackage>}
|
|
122
|
+
*/
|
|
123
|
+
buildUnsignedLnurlPayPackage(request) {
|
|
124
|
+
const ret = wasm.breezsdk_buildUnsignedLnurlPayPackage(this.__wbg_ptr, request);
|
|
125
|
+
return ret;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* @param {BuildUnsignedTransferPackageRequest} request
|
|
129
|
+
* @returns {Promise<UnsignedTransferPackage>}
|
|
130
|
+
*/
|
|
131
|
+
buildUnsignedTransferPackage(request) {
|
|
132
|
+
const ret = wasm.breezsdk_buildUnsignedTransferPackage(this.__wbg_ptr, request);
|
|
133
|
+
return ret;
|
|
134
|
+
}
|
|
119
135
|
/**
|
|
120
136
|
* @param {BuyBitcoinRequest} request
|
|
121
137
|
* @returns {Promise<BuyBitcoinResponse>}
|
|
@@ -352,6 +368,22 @@ export class BreezSdk {
|
|
|
352
368
|
const ret = wasm.breezsdk_prepareSendPayment(this.__wbg_ptr, request);
|
|
353
369
|
return ret;
|
|
354
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* @param {PublishSignedLnurlPayPackageRequest} request
|
|
373
|
+
* @returns {Promise<PublishSignedLnurlPayResponse>}
|
|
374
|
+
*/
|
|
375
|
+
publishSignedLnurlPayPackage(request) {
|
|
376
|
+
const ret = wasm.breezsdk_publishSignedLnurlPayPackage(this.__wbg_ptr, request);
|
|
377
|
+
return ret;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* @param {PublishSignedTransferPackageRequest} request
|
|
381
|
+
* @returns {Promise<PublishSignedTransferPackageResponse>}
|
|
382
|
+
*/
|
|
383
|
+
publishSignedTransferPackage(request) {
|
|
384
|
+
const ret = wasm.breezsdk_publishSignedTransferPackage(this.__wbg_ptr, request);
|
|
385
|
+
return ret;
|
|
386
|
+
}
|
|
355
387
|
/**
|
|
356
388
|
* @param {ReceivePaymentRequest} request
|
|
357
389
|
* @returns {Promise<ReceivePaymentResponse>}
|
|
@@ -459,6 +491,54 @@ export class BreezSdk {
|
|
|
459
491
|
}
|
|
460
492
|
if (Symbol.dispose) BreezSdk.prototype[Symbol.dispose] = BreezSdk.prototype.free;
|
|
461
493
|
|
|
494
|
+
/**
|
|
495
|
+
* A JS handle to a backend's own session store (from `defaultSessionStore`),
|
|
496
|
+
* exposing the same `getSession` / `setSession` interface. Wrap it in a JS
|
|
497
|
+
* `SessionStore` decorator and pass that to `SdkBuilder.withSessionStore` to
|
|
498
|
+
* transform tokens while keeping the backend's persistence: for example
|
|
499
|
+
* at-rest encryption, which the SDK does not apply itself.
|
|
500
|
+
*/
|
|
501
|
+
export class DefaultSessionStore {
|
|
502
|
+
static __wrap(ptr) {
|
|
503
|
+
const obj = Object.create(DefaultSessionStore.prototype);
|
|
504
|
+
obj.__wbg_ptr = ptr;
|
|
505
|
+
DefaultSessionStoreFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
506
|
+
return obj;
|
|
507
|
+
}
|
|
508
|
+
__destroy_into_raw() {
|
|
509
|
+
const ptr = this.__wbg_ptr;
|
|
510
|
+
this.__wbg_ptr = 0;
|
|
511
|
+
DefaultSessionStoreFinalization.unregister(this);
|
|
512
|
+
return ptr;
|
|
513
|
+
}
|
|
514
|
+
free() {
|
|
515
|
+
const ptr = this.__destroy_into_raw();
|
|
516
|
+
wasm.__wbg_defaultsessionstore_free(ptr, 0);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* @param {string} service_identity_key
|
|
520
|
+
* @returns {Promise<Session>}
|
|
521
|
+
*/
|
|
522
|
+
getSession(service_identity_key) {
|
|
523
|
+
const ptr0 = passStringToWasm0(service_identity_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
524
|
+
const len0 = WASM_VECTOR_LEN;
|
|
525
|
+
const ret = wasm.defaultsessionstore_getSession(this.__wbg_ptr, ptr0, len0);
|
|
526
|
+
return ret;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* @param {string} service_identity_key
|
|
530
|
+
* @param {Session} session
|
|
531
|
+
* @returns {Promise<void>}
|
|
532
|
+
*/
|
|
533
|
+
setSession(service_identity_key, session) {
|
|
534
|
+
const ptr0 = passStringToWasm0(service_identity_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
535
|
+
const len0 = WASM_VECTOR_LEN;
|
|
536
|
+
const ret = wasm.defaultsessionstore_setSession(this.__wbg_ptr, ptr0, len0, session);
|
|
537
|
+
return ret;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
if (Symbol.dispose) DefaultSessionStore.prototype[Symbol.dispose] = DefaultSessionStore.prototype.free;
|
|
541
|
+
|
|
462
542
|
/**
|
|
463
543
|
* A Rust-backed [`ExternalBreezSigner`] surfaced to JS as a signer object that
|
|
464
544
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -612,6 +692,79 @@ export class ExternalSigners {
|
|
|
612
692
|
}
|
|
613
693
|
if (Symbol.dispose) ExternalSigners.prototype[Symbol.dispose] = ExternalSigners.prototype.free;
|
|
614
694
|
|
|
695
|
+
/**
|
|
696
|
+
* A Rust-backed [`ExternalSigningSigner`] surfaced to JS as a signer object
|
|
697
|
+
* that can be passed to `connectWithSigningOnlySigner` or
|
|
698
|
+
* `SdkBuilder.newWithSigningOnlySigner`. Produced by
|
|
699
|
+
* `createTurnkeySigningOnlySigner`.
|
|
700
|
+
*
|
|
701
|
+
* [`ExternalSigningSigner`]: breez_sdk_spark::signer::ExternalSigningSigner
|
|
702
|
+
*/
|
|
703
|
+
export class ExternalSigningSignerHandle {
|
|
704
|
+
static __wrap(ptr) {
|
|
705
|
+
const obj = Object.create(ExternalSigningSignerHandle.prototype);
|
|
706
|
+
obj.__wbg_ptr = ptr;
|
|
707
|
+
ExternalSigningSignerHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
708
|
+
return obj;
|
|
709
|
+
}
|
|
710
|
+
__destroy_into_raw() {
|
|
711
|
+
const ptr = this.__wbg_ptr;
|
|
712
|
+
this.__wbg_ptr = 0;
|
|
713
|
+
ExternalSigningSignerHandleFinalization.unregister(this);
|
|
714
|
+
return ptr;
|
|
715
|
+
}
|
|
716
|
+
free() {
|
|
717
|
+
const ptr = this.__destroy_into_raw();
|
|
718
|
+
wasm.__wbg_externalsigningsignerhandle_free(ptr, 0);
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* @param {string} path
|
|
722
|
+
* @returns {Promise<PublicKeyBytes>}
|
|
723
|
+
*/
|
|
724
|
+
derivePublicKey(path) {
|
|
725
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
726
|
+
const len0 = WASM_VECTOR_LEN;
|
|
727
|
+
const ret = wasm.externalsigningsignerhandle_derivePublicKey(this.__wbg_ptr, ptr0, len0);
|
|
728
|
+
return ret;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* @param {MessageBytes} message
|
|
732
|
+
* @param {string} path
|
|
733
|
+
* @returns {Promise<EcdsaSignatureBytes>}
|
|
734
|
+
*/
|
|
735
|
+
signEcdsa(message, path) {
|
|
736
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
737
|
+
const len0 = WASM_VECTOR_LEN;
|
|
738
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsa(this.__wbg_ptr, message, ptr0, len0);
|
|
739
|
+
return ret;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* @param {MessageBytes} message
|
|
743
|
+
* @param {string} path
|
|
744
|
+
* @returns {Promise<RecoverableEcdsaSignatureBytes>}
|
|
745
|
+
*/
|
|
746
|
+
signEcdsaRecoverable(message, path) {
|
|
747
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
748
|
+
const len0 = WASM_VECTOR_LEN;
|
|
749
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsaRecoverable(this.__wbg_ptr, message, ptr0, len0);
|
|
750
|
+
return ret;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* @param {Uint8Array} hash
|
|
754
|
+
* @param {string} path
|
|
755
|
+
* @returns {Promise<SchnorrSignatureBytes>}
|
|
756
|
+
*/
|
|
757
|
+
signHashSchnorr(hash, path) {
|
|
758
|
+
const ptr0 = passArray8ToWasm0(hash, wasm.__wbindgen_malloc);
|
|
759
|
+
const len0 = WASM_VECTOR_LEN;
|
|
760
|
+
const ptr1 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
761
|
+
const len1 = WASM_VECTOR_LEN;
|
|
762
|
+
const ret = wasm.externalsigningsignerhandle_signHashSchnorr(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
763
|
+
return ret;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
if (Symbol.dispose) ExternalSigningSignerHandle.prototype[Symbol.dispose] = ExternalSigningSignerHandle.prototype.free;
|
|
767
|
+
|
|
615
768
|
/**
|
|
616
769
|
* A Rust-backed [`ExternalSparkSigner`] surfaced to JS as a signer object that
|
|
617
770
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -1037,6 +1190,20 @@ export class SdkBuilder {
|
|
|
1037
1190
|
const ret = wasm.sdkbuilder_newWithSigner(config, breez_signer, spark_signer);
|
|
1038
1191
|
return SdkBuilder.__wrap(ret);
|
|
1039
1192
|
}
|
|
1193
|
+
/**
|
|
1194
|
+
* Creates a new `SdkBuilder` with a signing-only external signer, for a
|
|
1195
|
+
* signer that can't perform the SDK's local ECIES/HMAC operations. The SDK
|
|
1196
|
+
* keeps session tokens in plaintext and disables the features that rely on
|
|
1197
|
+
* ECIES/HMAC.
|
|
1198
|
+
* @param {Config} config
|
|
1199
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1200
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1201
|
+
* @returns {SdkBuilder}
|
|
1202
|
+
*/
|
|
1203
|
+
static newWithSigningOnlySigner(config, breez_signer, spark_signer) {
|
|
1204
|
+
const ret = wasm.sdkbuilder_newWithSigningOnlySigner(config, breez_signer, spark_signer);
|
|
1205
|
+
return SdkBuilder.__wrap(ret);
|
|
1206
|
+
}
|
|
1040
1207
|
/**
|
|
1041
1208
|
* @param {number} account_number
|
|
1042
1209
|
* @returns {SdkBuilder}
|
|
@@ -1132,6 +1299,19 @@ export class SdkBuilder {
|
|
|
1132
1299
|
const ret = wasm.sdkbuilder_withRestChainService(ptr, ptr0, len0, api_type, isLikeNone(credentials) ? 0 : addToExternrefTable0(credentials));
|
|
1133
1300
|
return SdkBuilder.__wrap(ret);
|
|
1134
1301
|
}
|
|
1302
|
+
/**
|
|
1303
|
+
* Overrides the session store used to cache auth tokens, replacing the one
|
|
1304
|
+
* the backend provides. Pass any `SessionStore`: for example one that wraps
|
|
1305
|
+
* the backend's own store from `defaultSessionStore` to add at-rest
|
|
1306
|
+
* encryption, which the SDK does not apply itself.
|
|
1307
|
+
* @param {SessionStore} session_store
|
|
1308
|
+
* @returns {SdkBuilder}
|
|
1309
|
+
*/
|
|
1310
|
+
withSessionStore(session_store) {
|
|
1311
|
+
const ptr = this.__destroy_into_raw();
|
|
1312
|
+
const ret = wasm.sdkbuilder_withSessionStore(ptr, session_store);
|
|
1313
|
+
return SdkBuilder.__wrap(ret);
|
|
1314
|
+
}
|
|
1135
1315
|
/**
|
|
1136
1316
|
* Threads a shared [`WasmSdkContext`] into the builder.
|
|
1137
1317
|
*
|
|
@@ -1174,6 +1354,47 @@ export class SdkBuilder {
|
|
|
1174
1354
|
}
|
|
1175
1355
|
if (Symbol.dispose) SdkBuilder.prototype[Symbol.dispose] = SdkBuilder.prototype.free;
|
|
1176
1356
|
|
|
1357
|
+
/**
|
|
1358
|
+
* The signing-only external signers for the SDK's signer-based connect.
|
|
1359
|
+
* Returned by `createTurnkeySigningOnlySigner`; pass both halves to
|
|
1360
|
+
* `connectWithSigningOnlySigner` or `SdkBuilder.newWithSigningOnlySigner`.
|
|
1361
|
+
*/
|
|
1362
|
+
export class SigningOnlyExternalSigners {
|
|
1363
|
+
static __wrap(ptr) {
|
|
1364
|
+
const obj = Object.create(SigningOnlyExternalSigners.prototype);
|
|
1365
|
+
obj.__wbg_ptr = ptr;
|
|
1366
|
+
SigningOnlyExternalSignersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1367
|
+
return obj;
|
|
1368
|
+
}
|
|
1369
|
+
__destroy_into_raw() {
|
|
1370
|
+
const ptr = this.__wbg_ptr;
|
|
1371
|
+
this.__wbg_ptr = 0;
|
|
1372
|
+
SigningOnlyExternalSignersFinalization.unregister(this);
|
|
1373
|
+
return ptr;
|
|
1374
|
+
}
|
|
1375
|
+
free() {
|
|
1376
|
+
const ptr = this.__destroy_into_raw();
|
|
1377
|
+
wasm.__wbg_signingonlyexternalsigners_free(ptr, 0);
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* Signing-only external signer for non-Spark SDK signing.
|
|
1381
|
+
* @returns {ExternalSigningSignerHandle}
|
|
1382
|
+
*/
|
|
1383
|
+
get breezSigner() {
|
|
1384
|
+
const ret = wasm.signingonlyexternalsigners_breezSigner(this.__wbg_ptr);
|
|
1385
|
+
return ExternalSigningSignerHandle.__wrap(ret);
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* External high-level Spark signer for the Spark wallet flows.
|
|
1389
|
+
* @returns {ExternalSparkSignerHandle}
|
|
1390
|
+
*/
|
|
1391
|
+
get sparkSigner() {
|
|
1392
|
+
const ret = wasm.signingonlyexternalsigners_sparkSigner(this.__wbg_ptr);
|
|
1393
|
+
return ExternalSparkSignerHandle.__wrap(ret);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
if (Symbol.dispose) SigningOnlyExternalSigners.prototype[Symbol.dispose] = SigningOnlyExternalSigners.prototype.free;
|
|
1397
|
+
|
|
1177
1398
|
export class TokenIssuer {
|
|
1178
1399
|
static __wrap(ptr) {
|
|
1179
1400
|
const obj = Object.create(TokenIssuer.prototype);
|
|
@@ -1324,6 +1545,23 @@ export function connectWithSigner(config, breez_signer, spark_signer, storage_di
|
|
|
1324
1545
|
return ret;
|
|
1325
1546
|
}
|
|
1326
1547
|
|
|
1548
|
+
/**
|
|
1549
|
+
* Connects using a signing-only external signer, for a signer that can't
|
|
1550
|
+
* perform the SDK's local ECIES/HMAC operations. The SDK keeps session tokens
|
|
1551
|
+
* in plaintext and disables the features that rely on ECIES/HMAC.
|
|
1552
|
+
* @param {Config} config
|
|
1553
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1554
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1555
|
+
* @param {string} storage_dir
|
|
1556
|
+
* @returns {Promise<BreezSdk>}
|
|
1557
|
+
*/
|
|
1558
|
+
export function connectWithSigningOnlySigner(config, breez_signer, spark_signer, storage_dir) {
|
|
1559
|
+
const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1560
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1561
|
+
const ret = wasm.connectWithSigningOnlySigner(config, breez_signer, spark_signer, ptr0, len0);
|
|
1562
|
+
return ret;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1327
1565
|
/**
|
|
1328
1566
|
* Builds the Turnkey-backed signers from `config`, then pass
|
|
1329
1567
|
* `signers.breezSigner` and `signers.sparkSigner` to `connectWithSigner`,
|
|
@@ -1336,6 +1574,19 @@ export function createTurnkeySigner(config) {
|
|
|
1336
1574
|
return ret;
|
|
1337
1575
|
}
|
|
1338
1576
|
|
|
1577
|
+
/**
|
|
1578
|
+
* Builds the signing-only Turnkey-backed signers from `config` (for a wallet
|
|
1579
|
+
* under a deny-export policy), then pass `signers.breezSigner` and
|
|
1580
|
+
* `signers.sparkSigner` to `connectWithSigningOnlySigner`. The Breez half
|
|
1581
|
+
* performs signing only and never exports a key.
|
|
1582
|
+
* @param {TurnkeyConfig} config
|
|
1583
|
+
* @returns {Promise<SigningOnlyExternalSigners>}
|
|
1584
|
+
*/
|
|
1585
|
+
export function createTurnkeySigningOnlySigner(config) {
|
|
1586
|
+
const ret = wasm.createTurnkeySigningOnlySigner(config);
|
|
1587
|
+
return ret;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1339
1590
|
/**
|
|
1340
1591
|
* @param {Network} network
|
|
1341
1592
|
* @returns {Config}
|
|
@@ -1412,6 +1663,24 @@ export function defaultServerConfig(network) {
|
|
|
1412
1663
|
return ret;
|
|
1413
1664
|
}
|
|
1414
1665
|
|
|
1666
|
+
/**
|
|
1667
|
+
* The session store the `config`'s backend provides for `identity` (the wallet
|
|
1668
|
+
* identity public key, hex), as a handle to wrap in a `SessionStore` decorator
|
|
1669
|
+
* and pass to `SdkBuilder.withSessionStore`, keeping the backend's persistence.
|
|
1670
|
+
* A typical use is at-rest encryption, which the SDK does not apply itself.
|
|
1671
|
+
* @param {WasmStorageConfig} config
|
|
1672
|
+
* @param {Network} network
|
|
1673
|
+
* @param {string} identity
|
|
1674
|
+
* @returns {Promise<DefaultSessionStore>}
|
|
1675
|
+
*/
|
|
1676
|
+
export function defaultSessionStore(config, network, identity) {
|
|
1677
|
+
_assertClass(config, WasmStorageConfig);
|
|
1678
|
+
const ptr0 = passStringToWasm0(identity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1679
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1680
|
+
const ret = wasm.defaultSessionStore(config.__wbg_ptr, network, ptr0, len0);
|
|
1681
|
+
return ret;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1415
1684
|
/**
|
|
1416
1685
|
* File-based storage rooted at `storageDir` — IndexedDB in the browser,
|
|
1417
1686
|
* SQLite under Node.js.
|
|
@@ -1851,6 +2120,10 @@ function __wbg_get_imports() {
|
|
|
1851
2120
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1852
2121
|
}
|
|
1853
2122
|
}, arguments); },
|
|
2123
|
+
__wbg_defaultsessionstore_new: function(arg0) {
|
|
2124
|
+
const ret = DefaultSessionStore.__wrap(arg0);
|
|
2125
|
+
return ret;
|
|
2126
|
+
},
|
|
1854
2127
|
__wbg_deleteCachedItem_b8fbe3ebea21ed7e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1855
2128
|
let deferred0_0;
|
|
1856
2129
|
let deferred0_1;
|
|
@@ -1916,6 +2189,18 @@ function __wbg_get_imports() {
|
|
|
1916
2189
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1917
2190
|
}
|
|
1918
2191
|
}, arguments); },
|
|
2192
|
+
__wbg_derivePublicKey_db43f40bd54e092a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2193
|
+
let deferred0_0;
|
|
2194
|
+
let deferred0_1;
|
|
2195
|
+
try {
|
|
2196
|
+
deferred0_0 = arg1;
|
|
2197
|
+
deferred0_1 = arg2;
|
|
2198
|
+
const ret = arg0.derivePublicKey(getStringFromWasm0(arg1, arg2));
|
|
2199
|
+
return ret;
|
|
2200
|
+
} finally {
|
|
2201
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2202
|
+
}
|
|
2203
|
+
}, arguments); },
|
|
1919
2204
|
__wbg_deriveSeeds_5c331613e2894c56: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1920
2205
|
const ret = arg0.deriveSeeds(arg1, arg2);
|
|
1921
2206
|
return ret;
|
|
@@ -2184,6 +2469,10 @@ function __wbg_get_imports() {
|
|
|
2184
2469
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2185
2470
|
}
|
|
2186
2471
|
}, arguments); },
|
|
2472
|
+
__wbg_getVerifiedLeafKeys_12405bb5f39ffb61: function() { return handleError(function (arg0) {
|
|
2473
|
+
const ret = arg0.getVerifiedLeafKeys();
|
|
2474
|
+
return ret;
|
|
2475
|
+
}, arguments); },
|
|
2187
2476
|
__wbg_get_41476db20fef99a8: function() { return handleError(function (arg0, arg1) {
|
|
2188
2477
|
const ret = Reflect.get(arg0, arg1);
|
|
2189
2478
|
return ret;
|
|
@@ -2629,6 +2918,23 @@ function __wbg_get_imports() {
|
|
|
2629
2918
|
const ret = module.require;
|
|
2630
2919
|
return ret;
|
|
2631
2920
|
}, arguments); },
|
|
2921
|
+
__wbg_reserveTokenOutputsByOutpoints_a18be5f9fb4ab30a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2922
|
+
let deferred0_0;
|
|
2923
|
+
let deferred0_1;
|
|
2924
|
+
let deferred1_0;
|
|
2925
|
+
let deferred1_1;
|
|
2926
|
+
try {
|
|
2927
|
+
deferred0_0 = arg1;
|
|
2928
|
+
deferred0_1 = arg2;
|
|
2929
|
+
deferred1_0 = arg4;
|
|
2930
|
+
deferred1_1 = arg5;
|
|
2931
|
+
const ret = arg0.reserveTokenOutputsByOutpoints(getStringFromWasm0(arg1, arg2), arg3, getStringFromWasm0(arg4, arg5));
|
|
2932
|
+
return ret;
|
|
2933
|
+
} finally {
|
|
2934
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2935
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
2936
|
+
}
|
|
2937
|
+
}, arguments); },
|
|
2632
2938
|
__wbg_reserveTokenOutputs_233990fbd0ce963a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2633
2939
|
let deferred0_0;
|
|
2634
2940
|
let deferred0_1;
|
|
@@ -2657,6 +2963,18 @@ function __wbg_get_imports() {
|
|
|
2657
2963
|
const ret = SdkBuilder.__wrap(arg0);
|
|
2658
2964
|
return ret;
|
|
2659
2965
|
},
|
|
2966
|
+
__wbg_selectTokenOutputs_450f20621013b14d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2967
|
+
let deferred0_0;
|
|
2968
|
+
let deferred0_1;
|
|
2969
|
+
try {
|
|
2970
|
+
deferred0_0 = arg1;
|
|
2971
|
+
deferred0_1 = arg2;
|
|
2972
|
+
const ret = arg0.selectTokenOutputs(getStringFromWasm0(arg1, arg2), arg3, arg4, arg5);
|
|
2973
|
+
return ret;
|
|
2974
|
+
} finally {
|
|
2975
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2976
|
+
}
|
|
2977
|
+
}, arguments); },
|
|
2660
2978
|
__wbg_send_0edb796d05cd3239: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2661
2979
|
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
2662
2980
|
}, arguments); },
|
|
@@ -2796,6 +3114,18 @@ function __wbg_get_imports() {
|
|
|
2796
3114
|
const ret = arg0.signAuthenticationChallenge(v0);
|
|
2797
3115
|
return ret;
|
|
2798
3116
|
}, arguments); },
|
|
3117
|
+
__wbg_signEcdsaRecoverable_7a9da0490e388132: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3118
|
+
let deferred0_0;
|
|
3119
|
+
let deferred0_1;
|
|
3120
|
+
try {
|
|
3121
|
+
deferred0_0 = arg2;
|
|
3122
|
+
deferred0_1 = arg3;
|
|
3123
|
+
const ret = arg0.signEcdsaRecoverable(arg1, getStringFromWasm0(arg2, arg3));
|
|
3124
|
+
return ret;
|
|
3125
|
+
} finally {
|
|
3126
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3127
|
+
}
|
|
3128
|
+
}, arguments); },
|
|
2799
3129
|
__wbg_signEcdsaRecoverable_978c5526e66a433b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2800
3130
|
let deferred0_0;
|
|
2801
3131
|
let deferred0_1;
|
|
@@ -2820,10 +3150,36 @@ function __wbg_get_imports() {
|
|
|
2820
3150
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2821
3151
|
}
|
|
2822
3152
|
}, arguments); },
|
|
3153
|
+
__wbg_signEcdsa_89f0abf313463778: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3154
|
+
let deferred0_0;
|
|
3155
|
+
let deferred0_1;
|
|
3156
|
+
try {
|
|
3157
|
+
deferred0_0 = arg2;
|
|
3158
|
+
deferred0_1 = arg3;
|
|
3159
|
+
const ret = arg0.signEcdsa(arg1, getStringFromWasm0(arg2, arg3));
|
|
3160
|
+
return ret;
|
|
3161
|
+
} finally {
|
|
3162
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3163
|
+
}
|
|
3164
|
+
}, arguments); },
|
|
2823
3165
|
__wbg_signFrost_08951e01d00d4b1c: function() { return handleError(function (arg0, arg1) {
|
|
2824
3166
|
const ret = arg0.signFrost(arg1);
|
|
2825
3167
|
return ret;
|
|
2826
3168
|
}, arguments); },
|
|
3169
|
+
__wbg_signHashSchnorr_881022637f4bf583: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3170
|
+
let deferred1_0;
|
|
3171
|
+
let deferred1_1;
|
|
3172
|
+
try {
|
|
3173
|
+
var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
|
|
3174
|
+
wasm.__wbindgen_free(arg1, arg2 * 1, 1);
|
|
3175
|
+
deferred1_0 = arg3;
|
|
3176
|
+
deferred1_1 = arg4;
|
|
3177
|
+
const ret = arg0.signHashSchnorr(v0, getStringFromWasm0(arg3, arg4));
|
|
3178
|
+
return ret;
|
|
3179
|
+
} finally {
|
|
3180
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3181
|
+
}
|
|
3182
|
+
}, arguments); },
|
|
2827
3183
|
__wbg_signHashSchnorr_fc8afda9a7ee021a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2828
3184
|
let deferred1_0;
|
|
2829
3185
|
let deferred1_1;
|
|
@@ -2856,6 +3212,10 @@ function __wbg_get_imports() {
|
|
|
2856
3212
|
const ret = arg0.signal;
|
|
2857
3213
|
return ret;
|
|
2858
3214
|
},
|
|
3215
|
+
__wbg_signingonlyexternalsigners_new: function(arg0) {
|
|
3216
|
+
const ret = SigningOnlyExternalSigners.__wrap(arg0);
|
|
3217
|
+
return ret;
|
|
3218
|
+
},
|
|
2859
3219
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
2860
3220
|
const ret = arg1.stack;
|
|
2861
3221
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2956,6 +3316,18 @@ function __wbg_get_imports() {
|
|
|
2956
3316
|
const ret = arg0.toString();
|
|
2957
3317
|
return ret;
|
|
2958
3318
|
},
|
|
3319
|
+
__wbg_tryReserveLeavesByIds_a6433e824993a82f: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3320
|
+
let deferred0_0;
|
|
3321
|
+
let deferred0_1;
|
|
3322
|
+
try {
|
|
3323
|
+
deferred0_0 = arg2;
|
|
3324
|
+
deferred0_1 = arg3;
|
|
3325
|
+
const ret = arg0.tryReserveLeavesByIds(arg1, getStringFromWasm0(arg2, arg3));
|
|
3326
|
+
return ret;
|
|
3327
|
+
} finally {
|
|
3328
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3329
|
+
}
|
|
3330
|
+
}, arguments); },
|
|
2959
3331
|
__wbg_tryReserveLeaves_d2cd87cbc2a886d2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2960
3332
|
let deferred0_0;
|
|
2961
3333
|
let deferred0_1;
|
|
@@ -2968,6 +3340,10 @@ function __wbg_get_imports() {
|
|
|
2968
3340
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2969
3341
|
}
|
|
2970
3342
|
}, arguments); },
|
|
3343
|
+
__wbg_trySelectLeaves_ff1aeb7ffc5e4e57: function() { return handleError(function (arg0, arg1) {
|
|
3344
|
+
const ret = arg0.trySelectLeaves(arg1);
|
|
3345
|
+
return ret;
|
|
3346
|
+
}, arguments); },
|
|
2971
3347
|
__wbg_updateDeposit_efb96cf6e6fbe7b7: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2972
3348
|
let deferred0_0;
|
|
2973
3349
|
let deferred0_1;
|
|
@@ -3032,61 +3408,61 @@ function __wbg_get_imports() {
|
|
|
3032
3408
|
},
|
|
3033
3409
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3034
3410
|
// 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`.
|
|
3035
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3411
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575);
|
|
3036
3412
|
return ret;
|
|
3037
3413
|
},
|
|
3038
3414
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3039
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3415
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], 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);
|
|
3041
3417
|
return ret;
|
|
3042
3418
|
},
|
|
3043
3419
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3044
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
3420
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], 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_2);
|
|
3046
3422
|
return ret;
|
|
3047
3423
|
},
|
|
3048
3424
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3049
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
3425
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], 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_3);
|
|
3051
3427
|
return ret;
|
|
3052
3428
|
},
|
|
3053
3429
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3054
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
3430
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], 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_4);
|
|
3056
3432
|
return ret;
|
|
3057
3433
|
},
|
|
3058
3434
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3059
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
3435
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 230, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3060
3436
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5);
|
|
3061
3437
|
return ret;
|
|
3062
3438
|
},
|
|
3063
3439
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3064
3440
|
// 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`.
|
|
3065
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3441
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6);
|
|
3066
3442
|
return ret;
|
|
3067
3443
|
},
|
|
3068
3444
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3069
3445
|
// 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`.
|
|
3070
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3446
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7);
|
|
3071
3447
|
return ret;
|
|
3072
3448
|
},
|
|
3073
3449
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3074
3450
|
// 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`.
|
|
3075
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3451
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8);
|
|
3076
3452
|
return ret;
|
|
3077
3453
|
},
|
|
3078
3454
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
3079
3455
|
// 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`.
|
|
3080
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3456
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9);
|
|
3081
3457
|
return ret;
|
|
3082
3458
|
},
|
|
3083
3459
|
__wbindgen_cast_000000000000000b: function(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: 392, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3085
3461
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d6669a7b693932a);
|
|
3086
3462
|
return ret;
|
|
3087
3463
|
},
|
|
3088
3464
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3089
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3465
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 421, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
3090
3466
|
const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0fa3f876e31d2a3e);
|
|
3091
3467
|
return ret;
|
|
3092
3468
|
},
|
|
@@ -3206,36 +3582,36 @@ function wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5(arg0, a
|
|
|
3206
3582
|
wasm.wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5(arg0, arg1, arg2);
|
|
3207
3583
|
}
|
|
3208
3584
|
|
|
3209
|
-
function
|
|
3210
|
-
const ret = wasm.
|
|
3585
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575(arg0, arg1, arg2) {
|
|
3586
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575(arg0, arg1, arg2);
|
|
3211
3587
|
if (ret[1]) {
|
|
3212
3588
|
throw takeFromExternrefTable0(ret[0]);
|
|
3213
3589
|
}
|
|
3214
3590
|
}
|
|
3215
3591
|
|
|
3216
|
-
function
|
|
3217
|
-
const ret = wasm.
|
|
3592
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6(arg0, arg1, arg2) {
|
|
3593
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_6(arg0, arg1, arg2);
|
|
3218
3594
|
if (ret[1]) {
|
|
3219
3595
|
throw takeFromExternrefTable0(ret[0]);
|
|
3220
3596
|
}
|
|
3221
3597
|
}
|
|
3222
3598
|
|
|
3223
|
-
function
|
|
3224
|
-
const ret = wasm.
|
|
3599
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7(arg0, arg1, arg2) {
|
|
3600
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_7(arg0, arg1, arg2);
|
|
3225
3601
|
if (ret[1]) {
|
|
3226
3602
|
throw takeFromExternrefTable0(ret[0]);
|
|
3227
3603
|
}
|
|
3228
3604
|
}
|
|
3229
3605
|
|
|
3230
|
-
function
|
|
3231
|
-
const ret = wasm.
|
|
3606
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8(arg0, arg1, arg2) {
|
|
3607
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_8(arg0, arg1, arg2);
|
|
3232
3608
|
if (ret[1]) {
|
|
3233
3609
|
throw takeFromExternrefTable0(ret[0]);
|
|
3234
3610
|
}
|
|
3235
3611
|
}
|
|
3236
3612
|
|
|
3237
|
-
function
|
|
3238
|
-
const ret = wasm.
|
|
3613
|
+
function wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9(arg0, arg1, arg2) {
|
|
3614
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h21f6855640435575_9(arg0, arg1, arg2);
|
|
3239
3615
|
if (ret[1]) {
|
|
3240
3616
|
throw takeFromExternrefTable0(ret[0]);
|
|
3241
3617
|
}
|
|
@@ -3271,12 +3647,18 @@ const BitcoinChainServiceHandleFinalization = (typeof FinalizationRegistry === '
|
|
|
3271
3647
|
const BreezSdkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3272
3648
|
? { register: () => {}, unregister: () => {} }
|
|
3273
3649
|
: new FinalizationRegistry(ptr => wasm.__wbg_breezsdk_free(ptr, 1));
|
|
3650
|
+
const DefaultSessionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3651
|
+
? { register: () => {}, unregister: () => {} }
|
|
3652
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_defaultsessionstore_free(ptr, 1));
|
|
3274
3653
|
const ExternalBreezSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3275
3654
|
? { register: () => {}, unregister: () => {} }
|
|
3276
3655
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalbreezsignerhandle_free(ptr, 1));
|
|
3277
3656
|
const ExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3278
3657
|
? { register: () => {}, unregister: () => {} }
|
|
3279
3658
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigners_free(ptr, 1));
|
|
3659
|
+
const ExternalSigningSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3660
|
+
? { register: () => {}, unregister: () => {} }
|
|
3661
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigningsignerhandle_free(ptr, 1));
|
|
3280
3662
|
const ExternalSparkSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3281
3663
|
? { register: () => {}, unregister: () => {} }
|
|
3282
3664
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsparksignerhandle_free(ptr, 1));
|
|
@@ -3298,6 +3680,9 @@ const PasskeyLabelsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
3298
3680
|
const SdkBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3299
3681
|
? { register: () => {}, unregister: () => {} }
|
|
3300
3682
|
: new FinalizationRegistry(ptr => wasm.__wbg_sdkbuilder_free(ptr, 1));
|
|
3683
|
+
const SigningOnlyExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3684
|
+
? { register: () => {}, unregister: () => {} }
|
|
3685
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_signingonlyexternalsigners_free(ptr, 1));
|
|
3301
3686
|
const TokenIssuerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3302
3687
|
? { register: () => {}, unregister: () => {} }
|
|
3303
3688
|
: new FinalizationRegistry(ptr => wasm.__wbg_tokenissuer_free(ptr, 1));
|
|
Binary file
|