@miden-sdk/miden-sdk 0.15.4 → 0.15.6
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 +29 -0
- package/dist/mt/{Cargo-DjVnfWKi.js → Cargo-mvyTli7g.js} +364 -88
- package/dist/mt/Cargo-mvyTli7g.js.map +1 -0
- package/dist/mt/api-types.d.ts +59 -0
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +108 -1
- package/dist/mt/docs-entry.d.ts +1 -0
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +92 -1
- package/dist/mt/index.js.map +1 -1
- package/dist/mt/wasm.js +1 -1
- package/dist/mt/workerHelpers.js +1 -1
- package/dist/mt/workers/{Cargo-DjVnfWKi-DvLbB_Zb.js → Cargo-mvyTli7g-BwMMSyoq.js} +364 -88
- package/dist/mt/workers/Cargo-mvyTli7g-BwMMSyoq.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +365 -88
- package/dist/mt/workers/web-client-methods-worker.js.map +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js +1 -1
- package/dist/mt/workers/web-client-methods-worker.module.js.map +1 -1
- package/dist/mt/workers/workerHelpers.js +1 -1
- package/dist/st/{Cargo-Cwpuvlbc.js → Cargo-Cysp4vto.js} +371 -96
- package/dist/st/Cargo-Cysp4vto.js.map +1 -0
- package/dist/st/api-types.d.ts +59 -0
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +108 -1
- package/dist/st/docs-entry.d.ts +1 -0
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +92 -1
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-Cwpuvlbc-B0V_MEMU.js → Cargo-Cysp4vto-BIw-TeJn.js} +371 -96
- package/dist/st/workers/Cargo-Cysp4vto-BIw-TeJn.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +372 -96
- package/dist/st/workers/web-client-methods-worker.js.map +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js +1 -1
- package/dist/st/workers/web-client-methods-worker.module.js.map +1 -1
- package/js/node-index.js +3 -0
- package/js/resources/transactions.js +91 -0
- package/js/standalone.js +61 -0
- package/package.json +4 -4
- package/dist/mt/Cargo-DjVnfWKi.js.map +0 -1
- package/dist/mt/workers/Cargo-DjVnfWKi-DvLbB_Zb.js.map +0 -1
- package/dist/st/Cargo-Cwpuvlbc.js.map +0 -1
- package/dist/st/workers/Cargo-Cwpuvlbc-B0V_MEMU.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 CargoCysp4vto; });
|
|
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
|
|
@@ -8893,7 +8893,9 @@ function indexes(...items) {
|
|
|
8893
8893
|
return items.join(",");
|
|
8894
8894
|
}
|
|
8895
8895
|
/** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
|
|
8896
|
-
* never be modified — all schema changes should go through new version blocks instead.
|
|
8896
|
+
* never be modified — all schema changes should go through new version blocks instead.
|
|
8897
|
+
* Exported for migration tests, which seed a physical v1 database before opening it with the
|
|
8898
|
+
* current version chain. */
|
|
8897
8899
|
const V1_STORES = {
|
|
8898
8900
|
[Table.AccountCode]: indexes("root"),
|
|
8899
8901
|
[Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
|
|
@@ -8948,11 +8950,12 @@ class MidenDatabase {
|
|
|
8948
8950
|
this.dexie = new Dexie(network);
|
|
8949
8951
|
// --- Schema versioning ---
|
|
8950
8952
|
//
|
|
8951
|
-
// NOTE:
|
|
8952
|
-
//
|
|
8953
|
-
//
|
|
8954
|
-
//
|
|
8955
|
-
// be
|
|
8953
|
+
// NOTE: Migrations coexist with the client-version nuke: the database is
|
|
8954
|
+
// still nuked on major/minor client-version changes (network resets — see
|
|
8955
|
+
// ensureClientVersion), while Dexie version blocks below handle schema and
|
|
8956
|
+
// data fixes for stores that survive patch upgrades. Once the network
|
|
8957
|
+
// stabilizes and data can be preserved across all upgrades, the
|
|
8958
|
+
// version-change nuke will be removed and migrations alone will take over.
|
|
8956
8959
|
//
|
|
8957
8960
|
// v1 is the baseline schema. To add a migration:
|
|
8958
8961
|
// 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
|
|
@@ -8984,12 +8987,43 @@ class MidenDatabase {
|
|
|
8984
8987
|
// Note: The `populate` hook (below the version blocks) only fires on
|
|
8985
8988
|
// first database creation, NOT during upgrades.
|
|
8986
8989
|
//
|
|
8987
|
-
//
|
|
8988
|
-
//
|
|
8989
|
-
//
|
|
8990
|
-
//
|
|
8991
|
-
// 3. Add version(2+) blocks below for all schema changes going forward.
|
|
8990
|
+
// Version blocks exist below, so V1_STORES is frozen — never modify it;
|
|
8991
|
+
// add a new version block instead. To retire the nuke entirely (once data
|
|
8992
|
+
// must survive major/minor upgrades), remove the close/delete/open logic
|
|
8993
|
+
// in ensureClientVersion and just persist the new version there.
|
|
8992
8994
|
this.dexie.version(1).stores(V1_STORES);
|
|
8995
|
+
// v2 (miden-client 0.15.4): prune note tags leaked by output-note
|
|
8996
|
+
// registration. Mirrors sqlite-store migration
|
|
8997
|
+
// `0002_prune_output_note_tags.sql`. Clients built against miden-client
|
|
8998
|
+
// < 0.15.4 registered a `Note`-sourced tag for every output note a
|
|
8999
|
+
// transaction created, but sync cleanup only removes tags of committed
|
|
9000
|
+
// *input* notes — leaking one `tags` row per created note. The client no
|
|
9001
|
+
// longer registers those tags; this upgrade deletes the rows already
|
|
9002
|
+
// leaked. A tag is kept while an inclusion-pending input note
|
|
9003
|
+
// (Expected = 0, Unverified = 1 — the mirror of
|
|
9004
|
+
// `InputNoteRecord::is_inclusion_pending`) still needs it.
|
|
9005
|
+
//
|
|
9006
|
+
// This data-only fix coexists with the version-change nuke above: the
|
|
9007
|
+
// nuke covers major/minor client upgrades (network resets), while this
|
|
9008
|
+
// upgrade runs for stores preserved across patch upgrades.
|
|
9009
|
+
this.dexie
|
|
9010
|
+
.version(2)
|
|
9011
|
+
.stores({})
|
|
9012
|
+
.upgrade(async (tx) => {
|
|
9013
|
+
const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
|
|
9014
|
+
if (outputNoteCommitments.size === 0) {
|
|
9015
|
+
return;
|
|
9016
|
+
}
|
|
9017
|
+
const pendingInputNoteCommitments = new Set(await tx.inputNotes
|
|
9018
|
+
.where("stateDiscriminant")
|
|
9019
|
+
.anyOf([0, 1])
|
|
9020
|
+
.primaryKeys());
|
|
9021
|
+
await tx.tags
|
|
9022
|
+
.filter((tag) => !!tag.sourceNoteId &&
|
|
9023
|
+
outputNoteCommitments.has(tag.sourceNoteId) &&
|
|
9024
|
+
!pendingInputNoteCommitments.has(tag.sourceNoteId))
|
|
9025
|
+
.delete();
|
|
9026
|
+
});
|
|
8993
9027
|
this.accountCodes = this.dexie.table(Table.AccountCode);
|
|
8994
9028
|
this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
|
|
8995
9029
|
this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
|
|
@@ -11369,6 +11403,17 @@ class Account {
|
|
|
11369
11403
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
11370
11404
|
return ret !== 0;
|
|
11371
11405
|
}
|
|
11406
|
+
/**
|
|
11407
|
+
* Returns true if this is a network account.
|
|
11408
|
+
*
|
|
11409
|
+
* A network account is a public account whose storage
|
|
11410
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
11411
|
+
* @returns {boolean}
|
|
11412
|
+
*/
|
|
11413
|
+
isNetworkAccount() {
|
|
11414
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
11415
|
+
return ret !== 0;
|
|
11416
|
+
}
|
|
11372
11417
|
/**
|
|
11373
11418
|
* Returns true if the account has not yet been committed to the chain.
|
|
11374
11419
|
* @returns {boolean}
|
|
@@ -11401,6 +11446,20 @@ class Account {
|
|
|
11401
11446
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
11402
11447
|
return ret !== 0;
|
|
11403
11448
|
}
|
|
11449
|
+
/**
|
|
11450
|
+
* Returns the note-script roots this network account is allowed to
|
|
11451
|
+
* consume, or `undefined` if this is not a network account.
|
|
11452
|
+
* @returns {Word[] | undefined}
|
|
11453
|
+
*/
|
|
11454
|
+
networkNoteAllowlist() {
|
|
11455
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
11456
|
+
let v1;
|
|
11457
|
+
if (ret[0] !== 0) {
|
|
11458
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
11459
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11460
|
+
}
|
|
11461
|
+
return v1;
|
|
11462
|
+
}
|
|
11404
11463
|
/**
|
|
11405
11464
|
* Returns the account nonce, which is incremented on every state update.
|
|
11406
11465
|
* @returns {Felt}
|
|
@@ -11780,6 +11839,42 @@ class AccountComponent {
|
|
|
11780
11839
|
}
|
|
11781
11840
|
return AccountComponent.__wrap(ret[0]);
|
|
11782
11841
|
}
|
|
11842
|
+
/**
|
|
11843
|
+
* Builds the auth component for a network account.
|
|
11844
|
+
*
|
|
11845
|
+
* A network account is a public account carrying this component: its
|
|
11846
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11847
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11848
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11849
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11850
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11851
|
+
*
|
|
11852
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11853
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11854
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11855
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11856
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11857
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11858
|
+
* (arbitrary) transaction submitter controls.
|
|
11859
|
+
*
|
|
11860
|
+
* # Errors
|
|
11861
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11862
|
+
* allowlisted note scripts could never consume a note.
|
|
11863
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11864
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11865
|
+
* @returns {AccountComponent}
|
|
11866
|
+
*/
|
|
11867
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11868
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11869
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11870
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11871
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11872
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11873
|
+
if (ret[2]) {
|
|
11874
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11875
|
+
}
|
|
11876
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11877
|
+
}
|
|
11783
11878
|
/**
|
|
11784
11879
|
* Creates an account component from a compiled library and storage slots.
|
|
11785
11880
|
* @param {Library} library
|
|
@@ -13968,7 +14063,7 @@ class CodeBuilder {
|
|
|
13968
14063
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13969
14064
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13970
14065
|
* this can be used from another script with an import statement, following the
|
|
13971
|
-
* previous example: `use miden::my_contract
|
|
14066
|
+
* previous example: `use miden::my_contract`.
|
|
13972
14067
|
* @param {string} library_path
|
|
13973
14068
|
* @param {string} source_code
|
|
13974
14069
|
* @returns {Library}
|
|
@@ -15525,6 +15620,16 @@ class InputNoteRecord {
|
|
|
15525
15620
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
15526
15621
|
return ret !== 0;
|
|
15527
15622
|
}
|
|
15623
|
+
/**
|
|
15624
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15625
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15626
|
+
* advance this record.
|
|
15627
|
+
* @returns {boolean}
|
|
15628
|
+
*/
|
|
15629
|
+
isInclusionPending() {
|
|
15630
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15631
|
+
return ret !== 0;
|
|
15632
|
+
}
|
|
15528
15633
|
/**
|
|
15529
15634
|
* Returns true if the note is currently being processed.
|
|
15530
15635
|
* @returns {boolean}
|
|
@@ -16811,6 +16916,97 @@ class MerklePath {
|
|
|
16811
16916
|
}
|
|
16812
16917
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16813
16918
|
|
|
16919
|
+
/**
|
|
16920
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16921
|
+
*
|
|
16922
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16923
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16924
|
+
*/
|
|
16925
|
+
class NetworkAccountTarget {
|
|
16926
|
+
static __wrap(ptr) {
|
|
16927
|
+
ptr = ptr >>> 0;
|
|
16928
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16929
|
+
obj.__wbg_ptr = ptr;
|
|
16930
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16931
|
+
return obj;
|
|
16932
|
+
}
|
|
16933
|
+
__destroy_into_raw() {
|
|
16934
|
+
const ptr = this.__wbg_ptr;
|
|
16935
|
+
this.__wbg_ptr = 0;
|
|
16936
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16937
|
+
return ptr;
|
|
16938
|
+
}
|
|
16939
|
+
free() {
|
|
16940
|
+
const ptr = this.__destroy_into_raw();
|
|
16941
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16942
|
+
}
|
|
16943
|
+
/**
|
|
16944
|
+
* Returns the note execution hint.
|
|
16945
|
+
* @returns {NoteExecutionHint}
|
|
16946
|
+
*/
|
|
16947
|
+
executionHint() {
|
|
16948
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16949
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16950
|
+
}
|
|
16951
|
+
/**
|
|
16952
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16953
|
+
*
|
|
16954
|
+
* # Errors
|
|
16955
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16956
|
+
* @param {NoteAttachment} attachment
|
|
16957
|
+
* @returns {NetworkAccountTarget}
|
|
16958
|
+
*/
|
|
16959
|
+
static fromAttachment(attachment) {
|
|
16960
|
+
_assertClass(attachment, NoteAttachment);
|
|
16961
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16962
|
+
if (ret[2]) {
|
|
16963
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16964
|
+
}
|
|
16965
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16966
|
+
}
|
|
16967
|
+
/**
|
|
16968
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16969
|
+
* to `NoteExecutionHint.always()`.
|
|
16970
|
+
*
|
|
16971
|
+
* # Errors
|
|
16972
|
+
* Errors if `account_id` is not a public account.
|
|
16973
|
+
* @param {AccountId} account_id
|
|
16974
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16975
|
+
*/
|
|
16976
|
+
constructor(account_id, execution_hint) {
|
|
16977
|
+
_assertClass(account_id, AccountId);
|
|
16978
|
+
let ptr0 = 0;
|
|
16979
|
+
if (!isLikeNone(execution_hint)) {
|
|
16980
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16981
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16982
|
+
}
|
|
16983
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16984
|
+
if (ret[2]) {
|
|
16985
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16986
|
+
}
|
|
16987
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16988
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16989
|
+
return this;
|
|
16990
|
+
}
|
|
16991
|
+
/**
|
|
16992
|
+
* Returns the targeted network account id.
|
|
16993
|
+
* @returns {AccountId}
|
|
16994
|
+
*/
|
|
16995
|
+
targetId() {
|
|
16996
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16997
|
+
return AccountId.__wrap(ret);
|
|
16998
|
+
}
|
|
16999
|
+
/**
|
|
17000
|
+
* Encodes this target as a `NoteAttachment`.
|
|
17001
|
+
* @returns {NoteAttachment}
|
|
17002
|
+
*/
|
|
17003
|
+
toAttachment() {
|
|
17004
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
17005
|
+
return NoteAttachment.__wrap(ret);
|
|
17006
|
+
}
|
|
17007
|
+
}
|
|
17008
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
17009
|
+
|
|
16814
17010
|
/**
|
|
16815
17011
|
* The identifier of a Miden network.
|
|
16816
17012
|
*/
|
|
@@ -17004,6 +17200,16 @@ class Note {
|
|
|
17004
17200
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
17005
17201
|
return NoteAssets.__wrap(ret);
|
|
17006
17202
|
}
|
|
17203
|
+
/**
|
|
17204
|
+
* Returns the note's attachments.
|
|
17205
|
+
* @returns {NoteAttachment[]}
|
|
17206
|
+
*/
|
|
17207
|
+
attachments() {
|
|
17208
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
17209
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
17210
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
17211
|
+
return v1;
|
|
17212
|
+
}
|
|
17007
17213
|
/**
|
|
17008
17214
|
* Returns the commitment to the note (its ID).
|
|
17009
17215
|
*
|
|
@@ -17105,6 +17311,15 @@ class Note {
|
|
|
17105
17311
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
17106
17312
|
return NoteId.__wrap(ret);
|
|
17107
17313
|
}
|
|
17314
|
+
/**
|
|
17315
|
+
* Returns true if the note is a network note (public + a valid
|
|
17316
|
+
* `NetworkAccountTarget` attachment).
|
|
17317
|
+
* @returns {boolean}
|
|
17318
|
+
*/
|
|
17319
|
+
isNetworkNote() {
|
|
17320
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
17321
|
+
return ret !== 0;
|
|
17322
|
+
}
|
|
17108
17323
|
/**
|
|
17109
17324
|
* Returns the public metadata associated with the note.
|
|
17110
17325
|
* @returns {NoteMetadata}
|
|
@@ -17164,6 +17379,30 @@ class Note {
|
|
|
17164
17379
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
17165
17380
|
return ret;
|
|
17166
17381
|
}
|
|
17382
|
+
/**
|
|
17383
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
17384
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
17385
|
+
*
|
|
17386
|
+
* # Errors
|
|
17387
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
17388
|
+
* @param {NoteAssets} note_assets
|
|
17389
|
+
* @param {NoteMetadata} note_metadata
|
|
17390
|
+
* @param {NoteRecipient} note_recipient
|
|
17391
|
+
* @param {NoteAttachment[]} attachments
|
|
17392
|
+
* @returns {Note}
|
|
17393
|
+
*/
|
|
17394
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
17395
|
+
_assertClass(note_assets, NoteAssets);
|
|
17396
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
17397
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
17398
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
17399
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17400
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
17401
|
+
if (ret[2]) {
|
|
17402
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17403
|
+
}
|
|
17404
|
+
return Note.__wrap(ret[0]);
|
|
17405
|
+
}
|
|
17167
17406
|
}
|
|
17168
17407
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
17169
17408
|
|
|
@@ -17431,6 +17670,12 @@ class NoteAttachment {
|
|
|
17431
17670
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
17432
17671
|
return obj;
|
|
17433
17672
|
}
|
|
17673
|
+
static __unwrap(jsValue) {
|
|
17674
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17675
|
+
return 0;
|
|
17676
|
+
}
|
|
17677
|
+
return jsValue.__destroy_into_raw();
|
|
17678
|
+
}
|
|
17434
17679
|
__destroy_into_raw() {
|
|
17435
17680
|
const ptr = this.__wbg_ptr;
|
|
17436
17681
|
this.__wbg_ptr = 0;
|
|
@@ -18661,6 +18906,19 @@ class NoteRecipient {
|
|
|
18661
18906
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
18662
18907
|
return Word.__wrap(ret);
|
|
18663
18908
|
}
|
|
18909
|
+
/**
|
|
18910
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18911
|
+
* serial number (the secret that prevents double-spends).
|
|
18912
|
+
* @param {NoteScript} note_script
|
|
18913
|
+
* @param {NoteStorage} storage
|
|
18914
|
+
* @returns {NoteRecipient}
|
|
18915
|
+
*/
|
|
18916
|
+
static fromScript(note_script, storage) {
|
|
18917
|
+
_assertClass(note_script, NoteScript);
|
|
18918
|
+
_assertClass(storage, NoteStorage);
|
|
18919
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18920
|
+
return NoteRecipient.__wrap(ret);
|
|
18921
|
+
}
|
|
18664
18922
|
/**
|
|
18665
18923
|
* Creates a note recipient from its serial number, script, and storage.
|
|
18666
18924
|
* @param {Word} serial_num
|
|
@@ -19383,6 +19641,16 @@ class OutputNoteRecord {
|
|
|
19383
19641
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
19384
19642
|
return ret !== 0;
|
|
19385
19643
|
}
|
|
19644
|
+
/**
|
|
19645
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19646
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19647
|
+
* that can advance this record.
|
|
19648
|
+
* @returns {boolean}
|
|
19649
|
+
*/
|
|
19650
|
+
isInclusionPending() {
|
|
19651
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19652
|
+
return ret !== 0;
|
|
19653
|
+
}
|
|
19386
19654
|
/**
|
|
19387
19655
|
* Returns the note metadata.
|
|
19388
19656
|
* @returns {NoteMetadata}
|
|
@@ -24619,7 +24887,7 @@ function __wbg_get_imports() {
|
|
|
24619
24887
|
const ret = AccountStorage.__wrap(arg0);
|
|
24620
24888
|
return ret;
|
|
24621
24889
|
},
|
|
24622
|
-
|
|
24890
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24623
24891
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24624
24892
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24625
24893
|
let v1;
|
|
@@ -24647,25 +24915,25 @@ function __wbg_get_imports() {
|
|
|
24647
24915
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24648
24916
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24649
24917
|
}, arguments); },
|
|
24650
|
-
|
|
24918
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24651
24919
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24652
24920
|
return ret;
|
|
24653
24921
|
},
|
|
24654
|
-
|
|
24922
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24655
24923
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24656
24924
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24657
24925
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24658
24926
|
return ret;
|
|
24659
24927
|
},
|
|
24660
|
-
|
|
24928
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24661
24929
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24662
24930
|
return ret;
|
|
24663
24931
|
},
|
|
24664
|
-
|
|
24932
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24665
24933
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24666
24934
|
return ret;
|
|
24667
24935
|
},
|
|
24668
|
-
|
|
24936
|
+
__wbg_applyTransactionDelta_93fac37bf6e15192: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) {
|
|
24669
24937
|
let deferred0_0;
|
|
24670
24938
|
let deferred0_1;
|
|
24671
24939
|
let deferred1_0;
|
|
@@ -24804,7 +25072,7 @@ function __wbg_get_imports() {
|
|
|
24804
25072
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24805
25073
|
}
|
|
24806
25074
|
},
|
|
24807
|
-
|
|
25075
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24808
25076
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24809
25077
|
return ret;
|
|
24810
25078
|
},
|
|
@@ -24836,7 +25104,7 @@ function __wbg_get_imports() {
|
|
|
24836
25104
|
const ret = FetchedNote.__wrap(arg0);
|
|
24837
25105
|
return ret;
|
|
24838
25106
|
},
|
|
24839
|
-
|
|
25107
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24840
25108
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24841
25109
|
return ret;
|
|
24842
25110
|
},
|
|
@@ -24860,7 +25128,7 @@ function __wbg_get_imports() {
|
|
|
24860
25128
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24861
25129
|
return ret;
|
|
24862
25130
|
},
|
|
24863
|
-
|
|
25131
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
24864
25132
|
let deferred0_0;
|
|
24865
25133
|
let deferred0_1;
|
|
24866
25134
|
try {
|
|
@@ -24872,7 +25140,7 @@ function __wbg_get_imports() {
|
|
|
24872
25140
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24873
25141
|
}
|
|
24874
25142
|
},
|
|
24875
|
-
|
|
25143
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
24876
25144
|
let deferred0_0;
|
|
24877
25145
|
let deferred0_1;
|
|
24878
25146
|
try {
|
|
@@ -24884,7 +25152,7 @@ function __wbg_get_imports() {
|
|
|
24884
25152
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24885
25153
|
}
|
|
24886
25154
|
},
|
|
24887
|
-
|
|
25155
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
24888
25156
|
let deferred0_0;
|
|
24889
25157
|
let deferred0_1;
|
|
24890
25158
|
try {
|
|
@@ -24896,7 +25164,7 @@ function __wbg_get_imports() {
|
|
|
24896
25164
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24897
25165
|
}
|
|
24898
25166
|
},
|
|
24899
|
-
|
|
25167
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
24900
25168
|
let deferred0_0;
|
|
24901
25169
|
let deferred0_1;
|
|
24902
25170
|
try {
|
|
@@ -24908,7 +25176,7 @@ function __wbg_get_imports() {
|
|
|
24908
25176
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24909
25177
|
}
|
|
24910
25178
|
},
|
|
24911
|
-
|
|
25179
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
24912
25180
|
let deferred0_0;
|
|
24913
25181
|
let deferred0_1;
|
|
24914
25182
|
try {
|
|
@@ -24920,7 +25188,7 @@ function __wbg_get_imports() {
|
|
|
24920
25188
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24921
25189
|
}
|
|
24922
25190
|
},
|
|
24923
|
-
|
|
25191
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
24924
25192
|
let deferred0_0;
|
|
24925
25193
|
let deferred0_1;
|
|
24926
25194
|
try {
|
|
@@ -24932,11 +25200,11 @@ function __wbg_get_imports() {
|
|
|
24932
25200
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24933
25201
|
}
|
|
24934
25202
|
},
|
|
24935
|
-
|
|
25203
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
24936
25204
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24937
25205
|
return ret;
|
|
24938
25206
|
},
|
|
24939
|
-
|
|
25207
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
24940
25208
|
let deferred0_0;
|
|
24941
25209
|
let deferred0_1;
|
|
24942
25210
|
try {
|
|
@@ -24948,7 +25216,7 @@ function __wbg_get_imports() {
|
|
|
24948
25216
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24949
25217
|
}
|
|
24950
25218
|
},
|
|
24951
|
-
|
|
25219
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24952
25220
|
let deferred0_0;
|
|
24953
25221
|
let deferred0_1;
|
|
24954
25222
|
try {
|
|
@@ -24962,7 +25230,7 @@ function __wbg_get_imports() {
|
|
|
24962
25230
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24963
25231
|
}
|
|
24964
25232
|
},
|
|
24965
|
-
|
|
25233
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24966
25234
|
let deferred0_0;
|
|
24967
25235
|
let deferred0_1;
|
|
24968
25236
|
try {
|
|
@@ -24976,27 +25244,27 @@ function __wbg_get_imports() {
|
|
|
24976
25244
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24977
25245
|
}
|
|
24978
25246
|
},
|
|
24979
|
-
|
|
25247
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
24980
25248
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24981
25249
|
return ret;
|
|
24982
25250
|
},
|
|
24983
|
-
|
|
25251
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
24984
25252
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24985
25253
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24986
25254
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24987
25255
|
return ret;
|
|
24988
25256
|
},
|
|
24989
|
-
|
|
25257
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
24990
25258
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24991
25259
|
return ret;
|
|
24992
25260
|
},
|
|
24993
|
-
|
|
25261
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
24994
25262
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24995
25263
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24996
25264
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24997
25265
|
return ret;
|
|
24998
25266
|
},
|
|
24999
|
-
|
|
25267
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
25000
25268
|
let deferred1_0;
|
|
25001
25269
|
let deferred1_1;
|
|
25002
25270
|
try {
|
|
@@ -25010,31 +25278,31 @@ function __wbg_get_imports() {
|
|
|
25010
25278
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25011
25279
|
}
|
|
25012
25280
|
},
|
|
25013
|
-
|
|
25281
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
25014
25282
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25015
25283
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25016
25284
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25017
25285
|
return ret;
|
|
25018
25286
|
},
|
|
25019
|
-
|
|
25287
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
25020
25288
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25021
25289
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25022
25290
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25023
25291
|
return ret;
|
|
25024
25292
|
},
|
|
25025
|
-
|
|
25293
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
25026
25294
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25027
25295
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25028
25296
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25029
25297
|
return ret;
|
|
25030
25298
|
},
|
|
25031
|
-
|
|
25299
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
25032
25300
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25033
25301
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25034
25302
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25035
25303
|
return ret;
|
|
25036
25304
|
},
|
|
25037
|
-
|
|
25305
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
25038
25306
|
let deferred0_0;
|
|
25039
25307
|
let deferred0_1;
|
|
25040
25308
|
try {
|
|
@@ -25046,7 +25314,7 @@ function __wbg_get_imports() {
|
|
|
25046
25314
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25047
25315
|
}
|
|
25048
25316
|
},
|
|
25049
|
-
|
|
25317
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
25050
25318
|
let deferred0_0;
|
|
25051
25319
|
let deferred0_1;
|
|
25052
25320
|
try {
|
|
@@ -25058,39 +25326,39 @@ function __wbg_get_imports() {
|
|
|
25058
25326
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25059
25327
|
}
|
|
25060
25328
|
},
|
|
25061
|
-
|
|
25329
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
25062
25330
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
25063
25331
|
return ret;
|
|
25064
25332
|
},
|
|
25065
|
-
|
|
25333
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
25066
25334
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25067
25335
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25068
25336
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
25069
25337
|
return ret;
|
|
25070
25338
|
},
|
|
25071
|
-
|
|
25339
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
25072
25340
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25073
25341
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25074
25342
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
25075
25343
|
return ret;
|
|
25076
25344
|
},
|
|
25077
|
-
|
|
25345
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
25078
25346
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25079
25347
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25080
25348
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
25081
25349
|
return ret;
|
|
25082
25350
|
},
|
|
25083
|
-
|
|
25351
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
25084
25352
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25085
25353
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25086
25354
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
25087
25355
|
return ret;
|
|
25088
25356
|
},
|
|
25089
|
-
|
|
25357
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
25090
25358
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
25091
25359
|
return ret;
|
|
25092
25360
|
},
|
|
25093
|
-
|
|
25361
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
25094
25362
|
let deferred0_0;
|
|
25095
25363
|
let deferred0_1;
|
|
25096
25364
|
try {
|
|
@@ -25102,7 +25370,7 @@ function __wbg_get_imports() {
|
|
|
25102
25370
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25103
25371
|
}
|
|
25104
25372
|
},
|
|
25105
|
-
|
|
25373
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
25106
25374
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25107
25375
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25108
25376
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -25115,7 +25383,7 @@ function __wbg_get_imports() {
|
|
|
25115
25383
|
const ret = arg0.getReader();
|
|
25116
25384
|
return ret;
|
|
25117
25385
|
}, arguments); },
|
|
25118
|
-
|
|
25386
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
25119
25387
|
let deferred0_0;
|
|
25120
25388
|
let deferred0_1;
|
|
25121
25389
|
try {
|
|
@@ -25127,7 +25395,7 @@ function __wbg_get_imports() {
|
|
|
25127
25395
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25128
25396
|
}
|
|
25129
25397
|
},
|
|
25130
|
-
|
|
25398
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
25131
25399
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
25132
25400
|
return ret;
|
|
25133
25401
|
},
|
|
@@ -25135,15 +25403,15 @@ function __wbg_get_imports() {
|
|
|
25135
25403
|
const ret = arg0.getTime();
|
|
25136
25404
|
return ret;
|
|
25137
25405
|
},
|
|
25138
|
-
|
|
25406
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
25139
25407
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
25140
25408
|
return ret;
|
|
25141
25409
|
},
|
|
25142
|
-
|
|
25410
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
25143
25411
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
25144
25412
|
return ret;
|
|
25145
25413
|
},
|
|
25146
|
-
|
|
25414
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
25147
25415
|
let deferred0_0;
|
|
25148
25416
|
let deferred0_1;
|
|
25149
25417
|
try {
|
|
@@ -25155,7 +25423,7 @@ function __wbg_get_imports() {
|
|
|
25155
25423
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25156
25424
|
}
|
|
25157
25425
|
},
|
|
25158
|
-
|
|
25426
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
25159
25427
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
25160
25428
|
return ret;
|
|
25161
25429
|
},
|
|
@@ -25199,7 +25467,7 @@ function __wbg_get_imports() {
|
|
|
25199
25467
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
25200
25468
|
return ret;
|
|
25201
25469
|
},
|
|
25202
|
-
|
|
25470
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25203
25471
|
let deferred0_0;
|
|
25204
25472
|
let deferred0_1;
|
|
25205
25473
|
try {
|
|
@@ -25213,7 +25481,7 @@ function __wbg_get_imports() {
|
|
|
25213
25481
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25214
25482
|
}
|
|
25215
25483
|
},
|
|
25216
|
-
|
|
25484
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25217
25485
|
let deferred0_0;
|
|
25218
25486
|
let deferred0_1;
|
|
25219
25487
|
let deferred1_0;
|
|
@@ -25230,7 +25498,7 @@ function __wbg_get_imports() {
|
|
|
25230
25498
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25231
25499
|
}
|
|
25232
25500
|
},
|
|
25233
|
-
|
|
25501
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25234
25502
|
let deferred0_0;
|
|
25235
25503
|
let deferred0_1;
|
|
25236
25504
|
let deferred1_0;
|
|
@@ -25247,13 +25515,13 @@ function __wbg_get_imports() {
|
|
|
25247
25515
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25248
25516
|
}
|
|
25249
25517
|
},
|
|
25250
|
-
|
|
25518
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25251
25519
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
25252
25520
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
25253
25521
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
25254
25522
|
return ret;
|
|
25255
25523
|
},
|
|
25256
|
-
|
|
25524
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25257
25525
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25258
25526
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25259
25527
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25261,7 +25529,7 @@ function __wbg_get_imports() {
|
|
|
25261
25529
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
25262
25530
|
return ret;
|
|
25263
25531
|
},
|
|
25264
|
-
|
|
25532
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25265
25533
|
let deferred0_0;
|
|
25266
25534
|
let deferred0_1;
|
|
25267
25535
|
try {
|
|
@@ -25275,7 +25543,7 @@ function __wbg_get_imports() {
|
|
|
25275
25543
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25276
25544
|
}
|
|
25277
25545
|
},
|
|
25278
|
-
|
|
25546
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25279
25547
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25280
25548
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25281
25549
|
let v1;
|
|
@@ -25372,11 +25640,11 @@ function __wbg_get_imports() {
|
|
|
25372
25640
|
const ret = arg0.length;
|
|
25373
25641
|
return ret;
|
|
25374
25642
|
},
|
|
25375
|
-
|
|
25643
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
25376
25644
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
25377
25645
|
return ret;
|
|
25378
25646
|
},
|
|
25379
|
-
|
|
25647
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
25380
25648
|
let deferred0_0;
|
|
25381
25649
|
let deferred0_1;
|
|
25382
25650
|
try {
|
|
@@ -25464,7 +25732,7 @@ function __wbg_get_imports() {
|
|
|
25464
25732
|
const a = state0.a;
|
|
25465
25733
|
state0.a = 0;
|
|
25466
25734
|
try {
|
|
25467
|
-
return
|
|
25735
|
+
return wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(a, state0.b, arg0, arg1);
|
|
25468
25736
|
} finally {
|
|
25469
25737
|
state0.a = a;
|
|
25470
25738
|
}
|
|
@@ -25523,6 +25791,10 @@ function __wbg_get_imports() {
|
|
|
25523
25791
|
const ret = NoteAttachment.__wrap(arg0);
|
|
25524
25792
|
return ret;
|
|
25525
25793
|
},
|
|
25794
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25795
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25796
|
+
return ret;
|
|
25797
|
+
},
|
|
25526
25798
|
__wbg_noteconsumability_new: function(arg0) {
|
|
25527
25799
|
const ret = NoteConsumability.__wrap(arg0);
|
|
25528
25800
|
return ret;
|
|
@@ -25575,7 +25847,7 @@ function __wbg_get_imports() {
|
|
|
25575
25847
|
const ret = NoteTag.__unwrap(arg0);
|
|
25576
25848
|
return ret;
|
|
25577
25849
|
},
|
|
25578
|
-
|
|
25850
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25579
25851
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25580
25852
|
return ret;
|
|
25581
25853
|
},
|
|
@@ -25606,7 +25878,7 @@ function __wbg_get_imports() {
|
|
|
25606
25878
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25607
25879
|
return ret;
|
|
25608
25880
|
},
|
|
25609
|
-
|
|
25881
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25610
25882
|
let deferred0_0;
|
|
25611
25883
|
let deferred0_1;
|
|
25612
25884
|
let deferred1_0;
|
|
@@ -25623,7 +25895,7 @@ function __wbg_get_imports() {
|
|
|
25623
25895
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25624
25896
|
}
|
|
25625
25897
|
},
|
|
25626
|
-
|
|
25898
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25627
25899
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25628
25900
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25629
25901
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25653,13 +25925,13 @@ function __wbg_get_imports() {
|
|
|
25653
25925
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25654
25926
|
arg0.releaseLock();
|
|
25655
25927
|
},
|
|
25656
|
-
|
|
25928
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25657
25929
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25658
25930
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25659
25931
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25660
25932
|
return ret;
|
|
25661
25933
|
},
|
|
25662
|
-
|
|
25934
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25663
25935
|
let deferred0_0;
|
|
25664
25936
|
let deferred0_1;
|
|
25665
25937
|
try {
|
|
@@ -25671,7 +25943,7 @@ function __wbg_get_imports() {
|
|
|
25671
25943
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25672
25944
|
}
|
|
25673
25945
|
},
|
|
25674
|
-
|
|
25946
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25675
25947
|
let deferred0_0;
|
|
25676
25948
|
let deferred0_1;
|
|
25677
25949
|
try {
|
|
@@ -25683,7 +25955,7 @@ function __wbg_get_imports() {
|
|
|
25683
25955
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25684
25956
|
}
|
|
25685
25957
|
},
|
|
25686
|
-
|
|
25958
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25687
25959
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25688
25960
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25689
25961
|
let v1;
|
|
@@ -25704,7 +25976,7 @@ function __wbg_get_imports() {
|
|
|
25704
25976
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25705
25977
|
return ret;
|
|
25706
25978
|
},
|
|
25707
|
-
|
|
25979
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25708
25980
|
let deferred0_0;
|
|
25709
25981
|
let deferred0_1;
|
|
25710
25982
|
try {
|
|
@@ -25907,13 +26179,13 @@ function __wbg_get_imports() {
|
|
|
25907
26179
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25908
26180
|
return ret;
|
|
25909
26181
|
},
|
|
25910
|
-
|
|
26182
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
25911
26183
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25912
26184
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25913
26185
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25914
26186
|
return ret;
|
|
25915
26187
|
},
|
|
25916
|
-
|
|
26188
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25917
26189
|
let deferred0_0;
|
|
25918
26190
|
let deferred0_1;
|
|
25919
26191
|
try {
|
|
@@ -25927,7 +26199,7 @@ function __wbg_get_imports() {
|
|
|
25927
26199
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25928
26200
|
}
|
|
25929
26201
|
},
|
|
25930
|
-
|
|
26202
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25931
26203
|
let deferred0_0;
|
|
25932
26204
|
let deferred0_1;
|
|
25933
26205
|
let deferred1_0;
|
|
@@ -25969,7 +26241,7 @@ function __wbg_get_imports() {
|
|
|
25969
26241
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25970
26242
|
}
|
|
25971
26243
|
},
|
|
25972
|
-
|
|
26244
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25973
26245
|
let deferred0_0;
|
|
25974
26246
|
let deferred0_1;
|
|
25975
26247
|
try {
|
|
@@ -25983,7 +26255,7 @@ function __wbg_get_imports() {
|
|
|
25983
26255
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25984
26256
|
}
|
|
25985
26257
|
},
|
|
25986
|
-
|
|
26258
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25987
26259
|
let deferred0_0;
|
|
25988
26260
|
let deferred0_1;
|
|
25989
26261
|
let deferred2_0;
|
|
@@ -26002,7 +26274,7 @@ function __wbg_get_imports() {
|
|
|
26002
26274
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
26003
26275
|
}
|
|
26004
26276
|
},
|
|
26005
|
-
|
|
26277
|
+
__wbg_upsertInputNote_e10948a629bcee16: 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, arg25, arg26, arg27, arg28) {
|
|
26006
26278
|
let deferred0_0;
|
|
26007
26279
|
let deferred0_1;
|
|
26008
26280
|
let deferred6_0;
|
|
@@ -26051,7 +26323,7 @@ function __wbg_get_imports() {
|
|
|
26051
26323
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
26052
26324
|
}
|
|
26053
26325
|
},
|
|
26054
|
-
|
|
26326
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26055
26327
|
let deferred0_0;
|
|
26056
26328
|
let deferred0_1;
|
|
26057
26329
|
try {
|
|
@@ -26065,7 +26337,7 @@ function __wbg_get_imports() {
|
|
|
26065
26337
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26066
26338
|
}
|
|
26067
26339
|
},
|
|
26068
|
-
|
|
26340
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
26069
26341
|
let deferred0_0;
|
|
26070
26342
|
let deferred0_1;
|
|
26071
26343
|
let deferred1_0;
|
|
@@ -26100,7 +26372,7 @@ function __wbg_get_imports() {
|
|
|
26100
26372
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
26101
26373
|
}
|
|
26102
26374
|
},
|
|
26103
|
-
|
|
26375
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26104
26376
|
let deferred0_0;
|
|
26105
26377
|
let deferred0_1;
|
|
26106
26378
|
try {
|
|
@@ -26114,7 +26386,7 @@ function __wbg_get_imports() {
|
|
|
26114
26386
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26115
26387
|
}
|
|
26116
26388
|
},
|
|
26117
|
-
|
|
26389
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
26118
26390
|
let deferred0_0;
|
|
26119
26391
|
let deferred0_1;
|
|
26120
26392
|
try {
|
|
@@ -26135,7 +26407,7 @@ function __wbg_get_imports() {
|
|
|
26135
26407
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
26136
26408
|
}
|
|
26137
26409
|
},
|
|
26138
|
-
|
|
26410
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
26139
26411
|
let deferred0_0;
|
|
26140
26412
|
let deferred0_1;
|
|
26141
26413
|
try {
|
|
@@ -26166,13 +26438,13 @@ function __wbg_get_imports() {
|
|
|
26166
26438
|
return ret;
|
|
26167
26439
|
},
|
|
26168
26440
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
26169
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26170
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26441
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [Externref], shim_idx: 815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26442
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____);
|
|
26171
26443
|
return ret;
|
|
26172
26444
|
},
|
|
26173
26445
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
26174
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26175
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
26446
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 432, function: Function { arguments: [], shim_idx: 433, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
26447
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8d8dd5a992b1207e___closure__destroy___dyn_core_9b3796e30d99ddb7___ops__function__FnMut__wasm_bindgen_8d8dd5a992b1207e___JsValue____Output_______, wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______);
|
|
26176
26448
|
return ret;
|
|
26177
26449
|
},
|
|
26178
26450
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -26288,16 +26560,16 @@ function __wbg_get_imports() {
|
|
|
26288
26560
|
};
|
|
26289
26561
|
}
|
|
26290
26562
|
|
|
26291
|
-
function
|
|
26292
|
-
wasm.
|
|
26563
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1) {
|
|
26564
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke______(arg0, arg1);
|
|
26293
26565
|
}
|
|
26294
26566
|
|
|
26295
|
-
function
|
|
26296
|
-
wasm.
|
|
26567
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2) {
|
|
26568
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2);
|
|
26297
26569
|
}
|
|
26298
26570
|
|
|
26299
|
-
function
|
|
26300
|
-
wasm.
|
|
26571
|
+
function wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3) {
|
|
26572
|
+
wasm.wasm_bindgen_8d8dd5a992b1207e___convert__closures_____invoke___wasm_bindgen_8d8dd5a992b1207e___JsValue__wasm_bindgen_8d8dd5a992b1207e___JsValue_____(arg0, arg1, arg2, arg3);
|
|
26301
26573
|
}
|
|
26302
26574
|
|
|
26303
26575
|
|
|
@@ -26497,6 +26769,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26497
26769
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26498
26770
|
? { register: () => {}, unregister: () => {} }
|
|
26499
26771
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26772
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26773
|
+
? { register: () => {}, unregister: () => {} }
|
|
26774
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
26500
26775
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26501
26776
|
? { register: () => {}, unregister: () => {} }
|
|
26502
26777
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -27115,7 +27390,7 @@ async function __wbg_init(module_or_path) {
|
|
|
27115
27390
|
|
|
27116
27391
|
const module$1 = new URL("assets/miden_client_web.wasm", self.location.href);
|
|
27117
27392
|
|
|
27118
|
-
var
|
|
27393
|
+
var CargoCysp4vto = /*#__PURE__*/Object.freeze({
|
|
27119
27394
|
__proto__: null,
|
|
27120
27395
|
Account: Account,
|
|
27121
27396
|
AccountArray: AccountArray,
|
|
@@ -27180,6 +27455,7 @@ var CargoCwpuvlbc = /*#__PURE__*/Object.freeze({
|
|
|
27180
27455
|
JsVaultAsset: JsVaultAsset,
|
|
27181
27456
|
Library: Library,
|
|
27182
27457
|
MerklePath: MerklePath,
|
|
27458
|
+
NetworkAccountTarget: NetworkAccountTarget,
|
|
27183
27459
|
NetworkId: NetworkId,
|
|
27184
27460
|
NetworkNoteStatusInfo: NetworkNoteStatusInfo,
|
|
27185
27461
|
NetworkType: NetworkType,
|