UNPKG

@bigmi/client

Version:

Reactive primitives for Bitcoin apps.

31 lines 4.06 kB
import { ChainNotSupportedError, ConnectorAccountNotFoundError, ConnectorAlreadyConnectedError, ConnectorChainIdDetectionError, ConnectorChainMismatchError, ConnectorNetworkMismatchError, ConnectorNotConnectedError, ConnectorNotFoundError, ConnectorUnavailableReconnectingError, ProviderNotFoundError } from "./errors/connectors.js"; import { Connector, CreateConnectorFn } from "./types/connector.js"; import { Config, createConfig } from "./factories/createConfig.js"; import { getConnectorClient } from "./actions/getConnectorClient.js"; import { ConnectErrorType, ConnectParameters, ConnectReturnType, connect } from "./actions/connect.js"; import { DisconnectParameters, DisconnectReturnType, disconnect } from "./actions/disconnect.js"; import { GetAccountReturnType, getAccount } from "./actions/getAccount.js"; import { getAddress } from "./actions/getAddress.js"; import { GetConnectorsReturnType, getConnectors } from "./actions/getConnectors.js"; import { reconnect } from "./actions/reconnect.js"; import { watchAccount } from "./actions/watchAccount.js"; import { WatchConnectorsParameters, WatchConnectorsReturnType, watchConnectors } from "./actions/watchConnectors.js"; import { UTXOConnectorParameters } from "./connectors/types.js"; import { BinanceBitcoinEventMap, BinanceBitcoinEvents, binance } from "./connectors/binance.js"; import { BitgetBitcoinEventMap, BitgetBitcoinEvents, bitget } from "./connectors/bitget.js"; import { CtrlBitcoinEventMap, CtrlBitcoinEvents, ctrl } from "./connectors/ctrl.js"; import { dynamic } from "./connectors/dynamic.js"; import { leather } from "./connectors/leather.js"; import { MagicEdenBitcoinEventMap, MagicEdenBitcoinEvents, magicEden } from "./connectors/magicEden.js"; import { MetaMaskBitcoinEventMap, MetaMaskBitcoinEvents, metamask } from "./connectors/metamask.js"; import { okx } from "./connectors/okx.js"; import { onekey } from "./connectors/onekey.js"; import { OylConnectorProperties, oyl } from "./connectors/oyl.js"; import { ReownConnectorParameters, ReownWalletInfo, reown } from "./connectors/reown.js"; import { UnhostedBitcoinEvents, unhosted } from "./connectors/unhosted.js"; import { UnisatBitcoinEventMap, UnisatBitcoinEvents, unisat } from "./connectors/unisat.js"; import { XverseBitcoinEventMap, XverseBitcoinEvents, xverse } from "./connectors/xverse.js"; import { ConnectData, ConnectMutate, ConnectMutateAsync, ConnectVariables, connectMutationOptions } from "./query/connect.js"; import { hashFn } from "./query/utils.js"; import { State } from "./types/state.js"; export { type BinanceBitcoinEventMap, type BinanceBitcoinEvents, type BitgetBitcoinEventMap, type BitgetBitcoinEvents, ChainNotSupportedError, type Config, type ConnectData, type ConnectErrorType, type ConnectMutate, type ConnectMutateAsync, type ConnectParameters, type ConnectReturnType, type ConnectVariables, type Connector, ConnectorAccountNotFoundError, ConnectorAlreadyConnectedError, ConnectorChainIdDetectionError, ConnectorChainMismatchError, ConnectorNetworkMismatchError, ConnectorNotConnectedError, ConnectorNotFoundError, ConnectorUnavailableReconnectingError, type CreateConnectorFn, type CtrlBitcoinEventMap, type CtrlBitcoinEvents, type DisconnectParameters, type DisconnectReturnType, type GetAccountReturnType, type GetConnectorsReturnType, type MagicEdenBitcoinEventMap, type MagicEdenBitcoinEvents, type MetaMaskBitcoinEventMap, type MetaMaskBitcoinEvents, type OylConnectorProperties, ProviderNotFoundError, type ReownConnectorParameters, type ReownWalletInfo, type State, type UTXOConnectorParameters, type UnhostedBitcoinEvents, type UnisatBitcoinEventMap, type UnisatBitcoinEvents, type WatchConnectorsParameters, type WatchConnectorsReturnType, type XverseBitcoinEventMap, type XverseBitcoinEvents, binance, bitget, connect, connectMutationOptions, createConfig, ctrl, disconnect, dynamic, getAccount, getAddress, getConnectorClient, getConnectors, hashFn, leather, magicEden, metamask, okx, onekey, oyl, reconnect, reown, unhosted, unisat, watchAccount, watchConnectors, xverse };