UNPKG

@wallet-standard/features

Version:

This package defines TypeScript types for **Standard Features** -- canonical, chain-agnostic features using the `standard` namespace of the Wallet Standard.

21 lines 870 B
import type { WalletWithFeatures } from '@wallet-standard/base'; import type { StandardConnectFeature } from './connect.js'; import type { StandardDisconnectFeature } from './disconnect.js'; import type { StandardEventsFeature } from './events.js'; /** * Type alias for some or all {@link "@wallet-standard/base".Wallet.features} implemented within the reserved `standard` * namespace. * * @group Features */ export type StandardFeatures = StandardConnectFeature | StandardDisconnectFeature | StandardEventsFeature; /** * Type alias for a {@link "@wallet-standard/base".Wallet} that implements some or all {@link StandardFeatures}. * * @group Features */ export type WalletWithStandardFeatures = WalletWithFeatures<StandardFeatures>; export * from './connect.js'; export * from './disconnect.js'; export * from './events.js'; //# sourceMappingURL=index.d.ts.map