UNPKG

eosjs-window-message-signature-provider-interface

Version:

A Signature Provider Interface for communicating with an authenticator over the Window Messaging API using the EOSIO Auth Transport Protocol.

13 lines (12 loc) 569 B
import { SignatureProviderInterface, SignatureProviderInterfaceParams, SignatureProviderRequestEnvelope } from 'eosjs-signature-provider-interface'; export declare class SignatureProvider extends SignatureProviderInterface { private localStorage; private expiryMs; constructor(params: SignatureProviderInterfaceParams); protected sendRequest(requestEnvelope: SignatureProviderRequestEnvelope): void; getCachedKeys(): string[]; setCachedKeys(keys: string[]): void; clearCachedKeys(): void; cleanUp(): void; private onWindowMessage; }