@miden-sdk/miden-sdk 0.14.3 → 0.14.5
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-M3382VZc.js} +227 -113
- package/dist/Cargo-M3382VZc.js.map +1 -0
- package/dist/api-types.d.ts +51 -2
- package/dist/assets/miden_client_web.wasm +0 -0
- package/dist/crates/miden_client_web.d.ts +143 -3
- package/dist/eager.js +35 -0
- package/dist/eager.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +399 -133
- package/dist/index.js.map +1 -1
- package/dist/wasm.js +1 -1
- package/dist/workers/{Cargo-DanGI-a8-DD61BgkT.js → Cargo-M3382VZc-Dfw4tXwh.js} +227 -113
- package/dist/workers/Cargo-M3382VZc-Dfw4tXwh.js.map +1 -0
- package/dist/workers/assets/miden_client_web.wasm +0 -0
- package/dist/workers/web-client-methods-worker.js +240 -122
- 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
|
@@ -9958,13 +9958,18 @@ class AccountArray {
|
|
|
9958
9958
|
wasm.accountarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
9959
9959
|
}
|
|
9960
9960
|
/**
|
|
9961
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
9962
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
9963
|
+
* after the call. Without this borrow, passing `elem` by
|
|
9964
|
+
* value would move the underlying Rust value out of the
|
|
9965
|
+
* caller's JS handle and any subsequent method on it would
|
|
9966
|
+
* panic with `"null pointer passed to rust"`.
|
|
9961
9967
|
* @param {number} index
|
|
9962
9968
|
* @param {Account} elem
|
|
9963
9969
|
*/
|
|
9964
9970
|
replaceAt(index, elem) {
|
|
9965
9971
|
_assertClass(elem, Account);
|
|
9966
|
-
|
|
9967
|
-
const ret = wasm.accountarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
9972
|
+
const ret = wasm.accountarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
9968
9973
|
if (ret[1]) {
|
|
9969
9974
|
throw takeFromExternrefTable0(ret[0]);
|
|
9970
9975
|
}
|
|
@@ -10822,13 +10827,18 @@ class AccountIdArray {
|
|
|
10822
10827
|
wasm.accountidarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
10823
10828
|
}
|
|
10824
10829
|
/**
|
|
10830
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
10831
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
10832
|
+
* after the call. Without this borrow, passing `elem` by
|
|
10833
|
+
* value would move the underlying Rust value out of the
|
|
10834
|
+
* caller's JS handle and any subsequent method on it would
|
|
10835
|
+
* panic with `"null pointer passed to rust"`.
|
|
10825
10836
|
* @param {number} index
|
|
10826
10837
|
* @param {AccountId} elem
|
|
10827
10838
|
*/
|
|
10828
10839
|
replaceAt(index, elem) {
|
|
10829
10840
|
_assertClass(elem, AccountId);
|
|
10830
|
-
|
|
10831
|
-
const ret = wasm.accountidarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
10841
|
+
const ret = wasm.accountidarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
10832
10842
|
if (ret[1]) {
|
|
10833
10843
|
throw takeFromExternrefTable0(ret[0]);
|
|
10834
10844
|
}
|
|
@@ -12218,6 +12228,19 @@ class BlockHeader {
|
|
|
12218
12228
|
const ret = wasm.blockheader_commitment(this.__wbg_ptr);
|
|
12219
12229
|
return Word.__wrap(ret);
|
|
12220
12230
|
}
|
|
12231
|
+
/**
|
|
12232
|
+
* Returns the account ID of the fungible faucet whose assets are accepted as the native
|
|
12233
|
+
* asset of the blockchain (i.e. the asset used for paying transaction verification fees).
|
|
12234
|
+
*
|
|
12235
|
+
* This is stored on-chain as part of the block's fee parameters, which means consumers can
|
|
12236
|
+
* discover the native faucet by reading any block header rather than hardcoding it per
|
|
12237
|
+
* network.
|
|
12238
|
+
* @returns {AccountId}
|
|
12239
|
+
*/
|
|
12240
|
+
nativeAssetId() {
|
|
12241
|
+
const ret = wasm.blockheader_nativeAssetId(this.__wbg_ptr);
|
|
12242
|
+
return AccountId.__wrap(ret);
|
|
12243
|
+
}
|
|
12221
12244
|
/**
|
|
12222
12245
|
* Returns the note commitment root.
|
|
12223
12246
|
* @returns {Word}
|
|
@@ -12952,13 +12975,18 @@ class FeltArray {
|
|
|
12952
12975
|
wasm.feltarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
12953
12976
|
}
|
|
12954
12977
|
/**
|
|
12978
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
12979
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
12980
|
+
* after the call. Without this borrow, passing `elem` by
|
|
12981
|
+
* value would move the underlying Rust value out of the
|
|
12982
|
+
* caller's JS handle and any subsequent method on it would
|
|
12983
|
+
* panic with `"null pointer passed to rust"`.
|
|
12955
12984
|
* @param {number} index
|
|
12956
12985
|
* @param {Felt} elem
|
|
12957
12986
|
*/
|
|
12958
12987
|
replaceAt(index, elem) {
|
|
12959
12988
|
_assertClass(elem, Felt);
|
|
12960
|
-
|
|
12961
|
-
const ret = wasm.feltarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
12989
|
+
const ret = wasm.feltarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
12962
12990
|
if (ret[1]) {
|
|
12963
12991
|
throw takeFromExternrefTable0(ret[0]);
|
|
12964
12992
|
}
|
|
@@ -13326,13 +13354,18 @@ class ForeignAccountArray {
|
|
|
13326
13354
|
wasm.foreignaccountarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
13327
13355
|
}
|
|
13328
13356
|
/**
|
|
13357
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
13358
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
13359
|
+
* after the call. Without this borrow, passing `elem` by
|
|
13360
|
+
* value would move the underlying Rust value out of the
|
|
13361
|
+
* caller's JS handle and any subsequent method on it would
|
|
13362
|
+
* panic with `"null pointer passed to rust"`.
|
|
13329
13363
|
* @param {number} index
|
|
13330
13364
|
* @param {ForeignAccount} elem
|
|
13331
13365
|
*/
|
|
13332
13366
|
replaceAt(index, elem) {
|
|
13333
13367
|
_assertClass(elem, ForeignAccount);
|
|
13334
|
-
|
|
13335
|
-
const ret = wasm.foreignaccountarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
13368
|
+
const ret = wasm.foreignaccountarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
13336
13369
|
if (ret[1]) {
|
|
13337
13370
|
throw takeFromExternrefTable0(ret[0]);
|
|
13338
13371
|
}
|
|
@@ -15309,13 +15342,18 @@ class NoteAndArgsArray {
|
|
|
15309
15342
|
wasm.noteandargsarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
15310
15343
|
}
|
|
15311
15344
|
/**
|
|
15345
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
15346
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
15347
|
+
* after the call. Without this borrow, passing `elem` by
|
|
15348
|
+
* value would move the underlying Rust value out of the
|
|
15349
|
+
* caller's JS handle and any subsequent method on it would
|
|
15350
|
+
* panic with `"null pointer passed to rust"`.
|
|
15312
15351
|
* @param {number} index
|
|
15313
15352
|
* @param {NoteAndArgs} elem
|
|
15314
15353
|
*/
|
|
15315
15354
|
replaceAt(index, elem) {
|
|
15316
15355
|
_assertClass(elem, NoteAndArgs);
|
|
15317
|
-
|
|
15318
|
-
const ret = wasm.noteandargsarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
15356
|
+
const ret = wasm.noteandargsarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
15319
15357
|
if (ret[1]) {
|
|
15320
15358
|
throw takeFromExternrefTable0(ret[0]);
|
|
15321
15359
|
}
|
|
@@ -15379,13 +15417,18 @@ class NoteArray {
|
|
|
15379
15417
|
wasm.notearray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
15380
15418
|
}
|
|
15381
15419
|
/**
|
|
15420
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
15421
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
15422
|
+
* after the call. Without this borrow, passing `elem` by
|
|
15423
|
+
* value would move the underlying Rust value out of the
|
|
15424
|
+
* caller's JS handle and any subsequent method on it would
|
|
15425
|
+
* panic with `"null pointer passed to rust"`.
|
|
15382
15426
|
* @param {number} index
|
|
15383
15427
|
* @param {Note} elem
|
|
15384
15428
|
*/
|
|
15385
15429
|
replaceAt(index, elem) {
|
|
15386
15430
|
_assertClass(elem, Note);
|
|
15387
|
-
|
|
15388
|
-
const ret = wasm.notearray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
15431
|
+
const ret = wasm.notearray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
15389
15432
|
if (ret[1]) {
|
|
15390
15433
|
throw takeFromExternrefTable0(ret[0]);
|
|
15391
15434
|
}
|
|
@@ -15956,13 +15999,18 @@ class NoteDetailsAndTagArray {
|
|
|
15956
15999
|
wasm.notedetailsandtagarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
15957
16000
|
}
|
|
15958
16001
|
/**
|
|
16002
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
16003
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
16004
|
+
* after the call. Without this borrow, passing `elem` by
|
|
16005
|
+
* value would move the underlying Rust value out of the
|
|
16006
|
+
* caller's JS handle and any subsequent method on it would
|
|
16007
|
+
* panic with `"null pointer passed to rust"`.
|
|
15959
16008
|
* @param {number} index
|
|
15960
16009
|
* @param {NoteDetailsAndTag} elem
|
|
15961
16010
|
*/
|
|
15962
16011
|
replaceAt(index, elem) {
|
|
15963
16012
|
_assertClass(elem, NoteDetailsAndTag);
|
|
15964
|
-
|
|
15965
|
-
const ret = wasm.notedetailsandtagarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
16013
|
+
const ret = wasm.notedetailsandtagarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
15966
16014
|
if (ret[1]) {
|
|
15967
16015
|
throw takeFromExternrefTable0(ret[0]);
|
|
15968
16016
|
}
|
|
@@ -16522,13 +16570,18 @@ class NoteIdAndArgsArray {
|
|
|
16522
16570
|
wasm.noteidandargsarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
16523
16571
|
}
|
|
16524
16572
|
/**
|
|
16573
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
16574
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
16575
|
+
* after the call. Without this borrow, passing `elem` by
|
|
16576
|
+
* value would move the underlying Rust value out of the
|
|
16577
|
+
* caller's JS handle and any subsequent method on it would
|
|
16578
|
+
* panic with `"null pointer passed to rust"`.
|
|
16525
16579
|
* @param {number} index
|
|
16526
16580
|
* @param {NoteIdAndArgs} elem
|
|
16527
16581
|
*/
|
|
16528
16582
|
replaceAt(index, elem) {
|
|
16529
16583
|
_assertClass(elem, NoteIdAndArgs);
|
|
16530
|
-
|
|
16531
|
-
const ret = wasm.noteidandargsarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
16584
|
+
const ret = wasm.noteidandargsarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
16532
16585
|
if (ret[1]) {
|
|
16533
16586
|
throw takeFromExternrefTable0(ret[0]);
|
|
16534
16587
|
}
|
|
@@ -16854,13 +16907,18 @@ class NoteRecipientArray {
|
|
|
16854
16907
|
wasm.noterecipientarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
16855
16908
|
}
|
|
16856
16909
|
/**
|
|
16910
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
16911
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
16912
|
+
* after the call. Without this borrow, passing `elem` by
|
|
16913
|
+
* value would move the underlying Rust value out of the
|
|
16914
|
+
* caller's JS handle and any subsequent method on it would
|
|
16915
|
+
* panic with `"null pointer passed to rust"`.
|
|
16857
16916
|
* @param {number} index
|
|
16858
16917
|
* @param {NoteRecipient} elem
|
|
16859
16918
|
*/
|
|
16860
16919
|
replaceAt(index, elem) {
|
|
16861
16920
|
_assertClass(elem, NoteRecipient);
|
|
16862
|
-
|
|
16863
|
-
const ret = wasm.noterecipientarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
16921
|
+
const ret = wasm.noterecipientarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
16864
16922
|
if (ret[1]) {
|
|
16865
16923
|
throw takeFromExternrefTable0(ret[0]);
|
|
16866
16924
|
}
|
|
@@ -17395,13 +17453,18 @@ class OutputNoteArray {
|
|
|
17395
17453
|
wasm.outputnotearray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
17396
17454
|
}
|
|
17397
17455
|
/**
|
|
17456
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
17457
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
17458
|
+
* after the call. Without this borrow, passing `elem` by
|
|
17459
|
+
* value would move the underlying Rust value out of the
|
|
17460
|
+
* caller's JS handle and any subsequent method on it would
|
|
17461
|
+
* panic with `"null pointer passed to rust"`.
|
|
17398
17462
|
* @param {number} index
|
|
17399
17463
|
* @param {OutputNote} elem
|
|
17400
17464
|
*/
|
|
17401
17465
|
replaceAt(index, elem) {
|
|
17402
17466
|
_assertClass(elem, OutputNote);
|
|
17403
|
-
|
|
17404
|
-
const ret = wasm.outputnotearray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
17467
|
+
const ret = wasm.outputnotearray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
17405
17468
|
if (ret[1]) {
|
|
17406
17469
|
throw takeFromExternrefTable0(ret[0]);
|
|
17407
17470
|
}
|
|
@@ -19461,13 +19524,18 @@ class StorageSlotArray {
|
|
|
19461
19524
|
wasm.storageslotarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
19462
19525
|
}
|
|
19463
19526
|
/**
|
|
19527
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
19528
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
19529
|
+
* after the call. Without this borrow, passing `elem` by
|
|
19530
|
+
* value would move the underlying Rust value out of the
|
|
19531
|
+
* caller's JS handle and any subsequent method on it would
|
|
19532
|
+
* panic with `"null pointer passed to rust"`.
|
|
19464
19533
|
* @param {number} index
|
|
19465
19534
|
* @param {StorageSlot} elem
|
|
19466
19535
|
*/
|
|
19467
19536
|
replaceAt(index, elem) {
|
|
19468
19537
|
_assertClass(elem, StorageSlot);
|
|
19469
|
-
|
|
19470
|
-
const ret = wasm.storageslotarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
19538
|
+
const ret = wasm.storageslotarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
19471
19539
|
if (ret[1]) {
|
|
19472
19540
|
throw takeFromExternrefTable0(ret[0]);
|
|
19473
19541
|
}
|
|
@@ -20576,13 +20644,18 @@ class TransactionScriptInputPairArray {
|
|
|
20576
20644
|
wasm.transactionscriptinputpairarray_push(this.__wbg_ptr, element.__wbg_ptr);
|
|
20577
20645
|
}
|
|
20578
20646
|
/**
|
|
20647
|
+
* Replace the element at `index`. Borrows + clones the input
|
|
20648
|
+
* (mirrors `push`), so the caller's JS handle remains valid
|
|
20649
|
+
* after the call. Without this borrow, passing `elem` by
|
|
20650
|
+
* value would move the underlying Rust value out of the
|
|
20651
|
+
* caller's JS handle and any subsequent method on it would
|
|
20652
|
+
* panic with `"null pointer passed to rust"`.
|
|
20579
20653
|
* @param {number} index
|
|
20580
20654
|
* @param {TransactionScriptInputPair} elem
|
|
20581
20655
|
*/
|
|
20582
20656
|
replaceAt(index, elem) {
|
|
20583
20657
|
_assertClass(elem, TransactionScriptInputPair);
|
|
20584
|
-
|
|
20585
|
-
const ret = wasm.transactionscriptinputpairarray_replaceAt(this.__wbg_ptr, index, ptr0);
|
|
20658
|
+
const ret = wasm.transactionscriptinputpairarray_replaceAt(this.__wbg_ptr, index, elem.__wbg_ptr);
|
|
20586
20659
|
if (ret[1]) {
|
|
20587
20660
|
throw takeFromExternrefTable0(ret[0]);
|
|
20588
20661
|
}
|
|
@@ -21334,6 +21407,35 @@ class WebClient {
|
|
|
21334
21407
|
}
|
|
21335
21408
|
return WebKeystoreApi.__wrap(ret[0]);
|
|
21336
21409
|
}
|
|
21410
|
+
/**
|
|
21411
|
+
* Returns the raw JS value that the most recent sign-callback invocation
|
|
21412
|
+
* threw, or `null` if the last sign call succeeded (or no call has
|
|
21413
|
+
* happened yet).
|
|
21414
|
+
*
|
|
21415
|
+
* Combined with the serialized-call discipline enforced at the JS
|
|
21416
|
+
* `WebClient` wrapper, this lets a caller that caught a failed
|
|
21417
|
+
* `executeTransaction` / `submitNewTransaction` recover the original
|
|
21418
|
+
* JS error the signing callback threw — preserving any structured
|
|
21419
|
+
* metadata (e.g. a `reason: 'locked'` property) that the kernel-level
|
|
21420
|
+
* `auth::request` diagnostic would otherwise have erased.
|
|
21421
|
+
*
|
|
21422
|
+
* # Usage (TS)
|
|
21423
|
+
* ```ts
|
|
21424
|
+
* try {
|
|
21425
|
+
* await client.submitNewTransaction(acc, req);
|
|
21426
|
+
* } catch (e) {
|
|
21427
|
+
* const authErr = client.lastAuthError();
|
|
21428
|
+
* if (authErr && authErr.reason === 'locked') {
|
|
21429
|
+
* // wait for unlock, then retry
|
|
21430
|
+
* }
|
|
21431
|
+
* }
|
|
21432
|
+
* ```
|
|
21433
|
+
* @returns {any}
|
|
21434
|
+
*/
|
|
21435
|
+
lastAuthError() {
|
|
21436
|
+
const ret = wasm.webclient_lastAuthError(this.__wbg_ptr);
|
|
21437
|
+
return ret;
|
|
21438
|
+
}
|
|
21337
21439
|
/**
|
|
21338
21440
|
* Returns all the existing setting keys from the store.
|
|
21339
21441
|
* @returns {Promise<string[]>}
|
|
@@ -21486,20 +21588,32 @@ class WebClient {
|
|
|
21486
21588
|
}
|
|
21487
21589
|
}
|
|
21488
21590
|
/**
|
|
21489
|
-
* Generates a transaction proof using
|
|
21490
|
-
* prover if none is supplied.
|
|
21591
|
+
* Generates a transaction proof using the client's default (local) prover.
|
|
21491
21592
|
* @param {TransactionResult} transaction_result
|
|
21492
|
-
* @param {TransactionProver | null} [prover]
|
|
21493
21593
|
* @returns {Promise<ProvenTransaction>}
|
|
21494
21594
|
*/
|
|
21495
|
-
proveTransaction(transaction_result
|
|
21595
|
+
proveTransaction(transaction_result) {
|
|
21496
21596
|
_assertClass(transaction_result, TransactionResult);
|
|
21497
|
-
|
|
21498
|
-
|
|
21499
|
-
|
|
21500
|
-
|
|
21501
|
-
|
|
21502
|
-
|
|
21597
|
+
const ret = wasm.webclient_proveTransaction(this.__wbg_ptr, transaction_result.__wbg_ptr);
|
|
21598
|
+
return ret;
|
|
21599
|
+
}
|
|
21600
|
+
/**
|
|
21601
|
+
* Generates a transaction proof using the provided prover.
|
|
21602
|
+
*
|
|
21603
|
+
* Takes the prover by reference so the JS-side handle is NOT consumed
|
|
21604
|
+
* by wasm-bindgen. Taking `TransactionProver` by value would transfer
|
|
21605
|
+
* ownership on each call, invalidating the JS object's internal WASM
|
|
21606
|
+
* handle; after one use, subsequent calls from JS would pass a dangling
|
|
21607
|
+
* handle that wasm-bindgen interprets as `None`, silently falling back
|
|
21608
|
+
* to the local prover.
|
|
21609
|
+
* @param {TransactionResult} transaction_result
|
|
21610
|
+
* @param {TransactionProver} prover
|
|
21611
|
+
* @returns {Promise<ProvenTransaction>}
|
|
21612
|
+
*/
|
|
21613
|
+
proveTransactionWithProver(transaction_result, prover) {
|
|
21614
|
+
_assertClass(transaction_result, TransactionResult);
|
|
21615
|
+
_assertClass(prover, TransactionProver);
|
|
21616
|
+
const ret = wasm.webclient_proveTransactionWithProver(this.__wbg_ptr, transaction_result.__wbg_ptr, prover.__wbg_ptr);
|
|
21503
21617
|
return ret;
|
|
21504
21618
|
}
|
|
21505
21619
|
/**
|
|
@@ -22102,7 +22216,7 @@ function __wbg_get_imports() {
|
|
|
22102
22216
|
const ret = AccountStorage.__wrap(arg0);
|
|
22103
22217
|
return ret;
|
|
22104
22218
|
},
|
|
22105
|
-
|
|
22219
|
+
__wbg_addNoteTag_973e2e4a9b348c78: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
22106
22220
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22107
22221
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22108
22222
|
let v1;
|
|
@@ -22125,15 +22239,15 @@ function __wbg_get_imports() {
|
|
|
22125
22239
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
22126
22240
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
22127
22241
|
}, arguments); },
|
|
22128
|
-
|
|
22242
|
+
__wbg_applyFullAccountState_e742f2e18c9269eb: function(arg0, arg1, arg2) {
|
|
22129
22243
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
22130
22244
|
return ret;
|
|
22131
22245
|
},
|
|
22132
|
-
|
|
22246
|
+
__wbg_applyStateSync_11120f9db91440ca: function(arg0, arg1, arg2) {
|
|
22133
22247
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
22134
22248
|
return ret;
|
|
22135
22249
|
},
|
|
22136
|
-
|
|
22250
|
+
__wbg_applyTransactionDelta_06bf0e0618a0fbbc: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
22137
22251
|
let deferred0_0;
|
|
22138
22252
|
let deferred0_1;
|
|
22139
22253
|
let deferred1_0;
|
|
@@ -22268,7 +22382,7 @@ function __wbg_get_imports() {
|
|
|
22268
22382
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22269
22383
|
}
|
|
22270
22384
|
},
|
|
22271
|
-
|
|
22385
|
+
__wbg_exportStore_52bd7ea33e1e5d54: function(arg0, arg1) {
|
|
22272
22386
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
22273
22387
|
return ret;
|
|
22274
22388
|
},
|
|
@@ -22300,7 +22414,7 @@ function __wbg_get_imports() {
|
|
|
22300
22414
|
const ret = FetchedNote.__wrap(arg0);
|
|
22301
22415
|
return ret;
|
|
22302
22416
|
},
|
|
22303
|
-
|
|
22417
|
+
__wbg_forceImportStore_64d44c2df05ad10d: function(arg0, arg1, arg2) {
|
|
22304
22418
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
22305
22419
|
return ret;
|
|
22306
22420
|
},
|
|
@@ -22320,7 +22434,7 @@ function __wbg_get_imports() {
|
|
|
22320
22434
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
22321
22435
|
return ret;
|
|
22322
22436
|
},
|
|
22323
|
-
|
|
22437
|
+
__wbg_getAccountAddresses_5a86706a5bdd3c7a: function(arg0, arg1, arg2, arg3) {
|
|
22324
22438
|
let deferred0_0;
|
|
22325
22439
|
let deferred0_1;
|
|
22326
22440
|
try {
|
|
@@ -22332,7 +22446,7 @@ function __wbg_get_imports() {
|
|
|
22332
22446
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22333
22447
|
}
|
|
22334
22448
|
},
|
|
22335
|
-
|
|
22449
|
+
__wbg_getAccountAuthByPubKeyCommitment_0247d03650eada1a: function(arg0, arg1, arg2, arg3) {
|
|
22336
22450
|
let deferred0_0;
|
|
22337
22451
|
let deferred0_1;
|
|
22338
22452
|
try {
|
|
@@ -22344,7 +22458,7 @@ function __wbg_get_imports() {
|
|
|
22344
22458
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22345
22459
|
}
|
|
22346
22460
|
},
|
|
22347
|
-
|
|
22461
|
+
__wbg_getAccountCode_48a9c8a2971d2e92: function(arg0, arg1, arg2, arg3) {
|
|
22348
22462
|
let deferred0_0;
|
|
22349
22463
|
let deferred0_1;
|
|
22350
22464
|
try {
|
|
@@ -22356,7 +22470,7 @@ function __wbg_get_imports() {
|
|
|
22356
22470
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22357
22471
|
}
|
|
22358
22472
|
},
|
|
22359
|
-
|
|
22473
|
+
__wbg_getAccountHeaderByCommitment_b30143794295f784: function(arg0, arg1, arg2, arg3) {
|
|
22360
22474
|
let deferred0_0;
|
|
22361
22475
|
let deferred0_1;
|
|
22362
22476
|
try {
|
|
@@ -22368,7 +22482,7 @@ function __wbg_get_imports() {
|
|
|
22368
22482
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22369
22483
|
}
|
|
22370
22484
|
},
|
|
22371
|
-
|
|
22485
|
+
__wbg_getAccountHeader_c9940b3934df4673: function(arg0, arg1, arg2, arg3) {
|
|
22372
22486
|
let deferred0_0;
|
|
22373
22487
|
let deferred0_1;
|
|
22374
22488
|
try {
|
|
@@ -22380,7 +22494,7 @@ function __wbg_get_imports() {
|
|
|
22380
22494
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22381
22495
|
}
|
|
22382
22496
|
},
|
|
22383
|
-
|
|
22497
|
+
__wbg_getAccountIdByKeyCommitment_fe581761272afe1d: function(arg0, arg1, arg2, arg3) {
|
|
22384
22498
|
let deferred0_0;
|
|
22385
22499
|
let deferred0_1;
|
|
22386
22500
|
try {
|
|
@@ -22392,11 +22506,11 @@ function __wbg_get_imports() {
|
|
|
22392
22506
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22393
22507
|
}
|
|
22394
22508
|
},
|
|
22395
|
-
|
|
22509
|
+
__wbg_getAccountIds_c9d6a7a3dd28e48b: function(arg0, arg1) {
|
|
22396
22510
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
22397
22511
|
return ret;
|
|
22398
22512
|
},
|
|
22399
|
-
|
|
22513
|
+
__wbg_getAccountStorageMaps_6d8adf5a2b5dbc83: function(arg0, arg1, arg2, arg3) {
|
|
22400
22514
|
let deferred0_0;
|
|
22401
22515
|
let deferred0_1;
|
|
22402
22516
|
try {
|
|
@@ -22408,7 +22522,7 @@ function __wbg_get_imports() {
|
|
|
22408
22522
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22409
22523
|
}
|
|
22410
22524
|
},
|
|
22411
|
-
|
|
22525
|
+
__wbg_getAccountStorage_b342960a6c7336dd: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22412
22526
|
let deferred0_0;
|
|
22413
22527
|
let deferred0_1;
|
|
22414
22528
|
try {
|
|
@@ -22422,7 +22536,7 @@ function __wbg_get_imports() {
|
|
|
22422
22536
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22423
22537
|
}
|
|
22424
22538
|
},
|
|
22425
|
-
|
|
22539
|
+
__wbg_getAccountVaultAssets_18d0ffa14548039c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22426
22540
|
let deferred0_0;
|
|
22427
22541
|
let deferred0_1;
|
|
22428
22542
|
try {
|
|
@@ -22436,23 +22550,23 @@ function __wbg_get_imports() {
|
|
|
22436
22550
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22437
22551
|
}
|
|
22438
22552
|
},
|
|
22439
|
-
|
|
22553
|
+
__wbg_getAllAccountHeaders_172e80227d0a3aa7: function(arg0, arg1) {
|
|
22440
22554
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
22441
22555
|
return ret;
|
|
22442
22556
|
},
|
|
22443
|
-
|
|
22557
|
+
__wbg_getBlockHeaders_e163d81e24b97494: function(arg0, arg1, arg2, arg3) {
|
|
22444
22558
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
22445
22559
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22446
22560
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
22447
22561
|
return ret;
|
|
22448
22562
|
},
|
|
22449
|
-
|
|
22563
|
+
__wbg_getForeignAccountCode_594181ed34b498da: function(arg0, arg1, arg2, arg3) {
|
|
22450
22564
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22451
22565
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22452
22566
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
22453
22567
|
return ret;
|
|
22454
22568
|
},
|
|
22455
|
-
|
|
22569
|
+
__wbg_getInputNoteByOffset_833996e034b6ec72: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
22456
22570
|
let deferred1_0;
|
|
22457
22571
|
let deferred1_1;
|
|
22458
22572
|
try {
|
|
@@ -22466,25 +22580,25 @@ function __wbg_get_imports() {
|
|
|
22466
22580
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
22467
22581
|
}
|
|
22468
22582
|
},
|
|
22469
|
-
|
|
22583
|
+
__wbg_getInputNotesFromIds_56764ba02bfc0f58: function(arg0, arg1, arg2, arg3) {
|
|
22470
22584
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22471
22585
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22472
22586
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
22473
22587
|
return ret;
|
|
22474
22588
|
},
|
|
22475
|
-
|
|
22589
|
+
__wbg_getInputNotesFromNullifiers_63c235a8ef0d1ed8: function(arg0, arg1, arg2, arg3) {
|
|
22476
22590
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22477
22591
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22478
22592
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
22479
22593
|
return ret;
|
|
22480
22594
|
},
|
|
22481
|
-
|
|
22595
|
+
__wbg_getInputNotes_f31dd0359864fba4: function(arg0, arg1, arg2, arg3) {
|
|
22482
22596
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22483
22597
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22484
22598
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
22485
22599
|
return ret;
|
|
22486
22600
|
},
|
|
22487
|
-
|
|
22601
|
+
__wbg_getKeyCommitmentsByAccountId_e0f8d3379c7cfd44: function(arg0, arg1, arg2, arg3) {
|
|
22488
22602
|
let deferred0_0;
|
|
22489
22603
|
let deferred0_1;
|
|
22490
22604
|
try {
|
|
@@ -22496,7 +22610,7 @@ function __wbg_get_imports() {
|
|
|
22496
22610
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22497
22611
|
}
|
|
22498
22612
|
},
|
|
22499
|
-
|
|
22613
|
+
__wbg_getNoteScript_7c840c12ece3407a: function(arg0, arg1, arg2, arg3) {
|
|
22500
22614
|
let deferred0_0;
|
|
22501
22615
|
let deferred0_1;
|
|
22502
22616
|
try {
|
|
@@ -22508,33 +22622,33 @@ function __wbg_get_imports() {
|
|
|
22508
22622
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22509
22623
|
}
|
|
22510
22624
|
},
|
|
22511
|
-
|
|
22625
|
+
__wbg_getNoteTags_3e534d0288cc279d: function(arg0, arg1) {
|
|
22512
22626
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
22513
22627
|
return ret;
|
|
22514
22628
|
},
|
|
22515
|
-
|
|
22629
|
+
__wbg_getOutputNotesFromIds_ca9334740d5ad794: function(arg0, arg1, arg2, arg3) {
|
|
22516
22630
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22517
22631
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22518
22632
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
22519
22633
|
return ret;
|
|
22520
22634
|
},
|
|
22521
|
-
|
|
22635
|
+
__wbg_getOutputNotesFromNullifiers_1b3743a61421690b: function(arg0, arg1, arg2, arg3) {
|
|
22522
22636
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22523
22637
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22524
22638
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
22525
22639
|
return ret;
|
|
22526
22640
|
},
|
|
22527
|
-
|
|
22641
|
+
__wbg_getOutputNotes_50cb1e0540aedca0: function(arg0, arg1, arg2, arg3) {
|
|
22528
22642
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22529
22643
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22530
22644
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
22531
22645
|
return ret;
|
|
22532
22646
|
},
|
|
22533
|
-
|
|
22647
|
+
__wbg_getPartialBlockchainNodesAll_fd7362a9062e367a: function(arg0, arg1) {
|
|
22534
22648
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
22535
22649
|
return ret;
|
|
22536
22650
|
},
|
|
22537
|
-
|
|
22651
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_b66e50c0ebf4e09c: function(arg0, arg1, arg2, arg3) {
|
|
22538
22652
|
let deferred0_0;
|
|
22539
22653
|
let deferred0_1;
|
|
22540
22654
|
try {
|
|
@@ -22546,13 +22660,13 @@ function __wbg_get_imports() {
|
|
|
22546
22660
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22547
22661
|
}
|
|
22548
22662
|
},
|
|
22549
|
-
|
|
22663
|
+
__wbg_getPartialBlockchainNodes_ba084ae0138e9b85: function(arg0, arg1, arg2, arg3) {
|
|
22550
22664
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22551
22665
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22552
22666
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
22553
22667
|
return ret;
|
|
22554
22668
|
},
|
|
22555
|
-
|
|
22669
|
+
__wbg_getPartialBlockchainPeaksByBlockNum_a27d74f0afd8ebd5: function(arg0, arg1, arg2) {
|
|
22556
22670
|
const ret = getPartialBlockchainPeaksByBlockNum(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
22557
22671
|
return ret;
|
|
22558
22672
|
},
|
|
@@ -22563,7 +22677,7 @@ function __wbg_get_imports() {
|
|
|
22563
22677
|
const ret = arg0.getReader();
|
|
22564
22678
|
return ret;
|
|
22565
22679
|
}, arguments); },
|
|
22566
|
-
|
|
22680
|
+
__wbg_getSetting_d758a0c1a1ef754d: function(arg0, arg1, arg2, arg3) {
|
|
22567
22681
|
let deferred0_0;
|
|
22568
22682
|
let deferred0_1;
|
|
22569
22683
|
try {
|
|
@@ -22575,7 +22689,7 @@ function __wbg_get_imports() {
|
|
|
22575
22689
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22576
22690
|
}
|
|
22577
22691
|
},
|
|
22578
|
-
|
|
22692
|
+
__wbg_getSyncHeight_bc5e18a830512fb9: function(arg0, arg1) {
|
|
22579
22693
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
22580
22694
|
return ret;
|
|
22581
22695
|
},
|
|
@@ -22583,15 +22697,15 @@ function __wbg_get_imports() {
|
|
|
22583
22697
|
const ret = arg0.getTime();
|
|
22584
22698
|
return ret;
|
|
22585
22699
|
},
|
|
22586
|
-
|
|
22700
|
+
__wbg_getTrackedBlockHeaderNumbers_efa442cb6852b46a: function(arg0, arg1) {
|
|
22587
22701
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
22588
22702
|
return ret;
|
|
22589
22703
|
},
|
|
22590
|
-
|
|
22704
|
+
__wbg_getTrackedBlockHeaders_81a15d93c856de82: function(arg0, arg1) {
|
|
22591
22705
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
22592
22706
|
return ret;
|
|
22593
22707
|
},
|
|
22594
|
-
|
|
22708
|
+
__wbg_getTransactions_0d020f186d88801a: function(arg0, arg1, arg2, arg3) {
|
|
22595
22709
|
let deferred0_0;
|
|
22596
22710
|
let deferred0_1;
|
|
22597
22711
|
try {
|
|
@@ -22603,7 +22717,7 @@ function __wbg_get_imports() {
|
|
|
22603
22717
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22604
22718
|
}
|
|
22605
22719
|
},
|
|
22606
|
-
|
|
22720
|
+
__wbg_getUnspentInputNoteNullifiers_bc2801eb7f967f9e: function(arg0, arg1) {
|
|
22607
22721
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
22608
22722
|
return ret;
|
|
22609
22723
|
},
|
|
@@ -22647,7 +22761,7 @@ function __wbg_get_imports() {
|
|
|
22647
22761
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
22648
22762
|
return ret;
|
|
22649
22763
|
},
|
|
22650
|
-
|
|
22764
|
+
__wbg_insertAccountAddress_cad95e96d090ae37: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22651
22765
|
let deferred0_0;
|
|
22652
22766
|
let deferred0_1;
|
|
22653
22767
|
try {
|
|
@@ -22661,7 +22775,7 @@ function __wbg_get_imports() {
|
|
|
22661
22775
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22662
22776
|
}
|
|
22663
22777
|
},
|
|
22664
|
-
|
|
22778
|
+
__wbg_insertAccountAuth_3ccbf13a84d72de0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22665
22779
|
let deferred0_0;
|
|
22666
22780
|
let deferred0_1;
|
|
22667
22781
|
let deferred1_0;
|
|
@@ -22678,7 +22792,7 @@ function __wbg_get_imports() {
|
|
|
22678
22792
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
22679
22793
|
}
|
|
22680
22794
|
},
|
|
22681
|
-
|
|
22795
|
+
__wbg_insertAccountKeyMapping_90521e58351da78b: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22682
22796
|
let deferred0_0;
|
|
22683
22797
|
let deferred0_1;
|
|
22684
22798
|
let deferred1_0;
|
|
@@ -22695,7 +22809,7 @@ function __wbg_get_imports() {
|
|
|
22695
22809
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
22696
22810
|
}
|
|
22697
22811
|
},
|
|
22698
|
-
|
|
22812
|
+
__wbg_insertBlockHeader_7e97a5f52e1d540c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
22699
22813
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
22700
22814
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
22701
22815
|
var v1 = getArrayU8FromWasm0(arg5, arg6).slice();
|
|
@@ -22703,7 +22817,7 @@ function __wbg_get_imports() {
|
|
|
22703
22817
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, v1, arg7 !== 0);
|
|
22704
22818
|
return ret;
|
|
22705
22819
|
},
|
|
22706
|
-
|
|
22820
|
+
__wbg_insertPartialBlockchainNodes_57d1b2a9ba469df0: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22707
22821
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
22708
22822
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
22709
22823
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -22711,7 +22825,7 @@ function __wbg_get_imports() {
|
|
|
22711
22825
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
22712
22826
|
return ret;
|
|
22713
22827
|
},
|
|
22714
|
-
|
|
22828
|
+
__wbg_insertSetting_2d699abf72009fa1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22715
22829
|
let deferred0_0;
|
|
22716
22830
|
let deferred0_1;
|
|
22717
22831
|
try {
|
|
@@ -22725,7 +22839,7 @@ function __wbg_get_imports() {
|
|
|
22725
22839
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
22726
22840
|
}
|
|
22727
22841
|
},
|
|
22728
|
-
|
|
22842
|
+
__wbg_insertTransactionScript_3bc666c70beb260f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
22729
22843
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
22730
22844
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
22731
22845
|
let v1;
|
|
@@ -22818,11 +22932,11 @@ function __wbg_get_imports() {
|
|
|
22818
22932
|
const ret = arg0.length;
|
|
22819
22933
|
return ret;
|
|
22820
22934
|
},
|
|
22821
|
-
|
|
22935
|
+
__wbg_listSettingKeys_05dadafcb90c698b: function(arg0, arg1) {
|
|
22822
22936
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
22823
22937
|
return ret;
|
|
22824
22938
|
},
|
|
22825
|
-
|
|
22939
|
+
__wbg_lockAccount_8309529edb82c560: function(arg0, arg1, arg2, arg3) {
|
|
22826
22940
|
let deferred0_0;
|
|
22827
22941
|
let deferred0_1;
|
|
22828
22942
|
try {
|
|
@@ -22906,7 +23020,7 @@ function __wbg_get_imports() {
|
|
|
22906
23020
|
const a = state0.a;
|
|
22907
23021
|
state0.a = 0;
|
|
22908
23022
|
try {
|
|
22909
|
-
return
|
|
23023
|
+
return wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(a, state0.b, arg0, arg1);
|
|
22910
23024
|
} finally {
|
|
22911
23025
|
state0.a = a;
|
|
22912
23026
|
}
|
|
@@ -23013,7 +23127,7 @@ function __wbg_get_imports() {
|
|
|
23013
23127
|
const ret = NoteTag.__unwrap(arg0);
|
|
23014
23128
|
return ret;
|
|
23015
23129
|
},
|
|
23016
|
-
|
|
23130
|
+
__wbg_openDatabase_4f68920e634e6a36: function(arg0, arg1, arg2, arg3) {
|
|
23017
23131
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
23018
23132
|
return ret;
|
|
23019
23133
|
},
|
|
@@ -23044,7 +23158,7 @@ function __wbg_get_imports() {
|
|
|
23044
23158
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
23045
23159
|
return ret;
|
|
23046
23160
|
},
|
|
23047
|
-
|
|
23161
|
+
__wbg_pruneAccountHistory_6d75f9da793c7146: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23048
23162
|
let deferred0_0;
|
|
23049
23163
|
let deferred0_1;
|
|
23050
23164
|
let deferred1_0;
|
|
@@ -23061,7 +23175,7 @@ function __wbg_get_imports() {
|
|
|
23061
23175
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23062
23176
|
}
|
|
23063
23177
|
},
|
|
23064
|
-
|
|
23178
|
+
__wbg_pruneIrrelevantBlocks_0c5e2996bdd4f34d: function(arg0, arg1) {
|
|
23065
23179
|
const ret = pruneIrrelevantBlocks(getStringFromWasm0(arg0, arg1));
|
|
23066
23180
|
return ret;
|
|
23067
23181
|
},
|
|
@@ -23079,13 +23193,13 @@ function __wbg_get_imports() {
|
|
|
23079
23193
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
23080
23194
|
arg0.releaseLock();
|
|
23081
23195
|
},
|
|
23082
|
-
|
|
23196
|
+
__wbg_removeAccountAddress_e36699c690cbd226: function(arg0, arg1, arg2, arg3) {
|
|
23083
23197
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23084
23198
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23085
23199
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
23086
23200
|
return ret;
|
|
23087
23201
|
},
|
|
23088
|
-
|
|
23202
|
+
__wbg_removeAccountAuth_aaf80576b7268aa3: function(arg0, arg1, arg2, arg3) {
|
|
23089
23203
|
let deferred0_0;
|
|
23090
23204
|
let deferred0_1;
|
|
23091
23205
|
try {
|
|
@@ -23097,7 +23211,7 @@ function __wbg_get_imports() {
|
|
|
23097
23211
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23098
23212
|
}
|
|
23099
23213
|
},
|
|
23100
|
-
|
|
23214
|
+
__wbg_removeAllMappingsForKey_99333cc84402fb4f: function(arg0, arg1, arg2, arg3) {
|
|
23101
23215
|
let deferred0_0;
|
|
23102
23216
|
let deferred0_1;
|
|
23103
23217
|
try {
|
|
@@ -23109,7 +23223,7 @@ function __wbg_get_imports() {
|
|
|
23109
23223
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23110
23224
|
}
|
|
23111
23225
|
},
|
|
23112
|
-
|
|
23226
|
+
__wbg_removeNoteTag_2071bbe1e7694e38: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23113
23227
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23114
23228
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23115
23229
|
let v1;
|
|
@@ -23125,7 +23239,7 @@ function __wbg_get_imports() {
|
|
|
23125
23239
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2);
|
|
23126
23240
|
return ret;
|
|
23127
23241
|
},
|
|
23128
|
-
|
|
23242
|
+
__wbg_removeSetting_f68b70cf07c8883d: function(arg0, arg1, arg2, arg3) {
|
|
23129
23243
|
let deferred0_0;
|
|
23130
23244
|
let deferred0_1;
|
|
23131
23245
|
try {
|
|
@@ -23317,13 +23431,13 @@ function __wbg_get_imports() {
|
|
|
23317
23431
|
const ret = TransactionSummary.__wrap(arg0);
|
|
23318
23432
|
return ret;
|
|
23319
23433
|
},
|
|
23320
|
-
|
|
23434
|
+
__wbg_undoAccountStates_432ad1aabd2a3a26: function(arg0, arg1, arg2, arg3) {
|
|
23321
23435
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23322
23436
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23323
23437
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
23324
23438
|
return ret;
|
|
23325
23439
|
},
|
|
23326
|
-
|
|
23440
|
+
__wbg_upsertAccountCode_133dd03094e8974e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23327
23441
|
let deferred0_0;
|
|
23328
23442
|
let deferred0_1;
|
|
23329
23443
|
try {
|
|
@@ -23337,7 +23451,7 @@ function __wbg_get_imports() {
|
|
|
23337
23451
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23338
23452
|
}
|
|
23339
23453
|
},
|
|
23340
|
-
|
|
23454
|
+
__wbg_upsertAccountRecord_97ec9821e9bce90c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) {
|
|
23341
23455
|
let deferred0_0;
|
|
23342
23456
|
let deferred0_1;
|
|
23343
23457
|
let deferred1_0;
|
|
@@ -23379,7 +23493,7 @@ function __wbg_get_imports() {
|
|
|
23379
23493
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
23380
23494
|
}
|
|
23381
23495
|
},
|
|
23382
|
-
|
|
23496
|
+
__wbg_upsertAccountStorage_81db74f4cf6442f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23383
23497
|
let deferred0_0;
|
|
23384
23498
|
let deferred0_1;
|
|
23385
23499
|
try {
|
|
@@ -23393,7 +23507,7 @@ function __wbg_get_imports() {
|
|
|
23393
23507
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23394
23508
|
}
|
|
23395
23509
|
},
|
|
23396
|
-
|
|
23510
|
+
__wbg_upsertForeignAccountCode_5070ddc08c0ee632: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
23397
23511
|
let deferred0_0;
|
|
23398
23512
|
let deferred0_1;
|
|
23399
23513
|
let deferred2_0;
|
|
@@ -23412,7 +23526,7 @@ function __wbg_get_imports() {
|
|
|
23412
23526
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
23413
23527
|
}
|
|
23414
23528
|
},
|
|
23415
|
-
|
|
23529
|
+
__wbg_upsertInputNote_a1f3154ee7b601d7: 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) {
|
|
23416
23530
|
let deferred0_0;
|
|
23417
23531
|
let deferred0_1;
|
|
23418
23532
|
let deferred4_0;
|
|
@@ -23454,7 +23568,7 @@ function __wbg_get_imports() {
|
|
|
23454
23568
|
wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
|
|
23455
23569
|
}
|
|
23456
23570
|
},
|
|
23457
|
-
|
|
23571
|
+
__wbg_upsertNoteScript_964eec397ad12e17: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23458
23572
|
let deferred0_0;
|
|
23459
23573
|
let deferred0_1;
|
|
23460
23574
|
try {
|
|
@@ -23468,7 +23582,7 @@ function __wbg_get_imports() {
|
|
|
23468
23582
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23469
23583
|
}
|
|
23470
23584
|
},
|
|
23471
|
-
|
|
23585
|
+
__wbg_upsertOutputNote_521c6dfb72b60b27: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) {
|
|
23472
23586
|
let deferred0_0;
|
|
23473
23587
|
let deferred0_1;
|
|
23474
23588
|
let deferred2_0;
|
|
@@ -23496,7 +23610,7 @@ function __wbg_get_imports() {
|
|
|
23496
23610
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
23497
23611
|
}
|
|
23498
23612
|
},
|
|
23499
|
-
|
|
23613
|
+
__wbg_upsertStorageMapEntries_9342c8c7ec58eaf4: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23500
23614
|
let deferred0_0;
|
|
23501
23615
|
let deferred0_1;
|
|
23502
23616
|
try {
|
|
@@ -23510,7 +23624,7 @@ function __wbg_get_imports() {
|
|
|
23510
23624
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23511
23625
|
}
|
|
23512
23626
|
},
|
|
23513
|
-
|
|
23627
|
+
__wbg_upsertTransactionRecord_d12d00e12478f16d: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
23514
23628
|
let deferred0_0;
|
|
23515
23629
|
let deferred0_1;
|
|
23516
23630
|
try {
|
|
@@ -23531,7 +23645,7 @@ function __wbg_get_imports() {
|
|
|
23531
23645
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
23532
23646
|
}
|
|
23533
23647
|
},
|
|
23534
|
-
|
|
23648
|
+
__wbg_upsertVaultAssets_a0586701be2577a6: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
23535
23649
|
let deferred0_0;
|
|
23536
23650
|
let deferred0_1;
|
|
23537
23651
|
try {
|
|
@@ -23562,13 +23676,13 @@ function __wbg_get_imports() {
|
|
|
23562
23676
|
return ret;
|
|
23563
23677
|
},
|
|
23564
23678
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
23565
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
23566
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
23679
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 352, function: Function { arguments: [Externref], shim_idx: 694, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
23680
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h59e0a062e9afff1a, wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c);
|
|
23567
23681
|
return ret;
|
|
23568
23682
|
},
|
|
23569
23683
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
23570
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
23571
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
23684
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 352, function: Function { arguments: [], shim_idx: 353, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
23685
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h59e0a062e9afff1a, wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8);
|
|
23572
23686
|
return ret;
|
|
23573
23687
|
},
|
|
23574
23688
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -23672,16 +23786,16 @@ function __wbg_get_imports() {
|
|
|
23672
23786
|
};
|
|
23673
23787
|
}
|
|
23674
23788
|
|
|
23675
|
-
function
|
|
23676
|
-
wasm.
|
|
23789
|
+
function wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8(arg0, arg1) {
|
|
23790
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h134f6c798ed66cf8(arg0, arg1);
|
|
23677
23791
|
}
|
|
23678
23792
|
|
|
23679
|
-
function
|
|
23680
|
-
wasm.
|
|
23793
|
+
function wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c(arg0, arg1, arg2) {
|
|
23794
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h29d102b2fd2d683c(arg0, arg1, arg2);
|
|
23681
23795
|
}
|
|
23682
23796
|
|
|
23683
|
-
function
|
|
23684
|
-
wasm.
|
|
23797
|
+
function wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(arg0, arg1, arg2, arg3) {
|
|
23798
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2a46aa320c20015b(arg0, arg1, arg2, arg3);
|
|
23685
23799
|
}
|
|
23686
23800
|
|
|
23687
23801
|
|
|
@@ -24484,4 +24598,4 @@ async function __wbg_init(module_or_path) {
|
|
|
24484
24598
|
|
|
24485
24599
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
24486
24600
|
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, NoteAttachmentKind, NoteAttachmentScheme, NoteConsumability, NoteConsumptionStatus, NoteDetails, NoteDetailsAndTag, NoteDetailsAndTagArray, NoteExecutionHint, NoteExportFormat, NoteFile, NoteFilter, NoteFilterTypes, NoteHeader, NoteId, NoteIdAndArgs, NoteIdAndArgsArray, NoteInclusionProof, NoteLocation, NoteMetadata, NoteRecipient, NoteRecipientArray, NoteScript, NoteStorage, NoteSyncBlock, NoteSyncInfo, NoteTag, NoteType, OutputNote, OutputNoteArray, OutputNoteRecord, OutputNoteState, OutputNotes, Package, PartialNote, Poseidon2, ProcedureThreshold, Program, ProvenTransaction, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, setupLogging , __wbg_init, module$1 as __wasm_url };
|
|
24487
|
-
//# sourceMappingURL=Cargo-
|
|
24601
|
+
//# sourceMappingURL=Cargo-M3382VZc.js.map
|