Description
FreighterAdapter calls the Freighter API directly and propagates raw TypeError: Cannot read properties of undefined errors when the extension is not installed. Users see a cryptic crash instead of an actionable message.
Acceptance Criteria
Context
- Target file:
src/wallets/adapters/FreighterAdapter.ts
- The install URL is
https://www.freighter.app
Description
FreighterAdaptercalls the Freighter API directly and propagates rawTypeError: Cannot read properties of undefinederrors when the extension is not installed. Users see a cryptic crash instead of an actionable message.Acceptance Criteria
window.freighter(or the equivalent global) before any API callFreighterNotInstalledErroris thrown with the Freighter install URL in the messageContext
src/wallets/adapters/FreighterAdapter.tshttps://www.freighter.app