0.0.3 • Published 7 months ago

capacitor-kbplugin v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

KBPlugin

Install

npm install KBPlugin
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


newKeys(...)

newKeys(options: NewKey) => Promise<KeyResponse>
ParamType
optionsNewKey

Returns: Promise<KeyResponse>


continueKeys(...)

continueKeys(options: OldKey) => Promise<KeyResponse>
ParamType
optionsOldKey

Returns: Promise<KeyResponse>


Type Aliases

KeyResponse

{ status: Statuses; keys: number[]; end: number }

Statuses

'OK' | 'Error params' | 'No Keybox'

NewKey

{ keys: number; bits: number; seed: number; session: number; }

OldKey

{ keys: number; bits: number; start: number; }

0.0.3

7 months ago

0.0.2

9 months ago

0.0.1

9 months ago