@miden-sdk/miden-sdk 0.14.3 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -0
- package/dist/{Cargo-DanGI-a8.js → Cargo-Bwjf7IkR.js} +134 -80
- package/dist/Cargo-Bwjf7IkR.js.map +1 -0
- package/dist/api-types.d.ts +33 -0
- package/dist/assets/miden_client_web.wasm +0 -0
- package/dist/crates/miden_client_web.d.ts +47 -3
- package/dist/eager.js +35 -0
- package/dist/eager.js.map +1 -0
- package/dist/index.js +327 -126
- package/dist/index.js.map +1 -1
- package/dist/wasm.js +1 -1
- package/dist/workers/{Cargo-DanGI-a8-DD61BgkT.js → Cargo-Bwjf7IkR-Cz54YuXA.js} +134 -80
- package/dist/workers/Cargo-Bwjf7IkR-Cz54YuXA.js.map +1 -0
- package/dist/workers/assets/miden_client_web.wasm +0 -0
- package/dist/workers/web-client-methods-worker.js +147 -89
- package/dist/workers/web-client-methods-worker.js.map +1 -1
- package/dist/workers/web-client-methods-worker.module.js +13 -9
- package/dist/workers/web-client-methods-worker.module.js.map +1 -1
- package/package.json +11 -4
- package/dist/Cargo-DanGI-a8.js.map +0 -1
- package/dist/workers/Cargo-DanGI-a8-DD61BgkT.js.map +0 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
async function loadWasm() {
|
|
6
6
|
let wasmModule;
|
|
7
7
|
if (!undefined || (undefined && !undefined.SSR)) {
|
|
8
|
-
wasmModule = await Promise.resolve().then(function () { return
|
|
8
|
+
wasmModule = await Promise.resolve().then(function () { return CargoBwjf7IkR; });
|
|
9
9
|
// The Cargo glue's __wbg_init TLA is stripped by the rollup build to
|
|
10
10
|
// prevent blocking WKWebView module evaluation. Call it explicitly here
|
|
11
11
|
// with the WASM URL that the Cargo glue pre-resolves (relative to its
|
|
@@ -250,12 +250,14 @@ const methodHandlers = {
|
|
|
250
250
|
|
|
251
251
|
const prover = proverPayload
|
|
252
252
|
? wasm.TransactionProver.deserialize(proverPayload)
|
|
253
|
-
:
|
|
254
|
-
|
|
255
|
-
const proven =
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
: null;
|
|
254
|
+
|
|
255
|
+
const proven = prover
|
|
256
|
+
? await wasmWebClient.proveTransactionWithProver(
|
|
257
|
+
transactionResult,
|
|
258
|
+
prover
|
|
259
|
+
)
|
|
260
|
+
: await wasmWebClient.proveTransaction(transactionResult);
|
|
259
261
|
const serializedProven = proven.serialize();
|
|
260
262
|
return serializedProven.buffer;
|
|
261
263
|
},
|
|
@@ -308,7 +310,7 @@ const methodHandlers = {
|
|
|
308
310
|
// Deserialize the prover from the serialized payload
|
|
309
311
|
const prover = proverPayload
|
|
310
312
|
? wasm.TransactionProver.deserialize(proverPayload)
|
|
311
|
-
:
|
|
313
|
+
: null;
|
|
312
314
|
|
|
313
315
|
const result = await wasmWebClient.executeTransaction(
|
|
314
316
|
accountId,
|
|
@@ -317,7 +319,9 @@ const methodHandlers = {
|
|
|
317
319
|
|
|
318
320
|
const transactionId = result.id().toHex();
|
|
319
321
|
|
|
320
|
-
const proven =
|
|
322
|
+
const proven = prover
|
|
323
|
+
? await wasmWebClient.proveTransactionWithProver(result, prover)
|
|
324
|
+
: await wasmWebClient.proveTransaction(result);
|
|
321
325
|
const submissionHeight = await wasmWebClient.submitProvenTransaction(
|
|
322
326
|
proven,
|
|
323
327
|
result
|
|
@@ -12770,6 +12774,19 @@ class BlockHeader {
|
|
|
12770
12774
|
const ret = wasm.blockheader_commitment(this.__wbg_ptr);
|
|
12771
12775
|
return Word.__wrap(ret);
|
|
12772
12776
|
}
|
|
12777
|
+
/**
|
|
12778
|
+
* Returns the account ID of the fungible faucet whose assets are accepted as the native
|
|
12779
|
+
* asset of the blockchain (i.e. the asset used for paying transaction verification fees).
|
|
12780
|
+
*
|
|
12781
|
+
* This is stored on-chain as part of the block's fee parameters, which means consumers can
|
|
12782
|
+
* discover the native faucet by reading any block header rather than hardcoding it per
|
|
12783
|
+
* network.
|
|
12784
|
+
* @returns {AccountId}
|
|
12785
|
+
*/
|
|
12786
|
+
nativeAssetId() {
|
|
12787
|
+
const ret = wasm.blockheader_nativeAssetId(this.__wbg_ptr);
|
|
12788
|
+
return AccountId.__wrap(ret);
|
|
12789
|
+
}
|
|
12773
12790
|
/**
|
|
12774
12791
|
* Returns the note commitment root.
|
|
12775
12792
|
* @returns {Word}
|
|
@@ -21886,6 +21903,35 @@ class WebClient {
|
|
|
21886
21903
|
}
|
|
21887
21904
|
return WebKeystoreApi.__wrap(ret[0]);
|
|
21888
21905
|
}
|
|
21906
|
+
/**
|
|
21907
|
+
* Returns the raw JS value that the most recent sign-callback invocation
|
|
21908
|
+
* threw, or `null` if the last sign call succeeded (or no call has
|
|
21909
|
+
* happened yet).
|
|
21910
|
+
*
|
|
21911
|
+
* Combined with the serialized-call discipline enforced at the JS
|
|
21912
|
+
* `WebClient` wrapper, this lets a caller that caught a failed
|
|
21913
|
+
* `executeTransaction` / `submitNewTransaction` recover the original
|
|
21914
|
+
* JS error the signing callback threw — preserving any structured
|
|
21915
|
+
* metadata (e.g. a `reason: 'locked'` property) that the kernel-level
|
|
21916
|
+
* `auth::request` diagnostic would otherwise have erased.
|
|
21917
|
+
*
|
|
21918
|
+
* # Usage (TS)
|
|
21919
|
+
* ```ts
|
|
21920
|
+
* try {
|
|
21921
|
+
* await client.submitNewTransaction(acc, req);
|
|
21922
|
+
* } catch (e) {
|
|
21923
|
+
* const authErr = client.lastAuthError();
|
|
21924
|
+
* if (authErr && authErr.reason === 'locked') {
|
|
21925
|
+
* // wait for unlock, then retry
|
|
21926
|
+
* }
|
|
21927
|
+
* }
|
|
21928
|
+
* ```
|
|
21929
|
+
* @returns {any}
|
|
21930
|
+
*/
|
|
21931
|
+
lastAuthError() {
|
|
21932
|
+
const ret = wasm.webclient_lastAuthError(this.__wbg_ptr);
|
|
21933
|
+
return ret;
|
|
21934
|
+
}
|
|
21889
21935
|
/**
|
|
21890
21936
|
* Returns all the existing setting keys from the store.
|
|
21891
21937
|
* @returns {Promise<string[]>}
|
|
@@ -22038,20 +22084,32 @@ class WebClient {
|
|
|
22038
22084
|
}
|
|
22039
22085
|
}
|
|
22040
22086
|
/**
|
|
22041
|
-
* Generates a transaction proof using
|
|
22042
|
-
* prover if none is supplied.
|
|
22087
|
+
* Generates a transaction proof using the client's default (local) prover.
|
|
22043
22088
|
* @param {TransactionResult} transaction_result
|
|
22044
|
-
* @param {TransactionProver | null} [prover]
|
|
22045
22089
|
* @returns {Promise<ProvenTransaction>}
|
|
22046
22090
|
*/
|
|
22047
|
-
proveTransaction(transaction_result
|
|
22091
|
+
proveTransaction(transaction_result) {
|
|
22048
22092
|
_assertClass(transaction_result, TransactionResult);
|
|
22049
|
-
|
|
22050
|
-
|
|
22051
|
-
|
|
22052
|
-
|
|
22053
|
-
|
|
22054
|
-
|
|
22093
|
+
const ret = wasm.webclient_proveTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr);
|
|
22094
|
+
return ret;
|
|
22095
|
+
}
|
|
22096
|
+
/**
|
|
22097
|
+
* Generates a transaction proof using the provided prover.
|
|
22098
|
+
*
|
|
22099
|
+
* Takes the prover by reference so the JS-side handle is NOT consumed
|
|
22100
|
+
* by wasm-bindgen. Taking `TransactionProver` by value would transfer
|
|
22101
|
+
* ownership on each call, invalidating the JS object's internal WASM
|
|
22102
|
+
* handle; after one use, subsequent calls from JS would pass a dangling
|
|
22103
|
+
* handle that wasm-bindgen interprets as `None`, silently falling back
|
|
22104
|
+
* to the local prover.
|
|
22105
|
+
* @param {TransactionResult} transaction_result
|
|
22106
|
+
* @param {TransactionProver} prover
|
|
22107
|
+
* @returns {Promise<ProvenTransaction>}
|
|
22108
|
+
*/
|
|
22109
|
+
proveTransactionWithProver(transaction_result, prover) {
|
|
22110
|
+
_assertClass(transaction_result, TransactionResult);
|
|
22111
|
+
_assertClass(prover, TransactionProver);
|
|
22112
|
+
const ret = wasm.webclient_proveTransactionWithProver(this.__wbg_ptr, transaction_result.__wbg_ptr, prover.__wbg_ptr);
|
|
22055
22113
|
return ret;
|
|
22056
22114
|
}
|
|
22057
22115
|
/**
|
|
@@ -22654,7 +22712,7 @@ function __wbg_get_imports() {
|
|
|
22654
22712
|
const ret = AccountStorage.__wrap(arg0);
|
|
22655
22713
|
return ret;
|
|
22656
22714
|
},
|
|
22657
|
-
|
|
22715
|
+
__wbg_addNoteTag_698909ab9460b85a: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
22658
22716
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22659
22717
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22660
22718
|
let v1;
|
|
@@ -22677,15 +22735,15 @@ function __wbg_get_imports() {
|
|
|
22677
22735
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
22678
22736
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
22679
22737
|
}, arguments); },
|
|
22680
|
-
|
|
22738
|
+
__wbg_applyFullAccountState_eade9faa19596125: function(arg0, arg1, arg2) {
|
|
22681
22739
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
22682
22740
|
return ret;
|
|
22683
22741
|
},
|
|
22684
|
-
|
|
22742
|
+
__wbg_applyStateSync_9564c858a70c99b8: function(arg0, arg1, arg2) {
|
|
22685
22743
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
22686
22744
|
return ret;
|
|
22687
22745
|
},
|
|
22688
|
-
|
|
22746
|
+
__wbg_applyTransactionDelta_9628eb6590c0ceb1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
22689
22747
|
let deferred0_0;
|
|
22690
22748
|
let deferred0_1;
|
|
22691
22749
|
let deferred1_0;
|
|
@@ -22820,7 +22878,7 @@ function __wbg_get_imports() {
|
|
|
22820
22878
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22821
22879
|
}
|
|
22822
22880
|
},
|
|
22823
|
-
|
|
22881
|
+
__wbg_exportStore_a67b45413c960e8c: function(arg0, arg1) {
|
|
22824
22882
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
22825
22883
|
return ret;
|
|
22826
22884
|
},
|
|
@@ -22852,7 +22910,7 @@ function __wbg_get_imports() {
|
|
|
22852
22910
|
const ret = FetchedNote.__wrap(arg0);
|
|
22853
22911
|
return ret;
|
|
22854
22912
|
},
|
|
22855
|
-
|
|
22913
|
+
__wbg_forceImportStore_eb9f85ecf3af7d43: function(arg0, arg1, arg2) {
|
|
22856
22914
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
22857
22915
|
return ret;
|
|
22858
22916
|
},
|
|
@@ -22872,7 +22930,7 @@ function __wbg_get_imports() {
|
|
|
22872
22930
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
22873
22931
|
return ret;
|
|
22874
22932
|
},
|
|
22875
|
-
|
|
22933
|
+
__wbg_getAccountAddresses_51afaacf9f52c77a: function(arg0, arg1, arg2, arg3) {
|
|
22876
22934
|
let deferred0_0;
|
|
22877
22935
|
let deferred0_1;
|
|
22878
22936
|
try {
|
|
@@ -22884,7 +22942,7 @@ function __wbg_get_imports() {
|
|
|
22884
22942
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22885
22943
|
}
|
|
22886
22944
|
},
|
|
22887
|
-
|
|
22945
|
+
__wbg_getAccountAuthByPubKeyCommitment_3d1eeae52f97e127: function(arg0, arg1, arg2, arg3) {
|
|
22888
22946
|
let deferred0_0;
|
|
22889
22947
|
let deferred0_1;
|
|
22890
22948
|
try {
|
|
@@ -22896,7 +22954,7 @@ function __wbg_get_imports() {
|
|
|
22896
22954
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22897
22955
|
}
|
|
22898
22956
|
},
|
|
22899
|
-
|
|
22957
|
+
__wbg_getAccountCode_84b1542a2d9efa6e: function(arg0, arg1, arg2, arg3) {
|
|
22900
22958
|
let deferred0_0;
|
|
22901
22959
|
let deferred0_1;
|
|
22902
22960
|
try {
|
|
@@ -22908,7 +22966,7 @@ function __wbg_get_imports() {
|
|
|
22908
22966
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22909
22967
|
}
|
|
22910
22968
|
},
|
|
22911
|
-
|
|
22969
|
+
__wbg_getAccountHeaderByCommitment_5be294a0512143cb: function(arg0, arg1, arg2, arg3) {
|
|
22912
22970
|
let deferred0_0;
|
|
22913
22971
|
let deferred0_1;
|
|
22914
22972
|
try {
|
|
@@ -22920,7 +22978,7 @@ function __wbg_get_imports() {
|
|
|
22920
22978
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22921
22979
|
}
|
|
22922
22980
|
},
|
|
22923
|
-
|
|
22981
|
+
__wbg_getAccountHeader_a9304a0079f4e254: function(arg0, arg1, arg2, arg3) {
|
|
22924
22982
|
let deferred0_0;
|
|
22925
22983
|
let deferred0_1;
|
|
22926
22984
|
try {
|
|
@@ -22932,7 +22990,7 @@ function __wbg_get_imports() {
|
|
|
22932
22990
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22933
22991
|
}
|
|
22934
22992
|
},
|
|
22935
|
-
|
|
22993
|
+
__wbg_getAccountIdByKeyCommitment_adfd1a18dc9eff3d: function(arg0, arg1, arg2, arg3) {
|
|
22936
22994
|
let deferred0_0;
|
|
22937
22995
|
let deferred0_1;
|
|
22938
22996
|
try {
|
|
@@ -22944,11 +23002,11 @@ function __wbg_get_imports() {
|
|
|
22944
23002
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22945
23003
|
}
|
|
22946
23004
|
},
|
|
22947
|
-
|
|
23005
|
+
__wbg_getAccountIds_2b769482d9d22c91: function(arg0, arg1) {
|
|
22948
23006
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
22949
23007
|
return ret;
|
|
22950
23008
|
},
|
|
22951
|
-
|
|
23009
|
+
__wbg_getAccountStorageMaps_8315b00d0eb2f171: function(arg0, arg1, arg2, arg3) {
|
|
22952
23010
|
let deferred0_0;
|
|
22953
23011
|
let deferred0_1;
|
|
22954
23012
|
try {
|
|
@@ -22960,7 +23018,7 @@ function __wbg_get_imports() {
|
|
|
22960
23018
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22961
23019
|
}
|
|
22962
23020
|
},
|
|
22963
|
-
|
|
23021
|
+
__wbg_getAccountStorage_15977a4f6e04fd64: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22964
23022
|
let deferred0_0;
|
|
22965
23023
|
let deferred0_1;
|
|
22966
23024
|
try {
|
|
@@ -22974,7 +23032,7 @@ function __wbg_get_imports() {
|
|
|
22974
23032
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22975
23033
|
}
|
|
22976
23034
|
},
|
|
22977
|
-
|
|
23035
|
+
__wbg_getAccountVaultAssets_a97760310afd4d4b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22978
23036
|
let deferred0_0;
|
|
22979
23037
|
let deferred0_1;
|
|
22980
23038
|
try {
|
|
@@ -22988,23 +23046,23 @@ function __wbg_get_imports() {
|
|
|
22988
23046
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22989
23047
|
}
|
|
22990
23048
|
},
|
|
22991
|
-
|
|
23049
|
+
__wbg_getAllAccountHeaders_be49e1d4ba8290ab: function(arg0, arg1) {
|
|
22992
23050
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
22993
23051
|
return ret;
|
|
22994
23052
|
},
|
|
22995
|
-
|
|
23053
|
+
__wbg_getBlockHeaders_17f4a78b0b73a04f: function(arg0, arg1, arg2, arg3) {
|
|
22996
23054
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
22997
23055
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22998
23056
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
22999
23057
|
return ret;
|
|
23000
23058
|
},
|
|
23001
|
-
|
|
23059
|
+
__wbg_getForeignAccountCode_1b334242465029b9: function(arg0, arg1, arg2, arg3) {
|
|
23002
23060
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23003
23061
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23004
23062
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
23005
23063
|
return ret;
|
|
23006
23064
|
},
|
|
23007
|
-
|
|
23065
|
+
__wbg_getInputNoteByOffset_b159a98e6585d580: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
23008
23066
|
let deferred1_0;
|
|
23009
23067
|
let deferred1_1;
|
|
23010
23068
|
try {
|
|
@@ -23018,25 +23076,25 @@ function __wbg_get_imports() {
|
|
|
23018
23076
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23019
23077
|
}
|
|
23020
23078
|
},
|
|
23021
|
-
|
|
23079
|
+
__wbg_getInputNotesFromIds_9244d0972946d1e9: function(arg0, arg1, arg2, arg3) {
|
|
23022
23080
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23023
23081
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23024
23082
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23025
23083
|
return ret;
|
|
23026
23084
|
},
|
|
23027
|
-
|
|
23085
|
+
__wbg_getInputNotesFromNullifiers_20a275b6054e2675: function(arg0, arg1, arg2, arg3) {
|
|
23028
23086
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23029
23087
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23030
23088
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23031
23089
|
return ret;
|
|
23032
23090
|
},
|
|
23033
|
-
|
|
23091
|
+
__wbg_getInputNotes_3c02639073a27a1b: function(arg0, arg1, arg2, arg3) {
|
|
23034
23092
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23035
23093
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23036
23094
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23037
23095
|
return ret;
|
|
23038
23096
|
},
|
|
23039
|
-
|
|
23097
|
+
__wbg_getKeyCommitmentsByAccountId_b0f7dfe5f184268b: function(arg0, arg1, arg2, arg3) {
|
|
23040
23098
|
let deferred0_0;
|
|
23041
23099
|
let deferred0_1;
|
|
23042
23100
|
try {
|
|
@@ -23048,7 +23106,7 @@ function __wbg_get_imports() {
|
|
|
23048
23106
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23049
23107
|
}
|
|
23050
23108
|
},
|
|
23051
|
-
|
|
23109
|
+
__wbg_getNoteScript_867d54f06c81e941: function(arg0, arg1, arg2, arg3) {
|
|
23052
23110
|
let deferred0_0;
|
|
23053
23111
|
let deferred0_1;
|
|
23054
23112
|
try {
|
|
@@ -23060,33 +23118,33 @@ function __wbg_get_imports() {
|
|
|
23060
23118
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23061
23119
|
}
|
|
23062
23120
|
},
|
|
23063
|
-
|
|
23121
|
+
__wbg_getNoteTags_9873a6e080e3852e: function(arg0, arg1) {
|
|
23064
23122
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
23065
23123
|
return ret;
|
|
23066
23124
|
},
|
|
23067
|
-
|
|
23125
|
+
__wbg_getOutputNotesFromIds_39d02b7c705b516a: function(arg0, arg1, arg2, arg3) {
|
|
23068
23126
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23069
23127
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23070
23128
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
23071
23129
|
return ret;
|
|
23072
23130
|
},
|
|
23073
|
-
|
|
23131
|
+
__wbg_getOutputNotesFromNullifiers_d1ae3200c43e2f6c: function(arg0, arg1, arg2, arg3) {
|
|
23074
23132
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23075
23133
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23076
23134
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
23077
23135
|
return ret;
|
|
23078
23136
|
},
|
|
23079
|
-
|
|
23137
|
+
__wbg_getOutputNotes_bb6846291f45a6d5: function(arg0, arg1, arg2, arg3) {
|
|
23080
23138
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23081
23139
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23082
23140
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
23083
23141
|
return ret;
|
|
23084
23142
|
},
|
|
23085
|
-
|
|
23143
|
+
__wbg_getPartialBlockchainNodesAll_94c7cf9fe9cbfce1: function(arg0, arg1) {
|
|
23086
23144
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
23087
23145
|
return ret;
|
|
23088
23146
|
},
|
|
23089
|
-
|
|
23147
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_4f5ca17c3f5dc6d6: function(arg0, arg1, arg2, arg3) {
|
|
23090
23148
|
let deferred0_0;
|
|
23091
23149
|
let deferred0_1;
|
|
23092
23150
|
try {
|
|
@@ -23098,13 +23156,13 @@ function __wbg_get_imports() {
|
|
|
23098
23156
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23099
23157
|
}
|
|
23100
23158
|
},
|
|
23101
|
-
|
|
23159
|
+
__wbg_getPartialBlockchainNodes_ae379fc78bb9f182: function(arg0, arg1, arg2, arg3) {
|
|
23102
23160
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23103
23161
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23104
23162
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
23105
23163
|
return ret;
|
|
23106
23164
|
},
|
|
23107
|
-
|
|
23165
|
+
__wbg_getPartialBlockchainPeaksByBlockNum_3aabada7ce71eee3: function(arg0, arg1, arg2) {
|
|
23108
23166
|
const ret = getPartialBlockchainPeaksByBlockNum(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
23109
23167
|
return ret;
|
|
23110
23168
|
},
|
|
@@ -23115,7 +23173,7 @@ function __wbg_get_imports() {
|
|
|
23115
23173
|
const ret = arg0.getReader();
|
|
23116
23174
|
return ret;
|
|
23117
23175
|
}, arguments); },
|
|
23118
|
-
|
|
23176
|
+
__wbg_getSetting_186df2c955123498: function(arg0, arg1, arg2, arg3) {
|
|
23119
23177
|
let deferred0_0;
|
|
23120
23178
|
let deferred0_1;
|
|
23121
23179
|
try {
|
|
@@ -23127,7 +23185,7 @@ function __wbg_get_imports() {
|
|
|
23127
23185
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23128
23186
|
}
|
|
23129
23187
|
},
|
|
23130
|
-
|
|
23188
|
+
__wbg_getSyncHeight_bb8554ff55ffbf9f: function(arg0, arg1) {
|
|
23131
23189
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
23132
23190
|
return ret;
|
|
23133
23191
|
},
|
|
@@ -23135,15 +23193,15 @@ function __wbg_get_imports() {
|
|
|
23135
23193
|
const ret = arg0.getTime();
|
|
23136
23194
|
return ret;
|
|
23137
23195
|
},
|
|
23138
|
-
|
|
23196
|
+
__wbg_getTrackedBlockHeaderNumbers_f816d2d4d27342c3: function(arg0, arg1) {
|
|
23139
23197
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
23140
23198
|
return ret;
|
|
23141
23199
|
},
|
|
23142
|
-
|
|
23200
|
+
__wbg_getTrackedBlockHeaders_f283e0da82bfc822: function(arg0, arg1) {
|
|
23143
23201
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
23144
23202
|
return ret;
|
|
23145
23203
|
},
|
|
23146
|
-
|
|
23204
|
+
__wbg_getTransactions_1bd61b628e179d02: function(arg0, arg1, arg2, arg3) {
|
|
23147
23205
|
let deferred0_0;
|
|
23148
23206
|
let deferred0_1;
|
|
23149
23207
|
try {
|
|
@@ -23155,7 +23213,7 @@ function __wbg_get_imports() {
|
|
|
23155
23213
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23156
23214
|
}
|
|
23157
23215
|
},
|
|
23158
|
-
|
|
23216
|
+
__wbg_getUnspentInputNoteNullifiers_d62daa144f0c3fe5: function(arg0, arg1) {
|
|
23159
23217
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
23160
23218
|
return ret;
|
|
23161
23219
|
},
|
|
@@ -23199,7 +23257,7 @@ function __wbg_get_imports() {
|
|
|
23199
23257
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
23200
23258
|
return ret;
|
|
23201
23259
|
},
|
|
23202
|
-
|
|
23260
|
+
__wbg_insertAccountAddress_74f0e4c7a639254e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23203
23261
|
let deferred0_0;
|
|
23204
23262
|
let deferred0_1;
|
|
23205
23263
|
try {
|
|
@@ -23213,7 +23271,7 @@ function __wbg_get_imports() {
|
|
|
23213
23271
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23214
23272
|
}
|
|
23215
23273
|
},
|
|
23216
|
-
|
|
23274
|
+
__wbg_insertAccountAuth_3c33b553fe5c8c05: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23217
23275
|
let deferred0_0;
|
|
23218
23276
|
let deferred0_1;
|
|
23219
23277
|
let deferred1_0;
|
|
@@ -23230,7 +23288,7 @@ function __wbg_get_imports() {
|
|
|
23230
23288
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23231
23289
|
}
|
|
23232
23290
|
},
|
|
23233
|
-
|
|
23291
|
+
__wbg_insertAccountKeyMapping_d2a0b817a8140e6e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23234
23292
|
let deferred0_0;
|
|
23235
23293
|
let deferred0_1;
|
|
23236
23294
|
let deferred1_0;
|
|
@@ -23247,7 +23305,7 @@ function __wbg_get_imports() {
|
|
|
23247
23305
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23248
23306
|
}
|
|
23249
23307
|
},
|
|
23250
|
-
|
|
23308
|
+
__wbg_insertBlockHeader_bcda8bc22e77cf32: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23251
23309
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
23252
23310
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
23253
23311
|
var v1 = getArrayU8FromWasm0(arg5, arg6).slice();
|
|
@@ -23255,7 +23313,7 @@ function __wbg_get_imports() {
|
|
|
23255
23313
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, v1, arg7 !== 0);
|
|
23256
23314
|
return ret;
|
|
23257
23315
|
},
|
|
23258
|
-
|
|
23316
|
+
__wbg_insertPartialBlockchainNodes_135515caa8cd47bd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23259
23317
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23260
23318
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23261
23319
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -23263,7 +23321,7 @@ function __wbg_get_imports() {
|
|
|
23263
23321
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
23264
23322
|
return ret;
|
|
23265
23323
|
},
|
|
23266
|
-
|
|
23324
|
+
__wbg_insertSetting_fe1899c3024e1e38: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23267
23325
|
let deferred0_0;
|
|
23268
23326
|
let deferred0_1;
|
|
23269
23327
|
try {
|
|
@@ -23277,7 +23335,7 @@ function __wbg_get_imports() {
|
|
|
23277
23335
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23278
23336
|
}
|
|
23279
23337
|
},
|
|
23280
|
-
|
|
23338
|
+
__wbg_insertTransactionScript_310aca4fb4647d32: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23281
23339
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23282
23340
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23283
23341
|
let v1;
|
|
@@ -23370,11 +23428,11 @@ function __wbg_get_imports() {
|
|
|
23370
23428
|
const ret = arg0.length;
|
|
23371
23429
|
return ret;
|
|
23372
23430
|
},
|
|
23373
|
-
|
|
23431
|
+
__wbg_listSettingKeys_384288a044f385de: function(arg0, arg1) {
|
|
23374
23432
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
23375
23433
|
return ret;
|
|
23376
23434
|
},
|
|
23377
|
-
|
|
23435
|
+
__wbg_lockAccount_a60d709094c45b53: function(arg0, arg1, arg2, arg3) {
|
|
23378
23436
|
let deferred0_0;
|
|
23379
23437
|
let deferred0_1;
|
|
23380
23438
|
try {
|
|
@@ -23565,7 +23623,7 @@ function __wbg_get_imports() {
|
|
|
23565
23623
|
const ret = NoteTag.__unwrap(arg0);
|
|
23566
23624
|
return ret;
|
|
23567
23625
|
},
|
|
23568
|
-
|
|
23626
|
+
__wbg_openDatabase_4c3b292fbda4fc9b: function(arg0, arg1, arg2, arg3) {
|
|
23569
23627
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
23570
23628
|
return ret;
|
|
23571
23629
|
},
|
|
@@ -23596,7 +23654,7 @@ function __wbg_get_imports() {
|
|
|
23596
23654
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
23597
23655
|
return ret;
|
|
23598
23656
|
},
|
|
23599
|
-
|
|
23657
|
+
__wbg_pruneAccountHistory_862dcd6254067486: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23600
23658
|
let deferred0_0;
|
|
23601
23659
|
let deferred0_1;
|
|
23602
23660
|
let deferred1_0;
|
|
@@ -23613,7 +23671,7 @@ function __wbg_get_imports() {
|
|
|
23613
23671
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23614
23672
|
}
|
|
23615
23673
|
},
|
|
23616
|
-
|
|
23674
|
+
__wbg_pruneIrrelevantBlocks_5d9d0b791bc84bbd: function(arg0, arg1) {
|
|
23617
23675
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1));
|
|
23618
23676
|
return ret;
|
|
23619
23677
|
},
|
|
@@ -23631,13 +23689,13 @@ function __wbg_get_imports() {
|
|
|
23631
23689
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
23632
23690
|
arg0.releaseLock();
|
|
23633
23691
|
},
|
|
23634
|
-
|
|
23692
|
+
__wbg_removeAccountAddress_b55c1b0cd60d92df: function(arg0, arg1, arg2, arg3) {
|
|
23635
23693
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23636
23694
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23637
23695
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
23638
23696
|
return ret;
|
|
23639
23697
|
},
|
|
23640
|
-
|
|
23698
|
+
__wbg_removeAccountAuth_3fb9058cee274111: function(arg0, arg1, arg2, arg3) {
|
|
23641
23699
|
let deferred0_0;
|
|
23642
23700
|
let deferred0_1;
|
|
23643
23701
|
try {
|
|
@@ -23649,7 +23707,7 @@ function __wbg_get_imports() {
|
|
|
23649
23707
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23650
23708
|
}
|
|
23651
23709
|
},
|
|
23652
|
-
|
|
23710
|
+
__wbg_removeAllMappingsForKey_66ff5b0d6f9c2bd6: function(arg0, arg1, arg2, arg3) {
|
|
23653
23711
|
let deferred0_0;
|
|
23654
23712
|
let deferred0_1;
|
|
23655
23713
|
try {
|
|
@@ -23661,7 +23719,7 @@ function __wbg_get_imports() {
|
|
|
23661
23719
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23662
23720
|
}
|
|
23663
23721
|
},
|
|
23664
|
-
|
|
23722
|
+
__wbg_removeNoteTag_0a14e1372f23806f: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23665
23723
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23666
23724
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23667
23725
|
let v1;
|
|
@@ -23677,7 +23735,7 @@ function __wbg_get_imports() {
|
|
|
23677
23735
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2);
|
|
23678
23736
|
return ret;
|
|
23679
23737
|
},
|
|
23680
|
-
|
|
23738
|
+
__wbg_removeSetting_6bcea18b3e8da9e4: function(arg0, arg1, arg2, arg3) {
|
|
23681
23739
|
let deferred0_0;
|
|
23682
23740
|
let deferred0_1;
|
|
23683
23741
|
try {
|
|
@@ -23869,13 +23927,13 @@ function __wbg_get_imports() {
|
|
|
23869
23927
|
const ret = TransactionSummary.__wrap(arg0);
|
|
23870
23928
|
return ret;
|
|
23871
23929
|
},
|
|
23872
|
-
|
|
23930
|
+
__wbg_undoAccountStates_772949347567310a: function(arg0, arg1, arg2, arg3) {
|
|
23873
23931
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23874
23932
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23875
23933
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
23876
23934
|
return ret;
|
|
23877
23935
|
},
|
|
23878
|
-
|
|
23936
|
+
__wbg_upsertAccountCode_5aeef852ebb4eea3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23879
23937
|
let deferred0_0;
|
|
23880
23938
|
let deferred0_1;
|
|
23881
23939
|
try {
|
|
@@ -23889,7 +23947,7 @@ function __wbg_get_imports() {
|
|
|
23889
23947
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23890
23948
|
}
|
|
23891
23949
|
},
|
|
23892
|
-
|
|
23950
|
+
__wbg_upsertAccountRecord_e857a604366533d6: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) {
|
|
23893
23951
|
let deferred0_0;
|
|
23894
23952
|
let deferred0_1;
|
|
23895
23953
|
let deferred1_0;
|
|
@@ -23931,7 +23989,7 @@ function __wbg_get_imports() {
|
|
|
23931
23989
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
23932
23990
|
}
|
|
23933
23991
|
},
|
|
23934
|
-
|
|
23992
|
+
__wbg_upsertAccountStorage_cadea80cad14d44e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23935
23993
|
let deferred0_0;
|
|
23936
23994
|
let deferred0_1;
|
|
23937
23995
|
try {
|
|
@@ -23945,7 +24003,7 @@ function __wbg_get_imports() {
|
|
|
23945
24003
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23946
24004
|
}
|
|
23947
24005
|
},
|
|
23948
|
-
|
|
24006
|
+
__wbg_upsertForeignAccountCode_0ff2a287e6afee27: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23949
24007
|
let deferred0_0;
|
|
23950
24008
|
let deferred0_1;
|
|
23951
24009
|
let deferred2_0;
|
|
@@ -23964,7 +24022,7 @@ function __wbg_get_imports() {
|
|
|
23964
24022
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
23965
24023
|
}
|
|
23966
24024
|
},
|
|
23967
|
-
|
|
24025
|
+
__wbg_upsertInputNote_7e5a34ad5a5f84cf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24) {
|
|
23968
24026
|
let deferred0_0;
|
|
23969
24027
|
let deferred0_1;
|
|
23970
24028
|
let deferred4_0;
|
|
@@ -24006,7 +24064,7 @@ function __wbg_get_imports() {
|
|
|
24006
24064
|
wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
|
|
24007
24065
|
}
|
|
24008
24066
|
},
|
|
24009
|
-
|
|
24067
|
+
__wbg_upsertNoteScript_bf2e3cd8091e4d8e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24010
24068
|
let deferred0_0;
|
|
24011
24069
|
let deferred0_1;
|
|
24012
24070
|
try {
|
|
@@ -24020,7 +24078,7 @@ function __wbg_get_imports() {
|
|
|
24020
24078
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24021
24079
|
}
|
|
24022
24080
|
},
|
|
24023
|
-
|
|
24081
|
+
__wbg_upsertOutputNote_6680c25bcf1c6752: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) {
|
|
24024
24082
|
let deferred0_0;
|
|
24025
24083
|
let deferred0_1;
|
|
24026
24084
|
let deferred2_0;
|
|
@@ -24048,7 +24106,7 @@ function __wbg_get_imports() {
|
|
|
24048
24106
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
24049
24107
|
}
|
|
24050
24108
|
},
|
|
24051
|
-
|
|
24109
|
+
__wbg_upsertStorageMapEntries_3599951ef72300cc: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24052
24110
|
let deferred0_0;
|
|
24053
24111
|
let deferred0_1;
|
|
24054
24112
|
try {
|
|
@@ -24062,7 +24120,7 @@ function __wbg_get_imports() {
|
|
|
24062
24120
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24063
24121
|
}
|
|
24064
24122
|
},
|
|
24065
|
-
|
|
24123
|
+
__wbg_upsertTransactionRecord_5306c0b813a1cef4: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
24066
24124
|
let deferred0_0;
|
|
24067
24125
|
let deferred0_1;
|
|
24068
24126
|
try {
|
|
@@ -24083,7 +24141,7 @@ function __wbg_get_imports() {
|
|
|
24083
24141
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24084
24142
|
}
|
|
24085
24143
|
},
|
|
24086
|
-
|
|
24144
|
+
__wbg_upsertVaultAssets_66ef95ec9c1a13ce: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24087
24145
|
let deferred0_0;
|
|
24088
24146
|
let deferred0_1;
|
|
24089
24147
|
try {
|
|
@@ -24114,12 +24172,12 @@ function __wbg_get_imports() {
|
|
|
24114
24172
|
return ret;
|
|
24115
24173
|
},
|
|
24116
24174
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
24117
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
24175
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 357, function: Function { arguments: [Externref], shim_idx: 694, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
24118
24176
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h63c5411e996b99a1, wasm_bindgen__convert__closures_____invoke__h7e8251e1da901d4a);
|
|
24119
24177
|
return ret;
|
|
24120
24178
|
},
|
|
24121
24179
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
24122
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
24180
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 357, function: Function { arguments: [], shim_idx: 358, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
24123
24181
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h63c5411e996b99a1, wasm_bindgen__convert__closures_____invoke__h0a299fbe94173cc9);
|
|
24124
24182
|
return ret;
|
|
24125
24183
|
},
|
|
@@ -25036,7 +25094,7 @@ async function __wbg_init(module_or_path) {
|
|
|
25036
25094
|
|
|
25037
25095
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
25038
25096
|
|
|
25039
|
-
var
|
|
25097
|
+
var CargoBwjf7IkR = /*#__PURE__*/Object.freeze({
|
|
25040
25098
|
__proto__: null,
|
|
25041
25099
|
Account: Account,
|
|
25042
25100
|
AccountArray: AccountArray,
|