@multiversx/sdk-dapp 5.0.2-alpha.1 → 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 (1522) hide show
  1. package/out/__chunks__/{chunk-YTFYVPZO.mjs → chunk-2DFE24NA.mjs} +2 -2
  2. package/out/__chunks__/chunk-2S4GDHPC.mjs +2 -0
  3. package/out/__chunks__/{chunk-FIVH6RKU.mjs → chunk-2XGXXRSH.mjs} +2 -2
  4. package/out/__chunks__/{chunk-AK44E24X.mjs → chunk-3AALZJXX.mjs} +2 -2
  5. package/out/__chunks__/chunk-3C5GZ3BL.mjs +2 -0
  6. package/out/__chunks__/{chunk-KEE42WYL.mjs → chunk-3IKGFPT3.mjs} +2 -2
  7. package/out/__chunks__/{chunk-FAOTAY77.mjs → chunk-3OZWOKL7.mjs} +2 -2
  8. package/out/__chunks__/{chunk-LIPGE2RA.mjs → chunk-52PGMMOM.mjs} +2 -2
  9. package/out/__chunks__/chunk-5AGNJNHL.mjs +2 -0
  10. package/out/__chunks__/{chunk-5TVRGEID.mjs → chunk-5AITBRJM.mjs} +2 -2
  11. package/out/__chunks__/{chunk-2SOS3KAT.mjs → chunk-5E32AO3E.mjs} +2 -2
  12. package/out/__chunks__/{chunk-UBINPM6F.mjs → chunk-5IKWP24U.mjs} +2 -2
  13. package/out/__chunks__/chunk-5J6OW5XP.mjs +2 -0
  14. package/out/__chunks__/{chunk-APRKCU5W.mjs → chunk-5P5FMYGA.mjs} +2 -2
  15. package/out/__chunks__/chunk-66LM6A7E.mjs +2 -0
  16. package/out/__chunks__/{chunk-YB7AHPBR.mjs → chunk-6D53LH5J.mjs} +2 -2
  17. package/out/__chunks__/{chunk-NGHOVWEO.mjs → chunk-6JIZDYQM.mjs} +2 -2
  18. package/out/__chunks__/chunk-6K6VHJWQ.mjs +2 -0
  19. package/out/__chunks__/{chunk-DHPD6E7P.mjs → chunk-7FEQBPHA.mjs} +2 -2
  20. package/out/__chunks__/{chunk-UFRAVF3S.mjs → chunk-7YHMRUFS.mjs} +2 -2
  21. package/out/__chunks__/{chunk-ISPRIGOE.mjs → chunk-AGUGUYQS.mjs} +2 -2
  22. package/out/__chunks__/chunk-AWVWVATR.mjs +2 -0
  23. package/out/__chunks__/{chunk-6XOHFAL4.mjs → chunk-BYJK2EOI.mjs} +2 -2
  24. package/out/__chunks__/chunk-C7NS47QA.mjs +2 -0
  25. package/out/__chunks__/chunk-CC4DXLNZ.mjs +2 -0
  26. package/out/__chunks__/chunk-CETMI3F5.mjs +2 -0
  27. package/out/__chunks__/{chunk-UAW7SD6P.mjs → chunk-D2ULWBRR.mjs} +2 -2
  28. package/out/__chunks__/chunk-DF5ZV5BO.mjs +2 -0
  29. package/out/__chunks__/{chunk-3MWXXTQQ.mjs → chunk-DFSBS3PX.mjs} +2 -2
  30. package/out/__chunks__/chunk-DJWI5LZX.mjs +2 -0
  31. package/out/__chunks__/{chunk-UPZSSHAY.mjs → chunk-DOU66R4K.mjs} +2 -2
  32. package/out/__chunks__/{chunk-IKVKOGWF.mjs → chunk-EJ2HUL6D.mjs} +2 -2
  33. package/out/__chunks__/{chunk-OWBEAOLJ.mjs → chunk-F5Q64A5W.mjs} +2 -2
  34. package/out/__chunks__/{chunk-266T724O.mjs → chunk-FCIBGJDC.mjs} +2 -2
  35. package/out/__chunks__/chunk-FKGDHZZJ.mjs +2 -0
  36. package/out/__chunks__/{chunk-EQEYL6AE.mjs → chunk-FNYBJAH3.mjs} +2 -2
  37. package/out/__chunks__/{chunk-BU6PLF6D.mjs → chunk-GDF5AJ5S.mjs} +2 -2
  38. package/out/__chunks__/{chunk-KSKOSHYV.mjs → chunk-GFR6K4DR.mjs} +2 -2
  39. package/out/__chunks__/{chunk-PQUTSIC4.mjs → chunk-GMX4XDVR.mjs} +2 -2
  40. package/out/__chunks__/chunk-GSMTFDRE.mjs +2 -0
  41. package/out/__chunks__/{chunk-2D4DUCY4.mjs → chunk-GUNYJMJE.mjs} +2 -2
  42. package/out/__chunks__/{chunk-PL7G674F.mjs → chunk-GY2WKBFX.mjs} +2 -2
  43. package/out/__chunks__/{chunk-DNHKXKYY.mjs → chunk-H33OUO77.mjs} +2 -2
  44. package/out/__chunks__/chunk-H7E4BCEJ.mjs +2 -0
  45. package/out/__chunks__/{chunk-6FGDARXH.mjs → chunk-HIKIVTTW.mjs} +2 -2
  46. package/out/__chunks__/{chunk-E53QIC6C.mjs → chunk-HLORMFN4.mjs} +2 -2
  47. package/out/__chunks__/{chunk-CWENDDPJ.mjs → chunk-I5OYRIZC.mjs} +2 -2
  48. package/out/__chunks__/{chunk-JIJSBQEU.mjs → chunk-IE3A2COQ.mjs} +2 -2
  49. package/out/__chunks__/chunk-IFIL5YA5.mjs +2 -0
  50. package/out/__chunks__/chunk-IFIL5YA5.mjs.map +7 -0
  51. package/out/__chunks__/{chunk-UC4MBL7R.mjs → chunk-IINL5CEU.mjs} +2 -2
  52. package/out/__chunks__/{chunk-RGBXTDJ7.mjs → chunk-IVSP42IE.mjs} +2 -2
  53. package/out/__chunks__/chunk-IWHUAAVD.mjs +2 -0
  54. package/out/__chunks__/{chunk-NCVIHQO4.mjs → chunk-IXGPMW52.mjs} +2 -2
  55. package/out/__chunks__/{chunk-NXJJ2A6Q.mjs → chunk-J6N7KVXV.mjs} +2 -2
  56. package/out/__chunks__/{chunk-KN7QMGWV.mjs → chunk-JAIA24ND.mjs} +2 -2
  57. package/out/__chunks__/{chunk-ICDD7V53.mjs → chunk-JIAKT3GI.mjs} +2 -2
  58. package/out/__chunks__/{chunk-BRBIUWAW.mjs → chunk-JMC7CMTU.mjs} +2 -2
  59. package/out/__chunks__/{chunk-DV3XIKOX.mjs → chunk-K4ITACAF.mjs} +2 -2
  60. package/out/__chunks__/{chunk-XRBOH3AB.mjs → chunk-K7R2V5KX.mjs} +2 -2
  61. package/out/__chunks__/{chunk-EFUXCZER.mjs → chunk-KXK3FLN2.mjs} +2 -2
  62. package/out/__chunks__/{chunk-UFMXBWCD.mjs → chunk-LM2GCQL5.mjs} +2 -2
  63. package/out/__chunks__/{chunk-O3V4TGXK.mjs → chunk-LN5UXO64.mjs} +2 -2
  64. package/out/__chunks__/{chunk-K4O6NCSM.mjs → chunk-LWDK4NX3.mjs} +2 -2
  65. package/out/__chunks__/{chunk-33D26THL.mjs → chunk-M2ZSNGPS.mjs} +2 -2
  66. package/out/__chunks__/{chunk-5MC44CTJ.mjs → chunk-M5T2OACP.mjs} +2 -2
  67. package/out/__chunks__/{chunk-Z5CDCI3Y.mjs → chunk-MDVI45IV.mjs} +2 -2
  68. package/out/__chunks__/chunk-ML7FXWAD.mjs +2 -0
  69. package/out/__chunks__/chunk-MSQGMOCS.mjs +2 -0
  70. package/out/__chunks__/{chunk-JLVWBFTU.mjs → chunk-N5DIMOWZ.mjs} +2 -2
  71. package/out/__chunks__/{chunk-VO7TNUQ6.mjs → chunk-NEHR66XQ.mjs} +2 -2
  72. package/out/__chunks__/{chunk-MPLLWF75.mjs → chunk-NKUK5GFB.mjs} +2 -2
  73. package/out/__chunks__/chunk-NRXYSTRW.mjs +2 -0
  74. package/out/__chunks__/{chunk-FFHVVGYW.mjs.map → chunk-NRXYSTRW.mjs.map} +3 -3
  75. package/out/__chunks__/chunk-NTEMINYA.mjs +2 -0
  76. package/out/__chunks__/{chunk-R53MCZI6.mjs.map → chunk-NTEMINYA.mjs.map} +3 -3
  77. package/out/__chunks__/{chunk-FRPCFHSV.mjs → chunk-NVE5YTZK.mjs} +2 -2
  78. package/out/__chunks__/chunk-ODPJDT5F.mjs +2 -0
  79. package/out/__chunks__/chunk-ODPJDT5F.mjs.map +7 -0
  80. package/out/__chunks__/{chunk-ABHYXD3U.mjs → chunk-OLOCTHIE.mjs} +2 -2
  81. package/out/__chunks__/{chunk-MGF5WOBM.mjs → chunk-OX6DILCF.mjs} +2 -2
  82. package/out/__chunks__/chunk-P4QMB34E.mjs +2 -0
  83. package/out/__chunks__/chunk-P4QMB34E.mjs.map +7 -0
  84. package/out/__chunks__/chunk-PDEIJQWE.mjs +2 -0
  85. package/out/__chunks__/{chunk-AV4HSXYZ.mjs → chunk-PHOF3Z5D.mjs} +2 -2
  86. package/out/__chunks__/chunk-PJWJZHIS.mjs +2 -0
  87. package/out/__chunks__/{chunk-J4CPYFK6.mjs.map → chunk-PJWJZHIS.mjs.map} +3 -3
  88. package/out/__chunks__/chunk-PWXGNRYT.mjs +2 -0
  89. package/out/__chunks__/{chunk-R35LPX6Q.mjs.map → chunk-PWXGNRYT.mjs.map} +1 -1
  90. package/out/__chunks__/{chunk-ZXIBFH6X.mjs → chunk-Q5Z34JFU.mjs} +2 -2
  91. package/out/__chunks__/{chunk-5VEB2Q3E.mjs → chunk-QAHFVBCD.mjs} +2 -2
  92. package/out/__chunks__/{chunk-3HHV6IM7.mjs → chunk-QGNMCCFK.mjs} +2 -2
  93. package/out/__chunks__/{chunk-LUDF7ZUR.mjs → chunk-QQAW7UC2.mjs} +2 -2
  94. package/out/__chunks__/chunk-QS2RBVTW.mjs +2 -0
  95. package/out/__chunks__/{chunk-PYQHSRH3.mjs → chunk-RD2EB7NA.mjs} +2 -2
  96. package/out/__chunks__/{chunk-T5KTF5Z5.mjs → chunk-RHCAOCW3.mjs} +2 -2
  97. package/out/__chunks__/{chunk-VJJT22PO.mjs → chunk-RPTQJKFR.mjs} +2 -2
  98. package/out/__chunks__/{chunk-KT7RICHS.mjs → chunk-RSVM3MZD.mjs} +2 -2
  99. package/out/__chunks__/chunk-RU7UYXPW.mjs +2 -0
  100. package/out/__chunks__/{chunk-ZHAYVRGH.mjs → chunk-S5VF4GWN.mjs} +2 -2
  101. package/out/__chunks__/{chunk-YLJTXHF4.mjs → chunk-S6EACMBJ.mjs} +2 -2
  102. package/out/__chunks__/{chunk-JEB6OIJ7.mjs → chunk-SKCBMUQL.mjs} +2 -2
  103. package/out/__chunks__/{chunk-Y3FER7B6.mjs → chunk-TRIPQLQM.mjs} +2 -2
  104. package/out/__chunks__/{chunk-SCRYMTTV.mjs → chunk-TZ2EDK3R.mjs} +2 -2
  105. package/out/__chunks__/{chunk-VJ2DAL5M.mjs → chunk-U3UMCTU6.mjs} +2 -2
  106. package/out/__chunks__/{chunk-2I4BJK55.mjs → chunk-U4ZCGUVE.mjs} +2 -2
  107. package/out/__chunks__/{chunk-UGI3S542.mjs → chunk-U7E2AVPF.mjs} +2 -2
  108. package/out/__chunks__/chunk-UCJMQJM4.mjs +2 -0
  109. package/out/__chunks__/{chunk-QSBLXZFC.mjs → chunk-UCNS6KD5.mjs} +2 -2
  110. package/out/__chunks__/{chunk-QJSB5NX4.mjs → chunk-UERJ6AKK.mjs} +2 -2
  111. package/out/__chunks__/{chunk-BSWV5MEC.mjs → chunk-UK5MEKBE.mjs} +2 -2
  112. package/out/__chunks__/{chunk-KARM6PTO.mjs → chunk-UKGXMWHE.mjs} +2 -2
  113. package/out/__chunks__/{chunk-HCROEWHT.mjs → chunk-UO4CECP4.mjs} +2 -2
  114. package/out/__chunks__/{chunk-MC23BEFI.mjs → chunk-UTN4SJ54.mjs} +2 -2
  115. package/out/__chunks__/{chunk-B6UQJ7RN.mjs → chunk-UVN6CHEM.mjs} +2 -2
  116. package/out/__chunks__/{chunk-NEPD4C5Y.mjs → chunk-VG7UDG2S.mjs} +2 -2
  117. package/out/__chunks__/{chunk-MMJFQNPX.mjs → chunk-WBPXPWSV.mjs} +2 -2
  118. package/out/__chunks__/{chunk-VU3NDTLL.mjs → chunk-WIHG6SHO.mjs} +2 -2
  119. package/out/__chunks__/{chunk-W77E3MVG.mjs → chunk-WTBHS6AM.mjs} +2 -2
  120. package/out/__chunks__/{chunk-7BP53CXF.mjs → chunk-WZGG2YKQ.mjs} +2 -2
  121. package/out/__chunks__/{chunk-P3BXXGQA.mjs → chunk-XCVEFI4B.mjs} +2 -2
  122. package/out/__chunks__/{chunk-VN3A7GN4.mjs → chunk-XFYYVB6G.mjs} +2 -2
  123. package/out/__chunks__/chunk-YNXPGS77.mjs +2 -0
  124. package/out/__chunks__/{chunk-OWZ7T4JN.mjs → chunk-YTA6XGBJ.mjs} +2 -2
  125. package/out/__chunks__/{chunk-ATOIEDNS.mjs → chunk-YVVAPGXF.mjs} +2 -2
  126. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  127. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  128. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  129. package/out/apiCalls/index.mjs +1 -1
  130. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  131. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  132. package/out/apiCalls/tokens/index.mjs +1 -1
  133. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  134. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  135. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  136. package/out/constants/browser.constants.mjs +1 -1
  137. package/out/constants/index.mjs +1 -1
  138. package/out/constants/storage.constants.mjs +1 -1
  139. package/out/constants/window.constants.mjs +1 -1
  140. package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
  141. package/out/controllers/FormatAmountController/index.mjs +1 -1
  142. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +1 -1
  143. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  144. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  145. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  146. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  147. package/out/controllers/index.mjs +1 -1
  148. package/out/index.mjs +1 -1
  149. package/out/lib/sdkCore.d.ts +2 -1
  150. package/out/lib/sdkCore.mjs +1 -1
  151. package/out/lib/sdkDappUi.d.ts +10 -11
  152. package/out/lib/sdkDappUi.mjs +1 -1
  153. package/out/lib/sdkDappUtils.d.ts +1 -1
  154. package/out/lib/sdkDappUtils.mjs +1 -1
  155. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  156. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  157. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  158. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  159. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  160. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  161. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.mjs +1 -1
  162. package/out/managers/TransactionManager/index.mjs +1 -1
  163. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  164. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  165. package/out/managers/index.mjs +1 -1
  166. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  167. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  168. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  169. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  170. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  171. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  172. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  173. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  174. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  175. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  176. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  177. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  178. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  179. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  180. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  181. package/out/managers/internal/index.mjs +1 -1
  182. package/out/methods/account/getAccount.mjs +1 -1
  183. package/out/methods/account/getAccountInfo.mjs +1 -1
  184. package/out/methods/account/getAddress.mjs +1 -1
  185. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  186. package/out/methods/account/getLatestNonce.mjs +1 -1
  187. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  188. package/out/methods/initApp/initApp.mjs +1 -1
  189. package/out/methods/initApp/initApp.mjs.map +3 -3
  190. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  191. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  192. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  193. package/out/methods/network/getEgldLabel.mjs +1 -1
  194. package/out/methods/network/getExplorerAddress.mjs +1 -1
  195. package/out/methods/network/getNetworkConfig.mjs +1 -1
  196. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  197. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  198. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  199. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  200. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  201. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  202. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  203. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  204. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  205. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  206. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  207. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  208. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  209. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  210. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  211. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  212. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  213. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  214. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  215. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  216. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  217. package/out/providers/DappProvider/helpers/signMessage/getVerifier.mjs +1 -1
  218. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  219. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.mjs +1 -1
  220. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  221. package/out/providers/DappProvider/index.mjs +1 -1
  222. package/out/providers/ProviderFactory.mjs +1 -1
  223. package/out/providers/helpers/accountProvider.mjs +1 -1
  224. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  225. package/out/providers/helpers/restoreProvider.mjs +1 -1
  226. package/out/providers/index.mjs +1 -1
  227. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  228. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  229. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  230. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  231. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  232. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  233. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  234. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  235. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  236. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  237. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  238. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  239. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  240. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  241. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  242. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  243. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  244. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  245. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  246. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  247. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  248. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  249. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  250. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  251. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  252. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  253. package/out/providers/strategies/helpers/index.mjs +1 -1
  254. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  255. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.mjs +1 -1
  256. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  257. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  258. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  259. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs +1 -1
  260. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
  261. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  262. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  263. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  264. package/out/providers/strategies/index.mjs +1 -1
  265. package/out/react/account/useGetAccount.mjs +1 -1
  266. package/out/react/account/useGetAccountInfo.mjs +1 -1
  267. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  268. package/out/react/account/useGetLatestNonce.mjs +1 -1
  269. package/out/react/index.mjs +1 -1
  270. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  271. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  272. package/out/react/store/getReactStore.mjs +1 -1
  273. package/out/react/store/useSelector.mjs +1 -1
  274. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  275. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  276. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  277. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  278. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  279. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  280. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  281. package/out/services/index.mjs +1 -1
  282. package/out/services/nativeAuth/index.mjs +1 -1
  283. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  284. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  285. package/out/services/nativeAuth/methods/index.mjs +1 -1
  286. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  287. package/out/store/actions/account/accountActions.mjs +1 -1
  288. package/out/store/actions/account/index.mjs +1 -1
  289. package/out/store/actions/cache/cacheActions.mjs +1 -1
  290. package/out/store/actions/cache/index.mjs +1 -1
  291. package/out/store/actions/config/configActions.mjs +1 -1
  292. package/out/store/actions/config/index.mjs +1 -1
  293. package/out/store/actions/index.mjs +1 -1
  294. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  295. package/out/store/actions/network/index.mjs +1 -1
  296. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  297. package/out/store/actions/network/networkActions.mjs +1 -1
  298. package/out/store/actions/sharedActions/index.mjs +1 -1
  299. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  300. package/out/store/actions/toasts/index.mjs +1 -1
  301. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  302. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  303. package/out/store/actions/ui/index.mjs +1 -1
  304. package/out/store/actions/ui/uiActions.mjs +1 -1
  305. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  306. package/out/store/middleware/index.mjs +1 -1
  307. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  308. package/out/store/selectors/accountSelectors.mjs +1 -1
  309. package/out/store/selectors/index.mjs +1 -1
  310. package/out/store/slices/account/accountSlice.mjs +1 -1
  311. package/out/store/slices/account/emptyAccount.mjs +1 -1
  312. package/out/store/slices/account/index.mjs +1 -1
  313. package/out/store/slices/index.mjs +1 -1
  314. package/out/store/storage/index.mjs +1 -1
  315. package/out/store/storage/storageCallback.mjs +1 -1
  316. package/out/store/store.mjs +1 -1
  317. package/out/utils/ComponentFactory.d.ts +1 -1
  318. package/out/utils/ComponentFactory.mjs +1 -1
  319. package/out/utils/account/index.mjs +1 -1
  320. package/out/utils/account/refreshAccount.mjs +1 -1
  321. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  322. package/out/utils/index.mjs +1 -1
  323. package/out/utils/operations/trimAmountDecimals.mjs +1 -1
  324. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  325. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  326. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  327. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.mjs +1 -1
  328. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  329. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
  330. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.mjs +1 -1
  331. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  332. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  333. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
  334. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  335. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  336. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  337. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  338. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  339. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  340. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  341. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  342. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  343. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.mjs +1 -1
  344. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.mjs +1 -1
  345. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  346. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  347. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.mjs +1 -1
  348. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  349. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  350. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  351. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  352. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  353. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  354. package/out/utils/transactions/index.mjs +1 -1
  355. package/out/utils/validation/index.mjs +1 -1
  356. package/out/utils/validation/isContract.mjs +1 -1
  357. package/out/utils/visual/index.mjs +1 -1
  358. package/out/utils/visual/switchTheme.mjs +1 -1
  359. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.d.ts +2 -1
  360. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  361. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs.map +1 -1
  362. package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +2 -1
  363. package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
  364. package/out/utils/window/getIsInIframe.mjs +1 -1
  365. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  366. package/out/utils/window/index.mjs +1 -1
  367. package/package.json +2 -2
  368. package/out/__chunks__/chunk-2HSERTN3.mjs +0 -2
  369. package/out/__chunks__/chunk-2RRXUGLI.mjs +0 -2
  370. package/out/__chunks__/chunk-3AC72XDZ.mjs +0 -2
  371. package/out/__chunks__/chunk-53X3CO6E.mjs +0 -2
  372. package/out/__chunks__/chunk-BT27ZSJC.mjs +0 -2
  373. package/out/__chunks__/chunk-C43MOZMC.mjs +0 -2
  374. package/out/__chunks__/chunk-C43MOZMC.mjs.map +0 -7
  375. package/out/__chunks__/chunk-CBKDKXYT.mjs +0 -2
  376. package/out/__chunks__/chunk-DRETVXSY.mjs +0 -2
  377. package/out/__chunks__/chunk-DT6YLEPL.mjs +0 -2
  378. package/out/__chunks__/chunk-FEFZKA2B.mjs +0 -2
  379. package/out/__chunks__/chunk-FFHVVGYW.mjs +0 -2
  380. package/out/__chunks__/chunk-HTG5MOLD.mjs +0 -2
  381. package/out/__chunks__/chunk-HTG5MOLD.mjs.map +0 -7
  382. package/out/__chunks__/chunk-J4CPYFK6.mjs +0 -2
  383. package/out/__chunks__/chunk-JHG3QIDR.mjs +0 -2
  384. package/out/__chunks__/chunk-LN5BGLT5.mjs +0 -2
  385. package/out/__chunks__/chunk-MFBGRZPB.mjs +0 -2
  386. package/out/__chunks__/chunk-NO7YH2FT.mjs +0 -2
  387. package/out/__chunks__/chunk-PBBTJFMG.mjs +0 -2
  388. package/out/__chunks__/chunk-PHEK22HL.mjs +0 -2
  389. package/out/__chunks__/chunk-QMEKXQAU.mjs +0 -2
  390. package/out/__chunks__/chunk-R35LPX6Q.mjs +0 -2
  391. package/out/__chunks__/chunk-R53MCZI6.mjs +0 -2
  392. package/out/__chunks__/chunk-R725UMBR.mjs +0 -2
  393. package/out/__chunks__/chunk-RWNPPIFD.mjs +0 -2
  394. package/out/__chunks__/chunk-UX6FJB7S.mjs +0 -2
  395. package/out/__chunks__/chunk-VMFJUT3G.mjs +0 -2
  396. package/out/__chunks__/chunk-VMFJUT3G.mjs.map +0 -7
  397. package/out/__chunks__/chunk-VSPA6MX4.mjs +0 -2
  398. package/out/__chunks__/chunk-WPFFITFH.mjs +0 -2
  399. package/out/__chunks__/chunk-XNPGQK42.mjs +0 -2
  400. package/out/__chunks__/chunk-YQEOOE3H.mjs +0 -2
  401. package/out/__mocks__/accountConfig.js +0 -9
  402. package/out/__mocks__/accountConfig.js.map +0 -1
  403. package/out/__mocks__/data/account.js +0 -14
  404. package/out/__mocks__/data/account.js.map +0 -1
  405. package/out/__mocks__/data/blocks.js +0 -10
  406. package/out/__mocks__/data/blocks.js.map +0 -1
  407. package/out/__mocks__/data/dappConfig.js +0 -19
  408. package/out/__mocks__/data/dappConfig.js.map +0 -1
  409. package/out/__mocks__/data/index.js +0 -24
  410. package/out/__mocks__/data/index.js.map +0 -1
  411. package/out/__mocks__/data/networkConfig.js +0 -32
  412. package/out/__mocks__/data/networkConfig.js.map +0 -1
  413. package/out/__mocks__/data/socketResponse.js +0 -11
  414. package/out/__mocks__/data/socketResponse.js.map +0 -1
  415. package/out/__mocks__/data/websocketConfig.js +0 -5
  416. package/out/__mocks__/data/websocketConfig.js.map +0 -1
  417. package/out/__mocks__/data/wrapEgldContract.js +0 -30
  418. package/out/__mocks__/data/wrapEgldContract.js.map +0 -1
  419. package/out/__mocks__/index.js +0 -20
  420. package/out/__mocks__/index.js.map +0 -1
  421. package/out/__mocks__/server.js +0 -26
  422. package/out/__mocks__/server.js.map +0 -1
  423. package/out/__mocks__/utils/index.js +0 -19
  424. package/out/__mocks__/utils/index.js.map +0 -1
  425. package/out/__mocks__/utils/mockWindowHistory.js +0 -21
  426. package/out/__mocks__/utils/mockWindowHistory.js.map +0 -1
  427. package/out/__mocks__/utils/mockWindowLocation.js +0 -21
  428. package/out/__mocks__/utils/mockWindowLocation.js.map +0 -1
  429. package/out/apiCalls/account/getAccountFromApi.js +0 -32
  430. package/out/apiCalls/account/getAccountFromApi.js.map +0 -1
  431. package/out/apiCalls/account/getScamAddressData.js +0 -19
  432. package/out/apiCalls/account/getScamAddressData.js.map +0 -1
  433. package/out/apiCalls/account/index.js +0 -18
  434. package/out/apiCalls/account/index.js.map +0 -1
  435. package/out/apiCalls/configuration/getCleanApiAddress.js +0 -12
  436. package/out/apiCalls/configuration/getCleanApiAddress.js.map +0 -1
  437. package/out/apiCalls/configuration/getGasStationMetadata.js +0 -32
  438. package/out/apiCalls/configuration/getGasStationMetadata.js.map +0 -1
  439. package/out/apiCalls/configuration/getNetworkConfigFromApi.js +0 -34
  440. package/out/apiCalls/configuration/getNetworkConfigFromApi.js.map +0 -1
  441. package/out/apiCalls/configuration/getServerConfiguration.js +0 -34
  442. package/out/apiCalls/configuration/getServerConfiguration.js.map +0 -1
  443. package/out/apiCalls/configuration/index.js +0 -19
  444. package/out/apiCalls/configuration/index.js.map +0 -1
  445. package/out/apiCalls/economics/getEconomics.js +0 -23
  446. package/out/apiCalls/economics/getEconomics.js.map +0 -1
  447. package/out/apiCalls/endpoints.js +0 -29
  448. package/out/apiCalls/endpoints.js.map +0 -1
  449. package/out/apiCalls/index.js +0 -23
  450. package/out/apiCalls/index.js.map +0 -1
  451. package/out/apiCalls/tokens/getPersistedToken.js +0 -20
  452. package/out/apiCalls/tokens/getPersistedToken.js.map +0 -1
  453. package/out/apiCalls/tokens/getPersistedTokenDetails.js +0 -51
  454. package/out/apiCalls/tokens/getPersistedTokenDetails.js.map +0 -1
  455. package/out/apiCalls/tokens/getTokenDetails.js +0 -53
  456. package/out/apiCalls/tokens/getTokenDetails.js.map +0 -1
  457. package/out/apiCalls/tokens/index.js +0 -18
  458. package/out/apiCalls/tokens/index.js.map +0 -1
  459. package/out/apiCalls/tokens/tokenDataStorage.js +0 -36
  460. package/out/apiCalls/tokens/tokenDataStorage.js.map +0 -1
  461. package/out/apiCalls/transactions/getServerTransactionsByHashes.js +0 -22
  462. package/out/apiCalls/transactions/getServerTransactionsByHashes.js.map +0 -1
  463. package/out/apiCalls/transactions/getTransactionByHash.js +0 -18
  464. package/out/apiCalls/transactions/getTransactionByHash.js.map +0 -1
  465. package/out/apiCalls/transactions/getTransactions.js +0 -30
  466. package/out/apiCalls/transactions/getTransactions.js.map +0 -1
  467. package/out/apiCalls/transactions/getTransactionsByHashes.js +0 -21
  468. package/out/apiCalls/transactions/getTransactionsByHashes.js.map +0 -1
  469. package/out/apiCalls/utils/axiosFetcher.js +0 -7
  470. package/out/apiCalls/utils/axiosFetcher.js.map +0 -1
  471. package/out/apiCalls/utils/axiosInstance.js +0 -83
  472. package/out/apiCalls/utils/axiosInstance.js.map +0 -1
  473. package/out/apiCalls/utils/getCleanApiAddress.js +0 -8
  474. package/out/apiCalls/utils/getCleanApiAddress.js.map +0 -1
  475. package/out/apiCalls/utils/index.js +0 -20
  476. package/out/apiCalls/utils/index.js.map +0 -1
  477. package/out/apiCalls/websocket/getWebsocketUrl.js +0 -19
  478. package/out/apiCalls/websocket/getWebsocketUrl.js.map +0 -1
  479. package/out/apiCalls/websocket/index.js +0 -18
  480. package/out/apiCalls/websocket/index.js.map +0 -1
  481. package/out/constants/UITags.enum.js +0 -14
  482. package/out/constants/UITags.enum.js.map +0 -1
  483. package/out/constants/browser.constants.js +0 -9
  484. package/out/constants/browser.constants.js.map +0 -1
  485. package/out/constants/index.js +0 -27
  486. package/out/constants/index.js.map +0 -1
  487. package/out/constants/ledger.constants.js +0 -96
  488. package/out/constants/ledger.constants.js.map +0 -1
  489. package/out/constants/mvx.constants.js +0 -18
  490. package/out/constants/mvx.constants.js.map +0 -1
  491. package/out/constants/network.constants.js +0 -76
  492. package/out/constants/network.constants.js.map +0 -1
  493. package/out/constants/placeholders.constants.js +0 -11
  494. package/out/constants/placeholders.constants.js.map +0 -1
  495. package/out/constants/providerFactory.constants.js +0 -15
  496. package/out/constants/providerFactory.constants.js.map +0 -1
  497. package/out/constants/storage.constants.js +0 -13
  498. package/out/constants/storage.constants.js.map +0 -1
  499. package/out/constants/transactions.constants.js +0 -16
  500. package/out/constants/transactions.constants.js.map +0 -1
  501. package/out/constants/walletConnect.constants.js +0 -9
  502. package/out/constants/walletConnect.constants.js.map +0 -1
  503. package/out/constants/webWalletProvider.constants.js +0 -15
  504. package/out/constants/webWalletProvider.constants.js.map +0 -1
  505. package/out/constants/websocket.constants.js +0 -14
  506. package/out/constants/websocket.constants.js.map +0 -1
  507. package/out/constants/window.constants.js +0 -6
  508. package/out/constants/window.constants.js.map +0 -1
  509. package/out/controllers/FormatAmountController/FormatAmountController.js +0 -35
  510. package/out/controllers/FormatAmountController/FormatAmountController.js.map +0 -1
  511. package/out/controllers/FormatAmountController/index.js +0 -18
  512. package/out/controllers/FormatAmountController/index.js.map +0 -1
  513. package/out/controllers/FormatAmountController/tests/formatAmountController.test.js +0 -94
  514. package/out/controllers/FormatAmountController/tests/formatAmountController.test.js.map +0 -1
  515. package/out/controllers/FormatAmountController/types.js +0 -3
  516. package/out/controllers/FormatAmountController/types.js.map +0 -1
  517. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js +0 -12
  518. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js.map +0 -1
  519. package/out/controllers/TransactionsHistoryController/index.js +0 -18
  520. package/out/controllers/TransactionsHistoryController/index.js.map +0 -1
  521. package/out/controllers/TransactionsTableController/TransactionsTableController.js +0 -104
  522. package/out/controllers/TransactionsTableController/TransactionsTableController.js.map +0 -1
  523. package/out/controllers/TransactionsTableController/index.js +0 -18
  524. package/out/controllers/TransactionsTableController/index.js.map +0 -1
  525. package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js +0 -299
  526. package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js.map +0 -1
  527. package/out/controllers/TransactionsTableController/transactionsTableController.types.js +0 -3
  528. package/out/controllers/TransactionsTableController/transactionsTableController.types.js.map +0 -1
  529. package/out/controllers/index.js +0 -18
  530. package/out/controllers/index.js.map +0 -1
  531. package/out/index.js +0 -23
  532. package/out/index.js.map +0 -1
  533. package/out/lib/sdkCore.js +0 -15
  534. package/out/lib/sdkCore.js.map +0 -1
  535. package/out/lib/sdkDappUi.js +0 -37
  536. package/out/lib/sdkDappUi.js.map +0 -1
  537. package/out/lib/sdkDappUtils.js +0 -16
  538. package/out/lib/sdkDappUtils.js.map +0 -1
  539. package/out/lib/sdkWebWalletCrossWindowProvider.js +0 -9
  540. package/out/lib/sdkWebWalletCrossWindowProvider.js.map +0 -1
  541. package/out/lib/sdkWebWalletIframeProvider.js +0 -6
  542. package/out/lib/sdkWebWalletIframeProvider.js.map +0 -1
  543. package/out/lib/sdkWebviewProvider.js +0 -6
  544. package/out/lib/sdkWebviewProvider.js.map +0 -1
  545. package/out/managers/LogoutManager/LogoutManager.js +0 -137
  546. package/out/managers/LogoutManager/LogoutManager.js.map +0 -1
  547. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js +0 -33
  548. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js.map +0 -1
  549. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js +0 -48
  550. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js.map +0 -1
  551. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js +0 -115
  552. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +0 -1
  553. package/out/managers/NotificationsFeedManager/index.js +0 -19
  554. package/out/managers/NotificationsFeedManager/index.js.map +0 -1
  555. package/out/managers/NotificationsFeedManager/types/index.js +0 -18
  556. package/out/managers/NotificationsFeedManager/types/index.js.map +0 -1
  557. package/out/managers/NotificationsFeedManager/types/notifications.types.js +0 -14
  558. package/out/managers/NotificationsFeedManager/types/notifications.types.js.map +0 -1
  559. package/out/managers/TransactionManager/TransactionManager.js +0 -154
  560. package/out/managers/TransactionManager/TransactionManager.js.map +0 -1
  561. package/out/managers/TransactionManager/TransactionManager.types.js +0 -3
  562. package/out/managers/TransactionManager/TransactionManager.types.js.map +0 -1
  563. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js +0 -26
  564. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js.map +0 -1
  565. package/out/managers/TransactionManager/helpers/getToastDuration.js +0 -28
  566. package/out/managers/TransactionManager/helpers/getToastDuration.js.map +0 -1
  567. package/out/managers/TransactionManager/helpers/getTransactionsStatus.js +0 -25
  568. package/out/managers/TransactionManager/helpers/getTransactionsStatus.js.map +0 -1
  569. package/out/managers/TransactionManager/helpers/isBatchTransaction.js +0 -8
  570. package/out/managers/TransactionManager/helpers/isBatchTransaction.js.map +0 -1
  571. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js +0 -22
  572. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js.map +0 -1
  573. package/out/managers/TransactionManager/helpers/sessionCallbacks.js +0 -14
  574. package/out/managers/TransactionManager/helpers/sessionCallbacks.js.map +0 -1
  575. package/out/managers/TransactionManager/index.js +0 -18
  576. package/out/managers/TransactionManager/index.js.map +0 -1
  577. package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js +0 -124
  578. package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js.map +0 -1
  579. package/out/managers/TransactionManager/tests/getToastDuration.test.js +0 -61
  580. package/out/managers/TransactionManager/tests/getToastDuration.test.js.map +0 -1
  581. package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js +0 -79
  582. package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js.map +0 -1
  583. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js +0 -49
  584. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js.map +0 -1
  585. package/out/managers/UnlockPanelManager/UnlockPanelManager.js +0 -123
  586. package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +0 -1
  587. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js +0 -16
  588. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js.map +0 -1
  589. package/out/managers/UnlockPanelManager/index.js +0 -18
  590. package/out/managers/UnlockPanelManager/index.js.map +0 -1
  591. package/out/managers/index.js +0 -19
  592. package/out/managers/index.js.map +0 -1
  593. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js +0 -153
  594. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js.map +0 -1
  595. package/out/managers/internal/LedgerConnectStateManager/index.js +0 -19
  596. package/out/managers/internal/LedgerConnectStateManager/index.js.map +0 -1
  597. package/out/managers/internal/LedgerConnectStateManager/types/index.js +0 -18
  598. package/out/managers/internal/LedgerConnectStateManager/types/index.js.map +0 -1
  599. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js +0 -13
  600. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js.map +0 -1
  601. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js +0 -101
  602. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js.map +0 -1
  603. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js +0 -34
  604. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js.map +0 -1
  605. package/out/managers/internal/PendingTransactionsStateManager/index.js +0 -19
  606. package/out/managers/internal/PendingTransactionsStateManager/index.js.map +0 -1
  607. package/out/managers/internal/PendingTransactionsStateManager/types/index.js +0 -18
  608. package/out/managers/internal/PendingTransactionsStateManager/types/index.js.map +0 -1
  609. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js +0 -10
  610. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js.map +0 -1
  611. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js +0 -38
  612. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js.map +0 -1
  613. package/out/managers/internal/SidePanelBaseManager/index.js +0 -18
  614. package/out/managers/internal/SidePanelBaseManager/index.js.map +0 -1
  615. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js +0 -115
  616. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js.map +0 -1
  617. package/out/managers/internal/SignTransactionsStateManager/index.js +0 -18
  618. package/out/managers/internal/SignTransactionsStateManager/index.js.map +0 -1
  619. package/out/managers/internal/SignTransactionsStateManager/types/index.js +0 -18
  620. package/out/managers/internal/SignTransactionsStateManager/types/index.js.map +0 -1
  621. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js +0 -13
  622. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js.map +0 -1
  623. package/out/managers/internal/ToastManager/ToastManager.js +0 -208
  624. package/out/managers/internal/ToastManager/ToastManager.js.map +0 -1
  625. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js +0 -50
  626. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js.map +0 -1
  627. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js +0 -61
  628. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js.map +0 -1
  629. package/out/managers/internal/ToastManager/helpers/createTransactionToast.js +0 -32
  630. package/out/managers/internal/ToastManager/helpers/createTransactionToast.js.map +0 -1
  631. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js +0 -78
  632. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js.map +0 -1
  633. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js +0 -16
  634. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js.map +0 -1
  635. package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js +0 -17
  636. package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js.map +0 -1
  637. package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js +0 -164
  638. package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js.map +0 -1
  639. package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js +0 -150
  640. package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js.map +0 -1
  641. package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js +0 -112
  642. package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js.map +0 -1
  643. package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js +0 -60
  644. package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js.map +0 -1
  645. package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js +0 -79
  646. package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js.map +0 -1
  647. package/out/managers/internal/ToastManager/types/index.js +0 -18
  648. package/out/managers/internal/ToastManager/types/index.js.map +0 -1
  649. package/out/managers/internal/ToastManager/types/toast.types.js +0 -24
  650. package/out/managers/internal/ToastManager/types/toast.types.js.map +0 -1
  651. package/out/managers/internal/UIBaseManager/UIBaseManager.js +0 -75
  652. package/out/managers/internal/UIBaseManager/UIBaseManager.js.map +0 -1
  653. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js +0 -49
  654. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js.map +0 -1
  655. package/out/managers/internal/WalletConnectStateManager/index.js +0 -18
  656. package/out/managers/internal/WalletConnectStateManager/index.js.map +0 -1
  657. package/out/managers/internal/index.js +0 -12
  658. package/out/managers/internal/index.js.map +0 -1
  659. package/out/methods/account/getAccount.js +0 -10
  660. package/out/methods/account/getAccount.js.map +0 -1
  661. package/out/methods/account/getAccountInfo.js +0 -10
  662. package/out/methods/account/getAccountInfo.js.map +0 -1
  663. package/out/methods/account/getAddress.js +0 -10
  664. package/out/methods/account/getAddress.js.map +0 -1
  665. package/out/methods/account/getIsLoggedIn.js +0 -10
  666. package/out/methods/account/getIsLoggedIn.js.map +0 -1
  667. package/out/methods/account/getLatestNonce.js +0 -29
  668. package/out/methods/account/getLatestNonce.js.map +0 -1
  669. package/out/methods/account/tests/getLatestNonce.test.js +0 -81
  670. package/out/methods/account/tests/getLatestNonce.test.js.map +0 -1
  671. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js +0 -37
  672. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js.map +0 -1
  673. package/out/methods/initApp/initApp.js +0 -101
  674. package/out/methods/initApp/initApp.js.map +0 -1
  675. package/out/methods/initApp/initApp.types.js +0 -3
  676. package/out/methods/initApp/initApp.types.js.map +0 -1
  677. package/out/methods/initApp/websocket/initializeWebsocketConnection.js +0 -156
  678. package/out/methods/initApp/websocket/initializeWebsocketConnection.js.map +0 -1
  679. package/out/methods/initApp/websocket/registerWebsocket.js +0 -28
  680. package/out/methods/initApp/websocket/registerWebsocket.js.map +0 -1
  681. package/out/methods/loginInfo/getLoginInfo.js +0 -14
  682. package/out/methods/loginInfo/getLoginInfo.js.map +0 -1
  683. package/out/methods/network/getEgldLabel.js +0 -10
  684. package/out/methods/network/getEgldLabel.js.map +0 -1
  685. package/out/methods/network/getExplorerAddress.js +0 -10
  686. package/out/methods/network/getExplorerAddress.js.map +0 -1
  687. package/out/methods/network/getNetworkConfig.js +0 -10
  688. package/out/methods/network/getNetworkConfig.js.map +0 -1
  689. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js +0 -118
  690. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js.map +0 -1
  691. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js +0 -19
  692. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js.map +0 -1
  693. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js +0 -16
  694. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js.map +0 -1
  695. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js +0 -18
  696. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js.map +0 -1
  697. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js +0 -29
  698. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js.map +0 -1
  699. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js +0 -24
  700. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js.map +0 -1
  701. package/out/methods/trackTransactions/helpers/getPollingInterval.js +0 -16
  702. package/out/methods/trackTransactions/helpers/getPollingInterval.js.map +0 -1
  703. package/out/methods/trackTransactions/trackTransactions.js +0 -89
  704. package/out/methods/trackTransactions/trackTransactions.js.map +0 -1
  705. package/out/methods/transactions/getFailedTransactions.js +0 -10
  706. package/out/methods/transactions/getFailedTransactions.js.map +0 -1
  707. package/out/methods/transactions/getFailedTransactionsSessions.js +0 -10
  708. package/out/methods/transactions/getFailedTransactionsSessions.js.map +0 -1
  709. package/out/methods/transactions/getPendingTransactions.js +0 -10
  710. package/out/methods/transactions/getPendingTransactions.js.map +0 -1
  711. package/out/methods/transactions/getPendingTransactionsSessions.js +0 -10
  712. package/out/methods/transactions/getPendingTransactionsSessions.js.map +0 -1
  713. package/out/methods/transactions/getSuccessfulTransactions.js +0 -10
  714. package/out/methods/transactions/getSuccessfulTransactions.js.map +0 -1
  715. package/out/methods/transactions/getSuccessfulTransactionsSessions.js +0 -10
  716. package/out/methods/transactions/getSuccessfulTransactionsSessions.js.map +0 -1
  717. package/out/methods/transactions/getTransactionSessions.js +0 -10
  718. package/out/methods/transactions/getTransactionSessions.js.map +0 -1
  719. package/out/providers/DappProvider/DappProvider.js +0 -92
  720. package/out/providers/DappProvider/DappProvider.js.map +0 -1
  721. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js +0 -15
  722. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js.map +0 -1
  723. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js +0 -22
  724. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js.map +0 -1
  725. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js +0 -40
  726. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js.map +0 -1
  727. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js +0 -18
  728. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js.map +0 -1
  729. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js +0 -18
  730. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js.map +0 -1
  731. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js +0 -30
  732. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js.map +0 -1
  733. package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js +0 -35
  734. package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js.map +0 -1
  735. package/out/providers/DappProvider/helpers/login/login.js +0 -89
  736. package/out/providers/DappProvider/helpers/login/login.js.map +0 -1
  737. package/out/providers/DappProvider/helpers/logout/logout.js +0 -40
  738. package/out/providers/DappProvider/helpers/logout/logout.js.map +0 -1
  739. package/out/providers/DappProvider/helpers/signErrors/handleSignError.js +0 -54
  740. package/out/providers/DappProvider/helpers/signErrors/handleSignError.js.map +0 -1
  741. package/out/providers/DappProvider/helpers/signMessage/getVerifier.js +0 -10
  742. package/out/providers/DappProvider/helpers/signMessage/getVerifier.js.map +0 -1
  743. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js +0 -16
  744. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js.map +0 -1
  745. package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js +0 -18
  746. package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js.map +0 -1
  747. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js +0 -36
  748. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js.map +0 -1
  749. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js +0 -34
  750. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js.map +0 -1
  751. package/out/providers/DappProvider/index.js +0 -18
  752. package/out/providers/DappProvider/index.js.map +0 -1
  753. package/out/providers/ProviderFactory.js +0 -104
  754. package/out/providers/ProviderFactory.js.map +0 -1
  755. package/out/providers/helpers/accountProvider.js +0 -15
  756. package/out/providers/helpers/accountProvider.js.map +0 -1
  757. package/out/providers/helpers/cancelCrossWindowAction.js +0 -15
  758. package/out/providers/helpers/cancelCrossWindowAction.js.map +0 -1
  759. package/out/providers/helpers/clearInitiatedLogins.js +0 -36
  760. package/out/providers/helpers/clearInitiatedLogins.js.map +0 -1
  761. package/out/providers/helpers/emptyProvider.js +0 -57
  762. package/out/providers/helpers/emptyProvider.js.map +0 -1
  763. package/out/providers/helpers/restoreProvider.js +0 -38
  764. package/out/providers/helpers/restoreProvider.js.map +0 -1
  765. package/out/providers/index.js +0 -21
  766. package/out/providers/index.js.map +0 -1
  767. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js +0 -108
  768. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js.map +0 -1
  769. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js +0 -86
  770. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js.map +0 -1
  771. package/out/providers/strategies/CrossWindowProviderStrategy/index.js +0 -18
  772. package/out/providers/strategies/CrossWindowProviderStrategy/index.js.map +0 -1
  773. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js +0 -76
  774. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js.map +0 -1
  775. package/out/providers/strategies/ExtensionProviderStrategy/index.js +0 -18
  776. package/out/providers/strategies/ExtensionProviderStrategy/index.js.map +0 -1
  777. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js +0 -100
  778. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js.map +0 -1
  779. package/out/providers/strategies/IframeProviderStrategy/index.js +0 -19
  780. package/out/providers/strategies/IframeProviderStrategy/index.js.map +0 -1
  781. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js +0 -3
  782. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js.map +0 -1
  783. package/out/providers/strategies/IframeProviderStrategy/types/index.js +0 -18
  784. package/out/providers/strategies/IframeProviderStrategy/types/index.js.map +0 -1
  785. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js +0 -159
  786. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js.map +0 -1
  787. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js +0 -105
  788. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js.map +0 -1
  789. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js +0 -36
  790. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js.map +0 -1
  791. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js +0 -15
  792. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js.map +0 -1
  793. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js +0 -27
  794. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js.map +0 -1
  795. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js +0 -57
  796. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js.map +0 -1
  797. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js +0 -47
  798. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js.map +0 -1
  799. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js +0 -23
  800. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js.map +0 -1
  801. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js +0 -40
  802. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js.map +0 -1
  803. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js +0 -32
  804. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js.map +0 -1
  805. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js +0 -22
  806. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js.map +0 -1
  807. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js +0 -18
  808. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js.map +0 -1
  809. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js +0 -88
  810. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js.map +0 -1
  811. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js +0 -3
  812. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js.map +0 -1
  813. package/out/providers/strategies/LedgerProviderStrategy/index.js +0 -19
  814. package/out/providers/strategies/LedgerProviderStrategy/index.js.map +0 -1
  815. package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js +0 -89
  816. package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js.map +0 -1
  817. package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js +0 -44
  818. package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js.map +0 -1
  819. package/out/providers/strategies/LedgerProviderStrategy/types/index.js +0 -18
  820. package/out/providers/strategies/LedgerProviderStrategy/types/index.js.map +0 -1
  821. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js +0 -15
  822. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js.map +0 -1
  823. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js +0 -3
  824. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js.map +0 -1
  825. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js +0 -235
  826. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js.map +0 -1
  827. package/out/providers/strategies/WalletConnectProviderStrategy/index.js +0 -19
  828. package/out/providers/strategies/WalletConnectProviderStrategy/index.js.map +0 -1
  829. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js +0 -18
  830. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js.map +0 -1
  831. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js +0 -24
  832. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js.map +0 -1
  833. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js +0 -147
  834. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js.map +0 -1
  835. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js +0 -18
  836. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js.map +0 -1
  837. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js +0 -80
  838. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js.map +0 -1
  839. package/out/providers/strategies/WebviewProviderStrategy/index.js +0 -18
  840. package/out/providers/strategies/WebviewProviderStrategy/index.js.map +0 -1
  841. package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js +0 -93
  842. package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js.map +0 -1
  843. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js +0 -17
  844. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js.map +0 -1
  845. package/out/providers/strategies/helpers/index.js +0 -6
  846. package/out/providers/strategies/helpers/index.js.map +0 -1
  847. package/out/providers/strategies/helpers/signMessage/signMessage.js +0 -52
  848. package/out/providers/strategies/helpers/signMessage/signMessage.js.map +0 -1
  849. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js +0 -24
  850. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js.map +0 -1
  851. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js +0 -52
  852. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js.map +0 -1
  853. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js +0 -151
  854. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js.map +0 -1
  855. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js +0 -18
  856. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js.map +0 -1
  857. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js +0 -212
  858. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js.map +0 -1
  859. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js +0 -65
  860. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js.map +0 -1
  861. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js +0 -11
  862. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js.map +0 -1
  863. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js +0 -58
  864. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js.map +0 -1
  865. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js +0 -20
  866. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js.map +0 -1
  867. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js +0 -17
  868. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js.map +0 -1
  869. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js +0 -16
  870. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js.map +0 -1
  871. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js +0 -25
  872. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js.map +0 -1
  873. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js +0 -72
  874. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js.map +0 -1
  875. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js +0 -44
  876. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js.map +0 -1
  877. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js +0 -262
  878. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js.map +0 -1
  879. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js +0 -125
  880. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js.map +0 -1
  881. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js +0 -31
  882. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js.map +0 -1
  883. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js +0 -13
  884. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js.map +0 -1
  885. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js +0 -14
  886. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js.map +0 -1
  887. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js +0 -85
  888. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js.map +0 -1
  889. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js +0 -92
  890. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js.map +0 -1
  891. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js +0 -63
  892. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js.map +0 -1
  893. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js +0 -11
  894. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js.map +0 -1
  895. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js +0 -23
  896. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js.map +0 -1
  897. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js +0 -12
  898. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js.map +0 -1
  899. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js +0 -31
  900. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js.map +0 -1
  901. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js +0 -8
  902. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js.map +0 -1
  903. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js +0 -13
  904. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js.map +0 -1
  905. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js +0 -86
  906. package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js.map +0 -1
  907. package/out/providers/strategies/helpers/signTransactions/signTransactions.js +0 -198
  908. package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +0 -1
  909. package/out/providers/strategies/index.js +0 -22
  910. package/out/providers/strategies/index.js.map +0 -1
  911. package/out/providers/types/providerFactory.types.js +0 -14
  912. package/out/providers/types/providerFactory.types.js.map +0 -1
  913. package/out/react/account/useGetAccount.js +0 -10
  914. package/out/react/account/useGetAccount.js.map +0 -1
  915. package/out/react/account/useGetAccountInfo.js +0 -10
  916. package/out/react/account/useGetAccountInfo.js.map +0 -1
  917. package/out/react/account/useGetIsLoggedIn.js +0 -11
  918. package/out/react/account/useGetIsLoggedIn.js.map +0 -1
  919. package/out/react/account/useGetLatestNonce.js +0 -12
  920. package/out/react/account/useGetLatestNonce.js.map +0 -1
  921. package/out/react/index.js +0 -18
  922. package/out/react/index.js.map +0 -1
  923. package/out/react/loginInfo/useGetLoginInfo.js +0 -13
  924. package/out/react/loginInfo/useGetLoginInfo.js.map +0 -1
  925. package/out/react/network/useGetNetworkConfig.js +0 -10
  926. package/out/react/network/useGetNetworkConfig.js.map +0 -1
  927. package/out/react/store/createBoundedStore.js +0 -11
  928. package/out/react/store/createBoundedStore.js.map +0 -1
  929. package/out/react/store/getReactStore.js +0 -8
  930. package/out/react/store/getReactStore.js.map +0 -1
  931. package/out/react/store/useSelector.js +0 -10
  932. package/out/react/store/useSelector.js.map +0 -1
  933. package/out/react/transactions/useGetFailedTransactions.js +0 -11
  934. package/out/react/transactions/useGetFailedTransactions.js.map +0 -1
  935. package/out/react/transactions/useGetFailedTransactionsSessions.js +0 -11
  936. package/out/react/transactions/useGetFailedTransactionsSessions.js.map +0 -1
  937. package/out/react/transactions/useGetPendingTransactions.js +0 -11
  938. package/out/react/transactions/useGetPendingTransactions.js.map +0 -1
  939. package/out/react/transactions/useGetPendingTransactionsSessions.js +0 -11
  940. package/out/react/transactions/useGetPendingTransactionsSessions.js.map +0 -1
  941. package/out/react/transactions/useGetSuccessfulTransactions.js +0 -11
  942. package/out/react/transactions/useGetSuccessfulTransactions.js.map +0 -1
  943. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js +0 -11
  944. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js.map +0 -1
  945. package/out/react/transactions/useGetTransactionSessions.js +0 -11
  946. package/out/react/transactions/useGetTransactionSessions.js.map +0 -1
  947. package/out/services/index.js +0 -18
  948. package/out/services/index.js.map +0 -1
  949. package/out/services/nativeAuth/helpers/decodeLoginToken.js +0 -34
  950. package/out/services/nativeAuth/helpers/decodeLoginToken.js.map +0 -1
  951. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js +0 -50
  952. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js.map +0 -1
  953. package/out/services/nativeAuth/helpers/getLatestBlockHash.js +0 -69
  954. package/out/services/nativeAuth/helpers/getLatestBlockHash.js.map +0 -1
  955. package/out/services/nativeAuth/helpers/index.js +0 -20
  956. package/out/services/nativeAuth/helpers/index.js.map +0 -1
  957. package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js +0 -26
  958. package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js.map +0 -1
  959. package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js +0 -37
  960. package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js.map +0 -1
  961. package/out/services/nativeAuth/index.js +0 -18
  962. package/out/services/nativeAuth/index.js.map +0 -1
  963. package/out/services/nativeAuth/methods/buildNativeAuthConfig.js +0 -20
  964. package/out/services/nativeAuth/methods/buildNativeAuthConfig.js.map +0 -1
  965. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js +0 -21
  966. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js.map +0 -1
  967. package/out/services/nativeAuth/methods/getTokenExpiration.js +0 -29
  968. package/out/services/nativeAuth/methods/getTokenExpiration.js.map +0 -1
  969. package/out/services/nativeAuth/methods/index.js +0 -19
  970. package/out/services/nativeAuth/methods/index.js.map +0 -1
  971. package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js +0 -55
  972. package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js.map +0 -1
  973. package/out/services/nativeAuth/nativeAuth.js +0 -45
  974. package/out/services/nativeAuth/nativeAuth.js.map +0 -1
  975. package/out/services/nativeAuth/nativeAuth.types.js +0 -3
  976. package/out/services/nativeAuth/nativeAuth.types.js.map +0 -1
  977. package/out/services/nativeAuth/tests/nativeAuth.test.js +0 -105
  978. package/out/services/nativeAuth/tests/nativeAuth.test.js.map +0 -1
  979. package/out/setupTests.d.ts +0 -1
  980. package/out/setupTests.js +0 -36
  981. package/out/setupTests.js.map +0 -1
  982. package/out/store/actions/account/accountActions.js +0 -43
  983. package/out/store/actions/account/accountActions.js.map +0 -1
  984. package/out/store/actions/account/index.js +0 -18
  985. package/out/store/actions/account/index.js.map +0 -1
  986. package/out/store/actions/cache/cacheActions.js +0 -25
  987. package/out/store/actions/cache/cacheActions.js.map +0 -1
  988. package/out/store/actions/cache/index.js +0 -18
  989. package/out/store/actions/cache/index.js.map +0 -1
  990. package/out/store/actions/config/configActions.js +0 -26
  991. package/out/store/actions/config/configActions.js.map +0 -1
  992. package/out/store/actions/config/index.js +0 -18
  993. package/out/store/actions/config/index.js.map +0 -1
  994. package/out/store/actions/index.js +0 -24
  995. package/out/store/actions/index.js.map +0 -1
  996. package/out/store/actions/loginInfo/loginInfoActions.js +0 -57
  997. package/out/store/actions/loginInfo/loginInfoActions.js.map +0 -1
  998. package/out/store/actions/network/index.js +0 -18
  999. package/out/store/actions/network/index.js.map +0 -1
  1000. package/out/store/actions/network/initializeNetwork.js +0 -49
  1001. package/out/store/actions/network/initializeNetwork.js.map +0 -1
  1002. package/out/store/actions/network/networkActions.js +0 -14
  1003. package/out/store/actions/network/networkActions.js.map +0 -1
  1004. package/out/store/actions/sharedActions/index.js +0 -18
  1005. package/out/store/actions/sharedActions/index.js.map +0 -1
  1006. package/out/store/actions/sharedActions/sharedActions.js +0 -19
  1007. package/out/store/actions/sharedActions/sharedActions.js.map +0 -1
  1008. package/out/store/actions/toasts/index.js +0 -18
  1009. package/out/store/actions/toasts/index.js.map +0 -1
  1010. package/out/store/actions/toasts/toastsActions.js +0 -107
  1011. package/out/store/actions/toasts/toastsActions.js.map +0 -1
  1012. package/out/store/actions/transactions/transactionStateByStatus.js +0 -100
  1013. package/out/store/actions/transactions/transactionStateByStatus.js.map +0 -1
  1014. package/out/store/actions/transactions/transactionsActions.js +0 -79
  1015. package/out/store/actions/transactions/transactionsActions.js.map +0 -1
  1016. package/out/store/actions/ui/index.js +0 -18
  1017. package/out/store/actions/ui/index.js.map +0 -1
  1018. package/out/store/actions/ui/uiActions.js +0 -9
  1019. package/out/store/actions/ui/uiActions.js.map +0 -1
  1020. package/out/store/middleware/applyMiddlewares.js +0 -9
  1021. package/out/store/middleware/applyMiddlewares.js.map +0 -1
  1022. package/out/store/middleware/index.js +0 -18
  1023. package/out/store/middleware/index.js.map +0 -1
  1024. package/out/store/middleware/logoutMiddleware.js +0 -54
  1025. package/out/store/middleware/logoutMiddleware.js.map +0 -1
  1026. package/out/store/selectors/accountSelectors.js +0 -31
  1027. package/out/store/selectors/accountSelectors.js.map +0 -1
  1028. package/out/store/selectors/cacheSelector.js +0 -8
  1029. package/out/store/selectors/cacheSelector.js.map +0 -1
  1030. package/out/store/selectors/configSelectors.js +0 -12
  1031. package/out/store/selectors/configSelectors.js.map +0 -1
  1032. package/out/store/selectors/index.js +0 -23
  1033. package/out/store/selectors/index.js.map +0 -1
  1034. package/out/store/selectors/loginInfoSelectors.js +0 -16
  1035. package/out/store/selectors/loginInfoSelectors.js.map +0 -1
  1036. package/out/store/selectors/networkSelectors.js +0 -14
  1037. package/out/store/selectors/networkSelectors.js.map +0 -1
  1038. package/out/store/selectors/storeSelector.js +0 -6
  1039. package/out/store/selectors/storeSelector.js.map +0 -1
  1040. package/out/store/selectors/toastsSelectors.js +0 -10
  1041. package/out/store/selectors/toastsSelectors.js.map +0 -1
  1042. package/out/store/selectors/transactionsSelector.js +0 -104
  1043. package/out/store/selectors/transactionsSelector.js.map +0 -1
  1044. package/out/store/selectors/uiSelectors.js +0 -8
  1045. package/out/store/selectors/uiSelectors.js.map +0 -1
  1046. package/out/store/slices/account/account.types.js +0 -3
  1047. package/out/store/slices/account/account.types.js.map +0 -1
  1048. package/out/store/slices/account/accountSlice.js +0 -18
  1049. package/out/store/slices/account/accountSlice.js.map +0 -1
  1050. package/out/store/slices/account/emptyAccount.js +0 -15
  1051. package/out/store/slices/account/emptyAccount.js.map +0 -1
  1052. package/out/store/slices/account/index.js +0 -6
  1053. package/out/store/slices/account/index.js.map +0 -1
  1054. package/out/store/slices/cache/cacheSlice.js +0 -9
  1055. package/out/store/slices/cache/cacheSlice.js.map +0 -1
  1056. package/out/store/slices/cache/cacheSlice.types.js +0 -3
  1057. package/out/store/slices/cache/cacheSlice.types.js.map +0 -1
  1058. package/out/store/slices/cache/index.js +0 -6
  1059. package/out/store/slices/cache/index.js.map +0 -1
  1060. package/out/store/slices/config/config.types.js +0 -3
  1061. package/out/store/slices/config/config.types.js.map +0 -1
  1062. package/out/store/slices/config/configSlice.js +0 -18
  1063. package/out/store/slices/config/configSlice.js.map +0 -1
  1064. package/out/store/slices/config/index.js +0 -6
  1065. package/out/store/slices/config/index.js.map +0 -1
  1066. package/out/store/slices/index.js +0 -24
  1067. package/out/store/slices/index.js.map +0 -1
  1068. package/out/store/slices/loginInfo/index.js +0 -6
  1069. package/out/store/slices/loginInfo/index.js.map +0 -1
  1070. package/out/store/slices/loginInfo/loginInfo.types.js +0 -3
  1071. package/out/store/slices/loginInfo/loginInfo.types.js.map +0 -1
  1072. package/out/store/slices/loginInfo/loginInfoSlice.js +0 -19
  1073. package/out/store/slices/loginInfo/loginInfoSlice.js.map +0 -1
  1074. package/out/store/slices/network/emptyNetwork.js +0 -18
  1075. package/out/store/slices/network/emptyNetwork.js.map +0 -1
  1076. package/out/store/slices/network/index.js +0 -6
  1077. package/out/store/slices/network/index.js.map +0 -1
  1078. package/out/store/slices/network/network.types.js +0 -3
  1079. package/out/store/slices/network/network.types.js.map +0 -1
  1080. package/out/store/slices/network/networkSlice.js +0 -12
  1081. package/out/store/slices/network/networkSlice.js.map +0 -1
  1082. package/out/store/slices/network/networkSlice.types.js +0 -3
  1083. package/out/store/slices/network/networkSlice.types.js.map +0 -1
  1084. package/out/store/slices/toast/index.js +0 -6
  1085. package/out/store/slices/toast/index.js.map +0 -1
  1086. package/out/store/slices/toast/toastSlice.js +0 -12
  1087. package/out/store/slices/toast/toastSlice.js.map +0 -1
  1088. package/out/store/slices/toast/toastSlice.types.js +0 -3
  1089. package/out/store/slices/toast/toastSlice.types.js.map +0 -1
  1090. package/out/store/slices/transactions/index.js +0 -6
  1091. package/out/store/slices/transactions/index.js.map +0 -1
  1092. package/out/store/slices/transactions/transactionsSlice.js +0 -9
  1093. package/out/store/slices/transactions/transactionsSlice.js.map +0 -1
  1094. package/out/store/slices/transactions/transactionsSlice.types.js +0 -3
  1095. package/out/store/slices/transactions/transactionsSlice.types.js.map +0 -1
  1096. package/out/store/slices/ui/index.js +0 -6
  1097. package/out/store/slices/ui/index.js.map +0 -1
  1098. package/out/store/slices/ui/ui.types.js +0 -3
  1099. package/out/store/slices/ui/ui.types.js.map +0 -1
  1100. package/out/store/slices/ui/uiSlice.js +0 -11
  1101. package/out/store/slices/ui/uiSlice.js.map +0 -1
  1102. package/out/store/storage/inMemoryStorage.js +0 -29
  1103. package/out/store/storage/inMemoryStorage.js.map +0 -1
  1104. package/out/store/storage/index.js +0 -19
  1105. package/out/store/storage/index.js.map +0 -1
  1106. package/out/store/storage/storageCallback.js +0 -7
  1107. package/out/store/storage/storageCallback.js.map +0 -1
  1108. package/out/store/store.js +0 -60
  1109. package/out/store/store.js.map +0 -1
  1110. package/out/store/store.types.js +0 -3
  1111. package/out/store/store.types.js.map +0 -1
  1112. package/out/types/account.types.js +0 -3
  1113. package/out/types/account.types.js.map +0 -1
  1114. package/out/types/enums.types.js +0 -80
  1115. package/out/types/enums.types.js.map +0 -1
  1116. package/out/types/index.js +0 -24
  1117. package/out/types/index.js.map +0 -1
  1118. package/out/types/login.types.js +0 -3
  1119. package/out/types/login.types.js.map +0 -1
  1120. package/out/types/manager.types.js +0 -3
  1121. package/out/types/manager.types.js.map +0 -1
  1122. package/out/types/network.types.js +0 -3
  1123. package/out/types/network.types.js.map +0 -1
  1124. package/out/types/provider.types.js +0 -11
  1125. package/out/types/provider.types.js.map +0 -1
  1126. package/out/types/serverTransactions.types.js +0 -123
  1127. package/out/types/serverTransactions.types.js.map +0 -1
  1128. package/out/types/subscriptions.type.js +0 -10
  1129. package/out/types/subscriptions.type.js.map +0 -1
  1130. package/out/types/suspiciousLink.types.js +0 -3
  1131. package/out/types/suspiciousLink.types.js.map +0 -1
  1132. package/out/types/theme.types.js +0 -9
  1133. package/out/types/theme.types.js.map +0 -1
  1134. package/out/types/tokens.types.js +0 -14
  1135. package/out/types/tokens.types.js.map +0 -1
  1136. package/out/types/transaction-list-item.types.js +0 -89
  1137. package/out/types/transaction-list-item.types.js.map +0 -1
  1138. package/out/types/transactions.types.js +0 -11
  1139. package/out/types/transactions.types.js.map +0 -1
  1140. package/out/types/websocket.types.js +0 -3
  1141. package/out/types/websocket.types.js.map +0 -1
  1142. package/out/utils/ComponentFactory.js +0 -28
  1143. package/out/utils/ComponentFactory.js.map +0 -1
  1144. package/out/utils/account/fetchAccount.js +0 -7
  1145. package/out/utils/account/fetchAccount.js.map +0 -1
  1146. package/out/utils/account/index.js +0 -21
  1147. package/out/utils/account/index.js.map +0 -1
  1148. package/out/utils/account/refreshAccount.js +0 -60
  1149. package/out/utils/account/refreshAccount.js.map +0 -1
  1150. package/out/utils/account/refreshNativeAuthTokenLogin.js +0 -42
  1151. package/out/utils/account/refreshNativeAuthTokenLogin.js.map +0 -1
  1152. package/out/utils/account/trimUsernameDomain.js +0 -15
  1153. package/out/utils/account/trimUsernameDomain.js.map +0 -1
  1154. package/out/utils/asyncActions/index.js +0 -18
  1155. package/out/utils/asyncActions/index.js.map +0 -1
  1156. package/out/utils/asyncActions/sleep.js +0 -15
  1157. package/out/utils/asyncActions/sleep.js.map +0 -1
  1158. package/out/utils/dateTime/getUnixTimestamp.js +0 -8
  1159. package/out/utils/dateTime/getUnixTimestamp.js.map +0 -1
  1160. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js +0 -8
  1161. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js.map +0 -1
  1162. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js +0 -8
  1163. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js.map +0 -1
  1164. package/out/utils/dateTime/index.js +0 -20
  1165. package/out/utils/dateTime/index.js.map +0 -1
  1166. package/out/utils/decoders/base64Utils.js +0 -56
  1167. package/out/utils/decoders/base64Utils.js.map +0 -1
  1168. package/out/utils/decoders/decodePart.js +0 -19
  1169. package/out/utils/decoders/decodePart.js.map +0 -1
  1170. package/out/utils/decoders/index.js +0 -22
  1171. package/out/utils/decoders/index.js.map +0 -1
  1172. package/out/utils/decoders/isAscii.js +0 -7
  1173. package/out/utils/decoders/isAscii.js.map +0 -1
  1174. package/out/utils/decoders/isUtf8.js +0 -13
  1175. package/out/utils/decoders/isUtf8.js.map +0 -1
  1176. package/out/utils/decoders/stringContainsNumbers.js +0 -6
  1177. package/out/utils/decoders/stringContainsNumbers.js.map +0 -1
  1178. package/out/utils/decoders/tests/base64Utils.test.js +0 -58
  1179. package/out/utils/decoders/tests/base64Utils.test.js.map +0 -1
  1180. package/out/utils/decoders/tests/decodePart.test.js +0 -14
  1181. package/out/utils/decoders/tests/decodePart.test.js.map +0 -1
  1182. package/out/utils/decoders/tests/isAscii.test.js +0 -22
  1183. package/out/utils/decoders/tests/isAscii.test.js.map +0 -1
  1184. package/out/utils/decoders/tests/isUtf8.test.js +0 -22
  1185. package/out/utils/decoders/tests/isUtf8.test.js.map +0 -1
  1186. package/out/utils/index.js +0 -27
  1187. package/out/utils/index.js.map +0 -1
  1188. package/out/utils/network/index.js +0 -18
  1189. package/out/utils/network/index.js.map +0 -1
  1190. package/out/utils/network/setAxiosInterceptors.js +0 -29
  1191. package/out/utils/network/setAxiosInterceptors.js.map +0 -1
  1192. package/out/utils/operations/capitalize.js +0 -6
  1193. package/out/utils/operations/capitalize.js.map +0 -1
  1194. package/out/utils/operations/getUsdValue.js +0 -18
  1195. package/out/utils/operations/getUsdValue.js.map +0 -1
  1196. package/out/utils/operations/pluralize.js +0 -6
  1197. package/out/utils/operations/pluralize.js.map +0 -1
  1198. package/out/utils/operations/tests/capitalize.test.js +0 -10
  1199. package/out/utils/operations/tests/capitalize.test.js.map +0 -1
  1200. package/out/utils/operations/tests/getUsdValue.test.js +0 -21
  1201. package/out/utils/operations/tests/getUsdValue.test.js.map +0 -1
  1202. package/out/utils/operations/tests/pluralize.spec.js +0 -19
  1203. package/out/utils/operations/tests/pluralize.spec.js.map +0 -1
  1204. package/out/utils/operations/tests/timeRemaining.test.js +0 -32
  1205. package/out/utils/operations/tests/timeRemaining.test.js.map +0 -1
  1206. package/out/utils/operations/tests/trimAmountDecimals.spec.js +0 -86
  1207. package/out/utils/operations/tests/trimAmountDecimals.spec.js.map +0 -1
  1208. package/out/utils/operations/timeRemaining.js +0 -76
  1209. package/out/utils/operations/timeRemaining.js.map +0 -1
  1210. package/out/utils/operations/trimAmountDecimals.js +0 -27
  1211. package/out/utils/operations/trimAmountDecimals.js.map +0 -1
  1212. package/out/utils/retryMultipleTimes.js +0 -24
  1213. package/out/utils/retryMultipleTimes.js.map +0 -1
  1214. package/out/utils/transactions/explorerUrlBuilder.js +0 -30
  1215. package/out/utils/transactions/explorerUrlBuilder.js.map +0 -1
  1216. package/out/utils/transactions/getActiveTransactionsStatus.js +0 -27
  1217. package/out/utils/transactions/getActiveTransactionsStatus.js.map +0 -1
  1218. package/out/utils/transactions/getExplorerLink.js +0 -26
  1219. package/out/utils/transactions/getExplorerLink.js.map +0 -1
  1220. package/out/utils/transactions/getHumanReadableTimeFormat.js +0 -24
  1221. package/out/utils/transactions/getHumanReadableTimeFormat.js.map +0 -1
  1222. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +0 -83
  1223. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js.map +0 -1
  1224. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js +0 -32
  1225. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js.map +0 -1
  1226. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js +0 -74
  1227. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js.map +0 -1
  1228. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js +0 -13
  1229. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js.map +0 -1
  1230. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js +0 -36
  1231. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js.map +0 -1
  1232. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js +0 -46
  1233. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js.map +0 -1
  1234. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js +0 -17
  1235. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js.map +0 -1
  1236. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js +0 -23
  1237. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js.map +0 -1
  1238. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js +0 -30
  1239. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js.map +0 -1
  1240. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js +0 -30
  1241. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js.map +0 -1
  1242. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js +0 -10
  1243. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js.map +0 -1
  1244. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js +0 -23
  1245. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js.map +0 -1
  1246. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js +0 -50
  1247. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js.map +0 -1
  1248. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js +0 -18
  1249. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js.map +0 -1
  1250. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js +0 -3
  1251. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js.map +0 -1
  1252. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js +0 -57
  1253. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js.map +0 -1
  1254. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js +0 -10
  1255. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js.map +0 -1
  1256. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +0 -38
  1257. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js.map +0 -1
  1258. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js +0 -10
  1259. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js.map +0 -1
  1260. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js +0 -22
  1261. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js.map +0 -1
  1262. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js +0 -76
  1263. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js.map +0 -1
  1264. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js +0 -26
  1265. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js.map +0 -1
  1266. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js +0 -15
  1267. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js.map +0 -1
  1268. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js +0 -23
  1269. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js.map +0 -1
  1270. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js +0 -12
  1271. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js.map +0 -1
  1272. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js +0 -15
  1273. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js.map +0 -1
  1274. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js +0 -22
  1275. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js.map +0 -1
  1276. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js +0 -17
  1277. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js.map +0 -1
  1278. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js +0 -23
  1279. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js.map +0 -1
  1280. package/out/utils/transactions/getInterpretedTransaction/helpers/index.js +0 -30
  1281. package/out/utils/transactions/getInterpretedTransaction/helpers/index.js.map +0 -1
  1282. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js +0 -31
  1283. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js.map +0 -1
  1284. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js +0 -86
  1285. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js.map +0 -1
  1286. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js +0 -40
  1287. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js.map +0 -1
  1288. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js +0 -54
  1289. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js.map +0 -1
  1290. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js +0 -39
  1291. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js.map +0 -1
  1292. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js +0 -15
  1293. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js.map +0 -1
  1294. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js +0 -39
  1295. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js.map +0 -1
  1296. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js +0 -131
  1297. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js.map +0 -1
  1298. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js +0 -52
  1299. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js.map +0 -1
  1300. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js +0 -30
  1301. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js.map +0 -1
  1302. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js +0 -45
  1303. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js.map +0 -1
  1304. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js +0 -50
  1305. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js.map +0 -1
  1306. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js +0 -60
  1307. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js.map +0 -1
  1308. package/out/utils/transactions/getInterpretedTransaction/index.js +0 -19
  1309. package/out/utils/transactions/getInterpretedTransaction/index.js.map +0 -1
  1310. package/out/utils/transactions/getScamFlag.js +0 -78
  1311. package/out/utils/transactions/getScamFlag.js.map +0 -1
  1312. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js +0 -22
  1313. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js.map +0 -1
  1314. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js +0 -12
  1315. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js.map +0 -1
  1316. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js +0 -34
  1317. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js.map +0 -1
  1318. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js +0 -25
  1319. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js.map +0 -1
  1320. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js +0 -11
  1321. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js.map +0 -1
  1322. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js +0 -14
  1323. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js.map +0 -1
  1324. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js +0 -21
  1325. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js.map +0 -1
  1326. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js +0 -79
  1327. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js.map +0 -1
  1328. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js +0 -31
  1329. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js.map +0 -1
  1330. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js +0 -34
  1331. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js.map +0 -1
  1332. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js +0 -28
  1333. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js.map +0 -1
  1334. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js +0 -62
  1335. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js.map +0 -1
  1336. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js +0 -39
  1337. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js.map +0 -1
  1338. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js +0 -17
  1339. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js.map +0 -1
  1340. package/out/utils/transactions/getTransactionsHistory/helpers/index.js +0 -20
  1341. package/out/utils/transactions/getTransactionsHistory/helpers/index.js.map +0 -1
  1342. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js +0 -15
  1343. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js.map +0 -1
  1344. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js +0 -64
  1345. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js.map +0 -1
  1346. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js +0 -54
  1347. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js.map +0 -1
  1348. package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js +0 -44
  1349. package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js.map +0 -1
  1350. package/out/utils/transactions/getTransactionsHistory/index.js +0 -19
  1351. package/out/utils/transactions/getTransactionsHistory/index.js.map +0 -1
  1352. package/out/utils/transactions/index.js +0 -21
  1353. package/out/utils/transactions/index.js.map +0 -1
  1354. package/out/utils/transactions/isGuardianTx.js +0 -15
  1355. package/out/utils/transactions/isGuardianTx.js.map +0 -1
  1356. package/out/utils/transactions/tests/getExplorerkLink.test.js +0 -23
  1357. package/out/utils/transactions/tests/getExplorerkLink.test.js.map +0 -1
  1358. package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js +0 -118
  1359. package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js.map +0 -1
  1360. package/out/utils/validation/addressIsValid.js +0 -18
  1361. package/out/utils/validation/addressIsValid.js.map +0 -1
  1362. package/out/utils/validation/getIdentifierType.js +0 -31
  1363. package/out/utils/validation/getIdentifierType.js.map +0 -1
  1364. package/out/utils/validation/hex.js +0 -12
  1365. package/out/utils/validation/hex.js.map +0 -1
  1366. package/out/utils/validation/index.js +0 -22
  1367. package/out/utils/validation/index.js.map +0 -1
  1368. package/out/utils/validation/isContract.js +0 -65
  1369. package/out/utils/validation/isContract.js.map +0 -1
  1370. package/out/utils/validation/maxDecimals.js +0 -13
  1371. package/out/utils/validation/maxDecimals.js.map +0 -1
  1372. package/out/utils/validation/tests/isContract.test.js +0 -24
  1373. package/out/utils/validation/tests/isContract.test.js.map +0 -1
  1374. package/out/utils/visual/index.js +0 -18
  1375. package/out/utils/visual/index.js.map +0 -1
  1376. package/out/utils/visual/switchTheme.js +0 -15
  1377. package/out/utils/visual/switchTheme.js.map +0 -1
  1378. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +0 -11
  1379. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js.map +0 -1
  1380. package/out/utils/walletconnect/__sdkWalletconnectProvider.js +0 -9
  1381. package/out/utils/walletconnect/__sdkWalletconnectProvider.js.map +0 -1
  1382. package/out/utils/window/buildUrlParams.js +0 -14
  1383. package/out/utils/window/buildUrlParams.js.map +0 -1
  1384. package/out/utils/window/getIsAuthRoute.js +0 -22
  1385. package/out/utils/window/getIsAuthRoute.js.map +0 -1
  1386. package/out/utils/window/getIsInIframe.js +0 -26
  1387. package/out/utils/window/getIsInIframe.js.map +0 -1
  1388. package/out/utils/window/getWindowLocation.js +0 -32
  1389. package/out/utils/window/getWindowLocation.js.map +0 -1
  1390. package/out/utils/window/getWindowParentOrigin.js +0 -25
  1391. package/out/utils/window/getWindowParentOrigin.js.map +0 -1
  1392. package/out/utils/window/index.js +0 -23
  1393. package/out/utils/window/index.js.map +0 -1
  1394. package/out/utils/window/isWindowAvailable.js +0 -6
  1395. package/out/utils/window/isWindowAvailable.js.map +0 -1
  1396. package/out/utils/window/matchPath.js +0 -108
  1397. package/out/utils/window/matchPath.js.map +0 -1
  1398. package/out/utils/window/sanitizeCallbackUrl.js +0 -16
  1399. package/out/utils/window/sanitizeCallbackUrl.js.map +0 -1
  1400. package/out/utils/window/tests/buildUrlParams.test.js +0 -60
  1401. package/out/utils/window/tests/buildUrlParams.test.js.map +0 -1
  1402. package/out/utils/window/tests/getIsAuthRoute.test.js +0 -29
  1403. package/out/utils/window/tests/getIsAuthRoute.test.js.map +0 -1
  1404. package/out/utils/window/tests/getIsInIframe.test.js +0 -54
  1405. package/out/utils/window/tests/getIsInIframe.test.js.map +0 -1
  1406. package/out/utils/window/tests/getWindowLocation.test.js +0 -68
  1407. package/out/utils/window/tests/getWindowLocation.test.js.map +0 -1
  1408. package/out/utils/window/tests/getWindowParentOrigin.test.js +0 -88
  1409. package/out/utils/window/tests/getWindowParentOrigin.test.js.map +0 -1
  1410. package/out/utils/window/tests/sanitizeCallbackUrl.test.js +0 -30
  1411. package/out/utils/window/tests/sanitizeCallbackUrl.test.js.map +0 -1
  1412. /package/out/__chunks__/{chunk-YTFYVPZO.mjs.map → chunk-2DFE24NA.mjs.map} +0 -0
  1413. /package/out/__chunks__/{chunk-UX6FJB7S.mjs.map → chunk-2S4GDHPC.mjs.map} +0 -0
  1414. /package/out/__chunks__/{chunk-FIVH6RKU.mjs.map → chunk-2XGXXRSH.mjs.map} +0 -0
  1415. /package/out/__chunks__/{chunk-AK44E24X.mjs.map → chunk-3AALZJXX.mjs.map} +0 -0
  1416. /package/out/__chunks__/{chunk-NO7YH2FT.mjs.map → chunk-3C5GZ3BL.mjs.map} +0 -0
  1417. /package/out/__chunks__/{chunk-KEE42WYL.mjs.map → chunk-3IKGFPT3.mjs.map} +0 -0
  1418. /package/out/__chunks__/{chunk-FAOTAY77.mjs.map → chunk-3OZWOKL7.mjs.map} +0 -0
  1419. /package/out/__chunks__/{chunk-LIPGE2RA.mjs.map → chunk-52PGMMOM.mjs.map} +0 -0
  1420. /package/out/__chunks__/{chunk-R725UMBR.mjs.map → chunk-5AGNJNHL.mjs.map} +0 -0
  1421. /package/out/__chunks__/{chunk-5TVRGEID.mjs.map → chunk-5AITBRJM.mjs.map} +0 -0
  1422. /package/out/__chunks__/{chunk-2SOS3KAT.mjs.map → chunk-5E32AO3E.mjs.map} +0 -0
  1423. /package/out/__chunks__/{chunk-UBINPM6F.mjs.map → chunk-5IKWP24U.mjs.map} +0 -0
  1424. /package/out/__chunks__/{chunk-WPFFITFH.mjs.map → chunk-5J6OW5XP.mjs.map} +0 -0
  1425. /package/out/__chunks__/{chunk-APRKCU5W.mjs.map → chunk-5P5FMYGA.mjs.map} +0 -0
  1426. /package/out/__chunks__/{chunk-RWNPPIFD.mjs.map → chunk-66LM6A7E.mjs.map} +0 -0
  1427. /package/out/__chunks__/{chunk-YB7AHPBR.mjs.map → chunk-6D53LH5J.mjs.map} +0 -0
  1428. /package/out/__chunks__/{chunk-NGHOVWEO.mjs.map → chunk-6JIZDYQM.mjs.map} +0 -0
  1429. /package/out/__chunks__/{chunk-2HSERTN3.mjs.map → chunk-6K6VHJWQ.mjs.map} +0 -0
  1430. /package/out/__chunks__/{chunk-DHPD6E7P.mjs.map → chunk-7FEQBPHA.mjs.map} +0 -0
  1431. /package/out/__chunks__/{chunk-UFRAVF3S.mjs.map → chunk-7YHMRUFS.mjs.map} +0 -0
  1432. /package/out/__chunks__/{chunk-ISPRIGOE.mjs.map → chunk-AGUGUYQS.mjs.map} +0 -0
  1433. /package/out/__chunks__/{chunk-CBKDKXYT.mjs.map → chunk-AWVWVATR.mjs.map} +0 -0
  1434. /package/out/__chunks__/{chunk-6XOHFAL4.mjs.map → chunk-BYJK2EOI.mjs.map} +0 -0
  1435. /package/out/__chunks__/{chunk-BT27ZSJC.mjs.map → chunk-C7NS47QA.mjs.map} +0 -0
  1436. /package/out/__chunks__/{chunk-3AC72XDZ.mjs.map → chunk-CC4DXLNZ.mjs.map} +0 -0
  1437. /package/out/__chunks__/{chunk-53X3CO6E.mjs.map → chunk-CETMI3F5.mjs.map} +0 -0
  1438. /package/out/__chunks__/{chunk-UAW7SD6P.mjs.map → chunk-D2ULWBRR.mjs.map} +0 -0
  1439. /package/out/__chunks__/{chunk-MFBGRZPB.mjs.map → chunk-DF5ZV5BO.mjs.map} +0 -0
  1440. /package/out/__chunks__/{chunk-3MWXXTQQ.mjs.map → chunk-DFSBS3PX.mjs.map} +0 -0
  1441. /package/out/__chunks__/{chunk-XNPGQK42.mjs.map → chunk-DJWI5LZX.mjs.map} +0 -0
  1442. /package/out/__chunks__/{chunk-UPZSSHAY.mjs.map → chunk-DOU66R4K.mjs.map} +0 -0
  1443. /package/out/__chunks__/{chunk-IKVKOGWF.mjs.map → chunk-EJ2HUL6D.mjs.map} +0 -0
  1444. /package/out/__chunks__/{chunk-OWBEAOLJ.mjs.map → chunk-F5Q64A5W.mjs.map} +0 -0
  1445. /package/out/__chunks__/{chunk-266T724O.mjs.map → chunk-FCIBGJDC.mjs.map} +0 -0
  1446. /package/out/__chunks__/{chunk-FEFZKA2B.mjs.map → chunk-FKGDHZZJ.mjs.map} +0 -0
  1447. /package/out/__chunks__/{chunk-EQEYL6AE.mjs.map → chunk-FNYBJAH3.mjs.map} +0 -0
  1448. /package/out/__chunks__/{chunk-BU6PLF6D.mjs.map → chunk-GDF5AJ5S.mjs.map} +0 -0
  1449. /package/out/__chunks__/{chunk-KSKOSHYV.mjs.map → chunk-GFR6K4DR.mjs.map} +0 -0
  1450. /package/out/__chunks__/{chunk-PQUTSIC4.mjs.map → chunk-GMX4XDVR.mjs.map} +0 -0
  1451. /package/out/__chunks__/{chunk-LN5BGLT5.mjs.map → chunk-GSMTFDRE.mjs.map} +0 -0
  1452. /package/out/__chunks__/{chunk-2D4DUCY4.mjs.map → chunk-GUNYJMJE.mjs.map} +0 -0
  1453. /package/out/__chunks__/{chunk-PL7G674F.mjs.map → chunk-GY2WKBFX.mjs.map} +0 -0
  1454. /package/out/__chunks__/{chunk-DNHKXKYY.mjs.map → chunk-H33OUO77.mjs.map} +0 -0
  1455. /package/out/__chunks__/{chunk-PBBTJFMG.mjs.map → chunk-H7E4BCEJ.mjs.map} +0 -0
  1456. /package/out/__chunks__/{chunk-6FGDARXH.mjs.map → chunk-HIKIVTTW.mjs.map} +0 -0
  1457. /package/out/__chunks__/{chunk-E53QIC6C.mjs.map → chunk-HLORMFN4.mjs.map} +0 -0
  1458. /package/out/__chunks__/{chunk-CWENDDPJ.mjs.map → chunk-I5OYRIZC.mjs.map} +0 -0
  1459. /package/out/__chunks__/{chunk-JIJSBQEU.mjs.map → chunk-IE3A2COQ.mjs.map} +0 -0
  1460. /package/out/__chunks__/{chunk-UC4MBL7R.mjs.map → chunk-IINL5CEU.mjs.map} +0 -0
  1461. /package/out/__chunks__/{chunk-RGBXTDJ7.mjs.map → chunk-IVSP42IE.mjs.map} +0 -0
  1462. /package/out/__chunks__/{chunk-2RRXUGLI.mjs.map → chunk-IWHUAAVD.mjs.map} +0 -0
  1463. /package/out/__chunks__/{chunk-NCVIHQO4.mjs.map → chunk-IXGPMW52.mjs.map} +0 -0
  1464. /package/out/__chunks__/{chunk-NXJJ2A6Q.mjs.map → chunk-J6N7KVXV.mjs.map} +0 -0
  1465. /package/out/__chunks__/{chunk-KN7QMGWV.mjs.map → chunk-JAIA24ND.mjs.map} +0 -0
  1466. /package/out/__chunks__/{chunk-ICDD7V53.mjs.map → chunk-JIAKT3GI.mjs.map} +0 -0
  1467. /package/out/__chunks__/{chunk-BRBIUWAW.mjs.map → chunk-JMC7CMTU.mjs.map} +0 -0
  1468. /package/out/__chunks__/{chunk-DV3XIKOX.mjs.map → chunk-K4ITACAF.mjs.map} +0 -0
  1469. /package/out/__chunks__/{chunk-XRBOH3AB.mjs.map → chunk-K7R2V5KX.mjs.map} +0 -0
  1470. /package/out/__chunks__/{chunk-EFUXCZER.mjs.map → chunk-KXK3FLN2.mjs.map} +0 -0
  1471. /package/out/__chunks__/{chunk-UFMXBWCD.mjs.map → chunk-LM2GCQL5.mjs.map} +0 -0
  1472. /package/out/__chunks__/{chunk-O3V4TGXK.mjs.map → chunk-LN5UXO64.mjs.map} +0 -0
  1473. /package/out/__chunks__/{chunk-K4O6NCSM.mjs.map → chunk-LWDK4NX3.mjs.map} +0 -0
  1474. /package/out/__chunks__/{chunk-33D26THL.mjs.map → chunk-M2ZSNGPS.mjs.map} +0 -0
  1475. /package/out/__chunks__/{chunk-5MC44CTJ.mjs.map → chunk-M5T2OACP.mjs.map} +0 -0
  1476. /package/out/__chunks__/{chunk-Z5CDCI3Y.mjs.map → chunk-MDVI45IV.mjs.map} +0 -0
  1477. /package/out/__chunks__/{chunk-VSPA6MX4.mjs.map → chunk-ML7FXWAD.mjs.map} +0 -0
  1478. /package/out/__chunks__/{chunk-JHG3QIDR.mjs.map → chunk-MSQGMOCS.mjs.map} +0 -0
  1479. /package/out/__chunks__/{chunk-JLVWBFTU.mjs.map → chunk-N5DIMOWZ.mjs.map} +0 -0
  1480. /package/out/__chunks__/{chunk-VO7TNUQ6.mjs.map → chunk-NEHR66XQ.mjs.map} +0 -0
  1481. /package/out/__chunks__/{chunk-MPLLWF75.mjs.map → chunk-NKUK5GFB.mjs.map} +0 -0
  1482. /package/out/__chunks__/{chunk-FRPCFHSV.mjs.map → chunk-NVE5YTZK.mjs.map} +0 -0
  1483. /package/out/__chunks__/{chunk-ABHYXD3U.mjs.map → chunk-OLOCTHIE.mjs.map} +0 -0
  1484. /package/out/__chunks__/{chunk-MGF5WOBM.mjs.map → chunk-OX6DILCF.mjs.map} +0 -0
  1485. /package/out/__chunks__/{chunk-YQEOOE3H.mjs.map → chunk-PDEIJQWE.mjs.map} +0 -0
  1486. /package/out/__chunks__/{chunk-AV4HSXYZ.mjs.map → chunk-PHOF3Z5D.mjs.map} +0 -0
  1487. /package/out/__chunks__/{chunk-ZXIBFH6X.mjs.map → chunk-Q5Z34JFU.mjs.map} +0 -0
  1488. /package/out/__chunks__/{chunk-5VEB2Q3E.mjs.map → chunk-QAHFVBCD.mjs.map} +0 -0
  1489. /package/out/__chunks__/{chunk-3HHV6IM7.mjs.map → chunk-QGNMCCFK.mjs.map} +0 -0
  1490. /package/out/__chunks__/{chunk-LUDF7ZUR.mjs.map → chunk-QQAW7UC2.mjs.map} +0 -0
  1491. /package/out/__chunks__/{chunk-QMEKXQAU.mjs.map → chunk-QS2RBVTW.mjs.map} +0 -0
  1492. /package/out/__chunks__/{chunk-PYQHSRH3.mjs.map → chunk-RD2EB7NA.mjs.map} +0 -0
  1493. /package/out/__chunks__/{chunk-T5KTF5Z5.mjs.map → chunk-RHCAOCW3.mjs.map} +0 -0
  1494. /package/out/__chunks__/{chunk-VJJT22PO.mjs.map → chunk-RPTQJKFR.mjs.map} +0 -0
  1495. /package/out/__chunks__/{chunk-KT7RICHS.mjs.map → chunk-RSVM3MZD.mjs.map} +0 -0
  1496. /package/out/__chunks__/{chunk-PHEK22HL.mjs.map → chunk-RU7UYXPW.mjs.map} +0 -0
  1497. /package/out/__chunks__/{chunk-ZHAYVRGH.mjs.map → chunk-S5VF4GWN.mjs.map} +0 -0
  1498. /package/out/__chunks__/{chunk-YLJTXHF4.mjs.map → chunk-S6EACMBJ.mjs.map} +0 -0
  1499. /package/out/__chunks__/{chunk-JEB6OIJ7.mjs.map → chunk-SKCBMUQL.mjs.map} +0 -0
  1500. /package/out/__chunks__/{chunk-Y3FER7B6.mjs.map → chunk-TRIPQLQM.mjs.map} +0 -0
  1501. /package/out/__chunks__/{chunk-SCRYMTTV.mjs.map → chunk-TZ2EDK3R.mjs.map} +0 -0
  1502. /package/out/__chunks__/{chunk-VJ2DAL5M.mjs.map → chunk-U3UMCTU6.mjs.map} +0 -0
  1503. /package/out/__chunks__/{chunk-2I4BJK55.mjs.map → chunk-U4ZCGUVE.mjs.map} +0 -0
  1504. /package/out/__chunks__/{chunk-UGI3S542.mjs.map → chunk-U7E2AVPF.mjs.map} +0 -0
  1505. /package/out/__chunks__/{chunk-DRETVXSY.mjs.map → chunk-UCJMQJM4.mjs.map} +0 -0
  1506. /package/out/__chunks__/{chunk-QSBLXZFC.mjs.map → chunk-UCNS6KD5.mjs.map} +0 -0
  1507. /package/out/__chunks__/{chunk-QJSB5NX4.mjs.map → chunk-UERJ6AKK.mjs.map} +0 -0
  1508. /package/out/__chunks__/{chunk-BSWV5MEC.mjs.map → chunk-UK5MEKBE.mjs.map} +0 -0
  1509. /package/out/__chunks__/{chunk-KARM6PTO.mjs.map → chunk-UKGXMWHE.mjs.map} +0 -0
  1510. /package/out/__chunks__/{chunk-HCROEWHT.mjs.map → chunk-UO4CECP4.mjs.map} +0 -0
  1511. /package/out/__chunks__/{chunk-MC23BEFI.mjs.map → chunk-UTN4SJ54.mjs.map} +0 -0
  1512. /package/out/__chunks__/{chunk-B6UQJ7RN.mjs.map → chunk-UVN6CHEM.mjs.map} +0 -0
  1513. /package/out/__chunks__/{chunk-NEPD4C5Y.mjs.map → chunk-VG7UDG2S.mjs.map} +0 -0
  1514. /package/out/__chunks__/{chunk-MMJFQNPX.mjs.map → chunk-WBPXPWSV.mjs.map} +0 -0
  1515. /package/out/__chunks__/{chunk-VU3NDTLL.mjs.map → chunk-WIHG6SHO.mjs.map} +0 -0
  1516. /package/out/__chunks__/{chunk-W77E3MVG.mjs.map → chunk-WTBHS6AM.mjs.map} +0 -0
  1517. /package/out/__chunks__/{chunk-7BP53CXF.mjs.map → chunk-WZGG2YKQ.mjs.map} +0 -0
  1518. /package/out/__chunks__/{chunk-P3BXXGQA.mjs.map → chunk-XCVEFI4B.mjs.map} +0 -0
  1519. /package/out/__chunks__/{chunk-VN3A7GN4.mjs.map → chunk-XFYYVB6G.mjs.map} +0 -0
  1520. /package/out/__chunks__/{chunk-DT6YLEPL.mjs.map → chunk-YNXPGS77.mjs.map} +0 -0
  1521. /package/out/__chunks__/{chunk-OWZ7T4JN.mjs.map → chunk-YTA6XGBJ.mjs.map} +0 -0
  1522. /package/out/__chunks__/{chunk-ATOIEDNS.mjs.map → chunk-YVVAPGXF.mjs.map} +0 -0
