@hinkal/common 0.0.58 → 0.0.60

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 { B as U } from "./zkProofWorkerLauncher-BS9zCqRH.js";
2
- import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-BrqYSDKf.js";
1
+ import { B as U } from "./zkProofWorkerLauncher-DvQXC-QM.js";
2
+ import { U as l, h as T, f, i as I, j as y, k as m, l as h, p as S } from "./zkProofWorkerLogic-DIo7waUX.js";
3
3
  const g = (e) => {
4
4
  const t = T.decode(
5
5
  ["uint256", "address", "tuple(uint256, uint256, uint256, uint256)", "uint256", "uint256"],
@@ -1,6 +1,6 @@
1
- import { W as r } from "./zkProofWorkerLogic-BrqYSDKf.js";
2
- import "./zkProofWorkerLauncher-BS9zCqRH.js";
3
- var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CAfPlZZk.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-CqYoNYez.js", import.meta.url).href;
1
+ import { W as r } from "./zkProofWorkerLogic-DIo7waUX.js";
2
+ import "./zkProofWorkerLauncher-DvQXC-QM.js";
3
+ var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CAfPlZZk.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-DnwHvvqe.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-BrqYSDKf.js").then(function(h) {
1195
+ const Tt = import("./zkProofWorkerLogic-DIo7waUX.js").then(function(h) {
1196
1196
  return h.z;
1197
1197
  });
1198
1198
  addEventListener("message", async (h) => {
@@ -1,4 +1,4 @@
1
- import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-BS9zCqRH.js";
1
+ import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-DvQXC-QM.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)
@@ -161586,7 +161586,7 @@ class WorkerFactory {
161586
161586
  constructor() {
161587
161587
  }
161588
161588
  static resolveWorkerURL = async (d) => {
161589
- const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-DILHi0VU.js");
161589
+ const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-Bx32O0Qa.js");
161590
161590
  return new URL(c[d], n);
161591
161591
  };
161592
161592
  static createWorker = async (d) => {
@@ -161594,12 +161594,12 @@ class WorkerFactory {
161594
161594
  let c;
161595
161595
  return d === WorkerVariant.SnarkJS ? c = await import(
161596
161596
  /* @vite-ignore */
161597
- "./snarkjsWorkerLogic-DuoLnikR.js"
161597
+ "./snarkjsWorkerLogic-DiaByR1H.js"
161598
161598
  ) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
161599
161599
  return zkProofWorkerLogic;
161600
161600
  }) : d === WorkerVariant.UTXO && (c = await import(
161601
161601
  /* @vite-ignore */
161602
- "./utxoWorkerLogic-DkwQWL-r.js"
161602
+ "./utxoWorkerLogic-DHb7wtxM.js"
161603
161603
  )), c.default;
161604
161604
  }
161605
161605
  const n = await WorkerFactory.resolveWorkerURL(d);
@@ -1,5 +0,0 @@
1
- import { Contract, ContractTransaction } from 'ethers';
2
- export declare const emporiumOp: <ContractInstance extends Contract, ContractFunctions extends ContractInstance["functions"], ExactFunction extends { [K in keyof ContractFunctions]: ReturnType<ContractFunctions[K]> extends Promise<ContractTransaction> ? K : never; }[keyof ContractFunctions], FunctionArguments extends Parameters<ContractFunctions[ExactFunction]>>(contract: ContractInstance | string, func?: ExactFunction, args?: FunctionArguments extends [
3
- ] ? [
4
- ] : FunctionArguments, invokeWallet?: boolean, value?: bigint) => string;
5
- export declare const encodeEmporiumMetadata: (ops: string[], walletSalt?: string) => string;
@@ -1 +0,0 @@
1
- export * from './emporium.helpers';