@ledgerhq/live-cli 22.4.4 → 22.4.5-next.0
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/commands/discoverDevices.d.ts +1 -5
- package/lib/commands/discoverDevices.d.ts.map +1 -1
- package/lib/commands/discoverDevices.js +12 -4
- package/lib/commands/discoverDevices.js.map +1 -1
- package/lib/commands/ftsFetchImage.d.ts +22 -0
- package/lib/commands/ftsFetchImage.d.ts.map +1 -0
- package/lib/commands/ftsFetchImage.js +90 -0
- package/lib/commands/ftsFetchImage.js.map +1 -0
- package/lib/commands/ftsLoadImage.d.ts +22 -0
- package/lib/commands/ftsLoadImage.d.ts.map +1 -0
- package/lib/commands/ftsLoadImage.js +81 -0
- package/lib/commands/ftsLoadImage.js.map +1 -0
- package/lib/commands/synchronousOnboarding.d.ts.map +1 -1
- package/lib/commands/synchronousOnboarding.js.map +1 -1
- package/lib/commands-index.d.ts +59 -5
- package/lib/commands-index.d.ts.map +1 -1
- package/lib/commands-index.js +4 -0
- package/lib/commands-index.js.map +1 -1
- package/package.json +6 -4
|
@@ -13,11 +13,7 @@ declare const _default: {
|
|
|
13
13
|
job: ({ module, interactive, }: Partial<{
|
|
14
14
|
module: string;
|
|
15
15
|
interactive: boolean;
|
|
16
|
-
}>) => import("rxjs").Observable<
|
|
17
|
-
type: "add" | "remove";
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
}> | import("rxjs").Observable<string>;
|
|
16
|
+
}>) => import("@ledgerhq/live-common/hw/index").Discovery | import("rxjs").Observable<string>;
|
|
21
17
|
};
|
|
22
18
|
export default _default;
|
|
23
19
|
//# sourceMappingURL=discoverDevices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoverDevices.d.ts","sourceRoot":"","sources":["../../src/commands/discoverDevices.ts"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"discoverDevices.d.ts","sourceRoot":"","sources":["../../src/commands/discoverDevices.ts"],"names":[],"mappings":";;;;;;;;;;;;;gBAwBY,MAAM;qBACD,OAAO;;;AArBxB,wBAkEE"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __read = (this && this.__read) || function (o, n) {
|
|
3
14
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4
15
|
if (!m) return o;
|
|
@@ -65,10 +76,7 @@ exports["default"] = {
|
|
|
65
76
|
}
|
|
66
77
|
}
|
|
67
78
|
else {
|
|
68
|
-
copy = acc.concat({
|
|
69
|
-
id: value.id,
|
|
70
|
-
name: value.name
|
|
71
|
-
});
|
|
79
|
+
copy = acc.concat(__assign({}, value));
|
|
72
80
|
}
|
|
73
81
|
}
|
|
74
82
|
return copy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoverDevices.js","sourceRoot":"","sources":["../../src/commands/discoverDevices.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"discoverDevices.js","sourceRoot":"","sources":["../../src/commands/discoverDevices.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA0D;AAC1D,wDAAiE;AAGjE,qBAAe;IACb,IAAI,EAAE;QACJ;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,GAAG;YACV,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,6CAA6C;SACpD;QACD;YACE,IAAI,EAAE,a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AAC,CACP;aACA,IAAI,CACH,IAAA,eAAG,EAAC;YACF,sCAAsC;YACtC,OAAO,CAAC,KAAK,EAAE,CAAC;QAClB,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,UAAC,GAAG;YACN,OAAA,GAAG;iBACA,GAAG,CAAC,UAAC,CAAC,IAAK,OAAA,UAAG,CAAC,CAAC,CAAC,IAAI,IAAI,WAAW,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,cAAI,CAAC,CAAC,EAAE,CAAE,EAA/C,CAA+C,CAAC;iBAC3D,IAAI,CAAC,IAAI,CAAC;QAFb,CAEa,CACd,CACF,CAAC;IACN,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ScanCommonOpts } from "../scan";
|
|
2
|
+
declare type ftsFetchImageJobOpts = ScanCommonOpts & {
|
|
3
|
+
fileOutput: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: {
|
|
6
|
+
description: string;
|
|
7
|
+
args: ({
|
|
8
|
+
name: string;
|
|
9
|
+
alias: string;
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
descOpt: string;
|
|
12
|
+
desc: string;
|
|
13
|
+
} | {
|
|
14
|
+
name: string;
|
|
15
|
+
alias: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
desc: string;
|
|
18
|
+
})[];
|
|
19
|
+
job: (opts: ftsFetchImageJobOpts) => any;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=ftsFetchImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ftsFetchImage.d.ts","sourceRoot":"","sources":["../../src/commands/ftsFetchImage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9C,aAAK,oBAAoB,GAAG,cAAc,GAAG;IAC3C,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;;;;;;;;;;;;;;;gBAwCY,oBAAoB,KAAG,GAAG;;AAXxC,wBAYE"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 (_) 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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
exports.__esModule = true;
|
|
42
|
+
/* eslint-disable no-console */
|
|
43
|
+
var rxjs_1 = require("rxjs");
|
|
44
|
+
var fs_1 = __importDefault(require("fs"));
|
|
45
|
+
var scan_1 = require("../scan");
|
|
46
|
+
var ftsFetchImage_1 = __importDefault(require("@ledgerhq/live-common/hw/ftsFetchImage"));
|
|
47
|
+
var exec = function (opts) { return __awaiter(void 0, void 0, void 0, function () {
|
|
48
|
+
var _a, deviceId, fileOutput;
|
|
49
|
+
return __generator(this, function (_b) {
|
|
50
|
+
switch (_b.label) {
|
|
51
|
+
case 0:
|
|
52
|
+
_a = opts.device, deviceId = _a === void 0 ? "" : _a, fileOutput = opts.fileOutput;
|
|
53
|
+
return [4 /*yield*/, new Promise(function (p) {
|
|
54
|
+
return (0, ftsFetchImage_1["default"])({ deviceId: deviceId }).subscribe(function (event) {
|
|
55
|
+
if (event.type === "imageFetched") {
|
|
56
|
+
var hexImage = event.hexImage;
|
|
57
|
+
fs_1["default"].writeFileSync(fileOutput, hexImage);
|
|
58
|
+
console.log("".concat(fileOutput, " written"));
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
console.log(event);
|
|
62
|
+
}
|
|
63
|
+
}, function (e) {
|
|
64
|
+
console.error(e);
|
|
65
|
+
p();
|
|
66
|
+
}, function () {
|
|
67
|
+
console.log("Image fetched.");
|
|
68
|
+
p();
|
|
69
|
+
});
|
|
70
|
+
})];
|
|
71
|
+
case 1:
|
|
72
|
+
_b.sent();
|
|
73
|
+
return [2 /*return*/];
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}); };
|
|
77
|
+
exports["default"] = {
|
|
78
|
+
description: "Test functionality lock screen customization on FTS for fetching an image",
|
|
79
|
+
args: [
|
|
80
|
+
scan_1.deviceOpt,
|
|
81
|
+
{
|
|
82
|
+
name: "fileOutput",
|
|
83
|
+
alias: "o",
|
|
84
|
+
type: String,
|
|
85
|
+
desc: "Output file path in case you want to save Hex string image"
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
job: function (opts) { return (0, rxjs_1.from)(exec(opts)); }
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=ftsFetchImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ftsFetchImage.js","sourceRoot":"","sources":["../../src/commands/ftsFetchImage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,6BAA4B;AAC5B,0CAAoB;AAEpB,gCAAoC;AACpC,yFAAmE;AAMnE,IAAM,IAAI,GAAG,UAAO,IAA0B;;;;;gBACpC,KAAsC,IAAI,OAArB,EAAb,QAAQ,mBAAG,EAAE,KAAA,EAAE,UAAU,GAAK,IAAI,WAAT,CAAU;gBAEnD,qBAAM,IAAI,OAAO,CAAO,UAAC,CAAC;wBACxB,OAAA,IAAA,0BAAa,EAAC,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC,SAAS,CACnC,UAAC,KAAK;4BACJ,IAAI,KAAK,CAAC,IAAI,KAAK,cAAc,EAAE;gCACzB,IAAA,QAAQ,GAAK,KAAK,SAAV,CAAW;gCAE3B,eAAE,CAAC,aAAa,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;gCACvC,OAAO,CAAC,GAAG,CAAC,UAAG,UAAU,aAAU,CAAC,CAAC;6BACtC;iCAAM;gCACL,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;6BACpB;wBACH,CAAC,EACD,UAAC,CAAC;4BACA,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;4BACjB,CAAC,EAAE,CAAC;wBACN,CAAC,EACD;4BACE,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;4BAC9B,CAAC,EAAE,CAAC;wBACN,CAAC,CACF;oBAnBD,CAmBC,CACF,EAAA;;gBArBD,SAqBC,CAAC;;;;KACH,CAAC;AAEF,qBAAe;IACb,WAAW,EAAE,2EAA2E;IACxF,IAAI,EAAE;QACJ,gBAAS;QACT;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,GAAG;YACV,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,4DAA4D;SACnE;KACF;IACD,GAAG,EAAE,UAAC,IAA0B,IAAU,OAAA,IAAA,WAAI,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAhB,CAAgB;CAC3D,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ScanCommonOpts } from "../scan";
|
|
2
|
+
declare type ftsLoadImageJobOpts = ScanCommonOpts & {
|
|
3
|
+
fileInput: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: {
|
|
6
|
+
description: string;
|
|
7
|
+
args: ({
|
|
8
|
+
name: string;
|
|
9
|
+
alias: string;
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
descOpt: string;
|
|
12
|
+
desc: string;
|
|
13
|
+
} | {
|
|
14
|
+
name: string;
|
|
15
|
+
alias: string;
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
desc: string;
|
|
18
|
+
})[];
|
|
19
|
+
job: (opts: ftsLoadImageJobOpts) => any;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=ftsLoadImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ftsLoadImage.d.ts","sourceRoot":"","sources":["../../src/commands/ftsLoadImage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9C,aAAK,mBAAmB,GAAG,cAAc,GAAG;IAC1C,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;gBAkCY,mBAAmB,KAAG,GAAG;;AAXvC,wBAYE"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 (_) 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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
exports.__esModule = true;
|
|
42
|
+
var rxjs_1 = require("rxjs");
|
|
43
|
+
var fs_1 = __importDefault(require("fs"));
|
|
44
|
+
var ftsLoadImage_1 = __importDefault(require("@ledgerhq/live-common/hw/ftsLoadImage"));
|
|
45
|
+
var scan_1 = require("../scan");
|
|
46
|
+
var exec = function (opts) { return __awaiter(void 0, void 0, void 0, function () {
|
|
47
|
+
var fileInput, _a, deviceId, hexImage;
|
|
48
|
+
return __generator(this, function (_b) {
|
|
49
|
+
switch (_b.label) {
|
|
50
|
+
case 0:
|
|
51
|
+
fileInput = opts.fileInput, _a = opts.device, deviceId = _a === void 0 ? "" : _a;
|
|
52
|
+
hexImage = fs_1["default"].readFileSync(fileInput, "utf-8");
|
|
53
|
+
return [4 /*yield*/, new Promise(function (p) {
|
|
54
|
+
return (0, ftsLoadImage_1["default"])({ deviceId: deviceId, hexImage: hexImage }).subscribe(function (x) { return console.log(x); }, function (e) {
|
|
55
|
+
console.error(e);
|
|
56
|
+
p();
|
|
57
|
+
}, function () {
|
|
58
|
+
console.log("Image loaded.");
|
|
59
|
+
p();
|
|
60
|
+
});
|
|
61
|
+
})];
|
|
62
|
+
case 1:
|
|
63
|
+
_b.sent();
|
|
64
|
+
return [2 /*return*/];
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}); };
|
|
68
|
+
exports["default"] = {
|
|
69
|
+
description: "Test functionality lock screen customization on FTS for loading an image",
|
|
70
|
+
args: [
|
|
71
|
+
scan_1.deviceOpt,
|
|
72
|
+
{
|
|
73
|
+
name: "fileInput",
|
|
74
|
+
alias: "i",
|
|
75
|
+
type: String,
|
|
76
|
+
desc: "Text file containing the base64 data of the image to load on FTS"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
job: function (opts) { return (0, rxjs_1.from)(exec(opts)); }
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=ftsLoadImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ftsLoadImage.js","sourceRoot":"","sources":["../../src/commands/ftsLoadImage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAA4B;AAC5B,0CAAoB;AAEpB,uFAAiE;AACjE,gCAAoC;AAOpC,IAAM,IAAI,GAA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,"file":"synchronousOnboarding.d.ts","sourceRoot":"","sources":["../../src/commands/synchronousOnboarding.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,4BAA4B,EAC7B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;;;;;;;;;;;;;;;;gBAmBtB,MAAM;yBACG,MAAM;WACpB,WAAW,4BAA4B,GAAG,IAAI,CAAC;;AAjBtD,wBAsBE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"synchronousOnboarding.js","sourceRoot":"","sources":["../../src/commands/synchronousOnboarding.ts"],"names":[],"mappings":";;AAAA,gGAG4D;
|
|
1
|
+
{"version":3,"file":"synchronousOnboarding.js","sourceRoot":"","sources":["../../src/commands/synchronousOnboarding.ts"],"names":[],"mappings":";;AAAA,gGAG4D;AAG5D,gCAAoC;AAEpC,qBAAe;IACb,WAAW,EAAE,4CAA4C;IACzD,IAAI,EAAE;QACJ;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,GAAG;YACV,IAAI,EAAE,gCAAgC;YACtC,IAAI,EAAE,MAAM;SACb;QACD,gBAAS;KACV;IACD,GAAG,EAAE,UAAC,EAMJ;YALA,MAAM,YAAA,EACN,eAAe,qBAAA;QAKf,OAAA,IAAA,qDAAyB,EAAC;YACxB,QAAQ,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE;YACtB,eAAe,EAAE,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI;SACzC,CAAC;IAHF,CAGE;CACL,CAAC"}
|
package/lib/commands-index.d.ts
CHANGED
|
@@ -424,11 +424,7 @@ declare const _default: {
|
|
|
424
424
|
job: ({ module, interactive, }: Partial<{
|
|
425
425
|
module: string;
|
|
426
426
|
interactive: boolean;
|
|
427
|
-
}>) => import("rxjs").Observable<
|
|
428
|
-
type: "add" | "remove";
|
|
429
|
-
id: string;
|
|
430
|
-
name: string;
|
|
431
|
-
}> | import("rxjs").Observable<string>;
|
|
427
|
+
}>) => import("@ledgerhq/live-common/lib/hw").Discovery | import("rxjs").Observable<string>;
|
|
432
428
|
};
|
|
433
429
|
envs: {
|
|
434
430
|
description: string;
|
|
@@ -584,6 +580,64 @@ declare const _default: {
|
|
|
584
580
|
listOSUs: boolean;
|
|
585
581
|
}>) => import("rxjs").Observable<unknown>;
|
|
586
582
|
};
|
|
583
|
+
ftsFetchImage: {
|
|
584
|
+
description: string;
|
|
585
|
+
args: ({
|
|
586
|
+
name: string;
|
|
587
|
+
alias: string;
|
|
588
|
+
type: StringConstructor;
|
|
589
|
+
descOpt: string;
|
|
590
|
+
desc: string;
|
|
591
|
+
} | {
|
|
592
|
+
name: string;
|
|
593
|
+
alias: string;
|
|
594
|
+
type: StringConstructor;
|
|
595
|
+
desc: string;
|
|
596
|
+
})[];
|
|
597
|
+
job: (opts: Partial<{
|
|
598
|
+
device: string;
|
|
599
|
+
id: string[];
|
|
600
|
+
xpub: string[];
|
|
601
|
+
file: string;
|
|
602
|
+
appjsonFile: string;
|
|
603
|
+
currency: string;
|
|
604
|
+
scheme: string;
|
|
605
|
+
index: number;
|
|
606
|
+
length: number;
|
|
607
|
+
paginateOperations: number;
|
|
608
|
+
}> & {
|
|
609
|
+
fileOutput: string;
|
|
610
|
+
}) => any;
|
|
611
|
+
};
|
|
612
|
+
ftsLoadImage: {
|
|
613
|
+
description: string;
|
|
614
|
+
args: ({
|
|
615
|
+
name: string;
|
|
616
|
+
alias: string;
|
|
617
|
+
type: StringConstructor;
|
|
618
|
+
descOpt: string;
|
|
619
|
+
desc: string;
|
|
620
|
+
} | {
|
|
621
|
+
name: string;
|
|
622
|
+
alias: string;
|
|
623
|
+
type: StringConstructor;
|
|
624
|
+
desc: string;
|
|
625
|
+
})[];
|
|
626
|
+
job: (opts: Partial<{
|
|
627
|
+
device: string;
|
|
628
|
+
id: string[];
|
|
629
|
+
xpub: string[];
|
|
630
|
+
file: string;
|
|
631
|
+
appjsonFile: string;
|
|
632
|
+
currency: string;
|
|
633
|
+
scheme: string;
|
|
634
|
+
index: number;
|
|
635
|
+
length: number;
|
|
636
|
+
paginateOperations: number;
|
|
637
|
+
}> & {
|
|
638
|
+
fileInput: string;
|
|
639
|
+
}) => any;
|
|
640
|
+
};
|
|
587
641
|
generateTestScanAccounts: {
|
|
588
642
|
description: string;
|
|
589
643
|
args: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands-index.d.ts","sourceRoot":"","sources":["../src/commands-index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"commands-index.d.ts","sourceRoot":"","sources":["../src/commands-index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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importDefault(require("./commands/estimateMaxSpen
|
|
|
27
27
|
var exportAccounts_1 = __importDefault(require("./commands/exportAccounts"));
|
|
28
28
|
var firmwareRepair_1 = __importDefault(require("./commands/firmwareRepair"));
|
|
29
29
|
var firmwareUpdate_1 = __importDefault(require("./commands/firmwareUpdate"));
|
|
30
|
+
var ftsFetchImage_1 = __importDefault(require("./commands/ftsFetchImage"));
|
|
31
|
+
var ftsLoadImage_1 = __importDefault(require("./commands/ftsLoadImage"));
|
|
30
32
|
var generateTestScanAccounts_1 = __importDefault(require("./commands/generateTestScanAccounts"));
|
|
31
33
|
var generateTestTransaction_1 = __importDefault(require("./commands/generateTestTransaction"));
|
|
32
34
|
var genuineCheck_1 = __importDefault(require("./commands/genuineCheck"));
|
|
@@ -79,6 +81,8 @@ exports["default"] = {
|
|
|
79
81
|
exportAccounts: exportAccounts_1["default"],
|
|
80
82
|
firmwareRepair: firmwareRepair_1["default"],
|
|
81
83
|
firmwareUpdate: firmwareUpdate_1["default"],
|
|
84
|
+
ftsFetchImage: ftsFetchImage_1["default"],
|
|
85
|
+
ftsLoadImage: ftsLoadImage_1["default"],
|
|
82
86
|
generateTestScanAccounts: generateTestScanAccounts_1["default"],
|
|
83
87
|
generateTestTransaction: generateTestTransaction_1["default"],
|
|
84
88
|
genuineCheck: genuineCheck_1["default"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands-index.js","sourceRoot":"","sources":["../src/commands-index.ts"],"names":[],"mappings":";;;;;AAAA,uDAAiC;AACjC,+EAAyD;AACzD,+FAAyE;AACzE,6EAAuD;AACvD,mFAA6D;AAC7D,6EAAuD;AACvD,uDAAiC;AACjC,yEAAmD;AACnD,uEAAiD;AACjD,mEAA6C;AAC7C,2EAAqD;AACrD,mEAA6C;AAC7C,2EAAqD;AACrD,qEAA+C;AAC/C,2FAAqE;AACrE,iFAA2D;AAC3D,qEAA+C;AAC/C,2EAAqD;AACrD,+EAAyD;AACzD,yDAAmC;AACnC,yFAAmE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A;IACJ,WAAW,0BAAA;IACX,YAAY,2BAAA;IACZ,IAAI,mBAAA;IACJ,IAAI,mBAAA;IACJ,qBAAqB,oCAAA;IACrB,qBAAqB,oCAAA;IACrB,6BAA6B,4CAAA;IAC7B,IAAI,mBAAA;IACJ,OAAO,sBAAA;IACP,aAAa,4BAAA;CACd,CAAC"}
|
|
1
|
+
{"version":3,"file":"commands-index.js","sourceRoot":"","sources":["../src/commands-index.ts"],"names":[],"mappings":";;;;;AAAA,uDAAiC;AACjC,+EAAyD;AACzD,+FAAyE;AACzE,6EAAuD;AACvD,mFAA6D;AAC7D,6EAAuD;AACvD,uDAAiC;AACjC,yEAAmD;AACnD,uEAAiD;AACjD,mEAA6C;AAC7C,2EAAqD;AACrD,mEAA6C;AAC7C,2EAAqD;AACrD,qEAA+C;AAC/C,2FAAqE;AACrE,iFAA2D;AAC3D,qEAA+C;AAC/C,2EAAqD;AACrD,+EAAyD;AACzD,yDAAmC;AACnC,yFAAmE;AACnE,6EAAuD;AACvD,6EAAuD;AACvD,6EAAuD;AACvD,2EAAqD;AACrD,yEAAmD;AACnD,iGAA2E;AAC3E,+FAAyE;AACzE,yEAAmD;AACnD,qEAA+C;AAC/C,yFAAmE;AACnE,yDAAmC;AACnC,iEAA2C;AAC3C,uFAAiE;AACjE,+EAAyD;AACzD,mEAA6C;AAC7C,2DAAqC;AACrC,+DAAyC;AACzC,yDAAmC;AACnC,iEAA2C;AAC3C,6EAAuD;AACvD,+EAAyD;AACzD,yDAAmC;AACnC,uEAAiD;AACjD,yEAAmD;AACnD,yDAAmC;AACnC,yDAAmC;AACnC,2FAAqE;AACrE,2FAAqE;AACrE,2GAAqF;AACrF,yDAAmC;AACnC,+DAAyC;AACzC,2EAAqD;AAErD,qBAAe;IACb,GAAG,kBAAA;IACH,eAAe,8BAAA;IACf,uBAAuB,sCAAA;IACvB,cAAc,6BAAA;IACd,iBAAiB,gCAAA;IACjB,cAAc,6BAAA;IACd,GAAG,kBAAA;IACH,YAAY,2BAAA;IACZ,WAAW,0BAAA;IACX,SAAS,wBAAA;IACT,aAAa,4BAAA;IACb,SAAS,wBAAA;IACT,aAAa,4BAAA;IACb,UAAU,yBAAA;IACV,qBAAqB,oCAAA;IACrB,gBAAgB,+BAAA;IAChB,UAAU,yBAAA;IACV,aAAa,4BAAA;IACb,eAAe,8BAAA;IACf,IAAI,mBAAA;IACJ,oBAAoB,mCAAA;IACpB,cAAc,6BAAA;IACd,cAAc,6BAAA;IACd,cAAc,6BAAA;IACd,aAAa,4BAAA;IACb,YAAY,2BAAA;IACZ,wBAAwB,uCAAA;IACxB,uBAAuB,sCAAA;IACvB,YAAY,2BAAA;IACZ,UAAU,yBAAA;IACV,oBAAoB,mCAAA;IACpB,IAAI,mBAAA;IACJ,QAAQ,uBAAA;IACR,mBAAmB,kCAAA;IACnB,eAAe,8BAAA;IACf,SAAS,wBAAA;IACT,KAAK,oBAAA;IACL,OAAO,sBAAA;IACP,IAAI,mBAAA;IACJ,QAAQ,uBAAA;IACR,cAAc,6BAAA;IACd,eAAe,8BAAA;IACf,IAAI,mBAAA;IACJ,WAAW,0BAAA;IACX,YAAY,2BAAA;IACZ,IAAI,mBAAA;IACJ,IAAI,mBAAA;IACJ,qBAAqB,oCAAA;IACrB,qBAAqB,oCAAA;IACrB,6BAA6B,4CAAA;IAC7B,IAAI,mBAAA;IACJ,OAAO,sBAAA;IACP,aAAa,4BAAA;CACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/live-cli",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.5-next.0",
|
|
4
4
|
"description": "ledger-live CLI version",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@ledgerhq/hw-transport-node-ble": "^6.27.6"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ledgerhq/cryptoassets": "^6.36.0",
|
|
26
|
+
"@ledgerhq/cryptoassets": "^6.36.1-next.0",
|
|
27
27
|
"@ledgerhq/errors": "^6.11.1",
|
|
28
28
|
"@ledgerhq/hw-app-btc": "^8.1.1",
|
|
29
29
|
"@ledgerhq/hw-transport": "^6.27.6",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@ledgerhq/hw-transport-mocker": "^6.27.6",
|
|
32
32
|
"@ledgerhq/hw-transport-node-hid": "^6.27.6",
|
|
33
33
|
"@ledgerhq/hw-transport-node-speculos": "^6.27.6",
|
|
34
|
-
"@ledgerhq/live-common": "^27.5.0",
|
|
34
|
+
"@ledgerhq/live-common": "^27.5.1-next.0",
|
|
35
35
|
"@ledgerhq/logs": "^6.10.1",
|
|
36
36
|
"@walletconnect/client": "^1.7.1",
|
|
37
37
|
"asciichart": "^1.5.25",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"invariant": "^2.2.4",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
46
46
|
"lodash.product": "^18.9.19",
|
|
47
|
+
"pako": "^2.0.4",
|
|
47
48
|
"qrcode-terminal": "^0.12.0",
|
|
48
49
|
"qrloop": "^1.2.0",
|
|
49
50
|
"react": "^17.0.2",
|
|
@@ -54,11 +55,12 @@
|
|
|
54
55
|
"ws": "^8.6.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@ledgerhq/types-live": "^6.25.0",
|
|
58
58
|
"@ledgerhq/types-cryptoassets": "^6.23.2",
|
|
59
|
+
"@ledgerhq/types-live": "^6.25.1-next.0",
|
|
59
60
|
"@types/command-line-args": "^5.2.0",
|
|
60
61
|
"@types/lodash": "^4.14.177",
|
|
61
62
|
"@types/node": "^17.0.15",
|
|
63
|
+
"@types/pako": "^2.0.0",
|
|
62
64
|
"ts-node": "^10.4.0",
|
|
63
65
|
"typescript": "^4.5.5"
|
|
64
66
|
},
|