Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 4.15 KB

File metadata and controls

77 lines (50 loc) · 4.15 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Add ComplianceService support for an explicit Compliance API URL (#8820).
  • Add selectAreAnyWalletsBlocked (#8820).

Changed

  • Bump @metamask/controller-utils from ^12.0.0 to ^12.1.0 (#8774)

Fixed

  • Match EVM address casing consistently when reading cached wallet compliance statuses (#8820).

Changed

  • Bump @metamask/messenger from ^1.1.0 to ^1.2.0 (#8373, #8632)
  • Bump @metamask/base-controller from ^9.0.1 to ^9.1.0 (#8457)
  • Bump @metamask/controller-utils from ^11.20.0 to ^12.0.0 (#8755)

Changed

  • BREAKING: Remove proactive bulk-fetch pattern from ComplianceController and ComplianceService (#8365)
    • ComplianceControllerState no longer includes blockedWallets or blockedWalletsLastFetched. Consumers storing persisted state must drop these fields on migration.
    • The init() and updateBlockedWallets() controller methods have been removed. Consumers should remove any calls to these methods.
    • The blockedWalletsRefreshInterval constructor option has been removed.
    • The updateBlockedWallets() service method and its GET /v1/blocked-wallets endpoint integration have been removed.
    • ComplianceControllerInitAction, ComplianceControllerUpdateBlockedWalletsAction, and ComplianceServiceUpdateBlockedWalletsAction types have been removed from the public API.
    • The BlockedWalletsInfo type has been removed from the public API.
    • checkWalletCompliance and checkWalletsCompliance now fall back to the per-address walletComplianceStatusMap cache when the API is unavailable, re-throwing only if no cached result exists for a requested address.
    • selectIsWalletBlocked now reads solely from walletComplianceStatusMap rather than also checking a cached full blocklist.
  • Bump @metamask/controller-utils from ^11.19.0 to ^11.20.0 (#8344)
  • Bump @metamask/messenger from ^1.0.0 to ^1.1.0 (#8364)

Changed

  • Bump @metamask/base-controller from ^9.0.0 to ^9.0.1 (#8317)
  • Bump @metamask/messenger from ^0.3.0 to ^1.0.0 (#8317)

Fixed

  • Fix package to include files, which were accidentally omitted in 1.0.0 (#8016)

1.0.0 [DEPRECATED]

Added

  • Initial release (#7945)
    • Add ComplianceController for managing OFAC compliance state for wallet addresses.
    • Add ComplianceService for fetching compliance data from the Compliance API.

Changed

  • Bump @metamask/controller-utils from ^11.18.0 to ^11.19.0 (#7995)