@metamask-previews/signature-controller 20.1.0-preview-1e2accee → 21.0.0-preview-fa7d96bb

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [21.0.0]
11
+
12
+ ### Added
13
+
14
+ - Add `chainId` and `networkClientId` to `SignatureRequest` and `LegacyStateMessage` types ([#4797](https://github.com/MetaMask/core/pull/4797))
15
+ - Add `networkClientId` to `OriginalRequest` type ([#4797](https://github.com/MetaMask/core/pull/4797))
16
+
17
+ ### Changed
18
+
19
+ - **BREAKING:** Make `request` argument required in `newUnsignedPersonalMessage` and `newUnsignedTypedMessage` methods ([#4797](https://github.com/MetaMask/core/pull/4797))
20
+ - Throw if no `networkClientId` in `request` or if chain ID cannot be determined ([#4797](https://github.com/MetaMask/core/pull/4797))
21
+ - Bump `@metamask/approval-controller` from `^7.1.0` to `^7.1.1` ([#4862](https://github.com/MetaMask/core/pull/4862))
22
+ - Bump `@metamask/controller-utils` from `^11.4.0` to `^11.4.1` ([#4862](https://github.com/MetaMask/core/pull/4862))
23
+ - Bump `@metamask/base-controller` from `7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862))
24
+ - Bump `@metamask/utils` from `^9.1.0` to `^10.0.0` ([#4831](https://github.com/MetaMask/core/pull/4831))
25
+ - Bump `@metamask/controller-utils` from `^11.3.0` to `^11.4.0` ([#4834](https://github.com/MetaMask/core/pull/4834))
26
+
27
+ ### Removed
28
+
29
+ - Remove `getCurrentChainId` and `getAllState` callbacks from constructor options ([#4797](https://github.com/MetaMask/core/pull/4797))
30
+
10
31
  ## [20.1.0]
11
32
 
12
33
  ### Added
@@ -379,7 +400,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
379
400
 
380
401
  - Initial release ([#1214](https://github.com/MetaMask/core/pull/1214))
381
402
 
382
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@20.1.0...HEAD
403
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@21.0.0...HEAD
404
+ [21.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@20.1.0...@metamask/signature-controller@21.0.0
383
405
  [20.1.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@20.0.0...@metamask/signature-controller@20.1.0
384
406
  [20.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@19.1.0...@metamask/signature-controller@20.0.0
385
407
  [19.1.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@19.0.0...@metamask/signature-controller@19.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/signature-controller",
3
- "version": "20.1.0-preview-1e2accee",
3
+ "version": "21.0.0-preview-fa7d96bb",
4
4
  "description": "Processes signing requests in order to sign arbitrary and typed data",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -47,8 +47,8 @@
47
47
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
48
48
  },
49
49
  "dependencies": {
50
- "@metamask/base-controller": "^7.0.1",
51
- "@metamask/controller-utils": "^11.4.0",
50
+ "@metamask/base-controller": "^7.0.2",
51
+ "@metamask/controller-utils": "^11.4.1",
52
52
  "@metamask/eth-sig-util": "^8.0.0",
53
53
  "@metamask/utils": "^10.0.0",
54
54
  "jsonschema": "^1.2.4",
@@ -56,7 +56,7 @@
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@metamask/approval-controller": "^7.1.0",
59
+ "@metamask/approval-controller": "^7.1.1",
60
60
  "@metamask/auto-changelog": "^3.4.4",
61
61
  "@metamask/keyring-controller": "^17.3.0",
62
62
  "@metamask/logging-controller": "^6.0.1",