@hinkal/common 0.0.21 → 0.0.22
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/{utxoWorkerLauncher-BEUpD_S3.js → snarkjsWorkerLauncher-B7O1JJ13.js} +2 -2
- package/assets/{snarkjsWorkerLogic-DbPzt8sK.js → snarkjsWorkerLogic-BKXJaMFn.js} +5 -4
- package/assets/{snarkjsWorkerLogic-C0jhwQeU.js → snarkjsWorkerLogic-RPtP2E0-.js} +10146 -10112
- package/assets/{snarkjsWorkerLauncher-Cxayz-rO.js → utxoWorkerLauncher-DD2MTdrZ.js} +2 -1
- package/assets/{utxoWorkerLogic-BFs3JZ0z.js → utxoWorkerLogic-CCtNv3wA.js} +7 -7
- package/assets/{utxoWorkerLogic-BIinmUe9.js → utxoWorkerLogic-POijX68C.js} +2 -2
- package/assets/viteWorkerURL.constant-B60_J6AH.js +11 -0
- package/assets/{zkProofWorkerLauncher-CkAXJL76.js → zkProofWorkerLauncher-BQqkxVGn.js} +23 -22
- package/assets/{zkProofWorkerLogic-DO1mhw9j.js → zkProofWorkerLogic-z0yllRdM.js} +52647 -52618
- package/{index-hawBcGgA.js → index-nSkt9u7t.js} +60896 -60934
- package/index.js +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-BSQcU9Zo.js → snarkjsWorkerLogic-D6NZwmzN.js} +3 -2
- package/{utxoWorkerLogic-Ck6_gew5.js → utxoWorkerLogic-BTKRM_2w.js} +5 -5
- package/viteWorkerURL.constant-D8blb4sG.js +9 -0
- package/{workerProxy-Bcp7Fkbp.js → workerProxy-DLMJ5oWP.js} +1 -1
- package/{zkProofWorkerLogic-DP4Ejyeo.js → zkProofWorkerLogic-i1172-fh.js} +20 -20
- package/assets/viteWorkerURL.constant-2FqFkgj-.js +0 -11
- package/viteWorkerURL.constant-CruO8mkG.js +0 -9
|
@@ -1192,9 +1192,9 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
globalThis.process = It;
|
|
1194
1194
|
globalThis.Buffer = gr;
|
|
1195
|
-
const Tt = import("./
|
|
1195
|
+
const Tt = import("./snarkjsWorkerLogic-RPtP2E0-.js");
|
|
1196
1196
|
addEventListener("message", async (h) => {
|
|
1197
|
-
console.log("addEventListener in Launcher starts");
|
|
1197
|
+
console.log("addEventListener in Snarkjs Launcher starts");
|
|
1198
1198
|
const { onWorkerMessage: f } = await Tt;
|
|
1199
1199
|
f(h.data);
|
|
1200
1200
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Se, B as po } from "./zkProofWorkerLauncher-
|
|
2
|
-
import { e as Ua, r as ho, g as Lo, a as mo, b as bo, c as en, d as ja, f as $a, u as zn, h as yo } from "./zkProofWorkerLogic-
|
|
1
|
+
import { p as Se, B as po } from "./zkProofWorkerLauncher-BQqkxVGn.js";
|
|
2
|
+
import { e as Ua, r as ho, g as Lo, a as mo, b as bo, c as en, d as ja, f as $a, u as zn, h as yo } from "./zkProofWorkerLogic-z0yllRdM.js";
|
|
3
3
|
const Co = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
4
4
|
function sn(c, t) {
|
|
5
5
|
if (!t || t == 10)
|
|
@@ -12330,7 +12330,7 @@ var ta = Yn.exports, Qr = { exports: {} };
|
|
|
12330
12330
|
error: "err"
|
|
12331
12331
|
}, 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`;
|
|
12332
12332
|
})(Qr);
|
|
12333
|
-
ja.EventEmitter;
|
|
12333
|
+
ja().EventEmitter;
|
|
12334
12334
|
const Jr = zn, Gi = $a().Readable, Ra = ta;
|
|
12335
12335
|
Jr.inherits(cn, Gi);
|
|
12336
12336
|
var Zi = cn;
|
|
@@ -15565,7 +15565,7 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : at =
|
|
|
15565
15565
|
});
|
|
15566
15566
|
})(tl);
|
|
15567
15567
|
$a();
|
|
15568
|
-
ja.EventEmitter;
|
|
15568
|
+
ja().EventEmitter;
|
|
15569
15569
|
const el = ta, Xi = Zi, nl = zn;
|
|
15570
15570
|
nl.inherits(Nn, Xi);
|
|
15571
15571
|
function Nn(c, t) {
|
|
@@ -15655,6 +15655,7 @@ const al = typeof Se < "u" && Se.versions != null && Se.versions.node != null, v
|
|
|
15655
15655
|
// @ts-expect-error webpack check is done like this
|
|
15656
15656
|
typeof __webpack_require__ < "u"
|
|
15657
15657
|
), Vi = new yo(), il = async (c) => {
|
|
15658
|
+
console.log("onWorkerMessage snark starts");
|
|
15658
15659
|
const { input: t, wasmFilePath: e, zKeyFilePath: n, chainId: a } = c.payload.data, {
|
|
15659
15660
|
hostLocation: { origin: s },
|
|
15660
15661
|
constants: {
|