UNPKG

@turnkey/core

Version:

A core JavaScript web and React Native package for interfacing with Turnkey's infrastructure.

14 lines 542 B
import type { TStamp, ApiKeyStamperBase } from "@types"; export declare class IndexedDbStamper implements ApiKeyStamperBase { constructor(); private openDb; private storeKeyPair; private getPrivateKey; listKeyPairs(): Promise<string[]>; createKeyPair(externalKeyPair?: CryptoKeyPair): Promise<string>; deleteKeyPair(publicKeyHex: string): Promise<void>; clearKeyPairs(): Promise<void>; private sign; stamp(payload: string, publicKeyHex: string): Promise<TStamp>; } //# sourceMappingURL=stamper.d.ts.map