@ledgerhq/coin-bitcoin 0.13.0 → 0.14.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ledgerhq/coin-bitcoin
2
2
 
3
+ ## 0.14.0-next.0
4
+
5
+ ### Minor Changes
6
+
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
8
+
9
+ ### Patch Changes
10
+
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/types-cryptoassets@7.21.0-next.0
16
+ - @ledgerhq/cryptoassets@13.14.0-next.0
17
+ - @ledgerhq/live-network@2.0.6-next.0
18
+
3
19
  ## 0.13.0
4
20
 
5
21
  ### Minor Changes
package/jest.config.js CHANGED
@@ -1,9 +1,24 @@
1
1
  /** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
2
2
  module.exports = {
3
- collectCoverageFrom: ["src/**/*.ts"],
4
- coverageDirectory: "coverage",
3
+ passWithNoTests: true,
4
+ collectCoverageFrom: [
5
+ "src/**/*.ts",
6
+ "!src/**/*.test.ts",
7
+ "!src/**/*.spec.ts",
8
+ "!src/test/**/*.ts",
9
+ "!src/__tests__/**/*.ts",
10
+ "!src/datasets/**/*.ts",
11
+ "!src/wallet-btc/__tests__/**/*.ts",
12
+ ],
13
+ coverageReporters: ["json", ["lcov", { file: "bitcoin-lcov.info", projectRoot: "../" }], "text"],
5
14
  preset: "ts-jest",
6
15
  testEnvironment: "node",
7
16
  testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
8
17
  modulePathIgnorePatterns: ["__tests__/fixtures"],
18
+ reporters: [
19
+ [
20
+ "jest-sonar",
21
+ { outputName: "bitcoin-sonar-executionTests-report.xml", reportedFilePath: "absolute" },
22
+ ],
23
+ ],
9
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-bitcoin",
3
- "version": "0.13.0",
3
+ "version": "0.14.0-next.0",
4
4
  "description": "Ledger Bitcoin Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -63,15 +63,15 @@
63
63
  "sha.js": "^2.4.11",
64
64
  "utility-types": "^3.10.0",
65
65
  "varuint-bitcoin": "1.1.2",
66
- "@ledgerhq/coin-framework": "^2.4.0",
67
- "@ledgerhq/cryptoassets": "^13.13.0",
66
+ "@ledgerhq/coin-framework": "^2.5.0-next.0",
67
+ "@ledgerhq/cryptoassets": "^13.14.0-next.0",
68
68
  "@ledgerhq/devices": "8.4.4",
69
69
  "@ledgerhq/errors": "^6.19.1",
70
- "@ledgerhq/live-env": "^2.6.0",
71
- "@ledgerhq/live-network": "^2.0.5",
70
+ "@ledgerhq/live-env": "^2.7.0-next.0",
71
+ "@ledgerhq/live-network": "^2.0.6-next.0",
72
72
  "@ledgerhq/logs": "^6.12.0",
73
- "@ledgerhq/types-cryptoassets": "^7.20.0",
74
- "@ledgerhq/types-live": "^6.64.0"
73
+ "@ledgerhq/types-cryptoassets": "^7.21.0-next.0",
74
+ "@ledgerhq/types-live": "^6.65.0-next.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/bchaddrjs": "^0.4.3",
@@ -92,12 +92,13 @@
92
92
  "jest": "^29.7.0",
93
93
  "jest-file-snapshot": "^0.5.0",
94
94
  "object-hash": "^2.2.0",
95
- "ts-jest": "^29.1.1"
95
+ "ts-jest": "^29.1.1",
96
+ "jest-sonar": "0.2.16"
96
97
  },
97
98
  "scripts": {
98
99
  "clean": "rimraf lib lib-es",
99
100
  "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
100
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-bitcoin.json",
101
+ "coverage": "jest --coverage",
101
102
  "prewatch": "pnpm build",
102
103
  "watch": "tsc --watch",
103
104
  "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",