@ledgerhq/hw-app-multiversx 6.22.0 → 6.23.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/hw-app-multiversx@6.22.0-next.1 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-app-multiversx
2
+ > @ledgerhq/hw-app-multiversx@6.22.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-app-multiversx
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "entry": ["src/MultiversX.ts"],
3
3
  "ignoreUnimported": [],
4
- "ignoreUnused": ["axios"]
4
+ "ignoreUnused": ["axios", "jest-sonar"]
5
5
  }
package/CHANGELOG.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @ledgerhq/hw-app-elrond
2
2
 
3
- ## 6.22.0
3
+ ## 6.23.0-next.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#8757](https://github.com/LedgerHQ/ledger-live/pull/8757) [`1461449`](https://github.com/LedgerHQ/ledger-live/commit/146144941c13e60182da8d79592f706d12a6f00e) Thanks [@Wozacosta](https://github.com/Wozacosta)! - chore: Rebranding from 'Elrond' to 'MultiversX'
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
8
 
9
- ## 6.22.0-next.1
9
+ ## 6.22.0
10
10
 
11
11
  ### Minor Changes
12
12
 
13
13
  - [#8757](https://github.com/LedgerHQ/ledger-live/pull/8757) [`1461449`](https://github.com/LedgerHQ/ledger-live/commit/146144941c13e60182da8d79592f706d12a6f00e) Thanks [@Wozacosta](https://github.com/Wozacosta)! - chore: Rebranding from 'Elrond' to 'MultiversX'
14
14
 
15
- ## 6.22.0-nightly.0
15
+ ## 6.22.0-next.0
16
16
 
17
17
  ### Minor Changes
18
18
 
package/jest.config.ts CHANGED
@@ -3,4 +3,21 @@ import baseConfig from "../../jest.config";
3
3
  export default {
4
4
  ...baseConfig,
5
5
  rootDir: __dirname,
6
+ collectCoverageFrom: [
7
+ "src/**/*.ts",
8
+ "!src/**/*.test.{ts,tsx}",
9
+ "!src/**/*.spec.{ts,tsx}",
10
+ "!src/**/__tests__/**",
11
+ "!tests/**",
12
+ ],
13
+ coverageReporters: ["json", ["lcov", { projectRoot: "../" }], "json-summary", "text"],
14
+ reporters: [
15
+ [
16
+ "jest-sonar",
17
+ {
18
+ outputName: "hw-app-multiversx-sonar-executionTests-report.xml",
19
+ reportedFilePath: "absolute",
20
+ },
21
+ ],
22
+ ],
6
23
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/hw-app-multiversx",
3
- "version": "6.22.0",
3
+ "version": "6.23.0-next.0",
4
4
  "description": "Ledger Hardware Wallet MultiversX Application API",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -43,11 +43,13 @@
43
43
  "source-map-support": "^0.5.21",
44
44
  "ts-jest": "^29.1.1",
45
45
  "ts-node": "^10.4.0",
46
+ "jest-sonar": "0.2.16",
46
47
  "@ledgerhq/hw-transport-mocker": "^6.29.4"
47
48
  },
48
49
  "scripts": {
49
50
  "clean": "rimraf lib lib-es",
50
51
  "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
52
+ "coverage": "jest --coverage --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-hw-app-multiversx.json && mv coverage/lcov.info coverage/hw-app-multiversx-lcov.info",
51
53
  "prewatch": "pnpm build",
52
54
  "watch": "tsc --watch",
53
55
  "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",