@ledgerhq/coin-ton 0.6.1 → 0.7.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-ton
2
2
 
3
+ ## 0.7.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.6.1
4
20
 
5
21
  ### Patch Changes
package/jest.config.js CHANGED
@@ -1,12 +1,24 @@
1
1
  /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
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
+ ],
10
+ coverageReporters: ["json", ["lcov", { file: "ton-lcov.info", projectRoot: "../" }], "text"],
5
11
  preset: "ts-jest",
6
12
  testEnvironment: "node",
7
- testPathIgnorePatterns: ["lib/", "lib-es/"],
13
+ testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
8
14
  modulePathIgnorePatterns: [
9
15
  "__tests__/fixtures",
10
16
  "__tests__/integration/bridge.integration.test.ts", // this file is tested at the live-common level
11
17
  ],
18
+ reporters: [
19
+ [
20
+ "jest-sonar",
21
+ { outputName: "ton-sonar-executionTests-report.xml", reportedFilePath: "absolute" },
22
+ ],
23
+ ],
12
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-ton",
3
- "version": "0.6.1",
3
+ "version": "0.7.0-next.0",
4
4
  "description": "Ton Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -54,15 +54,15 @@
54
54
  "lodash": "^4.17.21",
55
55
  "msw": "^2.0.11",
56
56
  "rxjs": "^7.8.1",
57
- "@ledgerhq/coin-framework": "^2.4.0",
58
- "@ledgerhq/cryptoassets": "^13.13.0",
59
- "@ledgerhq/devices": "8.4.4",
57
+ "@ledgerhq/coin-framework": "^2.5.0-next.0",
58
+ "@ledgerhq/cryptoassets": "^13.14.0-next.0",
60
59
  "@ledgerhq/errors": "^6.19.1",
61
- "@ledgerhq/live-env": "^2.6.0",
62
- "@ledgerhq/live-network": "^2.0.5",
60
+ "@ledgerhq/live-env": "^2.7.0-next.0",
61
+ "@ledgerhq/devices": "8.4.4",
62
+ "@ledgerhq/live-network": "^2.0.6-next.0",
63
63
  "@ledgerhq/logs": "^6.12.0",
64
- "@ledgerhq/types-cryptoassets": "^7.20.0",
65
- "@ledgerhq/types-live": "^6.64.0"
64
+ "@ledgerhq/types-cryptoassets": "^7.21.0-next.0",
65
+ "@ledgerhq/types-live": "^6.65.0-next.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/imurmurhash": "^0.1.4",
@@ -70,11 +70,12 @@
70
70
  "@types/jest": "^29.5.10",
71
71
  "@types/lodash": "^4.14.191",
72
72
  "jest": "^29.7.0",
73
+ "jest-sonar": "0.2.16",
73
74
  "ts-jest": "^29.1.1"
74
75
  },
75
76
  "scripts": {
76
77
  "clean": "rimraf lib lib-es",
77
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-ton.json",
78
+ "coverage": "jest --coverage",
78
79
  "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
79
80
  "prewatch": "pnpm build",
80
81
  "watch": "tsc --watch",