@keepkey/keepkey.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Device
Keep
Key
Keep
Key
Manager
WebUSBDevice
constructor
events
interface
queue
usb
Device
is
Initialized
cancel
Pending
disconnect
exchange
from
Message
Buffer
get
Entropy
initialize
read
read
Chunk
send
Raw
to
Message
Buffer
write
write
Chunk
failure
Message
Factory
request
Pair
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
Device
WebUSBDevice
Index
Constructors
constructor
Properties
events
interface
queue
usb
Device
Accessors
is
Initialized
Methods
cancel
Pending
disconnect
exchange
from
Message
Buffer
get
Entropy
initialize
read
read
Chunk
send
Raw
to
Message
Buffer
write
write
Chunk
failure
Message
Factory
request
Pair
Constructors
constructor
new
WebUSBDevice
(
config
:
WebUSBDeviceConfig
)
:
WebUSBDevice
Parameters
config:
WebUSBDeviceConfig
Returns
WebUSBDevice
Properties
events
events
:
EventEmitter2
Protected
interface
interface
:
Interface
= "StandardWebUSB"
queue
queue
:
PQueue
usb
Device
usb
Device
:
USBDevice
Accessors
is
Initialized
is
Initialized
:
Methods
cancel
Pending
cancel
Pending
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
disconnect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
exchange
exchange
(
msgTypeEnum
:
number
, msg
:
Message
)
:
Promise
<
[
number
,
Message
]
>
Parameters
msgTypeEnum:
number
msg:
Message
Returns
Promise
<
[
number
,
Message
]
>
Protected
from
Message
Buffer
from
Message
Buffer
(
buff
:
ByteBuffer
)
:
[
number
,
Message
]
Parameters
buff:
ByteBuffer
Returns
[
number
,
Message
]
get
Entropy
get
Entropy
(
length
?:
number
)
:
Uint8Array
Parameters
Default value
length:
number
= 64
Returns
Uint8Array
initialize
initialize
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
read
read
(
)
:
Promise
<
ByteBuffer
>
Returns
Promise
<
ByteBuffer
>
Private
read
Chunk
read
Chunk
(
)
:
Promise
<
DataView
>
Returns
Promise
<
DataView
>
send
Raw
send
Raw
(
buffer
:
ByteBuffer
)
:
Promise
<
ByteBuffer
>
Parameters
buffer:
ByteBuffer
Returns
Promise
<
ByteBuffer
>
Protected
to
Message
Buffer
to
Message
Buffer
(
msgTypeEnum
:
number
, msg
:
Message
)
:
ByteBuffer
Parameters
msgTypeEnum:
number
msg:
Message
Returns
ByteBuffer
Protected
write
write
(
buff
:
ByteBuffer
)
:
Promise
<
void
>
Parameters
buff:
ByteBuffer
Returns
Promise
<
void
>
Private
write
Chunk
write
Chunk
(
buffer
:
ByteBuffer
)
:
Promise
<
USBOutTransferResult
>
Parameters
buffer:
ByteBuffer
Returns
Promise
<
USBOutTransferResult
>
Static
Protected
failure
Message
Factory
failure
Message
Factory
(
e
?:
Error
|
string
)
:
ByteBuffer
Parameters
Optional
e:
Error
|
string
Returns
ByteBuffer
Static
request
Pair
request
Pair
(
)
:
Promise
<
USBDevice
>
Returns
Promise
<
USBDevice
>
Generated using
TypeDoc