@ledgerhq/coin-module-boilerplate 4.1.0-nightly.3 → 4.1.1-next.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 +71 -17
- package/lib/api/index.d.ts +2 -2
- package/lib/api/index.d.ts.map +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib-es/api/index.d.ts +2 -2
- package/lib-es/api/index.d.ts.map +1 -1
- package/lib-es/api/index.js.map +1 -1
- package/package.json +8 -8
- package/src/api/index.ts +2 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/coin-module-boilerplate@4.1.0
|
|
2
|
+
> @ledgerhq/coin-module-boilerplate@4.1.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,16 +1,46 @@
|
|
|
1
1
|
# @ledgerhq/coin-module-boilerplate
|
|
2
2
|
|
|
3
|
-
## 4.1.
|
|
3
|
+
## 4.1.1-next.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies [[`
|
|
8
|
-
- @ledgerhq/live
|
|
9
|
-
- @ledgerhq/
|
|
10
|
-
- @ledgerhq/
|
|
11
|
-
- @ledgerhq/
|
|
7
|
+
- Updated dependencies [[`9ceee03`](https://github.com/LedgerHQ/ledger-live/commit/9ceee03c33c41bb035fe64f9303acd36872536b6), [`98eb2eb`](https://github.com/LedgerHQ/ledger-live/commit/98eb2ebce8e12742a68b8f54ba625d63c4958087), [`b5e3217`](https://github.com/LedgerHQ/ledger-live/commit/b5e321789d3a6f9cb1916067790590640db0876f), [`4d9aaf5`](https://github.com/LedgerHQ/ledger-live/commit/4d9aaf583060a22cd1343b23d9b5c1ee3c02abb4), [`5739a67`](https://github.com/LedgerHQ/ledger-live/commit/5739a67975dfc2509d5abd4ff13ea36af010f93e), [`e9739d1`](https://github.com/LedgerHQ/ledger-live/commit/e9739d19946376dd7a8a5f10471594f267f3a95f)]:
|
|
8
|
+
- @ledgerhq/types-live@6.74.0-next.0
|
|
9
|
+
- @ledgerhq/errors@6.22.0-next.0
|
|
10
|
+
- @ledgerhq/coin-framework@5.4.0-next.0
|
|
11
|
+
- @ledgerhq/cryptoassets@13.19.0-next.0
|
|
12
|
+
- @ledgerhq/devices@8.4.7-next.0
|
|
13
|
+
- @ledgerhq/live-network@2.0.11-next.0
|
|
12
14
|
|
|
13
|
-
## 4.1.0
|
|
15
|
+
## 4.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#10551](https://github.com/LedgerHQ/ledger-live/pull/10551) [`99385c9`](https://github.com/LedgerHQ/ledger-live/commit/99385c9a7ecac9328ffa29c039e8c0cf2317c431) Thanks [@Wozacosta](https://github.com/Wozacosta)! - fix: revert generic bridge xrp
|
|
20
|
+
|
|
21
|
+
- [#10217](https://github.com/LedgerHQ/ledger-live/pull/10217) [`e04d215`](https://github.com/LedgerHQ/ledger-live/commit/e04d21576919fa21cb3ab6e1c4e8e50fb6c17eca) Thanks [@Wozacosta](https://github.com/Wozacosta)! - feat: update transactionintent generic types + remove xrp bridge and introduce the generic alpaca bridge in LLC
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`8551c28`](https://github.com/LedgerHQ/ledger-live/commit/8551c280f24f7bd4475c6cc12f1b1d92636d9357), [`18bc0d4`](https://github.com/LedgerHQ/ledger-live/commit/18bc0d4a27696491400df6ce26b915a88b56792f), [`99385c9`](https://github.com/LedgerHQ/ledger-live/commit/99385c9a7ecac9328ffa29c039e8c0cf2317c431), [`b7d3d59`](https://github.com/LedgerHQ/ledger-live/commit/b7d3d59d299c3d3541d598536651b9047fda4526), [`e04d215`](https://github.com/LedgerHQ/ledger-live/commit/e04d21576919fa21cb3ab6e1c4e8e50fb6c17eca), [`1535307`](https://github.com/LedgerHQ/ledger-live/commit/1535307f78d345d7f652ac2c91c8a67e62fedef2)]:
|
|
26
|
+
- @ledgerhq/live-env@2.10.0
|
|
27
|
+
- @ledgerhq/coin-framework@5.3.0
|
|
28
|
+
- @ledgerhq/types-live@6.73.0
|
|
29
|
+
- @ledgerhq/cryptoassets@13.18.1
|
|
30
|
+
- @ledgerhq/live-network@2.0.10
|
|
31
|
+
|
|
32
|
+
## 4.1.0-next.1
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- [#10551](https://github.com/LedgerHQ/ledger-live/pull/10551) [`99385c9`](https://github.com/LedgerHQ/ledger-live/commit/99385c9a7ecac9328ffa29c039e8c0cf2317c431) Thanks [@Wozacosta](https://github.com/Wozacosta)! - fix: revert generic bridge xrp
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`99385c9`](https://github.com/LedgerHQ/ledger-live/commit/99385c9a7ecac9328ffa29c039e8c0cf2317c431)]:
|
|
41
|
+
- @ledgerhq/coin-framework@5.3.0-next.1
|
|
42
|
+
|
|
43
|
+
## 4.1.0-next.0
|
|
14
44
|
|
|
15
45
|
### Minor Changes
|
|
16
46
|
|
|
@@ -18,24 +48,48 @@
|
|
|
18
48
|
|
|
19
49
|
### Patch Changes
|
|
20
50
|
|
|
21
|
-
- Updated dependencies [[`18bc0d4`](https://github.com/LedgerHQ/ledger-live/commit/18bc0d4a27696491400df6ce26b915a88b56792f), [`e04d215`](https://github.com/LedgerHQ/ledger-live/commit/e04d21576919fa21cb3ab6e1c4e8e50fb6c17eca)]:
|
|
22
|
-
- @ledgerhq/
|
|
51
|
+
- Updated dependencies [[`8551c28`](https://github.com/LedgerHQ/ledger-live/commit/8551c280f24f7bd4475c6cc12f1b1d92636d9357), [`18bc0d4`](https://github.com/LedgerHQ/ledger-live/commit/18bc0d4a27696491400df6ce26b915a88b56792f), [`b7d3d59`](https://github.com/LedgerHQ/ledger-live/commit/b7d3d59d299c3d3541d598536651b9047fda4526), [`e04d215`](https://github.com/LedgerHQ/ledger-live/commit/e04d21576919fa21cb3ab6e1c4e8e50fb6c17eca), [`1535307`](https://github.com/LedgerHQ/ledger-live/commit/1535307f78d345d7f652ac2c91c8a67e62fedef2)]:
|
|
52
|
+
- @ledgerhq/live-env@2.10.0-next.0
|
|
53
|
+
- @ledgerhq/coin-framework@5.3.0-next.0
|
|
54
|
+
- @ledgerhq/types-live@6.73.0-next.0
|
|
55
|
+
- @ledgerhq/cryptoassets@13.18.1-next.0
|
|
56
|
+
- @ledgerhq/live-network@2.0.10-next.0
|
|
57
|
+
|
|
58
|
+
## 4.0.5
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [[`4ddfe60`](https://github.com/LedgerHQ/ledger-live/commit/4ddfe6060ab8e4e5c0bb89da91e08a02d8ca50e6), [`f42f353`](https://github.com/LedgerHQ/ledger-live/commit/f42f353a593d0a1cd0a237648765080c85d0eea7), [`1a4e5e5`](https://github.com/LedgerHQ/ledger-live/commit/1a4e5e5913fe5e12d6127b36f3849e4c81e5e50e)]:
|
|
63
|
+
- @ledgerhq/types-live@6.72.0
|
|
64
|
+
- @ledgerhq/coin-framework@5.2.0
|
|
65
|
+
- @ledgerhq/devices@8.4.6
|
|
66
|
+
- @ledgerhq/live-network@2.0.9
|
|
67
|
+
|
|
68
|
+
## 4.0.5-next.2
|
|
69
|
+
|
|
70
|
+
### Patch Changes
|
|
71
|
+
|
|
72
|
+
- Updated dependencies []:
|
|
73
|
+
- @ledgerhq/coin-framework@5.2.0-next.2
|
|
74
|
+
- @ledgerhq/devices@8.4.6-next.1
|
|
75
|
+
- @ledgerhq/live-network@2.0.9-next.1
|
|
23
76
|
|
|
24
|
-
## 4.0.5-
|
|
77
|
+
## 4.0.5-next.1
|
|
25
78
|
|
|
26
79
|
### Patch Changes
|
|
27
80
|
|
|
28
|
-
- Updated dependencies [
|
|
29
|
-
- @ledgerhq/
|
|
30
|
-
- @ledgerhq/
|
|
81
|
+
- Updated dependencies []:
|
|
82
|
+
- @ledgerhq/coin-framework@5.2.0-next.1
|
|
83
|
+
- @ledgerhq/devices@8.4.6-next.0
|
|
84
|
+
- @ledgerhq/live-network@2.0.9-next.0
|
|
31
85
|
|
|
32
|
-
## 4.0.5-
|
|
86
|
+
## 4.0.5-next.0
|
|
33
87
|
|
|
34
88
|
### Patch Changes
|
|
35
89
|
|
|
36
|
-
- Updated dependencies [[`1a4e5e5`](https://github.com/LedgerHQ/ledger-live/commit/1a4e5e5913fe5e12d6127b36f3849e4c81e5e50e)]:
|
|
37
|
-
- @ledgerhq/types-live@6.72.0-
|
|
38
|
-
- @ledgerhq/coin-framework@5.
|
|
90
|
+
- Updated dependencies [[`4ddfe60`](https://github.com/LedgerHQ/ledger-live/commit/4ddfe6060ab8e4e5c0bb89da91e08a02d8ca50e6), [`f42f353`](https://github.com/LedgerHQ/ledger-live/commit/f42f353a593d0a1cd0a237648765080c85d0eea7), [`1a4e5e5`](https://github.com/LedgerHQ/ledger-live/commit/1a4e5e5913fe5e12d6127b36f3849e4c81e5e50e)]:
|
|
91
|
+
- @ledgerhq/types-live@6.72.0-next.0
|
|
92
|
+
- @ledgerhq/coin-framework@5.2.0-next.0
|
|
39
93
|
|
|
40
94
|
## 4.0.4
|
|
41
95
|
|
package/lib/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Api } from "@ledgerhq/coin-framework/api/index";
|
|
2
2
|
import { type BoilerplateConfig } from "../config";
|
|
3
3
|
import { BoilerplateAsset } from "../types";
|
|
4
|
-
export declare function createApi(config: BoilerplateConfig):
|
|
4
|
+
export declare function createApi(config: BoilerplateConfig): Api<BoilerplateAsset>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
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,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAoC,MAAM,oCAAoC,CAAC;AAChG,OAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAY/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAY1E"}
|
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":";;;;;AAeA,8BAYC;AA1BD,uDAA+D;AAC/D,kDASyB;AACzB,gEAAqC;AAGrC,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;KACf,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,KAAK,CAAC,iBAAsD;IACzE,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,CACrB,iBAAsD;IAEtD,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"}
|
package/lib-es/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Api } from "@ledgerhq/coin-framework/api/index";
|
|
2
2
|
import { type BoilerplateConfig } from "../config";
|
|
3
3
|
import { BoilerplateAsset } from "../types";
|
|
4
|
-
export declare function createApi(config: BoilerplateConfig):
|
|
4
|
+
export declare function createApi(config: BoilerplateConfig): Api<BoilerplateAsset>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAoC,MAAM,oCAAoC,CAAC;AAChG,OAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAY/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,wBAAgB,SAAS,CAAC,MAAM,EAAE,iBAAiB,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAY1E"}
|
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":"AACA,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;AAGrC,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;KACf,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,KAAK,CAAC,iBAAsD;IACzE,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,CACrB,iBAAsD;IAEtD,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.1.
|
|
3
|
+
"version": "4.1.1-next.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": "^5.
|
|
105
|
-
"@ledgerhq/cryptoassets": "^13.
|
|
106
|
-
"@ledgerhq/devices": "8.4.
|
|
107
|
-
"@ledgerhq/errors": "^6.
|
|
108
|
-
"@ledgerhq/live-env": "^2.
|
|
109
|
-
"@ledgerhq/live-network": "^2.0.
|
|
110
|
-
"@ledgerhq/types-live": "^6.
|
|
104
|
+
"@ledgerhq/coin-framework": "^5.4.0-next.0",
|
|
105
|
+
"@ledgerhq/cryptoassets": "^13.19.0-next.0",
|
|
106
|
+
"@ledgerhq/devices": "8.4.7-next.0",
|
|
107
|
+
"@ledgerhq/errors": "^6.22.0-next.0",
|
|
108
|
+
"@ledgerhq/live-env": "^2.10.0",
|
|
109
|
+
"@ledgerhq/live-network": "^2.0.11-next.0",
|
|
110
|
+
"@ledgerhq/types-live": "^6.74.0-next.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@types/invariant": "^2.2.37",
|
package/src/api/index.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
AlpacaApi,
|
|
3
|
-
FeeEstimation,
|
|
4
|
-
TransactionIntent,
|
|
5
|
-
} from "@ledgerhq/coin-framework/api/index";
|
|
1
|
+
import type { Api, FeeEstimation, TransactionIntent } from "@ledgerhq/coin-framework/api/index";
|
|
6
2
|
import coinConfig, { type BoilerplateConfig } from "../config";
|
|
7
3
|
import {
|
|
8
4
|
broadcast,
|
|
@@ -17,7 +13,7 @@ import {
|
|
|
17
13
|
import BigNumber from "bignumber.js";
|
|
18
14
|
import { BoilerplateAsset } from "../types";
|
|
19
15
|
|
|
20
|
-
export function createApi(config: BoilerplateConfig):
|
|
16
|
+
export function createApi(config: BoilerplateConfig): Api<BoilerplateAsset> {
|
|
21
17
|
coinConfig.setCoinConfig(() => ({ ...config, status: { type: "active" } }));
|
|
22
18
|
|
|
23
19
|
return {
|