@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.
@@ -1,5 +1,5 @@
1
- import { p as Se, B as po } from "./zkProofWorkerLauncher-D8OXlf5e.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-Ch0jn4N_.js";
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-DxfPxQs8.js");
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-D8OXlf5e.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-Ch0jn4N_.js";
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-BHLbZZie.js";
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
- var hasRequiredReadableBrowser$1;
14117
- function requireReadableBrowser$1() {
14118
- return hasRequiredReadableBrowser$1 || (hasRequiredReadableBrowser$1 = 1, function(I, c) {
14119
- 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();
14120
- }(readableBrowser$1, readableBrowser$1.exports)), readableBrowser$1.exports;
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 = requireReadableBrowser$1().Transform, l = requireInherits_browser();
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 = requireReadableBrowser$1().Transform, l = requireInherits_browser();
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-Ch0jn4N_.js").then(function(h) {
1195
+ const Tt = import("./zkProofWorkerLogic-Cj5obMnk.js").then(function(h) {
1196
1196
  return h.z;
1197
1197
  });
1198
1198
  addEventListener("message", async (h) => {