@pioneer-platform/pioneer-react 0.2.42 → 0.2.45

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 +3 -8
  2. package/dist/index.js +18 -16
  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 +2 -2
  62. package/src/index.tsx +21 -21
  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
@@ -0,0 +1,449 @@
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index_d77fc157.js";
2
+ import { b as bnExports } from "./index_7640e861.js";
3
+ function _mergeNamespaces(n, m) {
4
+ for (var i = 0; i < m.length; i++) {
5
+ const e = m[i];
6
+ if (typeof e !== "string" && !Array.isArray(e)) {
7
+ for (const k in e) {
8
+ if (k !== "default" && !(k in n)) {
9
+ const d = Object.getOwnPropertyDescriptor(e, k);
10
+ if (d) {
11
+ Object.defineProperty(n, k, d.get ? d : {
12
+ enumerable: true,
13
+ get: () => e[k]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
21
+ }
22
+ var build = {};
23
+ var decimal = {};
24
+ var __importDefault$1 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
25
+ return mod && mod.__esModule ? mod : { "default": mod };
26
+ };
27
+ Object.defineProperty(decimal, "__esModule", { value: true });
28
+ decimal.Decimal = void 0;
29
+ const bn_js_1$1 = __importDefault$1(bnExports);
30
+ const maxFractionalDigits = 100;
31
+ class Decimal {
32
+ static fromUserInput(input, fractionalDigits) {
33
+ Decimal.verifyFractionalDigits(fractionalDigits);
34
+ const badCharacter = input.match(/[^0-9.]/);
35
+ if (badCharacter) {
36
+ throw new Error(`Invalid character at position ${badCharacter.index + 1}`);
37
+ }
38
+ let whole;
39
+ let fractional;
40
+ if (input === "") {
41
+ whole = "0";
42
+ fractional = "";
43
+ } else if (input.search(/\./) === -1) {
44
+ whole = input;
45
+ fractional = "";
46
+ } else {
47
+ const parts = input.split(".");
48
+ switch (parts.length) {
49
+ case 0:
50
+ case 1:
51
+ throw new Error("Fewer than two elements in split result. This must not happen here.");
52
+ case 2:
53
+ if (!parts[1])
54
+ throw new Error("Fractional part missing");
55
+ whole = parts[0];
56
+ fractional = parts[1].replace(/0+$/, "");
57
+ break;
58
+ default:
59
+ throw new Error("More than one separator found");
60
+ }
61
+ }
62
+ if (fractional.length > fractionalDigits) {
63
+ throw new Error("Got more fractional digits than supported");
64
+ }
65
+ const quantity = `${whole}${fractional.padEnd(fractionalDigits, "0")}`;
66
+ return new Decimal(quantity, fractionalDigits);
67
+ }
68
+ static fromAtomics(atomics, fractionalDigits) {
69
+ Decimal.verifyFractionalDigits(fractionalDigits);
70
+ return new Decimal(atomics, fractionalDigits);
71
+ }
72
+ /**
73
+ * Creates a Decimal with value 0.0 and the given number of fractial digits.
74
+ *
75
+ * Fractional digits are not relevant for the value but needed to be able
76
+ * to perform arithmetic operations with other decimals.
77
+ */
78
+ static zero(fractionalDigits) {
79
+ Decimal.verifyFractionalDigits(fractionalDigits);
80
+ return new Decimal("0", fractionalDigits);
81
+ }
82
+ /**
83
+ * Creates a Decimal with value 1.0 and the given number of fractial digits.
84
+ *
85
+ * Fractional digits are not relevant for the value but needed to be able
86
+ * to perform arithmetic operations with other decimals.
87
+ */
88
+ static one(fractionalDigits) {
89
+ Decimal.verifyFractionalDigits(fractionalDigits);
90
+ return new Decimal("1" + "0".repeat(fractionalDigits), fractionalDigits);
91
+ }
92
+ static verifyFractionalDigits(fractionalDigits) {
93
+ if (!Number.isInteger(fractionalDigits))
94
+ throw new Error("Fractional digits is not an integer");
95
+ if (fractionalDigits < 0)
96
+ throw new Error("Fractional digits must not be negative");
97
+ if (fractionalDigits > maxFractionalDigits) {
98
+ throw new Error(`Fractional digits must not exceed ${maxFractionalDigits}`);
99
+ }
100
+ }
101
+ static compare(a, b) {
102
+ if (a.fractionalDigits !== b.fractionalDigits)
103
+ throw new Error("Fractional digits do not match");
104
+ return a.data.atomics.cmp(new bn_js_1$1.default(b.atomics));
105
+ }
106
+ get atomics() {
107
+ return this.data.atomics.toString();
108
+ }
109
+ get fractionalDigits() {
110
+ return this.data.fractionalDigits;
111
+ }
112
+ constructor(atomics, fractionalDigits) {
113
+ if (!atomics.match(/^[0-9]+$/)) {
114
+ throw new Error("Invalid string format. Only non-negative integers in decimal representation supported.");
115
+ }
116
+ this.data = {
117
+ atomics: new bn_js_1$1.default(atomics),
118
+ fractionalDigits
119
+ };
120
+ }
121
+ /** Creates a new instance with the same value */
122
+ clone() {
123
+ return new Decimal(this.atomics, this.fractionalDigits);
124
+ }
125
+ /** Returns the greatest decimal <= this which has no fractional part (rounding down) */
126
+ floor() {
127
+ const factor = new bn_js_1$1.default(10).pow(new bn_js_1$1.default(this.data.fractionalDigits));
128
+ const whole = this.data.atomics.div(factor);
129
+ const fractional = this.data.atomics.mod(factor);
130
+ if (fractional.isZero()) {
131
+ return this.clone();
132
+ } else {
133
+ return Decimal.fromAtomics(whole.mul(factor).toString(), this.fractionalDigits);
134
+ }
135
+ }
136
+ /** Returns the smallest decimal >= this which has no fractional part (rounding up) */
137
+ ceil() {
138
+ const factor = new bn_js_1$1.default(10).pow(new bn_js_1$1.default(this.data.fractionalDigits));
139
+ const whole = this.data.atomics.div(factor);
140
+ const fractional = this.data.atomics.mod(factor);
141
+ if (fractional.isZero()) {
142
+ return this.clone();
143
+ } else {
144
+ return Decimal.fromAtomics(whole.addn(1).mul(factor).toString(), this.fractionalDigits);
145
+ }
146
+ }
147
+ toString() {
148
+ const factor = new bn_js_1$1.default(10).pow(new bn_js_1$1.default(this.data.fractionalDigits));
149
+ const whole = this.data.atomics.div(factor);
150
+ const fractional = this.data.atomics.mod(factor);
151
+ if (fractional.isZero()) {
152
+ return whole.toString();
153
+ } else {
154
+ const fullFractionalPart = fractional.toString().padStart(this.data.fractionalDigits, "0");
155
+ const trimmedFractionalPart = fullFractionalPart.replace(/0+$/, "");
156
+ return `${whole.toString()}.${trimmedFractionalPart}`;
157
+ }
158
+ }
159
+ /**
160
+ * Returns an approximation as a float type. Only use this if no
161
+ * exact calculation is required.
162
+ */
163
+ toFloatApproximation() {
164
+ const out = Number(this.toString());
165
+ if (Number.isNaN(out))
166
+ throw new Error("Conversion to number failed");
167
+ return out;
168
+ }
169
+ /**
170
+ * a.plus(b) returns a+b.
171
+ *
172
+ * Both values need to have the same fractional digits.
173
+ */
174
+ plus(b) {
175
+ if (this.fractionalDigits !== b.fractionalDigits)
176
+ throw new Error("Fractional digits do not match");
177
+ const sum = this.data.atomics.add(new bn_js_1$1.default(b.atomics));
178
+ return new Decimal(sum.toString(), this.fractionalDigits);
179
+ }
180
+ /**
181
+ * a.minus(b) returns a-b.
182
+ *
183
+ * Both values need to have the same fractional digits.
184
+ * The resulting difference needs to be non-negative.
185
+ */
186
+ minus(b) {
187
+ if (this.fractionalDigits !== b.fractionalDigits)
188
+ throw new Error("Fractional digits do not match");
189
+ const difference = this.data.atomics.sub(new bn_js_1$1.default(b.atomics));
190
+ if (difference.ltn(0))
191
+ throw new Error("Difference must not be negative");
192
+ return new Decimal(difference.toString(), this.fractionalDigits);
193
+ }
194
+ /**
195
+ * a.multiply(b) returns a*b.
196
+ *
197
+ * We only allow multiplication by unsigned integers to avoid rounding errors.
198
+ */
199
+ multiply(b) {
200
+ const product = this.data.atomics.mul(new bn_js_1$1.default(b.toString()));
201
+ return new Decimal(product.toString(), this.fractionalDigits);
202
+ }
203
+ equals(b) {
204
+ return Decimal.compare(this, b) === 0;
205
+ }
206
+ isLessThan(b) {
207
+ return Decimal.compare(this, b) < 0;
208
+ }
209
+ isLessThanOrEqual(b) {
210
+ return Decimal.compare(this, b) <= 0;
211
+ }
212
+ isGreaterThan(b) {
213
+ return Decimal.compare(this, b) > 0;
214
+ }
215
+ isGreaterThanOrEqual(b) {
216
+ return Decimal.compare(this, b) >= 0;
217
+ }
218
+ }
219
+ decimal.Decimal = Decimal;
220
+ var integers = {};
221
+ var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
222
+ return mod && mod.__esModule ? mod : { "default": mod };
223
+ };
224
+ Object.defineProperty(integers, "__esModule", { value: true });
225
+ integers.Uint64 = integers.Uint53 = integers.Int53 = integers.Uint32 = void 0;
226
+ const bn_js_1 = __importDefault(bnExports);
227
+ const uint64MaxValue = new bn_js_1.default("18446744073709551615", 10, "be");
228
+ class Uint32 {
229
+ /** @deprecated use Uint32.fromBytes */
230
+ static fromBigEndianBytes(bytes) {
231
+ return Uint32.fromBytes(bytes);
232
+ }
233
+ /**
234
+ * Creates a Uint32 from a fixed length byte array.
235
+ *
236
+ * @param bytes a list of exactly 4 bytes
237
+ * @param endianess defaults to big endian
238
+ */
239
+ static fromBytes(bytes, endianess = "be") {
240
+ if (bytes.length !== 4) {
241
+ throw new Error("Invalid input length. Expected 4 bytes.");
242
+ }
243
+ for (let i = 0; i < bytes.length; ++i) {
244
+ if (!Number.isInteger(bytes[i]) || bytes[i] > 255 || bytes[i] < 0) {
245
+ throw new Error("Invalid value in byte. Found: " + bytes[i]);
246
+ }
247
+ }
248
+ const beBytes = endianess === "be" ? bytes : Array.from(bytes).reverse();
249
+ return new Uint32(beBytes[0] * 2 ** 24 + beBytes[1] * 2 ** 16 + beBytes[2] * 2 ** 8 + beBytes[3]);
250
+ }
251
+ static fromString(str) {
252
+ if (!str.match(/^[0-9]+$/)) {
253
+ throw new Error("Invalid string format");
254
+ }
255
+ return new Uint32(Number.parseInt(str, 10));
256
+ }
257
+ constructor(input) {
258
+ if (Number.isNaN(input)) {
259
+ throw new Error("Input is not a number");
260
+ }
261
+ if (!Number.isInteger(input)) {
262
+ throw new Error("Input is not an integer");
263
+ }
264
+ if (input < 0 || input > 4294967295) {
265
+ throw new Error("Input not in uint32 range: " + input.toString());
266
+ }
267
+ this.data = input;
268
+ }
269
+ toBytesBigEndian() {
270
+ return new Uint8Array([
271
+ Math.floor(this.data / 2 ** 24) & 255,
272
+ Math.floor(this.data / 2 ** 16) & 255,
273
+ Math.floor(this.data / 2 ** 8) & 255,
274
+ Math.floor(this.data / 2 ** 0) & 255
275
+ ]);
276
+ }
277
+ toBytesLittleEndian() {
278
+ return new Uint8Array([
279
+ Math.floor(this.data / 2 ** 0) & 255,
280
+ Math.floor(this.data / 2 ** 8) & 255,
281
+ Math.floor(this.data / 2 ** 16) & 255,
282
+ Math.floor(this.data / 2 ** 24) & 255
283
+ ]);
284
+ }
285
+ toNumber() {
286
+ return this.data;
287
+ }
288
+ toBigInt() {
289
+ return BigInt(this.toNumber());
290
+ }
291
+ toString() {
292
+ return this.data.toString();
293
+ }
294
+ }
295
+ integers.Uint32 = Uint32;
296
+ class Int53 {
297
+ static fromString(str) {
298
+ if (!str.match(/^-?[0-9]+$/)) {
299
+ throw new Error("Invalid string format");
300
+ }
301
+ return new Int53(Number.parseInt(str, 10));
302
+ }
303
+ constructor(input) {
304
+ if (Number.isNaN(input)) {
305
+ throw new Error("Input is not a number");
306
+ }
307
+ if (!Number.isInteger(input)) {
308
+ throw new Error("Input is not an integer");
309
+ }
310
+ if (input < Number.MIN_SAFE_INTEGER || input > Number.MAX_SAFE_INTEGER) {
311
+ throw new Error("Input not in int53 range: " + input.toString());
312
+ }
313
+ this.data = input;
314
+ }
315
+ toNumber() {
316
+ return this.data;
317
+ }
318
+ toBigInt() {
319
+ return BigInt(this.toNumber());
320
+ }
321
+ toString() {
322
+ return this.data.toString();
323
+ }
324
+ }
325
+ integers.Int53 = Int53;
326
+ class Uint53 {
327
+ static fromString(str) {
328
+ const signed = Int53.fromString(str);
329
+ return new Uint53(signed.toNumber());
330
+ }
331
+ constructor(input) {
332
+ const signed = new Int53(input);
333
+ if (signed.toNumber() < 0) {
334
+ throw new Error("Input is negative");
335
+ }
336
+ this.data = signed;
337
+ }
338
+ toNumber() {
339
+ return this.data.toNumber();
340
+ }
341
+ toBigInt() {
342
+ return BigInt(this.toNumber());
343
+ }
344
+ toString() {
345
+ return this.data.toString();
346
+ }
347
+ }
348
+ integers.Uint53 = Uint53;
349
+ class Uint64 {
350
+ /** @deprecated use Uint64.fromBytes */
351
+ static fromBytesBigEndian(bytes) {
352
+ return Uint64.fromBytes(bytes);
353
+ }
354
+ /**
355
+ * Creates a Uint64 from a fixed length byte array.
356
+ *
357
+ * @param bytes a list of exactly 8 bytes
358
+ * @param endianess defaults to big endian
359
+ */
360
+ static fromBytes(bytes, endianess = "be") {
361
+ if (bytes.length !== 8) {
362
+ throw new Error("Invalid input length. Expected 8 bytes.");
363
+ }
364
+ for (let i = 0; i < bytes.length; ++i) {
365
+ if (!Number.isInteger(bytes[i]) || bytes[i] > 255 || bytes[i] < 0) {
366
+ throw new Error("Invalid value in byte. Found: " + bytes[i]);
367
+ }
368
+ }
369
+ const beBytes = endianess === "be" ? Array.from(bytes) : Array.from(bytes).reverse();
370
+ return new Uint64(new bn_js_1.default(beBytes));
371
+ }
372
+ static fromString(str) {
373
+ if (!str.match(/^[0-9]+$/)) {
374
+ throw new Error("Invalid string format");
375
+ }
376
+ return new Uint64(new bn_js_1.default(str, 10, "be"));
377
+ }
378
+ static fromNumber(input) {
379
+ if (Number.isNaN(input)) {
380
+ throw new Error("Input is not a number");
381
+ }
382
+ if (!Number.isInteger(input)) {
383
+ throw new Error("Input is not an integer");
384
+ }
385
+ let bigint;
386
+ try {
387
+ bigint = new bn_js_1.default(input);
388
+ } catch {
389
+ throw new Error("Input is not a safe integer");
390
+ }
391
+ return new Uint64(bigint);
392
+ }
393
+ constructor(data) {
394
+ if (data.isNeg()) {
395
+ throw new Error("Input is negative");
396
+ }
397
+ if (data.gt(uint64MaxValue)) {
398
+ throw new Error("Input exceeds uint64 range");
399
+ }
400
+ this.data = data;
401
+ }
402
+ toBytesBigEndian() {
403
+ return Uint8Array.from(this.data.toArray("be", 8));
404
+ }
405
+ toBytesLittleEndian() {
406
+ return Uint8Array.from(this.data.toArray("le", 8));
407
+ }
408
+ toString() {
409
+ return this.data.toString(10);
410
+ }
411
+ toBigInt() {
412
+ return BigInt(this.toString());
413
+ }
414
+ toNumber() {
415
+ return this.data.toNumber();
416
+ }
417
+ }
418
+ integers.Uint64 = Uint64;
419
+ (function(exports) {
420
+ Object.defineProperty(exports, "__esModule", { value: true });
421
+ exports.Uint64 = exports.Uint53 = exports.Uint32 = exports.Int53 = exports.Decimal = void 0;
422
+ var decimal_1 = decimal;
423
+ Object.defineProperty(exports, "Decimal", { enumerable: true, get: function() {
424
+ return decimal_1.Decimal;
425
+ } });
426
+ var integers_1 = integers;
427
+ Object.defineProperty(exports, "Int53", { enumerable: true, get: function() {
428
+ return integers_1.Int53;
429
+ } });
430
+ Object.defineProperty(exports, "Uint32", { enumerable: true, get: function() {
431
+ return integers_1.Uint32;
432
+ } });
433
+ Object.defineProperty(exports, "Uint53", { enumerable: true, get: function() {
434
+ return integers_1.Uint53;
435
+ } });
436
+ Object.defineProperty(exports, "Uint64", { enumerable: true, get: function() {
437
+ return integers_1.Uint64;
438
+ } });
439
+ })(build);
440
+ const Yi = /* @__PURE__ */ getDefaultExportFromCjs(build);
441
+ const index = /* @__PURE__ */ _mergeNamespaces({
442
+ __proto__: null,
443
+ default: Yi
444
+ }, [build]);
445
+ export {
446
+ Yi as Y,
447
+ build as b,
448
+ index as i
449
+ };
@@ -0,0 +1,30 @@
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_3fea9d52.js";
2
+ import "./index_64ff18e7.js";
3
+ import "./index_86436d56.js";
4
+ import "./index_d77fc157.js";
5
+ import "react";
6
+ import "@chakra-ui/react";
7
+ export {
8
+ S as BCHToolbox,
9
+ A as BTCToolbox,
10
+ m as BaseUTXOToolbox,
11
+ O as DOGEToolbox,
12
+ B as InputSizes,
13
+ T as LTCToolbox,
14
+ M as OP_RETURN_OVERHEAD,
15
+ k as OutputSizes,
16
+ d as TX_OVERHEAD,
17
+ D as UTXOScriptType,
18
+ f as accumulative,
19
+ F as calculateTxSize,
20
+ c as compileMemo,
21
+ p as getDustThreshold,
22
+ N as getInputSize,
23
+ K as getNetwork,
24
+ R as getOutputSize,
25
+ a as getScriptTypeForAddress,
26
+ b as getSeed,
27
+ I as standardFeeRates,
28
+ e as uniqid,
29
+ P as validatePhrase
30
+ };
@@ -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_9fef85a2.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_5dc59e18.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,7 +1,5 @@
1
- import { c as commonjsGlobal, b as buffer } from "./index_015b6eba.js";
2
- import { b as build$1, c as build$3, a as build$4 } from "./index_70cc14bd.js";
3
- import { b as build$2 } from "./index_2143ad7f.js";
4
- import { b as build$5 } from "./index_e525ec6b.js";
1
+ import { c as commonjsGlobal, f as buffer } from "./index_d77fc157.js";
2
+ import { b as build$1, a as build$2, c as build$3, d as build$4, e as build$5 } from "./index_96d5aad1.js";
5
3
  function _mergeNamespaces(n, m) {
6
4
  for (var i = 0; i < m.length; i++) {
7
5
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { d as dist, g as getDefaultExportFromCjs } from "./index_265bb459.js";
1
+ import { d as dist, g as getDefaultExportFromCjs } from "./index_a9d0b958.js";
2
2
  var Re = { exports: {} };
3
3
  const $t = "2.0.0", Je = 256, mt = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
4
4
  9007199254740991, vt = 16, Rt = Je - 6, gt = [
@@ -1,10 +1,9 @@
1
- import { f, g, I, V, j, U, i, k, q, m, s, p, n, r, G, u, O, v, w, y, H, z, C, D, F, L, N, R, T, W, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd } from "./index_a005a882.js";
2
- import "./index_4b36612f.js";
1
+ import { f, g, I, V, j, U, i, k, q, m, s, p, n, r, G, u, O, v, w, y, H, z, C, D, F, L, N, R, T, W, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd } from "./index_87afedd4.js";
2
+ import "./index_64ff18e7.js";
3
3
  import "./index_86436d56.js";
4
- import "./index_015b6eba.js";
4
+ import "./index_d77fc157.js";
5
5
  import "react";
6
6
  import "@chakra-ui/react";
7
- import "@emotion/react";
8
7
  export {
9
8
  f as AbiCoder,
10
9
  g as AbstractProvider,
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, d as dist } from "./index_265bb459.js";
1
+ import { g as getDefaultExportFromCjs, d as dist } from "./index_a9d0b958.js";
2
2
  var l = function(i, e, r, a, o, t, s, d) {
3
3
  if (dist.process.env.NODE_ENV !== "production" && e === void 0)
4
4
  throw new Error("invariant requires an error message argument");
@@ -1,14 +1,13 @@
1
- import { c as commonjsGlobal, m as minimal, l as long, a as any, h as helpers, b as coin, g as getIntrinsic, t as tx, d as dist, e as build, s as signing, f as multisig } from "./index_61bfdb70.js";
2
- import { a as Ri$1, b as Vn$1, r as VI, s as TI, c as Ar$1, d as Pi$1 } from "./index_6fc14522.js";
3
- import { t as Te$1, a as xe$1, b as Ne$1 } from "./index_d869d4f8.js";
4
- import { b as oe$1 } from "./index_ed259edc.js";
5
- import "./index_aa947e34.js";
6
- import "./index_4b36612f.js";
1
+ import { c as commonjsGlobal, m as minimal, l as long, a as any, h as helpers, b as coin, g as getIntrinsic, t as tx, d as dist, e as build, s as signing, f as multisig } from "./index_7c574e7d.js";
2
+ import { a as Ri$1, b as Vn$1, r as VI, s as TI, c as Ar$1, d as Pi$1 } from "./index_1a6a5598.js";
3
+ import { t as Te$1, a as xe$1, b as Ne$1 } from "./index_abaa7487.js";
4
+ import { b as oe$1 } from "./index_47217799.js";
5
+ import "./index_9346dd3d.js";
6
+ import "./index_64ff18e7.js";
7
7
  import "./index_86436d56.js";
8
- import "./index_015b6eba.js";
8
+ import "./index_d77fc157.js";
9
9
  import "react";
10
10
  import "@chakra-ui/react";
11
- import "@emotion/react";
12
11
  function _u(e, n) {
13
12
  for (var t = 0; t < n.length; t++) {
14
13
  const l = n[t];