@keepkey/keepkey.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Device
Keep
Key
Keep
Key
Manager
constructor
device
Events
keepkeys
on
Connect
Callback
on
Disconnect
Callback
initialized
Count
add
decorate
Events
disconnect
All
exec
get
handle
Connect
Keep
Key
handle
Disconnect
Keep
Key
initialize
WebUSBDevices
remove
remove
All
WebUSBDevice
Event
Keep
Key
Config
Keep
Key
Manager
Config
Token
Tx
Transaction
WebUSBDevice
Config
USBDevice
Event
Callback
HARDENED
Message
Type
NO_
THROW_
CODES
SEGMENT_
SIZE
is
Array
message
Name
Registry
message
Type
Registry
mock
Call
nested
values
arrayify
bip32
Like
bip32
ToAddressNList
defaultUSBDevice
Callback
empty
OrVal
eth
TxAs
Proto
from
Hex
String
le
Byte
Array
ToLong
make
Event
new
Token
Transaction
proto
Field
ToSet
Method
to
Hex
String
initial
Keep
Key
Args
sample
Transaction
Hierarchy
KeepKeyManager
Index
Constructors
constructor
Properties
device
Events
keepkeys
on
Connect
Callback
on
Disconnect
Callback
Accessors
initialized
Count
Methods
add
decorate
Events
disconnect
All
exec
get
handle
Connect
Keep
Key
handle
Disconnect
Keep
Key
initialize
WebUSBDevices
remove
remove
All
Constructors
constructor
new
Keep
Key
Manager
(
config
?:
KeepKeyManagerConfig
)
:
KeepKeyManager
Parameters
Default value
config:
KeepKeyManagerConfig
= {}
Returns
KeepKeyManager
Properties
device
Events
device
Events
:
EventEmitter2
= new eventemitter2.EventEmitter2({ wildcard: true })
keepkeys
keepkeys
:
object
Type declaration
[
deviceID:
string
]:
KeepKey
Protected
on
Connect
Callback
on
Connect
Callback
:
USBDeviceEventCallback
= defaultUSBDeviceCallback
Protected
on
Disconnect
Callback
on
Disconnect
Callback
:
USBDeviceEventCallback
= defaultUSBDeviceCallback
Accessors
initialized
Count
initialized
Count
:
Methods
add
add
(
keepkey
:
KeepKey
, deviceID
?:
string
)
:
boolean
Parameters
keepkey:
KeepKey
Optional
deviceID:
string
Returns
boolean
decorate
Events
decorate
Events
(
deviceID
:
string
, events
:
EventEmitter2
)
:
void
Parameters
deviceID:
string
events:
EventEmitter2
Returns
void
disconnect
All
disconnect
All
(
)
:
void
Returns
void
exec
exec
(
method
:
string
,
...
args
:
any
[]
)
:
Promise
<
object
>
Parameters
method:
string
Rest
...
args:
any
[]
Returns
Promise
<
object
>
get
get
(
deviceID
?:
string
)
:
KeepKey
Parameters
Optional
deviceID:
string
Returns
KeepKey
Protected
handle
Connect
Keep
Key
handle
Connect
Keep
Key
(
e
:
USBConnectionEvent
)
:
void
Parameters
e:
USBConnectionEvent
Returns
void
Protected
handle
Disconnect
Keep
Key
handle
Disconnect
Keep
Key
(
e
:
USBConnectionEvent
)
:
void
Parameters
e:
USBConnectionEvent
Returns
void
initialize
WebUSBDevices
initialize
WebUSBDevices
(
webusbConfig
?:
WebUSBDeviceConfig
, devices
?:
USBDevice
[]
)
:
Promise
<
number
>
Parameters
Optional
webusbConfig:
WebUSBDeviceConfig
Optional
devices:
USBDevice
[]
Returns
Promise
<
number
>
remove
remove
(
deviceID
:
string
)
:
Promise
<
void
>
Parameters
deviceID:
string
Returns
Promise
<
void
>
remove
All
remove
All
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Generated using
TypeDoc