@hinkal/common 0.0.17 → 0.0.19

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 { f as on, r as vn, e as Ua, u as zn, a as _o } from "./zkProofWorkerLogic-BwAAGTST.js";
2
- import { c as Ye } from "./zkProofWorkerLauncher-D1ef-Gxp.js";
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-BwAAGTST.js";
2
- import "./zkProofWorkerLauncher-D1ef-Gxp.js";
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-BwAAGTST.js").then(function(f) {
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-D1ef-Gxp.js";
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-C7fE1hzc.js");
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-PT_bvjbJ.js"
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-CaRjg9tk.js"
145776
+ "./utxoWorkerLogic-Bkshrlp4.js"
145777
145777
  )), c.default;
145778
145778
  }
145779
145779
  const n = await WorkerFactory.resolveWorkerURL(d);