@trezor/protobuf
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -0,1 +1,7 @@ | ||
# 1.0.10 | ||
- fix(protobuf): undefined in messageToJSON (5fa61491e) | ||
- chore(connect): format json after re-generation (350daea70) | ||
- feat(connect): update protobuf (450acf915) | ||
# 1.0.9 | ||
@@ -2,0 +8,0 @@ |
@@ -31,2 +31,5 @@ "use strict"; | ||
function messageToJSON(MessageParam, fields) { | ||
if (!MessageParam) { | ||
return {}; | ||
} | ||
const message = tslib_1.__rest(MessageParam, []); | ||
@@ -33,0 +36,0 @@ const res = {}; |
@@ -144,2 +144,3 @@ /// <reference types="node" /> | ||
root_fingerprint?: number; | ||
descriptor?: string; | ||
}; | ||
@@ -447,3 +448,3 @@ export type GetAddress = { | ||
}; | ||
export type SelfTest = { | ||
export type ProdTestT1 = { | ||
payload?: string; | ||
@@ -1181,3 +1182,4 @@ }; | ||
Capability_PassphraseEntry = 17, | ||
Capability_Solana = 18 | ||
Capability_Solana = 18, | ||
Capability_Translations = 19 | ||
} | ||
@@ -1233,2 +1235,3 @@ export type Capability = keyof typeof Enum_Capability; | ||
bootloader_locked?: boolean; | ||
language_version_matches?: boolean; | ||
}; | ||
@@ -1504,2 +1507,4 @@ export type LockDevice = {}; | ||
}; | ||
export type experimental_message = {}; | ||
export type experimental_field = {}; | ||
export type RippleGetAddress = { | ||
@@ -1815,4 +1820,2 @@ address_n: number[]; | ||
}; | ||
export type experimental_message = {}; | ||
export type experimental_field = {}; | ||
export type MessageType = { | ||
@@ -1877,3 +1880,3 @@ BinanceGetAddress: BinanceGetAddress; | ||
FirmwareUpload: FirmwareUpload; | ||
SelfTest: SelfTest; | ||
ProdTestT1: ProdTestT1; | ||
CardanoBlockchainPointerType: CardanoBlockchainPointerType; | ||
@@ -2044,2 +2047,4 @@ CardanoNativeScript: CardanoNativeScript; | ||
NEMDecryptedMessage: NEMDecryptedMessage; | ||
experimental_message: experimental_message; | ||
experimental_field: experimental_field; | ||
RippleGetAddress: RippleGetAddress; | ||
@@ -2093,4 +2098,2 @@ RippleAddress: RippleAddress; | ||
TezosSignedTx: TezosSignedTx; | ||
experimental_message: experimental_message; | ||
experimental_field: experimental_field; | ||
}; | ||
@@ -2097,0 +2100,0 @@ export type MessageKey = keyof MessageType; |
@@ -262,2 +262,3 @@ "use strict"; | ||
Enum_Capability[Enum_Capability["Capability_Solana"] = 18] = "Capability_Solana"; | ||
Enum_Capability[Enum_Capability["Capability_Translations"] = 19] = "Capability_Translations"; | ||
})(Enum_Capability || (exports.Enum_Capability = Enum_Capability = {})); | ||
@@ -264,0 +265,0 @@ var SdProtectOperationType; |
{ | ||
"name": "@trezor/protobuf", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"license": "See LICENSE.md in repo root", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
1060231
21902