Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "1183.0.0",
"version": "1184.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down
5 changes: 4 additions & 1 deletion packages/claims-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.6.0]

### Added

- Export `ClaimsControllerOptions` and `ClaimsServiceConfig` types ([#9588](https://github.com/MetaMask/core/pull/9588))
Expand Down Expand Up @@ -160,7 +162,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `generateMessageForClaimSignature`: generate message to sign for the claim signature.
- `verifyClaimSignature`: verify claim signature produced by user.

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.5.4...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.6.0...HEAD
[0.6.0]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.5.4...@metamask/claims-controller@0.6.0
[0.5.4]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.5.3...@metamask/claims-controller@0.5.4
[0.5.3]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.5.2...@metamask/claims-controller@0.5.3
[0.5.2]: https://github.com/MetaMask/core/compare/@metamask/claims-controller@0.5.1...@metamask/claims-controller@0.5.2
Expand Down
2 changes: 1 addition & 1 deletion packages/claims-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/claims-controller",
"version": "0.5.4",
"version": "0.6.0",
"description": "Controller handling shield subscription claims logic",
"keywords": [
"Ethereum",
Expand Down
9 changes: 6 additions & 3 deletions packages/shield-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [6.0.0]

### Added

- Add `ShieldApiService`, a `BaseDataService` that communicates with the Shield API and authenticates via `AuthenticationController:getBearerToken` on its own messenger ([#9616](https://github.com/MetaMask/core/pull/9616))
Expand Down Expand Up @@ -159,13 +161,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added metrics in the Shield coverage response to track the latency ( [#7133](https://github.com/MetaMask/core/pull/7133))
- Added metrics in the Shield coverage response to track the latency ([#7133](https://github.com/MetaMask/core/pull/7133))

## [2.0.0]

### Changed

- **BREAKING:** Bump `@metamask/signature-controller` from `^35.0.0` to `^36.0.0` ( [#4651](https://github.com/MetaMask/core/pull/4651))
- **BREAKING:** Bump `@metamask/signature-controller` from `^35.0.0` to `^36.0.0` ([#4651](https://github.com/MetaMask/core/pull/4651))

## [1.2.0]

Expand Down Expand Up @@ -276,7 +278,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release of the shield-controller package ([#6137](https://github.com/MetaMask/core/pull/6137)

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@5.1.3...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@6.0.0...HEAD
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@5.1.3...@metamask/shield-controller@6.0.0
[5.1.3]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@5.1.2...@metamask/shield-controller@5.1.3
[5.1.2]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@5.1.1...@metamask/shield-controller@5.1.2
[5.1.1]: https://github.com/MetaMask/core/compare/@metamask/shield-controller@5.1.0...@metamask/shield-controller@5.1.1
Expand Down
2 changes: 1 addition & 1 deletion packages/shield-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/shield-controller",
"version": "5.1.3",
"version": "6.0.0",
"description": "Controller handling shield transaction coverage logic",
"keywords": [
"Ethereum",
Expand Down
5 changes: 4 additions & 1 deletion packages/subscription-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.0.0]

### Changed

- **BREAKING:** Refactor subscription API access behind a messenger-backed `SubscriptionService` ([#9598](https://github.com/MetaMask/core/pull/9598))
Expand Down Expand Up @@ -400,7 +402,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
- Bump `@metamask/utils` from `^11.4.2` to `^11.8.0` ([#6588](https://github.com/MetaMask/core/pull/6588))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@6.2.2...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@7.0.0...HEAD
[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@6.2.2...@metamask/subscription-controller@7.0.0
[6.2.2]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@6.2.1...@metamask/subscription-controller@6.2.2
[6.2.1]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@6.2.0...@metamask/subscription-controller@6.2.1
[6.2.0]: https://github.com/MetaMask/core/compare/@metamask/subscription-controller@6.1.3...@metamask/subscription-controller@6.2.0
Expand Down
2 changes: 1 addition & 1 deletion packages/subscription-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/subscription-controller",
"version": "6.2.2",
"version": "7.0.0",
"description": "Handle user subscription",
"keywords": [
"Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `--password` / `MM_WALLET_PASSWORD` is now optional on `mm daemon start`; on subsequent runs, omitting it starts the daemon with a locked keyring, and the persisted vault is auto-unlocked when a password is supplied ([#8821](https://github.com/MetaMask/core/pull/8821))
- The daemon RPC server now validates `params` against each handler's superstruct before dispatch, returning a `-32602 invalidParams` error on mismatch instead of passing raw params to the handler ([#8846](https://github.com/MetaMask/core/pull/8846))
- Report daemon socket connection errors consistently across `mm daemon call` and `mm daemon list` ([#9339](https://github.com/MetaMask/core/pull/9339))
- Bump `@metamask/wallet` from `^3.0.0` to `^9.0.0` ([#9218](https://github.com/MetaMask/core/pull/9218), [#9263](https://github.com/MetaMask/core/pull/9263), [#9349](https://github.com/MetaMask/core/pull/9349), [#9396](https://github.com/MetaMask/core/pull/9396), [#9470](https://github.com/MetaMask/core/pull/9470), [#9609](https://github.com/MetaMask/core/pull/9609), [#9629](https://github.com/MetaMask/core/pull/9629), [#9735](https://github.com/MetaMask/core/pull/9735))
- Bump `@metamask/wallet` from `^3.0.0` to `^9.1.0` ([#9218](https://github.com/MetaMask/core/pull/9218), [#9263](https://github.com/MetaMask/core/pull/9263), [#9349](https://github.com/MetaMask/core/pull/9349), [#9396](https://github.com/MetaMask/core/pull/9396), [#9470](https://github.com/MetaMask/core/pull/9470), [#9609](https://github.com/MetaMask/core/pull/9609), [#9629](https://github.com/MetaMask/core/pull/9629), [#9735](https://github.com/MetaMask/core/pull/9735), [#9809](https://github.com/MetaMask/core/pull/9809))
- Wrap daemon password and SRP in opaque `Password` and `Srp` types that redact on logging; validated and unwrapped only at trust boundaries ([#8863](https://github.com/MetaMask/core/pull/8863))
- Bump `@metamask/analytics-controller` from `^1.2.1` to `^2.0.0` ([#9735](https://github.com/MetaMask/core/pull/9735))
- Bump `@metamask/remote-feature-flag-controller` from `^4.2.2` to `^5.0.0` ([#9735](https://github.com/MetaMask/core/pull/9735))
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@metamask/storage-service": "^1.0.2",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.11.0",
"@metamask/wallet": "^9.0.0",
"@metamask/wallet": "^9.1.0",
"@oclif/core": "^4.10.5",
"better-sqlite3": "^12.9.0",
"immer": "^9.0.6"
Expand Down
14 changes: 10 additions & 4 deletions packages/wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [9.1.0]

### Added

- Add optional `instanceOptions.remoteFeatureFlagController.defaultFeatureFlags` to pass client-side default feature flags through to `RemoteFeatureFlagController` ([#9747](https://github.com/MetaMask/core/pull/9747))
- **BREAKING:** Wire `ClaimsService` and `ClaimsController` into the default wallet initialization ([#9588](https://github.com/MetaMask/core/pull/9588))
- Wire `ClaimsService` and `ClaimsController` into the default wallet initialization ([#9588](https://github.com/MetaMask/core/pull/9588))
- Adds an optional `claimsService` slot to `instanceOptions` for optional `env` (defaults to production), `captureException`, `queryClientConfig`, and `policyOptions`. `fetchFunction` defaults to `globalThis.fetch` via `ClaimsService`.
- `ClaimsService` delegates `AuthenticationController:getBearerToken` and `AuthenticationController:getSessionProfile`; hosts must register `AuthenticationController` on the supplied root messenger before authenticated Claims API calls succeed.
- **BREAKING:** Wire `ShieldController` and `ShieldApiService` into the default wallet initialization ([#9616](https://github.com/MetaMask/core/pull/9616))
- Wire `ShieldController` and `ShieldApiService` into the default wallet initialization ([#9616](https://github.com/MetaMask/core/pull/9616))
- Adds an optional `shieldApiService` slot to `instanceOptions` for optional `env` (defaults to production), polling, and policy configuration. `fetchFunction` defaults to `globalThis.fetch` via `ShieldApiService`.
- `shieldController` instance options are now controller-only (`transactionHistoryLimit`, `coverageHistoryLimit`, `normalizeSignatureRequest`).
- `ShieldApiService` delegates `AuthenticationController:getBearerToken`; `ShieldController` delegates `ShieldApiService:*` actions plus `TransactionController:stateChange` and `SignatureController:stateChange`.
- Hosts must register `AuthenticationController` and `SignatureController` on the wallet root messenger and explicitly call `ShieldController:start` after wiring.
- **BREAKING:** Wire `SubscriptionController` and `SubscriptionService` into the default wallet initialization ([#9598](https://github.com/MetaMask/core/pull/9598))
- Wire `SubscriptionController` and `SubscriptionService` into the default wallet initialization ([#9598](https://github.com/MetaMask/core/pull/9598))
- Adds an optional `subscriptionService` slot to `instanceOptions` for optional `env` (defaults to production), `captureException`, `queryClientConfig`, and `policyOptions`. `fetchFunction` defaults to `globalThis.fetch` via `SubscriptionService`.
- Adds an optional `subscriptionController` slot to `instanceOptions` for an optional `pollingInterval`.
- `SubscriptionService` delegates `AuthenticationController:getBearerToken` and `AuthenticationController:getSessionProfile` from the wallet root messenger; hosts must register `AuthenticationController` on the root messenger for authenticated subscription API calls.

### Changed

- Bump `@metamask/claims-controller` from `^0.5.4` to `^0.6.0` ([#9809](https://github.com/MetaMask/core/pull/9809))
- Bump `@metamask/shield-controller` from `^5.1.3` to `^6.0.0` ([#9809](https://github.com/MetaMask/core/pull/9809))
- Bump `@metamask/subscription-controller` from `^6.2.2` to `^7.0.0` ([#9809](https://github.com/MetaMask/core/pull/9809))
- Bump `@metamask/transaction-controller` from `^69.4.0` to `^69.5.1` ([#9780](https://github.com/MetaMask/core/pull/9780), [#9798](https://github.com/MetaMask/core/pull/9798))
- Bump `@metamask/network-controller` from `^35.0.0` to `^35.0.1` ([#9758](https://github.com/MetaMask/core/pull/9758))
- Bump `@metamask/seedless-onboarding-controller` from `^10.1.0` to `^10.1.1` ([#9779](https://github.com/MetaMask/core/pull/9779))
Expand Down Expand Up @@ -161,7 +166,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release ([#8838](https://github.com/MetaMask/core/pull/8838))

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/wallet@9.0.0...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/wallet@9.1.0...HEAD
[9.1.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@9.0.0...@metamask/wallet@9.1.0
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@8.1.0...@metamask/wallet@9.0.0
[8.1.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@8.0.0...@metamask/wallet@8.1.0
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/wallet@7.0.1...@metamask/wallet@8.0.0
Expand Down
8 changes: 4 additions & 4 deletions packages/wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/wallet",
"version": "9.0.0",
"version": "9.1.0",
"description": "Provides a shared framework for building MetaMask wallets",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -60,7 +60,7 @@
"@metamask/approval-controller": "^9.0.2",
"@metamask/base-controller": "^9.1.0",
"@metamask/browser-passworder": "^6.0.0",
"@metamask/claims-controller": "^0.5.4",
"@metamask/claims-controller": "^0.6.0",
"@metamask/connectivity-controller": "^0.3.0",
"@metamask/controller-utils": "^12.3.0",
"@metamask/gas-fee-controller": "^26.3.1",
Expand All @@ -71,9 +71,9 @@
"@metamask/remote-feature-flag-controller": "^5.0.0",
"@metamask/scure-bip39": "^2.1.1",
"@metamask/seedless-onboarding-controller": "^10.1.1",
"@metamask/shield-controller": "^5.1.3",
"@metamask/shield-controller": "^6.0.0",
"@metamask/storage-service": "^1.0.2",
"@metamask/subscription-controller": "^6.2.2",
"@metamask/subscription-controller": "^7.0.0",
"@metamask/transaction-controller": "^69.5.1",
"@metamask/utils": "^11.11.0"
},
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6410,7 +6410,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/claims-controller@npm:^0.5.4, @metamask/claims-controller@workspace:packages/claims-controller":
"@metamask/claims-controller@npm:^0.6.0, @metamask/claims-controller@workspace:packages/claims-controller":
version: 0.0.0-use.local
resolution: "@metamask/claims-controller@workspace:packages/claims-controller"
dependencies:
Expand Down Expand Up @@ -8902,7 +8902,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/shield-controller@npm:^5.1.3, @metamask/shield-controller@workspace:packages/shield-controller":
"@metamask/shield-controller@npm:^6.0.0, @metamask/shield-controller@workspace:packages/shield-controller":
version: 0.0.0-use.local
resolution: "@metamask/shield-controller@workspace:packages/shield-controller"
dependencies:
Expand Down Expand Up @@ -9250,7 +9250,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/subscription-controller@npm:^6.2.2, @metamask/subscription-controller@workspace:packages/subscription-controller":
"@metamask/subscription-controller@npm:^7.0.0, @metamask/subscription-controller@workspace:packages/subscription-controller":
version: 0.0.0-use.local
resolution: "@metamask/subscription-controller@workspace:packages/subscription-controller"
dependencies:
Expand Down Expand Up @@ -9496,7 +9496,7 @@ __metadata:
"@metamask/storage-service": "npm:^1.0.2"
"@metamask/superstruct": "npm:^3.4.1"
"@metamask/utils": "npm:^11.11.0"
"@metamask/wallet": "npm:^9.0.0"
"@metamask/wallet": "npm:^9.1.0"
"@oclif/core": "npm:^4.10.5"
"@ts-bridge/cli": "npm:^0.6.4"
"@types/better-sqlite3": "npm:^7.6.13"
Expand Down Expand Up @@ -9548,7 +9548,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/wallet@npm:^9.0.0, @metamask/wallet@workspace:packages/wallet":
"@metamask/wallet@npm:^9.1.0, @metamask/wallet@workspace:packages/wallet":
version: 0.0.0-use.local
resolution: "@metamask/wallet@workspace:packages/wallet"
dependencies:
Expand All @@ -9558,7 +9558,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^6.1.0"
"@metamask/base-controller": "npm:^9.1.0"
"@metamask/browser-passworder": "npm:^6.0.0"
"@metamask/claims-controller": "npm:^0.5.4"
"@metamask/claims-controller": "npm:^0.6.0"
"@metamask/connectivity-controller": "npm:^0.3.0"
"@metamask/controller-utils": "npm:^12.3.0"
"@metamask/gas-fee-controller": "npm:^26.3.1"
Expand All @@ -9569,9 +9569,9 @@ __metadata:
"@metamask/remote-feature-flag-controller": "npm:^5.0.0"
"@metamask/scure-bip39": "npm:^2.1.1"
"@metamask/seedless-onboarding-controller": "npm:^10.1.1"
"@metamask/shield-controller": "npm:^5.1.3"
"@metamask/shield-controller": "npm:^6.0.0"
"@metamask/storage-service": "npm:^1.0.2"
"@metamask/subscription-controller": "npm:^6.2.2"
"@metamask/subscription-controller": "npm:^7.0.0"
"@metamask/transaction-controller": "npm:^69.5.1"
"@metamask/utils": "npm:^11.11.0"
"@ts-bridge/cli": "npm:^0.6.4"
Expand Down