@ukeyfe/hardware-core 1.1.14 → 1.1.16

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.
Files changed (169) hide show
  1. package/__tests__/checkBootloaderReleast.test.ts +1 -1
  2. package/__tests__/evmSignTransaction.test.ts +1 -1
  3. package/dist/api/FirmwareUpdate.d.ts +1 -1
  4. package/dist/api/FirmwareUpdateV2.d.ts +1 -1
  5. package/dist/api/GetFeatures.d.ts +1 -1
  6. package/dist/api/GetUkeyFeatures.d.ts +1 -1
  7. package/dist/api/cardano/CardanoSignMessage.d.ts +1 -1
  8. package/dist/api/device/DeviceRebootToBoardloader.d.ts +1 -1
  9. package/dist/data/config.d.ts.map +1 -1
  10. package/dist/index.d.ts +44 -44
  11. package/dist/index.js +147 -147
  12. package/dist/types/api/alephiumGetAddress.d.ts +1 -1
  13. package/dist/types/api/alephiumGetAddress.d.ts.map +1 -1
  14. package/dist/types/api/algoGetAddress.d.ts +1 -1
  15. package/dist/types/api/algoGetAddress.d.ts.map +1 -1
  16. package/dist/types/api/allNetworkGetAddress.d.ts +1 -1
  17. package/dist/types/api/allNetworkGetAddress.d.ts.map +1 -1
  18. package/dist/types/api/aptosGetAddress.d.ts +1 -1
  19. package/dist/types/api/aptosGetAddress.d.ts.map +1 -1
  20. package/dist/types/api/aptosGetPublicKey.d.ts +1 -1
  21. package/dist/types/api/aptosGetPublicKey.d.ts.map +1 -1
  22. package/dist/types/api/benfenGetAddress.d.ts +1 -1
  23. package/dist/types/api/benfenGetAddress.d.ts.map +1 -1
  24. package/dist/types/api/benfenGetPublicKey.d.ts +1 -1
  25. package/dist/types/api/benfenGetPublicKey.d.ts.map +1 -1
  26. package/dist/types/api/btcGetAddress.d.ts +1 -1
  27. package/dist/types/api/btcGetAddress.d.ts.map +1 -1
  28. package/dist/types/api/btcGetPublicKey.d.ts +1 -1
  29. package/dist/types/api/btcGetPublicKey.d.ts.map +1 -1
  30. package/dist/types/api/cardanoGetAddress.d.ts +1 -1
  31. package/dist/types/api/cardanoGetAddress.d.ts.map +1 -1
  32. package/dist/types/api/cardanoGetPublicKey.d.ts +1 -1
  33. package/dist/types/api/cardanoGetPublicKey.d.ts.map +1 -1
  34. package/dist/types/api/confluxGetAddress.d.ts +1 -1
  35. package/dist/types/api/confluxGetAddress.d.ts.map +1 -1
  36. package/dist/types/api/cosmosGetAddress.d.ts +1 -1
  37. package/dist/types/api/cosmosGetAddress.d.ts.map +1 -1
  38. package/dist/types/api/cosmosGetPublicKey.d.ts +1 -1
  39. package/dist/types/api/cosmosGetPublicKey.d.ts.map +1 -1
  40. package/dist/types/api/dnxGetAddress.d.ts +1 -1
  41. package/dist/types/api/dnxGetAddress.d.ts.map +1 -1
  42. package/dist/types/api/evmGetAddress.d.ts +1 -1
  43. package/dist/types/api/evmGetAddress.d.ts.map +1 -1
  44. package/dist/types/api/evmGetPublicKey.d.ts +1 -1
  45. package/dist/types/api/evmGetPublicKey.d.ts.map +1 -1
  46. package/dist/types/api/filecoinGetAddress.d.ts +1 -1
  47. package/dist/types/api/filecoinGetAddress.d.ts.map +1 -1
  48. package/dist/types/api/kaspaGetAddress.d.ts +1 -1
  49. package/dist/types/api/kaspaGetAddress.d.ts.map +1 -1
  50. package/dist/types/api/nearGetAddress.d.ts +1 -1
  51. package/dist/types/api/nearGetAddress.d.ts.map +1 -1
  52. package/dist/types/api/nemGetAddress.d.ts +1 -1
  53. package/dist/types/api/nemGetAddress.d.ts.map +1 -1
  54. package/dist/types/api/neoGetAddress.d.ts +1 -1
  55. package/dist/types/api/neoGetAddress.d.ts.map +1 -1
  56. package/dist/types/api/nervosGetAddress.d.ts +1 -1
  57. package/dist/types/api/nervosGetAddress.d.ts.map +1 -1
  58. package/dist/types/api/nexaGetAddress.d.ts +1 -1
  59. package/dist/types/api/nexaGetAddress.d.ts.map +1 -1
  60. package/dist/types/api/nostrDecryptMessage.d.ts +1 -1
  61. package/dist/types/api/nostrDecryptMessage.d.ts.map +1 -1
  62. package/dist/types/api/nostrEncryptMessage.d.ts +1 -1
  63. package/dist/types/api/nostrEncryptMessage.d.ts.map +1 -1
  64. package/dist/types/api/nostrGetPublicKey.d.ts +1 -1
  65. package/dist/types/api/nostrGetPublicKey.d.ts.map +1 -1
  66. package/dist/types/api/polkadotGetAddress.d.ts +1 -1
  67. package/dist/types/api/polkadotGetAddress.d.ts.map +1 -1
  68. package/dist/types/api/scdoGetAddress.d.ts +1 -1
  69. package/dist/types/api/scdoGetAddress.d.ts.map +1 -1
  70. package/dist/types/api/solGetAddress.d.ts +1 -1
  71. package/dist/types/api/solGetAddress.d.ts.map +1 -1
  72. package/dist/types/api/starcoinGetAddress.d.ts +1 -1
  73. package/dist/types/api/starcoinGetAddress.d.ts.map +1 -1
  74. package/dist/types/api/starcoinGetPublicKey.d.ts +1 -1
  75. package/dist/types/api/starcoinGetPublicKey.d.ts.map +1 -1
  76. package/dist/types/api/stellarGetAddress.d.ts +1 -1
  77. package/dist/types/api/stellarGetAddress.d.ts.map +1 -1
  78. package/dist/types/api/suiGetAddress.d.ts +1 -1
  79. package/dist/types/api/suiGetAddress.d.ts.map +1 -1
  80. package/dist/types/api/suiGetPublicKey.d.ts +1 -1
  81. package/dist/types/api/suiGetPublicKey.d.ts.map +1 -1
  82. package/dist/types/api/tonGetAddress.d.ts +1 -1
  83. package/dist/types/api/tonGetAddress.d.ts.map +1 -1
  84. package/dist/types/api/tronGetAddress.d.ts +1 -1
  85. package/dist/types/api/tronGetAddress.d.ts.map +1 -1
  86. package/dist/types/api/xrpGetAddress.d.ts +1 -1
  87. package/dist/types/api/xrpGetAddress.d.ts.map +1 -1
  88. package/dist/utils/logger.d.ts +12 -12
  89. package/dist/utils/logger.d.ts.map +1 -1
  90. package/package.json +3 -3
  91. package/src/api/alephium/AlephiumGetAddress.ts +3 -3
  92. package/src/api/algo/AlgoGetAddress.ts +3 -3
  93. package/src/api/allnetwork/AllNetworkGetAddressBase.ts +19 -19
  94. package/src/api/aptos/AptosGetAddress.ts +5 -5
  95. package/src/api/aptos/AptosGetPublicKey.ts +3 -3
  96. package/src/api/benfen/BenfenGetAddress.ts +5 -5
  97. package/src/api/benfen/BenfenGetPublicKey.ts +3 -3
  98. package/src/api/btc/BTCGetAddress.ts +3 -3
  99. package/src/api/btc/BTCGetPublicKey.ts +3 -3
  100. package/src/api/cardano/CardanoGetAddress.ts +2 -2
  101. package/src/api/cardano/CardanoGetPublicKey.ts +2 -2
  102. package/src/api/conflux/ConfluxGetAddress.ts +3 -3
  103. package/src/api/cosmos/CosmosGetAddress.ts +3 -3
  104. package/src/api/cosmos/CosmosGetPublicKey.ts +3 -3
  105. package/src/api/dynex/DnxGetAddress.ts +3 -3
  106. package/src/api/evm/EVMGetAddress.ts +3 -3
  107. package/src/api/evm/EVMGetPublicKey.ts +4 -4
  108. package/src/api/filecoin/FilecoinGetAddress.ts +3 -3
  109. package/src/api/kaspa/KaspaGetAddress.ts +3 -3
  110. package/src/api/near/NearGetAddress.ts +3 -3
  111. package/src/api/nem/NEMGetAddress.ts +3 -3
  112. package/src/api/neo/NeoGetAddress.ts +3 -3
  113. package/src/api/nervos/NervosGetAddress.ts +3 -3
  114. package/src/api/nexa/NexaGetAddress.ts +3 -3
  115. package/src/api/nostr/NostrDecryptMessage.ts +2 -2
  116. package/src/api/nostr/NostrEncryptMessage.ts +2 -2
  117. package/src/api/nostr/NostrGetPublicKey.ts +3 -3
  118. package/src/api/polkadot/PolkadotGetAddress.ts +3 -3
  119. package/src/api/scdo/ScdoGetAddress.ts +3 -3
  120. package/src/api/solana/SolGetAddress.ts +3 -3
  121. package/src/api/starcoin/StarcoinGetAddress.ts +3 -3
  122. package/src/api/starcoin/StarcoinGetPublicKey.ts +3 -3
  123. package/src/api/stellar/StellarGetAddress.ts +3 -3
  124. package/src/api/sui/SuiGetAddress.ts +5 -5
  125. package/src/api/sui/SuiGetPublicKey.ts +3 -3
  126. package/src/api/ton/TonGetAddress.ts +4 -4
  127. package/src/api/tron/TronGetAddress.ts +3 -3
  128. package/src/api/xrp/XrpGetAddress.ts +4 -4
  129. package/src/data/config.ts +4 -4
  130. package/src/data-manager/DataManager.ts +2 -2
  131. package/src/types/api/alephiumGetAddress.ts +1 -1
  132. package/src/types/api/algoGetAddress.ts +1 -1
  133. package/src/types/api/allNetworkGetAddress.ts +1 -1
  134. package/src/types/api/aptosGetAddress.ts +1 -1
  135. package/src/types/api/aptosGetPublicKey.ts +1 -1
  136. package/src/types/api/benfenGetAddress.ts +1 -1
  137. package/src/types/api/benfenGetPublicKey.ts +1 -1
  138. package/src/types/api/btcGetAddress.ts +1 -1
  139. package/src/types/api/btcGetPublicKey.ts +1 -1
  140. package/src/types/api/cardanoGetAddress.ts +1 -1
  141. package/src/types/api/cardanoGetPublicKey.ts +1 -1
  142. package/src/types/api/confluxGetAddress.ts +1 -1
  143. package/src/types/api/cosmosGetAddress.ts +1 -1
  144. package/src/types/api/cosmosGetPublicKey.ts +1 -1
  145. package/src/types/api/dnxGetAddress.ts +1 -1
  146. package/src/types/api/evmGetAddress.ts +1 -1
  147. package/src/types/api/evmGetPublicKey.ts +1 -1
  148. package/src/types/api/filecoinGetAddress.ts +1 -1
  149. package/src/types/api/kaspaGetAddress.ts +1 -1
  150. package/src/types/api/nearGetAddress.ts +1 -1
  151. package/src/types/api/nemGetAddress.ts +1 -1
  152. package/src/types/api/neoGetAddress.ts +1 -1
  153. package/src/types/api/nervosGetAddress.ts +1 -1
  154. package/src/types/api/nexaGetAddress.ts +1 -1
  155. package/src/types/api/nostrDecryptMessage.ts +1 -1
  156. package/src/types/api/nostrEncryptMessage.ts +1 -1
  157. package/src/types/api/nostrGetPublicKey.ts +1 -1
  158. package/src/types/api/polkadotGetAddress.ts +1 -1
  159. package/src/types/api/scdoGetAddress.ts +1 -1
  160. package/src/types/api/solGetAddress.ts +1 -1
  161. package/src/types/api/starcoinGetAddress.ts +1 -1
  162. package/src/types/api/starcoinGetPublicKey.ts +1 -1
  163. package/src/types/api/stellarGetAddress.ts +1 -1
  164. package/src/types/api/suiGetAddress.ts +1 -1
  165. package/src/types/api/suiGetPublicKey.ts +1 -1
  166. package/src/types/api/tonGetAddress.ts +1 -1
  167. package/src/types/api/tronGetAddress.ts +1 -1
  168. package/src/types/api/xrpGetAddress.ts +1 -1
  169. package/src/utils/logger.ts +6 -6
