@ledgerhq/coin-mina 1.3.1-nightly.0 → 1.4.0-nightly.2

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-mina@1.3.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-mina
2
+ > @ledgerhq/coin-mina@1.3.1-nightly.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-mina
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @ledgerhq/coin-mina
2
2
 
3
+ ## 1.4.0-nightly.2
4
+
5
+ ### Minor Changes
6
+
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
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`63e8f34`](https://github.com/LedgerHQ/ledger-live/commit/63e8f342f6b951ab77bb710b9971f033c05e579e), [`3d4188a`](https://github.com/LedgerHQ/ledger-live/commit/3d4188a26021d33b950129d82cb55d2c2e8d4358)]:
12
+ - @ledgerhq/cryptoassets@13.32.0-nightly.1
13
+ - @ledgerhq/coin-framework@6.8.0-nightly.2
14
+ - @ledgerhq/live-network@2.1.0-nightly.0
15
+ - @ledgerhq/types-live@6.88.0-nightly.1
16
+
17
+ ## 1.3.1-nightly.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`a731c4c`](https://github.com/LedgerHQ/ledger-live/commit/a731c4cd492a968eb7baa981fdd8aaddedd21f25)]:
22
+ - @ledgerhq/coin-framework@6.8.0-nightly.1
23
+
3
24
  ## 1.3.1-nightly.0
4
25
 
5
26
  ### Patch Changes
@@ -6,6 +6,6 @@ declare function getDeviceTransactionConfig(_input: {
6
6
  parentAccount: Account | null | undefined;
7
7
  transaction: Transaction;
8
8
  status: TransactionStatus;
9
- }): Array<DeviceTransactionField>;
9
+ }): Promise<Array<DeviceTransactionField>>;
10
10
  export default getDeviceTransactionConfig;
11
11
  //# 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,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAS,0BAA0B,CAAC,MAAM,EAAE;IAC1C,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAGhC;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAe,0BAA0B,CAAC,MAAM,EAAE;IAChD,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,GAAG,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAGzC;AAED,eAAe,0BAA0B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- function getDeviceTransactionConfig(_input) {
3
+ async function getDeviceTransactionConfig(_input) {
4
4
  const fields = [];
5
5
  return fields;
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":";;AAIA,SAAS,0BAA0B,CAAC,MAKnC;IACC,MAAM,MAAM,GAAkC,EAAE,CAAC;IACjD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":";;AAIA,KAAK,UAAU,0BAA0B,CAAC,MAKzC;IACC,MAAM,MAAM,GAAkC,EAAE,CAAC;IACjD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,kBAAe,0BAA0B,CAAC"}
@@ -6,6 +6,6 @@ declare function getDeviceTransactionConfig(_input: {
6
6
  parentAccount: Account | null | undefined;
7
7
  transaction: Transaction;
8
8
  status: TransactionStatus;
9
- }): Array<DeviceTransactionField>;
9
+ }): Promise<Array<DeviceTransactionField>>;
10
10
  export default getDeviceTransactionConfig;
11
11
  //# 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,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAS,0BAA0B,CAAC,MAAM,EAAE;IAC1C,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAGhC;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.d.ts","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EAAE,4BAA4B,IAAI,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAE1H,iBAAe,0BAA0B,CAAC,MAAM,EAAE;IAChD,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,GAAG,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAGzC;AAED,eAAe,0BAA0B,CAAC"}
@@ -1,4 +1,4 @@
1
- function getDeviceTransactionConfig(_input) {
1
+ async function getDeviceTransactionConfig(_input) {
2
2
  const fields = [];
3
3
  return fields;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAIA,SAAS,0BAA0B,CAAC,MAKnC;IACC,MAAM,MAAM,GAAkC,EAAE,CAAC;IACjD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"deviceTransactionConfig.js","sourceRoot":"","sources":["../../src/bridge/deviceTransactionConfig.ts"],"names":[],"mappings":"AAIA,KAAK,UAAU,0BAA0B,CAAC,MAKzC;IACC,MAAM,MAAM,GAAkC,EAAE,CAAC;IACjD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,eAAe,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-mina",
3
- "version": "1.3.1-nightly.0",
3
+ "version": "1.4.0-nightly.2",
4
4
  "description": "Mina Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -108,14 +108,14 @@
108
108
  "invariant": "^2.2.2",
109
109
  "lodash": "^4.17.21",
110
110
  "rxjs": "^7.8.1",
111
- "@ledgerhq/cryptoassets": "^13.31.1-nightly.0",
112
- "@ledgerhq/coin-framework": "^6.7.1-nightly.0",
111
+ "@ledgerhq/coin-framework": "^6.8.0-nightly.2",
112
+ "@ledgerhq/cryptoassets": "^13.32.0-nightly.1",
113
113
  "@ledgerhq/devices": "8.6.2-nightly.0",
114
114
  "@ledgerhq/errors": "^6.27.0-nightly.0",
115
- "@ledgerhq/live-network": "^2.0.20",
115
+ "@ledgerhq/live-network": "^2.1.0-nightly.0",
116
116
  "@ledgerhq/logs": "^6.13.0",
117
117
  "@ledgerhq/types-cryptoassets": "^7.29.0",
118
- "@ledgerhq/types-live": "^6.88.0-nightly.0"
118
+ "@ledgerhq/types-live": "^6.88.0-nightly.1"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@types/bs58check": "^2.1.2",
@@ -125,7 +125,7 @@
125
125
  "expect": "^27.4.6",
126
126
  "jest": "^29.7.0",
127
127
  "ts-jest": "^29.1.1",
128
- "@ledgerhq/disable-network-setup": "^0.0.0"
128
+ "@ledgerhq/disable-network-setup": "^0.1.0-nightly.0"
129
129
  },
130
130
  "scripts": {
131
131
  "clean": "rimraf lib lib-es",
@@ -2,12 +2,12 @@ import type { Account, AccountLike } from "@ledgerhq/types-live";
2
2
  import type { Transaction, TransactionStatus } from "../types/common";
3
3
  import type { CommonDeviceTransactionField as DeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common";
4
4
 
5
- function getDeviceTransactionConfig(_input: {
5
+ async function getDeviceTransactionConfig(_input: {
6
6
  account: AccountLike;
7
7
  parentAccount: Account | null | undefined;
8
8
  transaction: Transaction;
9
9
  status: TransactionStatus;
10
- }): Array<DeviceTransactionField> {
10
+ }): Promise<Array<DeviceTransactionField>> {
11
11
  const fields: Array<DeviceTransactionField> = [];
12
12
  return fields;
13
13
  }