@ledgerhq/coin-celo 1.6.1-nightly.1 → 1.7.0-nightly.20251030160608

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-celo@1.6.1-nightly.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-celo
2
+ > @ledgerhq/coin-celo@1.6.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-celo
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,22 +1,23 @@
1
1
  # @ledgerhq/coin-celo
2
2
 
3
- ## 1.6.1-nightly.1
3
+ ## 1.7.0-nightly.20251030160608
4
4
 
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`ae0f8e4`](https://github.com/LedgerHQ/ledger-live/commit/ae0f8e4fb7fed90b7b110769b4bef54642fc24cf)]:
8
- - @ledgerhq/coin-evm@2.34.0-nightly.1
5
+ ### Minor Changes
9
6
 
10
- ## 1.6.1-nightly.0
7
+ - [#12340](https://github.com/LedgerHQ/ledger-live/pull/12340) [`8d7c1f7`](https://github.com/LedgerHQ/ledger-live/commit/8d7c1f7a92489647399b0e780d4bb926508e8554) Thanks [@gre-ledger](https://github.com/gre-ledger)! - migrate getDeviceTransactionConfig to async
11
8
 
12
9
  ### Patch Changes
13
10
 
14
- - Updated dependencies [[`2c6a198`](https://github.com/LedgerHQ/ledger-live/commit/2c6a198ba28391695202a0787ce168c53768ff37)]:
15
- - @ledgerhq/types-live@6.88.0-nightly.0
16
- - @ledgerhq/coin-framework@6.7.1-nightly.0
17
- - @ledgerhq/coin-evm@2.33.1-nightly.0
18
- - @ledgerhq/cryptoassets@13.31.1-nightly.0
19
- - @ledgerhq/hw-app-eth@6.46.2-nightly.0
11
+ - Updated dependencies [[`b4ceaff`](https://github.com/LedgerHQ/ledger-live/commit/b4ceaff2ecf68d8a14e09801c76ab0b014c45286), [`965692a`](https://github.com/LedgerHQ/ledger-live/commit/965692a3c88e114616e3f9c0e76ab2bfbb57a85f), [`da750a1`](https://github.com/LedgerHQ/ledger-live/commit/da750a16ee5f2c083114569b8ae3c708cceba06c), [`63e8f34`](https://github.com/LedgerHQ/ledger-live/commit/63e8f342f6b951ab77bb710b9971f033c05e579e), [`ccf788d`](https://github.com/LedgerHQ/ledger-live/commit/ccf788d7c0239ca95e76c3cc340f9a6bd09ea726), [`34b28dd`](https://github.com/LedgerHQ/ledger-live/commit/34b28dd5e819906daaa79db5fe6064674def5e7d), [`8d7c1f7`](https://github.com/LedgerHQ/ledger-live/commit/8d7c1f7a92489647399b0e780d4bb926508e8554), [`9f61dcf`](https://github.com/LedgerHQ/ledger-live/commit/9f61dcf6163fd66657e5be732c28bea623a40515), [`607e4be`](https://github.com/LedgerHQ/ledger-live/commit/607e4be33145c102debce1606224b08579888aa8), [`0b57e76`](https://github.com/LedgerHQ/ledger-live/commit/0b57e7631fadf0e1ecd08d0c6302bf0ac728173b), [`c96d73f`](https://github.com/LedgerHQ/ledger-live/commit/c96d73fed0a75a9c208f78d51c34b742703a7dda), [`7744980`](https://github.com/LedgerHQ/ledger-live/commit/774498090411f1a6d6c06395dda1fc7cd24adf24), [`ae0f8e4`](https://github.com/LedgerHQ/ledger-live/commit/ae0f8e4fb7fed90b7b110769b4bef54642fc24cf), [`4095b90`](https://github.com/LedgerHQ/ledger-live/commit/4095b9024527c16454eff9d5c44ed825375296ea), [`77566c5`](https://github.com/LedgerHQ/ledger-live/commit/77566c5a3b5795f5938bd5daaa5f8d65934c56b8), [`c1a4bfd`](https://github.com/LedgerHQ/ledger-live/commit/c1a4bfd34b46c6b6587d247673cadb3c078deb1d), [`5b41dd5`](https://github.com/LedgerHQ/ledger-live/commit/5b41dd56e024a5d03ba0e49084113c04887395db), [`f8d904d`](https://github.com/LedgerHQ/ledger-live/commit/f8d904de5607c103549f247428b5a4079f28c1c0), [`eb176c2`](https://github.com/LedgerHQ/ledger-live/commit/eb176c201d711f1d28f74de831c4a6cd0c2d4a50), [`a731c4c`](https://github.com/LedgerHQ/ledger-live/commit/a731c4cd492a968eb7baa981fdd8aaddedd21f25), [`b962966`](https://github.com/LedgerHQ/ledger-live/commit/b962966525517c5cfa7f1f8826f8f2b9162189e4), [`759064d`](https://github.com/LedgerHQ/ledger-live/commit/759064d4815c636af2d73ba548a85b4f53e7b491), [`f392f69`](https://github.com/LedgerHQ/ledger-live/commit/f392f6912f445cc2f7cf4dfcfd030fa3da76f736), [`cadf2e1`](https://github.com/LedgerHQ/ledger-live/commit/cadf2e1dfb09248d3f77d96f94ae774425dbca75), [`cbc0648`](https://github.com/LedgerHQ/ledger-live/commit/cbc064885d8e0459e40d327a2e5389204b3ec705), [`36e5168`](https://github.com/LedgerHQ/ledger-live/commit/36e5168397eaec2a5f425038392a4400f60571d0), [`6ccabef`](https://github.com/LedgerHQ/ledger-live/commit/6ccabef8f3c4e8cc042299d531684595ebadcc55), [`3d4188a`](https://github.com/LedgerHQ/ledger-live/commit/3d4188a26021d33b950129d82cb55d2c2e8d4358), [`d9305e8`](https://github.com/LedgerHQ/ledger-live/commit/d9305e8a4d8364366aaba05dd698396d28b539dc), [`2c6a198`](https://github.com/LedgerHQ/ledger-live/commit/2c6a198ba28391695202a0787ce168c53768ff37)]:
12
+ - @ledgerhq/cryptoassets@13.32.0-nightly.20251030160608
13
+ - @ledgerhq/coin-evm@2.34.0-nightly.20251030160608
14
+ - @ledgerhq/hw-app-eth@6.47.0-nightly.20251030160608
15
+ - @ledgerhq/coin-framework@6.8.0-nightly.20251030160608
16
+ - @ledgerhq/live-network@2.1.0-nightly.20251030160608
17
+ - @ledgerhq/live-env@2.20.0-nightly.20251030160608
18
+ - @ledgerhq/types-live@6.88.0-nightly.20251030160608
19
+ - @ledgerhq/devices@8.7.0-nightly.20251030160608
20
+ - @ledgerhq/errors@6.27.0-nightly.20251030160608
20
21
 
21
22
  ## 1.6.0
22
23
 
@@ -1,4 +1,4 @@
1
1
  import type { CommonDeviceTransactionField as DeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common";
2
- declare function getDeviceTransactionConfig(): Array<DeviceTransactionField>;
2
+ declare function getDeviceTransactionConfig(): Promise<Array<DeviceTransactionField>>;
3
3
  export default getDeviceTransactionConfig;
4
4
  //# sourceMappingURL=deviceTransactionConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAS,0BAA0B,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAcnE;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAe,0BAA0B,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAclF;AAED,eAAe,0BAA0B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- function getDeviceTransactionConfig() {
3
+ async function getDeviceTransactionConfig() {
4
4
  const fields = [];
5
5
  fields.push({
6
6
  type: "amount",
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":";;AAEA,SAAS,0BAA0B;IACjC,MAAM,MAAM,GAAkC,EAAE,CAAC;IAEjD,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":";;AAEA,KAAK,UAAU,0BAA0B;IACvC,MAAM,MAAM,GAAkC,EAAE,CAAC;IAEjD,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { CommonDeviceTransactionField as DeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common";
2
- declare function getDeviceTransactionConfig(): Array<DeviceTransactionField>;
2
+ declare function getDeviceTransactionConfig(): Promise<Array<DeviceTransactionField>>;
3
3
  export default getDeviceTransactionConfig;
4
4
  //# sourceMappingURL=deviceTransactionConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAS,0BAA0B,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAcnE;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAe,0BAA0B,IAAI,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAclF;AAED,eAAe,0BAA0B,CAAC"}
@@ -1,4 +1,4 @@
1
- function getDeviceTransactionConfig() {
1
+ async function getDeviceTransactionConfig() {
2
2
  const fields = [];
3
3
  fields.push({
4
4
  type: "amount",
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAEA,SAAS,0BAA0B;IACjC,MAAM,MAAM,GAAkC,EAAE,CAAC;IAEjD,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,0BAA0B;IACvC,MAAM,MAAM,GAAkC,EAAE,CAAC;IAEjD,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;QACV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,eAAe,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-celo",
3
- "version": "1.6.1-nightly.1",
3
+ "version": "1.7.0-nightly.20251030160608",
4
4
  "description": "celo coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -114,17 +114,17 @@
114
114
  "invariant": "^2.2.4",
115
115
  "lodash": "^4.17.21",
116
116
  "rxjs": "^7.8.1",
117
- "@ledgerhq/coin-evm": "^2.34.0-nightly.1",
118
- "@ledgerhq/coin-framework": "^6.7.1-nightly.0",
119
- "@ledgerhq/cryptoassets": "^13.31.1-nightly.0",
120
- "@ledgerhq/errors": "^6.27.0-nightly.0",
121
- "@ledgerhq/devices": "8.6.2-nightly.0",
122
- "@ledgerhq/hw-app-eth": "^6.46.2-nightly.0",
117
+ "@ledgerhq/coin-evm": "^2.34.0-nightly.20251030160608",
118
+ "@ledgerhq/coin-framework": "^6.8.0-nightly.20251030160608",
119
+ "@ledgerhq/cryptoassets": "^13.32.0-nightly.20251030160608",
120
+ "@ledgerhq/devices": "8.7.0-nightly.20251030160608",
121
+ "@ledgerhq/errors": "^6.27.0-nightly.20251030160608",
122
+ "@ledgerhq/hw-app-eth": "^6.47.0-nightly.20251030160608",
123
123
  "@ledgerhq/live-config": "^3.2.0",
124
- "@ledgerhq/live-env": "^2.19.0",
125
- "@ledgerhq/live-network": "^2.0.20",
124
+ "@ledgerhq/live-env": "^2.20.0-nightly.20251030160608",
125
+ "@ledgerhq/live-network": "^2.1.0-nightly.20251030160608",
126
126
  "@ledgerhq/logs": "^6.13.0",
127
- "@ledgerhq/types-live": "^6.88.0-nightly.0"
127
+ "@ledgerhq/types-live": "^6.88.0-nightly.20251030160608"
128
128
  },
129
129
  "devDependencies": {
130
130
  "@faker-js/faker": "^9.9.0",
@@ -136,8 +136,8 @@
136
136
  "jest": "^29.7.0",
137
137
  "ts-jest": "^29.1.1",
138
138
  "typescript": "^5.4.5",
139
- "@ledgerhq/types-cryptoassets": "^7.29.0",
140
- "@ledgerhq/disable-network-setup": "^0.0.0"
139
+ "@ledgerhq/disable-network-setup": "^0.1.0-nightly.20251030160608",
140
+ "@ledgerhq/types-cryptoassets": "^7.30.0-nightly.20251030160608"
141
141
  },
142
142
  "scripts": {
143
143
  "clean": "rimraf lib lib-es",
@@ -1,8 +1,9 @@
1
1
  import getDeviceTransactionConfig from "../../bridge/deviceTransactionConfig";
2
2
 
3
3
  describe("deviceTransactionConfig", () => {
4
- it("returns the expected config", () => {
5
- expect(getDeviceTransactionConfig()).toEqual([
4
+ it("returns the expected config", async () => {
5
+ const result = await getDeviceTransactionConfig();
6
+ expect(result).toEqual([
6
7
  {
7
8
  type: "amount",
8
9
  label: "Amount",
@@ -1,6 +1,6 @@
1
1
  import type { CommonDeviceTransactionField as DeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common";
2
2
 
3
- function getDeviceTransactionConfig(): Array<DeviceTransactionField> {
3
+ async function getDeviceTransactionConfig(): Promise<Array<DeviceTransactionField>> {
4
4
  const fields: Array<DeviceTransactionField> = [];
5
5
 
6
6
  fields.push({