@hinkal/common 0.0.20 → 0.0.21

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.
@@ -1,5 +1,5 @@
1
- import { p as Se, B as po } from "./zkProofWorkerLauncher-B54jpyIs.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-g413cUJh.js";
1
+ import { p as Se, B as po } from "./zkProofWorkerLauncher-CkAXJL76.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-DO1mhw9j.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,8 +1192,9 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
1192
1192
  };
1193
1193
  globalThis.process = It;
1194
1194
  globalThis.Buffer = gr;
1195
- const Tt = import("./utxoWorkerLogic-CyWO48JX.js");
1195
+ const Tt = import("./utxoWorkerLogic-BIinmUe9.js");
1196
1196
  addEventListener("message", async (h) => {
1197
+ console.log("addEventListener in Launcher starts");
1197
1198
  const { onWorkerMessage: f } = await Tt;
1198
1199
  f(h.data);
1199
1200
  });
@@ -1,5 +1,5 @@
1
- import { B as U } from "./zkProofWorkerLauncher-B54jpyIs.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 S } from "./zkProofWorkerLogic-g413cUJh.js";
1
+ import { B as U } from "./zkProofWorkerLauncher-CkAXJL76.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 S } from "./zkProofWorkerLogic-DO1mhw9j.js";
3
3
  const g = (e) => {
4
4
  const t = T.decode(
5
5
  ["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
@@ -70,7 +70,7 @@ const u = new I(), E = async ({ data: e }) => {
70
70
  }
71
71
  u.postMessageToMainThread({ additionalEncryptedOutputs: o, lastOutput: s });
72
72
  }, B = async (e) => {
73
- await S();
73
+ console.log("onWorkerMessage starts"), await S();
74
74
  const { type: t } = e.payload;
75
75
  switch (t) {
76
76
  case d.BATCH_FILTER_UTXOS_WITH_NULLIFIER:
@@ -1,4 +1,4 @@
1
- import { d as dist, p as process$1, B as Buffer } from "./utxoWorkerLauncher-949gA7j-.js";
1
+ import { d as dist, p as process$1, B as Buffer } from "./utxoWorkerLauncher-BEUpD_S3.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(_, c) {
4
4
  if (!c || c == 10)
@@ -67767,7 +67767,7 @@ const workerProxy = new WorkerProxy(), handleFilterUtxosWithNullifier = async ({
67767
67767
  }
67768
67768
  workerProxy.postMessageToMainThread({ additionalEncryptedOutputs: h, lastOutput: B });
67769
67769
  }, onWorkerMessage = async (_) => {
67770
- await preProcessing();
67770
+ console.log("onWorkerMessage starts"), await preProcessing();
67771
67771
  const { type: c } = _.payload;
67772
67772
  switch (c) {
67773
67773
  case UtxoWorkerActionType.BATCH_FILTER_UTXOS_WITH_NULLIFIER:
@@ -1,6 +1,6 @@
1
- import { W as r } from "./zkProofWorkerLogic-g413cUJh.js";
2
- import "./zkProofWorkerLauncher-B54jpyIs.js";
3
- var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-Cxayz-rO.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-949gA7j-.js", import.meta.url).href;
1
+ import { W as r } from "./zkProofWorkerLogic-DO1mhw9j.js";
2
+ import "./zkProofWorkerLauncher-CkAXJL76.js";
3
+ var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-Cxayz-rO.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-BEUpD_S3.js", import.meta.url).href;
4
4
  const n = {
5
5
  [r.ZKProof]: o,
6
6
  [r.SnarkJS]: e,
@@ -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-g413cUJh.js").then(function(h) {
1195
+ const Tt = import("./zkProofWorkerLogic-DO1mhw9j.js").then(function(h) {
1196
1196
  return h.z;
1197
1197
  });
1198
1198
  addEventListener("message", async (h) => {