Module for interacting with the MusicBrainz API.
queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.
feat: add synchronous cache access method
fix: resolve persistent API error and add auto-retry on reconnection
Update version to 0.2.4 and adjust base URL logic
Fix cache redundancy and ensure lookupUrl returns a Map
Resolves a stale data bug in the YouTube MusicBrainz Importer that was caused by a redundant, local cache (_urlCache) which was not being invalidated.
_urlCache
Removing this redundant cache revealed a subsequent TypeError, as the importer expected a Map from _mbApi.lookupUrl, but the MusicBrainzAPI.js library returned a plain Object. This commit refactors the MusicBrainzAPI.js library to have its lookupUrl method return a Map to fix this underlying issue.
TypeError
Map
_mbApi.lookupUrl
MusicBrainzAPI.js
Object
lookupUrl
fix:(MusicBrainzAPI.js) batch URL lookup