@pioneer-platform/pioneer-react 0.2.46 → 0.2.47

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.
Files changed (57) hide show
  1. package/dist/index.js +163952 -215421
  2. package/dist/{index_7b095b99.js → index_003befba.js} +1312 -1122
  3. package/dist/{index_9a2fa5ba.js → index_0364269a.js} +3 -3
  4. package/dist/{index_0233ab6e.js → index_0e37f5ff.js} +1 -1
  5. package/dist/{index_e21338b4.js → index_167c5f7a.js} +3 -3
  6. package/dist/{index_f1c394c8.js → index_1990afbf.js} +4 -4
  7. package/dist/{index_343f9468.js → index_29e62962.js} +4 -4
  8. package/dist/{index_cd7b7000.js → index_2cbf1530.js} +6 -6
  9. package/dist/{index_3d7082d3.js → index_310b7772.js} +9 -9
  10. package/dist/{index_fd3a5ec6.js → index_354cce52.js} +3 -3
  11. package/dist/{index_a2c6091a.js → index_37894947.js} +3 -3
  12. package/dist/{index_66933ca6.js → index_3891b298.js} +1 -1
  13. package/dist/{index_bfe24110.js → index_3a6b0cd3.js} +3 -3
  14. package/dist/{index_0e190af0.js → index_4a548214.js} +8 -8
  15. package/dist/{index_8f7f1311.js → index_542dbb9a.js} +4 -4
  16. package/dist/{index_dce9b56f.js → index_547d2868.js} +4 -4
  17. package/dist/{index_8ef2dd82.js → index_61a33920.js} +6 -6
  18. package/dist/{index_be8c55cd.js → index_674ffbfa.js} +9 -9
  19. package/dist/{index_192f4d2e.js → index_6d2a3e5c.js} +2 -6
  20. package/dist/{index_a47b2b71.js → index_7382dec1.js} +5 -5
  21. package/dist/{index_d0632736.js → index_7a1bb0b1.js} +8 -8
  22. package/dist/{index_5eb2fe9f.js → index_7c12bb44.js} +1 -1
  23. package/dist/{index_52e88303.js → index_85b01410.js} +6 -6
  24. package/dist/{index_c964d4f9.js → index_8b9255eb.js} +10 -10
  25. package/dist/{index_8c886fbb.js → index_a4f5a15a.js} +19 -19
  26. package/dist/{index_d910f98e.js → index_a682c1a8.js} +1 -3
  27. package/dist/{index_b9f8fd38.js → index_a6b45215.js} +3 -7
  28. package/dist/{index_af178090.js → index_ae6c3b10.js} +3 -3
  29. package/dist/{index_50faa3fa.js → index_b21f58b7.js} +4 -4
  30. package/dist/{index_66728978.js → index_b3022c1a.js} +5 -5
  31. package/dist/{index_41dc30a7.js → index_bd7e0d56.js} +2 -2
  32. package/dist/{index_394e6e8f.js → index_c8ebd6e3.js} +11 -11
  33. package/dist/{index_a46ee29a.js → index_ca633a1c.js} +7 -7
  34. package/dist/{index_1af9af9e.js → index_d8e757ba.js} +3 -3
  35. package/dist/{index_ada459da.js → index_e168f4c0.js} +7 -7
  36. package/dist/{index_8edb57a9.js → index_e233a036.js} +1 -1
  37. package/dist/{index_98d1dfc6.js → index_e57ba5a5.js} +3 -3
  38. package/dist/{index_05b89cc8.js → index_f19b5fe5.js} +3 -3
  39. package/dist/{index_d7d50cc6.js → index_f3922fc1.js} +3 -3
  40. package/dist/{index_92a17a5e.js → index_f80541a0.js} +25 -38
  41. package/dist/{index_2c508270.js → index_f9d1a3bf.js} +1 -3
  42. package/dist/{index_df76109e.js → index_f9d461d1.js} +3 -3
  43. package/package.json +1 -2
  44. package/src/lib/context/Pioneer/sdk/connect.ts +11 -11
  45. package/dist/index_0a85a2ce.js +0 -25
  46. package/dist/index_10812439.js +0 -25
  47. package/dist/index_1098f328.js +0 -12913
  48. package/dist/index_180735b4.js +0 -22872
  49. package/dist/index_24fdd0ba.js +0 -130
  50. package/dist/index_36ed5d98.js +0 -2856
  51. package/dist/index_3d5897c4.js +0 -1115
  52. package/dist/index_a591ed33.js +0 -446
  53. package/dist/index_ab332746.js +0 -121
  54. package/dist/index_b19211e4.js +0 -112
  55. package/dist/index_b2e7cbe3.js +0 -11003
  56. package/dist/index_ccf11e2f.js +0 -65
  57. package/dist/index_d8a5e2ef.js +0 -116
@@ -1,9 +1,9 @@
1
- import { w as requireBrowser$8, q as dist, x as requireElliptic, y as getDefaultExportFromCjs, z as bnExports } from "./index_8c886fbb.js";
2
- import "./index_92a17a5e.js";
1
+ import { w as requireBrowser$8, q as dist, x as requireElliptic, y as getDefaultExportFromCjs, z as bnExports } from "./index_a4f5a15a.js";
2
+ import "./index_f80541a0.js";
3
3
  import "react";
4
4
  import "@chakra-ui/react";
5
5
  import "react-dom";
