diff --git a/package.json b/package.json index 3d6d8d139e2..a509b5455fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "1037.0.0", + "version": "1038.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/ramps-controller/CHANGELOG.md b/packages/ramps-controller/CHANGELOG.md index 96ea3a5fcb4..f79e3240e6d 100644 --- a/packages/ramps-controller/CHANGELOG.md +++ b/packages/ramps-controller/CHANGELOG.md @@ -7,13 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Added - -- Authenticate `RampsService.getPaymentMethods` and `RampsService.getQuotes` by sourcing a bearer token from `AuthenticationController:getBearerToken` and sending it as an `Authorization: Bearer ` header ([#8888](https://github.com/MetaMask/core/pull/8888)) +## [14.2.0] ### Changed -- No longer send an `Authorization` bearer token header for `RampsService.getPaymentMethods`; payment methods are now fetched as an unauthenticated request so the endpoint can be called before sign-in without triggering a login ([#9060](https://github.com/MetaMask/core/pull/9060)) +- `RampsService.getQuotes` now sends an `Authorization: Bearer ` header, sourcing the token from `AuthenticationController:getBearerToken` (already a required messenger action since `14.0.0`); the call throws if no token is available (e.g. the wallet is locked or the user is signed out) ([#8888](https://github.com/MetaMask/core/pull/8888)) - Bump `@metamask/controller-utils` from `^12.1.0` to `^12.2.0` ([#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083)) ## [14.1.1] @@ -378,7 +376,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `OnRampService` for interacting with the OnRamp API - Add geolocation detection via IP address lookup -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@14.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@14.2.0...HEAD +[14.2.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@14.1.1...@metamask/ramps-controller@14.2.0 [14.1.1]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@14.1.0...@metamask/ramps-controller@14.1.1 [14.1.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@14.0.0...@metamask/ramps-controller@14.1.0 [14.0.0]: https://github.com/MetaMask/core/compare/@metamask/ramps-controller@13.3.1...@metamask/ramps-controller@14.0.0 diff --git a/packages/ramps-controller/package.json b/packages/ramps-controller/package.json index b50cb8813f5..6e39d75f24f 100644 --- a/packages/ramps-controller/package.json +++ b/packages/ramps-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/ramps-controller", - "version": "14.1.1", + "version": "14.2.0", "description": "A controller for managing cryptocurrency on/off ramps functionality", "keywords": [ "Ethereum", diff --git a/packages/transaction-pay-controller/CHANGELOG.md b/packages/transaction-pay-controller/CHANGELOG.md index 4d1e2c817a9..e5cb7936171 100644 --- a/packages/transaction-pay-controller/CHANGELOG.md +++ b/packages/transaction-pay-controller/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump `@metamask/assets-controller` from `^9.0.0` to `^9.0.1` ([#9083](https://github.com/MetaMask/core/pull/9083)) - Bump `@metamask/controller-utils` from `^12.1.1` to `^12.2.0` ([#9083](https://github.com/MetaMask/core/pull/9083)) - Bump `@metamask/transaction-controller` from `^67.1.0` to `^68.0.0` ([#9089](https://github.com/MetaMask/core/pull/9089)) +- Bump `@metamask/ramps-controller` from `^14.1.1` to `^14.2.0` ([#9105](https://github.com/MetaMask/core/pull/9105)) ### Fixed diff --git a/packages/transaction-pay-controller/package.json b/packages/transaction-pay-controller/package.json index ac251a2b908..bb50c17cf30 100644 --- a/packages/transaction-pay-controller/package.json +++ b/packages/transaction-pay-controller/package.json @@ -68,7 +68,7 @@ "@metamask/messenger": "^1.2.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/network-controller": "^32.0.0", - "@metamask/ramps-controller": "^14.1.1", + "@metamask/ramps-controller": "^14.2.0", "@metamask/remote-feature-flag-controller": "^4.2.2", "@metamask/transaction-controller": "^68.0.0", "@metamask/utils": "^11.11.0", diff --git a/yarn.lock b/yarn.lock index afd95d27557..539426c4e6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8056,7 +8056,7 @@ __metadata: languageName: node linkType: hard -"@metamask/ramps-controller@npm:^14.1.1, @metamask/ramps-controller@workspace:packages/ramps-controller": +"@metamask/ramps-controller@npm:^14.2.0, @metamask/ramps-controller@workspace:packages/ramps-controller": version: 0.0.0-use.local resolution: "@metamask/ramps-controller@workspace:packages/ramps-controller" dependencies: @@ -8666,7 +8666,7 @@ __metadata: "@metamask/messenger": "npm:^1.2.0" "@metamask/metamask-eth-abis": "npm:^3.1.1" "@metamask/network-controller": "npm:^32.0.0" - "@metamask/ramps-controller": "npm:^14.1.1" + "@metamask/ramps-controller": "npm:^14.2.0" "@metamask/remote-feature-flag-controller": "npm:^4.2.2" "@metamask/transaction-controller": "npm:^68.0.0" "@metamask/utils": "npm:^11.11.0"