@ledgerhq/live-cli 24.10.3-nightly.0 → 24.10.3-nightly.2
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/lib/cli.js +33 -63
- package/lib/cli.js.map +1 -1
- package/lib/commands/blockchain/bot.js +7 -7
- package/lib/commands/blockchain/bot.js.map +1 -1
- package/lib/commands/blockchain/botPortfolio.js +22 -26
- package/lib/commands/blockchain/botPortfolio.js.map +1 -1
- package/lib/commands/blockchain/botTransfer.js +219 -392
- package/lib/commands/blockchain/botTransfer.js.map +1 -1
- package/lib/commands/blockchain/broadcast.js +11 -42
- package/lib/commands/blockchain/broadcast.js.map +1 -1
- package/lib/commands/blockchain/confirmOp.js +12 -52
- package/lib/commands/blockchain/confirmOp.js.map +1 -1
- package/lib/commands/blockchain/derivation.js +31 -33
- package/lib/commands/blockchain/derivation.js.map +1 -1
- package/lib/commands/blockchain/estimateMaxSpendable.js +27 -56
- package/lib/commands/blockchain/estimateMaxSpendable.js.map +1 -1
- package/lib/commands/blockchain/generateTestScanAccounts.js +29 -37
- package/lib/commands/blockchain/generateTestScanAccounts.js.map +1 -1
- package/lib/commands/blockchain/generateTestTransaction.js +70 -96
- package/lib/commands/blockchain/generateTestTransaction.js.map +1 -1
- package/lib/commands/blockchain/getAddress.js +20 -24
- package/lib/commands/blockchain/getAddress.js.map +1 -1
- package/lib/commands/blockchain/getTransactionStatus.js +31 -69
- package/lib/commands/blockchain/getTransactionStatus.js.map +1 -1
- package/lib/commands/blockchain/receive.js +14 -42
- package/lib/commands/blockchain/receive.js.map +1 -1
- package/lib/commands/blockchain/satstack.js +30 -33
- package/lib/commands/blockchain/satstack.js.map +1 -1
- package/lib/commands/blockchain/satstackStatus.js +4 -5
- package/lib/commands/blockchain/satstackStatus.js.map +1 -1
- package/lib/commands/blockchain/scanDescriptors.js +8 -14
- package/lib/commands/blockchain/scanDescriptors.js.map +1 -1
- package/lib/commands/blockchain/send.js +61 -90
- package/lib/commands/blockchain/send.js.map +1 -1
- package/lib/commands/blockchain/signMessage.d.ts +1 -1
- package/lib/commands/blockchain/signMessage.js +15 -40
- package/lib/commands/blockchain/signMessage.js.map +1 -1
- package/lib/commands/blockchain/sync.js +27 -120
- package/lib/commands/blockchain/sync.js.map +1 -1
- package/lib/commands/blockchain/testDetectOpCollision.js +15 -48
- package/lib/commands/blockchain/testDetectOpCollision.js.map +1 -1
- package/lib/commands/blockchain/testGetTrustedInputFromTxHash.js +37 -86
- package/lib/commands/blockchain/testGetTrustedInputFromTxHash.js.map +1 -1
- package/lib/commands/device/app.js +42 -76
- package/lib/commands/device/app.js.map +1 -1
- package/lib/commands/device/appUninstallAll.d.ts +1 -1
- package/lib/commands/device/appUninstallAll.js +22 -29
- package/lib/commands/device/appUninstallAll.js.map +1 -1
- package/lib/commands/device/appsCheckAllAppVersions.js +208 -361
- package/lib/commands/device/appsCheckAllAppVersions.js.map +1 -1
- package/lib/commands/device/appsInstallAll.js +15 -24
- package/lib/commands/device/appsInstallAll.js.map +1 -1
- package/lib/commands/device/appsUpdateTestAll.js +69 -80
- package/lib/commands/device/appsUpdateTestAll.js.map +1 -1
- package/lib/commands/device/cleanSpeculos.js +4 -4
- package/lib/commands/device/cleanSpeculos.js.map +1 -1
- package/lib/commands/device/customLockScreenFetch.js +37 -84
- package/lib/commands/device/customLockScreenFetch.js.map +1 -1
- package/lib/commands/device/customLockScreenFetchAndRestore.js +46 -110
- package/lib/commands/device/customLockScreenFetchAndRestore.js.map +1 -1
- package/lib/commands/device/customLockScreenFetchHash.js +5 -7
- package/lib/commands/device/customLockScreenFetchHash.js.map +1 -1
- package/lib/commands/device/customLockScreenLoad.js +25 -72
- package/lib/commands/device/customLockScreenLoad.js.map +1 -1
- package/lib/commands/device/customLockScreenRemove.js +5 -7
- package/lib/commands/device/customLockScreenRemove.js.map +1 -1
- package/lib/commands/device/devDeviceAppsScenario.js +33 -65
- package/lib/commands/device/devDeviceAppsScenario.js.map +1 -1
- package/lib/commands/device/deviceAppVersion.js +5 -8
- package/lib/commands/device/deviceAppVersion.js.map +1 -1
- package/lib/commands/device/deviceInfo.js +5 -8
- package/lib/commands/device/deviceInfo.js.map +1 -1
- package/lib/commands/device/deviceSDKFirmwareUpdate.js +22 -68
- package/lib/commands/device/deviceSDKFirmwareUpdate.js.map +1 -1
- package/lib/commands/device/deviceSDKGetBatteryStatuses.js +7 -8
- package/lib/commands/device/deviceSDKGetBatteryStatuses.js.map +1 -1
- package/lib/commands/device/deviceSDKGetDeviceInfo.js +6 -7
- package/lib/commands/device/deviceSDKGetDeviceInfo.js.map +1 -1
- package/lib/commands/device/deviceSDKToggleOnboardingEarlyCheck.js +8 -9
- package/lib/commands/device/deviceSDKToggleOnboardingEarlyCheck.js.map +1 -1
- package/lib/commands/device/deviceVersion.js +5 -8
- package/lib/commands/device/deviceVersion.js.map +1 -1
- package/lib/commands/device/discoverDevices.js +15 -50
- package/lib/commands/device/discoverDevices.js.map +1 -1
- package/lib/commands/device/firmwareRepair.js +3 -6
- package/lib/commands/device/firmwareRepair.js.map +1 -1
- package/lib/commands/device/firmwareUpdate.js +63 -123
- package/lib/commands/device/firmwareUpdate.js.map +1 -1
- package/lib/commands/device/genuineCheck.js +7 -12
- package/lib/commands/device/genuineCheck.js.map +1 -1
- package/lib/commands/device/getBatteryStatus.js +5 -9
- package/lib/commands/device/getBatteryStatus.js.map +1 -1
- package/lib/commands/device/getDeviceRunningMode.js +7 -10
- package/lib/commands/device/getDeviceRunningMode.js.map +1 -1
- package/lib/commands/device/i18n.js +27 -79
- package/lib/commands/device/i18n.js.map +1 -1
- package/lib/commands/device/listApps.d.ts +1 -1
- package/lib/commands/device/listApps.js +7 -12
- package/lib/commands/device/listApps.js.map +1 -1
- package/lib/commands/device/managerListApps.js +21 -28
- package/lib/commands/device/managerListApps.js.map +1 -1
- package/lib/commands/device/proxy.js +242 -350
- package/lib/commands/device/proxy.js.map +1 -1
- package/lib/commands/device/reinstallConfigurationConsent.js +36 -126
- package/lib/commands/device/reinstallConfigurationConsent.js.map +1 -1
- package/lib/commands/device/repl.js +5 -10
- package/lib/commands/device/repl.js.map +1 -1
- package/lib/commands/device/speculosList.js +12 -58
- package/lib/commands/device/speculosList.js.map +1 -1
- package/lib/commands/live/balanceHistory.js +44 -79
- package/lib/commands/live/balanceHistory.js.map +1 -1
- package/lib/commands/live/countervalues.js +111 -207
- package/lib/commands/live/countervalues.js.map +1 -1
- package/lib/commands/live/envs.js +4 -6
- package/lib/commands/live/envs.js.map +1 -1
- package/lib/commands/live/exportAccounts.js +30 -56
- package/lib/commands/live/exportAccounts.js.map +1 -1
- package/lib/commands/live/ledgerKeyRingProtocol.d.ts +1 -1
- package/lib/commands/live/ledgerKeyRingProtocol.js +63 -103
- package/lib/commands/live/ledgerKeyRingProtocol.js.map +1 -1
- package/lib/commands/live/ledgerSync.js +20 -60
- package/lib/commands/live/ledgerSync.js.map +1 -1
- package/lib/commands/live/liveData.js +34 -60
- package/lib/commands/live/liveData.js.map +1 -1
- package/lib/commands/live/portfolio.js +68 -98
- package/lib/commands/live/portfolio.js.map +1 -1
- package/lib/commands/live/synchronousOnboarding.js +6 -9
- package/lib/commands/live/synchronousOnboarding.js.map +1 -1
- package/lib/commands/live/user.js +4 -4
- package/lib/commands/live/user.js.map +1 -1
- package/lib/commands/live/version.js +2 -4
- package/lib/commands/live/version.js.map +1 -1
- package/lib/commands/ptx/swap.js +194 -282
- package/lib/commands/ptx/swap.js.map +1 -1
- package/lib/commands-index.d.ts +9 -9
- package/lib/commands-index.js +64 -64
- package/lib/commands-index.js.map +1 -1
- package/lib/live-common-setup-base.js +26 -48
- package/lib/live-common-setup-base.js.map +1 -1
- package/lib/live-common-setup.js +66 -123
- package/lib/live-common-setup.js.map +1 -1
- package/lib/qr.js +6 -10
- package/lib/qr.js.map +1 -1
- package/lib/scan.js +84 -92
- package/lib/scan.js.map +1 -1
- package/lib/signedOperation.js +6 -6
- package/lib/signedOperation.js.map +1 -1
- package/lib/stream.js +57 -68
- package/lib/stream.js.map +1 -1
- package/lib/transaction.js +60 -142
- package/lib/transaction.js.map +1 -1
- package/package.json +3 -3
package/lib/transaction.js
CHANGED
|
@@ -1,79 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
39
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
40
|
-
if (!m) return o;
|
|
41
|
-
var i = m.call(o), r, ar = [], e;
|
|
42
|
-
try {
|
|
43
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
44
|
-
}
|
|
45
|
-
catch (error) { e = { error: error }; }
|
|
46
|
-
finally {
|
|
47
|
-
try {
|
|
48
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
49
|
-
}
|
|
50
|
-
finally { if (e) throw e.error; }
|
|
51
|
-
}
|
|
52
|
-
return ar;
|
|
53
|
-
};
|
|
54
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
55
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
56
4
|
};
|
|
57
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
6
|
exports.inferTransactions = exports.inferTransactionsOpts = void 0;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
7
|
+
const uniqBy_1 = __importDefault(require("lodash/uniqBy"));
|
|
8
|
+
const shuffle_1 = __importDefault(require("lodash/shuffle"));
|
|
9
|
+
const flatMap_1 = __importDefault(require("lodash/flatMap"));
|
|
10
|
+
const bignumber_js_1 = require("bignumber.js");
|
|
11
|
+
const cli_transaction_1 = __importDefault(require("@ledgerhq/live-common/generated/cli-transaction"));
|
|
12
|
+
const index_1 = require("@ledgerhq/live-common/account/index");
|
|
13
|
+
const index_2 = require("@ledgerhq/live-common/currencies/index");
|
|
14
|
+
const index_3 = require("@ledgerhq/live-common/bridge/index");
|
|
15
|
+
const inferAmount = (account, str) => {
|
|
16
|
+
const currency = (0, index_1.getAccountCurrency)(account);
|
|
17
|
+
const { units } = currency;
|
|
70
18
|
if (str.endsWith("%")) {
|
|
71
19
|
return account.balance.times(0.01 * parseFloat(str.replace("%", "")));
|
|
72
20
|
}
|
|
73
|
-
|
|
74
|
-
for (
|
|
75
|
-
|
|
76
|
-
|
|
21
|
+
const lowerCase = str.toLowerCase();
|
|
22
|
+
for (let i = 0; i < units.length; i++) {
|
|
23
|
+
const unit = units[i];
|
|
24
|
+
const code = unit.code.toLowerCase();
|
|
77
25
|
if (lowerCase.includes(code)) {
|
|
78
26
|
return (0, index_2.parseCurrencyUnit)(unit, lowerCase.replace(code, ""));
|
|
79
27
|
}
|
|
@@ -122,84 +70,54 @@ exports.inferTransactionsOpts = (0, uniqBy_1.default)([
|
|
|
122
70
|
type: String,
|
|
123
71
|
desc: "quantity or list of quantity of an ERC1155 NFT separated by commas (order is kept in corelation with --tokenIds)",
|
|
124
72
|
},
|
|
125
|
-
].concat((0, flatMap_1.default)(Object.values(cli_transaction_1.default),
|
|
126
|
-
function inferTransactions(mainAccount, opts) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
all = _a.sent();
|
|
168
|
-
if (opts.shuffle) {
|
|
169
|
-
all = (0, shuffle_1.default)(all);
|
|
170
|
-
}
|
|
171
|
-
return [4 /*yield*/, Promise.all(inferTransactions(all, opts, {
|
|
172
|
-
inferAmount: inferAmount,
|
|
173
|
-
}).map(function (transaction) { return __awaiter(_this, void 0, void 0, function () {
|
|
174
|
-
var tx, status, errorKeys;
|
|
175
|
-
return __generator(this, function (_a) {
|
|
176
|
-
switch (_a.label) {
|
|
177
|
-
case 0: return [4 /*yield*/, bridge.prepareTransaction(mainAccount, transaction)];
|
|
178
|
-
case 1:
|
|
179
|
-
tx = _a.sent();
|
|
180
|
-
return [4 /*yield*/, bridge.getTransactionStatus(mainAccount, tx)];
|
|
181
|
-
case 2:
|
|
182
|
-
status = _a.sent();
|
|
183
|
-
errorKeys = Object.keys(status.errors);
|
|
184
|
-
if (errorKeys.length) {
|
|
185
|
-
throw status.errors[errorKeys[0]];
|
|
186
|
-
}
|
|
187
|
-
return [2 /*return*/, [tx, status]];
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
}); }))];
|
|
191
|
-
case 2:
|
|
192
|
-
transactions = _a.sent();
|
|
193
|
-
return [2 /*return*/, transactions];
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
});
|
|
73
|
+
].concat((0, flatMap_1.default)(Object.values(cli_transaction_1.default), (m) => (m && m.options) || [])), "name");
|
|
74
|
+
async function inferTransactions(mainAccount, opts) {
|
|
75
|
+
const bridge = (0, index_3.getAccountBridge)(mainAccount, null);
|
|
76
|
+
const specific = cli_transaction_1.default[mainAccount.currency.family];
|
|
77
|
+
const inferAccounts = (specific && "inferAccounts" in specific && specific.inferAccounts) ||
|
|
78
|
+
((account, _opts) => [account]);
|
|
79
|
+
const inferTransactions = (specific && "inferTransactions" in specific && specific.inferTransactions) ||
|
|
80
|
+
((inferred, _opts, _r) => inferred.map(({ transaction }) => transaction));
|
|
81
|
+
let all = await Promise.all(product(inferAccounts(mainAccount, opts), opts.recipient || [opts["self-transaction"] ? mainAccount.freshAddress : ""]).map(async ([account, recipient]) => {
|
|
82
|
+
const transaction = bridge.createTransaction(mainAccount);
|
|
83
|
+
transaction.recipient = recipient;
|
|
84
|
+
transaction.useAllAmount = !!opts["use-all-amount"];
|
|
85
|
+
transaction.amount = transaction.useAllAmount
|
|
86
|
+
? new bignumber_js_1.BigNumber(0)
|
|
87
|
+
: inferAmount(account, opts.amount || "0");
|
|
88
|
+
// NFT collection and tokenId go by pair
|
|
89
|
+
if (opts.tokenIds && opts.collection) {
|
|
90
|
+
transaction.tokenIds = opts.tokenIds.split(",");
|
|
91
|
+
transaction.collection = opts.collection;
|
|
92
|
+
transaction.quantities = opts.quantities?.split(",")?.map(q => new bignumber_js_1.BigNumber(q));
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
account,
|
|
96
|
+
transaction,
|
|
97
|
+
mainAccount,
|
|
98
|
+
};
|
|
99
|
+
}));
|
|
100
|
+
if (opts.shuffle) {
|
|
101
|
+
all = (0, shuffle_1.default)(all);
|
|
102
|
+
}
|
|
103
|
+
const transactions = await Promise.all(inferTransactions(all, opts, {
|
|
104
|
+
inferAmount,
|
|
105
|
+
}).map(async (transaction) => {
|
|
106
|
+
const tx = await bridge.prepareTransaction(mainAccount, transaction);
|
|
107
|
+
const status = await bridge.getTransactionStatus(mainAccount, tx);
|
|
108
|
+
const errorKeys = Object.keys(status.errors);
|
|
109
|
+
if (errorKeys.length) {
|
|
110
|
+
throw status.errors[errorKeys[0]];
|
|
111
|
+
}
|
|
112
|
+
return [tx, status];
|
|
113
|
+
}));
|
|
114
|
+
return transactions;
|
|
197
115
|
}
|
|
198
116
|
exports.inferTransactions = inferTransactions;
|
|
199
117
|
function product(arr1, arr2) {
|
|
200
|
-
|
|
201
|
-
arr1.forEach(
|
|
202
|
-
arr2.forEach(
|
|
118
|
+
const result = [];
|
|
119
|
+
arr1.forEach(item1 => {
|
|
120
|
+
arr2.forEach(item2 => {
|
|
203
121
|
result.push([item1, item2]);
|
|
204
122
|
});
|
|
205
123
|
});
|
package/lib/transaction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":";;;;;;AAAA,2DAAmC;AACnC,6DAAqC;AACrC,6DAAqC;AACrC,+CAAyC;AAQzC,sGAAwE;AACxE,+DAAyE;AACzE,kEAA2E;AAC3E,8DAAsE;AAEtE,MAAM,WAAW,GAAG,CAAC,OAAoB,EAAE,GAAW,EAAa,EAAE;IACnE,MAAM,QAAQ,GAAG,IAAA,0BAAkB,EAAC,OAAO,CAAC,CAAC;IAC7C,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;IAE3B,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IACxE,CAAC;IAED,MAAM,SAAS,GAAG,GAAG,CAAC,WAAW,EAAE,C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B,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;QAClE,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAE7C,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;YACrB,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;QACpC,CAAC;QAED,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;IACtB,CAAC,CAAC,CACH,CAAC;IAEF,OAAO,YAAY,CAAC;AACtB,CAAC;AA3ED,8CA2EC;AAED,SAAS,OAAO,CAAO,IAAS,EAAE,IAAS;IACzC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACnB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACnB,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;QAC9B,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/live-cli",
|
|
3
|
-
"version": "24.10.3-nightly.
|
|
3
|
+
"version": "24.10.3-nightly.2",
|
|
4
4
|
"description": "ledger-live CLI version",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@ledgerhq/hw-transport-node-hid": "^6.29.5",
|
|
50
50
|
"@ledgerhq/hw-transport-node-speculos": "^6.29.4",
|
|
51
51
|
"@ledgerhq/hw-transport-node-speculos-http": "^6.29.4",
|
|
52
|
-
"@ledgerhq/live-common": "^34.
|
|
52
|
+
"@ledgerhq/live-common": "^34.20.0-nightly.2",
|
|
53
53
|
"@ledgerhq/live-config": "^3.1.0",
|
|
54
|
-
"@ledgerhq/live-countervalues": "^0.
|
|
54
|
+
"@ledgerhq/live-countervalues": "^0.3.0-nightly.1",
|
|
55
55
|
"@ledgerhq/live-env": "^2.5.0",
|
|
56
56
|
"@ledgerhq/live-network": "^2.0.4",
|
|
57
57
|
"@ledgerhq/live-wallet": "^0.9.2-nightly.0",
|