tKey Chrome Storage Module
The tKey Server Storage Module helps you store and recall key shares in the server. This module is the part of the tKey SDK.
Installation
npm install --save @tkey/server-storage
Initialization
ServerStorageModule
class from @tkey/server-storage
Import the import ServerStorageModule from "@tkey/server-storage";
ServerStorageModule
class to a variable
Assign the const serverStorageModule = new ServerStorageModule();
Returns
The ChromeExtensionStorageModule
class returns an object with the following properties:
class ServerStorageModule implements IModule {
moduleName: string;
tbSDK: ITKeyApi;
constructor();
setModuleReferences(tbSDK: ITKeyApi): void;
initialize(): Promise<void>;
storeWebShare(deviceShareStore: ShareStore, customDeviceInfo?: StringifiedType): Promise<void>;
}