Skip to content

Commit

Permalink
Release/168.0.0 (#4469)
Browse files Browse the repository at this point in the history
## Explanation

This PR create a new release for

- `@metamask/profile-sync-controller` to `^0.2.0`
- `@metamask/notification-services-controller` to `^0.2.0`

## References

Fixes mobile integration issues.

## Changelog

###  `@metamask/profile-sync-controller`

- **CHANGED**: Tidied up and small refactors to support mobile
integration ([#4441](#4441))

### `@metamask/notification-services-controller`

- **CHANGED**: Tidied up and small refactors to support mobile
integration ([#4441](#4441))

## 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

---------

Co-authored-by: Jongsun Suh <[email protected]>
  • Loading branch information
Prithpal-Sooriya and MajorLift authored Jun 27, 2024
1 parent 036edd3 commit 879280b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 9 deletions.
19 changes: 18 additions & 1 deletion packages/notification-services-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.1]

### Added

- export `defaultState` for `NotificationServicesController` and `NotificationServicesPushController`. ([#4441](https://github.com/MetaMask/core/pull/4441))

- export `NOTIFICATION_CHAINS_ID` which is a const-asserted version of `NOTIFICATION_CHAINS` ([#4441](https://github.com/MetaMask/core/pull/4441))

- export `NOTIFICATION_NETWORK_CURRENCY_NAME` and `NOTIFICATION_NETWORK_CURRENCY_SYMBOL`. Allows consistent currency names and symbols for supported notification services ([#4441](https://github.com/MetaMask/core/pull/4441))

- add `isPushIntegrated` as an optional env property in the `NotificationServicesController` constructor (defaults to true) ([#4441](https://github.com/MetaMask/core/pull/4441))

### Fixed

- `NotificationServicesPushController` - removed global `self` calls for mobile compatibility ([#4441](https://github.com/MetaMask/core/pull/4441))

## [0.1.0]

### Added

- Initial release

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[0.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]
6 changes: 3 additions & 3 deletions packages/notification-services-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/notification-services-controller",
"version": "0.1.0",
"version": "0.1.1",
"description": "Manages New MetaMask decentralized Notification system",
"keywords": [
"MetaMask",
Expand Down Expand Up @@ -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.0",
"@metamask/profile-sync-controller": "^0.1.1",
"bignumber.js": "^4.1.0",
"contentful": "^10.3.6",
"firebase": "^10.11.0",
Expand All @@ -68,7 +68,7 @@
},
"peerDependencies": {
"@metamask/keyring-controller": "^17.0.0",
"@metamask/profile-sync-controller": "^0.1.0"
"@metamask/profile-sync-controller": "^0.1.1"
},
"engines": {
"node": "^18.18 || >=20"
Expand Down
13 changes: 12 additions & 1 deletion packages/profile-sync-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.1]

### Added

- export `defaultState` for `AuthenticationController` and `UserStorageController`. ([#4441](https://github.com/MetaMask/core/pull/4441))

### Changed

- `AuthType`, `Env`, `Platform` are changed from const enums to enums ([#4441](https://github.com/MetaMask/core/pull/4441))

## [0.1.0]

### Added

- Initial release

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[0.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[0.1.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]
2 changes: 1 addition & 1 deletion packages/profile-sync-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/profile-sync-controller",
"version": "0.1.0",
"version": "0.1.1",
"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",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3255,7 +3255,7 @@ __metadata:
"@metamask/base-controller": ^6.0.0
"@metamask/controller-utils": ^11.0.0
"@metamask/keyring-controller": ^17.1.0
"@metamask/profile-sync-controller": ^0.1.0
"@metamask/profile-sync-controller": ^0.1.1
"@types/jest": ^27.4.1
"@types/readable-stream": ^2.3.0
bignumber.js: ^4.1.0
Expand All @@ -3273,7 +3273,7 @@ __metadata:
uuid: ^8.3.2
peerDependencies:
"@metamask/keyring-controller": ^17.0.0
"@metamask/profile-sync-controller": ^0.1.0
"@metamask/profile-sync-controller": ^0.1.1
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -3466,7 +3466,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/profile-sync-controller@^0.1.0, @metamask/profile-sync-controller@workspace:packages/profile-sync-controller":
"@metamask/profile-sync-controller@^0.1.1, @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:
Expand Down

0 comments on commit 879280b

Please sign in to comment.