Releases: FuzzysTodd/core
Releases · FuzzysTodd/core
982.0.0
@metamask/authenticated-user-storage 2.0.0
Changed
- Bump
@metamask/controller-utilsfrom^12.0.0to^12.1.0(#8774) - Bump
@metamask/base-data-servicefrom^0.1.2to^0.1.3(#8799) - BREAKING: Replace
enabledbyinAppNotificationsEnabledandpushNotificationsEnabledin all theNotificationPreferencestype fields and validation to match the API payload. (#8784)
@metamask/money-account-upgrade-controller 2.0.2
Changed
- Bump
@metamask/authenticated-user-storagefrom^1.0.1to^2.0.0(#8802)
@metamask/notification-services-controller 24.0.0
Added
- Add
productAnnouncementEnabledtoNotificationServicesControllerEnableNotificationsOptions. (#8784)
Changed
- BREAKING: Enrich notification settings using Authenticated User Storage. (#8784)
- Replace Trigger API notification settings with AUS notification preferences as the source of truth.
NotificationServicesControllernow requires AUS messenger actions for notification setup.- When AUS has no stored preferences,
createOnChainTriggerswrites a complete preferences blob forwalletActivity,marketing,perps, andsocialAI. - Wallet activity accounts are seeded from the current Trigger API config when at least one current account is already enabled; otherwise all current accounts are initialized as enabled for first-time notification setup.
- Marketing push notifications are initialized from
hasMarketingConsent, while marketing in-app notifications are initialized fromproductAnnouncementEnabled.
- Bump
@metamask/controller-utilsfrom^12.0.0to^12.1.0(#8774) - Bump
@metamask/profile-sync-controllerfrom^28.0.2to^28.1.0(#8783) - Bump
@metamask/authenticated-user-storagefrom^1.0.1to^2.0.0(#8802)
Removed
- BREAKING: Remove unused
resetNotificationsoption fromNotificationServicesControllerEnableNotificationsOptions. (#8784)
875.0.0
@metamask/ramps-controller 12.0.1
Added
- Expose all public
RampsControllermethods through its messenger (#8221)- The following actions are now available:
RampsController:executeRequestRampsController:abortRequestRampsController:getRequestStateRampsController:setUserRegionRampsController:setSelectedProviderRampsController:initRampsController:getCountriesRampsController:getTokensRampsController:getProvidersRampsController:getPaymentMethodsRampsController:setSelectedPaymentMethodRampsController:addOrderRampsController:removeOrderRampsController:startOrderPollingRampsController:stopOrderPollingRampsController:getBuyWidgetDataRampsController:addPrecreatedOrderRampsController:getOrderFromCallbackRampsController:transakSetApiKeyRampsController:transakSetAccessTokenRampsController:transakClearAccessTokenRampsController:transakSetAuthenticatedRampsController:transakResetStateRampsController:transakSendUserOtpRampsController:transakVerifyUserOtpRampsController:transakLogoutRampsController:transakGetUserDetailsRampsController:transakGetBuyQuoteRampsController:transakGetKycRequirementRampsController:transakGetAdditionalRequirementsRampsController:transakCreateOrderRampsController:transakGetOrderRampsController:transakGetUserLimitsRampsController:transakRequestOttRampsController:transakGeneratePaymentWidgetUrlRampsController:transakSubmitPurposeOfUsageFormRampsController:transakPatchUserRampsController:transakSubmitSsnDetailsRampsController:transakConfirmPaymentRampsController:transakGetTranslationRampsController:transakGetIdProofStatusRampsController:transakCancelOrderRampsController:transakCancelAllActiveOrdersRampsController:transakGetActiveOrders
- Corresponding action types are now exported (e.g.
RampsControllerGetOrderAction)
- The following actions are now available:
Fixed
- Fix
getOrderwallet handling so API requests and event payloads stay valid and consistent (#8251)RampsService.getOrderno longer sends an emptywalletquery parameter, avoiding invalid API responses (e.g. 400).RampsController.getOrderpersists and returns a healed order (walletAddressandproviderOrderId) so controller state matches the return value andRampsController:orderStatusChangedlisteners.