@multiversx/sdk-dapp 5.0.2 → 5.0.3

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 (1625) hide show
  1. package/README.md +21 -17
  2. package/out/__chunks__/chunk-2DFE24NA.mjs +2 -0
  3. package/out/__chunks__/chunk-2ONA7QPD.mjs +2 -0
  4. package/out/__chunks__/chunk-2S4GDHPC.mjs +2 -0
  5. package/out/__chunks__/chunk-2XGXXRSH.mjs +2 -0
  6. package/out/__chunks__/chunk-3AALZJXX.mjs +2 -0
  7. package/out/__chunks__/chunk-3C5GZ3BL.mjs +2 -0
  8. package/out/__chunks__/chunk-3IKGFPT3.mjs +2 -0
  9. package/out/__chunks__/chunk-3OZWOKL7.mjs +2 -0
  10. package/out/__chunks__/chunk-52PGMMOM.mjs +2 -0
  11. package/out/__chunks__/chunk-5AGNJNHL.mjs +2 -0
  12. package/out/__chunks__/chunk-5AITBRJM.mjs +2 -0
  13. package/out/__chunks__/chunk-5E32AO3E.mjs +2 -0
  14. package/out/__chunks__/chunk-5IKWP24U.mjs +2 -0
  15. package/out/__chunks__/chunk-5J6OW5XP.mjs +2 -0
  16. package/out/__chunks__/chunk-5P5FMYGA.mjs +2 -0
  17. package/out/__chunks__/chunk-66LM6A7E.mjs +2 -0
  18. package/out/__chunks__/chunk-6D53LH5J.mjs +2 -0
  19. package/out/__chunks__/chunk-6JIZDYQM.mjs +2 -0
  20. package/out/__chunks__/chunk-6K6VHJWQ.mjs +2 -0
  21. package/out/__chunks__/chunk-7FEQBPHA.mjs +2 -0
  22. package/out/__chunks__/chunk-7YHMRUFS.mjs +2 -0
  23. package/out/__chunks__/chunk-AGUGUYQS.mjs +2 -0
  24. package/out/__chunks__/chunk-AWVWVATR.mjs +2 -0
  25. package/out/__chunks__/chunk-BYJK2EOI.mjs +2 -0
  26. package/out/__chunks__/chunk-C7NS47QA.mjs +2 -0
  27. package/out/__chunks__/chunk-CC4DXLNZ.mjs +2 -0
  28. package/out/__chunks__/chunk-CETMI3F5.mjs +2 -0
  29. package/out/__chunks__/chunk-D2ULWBRR.mjs +2 -0
  30. package/out/__chunks__/chunk-DF5ZV5BO.mjs +2 -0
  31. package/out/__chunks__/chunk-DFSBS3PX.mjs +2 -0
  32. package/out/__chunks__/chunk-DJWI5LZX.mjs +2 -0
  33. package/out/__chunks__/chunk-DLWDO7M6.mjs +2 -0
  34. package/out/__chunks__/chunk-DLWDO7M6.mjs.map +7 -0
  35. package/out/__chunks__/chunk-DOU66R4K.mjs +2 -0
  36. package/out/__chunks__/chunk-EJ2HUL6D.mjs +2 -0
  37. package/out/__chunks__/chunk-F5Q64A5W.mjs +2 -0
  38. package/out/__chunks__/chunk-FCIBGJDC.mjs +2 -0
  39. package/out/__chunks__/chunk-FKGDHZZJ.mjs +2 -0
  40. package/out/__chunks__/chunk-FNYBJAH3.mjs +2 -0
  41. package/out/__chunks__/chunk-GDF5AJ5S.mjs +2 -0
  42. package/out/__chunks__/chunk-GFR6K4DR.mjs +2 -0
  43. package/out/__chunks__/chunk-GMX4XDVR.mjs +2 -0
  44. package/out/__chunks__/chunk-GSMTFDRE.mjs +2 -0
  45. package/out/__chunks__/chunk-GUNYJMJE.mjs +2 -0
  46. package/out/__chunks__/chunk-GY2WKBFX.mjs +2 -0
  47. package/out/__chunks__/chunk-H33OUO77.mjs +2 -0
  48. package/out/__chunks__/chunk-H7E4BCEJ.mjs +2 -0
  49. package/out/__chunks__/chunk-HIKIVTTW.mjs +2 -0
  50. package/out/__chunks__/chunk-HLORMFN4.mjs +2 -0
  51. package/out/__chunks__/chunk-I5OYRIZC.mjs +2 -0
  52. package/out/__chunks__/chunk-IE3A2COQ.mjs +2 -0
  53. package/out/__chunks__/chunk-IFIL5YA5.mjs +2 -0
  54. package/out/__chunks__/chunk-IFIL5YA5.mjs.map +7 -0
  55. package/out/__chunks__/chunk-IINL5CEU.mjs +2 -0
  56. package/out/__chunks__/chunk-IVSP42IE.mjs +2 -0
  57. package/out/__chunks__/chunk-IWHUAAVD.mjs +2 -0
  58. package/out/__chunks__/chunk-IXGPMW52.mjs +2 -0
  59. package/out/__chunks__/chunk-J6N7KVXV.mjs +2 -0
  60. package/out/__chunks__/chunk-JAIA24ND.mjs +2 -0
  61. package/out/__chunks__/chunk-JIAKT3GI.mjs +2 -0
  62. package/out/__chunks__/chunk-JMC7CMTU.mjs +2 -0
  63. package/out/__chunks__/chunk-K4ITACAF.mjs +2 -0
  64. package/out/__chunks__/chunk-K7R2V5KX.mjs +2 -0
  65. package/out/__chunks__/chunk-KXK3FLN2.mjs +2 -0
  66. package/out/__chunks__/chunk-LM2GCQL5.mjs +2 -0
  67. package/out/__chunks__/chunk-LN5UXO64.mjs +2 -0
  68. package/out/__chunks__/chunk-LWDK4NX3.mjs +2 -0
  69. package/out/__chunks__/chunk-M2ZSNGPS.mjs +2 -0
  70. package/out/__chunks__/chunk-M5T2OACP.mjs +2 -0
  71. package/out/__chunks__/chunk-MDVI45IV.mjs +2 -0
  72. package/out/__chunks__/chunk-ML7FXWAD.mjs +2 -0
  73. package/out/__chunks__/chunk-MSQGMOCS.mjs +2 -0
  74. package/out/__chunks__/chunk-N5DIMOWZ.mjs +2 -0
  75. package/out/__chunks__/chunk-NEHR66XQ.mjs +2 -0
  76. package/out/__chunks__/chunk-NEHR66XQ.mjs.map +7 -0
  77. package/out/__chunks__/chunk-NKUK5GFB.mjs +2 -0
  78. package/out/__chunks__/chunk-NRXYSTRW.mjs +2 -0
  79. package/out/__chunks__/chunk-NRXYSTRW.mjs.map +7 -0
  80. package/out/__chunks__/chunk-NTEMINYA.mjs +2 -0
  81. package/out/__chunks__/chunk-NTEMINYA.mjs.map +7 -0
  82. package/out/__chunks__/chunk-NVE5YTZK.mjs +2 -0
  83. package/out/__chunks__/chunk-ODPJDT5F.mjs +2 -0
  84. package/out/__chunks__/chunk-ODPJDT5F.mjs.map +7 -0
  85. package/out/__chunks__/chunk-OLOCTHIE.mjs +2 -0
  86. package/out/__chunks__/chunk-OX6DILCF.mjs +2 -0
  87. package/out/__chunks__/chunk-P4QMB34E.mjs +2 -0
  88. package/out/__chunks__/chunk-P4QMB34E.mjs.map +7 -0
  89. package/out/__chunks__/chunk-PDEIJQWE.mjs +2 -0
  90. package/out/__chunks__/chunk-PHOF3Z5D.mjs +2 -0
  91. package/out/__chunks__/chunk-PJWJZHIS.mjs +2 -0
  92. package/out/__chunks__/chunk-PJWJZHIS.mjs.map +7 -0
  93. package/out/__chunks__/chunk-PWXGNRYT.mjs +2 -0
  94. package/out/__chunks__/chunk-PWXGNRYT.mjs.map +7 -0
  95. package/out/__chunks__/chunk-Q5Z34JFU.mjs +3 -0
  96. package/out/__chunks__/chunk-QAHFVBCD.mjs +2 -0
  97. package/out/__chunks__/chunk-QGNMCCFK.mjs +2 -0
  98. package/out/__chunks__/chunk-QQAW7UC2.mjs +2 -0
  99. package/out/__chunks__/chunk-QS2RBVTW.mjs +2 -0
  100. package/out/__chunks__/chunk-RD2EB7NA.mjs +2 -0
  101. package/out/__chunks__/chunk-RHCAOCW3.mjs +2 -0
  102. package/out/__chunks__/chunk-RPTQJKFR.mjs +2 -0
  103. package/out/__chunks__/chunk-RSVM3MZD.mjs +2 -0
  104. package/out/__chunks__/chunk-RU7UYXPW.mjs +2 -0
  105. package/out/__chunks__/chunk-S5VF4GWN.mjs +2 -0
  106. package/out/__chunks__/chunk-S6EACMBJ.mjs +2 -0
  107. package/out/__chunks__/chunk-SKCBMUQL.mjs +2 -0
  108. package/out/__chunks__/chunk-TRIPQLQM.mjs +2 -0
  109. package/out/__chunks__/chunk-TZ2EDK3R.mjs +2 -0
  110. package/out/__chunks__/chunk-U3UMCTU6.mjs +2 -0
  111. package/out/__chunks__/chunk-U4ZCGUVE.mjs +2 -0
  112. package/out/__chunks__/chunk-U7E2AVPF.mjs +2 -0
  113. package/out/__chunks__/chunk-UCJMQJM4.mjs +2 -0
  114. package/out/__chunks__/chunk-UCNS6KD5.mjs +2 -0
  115. package/out/__chunks__/chunk-UERJ6AKK.mjs +2 -0
  116. package/out/__chunks__/chunk-UK5MEKBE.mjs +2 -0
  117. package/out/__chunks__/chunk-UKGXMWHE.mjs +2 -0
  118. package/out/__chunks__/chunk-UO4CECP4.mjs +2 -0
  119. package/out/__chunks__/chunk-UTN4SJ54.mjs +2 -0
  120. package/out/__chunks__/chunk-UVN6CHEM.mjs +2 -0
  121. package/out/__chunks__/chunk-VG7UDG2S.mjs +2 -0
  122. package/out/__chunks__/chunk-WBPXPWSV.mjs +2 -0
  123. package/out/__chunks__/chunk-WIHG6SHO.mjs +2 -0
  124. package/out/__chunks__/chunk-WTBHS6AM.mjs +2 -0
  125. package/out/__chunks__/chunk-WZGG2YKQ.mjs +2 -0
  126. package/out/__chunks__/chunk-XCVEFI4B.mjs +2 -0
  127. package/out/__chunks__/chunk-XFYYVB6G.mjs +2 -0
  128. package/out/__chunks__/chunk-YNXPGS77.mjs +2 -0
  129. package/out/__chunks__/chunk-YTA6XGBJ.mjs +2 -0
  130. package/out/__chunks__/chunk-YVVAPGXF.mjs +2 -0
  131. package/out/__mocks__/data/index.mjs +1 -1
  132. package/out/__mocks__/index.mjs +1 -1
  133. package/out/__mocks__/server.mjs +1 -1
  134. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  135. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  136. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  137. package/out/apiCalls/index.mjs +1 -1
  138. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  139. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  140. package/out/apiCalls/tokens/index.mjs +1 -1
  141. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  142. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  143. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  144. package/out/constants/browser.constants.mjs +1 -1
  145. package/out/constants/index.mjs +1 -1
  146. package/out/constants/storage.constants.mjs +1 -1
  147. package/out/constants/window.constants.mjs +1 -1
  148. package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
  149. package/out/controllers/FormatAmountController/index.mjs +1 -1
  150. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +1 -1
  151. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  152. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  153. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  154. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  155. package/out/controllers/index.mjs +1 -1
  156. package/out/index.mjs +1 -1
  157. package/out/lib/sdkCore.d.ts +2 -1
  158. package/out/lib/sdkCore.mjs +1 -1
  159. package/out/lib/sdkDappUi.d.ts +10 -11
  160. package/out/lib/sdkDappUi.mjs +1 -1
  161. package/out/lib/sdkDappUtils.d.ts +1 -1
  162. package/out/lib/sdkDappUtils.mjs +1 -1
  163. package/out/lib/sdkWebviewProvider.d.ts +1 -0
  164. package/out/lib/sdkWebviewProvider.mjs +2 -0
  165. package/out/lib/sdkWebviewProvider.mjs.map +7 -0
  166. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  167. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  168. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  169. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  170. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  171. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  172. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.mjs +1 -1
  173. package/out/managers/TransactionManager/index.mjs +1 -1
  174. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  175. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  176. package/out/managers/index.mjs +1 -1
  177. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  178. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  179. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  180. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  181. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  182. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  183. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  184. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  185. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  186. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  187. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  188. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  189. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  190. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  191. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  192. package/out/managers/internal/index.mjs +1 -1
  193. package/out/methods/account/getAccount.mjs +1 -1
  194. package/out/methods/account/getAccountInfo.mjs +1 -1
  195. package/out/methods/account/getAddress.mjs +1 -1
  196. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  197. package/out/methods/account/getLatestNonce.mjs +1 -1
  198. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  199. package/out/methods/initApp/initApp.mjs +1 -1
  200. package/out/methods/initApp/initApp.mjs.map +3 -3
  201. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  202. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  203. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  204. package/out/methods/network/getEgldLabel.mjs +1 -1
  205. package/out/methods/network/getExplorerAddress.mjs +1 -1
  206. package/out/methods/network/getNetworkConfig.mjs +1 -1
  207. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  208. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  209. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  210. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  211. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  212. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  213. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  214. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  215. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  216. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  217. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  218. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  219. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  220. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  221. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  222. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  223. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  224. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  225. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  226. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  227. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  228. package/out/providers/DappProvider/helpers/signMessage/getVerifier.mjs +1 -1
  229. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  230. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.mjs +1 -1
  231. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  232. package/out/providers/DappProvider/index.mjs +1 -1
  233. package/out/providers/ProviderFactory.mjs +1 -1
  234. package/out/providers/helpers/accountProvider.mjs +1 -1
  235. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  236. package/out/providers/helpers/restoreProvider.mjs +1 -1
  237. package/out/providers/index.mjs +1 -1
  238. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  239. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  240. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  241. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  242. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  243. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  244. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  245. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  246. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  247. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  248. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  249. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  250. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  251. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  252. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  253. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  254. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  255. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  256. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  257. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  258. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  259. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  260. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  261. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  262. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  263. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  264. package/out/providers/strategies/helpers/index.mjs +1 -1
  265. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  266. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.mjs +1 -1
  267. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  268. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  269. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  270. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs +1 -1
  271. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
  272. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  273. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  274. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  275. package/out/providers/strategies/index.mjs +1 -1
  276. package/out/react/account/useGetAccount.mjs +1 -1
  277. package/out/react/account/useGetAccountInfo.mjs +1 -1
  278. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  279. package/out/react/account/useGetLatestNonce.mjs +1 -1
  280. package/out/react/index.mjs +1 -1
  281. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  282. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  283. package/out/react/store/getReactStore.mjs +1 -1
  284. package/out/react/store/useSelector.mjs +1 -1
  285. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  286. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  287. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  288. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  289. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  290. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  291. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  292. package/out/services/index.mjs +1 -1
  293. package/out/services/nativeAuth/index.mjs +1 -1
  294. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  295. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  296. package/out/services/nativeAuth/methods/index.mjs +1 -1
  297. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  298. package/out/store/actions/account/accountActions.mjs +1 -1
  299. package/out/store/actions/account/index.mjs +1 -1
  300. package/out/store/actions/cache/cacheActions.mjs +1 -1
  301. package/out/store/actions/cache/index.mjs +1 -1
  302. package/out/store/actions/config/configActions.mjs +1 -1
  303. package/out/store/actions/config/index.mjs +1 -1
  304. package/out/store/actions/index.mjs +1 -1
  305. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  306. package/out/store/actions/network/index.mjs +1 -1
  307. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  308. package/out/store/actions/network/networkActions.mjs +1 -1
  309. package/out/store/actions/sharedActions/index.mjs +1 -1
  310. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  311. package/out/store/actions/toasts/index.mjs +1 -1
  312. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  313. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  314. package/out/store/actions/ui/index.mjs +1 -1
  315. package/out/store/actions/ui/uiActions.mjs +1 -1
  316. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  317. package/out/store/middleware/index.mjs +1 -1
  318. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  319. package/out/store/selectors/accountSelectors.mjs +1 -1
  320. package/out/store/selectors/index.mjs +1 -1
  321. package/out/store/slices/account/accountSlice.mjs +1 -1
  322. package/out/store/slices/account/emptyAccount.mjs +1 -1
  323. package/out/store/slices/account/index.mjs +1 -1
  324. package/out/store/slices/index.mjs +1 -1
  325. package/out/store/storage/index.mjs +1 -1
  326. package/out/store/storage/storageCallback.mjs +1 -1
  327. package/out/store/store.mjs +1 -1
  328. package/out/utils/ComponentFactory.d.ts +1 -1
  329. package/out/utils/ComponentFactory.mjs +1 -1
  330. package/out/utils/account/index.mjs +1 -1
  331. package/out/utils/account/refreshAccount.mjs +1 -1
  332. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  333. package/out/utils/index.mjs +1 -1
  334. package/out/utils/operations/trimAmountDecimals.mjs +1 -1
  335. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  336. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  337. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  338. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.mjs +1 -1
  339. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  340. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
  341. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.mjs +1 -1
  342. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  343. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  344. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
  345. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  346. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  347. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  348. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  349. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  350. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  351. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  352. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  353. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  354. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.mjs +1 -1
  355. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.mjs +1 -1
  356. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  357. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  358. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.mjs +1 -1
  359. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  360. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  361. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  362. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  363. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  364. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  365. package/out/utils/transactions/index.mjs +1 -1
  366. package/out/utils/validation/index.mjs +1 -1
  367. package/out/utils/validation/isContract.mjs +1 -1
  368. package/out/utils/visual/index.mjs +1 -1
  369. package/out/utils/visual/switchTheme.mjs +1 -1
  370. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.d.ts +2 -1
  371. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  372. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs.map +1 -1
  373. package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +2 -1
  374. package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
  375. package/out/utils/window/getIsInIframe.mjs +1 -1
  376. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  377. package/out/utils/window/index.mjs +1 -1
  378. package/package.json +2 -2
  379. package/out/__chunks__/chunk-266T724O.mjs +0 -2
  380. package/out/__chunks__/chunk-2I4BJK55.mjs +0 -2
  381. package/out/__chunks__/chunk-2SOS3KAT.mjs +0 -2
  382. package/out/__chunks__/chunk-36VCBI2F.mjs +0 -2
  383. package/out/__chunks__/chunk-3MWXXTQQ.mjs +0 -2
  384. package/out/__chunks__/chunk-4X3GF5DF.mjs +0 -2
  385. package/out/__chunks__/chunk-54I7T2PP.mjs +0 -2
  386. package/out/__chunks__/chunk-5ECETGF7.mjs +0 -2
  387. package/out/__chunks__/chunk-62EX26PE.mjs +0 -2
  388. package/out/__chunks__/chunk-673M5M6E.mjs +0 -2
  389. package/out/__chunks__/chunk-6EBIYJLF.mjs +0 -2
  390. package/out/__chunks__/chunk-6IACSXVX.mjs +0 -2
  391. package/out/__chunks__/chunk-6JEPIISC.mjs +0 -2
  392. package/out/__chunks__/chunk-6RAMYSEC.mjs +0 -2
  393. package/out/__chunks__/chunk-6RJQVLIY.mjs +0 -2
  394. package/out/__chunks__/chunk-6TJVNG7O.mjs +0 -2
  395. package/out/__chunks__/chunk-6W67LK22.mjs +0 -2
  396. package/out/__chunks__/chunk-7BP53CXF.mjs +0 -2
  397. package/out/__chunks__/chunk-7D7CRUIW.mjs +0 -2
  398. package/out/__chunks__/chunk-7D7CRUIW.mjs.map +0 -7
  399. package/out/__chunks__/chunk-A4RNPJJW.mjs +0 -2
  400. package/out/__chunks__/chunk-A6IG4DO6.mjs +0 -2
  401. package/out/__chunks__/chunk-ABHYXD3U.mjs +0 -2
  402. package/out/__chunks__/chunk-AV4HSXYZ.mjs +0 -2
  403. package/out/__chunks__/chunk-AZMKY66I.mjs +0 -2
  404. package/out/__chunks__/chunk-BRBIUWAW.mjs +0 -2
  405. package/out/__chunks__/chunk-BSWV5MEC.mjs +0 -2
  406. package/out/__chunks__/chunk-BVKUZJNB.mjs +0 -2
  407. package/out/__chunks__/chunk-C5X7N2AN.mjs +0 -2
  408. package/out/__chunks__/chunk-C6NGX4MC.mjs +0 -2
  409. package/out/__chunks__/chunk-COZTBWPH.mjs +0 -2
  410. package/out/__chunks__/chunk-CQ5GZXM5.mjs +0 -2
  411. package/out/__chunks__/chunk-D5IP4ZG2.mjs +0 -2
  412. package/out/__chunks__/chunk-DHPD6E7P.mjs +0 -2
  413. package/out/__chunks__/chunk-DIV6ZH5K.mjs +0 -2
  414. package/out/__chunks__/chunk-DNHKXKYY.mjs +0 -2
  415. package/out/__chunks__/chunk-DPUWJW5E.mjs +0 -2
  416. package/out/__chunks__/chunk-DT6YLEPL.mjs +0 -2
  417. package/out/__chunks__/chunk-DV3XIKOX.mjs +0 -2
  418. package/out/__chunks__/chunk-EQEYL6AE.mjs +0 -2
  419. package/out/__chunks__/chunk-EVTERXBU.mjs +0 -2
  420. package/out/__chunks__/chunk-FEFZKA2B.mjs +0 -2
  421. package/out/__chunks__/chunk-FFHVVGYW.mjs +0 -2
  422. package/out/__chunks__/chunk-FFHVVGYW.mjs.map +0 -7
  423. package/out/__chunks__/chunk-FIVH6RKU.mjs +0 -2
  424. package/out/__chunks__/chunk-FZS7JL2U.mjs +0 -2
  425. package/out/__chunks__/chunk-HCAXI2LY.mjs +0 -2
  426. package/out/__chunks__/chunk-HVEI4BFC.mjs +0 -2
  427. package/out/__chunks__/chunk-HVEI4BFC.mjs.map +0 -7
  428. package/out/__chunks__/chunk-I6BAZCYU.mjs +0 -2
  429. package/out/__chunks__/chunk-I7NIOE4D.mjs +0 -2
  430. package/out/__chunks__/chunk-ICZ6YALG.mjs +0 -2
  431. package/out/__chunks__/chunk-IHKF4UNO.mjs +0 -2
  432. package/out/__chunks__/chunk-IP3MMHXY.mjs +0 -2
  433. package/out/__chunks__/chunk-ISPRIGOE.mjs +0 -2
  434. package/out/__chunks__/chunk-J4CPYFK6.mjs +0 -2
  435. package/out/__chunks__/chunk-J4CPYFK6.mjs.map +0 -7
  436. package/out/__chunks__/chunk-JESUVU73.mjs +0 -2
  437. package/out/__chunks__/chunk-JIJSBQEU.mjs +0 -2
  438. package/out/__chunks__/chunk-JQ47IJOB.mjs +0 -2
  439. package/out/__chunks__/chunk-JQTCROGW.mjs +0 -2
  440. package/out/__chunks__/chunk-KDCMWWIT.mjs +0 -2
  441. package/out/__chunks__/chunk-KGXIPD5I.mjs +0 -2
  442. package/out/__chunks__/chunk-KIQBMB2Y.mjs +0 -2
  443. package/out/__chunks__/chunk-KN7QMGWV.mjs +0 -2
  444. package/out/__chunks__/chunk-KO5KDKZ7.mjs +0 -2
  445. package/out/__chunks__/chunk-KSKOSHYV.mjs +0 -2
  446. package/out/__chunks__/chunk-KU74A6T3.mjs +0 -2
  447. package/out/__chunks__/chunk-KZC44J42.mjs +0 -2
  448. package/out/__chunks__/chunk-LIPGE2RA.mjs +0 -2
  449. package/out/__chunks__/chunk-LJ5JGAYL.mjs +0 -2
  450. package/out/__chunks__/chunk-LTHGO7JM.mjs +0 -2
  451. package/out/__chunks__/chunk-LUDF7ZUR.mjs +0 -2
  452. package/out/__chunks__/chunk-M7EUMCPG.mjs +0 -2
  453. package/out/__chunks__/chunk-MD7CSIXL.mjs +0 -2
  454. package/out/__chunks__/chunk-MELQLFCR.mjs +0 -2
  455. package/out/__chunks__/chunk-MFK6BEXF.mjs +0 -2
  456. package/out/__chunks__/chunk-MOOY3SNQ.mjs +0 -2
  457. package/out/__chunks__/chunk-MYSCFOXV.mjs +0 -2
  458. package/out/__chunks__/chunk-NO7YH2FT.mjs +0 -2
  459. package/out/__chunks__/chunk-O3V4TGXK.mjs +0 -2
  460. package/out/__chunks__/chunk-O4DQ3TWG.mjs +0 -2
  461. package/out/__chunks__/chunk-OZCEAS6L.mjs +0 -2
  462. package/out/__chunks__/chunk-P3BXXGQA.mjs +0 -2
  463. package/out/__chunks__/chunk-PFXB2A66.mjs +0 -2
  464. package/out/__chunks__/chunk-PFXB2A66.mjs.map +0 -7
  465. package/out/__chunks__/chunk-PO27JYMA.mjs +0 -2
  466. package/out/__chunks__/chunk-PQY2A63Y.mjs +0 -2
  467. package/out/__chunks__/chunk-PWEOLD6L.mjs +0 -2
  468. package/out/__chunks__/chunk-PWEOLD6L.mjs.map +0 -7
  469. package/out/__chunks__/chunk-QJSB5NX4.mjs +0 -2
  470. package/out/__chunks__/chunk-QSBLXZFC.mjs +0 -2
  471. package/out/__chunks__/chunk-QZGJ5DCM.mjs +0 -2
  472. package/out/__chunks__/chunk-R53MCZI6.mjs +0 -2
  473. package/out/__chunks__/chunk-R53MCZI6.mjs.map +0 -7
  474. package/out/__chunks__/chunk-R5SGFTE7.mjs +0 -2
  475. package/out/__chunks__/chunk-ROYSFSCI.mjs +0 -2
  476. package/out/__chunks__/chunk-RT44V62F.mjs +0 -2
  477. package/out/__chunks__/chunk-RU7LAHKK.mjs +0 -2
  478. package/out/__chunks__/chunk-RVEEVVOA.mjs +0 -2
  479. package/out/__chunks__/chunk-SRX2EMTG.mjs +0 -2
  480. package/out/__chunks__/chunk-SXECAH2A.mjs +0 -2
  481. package/out/__chunks__/chunk-T2BUXSZ5.mjs +0 -2
  482. package/out/__chunks__/chunk-T4BJTXVW.mjs +0 -2
  483. package/out/__chunks__/chunk-U22MXHMS.mjs +0 -2
  484. package/out/__chunks__/chunk-U7R4JK6U.mjs +0 -2
  485. package/out/__chunks__/chunk-UAW7SD6P.mjs +0 -2
  486. package/out/__chunks__/chunk-V4Z4FQJO.mjs +0 -2
  487. package/out/__chunks__/chunk-VJ2DAL5M.mjs +0 -2
  488. package/out/__chunks__/chunk-VMFJUT3G.mjs +0 -2
  489. package/out/__chunks__/chunk-VMFJUT3G.mjs.map +0 -7
  490. package/out/__chunks__/chunk-VTJUZ3TY.mjs +0 -2
  491. package/out/__chunks__/chunk-VWYDJFJH.mjs +0 -2
  492. package/out/__chunks__/chunk-XALHL7VA.mjs +0 -2
  493. package/out/__chunks__/chunk-XLVZQDL3.mjs +0 -2
  494. package/out/__chunks__/chunk-XTJQ2D6K.mjs +0 -2
  495. package/out/__chunks__/chunk-XVAA5JSP.mjs +0 -2
  496. package/out/__chunks__/chunk-XVFVG64Y.mjs +0 -2
  497. package/out/__chunks__/chunk-YB7AHPBR.mjs +0 -2
  498. package/out/__chunks__/chunk-YMNKYTXZ.mjs +0 -2
  499. package/out/__chunks__/chunk-YNEVRTJM.mjs +0 -2
  500. package/out/__chunks__/chunk-YRCMHPYS.mjs +0 -2
  501. package/out/__chunks__/chunk-YTFYVPZO.mjs +0 -2
  502. package/out/__chunks__/chunk-YUIJMELA.mjs +0 -2
  503. package/out/__chunks__/chunk-Z5CDCI3Y.mjs +0 -2
  504. package/out/__chunks__/chunk-ZU7V2CMU.mjs +0 -2
  505. package/out/__chunks__/chunk-ZXIBFH6X.mjs +0 -3
  506. package/out/__mocks__/accountConfig.js +0 -9
  507. package/out/__mocks__/accountConfig.js.map +0 -1
  508. package/out/__mocks__/data/account.js +0 -14
  509. package/out/__mocks__/data/account.js.map +0 -1
  510. package/out/__mocks__/data/blocks.js +0 -10
  511. package/out/__mocks__/data/blocks.js.map +0 -1
  512. package/out/__mocks__/data/dappConfig.js +0 -19
  513. package/out/__mocks__/data/dappConfig.js.map +0 -1
  514. package/out/__mocks__/data/index.js +0 -24
  515. package/out/__mocks__/data/index.js.map +0 -1
  516. package/out/__mocks__/data/networkConfig.js +0 -32
  517. package/out/__mocks__/data/networkConfig.js.map +0 -1
  518. package/out/__mocks__/data/socketResponse.js +0 -11
  519. package/out/__mocks__/data/socketResponse.js.map +0 -1
  520. package/out/__mocks__/data/websocketConfig.js +0 -5
  521. package/out/__mocks__/data/websocketConfig.js.map +0 -1
  522. package/out/__mocks__/data/wrapEgldContract.js +0 -30
  523. package/out/__mocks__/data/wrapEgldContract.js.map +0 -1
  524. package/out/__mocks__/index.js +0 -20
  525. package/out/__mocks__/index.js.map +0 -1
  526. package/out/__mocks__/server.js +0 -26
  527. package/out/__mocks__/server.js.map +0 -1
  528. package/out/__mocks__/utils/index.js +0 -19
  529. package/out/__mocks__/utils/index.js.map +0 -1
  530. package/out/__mocks__/utils/mockWindowHistory.js +0 -21
  531. package/out/__mocks__/utils/mockWindowHistory.js.map +0 -1
  532. package/out/__mocks__/utils/mockWindowLocation.js +0 -21
  533. package/out/__mocks__/utils/mockWindowLocation.js.map +0 -1
  534. package/out/apiCalls/account/getAccountFromApi.js +0 -32
  535. package/out/apiCalls/account/getAccountFromApi.js.map +0 -1
  536. package/out/apiCalls/account/getScamAddressData.js +0 -19
  537. package/out/apiCalls/account/getScamAddressData.js.map +0 -1
  538. package/out/apiCalls/account/index.js +0 -18
  539. package/out/apiCalls/account/index.js.map +0 -1
  540. package/out/apiCalls/configuration/getCleanApiAddress.js +0 -12
  541. package/out/apiCalls/configuration/getCleanApiAddress.js.map +0 -1
  542. package/out/apiCalls/configuration/getGasStationMetadata.js +0 -32
  543. package/out/apiCalls/configuration/getGasStationMetadata.js.map +0 -1
  544. package/out/apiCalls/configuration/getNetworkConfigFromApi.js +0 -34
  545. package/out/apiCalls/configuration/getNetworkConfigFromApi.js.map +0 -1
  546. package/out/apiCalls/configuration/getServerConfiguration.js +0 -34
  547. package/out/apiCalls/configuration/getServerConfiguration.js.map +0 -1
  548. package/out/apiCalls/configuration/index.js +0 -19
  549. package/out/apiCalls/configuration/index.js.map +0 -1
  550. package/out/apiCalls/economics/getEconomics.js +0 -23
  551. package/out/apiCalls/economics/getEconomics.js.map +0 -1
  552. package/out/apiCalls/endpoints.js +0 -29
  553. package/out/apiCalls/endpoints.js.map +0 -1
  554. package/out/apiCalls/index.js +0 -23
  555. package/out/apiCalls/index.js.map +0 -1
  556. package/out/apiCalls/tokens/getPersistedToken.js +0 -20
  557. package/out/apiCalls/tokens/getPersistedToken.js.map +0 -1
  558. package/out/apiCalls/tokens/getPersistedTokenDetails.js +0 -51
  559. package/out/apiCalls/tokens/getPersistedTokenDetails.js.map +0 -1
  560. package/out/apiCalls/tokens/getTokenDetails.js +0 -53
  561. package/out/apiCalls/tokens/getTokenDetails.js.map +0 -1
  562. package/out/apiCalls/tokens/index.js +0 -18
  563. package/out/apiCalls/tokens/index.js.map +0 -1
  564. package/out/apiCalls/tokens/tokenDataStorage.js +0 -36
  565. package/out/apiCalls/tokens/tokenDataStorage.js.map +0 -1
  566. package/out/apiCalls/transactions/getServerTransactionsByHashes.js +0 -22
  567. package/out/apiCalls/transactions/getServerTransactionsByHashes.js.map +0 -1
  568. package/out/apiCalls/transactions/getTransactionByHash.js +0 -18
  569. package/out/apiCalls/transactions/getTransactionByHash.js.map +0 -1
  570. package/out/apiCalls/transactions/getTransactions.js +0 -30
  571. package/out/apiCalls/transactions/getTransactions.js.map +0 -1
  572. package/out/apiCalls/transactions/getTransactionsByHashes.js +0 -21
  573. package/out/apiCalls/transactions/getTransactionsByHashes.js.map +0 -1
  574. package/out/apiCalls/utils/axiosFetcher.js +0 -7
  575. package/out/apiCalls/utils/axiosFetcher.js.map +0 -1
  576. package/out/apiCalls/utils/axiosInstance.js +0 -83
  577. package/out/apiCalls/utils/axiosInstance.js.map +0 -1
  578. package/out/apiCalls/utils/getCleanApiAddress.js +0 -8
  579. package/out/apiCalls/utils/getCleanApiAddress.js.map +0 -1
  580. package/out/apiCalls/utils/index.js +0 -20
  581. package/out/apiCalls/utils/index.js.map +0 -1
  582. package/out/apiCalls/websocket/getWebsocketUrl.js +0 -19
  583. package/out/apiCalls/websocket/getWebsocketUrl.js.map +0 -1
  584. package/out/apiCalls/websocket/index.js +0 -18
  585. package/out/apiCalls/websocket/index.js.map +0 -1
  586. package/out/constants/UITags.enum.js +0 -14
  587. package/out/constants/UITags.enum.js.map +0 -1
  588. package/out/constants/browser.constants.js +0 -9
  589. package/out/constants/browser.constants.js.map +0 -1
  590. package/out/constants/index.js +0 -27
  591. package/out/constants/index.js.map +0 -1
  592. package/out/constants/ledger.constants.js +0 -96
  593. package/out/constants/ledger.constants.js.map +0 -1
  594. package/out/constants/mvx.constants.js +0 -18
  595. package/out/constants/mvx.constants.js.map +0 -1
  596. package/out/constants/network.constants.js +0 -76
  597. package/out/constants/network.constants.js.map +0 -1
  598. package/out/constants/placeholders.constants.js +0 -11
  599. package/out/constants/placeholders.constants.js.map +0 -1
  600. package/out/constants/providerFactory.constants.js +0 -15
  601. package/out/constants/providerFactory.constants.js.map +0 -1
  602. package/out/constants/storage.constants.js +0 -13
  603. package/out/constants/storage.constants.js.map +0 -1
  604. package/out/constants/transactions.constants.js +0 -16
  605. package/out/constants/transactions.constants.js.map +0 -1
  606. package/out/constants/walletConnect.constants.js +0 -9
  607. package/out/constants/walletConnect.constants.js.map +0 -1
  608. package/out/constants/webWalletProvider.constants.js +0 -15
  609. package/out/constants/webWalletProvider.constants.js.map +0 -1
  610. package/out/constants/websocket.constants.js +0 -14
  611. package/out/constants/websocket.constants.js.map +0 -1
  612. package/out/constants/window.constants.js +0 -6
  613. package/out/constants/window.constants.js.map +0 -1
  614. package/out/controllers/FormatAmountController/FormatAmountController.js +0 -35
  615. package/out/controllers/FormatAmountController/FormatAmountController.js.map +0 -1
  616. package/out/controllers/FormatAmountController/index.js +0 -18
  617. package/out/controllers/FormatAmountController/index.js.map +0 -1
  618. package/out/controllers/FormatAmountController/tests/formatAmountController.test.js +0 -94
  619. package/out/controllers/FormatAmountController/tests/formatAmountController.test.js.map +0 -1
  620. package/out/controllers/FormatAmountController/types.js +0 -3
  621. package/out/controllers/FormatAmountController/types.js.map +0 -1
  622. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js +0 -12
  623. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js.map +0 -1
  624. package/out/controllers/TransactionsHistoryController/index.js +0 -18
  625. package/out/controllers/TransactionsHistoryController/index.js.map +0 -1
  626. package/out/controllers/TransactionsTableController/TransactionsTableController.js +0 -104
  627. package/out/controllers/TransactionsTableController/TransactionsTableController.js.map +0 -1
  628. package/out/controllers/TransactionsTableController/index.js +0 -18
  629. package/out/controllers/TransactionsTableController/index.js.map +0 -1
  630. package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js +0 -299
  631. package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js.map +0 -1
  632. package/out/controllers/TransactionsTableController/transactionsTableController.types.js +0 -3
  633. package/out/controllers/TransactionsTableController/transactionsTableController.types.js.map +0 -1
  634. package/out/controllers/index.js +0 -18
  635. package/out/controllers/index.js.map +0 -1
  636. package/out/index.js +0 -23
  637. package/out/index.js.map +0 -1
  638. package/out/lib/sdkCore.js +0 -15
  639. package/out/lib/sdkCore.js.map +0 -1
  640. package/out/lib/sdkDappUi.js +0 -37
  641. package/out/lib/sdkDappUi.js.map +0 -1
  642. package/out/lib/sdkDappUtils.js +0 -16
  643. package/out/lib/sdkDappUtils.js.map +0 -1
  644. package/out/lib/sdkWebWalletCrossWindowProvider.js +0 -9
  645. package/out/lib/sdkWebWalletCrossWindowProvider.js.map +0 -1
  646. package/out/lib/sdkWebWalletIframeProvider.js +0 -6
  647. package/out/lib/sdkWebWalletIframeProvider.js.map +0 -1
  648. package/out/managers/LogoutManager/LogoutManager.js +0 -137
  649. package/out/managers/LogoutManager/LogoutManager.js.map +0 -1
  650. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js +0 -33
  651. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js.map +0 -1
  652. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js +0 -48
  653. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js.map +0 -1
  654. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js +0 -115
  655. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +0 -1
  656. package/out/managers/NotificationsFeedManager/index.js +0 -19
  657. package/out/managers/NotificationsFeedManager/index.js.map +0 -1
  658. package/out/managers/NotificationsFeedManager/types/index.js +0 -18
  659. package/out/managers/NotificationsFeedManager/types/index.js.map +0 -1
  660. package/out/managers/NotificationsFeedManager/types/notifications.types.js +0 -14
  661. package/out/managers/NotificationsFeedManager/types/notifications.types.js.map +0 -1
  662. package/out/managers/TransactionManager/TransactionManager.js +0 -154
  663. package/out/managers/TransactionManager/TransactionManager.js.map +0 -1
  664. package/out/managers/TransactionManager/TransactionManager.types.js +0 -3
  665. package/out/managers/TransactionManager/TransactionManager.types.js.map +0 -1
  666. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js +0 -26
  667. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js.map +0 -1
  668. package/out/managers/TransactionManager/helpers/getToastDuration.js +0 -28
  669. package/out/managers/TransactionManager/helpers/getToastDuration.js.map +0 -1
  670. package/out/managers/TransactionManager/helpers/getTransactionsStatus.js +0 -25
  671. package/out/managers/TransactionManager/helpers/getTransactionsStatus.js.map +0 -1
  672. package/out/managers/TransactionManager/helpers/isBatchTransaction.js +0 -8
  673. package/out/managers/TransactionManager/helpers/isBatchTransaction.js.map +0 -1
  674. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js +0 -22
  675. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js.map +0 -1
  676. package/out/managers/TransactionManager/helpers/sessionCallbacks.js +0 -14
  677. package/out/managers/TransactionManager/helpers/sessionCallbacks.js.map +0 -1
  678. package/out/managers/TransactionManager/index.js +0 -18
  679. package/out/managers/TransactionManager/index.js.map +0 -1
  680. package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js +0 -124
  681. package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js.map +0 -1
  682. package/out/managers/TransactionManager/tests/getToastDuration.test.js +0 -61
  683. package/out/managers/TransactionManager/tests/getToastDuration.test.js.map +0 -1
  684. package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js +0 -79
  685. package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js.map +0 -1
  686. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js +0 -49
  687. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js.map +0 -1
  688. package/out/managers/UnlockPanelManager/UnlockPanelManager.js +0 -123
  689. package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +0 -1
  690. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js +0 -16
  691. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js.map +0 -1
  692. package/out/managers/UnlockPanelManager/index.js +0 -18
  693. package/out/managers/UnlockPanelManager/index.js.map +0 -1
  694. package/out/managers/index.js +0 -19
  695. package/out/managers/index.js.map +0 -1
  696. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js +0 -153
  697. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js.map +0 -1
  698. package/out/managers/internal/LedgerConnectStateManager/index.js +0 -19
  699. package/out/managers/internal/LedgerConnectStateManager/index.js.map +0 -1
  700. package/out/managers/internal/LedgerConnectStateManager/types/index.js +0 -18
  701. package/out/managers/internal/LedgerConnectStateManager/types/index.js.map +0 -1
  702. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js +0 -13
  703. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js.map +0 -1
  704. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js +0 -101
  705. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js.map +0 -1
  706. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js +0 -34
  707. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js.map +0 -1
  708. package/out/managers/internal/PendingTransactionsStateManager/index.js +0 -19
  709. package/out/managers/internal/PendingTransactionsStateManager/index.js.map +0 -1
  710. package/out/managers/internal/PendingTransactionsStateManager/types/index.js +0 -18
  711. package/out/managers/internal/PendingTransactionsStateManager/types/index.js.map +0 -1
  712. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js +0 -10
  713. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js.map +0 -1
  714. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js +0 -38
  715. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js.map +0 -1
  716. package/out/managers/internal/SidePanelBaseManager/index.js +0 -18
  717. package/out/managers/internal/SidePanelBaseManager/index.js.map +0 -1
  718. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js +0 -115
  719. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js.map +0 -1
  720. package/out/managers/internal/SignTransactionsStateManager/index.js +0 -18
  721. package/out/managers/internal/SignTransactionsStateManager/index.js.map +0 -1
  722. package/out/managers/internal/SignTransactionsStateManager/types/index.js +0 -18
  723. package/out/managers/internal/SignTransactionsStateManager/types/index.js.map +0 -1
  724. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js +0 -13
  725. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js.map +0 -1
  726. package/out/managers/internal/ToastManager/ToastManager.js +0 -208
  727. package/out/managers/internal/ToastManager/ToastManager.js.map +0 -1
  728. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js +0 -50
  729. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js.map +0 -1
  730. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js +0 -61
  731. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js.map +0 -1
  732. package/out/managers/internal/ToastManager/helpers/createTransactionToast.js +0 -32
  733. package/out/managers/internal/ToastManager/helpers/createTransactionToast.js.map +0 -1
  734. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js +0 -78
  735. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js.map +0 -1
  736. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js +0 -16
  737. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js.map +0 -1
  738. package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js +0 -17
  739. package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js.map +0 -1
  740. package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js +0 -164
  741. package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js.map +0 -1
  742. package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js +0 -150
  743. package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js.map +0 -1
  744. package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js +0 -112
  745. package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js.map +0 -1
  746. package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js +0 -60
  747. package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js.map +0 -1
  748. package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js +0 -79
  749. package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js.map +0 -1
  750. package/out/managers/internal/ToastManager/types/index.js +0 -18
  751. package/out/managers/internal/ToastManager/types/index.js.map +0 -1
  752. package/out/managers/internal/ToastManager/types/toast.types.js +0 -24
  753. package/out/managers/internal/ToastManager/types/toast.types.js.map +0 -1
  754. package/out/managers/internal/UIBaseManager/UIBaseManager.js +0 -75
  755. package/out/managers/internal/UIBaseManager/UIBaseManager.js.map +0 -1
  756. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js +0 -49
  757. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js.map +0 -1
  758. package/out/managers/internal/WalletConnectStateManager/index.js +0 -18
  759. package/out/managers/internal/WalletConnectStateManager/index.js.map +0 -1
  760. package/out/managers/internal/index.js +0 -12
  761. package/out/managers/internal/index.js.map +0 -1
  762. package/out/methods/account/getAccount.js +0 -10
  763. package/out/methods/account/getAccount.js.map +0 -1
  764. package/out/methods/account/getAccountInfo.js +0 -10
  765. package/out/methods/account/getAccountInfo.js.map +0 -1
  766. package/out/methods/account/getAddress.js +0 -10
  767. package/out/methods/account/getAddress.js.map +0 -1
  768. package/out/methods/account/getIsLoggedIn.js +0 -10
  769. package/out/methods/account/getIsLoggedIn.js.map +0 -1
  770. package/out/methods/account/getLatestNonce.js +0 -29
  771. package/out/methods/account/getLatestNonce.js.map +0 -1
  772. package/out/methods/account/tests/getLatestNonce.test.js +0 -81
  773. package/out/methods/account/tests/getLatestNonce.test.js.map +0 -1
  774. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js +0 -37
  775. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js.map +0 -1
  776. package/out/methods/initApp/initApp.js +0 -101
  777. package/out/methods/initApp/initApp.js.map +0 -1
  778. package/out/methods/initApp/initApp.types.js +0 -3
  779. package/out/methods/initApp/initApp.types.js.map +0 -1
  780. package/out/methods/initApp/websocket/initializeWebsocketConnection.js +0 -156
  781. package/out/methods/initApp/websocket/initializeWebsocketConnection.js.map +0 -1
  782. package/out/methods/initApp/websocket/registerWebsocket.js +0 -28
  783. package/out/methods/initApp/websocket/registerWebsocket.js.map +0 -1
  784. package/out/methods/loginInfo/getLoginInfo.js +0 -14
  785. package/out/methods/loginInfo/getLoginInfo.js.map +0 -1
  786. package/out/methods/network/getEgldLabel.js +0 -10
  787. package/out/methods/network/getEgldLabel.js.map +0 -1
  788. package/out/methods/network/getExplorerAddress.js +0 -10
  789. package/out/methods/network/getExplorerAddress.js.map +0 -1
  790. package/out/methods/network/getNetworkConfig.js +0 -10
  791. package/out/methods/network/getNetworkConfig.js.map +0 -1
  792. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js +0 -118
  793. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js.map +0 -1
  794. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js +0 -19
  795. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js.map +0 -1
  796. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js +0 -16
  797. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js.map +0 -1
  798. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js +0 -18
  799. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js.map +0 -1
  800. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js +0 -29
  801. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js.map +0 -1
  802. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js +0 -24
  803. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js.map +0 -1
  804. package/out/methods/trackTransactions/helpers/getPollingInterval.js +0 -16
  805. package/out/methods/trackTransactions/helpers/getPollingInterval.js.map +0 -1
  806. package/out/methods/trackTransactions/trackTransactions.js +0 -89
  807. package/out/methods/trackTransactions/trackTransactions.js.map +0 -1
  808. package/out/methods/transactions/getFailedTransactions.js +0 -10
  809. package/out/methods/transactions/getFailedTransactions.js.map +0 -1
  810. package/out/methods/transactions/getFailedTransactionsSessions.js +0 -10
  811. package/out/methods/transactions/getFailedTransactionsSessions.js.map +0 -1
  812. package/out/methods/transactions/getPendingTransactions.js +0 -10
  813. package/out/methods/transactions/getPendingTransactions.js.map +0 -1
  814. package/out/methods/transactions/getPendingTransactionsSessions.js +0 -10
  815. package/out/methods/transactions/getPendingTransactionsSessions.js.map +0 -1
  816. package/out/methods/transactions/getSuccessfulTransactions.js +0 -10
  817. package/out/methods/transactions/getSuccessfulTransactions.js.map +0 -1
  818. package/out/methods/transactions/getSuccessfulTransactionsSessions.js +0 -10
  819. package/out/methods/transactions/getSuccessfulTransactionsSessions.js.map +0 -1
  820. package/out/methods/transactions/getTransactionSessions.js +0 -10
  821. package/out/methods/transactions/getTransactionSessions.js.map +0 -1
  822. package/out/providers/DappProvider/DappProvider.js +0 -92
  823. package/out/providers/DappProvider/DappProvider.js.map +0 -1
  824. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js +0 -15
  825. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js.map +0 -1
  826. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js +0 -22
  827. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js.map +0 -1
  828. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js +0 -40
  829. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js.map +0 -1
  830. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js +0 -18
  831. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js.map +0 -1
  832. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js +0 -18
  833. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js.map +0 -1
  834. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js +0 -30
  835. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js.map +0 -1
  836. package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js +0 -35
  837. package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js.map +0 -1
  838. package/out/providers/DappProvider/helpers/login/login.js +0 -89
  839. package/out/providers/DappProvider/helpers/login/login.js.map +0 -1
  840. package/out/providers/DappProvider/helpers/logout/logout.js +0 -40
  841. package/out/providers/DappProvider/helpers/logout/logout.js.map +0 -1
  842. package/out/providers/DappProvider/helpers/signErrors/handleSignError.js +0 -54
  843. package/out/providers/DappProvider/helpers/signErrors/handleSignError.js.map +0 -1
  844. package/out/providers/DappProvider/helpers/signMessage/getVerifier.js +0 -10
  845. package/out/providers/DappProvider/helpers/signMessage/getVerifier.js.map +0 -1
  846. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js +0 -16
  847. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js.map +0 -1
  848. package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js +0 -18
  849. package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js.map +0 -1
  850. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js +0 -36
  851. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js.map +0 -1
  852. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js +0 -34
  853. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js.map +0 -1
  854. package/out/providers/DappProvider/index.js +0 -18
  855. package/out/providers/DappProvider/index.js.map +0 -1
  856. package/out/providers/ProviderFactory.js +0 -104
  857. package/out/providers/ProviderFactory.js.map +0 -1
  858. package/out/providers/helpers/accountProvider.js +0 -15
  859. package/out/providers/helpers/accountProvider.js.map +0 -1
  860. package/out/providers/helpers/cancelCrossWindowAction.js +0 -15
  861. package/out/providers/helpers/cancelCrossWindowAction.js.map +0 -1
  862. package/out/providers/helpers/clearInitiatedLogins.js +0 -36
  863. package/out/providers/helpers/clearInitiatedLogins.js.map +0 -1
  864. package/out/providers/helpers/emptyProvider.js +0 -57
  865. package/out/providers/helpers/emptyProvider.js.map +0 -1
  866. package/out/providers/helpers/restoreProvider.js +0 -35
  867. package/out/providers/helpers/restoreProvider.js.map +0 -1
  868. package/out/providers/index.js +0 -21
  869. package/out/providers/index.js.map +0 -1
  870. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js +0 -108
  871. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js.map +0 -1
  872. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js +0 -86
  873. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js.map +0 -1
  874. package/out/providers/strategies/CrossWindowProviderStrategy/index.js +0 -18
  875. package/out/providers/strategies/CrossWindowProviderStrategy/index.js.map +0 -1
  876. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js +0 -76
  877. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js.map +0 -1
  878. package/out/providers/strategies/ExtensionProviderStrategy/index.js +0 -18
  879. package/out/providers/strategies/ExtensionProviderStrategy/index.js.map +0 -1
  880. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js +0 -100
  881. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js.map +0 -1
  882. package/out/providers/strategies/IframeProviderStrategy/index.js +0 -19
  883. package/out/providers/strategies/IframeProviderStrategy/index.js.map +0 -1
  884. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js +0 -3
  885. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js.map +0 -1
  886. package/out/providers/strategies/IframeProviderStrategy/types/index.js +0 -18
  887. package/out/providers/strategies/IframeProviderStrategy/types/index.js.map +0 -1
  888. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js +0 -159
  889. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js.map +0 -1
  890. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js +0 -105
  891. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js.map +0 -1
  892. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js +0 -36
  893. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js.map +0 -1
  894. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js +0 -15
  895. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js.map +0 -1
  896. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js +0 -27
  897. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js.map +0 -1
  898. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js +0 -57
  899. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js.map +0 -1
  900. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js +0 -47
  901. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js.map +0 -1
  902. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js +0 -23
  903. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js.map +0 -1
  904. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js +0 -40
  905. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js.map +0 -1
  906. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js +0 -32
  907. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js.map +0 -1
  908. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js +0 -22
  909. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js.map +0 -1
  910. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js +0 -18
  911. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js.map +0 -1
  912. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js +0 -88
  913. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js.map +0 -1
  914. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js +0 -3
  915. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js.map +0 -1
  916. package/out/providers/strategies/LedgerProviderStrategy/index.js +0 -19
  917. package/out/providers/strategies/LedgerProviderStrategy/index.js.map +0 -1
  918. package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js +0 -89
  919. package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js.map +0 -1
  920. package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js +0 -44
  921. package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js.map +0 -1
  922. package/out/providers/strategies/LedgerProviderStrategy/types/index.js +0 -18
  923. package/out/providers/strategies/LedgerProviderStrategy/types/index.js.map +0 -1
  924. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js +0 -15
  925. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js.map +0 -1
  926. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js +0 -3
  927. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js.map +0 -1
  928. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js +0 -235
  929. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js.map +0 -1
  930. package/out/providers/strategies/WalletConnectProviderStrategy/index.js +0 -19
  931. package/out/providers/strategies/WalletConnectProviderStrategy/index.js.map +0 -1
  932. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js +0 -18
  933. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js.map +0 -1
  934. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js +0 -24
  935. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js.map +0 -1
  936. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js +0 -147
  937. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js.map +0 -1
  938. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js +0 -18
  939. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js.map +0 -1
  940. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js +0 -80
  941. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js.map +0 -1
  942. package/out/providers/strategies/WebviewProviderStrategy/index.js +0 -18
  943. package/out/providers/strategies/WebviewProviderStrategy/index.js.map +0 -1
  944. package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js +0 -93
  945. package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js.map +0 -1
  946. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js +0 -17
  947. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js.map +0 -1
  948. package/out/providers/strategies/helpers/index.js +0 -6
  949. package/out/providers/strategies/helpers/index.js.map +0 -1
  950. package/out/providers/strategies/helpers/signMessage/signMessage.js +0 -52
  951. package/out/providers/strategies/helpers/signMessage/signMessage.js.map +0 -1
  952. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js +0 -24
  953. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js.map +0 -1
  954. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js +0 -52
  955. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js.map +0 -1
  956. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js +0 -151
  957. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js.map +0 -1
  958. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js +0 -18
  959. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js.map +0 -1
  960. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js +0 -212
  961. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js.map +0 -1
  962. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js +0 -65
  963. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js.map +0 -1
  964. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js +0 -11
  965. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js.map +0 -1
  966. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js +0 -58
  967. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js.map +0 -1
  968. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js +0 -20
  969. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js.map +0 -1
  970. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js +0 -17
  971. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js.map +0 -1
  972. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js +0 -16
  973. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js.map +0 -1
  974. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js +0 -25
  975. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js.map +0 -1
  976. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js +0 -72
  977. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js.map +0 -1
  978. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js +0 -44
  979. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js.map +0 -1
  980. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js +0 -262
  981. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js.map +0 -1
  982. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js +0 -125
  983. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js.map +0 -1
  984. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js +0 -31
  985. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js.map +0 -1
  986. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js +0 -13
  987. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js.map +0 -1
  988. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js +0 -14
  989. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js.map +0 -1
  990. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js +0 -85
  991. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js.map +0 -1
  992. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js +0 -92
  993. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js.map +0 -1
  994. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js +0 -63
  995. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js.map +0 -1
  996. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js +0 -11
  997. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js.map +0 -1
  998. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js +0 -23
  999. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js.map +0 -1
  1000. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js +0 -12
  1001. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js.map +0 -1
  1002. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js +0 -31
  1003. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js.map +0 -1
  1004. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js +0 -8
  1005. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js.map +0 -1
  1006. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js +0 -13
  1007. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js.map +0 -1
  1008. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js +0 -86
  1009. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js.map +0 -1
  1010. package/out/providers/strategies/helpers/signTransactions/signTransactions.js +0 -198
  1011. package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +0 -1
  1012. package/out/providers/strategies/index.js +0 -22
  1013. package/out/providers/strategies/index.js.map +0 -1
  1014. package/out/providers/types/providerFactory.types.js +0 -14
  1015. package/out/providers/types/providerFactory.types.js.map +0 -1
  1016. package/out/react/account/useGetAccount.js +0 -10
  1017. package/out/react/account/useGetAccount.js.map +0 -1
  1018. package/out/react/account/useGetAccountInfo.js +0 -10
  1019. package/out/react/account/useGetAccountInfo.js.map +0 -1
  1020. package/out/react/account/useGetIsLoggedIn.js +0 -11
  1021. package/out/react/account/useGetIsLoggedIn.js.map +0 -1
  1022. package/out/react/account/useGetLatestNonce.js +0 -12
  1023. package/out/react/account/useGetLatestNonce.js.map +0 -1
  1024. package/out/react/index.js +0 -18
  1025. package/out/react/index.js.map +0 -1
  1026. package/out/react/loginInfo/useGetLoginInfo.js +0 -13
  1027. package/out/react/loginInfo/useGetLoginInfo.js.map +0 -1
  1028. package/out/react/network/useGetNetworkConfig.js +0 -10
  1029. package/out/react/network/useGetNetworkConfig.js.map +0 -1
  1030. package/out/react/store/createBoundedStore.js +0 -11
  1031. package/out/react/store/createBoundedStore.js.map +0 -1
  1032. package/out/react/store/getReactStore.js +0 -8
  1033. package/out/react/store/getReactStore.js.map +0 -1
  1034. package/out/react/store/useSelector.js +0 -10
  1035. package/out/react/store/useSelector.js.map +0 -1
  1036. package/out/react/transactions/useGetFailedTransactions.js +0 -11
  1037. package/out/react/transactions/useGetFailedTransactions.js.map +0 -1
  1038. package/out/react/transactions/useGetFailedTransactionsSessions.js +0 -11
  1039. package/out/react/transactions/useGetFailedTransactionsSessions.js.map +0 -1
  1040. package/out/react/transactions/useGetPendingTransactions.js +0 -11
  1041. package/out/react/transactions/useGetPendingTransactions.js.map +0 -1
  1042. package/out/react/transactions/useGetPendingTransactionsSessions.js +0 -11
  1043. package/out/react/transactions/useGetPendingTransactionsSessions.js.map +0 -1
  1044. package/out/react/transactions/useGetSuccessfulTransactions.js +0 -11
  1045. package/out/react/transactions/useGetSuccessfulTransactions.js.map +0 -1
  1046. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js +0 -11
  1047. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js.map +0 -1
  1048. package/out/react/transactions/useGetTransactionSessions.js +0 -11
  1049. package/out/react/transactions/useGetTransactionSessions.js.map +0 -1
  1050. package/out/services/index.js +0 -18
  1051. package/out/services/index.js.map +0 -1
  1052. package/out/services/nativeAuth/helpers/decodeLoginToken.js +0 -34
  1053. package/out/services/nativeAuth/helpers/decodeLoginToken.js.map +0 -1
  1054. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js +0 -50
  1055. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js.map +0 -1
  1056. package/out/services/nativeAuth/helpers/getLatestBlockHash.js +0 -69
  1057. package/out/services/nativeAuth/helpers/getLatestBlockHash.js.map +0 -1
  1058. package/out/services/nativeAuth/helpers/index.js +0 -20
  1059. package/out/services/nativeAuth/helpers/index.js.map +0 -1
  1060. package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js +0 -26
  1061. package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js.map +0 -1
  1062. package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js +0 -37
  1063. package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js.map +0 -1
  1064. package/out/services/nativeAuth/index.js +0 -18
  1065. package/out/services/nativeAuth/index.js.map +0 -1
  1066. package/out/services/nativeAuth/methods/buildNativeAuthConfig.js +0 -20
  1067. package/out/services/nativeAuth/methods/buildNativeAuthConfig.js.map +0 -1
  1068. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js +0 -21
  1069. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js.map +0 -1
  1070. package/out/services/nativeAuth/methods/getTokenExpiration.js +0 -29
  1071. package/out/services/nativeAuth/methods/getTokenExpiration.js.map +0 -1
  1072. package/out/services/nativeAuth/methods/index.js +0 -19
  1073. package/out/services/nativeAuth/methods/index.js.map +0 -1
  1074. package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js +0 -55
  1075. package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js.map +0 -1
  1076. package/out/services/nativeAuth/nativeAuth.js +0 -45
  1077. package/out/services/nativeAuth/nativeAuth.js.map +0 -1
  1078. package/out/services/nativeAuth/nativeAuth.types.js +0 -3
  1079. package/out/services/nativeAuth/nativeAuth.types.js.map +0 -1
  1080. package/out/services/nativeAuth/tests/nativeAuth.test.js +0 -105
  1081. package/out/services/nativeAuth/tests/nativeAuth.test.js.map +0 -1
  1082. package/out/setupTests.d.ts +0 -1
  1083. package/out/setupTests.js +0 -36
  1084. package/out/setupTests.js.map +0 -1
  1085. package/out/store/actions/account/accountActions.js +0 -43
  1086. package/out/store/actions/account/accountActions.js.map +0 -1
  1087. package/out/store/actions/account/index.js +0 -18
  1088. package/out/store/actions/account/index.js.map +0 -1
  1089. package/out/store/actions/cache/cacheActions.js +0 -25
  1090. package/out/store/actions/cache/cacheActions.js.map +0 -1
  1091. package/out/store/actions/cache/index.js +0 -18
  1092. package/out/store/actions/cache/index.js.map +0 -1
  1093. package/out/store/actions/config/configActions.js +0 -26
  1094. package/out/store/actions/config/configActions.js.map +0 -1
  1095. package/out/store/actions/config/index.js +0 -18
  1096. package/out/store/actions/config/index.js.map +0 -1
  1097. package/out/store/actions/index.js +0 -24
  1098. package/out/store/actions/index.js.map +0 -1
  1099. package/out/store/actions/loginInfo/loginInfoActions.js +0 -57
  1100. package/out/store/actions/loginInfo/loginInfoActions.js.map +0 -1
  1101. package/out/store/actions/network/index.js +0 -18
  1102. package/out/store/actions/network/index.js.map +0 -1
  1103. package/out/store/actions/network/initializeNetwork.js +0 -49
  1104. package/out/store/actions/network/initializeNetwork.js.map +0 -1
  1105. package/out/store/actions/network/networkActions.js +0 -14
  1106. package/out/store/actions/network/networkActions.js.map +0 -1
  1107. package/out/store/actions/sharedActions/index.js +0 -18
  1108. package/out/store/actions/sharedActions/index.js.map +0 -1
  1109. package/out/store/actions/sharedActions/sharedActions.js +0 -19
  1110. package/out/store/actions/sharedActions/sharedActions.js.map +0 -1
  1111. package/out/store/actions/toasts/index.js +0 -18
  1112. package/out/store/actions/toasts/index.js.map +0 -1
  1113. package/out/store/actions/toasts/toastsActions.js +0 -107
  1114. package/out/store/actions/toasts/toastsActions.js.map +0 -1
  1115. package/out/store/actions/transactions/transactionStateByStatus.js +0 -100
  1116. package/out/store/actions/transactions/transactionStateByStatus.js.map +0 -1
  1117. package/out/store/actions/transactions/transactionsActions.js +0 -79
  1118. package/out/store/actions/transactions/transactionsActions.js.map +0 -1
  1119. package/out/store/actions/ui/index.js +0 -18
  1120. package/out/store/actions/ui/index.js.map +0 -1
  1121. package/out/store/actions/ui/uiActions.js +0 -9
  1122. package/out/store/actions/ui/uiActions.js.map +0 -1
  1123. package/out/store/middleware/applyMiddlewares.js +0 -9
  1124. package/out/store/middleware/applyMiddlewares.js.map +0 -1
  1125. package/out/store/middleware/index.js +0 -18
  1126. package/out/store/middleware/index.js.map +0 -1
  1127. package/out/store/middleware/logoutMiddleware.js +0 -54
  1128. package/out/store/middleware/logoutMiddleware.js.map +0 -1
  1129. package/out/store/selectors/accountSelectors.js +0 -31
  1130. package/out/store/selectors/accountSelectors.js.map +0 -1
  1131. package/out/store/selectors/cacheSelector.js +0 -8
  1132. package/out/store/selectors/cacheSelector.js.map +0 -1
  1133. package/out/store/selectors/configSelectors.js +0 -12
  1134. package/out/store/selectors/configSelectors.js.map +0 -1
  1135. package/out/store/selectors/index.js +0 -23
  1136. package/out/store/selectors/index.js.map +0 -1
  1137. package/out/store/selectors/loginInfoSelectors.js +0 -16
  1138. package/out/store/selectors/loginInfoSelectors.js.map +0 -1
  1139. package/out/store/selectors/networkSelectors.js +0 -14
  1140. package/out/store/selectors/networkSelectors.js.map +0 -1
  1141. package/out/store/selectors/storeSelector.js +0 -6
  1142. package/out/store/selectors/storeSelector.js.map +0 -1
  1143. package/out/store/selectors/toastsSelectors.js +0 -10
  1144. package/out/store/selectors/toastsSelectors.js.map +0 -1
  1145. package/out/store/selectors/transactionsSelector.js +0 -104
  1146. package/out/store/selectors/transactionsSelector.js.map +0 -1
  1147. package/out/store/selectors/uiSelectors.js +0 -8
  1148. package/out/store/selectors/uiSelectors.js.map +0 -1
  1149. package/out/store/slices/account/account.types.js +0 -3
  1150. package/out/store/slices/account/account.types.js.map +0 -1
  1151. package/out/store/slices/account/accountSlice.js +0 -18
  1152. package/out/store/slices/account/accountSlice.js.map +0 -1
  1153. package/out/store/slices/account/emptyAccount.js +0 -15
  1154. package/out/store/slices/account/emptyAccount.js.map +0 -1
  1155. package/out/store/slices/account/index.js +0 -6
  1156. package/out/store/slices/account/index.js.map +0 -1
  1157. package/out/store/slices/cache/cacheSlice.js +0 -9
  1158. package/out/store/slices/cache/cacheSlice.js.map +0 -1
  1159. package/out/store/slices/cache/cacheSlice.types.js +0 -3
  1160. package/out/store/slices/cache/cacheSlice.types.js.map +0 -1
  1161. package/out/store/slices/cache/index.js +0 -6
  1162. package/out/store/slices/cache/index.js.map +0 -1
  1163. package/out/store/slices/config/config.types.js +0 -3
  1164. package/out/store/slices/config/config.types.js.map +0 -1
  1165. package/out/store/slices/config/configSlice.js +0 -18
  1166. package/out/store/slices/config/configSlice.js.map +0 -1
  1167. package/out/store/slices/config/index.js +0 -6
  1168. package/out/store/slices/config/index.js.map +0 -1
  1169. package/out/store/slices/index.js +0 -24
  1170. package/out/store/slices/index.js.map +0 -1
  1171. package/out/store/slices/loginInfo/index.js +0 -6
  1172. package/out/store/slices/loginInfo/index.js.map +0 -1
  1173. package/out/store/slices/loginInfo/loginInfo.types.js +0 -3
  1174. package/out/store/slices/loginInfo/loginInfo.types.js.map +0 -1
  1175. package/out/store/slices/loginInfo/loginInfoSlice.js +0 -19
  1176. package/out/store/slices/loginInfo/loginInfoSlice.js.map +0 -1
  1177. package/out/store/slices/network/emptyNetwork.js +0 -18
  1178. package/out/store/slices/network/emptyNetwork.js.map +0 -1
  1179. package/out/store/slices/network/index.js +0 -6
  1180. package/out/store/slices/network/index.js.map +0 -1
  1181. package/out/store/slices/network/network.types.js +0 -3
  1182. package/out/store/slices/network/network.types.js.map +0 -1
  1183. package/out/store/slices/network/networkSlice.js +0 -12
  1184. package/out/store/slices/network/networkSlice.js.map +0 -1
  1185. package/out/store/slices/network/networkSlice.types.js +0 -3
  1186. package/out/store/slices/network/networkSlice.types.js.map +0 -1
  1187. package/out/store/slices/toast/index.js +0 -6
  1188. package/out/store/slices/toast/index.js.map +0 -1
  1189. package/out/store/slices/toast/toastSlice.js +0 -12
  1190. package/out/store/slices/toast/toastSlice.js.map +0 -1
  1191. package/out/store/slices/toast/toastSlice.types.js +0 -3
  1192. package/out/store/slices/toast/toastSlice.types.js.map +0 -1
  1193. package/out/store/slices/transactions/index.js +0 -6
  1194. package/out/store/slices/transactions/index.js.map +0 -1
  1195. package/out/store/slices/transactions/transactionsSlice.js +0 -9
  1196. package/out/store/slices/transactions/transactionsSlice.js.map +0 -1
  1197. package/out/store/slices/transactions/transactionsSlice.types.js +0 -3
  1198. package/out/store/slices/transactions/transactionsSlice.types.js.map +0 -1
  1199. package/out/store/slices/ui/index.js +0 -6
  1200. package/out/store/slices/ui/index.js.map +0 -1
  1201. package/out/store/slices/ui/ui.types.js +0 -3
  1202. package/out/store/slices/ui/ui.types.js.map +0 -1
  1203. package/out/store/slices/ui/uiSlice.js +0 -11
  1204. package/out/store/slices/ui/uiSlice.js.map +0 -1
  1205. package/out/store/storage/inMemoryStorage.js +0 -29
  1206. package/out/store/storage/inMemoryStorage.js.map +0 -1
  1207. package/out/store/storage/index.js +0 -19
  1208. package/out/store/storage/index.js.map +0 -1
  1209. package/out/store/storage/storageCallback.js +0 -7
  1210. package/out/store/storage/storageCallback.js.map +0 -1
  1211. package/out/store/store.js +0 -60
  1212. package/out/store/store.js.map +0 -1
  1213. package/out/store/store.types.js +0 -3
  1214. package/out/store/store.types.js.map +0 -1
  1215. package/out/types/account.types.js +0 -3
  1216. package/out/types/account.types.js.map +0 -1
  1217. package/out/types/enums.types.js +0 -80
  1218. package/out/types/enums.types.js.map +0 -1
  1219. package/out/types/index.js +0 -24
  1220. package/out/types/index.js.map +0 -1
  1221. package/out/types/login.types.js +0 -3
  1222. package/out/types/login.types.js.map +0 -1
  1223. package/out/types/manager.types.js +0 -3
  1224. package/out/types/manager.types.js.map +0 -1
  1225. package/out/types/network.types.js +0 -3
  1226. package/out/types/network.types.js.map +0 -1
  1227. package/out/types/provider.types.js +0 -11
  1228. package/out/types/provider.types.js.map +0 -1
  1229. package/out/types/serverTransactions.types.js +0 -123
  1230. package/out/types/serverTransactions.types.js.map +0 -1
  1231. package/out/types/subscriptions.type.js +0 -10
  1232. package/out/types/subscriptions.type.js.map +0 -1
  1233. package/out/types/suspiciousLink.types.js +0 -3
  1234. package/out/types/suspiciousLink.types.js.map +0 -1
  1235. package/out/types/theme.types.js +0 -9
  1236. package/out/types/theme.types.js.map +0 -1
  1237. package/out/types/tokens.types.js +0 -14
  1238. package/out/types/tokens.types.js.map +0 -1
  1239. package/out/types/transaction-list-item.types.js +0 -89
  1240. package/out/types/transaction-list-item.types.js.map +0 -1
  1241. package/out/types/transactions.types.js +0 -11
  1242. package/out/types/transactions.types.js.map +0 -1
  1243. package/out/types/websocket.types.js +0 -3
  1244. package/out/types/websocket.types.js.map +0 -1
  1245. package/out/utils/ComponentFactory.js +0 -28
  1246. package/out/utils/ComponentFactory.js.map +0 -1
  1247. package/out/utils/account/fetchAccount.js +0 -7
  1248. package/out/utils/account/fetchAccount.js.map +0 -1
  1249. package/out/utils/account/index.js +0 -21
  1250. package/out/utils/account/index.js.map +0 -1
  1251. package/out/utils/account/refreshAccount.js +0 -60
  1252. package/out/utils/account/refreshAccount.js.map +0 -1
  1253. package/out/utils/account/refreshNativeAuthTokenLogin.js +0 -42
  1254. package/out/utils/account/refreshNativeAuthTokenLogin.js.map +0 -1
  1255. package/out/utils/account/trimUsernameDomain.js +0 -15
  1256. package/out/utils/account/trimUsernameDomain.js.map +0 -1
  1257. package/out/utils/asyncActions/index.js +0 -18
  1258. package/out/utils/asyncActions/index.js.map +0 -1
  1259. package/out/utils/asyncActions/sleep.js +0 -15
  1260. package/out/utils/asyncActions/sleep.js.map +0 -1
  1261. package/out/utils/dateTime/getUnixTimestamp.js +0 -8
  1262. package/out/utils/dateTime/getUnixTimestamp.js.map +0 -1
  1263. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js +0 -8
  1264. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js.map +0 -1
  1265. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js +0 -8
  1266. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js.map +0 -1
  1267. package/out/utils/dateTime/index.js +0 -20
  1268. package/out/utils/dateTime/index.js.map +0 -1
  1269. package/out/utils/decoders/base64Utils.js +0 -56
  1270. package/out/utils/decoders/base64Utils.js.map +0 -1
  1271. package/out/utils/decoders/decodePart.js +0 -19
  1272. package/out/utils/decoders/decodePart.js.map +0 -1
  1273. package/out/utils/decoders/index.js +0 -22
  1274. package/out/utils/decoders/index.js.map +0 -1
  1275. package/out/utils/decoders/isAscii.js +0 -7
  1276. package/out/utils/decoders/isAscii.js.map +0 -1
  1277. package/out/utils/decoders/isUtf8.js +0 -13
  1278. package/out/utils/decoders/isUtf8.js.map +0 -1
  1279. package/out/utils/decoders/stringContainsNumbers.js +0 -6
  1280. package/out/utils/decoders/stringContainsNumbers.js.map +0 -1
  1281. package/out/utils/decoders/tests/base64Utils.test.js +0 -58
  1282. package/out/utils/decoders/tests/base64Utils.test.js.map +0 -1
  1283. package/out/utils/decoders/tests/decodePart.test.js +0 -14
  1284. package/out/utils/decoders/tests/decodePart.test.js.map +0 -1
  1285. package/out/utils/decoders/tests/isAscii.test.js +0 -22
  1286. package/out/utils/decoders/tests/isAscii.test.js.map +0 -1
  1287. package/out/utils/decoders/tests/isUtf8.test.js +0 -22
  1288. package/out/utils/decoders/tests/isUtf8.test.js.map +0 -1
  1289. package/out/utils/index.js +0 -27
  1290. package/out/utils/index.js.map +0 -1
  1291. package/out/utils/network/index.js +0 -18
  1292. package/out/utils/network/index.js.map +0 -1
  1293. package/out/utils/network/setAxiosInterceptors.js +0 -29
  1294. package/out/utils/network/setAxiosInterceptors.js.map +0 -1
  1295. package/out/utils/operations/capitalize.js +0 -6
  1296. package/out/utils/operations/capitalize.js.map +0 -1
  1297. package/out/utils/operations/getUsdValue.js +0 -18
  1298. package/out/utils/operations/getUsdValue.js.map +0 -1
  1299. package/out/utils/operations/pluralize.js +0 -6
  1300. package/out/utils/operations/pluralize.js.map +0 -1
  1301. package/out/utils/operations/tests/capitalize.test.js +0 -10
  1302. package/out/utils/operations/tests/capitalize.test.js.map +0 -1
  1303. package/out/utils/operations/tests/getUsdValue.test.js +0 -21
  1304. package/out/utils/operations/tests/getUsdValue.test.js.map +0 -1
  1305. package/out/utils/operations/tests/pluralize.spec.js +0 -19
  1306. package/out/utils/operations/tests/pluralize.spec.js.map +0 -1
  1307. package/out/utils/operations/tests/timeRemaining.test.js +0 -32
  1308. package/out/utils/operations/tests/timeRemaining.test.js.map +0 -1
  1309. package/out/utils/operations/tests/trimAmountDecimals.spec.js +0 -86
  1310. package/out/utils/operations/tests/trimAmountDecimals.spec.js.map +0 -1
  1311. package/out/utils/operations/timeRemaining.js +0 -76
  1312. package/out/utils/operations/timeRemaining.js.map +0 -1
  1313. package/out/utils/operations/trimAmountDecimals.js +0 -27
  1314. package/out/utils/operations/trimAmountDecimals.js.map +0 -1
  1315. package/out/utils/retryMultipleTimes.js +0 -24
  1316. package/out/utils/retryMultipleTimes.js.map +0 -1
  1317. package/out/utils/transactions/explorerUrlBuilder.js +0 -30
  1318. package/out/utils/transactions/explorerUrlBuilder.js.map +0 -1
  1319. package/out/utils/transactions/getActiveTransactionsStatus.js +0 -27
  1320. package/out/utils/transactions/getActiveTransactionsStatus.js.map +0 -1
  1321. package/out/utils/transactions/getExplorerLink.js +0 -26
  1322. package/out/utils/transactions/getExplorerLink.js.map +0 -1
  1323. package/out/utils/transactions/getHumanReadableTimeFormat.js +0 -24
  1324. package/out/utils/transactions/getHumanReadableTimeFormat.js.map +0 -1
  1325. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +0 -83
  1326. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js.map +0 -1
  1327. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js +0 -32
  1328. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js.map +0 -1
  1329. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js +0 -74
  1330. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js.map +0 -1
  1331. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js +0 -13
  1332. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js.map +0 -1
  1333. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js +0 -36
  1334. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js.map +0 -1
  1335. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js +0 -46
  1336. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js.map +0 -1
  1337. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js +0 -17
  1338. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js.map +0 -1
  1339. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js +0 -23
  1340. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js.map +0 -1
  1341. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js +0 -30
  1342. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js.map +0 -1
  1343. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js +0 -30
  1344. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js.map +0 -1
  1345. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js +0 -10
  1346. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js.map +0 -1
  1347. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js +0 -23
  1348. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js.map +0 -1
  1349. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js +0 -50
  1350. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js.map +0 -1
  1351. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js +0 -18
  1352. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js.map +0 -1
  1353. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js +0 -3
  1354. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js.map +0 -1
  1355. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js +0 -57
  1356. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js.map +0 -1
  1357. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js +0 -10
  1358. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js.map +0 -1
  1359. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +0 -38
  1360. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js.map +0 -1
  1361. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js +0 -10
  1362. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js.map +0 -1
  1363. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js +0 -22
  1364. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js.map +0 -1
  1365. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js +0 -76
  1366. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js.map +0 -1
  1367. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js +0 -26
  1368. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js.map +0 -1
  1369. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js +0 -15
  1370. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js.map +0 -1
  1371. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js +0 -23
  1372. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js.map +0 -1
  1373. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js +0 -12
  1374. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js.map +0 -1
  1375. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js +0 -15
  1376. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js.map +0 -1
  1377. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js +0 -22
  1378. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js.map +0 -1
  1379. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js +0 -17
  1380. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js.map +0 -1
  1381. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js +0 -23
  1382. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js.map +0 -1
  1383. package/out/utils/transactions/getInterpretedTransaction/helpers/index.js +0 -30
  1384. package/out/utils/transactions/getInterpretedTransaction/helpers/index.js.map +0 -1
  1385. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js +0 -31
  1386. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js.map +0 -1
  1387. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js +0 -86
  1388. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js.map +0 -1
  1389. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js +0 -40
  1390. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js.map +0 -1
  1391. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js +0 -54
  1392. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js.map +0 -1
  1393. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js +0 -39
  1394. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js.map +0 -1
  1395. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js +0 -15
  1396. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js.map +0 -1
  1397. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js +0 -39
  1398. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js.map +0 -1
  1399. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js +0 -131
  1400. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js.map +0 -1
  1401. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js +0 -52
  1402. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js.map +0 -1
  1403. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js +0 -30
  1404. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js.map +0 -1
  1405. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js +0 -45
  1406. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js.map +0 -1
  1407. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js +0 -50
  1408. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js.map +0 -1
  1409. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js +0 -60
  1410. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js.map +0 -1
  1411. package/out/utils/transactions/getInterpretedTransaction/index.js +0 -19
  1412. package/out/utils/transactions/getInterpretedTransaction/index.js.map +0 -1
  1413. package/out/utils/transactions/getScamFlag.js +0 -78
  1414. package/out/utils/transactions/getScamFlag.js.map +0 -1
  1415. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js +0 -22
  1416. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js.map +0 -1
  1417. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js +0 -12
  1418. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js.map +0 -1
  1419. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js +0 -34
  1420. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js.map +0 -1
  1421. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js +0 -25
  1422. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js.map +0 -1
  1423. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js +0 -11
  1424. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js.map +0 -1
  1425. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js +0 -14
  1426. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js.map +0 -1
  1427. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js +0 -21
  1428. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js.map +0 -1
  1429. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js +0 -79
  1430. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js.map +0 -1
  1431. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js +0 -31
  1432. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js.map +0 -1
  1433. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js +0 -34
  1434. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js.map +0 -1
  1435. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js +0 -28
  1436. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js.map +0 -1
  1437. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js +0 -62
  1438. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js.map +0 -1
  1439. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js +0 -39
  1440. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js.map +0 -1
  1441. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js +0 -17
  1442. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js.map +0 -1
  1443. package/out/utils/transactions/getTransactionsHistory/helpers/index.js +0 -20
  1444. package/out/utils/transactions/getTransactionsHistory/helpers/index.js.map +0 -1
  1445. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js +0 -15
  1446. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js.map +0 -1
  1447. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js +0 -64
  1448. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js.map +0 -1
  1449. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js +0 -54
  1450. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js.map +0 -1
  1451. package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js +0 -44
  1452. package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js.map +0 -1
  1453. package/out/utils/transactions/getTransactionsHistory/index.js +0 -19
  1454. package/out/utils/transactions/getTransactionsHistory/index.js.map +0 -1
  1455. package/out/utils/transactions/index.js +0 -21
  1456. package/out/utils/transactions/index.js.map +0 -1
  1457. package/out/utils/transactions/isGuardianTx.js +0 -15
  1458. package/out/utils/transactions/isGuardianTx.js.map +0 -1
  1459. package/out/utils/transactions/tests/getExplorerkLink.test.js +0 -23
  1460. package/out/utils/transactions/tests/getExplorerkLink.test.js.map +0 -1
  1461. package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js +0 -118
  1462. package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js.map +0 -1
  1463. package/out/utils/validation/addressIsValid.js +0 -18
  1464. package/out/utils/validation/addressIsValid.js.map +0 -1
  1465. package/out/utils/validation/getIdentifierType.js +0 -31
  1466. package/out/utils/validation/getIdentifierType.js.map +0 -1
  1467. package/out/utils/validation/hex.js +0 -12
  1468. package/out/utils/validation/hex.js.map +0 -1
  1469. package/out/utils/validation/index.js +0 -22
  1470. package/out/utils/validation/index.js.map +0 -1
  1471. package/out/utils/validation/isContract.js +0 -65
  1472. package/out/utils/validation/isContract.js.map +0 -1
  1473. package/out/utils/validation/maxDecimals.js +0 -13
  1474. package/out/utils/validation/maxDecimals.js.map +0 -1
  1475. package/out/utils/validation/tests/isContract.test.js +0 -24
  1476. package/out/utils/validation/tests/isContract.test.js.map +0 -1
  1477. package/out/utils/visual/index.js +0 -18
  1478. package/out/utils/visual/index.js.map +0 -1
  1479. package/out/utils/visual/switchTheme.js +0 -15
  1480. package/out/utils/visual/switchTheme.js.map +0 -1
  1481. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +0 -11
  1482. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js.map +0 -1
  1483. package/out/utils/walletconnect/__sdkWalletconnectProvider.js +0 -9
  1484. package/out/utils/walletconnect/__sdkWalletconnectProvider.js.map +0 -1
  1485. package/out/utils/window/buildUrlParams.js +0 -14
  1486. package/out/utils/window/buildUrlParams.js.map +0 -1
  1487. package/out/utils/window/getIsAuthRoute.js +0 -22
  1488. package/out/utils/window/getIsAuthRoute.js.map +0 -1
  1489. package/out/utils/window/getIsInIframe.js +0 -26
  1490. package/out/utils/window/getIsInIframe.js.map +0 -1
  1491. package/out/utils/window/getWindowLocation.js +0 -32
  1492. package/out/utils/window/getWindowLocation.js.map +0 -1
  1493. package/out/utils/window/getWindowParentOrigin.js +0 -25
  1494. package/out/utils/window/getWindowParentOrigin.js.map +0 -1
  1495. package/out/utils/window/index.js +0 -23
  1496. package/out/utils/window/index.js.map +0 -1
  1497. package/out/utils/window/isWindowAvailable.js +0 -6
  1498. package/out/utils/window/isWindowAvailable.js.map +0 -1
  1499. package/out/utils/window/matchPath.js +0 -108
  1500. package/out/utils/window/matchPath.js.map +0 -1
  1501. package/out/utils/window/sanitizeCallbackUrl.js +0 -16
  1502. package/out/utils/window/sanitizeCallbackUrl.js.map +0 -1
  1503. package/out/utils/window/tests/buildUrlParams.test.js +0 -60
  1504. package/out/utils/window/tests/buildUrlParams.test.js.map +0 -1
  1505. package/out/utils/window/tests/getIsAuthRoute.test.js +0 -29
  1506. package/out/utils/window/tests/getIsAuthRoute.test.js.map +0 -1
  1507. package/out/utils/window/tests/getIsInIframe.test.js +0 -54
  1508. package/out/utils/window/tests/getIsInIframe.test.js.map +0 -1
  1509. package/out/utils/window/tests/getWindowLocation.test.js +0 -68
  1510. package/out/utils/window/tests/getWindowLocation.test.js.map +0 -1
  1511. package/out/utils/window/tests/getWindowParentOrigin.test.js +0 -88
  1512. package/out/utils/window/tests/getWindowParentOrigin.test.js.map +0 -1
  1513. package/out/utils/window/tests/sanitizeCallbackUrl.test.js +0 -30
  1514. package/out/utils/window/tests/sanitizeCallbackUrl.test.js.map +0 -1
  1515. /package/out/__chunks__/{chunk-YTFYVPZO.mjs.map → chunk-2DFE24NA.mjs.map} +0 -0
  1516. /package/out/__chunks__/{chunk-LJ5JGAYL.mjs.map → chunk-2ONA7QPD.mjs.map} +0 -0
  1517. /package/out/__chunks__/{chunk-62EX26PE.mjs.map → chunk-2S4GDHPC.mjs.map} +0 -0
  1518. /package/out/__chunks__/{chunk-FIVH6RKU.mjs.map → chunk-2XGXXRSH.mjs.map} +0 -0
  1519. /package/out/__chunks__/{chunk-6IACSXVX.mjs.map → chunk-3AALZJXX.mjs.map} +0 -0
  1520. /package/out/__chunks__/{chunk-NO7YH2FT.mjs.map → chunk-3C5GZ3BL.mjs.map} +0 -0
  1521. /package/out/__chunks__/{chunk-KU74A6T3.mjs.map → chunk-3IKGFPT3.mjs.map} +0 -0
  1522. /package/out/__chunks__/{chunk-SRX2EMTG.mjs.map → chunk-3OZWOKL7.mjs.map} +0 -0
  1523. /package/out/__chunks__/{chunk-LIPGE2RA.mjs.map → chunk-52PGMMOM.mjs.map} +0 -0
  1524. /package/out/__chunks__/{chunk-PQY2A63Y.mjs.map → chunk-5AGNJNHL.mjs.map} +0 -0
  1525. /package/out/__chunks__/{chunk-O4DQ3TWG.mjs.map → chunk-5AITBRJM.mjs.map} +0 -0
  1526. /package/out/__chunks__/{chunk-2SOS3KAT.mjs.map → chunk-5E32AO3E.mjs.map} +0 -0
  1527. /package/out/__chunks__/{chunk-ROYSFSCI.mjs.map → chunk-5IKWP24U.mjs.map} +0 -0
  1528. /package/out/__chunks__/{chunk-D5IP4ZG2.mjs.map → chunk-5J6OW5XP.mjs.map} +0 -0
  1529. /package/out/__chunks__/{chunk-6RAMYSEC.mjs.map → chunk-5P5FMYGA.mjs.map} +0 -0
  1530. /package/out/__chunks__/{chunk-C6NGX4MC.mjs.map → chunk-66LM6A7E.mjs.map} +0 -0
  1531. /package/out/__chunks__/{chunk-YB7AHPBR.mjs.map → chunk-6D53LH5J.mjs.map} +0 -0
  1532. /package/out/__chunks__/{chunk-QZGJ5DCM.mjs.map → chunk-6JIZDYQM.mjs.map} +0 -0
  1533. /package/out/__chunks__/{chunk-ZU7V2CMU.mjs.map → chunk-6K6VHJWQ.mjs.map} +0 -0
  1534. /package/out/__chunks__/{chunk-DHPD6E7P.mjs.map → chunk-7FEQBPHA.mjs.map} +0 -0
  1535. /package/out/__chunks__/{chunk-M7EUMCPG.mjs.map → chunk-7YHMRUFS.mjs.map} +0 -0
  1536. /package/out/__chunks__/{chunk-ISPRIGOE.mjs.map → chunk-AGUGUYQS.mjs.map} +0 -0
  1537. /package/out/__chunks__/{chunk-MOOY3SNQ.mjs.map → chunk-AWVWVATR.mjs.map} +0 -0
  1538. /package/out/__chunks__/{chunk-36VCBI2F.mjs.map → chunk-BYJK2EOI.mjs.map} +0 -0
  1539. /package/out/__chunks__/{chunk-XTJQ2D6K.mjs.map → chunk-C7NS47QA.mjs.map} +0 -0
  1540. /package/out/__chunks__/{chunk-MFK6BEXF.mjs.map → chunk-CC4DXLNZ.mjs.map} +0 -0
  1541. /package/out/__chunks__/{chunk-YNEVRTJM.mjs.map → chunk-CETMI3F5.mjs.map} +0 -0
  1542. /package/out/__chunks__/{chunk-UAW7SD6P.mjs.map → chunk-D2ULWBRR.mjs.map} +0 -0
  1543. /package/out/__chunks__/{chunk-KZC44J42.mjs.map → chunk-DF5ZV5BO.mjs.map} +0 -0
  1544. /package/out/__chunks__/{chunk-3MWXXTQQ.mjs.map → chunk-DFSBS3PX.mjs.map} +0 -0
  1545. /package/out/__chunks__/{chunk-C5X7N2AN.mjs.map → chunk-DJWI5LZX.mjs.map} +0 -0
  1546. /package/out/__chunks__/{chunk-MELQLFCR.mjs.map → chunk-DOU66R4K.mjs.map} +0 -0
  1547. /package/out/__chunks__/{chunk-T2BUXSZ5.mjs.map → chunk-EJ2HUL6D.mjs.map} +0 -0
  1548. /package/out/__chunks__/{chunk-54I7T2PP.mjs.map → chunk-F5Q64A5W.mjs.map} +0 -0
  1549. /package/out/__chunks__/{chunk-266T724O.mjs.map → chunk-FCIBGJDC.mjs.map} +0 -0
  1550. /package/out/__chunks__/{chunk-FEFZKA2B.mjs.map → chunk-FKGDHZZJ.mjs.map} +0 -0
  1551. /package/out/__chunks__/{chunk-EQEYL6AE.mjs.map → chunk-FNYBJAH3.mjs.map} +0 -0
  1552. /package/out/__chunks__/{chunk-6TJVNG7O.mjs.map → chunk-GDF5AJ5S.mjs.map} +0 -0
  1553. /package/out/__chunks__/{chunk-KSKOSHYV.mjs.map → chunk-GFR6K4DR.mjs.map} +0 -0
  1554. /package/out/__chunks__/{chunk-673M5M6E.mjs.map → chunk-GMX4XDVR.mjs.map} +0 -0
  1555. /package/out/__chunks__/{chunk-I7NIOE4D.mjs.map → chunk-GSMTFDRE.mjs.map} +0 -0
  1556. /package/out/__chunks__/{chunk-MYSCFOXV.mjs.map → chunk-GUNYJMJE.mjs.map} +0 -0
  1557. /package/out/__chunks__/{chunk-OZCEAS6L.mjs.map → chunk-GY2WKBFX.mjs.map} +0 -0
  1558. /package/out/__chunks__/{chunk-DNHKXKYY.mjs.map → chunk-H33OUO77.mjs.map} +0 -0
  1559. /package/out/__chunks__/{chunk-YMNKYTXZ.mjs.map → chunk-H7E4BCEJ.mjs.map} +0 -0
  1560. /package/out/__chunks__/{chunk-KIQBMB2Y.mjs.map → chunk-HIKIVTTW.mjs.map} +0 -0
  1561. /package/out/__chunks__/{chunk-BVKUZJNB.mjs.map → chunk-HLORMFN4.mjs.map} +0 -0
  1562. /package/out/__chunks__/{chunk-CQ5GZXM5.mjs.map → chunk-I5OYRIZC.mjs.map} +0 -0
  1563. /package/out/__chunks__/{chunk-JIJSBQEU.mjs.map → chunk-IE3A2COQ.mjs.map} +0 -0
  1564. /package/out/__chunks__/{chunk-JESUVU73.mjs.map → chunk-IINL5CEU.mjs.map} +0 -0
  1565. /package/out/__chunks__/{chunk-A4RNPJJW.mjs.map → chunk-IVSP42IE.mjs.map} +0 -0
  1566. /package/out/__chunks__/{chunk-6JEPIISC.mjs.map → chunk-IWHUAAVD.mjs.map} +0 -0
  1567. /package/out/__chunks__/{chunk-KO5KDKZ7.mjs.map → chunk-IXGPMW52.mjs.map} +0 -0
  1568. /package/out/__chunks__/{chunk-LTHGO7JM.mjs.map → chunk-J6N7KVXV.mjs.map} +0 -0
  1569. /package/out/__chunks__/{chunk-KN7QMGWV.mjs.map → chunk-JAIA24ND.mjs.map} +0 -0
  1570. /package/out/__chunks__/{chunk-ICZ6YALG.mjs.map → chunk-JIAKT3GI.mjs.map} +0 -0
  1571. /package/out/__chunks__/{chunk-BRBIUWAW.mjs.map → chunk-JMC7CMTU.mjs.map} +0 -0
  1572. /package/out/__chunks__/{chunk-DV3XIKOX.mjs.map → chunk-K4ITACAF.mjs.map} +0 -0
  1573. /package/out/__chunks__/{chunk-DIV6ZH5K.mjs.map → chunk-K7R2V5KX.mjs.map} +0 -0
  1574. /package/out/__chunks__/{chunk-KDCMWWIT.mjs.map → chunk-KXK3FLN2.mjs.map} +0 -0
  1575. /package/out/__chunks__/{chunk-5ECETGF7.mjs.map → chunk-LM2GCQL5.mjs.map} +0 -0
  1576. /package/out/__chunks__/{chunk-O3V4TGXK.mjs.map → chunk-LN5UXO64.mjs.map} +0 -0
  1577. /package/out/__chunks__/{chunk-VWYDJFJH.mjs.map → chunk-LWDK4NX3.mjs.map} +0 -0
  1578. /package/out/__chunks__/{chunk-VTJUZ3TY.mjs.map → chunk-M2ZSNGPS.mjs.map} +0 -0
  1579. /package/out/__chunks__/{chunk-SXECAH2A.mjs.map → chunk-M5T2OACP.mjs.map} +0 -0
  1580. /package/out/__chunks__/{chunk-Z5CDCI3Y.mjs.map → chunk-MDVI45IV.mjs.map} +0 -0
  1581. /package/out/__chunks__/{chunk-U7R4JK6U.mjs.map → chunk-ML7FXWAD.mjs.map} +0 -0
  1582. /package/out/__chunks__/{chunk-PO27JYMA.mjs.map → chunk-MSQGMOCS.mjs.map} +0 -0
  1583. /package/out/__chunks__/{chunk-RT44V62F.mjs.map → chunk-N5DIMOWZ.mjs.map} +0 -0
  1584. /package/out/__chunks__/{chunk-JQ47IJOB.mjs.map → chunk-NKUK5GFB.mjs.map} +0 -0
  1585. /package/out/__chunks__/{chunk-COZTBWPH.mjs.map → chunk-NVE5YTZK.mjs.map} +0 -0
  1586. /package/out/__chunks__/{chunk-ABHYXD3U.mjs.map → chunk-OLOCTHIE.mjs.map} +0 -0
  1587. /package/out/__chunks__/{chunk-6RJQVLIY.mjs.map → chunk-OX6DILCF.mjs.map} +0 -0
  1588. /package/out/__chunks__/{chunk-HCAXI2LY.mjs.map → chunk-PDEIJQWE.mjs.map} +0 -0
  1589. /package/out/__chunks__/{chunk-AV4HSXYZ.mjs.map → chunk-PHOF3Z5D.mjs.map} +0 -0
  1590. /package/out/__chunks__/{chunk-ZXIBFH6X.mjs.map → chunk-Q5Z34JFU.mjs.map} +0 -0
  1591. /package/out/__chunks__/{chunk-XVFVG64Y.mjs.map → chunk-QAHFVBCD.mjs.map} +0 -0
  1592. /package/out/__chunks__/{chunk-6EBIYJLF.mjs.map → chunk-QGNMCCFK.mjs.map} +0 -0
  1593. /package/out/__chunks__/{chunk-LUDF7ZUR.mjs.map → chunk-QQAW7UC2.mjs.map} +0 -0
  1594. /package/out/__chunks__/{chunk-FZS7JL2U.mjs.map → chunk-QS2RBVTW.mjs.map} +0 -0
  1595. /package/out/__chunks__/{chunk-T4BJTXVW.mjs.map → chunk-RD2EB7NA.mjs.map} +0 -0
  1596. /package/out/__chunks__/{chunk-IP3MMHXY.mjs.map → chunk-RHCAOCW3.mjs.map} +0 -0
  1597. /package/out/__chunks__/{chunk-V4Z4FQJO.mjs.map → chunk-RPTQJKFR.mjs.map} +0 -0
  1598. /package/out/__chunks__/{chunk-6W67LK22.mjs.map → chunk-RSVM3MZD.mjs.map} +0 -0
  1599. /package/out/__chunks__/{chunk-4X3GF5DF.mjs.map → chunk-RU7UYXPW.mjs.map} +0 -0
  1600. /package/out/__chunks__/{chunk-R5SGFTE7.mjs.map → chunk-S5VF4GWN.mjs.map} +0 -0
  1601. /package/out/__chunks__/{chunk-RU7LAHKK.mjs.map → chunk-S6EACMBJ.mjs.map} +0 -0
  1602. /package/out/__chunks__/{chunk-KGXIPD5I.mjs.map → chunk-SKCBMUQL.mjs.map} +0 -0
  1603. /package/out/__chunks__/{chunk-U22MXHMS.mjs.map → chunk-TRIPQLQM.mjs.map} +0 -0
  1604. /package/out/__chunks__/{chunk-EVTERXBU.mjs.map → chunk-TZ2EDK3R.mjs.map} +0 -0
  1605. /package/out/__chunks__/{chunk-VJ2DAL5M.mjs.map → chunk-U3UMCTU6.mjs.map} +0 -0
  1606. /package/out/__chunks__/{chunk-2I4BJK55.mjs.map → chunk-U4ZCGUVE.mjs.map} +0 -0
  1607. /package/out/__chunks__/{chunk-XALHL7VA.mjs.map → chunk-U7E2AVPF.mjs.map} +0 -0
  1608. /package/out/__chunks__/{chunk-XLVZQDL3.mjs.map → chunk-UCJMQJM4.mjs.map} +0 -0
  1609. /package/out/__chunks__/{chunk-QSBLXZFC.mjs.map → chunk-UCNS6KD5.mjs.map} +0 -0
  1610. /package/out/__chunks__/{chunk-QJSB5NX4.mjs.map → chunk-UERJ6AKK.mjs.map} +0 -0
  1611. /package/out/__chunks__/{chunk-BSWV5MEC.mjs.map → chunk-UK5MEKBE.mjs.map} +0 -0
  1612. /package/out/__chunks__/{chunk-JQTCROGW.mjs.map → chunk-UKGXMWHE.mjs.map} +0 -0
  1613. /package/out/__chunks__/{chunk-MD7CSIXL.mjs.map → chunk-UO4CECP4.mjs.map} +0 -0
  1614. /package/out/__chunks__/{chunk-A6IG4DO6.mjs.map → chunk-UTN4SJ54.mjs.map} +0 -0
  1615. /package/out/__chunks__/{chunk-YUIJMELA.mjs.map → chunk-UVN6CHEM.mjs.map} +0 -0
  1616. /package/out/__chunks__/{chunk-RVEEVVOA.mjs.map → chunk-VG7UDG2S.mjs.map} +0 -0
  1617. /package/out/__chunks__/{chunk-I6BAZCYU.mjs.map → chunk-WBPXPWSV.mjs.map} +0 -0
  1618. /package/out/__chunks__/{chunk-DPUWJW5E.mjs.map → chunk-WIHG6SHO.mjs.map} +0 -0
  1619. /package/out/__chunks__/{chunk-AZMKY66I.mjs.map → chunk-WTBHS6AM.mjs.map} +0 -0
  1620. /package/out/__chunks__/{chunk-7BP53CXF.mjs.map → chunk-WZGG2YKQ.mjs.map} +0 -0
  1621. /package/out/__chunks__/{chunk-P3BXXGQA.mjs.map → chunk-XCVEFI4B.mjs.map} +0 -0
  1622. /package/out/__chunks__/{chunk-YRCMHPYS.mjs.map → chunk-XFYYVB6G.mjs.map} +0 -0
  1623. /package/out/__chunks__/{chunk-DT6YLEPL.mjs.map → chunk-YNXPGS77.mjs.map} +0 -0
  1624. /package/out/__chunks__/{chunk-IHKF4UNO.mjs.map → chunk-YTA6XGBJ.mjs.map} +0 -0
  1625. /package/out/__chunks__/{chunk-XVAA5JSP.mjs.map → chunk-YVVAPGXF.mjs.map} +0 -0
