@ledgerhq/coin-multiversx 0.2.2 → 0.3.0-nightly.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,16 @@
1
1
  # @ledgerhq/coin-elrond
2
2
 
3
+ ## 0.3.0-nightly.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)]:
12
+ - @ledgerhq/coin-framework@2.5.0-nightly.0
13
+
3
14
  ## 0.2.2
4
15
 
5
16
  ### Patch Changes
package/jest.config.js CHANGED
@@ -1,8 +1,26 @@
1
1
  /** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
2
2
  module.exports = {
3
3
  preset: "ts-jest",
4
- coverageDirectory: "coverage",
5
- collectCoverageFrom: ["src/**/*.ts"],
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
+ "!src/__snapshots__/",
12
+ ],
13
+ coverageReporters: [
14
+ "json",
15
+ ["lcov", { file: "multiversx-lcov.info", projectRoot: "../" }],
16
+ "text",
17
+ ],
6
18
  testEnvironment: "node",
7
19
  testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
20
+ reporters: [
21
+ [
22
+ "jest-sonar",
23
+ { outputName: "multiversx-sonar-executionTests-report.xml", reportedFilePath: "absolute" },
24
+ ],
25
+ ],
8
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-multiversx",
3
- "version": "0.2.2",
3
+ "version": "0.3.0-nightly.0",
4
4
  "description": "Ledger MultiversX Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -52,15 +52,15 @@
52
52
  "expect": "^27.4.6",
53
53
  "protobufjs": "^7.2.6",
54
54
  "axios": "^1.7.4",
55
- "@ledgerhq/coin-framework": "^2.4.0",
56
- "@ledgerhq/cryptoassets": "^13.13.0",
55
+ "@ledgerhq/coin-framework": "^2.5.0-nightly.0",
56
+ "@ledgerhq/cryptoassets": "^13.14.0-nightly.1",
57
57
  "@ledgerhq/devices": "8.4.4",
58
58
  "@ledgerhq/errors": "^6.19.1",
59
- "@ledgerhq/live-env": "^2.6.0",
60
- "@ledgerhq/live-network": "^2.0.5",
59
+ "@ledgerhq/live-env": "^2.7.0-nightly.0",
60
+ "@ledgerhq/live-network": "^2.0.6-nightly.0",
61
61
  "@ledgerhq/live-promise": "^0.1.0",
62
62
  "@ledgerhq/logs": "^6.12.0",
63
- "@ledgerhq/types-cryptoassets": "^7.20.0",
63
+ "@ledgerhq/types-cryptoassets": "^7.21.0-nightly.0",
64
64
  "@ledgerhq/types-live": "^6.64.0"
65
65
  },
66
66
  "devDependencies": {
@@ -68,12 +68,13 @@
68
68
  "@types/jest": "^29.5.10",
69
69
  "@types/lodash": "^4.17.7",
70
70
  "jest": "^29.7.0",
71
- "ts-jest": "^29.1.1"
71
+ "ts-jest": "^29.1.1",
72
+ "jest-sonar": "0.2.16"
72
73
  },
73
74
  "scripts": {
74
75
  "clean": "rimraf lib lib-es",
75
76
  "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
76
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-multiversx.json",
77
+ "coverage": "jest --coverage",
77
78
  "prewatch": "pnpm build",
78
79
  "watch": "tsc --watch",
79
80
  "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",