@ledgerhq/coin-tester 0.5.0-nightly.1 → 0.5.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-tester@0.5.0-nightly.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-tester
2
+ > @ledgerhq/coin-tester@0.5.0 build /home/runner/work/ledger-live/ledger-live/libs/coin-tester
3
3
  > tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,16 +1,19 @@
1
1
  # @ledgerhq/coin-tester
2
2
 
3
- ## 0.5.0-nightly.1
3
+ ## 0.5.0
4
4
 
5
- ### Patch Changes
5
+ ### Minor Changes
6
6
 
7
- - Updated dependencies []:
8
- - @ledgerhq/hw-transport-node-speculos-http@6.29.5-nightly.0
7
+ - [#9919](https://github.com/LedgerHQ/ledger-live/pull/9919) [`5d6d223`](https://github.com/LedgerHQ/ledger-live/commit/5d6d223fe1691200911e81c8d83eec7b4ae0cd65) Thanks [@qperrot](https://github.com/qperrot)! - Move all coin tester into its own coin tester modules
9
8
 
10
- ## 0.5.0-nightly.0
9
+ - [#9775](https://github.com/LedgerHQ/ledger-live/pull/9775) [`fe89dd5`](https://github.com/LedgerHQ/ledger-live/commit/fe89dd51cd35000c7b661d6364fe78f88bbf6c62) Thanks [@Canestin](https://github.com/Canestin)! - extract coin-tester-evm module
10
+
11
+ ## 0.5.0-next.0
11
12
 
12
13
  ### Minor Changes
13
14
 
15
+ - [#9919](https://github.com/LedgerHQ/ledger-live/pull/9919) [`5d6d223`](https://github.com/LedgerHQ/ledger-live/commit/5d6d223fe1691200911e81c8d83eec7b4ae0cd65) Thanks [@qperrot](https://github.com/qperrot)! - Move all coin tester into its own coin tester modules
16
+
14
17
  - [#9775](https://github.com/LedgerHQ/ledger-live/pull/9775) [`fe89dd5`](https://github.com/LedgerHQ/ledger-live/commit/fe89dd51cd35000c7b661d6364fe78f88bbf6c62) Thanks [@Canestin](https://github.com/Canestin)! - extract coin-tester-evm module
15
18
 
16
19
  ## 0.4.0
package/README.md CHANGED
@@ -50,7 +50,7 @@ docker build -f Dockerfile -t speculos:latest .
50
50
  - Generate a [Github token classic](https://github.com/settings/tokens) and give it full "repo" and "project" rights. Make sure to authorize Ledger SSO.
51
51
 
52
52
  - Go in the coin-module you want to test and create a `.env` in the folder where your test resides.
53
- For exemple for `coin-evm` create the file should be located in: `src/__test__/coin-tester/.env`.
53
+ For exemple for `coin-evm` create the file should be located in: `coin-tester-modules/coin-tester-evm/.env`.
54
54
 
55
55
  Copy `.env.example`.
56
56
 
@@ -75,18 +75,14 @@ If you want you can generate a new seed using [this tool](https://iancoleman.io/
75
75
 
76
76
  To coin Polkadot Coin tester we will need to build the local test node Docker image.
77
77
 
78
- ```sh
79
- cd libs/coin-modules/coin-polkadot/src/test/coin-tester
80
- make build
81
- ```
82
78
  ## [Run tests for a coin module](#run-tests-for-a-coin-module)
83
79
 
84
80
  ```sh
85
- pnpm coin:<coin-module-name> coin-tester
81
+ pnpm coin:tester:<coin-tester-modules-name> start
86
82
 
87
83
  # e.g
88
- # pnpm coin:evm coin-tester
89
- # pnpm coin:polkadot coin-tester
84
+ # pnpm coin:tester:evm start
85
+ # pnpm coin:tester:polkadot start
90
86
  ```
91
87
 
92
88
  ## Troubleshooting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-tester",
3
- "version": "0.5.0-nightly.1",
3
+ "version": "0.5.0",
4
4
  "description": "Deterministic testing of Ledger coin-modules",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -9,7 +9,7 @@
9
9
  "docker-compose": "^1.1.0",
10
10
  "lodash": "^4.17.21",
11
11
  "rxjs": "7.8.1",
12
- "@ledgerhq/hw-transport-node-speculos-http": "^6.29.5-nightly.0"
12
+ "@ledgerhq/hw-transport-node-speculos-http": "^6.29.4"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/jest": "^28.1.8",
@@ -17,8 +17,8 @@
17
17
  "jest": "^28.1.3",
18
18
  "ts-jest": "^28.0.8",
19
19
  "typescript": "^5.1.3",
20
- "@ledgerhq/types-live": "^6.66.0-nightly.1",
21
- "@ledgerhq/types-cryptoassets": "^7.21.0"
20
+ "@ledgerhq/types-cryptoassets": "^7.22.0",
21
+ "@ledgerhq/types-live": "^6.67.0"
22
22
  },
23
23
  "typesVersions": {
24
24
  "*": {