From a3a060c95317cae1a2be5e6571d4d55cfa023a5a Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Mon, 1 Jul 2024 15:26:51 +0100 Subject: [PATCH] Release/169.0.0 (#4492) ## Explanation Updates `@metamask/profile-sync-controller` to better handle platform and metametricsId ## References ## Changelog ### `@metamask/profile-sync-controller` - **ADDED**: platform field when logging in to receive correct OIDC access token ([#4480](https://github.com/MetaMask/core/pull/4480)) - **ADDED**: metametrics validation in constructor ([#4480](https://github.com/MetaMask/core/pull/4480)) - **CHANGED**: updated the `getMetaMetricsId` interface to support async calls to metametrics ID ([#4477](https://github.com/MetaMask/core/pull/4477)) ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate --- package.json | 2 +- .../notification-services-controller/package.json | 4 ++-- packages/profile-sync-controller/CHANGELOG.md | 14 +++++++++++++- packages/profile-sync-controller/package.json | 2 +- yarn.lock | 6 +++--- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 3de3343416..4b16b75512 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "168.0.0", + "version": "169.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index cc6bc2975c..114d312027 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -45,7 +45,7 @@ "@metamask/base-controller": "^6.0.0", "@metamask/controller-utils": "^11.0.0", "@metamask/keyring-controller": "^17.1.0", - "@metamask/profile-sync-controller": "^0.1.1", + "@metamask/profile-sync-controller": "^0.1.2", "bignumber.js": "^4.1.0", "contentful": "^10.3.6", "firebase": "^10.11.0", @@ -68,7 +68,7 @@ }, "peerDependencies": { "@metamask/keyring-controller": "^17.0.0", - "@metamask/profile-sync-controller": "^0.1.1" + "@metamask/profile-sync-controller": "^0.1.2" }, "engines": { "node": "^18.18 || >=20" diff --git a/packages/profile-sync-controller/CHANGELOG.md b/packages/profile-sync-controller/CHANGELOG.md index d3050a8925..c163d0ba84 100644 --- a/packages/profile-sync-controller/CHANGELOG.md +++ b/packages/profile-sync-controller/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.2] + +### Added + +- added platform field when logging in to receive correct OIDC access token ([#4480](https://github.com/MetaMask/core/pull/4480)) +- added metametrics validation in constructor ([#4480](https://github.com/MetaMask/core/pull/4480)) + +### Changed + +- updated the `getMetaMetricsId` interface to support async calls to metametrics ID ([#4477](https://github.com/MetaMask/core/pull/4477)) + ## [0.1.1] ### Added @@ -23,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.2...HEAD +[0.1.2]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.1...@metamask/profile-sync-controller@0.1.2 [0.1.1]: https://github.com/MetaMask/core/compare/@metamask/profile-sync-controller@0.1.0...@metamask/profile-sync-controller@0.1.1 [0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/profile-sync-controller@0.1.0 diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 64073bc0ed..a37728c69c 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/profile-sync-controller", - "version": "0.1.1", + "version": "0.1.2", "description": "The profile sync helps developers synchronize data across multiple clients and devices in a privacy-preserving way. All data saved in the user storage database is encrypted client-side to preserve privacy. The user storage provides a modular design, giving developers the flexibility to construct and manage their storage spaces in a way that best suits their needs", "keywords": [ "MetaMask", diff --git a/yarn.lock b/yarn.lock index d8bb934dbf..12c57b607c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3255,7 +3255,7 @@ __metadata: "@metamask/base-controller": "npm:^6.0.0" "@metamask/controller-utils": "npm:^11.0.0" "@metamask/keyring-controller": "npm:^17.1.0" - "@metamask/profile-sync-controller": "npm:^0.1.1" + "@metamask/profile-sync-controller": "npm:^0.1.2" "@types/jest": "npm:^27.4.1" "@types/readable-stream": "npm:^2.3.0" bignumber.js: "npm:^4.1.0" @@ -3273,7 +3273,7 @@ __metadata: uuid: "npm:^8.3.2" peerDependencies: "@metamask/keyring-controller": ^17.0.0 - "@metamask/profile-sync-controller": ^0.1.1 + "@metamask/profile-sync-controller": ^0.1.2 languageName: unknown linkType: soft @@ -3466,7 +3466,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/profile-sync-controller@npm:^0.1.1, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": +"@metamask/profile-sync-controller@npm:^0.1.2, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller": version: 0.0.0-use.local resolution: "@metamask/profile-sync-controller@workspace:packages/profile-sync-controller" dependencies: