UNPKG

eosjs-ios-browser-signature-provider-interface

Version:

A Signature Provider Interface for communicating with an authenticator from iOS browsers using the EOSIO Authentication Transport Protocol Specification.

14 lines (13 loc) 591 B
import { SignatureProviderInterface, SignatureProviderInterfaceParams, SignatureProviderRequestEnvelope } from 'eosjs-signature-provider-interface'; export declare class SignatureProvider extends SignatureProviderInterface { private localStorage; private expiryMs; private protocol; constructor(args: SignatureProviderInterfaceParams); getCachedKeys(): string[]; setCachedKeys(keys: string[]): void; clearCachedKeys(): void; cleanUp(): void; protected sendRequest(requestEnvelop: SignatureProviderRequestEnvelope): void; private onWindowHashChange; }