@metamask/eth-simple-keyring 6.0.1 → 6.0.4
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 +48 -11
- package/package.json +14 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -6,47 +7,83 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
7
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
10
|
+
## [6.0.4]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/*` and `@lavamoat/*` dependencies ([#46](https://github.com/MetaMask/accounts/pull/46))
|
|
15
|
+
- Move `deepmerge` to `devDependencies` ([#44](https://github.com/MetaMask/accounts/pull/44))
|
|
16
|
+
|
|
17
|
+
## [6.0.3]
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Convert to monorepo
|
|
22
|
+
- Package name does not change (`@metamask/eth-simple-keyring`) and sources have been moved to: `packages/keyring-eth-simple`.
|
|
23
|
+
- You can find all the changes [here](https://github.com/MetaMask/accounts/compare/6da58b4...38794aa).
|
|
24
|
+
|
|
25
|
+
## [6.0.2]
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Bump `@metamask/utils` from `^8.1.0` to `^9.0.0` ([#177](https://github.com/MetaMask/eth-simple-keyring/pull/177))
|
|
30
|
+
|
|
9
31
|
## [6.0.1]
|
|
32
|
+
|
|
10
33
|
### Fixed
|
|
34
|
+
|
|
11
35
|
- Treat `undefined` and `null` as empty array in deserialize function ([#163](https://github.com/MetaMask/eth-simple-keyring/pull/163))
|
|
12
36
|
|
|
13
37
|
## [6.0.0]
|
|
38
|
+
|
|
14
39
|
### Changed
|
|
40
|
+
|
|
15
41
|
- **BREAKING**: Increase minimum Node.js version to 16 ([#152](https://github.com/MetaMask/eth-simple-keyring/pull/152))
|
|
16
42
|
- **BREAKING**: Bump @metamask/eth-sig-util from ^6.0.1 to ^7.0.0 ([#156](https://github.com/MetaMask/eth-simple-keyring/pull/156))
|
|
17
43
|
- Bump @metamask/utils from ^5.0.0 to ^8.1.0 ([#153](https://github.com/MetaMask/eth-simple-keyring/pull/153))
|
|
18
44
|
- Bump ethereum-cryptography from ^1.2.0 to ^2.1.2 ([#153](https://github.com/MetaMask/eth-simple-keyring/pull/153))
|
|
19
45
|
|
|
20
46
|
## [5.1.1]
|
|
47
|
+
|
|
21
48
|
### Fixed
|
|
49
|
+
|
|
22
50
|
- Treat `undefined` and `null` as empty array in deserialize function ([#166](https://github.com/MetaMask/eth-simple-keyring/pull/166))
|
|
23
51
|
|
|
24
52
|
## [5.1.0]
|
|
53
|
+
|
|
25
54
|
### Changed
|
|
55
|
+
|
|
26
56
|
- Export TypeScript interfaces ([#140](https://github.com/MetaMask/eth-simple-keyring/pull/140))
|
|
27
57
|
- Update all dependencies ([#140](https://github.com/MetaMask/eth-simple-keyring/pull/140)) ([#149](https://github.com/MetaMask/eth-simple-keyring/pull/149))
|
|
28
58
|
|
|
29
59
|
### Fixed
|
|
60
|
+
|
|
30
61
|
- Add `validateMessage` option to `signMessage` to configure if runtime-validation should be done that input string is hex (default: `true`) ([#148](https://github.com/MetaMask/eth-simple-keyring/pull/148))
|
|
31
62
|
|
|
32
63
|
## [5.0.0]
|
|
64
|
+
|
|
33
65
|
### Changed
|
|
66
|
+
|
|
34
67
|
- **BREAKING:** Makes version-specific `signTypedData` methods private ([#84](https://github.com/MetaMask/eth-simple-keyring/pull/84))
|
|
35
|
-
|
|
68
|
+
- Consumers should use the generic `signTypedData` method and pass the version they'd like as a property in the options argument.
|
|
36
69
|
- **BREAKING:** Makes the `wallets` property private ([#87](https://github.com/MetaMask/eth-simple-keyring/pull/87))
|
|
37
|
-
|
|
70
|
+
- Consumers should not use this property as it is intended for internal use only.
|
|
38
71
|
- **BREAKING:** Makes `getPrivateKeyFor` a private method ([#83](https://github.com/MetaMask/eth-simple-keyring/pull/83))
|
|
39
|
-
|
|
72
|
+
- Consumers who wish to get the private key for a given account should use the `exportAccount` method.
|
|
40
73
|
- **BREAKING:** Set the minimum Node.js version to 14 ([#68](https://github.com/MetaMask/eth-simple-keyring/pull/68)) ([#109](https://github.com/MetaMask/eth-simple-keyring/pull/109))
|
|
41
74
|
- Always return rejected Promise upon failure ([#85](https://github.com/MetaMask/eth-simple-keyring/pull/85))
|
|
42
75
|
|
|
43
76
|
### Removed
|
|
77
|
+
|
|
44
78
|
- **BREAKING:** Remove redundant `newGethSignMessage` method ([#72](https://github.com/MetaMask/eth-simple-keyring/pull/72))
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
[Unreleased]: https://github.com/MetaMask/eth-simple-keyring
|
|
48
|
-
[6.0.
|
|
49
|
-
[6.0.
|
|
50
|
-
[
|
|
51
|
-
[
|
|
52
|
-
[
|
|
79
|
+
- Consumers can use `signPersonalMessage` method as a replacement for `newGethSignMessage`.
|
|
80
|
+
|
|
81
|
+
[Unreleased]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@6.0.4...HEAD
|
|
82
|
+
[6.0.4]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@6.0.3...@metamask/eth-simple-keyring@6.0.4
|
|
83
|
+
[6.0.3]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@6.0.2...@metamask/eth-simple-keyring@6.0.3
|
|
84
|
+
[6.0.2]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@6.0.1...@metamask/eth-simple-keyring@6.0.2
|
|
85
|
+
[6.0.1]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@6.0.0...@metamask/eth-simple-keyring@6.0.1
|
|
86
|
+
[6.0.0]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@5.1.1...@metamask/eth-simple-keyring@6.0.0
|
|
87
|
+
[5.1.1]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@5.1.0...@metamask/eth-simple-keyring@5.1.1
|
|
88
|
+
[5.1.0]: https://github.com/MetaMask/accounts/compare/@metamask/eth-simple-keyring@5.0.0...@metamask/eth-simple-keyring@5.1.0
|
|
89
|
+
[5.0.0]: https://github.com/MetaMask/accounts/releases/tag/@metamask/eth-simple-keyring@5.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/eth-simple-keyring",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"description": "A simple standard interface for a series of Ethereum private keys.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ethereum",
|
|
@@ -20,59 +20,45 @@
|
|
|
20
20
|
"dist/"
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "tsc --
|
|
23
|
+
"build": "tsc --build tsconfig.build.json",
|
|
24
24
|
"build:clean": "rimraf dist && yarn build",
|
|
25
25
|
"build:docs": "typedoc",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
|
31
|
-
"prepack": "./scripts/prepack.sh",
|
|
26
|
+
"build:force": "tsc --build tsconfig.build.json --force",
|
|
27
|
+
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-simple-keyring",
|
|
28
|
+
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-simple-keyring",
|
|
29
|
+
"publish:preview": "yarn npm publish --tag preview",
|
|
32
30
|
"sample": "ts-node src/sample.ts",
|
|
33
31
|
"test": "jest",
|
|
32
|
+
"test:clean": "jest --clearCache",
|
|
33
|
+
"test:verbose": "jest --verbose",
|
|
34
34
|
"test:watch": "jest --watch"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@ethereumjs/util": "^8.1.0",
|
|
38
|
-
"@metamask/eth-sig-util": "^7.0.
|
|
39
|
-
"@metamask/utils": "^
|
|
38
|
+
"@metamask/eth-sig-util": "^7.0.3",
|
|
39
|
+
"@metamask/utils": "^9.2.1",
|
|
40
40
|
"ethereum-cryptography": "^2.1.2",
|
|
41
41
|
"randombytes": "^2.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@ethereumjs/tx": "^4.1.1",
|
|
45
|
-
"@lavamoat/allow-scripts": "^3.
|
|
46
|
-
"@metamask/auto-changelog": "^3.
|
|
47
|
-
"@metamask/eslint-config": "^11.1.0",
|
|
48
|
-
"@metamask/eslint-config-jest": "^11.1.0",
|
|
49
|
-
"@metamask/eslint-config-nodejs": "^11.1.0",
|
|
50
|
-
"@metamask/eslint-config-typescript": "^11.1.0",
|
|
45
|
+
"@lavamoat/allow-scripts": "^3.2.1",
|
|
46
|
+
"@metamask/auto-changelog": "^3.4.4",
|
|
51
47
|
"@types/ethereumjs-tx": "^1.0.1",
|
|
52
48
|
"@types/jest": "^29.5.0",
|
|
53
49
|
"@types/node": "^18.15.10",
|
|
54
50
|
"@types/randombytes": "^2.0.0",
|
|
55
|
-
"
|
|
56
|
-
"@typescript-eslint/parser": "^5.57.0",
|
|
51
|
+
"deepmerge": "^4.2.2",
|
|
57
52
|
"depcheck": "^1.4.3",
|
|
58
|
-
"eslint": "^8.36.0",
|
|
59
|
-
"eslint-config-prettier": "^8.8.0",
|
|
60
|
-
"eslint-plugin-import": "^2.27.5",
|
|
61
|
-
"eslint-plugin-jest": "^27.2.1",
|
|
62
|
-
"eslint-plugin-jsdoc": "^39.6.2",
|
|
63
|
-
"eslint-plugin-node": "^11.1.0",
|
|
64
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
65
53
|
"ethereumjs-tx": "^1.3.7",
|
|
66
54
|
"jest": "^29.5.0",
|
|
67
|
-
"prettier": "^2.8.7",
|
|
68
55
|
"ts-jest": "^29.0.5",
|
|
69
56
|
"ts-node": "^10.9.1",
|
|
70
57
|
"typedoc": "^0.25.1",
|
|
71
58
|
"typescript": "~4.8.4"
|
|
72
59
|
},
|
|
73
|
-
"packageManager": "yarn@3.3.0",
|
|
74
60
|
"engines": {
|
|
75
|
-
"node": "^
|
|
61
|
+
"node": "^18.18 || >=20"
|
|
76
62
|
},
|
|
77
63
|
"publishConfig": {
|
|
78
64
|
"access": "public",
|