@ledgerhq/coin-canton 0.2.1 → 0.3.0-nightly.3

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-canton@0.2.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-canton
2
+ > @ledgerhq/coin-canton@0.3.0-nightly.2 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-canton
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,30 +1,44 @@
1
1
  # @ledgerhq/coin-canton
2
2
 
3
- ## 0.2.1
3
+ ## 0.3.0-nightly.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`75a08cc`](https://github.com/LedgerHQ/ledger-live/commit/75a08cc3061347bae98ddef7ac3cdcd6181ddab5), [`0c8486e`](https://github.com/LedgerHQ/ledger-live/commit/0c8486ea830e9e2abf1dfc5d108117e1db733072), [`354fa83`](https://github.com/LedgerHQ/ledger-live/commit/354fa83c8107cf8e6b56a8b306569ee65980e10c), [`a8b4f57`](https://github.com/LedgerHQ/ledger-live/commit/a8b4f57bf7d82e6c2444a65901e927c3c3d64412), [`67e2a7c`](https://github.com/LedgerHQ/ledger-live/commit/67e2a7c5a74d000f22684254778dfec5b8b5163d)]:
8
- - @ledgerhq/live-env@2.14.0
9
- - @ledgerhq/cryptoassets@13.25.0
10
- - @ledgerhq/errors@6.24.0
11
- - @ledgerhq/coin-framework@6.1.0
12
- - @ledgerhq/types-live@6.81.0
13
- - @ledgerhq/devices@8.5.0
14
- - @ledgerhq/live-network@2.0.15
7
+ - Updated dependencies [[`67ec10b`](https://github.com/LedgerHQ/ledger-live/commit/67ec10b773b4a6b512a8a6485940fa0abd41c3ef)]:
8
+ - @ledgerhq/cryptoassets@13.25.0-nightly.3
9
+ - @ledgerhq/coin-framework@6.1.0-nightly.3
15
10
 
16
- ## 0.2.1-next.0
11
+ ## 0.3.0-nightly.2
12
+
13
+ ### Minor Changes
14
+
15
+ - [#10420](https://github.com/LedgerHQ/ledger-live/pull/10420) [`80f8f1e`](https://github.com/LedgerHQ/ledger-live/commit/80f8f1eaef8a7bc84ba5441790296dec6cbfa199) Thanks [@Wozacosta](https://github.com/Wozacosta)! - Stellar Generic Adaptor
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`1f1cbeb`](https://github.com/LedgerHQ/ledger-live/commit/1f1cbeb4485fb4b85b76ffe040c632d049f4e0c4), [`80f8f1e`](https://github.com/LedgerHQ/ledger-live/commit/80f8f1eaef8a7bc84ba5441790296dec6cbfa199), [`31dceca`](https://github.com/LedgerHQ/ledger-live/commit/31dcecad24abdaa8a77208e82532c47728c11180)]:
20
+ - @ledgerhq/cryptoassets@13.25.0-nightly.2
21
+ - @ledgerhq/coin-framework@6.1.0-nightly.2
22
+ - @ledgerhq/types-live@6.81.0-nightly.0
23
+
24
+ ## 0.2.1-nightly.1
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`d41fc9c`](https://github.com/LedgerHQ/ledger-live/commit/d41fc9c458050ef1234c04af9642321c41cecda1)]:
29
+ - @ledgerhq/cryptoassets@13.25.0-nightly.1
30
+ - @ledgerhq/types-live@6.80.0
31
+ - @ledgerhq/coin-framework@6.0.1-nightly.1
32
+
33
+ ## 0.2.1-nightly.0
17
34
 
18
35
  ### Patch Changes
19
36
 
20
- - Updated dependencies [[`75a08cc`](https://github.com/LedgerHQ/ledger-live/commit/75a08cc3061347bae98ddef7ac3cdcd6181ddab5), [`0c8486e`](https://github.com/LedgerHQ/ledger-live/commit/0c8486ea830e9e2abf1dfc5d108117e1db733072), [`354fa83`](https://github.com/LedgerHQ/ledger-live/commit/354fa83c8107cf8e6b56a8b306569ee65980e10c), [`a8b4f57`](https://github.com/LedgerHQ/ledger-live/commit/a8b4f57bf7d82e6c2444a65901e927c3c3d64412), [`67e2a7c`](https://github.com/LedgerHQ/ledger-live/commit/67e2a7c5a74d000f22684254778dfec5b8b5163d)]:
21
- - @ledgerhq/live-env@2.14.0-next.0
22
- - @ledgerhq/cryptoassets@13.25.0-next.0
23
- - @ledgerhq/errors@6.24.0-next.0
24
- - @ledgerhq/coin-framework@6.1.0-next.0
25
- - @ledgerhq/types-live@6.81.0-next.0
26
- - @ledgerhq/devices@8.5.0-next.0
27
- - @ledgerhq/live-network@2.0.15-next.0
37
+ - Updated dependencies [[`75a08cc`](https://github.com/LedgerHQ/ledger-live/commit/75a08cc3061347bae98ddef7ac3cdcd6181ddab5)]:
38
+ - @ledgerhq/live-env@2.14.0-nightly.0
39
+ - @ledgerhq/coin-framework@6.0.1-nightly.0
40
+ - @ledgerhq/cryptoassets@13.24.1-nightly.0
41
+ - @ledgerhq/live-network@2.0.15-nightly.0
28
42
 
29
43
  ## 0.2.0
30
44
 
@@ -5,6 +5,6 @@ const node_1 = require("../../network/node");
5
5
  // Could be getAccountInfo so it is used in both bridge and api
6
6
  async function getBalance(address) {
7
7
  const accountInfo = await (0, node_1.getAccountInfo)(address);
8
- return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }];
8
+ return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }]; // TODO: add more info like spendableBalance, etc.
9
9
  }
10
10
  //# sourceMappingURL=getBalance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBalance.js","sourceRoot":"","sources":["../../../src/common-logic/account/getBalance.ts"],"names":[],"mappings":";;AAIA,gCAGC;AAND,6CAAoD;AAEpD,+DAA+D;AACxD,KAAK,UAAU,UAAU,CAAC,OAAe;IAC9C,MAAM,WAAW,GAAG,MAAM,IAAA,qBAAc,EAAC,OAAO,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC1F,CAAC"}
1
+ {"version":3,"file":"getBalance.js","sourceRoot":"","sources":["../../../src/common-logic/account/getBalance.ts"],"names":[],"mappings":";;AAIA,gCAGC;AAND,6CAAoD;AAEpD,+DAA+D;AACxD,KAAK,UAAU,UAAU,CAAC,OAAe;IAC9C,MAAM,WAAW,GAAG,MAAM,IAAA,qBAAc,EAAC,OAAO,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,kDAAkD;AAC7I,CAAC"}
@@ -2,6 +2,6 @@ import { getAccountInfo } from "../../network/node";
2
2
  // Could be getAccountInfo so it is used in both bridge and api
3
3
  export async function getBalance(address) {
4
4
  const accountInfo = await getAccountInfo(address);
5
- return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }];
5
+ return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }]; // TODO: add more info like spendableBalance, etc.
6
6
  }
