/** * React Native entry point for @bounded-sh/client. * * This entry re-exports everything EXCEPT web-only providers that depend on * react-dom or browser wallet SDKs. * * Metro resolves this file via the "react-native" condition in package.json. * Web bundlers (webpack, vite, rollup) continue to use the default entry. */ export { init, getCurrentUser, onAuthStateChanged, onAuthLoadingChanged, getAuthLoading, login, logout, } from "./global"; export { getConfig } from "@bounded-sh/core"; export { getAuthProvider, signInAnonymously, loginWithPrivy } from "./auth"; export { loginWithRedirect, completeLoginFromRedirect, loginWithPopup, completeLoginInPopup } from "./auth"; export type { HostedAuthMethod, OidcLoginOptions, PopupLoginOptions } from "./auth"; export { get, getMany, docId, set, setMany, setFile, getFiles, search, queryAggregate, runQuery, runQueryMany, runExpression, runExpressionMany, signMessage, signTransaction, signAndSubmitTransaction, count, aggregate, GetOptions, SearchOptions, SetOptions, CountOptions, AggregateOptions, AggregateOperation, AggregateResult, AggregateSpec, AggregateRow, QueryAggregateOptions, } from "@bounded-sh/core"; export type { GetOptions as BoundedGetOptions } from "@bounded-sh/core"; export { reconcileSetResult, waitForSetResult } from "@bounded-sh/core"; export type { SetResult, SetEntry, SetDocuments, MirrorSync, SolanaFence, ChainTag, SolanaChainTag, CommittedSetResult, ConfirmedSetResult, SolanaConfirmedSetResult, SubmittedSetResult, SolanaSubmittedSetResult, SolanaExpiredNotLandedSetResult, SolanaSignedSetResult, TransactionResult, TransactionReconciliation, ReconcileSetResultOptions, WaitForSetResultOptions, FileUploadResult, FileDeleteResult, } from "@bounded-sh/core"; export { subscribe } from "@bounded-sh/core"; export { createClient, ScopedClientReadOnlyError } from "@bounded-sh/core"; export type { BoundedClient, CreateClientConfig } from "@bounded-sh/core"; export { BoundedDeclineError, deriveDecline, dispatchDeclineEvent, DECLINE_EVENT_NAME } from "@bounded-sh/core"; export type { BoundedDecline, DeclineReason, DeclineBoundary } from "@bounded-sh/core"; export * from "@bounded-sh/core"; export { useAuth } from "./auth/hooks/useAuth"; export { useQuery } from "./hooks/useQuery"; export type { UseQueryOptions, UseQueryResult } from "./hooks/useQuery"; export { useBuildRun } from "./hooks/useBuildRun"; export type { UseBuildRunOptions, UseBuildRunResult } from "./hooks/useBuildRun"; export * from "./builds"; export { apps } from "./builds/apps"; export type { AppListItem, CreatedApp, CreateAppOptions } from "./builds/apps"; export { getIdToken } from "./utils"; export { onramp, onrampQuote, onrampStatus } from "./onramp"; export type { OnrampOptions, OnrampResult, OnrampQuoteInfo, OnrampTransaction } from "./onramp"; export { setPlatform, getPlatform } from "./platform"; export type { PlatformAdapter, StorageAdapter } from "./platform"; export { OffchainAuthProvider, OffchainAuthProviderConfig, } from "./auth/providers/offchain-auth-provider"; export { PrivyExpoProvider } from "./auth/providers/privy-expo-provider"; export type { PrivyExpoMethods } from "./auth/providers/privy-expo-provider";