@tkey-singularity/server-storage
TypeScript icon, indicating that this package has built-in type declarations

14.0.0 • Public • Published

tKey Chrome Storage Module

npm version minzip

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

Import the ServerStorageModule class from @tkey/server-storage

import ServerStorageModule from "@tkey/server-storage";

Assign the ServerStorageModule class to a variable

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>;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tkey-singularity/server-storage

Weekly Downloads

32

Version

14.0.0

License

MIT

Unpacked Size

345 kB

Total Files

17

Last publish

Collaborators

  • parasmadaan97