package/dist/index.js CHANGED
@@ -895,7 +895,7 @@ const sendLogMessage = (prefix, ...args) => {
895
895
  };
896
896
  exports.LoggerNames = void 0;
897
897
  (function (LoggerNames) {
898
- LoggerNames["Core"] = "@ukey/hd-core";
898
+ LoggerNames["Core"] = "@ukey/hardware-core";
899
899
  LoggerNames["Transport"] = "Transport";
900
900
  LoggerNames["Device"] = "Device";
901
901
  LoggerNames["DeviceCommands"] = "DeviceCommands";
@@ -903,11 +903,11 @@ exports.LoggerNames = void 0;
903
903
  LoggerNames["DeviceList"] = "DeviceList";
904
904
  LoggerNames["DevicePool"] = "DevicePool";
905
905
  LoggerNames["HdCommonConnectSdk"] = "@ukey/common-connect-sdk";
906
- LoggerNames["HdBleSdk"] = "@ukey/hd-ble-sdk";
907
- LoggerNames["HdTransportHttp"] = "@ukey/hd-transport-http";
908
- LoggerNames["HdTransportLowLevel"] = "@ukey/hd-transport-lowlevel";
909
- LoggerNames["HdBleTransport"] = "@ukey/hd-ble-transport";
910
- LoggerNames["HdWebBleTransport"] = "@ukey/hd-web-ble-transport";
906
+ LoggerNames["HdBleSdk"] = "@ukey/hardware-ble-sdk";
907
+ LoggerNames["HdTransportHttp"] = "@ukey/hardware-transport-http";
908
+ LoggerNames["HdTransportLowLevel"] = "@ukey/hardware-transport-lowlevel";
909
+ LoggerNames["HdBleTransport"] = "@ukey/hardware-ble-transport";
910
+ LoggerNames["HdWebBleTransport"] = "@ukey/hardware-web-ble-transport";
911
911
  LoggerNames["Connect"] = "@ukey/connect";
912
912
  LoggerNames["Iframe"] = "IFrame";
913
913
  LoggerNames["SendMessage"] = "[SendMessage]";
@@ -24920,8 +24920,8 @@ class DataManager {
24920
24920
  }
24921
24921
  try {
24922
24922
  const url = settings.preRelease
24923
- ? 'https://data.onekey.so/pre-config.json'
24924
- : 'https://data.onekey.so/config.json';
24923
+ ? 'https://data.sanying.site/pre-config.json'
24924
+ : 'https://data.sanying.site/config.json';
24925
24925
  const { data } = yield axios__default["default"].get(`${url}?noCache=${getTimeStamp()}`, {
24926
24926
  timeout: 7000,
24927
24927
  });
@@ -25401,13 +25401,13 @@ const fixFeaturesFirmwareVersion = (features) => {
25401
25401
 
25402
25402
  const pkg = require('../package.json');
25403
25403
  const getSDKVersion = () => pkg.version;
25404
- const DEFAULT_DOMAIN = `https://jssdk.onekey.so/${getSDKVersion()}/`;
25404
+ const DEFAULT_DOMAIN = `https://jssdk.sanying.site/${getSDKVersion()}/`;
25405
25405
  const whitelist = [
25406
25406
  { origin: 'file://' },
25407
25407
  { origin: '1key.so' },
25408
- { origin: 'onekey.so' },
25409
- { origin: 'onekeycn.com' },
25410
- { origin: 'onekeytest.com' },
25408
+ { origin: 'sanying.site' },
25409
+ { origin: 'sanying.com' },
25410
+ { origin: 'sanyingtest.com' },
25411
25411
  { origin: 'localhost' },
25412
25412
  ];
25413
25413
  const whitelistExtension = [
@@ -30166,7 +30166,7 @@ const networkConfigMap = {
30166
30166
  evm: {
30167
30167
  methodName: 'evmGetAddress',
30168
30168
  getParams: (baseParams, chainName) => {
30169
- const { path, showOnOneKey } = baseParams;
30169
+ const { path, showOnUKey } = baseParams;
30170
30170
  let chainId;
30171
30171
  if (chainName) {
30172
30172
  chainId = parseInt(chainName);
@@ -30174,7 +30174,7 @@ const networkConfigMap = {
30174
30174
  return {
30175
30175
  chainId,
30176
30176
  path,
30177
- showOnOneKey,
30177
+ showOnUKey,
30178
30178
  };
30179
30179
  },
30180
30180
  },
@@ -30193,11 +30193,11 @@ const networkConfigMap = {
30193
30193
  cfx: {
30194
30194
  methodName: 'confluxGetAddress',
30195
30195
  getParams: (baseParams, chainName) => {
30196
- const { path, showOnOneKey } = baseParams;
30196
+ const { path, showOnUKey } = baseParams;
30197
30197
  return {
30198
30198
  chainId: parseInt(chainName !== null && chainName !== void 0 ? chainName : '1029'),
30199
30199
  path,
30200
- showOnOneKey,
30200
+ showOnUKey,
30201
30201
  };
30202
30202
  },
30203
30203
  },
@@ -30213,18 +30213,18 @@ const networkConfigMap = {
30213
30213
  cosmos: {
30214
30214
  methodName: 'cosmosGetPublicKey',
30215
30215
  getParams: (baseParams) => {
30216
- const { path, prefix, showOnOneKey } = baseParams;
30216
+ const { path, prefix, showOnUKey } = baseParams;
30217
30217
  return {
30218
30218
  hrp: prefix,
30219
30219
  path,
30220
- showOnOneKey,
30220
+ showOnUKey,
30221
30221
  };
30222
30222
  },
30223
30223
  },
30224
30224
  ada: {
30225
30225
  methodName: 'cardanoGetAddress',
30226
30226
  getParams: (baseParams, chainName) => {
30227
- const { path, showOnOneKey } = baseParams;
30227
+ const { path, showOnUKey } = baseParams;
30228
30228
  const addressPath = typeof path === 'string' ? `${path}/0/0` : serializedPath([...path, 0, 0]);
30229
30229
  const stakingPath = typeof path === 'string' ? `${path}/2/0` : serializedPath([...path, 2, 0]);
30230
30230
  let networkId = 1;
@@ -30240,7 +30240,7 @@ const networkConfigMap = {
30240
30240
  protocolMagic: 764824073,
30241
30241
  networkId,
30242
30242
  derivationType: hardwareTransport.Messages.CardanoDerivationType.ICARUS,
30243
- showOnOneKey,
30243
+ showOnUKey,
30244
30244
  address: '',
30245
30245
  isCheck: false,
30246
30246
  };
@@ -30255,7 +30255,7 @@ const networkConfigMap = {
30255
30255
  fil: {
30256
30256
  methodName: 'filecoinGetAddress',
30257
30257
  getParams: (baseParams, chainName) => {
30258
- const { path, showOnOneKey } = baseParams;
30258
+ const { path, showOnUKey } = baseParams;
30259
30259
  let isTestnet = false;
30260
30260
  if (chainName) {
30261
30261
  isTestnet = chainName !== Mainnet;
@@ -30263,14 +30263,14 @@ const networkConfigMap = {
30263
30263
  return {
30264
30264
  isTestnet,
30265
30265
  path,
30266
- showOnOneKey,
30266
+ showOnUKey,
30267
30267
  };
30268
30268
  },
30269
30269
  },
30270
30270
  dot: {
30271
30271
  methodName: 'polkadotGetAddress',
30272
30272
  getParams: (baseParams, chainName) => {
30273
- const { path, prefix, showOnOneKey } = baseParams;
30273
+ const { path, prefix, showOnUKey } = baseParams;
30274
30274
  if (!prefix || !chainName) {
30275
30275
  throw new Error('Invalid params');
30276
30276
  }
@@ -30278,19 +30278,19 @@ const networkConfigMap = {
30278
30278
  prefix: parseInt(prefix),
30279
30279
  network: chainName,
30280
30280
  path,
30281
- showOnOneKey,
30281
+ showOnUKey,
30282
30282
  };
30283
30283
  },
30284
30284
  },
30285
30285
  kaspa: {
30286
30286
  methodName: 'kaspaGetAddress',
30287
30287
  getParams: (baseParams) => {
30288
- const { path, prefix, showOnOneKey, useTweak } = baseParams;
30288
+ const { path, prefix, showOnUKey, useTweak } = baseParams;
30289
30289
  return {
30290
30290
  scheme: 'schnorr',
30291
30291
  prefix,
30292
30292
  path,
30293
- showOnOneKey,
30293
+ showOnUKey,
30294
30294
  useTweak,
30295
30295
  };
30296
30296
  },
@@ -30298,12 +30298,12 @@ const networkConfigMap = {
30298
30298
  nexa: {
30299
30299
  methodName: 'nexaGetAddress',
30300
30300
  getParams: (baseParams) => {
30301
- const { path, prefix, showOnOneKey } = baseParams;
30301
+ const { path, prefix, showOnUKey } = baseParams;
30302
30302
  return {
30303
30303
  scheme: 'Schnorr',
30304
30304
  prefix,
30305
30305
  path,
30306
- showOnOneKey,
30306
+ showOnUKey,
30307
30307
  };
30308
30308
  },
30309
30309
  },
@@ -30313,11 +30313,11 @@ const networkConfigMap = {
30313
30313
  nervos: {
30314
30314
  methodName: 'nervosGetAddress',
30315
30315
  getParams: (baseParams, chainName) => {
30316
- const { path, showOnOneKey } = baseParams;
30316
+ const { path, showOnUKey } = baseParams;
30317
30317
  return {
30318
30318
  network: chainName,
30319
30319
  path,
30320
- showOnOneKey,
30320
+ showOnUKey,
30321
30321
  };
30322
30322
  },
30323
30323
  },
@@ -30352,7 +30352,7 @@ class AllNetworkGetAddressBase extends BaseMethod {
30352
30352
  { name: 'path', required: true },
30353
30353
  { name: 'network', type: 'string', required: true },
30354
30354
  { name: 'chainName', type: 'string' },
30355
- { name: 'showOnOneKey', type: 'boolean' },
30355
+ { name: 'showOnUKey', type: 'boolean' },
30356
30356
  ]);
30357
30357
  });
30358
30358
  }
@@ -30945,11 +30945,11 @@ class BTCGetAddress extends BaseMethod {
30945
30945
  validateParams(batch, [
30946
30946
  { name: 'path', required: true },
30947
30947
  { name: 'coin', type: 'string' },
30948
- { name: 'showOnOneKey', type: 'boolean' },
30948
+ { name: 'showOnUKey', type: 'boolean' },
30949
30949
  { name: 'multisig', type: 'object' },
30950
30950
  { name: 'scriptType', type: 'string' },
30951
30951
  ]);
30952
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
30952
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
30953
30953
  const { multisig, coin } = batch;
30954
30954
  let { scriptType } = batch;
30955
30955
  if (!scriptType) {
@@ -30961,7 +30961,7 @@ class BTCGetAddress extends BaseMethod {
30961
30961
  const coinName = getCoinInfo(addressN, coin).name;
30962
30962
  this.params.push({
30963
30963
  address_n: addressN,
30964
- show_display: showOnOneKey,
30964
+ show_display: showOnUKey,
30965
30965
  coin_name: coinName,
30966
30966
  multisig,
30967
30967
  script_type: scriptType || 'SPENDADDRESS',
@@ -31154,10 +31154,10 @@ class BTCGetPublicKey extends BaseMethod {
31154
31154
  validateParams(batch, [
31155
31155
  { name: 'path', required: true },
31156
31156
  { name: 'coin', type: 'string' },
31157
- { name: 'showOnOneKey', type: 'boolean' },
31157
+ { name: 'showOnUKey', type: 'boolean' },
31158
31158
  { name: 'scriptType', type: 'string' },
31159
31159
  ]);
31160
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
31160
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
31161
31161
  const { multisig, coin } = batch;
31162
31162
  let { scriptType } = batch;
31163
31163
  if (!scriptType) {
@@ -31169,7 +31169,7 @@ class BTCGetPublicKey extends BaseMethod {
31169
31169
  const coinName = getCoinInfo(addressN, coin).name;
31170
31170
  this.params.push({
31171
31171
  address_n: addressN,
31172
- show_display: showOnOneKey,
31172
+ show_display: showOnUKey,
31173
31173
  coin_name: coinName,
31174
31174
  script_type: scriptType || 'SPENDADDRESS',
31175
31175
  });
@@ -31775,13 +31775,13 @@ class ConfluxGetAddress extends BaseMethod {
31775
31775
  validateParams(batch, [
31776
31776
  { name: 'path', required: true },
31777
31777
  { name: 'chainId', type: 'number' },
31778
- { name: 'showOnOneKey', type: 'boolean' },
31778
+ { name: 'showOnUKey', type: 'boolean' },
31779
31779
  ]);
31780
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
31780
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
31781
31781
  this.params.push({
31782
31782
  address_n: addressN,
31783
31783
  chain_id: (_b = batch.chainId) !== null && _b !== void 0 ? _b : 1029,
31784
- show_display: showOnOneKey,
31784
+ show_display: showOnUKey,
31785
31785
  });
31786
31786
  });
31787
31787
  }
@@ -32004,13 +32004,13 @@ class EvmGetAddress extends BaseMethod {
32004
32004
  const addressN = validatePath(batch.path, 3);
32005
32005
  validateParams(batch, [
32006
32006
  { name: 'path', required: true },
32007
- { name: 'showOnOneKey', type: 'boolean' },
32007
+ { name: 'showOnUKey', type: 'boolean' },
32008
32008
  { name: 'chainId', type: 'number' },
32009
32009
  ]);
32010
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
32010
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
32011
32011
  this.params.push({
32012
32012
  address_n: addressN,
32013
- show_display: showOnOneKey,
32013
+ show_display: showOnUKey,
32014
32014
  chain_id: batch.chainId,
32015
32015
  });
32016
32016
  });
@@ -32082,7 +32082,7 @@ class EVMGetPublicKey extends BaseMethod {
32082
32082
  this.checkDeviceId = true;
32083
32083
  this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.NOT_INITIALIZE];
32084
32084
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
32085
- this.confirmShowOnUKey = (_c = (_b = this.payload) === null || _b === void 0 ? void 0 : _b.bundle) === null || _c === void 0 ? void 0 : _c.some((item) => !!item.showOnOneKey);
32085
+ this.confirmShowOnUKey = (_c = (_b = this.payload) === null || _b === void 0 ? void 0 : _b.bundle) === null || _c === void 0 ? void 0 : _c.some((item) => !!item.showOnUKey);
32086
32086
  this.useBatch = !this.confirmShowOnUKey && this.hasBundle && this.payload.useBatch;
32087
32087
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
32088
32088
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
@@ -32092,13 +32092,13 @@ class EVMGetPublicKey extends BaseMethod {
32092
32092
  const addressN = validatePath(batch.path, 3);
32093
32093
  validateParams(batch, [
32094
32094
  { name: 'path', required: true },
32095
- { name: 'showOnOneKey', type: 'boolean' },
32095
+ { name: 'showOnUKey', type: 'boolean' },
32096
32096
  { name: 'chainId', type: 'number' },
32097
32097
  ]);
32098
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
32098
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
32099
32099
  this.params.push({
32100
32100
  address_n: addressN,
32101
- show_display: showOnOneKey,
32101
+ show_display: showOnUKey,
32102
32102
  chain_id: batch.chainId,
32103
32103
  });
32104
32104
  });
@@ -33082,12 +33082,12 @@ class StarcoinGetAddress extends BaseMethod {
33082
33082
  const addressN = validatePath(batch.path, 3);
33083
33083
  validateParams(batch, [
33084
33084
  { name: 'path', required: true },
33085
- { name: 'showOnOneKey', type: 'boolean' },
33085
+ { name: 'showOnUKey', type: 'boolean' },
33086
33086
  ]);
33087
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33087
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33088
33088
  this.params.push({
33089
33089
  address_n: addressN,
33090
- show_display: showOnOneKey,
33090
+ show_display: showOnUKey,
33091
33091
  });
33092
33092
  });
33093
33093
  }
@@ -33130,12 +33130,12 @@ class StarcoinGetPublicKey extends BaseMethod {
33130
33130
  const addressN = validatePath(batch.path, 3);
33131
33131
  validateParams(batch, [
33132
33132
  { name: 'path', required: true },
33133
- { name: 'showOnOneKey', type: 'boolean' },
33133
+ { name: 'showOnUKey', type: 'boolean' },
33134
33134
  ]);
33135
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33135
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33136
33136
  this.params.push({
33137
33137
  address_n: addressN,
33138
- show_display: showOnOneKey,
33138
+ show_display: showOnUKey,
33139
33139
  });
33140
33140
  });
33141
33141
  }
@@ -33245,13 +33245,13 @@ class NEMGetAddress extends BaseMethod {
33245
33245
  validateParams(batch, [
33246
33246
  { name: 'path', required: true },
33247
33247
  { name: 'network', type: 'number' },
33248
- { name: 'showOnOneKey', type: 'boolean' },
33248
+ { name: 'showOnUKey', type: 'boolean' },
33249
33249
  ]);
33250
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33250
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33251
33251
  this.params.push({
33252
33252
  address_n: addressN,
33253
33253
  network: batch.network || MAINNET,
33254
- show_display: showOnOneKey,
33254
+ show_display: showOnUKey,
33255
33255
  });
33256
33256
  });
33257
33257
  }
@@ -33484,12 +33484,12 @@ class SolGetAddress extends BaseMethod {
33484
33484
  const addressN = validatePath(batch.path, 3);
33485
33485
  validateParams(batch, [
33486
33486
  { name: 'path', required: true },
33487
- { name: 'showOnOneKey', type: 'boolean' },
33487
+ { name: 'showOnUKey', type: 'boolean' },
33488
33488
  ]);
33489
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33489
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33490
33490
  this.params.push({
33491
33491
  address_n: addressN,
33492
- show_display: showOnOneKey,
33492
+ show_display: showOnUKey,
33493
33493
  });
33494
33494
  });
33495
33495
  }
@@ -33701,12 +33701,12 @@ class StellarGetAddress extends BaseMethod {
33701
33701
  const addressN = validatePath(batch.path, 3);
33702
33702
  validateParams(batch, [
33703
33703
  { name: 'path', required: true },
33704
- { name: 'showOnOneKey', type: 'boolean' },
33704
+ { name: 'showOnUKey', type: 'boolean' },
33705
33705
  ]);
33706
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33706
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33707
33707
  this.params.push({
33708
33708
  address_n: addressN,
33709
- show_display: showOnOneKey,
33709
+ show_display: showOnUKey,
33710
33710
  });
33711
33711
  });
33712
33712
  }
@@ -33921,12 +33921,12 @@ class TronGetAddress extends BaseMethod {
33921
33921
  const addressN = validatePath(batch.path, 3);
33922
33922
  validateParams(batch, [
33923
33923
  { name: 'path', required: true },
33924
- { name: 'showOnOneKey', type: 'boolean' },
33924
+ { name: 'showOnUKey', type: 'boolean' },
33925
33925
  ]);
33926
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
33926
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
33927
33927
  this.params.push({
33928
33928
  address_n: addressN,
33929
- show_display: showOnOneKey,
33929
+ show_display: showOnUKey,
33930
33930
  });
33931
33931
  });
33932
33932
  }
@@ -34189,12 +34189,12 @@ class NearGetAddress extends BaseMethod {
34189
34189
  const addressN = validatePath(batch.path, 3);
34190
34190
  validateParams(batch, [
34191
34191
  { name: 'path', required: true },
34192
- { name: 'showOnOneKey', type: 'boolean' },
34192
+ { name: 'showOnUKey', type: 'boolean' },
34193
34193
  ]);
34194
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34194
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34195
34195
  this.params.push({
34196
34196
  address_n: addressN,
34197
- show_display: showOnOneKey,
34197
+ show_display: showOnUKey,
34198
34198
  });
34199
34199
  });
34200
34200
  }
@@ -34270,8 +34270,8 @@ class AptosGetAddress extends BaseMethod {
34270
34270
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
34271
34271
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
34272
34272
  this.shouldConfirm =
34273
- this.payload.showOnOneKey ||
34274
- ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnOneKey));
34273
+ this.payload.showOnUKey ||
34274
+ ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnUKey));
34275
34275
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
34276
34276
  this.params = [];
34277
34277
  payload.bundle.forEach((batch) => {
@@ -34279,12 +34279,12 @@ class AptosGetAddress extends BaseMethod {
34279
34279
  const addressN = validatePath(batch.path, 3);
34280
34280
  validateParams(batch, [
34281
34281
  { name: 'path', required: true },
34282
- { name: 'showOnOneKey', type: 'boolean' },
34282
+ { name: 'showOnUKey', type: 'boolean' },
34283
34283
  ]);
34284
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34284
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34285
34285
  this.params.push({
34286
34286
  address_n: addressN,
34287
- show_display: showOnOneKey,
34287
+ show_display: showOnUKey,
34288
34288
  });
34289
34289
  });
34290
34290
  }
@@ -34371,12 +34371,12 @@ class AptosGetPublicKey extends BaseMethod {
34371
34371
  const addressN = validatePath(batch.path, 3);
34372
34372
  validateParams(batch, [
34373
34373
  { name: 'path', required: true },
34374
- { name: 'showOnOneKey', type: 'boolean' },
34374
+ { name: 'showOnUKey', type: 'boolean' },
34375
34375
  ]);
34376
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34376
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34377
34377
  this.params.push({
34378
34378
  address_n: addressN,
34379
- show_display: showOnOneKey,
34379
+ show_display: showOnUKey,
34380
34380
  });
34381
34381
  });
