UNPKG

@etherspot/prime-sdk

Version:

Etherspot Prime (Account Abstraction) SDK

21 lines (20 loc) 641 B
import { ErrorSubject, Service } from './common'; import { NetworkService } from './network'; import { StateService } from './state'; import { WalletService } from './wallet'; export declare class Context { readonly services: { stateService: StateService; walletService: WalletService; networkService: NetworkService; }; readonly error$: ErrorSubject; private readonly attached; constructor(services: { stateService: StateService; walletService: WalletService; networkService: NetworkService; }); attach<T extends Service>(service: T): void; destroy(): void; }