@ledgerhq/coin-vechain 2.13.0 → 2.14.0-nightly.20251210114107
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @ledgerhq/coin-evm
|
|
2
2
|
|
|
3
|
+
## 2.14.0-nightly.20251210114107
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
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
|
|
8
|
+
|
|
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
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`480a08a`](https://github.com/LedgerHQ/ledger-live/commit/480a08ae190119829910b46ecc6d2a9fb11bb7c2), [`bc76d51`](https://github.com/LedgerHQ/ledger-live/commit/bc76d5154d35f8340b6b282c4909cd26920b8d40), [`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), [`bdacedf`](https://github.com/LedgerHQ/ledger-live/commit/bdacedfe32bea8ffce96ab675a44c0d7cf395143), [`3e70677`](https://github.com/LedgerHQ/ledger-live/commit/3e706774f8c4e9b768ab18b67abc3471cf61b6b6), [`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)]:
|
|
14
|
+
- @ledgerhq/coin-framework@6.11.0-nightly.20251210114107
|
|
15
|
+
- @ledgerhq/cryptoassets@13.35.0-nightly.20251210114107
|
|
16
|
+
- @ledgerhq/errors@6.28.0-nightly.20251210114107
|
|
17
|
+
- @ledgerhq/live-env@2.23.0-nightly.20251210114107
|
|
18
|
+
- @ledgerhq/devices@8.8.0-nightly.20251210114107
|
|
19
|
+
- @ledgerhq/live-network@2.1.3-nightly.20251210114107
|
|
20
|
+
|
|
3
21
|
## 2.13.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -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 {
|
|
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;AAE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AAQ,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 {
|
|
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,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;;YACzC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACzC,QAAQ,GAAG,qBAAqB,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;IAAC,
|
|
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,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;;YACzC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACzC,QAAQ,GAAG,qBAAqB,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-vechain",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0-nightly.20251210114107",
|
|
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": "
|
|
86
|
+
"rxjs": "7.8.2",
|
|
87
87
|
"@vechain/sdk-core": "2.0.0",
|
|
88
88
|
"@vechain/sdk-network": "2.0.0",
|
|
89
|
-
"@ledgerhq/coin-framework": "^6.
|
|
90
|
-
"@ledgerhq/cryptoassets": "^13.
|
|
91
|
-
"@ledgerhq/
|
|
92
|
-
"@ledgerhq/
|
|
93
|
-
"@ledgerhq/live-env": "^2.
|
|
94
|
-
"@ledgerhq/live-network": "^2.1.
|
|
89
|
+
"@ledgerhq/coin-framework": "^6.11.0-nightly.20251210114107",
|
|
90
|
+
"@ledgerhq/cryptoassets": "^13.35.0-nightly.20251210114107",
|
|
91
|
+
"@ledgerhq/devices": "8.8.0-nightly.20251210114107",
|
|
92
|
+
"@ledgerhq/errors": "^6.28.0-nightly.20251210114107",
|
|
93
|
+
"@ledgerhq/live-env": "^2.23.0-nightly.20251210114107",
|
|
94
|
+
"@ledgerhq/live-network": "^2.1.3-nightly.20251210114107"
|
|
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.
|
|
106
|
-
"@ledgerhq/types-live": "^6.
|
|
105
|
+
"@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251210114107",
|
|
106
|
+
"@ledgerhq/types-live": "^6.91.0-nightly.20251210114107",
|
|
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 {
|
|
14
14
|
throw new Error("Message is not a valid JSON object");
|
|
15
15
|
}
|
|
16
16
|
const result = await signerContext(deviceId, signer =>
|