@hinkal/common 0.0.57 → 0.0.59
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/assets/{snarkjsWorkerLogic-C_MtXVdj.js → snarkjsWorkerLogic-1Gv5Fdwi.js} +2 -2
- package/assets/{utxoWorkerLauncher-DnwHvvqe.js → utxoWorkerLauncher-C7XZVzJF.js} +1 -1
- package/assets/{utxoWorkerLogic-7GeccTLS.js → utxoWorkerLogic-CnD255Z-.js} +26662 -26688
- package/assets/{utxoWorkerLogic-xG7UH4_1.js → utxoWorkerLogic-DI6j2LvW.js} +2 -2
- package/assets/{viteWorkerURL.constant-DDSRgJCA.js → viteWorkerURL.constant-CnuXeF0k.js} +3 -3
- package/assets/{zkProofWorkerLauncher-BNaaoPQ7.js → zkProofWorkerLauncher-B-_yH0h1.js} +1 -1
- package/assets/{zkProofWorkerLogic--J1eNnn8.js → zkProofWorkerLogic-DPdo2Zdx.js} +57459 -57485
- package/functions/private-wallet/emporium.helpers.d.ts +0 -5
- package/functions/private-wallet/index.d.ts +0 -1
- package/functions/snarkjs/constructEmporiumProof.d.ts +0 -10
- package/functions/snarkjs/index.d.ts +0 -1
- package/{index-CSKkTrk9.mjs → index-BMwiH8T6.mjs} +32650 -32824
- package/index.mjs +305 -308
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-CVrimnVm.mjs → snarkjsWorkerLogic-DaAdpnWH.mjs} +2 -2
- package/{utxoWorkerLogic-CIuOEbpl.mjs → utxoWorkerLogic-Dncxq8Wf.mjs} +2 -2
- package/{viteWorkerURL.constant-Cc7MXfaw.mjs → viteWorkerURL.constant-CJmoGYI-.mjs} +2 -2
- package/{workerProxy-D9L7Ev4w.mjs → workerProxy-C09LqxMj.mjs} +1 -1
- package/{zkProofWorkerLogic-xK_3gQQu.mjs → zkProofWorkerLogic-BZgIUSiX.mjs} +2 -2
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as sn, g as ja, p as Se, a as Lo, B as mo, b as bo, c as en, e as $a, d as Ga, u as Un } from "./index-
|
|
2
|
-
import { W as yo } from "./workerProxy-
|
|
1
|
+
import { r as sn, g as ja, p as Se, a as Lo, B as mo, b as bo, c as en, e as $a, d as Ga, u as Un } from "./index-BMwiH8T6.mjs";
|
|
2
|
+
import { W as yo } from "./workerProxy-C09LqxMj.mjs";
|
|
3
3
|
const Co = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
4
4
|
function rn(c, t) {
|
|
5
5
|
if (!t || t == 10)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as y, k as h, l as f, B as p, m as U, n as g, o as d, q as x, j as T, s as u } from "./index-
|
|
2
|
-
import { W as v } from "./workerProxy-
|
|
1
|
+
import { U as y, k as h, l as f, B as p, m as U, n as g, o as d, q as x, j as T, s as u } from "./index-BMwiH8T6.mjs";
|
|
2
|
+
import { W as v } from "./workerProxy-C09LqxMj.mjs";
|
|
3
3
|
const i = new v(), k = async ({ data: e }) => {
|
|
4
4
|
const { utxos: t, nullifiers: r } = e, o = t.filter((s) => {
|
|
5
5
|
const c = new y(s);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as r } from "./index-
|
|
2
|
-
const o = "" + new URL("assets/zkProofWorkerLauncher-
|
|
1
|
+
import { W as r } from "./index-BMwiH8T6.mjs";
|
|
2
|
+
const o = "" + new URL("assets/zkProofWorkerLauncher-B-_yH0h1.js", import.meta.url).href, e = "" + new URL("assets/snarkjsWorkerLauncher-CAfPlZZk.js", import.meta.url).href, s = "" + new URL("assets/utxoWorkerLauncher-C7XZVzJF.js", import.meta.url).href, a = {
|
|
3
3
|
[r.ZKProof]: o,
|
|
4
4
|
[r.SnarkJS]: e,
|
|
5
5
|
[r.UTXO]: s
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as p, f as g, U as T, h as k, i as u, j as I, Z as m, k as C } from "./index-
|
|
2
|
-
import { W as M } from "./workerProxy-
|
|
1
|
+
import { M as p, f as g, U as T, h as k, i as u, j as I, Z as m, k as C } from "./index-BMwiH8T6.mjs";
|
|
2
|
+
import { W as M } from "./workerProxy-C09LqxMj.mjs";
|
|
3
3
|
const d = new M(), h = (e) => {
|
|
4
4
|
const { inputUtxosSerialized: s, merkleTreeSerialized: n } = e.data, l = n.tree, a = new Map(
|
|
5
5
|
Object.entries(l).map(([r, c]) => [BigInt(r), BigInt(c)])
|