6
- import "./index_0233ab6e.js";
6
+ import "./index_0e37f5ff.js";
7
7
  function F(e, r) {
8
8
  for (var t = 0; t < r.length; t++) {
9
9
  const o = r[t];
@@ -1,4 +1,4 @@
1
- import { D, i, b as b$1, q as q$1 } from "./index_92a17a5e.js";
1
+ import { D, i, b as b$1, q as q$1 } from "./index_f80541a0.js";
2
2
  var rt = Object.defineProperty;
3
3
  var st = (n, t, e) => t in n ? rt(n, t, { enumerable: true, configurable: true, writable: true, value: e }) : n[t] = e;
4
4
  var _ = (n, t, e) => (st(n, typeof t != "symbol" ? t + "" : t, e), e), it = (n, t, e) => {
@@ -1,6 +1,6 @@
1
- import { S, A, m, O, B, T, M, k, d, D, f, F, c, p, N, K, R, a, b, I, e, P } from "./index_50faa3fa.js";
2
- import "./index_0233ab6e.js";
3
- import "./index_92a17a5e.js";
1
+ import { S, A, m, O, B, T, M, k, d, D, f, F, c, p, N, K, R, a, b, I, e, P } from "./index_b21f58b7.js";
2
+ import "./index_0e37f5ff.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -1,7 +1,7 @@
1
- import { c as commonjsGlobal, i as bnExports$1, r as requireElliptic, d as dist, j as requireCryptoBrowserify, e as build, k as getAugmentedNamespace } from "./index_0e190af0.js";
2
- import "./index_d0632736.js";
3
- import "./index_0233ab6e.js";
4
- import "./index_92a17a5e.js";
1
+ import { c as commonjsGlobal, i as bnExports$1, r as requireElliptic, d as dist, j as requireCryptoBrowserify, e as build, k as getAugmentedNamespace } from "./index_4a548214.js";
2
+ import "./index_7a1bb0b1.js";
3
+ import "./index_0e37f5ff.js";
4
+ import "./index_f80541a0.js";
5
5
  import "react";
6
6
  import "@chakra-ui/react";
7
7
  import "react-dom";
@@ -1,10 +1,10 @@
1
- import { b as On, d as Pg, a as Rg } from "./index_98d1dfc6.js";
2
- import { r as build } from "./index_8c886fbb.js";
3
- import "./index_92a17a5e.js";
1
+ import { b as On, d as Pg, a as Rg } from "./index_e57ba5a5.js";
2
+ import { r as build } from "./index_a4f5a15a.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
7
- import "./index_0233ab6e.js";
7
+ import "./index_0e37f5ff.js";
8
8
  function he(e, t) {
9
9
  for (var n = 0; n < t.length; n++) {
10
10
  const r = t[n];
@@ -1,12 +1,12 @@
1
- import { j as commonjsGlobal, m as minimal, l as long, k as any, n as helpers, o as coin, p as getIntrinsic, t as tx, q as dist, r as build, u as signing, v as multisig } from "./index_8c886fbb.js";
2
- import { a as Rg$1, b as On$1, r as Or$1, s as Tr$1, c as At$1, d as Pg$1 } from "./index_98d1dfc6.js";
3
- import { t as Te$1, a as Ke$1, b as Ne$1 } from "./index_a47b2b71.js";
4
- import { b as oe } from "./index_343f9468.js";
5
- import "./index_92a17a5e.js";
1
+ import { j as commonjsGlobal, m as minimal, l as long, k as any, n as helpers, o as coin, p as getIntrinsic, t as tx, q as dist, r as build, u as signing, v as multisig } from "./index_a4f5a15a.js";
2
+ import { a as Rg$1, b as On$1, r as Or$1, s as Tr$1, c as At$1, d as Pg$1 } from "./index_e57ba5a5.js";
3
+ import { t as Te$1, a as Ke$1, b as Ne$1 } from "./index_7382dec1.js";
4
+ import { b as oe } from "./index_29e62962.js";
5
+ import "./index_f80541a0.js";
6
6
  import "react";
7
7
  import "@chakra-ui/react";
8
8
  import "react-dom";
9
- import "./index_0233ab6e.js";
9
+ import "./index_0e37f5ff.js";
10
10
  function Bc(e, t) {
11
11
  for (var p = 0; p < t.length; p++) {
12
12
  const i = t[p];
@@ -1,5 +1,5 @@
1
- import { g as global } from "./index_92a17a5e.js";
2
- import { A as AbstractSigner } from "./index_8edb57a9.js";
1
+ import { g as global } from "./index_f80541a0.js";
2
+ import { A as AbstractSigner } from "./index_e233a036.js";
3
3
  var be = Object.defineProperty;
4
4
  var Fe = (e82, n, s) => n in e82 ? be(e82, n, { enumerable: true, configurable: true, writable: true, value: s }) : e82[n] = s;
5
5
  var z = (e82, n, s) => (Fe(e82, typeof n != "symbol" ? n + "" : n, s), s);
@@ -4327,7 +4327,7 @@ class WalletconnectSigner extends AbstractSigner {
4327
4327
  });
4328
4328
  z(this, "sendTransaction", async ({ from: s2, to: m2, value: l2, data: _ }) => {
4329
4329
  var h;
4330
- const { toHexString: y } = await import("./index_bfe24110.js"), c = {
4330
+ const { toHexString: y } = await import("./index_3a6b0cd3.js"), c = {
4331
4331
  from: s2,
4332
4332
  to: m2,
4333
4333
  value: y(BigInt(l2 || 0)),
@@ -4428,11 +4428,11 @@ const getToolbox = async ({
4428
4428
  throw new Error("Ethplorer API key not found");
4429
4429
  if (e82 !== i$1.Ethereum && !s)
4430
4430
  throw new Error("Covalent API key not found");
4431
- const { getProvider: c, ETHToolbox: h, AVAXToolbox: S, BSCToolbox: w } = await import("./index_bfe24110.js"), F = c(e82), U = await getEVMSigner({ walletconnect: m, chain: e82, provider: F });
4431
+ const { getProvider: c, ETHToolbox: h, AVAXToolbox: S, BSCToolbox: w } = await import("./index_3a6b0cd3.js"), F = c(e82), U = await getEVMSigner({ walletconnect: m, chain: e82, provider: F });
4432
4432
  return e82 === i$1.Ethereum ? h({ provider: F, signer: U, ethplorerApiKey: n }) : e82 === i$1.Avalanche ? S({ provider: F, signer: U, covalentApiKey: s }) : w({ provider: F, signer: U, covalentApiKey: s });
4433
4433
  }
4434
4434
  case i$1.Binance: {
4435
- const { sortObject: c, BinanceToolbox: h } = await import("./index_a2c6091a.js"), S = h();
4435
+ const { sortObject: c, BinanceToolbox: h } = await import("./index_37894947.js"), S = h();
4436
4436
  return { ...S, transfer: async ({ recipient: F, assetValue: U, memo: P }) => {
4437
4437
  var u;
4438
4438
  const v = await S.getAccount(y), { transaction: V, signMsg: N } = await S.createTransactionAndSignMsg({
@@ -4460,7 +4460,7 @@ const getToolbox = async ({
4460
4460
  } };
4461
4461
  }
4462
4462
  case i$1.THORChain: {
4463
- const { getDenomWithChain: c, ThorchainToolbox: h } = await import("./index_a2c6091a.js"), S = h({ stagenet: false }), w = (P) => m == null ? void 0 : m.client.request({
4463
+ const { getDenomWithChain: c, ThorchainToolbox: h } = await import("./index_37894947.js"), S = h({ stagenet: false }), w = (P) => m == null ? void 0 : m.client.request({
4464
4464
  chainId: THORCHAIN_MAINNET_ID,
4465
4465
  topic: _.topic,
4466
4466
  request: {
@@ -4486,7 +4486,7 @@ const getToolbox = async ({
4486
4486
  from_address: l,
4487
4487
  to_address: v
4488
4488
  }
4489
- }, { encodePubkey: W, makeAuthInfoBytes: Q } = await import("./index_41dc30a7.js").then((n2) => n2.i), { makeSignDoc: u } = await import("./index_fd3a5ec6.js").then((n2) => n2.i), { fromBase64: d } = await import("./index_192f4d2e.js").then((n2) => n2.i), { StargateClient: E } = await import("./index_d7d50cc6.js").then((n2) => n2.i), { Int53: C } = await import("./index_b9f8fd38.js").then((n2) => n2.i), b = u(
4489
+ }, { encodePubkey: W, makeAuthInfoBytes: Q } = await import("./index_bd7e0d56.js").then((n2) => n2.i), { makeSignDoc: u } = await import("./index_354cce52.js").then((n2) => n2.i), { fromBase64: d } = await import("./index_6d2a3e5c.js").then((n2) => n2.i), { StargateClient: E } = await import("./index_f3922fc1.js").then((n2) => n2.i), { Int53: C } = await import("./index_a6b45215.js").then((n2) => n2.i), b = u(
4490
4490
  [$],
4491
4491
  DEFAULT_THORCHAIN_FEE,
4492
4492
  T.THORChain,
@@ -4542,7 +4542,7 @@ const getToolbox = async ({
4542
4542
  memo: v,
4543
4543
  signer: l
4544
4544
  }
4545
- }, { makeSignDoc: G } = await import("./index_fd3a5ec6.js").then((n2) => n2.i), { fromBase64: $ } = await import("./index_192f4d2e.js").then((n2) => n2.i), { StargateClient: W } = await import("./index_d7d50cc6.js").then((n2) => n2.i), { Int53: Q } = await import("./index_b9f8fd38.js").then((n2) => n2.i), { encodePubkey: u, makeAuthInfoBytes: d } = await import("./index_41dc30a7.js").then((n2) => n2.i), E = G(
4545
+ }, { makeSignDoc: G } = await import("./index_354cce52.js").then((n2) => n2.i), { fromBase64: $ } = await import("./index_6d2a3e5c.js").then((n2) => n2.i), { StargateClient: W } = await import("./index_f3922fc1.js").then((n2) => n2.i), { Int53: Q } = await import("./index_a6b45215.js").then((n2) => n2.i), { encodePubkey: u, makeAuthInfoBytes: d } = await import("./index_bd7e0d56.js").then((n2) => n2.i), E = G(
4546
4546
  [L],
4547
4547
  DEFAULT_THORCHAIN_FEE,
4548
4548
  T.THORChain,
@@ -4592,7 +4592,7 @@ const getToolbox = async ({
4592
4592
  try {
4593
4593
  if (!n)
4594
4594
  throw new Error("Error while setting up walletconnect connection: Project ID not specified");
4595
- const m = getRequiredNamespaces(e82.map(chainToChainId)), { WalletConnectModalSign: l } = await import("./index_8f7f1311.js").then((h) => h.i), _ = new l({
4595
+ const m = getRequiredNamespaces(e82.map(chainToChainId)), { WalletConnectModalSign: l } = await import("./index_542dbb9a.js").then((h) => h.i), _ = new l({
4596
4596
  logger: DEFAULT_LOGGER,
4597
4597
  relayUrl: DEFAULT_RELAY_URL,
4598
4598
  projectId: n,
@@ -1,6 +1,6 @@
1
- import { c as commonjsGlobal, d as base64Js, e as bech32$2, h as buffer, _ as _assert, k as utils$1, l as _sha2, r as require$$0, s as sha256$1, m as getAugmentedNamespace, p as process } from "./index_92a17a5e.js";
2
- import { b as bnExports } from "./index_2c508270.js";
3
- import { e as elliptic } from "./index_d910f98e.js";
1
+ import { c as commonjsGlobal, a as base64Js, d as bech32$2, f as buffer, _ as _assert, h as utils$1, k as _sha2, r as require$$0, s as sha256$1, l as getAugmentedNamespace, p as process } from "./index_f80541a0.js";
2
+ import { b as bnExports } from "./index_f9d1a3bf.js";
3
+ import { e as elliptic } from "./index_a682c1a8.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -1,6 +1,6 @@
1
- import { A, B, D, G, K, M, T, b, a, c, e, g, d, f, i, h, s } from "./index_8c886fbb.js";
2
- import "./index_0233ab6e.js";
3
- import "./index_92a17a5e.js";
1
+ import { A, B, D, G, K, M, T, b, a, c, e, g, d, f, i, h, s } from "./index_a4f5a15a.js";
2
+ import "./index_0e37f5ff.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { u as usePioneer, j as jsxRuntimeExports } from "./index_92a17a5e.js";
1
+ import { u as usePioneer, j as jsxRuntimeExports } from "./index_f80541a0.js";
2
2
  import { useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, Button, Tabs, TabList, Tab, TabPanels, TabPanel } from "@chakra-ui/react";
3
3
  import { useState, useEffect } from "react";
4
4
  import "react-dom";
@@ -1,6 +1,6 @@
1
- import { S, Y, X, o, t, e, M, P, B, a, A, l, K, J, _, x, d, h, b, Z, E, c, Q } from "./index_be8c55cd.js";
2
- import "./index_0233ab6e.js";
3
- import "./index_92a17a5e.js";
1
+ import { S, Y, X, o, t, e, M, P, B, a, A, l, K, J, _, x, d, h, b, Z, E, c, Q } from "./index_674ffbfa.js";
2
+ import "./index_0e37f5ff.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -1,6 +1,6 @@
1
- import { r as re } from "./index_d0632736.js";
2
- import { A as A$1 } from "./index_0233ab6e.js";
3
- import "./index_92a17a5e.js";
1
+ import { r as re } from "./index_7a1bb0b1.js";
2
+ import { A as A$1 } from "./index_0e37f5ff.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -20231,7 +20231,7 @@ class CosmosClient {
20231
20231
  }) => {
20232
20232
  if (!F)
20233
20233
  throw new Error("Signer not defined");
20234
- const { SigningStargateClient: Y } = await import("./index_a46ee29a.js").then((J) => J.i);
20234
+ const { SigningStargateClient: Y } = await import("./index_ca633a1c.js").then((J) => J.i);
20235
20235
  return (await (await Y.connectWithSigner(this.rpcUrl, F)).sendTokens(
20236
20236
  h,
20237
20237
  P,
@@ -20240,10 +20240,10 @@ class CosmosClient {
20240
20240
  $
20241
20241
  )).transactionHash;
20242
20242
  }), tt(this, Zr, async () => {
20243
- const { StargateClient: h } = await import("./index_a46ee29a.js").then((P) => P.i);
20243
+ const { StargateClient: h } = await import("./index_ca633a1c.js").then((P) => P.i);
20244
20244
  return await h.connect(this.rpcUrl);
20245
20245
  }), tt(this, Xr, async (h, P) => {
20246
- const { Secp256k1HdWallet: v } = await import("./index_66728978.js").then((g) => g.i), { stringToPath: $ } = await import("./index_f1c394c8.js").then((g) => g.i);
20246
+ const { Secp256k1HdWallet: v } = await import("./index_b3022c1a.js").then((g) => g.i), { stringToPath: $ } = await import("./index_1990afbf.js").then((g) => g.i);
20247
20247
  return await v.fromMnemonic(h, {
20248
20248
  prefix: this.prefix,
20249
20249
  hdPaths: [$(P)]
@@ -20341,14 +20341,14 @@ const O$1 = (u85) => ("recipientAddress" in u85 && u85.recipientAddress && (u85.
20341
20341
  }) => ({
20342
20342
  transfer: c.transfer,
20343
20343
  getSigner: async (l) => {
20344
- const { DirectSecp256k1HdWallet: m } = await import("./index_8ef2dd82.js").then((h) => h.i), { stringToPath: q } = await import("./index_f1c394c8.js").then((h) => h.i);
20344
+ const { DirectSecp256k1HdWallet: m } = await import("./index_61a33920.js").then((h) => h.i), { stringToPath: q } = await import("./index_1990afbf.js").then((h) => h.i);
20345
20345
  return m.fromMnemonic(l, {
20346
20346
  prefix: c.prefix,
20347
20347
  hdPaths: [q(`${u85}/0`)]
20348
20348
  });
20349
20349
  },
20350
20350
  getSignerFromPrivateKey: async (l) => {
20351
- const { DirectSecp256k1Wallet: m } = await import("./index_8ef2dd82.js").then((q) => q.i);
20351
+ const { DirectSecp256k1Wallet: m } = await import("./index_61a33920.js").then((q) => q.i);
20352
20352
  return m.fromKey(l, c.prefix);
20353
20353
  },
20354
20354
  getAccount: c.getAccount,
@@ -1,9 +1,9 @@
1
- import { c as commonjsGlobal, d as dist, g as getAugmentedNamespace, b as buffer, a as getDefaultExportFromCjs } from "./index_3d7082d3.js";
2
- import "./index_92a17a5e.js";
1
+ import { c as commonjsGlobal, d as dist, g as getAugmentedNamespace, b as buffer, a as getDefaultExportFromCjs } from "./index_310b7772.js";
2
+ import "./index_f80541a0.js";
3
3
  import "react";
4
4
  import "@chakra-ui/react";
5
5
  import "react-dom";
6
- import "./index_8edb57a9.js";
6
+ import "./index_e233a036.js";
7
7
  const Tp = Symbol(), bc = Object.getPrototypeOf, Ho = /* @__PURE__ */ new WeakMap(), Bp = (t) => t && (Ho.has(t) ? Ho.get(t) : bc(t) === Object.prototype || bc(t) === Array.prototype), Np = (t) => Bp(t) && t[Tp] || null, vc = (t, e = true) => {
8
8
  Ho.set(t, e);
9
9
  }, Xn = (t) => typeof t == "object" && t !== null, Pr = /* @__PURE__ */ new WeakMap(), sn = /* @__PURE__ */ new WeakSet(), Lp = (t = Object.is, e = (s, l) => new Proxy(s, l), r = (s) => Xn(s) && !sn.has(s) && (Array.isArray(s) || !(Symbol.iterator in s)) && !(s instanceof WeakMap) && !(s instanceof WeakSet) && !(s instanceof Error) && !(s instanceof Number) && !(s instanceof Date) && !(s instanceof String) && !(s instanceof RegExp) && !(s instanceof ArrayBuffer), i = (s) => s.configurable && s.enumerable && s.writable, a = (s) => {
@@ -417,7 +417,7 @@ let eb = class {
417
417
  }
418
418
  async initUi() {
419
419
  if (typeof window < "u") {
420
- await import("./index_dce9b56f.js");
420
+ await import("./index_547d2868.js");
421
421
  const e = document.createElement("wcm-modal");
422
422
  document.body.insertAdjacentElement("beforeend", e), ir.setIsUiLoaded(true);
423
423
  }
@@ -1,10 +1,10 @@
1
- import { n as Sc, s as Zn$1, T as Ql, o as S4, R as kp, t as x4, a as Ot$1, y as di$1, p as ir$1 } from "./index_8f7f1311.js";
2
- import { d as dist } from "./index_3d7082d3.js";
3
- import "./index_92a17a5e.js";
1
+ import { n as Sc, s as Zn$1, T as Ql, o as S4, R as kp, t as x4, a as Ot$1, y as di$1, p as ir$1 } from "./index_542dbb9a.js";
2
+ import { d as dist } from "./index_310b7772.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
7
- import "./index_8edb57a9.js";
7
+ import "./index_e233a036.js";
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
@@ -1,9 +1,9 @@
1
- import { c as commonjsGlobal, l as long, m as minimal, e as build, h as helpers, a as any, b as coin, d as dist, t as tx, s as signing } from "./index_0e190af0.js";
2
- import { b as oe$1 } from "./index_66728978.js";
3
- import { b as Vn, d as Pi, a as Ri } from "./index_f1c394c8.js";
4
- import "./index_d0632736.js";
5
- import "./index_0233ab6e.js";
6
- import "./index_92a17a5e.js";
1
+ import { c as commonjsGlobal, l as long, m as minimal, e as build, h as helpers, a as any, b as coin, d as dist, t as tx, s as signing } from "./index_4a548214.js";
2
+ import { b as oe$1 } from "./index_b3022c1a.js";
3
+ import { b as Vn, d as Pi, a as Ri } from "./index_1990afbf.js";
4
+ import "./index_7a1bb0b1.js";
5
+ import "./index_0e37f5ff.js";
6
+ import "./index_f80541a0.js";
7
7
  import "react";
8
8
  import "@chakra-ui/react";
9
9
  import "react-dom";
@@ -1,5 +1,5 @@
1
- import { g as global } from "./index_92a17a5e.js";
2
- import { A, b as bt, y as yt, G, M as Mt$1, m as mt } from "./index_0233ab6e.js";
1
+ import { g as global } from "./index_f80541a0.js";
2
+ import { A, b as bt, y as yt, G, M as Mt$1, m as mt } from "./index_0e37f5ff.js";
3
3
  var Uv = Object.defineProperty;
4
4
  var Fv = (t10, e, r) => e in t10 ? Uv(t10, e, { enumerable: true, configurable: true, writable: true, value: r }) : t10[e] = r;
5
5
  var Y = (t10, e, r) => (Fv(t10, typeof e != "symbol" ? e + "" : e, r), r), il = (t10, e, r) => {
@@ -216,7 +216,7 @@ const Ac = ({ apiKey: t10, chainId: e }) => ({
216
216
  }
217
217
  }), qv = "https://api.ethplorer.io", Kv = (t10 = "freekey") => ({
218
218
  getBalance: async (e) => {
219
- const { getAddress: r } = await import("./index_af178090.js"), { tokens: n } = await yt(`${qv}/getAddressInfo/${e}`, {
219
+ const { getAddress: r } = await import("./index_ae6c3b10.js"), { tokens: n } = await yt(`${qv}/getAddressInfo/${e}`, {
220
220
  apiKey: t10
221
221
  });
222
222
  return n ? n.reduce((i, a) => {
@@ -288,7 +288,7 @@ const Ac = ({ apiKey: t10, chainId: e }) => ({
288
288
  throw new Error("Requested web3 wallet is not installed");
289
289
  if (e !== Qe.Ethereum && !r || e === Qe.Ethereum && !n)
290
290
  throw new Error(`Missing API key for ${e} chain`);
291
- const { BrowserProvider: i } = await import("./index_af178090.js"), a = new i(t10, "any"), s = {
291
+ const { BrowserProvider: i } = await import("./index_ae6c3b10.js"), a = new i(t10, "any"), s = {
292
292
  provider: a,
293
293
  signer: await a.getSigner(),
294
294
  ethplorerApiKey: n,
@@ -26761,7 +26761,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
26761
26761
  [Qe.Polygon]: Ba.MATIC,
26762
26762
  [Qe.Optimism]: Ba.OP
26763
26763
  }, HM = ["payable", "nonpayable"], GM = (t10) => t10.type === 2 || !!t10.maxFeePerGas || !!t10.maxPriorityFeePerGas, $c = (t10) => t10 instanceof UM, zc = async (t10, e, r) => {
26764
- const { Interface: n, Contract: i } = await import("./index_af178090.js");
26764
+ const { Interface: n, Contract: i } = await import("./index_ae6c3b10.js");
26765
26765
  return new i(t10, n.from(e), r);
26766
26766
  }, jM = (t10) => {
26767
26767
  try {
@@ -26887,7 +26887,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
26887
26887
  feeOption: i
26888
26888
  });
26889
26889
  }
26890
- const { hexlify: D, toUtf8Bytes: N } = await import("./index_af178090.js"), C = {
26890
+ const { hexlify: D, toUtf8Bytes: N } = await import("./index_ae6c3b10.js"), C = {
26891
26891
  ...b,
26892
26892
  from: s,
26893
26893
  to: n,
@@ -26958,7 +26958,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
26958
26958
  txOverrides: o,
26959
26959
  signer: f
26960
26960
  }) => {
26961
- const { hexlify: u, toUtf8Bytes: b } = await import("./index_af178090.js"), v = e.bigIntValue, x = mt({ ...e }) ? null : dp(e, e.chain);
26961
+ const { hexlify: u, toUtf8Bytes: b } = await import("./index_ae6c3b10.js"), v = e.bigIntValue, x = mt({ ...e }) ? null : dp(e, e.chain);
26962
26962
  return x && a ? Cv(t10, {
26963
26963
  contractAddress: x,
26964
26964
  abi: uh,
@@ -27359,12 +27359,12 @@ const WM = () => ({
27359
27359
  type: "function"
27360
27360
  }
27361
27361
  ], nB = "0x420000000000000000000000000000000000000f", pp = async (t10) => {
27362
- const { Contract: e } = await import("./index_af178090.js");
27362
+ const { Contract: e } = await import("./index_ae6c3b10.js");
27363
27363
  return new e(nB, rB, t10);
27364
27364
  }, Ov = async (t10) => (await pp(t10)).l1BaseFee(), kv = async (t10, { data: e, from: r, to: n, gasPrice: i, type: a, gasLimit: s, nonce: o }) => {
27365
27365
  if (!n)
27366
27366
  throw new Error("Missing to address");
27367
- const { Transaction: f } = await import("./index_af178090.js");
27367
+ const { Transaction: f } = await import("./index_ae6c3b10.js");
27368
27368
  return f.from({
27369
27369
  data: e,
27370
27370
  to: n,
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, d as base64Js, e as bech32$2, a as getDefaultExportFromCjs } from "./index_92a17a5e.js";
1
+ import { c as commonjsGlobal, a as base64Js, d as bech32$2 } from "./index_f80541a0.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -279,13 +279,9 @@ utf8.fromUtf8 = fromUtf8;
279
279
  return utf8_1.toUtf8;
280
280
  } });
281
281
  })(build);
282
- const H1 = /* @__PURE__ */ getDefaultExportFromCjs(build);
283
282
  const index = /* @__PURE__ */ _mergeNamespaces({
284
- __proto__: null,
285
- default: H1
283
+ __proto__: null
286
284
  }, [build]);
287
285
  export {
288
- H1 as H,
289
- build as b,
290
286
  index as i
291
287
  };
@@ -1,11 +1,11 @@
1
- import { j as commonjsGlobal, l as long, m as minimal, r as build, n as helpers, k as any, o as coin, q as dist, t as tx, u as signing } from "./index_8c886fbb.js";
2
- import { b as oe$1 } from "./index_343f9468.js";
3
- import { b as On$1, d as Pg, a as Rg } from "./index_98d1dfc6.js";
4
- import "./index_92a17a5e.js";
1
+ import { j as commonjsGlobal, l as long, m as minimal, r as build, n as helpers, k as any, o as coin, q as dist, t as tx, u as signing } from "./index_a4f5a15a.js";
2
+ import { b as oe$1 } from "./index_29e62962.js";
3
+ import { b as On$1, d as Pg, a as Rg } from "./index_e57ba5a5.js";
4
+ import "./index_f80541a0.js";
5
5
  import "react";
6
6
  import "@chakra-ui/react";
7
7
  import "react-dom";
8
- import "./index_0233ab6e.js";
8
+ import "./index_0e37f5ff.js";
9
9
  function Ie(e, t) {
10
10
  for (var o = 0; o < t.length; o++) {
11
11
  const c = t[o];
@@ -1,4 +1,4 @@
1
- import { g as global } from "./index_92a17a5e.js";
1
+ import { g as global } from "./index_f80541a0.js";
2
2
  var Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  var re = {}, dr = {}, ua = {};
4
4
  ua.byteLength = Ou;
@@ -14740,7 +14740,7 @@ const l3 = async ({
14740
14740
  throw new Error("Ethplorer API key not found");
14741
14741
  if (!n)
14742
14742
  throw new Error("Covalent API key not found");
14743
- const { HDNodeWallet: _ } = await import("./index_05b89cc8.js"), { getProvider: A, ETHToolbox: I, AVAXToolbox: T, BSCToolbox: C } = await import("./index_bfe24110.js"), L = A(r, e), P = _.fromPhrase(i).connect(L), N = { api: t3, provider: L, signer: P }, $ = r === at.Ethereum ? I({ ...N, ethplorerApiKey: a }) : r === at.Avalanche ? T({ ...N, covalentApiKey: n }) : C({ ...N, covalentApiKey: n });
14743
+ const { HDNodeWallet: _ } = await import("./index_f19b5fe5.js"), { getProvider: A, ETHToolbox: I, AVAXToolbox: T, BSCToolbox: C } = await import("./index_3a6b0cd3.js"), L = A(r, e), P = _.fromPhrase(i).connect(L), N = { api: t3, provider: L, signer: P }, $ = r === at.Ethereum ? I({ ...N, ethplorerApiKey: a }) : r === at.Avalanche ? T({ ...N, covalentApiKey: n }) : C({ ...N, covalentApiKey: n });
14744
14744
  return {
14745
14745
  address: P.address,
14746
14746
  walletMethods: {
@@ -14752,7 +14752,7 @@ const l3 = async ({
14752
14752
  case at.BitcoinCash: {
14753
14753
  if (!o)
14754
14754
  throw new Error("UTXO API key not found");
14755
- const { BCHToolbox: _ } = await import("./index_e21338b4.js"), A = _({ rpcUrl: e, apiKey: o, apiClient: t3 }), I = await A.createKeysForPath({ phrase: i, derivationPath: x }), T = A.getAddressFromKeys(I), C = async ({
14755
+ const { BCHToolbox: _ } = await import("./index_167c5f7a.js"), A = _({ rpcUrl: e, apiKey: o, apiClient: t3 }), I = await A.createKeysForPath({ phrase: i, derivationPath: x }), T = A.getAddressFromKeys(I), C = async ({
14756
14756
  builder: P,
14757
14757
  utxos: N
14758
14758
  }) => (N.forEach(($, q) => {
@@ -14767,7 +14767,7 @@ const l3 = async ({
14767
14767
  case at.Bitcoin:
14768
14768
  case at.Dogecoin:
14769
14769
  case at.Litecoin: {
14770
- const _ = { rpcUrl: e, apiKey: o, apiClient: t3 }, { BTCToolbox: A, LTCToolbox: I, DOGEToolbox: T } = await import("./index_e21338b4.js"), C = r === at.Bitcoin ? A(_) : r === at.Litecoin ? I(_) : T(_), L = await C.createKeysForPath({ phrase: i, derivationPath: x }), P = C.getAddressFromKeys(L), N = async ($) => ($.signAllInputs(L), $);
14770
+ const _ = { rpcUrl: e, apiKey: o, apiClient: t3 }, { BTCToolbox: A, LTCToolbox: I, DOGEToolbox: T } = await import("./index_167c5f7a.js"), C = r === at.Bitcoin ? A(_) : r === at.Litecoin ? I(_) : T(_), L = await C.createKeysForPath({ phrase: i, derivationPath: x }), P = C.getAddressFromKeys(L), N = async ($) => ($.signAllInputs(L), $);
14771
14771
  return {
14772
14772
  address: P,
14773
14773
  walletMethods: {
@@ -14778,7 +14778,7 @@ const l3 = async ({
14778
14778
  };
14779
14779
  }
14780
14780
  case at.Binance: {
14781
- const { BinanceToolbox: _ } = await import("./index_a2c6091a.js"), A = _(), I = await A.createKeyPair(i), T = await A.getAddressFromMnemonic(i);
14781
+ const { BinanceToolbox: _ } = await import("./index_37894947.js"), A = _(), I = await A.createKeyPair(i), T = await A.getAddressFromMnemonic(i);
14782
14782
  return {
14783
14783
  address: T,
14784
14784
  walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
@@ -14791,7 +14791,7 @@ const l3 = async ({
14791
14791
  };
14792
14792
  }
14793
14793
  case at.Cosmos: {
14794
- const { GaiaToolbox: _ } = await import("./index_a2c6091a.js"), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
14794
+ const { GaiaToolbox: _ } = await import("./index_37894947.js"), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
14795
14795
  return {
14796
14796
  address: T,
14797
14797
  walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
@@ -14804,7 +14804,7 @@ const l3 = async ({
14804
14804
  };
14805
14805
  }
14806
14806
  case at.Kujira: {
14807
- const { KujiraToolbox: _ } = await import("./index_0e190af0.js").then((L) => L.n), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
14807
+ const { KujiraToolbox: _ } = await import("./index_4a548214.js").then((L) => L.n), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
14808
14808
  return {
14809
14809
  address: T,
14810
14810
  walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
@@ -14818,7 +14818,7 @@ const l3 = async ({
14818
14818
  }
14819
14819
  case at.Maya:
14820
14820
  case at.THORChain: {
14821
- const { MayaToolbox: _, ThorchainToolbox: A } = await import("./index_a2c6091a.js"), I = r === at.THORChain ? A({ stagenet: b }) : _({ stagenet: b }), T = await I.getAddressFromMnemonic(i), C = await I.getSigner(i), N = { ...I, deposit: async ({ assetValue: $, memo: q }) => I.deposit({ assetValue: $, memo: q, from: T, signer: C }), transfer: async ({ assetValue: $, recipient: q, memo: V }) => I.transfer({
14821
+ const { MayaToolbox: _, ThorchainToolbox: A } = await import("./index_37894947.js"), I = r === at.THORChain ? A({ stagenet: b }) : _({ stagenet: b }), T = await I.getAddressFromMnemonic(i), C = await I.getSigner(i), N = { ...I, deposit: async ({ assetValue: $, memo: q }) => I.deposit({ assetValue: $, memo: q, from: T, signer: C }), transfer: async ({ assetValue: $, recipient: q, memo: V }) => I.transfer({
14822
14822
  from: T,
14823
14823
  recipient: q,
14824
14824
  signer: C,
@@ -29,7 +29,7 @@ const M = ({ addChain: _, rpcUrls: t }) => async (n) => {
29
29
  const i = I == null ? void 0 : I.getOfflineSignerOnlyAmino(R);
30
30
  if (!i)
31
31
  throw new Error("Could not load offlineSigner");
32
- const { getDenom: D, KujiraToolbox: O, GaiaToolbox: e, createCosmJS: c } = await import("./index_a2c6091a.js"), d = await c({ offlineSigner: i, rpcUrl: t[n] }), [{ address: o }] = await i.getAccounts(), C = async ({
32
+ const { getDenom: D, KujiraToolbox: O, GaiaToolbox: e, createCosmJS: c } = await import("./index_37894947.js"), d = await c({ offlineSigner: i, rpcUrl: t[n] }), [{ address: o }] = await i.getAccounts(), C = async ({
33
33
  assetValue: s,
34
34
  recipient: P,
35
35
  memo: h
@@ -1,8 +1,8 @@
1
- import { g as global } from "./index_92a17a5e.js";
2
- import { G as GaiaToolbox, T as ThorchainToolbox } from "./index_8c886fbb.js";
3
- import "./index_0233ab6e.js";
4
- import { S as SN, O as ON, T as TN, A as AN } from "./index_50faa3fa.js";
5
- import { x as xB, Y as YM, M as MB, B as BB, S as SB, X as XM, e as eB } from "./index_be8c55cd.js";
1
+ import { g as global } from "./index_f80541a0.js";
2
+ import { G as GaiaToolbox, T as ThorchainToolbox } from "./index_a4f5a15a.js";
3
+ import "./index_0e37f5ff.js";
4
+ import { S as SN, O as ON, T as TN, A as AN } from "./index_b21f58b7.js";
5
+ import { x as xB, Y as YM, M as MB, B as BB, S as SB, X as XM, e as eB } from "./index_674ffbfa.js";
6
6
  import "react";
7
7
  import "@chakra-ui/react";
8
8
  import "react-dom";
@@ -54590,7 +54590,7 @@ class MetaMaskSigner extends AbstractSigner {
54590
54590
  throw new Error("Missing maxFeePerGas");
54591
54591
  if (!J && !N)
54592
54592
  throw new Error("Missing gasPrice");
54593
- const { toHexString: C } = await import("./index_bfe24110.js"), k = "0x" + BigInt(_ || await this.provider.getTransactionCount(await this.getAddress(), "pending")).toString(16);
54593
+ const { toHexString: C } = await import("./index_3a6b0cd3.js"), k = "0x" + BigInt(_ || await this.provider.getTransactionCount(await this.getAddress(), "pending")).toString(16);
54594
54594
  console.log("value: ", d2);
54595
54595
  let V = {
54596
54596
  gas: C(BigInt(h2)),
@@ -1,6 +1,6 @@
1
- import { A } from "./index_0233ab6e.js";
2
- import { c as a0 } from "./index_be8c55cd.js";
3
- import "./index_92a17a5e.js";
1
+ import { A } from "./index_0e37f5ff.js";
2
+ import { c as a0 } from "./index_674ffbfa.js";
3
+ import "./index_f80541a0.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -106,7 +106,7 @@ const u = (t) => {
106
106
  return F({ method: r, params: I, chain: t.chain });
107
107
  }, P = ({ chainId: t, rpcUrl: i }) => async ({ from: a, recipient: e, assetValue: r, memo: E }) => {
108
108
  var N, A2;
109
- const { createCosmJS: _ } = await import("./index_a2c6091a.js"), I = (A2 = (N = window.xfi) == null ? void 0 : N.keplr) == null ? void 0 : A2.getOfflineSignerOnlyAmino(t), s = await _({ offlineSigner: I, rpcUrl: i }), S = [
109
+ const { createCosmJS: _ } = await import("./index_37894947.js"), I = (A2 = (N = window.xfi) == null ? void 0 : N.keplr) == null ? void 0 : A2.getOfflineSignerOnlyAmino(t), s = await _({ offlineSigner: I, rpcUrl: i }), S = [
110
110
  { denom: (r == null ? void 0 : r.symbol) === "MUON" ? "umuon" : "uatom", amount: r.baseValue }
111
111
  ], { transactionHash: c } = await s.sendTokens(a, e, S, 1.6, E);
112
112
  return c;
@@ -123,7 +123,7 @@ const y = async ({
123
123
  var _, I;
124
124
  switch (t) {
125
125
  case o.THORChain: {
126
- const { DEFAULT_GAS_VALUE: s, ThorchainToolbox: S } = await import("./index_a2c6091a.js");
126
+ const { DEFAULT_GAS_VALUE: s, ThorchainToolbox: S } = await import("./index_37894947.js");
127
127
  return {
128
128
  ...S({ stagenet: false }),
129
129
  deposit: (c) => T({ ...c, recipient: "" }, "deposit"),
@@ -131,21 +131,21 @@ const y = async ({
131
131
  };
132
132
  }
133
133
  case o.Cosmos: {
134
- const { GaiaToolbox: s } = await import("./index_a2c6091a.js");
134
+ const { GaiaToolbox: s } = await import("./index_37894947.js");
135
135
  return {
136
136
  ...s({ server: E }),
137
137
  transfer: P({ chainId: ChainId.Cosmos, rpcUrl: r || D.Cosmos })
138
138
  };
139
139
  }
140
140
  case o.Kujira: {
141
- const { KujiraToolbox: s } = await import("./index_a2c6091a.js");
141
+ const { KujiraToolbox: s } = await import("./index_37894947.js");
142
142
  return {
143
143
  ...s(),
144
144
  transfer: P({ chainId: ChainId.Kujira, rpcUrl: r || D.Kujira })
145
145
  };
146
146
  }
147
147
  case o.Binance: {
148
- const { BinanceToolbox: s } = await import("./index_a2c6091a.js");
148
+ const { BinanceToolbox: s } = await import("./index_37894947.js");
149
149
  return { ...s(), transfer: T };
150
150
  }
151
151
  case o.Ethereum:
@@ -160,7 +160,7 @@ const y = async ({
160
160
  addEVMWalletNetwork: l,
161
161
  covalentApi: U,
162
162
  ethplorerApi: f
163
- } = await import("./index_bfe24110.js"), { BrowserProvider: M } = await import("./index_05b89cc8.js"), O = (_ = window.xfi) == null ? void 0 : _.ethereum;
163
+ } = await import("./index_3a6b0cd3.js"), { BrowserProvider: M } = await import("./index_f19b5fe5.js"), O = (_ = window.xfi) == null ? void 0 : _.ethereum;
164
164
  if (!O)
165
165
  throw new Error("Requested web3 wallet is not installed");
166
166
  if (t !== o.Ethereum && !a || t === o.Ethereum && !i)
@@ -203,7 +203,7 @@ const y = async ({
203
203
  case o.BitcoinCash:
204
204
  case o.Dogecoin:
205
205
  case o.Litecoin: {
206
- const { BCHToolbox: s, BTCToolbox: S, DOGEToolbox: c, LTCToolbox: N } = await import("./index_e21338b4.js"), A2 = { rpcUrl: r, utxoApiKey: e, apiClient: E };
206
+ const { BCHToolbox: s, BTCToolbox: S, DOGEToolbox: c, LTCToolbox: N } = await import("./index_167c5f7a.js"), A2 = { rpcUrl: r, utxoApiKey: e, apiClient: E };
207
207
  return { ...t === o.Bitcoin ? S(A2) : t === o.BitcoinCash ? s(A2) : t === o.Dogecoin ? c(A2) : N(A2), transfer: T };
208
208
  }
209
209
  default: