@ledgerhq/coin-ton 0.6.1-nightly.3 → 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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @ledgerhq/coin-ton@0.6.1-nightly.2 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-ton
2
+ > @ledgerhq/coin-ton@0.6.1 build /home/runner/work/ledger-live/ledger-live/libs/coin-modules/coin-ton
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,39 +1,36 @@
1
1
  # @ledgerhq/coin-ton
2
2
 
3
- ## 0.6.1-nightly.3
3
+ ## 0.7.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/types-cryptoassets@7.21.0-nightly.0
10
- - @ledgerhq/cryptoassets@13.14.0-nightly.1
11
- - @ledgerhq/coin-framework@2.4.0-nightly.3
5
+ ### Minor Changes
12
6
 
13
- ## 0.6.1-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
14
8
 
15
9
  ### Patch Changes
16
10
 
17
- - Updated dependencies [[`32f2a0c`](https://github.com/LedgerHQ/ledger-live/commit/32f2a0cf073e5c1a5d65cbe44e69660f8f510dd7), [`40e98c3`](https://github.com/LedgerHQ/ledger-live/commit/40e98c392bd9192570e46c2d62cf0779bdfe01ec)]:
18
- - @ledgerhq/live-env@2.7.0-nightly.0
19
- - @ledgerhq/coin-framework@2.4.0-nightly.2
20
- - @ledgerhq/cryptoassets@13.13.1-nightly.0
21
- - @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/types-cryptoassets@7.21.0-next.0
16
+ - @ledgerhq/cryptoassets@13.14.0-next.0
17
+ - @ledgerhq/live-network@2.0.6-next.0
22
18
 
23
- ## 0.6.1-nightly.1
19
+ ## 0.6.1
24
20
 
25
21
  ### Patch Changes
26
22
 
27
- - Updated dependencies [[`2407a6e`](https://github.com/LedgerHQ/ledger-live/commit/2407a6e1f3153c30c52d4bac4c9334fa95c351da)]:
28
- - @ledgerhq/types-live@6.64.0-nightly.0
29
- - @ledgerhq/coin-framework@2.4.0-nightly.1
23
+ - 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)]:
24
+ - @ledgerhq/coin-framework@2.4.0
25
+ - @ledgerhq/types-live@6.64.0
30
26
 
31
- ## 0.6.1-nightly.0
27
+ ## 0.6.1-next.0
32
28
 
33
29
  ### Patch Changes
34
30
 
35
- - Updated dependencies [[`e2630cb`](https://github.com/LedgerHQ/ledger-live/commit/e2630cbec8d94ae037b2bf85cfa200a277ae739f)]:
36
- - @ledgerhq/coin-framework@2.4.0-nightly.0
31
+ - 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)]:
32
+ - @ledgerhq/coin-framework@2.4.0-next.0
33
+ - @ledgerhq/types-live@6.64.0-next.0
37
34
 
38
35
  ## 0.6.0
39
36
 
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-nightly.3",
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-nightly.3",
58
- "@ledgerhq/cryptoassets": "^13.14.0-nightly.1",
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.7.0-nightly.0",
62
- "@ledgerhq/live-network": "^2.0.6-nightly.0",
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.21.0-nightly.0",
65
- "@ledgerhq/types-live": "^6.64.0-nightly.1"
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",