Skip to content

1278.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 13:57
ff9ae15

@metamask/authenticated-user-storage 4.1.0

Added

  • Add getMarketingConsent and putMarketingConsent methods to AuthenticatedUserStorageService for managing the authenticated user's marketing consent, along with corresponding messenger actions (AuthenticatedUserStorageService:getMarketingConsent, AuthenticatedUserStorageService:putMarketingConsent) and the MarketingConsent type (#10390)
    • getMarketingConsent returns the marketing consent object or null on 404, mirroring getNotificationPreferences.
    • putMarketingConsent writes the full consent object and invalidates the getMarketingConsent cache on success.
  • Add getIdentitySharingConsent and putIdentitySharingConsent methods to AuthenticatedUserStorageService for recording per-audience identity-sharing consent, along with corresponding messenger actions (AuthenticatedUserStorageService:getIdentitySharingConsent, AuthenticatedUserStorageService:putIdentitySharingConsent) and the IdentitySharingConsent / IdentitySharingConsentWrite types (#10396)
    • getIdentitySharingConsent returns the granted-audience map or null on 404.
    • putIdentitySharingConsent writes a single { audience, granted } update (other audiences are unchanged) and invalidates the getIdentitySharingConsent cache on success.

Changed

  • Bump @metamask/utils from ^11.12.0 to ^12.0.0 (#10192)