@metamask/wallet 10.0.0 → 11.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [11.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Bump `@metamask/subscription-controller` from `^7.0.0` to `^8.0.0` ([#9903](https://github.com/MetaMask/core/pull/9903))
15
+ - Exported `DefaultActions` and root-messenger `SubscriptionController:*` actions pick up the 8.0.0 renames: `SubscriptionController:startShieldSubscriptionWithCard` is now `SubscriptionController:startSubscriptionWithCard`, and `SubscriptionController:submitShieldSubscriptionCryptoApproval` is now `SubscriptionController:submitSubscriptionCryptoApproval`.
16
+ - `submitSubscriptionCryptoApproval` and `cacheLastSelectedPaymentMethod` now take a single request object instead of positional arguments.
17
+ - Exported `DefaultState['SubscriptionController']` changes: `lastSelectedPaymentMethod` is `Partial`, `PricingPaymentMethod` and `TokenPaymentInfo` are discriminated unions, and `TokenPaymentInfo.conversionRate` is optional. Narrow with `type === 'crypto'` / `isVaultShare === true` before reading crypto- or vault-only fields.
18
+ - Bump `@metamask/transaction-controller` from `^69.5.1` to `^69.5.2` ([#9823](https://github.com/MetaMask/core/pull/9823))
19
+
10
20
  ## [10.0.0]
11
21
 
12
22
  ### Added
@@ -168,7 +178,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
168
178
 
169
179
  - Initial release ([#8838](https://github.com/MetaMask/core/pull/8838))
170
180
 
171
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/wallet@10.0.0...HEAD
181
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/wallet@11.0.0...HEAD
182
+ [11.0.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@10.0.0...@metamask/wallet@11.0.0
172
183
  [10.0.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@9.0.0...@metamask/wallet@10.0.0
173
184
  [9.0.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@8.1.0...@metamask/wallet@9.0.0
174
185
  [8.1.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@8.0.0...@metamask/wallet@8.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/wallet",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
4
4
  "description": "Provides a shared framework for building MetaMask wallets",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -73,8 +73,8 @@
73
73
  "@metamask/seedless-onboarding-controller": "^10.1.1",
74
74
  "@metamask/shield-controller": "^6.0.0",
75
75
  "@metamask/storage-service": "^1.0.2",
76
- "@metamask/subscription-controller": "^7.0.0",
77
- "@metamask/transaction-controller": "^69.5.1",
76
+ "@metamask/subscription-controller": "^8.0.0",
77
+ "@metamask/transaction-controller": "^69.5.2",
78
78
  "@metamask/utils": "^11.11.0"
79
79
  },
80
80
  "devDependencies": {