34382
34382
  }
@@ -34567,12 +34567,12 @@ class AlgoGetAddress extends BaseMethod {
34567
34567
  const addressN = validatePath(batch.path, 3);
34568
34568
  validateParams(batch, [
34569
34569
  { name: 'path', required: true },
34570
- { name: 'showOnOneKey', type: 'boolean' },
34570
+ { name: 'showOnUKey', type: 'boolean' },
34571
34571
  ]);
34572
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34572
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34573
34573
  this.params.push({
34574
34574
  address_n: addressN,
34575
- show_display: showOnOneKey,
34575
+ show_display: showOnUKey,
34576
34576
  });
34577
34577
  });
34578
34578
  }
@@ -34662,14 +34662,14 @@ class CosmosGetAddress extends BaseMethod {
34662
34662
  validateParams(batch, [
34663
34663
  { name: 'path', required: true },
34664
34664
  { name: 'hrp', type: 'string' },
34665
- { name: 'showOnOneKey', type: 'boolean' },
34665
+ { name: 'showOnUKey', type: 'boolean' },
34666
34666
  ]);
34667
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34667
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34668
34668
  const { hrp } = batch;
34669
34669
  this.params.push({
34670
34670
  address_n: addressN,
34671
34671
  hrp,
34672
- show_display: showOnOneKey,
34672
+ show_display: showOnUKey,
34673
34673
  });
34674
34674
  });