7
7
  //# sourceMappingURL=getBalance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBalance.js","sourceRoot":"","sources":["../../../src/common-logic/account/getBalance.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,+DAA+D;AAC/D,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,OAAe;IAC9C,MAAM,WAAW,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAC1F,CAAC"}
1
+ {"version":3,"file":"getBalance.js","sourceRoot":"","sources":["../../../src/common-logic/account/getBalance.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,+DAA+D;AAC/D,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,OAAe;IAC9C,MAAM,WAAW,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,kDAAkD;AAC7I,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-canton",
3
- "version": "0.2.1",
3
+ "version": "0.3.0-nightly.3",
4
4
  "description": "Canton 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": "^6.1.0",
105
- "@ledgerhq/cryptoassets": "^13.25.0",
106
- "@ledgerhq/devices": "8.5.0",
107
- "@ledgerhq/errors": "^6.24.0",
108
- "@ledgerhq/live-env": "^2.14.0",
109
- "@ledgerhq/live-network": "^2.0.15",
110
- "@ledgerhq/types-live": "^6.81.0"
104
+ "@ledgerhq/coin-framework": "^6.1.0-nightly.3",
105
+ "@ledgerhq/cryptoassets": "^13.25.0-nightly.3",
106
+ "@ledgerhq/devices": "8.4.9-nightly.1",
107
+ "@ledgerhq/errors": "^6.24.0-nightly.0",
108
+ "@ledgerhq/live-env": "^2.14.0-nightly.0",
109
+ "@ledgerhq/live-network": "^2.0.15-nightly.0",
110
+ "@ledgerhq/types-live": "^6.81.0-nightly.0"
111
111
  },
112
112
  "devDependencies": {
113
113
  "@types/invariant": "^2.2.37",
@@ -4,5 +4,5 @@ import { getAccountInfo } from "../../network/node";
4
4
  // Could be getAccountInfo so it is used in both bridge and api
5
5
  export async function getBalance(address: string): Promise<Balance[]> {
6
6
  const accountInfo = await getAccountInfo(address);
7
- return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }];
7
+ return [{ asset: { type: "native" }, value: BigInt(accountInfo.account_data.Balance) }]; // TODO: add more info like spendableBalance, etc.
8
8
  }