@ledgerhq/coin-sui 0.17.0-nightly.20251101023821 → 0.17.0-nightly.20251105023815
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 +11 -9
- package/package.json +9 -9
- package/src/bridge/synchronisation.test.ts +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ledgerhq/coin-sui
|
|
2
2
|
|
|
3
|
-
## 0.17.0-nightly.
|
|
3
|
+
## 0.17.0-nightly.20251105023815
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -26,14 +26,16 @@
|
|
|
26
26
|
|
|
27
27
|
- [#12347](https://github.com/LedgerHQ/ledger-live/pull/12347) [`350600a`](https://github.com/LedgerHQ/ledger-live/commit/350600aaad5517f8047cdcbe4798faac0168c951) Thanks [@estrauser-ledger](https://github.com/estrauser-ledger)! - fix: remove fees from sui operations amount
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- @ledgerhq/
|
|
33
|
-
- @ledgerhq/
|
|
34
|
-
- @ledgerhq/live
|
|
35
|
-
- @ledgerhq/
|
|
36
|
-
- @ledgerhq/
|
|
29
|
+
- [#12631](https://github.com/LedgerHQ/ledger-live/pull/12631) [`03da858`](https://github.com/LedgerHQ/ledger-live/commit/03da8580f7d22b156c47bec95b9b2b2bdc1d15da) Thanks [@semeano](https://github.com/semeano)! - Remove mock of deprecated function
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`b4ceaff`](https://github.com/LedgerHQ/ledger-live/commit/b4ceaff2ecf68d8a14e09801c76ab0b014c45286), [`da750a1`](https://github.com/LedgerHQ/ledger-live/commit/da750a16ee5f2c083114569b8ae3c708cceba06c), [`a6bc24e`](https://github.com/LedgerHQ/ledger-live/commit/a6bc24ee988b98bf82f807ac5ce731ba79813901), [`63e8f34`](https://github.com/LedgerHQ/ledger-live/commit/63e8f342f6b951ab77bb710b9971f033c05e579e), [`ccf788d`](https://github.com/LedgerHQ/ledger-live/commit/ccf788d7c0239ca95e76c3cc340f9a6bd09ea726), [`b69c97d`](https://github.com/LedgerHQ/ledger-live/commit/b69c97d979ba97154c9abfda6abfc2a36becee4f), [`34b28dd`](https://github.com/LedgerHQ/ledger-live/commit/34b28dd5e819906daaa79db5fe6064674def5e7d), [`1c6f5f5`](https://github.com/LedgerHQ/ledger-live/commit/1c6f5f5843349b1955f7ca466f98cbe4ffcdaddf), [`d5d838a`](https://github.com/LedgerHQ/ledger-live/commit/d5d838a23e00edd53293843781c559c41db4e854), [`9f61dcf`](https://github.com/LedgerHQ/ledger-live/commit/9f61dcf6163fd66657e5be732c28bea623a40515), [`607e4be`](https://github.com/LedgerHQ/ledger-live/commit/607e4be33145c102debce1606224b08579888aa8), [`c96d73f`](https://github.com/LedgerHQ/ledger-live/commit/c96d73fed0a75a9c208f78d51c34b742703a7dda), [`7744980`](https://github.com/LedgerHQ/ledger-live/commit/774498090411f1a6d6c06395dda1fc7cd24adf24), [`70049be`](https://github.com/LedgerHQ/ledger-live/commit/70049bed0cd0a8c7a9e4947a63af82061dad46c0), [`77566c5`](https://github.com/LedgerHQ/ledger-live/commit/77566c5a3b5795f5938bd5daaa5f8d65934c56b8), [`5b41dd5`](https://github.com/LedgerHQ/ledger-live/commit/5b41dd56e024a5d03ba0e49084113c04887395db), [`f8d904d`](https://github.com/LedgerHQ/ledger-live/commit/f8d904de5607c103549f247428b5a4079f28c1c0), [`eb176c2`](https://github.com/LedgerHQ/ledger-live/commit/eb176c201d711f1d28f74de831c4a6cd0c2d4a50), [`a731c4c`](https://github.com/LedgerHQ/ledger-live/commit/a731c4cd492a968eb7baa981fdd8aaddedd21f25), [`b962966`](https://github.com/LedgerHQ/ledger-live/commit/b962966525517c5cfa7f1f8826f8f2b9162189e4), [`759064d`](https://github.com/LedgerHQ/ledger-live/commit/759064d4815c636af2d73ba548a85b4f53e7b491), [`f392f69`](https://github.com/LedgerHQ/ledger-live/commit/f392f6912f445cc2f7cf4dfcfd030fa3da76f736), [`cadf2e1`](https://github.com/LedgerHQ/ledger-live/commit/cadf2e1dfb09248d3f77d96f94ae774425dbca75), [`cbc0648`](https://github.com/LedgerHQ/ledger-live/commit/cbc064885d8e0459e40d327a2e5389204b3ec705), [`36e5168`](https://github.com/LedgerHQ/ledger-live/commit/36e5168397eaec2a5f425038392a4400f60571d0), [`c70f6a8`](https://github.com/LedgerHQ/ledger-live/commit/c70f6a8370056b6fd8f236205471359d6f9b846f), [`6ccabef`](https://github.com/LedgerHQ/ledger-live/commit/6ccabef8f3c4e8cc042299d531684595ebadcc55), [`3d4188a`](https://github.com/LedgerHQ/ledger-live/commit/3d4188a26021d33b950129d82cb55d2c2e8d4358), [`d9305e8`](https://github.com/LedgerHQ/ledger-live/commit/d9305e8a4d8364366aaba05dd698396d28b539dc), [`2c6a198`](https://github.com/LedgerHQ/ledger-live/commit/2c6a198ba28391695202a0787ce168c53768ff37)]:
|
|
32
|
+
- @ledgerhq/cryptoassets@13.32.0-nightly.20251105023815
|
|
33
|
+
- @ledgerhq/types-cryptoassets@7.30.0-nightly.20251105023815
|
|
34
|
+
- @ledgerhq/types-live@6.88.0-nightly.20251105023815
|
|
35
|
+
- @ledgerhq/coin-framework@6.8.0-nightly.20251105023815
|
|
36
|
+
- @ledgerhq/live-network@2.1.0-nightly.20251105023815
|
|
37
|
+
- @ledgerhq/live-env@2.20.0-nightly.20251105023815
|
|
38
|
+
- @ledgerhq/errors@6.27.0-nightly.20251105023815
|
|
37
39
|
- @ledgerhq/hw-app-sui@1.4.0
|
|
38
40
|
|
|
39
41
|
## 0.16.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-sui",
|
|
3
|
-
"version": "0.17.0-nightly.
|
|
3
|
+
"version": "0.17.0-nightly.20251105023815",
|
|
4
4
|
"description": "Ledger Sui Coin integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger",
|
|
@@ -120,16 +120,16 @@
|
|
|
120
120
|
"bignumber.js": "^9.1.2",
|
|
121
121
|
"lodash": "4.17.21",
|
|
122
122
|
"rxjs": "^7.8.1",
|
|
123
|
-
"@ledgerhq/coin-framework": "^6.8.0-nightly.
|
|
124
|
-
"@ledgerhq/cryptoassets": "^13.32.0-nightly.
|
|
125
|
-
"@ledgerhq/errors": "^6.27.0-nightly.
|
|
123
|
+
"@ledgerhq/coin-framework": "^6.8.0-nightly.20251105023815",
|
|
124
|
+
"@ledgerhq/cryptoassets": "^13.32.0-nightly.20251105023815",
|
|
125
|
+
"@ledgerhq/errors": "^6.27.0-nightly.20251105023815",
|
|
126
126
|
"@ledgerhq/hw-app-sui": "^1.4.0",
|
|
127
|
-
"@ledgerhq/live-env": "^2.20.0-nightly.
|
|
128
|
-
"@ledgerhq/live-network": "^2.1.0-nightly.
|
|
127
|
+
"@ledgerhq/live-env": "^2.20.0-nightly.20251105023815",
|
|
128
|
+
"@ledgerhq/live-network": "^2.1.0-nightly.20251105023815",
|
|
129
129
|
"@ledgerhq/live-promise": "^0.1.1",
|
|
130
130
|
"@ledgerhq/logs": "^6.13.0",
|
|
131
|
-
"@ledgerhq/types-cryptoassets": "^7.30.0-nightly.
|
|
132
|
-
"@ledgerhq/types-live": "^6.88.0-nightly.
|
|
131
|
+
"@ledgerhq/types-cryptoassets": "^7.30.0-nightly.20251105023815",
|
|
132
|
+
"@ledgerhq/types-live": "^6.88.0-nightly.20251105023815"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"@faker-js/faker": "^8.4.1",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"@types/lodash": "^4.14.191",
|
|
139
139
|
"jest": "^29.7.0",
|
|
140
140
|
"ts-jest": "^29.1.1",
|
|
141
|
-
"@ledgerhq/disable-network-setup": "^0.1.0-nightly.
|
|
141
|
+
"@ledgerhq/disable-network-setup": "^0.1.0-nightly.20251105023815"
|
|
142
142
|
},
|
|
143
143
|
"scripts": {
|
|
144
144
|
"clean": "rimraf lib lib-es",
|
|
@@ -13,7 +13,7 @@ import { setCryptoAssetsStore } from "@ledgerhq/coin-framework/crypto-assets/ind
|
|
|
13
13
|
import type { CryptoAssetsStore } from "@ledgerhq/types-live";
|
|
14
14
|
import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
|
|
15
15
|
|
|
16
|
-
// Mock findTokenById
|
|
16
|
+
// Mock findTokenById
|
|
17
17
|
jest.mock("@ledgerhq/cryptoassets/tokens", () => ({
|
|
18
18
|
findTokenById: async (coinType: string) => ({
|
|
19
19
|
id: coinType,
|
|
@@ -25,7 +25,6 @@ jest.mock("@ledgerhq/cryptoassets/tokens", () => ({
|
|
|
25
25
|
parentCurrency: { id: "sui" },
|
|
26
26
|
contract: "0x123",
|
|
27
27
|
}),
|
|
28
|
-
listTokensForCryptoCurrency: () => [{ id: "0x123::sui::TEST" }],
|
|
29
28
|
}));
|
|
30
29
|
|
|
31
30
|
jest.mock("../network", () => {
|
|
@@ -44,6 +43,8 @@ const mockedFindTokenByAddressInCurrency = jest.fn();
|
|
|
44
43
|
setCryptoAssetsStore({
|
|
45
44
|
findTokenByAddressInCurrency: (address: string, currencyId: string) =>
|
|
46
45
|
mockedFindTokenByAddressInCurrency(address, currencyId),
|
|
46
|
+
findTokenById: (_: string) => undefined,
|
|
47
|
+
getTokensSyncHash: (_: string) => Promise.resolve("test_hash"),
|
|
47
48
|
} as unknown as CryptoAssetsStore);
|
|
48
49
|
|
|
49
50
|
describe("getAccountShape", () => {
|