@breeztech/breez-sdk-spark 0.17.2 → 0.18.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 +66 -0
- package/bundler/breez_sdk_spark_wasm.js +1 -1
- package/bundler/breez_sdk_spark_wasm_bg.js +225 -7
- package/bundler/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/bundler/breez_sdk_spark_wasm_bg.wasm.d.ts +12 -1
- package/deno/breez_sdk_spark_wasm.d.ts +66 -0
- package/deno/breez_sdk_spark_wasm.js +225 -7
- package/deno/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/deno/breez_sdk_spark_wasm_bg.wasm.d.ts +12 -1
- package/nodejs/breez_sdk_spark_wasm.d.ts +66 -0
- package/nodejs/breez_sdk_spark_wasm.js +229 -7
- package/nodejs/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/nodejs/breez_sdk_spark_wasm_bg.wasm.d.ts +12 -1
- package/nodejs/index.mjs +4 -0
- package/package.json +1 -1
- package/ssr/index.js +24 -0
- package/web/breez_sdk_spark_wasm.d.ts +78 -1
- package/web/breez_sdk_spark_wasm.js +225 -7
- package/web/breez_sdk_spark_wasm_bg.wasm +0 -0
- package/web/breez_sdk_spark_wasm_bg.wasm.d.ts +12 -1
|
@@ -616,6 +616,80 @@ class ExternalSigners {
|
|
|
616
616
|
if (Symbol.dispose) ExternalSigners.prototype[Symbol.dispose] = ExternalSigners.prototype.free;
|
|
617
617
|
exports.ExternalSigners = ExternalSigners;
|
|
618
618
|
|
|
619
|
+
/**
|
|
620
|
+
* A Rust-backed [`ExternalSigningSigner`] surfaced to JS as a signer object
|
|
621
|
+
* that can be passed to `connectWithSigningOnlySigner` or
|
|
622
|
+
* `SdkBuilder.newWithSigningOnlySigner`. Produced by
|
|
623
|
+
* `createTurnkeySigningOnlySigner`.
|
|
624
|
+
*
|
|
625
|
+
* [`ExternalSigningSigner`]: breez_sdk_spark::signer::ExternalSigningSigner
|
|
626
|
+
*/
|
|
627
|
+
class ExternalSigningSignerHandle {
|
|
628
|
+
static __wrap(ptr) {
|
|
629
|
+
const obj = Object.create(ExternalSigningSignerHandle.prototype);
|
|
630
|
+
obj.__wbg_ptr = ptr;
|
|
631
|
+
ExternalSigningSignerHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
632
|
+
return obj;
|
|
633
|
+
}
|
|
634
|
+
__destroy_into_raw() {
|
|
635
|
+
const ptr = this.__wbg_ptr;
|
|
636
|
+
this.__wbg_ptr = 0;
|
|
637
|
+
ExternalSigningSignerHandleFinalization.unregister(this);
|
|
638
|
+
return ptr;
|
|
639
|
+
}
|
|
640
|
+
free() {
|
|
641
|
+
const ptr = this.__destroy_into_raw();
|
|
642
|
+
wasm.__wbg_externalsigningsignerhandle_free(ptr, 0);
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* @param {string} path
|
|
646
|
+
* @returns {Promise<PublicKeyBytes>}
|
|
647
|
+
*/
|
|
648
|
+
derivePublicKey(path) {
|
|
649
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
650
|
+
const len0 = WASM_VECTOR_LEN;
|
|
651
|
+
const ret = wasm.externalsigningsignerhandle_derivePublicKey(this.__wbg_ptr, ptr0, len0);
|
|
652
|
+
return ret;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* @param {MessageBytes} message
|
|
656
|
+
* @param {string} path
|
|
657
|
+
* @returns {Promise<EcdsaSignatureBytes>}
|
|
658
|
+
*/
|
|
659
|
+
signEcdsa(message, path) {
|
|
660
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
661
|
+
const len0 = WASM_VECTOR_LEN;
|
|
662
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsa(this.__wbg_ptr, message, ptr0, len0);
|
|
663
|
+
return ret;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* @param {MessageBytes} message
|
|
667
|
+
* @param {string} path
|
|
668
|
+
* @returns {Promise<RecoverableEcdsaSignatureBytes>}
|
|
669
|
+
*/
|
|
670
|
+
signEcdsaRecoverable(message, path) {
|
|
671
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
672
|
+
const len0 = WASM_VECTOR_LEN;
|
|
673
|
+
const ret = wasm.externalsigningsignerhandle_signEcdsaRecoverable(this.__wbg_ptr, message, ptr0, len0);
|
|
674
|
+
return ret;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* @param {Uint8Array} hash
|
|
678
|
+
* @param {string} path
|
|
679
|
+
* @returns {Promise<SchnorrSignatureBytes>}
|
|
680
|
+
*/
|
|
681
|
+
signHashSchnorr(hash, path) {
|
|
682
|
+
const ptr0 = passArray8ToWasm0(hash, wasm.__wbindgen_malloc);
|
|
683
|
+
const len0 = WASM_VECTOR_LEN;
|
|
684
|
+
const ptr1 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
685
|
+
const len1 = WASM_VECTOR_LEN;
|
|
686
|
+
const ret = wasm.externalsigningsignerhandle_signHashSchnorr(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
687
|
+
return ret;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
if (Symbol.dispose) ExternalSigningSignerHandle.prototype[Symbol.dispose] = ExternalSigningSignerHandle.prototype.free;
|
|
691
|
+
exports.ExternalSigningSignerHandle = ExternalSigningSignerHandle;
|
|
692
|
+
|
|
619
693
|
/**
|
|
620
694
|
* A Rust-backed [`ExternalSparkSigner`] surfaced to JS as a signer object that
|
|
621
695
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -1047,6 +1121,20 @@ class SdkBuilder {
|
|
|
1047
1121
|
const ret = wasm.sdkbuilder_newWithSigner(config, breez_signer, spark_signer);
|
|
1048
1122
|
return SdkBuilder.__wrap(ret);
|
|
1049
1123
|
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Creates a new `SdkBuilder` with a signing-only external signer, for a
|
|
1126
|
+
* signer that can't perform the SDK's local ECIES/HMAC operations. The SDK
|
|
1127
|
+
* keeps session tokens in plaintext and disables the features that rely on
|
|
1128
|
+
* ECIES/HMAC.
|
|
1129
|
+
* @param {Config} config
|
|
1130
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1131
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1132
|
+
* @returns {SdkBuilder}
|
|
1133
|
+
*/
|
|
1134
|
+
static newWithSigningOnlySigner(config, breez_signer, spark_signer) {
|
|
1135
|
+
const ret = wasm.sdkbuilder_newWithSigningOnlySigner(config, breez_signer, spark_signer);
|
|
1136
|
+
return SdkBuilder.__wrap(ret);
|
|
1137
|
+
}
|
|
1050
1138
|
/**
|
|
1051
1139
|
* @param {number} account_number
|
|
1052
1140
|
* @returns {SdkBuilder}
|
|
@@ -1185,6 +1273,48 @@ class SdkBuilder {
|
|
|
1185
1273
|
if (Symbol.dispose) SdkBuilder.prototype[Symbol.dispose] = SdkBuilder.prototype.free;
|
|
1186
1274
|
exports.SdkBuilder = SdkBuilder;
|
|
1187
1275
|
|
|
1276
|
+
/**
|
|
1277
|
+
* The signing-only external signers for the SDK's signer-based connect.
|
|
1278
|
+
* Returned by `createTurnkeySigningOnlySigner`; pass both halves to
|
|
1279
|
+
* `connectWithSigningOnlySigner` or `SdkBuilder.newWithSigningOnlySigner`.
|
|
1280
|
+
*/
|
|
1281
|
+
class SigningOnlyExternalSigners {
|
|
1282
|
+
static __wrap(ptr) {
|
|
1283
|
+
const obj = Object.create(SigningOnlyExternalSigners.prototype);
|
|
1284
|
+
obj.__wbg_ptr = ptr;
|
|
1285
|
+
SigningOnlyExternalSignersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1286
|
+
return obj;
|
|
1287
|
+
}
|
|
1288
|
+
__destroy_into_raw() {
|
|
1289
|
+
const ptr = this.__wbg_ptr;
|
|
1290
|
+
this.__wbg_ptr = 0;
|
|
1291
|
+
SigningOnlyExternalSignersFinalization.unregister(this);
|
|
1292
|
+
return ptr;
|
|
1293
|
+
}
|
|
1294
|
+
free() {
|
|
1295
|
+
const ptr = this.__destroy_into_raw();
|
|
1296
|
+
wasm.__wbg_signingonlyexternalsigners_free(ptr, 0);
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Signing-only external signer for non-Spark SDK signing.
|
|
1300
|
+
* @returns {ExternalSigningSignerHandle}
|
|
1301
|
+
*/
|
|
1302
|
+
get breezSigner() {
|
|
1303
|
+
const ret = wasm.signingonlyexternalsigners_breezSigner(this.__wbg_ptr);
|
|
1304
|
+
return ExternalSigningSignerHandle.__wrap(ret);
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* External high-level Spark signer for the Spark wallet flows.
|
|
1308
|
+
* @returns {ExternalSparkSignerHandle}
|
|
1309
|
+
*/
|
|
1310
|
+
get sparkSigner() {
|
|
1311
|
+
const ret = wasm.signingonlyexternalsigners_sparkSigner(this.__wbg_ptr);
|
|
1312
|
+
return ExternalSparkSignerHandle.__wrap(ret);
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
if (Symbol.dispose) SigningOnlyExternalSigners.prototype[Symbol.dispose] = SigningOnlyExternalSigners.prototype.free;
|
|
1316
|
+
exports.SigningOnlyExternalSigners = SigningOnlyExternalSigners;
|
|
1317
|
+
|
|
1188
1318
|
class TokenIssuer {
|
|
1189
1319
|
static __wrap(ptr) {
|
|
1190
1320
|
const obj = Object.create(TokenIssuer.prototype);
|
|
@@ -1340,6 +1470,24 @@ function connectWithSigner(config, breez_signer, spark_signer, storage_dir) {
|
|
|
1340
1470
|
}
|
|
1341
1471
|
exports.connectWithSigner = connectWithSigner;
|
|
1342
1472
|
|
|
1473
|
+
/**
|
|
1474
|
+
* Connects using a signing-only external signer, for a signer that can't
|
|
1475
|
+
* perform the SDK's local ECIES/HMAC operations. The SDK keeps session tokens
|
|
1476
|
+
* in plaintext and disables the features that rely on ECIES/HMAC.
|
|
1477
|
+
* @param {Config} config
|
|
1478
|
+
* @param {ExternalSigningSigner} breez_signer
|
|
1479
|
+
* @param {ExternalSparkSigner} spark_signer
|
|
1480
|
+
* @param {string} storage_dir
|
|
1481
|
+
* @returns {Promise<BreezSdk>}
|
|
1482
|
+
*/
|
|
1483
|
+
function connectWithSigningOnlySigner(config, breez_signer, spark_signer, storage_dir) {
|
|
1484
|
+
const ptr0 = passStringToWasm0(storage_dir, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1485
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1486
|
+
const ret = wasm.connectWithSigningOnlySigner(config, breez_signer, spark_signer, ptr0, len0);
|
|
1487
|
+
return ret;
|
|
1488
|
+
}
|
|
1489
|
+
exports.connectWithSigningOnlySigner = connectWithSigningOnlySigner;
|
|
1490
|
+
|
|
1343
1491
|
/**
|
|
1344
1492
|
* Builds the Turnkey-backed signers from `config`, then pass
|
|
1345
1493
|
* `signers.breezSigner` and `signers.sparkSigner` to `connectWithSigner`,
|
|
@@ -1353,6 +1501,20 @@ function createTurnkeySigner(config) {
|
|
|
1353
1501
|
}
|
|
1354
1502
|
exports.createTurnkeySigner = createTurnkeySigner;
|
|
1355
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* Builds the signing-only Turnkey-backed signers from `config` (for a wallet
|
|
1506
|
+
* under a deny-export policy), then pass `signers.breezSigner` and
|
|
1507
|
+
* `signers.sparkSigner` to `connectWithSigningOnlySigner`. The Breez half
|
|
1508
|
+
* performs signing only and never exports a key.
|
|
1509
|
+
* @param {TurnkeyConfig} config
|
|
1510
|
+
* @returns {Promise<SigningOnlyExternalSigners>}
|
|
1511
|
+
*/
|
|
1512
|
+
function createTurnkeySigningOnlySigner(config) {
|
|
1513
|
+
const ret = wasm.createTurnkeySigningOnlySigner(config);
|
|
1514
|
+
return ret;
|
|
1515
|
+
}
|
|
1516
|
+
exports.createTurnkeySigningOnlySigner = createTurnkeySigningOnlySigner;
|
|
1517
|
+
|
|
1356
1518
|
/**
|
|
1357
1519
|
* @param {Network} network
|
|
1358
1520
|
* @returns {Config}
|
|
@@ -1947,6 +2109,18 @@ function __wbg_get_imports() {
|
|
|
1947
2109
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1948
2110
|
}
|
|
1949
2111
|
}, arguments); },
|
|
2112
|
+
__wbg_derivePublicKey_db43f40bd54e092a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2113
|
+
let deferred0_0;
|
|
2114
|
+
let deferred0_1;
|
|
2115
|
+
try {
|
|
2116
|
+
deferred0_0 = arg1;
|
|
2117
|
+
deferred0_1 = arg2;
|
|
2118
|
+
const ret = arg0.derivePublicKey(getStringFromWasm0(arg1, arg2));
|
|
2119
|
+
return ret;
|
|
2120
|
+
} finally {
|
|
2121
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2122
|
+
}
|
|
2123
|
+
}, arguments); },
|
|
1950
2124
|
__wbg_deriveSeeds_5c331613e2894c56: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1951
2125
|
const ret = arg0.deriveSeeds(arg1, arg2);
|
|
1952
2126
|
return ret;
|
|
@@ -2827,6 +3001,18 @@ function __wbg_get_imports() {
|
|
|
2827
3001
|
const ret = arg0.signAuthenticationChallenge(v0);
|
|
2828
3002
|
return ret;
|
|
2829
3003
|
}, arguments); },
|
|
3004
|
+
__wbg_signEcdsaRecoverable_7a9da0490e388132: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3005
|
+
let deferred0_0;
|
|
3006
|
+
let deferred0_1;
|
|
3007
|
+
try {
|
|
3008
|
+
deferred0_0 = arg2;
|
|
3009
|
+
deferred0_1 = arg3;
|
|
3010
|
+
const ret = arg0.signEcdsaRecoverable(arg1, getStringFromWasm0(arg2, arg3));
|
|
3011
|
+
return ret;
|
|
3012
|
+
} finally {
|
|
3013
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3014
|
+
}
|
|
3015
|
+
}, arguments); },
|
|
2830
3016
|
__wbg_signEcdsaRecoverable_978c5526e66a433b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2831
3017
|
let deferred0_0;
|
|
2832
3018
|
let deferred0_1;
|
|
@@ -2851,10 +3037,36 @@ function __wbg_get_imports() {
|
|
|
2851
3037
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2852
3038
|
}
|
|
2853
3039
|
}, arguments); },
|
|
3040
|
+
__wbg_signEcdsa_89f0abf313463778: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3041
|
+
let deferred0_0;
|
|
3042
|
+
let deferred0_1;
|
|
3043
|
+
try {
|
|
3044
|
+
deferred0_0 = arg2;
|
|
3045
|
+
deferred0_1 = arg3;
|
|
3046
|
+
const ret = arg0.signEcdsa(arg1, getStringFromWasm0(arg2, arg3));
|
|
3047
|
+
return ret;
|
|
3048
|
+
} finally {
|
|
3049
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3050
|
+
}
|
|
3051
|
+
}, arguments); },
|
|
2854
3052
|
__wbg_signFrost_08951e01d00d4b1c: function() { return handleError(function (arg0, arg1) {
|
|
2855
3053
|
const ret = arg0.signFrost(arg1);
|
|
2856
3054
|
return ret;
|
|
2857
3055
|
}, arguments); },
|
|
3056
|
+
__wbg_signHashSchnorr_881022637f4bf583: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3057
|
+
let deferred1_0;
|
|
3058
|
+
let deferred1_1;
|
|
3059
|
+
try {
|
|
3060
|
+
var v0 = getArrayU8FromWasm0(arg1, arg2).slice();
|
|
3061
|
+
wasm.__wbindgen_free(arg1, arg2 * 1, 1);
|
|
3062
|
+
deferred1_0 = arg3;
|
|
3063
|
+
deferred1_1 = arg4;
|
|
3064
|
+
const ret = arg0.signHashSchnorr(v0, getStringFromWasm0(arg3, arg4));
|
|
3065
|
+
return ret;
|
|
3066
|
+
} finally {
|
|
3067
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3068
|
+
}
|
|
3069
|
+
}, arguments); },
|
|
2858
3070
|
__wbg_signHashSchnorr_fc8afda9a7ee021a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2859
3071
|
let deferred1_0;
|
|
2860
3072
|
let deferred1_1;
|
|
@@ -2887,6 +3099,10 @@ function __wbg_get_imports() {
|
|
|
2887
3099
|
const ret = arg0.signal;
|
|
2888
3100
|
return ret;
|
|
2889
3101
|
},
|
|
3102
|
+
__wbg_signingonlyexternalsigners_new: function(arg0) {
|
|
3103
|
+
const ret = SigningOnlyExternalSigners.__wrap(arg0);
|
|
3104
|
+
return ret;
|
|
3105
|
+
},
|
|
2890
3106
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
2891
3107
|
const ret = arg1.stack;
|
|
2892
3108
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3067,27 +3283,27 @@ function __wbg_get_imports() {
|
|
|
3067
3283
|
return ret;
|
|
3068
3284
|
},
|
|
3069
3285
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3070
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3286
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 219, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3071
3287
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2);
|
|
3072
3288
|
return ret;
|
|
3073
3289
|
},
|
|
3074
3290
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3075
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
3291
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 219, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3076
3292
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_2);
|
|
3077
3293
|
return ret;
|
|
3078
3294
|
},
|
|
3079
3295
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3080
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
3296
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 219, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3081
3297
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_3);
|
|
3082
3298
|
return ret;
|
|
3083
3299
|
},
|
|
3084
3300
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3085
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
3301
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 219, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3086
3302
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_4);
|
|
3087
3303
|
return ret;
|
|
3088
3304
|
},
|
|
3089
3305
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3090
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
3306
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 219, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3091
3307
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3120db8c4a8a92b2_5);
|
|
3092
3308
|
return ret;
|
|
3093
3309
|
},
|
|
@@ -3112,12 +3328,12 @@ function __wbg_get_imports() {
|
|
|
3112
3328
|
return ret;
|
|
3113
3329
|
},
|
|
3114
3330
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
3115
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3331
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3116
3332
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d6669a7b693932a);
|
|
3117
3333
|
return ret;
|
|
3118
3334
|
},
|
|
3119
3335
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3120
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3336
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 422, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
3121
3337
|
const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0fa3f876e31d2a3e);
|
|
3122
3338
|
return ret;
|
|
3123
3339
|
},
|
|
@@ -3308,6 +3524,9 @@ const ExternalBreezSignerHandleFinalization = (typeof FinalizationRegistry === '
|
|
|
3308
3524
|
const ExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3309
3525
|
? { register: () => {}, unregister: () => {} }
|
|
3310
3526
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigners_free(ptr, 1));
|
|
3527
|
+
const ExternalSigningSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3528
|
+
? { register: () => {}, unregister: () => {} }
|
|
3529
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_externalsigningsignerhandle_free(ptr, 1));
|
|
3311
3530
|
const ExternalSparkSignerHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3312
3531
|
? { register: () => {}, unregister: () => {} }
|
|
3313
3532
|
: new FinalizationRegistry(ptr => wasm.__wbg_externalsparksignerhandle_free(ptr, 1));
|
|
@@ -3329,6 +3548,9 @@ const PasskeyLabelsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
3329
3548
|
const SdkBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3330
3549
|
? { register: () => {}, unregister: () => {} }
|
|
3331
3550
|
: new FinalizationRegistry(ptr => wasm.__wbg_sdkbuilder_free(ptr, 1));
|
|
3551
|
+
const SigningOnlyExternalSignersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3552
|
+
? { register: () => {}, unregister: () => {} }
|
|
3553
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_signingonlyexternalsigners_free(ptr, 1));
|
|
3332
3554
|
const TokenIssuerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3333
3555
|
? { register: () => {}, unregister: () => {} }
|
|
3334
3556
|
: new FinalizationRegistry(ptr => wasm.__wbg_tokenissuer_free(ptr, 1));
|
|
Binary file
|
|
@@ -63,7 +63,9 @@ export const breezsdk_updateContact: (a: number, b: any) => any;
|
|
|
63
63
|
export const breezsdk_updateUserSettings: (a: number, b: any) => any;
|
|
64
64
|
export const connect: (a: any) => any;
|
|
65
65
|
export const connectWithSigner: (a: any, b: any, c: any, d: number, e: number) => any;
|
|
66
|
+
export const connectWithSigningOnlySigner: (a: any, b: any, c: any, d: number, e: number) => any;
|
|
66
67
|
export const createTurnkeySigner: (a: any) => any;
|
|
68
|
+
export const createTurnkeySigningOnlySigner: (a: any) => any;
|
|
67
69
|
export const defaultConfig: (a: any) => any;
|
|
68
70
|
export const defaultExternalSigners: (a: number, b: number, c: number, d: number, e: any, f: number) => [number, number, number];
|
|
69
71
|
export const defaultMysqlStorageConfig: (a: number, b: number) => any;
|
|
@@ -79,6 +81,10 @@ export const externalbreezsignerhandle_signEcdsaRecoverable: (a: number, b: any,
|
|
|
79
81
|
export const externalbreezsignerhandle_signHashSchnorr: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
80
82
|
export const externalsigners_breezSigner: (a: number) => number;
|
|
81
83
|
export const externalsigners_sparkSigner: (a: number) => number;
|
|
84
|
+
export const externalsigningsignerhandle_derivePublicKey: (a: number, b: number, c: number) => any;
|
|
85
|
+
export const externalsigningsignerhandle_signEcdsa: (a: number, b: any, c: number, d: number) => any;
|
|
86
|
+
export const externalsigningsignerhandle_signEcdsaRecoverable: (a: number, b: any, c: number, d: number) => any;
|
|
87
|
+
export const externalsigningsignerhandle_signHashSchnorr: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
82
88
|
export const externalsparksignerhandle_getIdentityPublicKey: (a: number) => any;
|
|
83
89
|
export const externalsparksignerhandle_getPublicKeyForLeaf: (a: number, b: any) => any;
|
|
84
90
|
export const externalsparksignerhandle_getStaticDepositPublicKey: (a: number, b: number) => any;
|
|
@@ -110,6 +116,7 @@ export const postgresStorage: (a: any) => number;
|
|
|
110
116
|
export const sdkbuilder_build: (a: number) => any;
|
|
111
117
|
export const sdkbuilder_new: (a: any, b: any) => number;
|
|
112
118
|
export const sdkbuilder_newWithSigner: (a: any, b: any, c: any) => number;
|
|
119
|
+
export const sdkbuilder_newWithSigningOnlySigner: (a: any, b: any, c: any) => number;
|
|
113
120
|
export const sdkbuilder_withAccountNumber: (a: number, b: number) => number;
|
|
114
121
|
export const sdkbuilder_withChainService: (a: number, b: any) => number;
|
|
115
122
|
export const sdkbuilder_withDefaultStorage: (a: number, b: number, c: number) => any;
|
|
@@ -148,8 +155,12 @@ export const intounderlyingsink_close: (a: number) => any;
|
|
|
148
155
|
export const intounderlyingsink_write: (a: number, b: any) => any;
|
|
149
156
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
150
157
|
export const intounderlyingsource_pull: (a: number, b: any) => any;
|
|
151
|
-
export const __wbg_externalsparksignerhandle_free: (a: number, b: number) => void;
|
|
152
158
|
export const __wbg_externalbreezsignerhandle_free: (a: number, b: number) => void;
|
|
159
|
+
export const __wbg_externalsparksignerhandle_free: (a: number, b: number) => void;
|
|
160
|
+
export const __wbg_externalsigningsignerhandle_free: (a: number, b: number) => void;
|
|
161
|
+
export const __wbg_signingonlyexternalsigners_free: (a: number, b: number) => void;
|
|
162
|
+
export const signingonlyexternalsigners_breezSigner: (a: number) => number;
|
|
163
|
+
export const signingonlyexternalsigners_sparkSigner: (a: number) => number;
|
|
153
164
|
export const wasm_bindgen__convert__closures_____invoke__h38afe039e8450492: (a: number, b: number, c: any) => [number, number];
|
|
154
165
|
export const wasm_bindgen__convert__closures_____invoke__h38afe039e8450492_6: (a: number, b: number, c: any) => [number, number];
|
|
155
166
|
export const wasm_bindgen__convert__closures_____invoke__h38afe039e8450492_7: (a: number, b: number, c: any) => [number, number];
|
package/nodejs/index.mjs
CHANGED
|
@@ -6,7 +6,9 @@ import pkg from './index.js';
|
|
|
6
6
|
export const {
|
|
7
7
|
connect,
|
|
8
8
|
connectWithSigner,
|
|
9
|
+
connectWithSigningOnlySigner,
|
|
9
10
|
createTurnkeySigner,
|
|
11
|
+
createTurnkeySigningOnlySigner,
|
|
10
12
|
defaultConfig,
|
|
11
13
|
defaultExternalSigners,
|
|
12
14
|
defaultMysqlStorageConfig,
|
|
@@ -25,6 +27,7 @@ export const {
|
|
|
25
27
|
BreezSdk,
|
|
26
28
|
ExternalBreezSignerHandle,
|
|
27
29
|
ExternalSigners,
|
|
30
|
+
ExternalSigningSignerHandle,
|
|
28
31
|
ExternalSparkSignerHandle,
|
|
29
32
|
IntoUnderlyingByteSource,
|
|
30
33
|
IntoUnderlyingSink,
|
|
@@ -32,6 +35,7 @@ export const {
|
|
|
32
35
|
PasskeyClient,
|
|
33
36
|
PasskeyLabels,
|
|
34
37
|
SdkBuilder,
|
|
38
|
+
SigningOnlyExternalSigners,
|
|
35
39
|
TokenIssuer,
|
|
36
40
|
WasmSdkContext,
|
|
37
41
|
WasmStorageConfig,
|
package/package.json
CHANGED
package/ssr/index.js
CHANGED
|
@@ -33,11 +33,21 @@ export function connectWithSigner(...args) {
|
|
|
33
33
|
return _module.connectWithSigner(...args);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
export function connectWithSigningOnlySigner(...args) {
|
|
37
|
+
if (!_module) _notInitialized('connectWithSigningOnlySigner');
|
|
38
|
+
return _module.connectWithSigningOnlySigner(...args);
|
|
39
|
+
}
|
|
40
|
+
|
|
36
41
|
export function createTurnkeySigner(...args) {
|
|
37
42
|
if (!_module) _notInitialized('createTurnkeySigner');
|
|
38
43
|
return _module.createTurnkeySigner(...args);
|
|
39
44
|
}
|
|
40
45
|
|
|
46
|
+
export function createTurnkeySigningOnlySigner(...args) {
|
|
47
|
+
if (!_module) _notInitialized('createTurnkeySigningOnlySigner');
|
|
48
|
+
return _module.createTurnkeySigningOnlySigner(...args);
|
|
49
|
+
}
|
|
50
|
+
|
|
41
51
|
export function defaultConfig(...args) {
|
|
42
52
|
if (!_module) _notInitialized('defaultConfig');
|
|
43
53
|
return _module.defaultConfig(...args);
|
|
@@ -141,6 +151,13 @@ export class ExternalSigners {
|
|
|
141
151
|
}
|
|
142
152
|
}
|
|
143
153
|
|
|
154
|
+
export class ExternalSigningSignerHandle {
|
|
155
|
+
constructor(...args) {
|
|
156
|
+
if (!_module) _notInitialized('new ExternalSigningSignerHandle');
|
|
157
|
+
return new _module.ExternalSigningSignerHandle(...args);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
144
161
|
export class ExternalSparkSignerHandle {
|
|
145
162
|
constructor(...args) {
|
|
146
163
|
if (!_module) _notInitialized('new ExternalSparkSignerHandle');
|
|
@@ -190,6 +207,13 @@ export class SdkBuilder {
|
|
|
190
207
|
}
|
|
191
208
|
}
|
|
192
209
|
|
|
210
|
+
export class SigningOnlyExternalSigners {
|
|
211
|
+
constructor(...args) {
|
|
212
|
+
if (!_module) _notInitialized('new SigningOnlyExternalSigners');
|
|
213
|
+
return new _module.SigningOnlyExternalSigners(...args);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
193
217
|
export class TokenIssuer {
|
|
194
218
|
constructor(...args) {
|
|
195
219
|
if (!_module) _notInitialized('new TokenIssuer');
|
|
@@ -886,6 +886,13 @@ export interface ExternalSigningCommitments {
|
|
|
886
886
|
binding: number[];
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
+
export interface ExternalSigningSigner {
|
|
890
|
+
derivePublicKey(path: string): Promise<PublicKeyBytes>;
|
|
891
|
+
signEcdsa(message: MessageBytes, path: string): Promise<EcdsaSignatureBytes>;
|
|
892
|
+
signEcdsaRecoverable(message: MessageBytes, path: string): Promise<RecoverableEcdsaSignatureBytes>;
|
|
893
|
+
signHashSchnorr(hash: Uint8Array, path: string): Promise<SchnorrSignatureBytes>;
|
|
894
|
+
}
|
|
895
|
+
|
|
889
896
|
export interface ExternalSparkSigner {
|
|
890
897
|
getIdentityPublicKey(): Promise<PublicKeyBytes>;
|
|
891
898
|
getPublicKeyForLeaf(leafId: ExternalTreeNodeId): Promise<PublicKeyBytes>;
|
|
@@ -1885,6 +1892,24 @@ export class ExternalSigners {
|
|
|
1885
1892
|
readonly sparkSigner: ExternalSparkSignerHandle;
|
|
1886
1893
|
}
|
|
1887
1894
|
|
|
1895
|
+
/**
|
|
1896
|
+
* A Rust-backed [`ExternalSigningSigner`] surfaced to JS as a signer object
|
|
1897
|
+
* that can be passed to `connectWithSigningOnlySigner` or
|
|
1898
|
+
* `SdkBuilder.newWithSigningOnlySigner`. Produced by
|
|
1899
|
+
* `createTurnkeySigningOnlySigner`.
|
|
1900
|
+
*
|
|
1901
|
+
* [`ExternalSigningSigner`]: breez_sdk_spark::signer::ExternalSigningSigner
|
|
1902
|
+
*/
|
|
1903
|
+
export class ExternalSigningSignerHandle {
|
|
1904
|
+
private constructor();
|
|
1905
|
+
free(): void;
|
|
1906
|
+
[Symbol.dispose](): void;
|
|
1907
|
+
derivePublicKey(path: string): Promise<PublicKeyBytes>;
|
|
1908
|
+
signEcdsa(message: MessageBytes, path: string): Promise<EcdsaSignatureBytes>;
|
|
1909
|
+
signEcdsaRecoverable(message: MessageBytes, path: string): Promise<RecoverableEcdsaSignatureBytes>;
|
|
1910
|
+
signHashSchnorr(hash: Uint8Array, path: string): Promise<SchnorrSignatureBytes>;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1888
1913
|
/**
|
|
1889
1914
|
* A Rust-backed [`ExternalSparkSigner`] surfaced to JS as a signer object that
|
|
1890
1915
|
* can be passed to `connectWithSigner` or `SdkBuilder.newWithSigner`. Produced
|
|
@@ -2004,6 +2029,13 @@ export class SdkBuilder {
|
|
|
2004
2029
|
build(): Promise<BreezSdk>;
|
|
2005
2030
|
static new(config: Config, seed: Seed): SdkBuilder;
|
|
2006
2031
|
static newWithSigner(config: Config, breez_signer: ExternalBreezSigner, spark_signer: ExternalSparkSigner): SdkBuilder;
|
|
2032
|
+
/**
|
|
2033
|
+
* Creates a new `SdkBuilder` with a signing-only external signer, for a
|
|
2034
|
+
* signer that can't perform the SDK's local ECIES/HMAC operations. The SDK
|
|
2035
|
+
* keeps session tokens in plaintext and disables the features that rely on
|
|
2036
|
+
* ECIES/HMAC.
|
|
2037
|
+
*/
|
|
2038
|
+
static newWithSigningOnlySigner(config: Config, breez_signer: ExternalSigningSigner, spark_signer: ExternalSparkSigner): SdkBuilder;
|
|
2007
2039
|
withAccountNumber(account_number: number): SdkBuilder;
|
|
2008
2040
|
withChainService(chain_service: BitcoinChainService): SdkBuilder;
|
|
2009
2041
|
withDefaultStorage(storage_dir: string): Promise<SdkBuilder>;
|
|
@@ -2037,6 +2069,25 @@ export class SdkBuilder {
|
|
|
2037
2069
|
withStorageBackend(config: WasmStorageConfig): SdkBuilder;
|
|
2038
2070
|
}
|
|
2039
2071
|
|
|
2072
|
+
/**
|
|
2073
|
+
* The signing-only external signers for the SDK's signer-based connect.
|
|
2074
|
+
* Returned by `createTurnkeySigningOnlySigner`; pass both halves to
|
|
2075
|
+
* `connectWithSigningOnlySigner` or `SdkBuilder.newWithSigningOnlySigner`.
|
|
2076
|
+
*/
|
|
2077
|
+
export class SigningOnlyExternalSigners {
|
|
2078
|
+
private constructor();
|
|
2079
|
+
free(): void;
|
|
2080
|
+
[Symbol.dispose](): void;
|
|
2081
|
+
/**
|
|
2082
|
+
* Signing-only external signer for non-Spark SDK signing.
|
|
2083
|
+
*/
|
|
2084
|
+
readonly breezSigner: ExternalSigningSignerHandle;
|
|
2085
|
+
/**
|
|
2086
|
+
* External high-level Spark signer for the Spark wallet flows.
|
|
2087
|
+
*/
|
|
2088
|
+
readonly sparkSigner: ExternalSparkSignerHandle;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2040
2091
|
export class TokenIssuer {
|
|
2041
2092
|
private constructor();
|
|
2042
2093
|
free(): void;
|
|
@@ -2079,6 +2130,13 @@ export function connect(request: ConnectRequest): Promise<BreezSdk>;
|
|
|
2079
2130
|
|
|
2080
2131
|
export function connectWithSigner(config: Config, breez_signer: ExternalBreezSigner, spark_signer: ExternalSparkSigner, storage_dir: string): Promise<BreezSdk>;
|
|
2081
2132
|
|
|
2133
|
+
/**
|
|
2134
|
+
* Connects using a signing-only external signer, for a signer that can't
|
|
2135
|
+
* perform the SDK's local ECIES/HMAC operations. The SDK keeps session tokens
|
|
2136
|
+
* in plaintext and disables the features that rely on ECIES/HMAC.
|
|
2137
|
+
*/
|
|
2138
|
+
export function connectWithSigningOnlySigner(config: Config, breez_signer: ExternalSigningSigner, spark_signer: ExternalSparkSigner, storage_dir: string): Promise<BreezSdk>;
|
|
2139
|
+
|
|
2082
2140
|
/**
|
|
2083
2141
|
* Builds the Turnkey-backed signers from `config`, then pass
|
|
2084
2142
|
* `signers.breezSigner` and `signers.sparkSigner` to `connectWithSigner`,
|
|
@@ -2086,6 +2144,14 @@ export function connectWithSigner(config: Config, breez_signer: ExternalBreezSig
|
|
|
2086
2144
|
*/
|
|
2087
2145
|
export function createTurnkeySigner(config: TurnkeyConfig): Promise<ExternalSigners>;
|
|
2088
2146
|
|
|
2147
|
+
/**
|
|
2148
|
+
* Builds the signing-only Turnkey-backed signers from `config` (for a wallet
|
|
2149
|
+
* under a deny-export policy), then pass `signers.breezSigner` and
|
|
2150
|
+
* `signers.sparkSigner` to `connectWithSigningOnlySigner`. The Breez half
|
|
2151
|
+
* performs signing only and never exports a key.
|
|
2152
|
+
*/
|
|
2153
|
+
export function createTurnkeySigningOnlySigner(config: TurnkeyConfig): Promise<SigningOnlyExternalSigners>;
|
|
2154
|
+
|
|
2089
2155
|
export function defaultConfig(network: Network): Config;
|
|
2090
2156
|
|
|
2091
2157
|
/**
|
|
@@ -2234,7 +2300,9 @@ export interface InitOutput {
|
|
|
2234
2300
|
readonly breezsdk_updateUserSettings: (a: number, b: any) => any;
|
|
2235
2301
|
readonly connect: (a: any) => any;
|
|
2236
2302
|
readonly connectWithSigner: (a: any, b: any, c: any, d: number, e: number) => any;
|
|
2303
|
+
readonly connectWithSigningOnlySigner: (a: any, b: any, c: any, d: number, e: number) => any;
|
|
2237
2304
|
readonly createTurnkeySigner: (a: any) => any;
|
|
2305
|
+
readonly createTurnkeySigningOnlySigner: (a: any) => any;
|
|
2238
2306
|
readonly defaultConfig: (a: any) => any;
|
|
2239
2307
|
readonly defaultExternalSigners: (a: number, b: number, c: number, d: number, e: any, f: number) => [number, number, number];
|
|
2240
2308
|
readonly defaultMysqlStorageConfig: (a: number, b: number) => any;
|
|
@@ -2250,6 +2318,10 @@ export interface InitOutput {
|
|
|
2250
2318
|
readonly externalbreezsignerhandle_signHashSchnorr: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
2251
2319
|
readonly externalsigners_breezSigner: (a: number) => number;
|
|
2252
2320
|
readonly externalsigners_sparkSigner: (a: number) => number;
|
|
2321
|
+
readonly externalsigningsignerhandle_derivePublicKey: (a: number, b: number, c: number) => any;
|
|
2322
|
+
readonly externalsigningsignerhandle_signEcdsa: (a: number, b: any, c: number, d: number) => any;
|
|
2323
|
+
readonly externalsigningsignerhandle_signEcdsaRecoverable: (a: number, b: any, c: number, d: number) => any;
|
|
2324
|
+
readonly externalsigningsignerhandle_signHashSchnorr: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
2253
2325
|
readonly externalsparksignerhandle_getIdentityPublicKey: (a: number) => any;
|
|
2254
2326
|
readonly externalsparksignerhandle_getPublicKeyForLeaf: (a: number, b: any) => any;
|
|
2255
2327
|
readonly externalsparksignerhandle_getStaticDepositPublicKey: (a: number, b: number) => any;
|
|
@@ -2281,6 +2353,7 @@ export interface InitOutput {
|
|
|
2281
2353
|
readonly sdkbuilder_build: (a: number) => any;
|
|
2282
2354
|
readonly sdkbuilder_new: (a: any, b: any) => number;
|
|
2283
2355
|
readonly sdkbuilder_newWithSigner: (a: any, b: any, c: any) => number;
|
|
2356
|
+
readonly sdkbuilder_newWithSigningOnlySigner: (a: any, b: any, c: any) => number;
|
|
2284
2357
|
readonly sdkbuilder_withAccountNumber: (a: number, b: number) => number;
|
|
2285
2358
|
readonly sdkbuilder_withChainService: (a: number, b: any) => number;
|
|
2286
2359
|
readonly sdkbuilder_withDefaultStorage: (a: number, b: number, c: number) => any;
|
|
@@ -2319,8 +2392,12 @@ export interface InitOutput {
|
|
|
2319
2392
|
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
2320
2393
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
2321
2394
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
2322
|
-
readonly __wbg_externalsparksignerhandle_free: (a: number, b: number) => void;
|
|
2323
2395
|
readonly __wbg_externalbreezsignerhandle_free: (a: number, b: number) => void;
|
|
2396
|
+
readonly __wbg_externalsparksignerhandle_free: (a: number, b: number) => void;
|
|
2397
|
+
readonly __wbg_externalsigningsignerhandle_free: (a: number, b: number) => void;
|
|
2398
|
+
readonly __wbg_signingonlyexternalsigners_free: (a: number, b: number) => void;
|
|
2399
|
+
readonly signingonlyexternalsigners_breezSigner: (a: number) => number;
|
|
2400
|
+
readonly signingonlyexternalsigners_sparkSigner: (a: number) => number;
|
|
2324
2401
|
readonly wasm_bindgen__convert__closures_____invoke__h38afe039e8450492: (a: number, b: number, c: any) => [number, number];
|
|
2325
2402
|
readonly wasm_bindgen__convert__closures_____invoke__h38afe039e8450492_6: (a: number, b: number, c: any) => [number, number];
|
|
2326
2403
|
readonly wasm_bindgen__convert__closures_____invoke__h38afe039e8450492_7: (a: number, b: number, c: any) => [number, number];
|