mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
Refactors the bridge feature to comply with the feature architecture standard established in #6936. Changes: - Add public API barrel (index.ts) with lazy-loaded Bridge component - Extract constants (BRIDGE_WIDGET_URL, LOCAL_STORAGE_CONSENT_KEY) to constants.ts - Create barrel files for hooks and components - Remove redundant inner dynamic() import in Bridge component - Update external imports to use public API Benefits: - Proper code splitting at feature boundary - Consistent structure with other features - Simplified lazy loading (single boundary instead of nested) - Improved maintainability Resolves: https://linear.app/safe-global/issue/WA-1259/refactor-bridge-feature-to-new-feature-architecture
Contracts: Bridge Feature Refactor
This directory is empty because the bridge feature refactor does not introduce any API contracts.
The bridge feature is a pure UI refactoring that:
- Reorganizes file structure to match the standard pattern
- Creates barrel files for public API
- Updates import paths
No new APIs, endpoints, or programmatic interfaces are created.