@trezor/connect 9.4.7-beta.1 → 9.4.8-beta.1

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 (291) hide show
  1. package/CHANGELOG.md +56 -9
  2. package/README.md +1 -1
  3. package/lib/api/applyFlags.d.ts +1 -1
  4. package/lib/api/applyFlags.js +1 -1
  5. package/lib/api/applySettings.d.ts +1 -1
  6. package/lib/api/authenticateDevice.js +1 -1
  7. package/lib/api/authorizeCoinjoin.d.ts +1 -1
  8. package/lib/api/authorizeCoinjoin.js +1 -1
  9. package/lib/api/backupDevice.d.ts +1 -1
  10. package/lib/api/backupDevice.js +1 -1
  11. package/lib/api/binance/api/binanceGetAddress.d.ts +1 -1
  12. package/lib/api/binance/api/binanceGetAddress.js +3 -3
  13. package/lib/api/binance/api/binanceGetPublicKey.d.ts +1 -1
  14. package/lib/api/binance/api/binanceGetPublicKey.js +2 -2
  15. package/lib/api/binance/api/binanceSignTransaction.js +2 -2
  16. package/lib/api/binance/binanceSignTx.d.ts +1 -1
  17. package/lib/api/bitcoin/TransactionComposer.d.ts +1 -1
  18. package/lib/api/bitcoin/inputs.d.ts +1 -1
  19. package/lib/api/bitcoin/inputs.js +1 -1
  20. package/lib/api/bitcoin/outputs.js +2 -2
  21. package/lib/api/bitcoin/refTx.d.ts +2 -2
  22. package/lib/api/bitcoin/refTx.js +4 -4
  23. package/lib/api/bitcoin/signtx.d.ts +2 -2
  24. package/lib/api/bitcoin/signtxLegacy.d.ts +1 -1
  25. package/lib/api/bitcoin/signtxVerify.d.ts +1 -1
  26. package/lib/api/blockchainDisconnect.js +2 -2
  27. package/lib/api/blockchainEstimateFee.d.ts +1 -1
  28. package/lib/api/blockchainEstimateFee.js +3 -2
  29. package/lib/api/blockchainEvmRpcCall.js +2 -2
  30. package/lib/api/blockchainGetAccountBalanceHistory.d.ts +1 -1
  31. package/lib/api/blockchainGetAccountBalanceHistory.js +1 -1
  32. package/lib/api/blockchainGetCurrentFiatRates.d.ts +1 -1
  33. package/lib/api/blockchainGetCurrentFiatRates.js +1 -1
  34. package/lib/api/blockchainGetFiatRatesForTimestamps.d.ts +1 -1
  35. package/lib/api/blockchainGetFiatRatesForTimestamps.js +1 -1
  36. package/lib/api/blockchainGetInfo.js +1 -1
  37. package/lib/api/blockchainGetTransactions.js +1 -1
  38. package/lib/api/blockchainSetCustomBackend.js +1 -1
  39. package/lib/api/blockchainSubscribe.d.ts +1 -1
  40. package/lib/api/blockchainSubscribe.js +1 -1
  41. package/lib/api/blockchainSubscribeFiatRates.d.ts +1 -1
  42. package/lib/api/blockchainSubscribeFiatRates.js +1 -1
  43. package/lib/api/blockchainUnsubscribe.d.ts +1 -1
  44. package/lib/api/blockchainUnsubscribe.js +1 -1
  45. package/lib/api/blockchainUnsubscribeFiatRates.js +1 -1
  46. package/lib/api/cancelCoinjoinAuthorization.d.ts +1 -1
  47. package/lib/api/cardano/api/cardanoComposeTransaction.d.ts +1 -1
  48. package/lib/api/cardano/api/cardanoComposeTransaction.js +3 -11
  49. package/lib/api/cardano/api/cardanoGetAddress.d.ts +1 -1
  50. package/lib/api/cardano/api/cardanoGetAddress.js +4 -4
  51. package/lib/api/cardano/api/cardanoGetNativeScriptHash.js +2 -2
  52. package/lib/api/cardano/api/cardanoGetPublicKey.js +2 -2
  53. package/lib/api/cardano/api/cardanoSignTransaction.d.ts +3 -3
  54. package/lib/api/cardano/api/cardanoSignTransaction.js +4 -4
  55. package/lib/api/cardano/cardanoAddressParameters.js +1 -1
  56. package/lib/api/cardano/cardanoAuxiliaryData.js +1 -1
  57. package/lib/api/cardano/cardanoCertificate.js +1 -1
  58. package/lib/api/cardano/cardanoInputs.js +1 -1
  59. package/lib/api/cardano/cardanoUtils.js +30 -0
  60. package/lib/api/changePin.d.ts +1 -1
  61. package/lib/api/changePin.js +1 -1
  62. package/lib/api/changeWipeCode.d.ts +1 -1
  63. package/lib/api/cipherKeyValue.d.ts +1 -1
  64. package/lib/api/cipherKeyValue.js +3 -3
  65. package/lib/api/common/Discovery.d.ts +2 -2
  66. package/lib/api/common/paramsValidator.js +1 -1
  67. package/lib/api/composeTransaction.d.ts +3 -3
  68. package/lib/api/composeTransaction.js +9 -9
  69. package/lib/api/eos/api/eosGetPublicKey.d.ts +1 -1
  70. package/lib/api/eos/api/eosGetPublicKey.js +2 -2
  71. package/lib/api/eos/api/eosSignTransaction.d.ts +1 -1
  72. package/lib/api/eos/api/eosSignTransaction.js +2 -2
  73. package/lib/api/eos/eosSignTx.d.ts +3 -3
  74. package/lib/api/ethereum/api/ethereumGetAddress.d.ts +3 -3
  75. package/lib/api/ethereum/api/ethereumGetAddress.js +6 -6
  76. package/lib/api/ethereum/api/ethereumGetPublicKey.d.ts +1 -1
  77. package/lib/api/ethereum/api/ethereumGetPublicKey.js +3 -3
  78. package/lib/api/ethereum/api/ethereumSignMessage.d.ts +1 -1
  79. package/lib/api/ethereum/api/ethereumSignMessage.js +3 -3
  80. package/lib/api/ethereum/api/ethereumSignTransaction.d.ts +2 -2
  81. package/lib/api/ethereum/api/ethereumSignTransaction.js +4 -4
  82. package/lib/api/ethereum/api/ethereumSignTypedData.d.ts +2 -1
  83. package/lib/api/ethereum/api/ethereumSignTypedData.js +6 -6
  84. package/lib/api/ethereum/api/ethereumVerifyMessage.d.ts +1 -1
  85. package/lib/api/ethereum/api/ethereumVerifyMessage.js +2 -2
  86. package/lib/api/ethereum/ethereumDefinitions.d.ts +2 -2
  87. package/lib/api/ethereum/ethereumDefinitions.js +1 -0
  88. package/lib/api/firmware/getBinaryForFirmwareUpgrade.js +2 -2
  89. package/lib/api/firmware/parseFirmwareHeaders.d.ts +2 -1
  90. package/lib/api/firmware/uploadFirmware.d.ts +1 -1
  91. package/lib/api/firmware/uploadFirmware.js +1 -1
  92. package/lib/api/firmware/verifyAuthenticityProof.d.ts +1 -1
  93. package/lib/api/firmware/verifyEntropy.d.ts +19 -0
  94. package/lib/api/firmware/verifyEntropy.js +112 -0
  95. package/lib/api/getAccountDescriptor.js +4 -4
  96. package/lib/api/getAccountInfo.d.ts +21 -1
  97. package/lib/api/getAccountInfo.js +7 -7
  98. package/lib/api/getAddress.d.ts +1 -1
  99. package/lib/api/getAddress.js +3 -3
  100. package/lib/api/getCoinInfo.d.ts +3 -0
  101. package/lib/api/getCoinInfo.js +1 -1
  102. package/lib/api/getDeviceState.js +1 -1
  103. package/lib/api/getFirmwareHash.d.ts +1 -1
  104. package/lib/api/getFirmwareHash.js +1 -1
  105. package/lib/api/getOwnershipId.d.ts +1 -1
  106. package/lib/api/getOwnershipId.js +2 -2
  107. package/lib/api/getOwnershipProof.d.ts +1 -1
  108. package/lib/api/getOwnershipProof.js +2 -2
  109. package/lib/api/getPublicKey.d.ts +1 -1
  110. package/lib/api/getPublicKey.js +4 -4
  111. package/lib/api/loadDevice.d.ts +1 -1
  112. package/lib/api/loadDevice.js +1 -1
  113. package/lib/api/nem/api/nemGetAddress.d.ts +1 -1
  114. package/lib/api/nem/api/nemGetAddress.js +3 -3
  115. package/lib/api/nem/api/nemSignTransaction.d.ts +1 -1
  116. package/lib/api/nem/api/nemSignTransaction.js +2 -2
  117. package/lib/api/pushTransaction.js +2 -2
  118. package/lib/api/recoveryDevice.d.ts +1 -1
  119. package/lib/api/requestLogin.d.ts +1 -1
  120. package/lib/api/requestLogin.js +2 -2
  121. package/lib/api/resetDevice.d.ts +3 -1
  122. package/lib/api/resetDevice.js +58 -3
  123. package/lib/api/ripple/api/rippleGetAddress.d.ts +1 -1
  124. package/lib/api/ripple/api/rippleGetAddress.js +3 -3
  125. package/lib/api/ripple/api/rippleSignTransaction.d.ts +1 -1
  126. package/lib/api/ripple/api/rippleSignTransaction.js +2 -2
  127. package/lib/api/setBrightness.d.ts +1 -1
  128. package/lib/api/setBrightness.js +1 -1
  129. package/lib/api/setBusy.d.ts +1 -1
  130. package/lib/api/setBusy.js +1 -1
  131. package/lib/api/setProxy.js +1 -1
  132. package/lib/api/showDeviceTutorial.d.ts +1 -1
  133. package/lib/api/showDeviceTutorial.js +1 -1
  134. package/lib/api/signMessage.d.ts +1 -1
  135. package/lib/api/signMessage.js +2 -2
  136. package/lib/api/signTransaction.d.ts +2 -2
  137. package/lib/api/signTransaction.js +3 -3
  138. package/lib/api/solana/api/index.d.ts +1 -0
  139. package/lib/api/solana/api/index.js +3 -1
  140. package/lib/api/solana/api/solanaComposeTransaction.d.ts +25 -0
  141. package/lib/api/solana/api/solanaComposeTransaction.js +61 -0
  142. package/lib/api/solana/api/solanaGetAddress.js +2 -2
  143. package/lib/api/solana/api/solanaGetPublicKey.js +2 -2
  144. package/lib/api/solana/api/solanaSignTransaction.d.ts +9 -1
  145. package/lib/api/solana/api/solanaSignTransaction.js +20 -2
  146. package/lib/api/solana/solanaUtils.d.ts +48 -0
  147. package/lib/api/solana/solanaUtils.js +213 -0
  148. package/lib/api/stellar/api/stellarGetAddress.d.ts +1 -1
  149. package/lib/api/stellar/api/stellarGetAddress.js +3 -3
  150. package/lib/api/stellar/api/stellarSignTransaction.js +3 -3
  151. package/lib/api/tezos/api/tezosGetAddress.d.ts +1 -1
  152. package/lib/api/tezos/api/tezosGetAddress.js +3 -3
  153. package/lib/api/tezos/api/tezosGetPublicKey.d.ts +1 -1
  154. package/lib/api/tezos/api/tezosGetPublicKey.js +2 -2
  155. package/lib/api/tezos/api/tezosSignTransaction.d.ts +1 -1
  156. package/lib/api/tezos/api/tezosSignTransaction.js +2 -2
  157. package/lib/api/tezos/tezosSignTx.d.ts +17 -17
  158. package/lib/api/unlockPath.d.ts +1 -1
  159. package/lib/api/verifyMessage.d.ts +1 -1
  160. package/lib/api/verifyMessage.js +3 -3
  161. package/lib/backend/BackendManager.d.ts +1 -1
  162. package/lib/backend/BackendManager.js +1 -1
  163. package/lib/backend/Blockchain.d.ts +2 -2
  164. package/lib/backend/Blockchain.js +4 -7
  165. package/lib/constants/errors.d.ts +2 -0
  166. package/lib/constants/errors.js +4 -0
  167. package/lib/core/AbstractMethod.d.ts +2 -2
  168. package/lib/core/AbstractMethod.js +2 -1
  169. package/lib/core/index.d.ts +3 -3
  170. package/lib/core/index.js +44 -48
  171. package/lib/core/onCallFirmwareUpdate.d.ts +3 -8
  172. package/lib/core/onCallFirmwareUpdate.js +63 -21
  173. package/lib/data/DataManager.js +1 -5
  174. package/lib/data/coinInfo.d.ts +15 -131
  175. package/lib/data/coinInfo.js +8 -8
  176. package/lib/data/config.d.ts +23 -0
  177. package/lib/data/config.js +4 -0
  178. package/lib/data/connectSettings.js +1 -1
  179. package/lib/data/defaultFeeLevels.d.ts +2 -2
  180. package/lib/data/defaultFeeLevels.js +34 -14
  181. package/lib/data/deviceAuthenticityConfigTypes.d.ts +1 -0
  182. package/lib/data/deviceAuthenticityConfigTypes.js +2 -2
  183. package/lib/data/firmwareInfo.js +1 -1
  184. package/lib/data/models.js +5 -1
  185. package/lib/data/transportInfo.d.ts +0 -1
  186. package/lib/data/transportInfo.js +41 -28
  187. package/lib/data/udevInfo.d.ts +0 -1
  188. package/lib/data/udevInfo.js +2 -5
  189. package/lib/data/version.d.ts +1 -1
  190. package/lib/data/version.js +1 -1
  191. package/lib/device/Device.d.ts +11 -10
  192. package/lib/device/Device.js +39 -17
  193. package/lib/device/DeviceCommands.d.ts +2 -2
  194. package/lib/device/DeviceCommands.js +42 -27
  195. package/lib/device/DeviceList.d.ts +27 -22
  196. package/lib/device/DeviceList.js +222 -133
  197. package/lib/device/StateStorage.js +11 -13
  198. package/lib/device/prompts.js +28 -36
  199. package/lib/device/resolveDescriptorForTaproot.d.ts +2 -2
  200. package/lib/device/resolveDescriptorForTaproot.js +5 -13
  201. package/lib/events/blockchain.d.ts +1 -1
  202. package/lib/events/call.d.ts +1 -1
  203. package/lib/events/core.d.ts +3 -3
  204. package/lib/events/device.d.ts +11 -1
  205. package/lib/events/device.js +1 -0
  206. package/lib/events/popup.d.ts +2 -2
  207. package/lib/events/transport.d.ts +15 -9
  208. package/lib/events/transport.js +10 -1
  209. package/lib/events/ui-promise.d.ts +1 -1
  210. package/lib/events/ui-request.d.ts +3 -3
  211. package/lib/factory.d.ts +3 -2
  212. package/lib/factory.js +3 -1
  213. package/lib/impl/core-in-module.d.ts +4 -2
  214. package/lib/impl/core-in-module.js +9 -1
  215. package/lib/impl/dynamic.d.ts +4 -2
  216. package/lib/impl/dynamic.js +5 -4
  217. package/lib/index-browser.js +1 -0
  218. package/lib/index.js +11 -3
  219. package/lib/types/account.d.ts +1 -1
  220. package/lib/types/api/authenticateDevice.d.ts +1 -0
  221. package/lib/types/api/authorizeCoinjoin.d.ts +1 -1
  222. package/lib/types/api/authorizeCoinjoin.js +1 -1
  223. package/lib/types/api/binanceGetAddress.d.ts +1 -1
  224. package/lib/types/api/binanceGetPublicKey.d.ts +1 -1
  225. package/lib/types/api/blockchainEstimateFee.d.ts +1 -1
  226. package/lib/types/api/blockchainSetCustomBackend.d.ts +1 -1
  227. package/lib/types/api/blockchainSubscribe.d.ts +1 -1
  228. package/lib/types/api/cardanoComposeTransaction.d.ts +112 -6
  229. package/lib/types/api/cardanoComposeTransaction.js +77 -0
  230. package/lib/types/api/cardanoGetAddress.d.ts +1 -1
  231. package/lib/types/api/cardanoGetPublicKey.d.ts +1 -1
  232. package/lib/types/api/changeLanguage.d.ts +1 -1
  233. package/lib/types/api/cipherKeyValue.d.ts +1 -1
  234. package/lib/types/api/composeTransaction.d.ts +1 -1
  235. package/lib/types/api/eosGetPublicKey.d.ts +1 -1
  236. package/lib/types/api/ethereumGetAddress.d.ts +1 -1
  237. package/lib/types/api/ethereumGetPublicKey.d.ts +1 -1
  238. package/lib/types/api/ethereumSignTypedData.d.ts +1 -1
  239. package/lib/types/api/firmwareUpdate.d.ts +11 -2
  240. package/lib/types/api/getAccountDescriptor.d.ts +1 -1
  241. package/lib/types/api/getAccountInfo.d.ts +1 -1
  242. package/lib/types/api/getAddress.d.ts +2 -1
  243. package/lib/types/api/getCoinInfo.d.ts +1 -1
  244. package/lib/types/api/getDeviceState.d.ts +1 -1
  245. package/lib/types/api/getFeatures.d.ts +1 -1
  246. package/lib/types/api/getOwnershipId.d.ts +2 -1
  247. package/lib/types/api/getOwnershipProof.d.ts +2 -1
  248. package/lib/types/api/getPublicKey.d.ts +1 -1
  249. package/lib/types/api/index.d.ts +7 -3
  250. package/lib/types/api/nem/index.d.ts +1 -1
  251. package/lib/types/api/nemGetAddress.d.ts +1 -1
  252. package/lib/types/api/on.d.ts +1 -1
  253. package/lib/types/api/recoveryDevice.d.ts +1 -1
  254. package/lib/types/api/rippleGetAddress.d.ts +1 -1
  255. package/lib/types/api/setTransports.d.ts +4 -0
  256. package/lib/types/api/setTransports.js +3 -0
  257. package/lib/types/api/solana/index.d.ts +41 -0
  258. package/lib/types/api/solana/index.js +31 -1
  259. package/lib/types/api/solanaComposeTransaction.d.ts +4 -0
  260. package/lib/types/api/solanaComposeTransaction.js +3 -0
  261. package/lib/types/api/solanaGetAddress.d.ts +1 -1
  262. package/lib/types/api/solanaGetPublicKey.d.ts +1 -1
  263. package/lib/types/api/stellarGetAddress.d.ts +1 -1
  264. package/lib/types/api/tezosGetAddress.d.ts +1 -1
  265. package/lib/types/api/tezosGetPublicKey.d.ts +1 -1
  266. package/lib/types/api/unlockPath.d.ts +1 -1
  267. package/lib/types/coinInfo.d.ts +33 -0
  268. package/lib/types/coinInfo.js +8 -2
  269. package/lib/types/params.d.ts +1 -1
  270. package/lib/utils/abortablePromise.d.ts +5 -0
  271. package/lib/utils/abortablePromise.js +17 -0
  272. package/lib/utils/accountUtils.d.ts +1 -1
  273. package/lib/utils/accountUtils.js +1 -1
  274. package/lib/utils/assetUtils.js +1 -2
  275. package/lib/utils/assets-browser.d.ts +1 -1
  276. package/lib/utils/assets.js +1 -1
  277. package/lib/utils/assets.native.d.ts +1 -1
  278. package/lib/utils/deviceFeaturesUtils.d.ts +1 -1
  279. package/lib/utils/deviceFeaturesUtils.js +6 -12
  280. package/lib/utils/ethereumUtils.d.ts +3 -2
  281. package/lib/utils/firmwareUtils.d.ts +1 -1
  282. package/lib/utils/firmwareUtils.js +11 -4
  283. package/lib/utils/pathUtils.d.ts +1 -1
  284. package/lib/utils/urlUtils.js +2 -0
  285. package/lib/workers/workers-browser.d.ts +2 -2
  286. package/lib/workers/workers-browser.js +2 -2
  287. package/lib/workers/workers.native.d.ts +1 -1
  288. package/lib/workers/workers.native.js +2 -2
  289. package/package.json +22 -12
  290. package/lib/utils/promiseUtils.d.ts +0 -5
  291. package/lib/utils/promiseUtils.js +0 -14
