UNPKG

accounts

Version:

Tempo Accounts SDK

19 lines 678 B
import * as CoreProvider from '../core/Provider.js'; import { reactNative } from './adapter.js'; /** Creates a provider for React Native apps using system browser authentication. */ export function create(options) { const { // TODO: use the new host // host = 'https://wallet-next.tempo.xyz', host = 'https://wallet.tempo.xyz', redirectUri, open, secureStorage, ...rest } = options; return CoreProvider.create({ ...rest, adapter: reactNative({ host, redirectUri, ...(open ? { open } : {}), ...(secureStorage ? { secureStorage } : {}), }), }); } //# sourceMappingURL=Provider.js.map