@ledgerhq/coin-filecoin 1.7.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ledgerhq/coin-filecoin
2
2
 
3
+ ## 1.8.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
  ## 1.7.1
4
20
 
5
21
  ### Patch Changes
package/jest.config.js CHANGED
@@ -1,8 +1,21 @@
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
+ ],
11
+ coverageReporters: ["json", ["lcov", { file: "filecoin-lcov.info", projectRoot: "../" }], "text"],
12
+ coverageDirectory: "coverage",
6
13
  testEnvironment: "node",
7
14
  testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
15
+ reporters: [
16
+ [
17
+ "jest-sonar",
18
+ { outputName: "filecoin-sonar-executionTests-report.xml", reportedFilePath: "absolute" },
19
+ ],
20
+ ],
8
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-filecoin",
3
- "version": "1.7.1",
3
+ "version": "1.8.0-next.0",
4
4
  "description": "Ledger Filecoin Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -100,15 +100,15 @@
100
100
  "iso-filecoin": "^4.1.0",
101
101
  "lodash": "^4.17.21",
102
102
  "rxjs": "^7.8.1",
103
- "@ledgerhq/coin-framework": "^2.4.0",
104
- "@ledgerhq/cryptoassets": "^13.13.0",
103
+ "@ledgerhq/coin-framework": "^2.5.0-next.0",
104
+ "@ledgerhq/cryptoassets": "^13.14.0-next.0",
105
105
  "@ledgerhq/devices": "8.4.4",
106
106
  "@ledgerhq/errors": "^6.19.1",
107
- "@ledgerhq/live-env": "^2.6.0",
108
- "@ledgerhq/live-network": "^2.0.5",
107
+ "@ledgerhq/live-env": "^2.7.0-next.0",
108
+ "@ledgerhq/live-network": "^2.0.6-next.0",
109
109
  "@ledgerhq/logs": "^6.12.0",
110
- "@ledgerhq/types-cryptoassets": "^7.20.0",
111
- "@ledgerhq/types-live": "^6.64.0"
110
+ "@ledgerhq/types-cryptoassets": "^7.21.0-next.0",
111
+ "@ledgerhq/types-live": "^6.65.0-next.0"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@types/invariant": "^2.2.2",
@@ -117,12 +117,13 @@
117
117
  "@types/semver": "^7.5.8",
118
118
  "axios": "1.7.7",
119
119
  "jest": "^29.7.0",
120
- "ts-jest": "^29.1.1"
120
+ "ts-jest": "^29.1.1",
121
+ "jest-sonar": "0.2.16"
121
122
  },
122
123
  "scripts": {
123
124
  "clean": "rimraf lib lib-es",
124
125
  "build": "tsc --outDir lib --module commonjs --moduleResolution node10 && tsc -m ES6 --outDir lib-es",
125
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-filecoin.json",
126
+ "coverage": "jest --coverage",
126
127
  "prewatch": "pnpm build",
127
128
  "watch": "tsc --watch",
128
129
  "watch:es": "tsc --watch -m ES6 --outDir lib-es",