@onekeyfe/hd-web-sdk 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4122,6 +4122,10 @@ const inject = ({
4122
4122
  connectId,
4123
4123
  method: 'deviceUpdateReboot'
4124
4124
  }),
4125
+ deviceVerify: (connectId, params) => call(Object.assign(Object.assign({}, params), {
4126
+ connectId,
4127
+ method: 'deviceVerify'
4128
+ })),
4125
4129
  deviceWipe: connectId => call({
4126
4130
  connectId,
4127
4131
  method: 'deviceWipe'
@@ -4992,6 +4996,18 @@ const getDeviceType = features => {
4992
4996
  return 'classic';
4993
4997
  };
4994
4998
 
4999
+ const getDeviceTypeOnBootloader = features => {
5000
+ if (!features || typeof features !== 'object') {
5001
+ return 'classic';
5002
+ }
5003
+
5004
+ if (features.model === 'T') {
5005
+ return 'touch';
5006
+ }
5007
+
5008
+ return getDeviceType(features);
5009
+ };
5010
+
4995
5011
  const getDeviceTypeByBleName = name => {
4996
5012
  if (!name) return 'classic';
4997
5013
  if (name.startsWith('MI')) return 'mini';
@@ -14508,7 +14524,7 @@ class Device extends events.exports {
14508
14524
  return {
14509
14525
  connectId: env === 'react-native' ? this.mainId || null : getDeviceUUID(this.features),
14510
14526
  uuid: getDeviceUUID(this.features),
14511
- deviceType: getDeviceType(this.features),
14527
+ deviceType: this.features.bootloader_mode ? getDeviceTypeOnBootloader(this.features) : getDeviceType(this.features),
14512
14528
  deviceId: this.features.device_id || null,
14513
14529
  path: this.originalDescriptor.path,
14514
14530
  name: this.features.ble_name || this.features.label || `OneKey ${getDeviceType(this.features).toUpperCase()}`,
@@ -16568,6 +16584,43 @@ class DeviceUpdateReboot extends BaseMethod {
16568
16584
 
16569
16585
  }
16570
16586
 
16587
+ class DeviceVerify extends BaseMethod {
16588
+ init() {
16589
+ validateParams(this.payload, [{
16590
+ name: 'dataHex',
16591
+ type: 'hexString'
16592
+ }]);
16593
+ this.params = {
16594
+ data: formatAnyHex(this.payload.dataHex)
16595
+ };
16596
+ }
16597
+
16598
+ run() {
16599
+ return __awaiter(this, void 0, void 0, function* () {
16600
+ const deviceType = getDeviceType(this.device.features);
16601
+ let response;
16602
+
16603
+ if (deviceType === 'classic') {
16604
+ const res = yield this.device.commands.typedCall('BixinVerifyDeviceRequest', 'BixinVerifyDeviceAck', Object.assign({}, this.params));
16605
+ response = res.message;
16606
+ } else if (deviceType === 'mini') {
16607
+ const signatureRes = yield this.device.commands.typedCall('SESignMessage', 'SEMessageSignature', {
16608
+ message: this.params.data
16609
+ });
16610
+ const certRes = yield this.device.commands.typedCall('ReadSEPublicCert', 'SEPublicCert');
16611
+ response = {
16612
+ cert: certRes.message.public_cert,
16613
+ signature: signatureRes.message.signature
16614
+ };
16615
+ }
16616
+
16617
+ if (response) return Promise.resolve(response);
16618
+ return Promise.reject(hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, 'Device not support verify'));
16619
+ });
16620
+ }
16621
+
16622
+ }
16623
+
16571
16624
  class DeviceWipe extends BaseMethod {
16572
16625
  init() {}
16573
16626
 
@@ -16990,6 +17043,147 @@ class EVMSignTransaction extends BaseMethod {
16990
17043
 
16991
17044
  }
16992
17045
 
17046
+ const twosComplement = (number, bytes) => {
17047
+ if (bytes < 1 || bytes > 32) {
17048
+ throw hdShared.ERRORS.TypedError('Runtime', 'Int byte size must be between 1 and 32 (8 and 256 bits)');
17049
+ }
17050
+
17051
+ const minValue = new BigNumber__default["default"](2).exponentiatedBy(bytes * 8 - 1).negated();
17052
+ const maxValue = minValue.negated().minus(1);
17053
+ const bigNumber = new BigNumber__default["default"](number);
17054
+
17055
+ if (bigNumber.isGreaterThan(maxValue) || bigNumber.isLessThan(minValue)) {
17056
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Overflow when trying to convert number ${number.toString()} into ${bytes} bytes`);
17057
+ }
17058
+
17059
+ if (bigNumber.isPositive()) {
17060
+ return bigNumber;
17061
+ }
17062
+
17063
+ return bigNumber.minus(minValue).minus(minValue);
17064
+ };
17065
+
17066
+ const intToHex = (number, bytes, signed) => {
17067
+ let bigNumber = new BigNumber__default["default"](number);
17068
+
17069
+ if (signed) {
17070
+ bigNumber = twosComplement(bigNumber, bytes);
17071
+ }
17072
+
17073
+ if (bigNumber.isNegative()) {
17074
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Cannot convert negative number to unsigned interger: ${number.toString()}`);
17075
+ }
17076
+
17077
+ const hex = bigNumber.toString(16);
17078
+ const hexChars = bytes * 2;
17079
+
17080
+ if (hex.length > hexChars) {
17081
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Overflow when trying to convert number ${number.toString()} into ${bytes} bytes`);
17082
+ }
17083
+
17084
+ return hex.padStart(bytes * 2, '0');
17085
+ };
17086
+
17087
+ const paramTypeArray = new RegExp(/^(.*)\[([0-9]*)\]$/);
17088
+ const paramTypeBytes = new RegExp(/^bytes([0-9]*)$/);
17089
+ const paramTypeNumber = new RegExp(/^(u?int)([0-9]*)$/);
17090
+
17091
+ const parseArrayType = arrayTypeName => {
17092
+ const arrayMatch = paramTypeArray.exec(arrayTypeName);
17093
+
17094
+ if (arrayMatch === null) {
17095
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `typename ${arrayTypeName} could not be parsed as an EIP-712 array`);
17096
+ }
17097
+
17098
+ const [_, entryTypeName, arraySize] = arrayMatch;
17099
+ return {
17100
+ entryTypeName,
17101
+ arraySize: parseInt(arraySize, 10) || null
17102
+ };
17103
+ };
17104
+
17105
+ const encodeData = (typeName, data) => {
17106
+ if (paramTypeBytes.test(typeName) || typeName === 'address') {
17107
+ return formatAnyHex(data);
17108
+ }
17109
+
17110
+ if (typeName === 'string') {
17111
+ return Buffer.from(data, 'utf-8').toString('hex');
17112
+ }
17113
+
17114
+ const numberMatch = paramTypeNumber.exec(typeName);
17115
+
17116
+ if (numberMatch) {
17117
+ const [_, intType, bits] = numberMatch;
17118
+ const bytes = Math.ceil(parseInt(bits, 10) / 8);
17119
+ return intToHex(data, bytes, intType === 'int');
17120
+ }
17121
+
17122
+ if (typeName === 'bool') {
17123
+ return data ? '01' : '00';
17124
+ }
17125
+
17126
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `Unsupported data type for direct field encoding: ${typeName}`);
17127
+ };
17128
+
17129
+ const paramTypesMap = {
17130
+ string: hdTransport.EthereumDataType.STRING,
17131
+ bool: hdTransport.EthereumDataType.BOOL,
17132
+ address: hdTransport.EthereumDataType.ADDRESS
17133
+ };
17134
+
17135
+ const getFieldType = (typeName, types) => {
17136
+ const arrayMatch = paramTypeArray.exec(typeName);
17137
+
17138
+ if (arrayMatch) {
17139
+ const [_, arrayItemTypeName, arraySize] = arrayMatch;
17140
+ const entryType = getFieldType(arrayItemTypeName, types);
17141
+ return {
17142
+ data_type: hdTransport.EthereumDataType.ARRAY,
17143
+ size: parseInt(arraySize, 10) || undefined,
17144
+ entry_type: entryType
17145
+ };
17146
+ }
17147
+
17148
+ const numberMatch = paramTypeNumber.exec(typeName);
17149
+
17150
+ if (numberMatch) {
17151
+ const [_, type, bits] = numberMatch;
17152
+ return {
17153
+ data_type: type === 'uint' ? hdTransport.EthereumDataType.UINT : hdTransport.EthereumDataType.INT,
17154
+ size: Math.floor(parseInt(bits, 10) / 8)
17155
+ };
17156
+ }
17157
+
17158
+ const bytesMatch = paramTypeBytes.exec(typeName);
17159
+
17160
+ if (bytesMatch) {
17161
+ const [_, size] = bytesMatch;
17162
+ return {
17163
+ data_type: hdTransport.EthereumDataType.BYTES,
17164
+ size: parseInt(size, 10) || undefined
17165
+ };
17166
+ }
17167
+
17168
+ const fixedSizeTypeMatch = paramTypesMap[typeName];
17169
+
17170
+ if (fixedSizeTypeMatch) {
17171
+ return {
17172
+ data_type: fixedSizeTypeMatch
17173
+ };
17174
+ }
17175
+
17176
+ if (typeName in types) {
17177
+ return {
17178
+ data_type: hdTransport.EthereumDataType.STRUCT,
17179
+ size: types[typeName].length,
17180
+ struct_name: typeName
17181
+ };
17182
+ }
17183
+
17184
+ throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.RuntimeError, `No type definition specified: ${typeName}`);
17185
+ };
17186
+
16993
17187
  class EVMSignTypedData extends BaseMethod {
16994
17188
  init() {
16995
17189
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.INITIALIZE];
@@ -17034,6 +17228,112 @@ class EVMSignTypedData extends BaseMethod {
17034
17228
  }
17035
17229
  }
17036
17230
 
17231
+ signTypedData() {
17232
+ return __awaiter(this, void 0, void 0, function* () {
17233
+ const {
17234
+ commands
17235
+ } = this.device;
17236
+ const {
17237
+ addressN,
17238
+ data,
17239
+ metamaskV4Compat
17240
+ } = this.params;
17241
+ const {
17242
+ types,
17243
+ primaryType,
17244
+ domain,
17245
+ message
17246
+ } = data;
17247
+ let response = yield commands.typedCall('EthereumSignTypedData', ['EthereumTypedDataStructRequest', 'EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], {
17248
+ address_n: addressN,
17249
+ primary_type: primaryType,
17250
+ metamask_v4_compat: metamaskV4Compat
17251
+ });
17252
+
17253
+ while (response.type === 'EthereumTypedDataStructRequest') {
17254
+ const {
17255
+ name: typeDefinitionName
17256
+ } = response.message;
17257
+ const typeDefinition = types[typeDefinitionName];
17258
+
17259
+ if (typeDefinition === undefined) {
17260
+ throw hdShared.ERRORS.TypedError('Runtime', `Type ${typeDefinitionName} was not defined in types object`);
17261
+ }
17262
+
17263
+ const dataStruckAck = {
17264
+ members: typeDefinition.map(({
17265
+ name,
17266
+ type: typeName
17267
+ }) => ({
17268
+ name,
17269
+ type: getFieldType(typeName, types)
17270
+ }))
17271
+ };
17272
+ response = yield commands.typedCall('EthereumTypedDataStructAck', ['EthereumTypedDataStructRequest', 'EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], dataStruckAck);
17273
+ }
17274
+
17275
+ while (response.type === 'EthereumTypedDataValueRequest') {
17276
+ const {
17277
+ member_path
17278
+ } = response.message;
17279
+ let memberData;
17280
+ let memberTypeName;
17281
+ const [rootIndex, ...nestedMemberPath] = member_path;
17282
+
17283
+ switch (rootIndex) {
17284
+ case 0:
17285
+ memberData = domain;
17286
+ memberTypeName = 'EIP712Domain';
17287
+ break;
17288
+
17289
+ case 1:
17290
+ memberData = message;
17291
+ memberTypeName = primaryType;
17292
+ break;
17293
+
17294
+ default:
17295
+ throw hdShared.ERRORS.TypedError('Runtime', 'Root index can only be 0 or 1');
17296
+ }
17297
+
17298
+ for (const index of nestedMemberPath) {
17299
+ if (Array.isArray(memberData)) {
17300
+ memberTypeName = parseArrayType(memberTypeName).entryTypeName;
17301
+ memberData = memberData[index];
17302
+ } else if (typeof memberData === 'object' && memberData !== null) {
17303
+ const memberTypeDefinition = types[memberTypeName][index];
17304
+ memberTypeName = memberTypeDefinition.type;
17305
+ memberData = memberData[memberTypeDefinition.name];
17306
+ } else ;
17307
+ }
17308
+
17309
+ let encodedData;
17310
+
17311
+ if (Array.isArray(memberData)) {
17312
+ encodedData = encodeData('uint16', memberData.length);
17313
+ } else {
17314
+ encodedData = encodeData(memberTypeName, memberData);
17315
+ }
17316
+
17317
+ response = yield commands.typedCall('EthereumTypedDataValueAck', ['EthereumTypedDataValueRequest', 'EthereumTypedDataSignature'], {
17318
+ value: encodedData
17319
+ });
17320
+ }
17321
+
17322
+ if (response.type !== 'EthereumTypedDataSignature') {
17323
+ throw hdShared.ERRORS.TypedError('Runtime', 'Unexpected response type');
17324
+ }
17325
+
17326
+ const {
17327
+ address,
17328
+ signature
17329
+ } = response.message;
17330
+ return {
17331
+ address,
17332
+ signature
17333
+ };
17334
+ });
17335
+ }
17336
+
17037
17337
  getVersionRange() {
17038
17338
  return {
17039
17339
  model_mini: {
@@ -17101,7 +17401,7 @@ class EVMSignTypedData extends BaseMethod {
17101
17401
  return Promise.resolve(response.message);
17102
17402
  }
17103
17403
 
17104
- return Promise.resolve(hdShared.ERRORS.TypedError('Runtime', 'Not implemented'));
17404
+ return this.signTypedData();
17105
17405
  });
17106
17406
  }
17107
17407
 
@@ -18280,6 +18580,7 @@ var ApiMethods = /*#__PURE__*/Object.freeze({
18280
18580
  deviceReset: DeviceReset,
18281
18581
  deviceSettings: DeviceSettings,
18282
18582
  deviceUpdateReboot: DeviceUpdateReboot,
18583
+ deviceVerify: DeviceVerify,
18283
18584
  deviceWipe: DeviceWipe,
18284
18585
  evmGetAddress: EvmGetAddress,
18285
18586
  evmGetPublicKey: EVMGetPublicKey,
@@ -19408,33 +19709,33 @@ var check = /*#__PURE__*/Object.freeze({
19408
19709
  acquire: acquire,
19409
19710
  call: call
19410
19711
  });
19411
- var BinanceOrderType;
19712
+ exports.BinanceOrderType = void 0;
19412
19713
 
19413
19714
  (function (BinanceOrderType) {
19414
19715
  BinanceOrderType[BinanceOrderType["OT_UNKNOWN"] = 0] = "OT_UNKNOWN";
19415
19716
  BinanceOrderType[BinanceOrderType["MARKET"] = 1] = "MARKET";
19416
19717
  BinanceOrderType[BinanceOrderType["LIMIT"] = 2] = "LIMIT";
19417
19718
  BinanceOrderType[BinanceOrderType["OT_RESERVED"] = 3] = "OT_RESERVED";
19418
- })(BinanceOrderType || (BinanceOrderType = {}));
19719
+ })(exports.BinanceOrderType || (exports.BinanceOrderType = {}));
19419
19720
 
19420
- var BinanceOrderSide;
19721
+ exports.BinanceOrderSide = void 0;
19421
19722
 
19422
19723
  (function (BinanceOrderSide) {
19423
19724
  BinanceOrderSide[BinanceOrderSide["SIDE_UNKNOWN"] = 0] = "SIDE_UNKNOWN";
19424
19725
  BinanceOrderSide[BinanceOrderSide["BUY"] = 1] = "BUY";
19425
19726
  BinanceOrderSide[BinanceOrderSide["SELL"] = 2] = "SELL";
19426
- })(BinanceOrderSide || (BinanceOrderSide = {}));
19727
+ })(exports.BinanceOrderSide || (exports.BinanceOrderSide = {}));
19427
19728
 
19428
- var BinanceTimeInForce;
19729
+ exports.BinanceTimeInForce = void 0;
19429
19730
 
19430
19731
  (function (BinanceTimeInForce) {
19431
19732
  BinanceTimeInForce[BinanceTimeInForce["TIF_UNKNOWN"] = 0] = "TIF_UNKNOWN";
19432
19733
  BinanceTimeInForce[BinanceTimeInForce["GTE"] = 1] = "GTE";
19433
19734
  BinanceTimeInForce[BinanceTimeInForce["TIF_RESERVED"] = 2] = "TIF_RESERVED";
19434
19735
  BinanceTimeInForce[BinanceTimeInForce["IOC"] = 3] = "IOC";
19435
- })(BinanceTimeInForce || (BinanceTimeInForce = {}));
19736
+ })(exports.BinanceTimeInForce || (exports.BinanceTimeInForce = {}));
19436
19737
 
19437
- var Enum_InputScriptType;
19738
+ exports.Enum_InputScriptType = void 0;
19438
19739
 
19439
19740
  (function (Enum_InputScriptType) {
19440
19741
  Enum_InputScriptType[Enum_InputScriptType["SPENDADDRESS"] = 0] = "SPENDADDRESS";
@@ -19443,9 +19744,9 @@ var Enum_InputScriptType;
19443
19744
  Enum_InputScriptType[Enum_InputScriptType["SPENDWITNESS"] = 3] = "SPENDWITNESS";
19444
19745
  Enum_InputScriptType[Enum_InputScriptType["SPENDP2SHWITNESS"] = 4] = "SPENDP2SHWITNESS";
19445
19746
  Enum_InputScriptType[Enum_InputScriptType["SPENDTAPROOT"] = 5] = "SPENDTAPROOT";
19446
- })(Enum_InputScriptType || (Enum_InputScriptType = {}));
19747
+ })(exports.Enum_InputScriptType || (exports.Enum_InputScriptType = {}));
19447
19748
 
19448
- var Enum_OutputScriptType;
19749
+ exports.Enum_OutputScriptType = void 0;
19449
19750
 
19450
19751
  (function (Enum_OutputScriptType) {
19451
19752
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOADDRESS"] = 0] = "PAYTOADDRESS";
@@ -19455,25 +19756,25 @@ var Enum_OutputScriptType;
19455
19756
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOWITNESS"] = 4] = "PAYTOWITNESS";
19456
19757
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOP2SHWITNESS"] = 5] = "PAYTOP2SHWITNESS";
19457
19758
  Enum_OutputScriptType[Enum_OutputScriptType["PAYTOTAPROOT"] = 6] = "PAYTOTAPROOT";
19458
- })(Enum_OutputScriptType || (Enum_OutputScriptType = {}));
19759
+ })(exports.Enum_OutputScriptType || (exports.Enum_OutputScriptType = {}));
19459
19760
 
19460
- var DecredStakingSpendType;
19761
+ exports.DecredStakingSpendType = void 0;
19461
19762
 
19462
19763
  (function (DecredStakingSpendType) {
19463
19764
  DecredStakingSpendType[DecredStakingSpendType["SSGen"] = 0] = "SSGen";
19464
19765
  DecredStakingSpendType[DecredStakingSpendType["SSRTX"] = 1] = "SSRTX";
19465
- })(DecredStakingSpendType || (DecredStakingSpendType = {}));
19766
+ })(exports.DecredStakingSpendType || (exports.DecredStakingSpendType = {}));
19466
19767
 
19467
- var AmountUnit;
19768
+ exports.AmountUnit = void 0;
19468
19769
 
19469
19770
  (function (AmountUnit) {
19470
19771
  AmountUnit[AmountUnit["BITCOIN"] = 0] = "BITCOIN";
19471
19772
  AmountUnit[AmountUnit["MILLIBITCOIN"] = 1] = "MILLIBITCOIN";
19472
19773
  AmountUnit[AmountUnit["MICROBITCOIN"] = 2] = "MICROBITCOIN";
19473
19774
  AmountUnit[AmountUnit["SATOSHI"] = 3] = "SATOSHI";
19474
- })(AmountUnit || (AmountUnit = {}));
19775
+ })(exports.AmountUnit || (exports.AmountUnit = {}));
19475
19776
 
19476
- var Enum_RequestType;
19777
+ exports.Enum_RequestType = void 0;
19477
19778
 
19478
19779
  (function (Enum_RequestType) {
19479
19780
  Enum_RequestType[Enum_RequestType["TXINPUT"] = 0] = "TXINPUT";
@@ -19484,17 +19785,17 @@ var Enum_RequestType;
19484
19785
  Enum_RequestType[Enum_RequestType["TXORIGINPUT"] = 5] = "TXORIGINPUT";
19485
19786
  Enum_RequestType[Enum_RequestType["TXORIGOUTPUT"] = 6] = "TXORIGOUTPUT";
19486
19787
  Enum_RequestType[Enum_RequestType["TXPAYMENTREQ"] = 7] = "TXPAYMENTREQ";
19487
- })(Enum_RequestType || (Enum_RequestType = {}));
19788
+ })(exports.Enum_RequestType || (exports.Enum_RequestType = {}));
19488
19789
 
19489
- var CardanoDerivationType;
19790
+ exports.CardanoDerivationType = void 0;
19490
19791
 
19491
19792
  (function (CardanoDerivationType) {
19492
19793
  CardanoDerivationType[CardanoDerivationType["LEDGER"] = 0] = "LEDGER";
19493
19794
  CardanoDerivationType[CardanoDerivationType["ICARUS"] = 1] = "ICARUS";
19494
19795
  CardanoDerivationType[CardanoDerivationType["ICARUS_TREZOR"] = 2] = "ICARUS_TREZOR";
19495
- })(CardanoDerivationType || (CardanoDerivationType = {}));
19796
+ })(exports.CardanoDerivationType || (exports.CardanoDerivationType = {}));
19496
19797
 
19497
- var CardanoAddressType;
19798
+ exports.CardanoAddressType = void 0;
19498
19799
 
19499
19800
  (function (CardanoAddressType) {
19500
19801
  CardanoAddressType[CardanoAddressType["BASE"] = 0] = "BASE";
@@ -19508,9 +19809,9 @@ var CardanoAddressType;
19508
19809
  CardanoAddressType[CardanoAddressType["BYRON"] = 8] = "BYRON";
19509
19810
  CardanoAddressType[CardanoAddressType["REWARD"] = 14] = "REWARD";
19510
19811
  CardanoAddressType[CardanoAddressType["REWARD_SCRIPT"] = 15] = "REWARD_SCRIPT";
19511
- })(CardanoAddressType || (CardanoAddressType = {}));
19812
+ })(exports.CardanoAddressType || (exports.CardanoAddressType = {}));
19512
19813
 
19513
- var CardanoNativeScriptType;
19814
+ exports.CardanoNativeScriptType = void 0;
19514
19815
 
19515
19816
  (function (CardanoNativeScriptType) {
19516
19817
  CardanoNativeScriptType[CardanoNativeScriptType["PUB_KEY"] = 0] = "PUB_KEY";
@@ -19519,57 +19820,57 @@ var CardanoNativeScriptType;
19519
19820
  CardanoNativeScriptType[CardanoNativeScriptType["N_OF_K"] = 3] = "N_OF_K";
19520
19821
  CardanoNativeScriptType[CardanoNativeScriptType["INVALID_BEFORE"] = 4] = "INVALID_BEFORE";
19521
19822
  CardanoNativeScriptType[CardanoNativeScriptType["INVALID_HEREAFTER"] = 5] = "INVALID_HEREAFTER";
19522
- })(CardanoNativeScriptType || (CardanoNativeScriptType = {}));
19823
+ })(exports.CardanoNativeScriptType || (exports.CardanoNativeScriptType = {}));
19523
19824
 
19524
- var CardanoNativeScriptHashDisplayFormat;
19825
+ exports.CardanoNativeScriptHashDisplayFormat = void 0;
19525
19826
 
19526
19827
  (function (CardanoNativeScriptHashDisplayFormat) {
19527
19828
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["HIDE"] = 0] = "HIDE";
19528
19829
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["BECH32"] = 1] = "BECH32";
19529
19830
  CardanoNativeScriptHashDisplayFormat[CardanoNativeScriptHashDisplayFormat["POLICY_ID"] = 2] = "POLICY_ID";
19530
- })(CardanoNativeScriptHashDisplayFormat || (CardanoNativeScriptHashDisplayFormat = {}));
19831
+ })(exports.CardanoNativeScriptHashDisplayFormat || (exports.CardanoNativeScriptHashDisplayFormat = {}));
19531
19832
 
19532
- var CardanoCertificateType;
19833
+ exports.CardanoCertificateType = void 0;
19533
19834
 
19534
19835
  (function (CardanoCertificateType) {
19535
19836
  CardanoCertificateType[CardanoCertificateType["STAKE_REGISTRATION"] = 0] = "STAKE_REGISTRATION";
19536
19837
  CardanoCertificateType[CardanoCertificateType["STAKE_DEREGISTRATION"] = 1] = "STAKE_DEREGISTRATION";
19537
19838
  CardanoCertificateType[CardanoCertificateType["STAKE_DELEGATION"] = 2] = "STAKE_DELEGATION";
19538
19839
  CardanoCertificateType[CardanoCertificateType["STAKE_POOL_REGISTRATION"] = 3] = "STAKE_POOL_REGISTRATION";
19539
- })(CardanoCertificateType || (CardanoCertificateType = {}));
19840
+ })(exports.CardanoCertificateType || (exports.CardanoCertificateType = {}));
19540
19841
 
19541
- var CardanoPoolRelayType;
19842
+ exports.CardanoPoolRelayType = void 0;
19542
19843
 
19543
19844
  (function (CardanoPoolRelayType) {
19544
19845
  CardanoPoolRelayType[CardanoPoolRelayType["SINGLE_HOST_IP"] = 0] = "SINGLE_HOST_IP";
19545
19846
  CardanoPoolRelayType[CardanoPoolRelayType["SINGLE_HOST_NAME"] = 1] = "SINGLE_HOST_NAME";
19546
19847
  CardanoPoolRelayType[CardanoPoolRelayType["MULTIPLE_HOST_NAME"] = 2] = "MULTIPLE_HOST_NAME";
19547
- })(CardanoPoolRelayType || (CardanoPoolRelayType = {}));
19848
+ })(exports.CardanoPoolRelayType || (exports.CardanoPoolRelayType = {}));
19548
19849
 
19549
- var CardanoTxAuxiliaryDataSupplementType;
19850
+ exports.CardanoTxAuxiliaryDataSupplementType = void 0;
19550
19851
 
19551
19852
  (function (CardanoTxAuxiliaryDataSupplementType) {
19552
19853
  CardanoTxAuxiliaryDataSupplementType[CardanoTxAuxiliaryDataSupplementType["NONE"] = 0] = "NONE";
19553
19854
  CardanoTxAuxiliaryDataSupplementType[CardanoTxAuxiliaryDataSupplementType["CATALYST_REGISTRATION_SIGNATURE"] = 1] = "CATALYST_REGISTRATION_SIGNATURE";
19554
- })(CardanoTxAuxiliaryDataSupplementType || (CardanoTxAuxiliaryDataSupplementType = {}));
19855
+ })(exports.CardanoTxAuxiliaryDataSupplementType || (exports.CardanoTxAuxiliaryDataSupplementType = {}));
19555
19856
 
19556
- var CardanoTxSigningMode;
19857
+ exports.CardanoTxSigningMode = void 0;
19557
19858
 
19558
19859
  (function (CardanoTxSigningMode) {
19559
19860
  CardanoTxSigningMode[CardanoTxSigningMode["ORDINARY_TRANSACTION"] = 0] = "ORDINARY_TRANSACTION";
19560
19861
  CardanoTxSigningMode[CardanoTxSigningMode["POOL_REGISTRATION_AS_OWNER"] = 1] = "POOL_REGISTRATION_AS_OWNER";
19561
19862
  CardanoTxSigningMode[CardanoTxSigningMode["MULTISIG_TRANSACTION"] = 2] = "MULTISIG_TRANSACTION";
19562
19863
  CardanoTxSigningMode[CardanoTxSigningMode["PLUTUS_TRANSACTION"] = 3] = "PLUTUS_TRANSACTION";
19563
- })(CardanoTxSigningMode || (CardanoTxSigningMode = {}));
19864
+ })(exports.CardanoTxSigningMode || (exports.CardanoTxSigningMode = {}));
19564
19865
 
19565
- var CardanoTxWitnessType;
19866
+ exports.CardanoTxWitnessType = void 0;
19566
19867
 
19567
19868
  (function (CardanoTxWitnessType) {
19568
19869
  CardanoTxWitnessType[CardanoTxWitnessType["BYRON_WITNESS"] = 0] = "BYRON_WITNESS";
19569
19870
  CardanoTxWitnessType[CardanoTxWitnessType["SHELLEY_WITNESS"] = 1] = "SHELLEY_WITNESS";
19570
- })(CardanoTxWitnessType || (CardanoTxWitnessType = {}));
19871
+ })(exports.CardanoTxWitnessType || (exports.CardanoTxWitnessType = {}));
19571
19872
 
19572
- var FailureType;
19873
+ exports.FailureType = void 0;
19573
19874
 
19574
19875
  (function (FailureType) {
19575
19876
  FailureType[FailureType["Failure_UnexpectedMessage"] = 1] = "Failure_UnexpectedMessage";
@@ -19587,9 +19888,9 @@ var FailureType;
19587
19888
  FailureType[FailureType["Failure_WipeCodeMismatch"] = 13] = "Failure_WipeCodeMismatch";
19588
19889
  FailureType[FailureType["Failure_InvalidSession"] = 14] = "Failure_InvalidSession";
19589
19890
  FailureType[FailureType["Failure_FirmwareError"] = 99] = "Failure_FirmwareError";
19590
- })(FailureType || (FailureType = {}));
19891
+ })(exports.FailureType || (exports.FailureType = {}));
19591
19892
 
19592
- var Enum_ButtonRequestType;
19893
+ exports.Enum_ButtonRequestType = void 0;
19593
19894
 
19594
19895
  (function (Enum_ButtonRequestType) {
19595
19896
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_Other"] = 1] = "ButtonRequest_Other";
@@ -19612,9 +19913,9 @@ var Enum_ButtonRequestType;
19612
19913
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_Warning"] = 18] = "ButtonRequest_Warning";
19613
19914
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_PassphraseEntry"] = 19] = "ButtonRequest_PassphraseEntry";
19614
19915
  Enum_ButtonRequestType[Enum_ButtonRequestType["ButtonRequest_PinEntry"] = 20] = "ButtonRequest_PinEntry";
19615
- })(Enum_ButtonRequestType || (Enum_ButtonRequestType = {}));
19916
+ })(exports.Enum_ButtonRequestType || (exports.Enum_ButtonRequestType = {}));
19616
19917
 
19617
- var Enum_PinMatrixRequestType;
19918
+ exports.Enum_PinMatrixRequestType = void 0;
19618
19919
 
19619
19920
  (function (Enum_PinMatrixRequestType) {
19620
19921
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_Current"] = 1] = "PinMatrixRequestType_Current";
@@ -19622,17 +19923,17 @@ var Enum_PinMatrixRequestType;
19622
19923
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_NewSecond"] = 3] = "PinMatrixRequestType_NewSecond";
19623
19924
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_WipeCodeFirst"] = 4] = "PinMatrixRequestType_WipeCodeFirst";
19624
19925
  Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_WipeCodeSecond"] = 5] = "PinMatrixRequestType_WipeCodeSecond";
19625
- })(Enum_PinMatrixRequestType || (Enum_PinMatrixRequestType = {}));
19926
+ })(exports.Enum_PinMatrixRequestType || (exports.Enum_PinMatrixRequestType = {}));
19626
19927
 
19627
- var DebugButton;
19928
+ exports.DebugButton = void 0;
19628
19929
 
19629
19930
  (function (DebugButton) {
19630
19931
  DebugButton[DebugButton["NO"] = 0] = "NO";
19631
19932
  DebugButton[DebugButton["YES"] = 1] = "YES";
19632
19933
  DebugButton[DebugButton["INFO"] = 2] = "INFO";
19633
- })(DebugButton || (DebugButton = {}));
19934
+ })(exports.DebugButton || (exports.DebugButton = {}));
19634
19935
 
19635
- var EthereumDataType;
19936
+ exports.EthereumDataType = void 0;
19636
19937
 
19637
19938
  (function (EthereumDataType) {
19638
19939
  EthereumDataType[EthereumDataType["UINT"] = 1] = "UINT";
@@ -19643,25 +19944,25 @@ var EthereumDataType;
19643
19944
  EthereumDataType[EthereumDataType["ADDRESS"] = 6] = "ADDRESS";
19644
19945
  EthereumDataType[EthereumDataType["ARRAY"] = 7] = "ARRAY";
19645
19946
  EthereumDataType[EthereumDataType["STRUCT"] = 8] = "STRUCT";
19646
- })(EthereumDataType || (EthereumDataType = {}));
19947
+ })(exports.EthereumDataType || (exports.EthereumDataType = {}));
19647
19948
 
19648
- var Enum_BackupType;
19949
+ exports.Enum_BackupType = void 0;
19649
19950
 
19650
19951
  (function (Enum_BackupType) {
19651
19952
  Enum_BackupType[Enum_BackupType["Bip39"] = 0] = "Bip39";
19652
19953
  Enum_BackupType[Enum_BackupType["Slip39_Basic"] = 1] = "Slip39_Basic";
19653
19954
  Enum_BackupType[Enum_BackupType["Slip39_Advanced"] = 2] = "Slip39_Advanced";
19654
- })(Enum_BackupType || (Enum_BackupType = {}));
19955
+ })(exports.Enum_BackupType || (exports.Enum_BackupType = {}));
19655
19956
 
19656
- var Enum_SafetyCheckLevel;
19957
+ exports.Enum_SafetyCheckLevel = void 0;
19657
19958
 
19658
19959
  (function (Enum_SafetyCheckLevel) {
19659
19960
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["Strict"] = 0] = "Strict";
19660
19961
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["PromptAlways"] = 1] = "PromptAlways";
19661
19962
  Enum_SafetyCheckLevel[Enum_SafetyCheckLevel["PromptTemporarily"] = 2] = "PromptTemporarily";
19662
- })(Enum_SafetyCheckLevel || (Enum_SafetyCheckLevel = {}));
19963
+ })(exports.Enum_SafetyCheckLevel || (exports.Enum_SafetyCheckLevel = {}));
19663
19964
 
19664
- var Enum_Capability;
19965
+ exports.Enum_Capability = void 0;
19665
19966
 
19666
19967
  (function (Enum_Capability) {
19667
19968
  Enum_Capability[Enum_Capability["Capability_Bitcoin"] = 1] = "Capability_Bitcoin";
@@ -19681,68 +19982,68 @@ var Enum_Capability;
19681
19982
  Enum_Capability[Enum_Capability["Capability_Shamir"] = 15] = "Capability_Shamir";
19682
19983
  Enum_Capability[Enum_Capability["Capability_ShamirGroups"] = 16] = "Capability_ShamirGroups";
19683
19984
  Enum_Capability[Enum_Capability["Capability_PassphraseEntry"] = 17] = "Capability_PassphraseEntry";
19684
- })(Enum_Capability || (Enum_Capability = {}));
19985
+ })(exports.Enum_Capability || (exports.Enum_Capability = {}));
19685
19986
 
19686
- var SdProtectOperationType;
19987
+ exports.SdProtectOperationType = void 0;
19687
19988
 
19688
19989
  (function (SdProtectOperationType) {
19689
19990
  SdProtectOperationType[SdProtectOperationType["DISABLE"] = 0] = "DISABLE";
19690
19991
  SdProtectOperationType[SdProtectOperationType["ENABLE"] = 1] = "ENABLE";
19691
19992
  SdProtectOperationType[SdProtectOperationType["REFRESH"] = 2] = "REFRESH";
19692
- })(SdProtectOperationType || (SdProtectOperationType = {}));
19993
+ })(exports.SdProtectOperationType || (exports.SdProtectOperationType = {}));
19693
19994
 
19694
- var RecoveryDeviceType;
19995
+ exports.RecoveryDeviceType = void 0;
19695
19996
 
19696
19997
  (function (RecoveryDeviceType) {
19697
19998
  RecoveryDeviceType[RecoveryDeviceType["RecoveryDeviceType_ScrambledWords"] = 0] = "RecoveryDeviceType_ScrambledWords";
19698
19999
  RecoveryDeviceType[RecoveryDeviceType["RecoveryDeviceType_Matrix"] = 1] = "RecoveryDeviceType_Matrix";
19699
- })(RecoveryDeviceType || (RecoveryDeviceType = {}));
20000
+ })(exports.RecoveryDeviceType || (exports.RecoveryDeviceType = {}));
19700
20001
 
19701
- var Enum_WordRequestType;
20002
+ exports.Enum_WordRequestType = void 0;
19702
20003
 
19703
20004
  (function (Enum_WordRequestType) {
19704
20005
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Plain"] = 0] = "WordRequestType_Plain";
19705
20006
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Matrix9"] = 1] = "WordRequestType_Matrix9";
19706
20007
  Enum_WordRequestType[Enum_WordRequestType["WordRequestType_Matrix6"] = 2] = "WordRequestType_Matrix6";
19707
- })(Enum_WordRequestType || (Enum_WordRequestType = {}));
20008
+ })(exports.Enum_WordRequestType || (exports.Enum_WordRequestType = {}));
19708
20009
 
19709
- var NEMMosaicLevy;
20010
+ exports.NEMMosaicLevy = void 0;
19710
20011
 
19711
20012
  (function (NEMMosaicLevy) {
19712
20013
  NEMMosaicLevy[NEMMosaicLevy["MosaicLevy_Absolute"] = 1] = "MosaicLevy_Absolute";
19713
20014
  NEMMosaicLevy[NEMMosaicLevy["MosaicLevy_Percentile"] = 2] = "MosaicLevy_Percentile";
19714
- })(NEMMosaicLevy || (NEMMosaicLevy = {}));
20015
+ })(exports.NEMMosaicLevy || (exports.NEMMosaicLevy = {}));
19715
20016
 
19716
- var NEMSupplyChangeType;
20017
+ exports.NEMSupplyChangeType = void 0;
19717
20018
 
19718
20019
  (function (NEMSupplyChangeType) {
19719
20020
  NEMSupplyChangeType[NEMSupplyChangeType["SupplyChange_Increase"] = 1] = "SupplyChange_Increase";
19720
20021
  NEMSupplyChangeType[NEMSupplyChangeType["SupplyChange_Decrease"] = 2] = "SupplyChange_Decrease";
19721
- })(NEMSupplyChangeType || (NEMSupplyChangeType = {}));
20022
+ })(exports.NEMSupplyChangeType || (exports.NEMSupplyChangeType = {}));
19722
20023
 
19723
- var NEMModificationType;
20024
+ exports.NEMModificationType = void 0;
19724
20025
 
19725
20026
  (function (NEMModificationType) {
19726
20027
  NEMModificationType[NEMModificationType["CosignatoryModification_Add"] = 1] = "CosignatoryModification_Add";
19727
20028
  NEMModificationType[NEMModificationType["CosignatoryModification_Delete"] = 2] = "CosignatoryModification_Delete";
19728
- })(NEMModificationType || (NEMModificationType = {}));
20029
+ })(exports.NEMModificationType || (exports.NEMModificationType = {}));
19729
20030
 
19730
- var NEMImportanceTransferMode;
20031
+ exports.NEMImportanceTransferMode = void 0;
19731
20032
 
19732
20033
  (function (NEMImportanceTransferMode) {
19733
20034
  NEMImportanceTransferMode[NEMImportanceTransferMode["ImportanceTransfer_Activate"] = 1] = "ImportanceTransfer_Activate";
19734
20035
  NEMImportanceTransferMode[NEMImportanceTransferMode["ImportanceTransfer_Deactivate"] = 2] = "ImportanceTransfer_Deactivate";
19735
- })(NEMImportanceTransferMode || (NEMImportanceTransferMode = {}));
20036
+ })(exports.NEMImportanceTransferMode || (exports.NEMImportanceTransferMode = {}));
19736
20037
 
19737
- var StellarAssetType;
20038
+ exports.StellarAssetType = void 0;
19738
20039
 
19739
20040
  (function (StellarAssetType) {
19740
20041
  StellarAssetType[StellarAssetType["NATIVE"] = 0] = "NATIVE";
19741
20042
  StellarAssetType[StellarAssetType["ALPHANUM4"] = 1] = "ALPHANUM4";
19742
20043
  StellarAssetType[StellarAssetType["ALPHANUM12"] = 2] = "ALPHANUM12";
19743
- })(StellarAssetType || (StellarAssetType = {}));
20044
+ })(exports.StellarAssetType || (exports.StellarAssetType = {}));
19744
20045
 
19745
- var StellarMemoType;
20046
+ exports.StellarMemoType = void 0;
19746
20047
 
19747
20048
  (function (StellarMemoType) {
19748
20049
  StellarMemoType[StellarMemoType["NONE"] = 0] = "NONE";
@@ -19750,180 +20051,180 @@ var StellarMemoType;
19750
20051
  StellarMemoType[StellarMemoType["ID"] = 2] = "ID";
19751
20052
  StellarMemoType[StellarMemoType["HASH"] = 3] = "HASH";
19752
20053
  StellarMemoType[StellarMemoType["RETURN"] = 4] = "RETURN";
19753
- })(StellarMemoType || (StellarMemoType = {}));
20054
+ })(exports.StellarMemoType || (exports.StellarMemoType = {}));
19754
20055
 
19755
- var StellarSignerType;
20056
+ exports.StellarSignerType = void 0;
19756
20057
 
19757
20058
  (function (StellarSignerType) {
19758
20059
  StellarSignerType[StellarSignerType["ACCOUNT"] = 0] = "ACCOUNT";
19759
20060
  StellarSignerType[StellarSignerType["PRE_AUTH"] = 1] = "PRE_AUTH";
19760
20061
  StellarSignerType[StellarSignerType["HASH"] = 2] = "HASH";
19761
- })(StellarSignerType || (StellarSignerType = {}));
20062
+ })(exports.StellarSignerType || (exports.StellarSignerType = {}));
19762
20063
 
19763
- var TezosContractType;
20064
+ exports.TezosContractType = void 0;
19764
20065
 
19765
20066
  (function (TezosContractType) {
19766
20067
  TezosContractType[TezosContractType["Implicit"] = 0] = "Implicit";
19767
20068
  TezosContractType[TezosContractType["Originated"] = 1] = "Originated";
19768
- })(TezosContractType || (TezosContractType = {}));
20069
+ })(exports.TezosContractType || (exports.TezosContractType = {}));
19769
20070
 
19770
- var TezosBallotType;
20071
+ exports.TezosBallotType = void 0;
19771
20072
 
19772
20073
  (function (TezosBallotType) {
19773
20074
  TezosBallotType[TezosBallotType["Yay"] = 0] = "Yay";
19774
20075
  TezosBallotType[TezosBallotType["Nay"] = 1] = "Nay";
19775
20076
  TezosBallotType[TezosBallotType["Pass"] = 2] = "Pass";
19776
- })(TezosBallotType || (TezosBallotType = {}));
20077
+ })(exports.TezosBallotType || (exports.TezosBallotType = {}));
19777
20078
 
19778
20079
  var messages = /*#__PURE__*/Object.freeze({
19779
20080
  __proto__: null,
19780
20081
 
19781
20082
  get BinanceOrderType() {
19782
- return BinanceOrderType;
20083
+ return exports.BinanceOrderType;
19783
20084
  },
19784
20085
 
19785
20086
  get BinanceOrderSide() {
19786
- return BinanceOrderSide;
20087
+ return exports.BinanceOrderSide;
19787
20088
  },
19788
20089
 
19789
20090
  get BinanceTimeInForce() {
19790
- return BinanceTimeInForce;
20091
+ return exports.BinanceTimeInForce;
19791
20092
  },
19792
20093
 
19793
20094
  get Enum_InputScriptType() {
19794
- return Enum_InputScriptType;
20095
+ return exports.Enum_InputScriptType;
19795
20096
  },
19796
20097
 
19797
20098
  get Enum_OutputScriptType() {
19798
- return Enum_OutputScriptType;
20099
+ return exports.Enum_OutputScriptType;
19799
20100
  },
19800
20101
 
19801
20102
  get DecredStakingSpendType() {
19802
- return DecredStakingSpendType;
20103
+ return exports.DecredStakingSpendType;
19803
20104
  },
19804
20105
 
19805
20106
  get AmountUnit() {
19806
- return AmountUnit;
20107
+ return exports.AmountUnit;
19807
20108
  },
19808
20109
 
19809
20110
  get Enum_RequestType() {
19810
- return Enum_RequestType;
20111
+ return exports.Enum_RequestType;
19811
20112
  },
19812
20113
 
19813
20114
  get CardanoDerivationType() {
19814
- return CardanoDerivationType;
20115
+ return exports.CardanoDerivationType;
19815
20116
  },
19816
20117
 
19817
20118
  get CardanoAddressType() {
19818
- return CardanoAddressType;
20119
+ return exports.CardanoAddressType;
19819
20120
  },
19820
20121
 
19821
20122
  get CardanoNativeScriptType() {
19822
- return CardanoNativeScriptType;
20123
+ return exports.CardanoNativeScriptType;
19823
20124
  },
19824
20125
 
19825
20126
  get CardanoNativeScriptHashDisplayFormat() {
19826
- return CardanoNativeScriptHashDisplayFormat;
20127
+ return exports.CardanoNativeScriptHashDisplayFormat;
19827
20128
  },
19828
20129
 
19829
20130
  get CardanoCertificateType() {
19830
- return CardanoCertificateType;
20131
+ return exports.CardanoCertificateType;
19831
20132
  },
19832
20133
 
19833
20134
  get CardanoPoolRelayType() {
19834
- return CardanoPoolRelayType;
20135
+ return exports.CardanoPoolRelayType;
19835
20136
  },
19836
20137
 
19837
20138
  get CardanoTxAuxiliaryDataSupplementType() {
19838
- return CardanoTxAuxiliaryDataSupplementType;
20139
+ return exports.CardanoTxAuxiliaryDataSupplementType;
19839
20140
  },
19840
20141
 
19841
20142
  get CardanoTxSigningMode() {
19842
- return CardanoTxSigningMode;
20143
+ return exports.CardanoTxSigningMode;
19843
20144
  },
19844
20145
 
19845
20146
  get CardanoTxWitnessType() {
19846
- return CardanoTxWitnessType;
20147
+ return exports.CardanoTxWitnessType;
19847
20148
  },
19848
20149
 
19849
20150
  get FailureType() {
19850
- return FailureType;
20151
+ return exports.FailureType;
19851
20152
  },
19852
20153
 
19853
20154
  get Enum_ButtonRequestType() {
19854
- return Enum_ButtonRequestType;
20155
+ return exports.Enum_ButtonRequestType;
19855
20156
  },
19856
20157
 
19857
20158
  get Enum_PinMatrixRequestType() {
19858
- return Enum_PinMatrixRequestType;
20159
+ return exports.Enum_PinMatrixRequestType;
19859
20160
  },
19860
20161
 
19861
20162
  get DebugButton() {
19862
- return DebugButton;
20163
+ return exports.DebugButton;
19863
20164
  },
19864
20165
 
19865
20166
  get EthereumDataType() {
19866
- return EthereumDataType;
20167
+ return exports.EthereumDataType;
19867
20168
  },
19868
20169
 
19869
20170
  get Enum_BackupType() {
19870
- return Enum_BackupType;
20171
+ return exports.Enum_BackupType;
19871
20172
  },
19872
20173
 
19873
20174
  get Enum_SafetyCheckLevel() {
19874
- return Enum_SafetyCheckLevel;
20175
+ return exports.Enum_SafetyCheckLevel;
19875
20176
  },
19876
20177
 
19877
20178
  get Enum_Capability() {
19878
- return Enum_Capability;
20179
+ return exports.Enum_Capability;
19879
20180
  },
19880
20181
 
19881
20182
  get SdProtectOperationType() {
19882
- return SdProtectOperationType;
20183
+ return exports.SdProtectOperationType;
19883
20184
  },
19884
20185
 
19885
20186
  get RecoveryDeviceType() {
19886
- return RecoveryDeviceType;
20187
+ return exports.RecoveryDeviceType;
19887
20188
  },
19888
20189
 
19889
20190
  get Enum_WordRequestType() {
19890
- return Enum_WordRequestType;
20191
+ return exports.Enum_WordRequestType;
19891
20192
  },
19892
20193
 
19893
20194
  get NEMMosaicLevy() {
19894
- return NEMMosaicLevy;
20195
+ return exports.NEMMosaicLevy;
19895
20196
  },
19896
20197
 
19897
20198
  get NEMSupplyChangeType() {
19898
- return NEMSupplyChangeType;
20199
+ return exports.NEMSupplyChangeType;
19899
20200
  },
19900
20201
 
19901
20202
  get NEMModificationType() {
19902
- return NEMModificationType;
20203
+ return exports.NEMModificationType;
19903
20204
  },
19904
20205
 
19905
20206
  get NEMImportanceTransferMode() {
19906
- return NEMImportanceTransferMode;
20207
+ return exports.NEMImportanceTransferMode;
19907
20208
  },
19908
20209
 
19909
20210
  get StellarAssetType() {
19910
- return StellarAssetType;
20211
+ return exports.StellarAssetType;
19911
20212
  },
19912
20213
 
19913
20214
  get StellarMemoType() {
19914
- return StellarMemoType;
20215
+ return exports.StellarMemoType;
19915
20216
  },
19916
20217
 
19917
20218
  get StellarSignerType() {
19918
- return StellarSignerType;
20219
+ return exports.StellarSignerType;
19919
20220
  },
19920
20221
 
19921
20222
  get TezosContractType() {
19922
- return TezosContractType;
20223
+ return exports.TezosContractType;
19923
20224
  },
19924
20225
 
19925
20226
  get TezosBallotType() {
19926
- return TezosBallotType;
20227
+ return exports.TezosBallotType;
19927
20228
  }
19928
20229
 
19929
20230
  });