@hinkal/common 0.0.60 → 0.0.61
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-DiaByR1H.js → snarkjsWorkerLogic-DDtiumPH.js} +2 -2
- package/assets/{utxoWorkerLogic-DHb7wtxM.js → utxoWorkerLogic-DzUMTGmw.js} +2 -2
- package/assets/{viteWorkerURL.constant-Bx32O0Qa.js → viteWorkerURL.constant-5KVZiNHh.js} +2 -2
- package/assets/{zkProofWorkerLauncher-DvQXC-QM.js → zkProofWorkerLauncher-BFqnIKeC.js} +1 -1
- package/assets/{zkProofWorkerLogic-DIo7waUX.js → zkProofWorkerLogic-DteqUP_R.js} +61795 -58113
- package/data-structures/Hinkal/Hinkal.d.ts +1 -0
- package/data-structures/Hinkal/IHinkal.d.ts +1 -0
- package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +2 -0
- package/data-structures/Hinkal/index.d.ts +1 -0
- package/externalABIs/index.d.ts +2 -1
- package/functions/private-wallet/emporium.helpers.d.ts +5 -0
- package/functions/private-wallet/index.d.ts +2 -0
- package/functions/private-wallet/opProducer.d.ts +5 -0
- package/functions/snarkjs/constructEmporiumProof.d.ts +10 -0
- package/functions/snarkjs/generateCircomData.d.ts +1 -2
- package/functions/snarkjs/generateZkProof.d.ts +1 -1
- package/functions/snarkjs/index.d.ts +1 -0
- package/{index-BJFtjy4q.mjs → index-KFcTC7Rg.mjs} +64856 -59800
- package/index.mjs +416 -409
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-C_48sg15.mjs → snarkjsWorkerLogic-BlW1M4T6.mjs} +4 -4
- package/types/ethereum-network.types.d.ts +1 -0
- package/types/hinkal.types.d.ts +1 -0
- package/{utxoWorkerLogic-CJeBbJOT.mjs → utxoWorkerLogic-yw4aYqr5.mjs} +2 -2
- package/{viteWorkerURL.constant-6P0hAXDX.mjs → viteWorkerURL.constant-xGjGKGEC.mjs} +3 -3
- package/{workerProxy-B-WTeLd-.mjs → workerProxy-X5sGn1EM.mjs} +1 -1
- package/{zkProofWorkerLogic-DjS3X7Nv.mjs → zkProofWorkerLogic-CMJD2Vlp.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,
|
|
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-KFcTC7Rg.mjs";
|
|
2
|
+
import { W as yo } from "./workerProxy-X5sGn1EM.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)
|
|
@@ -12329,7 +12329,7 @@ var ea = ta.exports, Jr = { exports: {} };
|
|
|
12329
12329
|
error: "err"
|
|
12330
12330
|
}, c.exports.endArray = c.exports.endPrefix + c.exports.array, c.exports.endObject = c.exports.endPrefix + c.exports.object, c.exports.endLine = `${c.exports.endPrefix}line`, c.exports.dataError = `${c.exports.error}-data`;
|
|
12331
12331
|
})(Jr);
|
|
12332
|
-
$a
|
|
12332
|
+
$a.EventEmitter;
|
|
12333
12333
|
const Kr = Un, Wi = Ga().Readable, Na = ea;
|
|
12334
12334
|
Kr.inherits(cn, Wi);
|
|
12335
12335
|
var Xi = cn;
|
|
@@ -15565,7 +15565,7 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : at =
|
|
|
15565
15565
|
})(el);
|
|
15566
15566
|
Ga();
|
|
15567
15567
|
sn();
|
|
15568
|
-
$a
|
|
15568
|
+
$a.EventEmitter;
|
|
15569
15569
|
const nl = ea, Hi = Xi, al = Un;
|
|
15570
15570
|
al.inherits(zn, Hi);
|
|
15571
15571
|
function zn(c, t) {
|
package/types/hinkal.types.d.ts
CHANGED
|
@@ -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-KFcTC7Rg.mjs";
|
|
2
|
+
import { W as v } from "./workerProxy-X5sGn1EM.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,9 +1,9 @@
|
|
|
1
|
-
import { W as r } from "./index-
|
|
2
|
-
const e = "" + new URL("assets/zkProofWorkerLauncher-
|
|
1
|
+
import { W as r } from "./index-KFcTC7Rg.mjs";
|
|
2
|
+
const e = "" + new URL("assets/zkProofWorkerLauncher-BFqnIKeC.js", import.meta.url).href, o = "" + new URL("assets/snarkjsWorkerLauncher-CAfPlZZk.js", import.meta.url).href, s = "" + new URL("assets/utxoWorkerLauncher-DnwHvvqe.js", import.meta.url).href, n = {
|
|
3
3
|
[r.ZKProof]: e,
|
|
4
4
|
[r.SnarkJS]: o,
|
|
5
5
|
[r.UTXO]: s
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
n as workerViteURL
|
|
9
9
|
};
|
|
@@ -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-KFcTC7Rg.mjs";
|
|
2
|
+
import { W as M } from "./workerProxy-X5sGn1EM.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)])
|