34675
34675
  }
@@ -34727,9 +34727,9 @@ class CosmosGetPublicKey extends BaseMethod {
34727
34727
  validateParams(batch, [
34728
34728
  { name: 'path', required: true },
34729
34729
  { name: 'curve', type: 'string' },
34730
- { name: 'showOnOneKey', type: 'boolean' },
34730
+ { name: 'showOnUKey', type: 'boolean' },
34731
34731
  ]);
34732
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34732
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34733
34733
  const curveName = (_b = batch.curve) !== null && _b !== void 0 ? _b : 'secp256k1';
34734
34734
  if (curveName !== 'secp256k1') {
34735
34735
  throw new Error('Curve name is not supported');
@@ -34737,7 +34737,7 @@ class CosmosGetPublicKey extends BaseMethod {
34737
34737
  this.params.push({
34738
34738
  address_n: addressN,
34739
34739
  curve: curveName,
34740
- show_display: showOnOneKey,
34740
+ show_display: showOnUKey,
34741
34741
  });
34742
34742
  });
34743
34743
  }
@@ -34821,7 +34821,7 @@ class XrpGetAddress$1 extends BaseMethod {
34821
34821
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
34822
34822
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
34823
34823
  this.shouldConfirm = this.hasBundle
34824
- ? this.payload.bundle.some((i) => !!i.showOnOneKey)
34824
+ ? this.payload.bundle.some((i) => !!i.showOnUKey)
34825
34825
  : false;
34826
34826
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
34827
34827
  this.params = [];
@@ -34830,12 +34830,12 @@ class XrpGetAddress$1 extends BaseMethod {
34830
34830
  const addressN = validatePath(batch.path, 3);
34831
34831
  validateParams(batch, [
34832
34832
  { name: 'path', required: true },
34833
- { name: 'showOnOneKey', type: 'boolean' },
34833
+ { name: 'showOnUKey', type: 'boolean' },
34834
34834
  ]);
34835
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34835
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34836
34836
  this.params.push({
34837
34837
  address_n: addressN,
34838
- show_display: showOnOneKey,
34838
+ show_display: showOnUKey,
34839
34839
  });
34840
34840
  });
