@pioneer-platform/pioneer-react 0.2.42 → 0.2.43

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 (91) hide show
  1. package/dist/index.d.ts +1 -6
  2. package/dist/index.js +16 -14
  3. package/dist/{index_2ae7b728.js → index_00dd884e.js} +5 -6
  4. package/dist/{index_d62adee3.js → index_089e7234.js} +1 -1
  5. package/dist/{index_6fc14522.js → index_1a6a5598.js} +5 -6
  6. package/dist/{index_5cbed275.js → index_1afbfab1.js} +246 -4473
  7. package/dist/{index_f59a43d2.js → index_2149ed8d.js} +8 -8
  8. package/dist/{index_7f071019.js → index_25e511bb.js} +15 -15
  9. package/dist/{index_b2be5e4e.js → index_28e5444b.js} +3 -4
  10. package/dist/{index_f575e7b4.js → index_31d055bf.js} +8 -9
  11. package/dist/{index_ebeabe97.js → index_3433fe56.js} +3 -4
  12. package/dist/{index_318d1d68.js → index_3ed7e242.js} +28 -28
  13. package/dist/{index_0d526d38.js → index_3fea9d52.js} +19 -19
  14. package/dist/{index_47b407db.js → index_40cbc1cb.js} +4 -5
  15. package/dist/{index_7d621758.js → index_40f2115a.js} +3 -4
  16. package/dist/{index_ed259edc.js → index_47217799.js} +5 -6
  17. package/dist/{index_5d556ec6.js → index_51bbd44a.js} +3 -4
  18. package/dist/{index_8e0864da.js → index_53605da3.js} +2 -2
  19. package/dist/{index_45b009da.js → index_5c12821e.js} +10 -11
  20. package/dist/{index_9fef85a2.js → index_5dc59e18.js} +3 -4
  21. package/dist/{index_ac8af4f0.js → index_61702928.js} +3 -4
  22. package/dist/{index_4b36612f.js → index_64ff18e7.js} +1 -1
  23. package/dist/{index_13b1e6a1.js → index_65017d87.js} +1 -1
  24. package/dist/{index_b752bc5a.js → index_6becad0b.js} +13 -13
  25. package/dist/{index_89463ea0.js → index_740490f1.js} +4 -5
  26. package/dist/{index_de955e45.js → index_75f700d8.js} +4 -5
  27. package/dist/{index_e525ec6b.js → index_7640e861.js} +8 -453
  28. package/dist/{index_d85153be.js → index_7c11b3c7.js} +3 -3
  29. package/dist/{index_61bfdb70.js → index_7c574e7d.js} +8 -9
  30. package/dist/{index_97f1ff39.js → index_7ddfebf7.js} +14 -14
  31. package/dist/{index_e47e2842.js → index_81dd7d0f.js} +7 -8
  32. package/dist/{index_a005a882.js → index_87afedd4.js} +8 -8
  33. package/dist/{index_0bbcbffb.js → index_87d14dd6.js} +6 -7
  34. package/dist/{index_aa947e34.js → index_9346dd3d.js} +7 -7
  35. package/dist/{index_70cc14bd.js → index_96d5aad1.js} +1223 -40
  36. package/dist/{index_ff288a7a.js → index_97081f9b.js} +7 -8
  37. package/dist/{index_4c07ec7c.js → index_9c378228.js} +11 -13
  38. package/dist/{index_54e4e367.js → index_a96dcbb2.js} +13 -13
  39. package/dist/{index_265bb459.js → index_a9d0b958.js} +29 -52
  40. package/dist/{index_d869d4f8.js → index_abaa7487.js} +6 -7
  41. package/dist/{index_d90e262e.js → index_b1b7d385.js} +13 -13
  42. package/dist/index_b4b501fc.js +449 -0
  43. package/dist/index_b62d8ff4.js +30 -0
  44. package/dist/{index_81d780b7.js → index_b6e5a809.js} +1 -1
  45. package/dist/{index_6424cb67.js → index_bd7bbccf.js} +2 -4
  46. package/dist/{index_381aee34.js → index_c2bc068c.js} +1 -1
  47. package/dist/{index_7861fcf0.js → index_c587fd1b.js} +3 -4
  48. package/dist/{index_239b8e07.js → index_c8c2dada.js} +1 -1
  49. package/dist/{index_bfa7b443.js → index_d26b5754.js} +7 -8
  50. package/dist/{index_015b6eba.js → index_d77fc157.js} +6154 -32027
  51. package/dist/{index_e4776b9a.js → index_db264e60.js} +13 -13
  52. package/dist/{index_2143ad7f.js → index_f044b02a.js} +1 -1
  53. package/dist/{index_1d49c612.js → index_fad80d95.js} +4 -5
  54. package/dist/lib/components/pioneer/Pioneer/Balances.js +4 -4
  55. package/dist/lib/components/pioneer/Pioneer/Paths.js +4 -4
  56. package/dist/lib/components/pioneer/Pioneer/Pubkeys.js +4 -4
  57. package/dist/lib/components/pioneer/Pioneer/Send.js +1 -1
  58. package/dist/lib/components/pioneer/Pioneer/Wallets.js +1 -1
  59. package/dist/lib/components/pioneer/index.js +7 -7
  60. package/dist/lib/pages/home/index.js +2 -9
  61. package/package.json +1 -1
  62. package/src/index.tsx +19 -19
  63. package/src/lib/components/pioneer/Pioneer/Balances.tsx +4 -4
  64. package/src/lib/components/pioneer/Pioneer/Paths.tsx +4 -4
  65. package/src/lib/components/pioneer/Pioneer/Pubkeys.tsx +4 -4
  66. package/src/lib/components/pioneer/Pioneer/Send.tsx +1 -1
  67. package/src/lib/components/pioneer/Pioneer/Wallets.tsx +2 -2
  68. package/src/lib/components/pioneer/index.tsx +6 -41
  69. package/src/lib/pages/home/index.tsx +5 -5
  70. package/dist/index_bbcb3c14.js +0 -31
  71. package/dist/lib/components/AssetSelect/index.d.ts +0 -4
  72. package/dist/lib/components/AssetSelect/index.js +0 -72
  73. package/dist/lib/components/BlockchainSelect/index.d.ts +0 -4
  74. package/dist/lib/components/BlockchainSelect/index.js +0 -88
  75. package/dist/lib/components/MiddleEllipsis/index.d.ts +0 -6
  76. package/dist/lib/components/MiddleEllipsis/index.js +0 -12
  77. package/dist/lib/components/Onboarding/index.d.ts +0 -6
  78. package/dist/lib/components/Onboarding/index.js +0 -113
  79. package/dist/lib/components/WalletSelect/index.d.ts +0 -4
  80. package/dist/lib/components/WalletSelect/index.js +0 -62
  81. package/dist/lib/components/modals/AssetModal.d.ts +0 -7
  82. package/dist/lib/components/modals/AssetModal.js +0 -28
  83. package/dist/lib/components/modals/SettingsModal.d.ts +0 -7
  84. package/dist/lib/components/modals/SettingsModal.js +0 -33
  85. package/src/lib/components/AssetSelect/index.tsx +0 -168
  86. package/src/lib/components/BlockchainSelect/index.tsx +0 -166
  87. package/src/lib/components/MiddleEllipsis/index.tsx +0 -27
  88. package/src/lib/components/Onboarding/index.tsx +0 -251
  89. package/src/lib/components/WalletSelect/index.tsx +0 -112
  90. package/src/lib/components/modals/AssetModal.tsx +0 -67
  91. package/src/lib/components/modals/SettingsModal.tsx +0 -95
