@pioneer-platform/pioneer-react 0.2.47 → 0.2.49
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.
- package/dist/index.js +198340 -146844
- package/dist/{index_0e37f5ff.js → index_0652205a.js} +6 -6
- package/dist/{index_f9d1a3bf.js → index_096371b1.js} +3 -1
- package/dist/{index_ae6c3b10.js → index_0a5ed442.js} +3 -3
- package/dist/{index_e233a036.js → index_0a6e5811.js} +1 -1
- package/dist/{index_547d2868.js → index_0b5f5f6a.js} +4 -4
- package/dist/index_10812439.js +25 -0
- package/dist/{index_4a548214.js → index_1093b1b4.js} +8 -8
- package/dist/{index_3a6b0cd3.js → index_169417bf.js} +3 -3
- package/dist/{index_e168f4c0.js → index_1d5f0f00.js} +7 -7
- package/dist/{index_e57ba5a5.js → index_278505c5.js} +3 -3
- package/dist/{index_a4f5a15a.js → index_2845411a.js} +19 -19
- package/dist/{index_003befba.js → index_29be6ff5.js} +1122 -1312
- package/dist/{index_a6b45215.js → index_2dc95f2a.js} +7 -3
- package/dist/{index_6d2a3e5c.js → index_3402bab8.js} +6 -2
- package/dist/{index_310b7772.js → index_3c54e5ec.js} +9 -9
- package/dist/{index_f9d461d1.js → index_423ea09e.js} +3 -3
- package/dist/{index_37894947.js → index_4425b278.js} +3 -3
- package/dist/{index_61a33920.js → index_514c608b.js} +6 -6
- package/dist/index_51b338c1.js +121 -0
- package/dist/{index_0364269a.js → index_5d8426fb.js} +3 -3
- package/dist/index_628b22bc.js +11003 -0
- package/dist/index_63a883f7.js +446 -0
- package/dist/{index_d8e757ba.js → index_654fef3a.js} +3 -3
- package/dist/index_691fd636.js +12913 -0
- package/dist/{index_674ffbfa.js → index_69b0f47b.js} +9 -9
- package/dist/{index_a682c1a8.js → index_6cd7bc1a.js} +3 -1
- package/dist/{index_c8ebd6e3.js → index_6ebe4744.js} +900 -900
- package/dist/{index_7382dec1.js → index_7f735685.js} +5 -5
- package/dist/{index_b3022c1a.js → index_82348f63.js} +5 -5
- package/dist/index_849386d3.js +1115 -0
- package/dist/{index_85b01410.js → index_8610c3c4.js} +6 -6
- package/dist/index_8d6422b9.js +112 -0
- package/dist/{index_167c5f7a.js → index_8fd2c24a.js} +3 -3
- package/dist/{index_1990afbf.js → index_942c3b80.js} +4 -4
- package/dist/index_94b7968d.js +22872 -0
- package/dist/index_94d38802.js +2856 -0
- package/dist/{index_bd7e0d56.js → index_a5ca5cc4.js} +2 -2
- package/dist/{index_f80541a0.js → index_aa71379e.js} +307 -267
- package/dist/{index_354cce52.js → index_aa773d39.js} +3 -3
- package/dist/{index_29e62962.js → index_b022faaa.js} +4 -4
- package/dist/index_b1028d5f.js +65 -0
- package/dist/index_c232ca43.js +25 -0
- package/dist/{index_f19b5fe5.js → index_c9105338.js} +3 -3
- package/dist/{index_7c12bb44.js → index_cebbd50e.js} +1 -1
- package/dist/{index_ca633a1c.js → index_d477606a.js} +7 -7
- package/dist/index_d8a5e2ef.js +116 -0
- package/dist/{index_542dbb9a.js → index_de4af619.js} +4 -4
- package/dist/{index_7a1bb0b1.js → index_df47a9c6.js} +8 -8
- package/dist/{index_8b9255eb.js → index_e0b32f2f.js} +10 -10
- package/dist/{index_b21f58b7.js → index_e2794130.js} +4 -4
- package/dist/{index_2cbf1530.js → index_ecce7b22.js} +6 -6
- package/dist/{index_3891b298.js → index_f2d68730.js} +1 -1
- package/dist/index_f66728ba.js +130 -0
- package/dist/{index_f3922fc1.js → index_f8bc80e1.js} +3 -3
- package/package.json +19 -18
- package/src/lib/context/Pioneer/sdk/connect.ts +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as global } from "./
|
|
2
|
-
import { G as GaiaToolbox, T as ThorchainToolbox } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import { S as SN, O as ON, T as TN, A as AN } from "./
|
|
5
|
-
import { x as xB, Y as YM, M as MB, B as BB, S as SB, X as XM, e as eB } from "./
|
|
1
|
+
import { g as global } from "./index_aa71379e.js";
|
|
2
|
+
import { G as GaiaToolbox, T as ThorchainToolbox } from "./index_2845411a.js";
|
|
3
|
+
import "./index_0652205a.js";
|
|
4
|
+
import { S as SN, O as ON, T as TN, A as AN } from "./index_e2794130.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_69b0f47b.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("./
|
|
54593
|
+
const { toHexString: C } = await import("./index_169417bf.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)),
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { v as vn } from "./index_849386d3.js";
|
|
2
|
+
import "./index_94b7968d.js";
|
|
3
|
+
import "./index_3402bab8.js";
|
|
4
|
+
import "./index_2dc95f2a.js";
|
|
5
|
+
import "./index_a5ca5cc4.js";
|
|
6
|
+
import "./index_f8bc80e1.js";
|
|
7
|
+
import "./index_0652205a.js";
|
|
8
|
+
import "./index_096371b1.js";
|
|
9
|
+
import "./index_29be6ff5.js";
|
|
10
|
+
import "./index_6cd7bc1a.js";
|
|
11
|
+
import "./index_aa71379e.js";
|
|
12
|
+
import "react";
|
|
13
|
+
import "@chakra-ui/react";
|
|
14
|
+
import "react-dom";
|
|
15
|
+
import "./index_0a6e5811.js";
|
|
16
|
+
import "./index_aa773d39.js";
|
|
17
|
+
var e;
|
|
18
|
+
(function(o) {
|
|
19
|
+
o.blue = "blue", o.nanoS = "nanoS", o.nanoSP = "nanoSP", o.nanoX = "nanoX", o.stax = "stax";
|
|
20
|
+
})(e || (e = {}));
|
|
21
|
+
const n = {
|
|
22
|
+
[e.blue]: {
|
|
23
|
+
id: e.blue,
|
|
24
|
+
productName: "Ledger Blue",
|
|
25
|
+
productIdMM: 0,
|
|
26
|
+
legacyUsbProductId: 0,
|
|
27
|
+
usbOnly: true,
|
|
28
|
+
memorySize: 480 * 1024,
|
|
29
|
+
masks: [822083584, 822149120],
|
|
30
|
+
getBlockSize: (o) => 4 * 1024
|
|
31
|
+
},
|
|
32
|
+
[e.nanoS]: {
|
|
33
|
+
id: e.nanoS,
|
|
34
|
+
productName: "Ledger Nano S",
|
|
35
|
+
productIdMM: 16,
|
|
36
|
+
legacyUsbProductId: 1,
|
|
37
|
+
usbOnly: true,
|
|
38
|
+
memorySize: 320 * 1024,
|
|
39
|
+
masks: [823132160],
|
|
40
|
+
getBlockSize: (o) => {
|
|
41
|
+
var t;
|
|
42
|
+
return vn.lt((t = vn.coerce(o)) !== null && t !== void 0 ? t : "", "2.0.0") ? 4 * 1024 : 2 * 1024;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
[e.nanoSP]: {
|
|
46
|
+
id: e.nanoSP,
|
|
47
|
+
productName: "Ledger Nano S Plus",
|
|
48
|
+
productIdMM: 80,
|
|
49
|
+
legacyUsbProductId: 5,
|
|
50
|
+
usbOnly: true,
|
|
51
|
+
memorySize: 1536 * 1024,
|
|
52
|
+
masks: [856686592],
|
|
53
|
+
getBlockSize: (o) => 32
|
|
54
|
+
},
|
|
55
|
+
[e.nanoX]: {
|
|
56
|
+
id: e.nanoX,
|
|
57
|
+
productName: "Ledger Nano X",
|
|
58
|
+
productIdMM: 64,
|
|
59
|
+
legacyUsbProductId: 4,
|
|
60
|
+
usbOnly: false,
|
|
61
|
+
memorySize: 2 * 1024 * 1024,
|
|
62
|
+
masks: [855638016],
|
|
63
|
+
getBlockSize: (o) => 4 * 1024,
|
|
64
|
+
bluetoothSpec: [
|
|
65
|
+
{
|
|
66
|
+
serviceUuid: "13d63400-2c97-0004-0000-4c6564676572",
|
|
67
|
+
notifyUuid: "13d63400-2c97-0004-0001-4c6564676572",
|
|
68
|
+
writeUuid: "13d63400-2c97-0004-0002-4c6564676572",
|
|
69
|
+
writeCmdUuid: "13d63400-2c97-0004-0003-4c6564676572"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
[e.stax]: {
|
|
74
|
+
id: e.stax,
|
|
75
|
+
productName: "Ledger Stax",
|
|
76
|
+
productIdMM: 96,
|
|
77
|
+
legacyUsbProductId: 6,
|
|
78
|
+
usbOnly: false,
|
|
79
|
+
memorySize: 1536 * 1024,
|
|
80
|
+
masks: [857735168],
|
|
81
|
+
getBlockSize: (o) => 32,
|
|
82
|
+
bluetoothSpec: [
|
|
83
|
+
{
|
|
84
|
+
serviceUuid: "13d63400-2c97-6004-0000-4c6564676572",
|
|
85
|
+
notifyUuid: "13d63400-2c97-6004-0001-4c6564676572",
|
|
86
|
+
writeUuid: "13d63400-2c97-6004-0002-4c6564676572",
|
|
87
|
+
writeCmdUuid: "13d63400-2c97-6004-0003-4c6564676572"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
e.blue, e.nanoS, e.nanoSP, e.nanoX, e.stax;
|
|
93
|
+
const s = Object.values(n), k = 11415, z = (o) => {
|
|
94
|
+
const t = s.find((r) => r.legacyUsbProductId === o);
|
|
95
|
+
if (t)
|
|
96
|
+
return t;
|
|
97
|
+
const c = o >> 8;
|
|
98
|
+
return s.find((r) => r.productIdMM === c);
|
|
99
|
+
}, u = [], a = {};
|
|
100
|
+
for (const o in n) {
|
|
101
|
+
const t = n[o], { bluetoothSpec: c } = t;
|
|
102
|
+
if (c)
|
|
103
|
+
for (let i = 0; i < c.length; i++) {
|
|
104
|
+
const r = c[i];
|
|
105
|
+
u.push(r.serviceUuid), a[r.serviceUuid] = a[r.serviceUuid.replace(/-/g, "")] = Object.assign({ deviceModel: t }, r);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export {
|
|
109
|
+
e as DeviceModelId,
|
|
110
|
+
z as identifyUSBProductId,
|
|
111
|
+
k as ledgerUSBVendorId
|
|
112
|
+
};
|
|
@@ -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 "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
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_e2794130.js";
|
|
2
|
+
import "./index_0652205a.js";
|
|
3
|
+
import "./index_aa71379e.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 "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
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_1093b1b4.js";
|
|
2
|
+
import "./index_df47a9c6.js";
|
|
3
|
+
import "./index_0652205a.js";
|
|
4
|
+
import "./index_aa71379e.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "@chakra-ui/react";
|
|
7
7
|
import "react-dom";
|