UNPKG

@base-org/account

Version:
27 lines 1.51 kB
/** * Browser entry point for Base Account SDK * This file exposes the account interface to the global window object */ import { createBaseAccountSDK } from './interface/builder/core/createBaseAccountSDK.js'; import { base } from './interface/payment/base.browser.js'; import { CHAIN_IDS, TOKENS } from './interface/payment/constants.js'; import { getPaymentStatus } from './interface/payment/getPaymentStatus.js'; import { pay } from './interface/payment/pay.js'; import { subscribe } from './interface/payment/subscribe.js'; import type { InfoRequest, PayerInfo, PaymentOptions, PaymentResult, PaymentStatus, PaymentStatusOptions, SubscriptionOptions, SubscriptionResult } from './interface/payment/types.js'; declare global { interface Window { base: typeof base; createBaseAccountSDK: typeof createBaseAccountSDK; BaseAccountSDK: { VERSION: string; }; } } export type { AppMetadata, Preference, ProviderInterface, } from './core/provider/interface.js'; export { PACKAGE_VERSION as VERSION } from './core/constants.js'; export { createBaseAccountSDK } from './interface/builder/core/createBaseAccountSDK.js'; export { getCryptoKeyAccount, removeCryptoKey } from './kms/crypto-key/index.js'; export { base, CHAIN_IDS, getPaymentStatus, pay, subscribe, TOKENS }; export type { InfoRequest, PayerInfo, PaymentOptions, PaymentResult, PaymentStatus, PaymentStatusOptions, SubscriptionOptions, SubscriptionResult, }; //# sourceMappingURL=browser-entry.d.ts.map