@metamask-previews/notification-services-controller 23.1.1-preview-e5cef32c6 → 24.0.0-preview-6d2aeda

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 +8 -9
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [24.0.0]
11
+
10
12
  ### Added
11
13
 
12
14
  - Add `productAnnouncementEnabled` to `NotificationServicesControllerEnableNotificationsOptions`. ([#8784](https://github.com/MetaMask/core/pull/8784))
@@ -21,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
23
  - Marketing push notifications are initialized from `hasMarketingConsent`, while marketing in-app notifications are initialized from `productAnnouncementEnabled`.
22
24
  - Bump `@metamask/controller-utils` from `^12.0.0` to `^12.1.0` ([#8774](https://github.com/MetaMask/core/pull/8774))
23
25
  - Bump `@metamask/profile-sync-controller` from `^28.0.2` to `^28.1.0` ([#8783](https://github.com/MetaMask/core/pull/8783))
26
+ - Bump `@metamask/authenticated-user-storage` from `^1.0.1` to `^2.0.0` ([#8802](https://github.com/MetaMask/core/pull/8802))
24
27
 
25
28
  ### Removed
26
29
 
@@ -501,8 +504,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
501
504
 
502
505
  ### Changed
503
506
 
504
- - **BREAKING:** Bump `@metamask/keyring-controller` peer dependency from `^18.0.0` to `^19.0.0` ([#4195](https://github.com/MetaMask/core/pull/4956))
505
- - **BREAKING:** Bump `@metamask/profile-sync-controller` peer dependency from `^1.0.0` to `^2.0.0` ([#4195](https://github.com/MetaMask/core/pull/4956))
507
+ - **BREAKING:** Bump `@metamask/keyring-controller` peer dependency from `^18.0.0` to `^19.0.0` ([#4195](https://github.com/MetaMask/core/pull/4195))
508
+ - **BREAKING:** Bump `@metamask/profile-sync-controller` peer dependency from `^1.0.0` to `^2.0.0` ([#4195](https://github.com/MetaMask/core/pull/4195))
506
509
 
507
510
  ## [0.13.0]
508
511
 
@@ -544,7 +547,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
544
547
  - update the types described in `types/on-chain-notification/schema` and `types/on-chain-notification/on-chain-notification` ([#4818](https://github.com/MetaMask/core/pull/4818))
545
548
  - adds new notifications: aave_v3_health_factor; ens_expiration; lido_staking_rewards; notional_loan_expiration; rocketpool_staking_rewards; spark_fi_health_factor
546
549
  - splits Wallet Notifications from Web 3 Notifications
547
-
548
550
  - updated and added new notification mocks ([#4818](https://github.com/MetaMask/core/pull/4818))
549
551
  - can be accessed through `@metamask/notification-services-controller/notification-services/mocks`
550
552
 
@@ -623,7 +625,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
623
625
  ["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
624
626
  ["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
625
627
  All of the ATTW checks now pass.
626
- - Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
628
+ - Remove chunk files. ([#4648](https://github.com/MetaMask/core/pull/4648))
627
629
  - Previously, the build tool we used to generate JavaScript files extracted
628
630
  common code to "chunk" files. While this was intended to make this package
629
631
  more tree-shakeable, it also made debugging more difficult for our
@@ -716,7 +718,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
716
718
  ### Added
717
719
 
718
720
  - added catch statements in NotificationServicesController to silently fail push notifications ([#4536](https://github.com/MetaMask/core/pull/4536))
719
-
720
721
  - added checks to see feature announcement environments before fetching announcements ([#4530](https://github.com/MetaMask/core/pull/4530))
721
722
 
722
723
  ### Removed
@@ -728,11 +729,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
728
729
  ### Added
729
730
 
730
731
  - export `defaultState` for `NotificationServicesController` and `NotificationServicesPushController`. ([#4441](https://github.com/MetaMask/core/pull/4441))
731
-
732
732
  - export `NOTIFICATION_CHAINS_ID` which is a const-asserted version of `NOTIFICATION_CHAINS` ([#4441](https://github.com/MetaMask/core/pull/4441))
733
-
734
733
  - 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))
735
-
736
734
  - add `isPushIntegrated` as an optional env property in the `NotificationServicesController` constructor (defaults to true) ([#4441](https://github.com/MetaMask/core/pull/4441))
737
735
 
738
736
  ### Fixed
@@ -745,7 +743,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
745
743
 
746
744
  - Initial release
747
745
 
748
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@23.1.1...HEAD
746
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@24.0.0...HEAD
747
+ [24.0.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@23.1.1...@metamask/notification-services-controller@24.0.0
749
748
  [23.1.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@23.1.0...@metamask/notification-services-controller@23.1.1
750
749
  [23.1.0]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@23.0.1...@metamask/notification-services-controller@23.1.0
751
750
  [23.0.1]: https://github.com/MetaMask/core/compare/@metamask/notification-services-controller@23.0.0...@metamask/notification-services-controller@23.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/notification-services-controller",
3
- "version": "23.1.1-preview-e5cef32c6",
3
+ "version": "24.0.0-preview-6d2aeda",
4
4
  "description": "Manages New MetaMask decentralized Notification system",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "dependencies": {
108
108
  "@contentful/rich-text-html-renderer": "^16.5.2",
109
- "@metamask/authenticated-user-storage": "^1.0.1",
109
+ "@metamask/authenticated-user-storage": "^2.0.0",
110
110
  "@metamask/base-controller": "^9.1.0",
111
111
  "@metamask/controller-utils": "^12.1.0",
112
112
  "@metamask/keyring-controller": "^25.5.0",