@ledgerhq/coin-module-boilerplate 4.4.0-nightly.2 → 4.4.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +17 -18
- package/lib/api/index.d.ts.map +1 -1
- package/lib/api/index.js +0 -6
- package/lib/api/index.js.map +1 -1
- package/lib-es/api/index.d.ts.map +1 -1
- package/lib-es/api/index.js +0 -6
- package/lib-es/api/index.js.map +1 -1
- package/package.json +9 -9
- package/src/api/index.ts +0 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/coin-module-boilerplate@4.
|
|
2
|
+
> @ledgerhq/coin-module-boilerplate@4.4.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-module-boilerplate
|
|
3
3
|
> tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
# @ledgerhq/coin-module-boilerplate
|
|
2
2
|
|
|
3
|
-
## 4.4.0
|
|
3
|
+
## 4.4.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#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
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
-
- Updated dependencies [[`
|
|
12
|
-
- @ledgerhq/cryptoassets@13.24.0
|
|
13
|
-
- @ledgerhq/
|
|
14
|
-
- @ledgerhq/
|
|
15
|
-
- @ledgerhq/
|
|
11
|
+
- 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), [`b9debdf`](https://github.com/LedgerHQ/ledger-live/commit/b9debdfbc822e9f5dc0b26619208f94bbd788777), [`9c63d6b`](https://github.com/LedgerHQ/ledger-live/commit/9c63d6b8d5fb629a19514ec36396c35eeefb96aa), [`8b0b4ef`](https://github.com/LedgerHQ/ledger-live/commit/8b0b4efaf2c0968cfb60c0cecebca9c575b00748)]:
|
|
12
|
+
- @ledgerhq/cryptoassets@13.24.0
|
|
13
|
+
- @ledgerhq/types-live@6.80.0
|
|
14
|
+
- @ledgerhq/coin-framework@6.0.0
|
|
15
|
+
- @ledgerhq/live-env@2.13.0
|
|
16
|
+
- @ledgerhq/live-network@2.0.14
|
|
16
17
|
|
|
17
|
-
## 4.
|
|
18
|
+
## 4.4.0-next.0
|
|
18
19
|
|
|
19
|
-
###
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [[`354fa83`](https://github.com/LedgerHQ/ledger-live/commit/354fa83c8107cf8e6b56a8b306569ee65980e10c)]:
|
|
22
|
-
- @ledgerhq/errors@6.24.0-nightly.0
|
|
23
|
-
- @ledgerhq/coin-framework@5.9.0-nightly.1
|
|
24
|
-
- @ledgerhq/devices@8.4.9-nightly.0
|
|
25
|
-
- @ledgerhq/live-network@2.0.14-nightly.1
|
|
20
|
+
### Minor Changes
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
- [#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
|
|
28
23
|
|
|
29
24
|
### Patch Changes
|
|
30
25
|
|
|
31
|
-
- Updated dependencies [[`9c63d6b`](https://github.com/LedgerHQ/ledger-live/commit/9c63d6b8d5fb629a19514ec36396c35eeefb96aa), [`8b0b4ef`](https://github.com/LedgerHQ/ledger-live/commit/8b0b4efaf2c0968cfb60c0cecebca9c575b00748)]:
|
|
32
|
-
- @ledgerhq/
|
|
26
|
+
- 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), [`b9debdf`](https://github.com/LedgerHQ/ledger-live/commit/b9debdfbc822e9f5dc0b26619208f94bbd788777), [`9c63d6b`](https://github.com/LedgerHQ/ledger-live/commit/9c63d6b8d5fb629a19514ec36396c35eeefb96aa), [`8b0b4ef`](https://github.com/LedgerHQ/ledger-live/commit/8b0b4efaf2c0968cfb60c0cecebca9c575b00748)]:
|
|
27
|
+
- @ledgerhq/cryptoassets@13.24.0-next.0
|
|
28
|
+
- @ledgerhq/types-live@6.80.0-next.0
|
|
29
|
+
- @ledgerhq/coin-framework@6.0.0-next.0
|
|
30
|
+
- @ledgerhq/live-env@2.13.0-next.0
|
|
31
|
+
- @ledgerhq/live-network@2.0.14-next.0
|
|
33
32
|
|
|
34
33
|
## 4.3.0
|
|
35
34
|
|
package/lib/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAKV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAa/D,wBAAgB,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAkB9D"}
|
package/lib/api/index.js
CHANGED
|
@@ -23,12 +23,6 @@ function createApi(config) {
|
|
|
23
23
|
getBlockInfo(_height) {
|
|
24
24
|
throw new Error("getBlockInfo is not supported");
|
|
25
25
|
},
|
|
26
|
-
getStakes(_address, _cursor) {
|
|
27
|
-
throw new Error("getStakes is not supported");
|
|
28
|
-
},
|
|
29
|
-
getRewards(_address, _cursor) {
|
|
30
|
-
throw new Error("getRewards is not supported");
|
|
31
|
-
},
|
|
32
26
|
};
|
|
33
27
|
}
|
|
34
28
|
async function craft(transactionIntent) {
|
package/lib/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;AAoBA,8BAkBC;AA/BD,uDAA+D;AAC/D,kDASyB;AACzB,gEAAqC;AAErC,SAAgB,SAAS,CAAC,MAAyB;IACjD,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,wBAAS;QACT,OAAO,EAAP,sBAAO;QACP,gBAAgB,EAAE,KAAK;QACvB,YAAY,EAAE,QAAQ;QACtB,UAAU,EAAV,yBAAU;QACV,SAAS,EAAT,wBAAS;QACT,cAAc,EAAd,6BAAc;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,KAAK,CAAC,iBAAoC;IACvD,MAAM,kBAAkB,GAAG,MAAM,IAAA,mCAAoB,EAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChF,MAAM,EAAE,GAAG,MAAM,IAAA,+BAAgB,EAC/B,EAAE,OAAO,EAAE,iBAAiB,CAAC,MAAM,EAAE,kBAAkB,EAAE,EACzD;QACE,SAAS,EAAE,iBAAiB,CAAC,SAAS;QACtC,MAAM,EAAE,IAAI,sBAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;KAC3D,CACF,CAAC;IACF,OAAO,EAAE,CAAC,qBAAqB,CAAC;AAClC,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,iBAAoC;IAC1D,MAAM,EAAE,qBAAqB,EAAE,GAAG,MAAM,IAAA,+BAAgB,EACtD,EAAE,OAAO,EAAE,iBAAiB,CAAC,MAAM,EAAE,EACrC;QACE,SAAS,EAAE,iBAAiB,CAAC,SAAS;QACtC,MAAM,EAAE,IAAI,sBAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;KAC3D,CACF,CAAC;IAEF,MAAM,KAAK,GAAG,MAAM,IAAA,2BAAY,EAAC,qBAAqB,CAAC,CAAC;IAExD,OAAO,EAAE,KAAK,EAAE,CAAC;AACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAKV,MAAM,oCAAoC,CAAC;AAC5C,OAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAa/D,wBAAgB,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAkB9D"}
|
package/lib-es/api/index.js
CHANGED
|
@@ -17,12 +17,6 @@ export function createApi(config) {
|
|
|
17
17
|
getBlockInfo(_height) {
|
|
18
18
|
throw new Error("getBlockInfo is not supported");
|
|
19
19
|
},
|
|
20
|
-
getStakes(_address, _cursor) {
|
|
21
|
-
throw new Error("getStakes is not supported");
|
|
22
|
-
},
|
|
23
|
-
getRewards(_address, _cursor) {
|
|
24
|
-
throw new Error("getRewards is not supported");
|
|
25
|
-
},
|
|
26
20
|
};
|
|
27
21
|
}
|
|
28
22
|
async function craft(transactionIntent) {
|
package/lib-es/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAOA,OAAO,UAAsC,MAAM,WAAW,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,SAAS,EACT,cAAc,GACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,MAAM,UAAU,SAAS,CAAC,MAAyB;IACjD,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,EAAE,KAAK;QACvB,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,KAAK,CAAC,iBAAoC;IACvD,MAAM,kBAAkB,GAAG,MAAM,oBAAoB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChF,MAAM,EAAE,GAAG,MAAM,gBAAgB,CAC/B,EAAE,OAAO,EAAE,iBAAiB,CAAC,MAAM,EAAE,kBAAkB,EAAE,EACzD;QACE,SAAS,EAAE,iBAAiB,CAAC,SAAS;QACtC,MAAM,EAAE,IAAI,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;KAC3D,CACF,CAAC;IACF,OAAO,EAAE,CAAC,qBAAqB,CAAC;AAClC,CAAC;AAED,KAAK,UAAU,QAAQ,CAAC,iBAAoC;IAC1D,MAAM,EAAE,qBAAqB,EAAE,GAAG,MAAM,gBAAgB,CACtD,EAAE,OAAO,EAAE,iBAAiB,CAAC,MAAM,EAAE,EACrC;QACE,SAAS,EAAE,iBAAiB,CAAC,SAAS;QACtC,MAAM,EAAE,IAAI,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;KAC3D,CACF,CAAC;IAEF,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,qBAAqB,CAAC,CAAC;IAExD,OAAO,EAAE,KAAK,EAAE,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-module-boilerplate",
|
|
3
|
-
"version": "4.4.0
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Boilerplate coin integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger",
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
"bignumber.js": "^9.1.2",
|
|
102
102
|
"invariant": "^2.2.4",
|
|
103
103
|
"rxjs": "^7.8.1",
|
|
104
|
-
"@ledgerhq/coin-framework": "^
|
|
105
|
-
"@ledgerhq/cryptoassets": "^13.24.0
|
|
106
|
-
"@ledgerhq/devices": "8.4.
|
|
107
|
-
"@ledgerhq/errors": "^6.
|
|
108
|
-
"@ledgerhq/live-env": "^2.13.0
|
|
109
|
-
"@ledgerhq/live-network": "^2.0.14
|
|
110
|
-
"@ledgerhq/types-live": "^6.
|
|
104
|
+
"@ledgerhq/coin-framework": "^6.0.0",
|
|
105
|
+
"@ledgerhq/cryptoassets": "^13.24.0",
|
|
106
|
+
"@ledgerhq/devices": "8.4.8",
|
|
107
|
+
"@ledgerhq/errors": "^6.23.0",
|
|
108
|
+
"@ledgerhq/live-env": "^2.13.0",
|
|
109
|
+
"@ledgerhq/live-network": "^2.0.14",
|
|
110
|
+
"@ledgerhq/types-live": "^6.80.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@types/invariant": "^2.2.37",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"jest": "^29.7.0",
|
|
118
118
|
"ts-jest": "^29.1.1",
|
|
119
119
|
"typescript": "^5.4.5",
|
|
120
|
-
"@ledgerhq/types-cryptoassets": "^7.
|
|
120
|
+
"@ledgerhq/types-cryptoassets": "^7.25.0",
|
|
121
121
|
"@ledgerhq/disable-network-setup": "^0.0.0"
|
|
122
122
|
},
|
|
123
123
|
"scripts": {
|
package/src/api/index.ts
CHANGED
|
@@ -2,11 +2,7 @@ import {
|
|
|
2
2
|
AlpacaApi,
|
|
3
3
|
Block,
|
|
4
4
|
BlockInfo,
|
|
5
|
-
Cursor,
|
|
6
|
-
Page,
|
|
7
5
|
FeeEstimation,
|
|
8
|
-
Reward,
|
|
9
|
-
Stake,
|
|
10
6
|
TransactionIntent,
|
|
11
7
|
} from "@ledgerhq/coin-framework/api/index";
|
|
12
8
|
import coinConfig, { type BoilerplateConfig } from "../config";
|
|
@@ -39,12 +35,6 @@ export function createApi(config: BoilerplateConfig): AlpacaApi {
|
|
|
39
35
|
getBlockInfo(_height: number): Promise<BlockInfo> {
|
|
40
36
|
throw new Error("getBlockInfo is not supported");
|
|
41
37
|
},
|
|
42
|
-
getStakes(_address: string, _cursor?: Cursor): Promise<Page<Stake>> {
|
|
43
|
-
throw new Error("getStakes is not supported");
|
|
44
|
-
},
|
|
45
|
-
getRewards(_address: string, _cursor?: Cursor): Promise<Page<Reward>> {
|
|
46
|
-
throw new Error("getRewards is not supported");
|
|
47
|
-
},
|
|
48
38
|
};
|
|
49
39
|
}
|
|
50
40
|
|