Skip to content

2.1.0

Latest

Choose a tag to compare

@joalavedra joalavedra released this 26 Jun 16:58
Immutable release. Only release title and notes can be modified.
20a6bab

Cross-chain funding (deposit) support, mirroring @openfort/react's useFunding.

New

  • Funding (cross-chain deposit). OFFunding — a SwiftUI ObservableObject mirroring @openfort/react's useFunding (fund / createSession / track / payLink / reset, publishing session / status / loading / error / isAvailable). Fund an embedded wallet from any chain or a centralized exchange; source routes are evm / solana / cex. The namespace is also available directly on OFSDK.shared (fundingCreateSession, fundingSetPaymentMethod, fundingGetSession, fundingPayLink, fundingChains) for headless use. Funding authenticates with the project publishable key, so it works for guest and authenticated users alike.
  • OFFundingChains — a SwiftUI loader mirroring @openfort/react's useFundingChains, fetching the live funding source-chain catalog.
  • The bundled openfort.js WebView is now inspectable in debug builds (Safari Web Inspector).

Changed

  • Upgraded the vendored openfort.js bundle from 1.3.7 to 1.5.0 — the release that ships the window.openfort.funding namespace.

Full Changelog: 2.0.0...2.1.0