Description
XBullAdapter connects to the XBull browser extension without verifying the extension version. Older extension versions do not support the current API surface, causing cryptic runtime errors.
Acceptance Criteria
Context
- Target file:
src/wallets/adapters/XBullAdapter.ts
- Set
MIN_XBULL_VERSION to the first version that supports the current API
Description
XBullAdapterconnects to the XBull browser extension without verifying the extension version. Older extension versions do not support the current API surface, causing cryptic runtime errors.Acceptance Criteria
window.xBullSDK.versionor equivalentMIN_XBULL_VERSION(export this constant) reject with anExtensionVersionErrorlisting the required versionContext
src/wallets/adapters/XBullAdapter.tsMIN_XBULL_VERSIONto the first version that supports the current API