@ledgerhq/coin-aptos 1.7.2-nightly.3 → 1.8.0-next.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-aptos@1.7.2-nightly.2 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-aptos
2
+ > @ledgerhq/coin-aptos@1.7.2 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-aptos
3
3
  > tsc --outDir lib --module commonjs --moduleResolution node10 && tsc -m ES6 --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,38 +1,35 @@
1
1
  # @ledgerhq/coin-aptos
2
2
 
3
- ## 1.7.2-nightly.3
3
+ ## 1.8.0-next.0
4
4
 
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`1ec6a03`](https://github.com/LedgerHQ/ledger-live/commit/1ec6a03580ea1136dab22747721942056506d589), [`2effe04`](https://github.com/LedgerHQ/ledger-live/commit/2effe04d9d4b3e407ed25da3b9f11324a82126d3), [`a656e47`](https://github.com/LedgerHQ/ledger-live/commit/a656e47c1dc3ac8b578debf9cf80eab370c7086f)]:
8
- - @ledgerhq/types-live@6.64.0-nightly.1
9
- - @ledgerhq/cryptoassets@13.14.0-nightly.1
10
- - @ledgerhq/coin-framework@2.4.0-nightly.3
5
+ ### Minor Changes
11
6
 
12
- ## 1.7.2-nightly.2
7
+ - [#9298](https://github.com/LedgerHQ/ledger-live/pull/9298) [`2785d49`](https://github.com/LedgerHQ/ledger-live/commit/2785d49ac320498f98ed39b4eccc48310ad35fe1) Thanks [@Canestin](https://github.com/Canestin)! - config coin-integration env for sonarqube
13
8
 
14
9
  ### Patch Changes
15
10
 
16
- - Updated dependencies [[`32f2a0c`](https://github.com/LedgerHQ/ledger-live/commit/32f2a0cf073e5c1a5d65cbe44e69660f8f510dd7), [`40e98c3`](https://github.com/LedgerHQ/ledger-live/commit/40e98c392bd9192570e46c2d62cf0779bdfe01ec)]:
17
- - @ledgerhq/live-env@2.7.0-nightly.0
18
- - @ledgerhq/coin-framework@2.4.0-nightly.2
19
- - @ledgerhq/cryptoassets@13.13.1-nightly.0
20
- - @ledgerhq/live-network@2.0.6-nightly.0
11
+ - Updated dependencies [[`2785d49`](https://github.com/LedgerHQ/ledger-live/commit/2785d49ac320498f98ed39b4eccc48310ad35fe1), [`2effe04`](https://github.com/LedgerHQ/ledger-live/commit/2effe04d9d4b3e407ed25da3b9f11324a82126d3), [`32f2a0c`](https://github.com/LedgerHQ/ledger-live/commit/32f2a0cf073e5c1a5d65cbe44e69660f8f510dd7), [`2407a6e`](https://github.com/LedgerHQ/ledger-live/commit/2407a6e1f3153c30c52d4bac4c9334fa95c351da), [`40e98c3`](https://github.com/LedgerHQ/ledger-live/commit/40e98c392bd9192570e46c2d62cf0779bdfe01ec), [`a656e47`](https://github.com/LedgerHQ/ledger-live/commit/a656e47c1dc3ac8b578debf9cf80eab370c7086f)]:
12
+ - @ledgerhq/coin-framework@2.5.0-next.0
13
+ - @ledgerhq/types-live@6.65.0-next.0
14
+ - @ledgerhq/live-env@2.7.0-next.0
15
+ - @ledgerhq/cryptoassets@13.14.0-next.0
16
+ - @ledgerhq/live-network@2.0.6-next.0
21
17
 
22
- ## 1.7.2-nightly.1
18
+ ## 1.7.2
23
19
 
24
20
  ### Patch Changes
25
21
 
26
- - Updated dependencies [[`2407a6e`](https://github.com/LedgerHQ/ledger-live/commit/2407a6e1f3153c30c52d4bac4c9334fa95c351da)]:
27
- - @ledgerhq/types-live@6.64.0-nightly.0
28
- - @ledgerhq/coin-framework@2.4.0-nightly.1
22
+ - Updated dependencies [[`5f27549`](https://github.com/LedgerHQ/ledger-live/commit/5f275498e80060f98238a54e8ae3e2c94bfd7c91), [`fa8b10c`](https://github.com/LedgerHQ/ledger-live/commit/fa8b10cac5603eedd7c2309d2bb544a7d2d1a1a8), [`e2630cb`](https://github.com/LedgerHQ/ledger-live/commit/e2630cbec8d94ae037b2bf85cfa200a277ae739f), [`c15d7ea`](https://github.com/LedgerHQ/ledger-live/commit/c15d7ea48e41168726a90a17809175aee5bfa940), [`b8fca38`](https://github.com/LedgerHQ/ledger-live/commit/b8fca386fa07cf393109a1928e92dfc790f9c286)]:
23
+ - @ledgerhq/coin-framework@2.4.0
24
+ - @ledgerhq/types-live@6.64.0
29
25
 
30
- ## 1.7.2-nightly.0
26
+ ## 1.7.2-next.0
31
27
 
32
28
  ### Patch Changes
33
29
 
34
- - Updated dependencies [[`e2630cb`](https://github.com/LedgerHQ/ledger-live/commit/e2630cbec8d94ae037b2bf85cfa200a277ae739f)]:
35
- - @ledgerhq/coin-framework@2.4.0-nightly.0
30
+ - Updated dependencies [[`5f27549`](https://github.com/LedgerHQ/ledger-live/commit/5f275498e80060f98238a54e8ae3e2c94bfd7c91), [`fa8b10c`](https://github.com/LedgerHQ/ledger-live/commit/fa8b10cac5603eedd7c2309d2bb544a7d2d1a1a8), [`e2630cb`](https://github.com/LedgerHQ/ledger-live/commit/e2630cbec8d94ae037b2bf85cfa200a277ae739f), [`c15d7ea`](https://github.com/LedgerHQ/ledger-live/commit/c15d7ea48e41168726a90a17809175aee5bfa940), [`b8fca38`](https://github.com/LedgerHQ/ledger-live/commit/b8fca386fa07cf393109a1928e92dfc790f9c286)]:
31
+ - @ledgerhq/coin-framework@2.4.0-next.0
32
+ - @ledgerhq/types-live@6.64.0-next.0
36
33
 
37
34
  ## 1.7.1
38
35
 
package/jest.config.js CHANGED
@@ -1,8 +1,27 @@
1
1
  /** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
2
2
  module.exports = {
3
- collectCoverageFrom: ["src/**/*.ts"],
4
- coverageDirectory: "coverage",
5
3
  preset: "ts-jest",
4
+ passWithNoTests: true,
5
+ collectCoverageFrom: [
6
+ "src/**/*.ts",
7
+ "!src/**/*.test.ts",
8
+ "!src/**/*.spec.ts",
9
+ "!src/test/**/*.ts",
10
+ "!src/__tests__/**/*.ts",
11
+ ],
12
+ coverageReporters: ["json", ["lcov", { file: "aptos-lcov.info", projectRoot: "../" }], "text"],
6
13
  testEnvironment: "node",
7
14
  testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
15
+ reporters: [
16
+ [
17
+ "jest-sonar",
18
+ { outputName: "aptos-sonar-executionTests-report.xml", reportedFilePath: "absolute" },
19
+ ],
20
+ ],
21
+ coveragePathIgnorePatterns: [
22
+ "src/test",
23
+ "src/types",
24
+ "src/index.ts",
25
+ "src/bridge/bridge.fixture.ts",
26
+ ],
8
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-aptos",
3
- "version": "1.7.2-nightly.3",
3
+ "version": "1.8.0-next.0",
4
4
  "description": "Ledger Aptos Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -90,14 +90,14 @@
90
90
  "expect": "^27.4.6",
91
91
  "lodash": "^4.17.21",
92
92
  "rxjs": "^7.8.1",
93
- "@ledgerhq/coin-framework": "^2.4.0-nightly.3",
94
- "@ledgerhq/cryptoassets": "^13.14.0-nightly.1",
93
+ "@ledgerhq/coin-framework": "^2.5.0-next.0",
94
+ "@ledgerhq/cryptoassets": "^13.14.0-next.0",
95
95
  "@ledgerhq/devices": "8.4.4",
96
96
  "@ledgerhq/errors": "^6.19.1",
97
- "@ledgerhq/live-env": "^2.7.0-nightly.0",
98
- "@ledgerhq/live-network": "^2.0.6-nightly.0",
97
+ "@ledgerhq/live-env": "^2.7.0-next.0",
98
+ "@ledgerhq/live-network": "^2.0.6-next.0",
99
99
  "@ledgerhq/logs": "^6.12.0",
100
- "@ledgerhq/types-live": "^6.64.0-nightly.1"
100
+ "@ledgerhq/types-live": "^6.65.0-next.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@faker-js/faker": "^9.4.0",
@@ -108,12 +108,13 @@
108
108
  "jest": "^29.7.0",
109
109
  "ts-jest": "^29.2.5",
110
110
  "axios": "^1.7.9",
111
- "react": "^18.3.1"
111
+ "react": "^18.3.1",
112
+ "jest-sonar": "0.2.16"
112
113
  },
113
114
  "scripts": {
114
115
  "clean": "rimraf lib lib-es",
115
116
  "build": "tsc --outDir lib --module commonjs --moduleResolution node10 && tsc -m ES6 --outDir lib-es",
116
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --coveragePathIgnorePatterns='src/test|src/types|src/index.ts|src/bridge/bridge.fixture.ts' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-aptos.json",
117
+ "coverage": "jest --coverage",
117
118
  "prewatch": "pnpm build",
118
119
  "watch": "tsc --watch",
119
120
  "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",