@hinkal/common 0.0.23 → 0.0.24
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-DGyRhsnt.js → snarkjsWorkerLauncher-CA30lfwg.js} +1 -1
- package/assets/{snarkjsWorkerLogic-JVcROE0k.js → snarkjsWorkerLogic-CEwqbPan.js} +1678 -1699
- package/assets/{snarkjsWorkerLogic-asV4ifKL.js → snarkjsWorkerLogic-RGhqk9vC.js} +2 -2
- package/assets/{utxoWorkerLauncher-BHLbZZie.js → utxoWorkerLauncher-Cs2fguPu.js} +1 -1
- package/assets/{utxoWorkerLogic-B5nYEbpt.js → utxoWorkerLogic-CNvI05_N.js} +2 -2
- package/assets/{utxoWorkerLogic-DxfPxQs8.js → utxoWorkerLogic-j6F6PMKS.js} +8 -10
- package/assets/viteWorkerURL.constant-C9vqilnB.js +11 -0
- package/assets/{zkProofWorkerLauncher-D8OXlf5e.js → zkProofWorkerLauncher-BsM3COtM.js} +1 -1
- package/assets/{zkProofWorkerLogic-Ch0jn4N_.js → zkProofWorkerLogic-Cj5obMnk.js} +57459 -57485
- package/{index-DcZZLkPF.js → index-bvJZYmXM.js} +49628 -49590
- package/index.js +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-2nqMU9wj.js → snarkjsWorkerLogic-CRSRBSm4.js} +4 -4
- package/{utxoWorkerLogic-CLCVRQ27.js → utxoWorkerLogic-h84Wtf4l.js} +2 -2
- package/viteWorkerURL.constant-CtDOAJYF.js +9 -0
- package/{workerProxy-u1IDSczf.js → workerProxy-Cw22oZB3.js} +1 -1
- package/{zkProofWorkerLogic-CQqAq0cY.js → zkProofWorkerLogic-CbRAJg0Y.js} +2 -2
- package/assets/viteWorkerURL.constant-dLfAyCEb.js +0 -11
- package/viteWorkerURL.constant-pxNQtpI_.js +0 -9
|
@@ -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-BsM3COtM.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-Cj5obMnk.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)
|
|
@@ -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("./utxoWorkerLogic-
|
|
1195
|
+
const Tt = import("./utxoWorkerLogic-j6F6PMKS.js");
|
|
1196
1196
|
addEventListener("message", async (h) => {
|
|
1197
1197
|
console.log("addEventListener in Utxo Launcher starts");
|
|
1198
1198
|
const { onWorkerMessage: f } = await Tt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as U } from "./zkProofWorkerLauncher-
|
|
2
|
-
import { U as l, i as T, h as I, j as f, k as y, l as m, m as h, p as x } from "./zkProofWorkerLogic-
|
|
1
|
+
import { B as U } from "./zkProofWorkerLauncher-BsM3COtM.js";
|
|
2
|
+
import { U as l, i as T, h as I, j as f, k as y, l as m, m as h, p as x } from "./zkProofWorkerLogic-Cj5obMnk.js";
|
|
3
3
|
const g = (e) => {
|
|
4
4
|
const t = T.decode(
|
|
5
5
|
["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as dist, p as process$1, B as Buffer } from "./utxoWorkerLauncher-
|
|
1
|
+
import { d as dist, p as process$1, B as Buffer } from "./utxoWorkerLauncher-Cs2fguPu.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(I, c) {
|
|
4
4
|
if (!c || c == 10)
|
|
@@ -14113,13 +14113,11 @@ function requirePipeline() {
|
|
|
14113
14113
|
}
|
|
14114
14114
|
return pipeline_1 = J, pipeline_1;
|
|
14115
14115
|
}
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
}
|
|
14122
|
-
requireReadableBrowser$1().Transform;
|
|
14116
|
+
(function(I, c) {
|
|
14117
|
+
c = I.exports = require_stream_readable$1(), c.Stream = c, c.Readable = c, c.Writable = require_stream_writable$1(), c.Duplex = require_stream_duplex$1(), c.Transform = require_stream_transform$1(), c.PassThrough = require_stream_passthrough$1(), c.finished = requireEndOfStream(), c.pipeline = requirePipeline();
|
|
14118
|
+
})(readableBrowser$1, readableBrowser$1.exports);
|
|
14119
|
+
var readableBrowserExports = readableBrowser$1.exports;
|
|
14120
|
+
readableBrowserExports.Transform;
|
|
14123
14121
|
class Blake {
|
|
14124
14122
|
_lengthCarry(c) {
|
|
14125
14123
|
for (let l = 0; l < c.length && !(c[l] < 4294967296); ++l)
|
|
@@ -46460,7 +46458,7 @@ function requireHashBase$1() {
|
|
|
46460
46458
|
if (hasRequiredHashBase$1)
|
|
46461
46459
|
return hashBase$1;
|
|
46462
46460
|
hasRequiredHashBase$1 = 1;
|
|
46463
|
-
var I = requireSafeBuffer$1().Buffer, c =
|
|
46461
|
+
var I = requireSafeBuffer$1().Buffer, c = readableBrowserExports.Transform, l = requireInherits_browser();
|
|
46464
46462
|
function h(o, y) {
|
|
46465
46463
|
if (!I.isBuffer(o) && typeof o != "string")
|
|
46466
46464
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -46554,7 +46552,7 @@ function requireHashBase() {
|
|
|
46554
46552
|
if (hasRequiredHashBase)
|
|
46555
46553
|
return hashBase;
|
|
46556
46554
|
hasRequiredHashBase = 1;
|
|
46557
|
-
var I = requireSafeBuffer$1().Buffer, c =
|
|
46555
|
+
var I = requireSafeBuffer$1().Buffer, c = readableBrowserExports.Transform, l = requireInherits_browser();
|
|
46558
46556
|
function h(o, y) {
|
|
46559
46557
|
if (!I.isBuffer(o) && typeof o != "string")
|
|
46560
46558
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-Cj5obMnk.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-BsM3COtM.js";
|
|
3
|
+
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CA30lfwg.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-Cs2fguPu.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
|
+
};
|
|
@@ -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("./zkProofWorkerLogic-
|
|
1195
|
+
const Tt = import("./zkProofWorkerLogic-Cj5obMnk.js").then(function(h) {
|
|
1196
1196
|
return h.z;
|
|
1197
1197
|
});
|
|
1198
1198
|
addEventListener("message", async (h) => {
|