@ledgerhq/coin-vechain 2.13.0-nightly.20251209144712 → 2.13.1

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @ledgerhq/coin-vechain@2.12.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-vechain
2
+ > @ledgerhq/coin-vechain@2.13.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-vechain
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,24 +1,54 @@
1
1
  # @ledgerhq/coin-evm
2
2
 
3
- ## 2.13.0-nightly.20251209144712
3
+ ## 2.13.1
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`b68b749`](https://github.com/LedgerHQ/ledger-live/commit/b68b749b53c9583dd983ab057faa89fced1e541e)]:
8
+ - @ledgerhq/errors@6.27.1
9
+ - @ledgerhq/coin-framework@6.10.1
10
+ - @ledgerhq/cryptoassets@13.34.1
11
+ - @ledgerhq/devices@8.7.1
12
+ - @ledgerhq/live-network@2.1.3
13
+
14
+ ## 2.13.1-hotfix.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`b68b749`](https://github.com/LedgerHQ/ledger-live/commit/b68b749b53c9583dd983ab057faa89fced1e541e)]:
19
+ - @ledgerhq/errors@6.27.1-hotfix.0
20
+ - @ledgerhq/coin-framework@6.10.1-hotfix.0
21
+ - @ledgerhq/cryptoassets@13.34.1-hotfix.0
22
+ - @ledgerhq/devices@8.7.1-hotfix.0
23
+ - @ledgerhq/live-network@2.1.3-hotfix.0
24
+
25
+ ## 2.13.0
6
26
 
7
- - [#13142](https://github.com/LedgerHQ/ledger-live/pull/13142) [`bdacedf`](https://github.com/LedgerHQ/ledger-live/commit/bdacedfe32bea8ffce96ab675a44c0d7cf395143) Thanks [@mcayuelas-ledger](https://github.com/mcayuelas-ledger)! - upgrade typescript-eslint rules & versions
27
+ ### Minor Changes
8
28
 
9
- - [#13155](https://github.com/LedgerHQ/ledger-live/pull/13155) [`aadb3d5`](https://github.com/LedgerHQ/ledger-live/commit/aadb3d57f5719cc2cc397975eafec8094b160afe) Thanks [@gre-ledger](https://github.com/gre-ledger)! - rxjs@7.8.2 everywhere
29
+ - [#12840](https://github.com/LedgerHQ/ledger-live/pull/12840) [`ed580b3`](https://github.com/LedgerHQ/ledger-live/commit/ed580b3b8bee2ad492e40788adb29f90f175bce5) Thanks [@alevito](https://github.com/alevito)! - improve accuracy of gas estimation by setting the transaction caller to origin's address, rather than the recipient's address
10
30
 
11
31
  ### Patch Changes
12
32
 
33
+ - Updated dependencies [[`50aeea1`](https://github.com/LedgerHQ/ledger-live/commit/50aeea1233056e9abff9568eb928927f39e76cff), [`a2ecb55`](https://github.com/LedgerHQ/ledger-live/commit/a2ecb55df9d383dc282f5fe489cb14386208215e), [`fe81926`](https://github.com/LedgerHQ/ledger-live/commit/fe81926afeb2df8e917e6bd1e4cbab13f09647fd), [`67137eb`](https://github.com/LedgerHQ/ledger-live/commit/67137eb5d7f04dd5f3610fdaa4e463d292654105), [`49ef24c`](https://github.com/LedgerHQ/ledger-live/commit/49ef24cbd1948bfd146af0b20f2128951b2dc170), [`b4a4e16`](https://github.com/LedgerHQ/ledger-live/commit/b4a4e160aae6fd64f944ab25633f6931dc4358d3), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`9251b77`](https://github.com/LedgerHQ/ledger-live/commit/9251b77fcb01709723842f19220a2a41a6fc8f3b), [`02ef98f`](https://github.com/LedgerHQ/ledger-live/commit/02ef98faeb13c182ef255e06a43c39abeb55ecc7), [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009), [`b113920`](https://github.com/LedgerHQ/ledger-live/commit/b11392056bc334fc1813c473569ad3ae7be08045), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d)]:
34
+ - @ledgerhq/cryptoassets@13.34.0
35
+ - @ledgerhq/coin-framework@6.10.0
36
+ - @ledgerhq/live-env@2.22.0
37
+ - @ledgerhq/live-network@2.1.2
38
+
39
+ ## 2.13.0-next.0
40
+
41
+ ### Minor Changes
42
+
13
43
  - [#12840](https://github.com/LedgerHQ/ledger-live/pull/12840) [`ed580b3`](https://github.com/LedgerHQ/ledger-live/commit/ed580b3b8bee2ad492e40788adb29f90f175bce5) Thanks [@alevito](https://github.com/alevito)! - improve accuracy of gas estimation by setting the transaction caller to origin's address, rather than the recipient's address
14
44
 
15
- - Updated dependencies [[`50aeea1`](https://github.com/LedgerHQ/ledger-live/commit/50aeea1233056e9abff9568eb928927f39e76cff), [`480a08a`](https://github.com/LedgerHQ/ledger-live/commit/480a08ae190119829910b46ecc6d2a9fb11bb7c2), [`a2ecb55`](https://github.com/LedgerHQ/ledger-live/commit/a2ecb55df9d383dc282f5fe489cb14386208215e), [`7ae71b6`](https://github.com/LedgerHQ/ledger-live/commit/7ae71b64161424b398b63f77da5127085143fcdc), [`5fa83e4`](https://github.com/LedgerHQ/ledger-live/commit/5fa83e49c5fb103da7ecf0777b7e75bb35d5ed61), [`c5da2ce`](https://github.com/LedgerHQ/ledger-live/commit/c5da2cef7cded2b53c1af9aa3174cd27e5c92e0a), [`fe81926`](https://github.com/LedgerHQ/ledger-live/commit/fe81926afeb2df8e917e6bd1e4cbab13f09647fd), [`67137eb`](https://github.com/LedgerHQ/ledger-live/commit/67137eb5d7f04dd5f3610fdaa4e463d292654105), [`49ef24c`](https://github.com/LedgerHQ/ledger-live/commit/49ef24cbd1948bfd146af0b20f2128951b2dc170), [`bdacedf`](https://github.com/LedgerHQ/ledger-live/commit/bdacedfe32bea8ffce96ab675a44c0d7cf395143), [`b4a4e16`](https://github.com/LedgerHQ/ledger-live/commit/b4a4e160aae6fd64f944ab25633f6931dc4358d3), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`9251b77`](https://github.com/LedgerHQ/ledger-live/commit/9251b77fcb01709723842f19220a2a41a6fc8f3b), [`02ef98f`](https://github.com/LedgerHQ/ledger-live/commit/02ef98faeb13c182ef255e06a43c39abeb55ecc7), [`3e70677`](https://github.com/LedgerHQ/ledger-live/commit/3e706774f8c4e9b768ab18b67abc3471cf61b6b6), [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009), [`aadb3d5`](https://github.com/LedgerHQ/ledger-live/commit/aadb3d57f5719cc2cc397975eafec8094b160afe), [`d4bad44`](https://github.com/LedgerHQ/ledger-live/commit/d4bad4433c3fb083d95820d2927a9e8beeaf244f), [`8d8e1b7`](https://github.com/LedgerHQ/ledger-live/commit/8d8e1b7bb26305af326ea21710248223d1e8653b), [`5e0556a`](https://github.com/LedgerHQ/ledger-live/commit/5e0556a3bd0ea60277462eed10c997b17b09d299), [`bce6610`](https://github.com/LedgerHQ/ledger-live/commit/bce6610ca8554a85f8f17b6014e921fdecd3fa4f), [`2a60165`](https://github.com/LedgerHQ/ledger-live/commit/2a601656b7a23a424a29f006ec53090648fdae4f), [`b113920`](https://github.com/LedgerHQ/ledger-live/commit/b11392056bc334fc1813c473569ad3ae7be08045), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d)]:
16
- - @ledgerhq/cryptoassets@13.34.0-nightly.20251209144712
17
- - @ledgerhq/coin-framework@6.10.0-nightly.20251209144712
18
- - @ledgerhq/live-env@2.22.0-nightly.20251209144712
19
- - @ledgerhq/errors@6.28.0-nightly.20251209144712
20
- - @ledgerhq/devices@8.8.0-nightly.20251209144712
21
- - @ledgerhq/live-network@2.1.2-nightly.20251209144712
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [[`50aeea1`](https://github.com/LedgerHQ/ledger-live/commit/50aeea1233056e9abff9568eb928927f39e76cff), [`a2ecb55`](https://github.com/LedgerHQ/ledger-live/commit/a2ecb55df9d383dc282f5fe489cb14386208215e), [`fe81926`](https://github.com/LedgerHQ/ledger-live/commit/fe81926afeb2df8e917e6bd1e4cbab13f09647fd), [`67137eb`](https://github.com/LedgerHQ/ledger-live/commit/67137eb5d7f04dd5f3610fdaa4e463d292654105), [`49ef24c`](https://github.com/LedgerHQ/ledger-live/commit/49ef24cbd1948bfd146af0b20f2128951b2dc170), [`b4a4e16`](https://github.com/LedgerHQ/ledger-live/commit/b4a4e160aae6fd64f944ab25633f6931dc4358d3), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`9251b77`](https://github.com/LedgerHQ/ledger-live/commit/9251b77fcb01709723842f19220a2a41a6fc8f3b), [`02ef98f`](https://github.com/LedgerHQ/ledger-live/commit/02ef98faeb13c182ef255e06a43c39abeb55ecc7), [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009), [`b113920`](https://github.com/LedgerHQ/ledger-live/commit/b11392056bc334fc1813c473569ad3ae7be08045), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d)]:
48
+ - @ledgerhq/cryptoassets@13.34.0-next.0
49
+ - @ledgerhq/coin-framework@6.10.0-next.0
50
+ - @ledgerhq/live-env@2.22.0-next.0
51
+ - @ledgerhq/live-network@2.1.2-next.0
22
52
 
23
53
  ## 2.12.1
24
54
 
@@ -12,7 +12,7 @@ const signMessage = (signerContext) => async (deviceId, path, message, rawMessag
12
12
  messageObj = JSON.parse(rawMessage);
13
13
  unsigned = types_1.VechainSDKTransaction.of(messageObj);
14
14
  }
15
- catch {
15
+ catch (e) {
16
16
  throw new Error("Message is not a valid JSON object");
17
17
  }
18
18
  const result = await signerContext(deviceId, signer => signer.signTransaction(path, Buffer.from(unsigned.encoded).toString("hex")));
@@ -1 +1 @@
1
- {"version":3,"file":"signMessage.js","sourceRoot":"","sources":["../../src/signer/signMessage.ts"],"names":[],"mappings":";;;AACA,oCAAgE;AAEzD,MAAM,WAAW,GACtB,CAAC,aAA2C,EAAE,EAAE,CAChD,KAAK,EAAE,QAAgB,EAAE,IAAY,EAAE,OAAe,EAAE,UAAkB,EAAE,EAAE;IAC5E,IAAI,UAAU,CAAC;IACf,IAAI,QAA+B,CAAC;IACpC,IAAI,CAAC;QACH,IAAI,OAAO;YAAE,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;;YACzC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACzC,QAAQ,GAAG,6BAAqB,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CACpD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAC5E,CAAC;IAEF,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC;AAjBS,QAAA,WAAW,eAiBpB"}
1
+ {"version":3,"file":"signMessage.js","sourceRoot":"","sources":["../../src/signer/signMessage.ts"],"names":[],"mappings":";;;AACA,oCAAgE;AAEzD,MAAM,WAAW,GACtB,CAAC,aAA2C,EAAE,EAAE,CAChD,KAAK,EAAE,QAAgB,EAAE,IAAY,EAAE,OAAe,EAAE,UAAkB,EAAE,EAAE;IAC5E,IAAI,UAAU,CAAC;IACf,IAAI,QAA+B,CAAC;IACpC,IAAI,CAAC;QACH,IAAI,OAAO;YAAE,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;;YACzC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACzC,QAAQ,GAAG,6BAAqB,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CACpD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAC5E,CAAC;IAEF,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC;AAjBS,QAAA,WAAW,eAiBpB"}
@@ -9,7 +9,7 @@ export const signMessage = (signerContext) => async (deviceId, path, message, ra
9
9
  messageObj = JSON.parse(rawMessage);
10
10
  unsigned = VechainSDKTransaction.of(messageObj);
11
11
  }
12
- catch {
12
+ catch (e) {
13
13
  throw new Error("Message is not a valid JSON object");
14
14
  }
15
15
  const result = await signerContext(deviceId, signer => signer.signTransaction(path, Buffer.from(unsigned.encoded).toString("hex")));
@@ -1 +1 @@
1
- {"version":3,"file":"signMessage.js","sourceRoot":"","sources":["../../src/signer/signMessage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAiB,MAAM,UAAU,CAAC;AAEhE,MAAM,CAAC,MAAM,WAAW,GACtB,CAAC,aAA2C,EAAE,EAAE,CAChD,KAAK,EAAE,QAAgB,EAAE,IAAY,EAAE,OAAe,EAAE,UAAkB,EAAE,EAAE;IAC5E,IAAI,UAAU,CAAC;IACf,IAAI,QAA+B,CAAC;IACpC,IAAI,CAAC;QACH,IAAI,OAAO;YAAE,UAAU,GAAG,IA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E,MAAM,CAAC,EAAE,CACpD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAC5E,CAAC;IAEF,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-vechain",
3
- "version": "2.13.0-nightly.20251209144712",
3
+ "version": "2.13.1",
4
4
  "description": "Ledger VeChain Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -83,15 +83,15 @@
83
83
  "eip55": "^2.1.1",
84
84
  "invariant": "^2.2.2",
85
85
  "lodash": "^4.17.21",
86
- "rxjs": "7.8.2",
86
+ "rxjs": "^7.8.1",
87
87
  "@vechain/sdk-core": "2.0.0",
88
88
  "@vechain/sdk-network": "2.0.0",
89
- "@ledgerhq/devices": "8.8.0-nightly.20251209144712",
90
- "@ledgerhq/coin-framework": "^6.10.0-nightly.20251209144712",
91
- "@ledgerhq/cryptoassets": "^13.34.0-nightly.20251209144712",
92
- "@ledgerhq/errors": "^6.28.0-nightly.20251209144712",
93
- "@ledgerhq/live-env": "^2.22.0-nightly.20251209144712",
94
- "@ledgerhq/live-network": "^2.1.2-nightly.20251209144712"
89
+ "@ledgerhq/coin-framework": "^6.10.1",
90
+ "@ledgerhq/cryptoassets": "^13.34.1",
91
+ "@ledgerhq/devices": "8.7.1",
92
+ "@ledgerhq/errors": "^6.27.1",
93
+ "@ledgerhq/live-env": "^2.22.0",
94
+ "@ledgerhq/live-network": "^2.1.3"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@faker-js/faker": "^9.6.0",
@@ -102,8 +102,8 @@
102
102
  "jest": "^29.7.0",
103
103
  "msw": "^2.2.13",
104
104
  "ts-jest": "^29.1.1",
105
- "@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251209144712",
106
- "@ledgerhq/types-live": "^6.90.0-nightly.20251209144712",
105
+ "@ledgerhq/types-cryptoassets": "^7.30.0",
106
+ "@ledgerhq/types-live": "^6.90.0",
107
107
  "@ledgerhq/disable-network-setup": "^0.1.0"
108
108
  },
109
109
  "scripts": {
@@ -10,7 +10,7 @@ export const signMessage =
10
10
  if (message) messageObj = JSON.parse(message);
11
11
  else messageObj = JSON.parse(rawMessage);
12
12
  unsigned = VechainSDKTransaction.of(messageObj);
13
- } catch {
13
+ } catch (e) {
14
14
  throw new Error("Message is not a valid JSON object");
15
15
  }
16
16
  const result = await signerContext(deviceId, signer =>