@hinkal/common 0.0.82 → 0.0.83

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-C3y0gDgU.js";
2
- import { c as Ye } from "./zkProofWorkerLauncher-ByXYyy7C.js";
1
+ import { f as on, r as vn, e as Ua, u as zn, a as _o } from "./zkProofWorkerLogic-CVktKn1s.js";
2
+ import { c as Ye } from "./zkProofWorkerLauncher-BGmeEepV.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-C3y0gDgU.js";
2
- import "./zkProofWorkerLauncher-ByXYyy7C.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-CVktKn1s.js";
2
+ import "./zkProofWorkerLauncher-BGmeEepV.js";
3
3
  const U = (e) => {
4
4
  const t = p.decode(
5
5
  ["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
@@ -1,5 +1,5 @@
1
- import { W as r } from "./zkProofWorkerLogic-C3y0gDgU.js";
2
- import "./zkProofWorkerLauncher-ByXYyy7C.js";
1
+ import { W as r } from "./zkProofWorkerLogic-CVktKn1s.js";
2
+ import "./zkProofWorkerLauncher-BGmeEepV.js";
3
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
4
  const n = {
5
5
  [r.ZKProof]: o,
@@ -1190,7 +1190,7 @@ const et = () => {
1190
1190
  };
1191
1191
  globalThis.process = tt;
1192
1192
  globalThis.Buffer = xr.Buffer;
1193
- const nt = import("./zkProofWorkerLogic-C3y0gDgU.js").then(function(f) {
1193
+ const nt = import("./zkProofWorkerLogic-CVktKn1s.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-ByXYyy7C.js";
1
+ import { g as getAugmentedNamespace, b as buffer, c as commonjsGlobal, a as getDefaultExportFromCjs$1, d as base64Js } from "./zkProofWorkerLauncher-BGmeEepV.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)
@@ -93336,7 +93336,7 @@ const hinkalAddress$7 = "0x41658B0DaF59Bb2FbB2D9A5249207011d2B364De", hinkalABI$
93336
93336
  stateMutability: "nonpayable",
93337
93337
  type: "function"
93338
93338
  }
93339
- ];
93339
+ ], emporiumAddress$1 = "0xB92188976A4bbeF3008f9DD21CCf7D23Dcbae391";
93340
93340
  var optimismData = {
93341
93341
  hinkalAddress: hinkalAddress$7,
93342
93342
  hinkalABI: hinkalABI$7,
@@ -93363,7 +93363,8 @@ var optimismData = {
93363
93363
  volatileTokenActionInstanceAddress: volatileTokenActionInstanceAddress$5,
93364
93364
  VolatileTokenActionABI: VolatileTokenActionABI$5,
93365
93365
  hinkalWrapperAddress: hinkalWrapperAddress$5,
93366
- HinkalWrapperABI: HinkalWrapperABI$5
93366
+ HinkalWrapperABI: HinkalWrapperABI$5,
93367
+ emporiumAddress: emporiumAddress$1
93367
93368
  };
93368
93369
  const hinkalAddress$6 = "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5", hinkalABI$6 = [
93369
93370
  {
@@ -149416,7 +149417,7 @@ class WorkerFactory {
149416
149417
  constructor() {
149417
149418
  }
149418
149419
  static resolveWorkerURL = async (d) => {
149419
- const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-D0iPNhG0.js");
149420
+ const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-BZomZzVv.js");
149420
149421
  return new URL(c[d], n);
149421
149422
  };
149422
149423
  static createWorker = async (d) => {
@@ -149424,12 +149425,12 @@ class WorkerFactory {
149424
149425
  let c;
149425
149426
  return d === WorkerVariant.SnarkJS ? c = await import(
149426
149427
  /* @vite-ignore */
149427
- "./snarkjsWorkerLogic-24nhppHI.js"
149428
+ "./snarkjsWorkerLogic-B2ZAx1Vx.js"
149428
149429
  ) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
149429
149430
  return zkProofWorkerLogic;
149430
149431
  }) : d === WorkerVariant.UTXO && (c = await import(
149431
149432
  /* @vite-ignore */
149432
- "./utxoWorkerLogic-DbwOF7_Q.js"
149433
+ "./utxoWorkerLogic-CdCvw5yQ.js"
149433
149434
  )), c.default;
149434
149435
  }
149435
149436
  const n = await WorkerFactory.resolveWorkerURL(d);