34841
34841
  }
@@ -34982,8 +34982,8 @@ class SuiGetAddress extends BaseMethod {
34982
34982
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
34983
34983
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
34984
34984
  this.shouldConfirm =
34985
- this.payload.showOnOneKey ||
34986
- ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnOneKey));
34985
+ this.payload.showOnUKey ||
34986
+ ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnUKey));
34987
34987
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
34988
34988
  this.params = [];
34989
34989
  payload.bundle.forEach((batch) => {
@@ -34991,12 +34991,12 @@ class SuiGetAddress extends BaseMethod {
34991
34991
  const addressN = validatePath(batch.path, 3);
34992
34992
  validateParams(batch, [
34993
34993
  { name: 'path', required: true },
34994
- { name: 'showOnOneKey', type: 'boolean' },
34994
+ { name: 'showOnUKey', type: 'boolean' },
34995
34995
  ]);
34996
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
34996
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
34997
34997
  this.params.push({
34998
34998
  address_n: addressN,
34999
- show_display: showOnOneKey,
34999
+ show_display: showOnUKey,
35000
35000
  });
35001
35001
  });
35002
35002
  }
@@ -35080,12 +35080,12 @@ class SuiGetPublicKey extends BaseMethod {
35080
35080
  const addressN = validatePath(batch.path, 3);
35081
35081
  validateParams(batch, [
35082
35082
  { name: 'path', required: true },
35083
- { name: 'showOnOneKey', type: 'boolean' },
35083
+ { name: 'showOnUKey', type: 'boolean' },
35084
35084
  ]);
35085
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
35085
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
35086
35086
  this.params.push({
35087
35087
  address_n: addressN,
35088
- show_display: showOnOneKey,
35088
+ show_display: showOnUKey,
35089
35089
  });
35090
35090
  });
