@ledgerhq/live-cli 24.18.4-nightly.2 → 24.18.4-nightly.3

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 +9 -6
  2. package/package.json +3 -3
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.2",
530286
+ version: "34.35.0-nightly.3",
530287
530287
  repository: {
530288
530288
  type: "git",
530289
530289
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -537082,7 +537082,7 @@ var require_package9 = __commonJS({
537082
537082
  "package.json"(exports2, module2) {
537083
537083
  module2.exports = {
537084
537084
  name: "@ledgerhq/live-cli",
537085
- version: "24.18.4-nightly.2",
537085
+ version: "24.18.4-nightly.3",
537086
537086
  description: "ledger-live CLI version",
537087
537087
  repository: {
537088
537088
  type: "git",
@@ -661711,13 +661711,16 @@ var DmkSignerEth = class {
661711
661711
  chainCode: result2.chainCode
661712
661712
  };
661713
661713
  }
661714
- signTransaction(path4, rawTxHex, _resolution) {
661714
+ signTransaction(path4, rawTxHex, resolution) {
661715
661715
  const buffer2 = e11(rawTxHex);
661716
661716
  if (!buffer2) {
661717
661717
  throw new Error("Invalid transaction");
661718
661718
  }
661719
661719
  return new import_rxjs32.Observable((observer) => {
661720
- this.signer.signTransaction(path4, buffer2, { skipOpenApp: true }).observable.subscribe({
661720
+ this.signer.signTransaction(path4, buffer2, {
661721
+ skipOpenApp: true,
661722
+ domain: resolution?.domains?.[0]?.domain
661723
+ }).observable.subscribe({
661721
661724
  next: (result2) => {
661722
661725
  if (result2.status === t40.Error) {
661723
661726
  observer.error(this._mapError(result2.error));
@@ -661778,8 +661781,8 @@ var DmkSignerEth = class {
661778
661781
  }
661779
661782
  setLoadConfig(_config) {
661780
661783
  }
661781
- clearSignTransaction(path4, rawTxHex, _resolutionConfig, _throwOnError) {
661782
- return this.signTransaction(path4, rawTxHex);
661784
+ clearSignTransaction(path4, rawTxHex, resolutionConfig, _throwOnError) {
661785
+ return this.signTransaction(path4, rawTxHex, resolutionConfig);
661783
661786
  }
661784
661787
  signEIP712HashedMessage(_path, _domainSeparatorHex, _hashStructMessageHex) {
661785
661788
  throw new Error("Method not implemented.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.18.4-nightly.2",
3
+ "version": "24.18.4-nightly.3",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,8 +55,8 @@
55
55
  "@types/ws": "8.5.10",
56
56
  "ts-node": "10.9.2",
57
57
  "tsup": "7.3.0",
58
- "@ledgerhq/types-live": "^6.71.0-nightly.1",
59
- "@ledgerhq/types-cryptoassets": "^7.23.0"
58
+ "@ledgerhq/types-cryptoassets": "^7.23.0",
59
+ "@ledgerhq/types-live": "^6.71.0-nightly.1"
60
60
  },
61
61
  "publishConfig": {
62
62
  "directory": "dist"