@miden-sdk/miden-sdk 0.15.0-alpha.7 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mt/{Cargo-C9UbiAcT.js → Cargo-1zqmsGGR.js} +314 -96
- package/dist/mt/Cargo-1zqmsGGR.js.map +1 -0
- package/dist/mt/api-types.d.ts +17 -24
- package/dist/mt/assets/miden_client_web.wasm +0 -0
- package/dist/mt/crates/miden_client_web.d.ts +42 -19
- package/dist/mt/eager.js +1 -1
- package/dist/mt/index.js +8 -60
- 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-C9UbiAcT-Z344cyB1.js → Cargo-1zqmsGGR-COfl7R3D.js} +314 -96
- package/dist/mt/workers/Cargo-1zqmsGGR-COfl7R3D.js.map +1 -0
- package/dist/mt/workers/assets/miden_client_web.wasm +0 -0
- package/dist/mt/workers/web-client-methods-worker.js +315 -96
- 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-OZMlHpic.js → Cargo-qHCIdWdN.js} +315 -98
- package/dist/st/Cargo-qHCIdWdN.js.map +1 -0
- package/dist/st/api-types.d.ts +17 -24
- package/dist/st/assets/miden_client_web.wasm +0 -0
- package/dist/st/crates/miden_client_web.d.ts +42 -19
- package/dist/st/eager.js +1 -1
- package/dist/st/index.js +8 -60
- package/dist/st/index.js.map +1 -1
- package/dist/st/wasm.js +1 -1
- package/dist/st/workers/{Cargo-OZMlHpic-DZjvJlWc.js → Cargo-qHCIdWdN-CZmgHdJc.js} +315 -98
- package/dist/st/workers/Cargo-qHCIdWdN-CZmgHdJc.js.map +1 -0
- package/dist/st/workers/assets/miden_client_web.wasm +0 -0
- package/dist/st/workers/web-client-methods-worker.js +316 -98
- 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/napi-compat.js +2 -2
- package/js/node-index.js +1 -4
- package/js/resources/accounts.js +2 -14
- package/js/utils.js +2 -31
- package/package.json +4 -4
- package/dist/mt/Cargo-C9UbiAcT.js.map +0 -1
- package/dist/mt/workers/Cargo-C9UbiAcT-Z344cyB1.js.map +0 -1
- package/dist/st/Cargo-OZMlHpic.js.map +0 -1
- package/dist/st/workers/Cargo-OZMlHpic-DZjvJlWc.js.map +0 -1
|
@@ -8281,7 +8281,7 @@ const V1_STORES = {
|
|
|
8281
8281
|
[Table.Transactions]: indexes("id", "statusVariant"),
|
|
8282
8282
|
[Table.TransactionScripts]: indexes("scriptRoot"),
|
|
8283
8283
|
[Table.InputNotes]: indexes("detailsCommitment", "noteId", "nullifier", "stateDiscriminant", "[consumedBlockHeight+consumedTxOrder+noteId]"),
|
|
8284
|
-
[Table.OutputNotes]: indexes("noteId", "recipientDigest", "stateDiscriminant", "nullifier"),
|
|
8284
|
+
[Table.OutputNotes]: indexes("detailsCommitment", "noteId", "recipientDigest", "stateDiscriminant", "nullifier"),
|
|
8285
8285
|
[Table.NotesScripts]: indexes("scriptRoot"),
|
|
8286
8286
|
[Table.StateSync]: indexes("id"),
|
|
8287
8287
|
[Table.BlockHeaders]: indexes("blockNum", "hasClientNotes"),
|
|
@@ -8483,6 +8483,7 @@ async function getAllAccountHeaders(dbId) {
|
|
|
8483
8483
|
locked: record.locked,
|
|
8484
8484
|
committed: record.committed,
|
|
8485
8485
|
accountCommitment: record.accountCommitment || "",
|
|
8486
|
+
watched: record.watched ?? false,
|
|
8486
8487
|
}));
|
|
8487
8488
|
return resultObject;
|
|
8488
8489
|
}
|
|
@@ -8509,6 +8510,7 @@ async function getAccountHeader(dbId, accountId) {
|
|
|
8509
8510
|
codeRoot: record.codeRoot,
|
|
8510
8511
|
accountSeed: seedToBase64(record.accountSeed),
|
|
8511
8512
|
locked: record.locked,
|
|
8513
|
+
watched: record.watched ?? false,
|
|
8512
8514
|
};
|
|
8513
8515
|
}
|
|
8514
8516
|
catch (error) {
|
|
@@ -8533,6 +8535,7 @@ async function getAccountHeaderByCommitment(dbId, accountCommitment) {
|
|
|
8533
8535
|
codeRoot: record.codeRoot,
|
|
8534
8536
|
accountSeed: seedToBase64(record.accountSeed),
|
|
8535
8537
|
locked: record.locked,
|
|
8538
|
+
watched: record.watched ?? false,
|
|
8536
8539
|
};
|
|
8537
8540
|
}
|
|
8538
8541
|
catch (error) {
|
|
@@ -8816,6 +8819,7 @@ async function applyTransactionDelta(dbId, accountId, nonce, updatedSlots, chang
|
|
|
8816
8819
|
accountSeed: oldHeader.accountSeed,
|
|
8817
8820
|
accountCommitment: oldHeader.accountCommitment,
|
|
8818
8821
|
locked: oldHeader.locked,
|
|
8822
|
+
watched: oldHeader.watched ?? false,
|
|
8819
8823
|
});
|
|
8820
8824
|
}
|
|
8821
8825
|
await db.latestAccountHeaders.put({
|
|
@@ -8828,6 +8832,7 @@ async function applyTransactionDelta(dbId, accountId, nonce, updatedSlots, chang
|
|
|
8828
8832
|
accountSeed: undefined,
|
|
8829
8833
|
accountCommitment: commitment,
|
|
8830
8834
|
locked: false,
|
|
8835
|
+
watched: oldHeader?.watched ?? false,
|
|
8831
8836
|
});
|
|
8832
8837
|
});
|
|
8833
8838
|
}
|
|
@@ -9052,6 +9057,7 @@ async function applyFullAccountState(dbId, accountState) {
|
|
|
9052
9057
|
accountSeed: oldHeader.accountSeed,
|
|
9053
9058
|
accountCommitment: oldHeader.accountCommitment,
|
|
9054
9059
|
locked: oldHeader.locked,
|
|
9060
|
+
watched: oldHeader.watched ?? false,
|
|
9055
9061
|
});
|
|
9056
9062
|
}
|
|
9057
9063
|
await db.latestAccountHeaders.put({
|
|
@@ -9064,6 +9070,7 @@ async function applyFullAccountState(dbId, accountState) {
|
|
|
9064
9070
|
accountSeed,
|
|
9065
9071
|
accountCommitment,
|
|
9066
9072
|
locked: false,
|
|
9073
|
+
watched: oldHeader?.watched ?? false,
|
|
9067
9074
|
});
|
|
9068
9075
|
});
|
|
9069
9076
|
}
|
|
@@ -9071,7 +9078,7 @@ async function applyFullAccountState(dbId, accountState) {
|
|
|
9071
9078
|
logWebStoreError(error, `Error applying full account state`);
|
|
9072
9079
|
}
|
|
9073
9080
|
}
|
|
9074
|
-
async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vaultRoot, nonce, committed, commitment, accountSeed) {
|
|
9081
|
+
async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vaultRoot, nonce, committed, commitment, accountSeed, watched) {
|
|
9075
9082
|
try {
|
|
9076
9083
|
const db = getDatabase(dbId);
|
|
9077
9084
|
const data = {
|
|
@@ -9084,6 +9091,7 @@ async function upsertAccountRecord(dbId, accountId, codeRoot, storageRoot, vault
|
|
|
9084
9091
|
accountSeed,
|
|
9085
9092
|
accountCommitment: commitment,
|
|
9086
9093
|
locked: false,
|
|
9094
|
+
watched,
|
|
9087
9095
|
};
|
|
9088
9096
|
await db.latestAccountHeaders.put(data);
|
|
9089
9097
|
}
|
|
@@ -9892,6 +9900,32 @@ async function getOutputNotesFromNullifiers(dbId, nullifiers) {
|
|
|
9892
9900
|
logWebStoreError(err, "Failed to get output notes from nullifiers");
|
|
9893
9901
|
}
|
|
9894
9902
|
}
|
|
9903
|
+
async function getInputNotesFromDetailsCommitments(dbId, detailsCommitments) {
|
|
9904
|
+
try {
|
|
9905
|
+
const db = getDatabase(dbId);
|
|
9906
|
+
let notes = await db.inputNotes
|
|
9907
|
+
.where("detailsCommitment")
|
|
9908
|
+
.anyOf(detailsCommitments)
|
|
9909
|
+
.toArray();
|
|
9910
|
+
return await processInputNotes(dbId, notes);
|
|
9911
|
+
}
|
|
9912
|
+
catch (err) {
|
|
9913
|
+
logWebStoreError(err, "Failed to get input notes from details commitments");
|
|
9914
|
+
}
|
|
9915
|
+
}
|
|
9916
|
+
async function getOutputNotesFromDetailsCommitments(dbId, detailsCommitments) {
|
|
9917
|
+
try {
|
|
9918
|
+
const db = getDatabase(dbId);
|
|
9919
|
+
let notes = await db.outputNotes
|
|
9920
|
+
.where("detailsCommitment")
|
|
9921
|
+
.anyOf(detailsCommitments)
|
|
9922
|
+
.toArray();
|
|
9923
|
+
return await processOutputNotes(notes);
|
|
9924
|
+
}
|
|
9925
|
+
catch (err) {
|
|
9926
|
+
logWebStoreError(err, "Failed to get output notes from details commitments");
|
|
9927
|
+
}
|
|
9928
|
+
}
|
|
9895
9929
|
async function getOutputNotesFromIds(dbId, noteIds) {
|
|
9896
9930
|
try {
|
|
9897
9931
|
const db = getDatabase(dbId);
|
|
@@ -9909,7 +9943,9 @@ async function getUnspentInputNoteNullifiers(dbId) {
|
|
|
9909
9943
|
.where("stateDiscriminant")
|
|
9910
9944
|
.anyOf([2, 4, 5])
|
|
9911
9945
|
.toArray();
|
|
9912
|
-
return notes
|
|
9946
|
+
return notes
|
|
9947
|
+
.map((note) => note.nullifier)
|
|
9948
|
+
.filter((nullifier) => nullifier != null);
|
|
9913
9949
|
}
|
|
9914
9950
|
catch (err) {
|
|
9915
9951
|
logWebStoreError(err, "Failed to get unspent input note nullifiers");
|
|
@@ -9933,19 +9969,15 @@ async function upsertInputNote(dbId, detailsCommitment, noteId, assets, attachme
|
|
|
9933
9969
|
const doWork = async (t) => {
|
|
9934
9970
|
try {
|
|
9935
9971
|
const data = {
|
|
9936
|
-
// The details commitment is the primary key. It is always present, even
|
|
9937
|
-
// for partial notes lacking a noteId, so a partial note that later gains
|
|
9938
|
-
// its noteId updates the same row instead of inserting a duplicate.
|
|
9939
9972
|
detailsCommitment,
|
|
9940
|
-
//
|
|
9941
|
-
// for partial notes that don't have one yet.
|
|
9973
|
+
// noteId/nullifier are only known once the note's metadata is available.
|
|
9942
9974
|
noteId: noteId ?? undefined,
|
|
9943
9975
|
assets,
|
|
9944
9976
|
attachments,
|
|
9945
9977
|
serialNumber,
|
|
9946
9978
|
inputs,
|
|
9947
9979
|
scriptRoot,
|
|
9948
|
-
nullifier,
|
|
9980
|
+
nullifier: nullifier ?? undefined,
|
|
9949
9981
|
state,
|
|
9950
9982
|
stateDiscriminant,
|
|
9951
9983
|
serializedCreatedAt,
|
|
@@ -10027,11 +10059,12 @@ async function getInputNoteByOffset(dbId, states, consumerAccountId, blockStart,
|
|
|
10027
10059
|
logWebStoreError(err, "Failed to get input note by offset");
|
|
10028
10060
|
}
|
|
10029
10061
|
}
|
|
10030
|
-
async function upsertOutputNote(dbId, noteId, assets, attachments, recipientDigest, metadata, nullifier, expectedHeight, stateDiscriminant, state, tx) {
|
|
10062
|
+
async function upsertOutputNote(dbId, detailsCommitment, noteId, assets, attachments, recipientDigest, metadata, nullifier, expectedHeight, stateDiscriminant, state, tx) {
|
|
10031
10063
|
const db = getDatabase(dbId);
|
|
10032
10064
|
const doWork = async (t) => {
|
|
10033
10065
|
try {
|
|
10034
10066
|
const data = {
|
|
10067
|
+
detailsCommitment,
|
|
10035
10068
|
noteId,
|
|
10036
10069
|
assets,
|
|
10037
10070
|
attachments,
|
|
@@ -10046,7 +10079,7 @@ async function upsertOutputNote(dbId, noteId, assets, attachments, recipientDige
|
|
|
10046
10079
|
/* v8 ignore next 3 — requires a mid-transaction Dexie write failure, not modelable with fake-indexeddb */
|
|
10047
10080
|
}
|
|
10048
10081
|
catch (error) {
|
|
10049
|
-
logWebStoreError(error, `Error inserting note: ${
|
|
10082
|
+
logWebStoreError(error, `Error inserting note: ${detailsCommitment}`);
|
|
10050
10083
|
}
|
|
10051
10084
|
};
|
|
10052
10085
|
return db.dexie.transaction("rw", db.outputNotes, db.notesScripts, doWork);
|
|
@@ -10055,7 +10088,6 @@ async function processInputNotes(dbId, notes) {
|
|
|
10055
10088
|
const db = getDatabase(dbId);
|
|
10056
10089
|
return await Promise.all(notes.map(async (note) => {
|
|
10057
10090
|
const assetsBase64 = uint8ArrayToBase64(note.assets);
|
|
10058
|
-
const attachmentsBase64 = uint8ArrayToBase64(note.attachments);
|
|
10059
10091
|
const serialNumberBase64 = uint8ArrayToBase64(note.serialNumber);
|
|
10060
10092
|
const inputsBase64 = uint8ArrayToBase64(note.inputs);
|
|
10061
10093
|
let serializedNoteScriptBase64 = undefined;
|
|
@@ -10066,30 +10098,31 @@ async function processInputNotes(dbId, notes) {
|
|
|
10066
10098
|
}
|
|
10067
10099
|
}
|
|
10068
10100
|
const stateBase64 = uint8ArrayToBase64(note.state);
|
|
10101
|
+
const attachmentsBase64 = uint8ArrayToBase64(note.attachments);
|
|
10069
10102
|
return {
|
|
10070
10103
|
assets: assetsBase64,
|
|
10071
|
-
attachments: attachmentsBase64,
|
|
10072
10104
|
serialNumber: serialNumberBase64,
|
|
10073
10105
|
inputs: inputsBase64,
|
|
10074
10106
|
createdAt: note.serializedCreatedAt,
|
|
10075
10107
|
serializedNoteScript: serializedNoteScriptBase64,
|
|
10076
10108
|
state: stateBase64,
|
|
10109
|
+
attachments: attachmentsBase64,
|
|
10077
10110
|
};
|
|
10078
10111
|
}));
|
|
10079
10112
|
}
|
|
10080
10113
|
async function processOutputNotes(notes) {
|
|
10081
10114
|
return await Promise.all(notes.map((note) => {
|
|
10082
10115
|
const assetsBase64 = uint8ArrayToBase64(note.assets);
|
|
10083
|
-
const attachmentsBase64 = uint8ArrayToBase64(note.attachments);
|
|
10084
10116
|
const metadataBase64 = uint8ArrayToBase64(note.metadata);
|
|
10085
10117
|
const stateBase64 = uint8ArrayToBase64(note.state);
|
|
10118
|
+
const attachmentsBase64 = uint8ArrayToBase64(note.attachments);
|
|
10086
10119
|
return {
|
|
10087
10120
|
assets: assetsBase64,
|
|
10088
|
-
attachments: attachmentsBase64,
|
|
10089
10121
|
recipientDigest: note.recipientDigest,
|
|
10090
10122
|
metadata: metadataBase64,
|
|
10091
10123
|
expectedHeight: note.expectedHeight,
|
|
10092
10124
|
state: stateBase64,
|
|
10125
|
+
attachments: attachmentsBase64,
|
|
10093
10126
|
};
|
|
10094
10127
|
}));
|
|
10095
10128
|
}
|
|
@@ -10167,6 +10200,30 @@ async function listSettingKeys(dbId) {
|
|
|
10167
10200
|
logWebStoreError(error, `Error listing setting keys`);
|
|
10168
10201
|
}
|
|
10169
10202
|
}
|
|
10203
|
+
async function applySettingsMutations(dbId, mutations) {
|
|
10204
|
+
try {
|
|
10205
|
+
const db = getDatabase(dbId);
|
|
10206
|
+
await db.dexie.transaction("rw", db.settings, async () => {
|
|
10207
|
+
for (const mutation of mutations) {
|
|
10208
|
+
if (mutation.kind === "set") {
|
|
10209
|
+
if (mutation.value === undefined) {
|
|
10210
|
+
throw new Error(`Setting mutation "set" for key ${mutation.key} is missing a value`);
|
|
10211
|
+
}
|
|
10212
|
+
await db.settings.put({ key: mutation.key, value: mutation.value });
|
|
10213
|
+
}
|
|
10214
|
+
else if (mutation.kind === "remove") {
|
|
10215
|
+
await db.settings.where("key").equals(mutation.key).delete();
|
|
10216
|
+
}
|
|
10217
|
+
else {
|
|
10218
|
+
throw new Error(`Unknown setting mutation kind: ${mutation.kind}`);
|
|
10219
|
+
}
|
|
10220
|
+
}
|
|
10221
|
+
});
|
|
10222
|
+
}
|
|
10223
|
+
catch (error) {
|
|
10224
|
+
logWebStoreError(error, "Error applying settings mutations");
|
|
10225
|
+
}
|
|
10226
|
+
}
|
|
10170
10227
|
|
|
10171
10228
|
const IDS_FILTER_PREFIX = "Ids:";
|
|
10172
10229
|
const EXPIRED_BEFORE_FILTER_PREFIX = "ExpiredPending:";
|
|
@@ -10294,6 +10351,10 @@ async function getNoteTags(dbId) {
|
|
|
10294
10351
|
record.sourceNoteId == "" ? undefined : record.sourceNoteId;
|
|
10295
10352
|
record.sourceAccountId =
|
|
10296
10353
|
record.sourceAccountId == "" ? undefined : record.sourceAccountId;
|
|
10354
|
+
record.sourceSubscriptionKey =
|
|
10355
|
+
record.sourceSubscriptionKey == ""
|
|
10356
|
+
? undefined
|
|
10357
|
+
: record.sourceSubscriptionKey;
|
|
10297
10358
|
return record;
|
|
10298
10359
|
});
|
|
10299
10360
|
return processedRecords;
|
|
@@ -10320,7 +10381,7 @@ async function getSyncHeight(dbId) {
|
|
|
10320
10381
|
logWebStoreError(error, "Error fetching sync height");
|
|
10321
10382
|
}
|
|
10322
10383
|
}
|
|
10323
|
-
async function addNoteTag(dbId, tag, sourceNoteId, sourceAccountId) {
|
|
10384
|
+
async function addNoteTag(dbId, tag, sourceNoteId, sourceAccountId, sourceSubscriptionKey) {
|
|
10324
10385
|
try {
|
|
10325
10386
|
const db = getDatabase(dbId);
|
|
10326
10387
|
let tagArray = new Uint8Array(tag);
|
|
@@ -10329,23 +10390,29 @@ async function addNoteTag(dbId, tag, sourceNoteId, sourceAccountId) {
|
|
|
10329
10390
|
tag: tagBase64,
|
|
10330
10391
|
sourceNoteId: sourceNoteId ? sourceNoteId : "",
|
|
10331
10392
|
sourceAccountId: sourceAccountId ? sourceAccountId : "",
|
|
10393
|
+
sourceSubscriptionKey: sourceSubscriptionKey ? sourceSubscriptionKey : "",
|
|
10332
10394
|
});
|
|
10333
10395
|
}
|
|
10334
10396
|
catch (error) {
|
|
10335
10397
|
logWebStoreError(error, "Failed to add note tag");
|
|
10336
10398
|
}
|
|
10337
10399
|
}
|
|
10338
|
-
async function removeNoteTag(dbId, tag, sourceNoteId, sourceAccountId) {
|
|
10400
|
+
async function removeNoteTag(dbId, tag, sourceNoteId, sourceAccountId, sourceSubscriptionKey) {
|
|
10339
10401
|
try {
|
|
10340
10402
|
const db = getDatabase(dbId);
|
|
10341
10403
|
let tagArray = new Uint8Array(tag);
|
|
10342
10404
|
let tagBase64 = uint8ArrayToBase64(tagArray);
|
|
10405
|
+
const subscriptionKey = sourceSubscriptionKey ? sourceSubscriptionKey : "";
|
|
10343
10406
|
return await db.tags
|
|
10344
10407
|
.where({
|
|
10345
10408
|
tag: tagBase64,
|
|
10346
10409
|
sourceNoteId: sourceNoteId ? sourceNoteId : "",
|
|
10347
10410
|
sourceAccountId: sourceAccountId ? sourceAccountId : "",
|
|
10348
10411
|
})
|
|
10412
|
+
// Filtered in JS rather than via the `where` clause: rows written
|
|
10413
|
+
// before the column existed lack the property entirely, and a
|
|
10414
|
+
// `where` equality on `""` would never match them.
|
|
10415
|
+
.and((record) => (record.sourceSubscriptionKey ?? "") == subscriptionKey)
|
|
10349
10416
|
.delete();
|
|
10350
10417
|
}
|
|
10351
10418
|
catch (error) {
|
|
@@ -10381,7 +10448,7 @@ async function applyStateSync(dbId, stateUpdate) {
|
|
|
10381
10448
|
return upsertInputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.serialNumber, note.inputs, note.noteScriptRoot, note.noteScript, note.nullifier, note.createdAt, note.stateDiscriminant, note.state, note.consumedBlockHeight, note.consumedTxOrder, note.consumerAccountId);
|
|
10382
10449
|
})),
|
|
10383
10450
|
Promise.all(serializedOutputNotes.map((note) => {
|
|
10384
|
-
return upsertOutputNote(dbId, note.noteId, note.noteAssets, note.attachments, note.recipientDigest, note.metadata, note.nullifier, note.expectedHeight, note.stateDiscriminant, note.state);
|
|
10451
|
+
return upsertOutputNote(dbId, note.detailsCommitment, note.noteId, note.noteAssets, note.attachments, note.recipientDigest, note.metadata, note.nullifier, note.expectedHeight, note.stateDiscriminant, note.state);
|
|
10385
10452
|
})),
|
|
10386
10453
|
Promise.all(transactionUpdates.map((transactionRecord) => {
|
|
10387
10454
|
let promises = [
|
|
@@ -10857,7 +10924,8 @@ class AccountBuilder {
|
|
|
10857
10924
|
wasm.__wbg_accountbuilder_free(ptr, 0);
|
|
10858
10925
|
}
|
|
10859
10926
|
/**
|
|
10860
|
-
* Sets the account type
|
|
10927
|
+
* Sets the account type, which in protocol 0.15 is the account visibility
|
|
10928
|
+
* (public or private). Equivalent to [`Self::storage_mode`].
|
|
10861
10929
|
* @param {AccountType} account_type
|
|
10862
10930
|
* @returns {AccountBuilder}
|
|
10863
10931
|
*/
|
|
@@ -12737,16 +12805,8 @@ class AssetVault {
|
|
|
12737
12805
|
/**
|
|
12738
12806
|
* Returns the balance for the given fungible faucet, or zero if absent.
|
|
12739
12807
|
*
|
|
12740
|
-
*
|
|
12741
|
-
*
|
|
12742
|
-
* reads don't run asset callbacks. Returns zero on lookup error (`Err` arms here would
|
|
12743
|
-
* indicate the key was constructed wrong, which can't happen for fungible keys built
|
|
12744
|
-
* this way).
|
|
12745
|
-
*
|
|
12746
|
-
* NOTE: the `AssetVaultKey` encodes the callback flag, so this reports only the balance
|
|
12747
|
-
* of callback-*disabled* fungible assets. Faucets built by this SDK omit transfer policies
|
|
12748
|
-
* and therefore mint callback-disabled assets, so this is exact for them; an asset minted
|
|
12749
|
-
* elsewhere with callbacks enabled would not be counted here.
|
|
12808
|
+
* Matches by faucet id across the vault's fungible assets, so the balance is
|
|
12809
|
+
* found regardless of the asset's callback flag.
|
|
12750
12810
|
* @param {AccountId} faucet_id
|
|
12751
12811
|
* @returns {bigint}
|
|
12752
12812
|
*/
|
|
@@ -14337,9 +14397,8 @@ class FungibleAssetDelta {
|
|
|
14337
14397
|
/**
|
|
14338
14398
|
* Returns the delta amount for a given faucet, if present.
|
|
14339
14399
|
*
|
|
14340
|
-
*
|
|
14341
|
-
*
|
|
14342
|
-
* asset callbacks. `new_fungible` on the 0.15 surface is infallible.
|
|
14400
|
+
* Matches by faucet id so the delta is found regardless of the asset's
|
|
14401
|
+
* callback flag.
|
|
14343
14402
|
* @param {AccountId} faucet_id
|
|
14344
14403
|
* @returns {bigint | undefined}
|
|
14345
14404
|
*/
|
|
@@ -15233,6 +15292,104 @@ class JsAccountUpdate {
|
|
|
15233
15292
|
}
|
|
15234
15293
|
if (Symbol.dispose) JsAccountUpdate.prototype[Symbol.dispose] = JsAccountUpdate.prototype.free;
|
|
15235
15294
|
|
|
15295
|
+
/**
|
|
15296
|
+
* JS-facing form of a [`miden_client::store::SettingMutation`], applied as a
|
|
15297
|
+
* single atomic batch by the `applySettingsMutations` function in
|
|
15298
|
+
* `settings.js`.
|
|
15299
|
+
*/
|
|
15300
|
+
class JsSettingMutation {
|
|
15301
|
+
static __wrap(ptr) {
|
|
15302
|
+
ptr = ptr >>> 0;
|
|
15303
|
+
const obj = Object.create(JsSettingMutation.prototype);
|
|
15304
|
+
obj.__wbg_ptr = ptr;
|
|
15305
|
+
JsSettingMutationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
15306
|
+
return obj;
|
|
15307
|
+
}
|
|
15308
|
+
__destroy_into_raw() {
|
|
15309
|
+
const ptr = this.__wbg_ptr;
|
|
15310
|
+
this.__wbg_ptr = 0;
|
|
15311
|
+
JsSettingMutationFinalization.unregister(this);
|
|
15312
|
+
return ptr;
|
|
15313
|
+
}
|
|
15314
|
+
free() {
|
|
15315
|
+
const ptr = this.__destroy_into_raw();
|
|
15316
|
+
wasm.__wbg_jssettingmutation_free(ptr, 0);
|
|
15317
|
+
}
|
|
15318
|
+
/**
|
|
15319
|
+
* The `settings` key the mutation targets.
|
|
15320
|
+
* @returns {string}
|
|
15321
|
+
*/
|
|
15322
|
+
get key() {
|
|
15323
|
+
let deferred1_0;
|
|
15324
|
+
let deferred1_1;
|
|
15325
|
+
try {
|
|
15326
|
+
const ret = wasm.__wbg_get_jssettingmutation_key(this.__wbg_ptr);
|
|
15327
|
+
deferred1_0 = ret[0];
|
|
15328
|
+
deferred1_1 = ret[1];
|
|
15329
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
15330
|
+
} finally {
|
|
15331
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
15332
|
+
}
|
|
15333
|
+
}
|
|
15334
|
+
/**
|
|
15335
|
+
* Either `"set"` or `"remove"`.
|
|
15336
|
+
* @returns {string}
|
|
15337
|
+
*/
|
|
15338
|
+
get kind() {
|
|
15339
|
+
let deferred1_0;
|
|
15340
|
+
let deferred1_1;
|
|
15341
|
+
try {
|
|
15342
|
+
const ret = wasm.__wbg_get_jssettingmutation_kind(this.__wbg_ptr);
|
|
15343
|
+
deferred1_0 = ret[0];
|
|
15344
|
+
deferred1_1 = ret[1];
|
|
15345
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
15346
|
+
} finally {
|
|
15347
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
/**
|
|
15351
|
+
* The value to write. `Some` for `"set"`, `None` for `"remove"`.
|
|
15352
|
+
* @returns {Uint8Array | undefined}
|
|
15353
|
+
*/
|
|
15354
|
+
get value() {
|
|
15355
|
+
const ret = wasm.__wbg_get_jssettingmutation_value(this.__wbg_ptr);
|
|
15356
|
+
let v1;
|
|
15357
|
+
if (ret[0] !== 0) {
|
|
15358
|
+
v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
15359
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
15360
|
+
}
|
|
15361
|
+
return v1;
|
|
15362
|
+
}
|
|
15363
|
+
/**
|
|
15364
|
+
* The `settings` key the mutation targets.
|
|
15365
|
+
* @param {string} arg0
|
|
15366
|
+
*/
|
|
15367
|
+
set key(arg0) {
|
|
15368
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
15369
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15370
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
15371
|
+
}
|
|
15372
|
+
/**
|
|
15373
|
+
* Either `"set"` or `"remove"`.
|
|
15374
|
+
* @param {string} arg0
|
|
15375
|
+
*/
|
|
15376
|
+
set kind(arg0) {
|
|
15377
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
15378
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15379
|
+
wasm.__wbg_set_jsaccountupdate_storageRoot(this.__wbg_ptr, ptr0, len0);
|
|
15380
|
+
}
|
|
15381
|
+
/**
|
|
15382
|
+
* The value to write. `Some` for `"set"`, `None` for `"remove"`.
|
|
15383
|
+
* @param {Uint8Array | null} [arg0]
|
|
15384
|
+
*/
|
|
15385
|
+
set value(arg0) {
|
|
15386
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
15387
|
+
var len0 = WASM_VECTOR_LEN;
|
|
15388
|
+
wasm.__wbg_set_jssettingmutation_value(this.__wbg_ptr, ptr0, len0);
|
|
15389
|
+
}
|
|
15390
|
+
}
|
|
15391
|
+
if (Symbol.dispose) JsSettingMutation.prototype[Symbol.dispose] = JsSettingMutation.prototype.free;
|
|
15392
|
+
|
|
15236
15393
|
/**
|
|
15237
15394
|
* An object that contains data for a sync update,
|
|
15238
15395
|
* which will be received by the applyStateSync JS function.
|
|
@@ -15580,7 +15737,7 @@ class JsStorageMapEntry {
|
|
|
15580
15737
|
set key(arg0) {
|
|
15581
15738
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
15582
15739
|
const len0 = WASM_VECTOR_LEN;
|
|
15583
|
-
wasm.
|
|
15740
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
15584
15741
|
}
|
|
15585
15742
|
/**
|
|
15586
15743
|
* The slot name of the map this entry belongs to.
|
|
@@ -15696,7 +15853,7 @@ class JsStorageSlot {
|
|
|
15696
15853
|
set slotValue(arg0) {
|
|
15697
15854
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
15698
15855
|
const len0 = WASM_VECTOR_LEN;
|
|
15699
|
-
wasm.
|
|
15856
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
15700
15857
|
}
|
|
15701
15858
|
}
|
|
15702
15859
|
if (Symbol.dispose) JsStorageSlot.prototype[Symbol.dispose] = JsStorageSlot.prototype.free;
|
|
@@ -15770,7 +15927,7 @@ class JsVaultAsset {
|
|
|
15770
15927
|
set asset(arg0) {
|
|
15771
15928
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
15772
15929
|
const len0 = WASM_VECTOR_LEN;
|
|
15773
|
-
wasm.
|
|
15930
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
15774
15931
|
}
|
|
15775
15932
|
/**
|
|
15776
15933
|
* The vault key associated with the asset.
|
|
@@ -18178,13 +18335,13 @@ if (Symbol.dispose) NoteTag.prototype[Symbol.dispose] = NoteTag.prototype.free;
|
|
|
18178
18335
|
|
|
18179
18336
|
/**
|
|
18180
18337
|
* Visibility level for note contents when published to the network.
|
|
18181
|
-
* @enum {
|
|
18338
|
+
* @enum {0 | 1}
|
|
18182
18339
|
*/
|
|
18183
18340
|
const NoteType = Object.freeze({
|
|
18184
18341
|
/**
|
|
18185
18342
|
* Notes with this type have only their hash published to the network.
|
|
18186
18343
|
*/
|
|
18187
|
-
Private:
|
|
18344
|
+
Private: 0, "0": "Private",
|
|
18188
18345
|
/**
|
|
18189
18346
|
* Notes with this type are fully shared with the network.
|
|
18190
18347
|
*/
|
|
@@ -19133,7 +19290,9 @@ class RpcClient {
|
|
|
19133
19290
|
* the full storage map data with pagination support.
|
|
19134
19291
|
*
|
|
19135
19292
|
* @param `block_from` - The starting block number.
|
|
19136
|
-
* @param `block_to` - Optional ending block number. When `undefined`,
|
|
19293
|
+
* @param `block_to` - Optional ending block number. When `undefined`, the current chain tip
|
|
19294
|
+
* is fetched with an extra RPC call and used as the bound (the node rejects values greater
|
|
19295
|
+
* than the tip).
|
|
19137
19296
|
* @param `account_id` - The account to sync storage maps for.
|
|
19138
19297
|
* @param {number} block_from
|
|
19139
19298
|
* @param {number | null | undefined} block_to
|
|
@@ -19320,19 +19479,16 @@ class SerializedInputNoteData {
|
|
|
19320
19479
|
return v1;
|
|
19321
19480
|
}
|
|
19322
19481
|
/**
|
|
19323
|
-
* @returns {string}
|
|
19482
|
+
* @returns {string | undefined}
|
|
19324
19483
|
*/
|
|
19325
19484
|
get nullifier() {
|
|
19326
|
-
|
|
19327
|
-
let
|
|
19328
|
-
|
|
19329
|
-
|
|
19330
|
-
|
|
19331
|
-
deferred1_1 = ret[1];
|
|
19332
|
-
return getStringFromWasm0(ret[0], ret[1]);
|
|
19333
|
-
} finally {
|
|
19334
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
19485
|
+
const ret = wasm.__wbg_get_serializedinputnotedata_nullifier(this.__wbg_ptr);
|
|
19486
|
+
let v1;
|
|
19487
|
+
if (ret[0] !== 0) {
|
|
19488
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
19489
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
19335
19490
|
}
|
|
19491
|
+
return v1;
|
|
19336
19492
|
}
|
|
19337
19493
|
/**
|
|
19338
19494
|
* @returns {Uint8Array}
|
|
@@ -19444,11 +19600,11 @@ class SerializedInputNoteData {
|
|
|
19444
19600
|
wasm.__wbg_set_serializedinputnotedata_noteScript(this.__wbg_ptr, ptr0, len0);
|
|
19445
19601
|
}
|
|
19446
19602
|
/**
|
|
19447
|
-
* @param {string} arg0
|
|
19603
|
+
* @param {string | null} [arg0]
|
|
19448
19604
|
*/
|
|
19449
19605
|
set nullifier(arg0) {
|
|
19450
|
-
|
|
19451
|
-
|
|
19606
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
19607
|
+
var len0 = WASM_VECTOR_LEN;
|
|
19452
19608
|
wasm.__wbg_set_serializedinputnotedata_nullifier(this.__wbg_ptr, ptr0, len0);
|
|
19453
19609
|
}
|
|
19454
19610
|
/**
|
|
@@ -19509,6 +19665,21 @@ class SerializedOutputNoteData {
|
|
|
19509
19665
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
19510
19666
|
return v1;
|
|
19511
19667
|
}
|
|
19668
|
+
/**
|
|
19669
|
+
* @returns {string}
|
|
19670
|
+
*/
|
|
19671
|
+
get detailsCommitment() {
|
|
19672
|
+
let deferred1_0;
|
|
19673
|
+
let deferred1_1;
|
|
19674
|
+
try {
|
|
19675
|
+
const ret = wasm.__wbg_get_serializedoutputnotedata_detailsCommitment(this.__wbg_ptr);
|
|
19676
|
+
deferred1_0 = ret[0];
|
|
19677
|
+
deferred1_1 = ret[1];
|
|
19678
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
19679
|
+
} finally {
|
|
19680
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
19681
|
+
}
|
|
19682
|
+
}
|
|
19512
19683
|
/**
|
|
19513
19684
|
* @returns {number}
|
|
19514
19685
|
*/
|
|
@@ -19598,7 +19769,15 @@ class SerializedOutputNoteData {
|
|
|
19598
19769
|
set attachments(arg0) {
|
|
19599
19770
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
19600
19771
|
const len0 = WASM_VECTOR_LEN;
|
|
19601
|
-
wasm.
|
|
19772
|
+
wasm.__wbg_set_jsstatesyncupdate_partialBlockchainPeaks(this.__wbg_ptr, ptr0, len0);
|
|
19773
|
+
}
|
|
19774
|
+
/**
|
|
19775
|
+
* @param {string} arg0
|
|
19776
|
+
*/
|
|
19777
|
+
set detailsCommitment(arg0) {
|
|
19778
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
19779
|
+
const len0 = WASM_VECTOR_LEN;
|
|
19780
|
+
wasm.__wbg_set_jsaccountupdate_storageRoot(this.__wbg_ptr, ptr0, len0);
|
|
19602
19781
|
}
|
|
19603
19782
|
/**
|
|
19604
19783
|
* @param {number} arg0
|
|
@@ -19612,7 +19791,7 @@ class SerializedOutputNoteData {
|
|
|
19612
19791
|
set metadata(arg0) {
|
|
19613
19792
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
19614
19793
|
const len0 = WASM_VECTOR_LEN;
|
|
19615
|
-
wasm.
|
|
19794
|
+
wasm.__wbg_set_serializedoutputnotedata_metadata(this.__wbg_ptr, ptr0, len0);
|
|
19616
19795
|
}
|
|
19617
19796
|
/**
|
|
19618
19797
|
* @param {Uint8Array} arg0
|
|
@@ -19628,7 +19807,7 @@ class SerializedOutputNoteData {
|
|
|
19628
19807
|
set noteId(arg0) {
|
|
19629
19808
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
19630
19809
|
const len0 = WASM_VECTOR_LEN;
|
|
19631
|
-
wasm.
|
|
19810
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
19632
19811
|
}
|
|
19633
19812
|
/**
|
|
19634
19813
|
* @param {string | null} [arg0]
|
|
@@ -19644,7 +19823,7 @@ class SerializedOutputNoteData {
|
|
|
19644
19823
|
set recipientDigest(arg0) {
|
|
19645
19824
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
19646
19825
|
const len0 = WASM_VECTOR_LEN;
|
|
19647
|
-
wasm.
|
|
19826
|
+
wasm.__wbg_set_serializedoutputnotedata_recipientDigest(this.__wbg_ptr, ptr0, len0);
|
|
19648
19827
|
}
|
|
19649
19828
|
/**
|
|
19650
19829
|
* @param {number} arg0
|
|
@@ -19770,7 +19949,7 @@ class SerializedTransactionData {
|
|
|
19770
19949
|
set details(arg0) {
|
|
19771
19950
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
19772
19951
|
const len0 = WASM_VECTOR_LEN;
|
|
19773
|
-
wasm.
|
|
19952
|
+
wasm.__wbg_set_serializedtransactiondata_details(this.__wbg_ptr, ptr0, len0);
|
|
19774
19953
|
}
|
|
19775
19954
|
/**
|
|
19776
19955
|
* @param {string} arg0
|
|
@@ -19800,7 +19979,7 @@ class SerializedTransactionData {
|
|
|
19800
19979
|
set status(arg0) {
|
|
19801
19980
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
19802
19981
|
const len0 = WASM_VECTOR_LEN;
|
|
19803
|
-
wasm.
|
|
19982
|
+
wasm.__wbg_set_serializedoutputnotedata_noteAssets(this.__wbg_ptr, ptr0, len0);
|
|
19804
19983
|
}
|
|
19805
19984
|
/**
|
|
19806
19985
|
* @param {Uint8Array | null} [arg0]
|
|
@@ -20270,7 +20449,7 @@ class StorageMapEntry {
|
|
|
20270
20449
|
set key(arg0) {
|
|
20271
20450
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
20272
20451
|
const len0 = WASM_VECTOR_LEN;
|
|
20273
|
-
wasm.
|
|
20452
|
+
wasm.__wbg_set_jssettingmutation_key(this.__wbg_ptr, ptr0, len0);
|
|
20274
20453
|
}
|
|
20275
20454
|
/**
|
|
20276
20455
|
* @param {string} arg0
|
|
@@ -22507,14 +22686,13 @@ class WebClient {
|
|
|
22507
22686
|
}
|
|
22508
22687
|
/**
|
|
22509
22688
|
* @param {Uint8Array} init_seed
|
|
22510
|
-
* @param {boolean} mutable
|
|
22511
22689
|
* @param {AuthScheme} auth_scheme
|
|
22512
22690
|
* @returns {Promise<Account>}
|
|
22513
22691
|
*/
|
|
22514
|
-
importPublicAccountFromSeed(init_seed,
|
|
22692
|
+
importPublicAccountFromSeed(init_seed, auth_scheme) {
|
|
22515
22693
|
const ptr0 = passArray8ToWasm0(init_seed, wasm.__wbindgen_malloc);
|
|
22516
22694
|
const len0 = WASM_VECTOR_LEN;
|
|
22517
|
-
const ret = wasm.webclient_importPublicAccountFromSeed(this.__wbg_ptr, ptr0, len0,
|
|
22695
|
+
const ret = wasm.webclient_importPublicAccountFromSeed(this.__wbg_ptr, ptr0, len0, auth_scheme);
|
|
22518
22696
|
return ret;
|
|
22519
22697
|
}
|
|
22520
22698
|
/**
|
|
@@ -22749,16 +22927,15 @@ class WebClient {
|
|
|
22749
22927
|
}
|
|
22750
22928
|
/**
|
|
22751
22929
|
* @param {AccountStorageMode} storage_mode
|
|
22752
|
-
* @param {boolean} mutable
|
|
22753
22930
|
* @param {AuthScheme} auth_scheme
|
|
22754
22931
|
* @param {Uint8Array | null} [init_seed]
|
|
22755
22932
|
* @returns {Promise<Account>}
|
|
22756
22933
|
*/
|
|
22757
|
-
newWallet(storage_mode,
|
|
22934
|
+
newWallet(storage_mode, auth_scheme, init_seed) {
|
|
22758
22935
|
_assertClass(storage_mode, AccountStorageMode);
|
|
22759
22936
|
var ptr0 = isLikeNone(init_seed) ? 0 : passArray8ToWasm0(init_seed, wasm.__wbindgen_malloc);
|
|
22760
22937
|
var len0 = WASM_VECTOR_LEN;
|
|
22761
|
-
const ret = wasm.webclient_newWallet(this.__wbg_ptr, storage_mode.__wbg_ptr,
|
|
22938
|
+
const ret = wasm.webclient_newWallet(this.__wbg_ptr, storage_mode.__wbg_ptr, auth_scheme, ptr0, len0);
|
|
22762
22939
|
return ret;
|
|
22763
22940
|
}
|
|
22764
22941
|
/**
|
|
@@ -23529,7 +23706,7 @@ function __wbg_get_imports(memory) {
|
|
|
23529
23706
|
const ret = AccountStorage.__wrap(arg0);
|
|
23530
23707
|
return ret;
|
|
23531
23708
|
},
|
|
23532
|
-
|
|
23709
|
+
__wbg_addNoteTag_f0737cd654a0af83: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
23533
23710
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
23534
23711
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
23535
23712
|
let v1;
|
|
@@ -23542,7 +23719,12 @@ function __wbg_get_imports(memory) {
|
|
|
23542
23719
|
v2 = getStringFromWasm0(arg6, arg7).slice();
|
|
23543
23720
|
wasm.__wbindgen_free(arg6, arg7 * 1, 1);
|
|
23544
23721
|
}
|
|
23545
|
-
|
|
23722
|
+
let v3;
|
|
23723
|
+
if (arg8 !== 0) {
|
|
23724
|
+
v3 = getStringFromWasm0(arg8, arg9).slice();
|
|
23725
|
+
wasm.__wbindgen_free(arg8, arg9 * 1, 1);
|
|
23726
|
+
}
|
|
23727
|
+
const ret = addNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
23546
23728
|
return ret;
|
|
23547
23729
|
},
|
|
23548
23730
|
__wbg_address_new: function(arg0) {
|
|
@@ -23556,6 +23738,12 @@ function __wbg_get_imports(memory) {
|
|
|
23556
23738
|
const ret = applyFullAccountState(getStringFromWasm0(arg0, arg1), JsAccountUpdate.__wrap(arg2));
|
|
23557
23739
|
return ret;
|
|
23558
23740
|
},
|
|
23741
|
+
__wbg_applySettingsMutations_633bdfc5efcbeab4: function(arg0, arg1, arg2, arg3) {
|
|
23742
|
+
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23743
|
+
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
23744
|
+
const ret = applySettingsMutations(getStringFromWasm0(arg0, arg1), v0);
|
|
23745
|
+
return ret;
|
|
23746
|
+
},
|
|
23559
23747
|
__wbg_applyStateSync_4577b4125b70be6e: function(arg0, arg1, arg2) {
|
|
23560
23748
|
const ret = applyStateSync(getStringFromWasm0(arg0, arg1), JsStateSyncUpdate.__wrap(arg2));
|
|
23561
23749
|
return ret;
|
|
@@ -23913,6 +24101,12 @@ function __wbg_get_imports(memory) {
|
|
|
23913
24101
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
23914
24102
|
}
|
|
23915
24103
|
},
|
|
24104
|
+
__wbg_getInputNotesFromDetailsCommitments_c7c58c64df846c95: function(arg0, arg1, arg2, arg3) {
|
|
24105
|
+
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24106
|
+
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24107
|
+
const ret = getInputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24108
|
+
return ret;
|
|
24109
|
+
},
|
|
23916
24110
|
__wbg_getInputNotesFromIds_c19092f0da179fdf: function(arg0, arg1, arg2, arg3) {
|
|
23917
24111
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23918
24112
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
@@ -23959,6 +24153,12 @@ function __wbg_get_imports(memory) {
|
|
|
23959
24153
|
const ret = getNoteTags(getStringFromWasm0(arg0, arg1));
|
|
23960
24154
|
return ret;
|
|
23961
24155
|
},
|
|
24156
|
+
__wbg_getOutputNotesFromDetailsCommitments_2b6cb89aa5ad7bd7: function(arg0, arg1, arg2, arg3) {
|
|
24157
|
+
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
24158
|
+
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
24159
|
+
const ret = getOutputNotesFromDetailsCommitments(getStringFromWasm0(arg0, arg1), v0);
|
|
24160
|
+
return ret;
|
|
24161
|
+
},
|
|
23962
24162
|
__wbg_getOutputNotesFromIds_1cfcb787c56927d6: function(arg0, arg1, arg2, arg3) {
|
|
23963
24163
|
var v0 = getArrayJsValueFromWasm0(arg2, arg3).slice();
|
|
23964
24164
|
wasm.__wbindgen_free(arg2, arg3 * 4, 4);
|
|
@@ -24237,6 +24437,10 @@ function __wbg_get_imports(memory) {
|
|
|
24237
24437
|
const ret = JsAccountUpdate.__unwrap(arg0);
|
|
24238
24438
|
return ret;
|
|
24239
24439
|
},
|
|
24440
|
+
__wbg_jssettingmutation_new: function(arg0) {
|
|
24441
|
+
const ret = JsSettingMutation.__wrap(arg0);
|
|
24442
|
+
return ret;
|
|
24443
|
+
},
|
|
24240
24444
|
__wbg_jsstoragemapentry_new: function(arg0) {
|
|
24241
24445
|
const ret = JsStorageMapEntry.__wrap(arg0);
|
|
24242
24446
|
return ret;
|
|
@@ -24591,7 +24795,7 @@ function __wbg_get_imports(memory) {
|
|
|
24591
24795
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24592
24796
|
}
|
|
24593
24797
|
},
|
|
24594
|
-
|
|
24798
|
+
__wbg_removeNoteTag_d9a0f5ba38c25246: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
24595
24799
|
var v0 = getArrayU8FromWasm0(arg2, arg3).slice();
|
|
24596
24800
|
wasm.__wbindgen_free(arg2, arg3 * 1, 1);
|
|
24597
24801
|
let v1;
|
|
@@ -24604,7 +24808,12 @@ function __wbg_get_imports(memory) {
|
|
|
24604
24808
|
v2 = getStringFromWasm0(arg6, arg7).slice();
|
|
24605
24809
|
wasm.__wbindgen_free(arg6, arg7 * 1, 1);
|
|
24606
24810
|
}
|
|
24607
|
-
|
|
24811
|
+
let v3;
|
|
24812
|
+
if (arg8 !== 0) {
|
|
24813
|
+
v3 = getStringFromWasm0(arg8, arg9).slice();
|
|
24814
|
+
wasm.__wbindgen_free(arg8, arg9 * 1, 1);
|
|
24815
|
+
}
|
|
24816
|
+
const ret = removeNoteTag(getStringFromWasm0(arg0, arg1), v0, v1, v2, v3);
|
|
24608
24817
|
return ret;
|
|
24609
24818
|
},
|
|
24610
24819
|
__wbg_removeSetting_39da4a2d256af0e2: function(arg0, arg1, arg2, arg3) {
|
|
@@ -24834,7 +25043,7 @@ function __wbg_get_imports(memory) {
|
|
|
24834
25043
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24835
25044
|
}
|
|
24836
25045
|
},
|
|
24837
|
-
|
|
25046
|
+
__wbg_upsertAccountRecord_96a74a90d1ab5ddf: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17) {
|
|
24838
25047
|
let deferred0_0;
|
|
24839
25048
|
let deferred0_1;
|
|
24840
25049
|
let deferred1_0;
|
|
@@ -24865,7 +25074,7 @@ function __wbg_get_imports(memory) {
|
|
|
24865
25074
|
v6 = getArrayU8FromWasm0(arg15, arg16).slice();
|
|
24866
25075
|
wasm.__wbindgen_free(arg15, arg16 * 1, 1);
|
|
24867
25076
|
}
|
|
24868
|
-
const ret = upsertAccountRecord(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9), getStringFromWasm0(arg10, arg11), arg12 !== 0, getStringFromWasm0(arg13, arg14), v6);
|
|
25077
|
+
const ret = upsertAccountRecord(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9), getStringFromWasm0(arg10, arg11), arg12 !== 0, getStringFromWasm0(arg13, arg14), v6, arg17 !== 0);
|
|
24869
25078
|
return ret;
|
|
24870
25079
|
} finally {
|
|
24871
25080
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
@@ -24909,13 +25118,11 @@ function __wbg_get_imports(memory) {
|
|
|
24909
25118
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
24910
25119
|
}
|
|
24911
25120
|
},
|
|
24912
|
-
|
|
25121
|
+
__wbg_upsertInputNote_41d8246e4ca8cd5d: 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) {
|
|
24913
25122
|
let deferred0_0;
|
|
24914
25123
|
let deferred0_1;
|
|
24915
25124
|
let deferred6_0;
|
|
24916
25125
|
let deferred6_1;
|
|
24917
|
-
let deferred8_0;
|
|
24918
|
-
let deferred8_1;
|
|
24919
25126
|
let deferred9_0;
|
|
24920
25127
|
let deferred9_1;
|
|
24921
25128
|
try {
|
|
@@ -24938,8 +25145,11 @@ function __wbg_get_imports(memory) {
|
|
|
24938
25145
|
deferred6_1 = arg15;
|
|
24939
25146
|
var v7 = getArrayU8FromWasm0(arg16, arg17).slice();
|
|
24940
25147
|
wasm.__wbindgen_free(arg16, arg17 * 1, 1);
|
|
24941
|
-
|
|
24942
|
-
|
|
25148
|
+
let v8;
|
|
25149
|
+
if (arg18 !== 0) {
|
|
25150
|
+
v8 = getStringFromWasm0(arg18, arg19).slice();
|
|
25151
|
+
wasm.__wbindgen_free(arg18, arg19 * 1, 1);
|
|
25152
|
+
}
|
|
24943
25153
|
deferred9_0 = arg20;
|
|
24944
25154
|
deferred9_1 = arg21;
|
|
24945
25155
|
var v10 = getArrayU8FromWasm0(arg23, arg24).slice();
|
|
@@ -24949,12 +25159,11 @@ function __wbg_get_imports(memory) {
|
|
|
24949
25159
|
v11 = getStringFromWasm0(arg27, arg28).slice();
|
|
24950
25160
|
wasm.__wbindgen_free(arg27, arg28 * 1, 1);
|
|
24951
25161
|
}
|
|
24952
|
-
const ret = upsertInputNote(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), v1, v2, v3, v4, v5, getStringFromWasm0(arg14, arg15), v7,
|
|
25162
|
+
const ret = upsertInputNote(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), v1, v2, v3, v4, v5, getStringFromWasm0(arg14, arg15), v7, v8, getStringFromWasm0(arg20, arg21), arg22, v10, arg25 === 0x100000001 ? undefined : arg25, arg26 === 0x100000001 ? undefined : arg26, v11);
|
|
24953
25163
|
return ret;
|
|
24954
25164
|
} finally {
|
|
24955
25165
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24956
25166
|
wasm.__wbindgen_free(deferred6_0, deferred6_1, 1);
|
|
24957
|
-
wasm.__wbindgen_free(deferred8_0, deferred8_1, 1);
|
|
24958
25167
|
wasm.__wbindgen_free(deferred9_0, deferred9_1, 1);
|
|
24959
25168
|
}
|
|
24960
25169
|
},
|
|
@@ -24972,34 +25181,39 @@ function __wbg_get_imports(memory) {
|
|
|
24972
25181
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
24973
25182
|
}
|
|
24974
25183
|
},
|
|
24975
|
-
|
|
25184
|
+
__wbg_upsertOutputNote_4d029c88a0e7d960: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) {
|
|
24976
25185
|
let deferred0_0;
|
|
24977
25186
|
let deferred0_1;
|
|
24978
|
-
let
|
|
24979
|
-
let
|
|
25187
|
+
let deferred1_0;
|
|
25188
|
+
let deferred1_1;
|
|
25189
|
+
let deferred4_0;
|
|
25190
|
+
let deferred4_1;
|
|
24980
25191
|
try {
|
|
24981
25192
|
deferred0_0 = arg2;
|
|
24982
25193
|
deferred0_1 = arg3;
|
|
24983
|
-
|
|
24984
|
-
|
|
25194
|
+
deferred1_0 = arg4;
|
|
25195
|
+
deferred1_1 = arg5;
|
|
24985
25196
|
var v2 = getArrayU8FromWasm0(arg6, arg7).slice();
|
|
24986
25197
|
wasm.__wbindgen_free(arg6, arg7 * 1, 1);
|
|
24987
|
-
|
|
24988
|
-
|
|
24989
|
-
|
|
24990
|
-
|
|
24991
|
-
|
|
24992
|
-
|
|
24993
|
-
|
|
24994
|
-
|
|
25198
|
+
var v3 = getArrayU8FromWasm0(arg8, arg9).slice();
|
|
25199
|
+
wasm.__wbindgen_free(arg8, arg9 * 1, 1);
|
|
25200
|
+
deferred4_0 = arg10;
|
|
25201
|
+
deferred4_1 = arg11;
|
|
25202
|
+
var v5 = getArrayU8FromWasm0(arg12, arg13).slice();
|
|
25203
|
+
wasm.__wbindgen_free(arg12, arg13 * 1, 1);
|
|
25204
|
+
let v6;
|
|
25205
|
+
if (arg14 !== 0) {
|
|
25206
|
+
v6 = getStringFromWasm0(arg14, arg15).slice();
|
|
25207
|
+
wasm.__wbindgen_free(arg14, arg15 * 1, 1);
|
|
24995
25208
|
}
|
|
24996
|
-
var
|
|
24997
|
-
wasm.__wbindgen_free(
|
|
24998
|
-
const ret = upsertOutputNote(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3),
|
|
25209
|
+
var v7 = getArrayU8FromWasm0(arg18, arg19).slice();
|
|
25210
|
+
wasm.__wbindgen_free(arg18, arg19 * 1, 1);
|
|
25211
|
+
const ret = upsertOutputNote(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), v2, v3, getStringFromWasm0(arg10, arg11), v5, v6, arg16 >>> 0, arg17, v7);
|
|
24999
25212
|
return ret;
|
|
25000
25213
|
} finally {
|
|
25001
25214
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
25002
|
-
wasm.__wbindgen_free(
|
|
25215
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
25216
|
+
wasm.__wbindgen_free(deferred4_0, deferred4_1, 1);
|
|
25003
25217
|
}
|
|
25004
25218
|
},
|
|
25005
25219
|
__wbg_upsertStorageMapEntries_068d8303824fff58: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
@@ -25395,6 +25609,9 @@ const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undef
|
|
|
25395
25609
|
const JsAccountUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25396
25610
|
? { register: () => {}, unregister: () => {} }
|
|
25397
25611
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsaccountupdate_free(ptr >>> 0, 1));
|
|
25612
|
+
const JsSettingMutationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25613
|
+
? { register: () => {}, unregister: () => {} }
|
|
25614
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_jssettingmutation_free(ptr >>> 0, 1));
|
|
25398
25615
|
const JsStateSyncUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
25399
25616
|
? { register: () => {}, unregister: () => {} }
|
|
25400
25617
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsstatesyncupdate_free(ptr >>> 0, 1));
|
|
@@ -26091,6 +26308,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26091
26308
|
IntoUnderlyingSink: IntoUnderlyingSink,
|
|
26092
26309
|
IntoUnderlyingSource: IntoUnderlyingSource,
|
|
26093
26310
|
JsAccountUpdate: JsAccountUpdate,
|
|
26311
|
+
JsSettingMutation: JsSettingMutation,
|
|
26094
26312
|
JsStateSyncUpdate: JsStateSyncUpdate,
|
|
26095
26313
|
JsStorageMapEntry: JsStorageMapEntry,
|
|
26096
26314
|
JsStorageSlot: JsStorageSlot,
|
|
@@ -26199,5 +26417,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26199
26417
|
|
|
26200
26418
|
const module$1 = new URL("assets/miden_client_web.wasm", import.meta.url);
|
|
26201
26419
|
|
|
26202
|
-
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, JsStateSyncUpdate, JsStorageMapEntry, JsStorageSlot, JsVaultAsset, Library, MerklePath, NetworkId, 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, 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 };
|
|
26203
|
-
//# sourceMappingURL=Cargo-
|
|
26420
|
+
export { Account, AccountArray, AccountBuilder, AccountBuilderResult, AccountCode, AccountComponent, AccountComponentCode, AccountDelta, AccountFile, AccountHeader, AccountId, AccountIdArray, AccountInterface, AccountProof, AccountReader, AccountStatus, AccountStorage, AccountStorageDelta, AccountStorageMode, AccountStorageRequirements, AccountType, AccountVaultDelta, Address, AdviceInputs, AdviceMap, AssetVault, AuthFalcon512RpoMultisigConfig, AuthScheme, AuthSecretKey, BasicFungibleFaucetComponent, BlockHeader, CodeBuilder, CommittedNote, ConsumableNoteRecord, Endpoint, ExecutedTransaction, Felt, FeltArray, FetchedAccount, FetchedNote, FlattenedU8Vec, ForeignAccount, ForeignAccountArray, FungibleAsset, FungibleAssetDelta, FungibleAssetDeltaItem, GetProceduresResultItem, InputNote, InputNoteRecord, InputNoteState, InputNotes, IntoUnderlyingByteSource, IntoUnderlyingSink, IntoUnderlyingSource, JsAccountUpdate, 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, 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 };
|
|
26421
|
+
//# sourceMappingURL=Cargo-1zqmsGGR-COfl7R3D.js.map
|