Skip to content

feat(bitcoin-wallet-snap)!: remove asset handler entry points - #260

Open
ulissesferreira wants to merge 1 commit into
mainfrom
WPN-2012-remove-asset-handlers
Open

feat(bitcoin-wallet-snap)!: remove asset handler entry points#260
ulissesferreira wants to merge 1 commit into
mainfrom
WPN-2012-remove-asset-handlers

Conversation

@ulissesferreira

Copy link
Copy Markdown
Contributor

Closes WPN-2012

Summary

  • Removes the onAssetsLookup, onAssetsConversion, onAssetHistoricalPrice, and onAssetsMarketData entry points from bitcoin-wallet-snap
  • Removes now-unused code connected to them: AssetsHandler, AssetsUseCases, InMemoryCache, ICache, and the conversionsExpirationInterval config
  • Removes the now-unused endowment:assets permission from the manifest

Breaking change

The asset handler entry points are no longer exported by the snap.

@ulissesferreira
ulissesferreira requested a review from a team as a code owner September 2, 2026 17:10
Remove the onAssetsLookup, onAssetsConversion, onAssetHistoricalPrice,
and onAssetsMarketData entry points, along with the now-unused
AssetsHandler, AssetsUseCases, InMemoryCache, ICache, and the
endowment:assets permission.

Closes WPN-2012
@ulissesferreira
ulissesferreira force-pushed the WPN-2012-remove-asset-handlers branch from bd45f3d to 97c3041 Compare September 2, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant