/** * General docs * @module public */ import { Client } from './clients/client/Client'; import { BeaconError } from './errors/BeaconError'; import { BroadcastBeaconError } from './errors/BroadcastBeaconError'; import { NetworkNotSupportedBeaconError } from './errors/NetworkNotSupportedBeaconError'; import { NoAddressBeaconError } from './errors/NoAddressBeaconError'; import { NoPrivateKeyBeaconError } from './errors/NoPrivateKeyBeaconError'; import { NotGrantedBeaconError } from './errors/NotGrantedBeaconError'; import { ParametersInvalidBeaconError } from './errors/ParametersInvalidBeaconError'; import { TooManyOperationsBeaconError } from './errors/TooManyOperationsBeaconError'; import { TransactionInvalidBeaconError } from './errors/TransactionInvalidBeaconError'; import { UnknownBeaconError } from './errors/UnknownBeaconError'; import { Transport } from './transports/Transport'; import { ChromeStorage } from './storage/ChromeStorage'; import { LocalStorage } from './storage/LocalStorage'; import { getStorage } from './storage/getStorage'; import { Serializer } from './Serializer'; import { ClientOptions } from './clients/client/ClientOptions'; import { SDK_VERSION, DEFAULT_WALLETCONNECT_PROJECT_ID, BEACON_VERSION, PROTOCOL_VERSION_V1, PROTOCOL_VERSION_V2, LATEST_PROTOCOL_VERSION, DEFAULT_PROTOCOL_VERSION } from './constants'; import { getPreferredMessageProtocolVersion, setPreferredMessageProtocolVersion } from './message-protocol'; import { AccountManager } from './managers/AccountManager'; import { AppMetadataManager } from './managers/AppMetadataManager'; import { PermissionManager } from './managers/PermissionManager'; import { BeaconClient } from './clients/beacon-client/BeaconClient'; import { BeaconClientOptions } from './clients/beacon-client/BeaconClientOptions'; import { getAccountIdentifier } from './utils/get-account-identifier'; import { AbortedBeaconError } from './errors/AbortedBeaconError'; import { getSenderId } from './utils/get-sender-id'; import { PeerManager } from './managers/PeerManager'; import { MessageBasedClient } from './transports/clients/MessageBasedClient'; import { setDebugEnabled, getDebugEnabled } from './debug'; import { SignatureTypeNotSupportedBeaconError } from './errors/SignatureTypeNotSupportedBeaconError'; import { VersionUnsupportedBeaconError } from './errors/VersionUnsupportedBeaconError'; import { InvalidRequiredMinimumVersionError } from './errors/InvalidRequiredMinimumVersionError'; import { NetworksUnsupportedBeaconError } from './errors/NetworksUnsupportedBeaconError'; import { InvalidBeaconVersionError } from './errors/InvalidBeaconVersionError'; import { getLogger, Logger, setLogger } from './utils/Logger'; import { windowRef } from './MockWindow'; import { CommunicationClient } from './transports/clients/CommunicationClient'; import { ClientEvents } from './transports/clients/ClientEvents'; import { WCStorage } from './storage/WCStorage'; import { IndexedDBStorage } from './storage/IndexedDBStorage'; import { StorageValidator } from './storage/StorageValidator'; import { MultiTabChannel } from './utils/multi-tab-channel'; import getError from './errors/get-error'; export { BeaconClient, BeaconClientOptions, Client, ClientOptions, ClientEvents }; export { getError, BeaconError, AbortedBeaconError, BroadcastBeaconError, NetworkNotSupportedBeaconError, NoAddressBeaconError, NoPrivateKeyBeaconError, NotGrantedBeaconError, ParametersInvalidBeaconError, TooManyOperationsBeaconError, TransactionInvalidBeaconError, SignatureTypeNotSupportedBeaconError, UnknownBeaconError, VersionUnsupportedBeaconError, InvalidRequiredMinimumVersionError, NetworksUnsupportedBeaconError, InvalidBeaconVersionError }; export { Transport, MessageBasedClient, CommunicationClient }; export { ChromeStorage, LocalStorage, WCStorage, IndexedDBStorage, StorageValidator, getStorage }; export { PeerManager, AccountManager, AppMetadataManager, PermissionManager }; export { SDK_VERSION, DEFAULT_WALLETCONNECT_PROJECT_ID, BEACON_VERSION, PROTOCOL_VERSION_V1, PROTOCOL_VERSION_V2, LATEST_PROTOCOL_VERSION, DEFAULT_PROTOCOL_VERSION, getPreferredMessageProtocolVersion, setPreferredMessageProtocolVersion }; export { getSenderId, getAccountIdentifier, windowRef, MultiTabChannel }; export { usesWrappedMessages, MESSAGE_WRAPPED_FROM_VERSION, MULTI_NETWORK_FROM_VERSION, compareBeaconVersion, isAtLeastVersion, isMultiNetworkVersion, negotiateEnvelopeVersion, effectivePeerVersion, wrapBeaconMessage, unwrapBeaconMessage } from './utils/message-utils'; export { normalizeTezosCaip2, isValidTezosCaip2, networkFromTezosCaip2, TEZOS_NETWORK_GENESIS_IDS, tezosCaip2FromNetworkType, networkTypeFromTezosCaip2 } from './utils/caip2'; export { assertNever } from './utils/assert-never'; export { resolveRequiredMinimumVersion } from './utils/required-minimum-version'; export { gatherDiagnostics, buildErrorContext, serializeErrorContext, copyErrorContextToClipboard, SENSITIVE_STORAGE_KEYS } from './utils/diagnostics'; export { ERROR_CODES, WC_ERROR_CODES, MATRIX_ERROR_CODES, PM_ERROR_CODES, BLOCKCHAIN_ERROR_CODES, BEACON_ERROR_CODES } from './errors/error-codes'; export type { ErrorCode } from './errors/error-codes'; export { Serializer, Logger, setLogger, getLogger }; export { setDebugEnabled, getDebugEnabled }; export { NOTIFICATION_ORACLE_URL, BACKEND_URL } from './constants';