35091
35091
  }
@@ -35327,7 +35327,7 @@ class CardanoGetAddress extends BaseMethod {
35327
35327
  { name: 'protocolMagic', type: 'number', required: true },
35328
35328
  { name: 'derivationType', type: 'number' },
35329
35329
  { name: 'address', type: 'string' },
35330
- { name: 'showOnOneKey', type: 'boolean' },
35330
+ { name: 'showOnUKey', type: 'boolean' },
35331
35331
  ]);
35332
35332
  validateAddressParameters(batch.addressParameters);
35333
35333
  return {
@@ -35338,7 +35338,7 @@ class CardanoGetAddress extends BaseMethod {
35338
35338
  derivation_type: typeof batch.derivationType !== 'undefined'
35339
35339
  ? batch.derivationType
35340
35340
  : hardwareTransport.Messages.CardanoDerivationType.ICARUS,
35341
- show_display: typeof batch.showOnOneKey === 'boolean' ? !!batch.showOnOneKey : true,
35341
+ show_display: typeof batch.showOnUKey === 'boolean' ? !!batch.showOnUKey : true,
35342
35342
  };
35343
35343
  });
35344
35344
  }
@@ -35422,7 +35422,7 @@ class CardanoGetPublicKey extends BaseMethod {
35422
35422
  validateParams(batch, [
35423
35423
  { name: 'path', required: true },
35424
35424
  { name: 'derivationType', type: 'number' },
35425
- { name: 'showOnOneKey', type: 'boolean' },
35425
+ { name: 'showOnUKey', type: 'boolean' },
35426
35426
  ]);
35427
35427
  const path = validatePath(batch.path, 3);
35428
35428
  return {
@@ -35430,7 +35430,7 @@ class CardanoGetPublicKey extends BaseMethod {
35430
35430
  derivation_type: typeof batch.derivationType !== 'undefined'
35431
35431
  ? batch.derivationType
35432
35432
  : hardwareTransport.Messages.CardanoDerivationType.ICARUS,
35433
- show_display: typeof batch.showOnOneKey === 'boolean' ? batch.showOnOneKey : false,
35433
+ show_display: typeof batch.showOnUKey === 'boolean' ? batch.showOnUKey : false,
35434
35434
  };
35435
35435
  });