@@ -1,164 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const __mocks__1 = require("../../../../../__mocks__");
4
- const transactionStateByStatus_1 = require("../../../../../store/actions/transactions/transactionStateByStatus");
5
- const enums_types_1 = require("../../../../../types/enums.types");
6
- const helpers_1 = require("../../../../../utils/transactions/getTransactionsHistory/helpers");
7
- const createToastsFromTransactions_1 = require("../createToastsFromTransactions");
8
- const createTransactionToast_1 = require("../createTransactionToast");
9
- const baseTransactionMock_1 = require("./baseTransactionMock");
10
- jest.mock('utils/transactions/getTransactionsHistory/helpers', () => ({
11
- mapServerTransactionsToListItems: jest.fn()
12
- }));
13
- jest.mock('store/actions/transactions/transactionStateByStatus', () => ({
14
- getIsTransactionPending: jest.fn(),
15
- getIsTransactionTimedOut: jest.fn(),
16
- getIsTransactionFailed: jest.fn(),
17
- getIsTransactionSuccessful: jest.fn()
18
- }));
19
- jest.mock('../createTransactionToast', () => ({
20
- createTransactionToast: jest.fn().mockImplementation(({ toastId }) => ({
21
- toastId
22
- }))
23
- }));
24
- describe('createToastsFromTransactions', () => {
25
- const TOAST_IDS = {
26
- PENDING: 'pending-toast',
27
- SUCCESS: 'success-toast',
28
- EXISTING: 'existing-toast',
29
- MISSING: 'missing-toast'
30
- };
31
- const mockTx = {
32
- nonce: 0,
33
- value: '0',
34
- receiver: __mocks__1.testAddress,
35
- sender: __mocks__1.testAddress,
36
- gasPrice: 1000000000,
37
- gasLimit: 50000,
38
- data: '',
39
- chainID: '1',
40
- version: 1,
41
- options: 0,
42
- signature: '',
43
- hash: ''
44
- };
45
- const mockAccount = {
46
- address: __mocks__1.testAddress,
47
- accounts: {},
48
- publicKey: '',
49
- ledgerAccount: null,
50
- walletConnectAccount: null,
51
- websocketEvent: null,
52
- websocketBatchEvent: null
53
- };
54
- const mockDisplayInfo = {
55
- processingMessage: 'Processing',
56
- successMessage: 'Success',
57
- errorMessage: 'Error',
58
- receivedMessage: 'Received',
59
- timedOutMessage: 'Timed Out',
60
- invalidMessage: 'Invalid'
61
- };
62
- const createMockToast = (toastId) => {
63
- const now = Date.now();
64
- return {
65
- toastId,
66
- startTime: now,
67
- endTime: now
68
- };
69
- };
70
- const createMockSession = (status, transactionHash) => ({
71
- status,
72
- transactions: [{ ...mockTx, hash: transactionHash }],
73
- transactionsDisplayInfo: mockDisplayInfo
74
- });
75
- beforeEach(() => {
76
- jest.clearAllMocks();
77
- helpers_1.mapServerTransactionsToListItems.mockImplementation(({ transactions }) => Promise.resolve(transactions.map((transaction) => ({
78
- ...baseTransactionMock_1.baseTransactionMock,
79
- hash: transaction.hash
80
- }))));
81
- });
82
- it('should return empty arrays for processing and completed transactions when no transactions exist', async () => {
83
- const result = await (0, createToastsFromTransactions_1.createToastsFromTransactions)({
84
- toastList: { transactionToasts: [], customToasts: [] },
85
- transactionsSessions: {},
86
- account: mockAccount
87
- });
88
- expect(result).toEqual({
89
- pendingTransactionToasts: [],
90
- completedTransactionToasts: []
91
- });
92
- });
93
- it('should correctly classify transactions as processing or completed based on their status', async () => {
94
- transactionStateByStatus_1.getIsTransactionPending.mockImplementation((status) => status === enums_types_1.TransactionServerStatusesEnum.pending);
95
- transactionStateByStatus_1.getIsTransactionSuccessful.mockImplementation((status) => status === enums_types_1.TransactionServerStatusesEnum.success);
96
- const toastList = {
97
- transactionToasts: [
98
- createMockToast(TOAST_IDS.PENDING),
99
- createMockToast(TOAST_IDS.SUCCESS)
100
- ],
101
- customToasts: []
102
- };
103
- const transactionsSessions = {
104
- [TOAST_IDS.PENDING]: createMockSession(enums_types_1.TransactionServerStatusesEnum.pending, 'tx-1'),
105
- [TOAST_IDS.SUCCESS]: createMockSession(enums_types_1.TransactionServerStatusesEnum.success, 'tx-2')
106
- };
107
- const result = await (0, createToastsFromTransactions_1.createToastsFromTransactions)({
108
- toastList,
109
- transactionsSessions,
110
- account: mockAccount
111
- });
112
- expect(result.pendingTransactionToasts).toHaveLength(1);
113
- expect(result.pendingTransactionToasts[0].toastId).toBe(TOAST_IDS.PENDING);
114
- expect(result.completedTransactionToasts).toHaveLength(1);
115
- expect(result.completedTransactionToasts[0].toastId).toBe(TOAST_IDS.SUCCESS);
116
- });
117
- it('should preserve existing completed transactions and not create duplicates when same transaction is processed again', async () => {
118
- transactionStateByStatus_1.getIsTransactionSuccessful.mockReturnValue(true);
119
- const existingCompleted = [
120
- {
121
- toastId: TOAST_IDS.EXISTING,
122
- processedTransactionsStatus: enums_types_1.TransactionServerStatusesEnum.success,
123
- transactions: [],
124
- toastDataState: {
125
- id: TOAST_IDS.EXISTING,
126
- icon: 'check',
127
- hasCloseButton: true,
128
- title: 'Transaction successful',
129
- iconClassName: enums_types_1.TransactionServerStatusesEnum.success
130
- }
131
- }
132
- ];
133
- const toastList = {
134
- transactionToasts: [createMockToast(TOAST_IDS.EXISTING)],
135
- customToasts: []
136
- };
137
- const transactionsSessions = {
138
- [TOAST_IDS.EXISTING]: createMockSession(enums_types_1.TransactionServerStatusesEnum.success, 'tx-existing')
139
- };
140
- const result = await (0, createToastsFromTransactions_1.createToastsFromTransactions)({
141
- toastList,
142
- transactionsSessions,
143
- account: mockAccount,
144
- existingCompletedTransactions: existingCompleted
145
- });
146
- expect(result.completedTransactionToasts).toHaveLength(1);
147
- expect(createTransactionToast_1.createTransactionToast).not.toHaveBeenCalled();
148
- });
149
- it('should safely handle transactions with missing session data without creating toasts', async () => {
150
- const toastList = {
151
- transactionToasts: [createMockToast(TOAST_IDS.MISSING)],
152
- customToasts: []
153
- };
154
- const result = await (0, createToastsFromTransactions_1.createToastsFromTransactions)({
155
- toastList,
156
- transactionsSessions: {},
157
- account: mockAccount
158
- });
159
- expect(result.pendingTransactionToasts).toHaveLength(0);
160
- expect(result.completedTransactionToasts).toHaveLength(0);
161
- expect(createTransactionToast_1.createTransactionToast).not.toHaveBeenCalled();
162
- });
163
- });
164
- //# sourceMappingURL=createToastsFromTransactions.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createToastsFromTransactions.test.js","sourceRoot":"","sources":["../../../../../../src/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.ts"],"names":[],"mappings":";;AAAA,wCAAwC;AACxC,kGAG6D;AAE7D,mDAAkE;AAKlE,+EAAqG;AAErG,kFAA+E;AAC/E,sEAAmE;AACnE,+DAA4D;AAE5D,IAAI,CAAC,IAAI,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAAC,CAAC;IACpE,gCAAgC,EAAE,IAAI,CAAC,EAAE,EAAE;CAC5C,CAAC,CAAC,CAAC;AAEJ,IAAI,CAAC,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE,CAAC,CAAC;IACtE,uBAAuB,EAAE,IAAI,CAAC,EAAE,EAAE;IAClC,wBAAwB,EAAE,IAAI,CAAC,EAAE,EAAE;IACnC,sBAAsB,EAAE,IAAI,CAAC,EAAE,EAAE;IACjC,0BAA0B,EAAE,IAAI,CAAC,EAAE,EAAE;CACtC,CAAC,CAAC,CAAC;AAEJ,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE,GAAG,EAAE,CAAC,CAAC;IAC5C,sBAAsB,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;QACrE,OAAO;KACR,CAAC,CAAC;CACJ,CAAC,CAAC,CAAC;AAEJ,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC5C,MAAM,SAAS,GAAG;QAChB,OAAO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S,CAAC,QAAQ,CAAC,CAAC;YACxD,YAAY,EAAE,EAAE;SACjB,CAAC;QAEF,MAAM,oBAAoB,GAAG;YAC3B,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CACrC,2CAA6B,CAAC,OAAO,EACrC,aAAa,CACd;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAA,2DAA4B,EAAC;YAChD,SAAS;YACT,oBAAoB;YACpB,OAAO,EAAE,WAAW;YACpB,6BAA6B,EAAE,iBAAiB;SACjD,CAAC,CAAC;QAEH,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QAC1D,MAAM,CAAC,+CAAsB,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qFAAqF,EAAE,KAAK,IAAI,EAAE;QACnG,MAAM,SAAS,GAAG;YAChB,iBAAiB,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACvD,YAAY,EAAE,EAAE;SACjB,CAAC;QAEF,MAAM,MAAM,GAAG,MAAM,IAAA,2DAA4B,EAAC;YAChD,SAAS;YACT,oBAAoB,EAAE,EAAE;YACxB,OAAO,EAAE,WAAW;SACrB,CAAC,CAAC;QAEH,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QACxD,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QAC1D,MAAM,CAAC,+CAAsB,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,150 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const accountConfig_1 = require("../../../../../__mocks__/accountConfig");
4
- const transactionStateByStatus_1 = require("../../../../../store/actions/transactions/transactionStateByStatus");
5
- const enums_types_1 = require("../../../../../types/enums.types");
6
- const createTransactionToast_1 = require("../createTransactionToast");
7
- const getToastDataStateByStatus_1 = require("../getToastDataStateByStatus");
8
- const getToastTransactionsStatus_1 = require("../getToastTransactionsStatus");
9
- jest.mock('store/actions/transactions/transactionStateByStatus', () => ({
10
- getIsTransactionPending: jest.fn()
11
- }));
12
- jest.mock('../getToastDataStateByStatus', () => ({
13
- getToastDataStateByStatus: jest.fn()
14
- }));
15
- jest.mock('../getToastTransactionsStatus', () => ({
16
- getToastTransactionsStatus: jest.fn()
17
- }));
18
- jest.mock('utils/transactions/explorerUrlBuilder', () => ({
19
- explorerUrlBuilder: {
20
- transactionDetails: jest.fn((hash) => `tx/${hash}`)
21
- }
22
- }));
23
- jest.mock('utils/transactions/getExplorerLink', () => ({
24
- getExplorerLink: jest.fn(({ explorerAddress, to }) => `${explorerAddress}/${to}`)
25
- }));
26
- describe('createTransactionToast', () => {
27
- const TOAST_IDS = {
28
- PENDING: 'pending-toast',
29
- SUCCESS: 'success-toast'
30
- };
31
- const EXPLORER_ADDRESS = 'https://explorer.example.com';
32
- const baseTransaction = {
33
- status: enums_types_1.TransactionServerStatusesEnum.success,
34
- asset: null,
35
- action: { name: 'Transfer' },
36
- link: `${EXPLORER_ADDRESS}/tx/tx-hash`,
37
- hash: 'tx-hash',
38
- interactor: accountConfig_1.testAddress,
39
- directionLabel: 'To',
40
- amount: '1 EGLD',
41
- timestamp: Date.now()
42
- };
43
- beforeEach(() => {
44
- jest.clearAllMocks();
45
- });
46
- it('should create a pending transaction toast with progress state and explorer link', () => {
47
- const now = Date.now();
48
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(true);
49
- getToastDataStateByStatus_1.getToastDataStateByStatus.mockReturnValue({
50
- state: 'pending'
51
- });
52
- getToastTransactionsStatus_1.getToastTransactionsStatus.mockReturnValue('Processing');
53
- const result = (0, createTransactionToast_1.createTransactionToast)({
54
- toastId: TOAST_IDS.PENDING,
55
- address: accountConfig_1.testAddress,
56
- status: enums_types_1.TransactionServerStatusesEnum.pending,
57
- transactions: [
58
- { ...baseTransaction, status: enums_types_1.TransactionServerStatusesEnum.pending }
59
- ],
60
- transactionsDisplayInfo: { processingMessage: 'Pending Transaction' },
61
- explorerAddress: EXPLORER_ADDRESS,
62
- startTime: now,
63
- endTime: now + 1000
64
- });
65
- expect(result).toEqual({
66
- toastId: TOAST_IDS.PENDING,
67
- toastDataState: { state: 'pending' },
68
- processedTransactionsStatus: 'Processing',
69
- transactionProgressState: {
70
- startTime: now,
71
- endTime: now + 1000
72
- },
73
- transactions: [
74
- {
75
- ...baseTransaction,
76
- status: enums_types_1.TransactionServerStatusesEnum.pending
77
- }
78
- ]
79
- });
80
- });
81
- it('should create a completed transaction toast without progress state', () => {
82
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(false);
83
- getToastDataStateByStatus_1.getToastDataStateByStatus.mockReturnValue({
84
- state: 'success'
85
- });
86
- getToastTransactionsStatus_1.getToastTransactionsStatus.mockReturnValue('Completed');
87
- const result = (0, createTransactionToast_1.createTransactionToast)({
88
- toastId: TOAST_IDS.SUCCESS,
89
- address: accountConfig_1.testAddress,
90
- status: enums_types_1.TransactionServerStatusesEnum.success,
91
- transactions: [
92
- { ...baseTransaction, status: enums_types_1.TransactionServerStatusesEnum.success }
93
- ],
94
- transactionsDisplayInfo: { successMessage: 'Successful Transaction' },
95
- explorerAddress: EXPLORER_ADDRESS,
96
- startTime: 1000,
97
- endTime: 2000
98
- });
99
- expect(result).toEqual({
100
- toastId: TOAST_IDS.SUCCESS,
101
- toastDataState: { state: 'success' },
102
- processedTransactionsStatus: 'Completed',
103
- transactionProgressState: null,
104
- transactions: [
105
- {
106
- ...baseTransaction,
107
- status: enums_types_1.TransactionServerStatusesEnum.success
108
- }
109
- ]
110
- });
111
- });
112
- it('should handle multiple transactions by creating explorer links for each', () => {
113
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(false);
114
- getToastDataStateByStatus_1.getToastDataStateByStatus.mockReturnValue({
115
- state: 'success'
116
- });
117
- getToastTransactionsStatus_1.getToastTransactionsStatus.mockReturnValue('All Completed');
118
- const transactions = [
119
- {
120
- ...baseTransaction,
121
- hash: 'tx-1',
122
- link: `${EXPLORER_ADDRESS}/tx/tx-1`,
123
- status: enums_types_1.TransactionServerStatusesEnum.success
124
- },
125
- {
126
- ...baseTransaction,
127
- hash: 'tx-2',
128
- link: `${EXPLORER_ADDRESS}/tx/tx-2`,
129
- status: enums_types_1.TransactionServerStatusesEnum.success
130
- }
131
- ];
132
- const result = (0, createTransactionToast_1.createTransactionToast)({
133
- toastId: TOAST_IDS.SUCCESS,
134
- address: accountConfig_1.testAddress,
135
- status: enums_types_1.TransactionServerStatusesEnum.success,
136
- transactions,
137
- transactionsDisplayInfo: {
138
- processingMessage: 'Multiple Transactions',
139
- successMessage: 'Multiple Transactions Description'
140
- },
141
- explorerAddress: EXPLORER_ADDRESS,
142
- startTime: 1000,
143
- endTime: 2000
144
- });
145
- expect(result.transactions).toHaveLength(2);
146
- expect(result.transactions[0].link).toBe(`${EXPLORER_ADDRESS}/tx/tx-1`);
147
- expect(result.transactions[1].link).toBe(`${EXPLORER_ADDRESS}/tx/tx-2`);
148
- });
149
- });
150
- //# sourceMappingURL=createTransactionToast.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTransactionToast.test.js","sourceRoot":"","sources":["../../../../../../src/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.ts"],"names":[],"mappings":";;AAAA,2DAAsD;AAEtD,kGAA8F;AAC9F,mDAAkE;AAClE,sEAAmE;AACnE,4EAAyE;AACzE,8EAA2E;AAE3E,IAAI,CAAC,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE,CAAC,CAAC;IACtE,uBAAuB,EAAE,IAAI,CAAC,EAAE,EAAE;CACnC,CAAC,CAAC,CAAC;AAEJ,IAAI,CAAC,IAAI,CAAC,8BAA8B,EAAE,G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E,GAAG,gBAAgB,UAAU;gBACnC,MAAM,EAAE,2CAA6B,CAAC,OAAO;aAC9C;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,+CAAsB,EAAC;YACpC,OAAO,EAAE,SAAS,CAAC,OAAO;YAC1B,OAAO,EAAE,2BAAW;YACpB,MAAM,EAAE,2CAA6B,CAAC,OAAO;YAC7C,YAAY;YACZ,uBAAuB,EAAE;gBACvB,iBAAiB,EAAE,uBAAuB;gBAC1C,cAAc,EAAE,mCAAmC;aACpD;YACD,eAAe,EAAE,gBAAgB;YACjC,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;QAEH,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QAC5C,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,gBAAgB,UAAU,CAAC,CAAC;QACxE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,gBAAgB,UAAU,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,112 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const transactionStateByStatus_1 = require("../../../../../store/actions/transactions/transactionStateByStatus");
4
- const enums_types_1 = require("../../../../../types/enums.types");
5
- const getToastDataStateByStatus_1 = require("../getToastDataStateByStatus");
6
- jest.mock('store/actions/transactions/transactionStateByStatus', () => ({
7
- getIsTransactionPending: jest.fn(),
8
- getIsTransactionTimedOut: jest.fn(),
9
- getIsTransactionFailed: jest.fn(),
10
- getIsTransactionSuccessful: jest.fn()
11
- }));
12
- describe('getToastDataStateByStatus', () => {
13
- beforeEach(() => {
14
- jest.clearAllMocks();
15
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(false);
16
- transactionStateByStatus_1.getIsTransactionTimedOut.mockReturnValue(false);
17
- transactionStateByStatus_1.getIsTransactionFailed.mockReturnValue(false);
18
- transactionStateByStatus_1.getIsTransactionSuccessful.mockReturnValue(false);
19
- });
20
- it('should return pending state when transaction is pending', () => {
21
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(true);
22
- const params = {
23
- address: 'user-address',
24
- sender: 'user-address',
25
- toastId: 'toast-123',
26
- status: enums_types_1.TransactionServerStatusesEnum.pending,
27
- transactionsDisplayInfo: {
28
- successMessage: '',
29
- errorMessage: '',
30
- processingMessage: '',
31
- pendingMessage: ''
32
- }
33
- };
34
- const result = (0, getToastDataStateByStatus_1.getToastDataStateByStatus)(params);
35
- expect(result).toHaveProperty('icon');
36
- expect(result).toHaveProperty('hasCloseButton', false);
37
- });
38
- it('should return successful state when transaction is successful', () => {
39
- transactionStateByStatus_1.getIsTransactionSuccessful.mockReturnValue(true);
40
- const params = {
41
- address: 'user-address',
42
- sender: 'user-address',
43
- toastId: 'toast-123',
44
- status: enums_types_1.TransactionServerStatusesEnum.success,
45
- transactionsDisplayInfo: {
46
- successMessage: 'Transaction completed successfully!',
47
- errorMessage: '',
48
- processingMessage: '',
49
- pendingMessage: ''
50
- }
51
- };
52
- const result = (0, getToastDataStateByStatus_1.getToastDataStateByStatus)(params);
53
- expect(result).toHaveProperty('icon');
54
- expect(result).toHaveProperty('hasCloseButton', true);
55
- expect(result).toHaveProperty('iconClassName');
56
- });
57
- it('should return failed state when transaction fails', () => {
58
- transactionStateByStatus_1.getIsTransactionFailed.mockReturnValue(true);
59
- const params = {
60
- address: 'user-address',
61
- sender: 'user-address',
62
- toastId: 'toast-123',
63
- status: enums_types_1.TransactionServerStatusesEnum.fail,
64
- transactionsDisplayInfo: {
65
- successMessage: '',
66
- errorMessage: 'Transaction failed!',
67
- processingMessage: '',
68
- pendingMessage: ''
69
- }
70
- };
71
- const result = (0, getToastDataStateByStatus_1.getToastDataStateByStatus)(params);
72
- expect(result).toHaveProperty('icon');
73
- expect(result).toHaveProperty('hasCloseButton', true);
74
- expect(result).toHaveProperty('iconClassName');
75
- });
76
- it('should return timed out state when transaction times out', () => {
77
- transactionStateByStatus_1.getIsTransactionTimedOut.mockReturnValue(true);
78
- const params = {
79
- address: 'user-address',
80
- sender: 'user-address',
81
- toastId: 'toast-123',
82
- status: enums_types_1.TransactionServerStatusesEnum.fail,
83
- transactionsDisplayInfo: {
84
- successMessage: '',
85
- errorMessage: '',
86
- processingMessage: '',
87
- pendingMessage: ''
88
- }
89
- };
90
- const result = (0, getToastDataStateByStatus_1.getToastDataStateByStatus)(params);
91
- expect(result).toHaveProperty('icon');
92
- expect(result).toHaveProperty('hasCloseButton', true);
93
- });
94
- it('should handle case when sender is different from user address', () => {
95
- transactionStateByStatus_1.getIsTransactionPending.mockReturnValue(true);
96
- const params = {
97
- address: 'user-address',
98
- sender: 'different-address',
99
- toastId: 'toast-123',
100
- status: enums_types_1.TransactionServerStatusesEnum.pending,
101
- transactionsDisplayInfo: {
102
- successMessage: '',
103
- errorMessage: '',
104
- processingMessage: '',
105
- pendingMessage: ''
106
- }
107
- };
108
- const result = (0, getToastDataStateByStatus_1.getToastDataStateByStatus)(params);
109
- expect(result).toBeTruthy();
110
- });
111
- });
112
- //# sourceMappingURL=getToastDataStateByStatus.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getToastDataStateByStatus.test.js","sourceRoot":"","sources":["../../../../../../src/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.ts"],"names":[],"mappings":";;AAAA,kGAK6D;AAC7D,mDAAkE;AAClE,4EAAyE;AAEzE,IAAI,CAAC,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE,CAAC,CAAC;IACtE,uBAAuB,EAAE,IAAI,CAAC,EAAE,EAAE;IAClC,wBAAwB,EAAE,IAAI,CAAC,EAAE,EAAE;IACnC,sBAAsB,EAAE,IAAI,CAAC,EAAE,EAAE;IACjC,0BAA0B,EAAE,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YACb,OAAO,EAAE,cAAc;YACvB,MAAM,EAAE,cAAc;YACtB,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,2CAA6B,CAAC,IAAI;YAC1C,uBAAuB,EAAE;gBACvB,cAAc,EAAE,EAAE;gBAClB,YAAY,EAAE,EAAE;gBAChB,iBAAiB,EAAE,EAAE;gBACrB,cAAc,EAAE,EAAE;aACnB;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,qDAAyB,EAAC,MAAM,CAAC,CAAC;QACjD,MAAM,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACtE,kDAAqC,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE7D,MAAM,MAAM,GAAG;YACb,OAAO,EAAE,cAAc;YACvB,MAAM,EAAE,mBAAmB;YAC3B,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,2CAA6B,CAAC,OAAO;YAC7C,uBAAuB,EAAE;gBACvB,cAAc,EAAE,EAAE;gBAClB,YAAY,EAAE,EAAE;gBAChB,iBAAiB,EAAE,EAAE;gBACrB,cAAc,EAAE,EAAE;aACnB;SACF,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,qDAAyB,EAAC,MAAM,CAAC,CAAC;QACjD,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const transactionStateByStatus_1 = require("../../../../../store/actions/transactions/transactionStateByStatus");
4
- const enums_types_1 = require("../../../../../types/enums.types");
5
- const getToastTransactionsStatus_1 = require("../getToastTransactionsStatus");
6
- const baseTransactionMock_1 = require("./baseTransactionMock");
7
- jest.mock('store/actions/transactions/transactionStateByStatus', () => ({
8
- isServerTransactionPending: jest.fn()
9
- }));
10
- describe('getToastProceededStatus', () => {
11
- beforeEach(() => {
12
- jest.clearAllMocks();
13
- });
14
- it('should return correct message for single pending or completed transaction', () => {
15
- const pendingTx = {
16
- ...baseTransactionMock_1.baseTransactionMock,
17
- status: enums_types_1.TransactionServerStatusesEnum.pending
18
- };
19
- const successTx = {
20
- ...baseTransactionMock_1.baseTransactionMock,
21
- status: enums_types_1.TransactionServerStatusesEnum.success
22
- };
23
- transactionStateByStatus_1.isServerTransactionPending.mockImplementation((status) => status === enums_types_1.TransactionServerStatusesEnum.pending);
24
- expect((0, getToastTransactionsStatus_1.getToastTransactionsStatus)([pendingTx])).toBe('0 / 1 transactions processed');
25
- expect((0, getToastTransactionsStatus_1.getToastTransactionsStatus)([successTx])).toBe('Transaction processed');
26
- });
27
- it('should show fraction of completed transactions when handling multiple transactions with mixed states', () => {
28
- const transactions = [
29
- {
30
- ...baseTransactionMock_1.baseTransactionMock,
31
- status: enums_types_1.TransactionServerStatusesEnum.success
32
- },
33
- {
34
- ...baseTransactionMock_1.baseTransactionMock,
35
- status: enums_types_1.TransactionServerStatusesEnum.pending,
36
- hash: '456',
37
- link: 'https://explorer.example.com/tx/456'
38
- },
39
- {
40
- ...baseTransactionMock_1.baseTransactionMock,
41
- status: enums_types_1.TransactionServerStatusesEnum.fail,
42
- hash: '789',
43
- link: 'https://explorer.example.com/tx/789'
44
- }
45
- ];
46
- transactionStateByStatus_1.isServerTransactionPending.mockImplementation((status) => status === enums_types_1.TransactionServerStatusesEnum.pending);
47
- expect((0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions)).toBe('2 / 3 transactions processed');
48
- });
49
- it('should handle empty array and transactions with undefined status', () => {
50
- const emptyTransactions = [];
51
- const undefinedStatusTx = {
52
- ...baseTransactionMock_1.baseTransactionMock,
53
- status: undefined
54
- };
55
- transactionStateByStatus_1.isServerTransactionPending.mockReturnValue(true);
56
- expect((0, getToastTransactionsStatus_1.getToastTransactionsStatus)(emptyTransactions)).toBe('0 / 0 transactions processed');
57
- expect((0, getToastTransactionsStatus_1.getToastTransactionsStatus)([undefinedStatusTx])).toBe('0 / 1 transactions processed');
58
- });
59
- });
60
- //# sourceMappingURL=getToastTransactionsStatus.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getToastTransactionsStatus.test.js","sourceRoot":"","sources":["../../../../../../src/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.ts"],"names":[],"mappings":";;AACA,kGAAiG;AACjG,mDAAkE;AAClE,8EAA2E;AAC3E,+DAA4D;AAC5D,IAAI,CAAC,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE,CAAC,CAAC;IACtE,0BAA0B,EAAE,IAAI,CAAC,EAAE,EAAE;CACtC,CAAC,CAAC,CAAC;AAEJ,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,aAAa,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2EAA2E,EAAE,GAAG,EAAE;QACnF,MAAM,SAAS,GAAyB;YACtC,GAAG,yCAAmB;YACtB,MAAM,EAAE,2CAA6B,CAAC,OAAO;SAC9C,CAAC;QAEF,MAAM,SAAS,GAAyB;YACtC,GAAG,yCAAmB;YACtB,MAAM,EAAE,2CAA6B,CAAC,OAAO;SAC9C,CAAC;QAED,qDAAwC,CAAC,kBAAkB,CAC1D,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,KAAK,2CAA6B,CAAC,OAAO,CAC7D,CAAC;QAEF,MAAM,CAAC,IAAA,uDAA0B,EAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAClD,8BAA8B,CAC/B,CAAC;QAEF,MAAM,CAAC,IAAA,uDAA0B,EAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CACl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
- const accountConfig_1 = require("../../../../__mocks__/accountConfig");
4
- const transactionStateByStatus_1 = require("../../../../store/actions/transactions/transactionStateByStatus");
5
- const types_1 = require("../../../../types");
6
- const getToastTransactionsStatus_1 = require("../helpers/getToastTransactionsStatus");
7
- jest.mock('store/actions/transactions/transactionStateByStatus');
8
- describe('getToastProceededStatus', () => {
9
- const baseTransaction = {
10
- status: types_1.TransactionServerStatusesEnum.success,
11
- asset: null,
12
- action: { name: 'Transfer' },
13
- link: 'https://explorer.example.com/tx/123',
14
- hash: '123',
15
- interactor: accountConfig_1.testAddress,
16
- directionLabel: 'To',
17
- amount: '1 EGLD',
18
- timestamp: Date.now()
19
- };
20
- beforeEach(() => {
21
- jest.resetAllMocks();
22
- });
23
- it('should return "Transaction processed" for a single processed transaction', () => {
24
- const transactions = [baseTransaction];
25
- transactionStateByStatus_1.isServerTransactionPending.mockReturnValue(false);
26
- const result = (0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions);
27
- expect(result).toBe('Transaction processed');
28
- });
29
- it('should return "0 / 1 transactions processed" for a single pending transaction', () => {
30
- const transactions = [
31
- { ...baseTransaction, status: types_1.TransactionServerStatusesEnum.pending }
32
- ];
33
- transactionStateByStatus_1.isServerTransactionPending.mockReturnValue(true);
34
- const result = (0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions);
35
- expect(result).toBe('0 / 1 transactions processed');
36
- });
37
- it('should return "1 / 2 transactions processed" for multiple transactions with one processed', () => {
38
- const transactions = [
39
- baseTransaction,
40
- {
41
- ...baseTransaction,
42
- status: types_1.TransactionServerStatusesEnum.pending,
43
- hash: '456',
44
- link: 'https://explorer.example.com/tx/456'
45
- }
46
- ];
47
- transactionStateByStatus_1.isServerTransactionPending.mockImplementation((status) => status === types_1.TransactionServerStatusesEnum.pending);
48
- const result = (0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions);
49
- expect(result).toBe('1 / 2 transactions processed');
50
- });
51
- it('should return "0 / 2 transactions processed" for multiple pending transactions', () => {
52
- const transactions = [
53
- { ...baseTransaction, status: types_1.TransactionServerStatusesEnum.pending },
54
- {
55
- ...baseTransaction,
56
- status: types_1.TransactionServerStatusesEnum.pending,
57
- hash: '456',
58
- link: 'https://explorer.example.com/tx/456'
59
- }
60
- ];
61
- transactionStateByStatus_1.isServerTransactionPending.mockReturnValue(true);
62
- const result = (0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions);
63
- expect(result).toBe('0 / 2 transactions processed');
64
- });
65
- it('should return "2 / 2 transactions processed" for multiple processed transactions', () => {
66
- const transactions = [
67
- baseTransaction,
68
- {
69
- ...baseTransaction,
70
- hash: '456',
71
- link: 'https://explorer.example.com/tx/456'
72
- }
73
- ];
74
- transactionStateByStatus_1.isServerTransactionPending.mockReturnValue(false);
75
- const result = (0, getToastTransactionsStatus_1.getToastTransactionsStatus)(transactions);
76
- expect(result).toBe('2 / 2 transactions processed');
77
- });
78
- });
79
- //# sourceMappingURL=getToastProceededStatus.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getToastProceededStatus.test.js","sourceRoot":"","sources":["../../../../../src/managers/internal/ToastManager/tests/getToastProceededStatus.test.ts"],"names":[],"mappings":";;AAAA,2DAAsD;AAEtD,kGAAiG;AACjG,iCAAsD;AACtD,sFAAmF;AAEnF,IAAI,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;AAEjE,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,MAAM,eAAe,GAAyB;QAC5C,MAAM,EAAE,qCAA6B,CAAC,OAAO;QAC7C,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QAC5B,IAAI,EAAE,qCAAqC;QAC3C,IAAI,EAAE,KAAK;QACX,UAAU,EAAE,2BAAW;QACvB,cAAc,EAAE,IAAI;QACpB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACtB,CAAC;IAEF,UAAU,CAAC,GA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AAgF,EAAE,GAAG,EAAE;QACxF,MAAM,YAAY,GAA2B;YAC3C,EAAE,GAAG,eAAe,EAAE,MAAM,EAAE,qCAA6B,CAAC,OAAO,EAAE;YACrE;gBACE,GAAG,eAAe;gBAClB,MAAM,EAAE,qCAA6B,CAAC,OAAO;gBAC7C,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,qCAAqC;aAC5C;SACF,CAAC;QACD,qDAAwC,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAEhE,MAAM,MAAM,GAAG,IAAA,uDAA0B,EAAC,YAAY,CAAC,CAAC;QAExD,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kFAAkF,EAAE,GAAG,EAAE;QAC1F,MAAM,YAAY,GAA2B;YAC3C,eAAe;YACf;gBACE,GAAG,eAAe;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,qCAAqC;aAC5C;SACF,CAAC;QACD,qDAAwC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAEjE,MAAM,MAAM,GAAG,IAAA,uDAA0B,EAAC,YAAY,CAAC,CAAC;QAExD,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -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("./toast.types"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/managers/internal/ToastManager/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}