@ledgerhq/coin-canton 0.2.1-nightly.1 → 0.2.2-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-canton@0.2.1-nightly.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-canton
2
+ > @ledgerhq/coin-canton@0.2.1 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,23 +1,41 @@
1
1
  # @ledgerhq/coin-canton
2
2
 
3
- ## 0.2.1-nightly.1
3
+ ## 0.2.2-nightly.0
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`d41fc9c`](https://github.com/LedgerHQ/ledger-live/commit/d41fc9c458050ef1234c04af9642321c41cecda1)]:
8
- - @ledgerhq/cryptoassets@13.25.0-nightly.1
9
- - @ledgerhq/types-live@6.80.0
10
- - @ledgerhq/coin-framework@6.0.1-nightly.1
7
+ - Updated dependencies [[`87617a9`](https://github.com/LedgerHQ/ledger-live/commit/87617a9930be43a6cdbc5cc5711cc24b00309184), [`d6a6a94`](https://github.com/LedgerHQ/ledger-live/commit/d6a6a949d45fdd2f97f15842c808bf6d1058403f)]:
8
+ - @ledgerhq/live-env@2.15.0-nightly.0
9
+ - @ledgerhq/types-live@6.82.0-nightly.0
10
+ - @ledgerhq/coin-framework@6.2.0-nightly.0
11
+ - @ledgerhq/cryptoassets@13.25.1-nightly.0
12
+ - @ledgerhq/live-network@2.0.16-nightly.0
13
+
14
+ ## 0.2.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 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)]:
19
+ - @ledgerhq/live-env@2.14.0
20
+ - @ledgerhq/cryptoassets@13.25.0
21
+ - @ledgerhq/errors@6.24.0
22
+ - @ledgerhq/coin-framework@6.1.0
23
+ - @ledgerhq/types-live@6.81.0
24
+ - @ledgerhq/devices@8.5.0
25
+ - @ledgerhq/live-network@2.0.15
11
26
 
12
- ## 0.2.1-nightly.0
27
+ ## 0.2.1-next.0
13
28
 
14
29
  ### Patch Changes
15
30
 
16
- - Updated dependencies [[`75a08cc`](https://github.com/LedgerHQ/ledger-live/commit/75a08cc3061347bae98ddef7ac3cdcd6181ddab5)]:
17
- - @ledgerhq/live-env@2.14.0-nightly.0
18
- - @ledgerhq/coin-framework@6.0.1-nightly.0
19
- - @ledgerhq/cryptoassets@13.24.1-nightly.0
20
- - @ledgerhq/live-network@2.0.15-nightly.0
31
+ - 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)]:
32
+ - @ledgerhq/live-env@2.14.0-next.0
33
+ - @ledgerhq/cryptoassets@13.25.0-next.0
34
+ - @ledgerhq/errors@6.24.0-next.0
35
+ - @ledgerhq/coin-framework@6.1.0-next.0
36
+ - @ledgerhq/types-live@6.81.0-next.0
37
+ - @ledgerhq/devices@8.5.0-next.0
38
+ - @ledgerhq/live-network@2.0.15-next.0
21
39
 
22
40
  ## 0.2.0
23
41
 
@@ -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-nightly.1",
3
+ "version": "0.2.2-nightly.0",
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.0.1-nightly.1",
105
- "@ledgerhq/cryptoassets": "^13.25.0-nightly.1",
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.80.0"
104
+ "@ledgerhq/coin-framework": "^6.2.0-nightly.0",
105
+ "@ledgerhq/cryptoassets": "^13.25.1-nightly.0",
106
+ "@ledgerhq/devices": "8.5.0",
107
+ "@ledgerhq/errors": "^6.24.0",
108
+ "@ledgerhq/live-env": "^2.15.0-nightly.0",
109
+ "@ledgerhq/live-network": "^2.0.16-nightly.0",
110
+ "@ledgerhq/types-live": "^6.82.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
  }