@@ -1,4 +1,4 @@
1
- import type { CoinInfo, BitcoinNetworkInfo, DerivationPath } from '../types';
1
+ import type { BitcoinNetworkInfo, DerivationPath } from '../types';
2
2
  export declare const getBitcoinNetwork: (pathOrName: DerivationPath) => ({
3
3
  blockchainLink?: {
4
4
  type: string;
@@ -18,6 +18,7 @@ export declare const getBitcoinNetwork: (pathOrName: DerivationPath) => ({
18
18
  T3B1: string | false;
19
19
  T3T1: string | false;
20
20
  T3W1: string | false;
21
+ UNKNOWN: string | false;
21
22
  connect: boolean;
22
23
  };
23
24
  decimals: number;
@@ -58,7 +59,7 @@ export declare const getBitcoinNetwork: (pathOrName: DerivationPath) => ({
58
59
  };
59
60
  isBitcoin: boolean;
60
61
  }) | undefined;
61
- export declare const getEthereumNetwork: (pathOrName: DerivationPath) => ({
62
+ export declare const getEthereumNetwork: (pathOrNetworkSymbol: DerivationPath) => ({
62
63
  blockchainLink?: {
63
64
  type: string;
64
65
  url: string[];
@@ -77,6 +78,7 @@ export declare const getEthereumNetwork: (pathOrName: DerivationPath) => ({
77
78
  T3B1: string | false;
78
79
  T3T1: string | false;
79
80
  T3W1: string | false;
81
+ UNKNOWN: string | false;
80
82
  connect: boolean;
81
83
  };
82
84
  decimals: number;
@@ -111,6 +113,7 @@ export declare const getMiscNetwork: (pathOrName: DerivationPath) => ({
111
113
  T3B1: string | false;
112
114
  T3T1: string | false;
113
115
  T3W1: string | false;
116
+ UNKNOWN: string | false;
114
117
  connect: boolean;
115
118
  };
116
119
  decimals: number;
@@ -169,6 +172,7 @@ export declare const fixCoinInfoNetwork: (ci: BitcoinNetworkInfo, path: number[]
169
172
  T3B1: string | false;
170
173
  T3T1: string | false;
171
174
  T3W1: string | false;
175
+ UNKNOWN: string | false;
172
176
  connect: boolean;
173
177
  };
174
178
  decimals: number;
@@ -228,6 +232,7 @@ export declare const getCoinInfoByHash: (hash: string, networkInfo: any) => {
228
232
  T3B1: string | false;
229
233
  T3T1: string | false;
230
234
  T3W1: string | false;
235
+ UNKNOWN: string | false;
231
236
  connect: boolean;
232
237
  };
233
238
  decimals: number;
@@ -287,6 +292,7 @@ export declare const getCoinInfo: (currency: string) => ({
287
292
  T3B1: string | false;
288
293
  T3T1: string | false;
289
294
  T3W1: string | false;
295
+ UNKNOWN: string | false;
290
296
  connect: boolean;
291
297
  };
292
298
  decimals: number;
@@ -345,6 +351,7 @@ export declare const getCoinInfo: (currency: string) => ({
345
351
  T3B1: string | false;
346
352
  T3T1: string | false;
347
353
  T3W1: string | false;
354
+ UNKNOWN: string | false;
348
355
  connect: boolean;
349
356
  };
350
357
  decimals: number;
@@ -378,6 +385,7 @@ export declare const getCoinInfo: (currency: string) => ({
378
385
  T3B1: string | false;
379
386
  T3T1: string | false;
380
387
  T3W1: string | false;
388
+ UNKNOWN: string | false;
381
389
  connect: boolean;
382
390
  };
383
391
  decimals: number;
@@ -395,140 +403,13 @@ export declare const getCoinInfo: (currency: string) => ({
395
403
  }) | undefined;
396
404
  export declare const getCoinName: (path: number[]) => string;
397
405
  export declare const ethereumNetworkInfoBase: {
398
- blockTime: number;
399
- minFee: number;
400
- maxFee: number;
401
- dustLimit: number;
402
- defaultFees: import("../types").FeeLevel[];
403
406
  type: "ethereum";
404
407
  decimals: number;
405
408
  };
406
409
  export declare const parseCoinsJson: (json: any) => void;
407
- export declare const getUniqueNetworks: (networks: (CoinInfo | undefined)[]) => (({
408
- blockchainLink?: {
409
- type: string;
410
- url: string[];
411
- } | undefined;
412
- label: string;
413
- blockTime: number;
414
- minFee: number;
415
- maxFee: number;
416
- name: string;
410
+ export declare const getUniqueNetworks: <T extends {
417
411
  shortcut: string;
418
- slip44: number;
419
- support: {
420
- T1B1: string | false;
421
- T2T1: string | false;
422
- T2B1: string | false;
423
- T3B1: string | false;
424
- T3T1: string | false;
425
- T3W1: string | false;
426
- connect: boolean;
427
- };
428
- decimals: number;
429
- defaultFees: {
430
- feeLimit?: string | undefined;
431
- feePerTx?: string | undefined;
432
- label: "normal" | "custom" | "high" | "economy" | "low";
433
- feePerUnit: string;
434
- blocks: number;
435
- }[];
436
- } & {
437
- cashAddrPrefix?: string | undefined;
438
- xPubMagicSegwitNative?: number | undefined;
439
- xPubMagicSegwit?: number | undefined;
440
- taproot?: boolean | undefined;
441
- type: "bitcoin";
442
- dustLimit: number;
443
- curveName: string;
444
- forceBip143: boolean;
445
- hashGenesisBlock: string;
446
- maxAddressLength: number;
447
- maxFeeSatoshiKb: number;
448
- minAddressLength: number;
449
- minFeeSatoshiKb: number;
450
- segwit: boolean;
451
- xPubMagic: number;
452
- network: {
453
- forkId?: number | undefined;
454
- messagePrefix: string;
455
- bech32: string;
456
- bip32: {
457
- public: number;
458
- private: number;
459
- };
460
- pubKeyHash: number;
461
- scriptHash: number;
462
- wif: number;
463
- };
464
- isBitcoin: boolean;
465
- }) | ({
466
- blockchainLink?: {
467
- type: string;
468
- url: string[];
469
- } | undefined;
470
- label: string;
471
- blockTime: number;
472
- minFee: number;
473
- maxFee: number;
474
- name: string;
475
- shortcut: string;
476
- slip44: number;
477
- support: {
478
- T1B1: string | false;
479
- T2T1: string | false;
480
- T2B1: string | false;
481
- T3B1: string | false;
482
- T3T1: string | false;
483
- T3W1: string | false;
484
- connect: boolean;
485
- };
486
- decimals: number;
487
- defaultFees: {
488
- feeLimit?: string | undefined;
489
- feePerTx?: string | undefined;
490
- label: "normal" | "custom" | "high" | "economy" | "low";
491
- feePerUnit: string;
492
- blocks: number;
493
- }[];
494
- } & {
495
- network?: undefined;
496
- type: "ethereum";
497
- chainId: number;
498
- }) | ({
499
- blockchainLink?: {
500
- type: string;
501
- url: string[];
502
- } | undefined;
503
- label: string;
504
- blockTime: number;
505
- minFee: number;
506
- maxFee: number;
507
- name: string;
508
- shortcut: string;
509
- slip44: number;
510
- support: {
511
- T1B1: string | false;
512
- T2T1: string | false;
513
- T2B1: string | false;
514
- T3B1: string | false;
515
- T3T1: string | false;
516
- T3W1: string | false;
517
- connect: boolean;
518
- };
519
- decimals: number;
520
- defaultFees: {
521
- feeLimit?: string | undefined;
522
- feePerTx?: string | undefined;
523
- label: "normal" | "custom" | "high" | "economy" | "low";
524
- feePerUnit: string;
525
- blocks: number;
526
- }[];
527
- } & {
528
- network?: undefined;
529
- type: "nem" | "misc";
530
- curve: string;
531
- }))[];
412
+ }>(networks: (T | undefined)[]) => T[];
532
413
  export declare const getAllNetworks: () => (({
533
414
  blockchainLink?: {
534
415
  type: string;
@@ -548,6 +429,7 @@ export declare const getAllNetworks: () => (({
548
429
  T3B1: string | false;
549
430
  T3T1: string | false;
550
431
  T3W1: string | false;
432
+ UNKNOWN: string | false;
551
433
  connect: boolean;
552
434
  };
553
435
  decimals: number;
@@ -606,6 +488,7 @@ export declare const getAllNetworks: () => (({
606
488
  T3B1: string | false;
607
489
  T3T1: string | false;
608
490
  T3W1: string | false;
491
+ UNKNOWN: string | false;
609
492
  connect: boolean;
610
493
  };
611
494
  decimals: number;
@@ -639,6 +522,7 @@ export declare const getAllNetworks: () => (({
639
522
  T3B1: string | false;
640
523
  T3T1: string | false;
641
524
  T3W1: string | false;
525
+ UNKNOWN: string | false;
642
526
  connect: boolean;
643
527
  };
644
528
  decimals: number;
@@ -20,13 +20,13 @@ const getBitcoinNetwork = (pathOrName) => {
20
20
  return networks.find(n => n.slip44 === slip44);
21
21
  };
22
22
  exports.getBitcoinNetwork = getBitcoinNetwork;
23
- const getEthereumNetwork = (pathOrName) => {
23
+ const getEthereumNetwork = (pathOrNetworkSymbol) => {
24
24
  const networks = (0, utils_1.cloneObject)(ethereumNetworks);
25
- if (typeof pathOrName === 'string') {
26
- const name = pathOrName.toLowerCase();
27
- return networks.find(n => n.name.toLowerCase() === name || n.shortcut.toLowerCase() === name);
25
+ if (typeof pathOrNetworkSymbol === 'string') {
26
+ const networkSymbol = pathOrNetworkSymbol.toLowerCase();
27
+ return networks.find(network => network.shortcut.toLowerCase() === networkSymbol);
28
28
  }
29
- const slip44 = (0, pathUtils_1.fromHardened)(pathOrName[1]);
29
+ const slip44 = (0, pathUtils_1.fromHardened)(pathOrNetworkSymbol[1]);
30
30
  return networks.find(n => n.slip44 === slip44);
31
31
  };
32
32
  exports.getEthereumNetwork = getEthereumNetwork;
@@ -180,17 +180,17 @@ const parseBitcoinNetworksJson = (json) => {
180
180
  };
181
181
  exports.ethereumNetworkInfoBase = {
182
182
  type: 'ethereum',
183
- decimals: 16,
184
- ...(0, defaultFeeLevels_1.getEthereumFeeLevels)(),
183
+ decimals: 18,
185
184
  };
186
185
  const parseEthereumNetworksJson = (json) => {
187
186
  Object.keys(json).forEach(key => {
188
187
  const network = json[key];
189
188
  ethereumNetworks.push({
190
189
  ...exports.ethereumNetworkInfoBase,
190
+ ...(0, defaultFeeLevels_1.getEthereumFeeLevels)(network.chain),
191
191
  blockchainLink: network.blockchain_link,
192
192
  chainId: network.chain_id,
193
- label: network.name,
193
+ label: network.label,
194
194
  name: network.name,
195
195
  shortcut: network.shortcut,
196
196
  slip44: network.slip44,
@@ -63,6 +63,7 @@ export declare const config: {
63
63
  T2T1: string;
64
64
  T3T1?: undefined;
65
65
  T2B1?: undefined;
66
+ T3B1?: undefined;
66
67
  };
67
68
  max: undefined;
68
69
  comment: string[];
@@ -74,6 +75,7 @@ export declare const config: {
74
75
  T2T1: string;
75
76
  T3T1?: undefined;
76
77
  T2B1?: undefined;
78
+ T3B1?: undefined;
77
79
  };
78
80
  comment: string[];
79
81
  methods?: undefined;
@@ -86,6 +88,7 @@ export declare const config: {
86
88
  T2T1: string;
87
89
  T3T1?: undefined;
88
90
  T2B1?: undefined;
91
+ T3B1?: undefined;
89
92
  };
90
93
  comment: string[];
91
94
  coin?: undefined;
@@ -98,6 +101,7 @@ export declare const config: {
98
101
  T2T1: string;
99
102
  T3T1?: undefined;
100
103
  T2B1?: undefined;
104
+ T3B1?: undefined;
101
105
  };
102
106
  comment: string[];
103
107
  coin?: undefined;
@@ -111,6 +115,7 @@ export declare const config: {
111
115
  T2T1: string;
112
116
  T3T1?: undefined;
113
117
  T2B1?: undefined;
118
+ T3B1?: undefined;
114
119
  };
115
120
  comment: string[];
116
121
  max?: undefined;
@@ -123,6 +128,7 @@ export declare const config: {
123
128
  T2T1: string;
124
129
  T3T1?: undefined;
125
130
  T2B1?: undefined;
131
+ T3B1?: undefined;
126
132
  };
127
133
  coin?: undefined;
128
134
  max?: undefined;
@@ -134,6 +140,7 @@ export declare const config: {
134
140
  T2T1: string;
135
141
  T3T1: string;
136
142
  T2B1?: undefined;
143
+ T3B1?: undefined;
137
144
  };
138
145
  coin?: undefined;
139
146
  max?: undefined;
@@ -146,6 +153,7 @@ export declare const config: {
146
153
  T2T1: string;
147
154
  T3T1?: undefined;
148
155
  T2B1?: undefined;
156
+ T3B1?: undefined;
149
157
  };
150
158
  coin?: undefined;
151
159
  max?: undefined;
@@ -158,6 +166,7 @@ export declare const config: {
158
166
  T2T1: string;
159
167
  T2B1: string;
160
168
  T3T1?: undefined;
169
+ T3B1?: undefined;
161
170
  };
162
171
  coin?: undefined;
163
172
  max?: undefined;
@@ -170,11 +179,25 @@ export declare const config: {
170
179
  T2T1: string;
171
180
  T2B1: string;
172
181
  T3T1?: undefined;
182
+ T3B1?: undefined;
173
183
  };
174
184
  comment: string[];
175
185
  coin?: undefined;
176
186
  methods?: undefined;
177
187
  max?: undefined;
188
+ } | {
189
+ capabilities: string[];
190
+ min: {
191
+ T1B1: string;
192
+ T2T1: string;
193
+ T2B1: string;
194
+ T3B1: string;
195
+ T3T1: string;
196
+ };
197
+ coin?: undefined;
198
+ methods?: undefined;
199
+ max?: undefined;
200
+ comment?: undefined;
178
201
  })[];
179
202
  };
180
203
  //# sourceMappingURL=config.d.ts.map
@@ -256,6 +256,10 @@ exports.config = {
256
256
  T2B1: '2.7.0',
257
257
  },
258
258
  },
259
+ {
260
+ capabilities: ['entropyCheck'],
261
+ min: { T1B1: '0', T2T1: '2.8.7', T2B1: '2.8.7', T3B1: '2.8.7', T3T1: '2.8.7' },
262
+ },
259
263
  ],
260
264
  };
261
265
  //# sourceMappingURL=config.js.map
@@ -19,7 +19,7 @@ const initialSettings = {
19
19
  env: 'node',
20
20
  lazyLoad: false,
21
21
  timestamp: new Date().getTime(),
22
- interactionTimeout: 600,
22
+ interactionTimeout: 1200,
23
23
  sharedLogger: true,
24
24
  deeplinkUrl: `${version_1.DEFAULT_DOMAIN}deeplink/${version_1.DEEPLINK_VERSION}/`,
25
25
  transportReconnect: true,
@@ -1,4 +1,4 @@
1
- import { FeeLevel, FeeInfo } from '../types';
1
+ import { FeeInfo, FeeLevel } from '../types';
2
2
  interface CoinsJsonData {
3
3
  shortcut: string;
4
4
  blocktime_seconds: number;
@@ -11,7 +11,7 @@ export type FeeInfoWithLevels = FeeInfo & {
11
11
  defaultFees: FeeLevel[];
12
12
  };
13
13
  export declare const getBitcoinFeeLevels: (coin: CoinsJsonData) => FeeInfoWithLevels;
14
- export declare const getEthereumFeeLevels: () => FeeInfoWithLevels;
14
+ export declare const getEthereumFeeLevels: (chain: string) => FeeInfoWithLevels;
15
15
  export declare const getMiscFeeLevels: (data: CoinsJsonData) => FeeInfoWithLevels;
16
16
  export {};
17
17
  //# sourceMappingURL=defaultFeeLevels.d.ts.map
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getMiscFeeLevels = exports.getEthereumFeeLevels = exports.getBitcoinFeeLevels = void 0;
4
+ const utils_1 = require("@trezor/utils");
4
5
  const BLOCKS_FOR_FEE_LEVEL = {
5
6
  btc: {
6
7
  high: 1,
@@ -12,6 +13,22 @@ const BLOCKS_FOR_FEE_LEVEL = {
12
13
  const getDefaultBlocksForFeeLevel = (shortcut, label) => BLOCKS_FOR_FEE_LEVEL[shortcut] && BLOCKS_FOR_FEE_LEVEL[shortcut][label]
13
14
  ? BLOCKS_FOR_FEE_LEVEL[shortcut][label]
14
15
  : -1;
16
+ const EVM_GAS_PRICE_PER_CHAIN_IN_GWEI = {
17
+ eth: { min: 1, max: 10000, defaultGas: 15 },
18
+ pol: { min: 1, max: 10000000, defaultGas: 200 },
19
+ bsc: { min: 1, max: 100000, defaultGas: 3 },
20
+ base: { min: 0.0000001, max: 1000, defaultGas: 0.01 },
21
+ arb: { min: 0.001, max: 1000, defaultGas: 0.01 },
22
+ op: { min: 0.000000001, max: 1000, defaultGas: 0.01 },
23
+ };
24
+ const getEvmChainGweiGasPrice = (chain) => {
25
+ var _a;
26
+ return (_a = EVM_GAS_PRICE_PER_CHAIN_IN_GWEI[chain]) !== null && _a !== void 0 ? _a : {
27
+ min: 0.000000001,
28
+ max: 10000,
29
+ defaultGas: 5,
30
+ };
31
+ };
15
32
  const getBitcoinFeeLevels = (coin) => {
16
33
  const defaultFees = coin.default_fee_b;
17
34
  const shortcut = coin.shortcut.toLowerCase();
@@ -35,20 +52,23 @@ const getBitcoinFeeLevels = (coin) => {
35
52
  };
36
53
  };
37
54
  exports.getBitcoinFeeLevels = getBitcoinFeeLevels;
38
- const getEthereumFeeLevels = () => ({
39
- blockTime: -1,
40
- defaultFees: [
41
- {
42
- label: 'normal',
43
- feePerUnit: '5000000000',
44
- feeLimit: '21000',
45
- blocks: -1,
46
- },
47
- ],
48
- minFee: 1,
49
- maxFee: 10000,
50
- dustLimit: -1,
51
- });
55
+ const getEthereumFeeLevels = (chain) => {
56
+ const { min, max, defaultGas } = getEvmChainGweiGasPrice(chain);
57
+ return {
58
+ blockTime: -1,
59
+ defaultFees: [
60
+ {
61
+ label: 'normal',
62
+ feePerUnit: new utils_1.BigNumber(defaultGas).multipliedBy('1e+9').toString(),
63
+ feeLimit: '21000',
64
+ blocks: -1,
65
+ },
66
+ ],
67
+ minFee: min,
68
+ maxFee: max,
69
+ dustLimit: -1,
70
+ };
71
+ };
52
72
  exports.getEthereumFeeLevels = getEthereumFeeLevels;
53
73
  const RIPPLE_FEE_INFO = {
54
74
  blockTime: -1,
@@ -40,6 +40,7 @@ export declare const DeviceAuthenticityConfig: import("@trezor/schema-utils").TI
40
40
  }>, import("@trezor/schema-utils").TObject<{
41
41
  T1B1: import("@trezor/schema-utils").TOptional<import("@trezor/schema-utils").TUndefined>;
42
42
  T2T1: import("@trezor/schema-utils").TOptional<import("@trezor/schema-utils").TUndefined>;
43
+ UNKNOWN: import("@trezor/schema-utils").TOptional<import("@trezor/schema-utils").TUndefined>;
43
44
  }>]>, import("@trezor/schema-utils").TObject<{
44
45
  version: import("@trezor/schema-utils").TNumber;
45
46
  timestamp: import("@trezor/schema-utils").TString;
@@ -7,8 +7,8 @@ const CertPubKeys = schema_utils_1.Type.Object({
7
7
  rootPubKeys: schema_utils_1.Type.Array(schema_utils_1.Type.String()),
8
8
  caPubKeys: schema_utils_1.Type.Array(schema_utils_1.Type.String()),
9
9
  });
10
- const ModelsWithKeys = schema_utils_1.Type.Exclude(schema_utils_1.Type.KeyOfEnum(constants_1.PROTO.DeviceModelInternal), schema_utils_1.Type.Union([schema_utils_1.Type.Literal('T1B1'), schema_utils_1.Type.Literal('T2T1')]));
11
- const ModelsWithoutKeys = schema_utils_1.Type.Extract(schema_utils_1.Type.KeyOfEnum(constants_1.PROTO.DeviceModelInternal), schema_utils_1.Type.Union([schema_utils_1.Type.Literal('T1B1'), schema_utils_1.Type.Literal('T2T1')]));
10
+ const ModelsWithKeys = schema_utils_1.Type.Exclude(schema_utils_1.Type.KeyOfEnum(constants_1.PROTO.DeviceModelInternal), schema_utils_1.Type.Union([schema_utils_1.Type.Literal('T1B1'), schema_utils_1.Type.Literal('T2T1'), schema_utils_1.Type.Literal('UNKNOWN')]));
11
+ const ModelsWithoutKeys = schema_utils_1.Type.Extract(schema_utils_1.Type.KeyOfEnum(constants_1.PROTO.DeviceModelInternal), schema_utils_1.Type.Union([schema_utils_1.Type.Literal('T1B1'), schema_utils_1.Type.Literal('T2T1'), schema_utils_1.Type.Literal('UNKNOWN')]));
12
12
  const ModelPubKeys = schema_utils_1.Type.Intersect([
13
13
  schema_utils_1.Type.Record(ModelsWithKeys, schema_utils_1.Type.Intersect([
14
14
  CertPubKeys,
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRelease = exports.getFirmwareStatus = exports.getInfo = exports.getReleases = exports.parseFirmware = void 0;
4
4
  const utils_1 = require("@trezor/utils");
5
- const firmwareUtils_1 = require("../utils/firmwareUtils");
6
5
  const types_1 = require("../types");
6
+ const firmwareUtils_1 = require("../utils/firmwareUtils");
7
7
  const releases = Object.values(types_1.DeviceModelInternal).reduce((acc, key) => ({ ...acc, [key]: [] }), {});
8
8
  const parseFirmware = (json, deviceModel) => {
9
9
  Object.keys(json).forEach(key => {
@@ -12,6 +12,10 @@ const safe3Model = {
12
12
  },
13
13
  };
14
14
  exports.models = {
15
+ UNKNOWN: {
16
+ name: 'Unknown',
17
+ colors: safe3Model.colors,
18
+ },
15
19
  T1B1: {
16
20
  name: 'Trezor Model One',
17
21
  colors: {},
@@ -29,7 +33,7 @@ exports.models = {
29
33
  '2': 'Violet Ore',
30
34
  '3': 'Green Beryl',
31
35
  '4': 'Bitcoin Orange',
32
- '5': 'Special Edition',
36
+ '5': 'Freedom Edition',
33
37
  },
34
38
  },
35
39
  T3W1: {
@@ -1,5 +1,4 @@
1
1
  import type { BridgeInfo } from '../events/transport';
2
- export declare const parseBridgeJSON: (json: any) => BridgeInfo;
3
2
  export declare const getBridgeInfo: () => BridgeInfo;
4
3
  export declare const suggestBridgeInstaller: (platform?: string) => BridgeInfo;
5
4
  //# sourceMappingURL=transportInfo.d.ts.map
@@ -1,40 +1,53 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.suggestBridgeInstaller = exports.getBridgeInfo = exports.parseBridgeJSON = void 0;
3
+ exports.suggestBridgeInstaller = exports.getBridgeInfo = void 0;
4
4
  const info = {
5
- version: [],
6
- directory: '',
7
- packages: [],
5
+ version: [2, 0, 27],
6
+ packages: [
7
+ {
8
+ name: 'Linux 64-bit (deb)',
9
+ platform: ['deb64'],
10
+ url: 'bridge/2.0.27/trezor-bridge_2.0.27_amd64.deb',
11
+ },
12
+ {
13
+ name: 'Linux 64-bit (rpm)',
14
+ platform: ['rpm64'],
15
+ url: 'bridge/2.0.27/trezor-bridge-2.0.27-1.x86_64.rpm',
16
+ },
17
+ {
18
+ name: 'Linux 32-bit (deb)',
19
+ platform: ['deb32'],
20
+ url: 'bridge/2.0.27/trezor-bridge_2.0.27_i386.deb',
21
+ },
22
+ {
23
+ name: 'Linux 32-bit (rpm)',
24
+ platform: ['rpm32'],
25
+ url: 'bridge/2.0.27/trezor-bridge-2.0.27-1.i386.rpm',
26
+ },
27
+ {
28
+ name: 'macOS',
29
+ platform: ['mac'],
30
+ signature: 'bridge/2.0.27/trezor-bridge-2.0.27.pkg.asc',
31
+ url: 'bridge/2.0.27/trezor-bridge-2.0.27.pkg',
32
+ },
33
+ {
34
+ name: 'Windows',
35
+ platform: ['win32', 'win64'],
36
+ signature: 'bridge/2.0.27/trezor-bridge-2.0.27-win32-install.exe.asc',
37
+ url: 'bridge/2.0.27/trezor-bridge-2.0.27-win32-install.exe',
38
+ },
39
+ ],
8
40
  changelog: '',
9
41
  };
10
- const parseBridgeJSON = (json) => {
11
- const latest = json[0];
12
- const version = latest.version.join('.');
13
- const data = JSON.parse(JSON.stringify(latest).replace(/{version}/g, version));
14
- const { directory } = data;
15
- const packages = data.packages.map(p => ({
16
- name: p.name,
17
- platform: p.platform,
18
- url: `${directory}${p.url}`,
19
- signature: p.signature ? `${directory}${p.signature}` : undefined,
20
- }));
21
- info.version = data.version;
22
- info.directory = directory;
23
- info.packages = packages;
24
- return info;
25
- };
26
- exports.parseBridgeJSON = parseBridgeJSON;
27
42
  const getBridgeInfo = () => info;
28
43
  exports.getBridgeInfo = getBridgeInfo;
29
44
  const suggestBridgeInstaller = (platform) => {
30
45
  const info2 = (0, exports.getBridgeInfo)();
31
- if (!info2.packages.find(p => p.preferred)) {
32
- if (platform) {
33
- info2.packages = info2.packages.map(p => ({
34
- ...p,
35
- preferred: p.platform.indexOf(platform) >= 0,
36
- }));
37
- }
46
+ if (platform) {
47
+ info2.packages = info2.packages.map(p => ({
48
+ ...p,
49
+ preferred: p.platform.indexOf(platform) >= 0,
50
+ }));
38
51
  }
39
52
  return info2;
40
53
  };
@@ -1,4 +1,3 @@
1
1
  import type { UdevInfo } from '../events/transport';
2
- export declare const getUdevInfo: () => UdevInfo;
3
2
  export declare const suggestUdevInstaller: (platform?: string) => UdevInfo;
4
3
  //# sourceMappingURL=udevInfo.d.ts.map
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.suggestUdevInstaller = exports.getUdevInfo = void 0;
3
+ exports.suggestUdevInstaller = void 0;
4
4
  const info = {
5
- directory: '',
6
5
  packages: [
7
6
  {
8
7
  name: 'RPM package',
@@ -16,10 +15,8 @@ const info = {
16
15
  },
17
16
  ],
18
17
  };
19
- const getUdevInfo = () => info;
20
- exports.getUdevInfo = getUdevInfo;
21
18
  const suggestUdevInstaller = (platform) => {
22
- const info2 = (0, exports.getUdevInfo)();
19
+ const info2 = info;
23
20
  if (!info2.packages.find(p => p.preferred)) {
24
21
  if (platform) {
25
22
  info2.packages = info2.packages.map(p => ({
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "9.4.7-beta.1";
1
+ export declare const VERSION = "9.4.8-beta.1";
2
2
  export declare const DEFAULT_DOMAIN: string;
3
3
  export declare const CONTENT_SCRIPT_VERSION = 1;
4
4
  export declare const DEEPLINK_VERSION = 1;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEEPLINK_VERSION = exports.CONTENT_SCRIPT_VERSION = exports.DEFAULT_DOMAIN = exports.VERSION = void 0;
4
- exports.VERSION = '9.4.7-beta.1';
4
+ exports.VERSION = '9.4.8-beta.1';
5
5
  const versionN = exports.VERSION.split('.').map(s => parseInt(s, 10));
6
6
  const isBeta = exports.VERSION.includes('beta');
7
7
  exports.DEFAULT_DOMAIN = isBeta