@hinkal/common 0.0.8 → 0.0.11
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-PT_bvjbJ.js → snarkjsWorkerLogic-DbN7AhXw.js} +2 -2
- package/assets/{utxoWorkerLogic-CaRjg9tk.js → utxoWorkerLogic-Bkshrlp4.js} +2 -2
- package/assets/viteWorkerURL.constant-DQ9bjg_P.js +11 -0
- package/assets/{zkProofWorkerLauncher-D1ef-Gxp.js → zkProofWorkerLauncher-DGaNFkI2.js} +1 -1
- package/assets/{zkProofWorkerLogic-BwAAGTST.js → zkProofWorkerLogic-InUBQakA.js} +4 -4
- package/{index-BZ-pPp0Y.mjs → index-CVdjODAx.mjs} +4 -4
- package/{index-B8ePiYjC.js → index-DgxXm2wr.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -3
- package/{snarkjsWorkerLogic-wQM4709R.mjs → snarkjsWorkerLogic-BBt039QD.mjs} +1 -1
- package/{snarkjsWorkerLogic-DertJLwB.js → snarkjsWorkerLogic-CATeRJwr.js} +1 -1
- package/{utxoWorkerLogic-DGQxcKX5.mjs → utxoWorkerLogic-DloIiJDU.mjs} +1 -1
- package/{utxoWorkerLogic-DtyjPuS3.js → utxoWorkerLogic-GBZ1g_EM.js} +1 -1
- package/viteWorkerURL.constant-BRK-UDZl.mjs +9 -0
- package/viteWorkerURL.constant-Bc4P76KI.js +1 -0
- package/{zkProofWorkerLogic-C5kAcugj.js → zkProofWorkerLogic-C_M3Ctn4.js} +1 -1
- package/{zkProofWorkerLogic-CS9jd81C.mjs → zkProofWorkerLogic-D28ov2ck.mjs} +1 -1
- package/assets/viteWorkerURL.constant-C7fE1hzc.js +0 -11
- package/viteWorkerURL.constant-B4ERp5DP.js +0 -1
- package/viteWorkerURL.constant-DNNogPOI.mjs +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as on, r as vn, e as Ua, u as zn, a as _o } from "./zkProofWorkerLogic-
|
|
2
|
-
import { c as Ye } from "./zkProofWorkerLauncher-
|
|
1
|
+
import { f as on, r as vn, e as Ua, u as zn, a as _o } from "./zkProofWorkerLogic-InUBQakA.js";
|
|
2
|
+
import { c as Ye } from "./zkProofWorkerLauncher-DGaNFkI2.js";
|
|
3
3
|
const go = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
4
4
|
function cn(c, t) {
|
|
5
5
|
if (!t || t == 10)
|
|
@@ -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-InUBQakA.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-DGaNFkI2.js";
|
|
3
3
|
const U = (e) => {
|
|
4
4
|
const t = p.decode(
|
|
5
5
|
["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-InUBQakA.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-DGaNFkI2.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
|
+
const n = {
|
|
5
|
+
[r.ZKProof]: o,
|
|
6
|
+
[r.SnarkJS]: e,
|
|
7
|
+
[r.UTXO]: a
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as workerViteURL
|
|
11
|
+
};
|
|
@@ -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-InUBQakA.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-DGaNFkI2.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)
|
|
@@ -145760,7 +145760,7 @@ class WorkerFactory {
|
|
|
145760
145760
|
constructor() {
|
|
145761
145761
|
}
|
|
145762
145762
|
static resolveWorkerURL = async (d) => {
|
|
145763
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
145763
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-DQ9bjg_P.js");
|
|
145764
145764
|
return new URL(c[d], n);
|
|
145765
145765
|
};
|
|
145766
145766
|
static createWorker = async (d) => {
|
|
@@ -145768,12 +145768,12 @@ class WorkerFactory {
|
|
|
145768
145768
|
let c;
|
|
145769
145769
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
145770
145770
|
/* @vite-ignore */
|
|
145771
|
-
"./snarkjsWorkerLogic-
|
|
145771
|
+
"./snarkjsWorkerLogic-DbN7AhXw.js"
|
|
145772
145772
|
) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
|
|
145773
145773
|
return zkProofWorkerLogic;
|
|
145774
145774
|
}) : d === WorkerVariant.UTXO && (c = await import(
|
|
145775
145775
|
/* @vite-ignore */
|
|
145776
|
-
"./utxoWorkerLogic-
|
|
145776
|
+
"./utxoWorkerLogic-Bkshrlp4.js"
|
|
145777
145777
|
)), c.default;
|
|
145778
145778
|
}
|
|
145779
145779
|
const n = await WorkerFactory.resolveWorkerURL(d);
|
|
@@ -284118,7 +284118,7 @@ class WorkerFactory {
|
|
|
284118
284118
|
constructor() {
|
|
284119
284119
|
}
|
|
284120
284120
|
static resolveWorkerURL = async (d) => {
|
|
284121
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
284121
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-BRK-UDZl.mjs");
|
|
284122
284122
|
return new URL(c[d], n);
|
|
284123
284123
|
};
|
|
284124
284124
|
static createWorker = async (d) => {
|
|
@@ -284126,13 +284126,13 @@ class WorkerFactory {
|
|
|
284126
284126
|
let c;
|
|
284127
284127
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
284128
284128
|
/* @vite-ignore */
|
|
284129
|
-
"./snarkjsWorkerLogic-
|
|
284129
|
+
"./snarkjsWorkerLogic-BBt039QD.mjs"
|
|
284130
284130
|
) : d === WorkerVariant.ZKProof ? c = await import(
|
|
284131
284131
|
/* @vite-ignore */
|
|
284132
|
-
"./zkProofWorkerLogic-
|
|
284132
|
+
"./zkProofWorkerLogic-D28ov2ck.mjs"
|
|
284133
284133
|
) : d === WorkerVariant.UTXO && (c = await import(
|
|
284134
284134
|
/* @vite-ignore */
|
|
284135
|
-
"./utxoWorkerLogic-
|
|
284135
|
+
"./utxoWorkerLogic-DloIiJDU.mjs"
|
|
284136
284136
|
)), c.default;
|
|
284137
284137
|
}
|
|
284138
284138
|
const n = await WorkerFactory.resolveWorkerURL(d);
|