@hinkal/common 0.0.75 → 0.0.76
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/{snarkjsWorkerLauncher-Bdl5N2Nh.js → snarkjsWorkerLauncher-BPTFFzgb.js} +1 -1
- package/assets/{snarkjsWorkerLogic-DBACYRYM.js → snarkjsWorkerLogic-CVMdRdSt.js} +11 -7
- package/assets/{snarkjsWorkerLogic-_NrgKt7n.js → snarkjsWorkerLogic-D-v2xSCd.js} +11590 -11619
- package/assets/{utxoWorkerLogic-DOAyE2Ma.js → utxoWorkerLogic-CgQ3kald.js} +2 -2
- package/assets/{viteWorkerURL.constant-M-vZ09UI.js → viteWorkerURL.constant-Di1IMd-K.js} +3 -3
- package/assets/{zkProofWorkerLauncher-BFtv6oo6.js → zkProofWorkerLauncher-3-ZvRhoS.js} +1 -1
- package/assets/{zkProofWorkerLogic-CAu7zHKp.js → zkProofWorkerLogic-pM_x2q4P.js} +49594 -49624
- package/{index-CIA6_WBh.mjs → index-Bop7Ykvt.mjs} +38022 -38085
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-CCOjAZoq.mjs → snarkjsWorkerLogic-DwUKLnzS.mjs} +9 -5
- package/{utxoWorkerLogic-DNxsPKY9.mjs → utxoWorkerLogic-DBlD22h-.mjs} +2 -2
- package/{viteWorkerURL.constant-Bnl1C6Xb.mjs → viteWorkerURL.constant-3oZChqmC.mjs} +2 -2
- package/{workerProxy-XOEFHnOv.mjs → workerProxy-ut7bXhZh.mjs} +1 -1
- package/{zkProofWorkerLogic-BzExIZ4E.mjs → zkProofWorkerLogic-CKquuDg-.mjs} +2 -2
|
@@ -1192,7 +1192,7 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
globalThis.process = It;
|
|
1194
1194
|
globalThis.Buffer = gr;
|
|
1195
|
-
const Tt = import("./snarkjsWorkerLogic-
|
|
1195
|
+
const Tt = import("./snarkjsWorkerLogic-D-v2xSCd.js");
|
|
1196
1196
|
addEventListener("message", async (h) => {
|
|
1197
1197
|
const { onWorkerMessage: f } = await Tt;
|
|
1198
1198
|
f(h.data);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Se, B as ho } from "./zkProofWorkerLauncher-
|
|
2
|
-
import { r as sn, g as Ua, a as Lo, b as mo, c as en,
|
|
1
|
+
import { p as Se, B as ho } from "./zkProofWorkerLauncher-3-ZvRhoS.js";
|
|
2
|
+
import { r as sn, g as Ua, a as Lo, b as mo, c as en, e as ja, d as $a, u as zn, f as bo } from "./zkProofWorkerLogic-pM_x2q4P.js";
|
|
3
3
|
const yo = [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)
|
|
@@ -12331,7 +12331,7 @@ var ta = Yn.exports, Qr = { exports: {} };
|
|
|
12331
12331
|
error: "err"
|
|
12332
12332
|
}, 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`;
|
|
12333
12333
|
})(Qr);
|
|
12334
|
-
ja
|
|
12334
|
+
ja.EventEmitter;
|
|
12335
12335
|
const Jr = zn, Zi = $a().Readable, Ra = ta;
|
|
12336
12336
|
Jr.inherits(cn, Zi);
|
|
12337
12337
|
var Wi = cn;
|
|
@@ -15567,7 +15567,7 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : at =
|
|
|
15567
15567
|
})(tl);
|
|
15568
15568
|
$a();
|
|
15569
15569
|
sn();
|
|
15570
|
-
ja
|
|
15570
|
+
ja.EventEmitter;
|
|
15571
15571
|
const el = ta, Vi = Wi, nl = zn;
|
|
15572
15572
|
nl.inherits(Nn, Vi);
|
|
15573
15573
|
function Nn(c, t) {
|
|
@@ -15659,11 +15659,15 @@ const al = (
|
|
|
15659
15659
|
// @ts-expect-error webpack check is done like this
|
|
15660
15660
|
typeof __webpack_require__ < "u"
|
|
15661
15661
|
), Hi = new bo(), il = async (c) => {
|
|
15662
|
+
console.log("1");
|
|
15662
15663
|
const { input: t, wasmFilePath: e, zKeyFilePath: n, chainId: a } = c.payload.data;
|
|
15663
|
-
c.metadata;
|
|
15664
|
-
let s = e
|
|
15665
|
-
console.log(
|
|
15664
|
+
console.log("2", { input: t, wasmFilePath: e, zKeyFilePath: n }), c.metadata, console.log("3");
|
|
15665
|
+
let s = e;
|
|
15666
|
+
console.log("4");
|
|
15667
|
+
let g = n;
|
|
15668
|
+
console.log({ isWebpack: al }), console.log({ wasmFilePath: e }), console.log("5"), console.log("6"), console.log({ wasmFullFilePath: s });
|
|
15666
15669
|
try {
|
|
15670
|
+
console.log("7");
|
|
15667
15671
|
const { proof: d, publicSignals: C } = await Sr(t, s, g), l = await Ir(d, C), o = JSON.parse(`[${l}]`);
|
|
15668
15672
|
Hi.postMessageToMainThread({ zkCallData: o, proof: d, publicSignals: C });
|
|
15669
15673
|
} catch (d) {
|