35436
35436
  }
@@ -36265,13 +36265,13 @@ class FilecoinGetAddress extends BaseMethod {
36265
36265
  const addressN = validatePath(batch.path, 3);
36266
36266
  validateParams(batch, [
36267
36267
  { name: 'path', required: true },
36268
- { name: 'showOnOneKey', type: 'boolean' },
36268
+ { name: 'showOnUKey', type: 'boolean' },
36269
36269
  { name: 'isTestnet', type: 'boolean' },
36270
36270
  ]);
36271
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
36271
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
36272
36272
  this.params.push({
36273
36273
  address_n: addressN,
36274
- show_display: showOnOneKey,
36274
+ show_display: showOnUKey,
36275
36275
  testnet: batch.isTestnet,
36276
36276
  });
36277
36277
  });
@@ -36420,15 +36420,15 @@ class PolkadotGetAddress extends BaseMethod {
36420
36420
  { name: 'path', required: true },
36421
36421
  { name: 'prefix', required: true },
36422
36422
  { name: 'network', required: true },
36423
- { name: 'showOnOneKey', type: 'boolean' },
36423
+ { name: 'showOnUKey', type: 'boolean' },
36424
36424
  ]);
36425
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
36425
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
36426
36426
  const { prefix, network } = batch;
36427
36427
  this.params.push({
36428
36428
  address_n: addressN,
36429
36429
  prefix,
36430
36430
  network,
36431
- show_display: showOnOneKey,
36431
+ show_display: showOnUKey,
36432
36432
  });
36433
36433
  });
36434
36434
  }
@@ -36517,15 +36517,15 @@ class KaspaGetAddress extends BaseMethod {
36517
36517
  const addressN = validatePath(batch.path, 3);
36518
36518
  validateParams(batch, [
36519
36519
  { name: 'path', required: true },
36520
- { name: 'showOnOneKey', type: 'boolean' },
36520
+ { name: 'showOnUKey', type: 'boolean' },
36521
36521
  { name: 'prefix', type: 'string' },
36522
36522
  { name: 'scheme', type: 'string' },
36523
36523
  { name: 'useTweak', type: 'boolean' },
36524
36524
  ]);
36525
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
36525
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
36526
36526
  this.params.push({
36527
36527
  address_n: addressN,
36528
- show_display: showOnOneKey,
36528
+ show_display: showOnUKey,
36529
36529
  prefix: batch.prefix,
36530
36530
  scheme: batch.scheme,
36531
36531
  use_tweak: batch.useTweak,
@@ -37011,14 +37011,14 @@ class NexaGetAddress extends BaseMethod {
37011
37011
  const addressN = validatePath(batch.path, 3);
37012
37012
  validateParams(batch, [
37013
37013
  { name: 'path', required: true },
37014
- { name: 'showOnOneKey', type: 'boolean' },
37014
+ { name: 'showOnUKey', type: 'boolean' },
37015
37015
  { name: 'prefix', type: 'string' },
37016
37016
  { name: 'scheme', type: 'string' },
37017
37017
  ]);
37018
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
37018
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
37019
37019
  this.params.push({
37020
37020
  address_n: addressN,
37021
- show_display: showOnOneKey,
37021
+ show_display: showOnUKey,
37022
37022
  prefix: batch.prefix,
37023
37023
  scheme: batch.scheme,
37024
37024
  });
@@ -37145,12 +37145,12 @@ class NostrGetPublicKey extends BaseMethod {
37145
37145
  const addressN = validatePath(batch.path, 1);
37146
37146
  validateParams(batch, [
37147
37147
  { name: 'path', required: true },
37148
- { name: 'showOnOneKey', type: 'boolean' },
37148
+ { name: 'showOnUKey', type: 'boolean' },
37149
37149
  ]);
37150
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
37150
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
37151
37151
  this.params.push({
37152
37152
  address_n: addressN,
37153
- show_display: showOnOneKey,
37153
+ show_display: showOnUKey,
37154
37154
  });
37155
37155
  });
37156
37156
  }
@@ -37268,14 +37268,14 @@ class NostrEncryptMessage extends BaseMethod {
37268
37268
  { name: 'path', required: true },
37269
37269
  { name: 'pubkey', required: true, type: 'string' },
37270
37270
  { name: 'plaintext', required: true, type: 'string' },
37271
- { name: 'showOnOneKey', type: 'boolean' },
37271
+ { name: 'showOnUKey', type: 'boolean' },
37272
37272
  ]);
37273
37273
  const addressN = validatePath(payload.path, 5);
37274
37274
  this.params = {
37275
37275
  address_n: addressN,
37276
37276
  pubkey: payload.pubkey,
37277
37277
  msg: payload.plaintext,
37278
- show_display: (_a = payload.showOnOneKey) !== null && _a !== void 0 ? _a : true,
37278
+ show_display: (_a = payload.showOnUKey) !== null && _a !== void 0 ? _a : true,
37279
37279
  };
37280
37280
  }
37281
37281
  getVersionRange() {
@@ -37315,14 +37315,14 @@ class NostrDecryptMessage extends BaseMethod {
37315
37315
  { name: 'path', required: true },
37316
37316
  { name: 'pubkey', required: true, type: 'string' },
37317
37317
  { name: 'ciphertext', required: true, type: 'string' },
37318
- { name: 'showOnOneKey', type: 'boolean' },
37318
+ { name: 'showOnUKey', type: 'boolean' },
37319
37319
  ]);
37320
37320
  const addressN = validatePath(payload.path, 5);
37321
37321
  this.params = {
37322
37322
  address_n: addressN,
37323
37323
  pubkey: payload.pubkey,
37324
37324
  msg: payload.ciphertext,
37325
- show_display: (_a = payload.showOnOneKey) !== null && _a !== void 0 ? _a : true,
37325
+ show_display: (_a = payload.showOnUKey) !== null && _a !== void 0 ? _a : true,
37326
37326
  };
37327
37327
  }
37328
37328
  getVersionRange() {
@@ -37444,13 +37444,13 @@ class NervosGetAddress extends BaseMethod {
37444
37444
  const addressN = validatePath(batch.path, 3);
37445
37445
  validateParams(batch, [
37446
37446
  { name: 'path', required: true },
37447
- { name: 'showOnOneKey', type: 'boolean' },
37447
+ { name: 'showOnUKey', type: 'boolean' },
37448
37448
  { name: 'network', type: 'string' },
37449
37449
  ]);
37450
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
37450
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
37451
37451
  this.params.push({
37452
37452
  address_n: addressN,
37453
- show_display: showOnOneKey,
37453
+ show_display: showOnUKey,
37454
37454
  network: batch.network,
37455
37455
  });
37456
37456
  });
