@ledgerhq/live-cli 24.18.4-nightly.4 → 24.18.4-nightly.5

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 (2) hide show
  1. package/lib/cli.js +14 -6
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -530283,7 +530283,7 @@ var require_package8 = __commonJS({
530283
530283
  module2.exports = {
530284
530284
  name: "@ledgerhq/live-common",
530285
530285
  description: "Common ground for the Ledger Live apps",
530286
- version: "34.35.0-nightly.4",
530286
+ version: "34.35.0-nightly.5",
530287
530287
  repository: {
530288
530288
  type: "git",
530289
530289
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -537083,7 +537083,7 @@ var require_package9 = __commonJS({
537083
537083
  "package.json"(exports2, module2) {
537084
537084
  module2.exports = {
537085
537085
  name: "@ledgerhq/live-cli",
537086
- version: "24.18.4-nightly.4",
537086
+ version: "24.18.4-nightly.5",
537087
537087
  description: "ledger-live CLI version",
537088
537088
  repository: {
537089
537089
  type: "git",
@@ -559660,6 +559660,10 @@ var modes = Object.freeze({
559660
559660
  solanaSub: {
559661
559661
  overridesDerivation: "44'/501'/<account>'"
559662
559662
  },
559663
+ solanaBip44Change: {
559664
+ overridesDerivation: "44'/501'/<account>'/0'",
559665
+ mandatoryEmptyAccountSkip: 10
559666
+ },
559663
559667
  hederaBip44: {
559664
559668
  overridesDerivation: "44/3030"
559665
559669
  },
@@ -559718,7 +559722,7 @@ var legacyDerivations = {
559718
559722
  ton: ["ton"],
559719
559723
  ethereum: ["ethM", "ethMM"],
559720
559724
  ethereum_classic: ["ethM", "ethMM", "etcM"],
559721
- solana: ["solanaMain", "solanaSub"],
559725
+ solana: ["solanaMain", "solanaBip44Change", "solanaSub"],
559722
559726
  solana_devnet: ["solanaMain", "solanaSub"],
559723
559727
  solana_testnet: ["solanaMain", "solanaSub"],
559724
559728
  sui: ["sui"],
@@ -832398,9 +832402,13 @@ var SpeculosHttpTransport = class _SpeculosHttpTransport extends Transport {
832398
832402
  }).then((response) => {
832399
832403
  response.data.on("data", (chunk5) => {
832400
832404
  log2("speculos-event", chunk5.toString());
832401
- const split10 = chunk5.toString().replace("data: ", "");
832402
- const json2 = JSON.parse(split10);
832403
- transport.automationEvents.next(json2);
832405
+ chunk5.toString().split("\n").forEach((line) => {
832406
+ if (line.startsWith("data: ")) {
832407
+ const jsonStr = line.slice("data: ".length);
832408
+ const json2 = JSON.parse(jsonStr);
832409
+ transport.automationEvents.next(json2);
832410
+ }
832411
+ });
832404
832412
  });
832405
832413
  response.data.on("close", () => {
832406
832414
  log2("speculos-event", "close");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.18.4-nightly.4",
3
+ "version": "24.18.4-nightly.5",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,7 +56,7 @@
56
56
  "ts-node": "10.9.2",
57
57
  "tsup": "7.3.0",
58
58
  "@ledgerhq/types-cryptoassets": "^7.23.0",
59
- "@ledgerhq/types-live": "^6.71.0-nightly.2"
59
+ "@ledgerhq/types-live": "^6.71.0-nightly.3"
60
60
  },
61
61
  "publishConfig": {
62
62
  "directory": "dist"