@keepkey/device-protocol
Advanced tools
Comparing version 6.2.1 to 6.2.3
@@ -19,4 +19,4 @@ // package: | ||
clearKind(): void; | ||
getKind(): EosPublicKeyKind | undefined; | ||
setKind(value: EosPublicKeyKind): void; | ||
getKind(): EosPublicKeyKindMap[keyof EosPublicKeyKindMap] | undefined; | ||
setKind(value: EosPublicKeyKindMap[keyof EosPublicKeyKindMap]): void; | ||
@@ -37,3 +37,3 @@ serializeBinary(): Uint8Array; | ||
showDisplay?: boolean, | ||
kind?: EosPublicKeyKind, | ||
kind?: EosPublicKeyKindMap[keyof EosPublicKeyKindMap], | ||
} | ||
@@ -291,9 +291,9 @@ } | ||
clearAmount(): void; | ||
getAmount(): number | undefined; | ||
setAmount(value: number): void; | ||
getAmount(): string | undefined; | ||
setAmount(value: string): void; | ||
hasSymbol(): boolean; | ||
clearSymbol(): void; | ||
getSymbol(): number | undefined; | ||
setSymbol(value: number): void; | ||
getSymbol(): string | undefined; | ||
setSymbol(value: string): void; | ||
@@ -312,4 +312,4 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
amount?: number, | ||
symbol?: number, | ||
amount?: string, | ||
symbol?: string, | ||
} | ||
@@ -321,9 +321,9 @@ } | ||
clearActor(): void; | ||
getActor(): number | undefined; | ||
setActor(value: number): void; | ||
getActor(): string | undefined; | ||
setActor(value: string): void; | ||
hasPermission(): boolean; | ||
clearPermission(): void; | ||
getPermission(): number | undefined; | ||
setPermission(value: number): void; | ||
getPermission(): string | undefined; | ||
setPermission(value: string): void; | ||
@@ -342,4 +342,4 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
actor?: number, | ||
permission?: number, | ||
actor?: string, | ||
permission?: string, | ||
} | ||
@@ -489,9 +489,9 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasName(): boolean; | ||
clearName(): void; | ||
getName(): number | undefined; | ||
setName(value: number): void; | ||
getName(): string | undefined; | ||
setName(value: string): void; | ||
@@ -515,4 +515,4 @@ clearAuthorizationList(): void; | ||
export type AsObject = { | ||
account?: number, | ||
name?: number, | ||
account?: string, | ||
name?: string, | ||
authorizationList: Array<EosPermissionLevel.AsObject>, | ||
@@ -525,9 +525,9 @@ } | ||
clearSender(): void; | ||
getSender(): number | undefined; | ||
setSender(value: number): void; | ||
getSender(): string | undefined; | ||
setSender(value: string): void; | ||
hasReceiver(): boolean; | ||
clearReceiver(): void; | ||
getReceiver(): number | undefined; | ||
setReceiver(value: number): void; | ||
getReceiver(): string | undefined; | ||
setReceiver(value: string): void; | ||
@@ -556,4 +556,4 @@ hasQuantity(): boolean; | ||
export type AsObject = { | ||
sender?: number, | ||
receiver?: number, | ||
sender?: string, | ||
receiver?: string, | ||
quantity?: EosAsset.AsObject, | ||
@@ -567,9 +567,9 @@ memo?: string, | ||
clearSender(): void; | ||
getSender(): number | undefined; | ||
setSender(value: number): void; | ||
getSender(): string | undefined; | ||
setSender(value: string): void; | ||
hasReceiver(): boolean; | ||
clearReceiver(): void; | ||
getReceiver(): number | undefined; | ||
setReceiver(value: number): void; | ||
getReceiver(): string | undefined; | ||
setReceiver(value: string): void; | ||
@@ -603,4 +603,4 @@ hasNetQuantity(): boolean; | ||
export type AsObject = { | ||
sender?: number, | ||
receiver?: number, | ||
sender?: string, | ||
receiver?: string, | ||
netQuantity?: EosAsset.AsObject, | ||
@@ -615,9 +615,9 @@ cpuQuantity?: EosAsset.AsObject, | ||
clearSender(): void; | ||
getSender(): number | undefined; | ||
setSender(value: number): void; | ||
getSender(): string | undefined; | ||
setSender(value: string): void; | ||
hasReceiver(): boolean; | ||
clearReceiver(): void; | ||
getReceiver(): number | undefined; | ||
setReceiver(value: number): void; | ||
getReceiver(): string | undefined; | ||
setReceiver(value: string): void; | ||
@@ -646,4 +646,4 @@ hasNetQuantity(): boolean; | ||
export type AsObject = { | ||
sender?: number, | ||
receiver?: number, | ||
sender?: string, | ||
receiver?: string, | ||
netQuantity?: EosAsset.AsObject, | ||
@@ -657,4 +657,4 @@ cpuQuantity?: EosAsset.AsObject, | ||
clearOwner(): void; | ||
getOwner(): number | undefined; | ||
setOwner(value: number): void; | ||
getOwner(): string | undefined; | ||
setOwner(value: string): void; | ||
@@ -673,3 +673,3 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
owner?: number, | ||
owner?: string, | ||
} | ||
@@ -681,9 +681,9 @@ } | ||
clearPayer(): void; | ||
getPayer(): number | undefined; | ||
setPayer(value: number): void; | ||
getPayer(): string | undefined; | ||
setPayer(value: string): void; | ||
hasReceiver(): boolean; | ||
clearReceiver(): void; | ||
getReceiver(): number | undefined; | ||
setReceiver(value: number): void; | ||
getReceiver(): string | undefined; | ||
setReceiver(value: string): void; | ||
@@ -707,4 +707,4 @@ hasQuantity(): boolean; | ||
export type AsObject = { | ||
payer?: number, | ||
receiver?: number, | ||
payer?: string, | ||
receiver?: string, | ||
quantity?: EosAsset.AsObject, | ||
@@ -717,9 +717,9 @@ } | ||
clearPayer(): void; | ||
getPayer(): number | undefined; | ||
setPayer(value: number): void; | ||
getPayer(): string | undefined; | ||
setPayer(value: string): void; | ||
hasReceiver(): boolean; | ||
clearReceiver(): void; | ||
getReceiver(): number | undefined; | ||
setReceiver(value: number): void; | ||
getReceiver(): string | undefined; | ||
setReceiver(value: string): void; | ||
@@ -743,4 +743,4 @@ hasBytes(): boolean; | ||
export type AsObject = { | ||
payer?: number, | ||
receiver?: number, | ||
payer?: string, | ||
receiver?: string, | ||
bytes?: number, | ||
@@ -753,9 +753,9 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasBytes(): boolean; | ||
clearBytes(): void; | ||
getBytes(): number | undefined; | ||
setBytes(value: number): void; | ||
getBytes(): string | undefined; | ||
setBytes(value: string): void; | ||
@@ -774,4 +774,4 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
account?: number, | ||
bytes?: number, | ||
account?: string, | ||
bytes?: string, | ||
} | ||
@@ -783,14 +783,14 @@ } | ||
clearVoter(): void; | ||
getVoter(): number | undefined; | ||
setVoter(value: number): void; | ||
getVoter(): string | undefined; | ||
setVoter(value: string): void; | ||
hasProxy(): boolean; | ||
clearProxy(): void; | ||
getProxy(): number | undefined; | ||
setProxy(value: number): void; | ||
getProxy(): string | undefined; | ||
setProxy(value: string): void; | ||
clearProducersList(): void; | ||
getProducersList(): Array<number>; | ||
setProducersList(value: Array<number>): void; | ||
addProducers(value: number, index?: number): number; | ||
getProducersList(): Array<string>; | ||
setProducersList(value: Array<string>): void; | ||
addProducers(value: string, index?: number): string; | ||
@@ -809,5 +809,5 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
voter?: number, | ||
proxy?: number, | ||
producersList: Array<number>, | ||
voter?: string, | ||
proxy?: string, | ||
producersList: Array<string>, | ||
} | ||
@@ -819,14 +819,14 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasPermission(): boolean; | ||
clearPermission(): void; | ||
getPermission(): number | undefined; | ||
setPermission(value: number): void; | ||
getPermission(): string | undefined; | ||
setPermission(value: string): void; | ||
hasParent(): boolean; | ||
clearParent(): void; | ||
getParent(): number | undefined; | ||
setParent(value: number): void; | ||
getParent(): string | undefined; | ||
setParent(value: string): void; | ||
@@ -850,5 +850,5 @@ hasAuth(): boolean; | ||
export type AsObject = { | ||
account?: number, | ||
permission?: number, | ||
parent?: number, | ||
account?: string, | ||
permission?: string, | ||
parent?: string, | ||
auth?: EosAuthorization.AsObject, | ||
@@ -861,9 +861,9 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasPermission(): boolean; | ||
clearPermission(): void; | ||
getPermission(): number | undefined; | ||
setPermission(value: number): void; | ||
getPermission(): string | undefined; | ||
setPermission(value: string): void; | ||
@@ -882,4 +882,4 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
account?: number, | ||
permission?: number, | ||
account?: string, | ||
permission?: string, | ||
} | ||
@@ -891,19 +891,19 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasCode(): boolean; | ||
clearCode(): void; | ||
getCode(): number | undefined; | ||
setCode(value: number): void; | ||
getCode(): string | undefined; | ||
setCode(value: string): void; | ||
hasType(): boolean; | ||
clearType(): void; | ||
getType(): number | undefined; | ||
setType(value: number): void; | ||
getType(): string | undefined; | ||
setType(value: string): void; | ||
hasRequirement(): boolean; | ||
clearRequirement(): void; | ||
getRequirement(): number | undefined; | ||
setRequirement(value: number): void; | ||
getRequirement(): string | undefined; | ||
setRequirement(value: string): void; | ||
@@ -922,6 +922,6 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
account?: number, | ||
code?: number, | ||
type?: number, | ||
requirement?: number, | ||
account?: string, | ||
code?: string, | ||
type?: string, | ||
requirement?: string, | ||
} | ||
@@ -933,14 +933,14 @@ } | ||
clearAccount(): void; | ||
getAccount(): number | undefined; | ||
setAccount(value: number): void; | ||
getAccount(): string | undefined; | ||
setAccount(value: string): void; | ||
hasCode(): boolean; | ||
clearCode(): void; | ||
getCode(): number | undefined; | ||
setCode(value: number): void; | ||
getCode(): string | undefined; | ||
setCode(value: string): void; | ||
hasType(): boolean; | ||
clearType(): void; | ||
getType(): number | undefined; | ||
setType(value: number): void; | ||
getType(): string | undefined; | ||
setType(value: string): void; | ||
@@ -959,5 +959,5 @@ serializeBinary(): Uint8Array; | ||
export type AsObject = { | ||
account?: number, | ||
code?: number, | ||
type?: number, | ||
account?: string, | ||
code?: string, | ||
type?: string, | ||
} | ||
@@ -969,9 +969,9 @@ } | ||
clearCreator(): void; | ||
getCreator(): number | undefined; | ||
setCreator(value: number): void; | ||
getCreator(): string | undefined; | ||
setCreator(value: string): void; | ||
hasName(): boolean; | ||
clearName(): void; | ||
getName(): number | undefined; | ||
setName(value: number): void; | ||
getName(): string | undefined; | ||
setName(value: string): void; | ||
@@ -1000,4 +1000,4 @@ hasOwner(): boolean; | ||
export type AsObject = { | ||
creator?: number, | ||
name?: number, | ||
creator?: string, | ||
name?: string, | ||
owner?: EosAuthorization.AsObject, | ||
@@ -1084,7 +1084,9 @@ active?: EosAuthorization.AsObject, | ||
export enum EosPublicKeyKind { | ||
EOS = 0, | ||
EOS_K1 = 1, | ||
EOS_R1 = 2, | ||
export interface EosPublicKeyKindMap { | ||
EOS: 0; | ||
EOS_K1: 1; | ||
EOS_R1: 2; | ||
} | ||
export const EosPublicKeyKind: EosPublicKeyKindMap; | ||
@@ -300,4 +300,4 @@ // package: | ||
clearScriptType(): void; | ||
getScriptType(): InputScriptType | undefined; | ||
setScriptType(value: InputScriptType): void; | ||
getScriptType(): InputScriptTypeMap[keyof InputScriptTypeMap] | undefined; | ||
setScriptType(value: InputScriptTypeMap[keyof InputScriptTypeMap]): void; | ||
@@ -341,3 +341,3 @@ hasMultisig(): boolean; | ||
sequence?: number, | ||
scriptType?: InputScriptType, | ||
scriptType?: InputScriptTypeMap[keyof InputScriptTypeMap], | ||
multisig?: MultisigRedeemScriptType.AsObject, | ||
@@ -368,4 +368,4 @@ amount?: number, | ||
clearScriptType(): void; | ||
getScriptType(): OutputScriptType | undefined; | ||
setScriptType(value: OutputScriptType): void; | ||
getScriptType(): OutputScriptTypeMap[keyof OutputScriptTypeMap] | undefined; | ||
setScriptType(value: OutputScriptTypeMap[keyof OutputScriptTypeMap]): void; | ||
@@ -386,4 +386,4 @@ hasMultisig(): boolean; | ||
clearAddressType(): void; | ||
getAddressType(): OutputAddressType | undefined; | ||
setAddressType(value: OutputAddressType): void; | ||
getAddressType(): OutputAddressTypeMap[keyof OutputAddressTypeMap] | undefined; | ||
setAddressType(value: OutputAddressTypeMap[keyof OutputAddressTypeMap]): void; | ||
@@ -415,6 +415,6 @@ hasExchangeType(): boolean; | ||
amount?: number, | ||
scriptType?: OutputScriptType, | ||
scriptType?: OutputScriptTypeMap[keyof OutputScriptTypeMap], | ||
multisig?: MultisigRedeemScriptType.AsObject, | ||
opReturnData: Uint8Array | string, | ||
addressType?: OutputAddressType, | ||
addressType?: OutputAddressTypeMap[keyof OutputAddressTypeMap], | ||
exchangeType?: ExchangeType.AsObject, | ||
@@ -764,9 +764,9 @@ decredScriptVersion?: number, | ||
clearWithdrawalScriptType(): void; | ||
getWithdrawalScriptType(): InputScriptType | undefined; | ||
setWithdrawalScriptType(value: InputScriptType): void; | ||
getWithdrawalScriptType(): InputScriptTypeMap[keyof InputScriptTypeMap] | undefined; | ||
setWithdrawalScriptType(value: InputScriptTypeMap[keyof InputScriptTypeMap]): void; | ||
hasReturnScriptType(): boolean; | ||
clearReturnScriptType(): void; | ||
getReturnScriptType(): InputScriptType | undefined; | ||
setReturnScriptType(value: InputScriptType): void; | ||
getReturnScriptType(): InputScriptTypeMap[keyof InputScriptTypeMap] | undefined; | ||
setReturnScriptType(value: InputScriptTypeMap[keyof InputScriptTypeMap]): void; | ||
@@ -789,4 +789,4 @@ serializeBinary(): Uint8Array; | ||
returnAddressNList: Array<number>, | ||
withdrawalScriptType?: InputScriptType, | ||
returnScriptType?: InputScriptType, | ||
withdrawalScriptType?: InputScriptTypeMap[keyof InputScriptTypeMap], | ||
returnScriptType?: InputScriptTypeMap[keyof InputScriptTypeMap], | ||
} | ||
@@ -803,93 +803,107 @@ } | ||
export enum FailureType { | ||
FAILURE_UNEXPECTEDMESSAGE = 1, | ||
FAILURE_BUTTONEXPECTED = 2, | ||
FAILURE_SYNTAXERROR = 3, | ||
FAILURE_ACTIONCANCELLED = 4, | ||
FAILURE_PINEXPECTED = 5, | ||
FAILURE_PINCANCELLED = 6, | ||
FAILURE_PININVALID = 7, | ||
FAILURE_INVALIDSIGNATURE = 8, | ||
FAILURE_OTHER = 9, | ||
FAILURE_NOTENOUGHFUNDS = 10, | ||
FAILURE_NOTINITIALIZED = 11, | ||
FAILURE_PINMISMATCH = 12, | ||
FAILURE_FIRMWAREERROR = 99, | ||
export interface FailureTypeMap { | ||
FAILURE_UNEXPECTEDMESSAGE: 1; | ||
FAILURE_BUTTONEXPECTED: 2; | ||
FAILURE_SYNTAXERROR: 3; | ||
FAILURE_ACTIONCANCELLED: 4; | ||
FAILURE_PINEXPECTED: 5; | ||
FAILURE_PINCANCELLED: 6; | ||
FAILURE_PININVALID: 7; | ||
FAILURE_INVALIDSIGNATURE: 8; | ||
FAILURE_OTHER: 9; | ||
FAILURE_NOTENOUGHFUNDS: 10; | ||
FAILURE_NOTINITIALIZED: 11; | ||
FAILURE_PINMISMATCH: 12; | ||
FAILURE_FIRMWAREERROR: 99; | ||
} | ||
export enum OutputScriptType { | ||
PAYTOADDRESS = 0, | ||
PAYTOSCRIPTHASH = 1, | ||
PAYTOMULTISIG = 2, | ||
PAYTOOPRETURN = 3, | ||
PAYTOWITNESS = 4, | ||
PAYTOP2SHWITNESS = 5, | ||
export const FailureType: FailureTypeMap; | ||
export interface OutputScriptTypeMap { | ||
PAYTOADDRESS: 0; | ||
PAYTOSCRIPTHASH: 1; | ||
PAYTOMULTISIG: 2; | ||
PAYTOOPRETURN: 3; | ||
PAYTOWITNESS: 4; | ||
PAYTOP2SHWITNESS: 5; | ||
} | ||
export enum InputScriptType { | ||
SPENDADDRESS = 0, | ||
SPENDMULTISIG = 1, | ||
EXTERNAL = 2, | ||
SPENDWITNESS = 3, | ||
SPENDP2SHWITNESS = 4, | ||
export const OutputScriptType: OutputScriptTypeMap; | ||
export interface InputScriptTypeMap { | ||
SPENDADDRESS: 0; | ||
SPENDMULTISIG: 1; | ||
EXTERNAL: 2; | ||
SPENDWITNESS: 3; | ||
SPENDP2SHWITNESS: 4; | ||
} | ||
export enum RequestType { | ||
TXINPUT = 0, | ||
TXOUTPUT = 1, | ||
TXMETA = 2, | ||
TXFINISHED = 3, | ||
TXEXTRADATA = 4, | ||
export const InputScriptType: InputScriptTypeMap; | ||
export interface RequestTypeMap { | ||
TXINPUT: 0; | ||
TXOUTPUT: 1; | ||
TXMETA: 2; | ||
TXFINISHED: 3; | ||
TXEXTRADATA: 4; | ||
} | ||
export enum OutputAddressType { | ||
SPEND = 0, | ||
TRANSFER = 1, | ||
CHANGE = 2, | ||
EXCHANGE = 3, | ||
export const RequestType: RequestTypeMap; | ||
export interface OutputAddressTypeMap { | ||
SPEND: 0; | ||
TRANSFER: 1; | ||
CHANGE: 2; | ||
EXCHANGE: 3; | ||
} | ||
export enum ButtonRequestType { | ||
BUTTONREQUEST_OTHER = 1, | ||
BUTTONREQUEST_FEEOVERTHRESHOLD = 2, | ||
BUTTONREQUEST_CONFIRMOUTPUT = 3, | ||
BUTTONREQUEST_RESETDEVICE = 4, | ||
BUTTONREQUEST_CONFIRMWORD = 5, | ||
BUTTONREQUEST_WIPEDEVICE = 6, | ||
BUTTONREQUEST_PROTECTCALL = 7, | ||
BUTTONREQUEST_SIGNTX = 8, | ||
BUTTONREQUEST_FIRMWARECHECK = 9, | ||
BUTTONREQUEST_ADDRESS = 10, | ||
BUTTONREQUEST_FIRMWAREERASE = 11, | ||
BUTTONREQUEST_CONFIRMTRANSFERTOACCOUNT = 12, | ||
BUTTONREQUEST_CONFIRMTRANSFERTONODEPATH = 13, | ||
BUTTONREQUEST_CHANGELABEL = 14, | ||
BUTTONREQUEST_CHANGELANGUAGE = 15, | ||
BUTTONREQUEST_ENABLEPASSPHRASE = 16, | ||
BUTTONREQUEST_DISABLEPASSPHRASE = 17, | ||
BUTTONREQUEST_ENCRYPTANDSIGNMESSAGE = 18, | ||
BUTTONREQUEST_ENCRYPTMESSAGE = 19, | ||
BUTTONREQUEST_IMPORTPRIVATEKEY = 20, | ||
BUTTONREQUEST_IMPORTRECOVERYSENTENCE = 21, | ||
BUTTONREQUEST_SIGNIDENTITY = 22, | ||
BUTTONREQUEST_PING = 23, | ||
BUTTONREQUEST_REMOVEPIN = 24, | ||
BUTTONREQUEST_CHANGEPIN = 25, | ||
BUTTONREQUEST_CREATEPIN = 26, | ||
BUTTONREQUEST_GETENTROPY = 27, | ||
BUTTONREQUEST_SIGNMESSAGE = 28, | ||
BUTTONREQUEST_APPLYPOLICIES = 29, | ||
BUTTONREQUEST_SIGNEXCHANGE = 30, | ||
BUTTONREQUEST_AUTOLOCKDELAYMS = 31, | ||
BUTTONREQUEST_U2FCOUNTER = 32, | ||
BUTTONREQUEST_CONFIRMEOSACTION = 33, | ||
BUTTONREQUEST_CONFIRMEOSBUDGET = 34, | ||
BUTTONREQUEST_CONFIRMMEMO = 35, | ||
export const OutputAddressType: OutputAddressTypeMap; | ||
export interface ButtonRequestTypeMap { | ||
BUTTONREQUEST_OTHER: 1; | ||
BUTTONREQUEST_FEEOVERTHRESHOLD: 2; | ||
BUTTONREQUEST_CONFIRMOUTPUT: 3; | ||
BUTTONREQUEST_RESETDEVICE: 4; | ||
BUTTONREQUEST_CONFIRMWORD: 5; | ||
BUTTONREQUEST_WIPEDEVICE: 6; | ||
BUTTONREQUEST_PROTECTCALL: 7; | ||
BUTTONREQUEST_SIGNTX: 8; | ||
BUTTONREQUEST_FIRMWARECHECK: 9; | ||
BUTTONREQUEST_ADDRESS: 10; | ||
BUTTONREQUEST_FIRMWAREERASE: 11; | ||
BUTTONREQUEST_CONFIRMTRANSFERTOACCOUNT: 12; | ||
BUTTONREQUEST_CONFIRMTRANSFERTONODEPATH: 13; | ||
BUTTONREQUEST_CHANGELABEL: 14; | ||
BUTTONREQUEST_CHANGELANGUAGE: 15; | ||
BUTTONREQUEST_ENABLEPASSPHRASE: 16; | ||
BUTTONREQUEST_DISABLEPASSPHRASE: 17; | ||
BUTTONREQUEST_ENCRYPTANDSIGNMESSAGE: 18; | ||
BUTTONREQUEST_ENCRYPTMESSAGE: 19; | ||
BUTTONREQUEST_IMPORTPRIVATEKEY: 20; | ||
BUTTONREQUEST_IMPORTRECOVERYSENTENCE: 21; | ||
BUTTONREQUEST_SIGNIDENTITY: 22; | ||
BUTTONREQUEST_PING: 23; | ||
BUTTONREQUEST_REMOVEPIN: 24; | ||
BUTTONREQUEST_CHANGEPIN: 25; | ||
BUTTONREQUEST_CREATEPIN: 26; | ||
BUTTONREQUEST_GETENTROPY: 27; | ||
BUTTONREQUEST_SIGNMESSAGE: 28; | ||
BUTTONREQUEST_APPLYPOLICIES: 29; | ||
BUTTONREQUEST_SIGNEXCHANGE: 30; | ||
BUTTONREQUEST_AUTOLOCKDELAYMS: 31; | ||
BUTTONREQUEST_U2FCOUNTER: 32; | ||
BUTTONREQUEST_CONFIRMEOSACTION: 33; | ||
BUTTONREQUEST_CONFIRMEOSBUDGET: 34; | ||
BUTTONREQUEST_CONFIRMMEMO: 35; | ||
} | ||
export enum PinMatrixRequestType { | ||
PINMATRIXREQUESTTYPE_CURRENT = 1, | ||
PINMATRIXREQUESTTYPE_NEWFIRST = 2, | ||
PINMATRIXREQUESTTYPE_NEWSECOND = 3, | ||
export const ButtonRequestType: ButtonRequestTypeMap; | ||
export interface PinMatrixRequestTypeMap { | ||
PINMATRIXREQUESTTYPE_CURRENT: 1; | ||
PINMATRIXREQUESTTYPE_NEWFIRST: 2; | ||
PINMATRIXREQUESTTYPE_NEWSECOND: 3; | ||
} | ||
export const PinMatrixRequestType: PinMatrixRequestTypeMap; | ||
{ | ||
"name": "@keepkey/device-protocol", | ||
"version": "6.2.1", | ||
"version": "6.2.3", | ||
"publishConfig": { | ||
@@ -11,4 +11,4 @@ "access": "public" | ||
"build": "npm run build:js && npm run build:json && npm run build:postprocess", | ||
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto", | ||
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./exchange.proto > ./lib/proto.json", | ||
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto messages-cosmos.proto", | ||
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./messages-cosmos.proto ./exchange.proto > ./lib/proto.json", | ||
"build:postprocess": "find ./lib -name \"*.js\" -exec sed -i '' -e \"s/var global = Function(\\'return this\\')();/var global = (function(){ return this }).call(null);/g\" {} \\;", | ||
@@ -25,3 +25,3 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"protobufjs": "^6.8.8", | ||
"ts-protoc-gen": "^0.9.0" | ||
"ts-protoc-gen": "^0.10.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1292288
17
39228
4