@hinkal/common 0.0.81 → 0.0.82
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-BA0mEPPz.js → snarkjsWorkerLauncher-CaBCnle3.js} +102 -103
- package/assets/{snarkjsWorkerLogic-ekHpzAIW.js → snarkjsWorkerLogic-24nhppHI.js} +649 -644
- package/assets/{snarkjsWorkerLogic-L1vb0HFc.js → snarkjsWorkerLogic-BAbiO5gj.js} +897 -892
- package/assets/{utxoWorkerLogic-DrdOALJd.js → utxoWorkerLogic-DbwOF7_Q.js} +2 -2
- package/assets/{viteWorkerURL.constant-BnLC1_CH.js → viteWorkerURL.constant-D0iPNhG0.js} +3 -3
- package/assets/{zkProofWorkerLauncher-DbapdIeT.js → zkProofWorkerLauncher-ByXYyy7C.js} +1 -1
- package/assets/{zkProofWorkerLogic-DdXwxKze.js → zkProofWorkerLogic-C3y0gDgU.js} +4 -4
- package/{index-DdDIk6Jw.mjs → index-DhAeLLFR.mjs} +7494 -7508
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-DI9paiU-.mjs → snarkjsWorkerLogic-De3osVcO.mjs} +648 -643
- package/{utxoWorkerLogic-CNa05j64.mjs → utxoWorkerLogic-fmNmJnfl.mjs} +1 -1
- package/{viteWorkerURL.constant-BnlGBO_0.mjs → viteWorkerURL.constant-Dxy-B-5E.mjs} +2 -2
- package/{zkProofWorkerLogic-O2AAP0BX.mjs → zkProofWorkerLogic-REfZ8M6M.mjs} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as l, d as p, a as T, b as f, c as I, g as y, l as h, p as m } from "./zkProofWorkerLogic-
|
|
2
|
-
import "./zkProofWorkerLauncher-
|
|
1
|
+
import { U as l, d as p, a as T, b as f, c as I, g as y, l as h, p as m } from "./zkProofWorkerLogic-C3y0gDgU.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-ByXYyy7C.js";
|
|
3
3
|
const U = (e) => {
|
|
4
4
|
const t = p.decode(
|
|
5
5
|
["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as r } from "./zkProofWorkerLogic-
|
|
2
|
-
import "./zkProofWorkerLauncher-
|
|
3
|
-
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-C3y0gDgU.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-ByXYyy7C.js";
|
|
3
|
+
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CaBCnle3.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-TRT6Cdzd.js", import.meta.url).href;
|
|
4
4
|
const n = {
|
|
5
5
|
[r.ZKProof]: o,
|
|
6
6
|
[r.SnarkJS]: e,
|
|
@@ -1190,7 +1190,7 @@ const et = () => {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
globalThis.process = tt;
|
|
1192
1192
|
globalThis.Buffer = xr.Buffer;
|
|
1193
|
-
const nt = import("./zkProofWorkerLogic-
|
|
1193
|
+
const nt = import("./zkProofWorkerLogic-C3y0gDgU.js").then(function(f) {
|
|
1194
1194
|
return f.z;
|
|
1195
1195
|
});
|
|
1196
1196
|
addEventListener("message", async (f) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, b as buffer, c as commonjsGlobal, a as getDefaultExportFromCjs$1, d as base64Js } from "./zkProofWorkerLauncher-
|
|
1
|
+
import { g as getAugmentedNamespace, b as buffer, c as commonjsGlobal, a as getDefaultExportFromCjs$1, d as base64Js } from "./zkProofWorkerLauncher-ByXYyy7C.js";
|
|
2
2
|
const hexLen = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
3
3
|
function fromString$1(a, d) {
|
|
4
4
|
if (!d || d == 10)
|
|
@@ -149416,7 +149416,7 @@ class WorkerFactory {
|
|
|
149416
149416
|
constructor() {
|
|
149417
149417
|
}
|
|
149418
149418
|
static resolveWorkerURL = async (d) => {
|
|
149419
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
149419
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-D0iPNhG0.js");
|
|
149420
149420
|
return new URL(c[d], n);
|
|
149421
149421
|
};
|
|
149422
149422
|
static createWorker = async (d) => {
|
|
@@ -149424,12 +149424,12 @@ class WorkerFactory {
|
|
|
149424
149424
|
let c;
|
|
149425
149425
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
149426
149426
|
/* @vite-ignore */
|
|
149427
|
-
"./snarkjsWorkerLogic-
|
|
149427
|
+
"./snarkjsWorkerLogic-24nhppHI.js"
|
|
149428
149428
|
) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
|
|
149429
149429
|
return zkProofWorkerLogic;
|
|
149430
149430
|
}) : d === WorkerVariant.UTXO && (c = await import(
|
|
149431
149431
|
/* @vite-ignore */
|
|
149432
|
-
"./utxoWorkerLogic-
|
|
149432
|
+
"./utxoWorkerLogic-DbwOF7_Q.js"
|
|
149433
149433
|
)), c.default;
|
|
149434
149434
|
}
|
|
149435
149435
|
const n = await WorkerFactory.resolveWorkerURL(d);
|