@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
|
@@ -8264,7 +8264,9 @@ function indexes(...items) {
|
|
|
8264
8264
|
return items.join(",");
|
|
8265
8265
|
}
|
|
8266
8266
|
/** V1 baseline schema. Extracted as a constant because once migrations are enabled, this must
|
|
8267
|
-
* never be modified — all schema changes should go through new version blocks instead.
|
|
8267
|
+
* never be modified — all schema changes should go through new version blocks instead.
|
|
8268
|
+
* Exported for migration tests, which seed a physical v1 database before opening it with the
|
|
8269
|
+
* current version chain. */
|
|
8268
8270
|
const V1_STORES = {
|
|
8269
8271
|
[Table.AccountCode]: indexes("root"),
|
|
8270
8272
|
[Table.LatestAccountStorage]: indexes("[accountId+slotName]", "accountId"),
|
|
@@ -8319,11 +8321,12 @@ class MidenDatabase {
|
|
|
8319
8321
|
this.dexie = new Dexie(network);
|
|
8320
8322
|
// --- Schema versioning ---
|
|
8321
8323
|
//
|
|
8322
|
-
// NOTE:
|
|
8323
|
-
//
|
|
8324
|
-
//
|
|
8325
|
-
//
|
|
8326
|
-
// be
|
|
8324
|
+
// NOTE: Migrations coexist with the client-version nuke: the database is
|
|
8325
|
+
// still nuked on major/minor client-version changes (network resets — see
|
|
8326
|
+
// ensureClientVersion), while Dexie version blocks below handle schema and
|
|
8327
|
+
// data fixes for stores that survive patch upgrades. Once the network
|
|
8328
|
+
// stabilizes and data can be preserved across all upgrades, the
|
|
8329
|
+
// version-change nuke will be removed and migrations alone will take over.
|
|
8327
8330
|
//
|
|
8328
8331
|
// v1 is the baseline schema. To add a migration:
|
|
8329
8332
|
// 1. Add a .version(N+1).stores({...}).upgrade(tx => {...}) block below.
|
|
@@ -8355,12 +8358,43 @@ class MidenDatabase {
|
|
|
8355
8358
|
// Note: The `populate` hook (below the version blocks) only fires on
|
|
8356
8359
|
// first database creation, NOT during upgrades.
|
|
8357
8360
|
//
|
|
8358
|
-
//
|
|
8359
|
-
//
|
|
8360
|
-
//
|
|
8361
|
-
//
|
|
8362
|
-
// 3. Add version(2+) blocks below for all schema changes going forward.
|
|
8361
|
+
// Version blocks exist below, so V1_STORES is frozen — never modify it;
|
|
8362
|
+
// add a new version block instead. To retire the nuke entirely (once data
|
|
8363
|
+
// must survive major/minor upgrades), remove the close/delete/open logic
|
|
8364
|
+
// in ensureClientVersion and just persist the new version there.
|
|
8363
8365
|
this.dexie.version(1).stores(V1_STORES);
|
|
8366
|
+
// v2 (miden-client 0.15.4): prune note tags leaked by output-note
|
|
8367
|
+
// registration. Mirrors sqlite-store migration
|
|
8368
|
+
// `0002_prune_output_note_tags.sql`. Clients built against miden-client
|
|
8369
|
+
// < 0.15.4 registered a `Note`-sourced tag for every output note a
|
|
8370
|
+
// transaction created, but sync cleanup only removes tags of committed
|
|
8371
|
+
// *input* notes — leaking one `tags` row per created note. The client no
|
|
8372
|
+
// longer registers those tags; this upgrade deletes the rows already
|
|
8373
|
+
// leaked. A tag is kept while an inclusion-pending input note
|
|
8374
|
+
// (Expected = 0, Unverified = 1 — the mirror of
|
|
8375
|
+
// `InputNoteRecord::is_inclusion_pending`) still needs it.
|
|
8376
|
+
//
|
|
8377
|
+
// This data-only fix coexists with the version-change nuke above: the
|
|
8378
|
+
// nuke covers major/minor client upgrades (network resets), while this
|
|
8379
|
+
// upgrade runs for stores preserved across patch upgrades.
|
|
8380
|
+
this.dexie
|
|
8381
|
+
.version(2)
|
|
8382
|
+
.stores({})
|
|
8383
|
+
.upgrade(async (tx) => {
|
|
8384
|
+
const outputNoteCommitments = new Set(await tx.outputNotes.toCollection().primaryKeys());
|
|
8385
|
+
if (outputNoteCommitments.size === 0) {
|
|
8386
|
+
return;
|
|
8387
|
+
}
|
|
8388
|
+
const pendingInputNoteCommitments = new Set(await tx.inputNotes
|
|
8389
|
+
.where("stateDiscriminant")
|
|
8390
|
+
.anyOf([0, 1])
|
|
8391
|
+
.primaryKeys());
|
|
8392
|
+
await tx.tags
|
|
8393
|
+
.filter((tag) => !!tag.sourceNoteId &&
|
|
8394
|
+
outputNoteCommitments.has(tag.sourceNoteId) &&
|
|
8395
|
+
!pendingInputNoteCommitments.has(tag.sourceNoteId))
|
|
8396
|
+
.delete();
|
|
8397
|
+
});
|
|
8364
8398
|
this.accountCodes = this.dexie.table(Table.AccountCode);
|
|
8365
8399
|
this.latestAccountStorages = this.dexie.table(Table.LatestAccountStorage);
|
|
8366
8400
|
this.historicalAccountStorages = this.dexie.table(Table.HistoricalAccountStorage);
|
|
@@ -10839,6 +10873,17 @@ class Account {
|
|
|
10839
10873
|
const ret = wasm.account_isFaucet(this.__wbg_ptr);
|
|
10840
10874
|
return ret !== 0;
|
|
10841
10875
|
}
|
|
10876
|
+
/**
|
|
10877
|
+
* Returns true if this is a network account.
|
|
10878
|
+
*
|
|
10879
|
+
* A network account is a public account whose storage
|
|
10880
|
+
* carries the standardized network-account note-script allowlist slot.
|
|
10881
|
+
* @returns {boolean}
|
|
10882
|
+
*/
|
|
10883
|
+
isNetworkAccount() {
|
|
10884
|
+
const ret = wasm.account_isNetworkAccount(this.__wbg_ptr);
|
|
10885
|
+
return ret !== 0;
|
|
10886
|
+
}
|
|
10842
10887
|
/**
|
|
10843
10888
|
* Returns true if the account has not yet been committed to the chain.
|
|
10844
10889
|
* @returns {boolean}
|
|
@@ -10871,6 +10916,20 @@ class Account {
|
|
|
10871
10916
|
const ret = wasm.account_isRegularAccount(this.__wbg_ptr);
|
|
10872
10917
|
return ret !== 0;
|
|
10873
10918
|
}
|
|
10919
|
+
/**
|
|
10920
|
+
* Returns the note-script roots this network account is allowed to
|
|
10921
|
+
* consume, or `undefined` if this is not a network account.
|
|
10922
|
+
* @returns {Word[] | undefined}
|
|
10923
|
+
*/
|
|
10924
|
+
networkNoteAllowlist() {
|
|
10925
|
+
const ret = wasm.account_networkNoteAllowlist(this.__wbg_ptr);
|
|
10926
|
+
let v1;
|
|
10927
|
+
if (ret[0] !== 0) {
|
|
10928
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
10929
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
10930
|
+
}
|
|
10931
|
+
return v1;
|
|
10932
|
+
}
|
|
10874
10933
|
/**
|
|
10875
10934
|
* Returns the account nonce, which is incremented on every state update.
|
|
10876
10935
|
* @returns {Felt}
|
|
@@ -11250,6 +11309,42 @@ class AccountComponent {
|
|
|
11250
11309
|
}
|
|
11251
11310
|
return AccountComponent.__wrap(ret[0]);
|
|
11252
11311
|
}
|
|
11312
|
+
/**
|
|
11313
|
+
* Builds the auth component for a network account.
|
|
11314
|
+
*
|
|
11315
|
+
* A network account is a public account carrying this component: its
|
|
11316
|
+
* note-script allowlist is the standardized storage slot the node's
|
|
11317
|
+
* network-transaction builder inspects to identify the account as a network
|
|
11318
|
+
* account and route matching notes to it for auto-consumption. The account
|
|
11319
|
+
* may only consume notes whose script root is in `allowedNoteScriptRoots`
|
|
11320
|
+
* (obtain a root via `NoteScript.root()`).
|
|
11321
|
+
*
|
|
11322
|
+
* `allowedTxScriptRoots` optionally allowlists transaction script roots
|
|
11323
|
+
* (from `TransactionScript.root()`) the account will execute. When omitted
|
|
11324
|
+
* or empty, the account permits no transaction scripts and deploys and
|
|
11325
|
+
* advances via scriptless transactions only. Allowlist a script root only
|
|
11326
|
+
* if the script's effect is safe for *every* possible input: a root pins
|
|
11327
|
+
* the script's code but not its arguments or advice inputs, which the
|
|
11328
|
+
* (arbitrary) transaction submitter controls.
|
|
11329
|
+
*
|
|
11330
|
+
* # Errors
|
|
11331
|
+
* Errors if `allowedNoteScriptRoots` is empty: a network account with no
|
|
11332
|
+
* allowlisted note scripts could never consume a note.
|
|
11333
|
+
* @param {Word[]} allowed_note_script_roots
|
|
11334
|
+
* @param {Word[] | null} [allowed_tx_script_roots]
|
|
11335
|
+
* @returns {AccountComponent}
|
|
11336
|
+
*/
|
|
11337
|
+
static createNetworkAuth(allowed_note_script_roots, allowed_tx_script_roots) {
|
|
11338
|
+
const ptr0 = passArrayJsValueToWasm0(allowed_note_script_roots, wasm.__wbindgen_malloc);
|
|
11339
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11340
|
+
var ptr1 = isLikeNone(allowed_tx_script_roots) ? 0 : passArrayJsValueToWasm0(allowed_tx_script_roots, wasm.__wbindgen_malloc);
|
|
11341
|
+
var len1 = WASM_VECTOR_LEN;
|
|
11342
|
+
const ret = wasm.accountcomponent_createNetworkAuth(ptr0, len0, ptr1, len1);
|
|
11343
|
+
if (ret[2]) {
|
|
11344
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11345
|
+
}
|
|
11346
|
+
return AccountComponent.__wrap(ret[0]);
|
|
11347
|
+
}
|
|
11253
11348
|
/**
|
|
11254
11349
|
* Creates an account component from a compiled library and storage slots.
|
|
11255
11350
|
* @param {Library} library
|
|
@@ -13438,7 +13533,7 @@ class CodeBuilder {
|
|
|
13438
13533
|
* Given a Library Path, and a source code, turn it into a Library.
|
|
13439
13534
|
* E.g. A path library can be `miden::my_contract`. When turned into a library,
|
|
13440
13535
|
* this can be used from another script with an import statement, following the
|
|
13441
|
-
* previous example: `use miden::my_contract
|
|
13536
|
+
* previous example: `use miden::my_contract`.
|
|
13442
13537
|
* @param {string} library_path
|
|
13443
13538
|
* @param {string} source_code
|
|
13444
13539
|
* @returns {Library}
|
|
@@ -14995,6 +15090,16 @@ class InputNoteRecord {
|
|
|
14995
15090
|
const ret = wasm.inputnoterecord_isConsumed(this.__wbg_ptr);
|
|
14996
15091
|
return ret !== 0;
|
|
14997
15092
|
}
|
|
15093
|
+
/**
|
|
15094
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
15095
|
+
* (`Expected` or `Unverified`), i.e. while sync is the mechanism that can
|
|
15096
|
+
* advance this record.
|
|
15097
|
+
* @returns {boolean}
|
|
15098
|
+
*/
|
|
15099
|
+
isInclusionPending() {
|
|
15100
|
+
const ret = wasm.inputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
15101
|
+
return ret !== 0;
|
|
15102
|
+
}
|
|
14998
15103
|
/**
|
|
14999
15104
|
* Returns true if the note is currently being processed.
|
|
15000
15105
|
* @returns {boolean}
|
|
@@ -16281,6 +16386,97 @@ class MerklePath {
|
|
|
16281
16386
|
}
|
|
16282
16387
|
if (Symbol.dispose) MerklePath.prototype[Symbol.dispose] = MerklePath.prototype.free;
|
|
16283
16388
|
|
|
16389
|
+
/**
|
|
16390
|
+
* Targets a note at a public network account so the operator auto-consumes it.
|
|
16391
|
+
*
|
|
16392
|
+
* A note is a network note when it is `Public` and carries a valid
|
|
16393
|
+
* `NetworkAccountTarget` attachment (see `Note.isNetworkNote`).
|
|
16394
|
+
*/
|
|
16395
|
+
class NetworkAccountTarget {
|
|
16396
|
+
static __wrap(ptr) {
|
|
16397
|
+
ptr = ptr >>> 0;
|
|
16398
|
+
const obj = Object.create(NetworkAccountTarget.prototype);
|
|
16399
|
+
obj.__wbg_ptr = ptr;
|
|
16400
|
+
NetworkAccountTargetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16401
|
+
return obj;
|
|
16402
|
+
}
|
|
16403
|
+
__destroy_into_raw() {
|
|
16404
|
+
const ptr = this.__wbg_ptr;
|
|
16405
|
+
this.__wbg_ptr = 0;
|
|
16406
|
+
NetworkAccountTargetFinalization.unregister(this);
|
|
16407
|
+
return ptr;
|
|
16408
|
+
}
|
|
16409
|
+
free() {
|
|
16410
|
+
const ptr = this.__destroy_into_raw();
|
|
16411
|
+
wasm.__wbg_networkaccounttarget_free(ptr, 0);
|
|
16412
|
+
}
|
|
16413
|
+
/**
|
|
16414
|
+
* Returns the note execution hint.
|
|
16415
|
+
* @returns {NoteExecutionHint}
|
|
16416
|
+
*/
|
|
16417
|
+
executionHint() {
|
|
16418
|
+
const ret = wasm.networkaccounttarget_executionHint(this.__wbg_ptr);
|
|
16419
|
+
return NoteExecutionHint.__wrap(ret);
|
|
16420
|
+
}
|
|
16421
|
+
/**
|
|
16422
|
+
* Decodes a `NoteAttachment` back into a `NetworkAccountTarget`.
|
|
16423
|
+
*
|
|
16424
|
+
* # Errors
|
|
16425
|
+
* Errors if the attachment is not a valid network-account-target attachment.
|
|
16426
|
+
* @param {NoteAttachment} attachment
|
|
16427
|
+
* @returns {NetworkAccountTarget}
|
|
16428
|
+
*/
|
|
16429
|
+
static fromAttachment(attachment) {
|
|
16430
|
+
_assertClass(attachment, NoteAttachment);
|
|
16431
|
+
const ret = wasm.networkaccounttarget_fromAttachment(attachment.__wbg_ptr);
|
|
16432
|
+
if (ret[2]) {
|
|
16433
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16434
|
+
}
|
|
16435
|
+
return NetworkAccountTarget.__wrap(ret[0]);
|
|
16436
|
+
}
|
|
16437
|
+
/**
|
|
16438
|
+
* Creates a target for the given network account. `executionHint` defaults
|
|
16439
|
+
* to `NoteExecutionHint.always()`.
|
|
16440
|
+
*
|
|
16441
|
+
* # Errors
|
|
16442
|
+
* Errors if `account_id` is not a public account.
|
|
16443
|
+
* @param {AccountId} account_id
|
|
16444
|
+
* @param {NoteExecutionHint | null} [execution_hint]
|
|
16445
|
+
*/
|
|
16446
|
+
constructor(account_id, execution_hint) {
|
|
16447
|
+
_assertClass(account_id, AccountId);
|
|
16448
|
+
let ptr0 = 0;
|
|
16449
|
+
if (!isLikeNone(execution_hint)) {
|
|
16450
|
+
_assertClass(execution_hint, NoteExecutionHint);
|
|
16451
|
+
ptr0 = execution_hint.__destroy_into_raw();
|
|
16452
|
+
}
|
|
16453
|
+
const ret = wasm.networkaccounttarget_new(account_id.__wbg_ptr, ptr0);
|
|
16454
|
+
if (ret[2]) {
|
|
16455
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16456
|
+
}
|
|
16457
|
+
this.__wbg_ptr = ret[0] >>> 0;
|
|
16458
|
+
NetworkAccountTargetFinalization.register(this, this.__wbg_ptr, this);
|
|
16459
|
+
return this;
|
|
16460
|
+
}
|
|
16461
|
+
/**
|
|
16462
|
+
* Returns the targeted network account id.
|
|
16463
|
+
* @returns {AccountId}
|
|
16464
|
+
*/
|
|
16465
|
+
targetId() {
|
|
16466
|
+
const ret = wasm.accountreader_accountId(this.__wbg_ptr);
|
|
16467
|
+
return AccountId.__wrap(ret);
|
|
16468
|
+
}
|
|
16469
|
+
/**
|
|
16470
|
+
* Encodes this target as a `NoteAttachment`.
|
|
16471
|
+
* @returns {NoteAttachment}
|
|
16472
|
+
*/
|
|
16473
|
+
toAttachment() {
|
|
16474
|
+
const ret = wasm.networkaccounttarget_toAttachment(this.__wbg_ptr);
|
|
16475
|
+
return NoteAttachment.__wrap(ret);
|
|
16476
|
+
}
|
|
16477
|
+
}
|
|
16478
|
+
if (Symbol.dispose) NetworkAccountTarget.prototype[Symbol.dispose] = NetworkAccountTarget.prototype.free;
|
|
16479
|
+
|
|
16284
16480
|
/**
|
|
16285
16481
|
* The identifier of a Miden network.
|
|
16286
16482
|
*/
|
|
@@ -16474,6 +16670,16 @@ class Note {
|
|
|
16474
16670
|
const ret = wasm.note_assets(this.__wbg_ptr);
|
|
16475
16671
|
return NoteAssets.__wrap(ret);
|
|
16476
16672
|
}
|
|
16673
|
+
/**
|
|
16674
|
+
* Returns the note's attachments.
|
|
16675
|
+
* @returns {NoteAttachment[]}
|
|
16676
|
+
*/
|
|
16677
|
+
attachments() {
|
|
16678
|
+
const ret = wasm.note_attachments(this.__wbg_ptr);
|
|
16679
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
16680
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
16681
|
+
return v1;
|
|
16682
|
+
}
|
|
16477
16683
|
/**
|
|
16478
16684
|
* Returns the commitment to the note (its ID).
|
|
16479
16685
|
*
|
|
@@ -16575,6 +16781,15 @@ class Note {
|
|
|
16575
16781
|
const ret = wasm.note_commitment(this.__wbg_ptr);
|
|
16576
16782
|
return NoteId.__wrap(ret);
|
|
16577
16783
|
}
|
|
16784
|
+
/**
|
|
16785
|
+
* Returns true if the note is a network note (public + a valid
|
|
16786
|
+
* `NetworkAccountTarget` attachment).
|
|
16787
|
+
* @returns {boolean}
|
|
16788
|
+
*/
|
|
16789
|
+
isNetworkNote() {
|
|
16790
|
+
const ret = wasm.note_isNetworkNote(this.__wbg_ptr);
|
|
16791
|
+
return ret !== 0;
|
|
16792
|
+
}
|
|
16578
16793
|
/**
|
|
16579
16794
|
* Returns the public metadata associated with the note.
|
|
16580
16795
|
* @returns {NoteMetadata}
|
|
@@ -16634,6 +16849,30 @@ class Note {
|
|
|
16634
16849
|
const ret = wasm.note_serialize(this.__wbg_ptr);
|
|
16635
16850
|
return ret;
|
|
16636
16851
|
}
|
|
16852
|
+
/**
|
|
16853
|
+
* Creates a note carrying the provided attachments, using the metadata's
|
|
16854
|
+
* sender / note type / tag (attachments on the metadata itself are ignored).
|
|
16855
|
+
*
|
|
16856
|
+
* # Errors
|
|
16857
|
+
* Errors if the attachment set is invalid (too many attachments or words).
|
|
16858
|
+
* @param {NoteAssets} note_assets
|
|
16859
|
+
* @param {NoteMetadata} note_metadata
|
|
16860
|
+
* @param {NoteRecipient} note_recipient
|
|
16861
|
+
* @param {NoteAttachment[]} attachments
|
|
16862
|
+
* @returns {Note}
|
|
16863
|
+
*/
|
|
16864
|
+
static withAttachments(note_assets, note_metadata, note_recipient, attachments) {
|
|
16865
|
+
_assertClass(note_assets, NoteAssets);
|
|
16866
|
+
_assertClass(note_metadata, NoteMetadata);
|
|
16867
|
+
_assertClass(note_recipient, NoteRecipient);
|
|
16868
|
+
const ptr0 = passArrayJsValueToWasm0(attachments, wasm.__wbindgen_malloc);
|
|
16869
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16870
|
+
const ret = wasm.note_withAttachments(note_assets.__wbg_ptr, note_metadata.__wbg_ptr, note_recipient.__wbg_ptr, ptr0, len0);
|
|
16871
|
+
if (ret[2]) {
|
|
16872
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16873
|
+
}
|
|
16874
|
+
return Note.__wrap(ret[0]);
|
|
16875
|
+
}
|
|
16637
16876
|
}
|
|
16638
16877
|
if (Symbol.dispose) Note.prototype[Symbol.dispose] = Note.prototype.free;
|
|
16639
16878
|
|
|
@@ -16901,6 +17140,12 @@ class NoteAttachment {
|
|
|
16901
17140
|
NoteAttachmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
16902
17141
|
return obj;
|
|
16903
17142
|
}
|
|
17143
|
+
static __unwrap(jsValue) {
|
|
17144
|
+
if (!(jsValue instanceof NoteAttachment)) {
|
|
17145
|
+
return 0;
|
|
17146
|
+
}
|
|
17147
|
+
return jsValue.__destroy_into_raw();
|
|
17148
|
+
}
|
|
16904
17149
|
__destroy_into_raw() {
|
|
16905
17150
|
const ptr = this.__wbg_ptr;
|
|
16906
17151
|
this.__wbg_ptr = 0;
|
|
@@ -18131,6 +18376,19 @@ class NoteRecipient {
|
|
|
18131
18376
|
const ret = wasm.accountheader_storageCommitment(this.__wbg_ptr);
|
|
18132
18377
|
return Word.__wrap(ret);
|
|
18133
18378
|
}
|
|
18379
|
+
/**
|
|
18380
|
+
* Creates a recipient from a script and storage, generating a fresh random
|
|
18381
|
+
* serial number (the secret that prevents double-spends).
|
|
18382
|
+
* @param {NoteScript} note_script
|
|
18383
|
+
* @param {NoteStorage} storage
|
|
18384
|
+
* @returns {NoteRecipient}
|
|
18385
|
+
*/
|
|
18386
|
+
static fromScript(note_script, storage) {
|
|
18387
|
+
_assertClass(note_script, NoteScript);
|
|
18388
|
+
_assertClass(storage, NoteStorage);
|
|
18389
|
+
const ret = wasm.noterecipient_fromScript(note_script.__wbg_ptr, storage.__wbg_ptr);
|
|
18390
|
+
return NoteRecipient.__wrap(ret);
|
|
18391
|
+
}
|
|
18134
18392
|
/**
|
|
18135
18393
|
* Creates a note recipient from its serial number, script, and storage.
|
|
18136
18394
|
* @param {Word} serial_num
|
|
@@ -18853,6 +19111,16 @@ class OutputNoteRecord {
|
|
|
18853
19111
|
const ret = wasm.outputnoterecord_isConsumed(this.__wbg_ptr);
|
|
18854
19112
|
return ret !== 0;
|
|
18855
19113
|
}
|
|
19114
|
+
/**
|
|
19115
|
+
* Returns true while the note's on-chain inclusion is still unsettled
|
|
19116
|
+
* (`ExpectedFull` or `ExpectedPartial`), i.e. while sync is the mechanism
|
|
19117
|
+
* that can advance this record.
|
|
19118
|
+
* @returns {boolean}
|
|
19119
|
+
*/
|
|
19120
|
+
isInclusionPending() {
|
|
19121
|
+
const ret = wasm.outputnoterecord_isInclusionPending(this.__wbg_ptr);
|
|
19122
|
+
return ret !== 0;
|
|
19123
|
+
}
|
|
18856
19124
|
/**
|
|
18857
19125
|
* Returns the note metadata.
|
|
18858
19126
|
* @returns {NoteMetadata}
|
|
@@ -24211,7 +24479,7 @@ function __wbg_get_imports(memory) {
|
|
|
24211
24479
|
const ret = AccountStorage.__wrap(arg0);
|
|
24212
24480
|
return ret;
|
|
24213
24481
|
},
|
|
24214
|
-
|
|
24482
|
+
__wbg_addNoteTag_c1d851535ec0e098: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24215
24483
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24216
24484
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24217
24485
|
let v1;
|
|
@@ -24239,25 +24507,25 @@ function __wbg_get_imports(memory) {
|
|
|
24239
24507
|
__wbg_append_a992ccc37aa62dc4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
24240
24508
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
24241
24509
|
}, arguments); },
|
|
24242
|
-
|
|
24510
|
+
__wbg_applyFullAccountState_a76a7cf1d93a9554: function(arg0, arg1, arg2) {
|
|
24243
24511
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
24244
24512
|
return ret;
|
|
24245
24513
|
},
|
|
24246
|
-
|
|
24514
|
+
__wbg_applySettingsMutations_e98dbb5827d3ec93: function(arg0, arg1, arg2, arg3) {
|
|
24247
24515
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24248
24516
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24249
24517
|
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
24250
24518
|
return ret;
|
|
24251
24519
|
},
|
|
24252
|
-
|
|
24520
|
+
__wbg_applyStateSync_c365f1affe42d064: function(arg0, arg1, arg2) {
|
|
24253
24521
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
24254
24522
|
return ret;
|
|
24255
24523
|
},
|
|
24256
|
-
|
|
24524
|
+
__wbg_applyTransactionBatch_0b07b42c93c25447: function(arg0, arg1, arg2) {
|
|
24257
24525
|
const ret = applyTransactionBatch(getStringFromWasm0(arg0, arg1), arg2);
|
|
24258
24526
|
return ret;
|
|
24259
24527
|
},
|
|
24260
|
-
|
|
24528
|
+
__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) {
|
|
24261
24529
|
let deferred0_0;
|
|
24262
24530
|
let deferred0_1;
|
|
24263
24531
|
let deferred1_0;
|
|
@@ -24408,7 +24676,7 @@ function __wbg_get_imports(memory) {
|
|
|
24408
24676
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24409
24677
|
}
|
|
24410
24678
|
},
|
|
24411
|
-
|
|
24679
|
+
__wbg_exportStore_ca32cf4c9f46f56b: function(arg0, arg1) {
|
|
24412
24680
|
const ret = exportStore(getStringFromWasm0(arg0, arg1));
|
|
24413
24681
|
return ret;
|
|
24414
24682
|
},
|
|
@@ -24440,7 +24708,7 @@ function __wbg_get_imports(memory) {
|
|
|
24440
24708
|
const ret = FetchedNote.__wrap(arg0);
|
|
24441
24709
|
return ret;
|
|
24442
24710
|
},
|
|
24443
|
-
|
|
24711
|
+
__wbg_forceImportStore_8bb9e5bbca5e1513: function(arg0, arg1, arg2) {
|
|
24444
24712
|
const ret = forceImportStore(getStringFromWasm0(arg0, arg1), arg2);
|
|
24445
24713
|
return ret;
|
|
24446
24714
|
},
|
|
@@ -24464,7 +24732,7 @@ function __wbg_get_imports(memory) {
|
|
|
24464
24732
|
const ret = FungibleAssetDeltaItem.__wrap(arg0);
|
|
24465
24733
|
return ret;
|
|
24466
24734
|
},
|
|
24467
|
-
|
|
24735
|
+
__wbg_getAccountAddresses_d068c1e15e7a3f69: function(arg0, arg1, arg2, arg3) {
|
|
24468
24736
|
let deferred0_0;
|
|
24469
24737
|
let deferred0_1;
|
|
24470
24738
|
try {
|
|
@@ -24476,7 +24744,7 @@ function __wbg_get_imports(memory) {
|
|
|
24476
24744
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24477
24745
|
}
|
|
24478
24746
|
},
|
|
24479
|
-
|
|
24747
|
+
__wbg_getAccountAuthByPubKeyCommitment_8f67fb0e63c7bd2e: function(arg0, arg1, arg2, arg3) {
|
|
24480
24748
|
let deferred0_0;
|
|
24481
24749
|
let deferred0_1;
|
|
24482
24750
|
try {
|
|
@@ -24488,7 +24756,7 @@ function __wbg_get_imports(memory) {
|
|
|
24488
24756
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24489
24757
|
}
|
|
24490
24758
|
},
|
|
24491
|
-
|
|
24759
|
+
__wbg_getAccountCode_c9e87e9228f99d8a: function(arg0, arg1, arg2, arg3) {
|
|
24492
24760
|
let deferred0_0;
|
|
24493
24761
|
let deferred0_1;
|
|
24494
24762
|
try {
|
|
@@ -24500,7 +24768,7 @@ function __wbg_get_imports(memory) {
|
|
|
24500
24768
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24501
24769
|
}
|
|
24502
24770
|
},
|
|
24503
|
-
|
|
24771
|
+
__wbg_getAccountHeaderByCommitment_918253bae03e21bd: function(arg0, arg1, arg2, arg3) {
|
|
24504
24772
|
let deferred0_0;
|
|
24505
24773
|
let deferred0_1;
|
|
24506
24774
|
try {
|
|
@@ -24512,7 +24780,7 @@ function __wbg_get_imports(memory) {
|
|
|
24512
24780
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24513
24781
|
}
|
|
24514
24782
|
},
|
|
24515
|
-
|
|
24783
|
+
__wbg_getAccountHeader_19a4cbeb88903833: function(arg0, arg1, arg2, arg3) {
|
|
24516
24784
|
let deferred0_0;
|
|
24517
24785
|
let deferred0_1;
|
|
24518
24786
|
try {
|
|
@@ -24524,7 +24792,7 @@ function __wbg_get_imports(memory) {
|
|
|
24524
24792
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24525
24793
|
}
|
|
24526
24794
|
},
|
|
24527
|
-
|
|
24795
|
+
__wbg_getAccountIdByKeyCommitment_2461fd858ac229a5: function(arg0, arg1, arg2, arg3) {
|
|
24528
24796
|
let deferred0_0;
|
|
24529
24797
|
let deferred0_1;
|
|
24530
24798
|
try {
|
|
@@ -24536,11 +24804,11 @@ function __wbg_get_imports(memory) {
|
|
|
24536
24804
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24537
24805
|
}
|
|
24538
24806
|
},
|
|
24539
|
-
|
|
24807
|
+
__wbg_getAccountIds_6ce312ac9bfb1b31: function(arg0, arg1) {
|
|
24540
24808
|
const ret = getAccountIds(getStringFromWasm0(arg0, arg1));
|
|
24541
24809
|
return ret;
|
|
24542
24810
|
},
|
|
24543
|
-
|
|
24811
|
+
__wbg_getAccountStorageMaps_18420aab10cd69bd: function(arg0, arg1, arg2, arg3) {
|
|
24544
24812
|
let deferred0_0;
|
|
24545
24813
|
let deferred0_1;
|
|
24546
24814
|
try {
|
|
@@ -24552,7 +24820,7 @@ function __wbg_get_imports(memory) {
|
|
|
24552
24820
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24553
24821
|
}
|
|
24554
24822
|
},
|
|
24555
|
-
|
|
24823
|
+
__wbg_getAccountStorage_ffe7596409c9223c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24556
24824
|
let deferred0_0;
|
|
24557
24825
|
let deferred0_1;
|
|
24558
24826
|
try {
|
|
@@ -24566,7 +24834,7 @@ function __wbg_get_imports(memory) {
|
|
|
24566
24834
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24567
24835
|
}
|
|
24568
24836
|
},
|
|
24569
|
-
|
|
24837
|
+
__wbg_getAccountVaultAssets_af709bb72685df4c: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24570
24838
|
let deferred0_0;
|
|
24571
24839
|
let deferred0_1;
|
|
24572
24840
|
try {
|
|
@@ -24580,27 +24848,27 @@ function __wbg_get_imports(memory) {
|
|
|
24580
24848
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24581
24849
|
}
|
|
24582
24850
|
},
|
|
24583
|
-
|
|
24851
|
+
__wbg_getAllAccountHeaders_41895be7c409b88e: function(arg0, arg1) {
|
|
24584
24852
|
const ret = getAllAccountHeaders(getStringFromWasm0(arg0, arg1));
|
|
24585
24853
|
return ret;
|
|
24586
24854
|
},
|
|
24587
|
-
|
|
24855
|
+
__wbg_getBlockHeaders_5fd7167f134e5843: function(arg0, arg1, arg2, arg3) {
|
|
24588
24856
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
24589
24857
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24590
24858
|
const ret = getBlockHeaders(getStringFromWasm0(arg0, arg1), v0);
|
|
24591
24859
|
return ret;
|
|
24592
24860
|
},
|
|
24593
|
-
|
|
24861
|
+
__wbg_getCurrentBlockchainPeaks_0d572807e1e9e2ae: function(arg0, arg1) {
|
|
24594
24862
|
const ret = getCurrentBlockchainPeaks(getStringFromWasm0(arg0, arg1));
|
|
24595
24863
|
return ret;
|
|
24596
24864
|
},
|
|
24597
|
-
|
|
24865
|
+
__wbg_getForeignAccountCode_844c11a17626e563: function(arg0, arg1, arg2, arg3) {
|
|
24598
24866
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24599
24867
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24600
24868
|
const ret = getForeignAccountCode(getStringFromWasm0(arg0, arg1), v0);
|
|
24601
24869
|
return ret;
|
|
24602
24870
|
},
|
|
24603
|
-
|
|
24871
|
+
__wbg_getInputNoteByOffset_9ab1440d682c55fb: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
24604
24872
|
let deferred1_0;
|
|
24605
24873
|
let deferred1_1;
|
|
24606
24874
|
try {
|
|
@@ -24614,31 +24882,31 @@ function __wbg_get_imports(memory) {
|
|
|
24614
24882
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24615
24883
|
}
|
|
24616
24884
|
},
|
|
24617
|
-
|
|
24885
|
+
__wbg_getInputNotesFromDetailsCommitments_0d7a37a6d01eab53: function(arg0, arg1, arg2, arg3) {
|
|
24618
24886
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24619
24887
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24620
24888
|
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24621
24889
|
return ret;
|
|
24622
24890
|
},
|
|
24623
|
-
|
|
24891
|
+
__wbg_getInputNotesFromIds_27c39054c73a044b: function(arg0, arg1, arg2, arg3) {
|
|
24624
24892
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24625
24893
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24626
24894
|
const ret = getInputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24627
24895
|
return ret;
|
|
24628
24896
|
},
|
|
24629
|
-
|
|
24897
|
+
__wbg_getInputNotesFromNullifiers_301cdfb81aa319a7: function(arg0, arg1, arg2, arg3) {
|
|
24630
24898
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24631
24899
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24632
24900
|
const ret = getInputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24633
24901
|
return ret;
|
|
24634
24902
|
},
|
|
24635
|
-
|
|
24903
|
+
__wbg_getInputNotes_7d1b39ca9e78db47: function(arg0, arg1, arg2, arg3) {
|
|
24636
24904
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24637
24905
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24638
24906
|
const ret = getInputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24639
24907
|
return ret;
|
|
24640
24908
|
},
|
|
24641
|
-
|
|
24909
|
+
__wbg_getKeyCommitmentsByAccountId_81ce3e1041e3bed0: function(arg0, arg1, arg2, arg3) {
|
|
24642
24910
|
let deferred0_0;
|
|
24643
24911
|
let deferred0_1;
|
|
24644
24912
|
try {
|
|
@@ -24650,7 +24918,7 @@ function __wbg_get_imports(memory) {
|
|
|
24650
24918
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24651
24919
|
}
|
|
24652
24920
|
},
|
|
24653
|
-
|
|
24921
|
+
__wbg_getNoteScript_5be6f18daf0b0cff: function(arg0, arg1, arg2, arg3) {
|
|
24654
24922
|
let deferred0_0;
|
|
24655
24923
|
let deferred0_1;
|
|
24656
24924
|
try {
|
|
@@ -24662,39 +24930,39 @@ function __wbg_get_imports(memory) {
|
|
|
24662
24930
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24663
24931
|
}
|
|
24664
24932
|
},
|
|
24665
|
-
|
|
24933
|
+
__wbg_getNoteTags_43e80680e54bade8: function(arg0, arg1) {
|
|
24666
24934
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
24667
24935
|
return ret;
|
|
24668
24936
|
},
|
|
24669
|
-
|
|
24937
|
+
__wbg_getOutputNotesFromDetailsCommitments_68e3dca9188e3f99: function(arg0, arg1, arg2, arg3) {
|
|
24670
24938
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24671
24939
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24672
24940
|
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24673
24941
|
return ret;
|
|
24674
24942
|
},
|
|
24675
|
-
|
|
24943
|
+
__wbg_getOutputNotesFromIds_768649a70e0c7bfb: function(arg0, arg1, arg2, arg3) {
|
|
24676
24944
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24677
24945
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24678
24946
|
const ret = getOutputNotesFromIds(getStringFromWasm0(arg0, arg1), v0);
|
|
24679
24947
|
return ret;
|
|
24680
24948
|
},
|
|
24681
|
-
|
|
24949
|
+
__wbg_getOutputNotesFromNullifiers_c7ed92290ce3947a: function(arg0, arg1, arg2, arg3) {
|
|
24682
24950
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24683
24951
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24684
24952
|
const ret = getOutputNotesFromNullifiers(getStringFromWasm0(arg0, arg1), v0);
|
|
24685
24953
|
return ret;
|
|
24686
24954
|
},
|
|
24687
|
-
|
|
24955
|
+
__wbg_getOutputNotes_b3ad1953a5193c80: function(arg0, arg1, arg2, arg3) {
|
|
24688
24956
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24689
24957
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24690
24958
|
const ret = getOutputNotes(getStringFromWasm0(arg0, arg1), v0);
|
|
24691
24959
|
return ret;
|
|
24692
24960
|
},
|
|
24693
|
-
|
|
24961
|
+
__wbg_getPartialBlockchainNodesAll_6834180a437e7c63: function(arg0, arg1) {
|
|
24694
24962
|
const ret = getPartialBlockchainNodesAll(getStringFromWasm0(arg0, arg1));
|
|
24695
24963
|
return ret;
|
|
24696
24964
|
},
|
|
24697
|
-
|
|
24965
|
+
__wbg_getPartialBlockchainNodesUpToInOrderIndex_94dc7d751d77e648: function(arg0, arg1, arg2, arg3) {
|
|
24698
24966
|
let deferred0_0;
|
|
24699
24967
|
let deferred0_1;
|
|
24700
24968
|
try {
|
|
@@ -24706,7 +24974,7 @@ function __wbg_get_imports(memory) {
|
|
|
24706
24974
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24707
24975
|
}
|
|
24708
24976
|
},
|
|
24709
|
-
|
|
24977
|
+
__wbg_getPartialBlockchainNodes_af5bd7d7471ef114: function(arg0, arg1, arg2, arg3) {
|
|
24710
24978
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24711
24979
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24712
24980
|
const ret = getPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0);
|
|
@@ -24719,7 +24987,7 @@ function __wbg_get_imports(memory) {
|
|
|
24719
24987
|
const ret = arg0.getReader();
|
|
24720
24988
|
return ret;
|
|
24721
24989
|
}, arguments); },
|
|
24722
|
-
|
|
24990
|
+
__wbg_getSetting_f06b2891fbabc9cf: function(arg0, arg1, arg2, arg3) {
|
|
24723
24991
|
let deferred0_0;
|
|
24724
24992
|
let deferred0_1;
|
|
24725
24993
|
try {
|
|
@@ -24731,7 +24999,7 @@ function __wbg_get_imports(memory) {
|
|
|
24731
24999
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24732
25000
|
}
|
|
24733
25001
|
},
|
|
24734
|
-
|
|
25002
|
+
__wbg_getSyncHeight_d79b93a5d88a10be: function(arg0, arg1) {
|
|
24735
25003
|
const ret = getSyncHeight(getStringFromWasm0(arg0, arg1));
|
|
24736
25004
|
return ret;
|
|
24737
25005
|
},
|
|
@@ -24739,15 +25007,15 @@ function __wbg_get_imports(memory) {
|
|
|
24739
25007
|
const ret = arg0.getTime();
|
|
24740
25008
|
return ret;
|
|
24741
25009
|
},
|
|
24742
|
-
|
|
25010
|
+
__wbg_getTrackedBlockHeaderNumbers_f0d5e2f2232551cc: function(arg0, arg1) {
|
|
24743
25011
|
const ret = getTrackedBlockHeaderNumbers(getStringFromWasm0(arg0, arg1));
|
|
24744
25012
|
return ret;
|
|
24745
25013
|
},
|
|
24746
|
-
|
|
25014
|
+
__wbg_getTrackedBlockHeaders_db61d3cc39ec8dba: function(arg0, arg1) {
|
|
24747
25015
|
const ret = getTrackedBlockHeaders(getStringFromWasm0(arg0, arg1));
|
|
24748
25016
|
return ret;
|
|
24749
25017
|
},
|
|
24750
|
-
|
|
25018
|
+
__wbg_getTransactions_00723f63af87e326: function(arg0, arg1, arg2, arg3) {
|
|
24751
25019
|
let deferred0_0;
|
|
24752
25020
|
let deferred0_1;
|
|
24753
25021
|
try {
|
|
@@ -24759,7 +25027,7 @@ function __wbg_get_imports(memory) {
|
|
|
24759
25027
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24760
25028
|
}
|
|
24761
25029
|
},
|
|
24762
|
-
|
|
25030
|
+
__wbg_getUnspentInputNoteNullifiers_5352631c6015d6e5: function(arg0, arg1) {
|
|
24763
25031
|
const ret = getUnspentInputNoteNullifiers(getStringFromWasm0(arg0, arg1));
|
|
24764
25032
|
return ret;
|
|
24765
25033
|
},
|
|
@@ -24803,7 +25071,7 @@ function __wbg_get_imports(memory) {
|
|
|
24803
25071
|
const ret = InputNoteRecord.__wrap(arg0);
|
|
24804
25072
|
return ret;
|
|
24805
25073
|
},
|
|
24806
|
-
|
|
25074
|
+
__wbg_insertAccountAddress_a8f49a2f8f6ff0f1: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24807
25075
|
let deferred0_0;
|
|
24808
25076
|
let deferred0_1;
|
|
24809
25077
|
try {
|
|
@@ -24817,7 +25085,7 @@ function __wbg_get_imports(memory) {
|
|
|
24817
25085
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24818
25086
|
}
|
|
24819
25087
|
},
|
|
24820
|
-
|
|
25088
|
+
__wbg_insertAccountAuth_3a2314a58a464f90: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24821
25089
|
let deferred0_0;
|
|
24822
25090
|
let deferred0_1;
|
|
24823
25091
|
let deferred1_0;
|
|
@@ -24834,7 +25102,7 @@ function __wbg_get_imports(memory) {
|
|
|
24834
25102
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24835
25103
|
}
|
|
24836
25104
|
},
|
|
24837
|
-
|
|
25105
|
+
__wbg_insertAccountKeyMapping_72c6d4d8b9306667: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24838
25106
|
let deferred0_0;
|
|
24839
25107
|
let deferred0_1;
|
|
24840
25108
|
let deferred1_0;
|
|
@@ -24851,13 +25119,13 @@ function __wbg_get_imports(memory) {
|
|
|
24851
25119
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
24852
25120
|
}
|
|
24853
25121
|
},
|
|
24854
|
-
|
|
25122
|
+
__wbg_insertBlockHeader_305b039a9623ae0f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24855
25123
|
var v0 = getArrayU8FromWasm0(arg3, arg4).slice();
|
|
24856
25124
|
wasm.__wbindgen_free(arg3, arg4 * 1, 1);
|
|
24857
25125
|
const ret = insertBlockHeader(getStringFromWasm0(arg0, arg1), arg2 >>> 0, v0, arg5 !== 0);
|
|
24858
25126
|
return ret;
|
|
24859
25127
|
},
|
|
24860
|
-
|
|
25128
|
+
__wbg_insertPartialBlockchainNodes_cf3566f492028425: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24861
25129
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24862
25130
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24863
25131
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -24865,7 +25133,7 @@ function __wbg_get_imports(memory) {
|
|
|
24865
25133
|
const ret = insertPartialBlockchainNodes(getStringFromWasm0(arg0, arg1), v0, v1);
|
|
24866
25134
|
return ret;
|
|
24867
25135
|
},
|
|
24868
|
-
|
|
25136
|
+
__wbg_insertSetting_0f1cae5afcfb4023: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24869
25137
|
let deferred0_0;
|
|
24870
25138
|
let deferred0_1;
|
|
24871
25139
|
try {
|
|
@@ -24879,7 +25147,7 @@ function __wbg_get_imports(memory) {
|
|
|
24879
25147
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24880
25148
|
}
|
|
24881
25149
|
},
|
|
24882
|
-
|
|
25150
|
+
__wbg_insertTransactionScript_254698ca99f13bdb: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
24883
25151
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24884
25152
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24885
25153
|
let v1;
|
|
@@ -24986,11 +25254,11 @@ function __wbg_get_imports(memory) {
|
|
|
24986
25254
|
const ret = arg0.length;
|
|
24987
25255
|
return ret;
|
|
24988
25256
|
},
|
|
24989
|
-
|
|
25257
|
+
__wbg_listSettingKeys_b640b6ed3b2ceee7: function(arg0, arg1) {
|
|
24990
25258
|
const ret = listSettingKeys(getStringFromWasm0(arg0, arg1));
|
|
24991
25259
|
return ret;
|
|
24992
25260
|
},
|
|
24993
|
-
|
|
25261
|
+
__wbg_lockAccount_e19bdabd557a9bac: function(arg0, arg1, arg2, arg3) {
|
|
24994
25262
|
let deferred0_0;
|
|
24995
25263
|
let deferred0_1;
|
|
24996
25264
|
try {
|
|
@@ -25149,6 +25417,10 @@ function __wbg_get_imports(memory) {
|
|
|
25149
25417
|
const ret = NoteAttachment.__wrap(arg0);
|
|
25150
25418
|
return ret;
|
|
25151
25419
|
},
|
|
25420
|
+
__wbg_noteattachment_unwrap: function(arg0) {
|
|
25421
|
+
const ret = NoteAttachment.__unwrap(arg0);
|
|
25422
|
+
return ret;
|
|
25423
|
+
},
|
|
25152
25424
|
__wbg_noteconsumability_new: function(arg0) {
|
|
25153
25425
|
const ret = NoteConsumability.__wrap(arg0);
|
|
25154
25426
|
return ret;
|
|
@@ -25205,7 +25477,7 @@ function __wbg_get_imports(memory) {
|
|
|
25205
25477
|
const ret = Array.of(arg0, arg1, arg2);
|
|
25206
25478
|
return ret;
|
|
25207
25479
|
},
|
|
25208
|
-
|
|
25480
|
+
__wbg_openDatabase_9a8fbeb3ab124c9d: function(arg0, arg1, arg2, arg3) {
|
|
25209
25481
|
const ret = openDatabase(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
25210
25482
|
return ret;
|
|
25211
25483
|
},
|
|
@@ -25239,7 +25511,7 @@ function __wbg_get_imports(memory) {
|
|
|
25239
25511
|
const ret = ProvenTransaction.__wrap(arg0);
|
|
25240
25512
|
return ret;
|
|
25241
25513
|
},
|
|
25242
|
-
|
|
25514
|
+
__wbg_pruneAccountHistory_6f68d5203b34624d: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25243
25515
|
let deferred0_0;
|
|
25244
25516
|
let deferred0_1;
|
|
25245
25517
|
let deferred1_0;
|
|
@@ -25256,7 +25528,7 @@ function __wbg_get_imports(memory) {
|
|
|
25256
25528
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25257
25529
|
}
|
|
25258
25530
|
},
|
|
25259
|
-
|
|
25531
|
+
__wbg_pruneIrrelevantBlocks_f67204a16f7b32f3: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25260
25532
|
var v0 = getArrayU32FromWasm0(arg2, arg3).slice();
|
|
25261
25533
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25262
25534
|
var v1 = getArrayJsValueFromWasm0(arg4, arg5).slice();
|
|
@@ -25286,13 +25558,13 @@ function __wbg_get_imports(memory) {
|
|
|
25286
25558
|
__wbg_releaseLock_aa5846c2494b3032: function(arg0) {
|
|
25287
25559
|
arg0.releaseLock();
|
|
25288
25560
|
},
|
|
25289
|
-
|
|
25561
|
+
__wbg_removeAccountAddress_c96456170da6ac29: function(arg0, arg1, arg2, arg3) {
|
|
25290
25562
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25291
25563
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25292
25564
|
const ret = removeAccountAddress(getStringFromWasm0(arg0, arg1), v0);
|
|
25293
25565
|
return ret;
|
|
25294
25566
|
},
|
|
25295
|
-
|
|
25567
|
+
__wbg_removeAccountAuth_514a8e1ee9bc6293: function(arg0, arg1, arg2, arg3) {
|
|
25296
25568
|
let deferred0_0;
|
|
25297
25569
|
let deferred0_1;
|
|
25298
25570
|
try {
|
|
@@ -25304,7 +25576,7 @@ function __wbg_get_imports(memory) {
|
|
|
25304
25576
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25305
25577
|
}
|
|
25306
25578
|
},
|
|
25307
|
-
|
|
25579
|
+
__wbg_removeAllMappingsForKey_18e793a295ac2226: function(arg0, arg1, arg2, arg3) {
|
|
25308
25580
|
let deferred0_0;
|
|
25309
25581
|
let deferred0_1;
|
|
25310
25582
|
try {
|
|
@@ -25316,7 +25588,7 @@ function __wbg_get_imports(memory) {
|
|
|
25316
25588
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25317
25589
|
}
|
|
25318
25590
|
},
|
|
25319
|
-
|
|
25591
|
+
__wbg_removeNoteTag_8ae01f5c65dc9174: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
25320
25592
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
25321
25593
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
25322
25594
|
let v1;
|
|
@@ -25337,7 +25609,7 @@ function __wbg_get_imports(memory) {
|
|
|
25337
25609
|
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
25338
25610
|
return ret;
|
|
25339
25611
|
},
|
|
25340
|
-
|
|
25612
|
+
__wbg_removeSetting_5bec82500774f6cf: function(arg0, arg1, arg2, arg3) {
|
|
25341
25613
|
let deferred0_0;
|
|
25342
25614
|
let deferred0_1;
|
|
25343
25615
|
try {
|
|
@@ -25547,13 +25819,13 @@ function __wbg_get_imports(memory) {
|
|
|
25547
25819
|
const ret = TransactionSummary.__wrap(arg0);
|
|
25548
25820
|
return ret;
|
|
25549
25821
|
},
|
|
25550
|
-
|
|
25822
|
+
__wbg_undoAccountStates_b7f5bc8db7e5f7d9: function(arg0, arg1, arg2, arg3) {
|
|
25551
25823
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
25552
25824
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
25553
25825
|
const ret = undoAccountStates(getStringFromWasm0(arg0, arg1), v0);
|
|
25554
25826
|
return ret;
|
|
25555
25827
|
},
|
|
25556
|
-
|
|
25828
|
+
__wbg_upsertAccountCode_2885d4bc1584e8e8: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25557
25829
|
let deferred0_0;
|
|
25558
25830
|
let deferred0_1;
|
|
25559
25831
|
try {
|
|
@@ -25567,7 +25839,7 @@ function __wbg_get_imports(memory) {
|
|
|
25567
25839
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25568
25840
|
}
|
|
25569
25841
|
},
|
|
25570
|
-
|
|
25842
|
+
__wbg_upsertAccountRecord_c3aa685ee4dcc3de: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
25571
25843
|
let deferred0_0;
|
|
25572
25844
|
let deferred0_1;
|
|
25573
25845
|
let deferred1_0;
|
|
@@ -25609,7 +25881,7 @@ function __wbg_get_imports(memory) {
|
|
|
25609
25881
|
wasm.__wbindgen_free(deferred5_0, deferred5_1, 1);
|
|
25610
25882
|
}
|
|
25611
25883
|
},
|
|
25612
|
-
|
|
25884
|
+
__wbg_upsertAccountStorage_e482e77a7e281260: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25613
25885
|
let deferred0_0;
|
|
25614
25886
|
let deferred0_1;
|
|
25615
25887
|
try {
|
|
@@ -25623,7 +25895,7 @@ function __wbg_get_imports(memory) {
|
|
|
25623
25895
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25624
25896
|
}
|
|
25625
25897
|
},
|
|
25626
|
-
|
|
25898
|
+
__wbg_upsertForeignAccountCode_9aa9b862b6a7e789: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
25627
25899
|
let deferred0_0;
|
|
25628
25900
|
let deferred0_1;
|
|
25629
25901
|
let deferred2_0;
|
|
@@ -25642,7 +25914,7 @@ function __wbg_get_imports(memory) {
|
|
|
25642
25914
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
25643
25915
|
}
|
|
25644
25916
|
},
|
|
25645
|
-
|
|
25917
|
+
__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) {
|
|
25646
25918
|
let deferred0_0;
|
|
25647
25919
|
let deferred0_1;
|
|
25648
25920
|
let deferred6_0;
|
|
@@ -25691,7 +25963,7 @@ function __wbg_get_imports(memory) {
|
|
|
25691
25963
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
25692
25964
|
}
|
|
25693
25965
|
},
|
|
25694
|
-
|
|
25966
|
+
__wbg_upsertNoteScript_7e9a616d8a143614: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25695
25967
|
let deferred0_0;
|
|
25696
25968
|
let deferred0_1;
|
|
25697
25969
|
try {
|
|
@@ -25705,7 +25977,7 @@ function __wbg_get_imports(memory) {
|
|
|
25705
25977
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25706
25978
|
}
|
|
25707
25979
|
},
|
|
25708
|
-
|
|
25980
|
+
__wbg_upsertOutputNote_1194e3f5dcc3d4f1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
25709
25981
|
let deferred0_0;
|
|
25710
25982
|
let deferred0_1;
|
|
25711
25983
|
let deferred1_0;
|
|
@@ -25740,7 +26012,7 @@ function __wbg_get_imports(memory) {
|
|
|
25740
26012
|
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25741
26013
|
}
|
|
25742
26014
|
},
|
|
25743
|
-
|
|
26015
|
+
__wbg_upsertStorageMapEntries_82d953e23dee24ed: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25744
26016
|
let deferred0_0;
|
|
25745
26017
|
let deferred0_1;
|
|
25746
26018
|
try {
|
|
@@ -25754,7 +26026,7 @@ function __wbg_get_imports(memory) {
|
|
|
25754
26026
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25755
26027
|
}
|
|
25756
26028
|
},
|
|
25757
|
-
|
|
26029
|
+
__wbg_upsertTransactionRecord_24154d95069d63bd: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) {
|
|
25758
26030
|
let deferred0_0;
|
|
25759
26031
|
let deferred0_1;
|
|
25760
26032
|
try {
|
|
@@ -25775,7 +26047,7 @@ function __wbg_get_imports(memory) {
|
|
|
25775
26047
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25776
26048
|
}
|
|
25777
26049
|
},
|
|
25778
|
-
|
|
26050
|
+
__wbg_upsertVaultAssets_e982e767b7e6001a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
25779
26051
|
let deferred0_0;
|
|
25780
26052
|
let deferred0_1;
|
|
25781
26053
|
try {
|
|
@@ -25818,17 +26090,17 @@ function __wbg_get_imports(memory) {
|
|
|
25818
26090
|
return ret;
|
|
25819
26091
|
},
|
|
25820
26092
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
25821
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26093
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [Externref], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25822
26094
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25823
26095
|
return ret;
|
|
25824
26096
|
},
|
|
25825
26097
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
25826
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26098
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 129, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25827
26099
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke___wasm_bindgen_8294944b14acb139___JsValue_____);
|
|
25828
26100
|
return ret;
|
|
25829
26101
|
},
|
|
25830
26102
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
25831
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
26103
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 128, function: Function { arguments: [], shim_idx: 454, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
25832
26104
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_8294944b14acb139___closure__destroy___dyn_core_91ed24bc3d45dfd0___ops__function__FnMut__wasm_bindgen_8294944b14acb139___JsValue____Output_______, wasm_bindgen_8294944b14acb139___convert__closures_____invoke______);
|
|
25833
26105
|
return ret;
|
|
25834
26106
|
},
|
|
@@ -26169,6 +26441,9 @@ const LibraryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
26169
26441
|
const MerklePathFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26170
26442
|
? { register: () => {}, unregister: () => {} }
|
|
26171
26443
|
: new FinalizationRegistry(ptr => wasm.__wbg_merklepath_free(ptr >>> 0, 1));
|
|
26444
|
+
const NetworkAccountTargetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26445
|
+
? { register: () => {}, unregister: () => {} }
|
|
26446
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_networkaccounttarget_free(ptr >>> 0, 1));
|
|
26172
26447
|
const NetworkIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
26173
26448
|
? { register: () => {}, unregister: () => {} }
|
|
26174
26449
|
: new FinalizationRegistry(ptr => wasm.__wbg_networkid_free(ptr >>> 0, 1));
|
|
@@ -26858,6 +27133,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26858
27133
|
JsVaultAsset: JsVaultAsset,
|
|
26859
27134
|
Library: Library,
|
|
26860
27135
|
MerklePath: MerklePath,
|
|
27136
|
+
NetworkAccountTarget: NetworkAccountTarget,
|
|
26861
27137
|
NetworkId: NetworkId,
|
|
26862
27138
|
NetworkNoteStatusInfo: NetworkNoteStatusInfo,
|
|
26863
27139
|
NetworkType: NetworkType,
|
|
@@ -26962,5 +27238,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26962
27238
|
|
|
26963
27239
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26964
27240
|
|
|
26965
|
-
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, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, 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, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker };
|
|
26966
|
-
//# sourceMappingURL=Cargo-
|
|
27241
|
+
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, EthAddress, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsSettingMutation, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkAccountTarget, NetworkId, NetworkNoteStatusInfo, NetworkType, Note, NoteAndArgs, NoteAndArgsArray, NoteArray, NoteAssets, NoteAttachment, 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, PswapLineageRecord, PswapLineageState, PublicKey, RpcClient, Rpo256, SerializedInputNoteData, SerializedOutputNoteData, SerializedTransactionData, Signature, SigningInputs, SigningInputsType, SlotAndKeys, SparseMerklePath, StorageMap, StorageMapEntry, StorageMapEntryJs, StorageMapInfo, StorageMapUpdate, StorageSlot, StorageSlotArray, SyncSummary, TestUtils, TokenSymbol, TransactionArgs, TransactionFilter, TransactionId, TransactionProver, TransactionRecord, TransactionRequest, TransactionRequestBuilder, TransactionResult, TransactionScript, TransactionScriptInputPair, TransactionScriptInputPairArray, TransactionStatus, TransactionStoreUpdate, TransactionSummary, WebClient, WebKeystoreApi, Word, module$1 as __wasm_url, __wbg_init, createAuthFalcon512RpoMultisig, exportStore2 as exportStore, importStore, initSync, initThreadPool, mtProbeAsync, mtProbeSync, parallelSumBench, rayonThreadCount, sequentialSumBench, setupLogging, wbg_rayon_PoolBuilder, wbg_rayon_start_worker };
|
|
27242
|
+
//# sourceMappingURL=Cargo-mvyTli7g-BwMMSyoq.js.map
|