@@ -1,10 +1,9 @@
1
1
  import { g as global } from "./index_86436d56.js";
2
- import { T as Tt$1, b as bt$1 } from "./index_4b36612f.js";
3
- import { A as AbstractSigner } from "./index_d85153be.js";
4
- import "./index_015b6eba.js";
2
+ import { T as Tt$1, b as bt$1 } from "./index_64ff18e7.js";
3
+ import { A as AbstractSigner } from "./index_7c11b3c7.js";
4
+ import "./index_d77fc157.js";
5
5
  import "react";
6
6
  import "@chakra-ui/react";
7
- import "@emotion/react";
8
7
  var _p = Object.defineProperty;
9
8
  var xp = (e5, t, n) => t in e5 ? _p(e5, t, { enumerable: true, configurable: true, writable: true, value: n }) : e5[t] = n;
10
9
  var Tt = (e5, t, n) => (xp(e5, typeof t != "symbol" ? t + "" : t, n), n);
@@ -23948,7 +23947,7 @@ class gs extends AbstractSigner {
23948
23947
  throw new Error("Missing maxFeePerGas");
23949
23948
  if (!l && !o)
23950
23949
  throw new Error("Missing gasPrice");
23951
- const { toHexString: h } = await import("./index_ebeabe97.js"), v = {
23950
+ const { toHexString: h } = await import("./index_3433fe56.js"), v = {
23952
23951
  from: (s5 == null ? void 0 : s5.toString()) || await this.getAddress(),
23953
23952
  chainId: parseInt(Lp[this.chain], 16),
23954
23953
  to: n5.toString(),
@@ -23968,7 +23967,7 @@ class gs extends AbstractSigner {
23968
23967
  });
23969
23968
  if (!p.success)
23970
23969
  throw new Error(p.payload.error);
23971
- const { r: _, s: x, v: R } = p.payload, { Transaction: B } = await import("./index_7d621758.js"), O = B.from({
23970
+ const { r: _, s: x, v: R } = p.payload, { Transaction: B } = await import("./index_40f2115a.js"), O = B.from({
23972
23971
  ...v,
23973
23972
  nonce: parseInt(v.nonce),
23974
23973
  type: l ? 2 : 0,
@@ -24030,7 +24029,7 @@ const M3 = async ({
24030
24029
  throw new Error("Ethplorer API key not found");
24031
24030
  if (n !== je.Ethereum && !s)
24032
24031
  throw new Error("Covalent API key not found");
24033
- const { getProvider: f, ETHToolbox: c, AVAXToolbox: a, BSCToolbox: o } = await import("./index_ebeabe97.js"), l = f(n, t), h = await A3({ chain: n, derivationPath: xl(r), provider: l }), v = await h.getAddress(), p = { api: e5, signer: h, provider: l }, _ = n === je.Ethereum ? c({ ...p, ethplorerApiKey: i }) : (n === je.Avalanche ? a : o)({
24032
+ const { getProvider: f, ETHToolbox: c, AVAXToolbox: a, BSCToolbox: o } = await import("./index_3433fe56.js"), l = f(n, t), h = await A3({ chain: n, derivationPath: xl(r), provider: l }), v = await h.getAddress(), p = { api: e5, signer: h, provider: l }, _ = n === je.Ethereum ? c({ ...p, ethplorerApiKey: i }) : (n === je.Avalanche ? a : o)({
24034
24033
  ...p,
24035
24034
  covalentApiKey: s
24036
24035
  });
@@ -24042,7 +24041,7 @@ const M3 = async ({
24042
24041
  case je.Litecoin: {
24043
24042
  if (!u && !e5)
24044
24043
  throw new Error("UTXO API key not found");
24045
- const f = n.toLowerCase(), { BTCToolbox: c, BCHToolbox: a, LTCToolbox: o, DOGEToolbox: l } = await import("./index_bbcb3c14.js");
24044
+ const f = n.toLowerCase(), { BTCToolbox: c, BCHToolbox: a, LTCToolbox: o, DOGEToolbox: l } = await import("./index_b62d8ff4.js");
24046
24045
  let h = xl(r);
24047
24046
  const v = h[0] === 84 ? { input: "SPENDWITNESS", output: "PAYTOWITNESS" } : h[0] === 49 ? { input: "SPENDP2SHWITNESS", output: "PAYTOP2SHWITNESS" } : h[0] === 44 ? { input: "SPENDADDRESS", output: "PAYTOADDRESS" } : void 0;
24048
24047
  if (!v)
@@ -1,18 +1,16 @@
1
1
  import { g as global } from "./index_86436d56.js";
2
- import { x as xB$1, Y as YM$1, M as MB$1, B as BB$1, S as SB$1, X as XM$1, e as eB$1 } from "./index_a005a882.js";
3
- import "./index_4b36612f.js";
4
- import { i, R, T, I, D, $ } from "./index_015b6eba.js";
5
- import { B as BinanceToolbox, G as GaiaToolbox, T as ThorchainToolbox } from "./index_318d1d68.js";
6
- import { b as build } from "./index_5cbed275.js";
7
- import { S as SN$1, O as ON$1, T as TN$1, A as AN$1 } from "./index_0d526d38.js";
2
+ import { x as xB$1, Y as YM$1, M as MB$1, B as BB$1, S as SB$1, X as XM$1, e as eB$1 } from "./index_87afedd4.js";
3
+ import "./index_64ff18e7.js";
4
+ import { i, R, T, I, D, $ } from "./index_d77fc157.js";
5
+ import { B as BinanceToolbox, G as GaiaToolbox, T as ThorchainToolbox } from "./index_3ed7e242.js";
6
+ import { b as build } from "./index_1afbfab1.js";
7
+ import { S as SN$1, O as ON$1, T as TN$1, A as AN$1 } from "./index_3fea9d52.js";
8
8
  import "react";
9
9
  import "@chakra-ui/react";
10
- import "@emotion/react";
11
- import "./index_e525ec6b.js";
12
- import "./index_6424cb67.js";
13
- import "./index_70cc14bd.js";
14
- import "./index_2143ad7f.js";
15
- import "./index_13b1e6a1.js";
10
+ import "./index_96d5aad1.js";
11
+ import "./index_7640e861.js";
12
+ import "./index_65017d87.js";
13
+ import "./index_bd7bbccf.js";
16
14
  var J6 = Object.defineProperty;
17
15
  var q6 = (e10, t, r) => t in e10 ? J6(e10, t, { enumerable: true, configurable: true, writable: true, value: r }) : e10[t] = r;
18
16
  var Nr = (e10, t, r) => (q6(e10, typeof t != "symbol" ? t + "" : t, r), r), Z0 = (e10, t, r) => {
@@ -24226,7 +24224,7 @@ class G0 extends tq {
24226
24224
  throw new Error("Missing maxFeePerGas");
24227
24225
  if (!M && !b)
24228
24226
  throw new Error("Missing gasPrice");
24229
- const { toHexString: D10 } = await import("./index_ebeabe97.js"), $$1 = "0x" + BigInt(o || await this.provider.getTransactionCount(await this.getAddress(), "pending")).toString(16);
24227
+ const { toHexString: D10 } = await import("./index_3433fe56.js"), $$1 = "0x" + BigInt(o || await this.provider.getTransactionCount(await this.getAddress(), "pending")).toString(16);
24230
24228
  console.log("value: ", i11);
24231
24229
  let J = {
24232
24230
  gas: D10(BigInt(s10)),
@@ -1,20 +1,20 @@
1
- import { d as dist } from "./index_265bb459.js";
2
- import { s } from "./index_d62adee3.js";
1
+ import { d as dist } from "./index_a9d0b958.js";
2
+ import { s } from "./index_089e7234.js";
3
3
  import { UserRefusedOnDevice as S$1 } from "./index_d8a5e2ef.js";
4
- import "./index_2143ad7f.js";
5
- import "./index_e525ec6b.js";
6
- import "./index_6424cb67.js";
7
- import "./index_5cbed275.js";
8
- import "./index_4b36612f.js";
9
- import "./index_8e0864da.js";
10
- import "./index_13b1e6a1.js";
4
+ import "./index_f044b02a.js";
5
+ import "./index_b4b501fc.js";
6
+ import "./index_bd7bbccf.js";
7
+ import "./index_1afbfab1.js";
8
+ import "./index_64ff18e7.js";
9
+ import "./index_7640e861.js";
10
+ import "./index_53605da3.js";
11
+ import "./index_65017d87.js";
11
12
  import "./index_86436d56.js";
12
- import "./index_015b6eba.js";
13
+ import "./index_d77fc157.js";
13
14
  import "react";
14
15
  import "@chakra-ui/react";
15
- import "@emotion/react";
16
- import "./index_d85153be.js";
17
- import "./index_70cc14bd.js";
16
+ import "./index_7c11b3c7.js";
17
+ import "./index_96d5aad1.js";
18
18
  var P = globalThis && globalThis.__awaiter || function(d, t, n, f) {
19
19
  function l(e) {
20
20
  return e instanceof n ? e : new n(function(r) {
@@ -1,18 +1,15 @@
1
1
  import { g as global } from "./index_86436d56.js";
2
- import { b as build$2 } from "./index_2143ad7f.js";
3
- import { b as build, S as Sg, a as bnExports } from "./index_e525ec6b.js";
4
- import { b as build$1 } from "./index_6424cb67.js";
5
- import { b as build$3 } from "./index_5cbed275.js";
6
- import { T as Tt } from "./index_4b36612f.js";
7
- import { b as bs58check$1, s as safeBufferExports, n as networks_1, T as Transaction } from "./index_8e0864da.js";
8
- import { b as buffer$2, c as commonjsGlobal$1, a as commonjsRequire, r as require$$0, g as getDefaultExportFromCjs$1 } from "./index_015b6eba.js";
9
- import { F as Fg, e as elliptic } from "./index_13b1e6a1.js";
10
- import { A as AbstractSigner } from "./index_d85153be.js";
2
+ import { b as build$2 } from "./index_f044b02a.js";
3
+ import { b as build } from "./index_b4b501fc.js";
4
+ import { b as build$1 } from "./index_bd7bbccf.js";
5
+ import { b as build$3 } from "./index_1afbfab1.js";
6
+ import { T as Tt } from "./index_64ff18e7.js";
7
+ import { S as Sg, b as bnExports } from "./index_7640e861.js";
8
+ import { b as bs58check$1, s as safeBufferExports, n as networks_1, T as Transaction } from "./index_53605da3.js";
9
+ import { f as buffer$2, c as commonjsGlobal$1, k as commonjsRequire, r as require$$0, g as getDefaultExportFromCjs$1 } from "./index_d77fc157.js";
10
+ import { F as Fg, e as elliptic } from "./index_65017d87.js";
11
+ import { A as AbstractSigner } from "./index_7c11b3c7.js";
11
12
  /*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
12
- function assertNumber(n) {
13
- if (!Number.isSafeInteger(n))
14
- throw new Error(`Wrong integer: ${n}`);
15
- }
16
13
  function chain(...args) {
17
14
  const wrap = (a, b) => (c) => a(b(c));
18
15
  const encode2 = Array.from(args).reverse().reduce((acc, i2) => acc ? wrap(acc, i2.encode) : i2.encode, void 0);
@@ -25,7 +22,6 @@ function alphabet(alphabet2) {
25
22
  if (!Array.isArray(digits) || digits.length && typeof digits[0] !== "number")
26
23
  throw new Error("alphabet.encode input should be an array of numbers");
27
24
  return digits.map((i2) => {
28
- assertNumber(i2);
29
25
  if (i2 < 0 || i2 >= alphabet2.length)
30
26
  throw new Error(`Digit index outside alphabet: ${i2} (alphabet: ${alphabet2.length})`);
31
27
  return alphabet2[i2];
@@ -65,7 +61,6 @@ function join(separator = "") {
65
61
  };
66
62
  }
67
63
  function padding(bits, chr = "=") {
68
- assertNumber(bits);
69
64
  if (typeof chr !== "string")
70
65
  throw new Error("padding chr should be string");
71
66
  return {
@@ -96,11 +91,6 @@ function padding(bits, chr = "=") {
96
91
  }
97
92
  };
98
93
  }
99
- function normalize(fn) {
100
- if (typeof fn !== "function")
101
- throw new Error("normalize fn should be function");
102
- return { encode: (from) => from, decode: (to) => fn(to) };
103
- }
104
94
  const gcd = (
105
95
  /* @__NO_SIDE_EFFECTS__ */
106
96
  (a, b) => !b ? a : gcd(b, a % b)
@@ -124,7 +114,6 @@ function convertRadix2(data, from, to, padding2) {
124
114
  const mask = 2 ** to - 1;
125
115
  const res = [];
126
116
  for (const n of data) {
127
- assertNumber(n);
128
117
  if (n >= 2 ** from)
129
118
  throw new Error(`convertRadix2: invalid data word=${n} from=${from}`);
130
119
  carry = carry << from | n;
@@ -145,7 +134,6 @@ function convertRadix2(data, from, to, padding2) {
145
134
  return res;
146
135
  }
147
136
  function radix2(bits, revPadding = false) {
148
- assertNumber(bits);
149
137
  if (bits <= 0 || bits > 32)
150
138
  throw new Error("radix2: bits should be in (0..32]");
151
139
  if (radix2carry(8, bits) > 32 || radix2carry(bits, 8) > 32)
@@ -173,13 +161,7 @@ function unsafeWrapper(fn) {
173
161
  }
174
162
  };
175
163
  }
176
- /* @__PURE__ */ chain(radix2(4), alphabet("0123456789ABCDEF"), join(""));
177
- /* @__PURE__ */ chain(radix2(5), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"), padding(5), join(""));
178
- /* @__PURE__ */ chain(radix2(5), alphabet("0123456789ABCDEFGHIJKLMNOPQRSTUV"), padding(5), join(""));
179
- /* @__PURE__ */ chain(radix2(5), alphabet("0123456789ABCDEFGHJKMNPQRSTVWXYZ"), join(""), normalize((s) => s.toUpperCase().replace(/O/g, "0").replace(/[IL]/g, "1")));
180
164
  const base64$2 = /* @__PURE__ */ chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"), padding(6), join(""));
181
- /* @__PURE__ */ chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), padding(6), join(""));
182
- /* @__PURE__ */ chain(radix2(6), alphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"), join(""));
183
165
  const BECH_ALPHABET = /* @__PURE__ */ chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), join(""));
184
166
  const POLYMOD_GENERATORS = [996825010, 642813549, 513874426, 1027748829, 705979059];
185
167
  function bech32Polymod(pre) {
@@ -258,11 +240,6 @@ function genBech32(encoding) {
258
240
  return { encode: encode2, decode: decode2, decodeToBytes, decodeUnsafe, fromWords, fromWordsUnsafe, toWords };
259
241
  }
260
242
  const bech32 = /* @__PURE__ */ genBech32("bech32");
261
- /* @__PURE__ */ chain(radix2(4), alphabet("0123456789abcdef"), join(""), normalize((s) => {
262
- if (typeof s !== "string" || s.length % 2)
263
- throw new TypeError(`hex.decode: expected string, got ${typeof s} with length ${s.length}`);
264
- return s.toLowerCase();
265
- }));
266
243
  /**
267
244
  * @license
268
245
  * https://github.com/ealmansi/cashaddrjs
@@ -13149,7 +13126,7 @@ const getLedgerAddress = async ({
13149
13126
  const e96 = getNavigatorUsb();
13150
13127
  if (typeof (e96 == null ? void 0 : e96.getDevices) != "function")
13151
13128
  return [];
13152
- const { ledgerUSBVendorId: r } = await import("./index_b752bc5a.js"), c = (await (e96 == null ? void 0 : e96.getDevices())).filter((a) => a.vendorId === r);
13129
+ const { ledgerUSBVendorId: r } = await import("./index_6becad0b.js"), c = (await (e96 == null ? void 0 : e96.getDevices())).filter((a) => a.vendorId === r);
13153
13130
  return c.length > 0 ? c[0] : await (e96 == null ? void 0 : e96.requestDevice({
13154
13131
  filters: [{ vendorId: r }]
13155
13132
  }));
@@ -13174,7 +13151,7 @@ const getLedgerAddress = async ({
13174
13151
  } catch (l) {
13175
13152
  throw await e96.close(), console.error(l), new Error(l.message);
13176
13153
  }
13177
- const { default: n } = await import("./index_97f1ff39.js");
13154
+ const { default: n } = await import("./index_7ddfebf7.js");
13178
13155
  if (!await n.isSupported())
13179
13156
  throw new Error("WebUSB not supported");
13180
13157
  const { DisconnectedDevice: d } = await import("./index_d8a5e2ef.js"), a = new n(e96, r.interfaceNumber), u = (l) => {
@@ -13194,7 +13171,7 @@ class EthereumLikeLedgerInterface extends AbstractSigner {
13194
13171
  ue(this, "checkOrCreateTransportAndLedger", async () => {
13195
13172
  if (this.ledgerApp)
13196
13173
  return;
13197
- const n2 = await getLedgerTransport(), { default: c } = await import("./index_d90e262e.js");
13174
+ const n2 = await getLedgerTransport(), { default: c } = await import("./index_b1b7d385.js");
13198
13175
  this.ledgerApp || (this.ledgerApp = new c(n2));
13199
13176
  });
13200
13177
  ue(this, "getAddress", async () => {
@@ -13217,7 +13194,7 @@ class EthereumLikeLedgerInterface extends AbstractSigner {
13217
13194
  const c = await ((a = this.ledgerApp) == null ? void 0 : a.signPersonalMessage(this.derivationPath, n2));
13218
13195
  if (!c)
13219
13196
  throw new Error("Signing failed");
13220
- const { Signature: d } = await import("./index_7d621758.js");
13197
+ const { Signature: d } = await import("./index_40f2115a.js");
13221
13198
  return c.r = "0x" + c.r, c.s = "0x" + c.s, d.from(c).serialized;
13222
13199
  });
13223
13200
  ue(this, "signTransaction", async (n2) => {
@@ -13238,7 +13215,7 @@ class EthereumLikeLedgerInterface extends AbstractSigner {
13238
13215
  to: (b = n2.to) == null ? void 0 : b.toString(),
13239
13216
  value: n2.value,
13240
13217
  type: n2.type || 2
13241
- }, { Transaction: a } = await import("./index_7d621758.js"), u = a.from(d).unsignedSerialized.slice(2), { ledgerService: s } = await import("./index_d90e262e.js"), l = await s.resolveTransaction(
13218
+ }, { Transaction: a } = await import("./index_40f2115a.js"), u = a.from(d).unsignedSerialized.slice(2), { ledgerService: s } = await import("./index_b1b7d385.js"), l = await s.resolveTransaction(
13242
13219
  u,
13243
13220
  {},
13244
13221
  { externalPlugins: true, erc20: true }
@@ -22270,7 +22247,7 @@ class CommonLedgerInterface {
22270
22247
  case "thor":
22271
22248
  return this.ledgerApp || (this.ledgerApp = new THORChainApp(this.transport));
22272
22249
  case "cosmos": {
22273
- const { default: r } = await import("./index_54e4e367.js");
22250
+ const { default: r } = await import("./index_a96dcbb2.js");
22274
22251
  return this.ledgerApp || (this.ledgerApp = new r(this.transport));
22275
22252
  }
22276
22253
  }
@@ -22292,7 +22269,7 @@ class UTXOLedgerInterface {
22292
22269
  ue(this, "walletFormat", "bech32");
22293
22270
  ue(this, "connect", async () => {
22294
22271
  await this.checkBtcAppAndCreateTransportWebUSB(false);
22295
- const { default: r } = await import("./index_7f071019.js");
22272
+ const { default: r } = await import("./index_25e511bb.js");
22296
22273
  this.btcApp = new r(this.transport);
22297
22274
  });
22298
22275
  ue(this, "signTransaction", async (r, n) => (await this.checkBtcAppAndCreateTransportWebUSB(), signUTXOTransaction(
@@ -22400,7 +22377,7 @@ class CosmosLedger extends CommonLedgerInterface {
22400
22377
  const d = await this.getAccounts();
22401
22378
  if (d.findIndex((h) => h.address === n2) === -1)
22402
22379
  throw new Error(`Address ${n2} not found in wallet`);
22403
- const { encodeSecp256k1Signature: u, serializeSignDoc: s } = await import("./index_70cc14bd.js").then((n3) => n3.i), { Secp256k1Signature: l } = await import("./index_e4776b9a.js").then((h) => h.i), y = s(c), f = await this.ledgerApp.sign(this.derivationPath, y);
22380
+ const { encodeSecp256k1Signature: u, serializeSignDoc: s } = await import("./index_96d5aad1.js").then((n3) => n3.i), { Secp256k1Signature: l } = await import("./index_db264e60.js").then((h) => h.i), y = s(c), f = await this.ledgerApp.sign(this.derivationPath, y);
22404
22381
  this.validateResponse(f.return_code, f.error_message);
22405
22382
  const g = l.fromDer(f.signature).toFixedLength();
22406
22383
  return {
@@ -22557,7 +22534,7 @@ const getLedgerClient = async ({
22557
22534
  return new LitecoinLedger(r);
22558
22535
  case i$1.Ethereum:
22559
22536
  case i$1.Avalanche: {
22560
- const { getProvider: n } = await import("./index_ebeabe97.js"), c = { provider: n(e96), derivationPath: r };
22537
+ const { getProvider: n } = await import("./index_3433fe56.js"), c = { provider: n(e96), derivationPath: r };
22561
22538
  return e96 === i$1.Avalanche ? new AvalancheLedger(c) : new EthereumLedger(c);
22562
22539
  }
22563
22540
  }
@@ -22594,7 +22571,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22594
22571
  case i$1.Bitcoin: {
22595
22572
  if (!u)
22596
22573
  throw new Error("UTXO API key is not defined");
22597
- const { BTCToolbox: g } = await import("./index_bbcb3c14.js"), h = g(f);
22574
+ const { BTCToolbox: g } = await import("./index_b62d8ff4.js"), h = g(f);
22598
22575
  return { ...h, transfer: async (b) => {
22599
22576
  const B = b.feeRate || (await h.getFeeRates())[D.Average], { psbt: m, inputs: w } = await h.buildTx({
22600
22577
  ...b,
@@ -22608,7 +22585,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22608
22585
  case i$1.BitcoinCash: {
22609
22586
  if (!u)
22610
22587
  throw new Error("UTXO API key is not defined");
22611
- const { BCHToolbox: g } = await import("./index_bbcb3c14.js"), h = g(f);
22588
+ const { BCHToolbox: g } = await import("./index_b62d8ff4.js"), h = g(f);
22612
22589
  return { ...h, transfer: async (b) => {
22613
22590
  const B = (await h.getFeeRates())[D.Average], { psbt: m, inputs: w } = await h.buildTx({
22614
22591
  ...b,
@@ -22623,7 +22600,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22623
22600
  case i$1.Dogecoin: {
22624
22601
  if (!u)
22625
22602
  throw new Error("UTXO API key is not defined");
22626
- const { DOGEToolbox: g } = await import("./index_bbcb3c14.js"), h = g(f);
22603
+ const { DOGEToolbox: g } = await import("./index_b62d8ff4.js"), h = g(f);
22627
22604
  return { ...h, transfer: async (b) => {
22628
22605
  const B = (await h.getFeeRates())[D.Average], { psbt: m, inputs: w } = await h.buildTx({
22629
22606
  ...b,
@@ -22638,7 +22615,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22638
22615
  case i$1.Litecoin: {
22639
22616
  if (!u)
22640
22617
  throw new Error("UTXO API key is not defined");
22641
- const { LTCToolbox: g } = await import("./index_bbcb3c14.js"), h = g(f);
22618
+ const { LTCToolbox: g } = await import("./index_b62d8ff4.js"), h = g(f);
22642
22619
  return { ...h, transfer: async (b) => {
22643
22620
  const B = await (await h.getFeeRates())[D.Average], { psbt: m, inputs: w } = await h.buildTx({
22644
22621
  ...b,
@@ -22651,7 +22628,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22651
22628
  } };
22652
22629
  }
22653
22630
  case i$1.Binance: {
22654
- const { BinanceToolbox: g } = await import("./index_9fef85a2.js"), h = g({ stagenet: false });
22631
+ const { BinanceToolbox: g } = await import("./index_5dc59e18.js"), h = g({ stagenet: false });
22655
22632
  return { ...h, transfer: async (b) => {
22656
22633
  var E;
22657
22634
  const { transaction: B, signMsg: m } = await h.createTransactionAndSignMsg({
@@ -22669,7 +22646,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22669
22646
  } };
22670
22647
  }
22671
22648
  case i$1.Cosmos: {
22672
- const { getDenom: g, GaiaToolbox: h } = await import("./index_9fef85a2.js");
22649
+ const { getDenom: g, GaiaToolbox: h } = await import("./index_5dc59e18.js");
22673
22650
  return { ...h(), transfer: async ({ assetValue: B, recipient: m, memo: w }) => {
22674
22651
  const O = n;
22675
22652
  if (!B)
@@ -22686,7 +22663,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22686
22663
  fromAddress: O,
22687
22664
  toAddress: m
22688
22665
  }
22689
- }, { GasPrice: V, SigningStargateClient: E } = await import("./index_5cbed275.js").then((n2) => n2.i);
22666
+ }, { GasPrice: V, SigningStargateClient: E } = await import("./index_1afbfab1.js").then((n2) => n2.i);
22690
22667
  return (await (await E.connectWithSigner(
22691
22668
  I.Cosmos,
22692
22669
  s,
@@ -22697,7 +22674,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22697
22674
  case i$1.Ethereum: {
22698
22675
  if (!a)
22699
22676
  throw new Error("Ethplorer API key is not defined");
22700
- const { ETHToolbox: g, getProvider: h } = await import("./index_ebeabe97.js");
22677
+ const { ETHToolbox: g, getProvider: h } = await import("./index_3433fe56.js");
22701
22678
  return g({
22702
22679
  api: e96,
22703
22680
  signer: s,
@@ -22708,7 +22685,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22708
22685
  case i$1.Avalanche: {
22709
22686
  if (!d)
22710
22687
  throw new Error("Covalent API key is not defined");
22711
- const { AVAXToolbox: g, getProvider: h } = await import("./index_ebeabe97.js");
22688
+ const { AVAXToolbox: g, getProvider: h } = await import("./index_3433fe56.js");
22712
22689
  return g({
22713
22690
  api: e96,
22714
22691
  signer: s,
@@ -22717,7 +22694,7 @@ const THORCHAIN_DEPOSIT_GAS_FEE = "500000000", THORCHAIN_SEND_GAS_FEE = "5000000
22717
22694
  });
22718
22695
  }
22719
22696
  case i$1.THORChain: {
22720
- const { getDenomWithChain: g, ThorchainToolbox: h } = await import("./index_9fef85a2.js"), _ = h({ stagenet: false });
22697
+ const { getDenomWithChain: g, ThorchainToolbox: h } = await import("./index_5dc59e18.js"), _ = h({ stagenet: false });
22721
22698
  return { ..._, deposit: async ({ assetValue: m, memo: w }) => {
22722
22699
  var we;
22723
22700
  const O = await _.getAccount(n);
@@ -1,13 +1,12 @@
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_61bfdb70.js";
2
- import { b as oe$1 } from "./index_ed259edc.js";
3
- import { b as Vn, d as Pi, a as Ri } from "./index_6fc14522.js";
4
- import "./index_aa947e34.js";
5
- import "./index_4b36612f.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_7c574e7d.js";
2
+ import { b as oe$1 } from "./index_47217799.js";
3
+ import { b as Vn, d as Pi, a as Ri } from "./index_1a6a5598.js";
4
+ import "./index_9346dd3d.js";
5
+ import "./index_64ff18e7.js";
6
6
  import "./index_86436d56.js";
7
- import "./index_015b6eba.js";
7
+ import "./index_d77fc157.js";
8
8
  import "react";
9
9
  import "@chakra-ui/react";
10
- import "@emotion/react";
11
10
  function De(e, r) {
12
11
  for (var o = 0; o < r.length; o++) {
13
12
  const u = r[o];
@@ -1,21 +1,21 @@
1
- import { d as dist, c as commonjsGlobal, r as requireCryptoBrowserify, g as getDefaultExportFromCjs, a as requireInherits_browser, b as requireReadableBrowser, e as getAugmentedNamespace } from "./index_265bb459.js";
1
+ import { d as dist, c as commonjsGlobal, r as requireCryptoBrowserify, g as getDefaultExportFromCjs, a as requireInherits_browser, b as requireReadableBrowser, e as getAugmentedNamespace } from "./index_a9d0b958.js";
2
2
  import { d } from "./index_10812439.js";
3
- import { S as Sg$1 } from "./index_e525ec6b.js";
3
+ import { S as Sg$1 } from "./index_7640e861.js";
4
4
  import { createCustomErrorClass as t, NetworkDown as D, LedgerAPI4xx as R, LedgerAPI5xx as L } from "./index_d8a5e2ef.js";
5
- import { w } from "./index_239b8e07.js";
6
- import "./index_2143ad7f.js";
7
- import "./index_6424cb67.js";
8
- import "./index_5cbed275.js";
9
- import "./index_4b36612f.js";
10
- import "./index_8e0864da.js";
11
- import "./index_13b1e6a1.js";
5
+ import { w } from "./index_c8c2dada.js";
6
+ import "./index_f044b02a.js";
7
+ import "./index_b4b501fc.js";
8
+ import "./index_bd7bbccf.js";
9
+ import "./index_1afbfab1.js";
10
+ import "./index_64ff18e7.js";
11
+ import "./index_53605da3.js";
12
+ import "./index_65017d87.js";
12
13
  import "./index_86436d56.js";
13
- import "./index_015b6eba.js";
14
+ import "./index_d77fc157.js";
14
15
  import "react";
15
16
  import "@chakra-ui/react";
16
- import "@emotion/react";
17
- import "./index_d85153be.js";
18
- import "./index_70cc14bd.js";
17
+ import "./index_7c11b3c7.js";
18
+ import "./index_96d5aad1.js";
19
19
  const wn = "logger/5.7.0";
20
20
  let pi = false, Ni = false;
21
21
  const gI = { debug: 1, default: 2, info: 2, warning: 3, error: 4, off: 5 };