@ledgerhq/coin-hypercore 1.0.1 → 2.0.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/CHANGELOG.md +11 -0
- package/lib/api/index.d.ts.map +1 -1
- package/lib/api/index.js +1 -0
- package/lib/api/index.js.map +1 -1
- package/lib-es/api/index.d.ts.map +1 -1
- package/lib-es/api/index.js +1 -0
- package/lib-es/api/index.js.map +1 -1
- package/package.json +2 -2
- package/src/api/index.test.ts +1 -0
- package/src/api/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @ledgerhq/coin-hypercore
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#773](https://github.com/LedgerHQ/coin-modules/pull/773) [`a8d487f`](https://github.com/LedgerHQ/coin-modules/commit/a8d487fc10e13ac937b545a6bda55009d41a09b6) Thanks [@dilaouid](https://github.com/dilaouid)! - feat!: add `register` to the coin module API (ADR-046)
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`a8d487f`](https://github.com/LedgerHQ/coin-modules/commit/a8d487fc10e13ac937b545a6bda55009d41a09b6)]:
|
|
12
|
+
- @ledgerhq/coin-module-framework@8.0.0
|
|
13
|
+
|
|
3
14
|
## 1.0.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
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":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,2CAA2C,CAAA;AAQlD,wBAAgB,SAAS,IAAI,aAAa,CACxC,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,CACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,2CAA2C,CAAA;AAQlD,wBAAgB,SAAS,IAAI,aAAa,CACxC,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,CACnB,CAsBA"}
|
package/lib/api/index.js
CHANGED
|
@@ -20,6 +20,7 @@ function createApi() {
|
|
|
20
20
|
listOperations: (ctx, address, options) => (0, listOperations_1.listOperations)(ctx, address, options),
|
|
21
21
|
getStakes: (0, index_1.notSupported)('getStakes'),
|
|
22
22
|
getRewards: (0, index_1.notSupported)('getRewards'),
|
|
23
|
+
register: (0, index_1.notSupported)('register'),
|
|
23
24
|
craftTransaction: (0, index_1.notSupported)('craftTransaction'),
|
|
24
25
|
craftRawTransaction: (0, index_1.notSupported)('craftRawTransaction'),
|
|
25
26
|
estimateFees: (0, index_1.notSupported)('estimateFees'),
|
package/lib/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,sCAAsC;;AAetC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";AAAA,4CAA4C;AAC5C,sCAAsC;;AAetC,8BA0BC;AAjCD,qEAAwE;AACxE,6CAAyC;AACzC,2CAAuC;AACvC,qDAAiD;AACjD,uDAAmD;AAEnD,kGAAkG;AAClG,SAAgB,SAAS;IAKvB,OAAO;QACL,SAAS,EAAE,GAAG,EAAE,CAAC,IAAA,qBAAS,GAAE;QAC5B,YAAY,EAAE,IAAA,oBAAY,EAAC,cAAc,CAAC;QA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AAW,CAAA;AACpD,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,2CAA2C,CAAA;AAQlD,wBAAgB,SAAS,IAAI,aAAa,CACxC,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,CACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,2CAA2C,CAAA;AAQlD,wBAAgB,SAAS,IAAI,aAAa,CACxC,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,CACnB,CAsBA"}
|
package/lib-es/api/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export function createApi() {
|
|
|
17
17
|
listOperations: (ctx, address, options) => listOperations(ctx, address, options),
|
|
18
18
|
getStakes: notSupported('getStakes'),
|
|
19
19
|
getRewards: notSupported('getRewards'),
|
|
20
|
+
register: notSupported('register'),
|
|
20
21
|
craftTransaction: notSupported('craftTransaction'),
|
|
21
22
|
craftRawTransaction: notSupported('craftRawTransaction'),
|
|
22
23
|
estimateFees: notSupported('estimateFees'),
|
package/lib-es/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,sCAAsC;AAQtC,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAA;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,kGAAkG;AAClG,MAAM,UAAU,SAA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AC;KAC3D,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-hypercore",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Ledger Hypercore Coin integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"author": "LEDGER SAS",
|
|
66
66
|
"license": "Apache-2.0",
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@ledgerhq/coin-module-framework": "^
|
|
68
|
+
"@ledgerhq/coin-module-framework": "^8.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@swc/core": "1.15.11",
|
package/src/api/index.test.ts
CHANGED
|
@@ -22,6 +22,7 @@ describe('createApi', () => {
|
|
|
22
22
|
getValidators: expect.any(Function),
|
|
23
23
|
lastBlock: expect.any(Function),
|
|
24
24
|
listOperations: expect.any(Function),
|
|
25
|
+
register: expect.any(Function),
|
|
25
26
|
validateAddress: expect.any(Function),
|
|
26
27
|
validateIntent: expect.any(Function),
|
|
27
28
|
})
|
package/src/api/index.ts
CHANGED
|
@@ -29,6 +29,7 @@ export function createApi(): CoinModuleApi<
|
|
|
29
29
|
listOperations: (ctx, address, options) => listOperations(ctx, address, options),
|
|
30
30
|
getStakes: notSupported('getStakes'),
|
|
31
31
|
getRewards: notSupported('getRewards'),
|
|
32
|
+
register: notSupported('register'),
|
|
32
33
|
craftTransaction: notSupported('craftTransaction'),
|
|
33
34
|
craftRawTransaction: notSupported('craftRawTransaction'),
|
|
34
35
|
estimateFees: notSupported('estimateFees'),
|