@@ -1,137 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.LogoutManager = void 0;
7
- const bignumber_js_1 = __importDefault(require("bignumber.js"));
8
- const getToastDataStateByStatus_1 = require("../../managers/internal/ToastManager/helpers/getToastDataStateByStatus");
9
- const ToastManager_1 = require("../../managers/internal/ToastManager/ToastManager");
10
- const accountProvider_1 = require("../../providers/helpers/accountProvider");
11
- const providerFactory_types_1 = require("../../providers/types/providerFactory.types");
12
- const getTokenExpiration_1 = require("../../services/nativeAuth/methods/getTokenExpiration");
13
- const accountSelectors_1 = require("../../store/selectors/accountSelectors");
14
- const configSelectors_1 = require("../../store/selectors/configSelectors");
15
- const loginInfoSelectors_1 = require("../../store/selectors/loginInfoSelectors");
16
- const store_1 = require("../../store/store");
17
- const getHumanReadableTokenExpirationTime_1 = require("./helpers/getHumanReadableTokenExpirationTime");
18
- class LogoutManager {
19
- static getInstance() {
20
- if (!LogoutManager.instance) {
21
- LogoutManager.instance = new LogoutManager();
22
- }
23
- return LogoutManager.instance;
24
- }
25
- constructor() {
26
- this.store = (0, store_1.getStore)();
27
- this.warningLogoutTimeoutRef = null;
28
- this.actualLogoutTimeoutRef = null;
29
- this.plannedLogoutTimeoutRef = null;
30
- this.plannedLogoutKey = null;
31
- this.init = async () => {
32
- if (!this.shouldStart()) {
33
- return;
34
- }
35
- const state = this.store.getState();
36
- const tokenLogin = (0, loginInfoSelectors_1.tokenLoginSelector)(state);
37
- const { isExpired: isNativeAuthTokenExpired } = (0, getTokenExpiration_1.getTokenExpiration)(tokenLogin?.nativeAuthToken);
38
- if (isNativeAuthTokenExpired) {
39
- const provider = (0, accountProvider_1.getAccountProvider)();
40
- provider.logout();
41
- }
42
- else {
43
- this.addPlannedLogout();
44
- }
45
- };
46
- this.stop = () => {
47
- clearTimeout(this.warningLogoutTimeoutRef ?? 0);
48
- clearTimeout(this.plannedLogoutTimeoutRef ?? 0);
49
- clearTimeout(this.actualLogoutTimeoutRef ?? 0);
50
- this.warningLogoutTimeoutRef = null;
51
- this.plannedLogoutTimeoutRef = null;
52
- this.actualLogoutTimeoutRef = null;
53
- this.plannedLogoutKey = null;
54
- };
55
- this.shouldStart = () => {
56
- const state = this.store.getState();
57
- const tokenLogin = (0, loginInfoSelectors_1.tokenLoginSelector)(state);
58
- const isLoggedIn = (0, accountSelectors_1.isLoggedInSelector)(state);
59
- return Boolean(tokenLogin?.nativeAuthToken && isLoggedIn);
60
- };
61
- this.addPlannedLogout = () => {
62
- const provider = (0, accountProvider_1.getAccountProvider)();
63
- const address = (0, accountSelectors_1.addressSelector)(this.store.getState());
64
- const isWebviewLogin = provider.getType() === providerFactory_types_1.ProviderTypeEnum.webview;
65
- // prevent unexpected logout if webview login
66
- if (!address || isWebviewLogin) {
67
- return;
68
- }
69
- this.addLogoutWarning();
70
- const tokenLogin = (0, loginInfoSelectors_1.tokenLoginSelector)(this.store.getState());
71
- const { secondsUntilExpires, expiresAt } = (0, getTokenExpiration_1.getTokenExpiration)(tokenLogin?.nativeAuthToken);
72
- // Handle the actual logout functionality.
73
- const secondsUntilExpiresBN = new bignumber_js_1.default(String(secondsUntilExpires));
74
- const plannedLogoutKey = `${address}_${expiresAt}`;
75
- const plannedLogoutSet = this.plannedLogoutKey === plannedLogoutKey;
76
- const isValidInterval = secondsUntilExpires && secondsUntilExpiresBN.isGreaterThan(0);
77
- if (!isValidInterval || plannedLogoutSet) {
78
- return;
79
- }
80
- this.plannedLogoutKey = plannedLogoutKey;
81
- clearTimeout(this.plannedLogoutTimeoutRef ?? 0);
82
- const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);
83
- this.actualLogoutTimeoutRef = setTimeout(() => {
84
- ToastManager_1.ToastManager.getInstance().createCustomToast({
85
- toastId: 'native-auth-logout',
86
- iconClassName: 'warning',
87
- title: 'Logging out',
88
- icon: getToastDataStateByStatus_1.ToastIconsEnum.times,
89
- message: 'Your session has expired!'
90
- });
91
- this.actualLogoutTimeoutRef = null;
92
- }, millisecondsUntilLogout.toNumber() - 3000);
93
- this.plannedLogoutTimeoutRef = setTimeout(() => {
94
- provider.logout();
95
- this.plannedLogoutTimeoutRef = null;
96
- this.plannedLogoutKey = null;
97
- }, millisecondsUntilLogout.toNumber());
98
- };
99
- this.addLogoutWarning = () => {
100
- if (this.warningLogoutTimeoutRef) {
101
- return;
102
- }
103
- const nativeAuthConfig = (0, configSelectors_1.nativeAuthConfigSelector)(this.store.getState());
104
- const tokenLogin = (0, loginInfoSelectors_1.tokenLoginSelector)(this.store.getState());
105
- const { secondsUntilExpires } = (0, getTokenExpiration_1.getTokenExpiration)(tokenLogin?.nativeAuthToken);
106
- const secondsUntilExpiresBN = new bignumber_js_1.default(String(secondsUntilExpires));
107
- const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);
108
- if (!secondsUntilExpires ||
109
- secondsUntilExpiresBN.isLessThanOrEqualTo(0) ||
110
- !nativeAuthConfig?.tokenExpirationToastWarningSeconds) {
111
- return;
112
- }
113
- const logoutWarningOffsetSeconds = new bignumber_js_1.default(nativeAuthConfig?.tokenExpirationToastWarningSeconds ?? 0);
114
- const logoutWarningOffsetMilliseconds = logoutWarningOffsetSeconds.times(1000);
115
- const millisecondsUntilLogoutWarning = secondsUntilExpiresBN
116
- .times(1000)
117
- .minus(logoutWarningOffsetMilliseconds);
118
- const readableMinutesUntilLogout = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(millisecondsUntilLogout.toNumber());
119
- const timeoutUntilLogoutWarning = millisecondsUntilLogoutWarning.isLessThanOrEqualTo(0)
120
- ? 0
121
- : millisecondsUntilLogoutWarning.toNumber();
122
- clearTimeout(this.warningLogoutTimeoutRef ?? 0);
123
- this.warningLogoutTimeoutRef = setTimeout(() => {
124
- ToastManager_1.ToastManager.getInstance().createCustomToast({
125
- toastId: 'native-auth-expired',
126
- iconClassName: 'warning',
127
- title: 'Session Expiration Warning',
128
- icon: getToastDataStateByStatus_1.ToastIconsEnum.hourglass,
129
- message: `Your session will expire in ${readableMinutesUntilLogout}!`
130
- });
131
- this.warningLogoutTimeoutRef = null;
132
- }, timeoutUntilLogoutWarning);
133
- };
134
- }
135
- }
136
- exports.LogoutManager = LogoutManager;
137
- //# sourceMappingURL=LogoutManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogoutManager.js","sourceRoot":"","sources":["../../../src/managers/LogoutManager/LogoutManager.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AACrC,gHAAkG;AAClG,8EAA2E;AAC3E,uEAAuE;AACvE,iFAAyE;AACzE,uFAAoF;AACpF,uEAG0C;AAC1C,qEAA2E;AAC3E,2EAAwE;AACxE,uCAAuC;AACvC,uGAAoG;AAEpG,MAAa,aAAa;IAQjB,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YAC5B,aAAa,CAAC,QAAQ,GAAG,IAAI,aAAa,EAAE,CAAC;QAC/C,CAAC;QACD,OAAO,aAAa,CAAC,QAAQ,CAAC;IAChC,CAAC;IAED;QAbQ,UAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;QACnB,4BAAuB,GAA0C,IAAI,CAAC;QACtE,2BAAsB,GAA0C,IAAI,CAAC;QACrE,4BAAuB,GAA0C,IAAI,CAAC;QACtE,qBAAgB,GAAkB,IAAI,CAAC;QAWxC,SAAI,GAAG,KAAK,IAAI,EAAE;YACvB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;gBACxB,OAAO;YACT,CAAC;YAED,MAAM,KAAK,GAAG,IAAI,CAAC,KAA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E,kCAAkC,IAAI,CAAC,CAC1D,CAAC;YAEF,MAAM,+BAA+B,GACnC,0BAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAEzC,MAAM,8BAA8B,GAAG,qBAAqB;iBACzD,KAAK,CAAC,IAAI,CAAC;iBACX,KAAK,CAAC,+BAA+B,CAAC,CAAC;YAE1C,MAAM,0BAA0B,GAAG,IAAA,yEAAmC,EACpE,uBAAuB,CAAC,QAAQ,EAAE,CACnC,CAAC;YAEF,MAAM,yBAAyB,GAC7B,8BAA8B,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBACnD,CAAC,CAAC,CAAC;gBACH,CAAC,CAAC,8BAA8B,CAAC,QAAQ,EAAE,CAAC;YAEhD,YAAY,CAAC,IAAI,CAAC,uBAAuB,IAAI,CAAC,CAAC,CAAC;YAEhD,IAAI,CAAC,uBAAuB,GAAG,UAAU,CAAC,GAAG,EAAE;gBAC7C,2BAAY,CAAC,WAAW,EAAE,CAAC,iBAAiB,CAAC;oBAC3C,OAAO,EAAE,qBAAqB;oBAC9B,aAAa,EAAE,SAAS;oBACxB,KAAK,EAAE,4BAA4B;oBACnC,IAAI,EAAE,0CAAc,CAAC,SAAS;oBAC9B,OAAO,EAAE,+BAA+B,0BAA0B,GAAG;iBACtE,CAAC,CAAC;gBACH,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;YACtC,CAAC,EAAE,yBAAyB,CAAC,CAAC;QAChC,CAAC,CAAC;IApJqB,CAAC;CAqJzB;AApKD,sCAoKC"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getHumanReadableTokenExpirationTime = void 0;
7
- const bignumber_js_1 = __importDefault(require("bignumber.js"));
8
- const getHumanReadableTokenExpirationTime = (milliseconds) => {
9
- const seconds = new bignumber_js_1.default(milliseconds)
10
- .dividedBy(1000)
11
- .integerValue(bignumber_js_1.default.ROUND_FLOOR);
12
- const minutes = new bignumber_js_1.default(seconds)
13
- .dividedBy(60)
14
- .integerValue(bignumber_js_1.default.ROUND_FLOOR);
15
- const hours = new bignumber_js_1.default(minutes)
16
- .dividedBy(60)
17
- .integerValue(bignumber_js_1.default.ROUND_FLOOR);
18
- const overOneHour = hours.modulo(60).isGreaterThan(1);
19
- const overOneMinute = minutes.modulo(60).isGreaterThan(1);
20
- const underOneMinute = minutes.modulo(60).isLessThan(1);
21
- if (overOneHour) {
22
- return `${hours} hours`;
23
- }
24
- if (overOneMinute) {
25
- return `${minutes} minutes`;
26
- }
27
- if (underOneMinute) {
28
- return 'less than 1 minute';
29
- }
30
- return `${minutes} minute`;
31
- };
32
- exports.getHumanReadableTokenExpirationTime = getHumanReadableTokenExpirationTime;
33
- //# sourceMappingURL=getHumanReadableTokenExpirationTime.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getHumanReadableTokenExpirationTime.js","sourceRoot":"","sources":["../../../../src/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAE9B,MAAM,mCAAmC,GAAG,CAAC,YAAoB,EAAE,EAAE;IAC1E,MAAM,OAAO,GAAG,IAAI,sBAAS,CAAC,YAAY,CAAC;SACxC,SAAS,CAAC,IAAI,CAAC;SACf,YAAY,CAAC,sBAAS,CAAC,WAAW,CAAC,CAAC;IAEvC,MAAM,OAAO,GAAG,IAAI,sBAAS,CAAC,OAAO,CAAC;SACnC,SAAS,CAAC,EAAE,CAAC;SACb,YAAY,CAAC,sBAAS,CAAC,WAAW,CAAC,CAAC;IAEvC,MAAM,KAAK,GAAG,IAAI,sBAAS,CAAC,OAAO,CAAC;SACjC,SAAS,CAAC,EAAE,CAAC;SACb,YAAY,CAAC,sBAAS,CAAC,WAAW,CAAC,CAAC;IAEvC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAExD,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,GAAG,KAAK,QAAQ,CAAC;IAC1B,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,OAAO,GAAG,OAAO,UAAU,CAAC;IAC9B,CAAC;IAED,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,OAAO,GAAG,OAAO,SAAS,CAAC;AAC7B,CAAC,CAAC;AA9BW,QAAA,mCAAmC,uCA8B9C"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const getHumanReadableTokenExpirationTime_1 = require("../getHumanReadableTokenExpirationTime");
4
- describe('Test the "getHumanReadableTokenExpirationTime" helper functionality.', () => {
5
- test('The given input is extremely small.', () => {
6
- const input = 14;
7
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
8
- expect(typeof output).toBe('string');
9
- expect(output).toBe('less than 1 minute');
10
- });
11
- test('The given input is negative.', () => {
12
- const input = -14;
13
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
14
- expect(typeof output).toBe('string');
15
- expect(output).toBe('less than 1 minute');
16
- });
17
- test('The given input is zero.', () => {
18
- const input = 0;
19
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
20
- expect(typeof output).toBe('string');
21
- expect(output).toBe('less than 1 minute');
22
- });
23
- test('The remaining time is under one minute.', () => {
24
- const input = 45000;
25
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
26
- expect(typeof output).toBe('string');
27
- expect(output).toBe('less than 1 minute');
28
- });
29
- test('The remaining time is exactly one minute.', () => {
30
- const input = 60000;
31
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
32
- expect(typeof output).toBe('string');
33
- expect(output).toBe('1 minute');
34
- });
35
- test('The remaining time is exactly 20 minutes.', () => {
36
- const input = 1242000;
37
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
38
- expect(typeof output).toBe('string');
39
- expect(output).toBe('20 minutes');
40
- });
41
- test('The remaining time is exactly 3 hours.', () => {
42
- const input = 11178000;
43
- const output = (0, getHumanReadableTokenExpirationTime_1.getHumanReadableTokenExpirationTime)(input);
44
- expect(typeof output).toBe('string');
45
- expect(output).toBe('3 hours');
46
- });
47
- });
48
- //# sourceMappingURL=getHumanReadableTokenExpirationTime.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getHumanReadableTokenExpirationTime.test.js","sourceRoot":"","sources":["../../../../../src/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.ts"],"names":[],"mappings":";;AAAA,gGAA6F;AAE7F,QAAQ,CAAC,sEAAsE,EAAE,GAAG,EAAE;IACpF,IAAI,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC/C,MAAM,KAAK,GAAG,EAAE,CAAC;QACjB,MAAM,MAAM,GAAG,IAAA,yEAAmC,EAAC,KAAK,CAAC,CAAC;QAE1D,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACxC,MAAM,KAAK,GAAG,CAAC,EAAE,CAAC;QAClB,MAAM,MAAM,GAAG,IAAA,yEAAmC,EAAC,KAAK,CAA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,KAAK,CAAC,CAAC;QAE1D,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAClD,MAAM,KAAK,GAAG,QAAQ,CAAC;QACvB,MAAM,MAAM,GAAG,IAAA,yEAAmC,EAAC,KAAK,CAAC,CAAC;QAE1D,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,115 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.NotificationsFeedManager = void 0;
7
- const lodash_isequal_1 = __importDefault(require("lodash.isequal"));
8
- const UITags_enum_1 = require("../../constants/UITags.enum");
9
- const TransactionsHistoryController_1 = require("../../controllers/TransactionsHistoryController");
10
- const transactionsActions_1 = require("../../store/actions/transactions/transactionsActions");
11
- const store_1 = require("../../store/store");
12
- const types_1 = require("./types");
13
- const internal_1 = require("../internal");
14
- const SidePanelBaseManager_1 = require("../internal/SidePanelBaseManager/SidePanelBaseManager");
15
- const createToastsFromTransactions_1 = require("../internal/ToastManager/helpers/createToastsFromTransactions");
16
- const NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';
17
- class NotificationsFeedManager extends SidePanelBaseManager_1.SidePanelBaseManager {
18
- static getInstance() {
19
- if (!NotificationsFeedManager.instance) {
20
- NotificationsFeedManager.instance = new NotificationsFeedManager();
21
- }
22
- return NotificationsFeedManager.instance;
23
- }
24
- constructor() {
25
- super({
26
- uiDataUpdateEvent: types_1.NotificationsFeedEventsEnum.OPEN,
27
- uiTag: UITags_enum_1.UITagsEnum.NOTIFICATIONS_FEED
28
- });
29
- this.store = (0, store_1.getStore)();
30
- this.initialData = {
31
- pendingTransactions: [],
32
- historicTransactions: []
33
- };
34
- this.closeUI = async () => {
35
- if (this.data.pendingTransactions.length > 0) {
36
- this.unsubscribeFunctions.forEach((unsubList) => unsubList.forEach((unsubscribe) => unsubscribe()));
37
- this.unsubscribeFunctions.clear();
38
- await this.uiElement?.closeWithAnimation();
39
- }
40
- else {
41
- super.closeUI();
42
- }
43
- };
44
- this.data = { ...this.initialData };
45
- }
46
- isNotificationsFeedOpen() {
47
- return this.isOpen;
48
- }
49
- /**
50
- * Open the notifications feed and toggle off the toast manager.
51
- */
52
- async openNotificationsFeed() {
53
- const toastManager = internal_1.ToastManager.getInstance();
54
- toastManager.hideToasts();
55
- await this.openUI();
56
- await this.updateDataAndNotifications();
57
- const storeToastsUnsubscribe = this.store.subscribe(async ({ toasts, transactions }, { toasts: prevToasts, transactions: prevTransactions }) => {
58
- if (!(0, lodash_isequal_1.default)(prevToasts.transactionToasts, toasts.transactionToasts) ||
59
- !(0, lodash_isequal_1.default)(prevTransactions, transactions)) {
60
- await this.updateDataAndNotifications();
61
- }
62
- });
63
- this.unsubscribeFunctions.set(NOTIFICATIONS_FEED_STORE_SUBSCRIBE, [
64
- storeToastsUnsubscribe
65
- ]);
66
- this.eventBus?.publish(types_1.NotificationsFeedEventsEnum.OPEN);
67
- await this.updateDataAndNotifications();
68
- }
69
- /**
70
- * Close the notifications feed and toggle on the toast manager.
71
- */
72
- async handleCloseUI() {
73
- const toastManager = internal_1.ToastManager.getInstance();
74
- await this.closeUI();
75
- await toastManager.showToasts();
76
- }
77
- async setupEventListeners() {
78
- if (!this.eventBus) {
79
- return;
80
- }
81
- this.subscribeToEventBus(types_1.NotificationsFeedEventsEnum.CLOSE, this.handleCloseUI.bind(this));
82
- this.subscribeToEventBus(types_1.NotificationsFeedEventsEnum.CLEAR, this.handleClearNotificationsFeedHistory.bind(this));
83
- }
84
- async updateDataAndNotifications() {
85
- const { transactions, account, toasts, network } = this.store.getState();
86
- const { pendingTransactionToasts } = await (0, createToastsFromTransactions_1.createToastsFromTransactions)({
87
- toastList: toasts,
88
- transactionsSessions: transactions,
89
- account
90
- });
91
- this.data.pendingTransactions = pendingTransactionToasts;
92
- this.data.historicTransactions =
93
- await TransactionsHistoryController_1.TransactionsHistoryController.getTransactionsHistory({
94
- transactionsSessions: transactions,
95
- address: account.address,
96
- explorerAddress: network.network.explorerAddress,
97
- egldLabel: network.network.egldLabel
98
- });
99
- await this.updateNotificationsFeed();
100
- }
101
- handleClearNotificationsFeedHistory() {
102
- (0, transactionsActions_1.clearCompletedTransactions)();
103
- this.resetData();
104
- this.updateNotificationsFeed();
105
- }
106
- async updateNotificationsFeed() {
107
- if (!this.eventBus) {
108
- return;
109
- }
110
- this.eventBus.publish(types_1.NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE, this.data.pendingTransactions);
111
- this.eventBus.publish(types_1.NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE, this.data.historicTransactions);
112
- }
113
- }
114
- exports.NotificationsFeedManager = NotificationsFeedManager;
115
- //# sourceMappingURL=NotificationsFeedManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NotificationsFeedManager.js","sourceRoot":"","sources":["../../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts"],"names":[],"mappings":";;;;;;AAAA,oEAAqC;AACrC,uDAAmD;AACnD,6FAA0F;AAE1F,wFAA4F;AAC5F,uCAAuC;AACvC,mCAAsD;AACtD,0CAA2C;AAC3C,gGAA6F;AAC7F,gHAA6G;AAQ7G,MAAM,kCAAkC,GAAG,oCAAoC,CAAC;AAEhF,MAAa,wBAAyB,SAAQ,2CAI7C;IASQ,MAAM,CAAC,WAAW;QACvB,IAAI,C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k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./NotificationsFeedManager"), exports);
18
- __exportStar(require("./types"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/managers/NotificationsFeedManager/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,0CAAwB"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./notifications.types"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/managers/NotificationsFeedManager/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationsFeedEventsEnum = void 0;
4
- var NotificationsFeedEventsEnum;
5
- (function (NotificationsFeedEventsEnum) {
6
- NotificationsFeedEventsEnum["CLOSE"] = "CLOSE_NOTIFICATIONS_FEED";
7
- NotificationsFeedEventsEnum["CLEAR"] = "CLEAR_NOTIFICATIONS_FEED_HISTORY";
8
- NotificationsFeedEventsEnum["OPEN"] = "OPEN_NOTIFICATIONS_FEED";
9
- // Event to update the pending transactions list
10
- NotificationsFeedEventsEnum["PENDING_TRANSACTIONS_UPDATE"] = "PENDING_TRANSACTIONS_UPDATE";
11
- // Event to update the transactions history list
12
- NotificationsFeedEventsEnum["TRANSACTIONS_HISTORY_UPDATE"] = "TRANSACTIONS_HISTORY_UPDATE";
13
- })(NotificationsFeedEventsEnum || (exports.NotificationsFeedEventsEnum = NotificationsFeedEventsEnum = {}));
14
- //# sourceMappingURL=notifications.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notifications.types.js","sourceRoot":"","sources":["../../../../src/managers/NotificationsFeedManager/types/notifications.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAQX;AARD,WAAY,2BAA2B;IACrC,iEAAkC,CAAA;IAClC,yEAA0C,CAAA;IAC1C,+DAAgC,CAAA;IAChC,gDAAgD;IAChD,0FAA2D,CAAA;IAC3D,gDAAgD;IAChD,0FAA2D,CAAA;AAC7D,CAAC,EARW,2BAA2B,2CAA3B,2BAA2B,QAQtC"}
@@ -1,154 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TransactionManager = void 0;
7
- const axios_1 = __importDefault(require("axios"));
8
- const transactions_constants_1 = require("../../constants/transactions.constants");
9
- const sdkCore_1 = require("../../lib/sdkCore");
10
- const getAccount_1 = require("../../methods/account/getAccount");
11
- const toastsActions_1 = require("../../store/actions/toasts/toastsActions");
12
- const transactionsActions_1 = require("../../store/actions/transactions/transactionsActions");
13
- const selectors_1 = require("../../store/selectors");
14
- const store_1 = require("../../store/store");
15
- const enums_types_1 = require("../../types/enums.types");
16
- const isGuardianTx_1 = require("../../utils/transactions/isGuardianTx");
17
- const getToastDuration_1 = require("./helpers/getToastDuration");
18
- const getTransactionsStatus_1 = require("./helpers/getTransactionsStatus");
19
- const isBatchTransaction_1 = require("./helpers/isBatchTransaction");
20
- const sessionCallbacks_1 = require("./helpers/sessionCallbacks");
21
- class TransactionManager {
22
- constructor() {
23
- /**
24
- * Set callbacks to be executed when the transaction session is successful or fails.
25
- * @param onSuccess - The callback to run when the transaction session is successful.
26
- * @param onFail - The callback to run when the transaction session fails.
27
- * @example
28
- * ```ts
29
- * TransactionManager.setCallbacks({
30
- * onSuccess: (sessionId) => {
31
- * console.log('Transaction session successful', sessionId);
32
- * },
33
- * });
34
- */
35
- this.setCallbacks = ({ onSuccess, onFail }) => {
36
- (0, sessionCallbacks_1.registerSessionCallbacks)({ onSuccess, onFail });
37
- };
38
- this.send = async (signedTransactions) => {
39
- if (signedTransactions.length === 0) {
40
- throw new Error('No transactions to send');
41
- }
42
- try {
43
- if (!(0, isBatchTransaction_1.isBatchTransaction)(signedTransactions)) {
44
- const flatTransactions = await this.sendSignedTransactions(signedTransactions);
45
- return flatTransactions;
46
- }
47
- const sentTransactions = await this.sendSignedBatchTransactions(signedTransactions);
48
- if (!sentTransactions.data || sentTransactions.data.error) {
49
- throw new Error(sentTransactions.data?.error ?? 'Failed to send transactions');
50
- }
51
- const groupedTransactions = sentTransactions.data.transactions;
52
- return groupedTransactions;
53
- }
54
- catch (error) {
55
- const responseData = (error.response?.data);
56
- throw responseData?.message ?? error.message;
57
- }
58
- };
59
- this.track = async (sentTransactions, options = { disableToasts: false }) => {
60
- const flatTransactions = this.sequentialToFlatArray(sentTransactions).map((transaction) => ({
61
- ...transaction,
62
- status: transaction.status ?? enums_types_1.TransactionServerStatusesEnum.pending
63
- }));
64
- const status = (0, getTransactionsStatus_1.getTransactionsSessionStatus)(flatTransactions);
65
- const sessionId = (0, transactionsActions_1.createTransactionsSession)({
66
- transactions: flatTransactions,
67
- transactionsDisplayInfo: options.transactionsDisplayInfo,
68
- status: status ?? enums_types_1.TransactionBatchStatusesEnum.sent,
69
- sessionInformation: options.sessionInformation
70
- });
71
- if (options.disableToasts === true) {
72
- return sessionId;
73
- }
74
- const totalDuration = (0, getToastDuration_1.getToastDuration)(sentTransactions);
75
- (0, toastsActions_1.addTransactionToast)({
76
- toastId: sessionId,
77
- totalDuration
78
- });
79
- return sessionId;
80
- };
81
- this.sendSignedTransactions = async (signedTransactions) => {
82
- const { apiAddress, apiTimeout } = (0, selectors_1.networkSelector)((0, store_1.getState)());
83
- const promises = signedTransactions.map((transaction) => axios_1.default.post(`${apiAddress}/transactions`, transaction.toPlainObject(), {
84
- timeout: Number(apiTimeout)
85
- }));
86
- const response = await Promise.all(promises);
87
- const transactionComputer = new sdkCore_1.TransactionComputer();
88
- const mergedTransactions = response.map(({ data }) => {
89
- const foundTransaction = signedTransactions.find((tx) => {
90
- const txHash = transactionComputer.computeTransactionHash(tx);
91
- return txHash === data.txHash;
92
- });
93
- const currentTransaction = {
94
- ...foundTransaction?.toPlainObject(),
95
- ...data,
96
- status: enums_types_1.TransactionServerStatusesEnum.pending,
97
- hash: data.txHash
98
- };
99
- return currentTransaction;
100
- });
101
- return mergedTransactions;
102
- };
103
- this.sendSignedBatchTransactions = async (signedTransactions) => {
104
- const { address } = (0, getAccount_1.getAccount)();
105
- const { apiAddress, apiTimeout } = (0, selectors_1.networkSelector)((0, store_1.getState)());
106
- if (!address) {
107
- return {
108
- error: 'Invalid address provided. You need to be logged in to send transactions'
109
- };
110
- }
111
- const batchId = this.buildBatchId(address);
112
- const parsedTransactions = signedTransactions.map((transactions) => transactions.map((transaction) => this.parseSignedTransaction(transaction)));
113
- const payload = {
114
- transactions: parsedTransactions,
115
- id: batchId
116
- };
117
- const { data } = await axios_1.default.post(`${apiAddress}/batch`, payload, {
118
- timeout: Number(apiTimeout)
119
- });
120
- return { data };
121
- };
122
- this.buildBatchId = (address) => {
123
- const sessionId = Date.now().toString();
124
- return `${sessionId}${transactions_constants_1.BATCH_TRANSACTIONS_ID_SEPARATOR}${address}`;
125
- };
126
- this.sequentialToFlatArray = (transactions = []) => this.getIsSequential(transactions)
127
- ? transactions.flat()
128
- : transactions;
129
- this.getIsSequential = (transactions) => transactions?.every((transaction) => Array.isArray(transaction));
130
- this.parseSignedTransaction = (signedTransaction) => {
131
- const transactionComputer = new sdkCore_1.TransactionComputer();
132
- const parsedTransaction = {
133
- ...signedTransaction.toPlainObject(),
134
- hash: transactionComputer.computeTransactionHash(signedTransaction),
135
- status: enums_types_1.TransactionServerStatusesEnum.pending
136
- };
137
- // Remove when the protocol supports usernames for guardian transactions
138
- if ((0, isGuardianTx_1.isGuardianTx)({ data: parsedTransaction.data })) {
139
- delete parsedTransaction.senderUsername;
140
- delete parsedTransaction.receiverUsername;
141
- }
142
- return parsedTransaction;
143
- };
144
- }
145
- static getInstance() {
146
- if (!TransactionManager.instance) {
147
- TransactionManager.instance = new TransactionManager();
148
- }
149
- return TransactionManager.instance;
150
- }
151
- }
152
- exports.TransactionManager = TransactionManager;
153
- TransactionManager.instance = null;
154
- //# sourceMappingURL=TransactionManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionManager.js","sourceRoot":"","sources":["../../../src/managers/TransactionManager/TransactionManager.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0C;AAC1C,6EAAmF;AACnF,yCAA+D;AAC/D,2DAAwD;AAExD,sEAAyE;AACzE,wFAA2F;AAC3F,+CAAkD;AAClD,uCAAuC;AACvC,mDAG2B;AAG3B,kEAA+D;AAC/D,iEAA8D;AAC9D,2EAA+E;AAC/E,qEAAkE;AAClE,i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,CAAC,EAAE,CAAC;gBACnD,OAAO,iBAAiB,CAAC,cAAc,CAAC;gBACxC,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;YAC5C,CAAC;YAED,OAAO,iBAAiB,CAAC;QAC3B,CAAC,CAAC;IACJ,CAAC;IArMQ,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC;YACjC,kBAAkB,CAAC,QAAQ,GAAG,IAAI,kBAAkB,EAAE,CAAC;QACzD,CAAC;QACD,OAAO,kBAAkB,CAAC,QAAQ,CAAC;IACrC,CAAC;;AARH,gDAwMC;AAvMgB,2BAAQ,GAA8B,IAAI,AAAlC,CAAmC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=TransactionManager.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransactionManager.types.js","sourceRoot":"","sources":["../../../src/managers/TransactionManager/TransactionManager.types.ts"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAreTransactionsCrossShards = void 0;
4
- const utils_1 = require("../../../utils");
5
- const isCrossShardTransaction_1 = require("./isCrossShardTransaction");
6
- const getAreTransactionsCrossShards = (transactions, accountShard = 1) => {
7
- if (!transactions?.length) {
8
- return true;
9
- }
10
- return transactions.reduce((prevTxIsSameShard, { receiver, data }) => {
11
- const receiverAddress = (0, utils_1.getAddressFromDataField)({
12
- receiver,
13
- data: data ?? ''
14
- });
15
- if (receiverAddress == null) {
16
- return prevTxIsSameShard;
17
- }
18
- return (prevTxIsSameShard &&
19
- (0, isCrossShardTransaction_1.isCrossShardTransaction)({
20
- receiverAddress,
21
- senderShard: accountShard
22
- }));
23
- }, true);
24
- };
25
- exports.getAreTransactionsCrossShards = getAreTransactionsCrossShards;
26
- //# sourceMappingURL=getAreTransactionsCorssShards.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getAreTransactionsCorssShards.js","sourceRoot":"","sources":["../../../../src/managers/TransactionManager/helpers/getAreTransactionsCorssShards.ts"],"names":[],"mappings":";;;AACA,iCAAgD;AAChD,uEAAoE;AAE7D,MAAM,6BAA6B,GAAG,CAC3C,YAAsC,EACtC,YAAY,GAAG,CAAC,EACP,EAAE;IACX,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,YAAY,CAAC,MAAM,CACxB,CAAC,iBAA0B,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAyB,EAAE,EAAE;QACxE,MAAM,eAAe,GAAG,IAAA,+BAAuB,EAAC;YAC9C,QAAQ;YACR,IAAI,EAAE,IAAI,IAAI,EAAE;SACjB,CAAC,CAAC;QACH,IAAI,eAAe,IAAI,IAAI,EAAE,CAAC;YAC5B,OAAO,iBAAiB,CAAC;QAC3B,CAAC;QACD,OAAO,CACL,iBAAiB;YACjB,IAAA,iDAAuB,EAAC;gBACtB,eAAe;gBACf,WAAW,EAAE,YAAY;aAC1B,CAAC,CACH,CAAC;IACJ,CAAC,EACD,IAAI,CACL,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,6BAA6B,iCA2BxC"}