Releases
v372.0.0
@metamask/phishing-controller 12.5.0
Added
Add URL scan cache functionality to improve performance (#5625 )
Added UrlScanCache
class for caching phishing detection scan results
Added methods to PhishingController
: setUrlScanCacheTTL
, setUrlScanCacheMaxSize
, clearUrlScanCache
Added URL scan cache state to PhishingControllerState
Added configuration options: urlScanCacheTTL
and urlScanCacheMaxSize
Add bulkScanUrls
method to PhishingController
for scanning multiple URLs for phishing in bulk (#5682 )
Add BulkPhishingDetectionScanResponse
type for bulk URL scan results (#5682 )
Add PHISHING_DETECTION_BULK_SCAN_ENDPOINT
constant (#5682 )
Changed
Enhance bulkScanUrls
method to leverage URL scan cache for improved performance (#5688 )
URLs are now checked against the cache before making API requests
Only uncached URLs are sent to the phishing detection API
API results are automatically stored in the cache for future use
Bump @metamask/controller-utils
to ^11.7.0
(#5583 )
You can’t perform that action at this time.