@ledgerhq/coin-tron 5.0.0-nightly.3 → 5.0.1-nightly.0

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-tron@4.5.0-nightly.2 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-tron
2
+ > @ledgerhq/coin-tron@5.0.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-tron
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,20 +1,38 @@
1
1
  # @ledgerhq/coin-tron
2
2
 
3
- ## 5.0.0-nightly.3
3
+ ## 5.0.1-nightly.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @ledgerhq/coin-framework@6.0.1-nightly.0
9
+ - @ledgerhq/cryptoassets@13.24.1-nightly.0
10
+ - @ledgerhq/live-network@2.0.15-nightly.0
11
+
12
+ ## 5.0.0
4
13
 
5
14
  ### Major Changes
6
15
 
7
16
  - [#11138](https://github.com/LedgerHQ/ledger-live/pull/11138) [`417e4fc`](https://github.com/LedgerHQ/ledger-live/commit/417e4fc8b92ebc95542ca915e14023fdb62497bb) Thanks [@francois-guerin-ledger](https://github.com/francois-guerin-ledger)! - core(coin-framework): pass `FeeEstimation` to `craftTransaction`
8
17
 
18
+ ### Minor Changes
19
+
20
+ - [#11154](https://github.com/LedgerHQ/ledger-live/pull/11154) [`5bb2111`](https://github.com/LedgerHQ/ledger-live/commit/5bb2111d6a0c84cd0d6508bbf33d184bc89f9da3) Thanks [@qperrot](https://github.com/qperrot)! - Remove generic type for token assets
21
+
9
22
  ### Patch Changes
10
23
 
11
- - Updated dependencies [[`2da9b4a`](https://github.com/LedgerHQ/ledger-live/commit/2da9b4a5dd9fec3fea188fc9fa107b2c3479d1be), [`417e4fc`](https://github.com/LedgerHQ/ledger-live/commit/417e4fc8b92ebc95542ca915e14023fdb62497bb)]:
12
- - @ledgerhq/types-cryptoassets@7.24.0-nightly.1
13
- - @ledgerhq/cryptoassets@13.23.0-nightly.2
14
- - @ledgerhq/types-live@6.79.0-nightly.1
15
- - @ledgerhq/coin-framework@6.0.0-nightly.3
24
+ - Updated dependencies [[`b5cbffa`](https://github.com/LedgerHQ/ledger-live/commit/b5cbffac207569027e241db761a6aa70b3b1b636), [`2da9b4a`](https://github.com/LedgerHQ/ledger-live/commit/2da9b4a5dd9fec3fea188fc9fa107b2c3479d1be), [`5bb2111`](https://github.com/LedgerHQ/ledger-live/commit/5bb2111d6a0c84cd0d6508bbf33d184bc89f9da3), [`417e4fc`](https://github.com/LedgerHQ/ledger-live/commit/417e4fc8b92ebc95542ca915e14023fdb62497bb), [`9c63d6b`](https://github.com/LedgerHQ/ledger-live/commit/9c63d6b8d5fb629a19514ec36396c35eeefb96aa), [`8b0b4ef`](https://github.com/LedgerHQ/ledger-live/commit/8b0b4efaf2c0968cfb60c0cecebca9c575b00748)]:
25
+ - @ledgerhq/cryptoassets@13.24.0
26
+ - @ledgerhq/types-cryptoassets@7.25.0
27
+ - @ledgerhq/types-live@6.80.0
28
+ - @ledgerhq/coin-framework@6.0.0
29
+ - @ledgerhq/live-network@2.0.14
30
+
31
+ ## 5.0.0-next.0
32
+
33
+ ### Major Changes
16
34
 
17
- ## 4.5.0-nightly.2
35
+ - [#11138](https://github.com/LedgerHQ/ledger-live/pull/11138) [`417e4fc`](https://github.com/LedgerHQ/ledger-live/commit/417e4fc8b92ebc95542ca915e14023fdb62497bb) Thanks [@francois-guerin-ledger](https://github.com/francois-guerin-ledger)! - core(coin-framework): pass `FeeEstimation` to `craftTransaction`
18
36
 
19
37
  ### Minor Changes
20
38
 
@@ -22,26 +40,48 @@
22
40
 
23
41
  ### Patch Changes
24
42
 
25
- - Updated dependencies [[`b5cbffa`](https://github.com/LedgerHQ/ledger-live/commit/b5cbffac207569027e241db761a6aa70b3b1b636), [`5bb2111`](https://github.com/LedgerHQ/ledger-live/commit/5bb2111d6a0c84cd0d6508bbf33d184bc89f9da3)]:
26
- - @ledgerhq/cryptoassets@13.23.0-nightly.1
27
- - @ledgerhq/coin-framework@5.8.0-nightly.2
43
+ - Updated dependencies [[`b5cbffa`](https://github.com/LedgerHQ/ledger-live/commit/b5cbffac207569027e241db761a6aa70b3b1b636), [`2da9b4a`](https://github.com/LedgerHQ/ledger-live/commit/2da9b4a5dd9fec3fea188fc9fa107b2c3479d1be), [`5bb2111`](https://github.com/LedgerHQ/ledger-live/commit/5bb2111d6a0c84cd0d6508bbf33d184bc89f9da3), [`417e4fc`](https://github.com/LedgerHQ/ledger-live/commit/417e4fc8b92ebc95542ca915e14023fdb62497bb), [`9c63d6b`](https://github.com/LedgerHQ/ledger-live/commit/9c63d6b8d5fb629a19514ec36396c35eeefb96aa), [`8b0b4ef`](https://github.com/LedgerHQ/ledger-live/commit/8b0b4efaf2c0968cfb60c0cecebca9c575b00748)]:
44
+ - @ledgerhq/cryptoassets@13.24.0-next.0
45
+ - @ledgerhq/types-cryptoassets@7.25.0-next.0
46
+ - @ledgerhq/types-live@6.80.0-next.0
47
+ - @ledgerhq/coin-framework@6.0.0-next.0
48
+ - @ledgerhq/live-network@2.0.14-next.0
49
+
50
+ ## 4.5.0
51
+
52
+ ### Minor Changes
28
53
 
29
- ## 4.4.3-nightly.1
54
+ - [#10838](https://github.com/LedgerHQ/ledger-live/pull/10838) [`d5f6793`](https://github.com/LedgerHQ/ledger-live/commit/d5f6793c6ae52178e93a19efc75931994bf930a8) Thanks [@jnicoulaud-ledger](https://github.com/jnicoulaud-ledger)! - [coin-modules][ALPACA] add getBlock to coin-framework API, implement it for SUI
30
55
 
31
56
  ### Patch Changes
32
57
 
33
- - Updated dependencies []:
34
- - @ledgerhq/coin-framework@5.7.1-nightly.1
35
- - @ledgerhq/cryptoassets@13.22.1-nightly.0
36
- - @ledgerhq/live-network@2.0.14-nightly.0
58
+ - Updated dependencies [[`4eee376`](https://github.com/LedgerHQ/ledger-live/commit/4eee3767b513dfb58a156cf2ce8086e31a7d55bf), [`72c2a6c`](https://github.com/LedgerHQ/ledger-live/commit/72c2a6c91cfee66fac3505774ba16049fba1c0cf), [`6312f3a`](https://github.com/LedgerHQ/ledger-live/commit/6312f3a039e3018dfd78d231fa91ecf8fc82a118), [`8423a9f`](https://github.com/LedgerHQ/ledger-live/commit/8423a9fbba0d54d18ff35c0519a82829fc8042e0), [`6792990`](https://github.com/LedgerHQ/ledger-live/commit/6792990d8130ec297192bb7d6b98aef024e81dfa), [`d5f6793`](https://github.com/LedgerHQ/ledger-live/commit/d5f6793c6ae52178e93a19efc75931994bf930a8), [`132af3d`](https://github.com/LedgerHQ/ledger-live/commit/132af3db5863fb6e54587dd53d4db7b0ec19259e)]:
59
+ - @ledgerhq/types-live@6.79.0
60
+ - @ledgerhq/cryptoassets@13.23.0
61
+ - @ledgerhq/types-cryptoassets@7.24.0
62
+ - @ledgerhq/coin-framework@5.8.0
63
+
64
+ ## 4.5.0-next.1
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [[`8423a9f`](https://github.com/LedgerHQ/ledger-live/commit/8423a9fbba0d54d18ff35c0519a82829fc8042e0)]:
69
+ - @ledgerhq/types-live@6.79.0-next.1
70
+ - @ledgerhq/coin-framework@5.8.0-next.1
71
+
72
+ ## 4.5.0-next.0
73
+
74
+ ### Minor Changes
37
75
 
38
- ## 4.4.3-nightly.0
76
+ - [#10838](https://github.com/LedgerHQ/ledger-live/pull/10838) [`d5f6793`](https://github.com/LedgerHQ/ledger-live/commit/d5f6793c6ae52178e93a19efc75931994bf930a8) Thanks [@jnicoulaud-ledger](https://github.com/jnicoulaud-ledger)! - [coin-modules][ALPACA] add getBlock to coin-framework API, implement it for SUI
39
77
 
40
78
  ### Patch Changes
41
79
 
42
- - Updated dependencies [[`6312f3a`](https://github.com/LedgerHQ/ledger-live/commit/6312f3a039e3018dfd78d231fa91ecf8fc82a118)]:
43
- - @ledgerhq/types-live@6.78.1-nightly.0
44
- - @ledgerhq/coin-framework@5.7.1-nightly.0
80
+ - Updated dependencies [[`4eee376`](https://github.com/LedgerHQ/ledger-live/commit/4eee3767b513dfb58a156cf2ce8086e31a7d55bf), [`72c2a6c`](https://github.com/LedgerHQ/ledger-live/commit/72c2a6c91cfee66fac3505774ba16049fba1c0cf), [`6312f3a`](https://github.com/LedgerHQ/ledger-live/commit/6312f3a039e3018dfd78d231fa91ecf8fc82a118), [`6792990`](https://github.com/LedgerHQ/ledger-live/commit/6792990d8130ec297192bb7d6b98aef024e81dfa), [`d5f6793`](https://github.com/LedgerHQ/ledger-live/commit/d5f6793c6ae52178e93a19efc75931994bf930a8), [`132af3d`](https://github.com/LedgerHQ/ledger-live/commit/132af3db5863fb6e54587dd53d4db7b0ec19259e)]:
81
+ - @ledgerhq/types-live@6.79.0-next.0
82
+ - @ledgerhq/cryptoassets@13.23.0-next.0
83
+ - @ledgerhq/types-cryptoassets@7.24.0-next.0
84
+ - @ledgerhq/coin-framework@5.8.0-next.0
45
85
 
46
86
  ## 4.4.2
47
87
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAOV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAWxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC,CAkBjE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAWV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAWxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC,CAwBjE"}
package/lib/api/index.js CHANGED
@@ -22,6 +22,12 @@ function createApi(config) {
22
22
  getBlockInfo(_height) {
23
23
  throw new Error("getBlockInfo is not supported");
24
24
  },
25
+ getStakes(_address, _cursor) {
26
+ throw new Error("getStakes is not supported");
27
+ },
28
+ getRewards(_address, _cursor) {
29
+ throw new Error("getRewards is not supported");
30
+ },
25
31
  };
26
32
  }
27
33
  async function estimate(transactionIntent) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;AAsBA,8BAkBC;AA/BD,uDAAwD;AACxD,oCASkB;AAGlB,SAAgB,SAAS,CAAC,MAAkB;IAC1C,gBAAU,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;IAE5E,OAAO;QACL,SAAS,EAAT,iBAAS;QACT,OAAO,EAAP,eAAO;QACP,gBAAgB,EAAhB,wBAAgB;QAChB,YAAY,EAAE,QAAQ;QACtB,UAAU,EAAV,kBAAU;QACV,SAAS,EAAT,iBAAS;QACT,cAAc;QACd,QAAQ,CAAC,OAAO;YACd,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,YAAY,CAAC,OAAe;YAC1B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;KACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,iBAA8C;IACpE,MAAM,IAAI,GAAG,MAAM,IAAA,oBAAY,EAAC,iBAAiB,CAAC,CAAC;IACnD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACzB,CAAC;AAED,KAAK,UAAU,cAAc,CAC3B,OAAe,E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EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACzB,CAAC;AAED,KAAK,UAAU,cAAc,CAC3B,OAAe,EACf,UAAsB;IAEtB,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;IACjC,MAAM,OAAO,GAAY;QACvB,SAAS,EAAE,GAAG;QACd,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,KAAK;KACJ,CAAC;IACX,OAAO,IAAA,sBAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAOV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAWxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC,CAkBjE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAWV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAWxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC,CAwBjE"}
@@ -16,6 +16,12 @@ export function createApi(config) {
16
16
  getBlockInfo(_height) {
17
17
  throw new Error("getBlockInfo is not supported");
18
18
  },
19
+ getStakes(_address, _cursor) {
20
+ throw new Error("getStakes is not supported");
21
+ },
22
+ getRewards(_address, _cursor) {
23
+ throw new Error("getRewards is not supported");
24
+ },
19
25
  };
20
26
  }
21
27
  async function estimate(transactionIntent) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AASA,OAAO,UAA+B,MAAM,WAAW,CAAC;AACxD,OAAO,EACL,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,cAAc,IAAI,mBAAmB,EACrC,SAAS,GAEV,MAAM,UAAU,CAAC;AAGlB,MAAM,UAAU,SAAS,CAAC,MAAkB;IAC1C,UAAU,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;IAE5E,OAAO;QACL,SAAS;QACT,OAAO;QACP,gBAAgB;QAChB,YAAY,EAAE,QAAQ;QACtB,UAAU;QACV,SAAS;QACT,cAAc;QACd,QAAQ,CAAC,OAAO;YACd,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QACD,YAAY,CAAC,OAAe;YAC1B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;KACF,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,iBAA8C;IACpE,MAAM,IAAI,GAAG,MAAM,YAAY,CAAC,iBAAiB,CAAC,CAAC;IACnD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACzB,CAAC;AAED,KAAK,UAAU,cAAc,CAC3B,OAAe,EACf,UAAsB;IAEtB,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;IACjC,MAAM,OAAO,GAAY;QACvB,SAAS,EAAE,GAAG;QACd,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,KAAK;KACJ,CAAC;IACX,OAAO,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAaA,O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AAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-tron",
3
- "version": "5.0.0-nightly.3",
3
+ "version": "5.0.1-nightly.0",
4
4
  "description": "Ledger Tron Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -96,15 +96,15 @@
96
96
  "lodash": "^4.17.21",
97
97
  "rxjs": "^7.8.1",
98
98
  "tronweb": "5.3.2",
99
- "@ledgerhq/coin-framework": "^6.0.0-nightly.3",
100
- "@ledgerhq/cryptoassets": "^13.23.0-nightly.2",
101
- "@ledgerhq/devices": "8.4.8",
102
- "@ledgerhq/errors": "^6.23.0",
103
- "@ledgerhq/live-network": "^2.0.14-nightly.0",
99
+ "@ledgerhq/coin-framework": "^6.0.1-nightly.0",
100
+ "@ledgerhq/cryptoassets": "^13.24.1-nightly.0",
101
+ "@ledgerhq/devices": "8.4.9-nightly.1",
102
+ "@ledgerhq/live-network": "^2.0.15-nightly.0",
103
+ "@ledgerhq/errors": "^6.24.0-nightly.0",
104
104
  "@ledgerhq/live-promise": "^0.1.1",
105
105
  "@ledgerhq/logs": "^6.13.0",
106
- "@ledgerhq/types-cryptoassets": "^7.24.0-nightly.1",
107
- "@ledgerhq/types-live": "^6.79.0-nightly.1"
106
+ "@ledgerhq/types-live": "^6.80.0",
107
+ "@ledgerhq/types-cryptoassets": "^7.25.0"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@agrozyme/types-tronweb": "^5.3.2",
@@ -118,7 +118,7 @@
118
118
  "ts-jest": "^29.1.1",
119
119
  "typescript": "^5.4.5",
120
120
  "@ledgerhq/disable-network-setup": "^0.0.0",
121
- "@ledgerhq/types-cryptoassets": "^7.24.0-nightly.1"
121
+ "@ledgerhq/types-cryptoassets": "^7.25.0"
122
122
  },
123
123
  "scripts": {
124
124
  "clean": "rimraf lib lib-es",
package/src/api/index.ts CHANGED
@@ -2,9 +2,13 @@ import {
2
2
  AlpacaApi,
3
3
  Block,
4
4
  BlockInfo,
5
+ Cursor,
6
+ Page,
5
7
  FeeEstimation,
6
8
  Operation,
7
9
  Pagination,
10
+ Reward,
11
+ Stake,
8
12
  TransactionIntent,
9
13
  } from "@ledgerhq/coin-framework/api/index";
10
14
  import coinConfig, { type TronConfig } from "../config";
@@ -37,6 +41,12 @@ export function createApi(config: TronConfig): AlpacaApi<TronMemo> {
37
41
  getBlockInfo(_height: number): Promise<BlockInfo> {
38
42
  throw new Error("getBlockInfo is not supported");
39
43
  },
44
+ getStakes(_address: string, _cursor?: Cursor): Promise<Page<Stake>> {
45
+ throw new Error("getStakes is not supported");
46
+ },
47
+ getRewards(_address: string, _cursor?: Cursor): Promise<Page<Reward>> {
48
+ throw new Error("getRewards is not supported");
49
+ },
40
50
  };
41
51
  }
42
52