@@ -37580,12 +37580,12 @@ class DnxGetAddress extends BaseMethod {
37580
37580
  const addressN = validatePath(batch.path, 3);
37581
37581
  validateParams(batch, [
37582
37582
  { name: 'path', required: true },
37583
- { name: 'showOnOneKey', type: 'boolean' },
37583
+ { name: 'showOnUKey', type: 'boolean' },
37584
37584
  ]);
37585
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
37585
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
37586
37586
  this.params.push({
37587
37587
  address_n: addressN,
37588
- show_display: showOnOneKey,
37588
+ show_display: showOnUKey,
37589
37589
  });
37590
37590
  });
37591
37591
  }
@@ -37723,7 +37723,7 @@ class TonGetAddress extends BaseMethod {
37723
37723
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
37724
37724
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
37725
37725
  this.shouldConfirm = this.hasBundle
37726
- ? this.payload.bundle.some((i) => !!i.showOnOneKey)
37726
+ ? this.payload.bundle.some((i) => !!i.showOnUKey)
37727
37727
  : false;
37728
37728
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
37729
37729
  this.params = [];
@@ -37732,17 +37732,17 @@ class TonGetAddress extends BaseMethod {
37732
37732
  const addressN = validatePath(batch.path, 3);
37733
37733
  validateParams(batch, [
37734
37734
  { name: 'path', required: true },
37735
- { name: 'showOnOneKey', type: 'boolean' },
37735
+ { name: 'showOnUKey', type: 'boolean' },
37736
37736
  { name: 'walletVersion' },
37737
37737
  { name: 'isBounceable', type: 'boolean' },
37738
37738
  { name: 'isTestnetOnly', type: 'boolean' },
37739
37739
  { name: 'workchain' },
37740
37740
  { name: 'walletId', type: 'number' },
37741
37741
  ]);
37742
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
37742
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
37743
37743
  this.params.push({
37744
37744
  address_n: addressN,
37745
- show_display: showOnOneKey,
37745
+ show_display: showOnUKey,
37746
37746
  wallet_version: batch.walletVersion,
37747
37747
  is_bounceable: batch.isBounceable,
37748
37748
  is_testnet_only: batch.isTestnetOnly,
@@ -38012,12 +38012,12 @@ class ScdoGetAddress extends BaseMethod {
38012
38012
  const addressN = validatePath(batch.path, 3);
38013
38013
  validateParams(batch, [
38014
38014
  { name: 'path', required: true },
38015
- { name: 'showOnOneKey', type: 'boolean' },
38015
+ { name: 'showOnUKey', type: 'boolean' },
38016
38016
  ]);
38017
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
38017
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
38018
38018
  this.params.push({
38019
38019
  address_n: addressN,
38020
- show_display: showOnOneKey,
38020
+ show_display: showOnUKey,
38021
38021
  });
38022
38022
  });
38023
38023
  }
@@ -38168,12 +38168,12 @@ class AlephiumGetAddress extends BaseMethod {
38168
38168
  const addressN = validatePath(batch.path, 3);
38169
38169
  validateParams(batch, [
38170
38170
  { name: 'path', required: true },
38171
- { name: 'showOnOneKey', type: 'boolean' },
38171
+ { name: 'showOnUKey', type: 'boolean' },
38172
38172
  { name: 'includePublicKey', type: 'boolean' },
38173
38173
  { name: 'group', type: 'number' },
38174
38174
  ]);
38175
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
38176
- this.params.push(Object.assign({ address_n: addressN, show_display: showOnOneKey, include_public_key: (_b = batch.includePublicKey) !== null && _b !== void 0 ? _b : false }, (batch.group !== null && { target_group: (_c = batch.group) !== null && _c !== void 0 ? _c : 0 })));
38175
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
38176
+ this.params.push(Object.assign({ address_n: addressN, show_display: showOnUKey, include_public_key: (_b = batch.includePublicKey) !== null && _b !== void 0 ? _b : false }, (batch.group !== null && { target_group: (_c = batch.group) !== null && _c !== void 0 ? _c : 0 })));
38177
38177
  });
38178
38178
  }
38179
38179
  getVersionRange() {
@@ -38357,8 +38357,8 @@ class BenfenGetAddress extends BaseMethod {
38357
38357
  this.hasBundle = !!((_a = this.payload) === null || _a === void 0 ? void 0 : _a.bundle);
38358
38358
  const payload = this.hasBundle ? this.payload : { bundle: [this.payload] };
38359
38359
  this.shouldConfirm =
38360
- this.payload.showOnOneKey ||
38361
- ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnOneKey));
38360
+ this.payload.showOnUKey ||
38361
+ ((_b = this.payload.bundle) === null || _b === void 0 ? void 0 : _b.some((i) => !!i.showOnUKey));
38362
38362
  validateParams(payload, [{ name: 'bundle', type: 'array' }]);
38363
38363
  this.params = [];
38364
38364
  payload.bundle.forEach((batch) => {
@@ -38366,12 +38366,12 @@ class BenfenGetAddress extends BaseMethod {
38366
38366
  const addressN = validatePath(batch.path, 3);
38367
38367
  validateParams(batch, [
38368
38368
  { name: 'path', required: true },
38369
- { name: 'showOnOneKey', type: 'boolean' },
38369
+ { name: 'showOnUKey', type: 'boolean' },
38370
38370
  ]);
38371
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
38371
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
38372
38372
  this.params.push({
38373
38373
  address_n: addressN,
38374
- show_display: showOnOneKey,
38374
+ show_display: showOnUKey,
38375
38375
  });
38376
38376
  });
38377
38377
  }
@@ -38454,12 +38454,12 @@ class BenfenGetPublicKey extends BaseMethod {
38454
38454
  const addressN = validatePath(batch.path, 3);
38455
38455
  validateParams(batch, [
38456
38456
  { name: 'path', required: true },
38457
- { name: 'showOnOneKey', type: 'boolean' },
38457
+ { name: 'showOnUKey', type: 'boolean' },
38458
38458
  ]);
38459
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
38459
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
38460
38460
  this.params.push({
38461
38461
  address_n: addressN,
38462
- show_display: showOnOneKey,
38462
+ show_display: showOnUKey,
38463
38463
  });
38464
38464
  });
38465
38465
  }
@@ -38603,12 +38603,12 @@ class NeoGetAddress extends BaseMethod {
38603
38603
  const addressN = validatePath(batch.path, 3);
38604
38604
  validateParams(batch, [
38605
38605
  { name: 'path', required: true },
38606
- { name: 'showOnOneKey', type: 'boolean' },
38606
+ { name: 'showOnUKey', type: 'boolean' },
38607
38607
  ]);
38608
- const showOnOneKey = (_a = batch.showOnOneKey) !== null && _a !== void 0 ? _a : true;
38608
+ const showOnUKey = (_a = batch.showOnUKey) !== null && _a !== void 0 ? _a : true;
38609
38609
  this.params.push({
38610
38610
  address_n: addressN,
38611
- show_display: showOnOneKey,
38611
+ show_display: showOnUKey,
38612
38612
  });
38613
38613
  });
38614
38614
  }