@multiversx/sdk-dapp 5.0.4 → 5.0.6

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 (1350) hide show
  1. package/out/__chunks__/chunk-2IXNUCCN.mjs +2 -0
  2. package/out/__chunks__/chunk-2UCZ5FCD.mjs +2 -0
  3. package/out/__chunks__/chunk-35BOKOST.mjs +2 -0
  4. package/out/__chunks__/chunk-3JMCXLWZ.mjs +2 -0
  5. package/out/__chunks__/chunk-43AE4SYE.mjs +2 -0
  6. package/out/__chunks__/chunk-4JRZISC2.mjs +2 -0
  7. package/out/__chunks__/chunk-5ICRLXOJ.mjs +2 -0
  8. package/out/__chunks__/chunk-5ICRLXOJ.mjs.map +7 -0
  9. package/out/__chunks__/chunk-5MK24VWA.mjs +2 -0
  10. package/out/__chunks__/chunk-6EW6GJ7V.mjs +2 -0
  11. package/out/__chunks__/chunk-6IA3KJH5.mjs +2 -0
  12. package/out/__chunks__/chunk-6IUQY6KG.mjs +2 -0
  13. package/out/__chunks__/chunk-6QSLQLCT.mjs +2 -0
  14. package/out/__chunks__/chunk-6WQJAFR3.mjs +2 -0
  15. package/out/__chunks__/chunk-76URRONH.mjs +2 -0
  16. package/out/__chunks__/chunk-7AMGKXK6.mjs +2 -0
  17. package/out/__chunks__/chunk-7MSBLQYN.mjs +2 -0
  18. package/out/__chunks__/chunk-7O5OCSV5.mjs +2 -0
  19. package/out/__chunks__/chunk-7PW3YJZS.mjs +2 -0
  20. package/out/__chunks__/chunk-7TVD3ZGR.mjs +2 -0
  21. package/out/__chunks__/chunk-A2X4YMKK.mjs +2 -0
  22. package/out/__chunks__/chunk-AHSGP7ST.mjs +2 -0
  23. package/out/__chunks__/chunk-AJVTGCVH.mjs +2 -0
  24. package/out/__chunks__/chunk-AZNMWFIR.mjs +2 -0
  25. package/out/__chunks__/chunk-CAN6BBUW.mjs +2 -0
  26. package/out/__chunks__/chunk-CDQ2BNUD.mjs +2 -0
  27. package/out/__chunks__/chunk-DDNM2ZMJ.mjs +2 -0
  28. package/out/__chunks__/chunk-DNRFH2DR.mjs +2 -0
  29. package/out/__chunks__/chunk-EK3WITBG.mjs +2 -0
  30. package/out/__chunks__/chunk-ER7VDELK.mjs +2 -0
  31. package/out/__chunks__/chunk-EWXBNG6L.mjs +2 -0
  32. package/out/__chunks__/chunk-FKCGBCKV.mjs +2 -0
  33. package/out/__chunks__/chunk-FKIAOXUE.mjs +2 -0
  34. package/out/__chunks__/chunk-FSHVZP64.mjs +2 -0
  35. package/out/__chunks__/chunk-G4Z3ZQR6.mjs +2 -0
  36. package/out/__chunks__/chunk-GNF74ZRR.mjs +2 -0
  37. package/out/__chunks__/chunk-GUPYIQ3X.mjs +2 -0
  38. package/out/__chunks__/chunk-H3IUSXHL.mjs +2 -0
  39. package/out/__chunks__/chunk-HVV5PW3F.mjs +2 -0
  40. package/out/__chunks__/chunk-HVV5PW3F.mjs.map +7 -0
  41. package/out/__chunks__/chunk-HZUUV4N4.mjs +2 -0
  42. package/out/__chunks__/chunk-IHPROMZ4.mjs +2 -0
  43. package/out/__chunks__/chunk-IS62JDWR.mjs +2 -0
  44. package/out/__chunks__/chunk-J7GHXLMR.mjs +2 -0
  45. package/out/__chunks__/chunk-JD2VRDU7.mjs +2 -0
  46. package/out/__chunks__/chunk-JHG4SR7C.mjs +2 -0
  47. package/out/__chunks__/chunk-JLSMK3B2.mjs +2 -0
  48. package/out/__chunks__/chunk-JLSMK3B2.mjs.map +7 -0
  49. package/out/__chunks__/chunk-JOVG7EB7.mjs +2 -0
  50. package/out/__chunks__/chunk-JXNX2DMF.mjs +2 -0
  51. package/out/__chunks__/chunk-L34S5ELK.mjs +2 -0
  52. package/out/__chunks__/chunk-LD6GIQXR.mjs +2 -0
  53. package/out/__chunks__/chunk-LJKBU76G.mjs +2 -0
  54. package/out/__chunks__/chunk-MKIQ2XH4.mjs +2 -0
  55. package/out/__chunks__/chunk-N6IZYQLD.mjs +2 -0
  56. package/out/__chunks__/chunk-N7FAJ2VG.mjs +2 -0
  57. package/out/__chunks__/chunk-NR34QIVY.mjs +2 -0
  58. package/out/__chunks__/chunk-OA7DW77N.mjs +2 -0
  59. package/out/__chunks__/chunk-OAEQGL6W.mjs +2 -0
  60. package/out/__chunks__/chunk-OLXHHD4T.mjs +2 -0
  61. package/out/__chunks__/chunk-OYYE3JKS.mjs +2 -0
  62. package/out/__chunks__/chunk-P7KN75HA.mjs +2 -0
  63. package/out/__chunks__/chunk-PLUWBWJ2.mjs +2 -0
  64. package/out/__chunks__/chunk-PLUWBWJ2.mjs.map +7 -0
  65. package/out/__chunks__/chunk-PPRG5EYX.mjs +2 -0
  66. package/out/__chunks__/chunk-Q5RVUCNS.mjs +2 -0
  67. package/out/__chunks__/chunk-QFW3NRHJ.mjs +2 -0
  68. package/out/__chunks__/chunk-QJBNDKHF.mjs +2 -0
  69. package/out/__chunks__/chunk-QNJDXBR6.mjs +2 -0
  70. package/out/__chunks__/chunk-QVOHFS6Q.mjs +2 -0
  71. package/out/__chunks__/chunk-RO37MX5Y.mjs +2 -0
  72. package/out/__chunks__/chunk-SGN6MYFW.mjs +2 -0
  73. package/out/__chunks__/chunk-SNJZSRF3.mjs +2 -0
  74. package/out/__chunks__/chunk-SUOUG7EQ.mjs +2 -0
  75. package/out/__chunks__/chunk-SUOUG7EQ.mjs.map +7 -0
  76. package/out/__chunks__/chunk-T6PE5QT2.mjs +2 -0
  77. package/out/__chunks__/chunk-TJW7RKOI.mjs +2 -0
  78. package/out/__chunks__/chunk-ULT7BJCN.mjs +2 -0
  79. package/out/__chunks__/chunk-UV4LRORN.mjs +2 -0
  80. package/out/__chunks__/chunk-UV4LRORN.mjs.map +7 -0
  81. package/out/__chunks__/chunk-UXJIZKTT.mjs +2 -0
  82. package/out/__chunks__/chunk-V53EFJQZ.mjs +2 -0
  83. package/out/__chunks__/chunk-W5LWBGZ4.mjs +2 -0
  84. package/out/__chunks__/chunk-WCRS5CLZ.mjs +2 -0
  85. package/out/__chunks__/chunk-WNKKBV76.mjs +2 -0
  86. package/out/__chunks__/chunk-WWNT4K25.mjs +2 -0
  87. package/out/__chunks__/chunk-X3BMMYMU.mjs +2 -0
  88. package/out/__chunks__/chunk-XXILUGAY.mjs +2 -0
  89. package/out/__chunks__/chunk-YBLDHLHP.mjs +2 -0
  90. package/out/__chunks__/chunk-Z3SM2MSZ.mjs +2 -0
  91. package/out/__chunks__/chunk-ZFM5CMB7.mjs +2 -0
  92. package/out/__chunks__/chunk-ZP2E2Y6Y.mjs +2 -0
  93. package/out/__mocks__/accountConfig.cjs +37 -0
  94. package/out/__mocks__/accountConfig.cjs.map +7 -0
  95. package/out/__mocks__/data/account.cjs +38 -0
  96. package/out/__mocks__/data/account.cjs.map +7 -0
  97. package/out/__mocks__/data/blocks.cjs +34 -0
  98. package/out/__mocks__/data/blocks.cjs.map +7 -0
  99. package/out/__mocks__/data/dappConfig.cjs +43 -0
  100. package/out/__mocks__/data/dappConfig.cjs.map +7 -0
  101. package/out/__mocks__/data/index.cjs +35 -0
  102. package/out/__mocks__/data/index.cjs.map +7 -0
  103. package/out/__mocks__/data/networkConfig.cjs +56 -0
  104. package/out/__mocks__/data/networkConfig.cjs.map +7 -0
  105. package/out/__mocks__/data/socketResponse.cjs +35 -0
  106. package/out/__mocks__/data/socketResponse.cjs.map +7 -0
  107. package/out/__mocks__/data/websocketConfig.cjs +29 -0
  108. package/out/__mocks__/data/websocketConfig.cjs.map +7 -0
  109. package/out/__mocks__/data/wrapEgldContract.cjs +54 -0
  110. package/out/__mocks__/data/wrapEgldContract.cjs.map +7 -0
  111. package/out/__mocks__/index.cjs +27 -0
  112. package/out/__mocks__/index.cjs.map +7 -0
  113. package/out/__mocks__/server.cjs +65 -0
  114. package/out/__mocks__/server.cjs.map +7 -0
  115. package/out/__mocks__/utils/index.cjs +25 -0
  116. package/out/__mocks__/utils/index.cjs.map +7 -0
  117. package/out/__mocks__/utils/mockWindowHistory.cjs +45 -0
  118. package/out/__mocks__/utils/mockWindowHistory.cjs.map +7 -0
  119. package/out/__mocks__/utils/mockWindowLocation.cjs +45 -0
  120. package/out/__mocks__/utils/mockWindowLocation.cjs.map +7 -0
  121. package/out/apiCalls/account/getAccountFromApi.cjs +60 -0
  122. package/out/apiCalls/account/getAccountFromApi.cjs.map +7 -0
  123. package/out/apiCalls/account/getScamAddressData.cjs +52 -0
  124. package/out/apiCalls/account/getScamAddressData.cjs.map +7 -0
  125. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  126. package/out/apiCalls/account/index.cjs +23 -0
  127. package/out/apiCalls/account/index.cjs.map +7 -0
  128. package/out/apiCalls/configuration/getCleanApiAddress.cjs +35 -0
  129. package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +7 -0
  130. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  131. package/out/apiCalls/configuration/getGasStationMetadata.cjs +65 -0
  132. package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +7 -0
  133. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  134. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +62 -0
  135. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +7 -0
  136. package/out/apiCalls/configuration/getServerConfiguration.cjs +66 -0
  137. package/out/apiCalls/configuration/getServerConfiguration.cjs.map +7 -0
  138. package/out/apiCalls/configuration/index.cjs +25 -0
  139. package/out/apiCalls/configuration/index.cjs.map +7 -0
  140. package/out/apiCalls/economics/getEconomics.cjs +55 -0
  141. package/out/apiCalls/economics/getEconomics.cjs.map +7 -0
  142. package/out/apiCalls/endpoints.cjs +101 -0
  143. package/out/apiCalls/endpoints.cjs.map +7 -0
  144. package/out/apiCalls/index.cjs +33 -0
  145. package/out/apiCalls/index.cjs.map +7 -0
  146. package/out/apiCalls/index.mjs +1 -1
  147. package/out/apiCalls/tokens/getPersistedToken.cjs +43 -0
  148. package/out/apiCalls/tokens/getPersistedToken.cjs.map +7 -0
  149. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +73 -0
  150. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +7 -0
  151. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  152. package/out/apiCalls/tokens/getTokenDetails.cjs +75 -0
  153. package/out/apiCalls/tokens/getTokenDetails.cjs.map +7 -0
  154. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  155. package/out/apiCalls/tokens/index.cjs +23 -0
  156. package/out/apiCalls/tokens/index.cjs.map +7 -0
  157. package/out/apiCalls/tokens/index.mjs +1 -1
  158. package/out/apiCalls/tokens/tokenDataStorage.cjs +59 -0
  159. package/out/apiCalls/tokens/tokenDataStorage.cjs.map +7 -0
  160. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -0
  161. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +7 -0
  162. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  163. package/out/apiCalls/transactions/getTransactionByHash.cjs +52 -0
  164. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +7 -0
  165. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  166. package/out/apiCalls/transactions/getTransactions.cjs +77 -0
  167. package/out/apiCalls/transactions/getTransactions.cjs.map +7 -0
  168. package/out/apiCalls/transactions/getTransactionsByHashes.cjs +48 -0
  169. package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +7 -0
  170. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  171. package/out/apiCalls/utils/axiosFetcher.cjs +30 -0
  172. package/out/apiCalls/utils/axiosFetcher.cjs.map +7 -0
  173. package/out/apiCalls/utils/axiosInstance.cjs +106 -0
  174. package/out/apiCalls/utils/axiosInstance.cjs.map +7 -0
  175. package/out/apiCalls/utils/getCleanApiAddress.cjs +31 -0
  176. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +7 -0
  177. package/out/apiCalls/utils/index.cjs +27 -0
  178. package/out/apiCalls/utils/index.cjs.map +7 -0
  179. package/out/apiCalls/websocket/getWebsocketUrl.cjs +50 -0
  180. package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +7 -0
  181. package/out/apiCalls/websocket/index.cjs +23 -0
  182. package/out/apiCalls/websocket/index.cjs.map +7 -0
  183. package/out/constants/UITags.enum.cjs +38 -0
  184. package/out/constants/UITags.enum.cjs.map +7 -0
  185. package/out/constants/browser.constants.cjs +35 -0
  186. package/out/constants/browser.constants.cjs.map +7 -0
  187. package/out/constants/browser.constants.mjs +1 -1
  188. package/out/constants/index.cjs +41 -0
  189. package/out/constants/index.cjs.map +7 -0
  190. package/out/constants/index.mjs +1 -1
  191. package/out/constants/ledger.constants.cjs +132 -0
  192. package/out/constants/ledger.constants.cjs.map +7 -0
  193. package/out/constants/mvx.constants.cjs +59 -0
  194. package/out/constants/mvx.constants.cjs.map +7 -0
  195. package/out/constants/network.constants.cjs +114 -0
  196. package/out/constants/network.constants.cjs.map +7 -0
  197. package/out/constants/placeholders.constants.cjs +35 -0
  198. package/out/constants/placeholders.constants.cjs.map +7 -0
  199. package/out/constants/providerFactory.constants.cjs +39 -0
  200. package/out/constants/providerFactory.constants.cjs.map +7 -0
  201. package/out/constants/providerFactory.constants.mjs +1 -1
  202. package/out/constants/storage.constants.cjs +41 -0
  203. package/out/constants/storage.constants.cjs.map +7 -0
  204. package/out/constants/storage.constants.mjs +1 -1
  205. package/out/constants/transactions.constants.cjs +62 -0
  206. package/out/constants/transactions.constants.cjs.map +7 -0
  207. package/out/constants/walletConnect.constants.cjs +33 -0
  208. package/out/constants/walletConnect.constants.cjs.map +7 -0
  209. package/out/constants/webWalletProvider.constants.cjs +47 -0
  210. package/out/constants/webWalletProvider.constants.cjs.map +7 -0
  211. package/out/constants/websocket.constants.cjs +40 -0
  212. package/out/constants/websocket.constants.cjs.map +7 -0
  213. package/out/constants/window.constants.cjs +32 -0
  214. package/out/constants/window.constants.cjs.map +7 -0
  215. package/out/constants/window.constants.mjs +1 -1
  216. package/out/controllers/FormatAmountController/FormatAmountController.cjs +58 -0
  217. package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +7 -0
  218. package/out/controllers/FormatAmountController/index.cjs +23 -0
  219. package/out/controllers/FormatAmountController/index.cjs.map +7 -0
  220. package/out/controllers/FormatAmountController/types.cjs +17 -0
  221. package/out/controllers/FormatAmountController/types.cjs.map +7 -0
  222. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +35 -0
  223. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +7 -0
  224. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  225. package/out/controllers/TransactionsHistoryController/index.cjs +23 -0
  226. package/out/controllers/TransactionsHistoryController/index.cjs.map +7 -0
  227. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  228. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +131 -0
  229. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +7 -0
  230. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  231. package/out/controllers/TransactionsTableController/index.cjs +23 -0
  232. package/out/controllers/TransactionsTableController/index.cjs.map +7 -0
  233. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  234. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +17 -0
  235. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +7 -0
  236. package/out/controllers/index.cjs +23 -0
  237. package/out/controllers/index.cjs.map +7 -0
  238. package/out/index.cjs +33 -0
  239. package/out/index.cjs.map +7 -0
  240. package/out/index.mjs +1 -1
  241. package/out/lib/sdkCore.cjs +47 -0
  242. package/out/lib/sdkCore.cjs.map +7 -0
  243. package/out/lib/sdkDappUi.cjs +54 -0
  244. package/out/lib/sdkDappUi.cjs.map +7 -0
  245. package/out/lib/sdkDappUi.mjs +1 -1
  246. package/out/lib/sdkDappUtils.cjs +45 -0
  247. package/out/lib/sdkDappUtils.cjs.map +7 -0
  248. package/out/lib/sdkWebWalletCrossWindowProvider.cjs +34 -0
  249. package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +7 -0
  250. package/out/lib/sdkWebWalletIframeProvider.cjs +29 -0
  251. package/out/lib/sdkWebWalletIframeProvider.cjs.map +7 -0
  252. package/out/lib/sdkWebviewProvider.cjs +29 -0
  253. package/out/lib/sdkWebviewProvider.cjs.map +7 -0
  254. package/out/managers/LogoutManager/LogoutManager.cjs +168 -0
  255. package/out/managers/LogoutManager/LogoutManager.cjs.map +7 -0
  256. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  257. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +57 -0
  258. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +7 -0
  259. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +158 -0
  260. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +7 -0
  261. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  262. package/out/managers/NotificationsFeedManager/index.cjs +25 -0
  263. package/out/managers/NotificationsFeedManager/index.cjs.map +7 -0
  264. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  265. package/out/managers/NotificationsFeedManager/types/index.cjs +23 -0
  266. package/out/managers/NotificationsFeedManager/types/index.cjs.map +7 -0
  267. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +36 -0
  268. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +7 -0
  269. package/out/managers/TransactionManager/TransactionManager.cjs +198 -0
  270. package/out/managers/TransactionManager/TransactionManager.cjs.map +7 -0
  271. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  272. package/out/managers/TransactionManager/TransactionManager.types.cjs +17 -0
  273. package/out/managers/TransactionManager/TransactionManager.types.cjs.map +7 -0
  274. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +51 -0
  275. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +7 -0
  276. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  277. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +53 -0
  278. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +7 -0
  279. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  280. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +54 -0
  281. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +7 -0
  282. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +31 -0
  283. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +7 -0
  284. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +48 -0
  285. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +7 -0
  286. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +42 -0
  287. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +7 -0
  288. package/out/managers/TransactionManager/index.cjs +23 -0
  289. package/out/managers/TransactionManager/index.cjs.map +7 -0
  290. package/out/managers/TransactionManager/index.mjs +1 -1
  291. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +168 -0
  292. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +7 -0
  293. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  294. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +37 -0
  295. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +7 -0
  296. package/out/managers/UnlockPanelManager/index.cjs +23 -0
  297. package/out/managers/UnlockPanelManager/index.cjs.map +7 -0
  298. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  299. package/out/managers/index.cjs +25 -0
  300. package/out/managers/index.cjs.map +7 -0
  301. package/out/managers/index.mjs +1 -1
  302. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +215 -0
  303. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +7 -0
  304. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  305. package/out/managers/internal/LedgerConnectStateManager/index.cjs +25 -0
  306. package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +7 -0
  307. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  308. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +23 -0
  309. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +7 -0
  310. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +37 -0
  311. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +7 -0
  312. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +125 -0
  313. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +7 -0
  314. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  315. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +59 -0
  316. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +7 -0
  317. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  318. package/out/managers/internal/PendingTransactionsStateManager/index.cjs +25 -0
  319. package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +7 -0
  320. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  321. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +23 -0
  322. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +7 -0
  323. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +33 -0
  324. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +7 -0
  325. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +63 -0
  326. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +7 -0
  327. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  328. package/out/managers/internal/SidePanelBaseManager/index.cjs +23 -0
  329. package/out/managers/internal/SidePanelBaseManager/index.cjs.map +7 -0
  330. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  331. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +139 -0
  332. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +7 -0
  333. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  334. package/out/managers/internal/SignTransactionsStateManager/index.cjs +23 -0
  335. package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +7 -0
  336. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  337. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +23 -0
  338. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +7 -0
  339. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +37 -0
  340. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +7 -0
  341. package/out/managers/internal/ToastManager/ToastManager.cjs +268 -0
  342. package/out/managers/internal/ToastManager/ToastManager.cjs.map +7 -0
  343. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  344. package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs +72 -0
  345. package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs.map +7 -0
  346. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  347. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs +88 -0
  348. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs.map +7 -0
  349. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  350. package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs +61 -0
  351. package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs.map +7 -0
  352. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -0
  353. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs.map +7 -0
  354. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs +41 -0
  355. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs.map +7 -0
  356. package/out/managers/internal/ToastManager/types/index.cjs +23 -0
  357. package/out/managers/internal/ToastManager/types/index.cjs.map +7 -0
  358. package/out/managers/internal/ToastManager/types/toast.types.cjs +48 -0
  359. package/out/managers/internal/ToastManager/types/toast.types.cjs.map +7 -0
  360. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +103 -0
  361. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +7 -0
  362. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  363. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +79 -0
  364. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +7 -0
  365. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  366. package/out/managers/internal/WalletConnectStateManager/index.cjs +23 -0
  367. package/out/managers/internal/WalletConnectStateManager/index.cjs.map +7 -0
  368. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  369. package/out/managers/internal/index.cjs +38 -0
  370. package/out/managers/internal/index.cjs.map +7 -0
  371. package/out/managers/internal/index.mjs +1 -1
  372. package/out/methods/account/getAccount.cjs +33 -0
  373. package/out/methods/account/getAccount.cjs.map +7 -0
  374. package/out/methods/account/getAccount.mjs +1 -1
  375. package/out/methods/account/getAccountInfo.cjs +33 -0
  376. package/out/methods/account/getAccountInfo.cjs.map +7 -0
  377. package/out/methods/account/getAccountInfo.mjs +1 -1
  378. package/out/methods/account/getAddress.cjs +33 -0
  379. package/out/methods/account/getAddress.cjs.map +7 -0
  380. package/out/methods/account/getAddress.mjs +1 -1
  381. package/out/methods/account/getIsLoggedIn.cjs +33 -0
  382. package/out/methods/account/getIsLoggedIn.cjs.map +7 -0
  383. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  384. package/out/methods/account/getLatestNonce.cjs +55 -0
  385. package/out/methods/account/getLatestNonce.cjs.map +7 -0
  386. package/out/methods/account/getLatestNonce.mjs +1 -1
  387. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +62 -0
  388. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +7 -0
  389. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  390. package/out/methods/initApp/initApp.cjs +113 -0
  391. package/out/methods/initApp/initApp.cjs.map +7 -0
  392. package/out/methods/initApp/initApp.mjs +1 -1
  393. package/out/methods/initApp/initApp.types.cjs +17 -0
  394. package/out/methods/initApp/initApp.types.cjs.map +7 -0
  395. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +173 -0
  396. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +7 -0
  397. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  398. package/out/methods/initApp/websocket/registerWebsocket.cjs +38 -0
  399. package/out/methods/initApp/websocket/registerWebsocket.cjs.map +7 -0
  400. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  401. package/out/methods/loginInfo/getLoginInfo.cjs +37 -0
  402. package/out/methods/loginInfo/getLoginInfo.cjs.map +7 -0
  403. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  404. package/out/methods/network/getEgldLabel.cjs +33 -0
  405. package/out/methods/network/getEgldLabel.cjs.map +7 -0
  406. package/out/methods/network/getEgldLabel.mjs +1 -1
  407. package/out/methods/network/getExplorerAddress.cjs +33 -0
  408. package/out/methods/network/getExplorerAddress.cjs.map +7 -0
  409. package/out/methods/network/getExplorerAddress.mjs +1 -1
  410. package/out/methods/network/getNetworkConfig.cjs +33 -0
  411. package/out/methods/network/getNetworkConfig.cjs.map +7 -0
  412. package/out/methods/network/getNetworkConfig.mjs +1 -1
  413. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +147 -0
  414. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +7 -0
  415. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  416. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +44 -0
  417. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +7 -0
  418. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  419. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +41 -0
  420. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +7 -0
  421. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +23 -0
  422. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +7 -0
  423. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  424. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +58 -0
  425. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +7 -0
  426. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  427. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +50 -0
  428. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +7 -0
  429. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +38 -0
  430. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +7 -0
  431. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  432. package/out/methods/trackTransactions/trackTransactions.cjs +118 -0
  433. package/out/methods/trackTransactions/trackTransactions.cjs.map +7 -0
  434. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  435. package/out/methods/transactions/getFailedTransactions.cjs +33 -0
  436. package/out/methods/transactions/getFailedTransactions.cjs.map +7 -0
  437. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  438. package/out/methods/transactions/getFailedTransactionsSessions.cjs +33 -0
  439. package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +7 -0
  440. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  441. package/out/methods/transactions/getPendingTransactions.cjs +33 -0
  442. package/out/methods/transactions/getPendingTransactions.cjs.map +7 -0
  443. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  444. package/out/methods/transactions/getPendingTransactionsSessions.cjs +33 -0
  445. package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +7 -0
  446. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  447. package/out/methods/transactions/getSuccessfulTransactions.cjs +33 -0
  448. package/out/methods/transactions/getSuccessfulTransactions.cjs.map +7 -0
  449. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  450. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +33 -0
  451. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +7 -0
  452. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  453. package/out/methods/transactions/getTransactionSessions.cjs +33 -0
  454. package/out/methods/transactions/getTransactionSessions.cjs.map +7 -0
  455. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  456. package/out/providers/DappProvider/DappProvider.cjs +113 -0
  457. package/out/providers/DappProvider/DappProvider.cjs.map +7 -0
  458. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  459. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +37 -0
  460. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +7 -0
  461. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +47 -0
  462. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +7 -0
  463. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +67 -0
  464. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +7 -0
  465. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  466. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +45 -0
  467. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +7 -0
  468. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  469. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +45 -0
  470. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +7 -0
  471. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  472. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +56 -0
  473. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +7 -0
  474. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  475. package/out/providers/DappProvider/helpers/login/login.cjs +122 -0
  476. package/out/providers/DappProvider/helpers/login/login.cjs.map +7 -0
  477. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  478. package/out/providers/DappProvider/helpers/logout/logout.cjs +64 -0
  479. package/out/providers/DappProvider/helpers/logout/logout.cjs.map +7 -0
  480. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  481. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +79 -0
  482. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +7 -0
  483. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  484. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +33 -0
  485. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +7 -0
  486. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +43 -0
  487. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +7 -0
  488. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  489. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +61 -0
  490. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +7 -0
  491. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +59 -0
  492. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +7 -0
  493. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  494. package/out/providers/DappProvider/index.cjs +23 -0
  495. package/out/providers/DappProvider/index.cjs.map +7 -0
  496. package/out/providers/DappProvider/index.mjs +1 -1
  497. package/out/providers/ProviderFactory.cjs +131 -0
  498. package/out/providers/ProviderFactory.cjs.map +7 -0
  499. package/out/providers/ProviderFactory.mjs +1 -1
  500. package/out/providers/helpers/accountProvider.cjs +39 -0
  501. package/out/providers/helpers/accountProvider.cjs.map +7 -0
  502. package/out/providers/helpers/accountProvider.mjs +1 -1
  503. package/out/providers/helpers/cancelCrossWindowAction.cjs +38 -0
  504. package/out/providers/helpers/cancelCrossWindowAction.cjs.map +7 -0
  505. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  506. package/out/providers/helpers/clearInitiatedLogins.cjs +58 -0
  507. package/out/providers/helpers/clearInitiatedLogins.cjs.map +7 -0
  508. package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
  509. package/out/providers/helpers/emptyProvider.cjs +107 -0
  510. package/out/providers/helpers/emptyProvider.cjs.map +7 -0
  511. package/out/providers/helpers/emptyProvider.mjs +1 -1
  512. package/out/providers/helpers/restoreProvider.cjs +53 -0
  513. package/out/providers/helpers/restoreProvider.cjs.map +7 -0
  514. package/out/providers/helpers/restoreProvider.mjs +1 -1
  515. package/out/providers/index.cjs +32 -0
  516. package/out/providers/index.cjs.map +7 -0
  517. package/out/providers/index.mjs +1 -1
  518. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +130 -0
  519. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +7 -0
  520. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  521. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +107 -0
  522. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +7 -0
  523. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  524. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +23 -0
  525. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +7 -0
  526. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  527. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +97 -0
  528. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +7 -0
  529. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  530. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +23 -0
  531. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +7 -0
  532. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  533. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +121 -0
  534. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +7 -0
  535. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  536. package/out/providers/strategies/IframeProviderStrategy/index.cjs +25 -0
  537. package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +7 -0
  538. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  539. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +17 -0
  540. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +7 -0
  541. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +23 -0
  542. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +7 -0
  543. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +182 -0
  544. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +7 -0
  545. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  546. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +125 -0
  547. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +7 -0
  548. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  549. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +69 -0
  550. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +7 -0
  551. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  552. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +38 -0
  553. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +7 -0
  554. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  555. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +48 -0
  556. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +7 -0
  557. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +81 -0
  558. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +7 -0
  559. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  560. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +83 -0
  561. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +7 -0
  562. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  563. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +33 -0
  564. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +7 -0
  565. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  566. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +66 -0
  567. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +7 -0
  568. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  569. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +62 -0
  570. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +7 -0
  571. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +47 -0
  572. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +7 -0
  573. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  574. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +23 -0
  575. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +7 -0
  576. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  577. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -0
  578. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
  579. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  580. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +17 -0
  581. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
  582. package/out/providers/strategies/LedgerProviderStrategy/index.cjs +25 -0
  583. package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +7 -0
  584. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  585. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +23 -0
  586. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +7 -0
  587. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +38 -0
  588. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +7 -0
  589. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +17 -0
  590. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +7 -0
  591. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +281 -0
  592. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +7 -0
  593. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  594. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +25 -0
  595. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +7 -0
  596. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  597. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +23 -0
  598. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +7 -0
  599. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +49 -0
  600. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +7 -0
  601. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -0
  602. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +7 -0
  603. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  604. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +23 -0
  605. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +7 -0
  606. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  607. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +98 -0
  608. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +7 -0
  609. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  610. package/out/providers/strategies/WebviewProviderStrategy/index.cjs +23 -0
  611. package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +7 -0
  612. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  613. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +42 -0
  614. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +7 -0
  615. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  616. package/out/providers/strategies/helpers/index.cjs +29 -0
  617. package/out/providers/strategies/helpers/index.cjs.map +7 -0
  618. package/out/providers/strategies/helpers/index.mjs +1 -1
  619. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +84 -0
  620. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +7 -0
  621. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  622. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +51 -0
  623. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +7 -0
  624. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +87 -0
  625. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +7 -0
  626. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  627. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +183 -0
  628. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +7 -0
  629. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  630. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +39 -0
  631. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +7 -0
  632. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +266 -0
  633. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +7 -0
  634. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +94 -0
  635. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +7 -0
  636. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  637. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +34 -0
  638. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +7 -0
  639. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +93 -0
  640. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +7 -0
  641. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +44 -0
  642. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +7 -0
  643. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +40 -0
  644. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +7 -0
  645. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +39 -0
  646. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +7 -0
  647. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +51 -0
  648. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +7 -0
  649. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +55 -0
  650. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +7 -0
  651. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  652. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +36 -0
  653. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +7 -0
  654. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +37 -0
  655. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +7 -0
  656. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +127 -0
  657. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +7 -0
  658. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +119 -0
  659. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +7 -0
  660. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +87 -0
  661. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +7 -0
  662. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +47 -0
  663. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +7 -0
  664. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +40 -0
  665. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +7 -0
  666. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +51 -0
  667. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +7 -0
  668. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  669. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +34 -0
  670. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +7 -0
  671. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -0
  672. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +7 -0
  673. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  674. package/out/providers/strategies/index.cjs +31 -0
  675. package/out/providers/strategies/index.cjs.map +7 -0
  676. package/out/providers/strategies/index.mjs +1 -1
  677. package/out/providers/types/providerFactory.types.cjs +38 -0
  678. package/out/providers/types/providerFactory.types.cjs.map +7 -0
  679. package/out/providers/types/providerFactory.types.d.ts +1 -0
  680. package/out/providers/types/providerFactory.types.mjs +1 -1
  681. package/out/react/account/useGetAccount.cjs +33 -0
  682. package/out/react/account/useGetAccount.cjs.map +7 -0
  683. package/out/react/account/useGetAccount.mjs +1 -1
  684. package/out/react/account/useGetAccountInfo.cjs +33 -0
  685. package/out/react/account/useGetAccountInfo.cjs.map +7 -0
  686. package/out/react/account/useGetAccountInfo.mjs +1 -1
  687. package/out/react/account/useGetIsLoggedIn.cjs +34 -0
  688. package/out/react/account/useGetIsLoggedIn.cjs.map +7 -0
  689. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  690. package/out/react/account/useGetLatestNonce.cjs +35 -0
  691. package/out/react/account/useGetLatestNonce.cjs.map +7 -0
  692. package/out/react/account/useGetLatestNonce.mjs +1 -1
  693. package/out/react/index.cjs +23 -0
  694. package/out/react/index.cjs.map +7 -0
  695. package/out/react/index.mjs +1 -1
  696. package/out/react/loginInfo/useGetLoginInfo.cjs +36 -0
  697. package/out/react/loginInfo/useGetLoginInfo.cjs.map +7 -0
  698. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  699. package/out/react/network/useGetNetworkConfig.cjs +33 -0
  700. package/out/react/network/useGetNetworkConfig.cjs.map +7 -0
  701. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  702. package/out/react/store/createBoundedStore.cjs +30 -0
  703. package/out/react/store/createBoundedStore.cjs.map +7 -0
  704. package/out/react/store/getReactStore.cjs +31 -0
  705. package/out/react/store/getReactStore.cjs.map +7 -0
  706. package/out/react/store/getReactStore.mjs +1 -1
  707. package/out/react/store/useSelector.cjs +33 -0
  708. package/out/react/store/useSelector.cjs.map +7 -0
  709. package/out/react/store/useSelector.mjs +1 -1
  710. package/out/react/transactions/useGetFailedTransactions.cjs +34 -0
  711. package/out/react/transactions/useGetFailedTransactions.cjs.map +7 -0
  712. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  713. package/out/react/transactions/useGetFailedTransactionsSessions.cjs +34 -0
  714. package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +7 -0
  715. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  716. package/out/react/transactions/useGetPendingTransactions.cjs +34 -0
  717. package/out/react/transactions/useGetPendingTransactions.cjs.map +7 -0
  718. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  719. package/out/react/transactions/useGetPendingTransactionsSessions.cjs +34 -0
  720. package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +7 -0
  721. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  722. package/out/react/transactions/useGetSuccessfulTransactions.cjs +34 -0
  723. package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +7 -0
  724. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  725. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +36 -0
  726. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +7 -0
  727. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  728. package/out/react/transactions/useGetTransactionSessions.cjs +34 -0
  729. package/out/react/transactions/useGetTransactionSessions.cjs.map +7 -0
  730. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  731. package/out/services/index.cjs +23 -0
  732. package/out/services/index.cjs.map +7 -0
  733. package/out/services/index.mjs +1 -1
  734. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +63 -0
  735. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +7 -0
  736. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +73 -0
  737. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +7 -0
  738. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +101 -0
  739. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +7 -0
  740. package/out/services/nativeAuth/helpers/index.cjs +27 -0
  741. package/out/services/nativeAuth/helpers/index.cjs.map +7 -0
  742. package/out/services/nativeAuth/index.cjs +23 -0
  743. package/out/services/nativeAuth/index.cjs.map +7 -0
  744. package/out/services/nativeAuth/index.mjs +1 -1
  745. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +42 -0
  746. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +7 -0
  747. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  748. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +43 -0
  749. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +7 -0
  750. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  751. package/out/services/nativeAuth/methods/getTokenExpiration.cjs +52 -0
  752. package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +7 -0
  753. package/out/services/nativeAuth/methods/index.cjs +25 -0
  754. package/out/services/nativeAuth/methods/index.cjs.map +7 -0
  755. package/out/services/nativeAuth/methods/index.mjs +1 -1
  756. package/out/services/nativeAuth/nativeAuth.cjs +82 -0
  757. package/out/services/nativeAuth/nativeAuth.cjs.map +7 -0
  758. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  759. package/out/services/nativeAuth/nativeAuth.types.cjs +17 -0
  760. package/out/services/nativeAuth/nativeAuth.types.cjs.map +7 -0
  761. package/out/store/actions/account/accountActions.cjs +95 -0
  762. package/out/store/actions/account/accountActions.cjs.map +7 -0
  763. package/out/store/actions/account/accountActions.mjs +1 -1
  764. package/out/store/actions/account/index.cjs +23 -0
  765. package/out/store/actions/account/index.cjs.map +7 -0
  766. package/out/store/actions/account/index.mjs +1 -1
  767. package/out/store/actions/cache/cacheActions.cjs +62 -0
  768. package/out/store/actions/cache/cacheActions.cjs.map +7 -0
  769. package/out/store/actions/cache/cacheActions.mjs +1 -1
  770. package/out/store/actions/cache/index.cjs +23 -0
  771. package/out/store/actions/cache/index.cjs.map +7 -0
  772. package/out/store/actions/cache/index.mjs +1 -1
  773. package/out/store/actions/config/configActions.cjs +61 -0
  774. package/out/store/actions/config/configActions.cjs.map +7 -0
  775. package/out/store/actions/config/configActions.mjs +1 -1
  776. package/out/store/actions/config/index.cjs +23 -0
  777. package/out/store/actions/config/index.cjs.map +7 -0
  778. package/out/store/actions/config/index.mjs +1 -1
  779. package/out/store/actions/index.cjs +35 -0
  780. package/out/store/actions/index.cjs.map +7 -0
  781. package/out/store/actions/index.mjs +1 -1
  782. package/out/store/actions/loginInfo/loginInfoActions.cjs +134 -0
  783. package/out/store/actions/loginInfo/loginInfoActions.cjs.map +7 -0
  784. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  785. package/out/store/actions/network/index.cjs +23 -0
  786. package/out/store/actions/network/index.cjs.map +7 -0
  787. package/out/store/actions/network/index.mjs +1 -1
  788. package/out/store/actions/network/initializeNetwork.cjs +71 -0
  789. package/out/store/actions/network/initializeNetwork.cjs.map +7 -0
  790. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  791. package/out/store/actions/network/networkActions.cjs +42 -0
  792. package/out/store/actions/network/networkActions.cjs.map +7 -0
  793. package/out/store/actions/network/networkActions.mjs +1 -1
  794. package/out/store/actions/sharedActions/index.cjs +23 -0
  795. package/out/store/actions/sharedActions/index.cjs.map +7 -0
  796. package/out/store/actions/sharedActions/index.mjs +1 -1
  797. package/out/store/actions/sharedActions/sharedActions.cjs +50 -0
  798. package/out/store/actions/sharedActions/sharedActions.cjs.map +7 -0
  799. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  800. package/out/store/actions/toasts/index.cjs +23 -0
  801. package/out/store/actions/toasts/index.cjs.map +7 -0
  802. package/out/store/actions/toasts/index.mjs +1 -1
  803. package/out/store/actions/toasts/toastsActions.cjs +178 -0
  804. package/out/store/actions/toasts/toastsActions.cjs.map +7 -0
  805. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  806. package/out/store/actions/transactions/transactionStateByStatus.cjs +145 -0
  807. package/out/store/actions/transactions/transactionStateByStatus.cjs.map +7 -0
  808. package/out/store/actions/transactions/transactionsActions.cjs +134 -0
  809. package/out/store/actions/transactions/transactionsActions.cjs.map +7 -0
  810. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  811. package/out/store/actions/ui/index.cjs +23 -0
  812. package/out/store/actions/ui/index.cjs.map +7 -0
  813. package/out/store/actions/ui/index.mjs +1 -1
  814. package/out/store/actions/ui/uiActions.cjs +36 -0
  815. package/out/store/actions/ui/uiActions.cjs.map +7 -0
  816. package/out/store/actions/ui/uiActions.mjs +1 -1
  817. package/out/store/middleware/applyMiddlewares.cjs +32 -0
  818. package/out/store/middleware/applyMiddlewares.cjs.map +7 -0
  819. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  820. package/out/store/middleware/index.cjs +23 -0
  821. package/out/store/middleware/index.cjs.map +7 -0
  822. package/out/store/middleware/index.mjs +1 -1
  823. package/out/store/middleware/logoutMiddleware.cjs +79 -0
  824. package/out/store/middleware/logoutMiddleware.cjs.map +7 -0
  825. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  826. package/out/store/selectors/accountSelectors.cjs +61 -0
  827. package/out/store/selectors/accountSelectors.cjs.map +7 -0
  828. package/out/store/selectors/cacheSelector.cjs +32 -0
  829. package/out/store/selectors/cacheSelector.cjs.map +7 -0
  830. package/out/store/selectors/configSelectors.cjs +37 -0
  831. package/out/store/selectors/configSelectors.cjs.map +7 -0
  832. package/out/store/selectors/index.cjs +33 -0
  833. package/out/store/selectors/index.cjs.map +7 -0
  834. package/out/store/selectors/loginInfoSelectors.cjs +44 -0
  835. package/out/store/selectors/loginInfoSelectors.cjs.map +7 -0
  836. package/out/store/selectors/networkSelectors.cjs +43 -0
  837. package/out/store/selectors/networkSelectors.cjs.map +7 -0
  838. package/out/store/selectors/storeSelector.cjs +29 -0
  839. package/out/store/selectors/storeSelector.cjs.map +7 -0
  840. package/out/store/selectors/toastsSelectors.cjs +35 -0
  841. package/out/store/selectors/toastsSelectors.cjs.map +7 -0
  842. package/out/store/selectors/transactionsSelector.cjs +151 -0
  843. package/out/store/selectors/transactionsSelector.cjs.map +7 -0
  844. package/out/store/selectors/uiSelectors.cjs +32 -0
  845. package/out/store/selectors/uiSelectors.cjs.map +7 -0
  846. package/out/store/slices/account/account.types.cjs +17 -0
  847. package/out/store/slices/account/account.types.cjs.map +7 -0
  848. package/out/store/slices/account/accountSlice.cjs +44 -0
  849. package/out/store/slices/account/accountSlice.cjs.map +7 -0
  850. package/out/store/slices/account/emptyAccount.cjs +39 -0
  851. package/out/store/slices/account/emptyAccount.cjs.map +7 -0
  852. package/out/store/slices/account/index.cjs +29 -0
  853. package/out/store/slices/account/index.cjs.map +7 -0
  854. package/out/store/slices/cache/cacheSlice.cjs +35 -0
  855. package/out/store/slices/cache/cacheSlice.cjs.map +7 -0
  856. package/out/store/slices/cache/cacheSlice.types.cjs +17 -0
  857. package/out/store/slices/cache/cacheSlice.types.cjs.map +7 -0
  858. package/out/store/slices/cache/index.cjs +29 -0
  859. package/out/store/slices/cache/index.cjs.map +7 -0
  860. package/out/store/slices/config/config.types.cjs +17 -0
  861. package/out/store/slices/config/config.types.cjs.map +7 -0
  862. package/out/store/slices/config/configSlice.cjs +38 -0
  863. package/out/store/slices/config/configSlice.cjs.map +7 -0
  864. package/out/store/slices/config/index.cjs +29 -0
  865. package/out/store/slices/config/index.cjs.map +7 -0
  866. package/out/store/slices/index.cjs +35 -0
  867. package/out/store/slices/index.cjs.map +7 -0
  868. package/out/store/slices/loginInfo/index.cjs +29 -0
  869. package/out/store/slices/loginInfo/index.cjs.map +7 -0
  870. package/out/store/slices/loginInfo/loginInfo.types.cjs +17 -0
  871. package/out/store/slices/loginInfo/loginInfo.types.cjs.map +7 -0
  872. package/out/store/slices/loginInfo/loginInfoSlice.cjs +45 -0
  873. package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +7 -0
  874. package/out/store/slices/network/emptyNetwork.cjs +42 -0
  875. package/out/store/slices/network/emptyNetwork.cjs.map +7 -0
  876. package/out/store/slices/network/index.cjs +29 -0
  877. package/out/store/slices/network/index.cjs.map +7 -0
  878. package/out/store/slices/network/network.types.cjs +17 -0
  879. package/out/store/slices/network/network.types.cjs.map +7 -0
  880. package/out/store/slices/network/networkSlice.cjs +36 -0
  881. package/out/store/slices/network/networkSlice.cjs.map +7 -0
  882. package/out/store/slices/network/networkSlice.types.cjs +17 -0
  883. package/out/store/slices/network/networkSlice.types.cjs.map +7 -0
  884. package/out/store/slices/toast/index.cjs +29 -0
  885. package/out/store/slices/toast/index.cjs.map +7 -0
  886. package/out/store/slices/toast/toastSlice.cjs +38 -0
  887. package/out/store/slices/toast/toastSlice.cjs.map +7 -0
  888. package/out/store/slices/toast/toastSlice.types.cjs +17 -0
  889. package/out/store/slices/toast/toastSlice.types.cjs.map +7 -0
  890. package/out/store/slices/transactions/index.cjs +29 -0
  891. package/out/store/slices/transactions/index.cjs.map +7 -0
  892. package/out/store/slices/transactions/transactionsSlice.cjs +35 -0
  893. package/out/store/slices/transactions/transactionsSlice.cjs.map +7 -0
  894. package/out/store/slices/transactions/transactionsSlice.types.cjs +17 -0
  895. package/out/store/slices/transactions/transactionsSlice.types.cjs.map +7 -0
  896. package/out/store/slices/ui/index.cjs +29 -0
  897. package/out/store/slices/ui/index.cjs.map +7 -0
  898. package/out/store/slices/ui/ui.types.cjs +17 -0
  899. package/out/store/slices/ui/ui.types.cjs.map +7 -0
  900. package/out/store/slices/ui/uiSlice.cjs +35 -0
  901. package/out/store/slices/ui/uiSlice.cjs.map +7 -0
  902. package/out/store/storage/inMemoryStorage.cjs +52 -0
  903. package/out/store/storage/inMemoryStorage.cjs.map +7 -0
  904. package/out/store/storage/index.cjs +25 -0
  905. package/out/store/storage/index.cjs.map +7 -0
  906. package/out/store/storage/index.mjs +1 -1
  907. package/out/store/storage/storageCallback.cjs +30 -0
  908. package/out/store/storage/storageCallback.cjs.map +7 -0
  909. package/out/store/storage/storageCallback.mjs +1 -1
  910. package/out/store/store.cjs +81 -0
  911. package/out/store/store.cjs.map +7 -0
  912. package/out/store/store.mjs +1 -1
  913. package/out/store/store.types.cjs +17 -0
  914. package/out/store/store.types.cjs.map +7 -0
  915. package/out/types/account.types.cjs +17 -0
  916. package/out/types/account.types.cjs.map +7 -0
  917. package/out/types/enums.types.cjs +120 -0
  918. package/out/types/enums.types.cjs.map +7 -0
  919. package/out/types/index.cjs +35 -0
  920. package/out/types/index.cjs.map +7 -0
  921. package/out/types/login.types.cjs +17 -0
  922. package/out/types/login.types.cjs.map +7 -0
  923. package/out/types/manager.types.cjs +17 -0
  924. package/out/types/manager.types.cjs.map +7 -0
  925. package/out/types/network.types.cjs +17 -0
  926. package/out/types/network.types.cjs.map +7 -0
  927. package/out/types/provider.types.cjs +35 -0
  928. package/out/types/provider.types.cjs.map +7 -0
  929. package/out/types/serverTransactions.types.cjs +155 -0
  930. package/out/types/serverTransactions.types.cjs.map +7 -0
  931. package/out/types/subscriptions.type.cjs +34 -0
  932. package/out/types/subscriptions.type.cjs.map +7 -0
  933. package/out/types/suspiciousLink.types.cjs +17 -0
  934. package/out/types/suspiciousLink.types.cjs.map +7 -0
  935. package/out/types/theme.types.cjs +34 -0
  936. package/out/types/theme.types.cjs.map +7 -0
  937. package/out/types/tokens.types.cjs +40 -0
  938. package/out/types/tokens.types.cjs.map +7 -0
  939. package/out/types/transaction-list-item.types.cjs +115 -0
  940. package/out/types/transaction-list-item.types.cjs.map +7 -0
  941. package/out/types/transactions.types.cjs +35 -0
  942. package/out/types/transactions.types.cjs.map +7 -0
  943. package/out/types/transactions.types.d.ts +1 -1
  944. package/out/types/transactions.types.mjs.map +1 -1
  945. package/out/types/websocket.types.cjs +17 -0
  946. package/out/types/websocket.types.cjs.map +7 -0
  947. package/out/utils/ComponentFactory.cjs +51 -0
  948. package/out/utils/ComponentFactory.cjs.map +7 -0
  949. package/out/utils/ComponentFactory.d.ts +1 -1
  950. package/out/utils/ComponentFactory.mjs +1 -1
  951. package/out/utils/account/fetchAccount.cjs +30 -0
  952. package/out/utils/account/fetchAccount.cjs.map +7 -0
  953. package/out/utils/account/index.cjs +29 -0
  954. package/out/utils/account/index.cjs.map +7 -0
  955. package/out/utils/account/index.mjs +1 -1
  956. package/out/utils/account/refreshAccount.cjs +80 -0
  957. package/out/utils/account/refreshAccount.cjs.map +7 -0
  958. package/out/utils/account/refreshAccount.mjs +1 -1
  959. package/out/utils/account/refreshNativeAuthTokenLogin.cjs +66 -0
  960. package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +7 -0
  961. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  962. package/out/utils/account/trimUsernameDomain.cjs +36 -0
  963. package/out/utils/account/trimUsernameDomain.cjs.map +7 -0
  964. package/out/utils/asyncActions/index.cjs +23 -0
  965. package/out/utils/asyncActions/index.cjs.map +7 -0
  966. package/out/utils/asyncActions/sleep.cjs +36 -0
  967. package/out/utils/asyncActions/sleep.cjs.map +7 -0
  968. package/out/utils/dateTime/getUnixTimestamp.cjs +31 -0
  969. package/out/utils/dateTime/getUnixTimestamp.cjs.map +7 -0
  970. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +33 -0
  971. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +7 -0
  972. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +31 -0
  973. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +7 -0
  974. package/out/utils/dateTime/index.cjs +27 -0
  975. package/out/utils/dateTime/index.cjs.map +7 -0
  976. package/out/utils/decoders/base64Utils.cjs +58 -0
  977. package/out/utils/decoders/base64Utils.cjs.map +7 -0
  978. package/out/utils/decoders/decodePart.cjs +40 -0
  979. package/out/utils/decoders/decodePart.cjs.map +7 -0
  980. package/out/utils/decoders/index.cjs +31 -0
  981. package/out/utils/decoders/index.cjs.map +7 -0
  982. package/out/utils/decoders/isAscii.cjs +29 -0
  983. package/out/utils/decoders/isAscii.cjs.map +7 -0
  984. package/out/utils/decoders/isUtf8.cjs +36 -0
  985. package/out/utils/decoders/isUtf8.cjs.map +7 -0
  986. package/out/utils/decoders/stringContainsNumbers.cjs +29 -0
  987. package/out/utils/decoders/stringContainsNumbers.cjs.map +7 -0
  988. package/out/utils/index.cjs +41 -0
  989. package/out/utils/index.cjs.map +7 -0
  990. package/out/utils/index.mjs +1 -1
  991. package/out/utils/network/index.cjs +23 -0
  992. package/out/utils/network/index.cjs.map +7 -0
  993. package/out/utils/network/setAxiosInterceptors.cjs +67 -0
  994. package/out/utils/network/setAxiosInterceptors.cjs.map +7 -0
  995. package/out/utils/operations/capitalize.cjs +29 -0
  996. package/out/utils/operations/capitalize.cjs.map +7 -0
  997. package/out/utils/operations/getUsdValue.cjs +46 -0
  998. package/out/utils/operations/getUsdValue.cjs.map +7 -0
  999. package/out/utils/operations/pluralize.cjs +29 -0
  1000. package/out/utils/operations/pluralize.cjs.map +7 -0
  1001. package/out/utils/operations/timeRemaining.cjs +110 -0
  1002. package/out/utils/operations/timeRemaining.cjs.map +7 -0
  1003. package/out/utils/operations/trimAmountDecimals.cjs +60 -0
  1004. package/out/utils/operations/trimAmountDecimals.cjs.map +7 -0
  1005. package/out/utils/retryMultipleTimes.cjs +45 -0
  1006. package/out/utils/retryMultipleTimes.cjs.map +7 -0
  1007. package/out/utils/transactions/explorerUrlBuilder.cjs +54 -0
  1008. package/out/utils/transactions/explorerUrlBuilder.cjs.map +7 -0
  1009. package/out/utils/transactions/getActiveTransactionsStatus.cjs +47 -0
  1010. package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +7 -0
  1011. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  1012. package/out/utils/transactions/getExplorerLink.cjs +50 -0
  1013. package/out/utils/transactions/getExplorerLink.cjs.map +7 -0
  1014. package/out/utils/transactions/getHumanReadableTimeFormat.cjs +47 -0
  1015. package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +7 -0
  1016. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +110 -0
  1017. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +7 -0
  1018. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  1019. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +50 -0
  1020. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +7 -0
  1021. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +107 -0
  1022. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +7 -0
  1023. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +36 -0
  1024. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +7 -0
  1025. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +55 -0
  1026. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +7 -0
  1027. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +71 -0
  1028. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +7 -0
  1029. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +41 -0
  1030. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +7 -0
  1031. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +54 -0
  1032. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +7 -0
  1033. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +60 -0
  1034. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +7 -0
  1035. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +53 -0
  1036. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +7 -0
  1037. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +37 -0
  1038. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +7 -0
  1039. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +33 -0
  1040. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +7 -0
  1041. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +23 -0
  1042. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +7 -0
  1043. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +17 -0
  1044. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +7 -0
  1045. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +83 -0
  1046. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +7 -0
  1047. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  1048. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +31 -0
  1049. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +7 -0
  1050. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +66 -0
  1051. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +7 -0
  1052. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  1053. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +31 -0
  1054. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +7 -0
  1055. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +44 -0
  1056. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +7 -0
  1057. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  1058. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +122 -0
  1059. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +7 -0
  1060. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +47 -0
  1061. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +7 -0
  1062. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  1063. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +40 -0
  1064. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +7 -0
  1065. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  1066. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +44 -0
  1067. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +7 -0
  1068. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +35 -0
  1069. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +7 -0
  1070. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +33 -0
  1071. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +7 -0
  1072. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +42 -0
  1073. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +7 -0
  1074. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +41 -0
  1075. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +7 -0
  1076. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +50 -0
  1077. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +7 -0
  1078. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +47 -0
  1079. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +7 -0
  1080. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  1081. package/out/utils/transactions/getInterpretedTransaction/index.cjs +25 -0
  1082. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +7 -0
  1083. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  1084. package/out/utils/transactions/getScamFlag.cjs +88 -0
  1085. package/out/utils/transactions/getScamFlag.cjs.map +7 -0
  1086. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +57 -0
  1087. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +7 -0
  1088. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  1089. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +40 -0
  1090. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +7 -0
  1091. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +64 -0
  1092. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +7 -0
  1093. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +53 -0
  1094. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +7 -0
  1095. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +36 -0
  1096. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +7 -0
  1097. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  1098. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +39 -0
  1099. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +7 -0
  1100. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +37 -0
  1101. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +7 -0
  1102. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +113 -0
  1103. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +7 -0
  1104. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +59 -0
  1105. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +7 -0
  1106. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +75 -0
  1107. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +7 -0
  1108. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +63 -0
  1109. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +7 -0
  1110. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +91 -0
  1111. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +7 -0
  1112. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +66 -0
  1113. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +7 -0
  1114. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +38 -0
  1115. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +7 -0
  1116. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +50 -0
  1117. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +7 -0
  1118. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  1119. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +38 -0
  1120. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +7 -0
  1121. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +95 -0
  1122. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +7 -0
  1123. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  1124. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +81 -0
  1125. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +7 -0
  1126. package/out/utils/transactions/getTransactionsHistory/index.cjs +25 -0
  1127. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +7 -0
  1128. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  1129. package/out/utils/transactions/index.cjs +29 -0
  1130. package/out/utils/transactions/index.cjs.map +7 -0
  1131. package/out/utils/transactions/index.mjs +1 -1
  1132. package/out/utils/transactions/isGuardianTx.cjs +43 -0
  1133. package/out/utils/transactions/isGuardianTx.cjs.map +7 -0
  1134. package/out/utils/validation/addressIsValid.cjs +40 -0
  1135. package/out/utils/validation/addressIsValid.cjs.map +7 -0
  1136. package/out/utils/validation/getIdentifierType.cjs +54 -0
  1137. package/out/utils/validation/getIdentifierType.cjs.map +7 -0
  1138. package/out/utils/validation/hex.cjs +36 -0
  1139. package/out/utils/validation/hex.cjs.map +7 -0
  1140. package/out/utils/validation/index.cjs +31 -0
  1141. package/out/utils/validation/index.cjs.map +7 -0
  1142. package/out/utils/validation/isContract.cjs +96 -0
  1143. package/out/utils/validation/isContract.cjs.map +7 -0
  1144. package/out/utils/validation/maxDecimals.cjs +34 -0
  1145. package/out/utils/validation/maxDecimals.cjs.map +7 -0
  1146. package/out/utils/visual/index.cjs +23 -0
  1147. package/out/utils/visual/index.cjs.map +7 -0
  1148. package/out/utils/visual/index.mjs +1 -1
  1149. package/out/utils/visual/switchTheme.cjs +38 -0
  1150. package/out/utils/visual/switchTheme.cjs.map +7 -0
  1151. package/out/utils/visual/switchTheme.mjs +1 -1
  1152. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs +36 -0
  1153. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs.map +7 -0
  1154. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  1155. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +34 -0
  1156. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +7 -0
  1157. package/out/utils/window/buildUrlParams.cjs +37 -0
  1158. package/out/utils/window/buildUrlParams.cjs.map +7 -0
  1159. package/out/utils/window/getIsAuthRoute.cjs +38 -0
  1160. package/out/utils/window/getIsAuthRoute.cjs.map +7 -0
  1161. package/out/utils/window/getIsInIframe.cjs +44 -0
  1162. package/out/utils/window/getIsInIframe.cjs.map +7 -0
  1163. package/out/utils/window/getIsInIframe.mjs +1 -1
  1164. package/out/utils/window/getWindowLocation.cjs +56 -0
  1165. package/out/utils/window/getWindowLocation.cjs.map +7 -0
  1166. package/out/utils/window/getWindowParentOrigin.cjs +47 -0
  1167. package/out/utils/window/getWindowParentOrigin.cjs.map +7 -0
  1168. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  1169. package/out/utils/window/index.cjs +33 -0
  1170. package/out/utils/window/index.cjs.map +7 -0
  1171. package/out/utils/window/index.mjs +1 -1
  1172. package/out/utils/window/isWindowAvailable.cjs +29 -0
  1173. package/out/utils/window/isWindowAvailable.cjs.map +7 -0
  1174. package/out/utils/window/matchPath.cjs +114 -0
  1175. package/out/utils/window/matchPath.cjs.map +7 -0
  1176. package/out/utils/window/sanitizeCallbackUrl.cjs +39 -0
  1177. package/out/utils/window/sanitizeCallbackUrl.cjs.map +7 -0
  1178. package/package.json +4 -4
  1179. package/out/__chunks__/chunk-24YYMWQL.mjs +0 -2
  1180. package/out/__chunks__/chunk-2GOJSBHM.mjs +0 -2
  1181. package/out/__chunks__/chunk-3KJKVWZX.mjs +0 -2
  1182. package/out/__chunks__/chunk-3MEAYEOP.mjs +0 -2
  1183. package/out/__chunks__/chunk-4WOBJUND.mjs +0 -2
  1184. package/out/__chunks__/chunk-57JT3YYO.mjs +0 -2
  1185. package/out/__chunks__/chunk-5CBADUK2.mjs +0 -2
  1186. package/out/__chunks__/chunk-5EIUN6H3.mjs +0 -2
  1187. package/out/__chunks__/chunk-5PFAZNIO.mjs +0 -2
  1188. package/out/__chunks__/chunk-5PFAZNIO.mjs.map +0 -7
  1189. package/out/__chunks__/chunk-62NTXA3Q.mjs +0 -2
  1190. package/out/__chunks__/chunk-64YGT5EQ.mjs +0 -2
  1191. package/out/__chunks__/chunk-6K5K2OJF.mjs +0 -2
  1192. package/out/__chunks__/chunk-6QSDEIFP.mjs +0 -2
  1193. package/out/__chunks__/chunk-A3CN5JWD.mjs +0 -2
  1194. package/out/__chunks__/chunk-AFO4MJ3Y.mjs +0 -2
  1195. package/out/__chunks__/chunk-AL3SMFKF.mjs +0 -2
  1196. package/out/__chunks__/chunk-ANRHXERH.mjs +0 -2
  1197. package/out/__chunks__/chunk-AZOEX4RJ.mjs +0 -2
  1198. package/out/__chunks__/chunk-B3E34X2P.mjs +0 -2
  1199. package/out/__chunks__/chunk-B5DFRWKW.mjs +0 -2
  1200. package/out/__chunks__/chunk-B5OM6BTD.mjs +0 -2
  1201. package/out/__chunks__/chunk-BDAB6XQS.mjs +0 -2
  1202. package/out/__chunks__/chunk-BHRUDWJV.mjs +0 -2
  1203. package/out/__chunks__/chunk-BPYUCILD.mjs +0 -2
  1204. package/out/__chunks__/chunk-BZCIDXIT.mjs +0 -2
  1205. package/out/__chunks__/chunk-CA5CTMET.mjs +0 -2
  1206. package/out/__chunks__/chunk-CKPRCP4B.mjs +0 -2
  1207. package/out/__chunks__/chunk-CUSPTSTX.mjs +0 -2
  1208. package/out/__chunks__/chunk-CV6QXSKF.mjs +0 -2
  1209. package/out/__chunks__/chunk-CXEW3QBW.mjs +0 -2
  1210. package/out/__chunks__/chunk-D5DPZ3O3.mjs +0 -2
  1211. package/out/__chunks__/chunk-DCD7Z6NA.mjs +0 -2
  1212. package/out/__chunks__/chunk-E26YTVSR.mjs +0 -2
  1213. package/out/__chunks__/chunk-EDKNWPTP.mjs +0 -2
  1214. package/out/__chunks__/chunk-EDKNWPTP.mjs.map +0 -7
  1215. package/out/__chunks__/chunk-F3VTVR46.mjs +0 -2
  1216. package/out/__chunks__/chunk-F7QRSVP4.mjs +0 -2
  1217. package/out/__chunks__/chunk-FINVDQGG.mjs +0 -2
  1218. package/out/__chunks__/chunk-FK73FOXL.mjs +0 -2
  1219. package/out/__chunks__/chunk-FYJSQ5IQ.mjs +0 -2
  1220. package/out/__chunks__/chunk-H3YYJVD2.mjs +0 -2
  1221. package/out/__chunks__/chunk-IEGMED5L.mjs +0 -2
  1222. package/out/__chunks__/chunk-IFIL5YA5.mjs +0 -2
  1223. package/out/__chunks__/chunk-IFIL5YA5.mjs.map +0 -7
  1224. package/out/__chunks__/chunk-ITL2BSZK.mjs +0 -2
  1225. package/out/__chunks__/chunk-J7WSX6RF.mjs +0 -2
  1226. package/out/__chunks__/chunk-JGHTVPC7.mjs +0 -2
  1227. package/out/__chunks__/chunk-JKR3KSKZ.mjs +0 -2
  1228. package/out/__chunks__/chunk-KELD3JME.mjs +0 -2
  1229. package/out/__chunks__/chunk-KRHBIYXH.mjs +0 -2
  1230. package/out/__chunks__/chunk-MEGLLCCR.mjs +0 -2
  1231. package/out/__chunks__/chunk-MPCAGTJW.mjs +0 -2
  1232. package/out/__chunks__/chunk-NQSC7H2H.mjs +0 -2
  1233. package/out/__chunks__/chunk-OO76QA6O.mjs +0 -2
  1234. package/out/__chunks__/chunk-OZ4ZZI3H.mjs +0 -2
  1235. package/out/__chunks__/chunk-PHBORH3K.mjs +0 -2
  1236. package/out/__chunks__/chunk-PHBORH3K.mjs.map +0 -7
  1237. package/out/__chunks__/chunk-PHT4H7NQ.mjs +0 -2
  1238. package/out/__chunks__/chunk-PL64ZI4J.mjs +0 -2
  1239. package/out/__chunks__/chunk-PO5CKWAW.mjs +0 -2
  1240. package/out/__chunks__/chunk-Q3WLMRWP.mjs +0 -2
  1241. package/out/__chunks__/chunk-Q6O5CYQO.mjs +0 -2
  1242. package/out/__chunks__/chunk-QC2L7ZLQ.mjs +0 -2
  1243. package/out/__chunks__/chunk-QW3IVSVZ.mjs +0 -2
  1244. package/out/__chunks__/chunk-QWV25ZSJ.mjs +0 -2
  1245. package/out/__chunks__/chunk-RJSOXNSA.mjs +0 -2
  1246. package/out/__chunks__/chunk-RNLXKFRP.mjs +0 -2
  1247. package/out/__chunks__/chunk-RZURE24V.mjs +0 -2
  1248. package/out/__chunks__/chunk-S2FQWSUO.mjs +0 -2
  1249. package/out/__chunks__/chunk-S2FQWSUO.mjs.map +0 -7
  1250. package/out/__chunks__/chunk-S4QEQGMS.mjs +0 -2
  1251. package/out/__chunks__/chunk-S7K3MC3O.mjs +0 -2
  1252. package/out/__chunks__/chunk-T7DLVQ6J.mjs +0 -2
  1253. package/out/__chunks__/chunk-THNK25ZD.mjs +0 -2
  1254. package/out/__chunks__/chunk-TI73UXGG.mjs +0 -2
  1255. package/out/__chunks__/chunk-TNL55CRB.mjs +0 -2
  1256. package/out/__chunks__/chunk-UBLZ4XV2.mjs +0 -2
  1257. package/out/__chunks__/chunk-WS2TTYTH.mjs +0 -2
  1258. package/out/__chunks__/chunk-WTNCKB4A.mjs +0 -2
  1259. package/out/__chunks__/chunk-XAYCFZAU.mjs +0 -2
  1260. package/out/__chunks__/chunk-XIXT6MEM.mjs +0 -2
  1261. package/out/__chunks__/chunk-Y3FWIS2E.mjs +0 -2
  1262. package/out/__chunks__/chunk-Y7YFB6KR.mjs +0 -2
  1263. package/out/__chunks__/chunk-YFM4XPJB.mjs +0 -2
  1264. package/out/__chunks__/chunk-YRMDKZSS.mjs +0 -2
  1265. package/out/__chunks__/chunk-YRRGPWNG.mjs +0 -2
  1266. package/out/__chunks__/chunk-Z36DGV3K.mjs +0 -2
  1267. package/out/__chunks__/chunk-ZECWUL7N.mjs +0 -2
  1268. package/out/__chunks__/chunk-ZECWUL7N.mjs.map +0 -7
  1269. package/out/__chunks__/chunk-ZT7AZLRE.mjs +0 -2
  1270. package/out/__chunks__/chunk-ZW3NEESY.mjs +0 -2
  1271. /package/out/__chunks__/{chunk-BPYUCILD.mjs.map → chunk-2IXNUCCN.mjs.map} +0 -0
  1272. /package/out/__chunks__/{chunk-NQSC7H2H.mjs.map → chunk-2UCZ5FCD.mjs.map} +0 -0
  1273. /package/out/__chunks__/{chunk-OO76QA6O.mjs.map → chunk-35BOKOST.mjs.map} +0 -0
  1274. /package/out/__chunks__/{chunk-64YGT5EQ.mjs.map → chunk-3JMCXLWZ.mjs.map} +0 -0
  1275. /package/out/__chunks__/{chunk-S7K3MC3O.mjs.map → chunk-43AE4SYE.mjs.map} +0 -0
  1276. /package/out/__chunks__/{chunk-ZT7AZLRE.mjs.map → chunk-4JRZISC2.mjs.map} +0 -0
  1277. /package/out/__chunks__/{chunk-3KJKVWZX.mjs.map → chunk-5MK24VWA.mjs.map} +0 -0
  1278. /package/out/__chunks__/{chunk-J7WSX6RF.mjs.map → chunk-6EW6GJ7V.mjs.map} +0 -0
  1279. /package/out/__chunks__/{chunk-XAYCFZAU.mjs.map → chunk-6IA3KJH5.mjs.map} +0 -0
  1280. /package/out/__chunks__/{chunk-Z36DGV3K.mjs.map → chunk-6IUQY6KG.mjs.map} +0 -0
  1281. /package/out/__chunks__/{chunk-Q6O5CYQO.mjs.map → chunk-6QSLQLCT.mjs.map} +0 -0
  1282. /package/out/__chunks__/{chunk-57JT3YYO.mjs.map → chunk-6WQJAFR3.mjs.map} +0 -0
  1283. /package/out/__chunks__/{chunk-QWV25ZSJ.mjs.map → chunk-76URRONH.mjs.map} +0 -0
  1284. /package/out/__chunks__/{chunk-QW3IVSVZ.mjs.map → chunk-7AMGKXK6.mjs.map} +0 -0
  1285. /package/out/__chunks__/{chunk-AZOEX4RJ.mjs.map → chunk-7MSBLQYN.mjs.map} +0 -0
  1286. /package/out/__chunks__/{chunk-KELD3JME.mjs.map → chunk-7O5OCSV5.mjs.map} +0 -0
  1287. /package/out/__chunks__/{chunk-4WOBJUND.mjs.map → chunk-7PW3YJZS.mjs.map} +0 -0
  1288. /package/out/__chunks__/{chunk-JKR3KSKZ.mjs.map → chunk-7TVD3ZGR.mjs.map} +0 -0
  1289. /package/out/__chunks__/{chunk-IEGMED5L.mjs.map → chunk-A2X4YMKK.mjs.map} +0 -0
  1290. /package/out/__chunks__/{chunk-JGHTVPC7.mjs.map → chunk-AHSGP7ST.mjs.map} +0 -0
  1291. /package/out/__chunks__/{chunk-PHT4H7NQ.mjs.map → chunk-AJVTGCVH.mjs.map} +0 -0
  1292. /package/out/__chunks__/{chunk-PL64ZI4J.mjs.map → chunk-AZNMWFIR.mjs.map} +0 -0
  1293. /package/out/__chunks__/{chunk-Q3WLMRWP.mjs.map → chunk-CAN6BBUW.mjs.map} +0 -0
  1294. /package/out/__chunks__/{chunk-TI73UXGG.mjs.map → chunk-CDQ2BNUD.mjs.map} +0 -0
  1295. /package/out/__chunks__/{chunk-B5OM6BTD.mjs.map → chunk-DDNM2ZMJ.mjs.map} +0 -0
  1296. /package/out/__chunks__/{chunk-AL3SMFKF.mjs.map → chunk-DNRFH2DR.mjs.map} +0 -0
  1297. /package/out/__chunks__/{chunk-3MEAYEOP.mjs.map → chunk-EK3WITBG.mjs.map} +0 -0
  1298. /package/out/__chunks__/{chunk-Y7YFB6KR.mjs.map → chunk-ER7VDELK.mjs.map} +0 -0
  1299. /package/out/__chunks__/{chunk-ZW3NEESY.mjs.map → chunk-EWXBNG6L.mjs.map} +0 -0
  1300. /package/out/__chunks__/{chunk-CXEW3QBW.mjs.map → chunk-FKCGBCKV.mjs.map} +0 -0
  1301. /package/out/__chunks__/{chunk-DCD7Z6NA.mjs.map → chunk-FKIAOXUE.mjs.map} +0 -0
  1302. /package/out/__chunks__/{chunk-YRMDKZSS.mjs.map → chunk-FSHVZP64.mjs.map} +0 -0
  1303. /package/out/__chunks__/{chunk-OZ4ZZI3H.mjs.map → chunk-G4Z3ZQR6.mjs.map} +0 -0
  1304. /package/out/__chunks__/{chunk-BZCIDXIT.mjs.map → chunk-GNF74ZRR.mjs.map} +0 -0
  1305. /package/out/__chunks__/{chunk-RNLXKFRP.mjs.map → chunk-GUPYIQ3X.mjs.map} +0 -0
  1306. /package/out/__chunks__/{chunk-RZURE24V.mjs.map → chunk-H3IUSXHL.mjs.map} +0 -0
  1307. /package/out/__chunks__/{chunk-FINVDQGG.mjs.map → chunk-HZUUV4N4.mjs.map} +0 -0
  1308. /package/out/__chunks__/{chunk-QC2L7ZLQ.mjs.map → chunk-IHPROMZ4.mjs.map} +0 -0
  1309. /package/out/__chunks__/{chunk-YFM4XPJB.mjs.map → chunk-IS62JDWR.mjs.map} +0 -0
  1310. /package/out/__chunks__/{chunk-CA5CTMET.mjs.map → chunk-J7GHXLMR.mjs.map} +0 -0
  1311. /package/out/__chunks__/{chunk-Y3FWIS2E.mjs.map → chunk-JD2VRDU7.mjs.map} +0 -0
  1312. /package/out/__chunks__/{chunk-E26YTVSR.mjs.map → chunk-JHG4SR7C.mjs.map} +0 -0
  1313. /package/out/__chunks__/{chunk-TNL55CRB.mjs.map → chunk-JOVG7EB7.mjs.map} +0 -0
  1314. /package/out/__chunks__/{chunk-ITL2BSZK.mjs.map → chunk-JXNX2DMF.mjs.map} +0 -0
  1315. /package/out/__chunks__/{chunk-24YYMWQL.mjs.map → chunk-L34S5ELK.mjs.map} +0 -0
  1316. /package/out/__chunks__/{chunk-2GOJSBHM.mjs.map → chunk-LD6GIQXR.mjs.map} +0 -0
  1317. /package/out/__chunks__/{chunk-UBLZ4XV2.mjs.map → chunk-LJKBU76G.mjs.map} +0 -0
  1318. /package/out/__chunks__/{chunk-FK73FOXL.mjs.map → chunk-MKIQ2XH4.mjs.map} +0 -0
  1319. /package/out/__chunks__/{chunk-62NTXA3Q.mjs.map → chunk-N6IZYQLD.mjs.map} +0 -0
  1320. /package/out/__chunks__/{chunk-5CBADUK2.mjs.map → chunk-N7FAJ2VG.mjs.map} +0 -0
  1321. /package/out/__chunks__/{chunk-CUSPTSTX.mjs.map → chunk-NR34QIVY.mjs.map} +0 -0
  1322. /package/out/__chunks__/{chunk-D5DPZ3O3.mjs.map → chunk-OA7DW77N.mjs.map} +0 -0
  1323. /package/out/__chunks__/{chunk-MPCAGTJW.mjs.map → chunk-OAEQGL6W.mjs.map} +0 -0
  1324. /package/out/__chunks__/{chunk-BDAB6XQS.mjs.map → chunk-OLXHHD4T.mjs.map} +0 -0
  1325. /package/out/__chunks__/{chunk-KRHBIYXH.mjs.map → chunk-OYYE3JKS.mjs.map} +0 -0
  1326. /package/out/__chunks__/{chunk-A3CN5JWD.mjs.map → chunk-P7KN75HA.mjs.map} +0 -0
  1327. /package/out/__chunks__/{chunk-6QSDEIFP.mjs.map → chunk-PPRG5EYX.mjs.map} +0 -0
  1328. /package/out/__chunks__/{chunk-F3VTVR46.mjs.map → chunk-Q5RVUCNS.mjs.map} +0 -0
  1329. /package/out/__chunks__/{chunk-B3E34X2P.mjs.map → chunk-QFW3NRHJ.mjs.map} +0 -0
  1330. /package/out/__chunks__/{chunk-FYJSQ5IQ.mjs.map → chunk-QJBNDKHF.mjs.map} +0 -0
  1331. /package/out/__chunks__/{chunk-YRRGPWNG.mjs.map → chunk-QNJDXBR6.mjs.map} +0 -0
  1332. /package/out/__chunks__/{chunk-AFO4MJ3Y.mjs.map → chunk-QVOHFS6Q.mjs.map} +0 -0
  1333. /package/out/__chunks__/{chunk-MEGLLCCR.mjs.map → chunk-RO37MX5Y.mjs.map} +0 -0
  1334. /package/out/__chunks__/{chunk-RJSOXNSA.mjs.map → chunk-SGN6MYFW.mjs.map} +0 -0
  1335. /package/out/__chunks__/{chunk-H3YYJVD2.mjs.map → chunk-SNJZSRF3.mjs.map} +0 -0
  1336. /package/out/__chunks__/{chunk-CV6QXSKF.mjs.map → chunk-T6PE5QT2.mjs.map} +0 -0
  1337. /package/out/__chunks__/{chunk-F7QRSVP4.mjs.map → chunk-TJW7RKOI.mjs.map} +0 -0
  1338. /package/out/__chunks__/{chunk-6K5K2OJF.mjs.map → chunk-ULT7BJCN.mjs.map} +0 -0
  1339. /package/out/__chunks__/{chunk-WTNCKB4A.mjs.map → chunk-UXJIZKTT.mjs.map} +0 -0
  1340. /package/out/__chunks__/{chunk-WS2TTYTH.mjs.map → chunk-V53EFJQZ.mjs.map} +0 -0
  1341. /package/out/__chunks__/{chunk-THNK25ZD.mjs.map → chunk-W5LWBGZ4.mjs.map} +0 -0
  1342. /package/out/__chunks__/{chunk-5EIUN6H3.mjs.map → chunk-WCRS5CLZ.mjs.map} +0 -0
  1343. /package/out/__chunks__/{chunk-T7DLVQ6J.mjs.map → chunk-WNKKBV76.mjs.map} +0 -0
  1344. /package/out/__chunks__/{chunk-ANRHXERH.mjs.map → chunk-WWNT4K25.mjs.map} +0 -0
  1345. /package/out/__chunks__/{chunk-CKPRCP4B.mjs.map → chunk-X3BMMYMU.mjs.map} +0 -0
  1346. /package/out/__chunks__/{chunk-BHRUDWJV.mjs.map → chunk-XXILUGAY.mjs.map} +0 -0
  1347. /package/out/__chunks__/{chunk-PO5CKWAW.mjs.map → chunk-YBLDHLHP.mjs.map} +0 -0
  1348. /package/out/__chunks__/{chunk-XIXT6MEM.mjs.map → chunk-Z3SM2MSZ.mjs.map} +0 -0
  1349. /package/out/__chunks__/{chunk-S4QEQGMS.mjs.map → chunk-ZFM5CMB7.mjs.map} +0 -0
  1350. /package/out/__chunks__/{chunk-B5DFRWKW.mjs.map → chunk-ZP2E2Y6Y.mjs.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/helpers/createToastsFromTransactions.ts"],
4
+ "sourcesContent": ["import { getEgldLabel } from 'methods/network/getEgldLabel';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport {\n getIsTransactionFailed,\n getIsTransactionPending,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { AccountSliceType } from 'store/slices/account/account.types';\nimport { ToastsSliceType } from 'store/slices/toast/toastSlice.types';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { SessionTransactionType } from 'types/transactions.types';\nimport { mapServerTransactionsToListItems } from 'utils/transactions/getTransactionsHistory/helpers';\nimport { createTransactionToast } from './createTransactionToast';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateToastsFromTransactionsReturnType {\n pendingTransactionToasts: ITransactionToast[];\n completedTransactionToasts: ITransactionToast[];\n}\n\ninterface CreateToastsFromTransactionsParamsType {\n toastList: ToastsSliceType;\n transactionsSessions: Record<string, SessionTransactionType>;\n account: AccountSliceType;\n existingCompletedTransactions?: ITransactionToast[];\n}\n\nexport const createToastsFromTransactions = async ({\n toastList,\n transactionsSessions,\n account,\n existingCompletedTransactions = []\n}: CreateToastsFromTransactionsParamsType): Promise<CreateToastsFromTransactionsReturnType> => {\n const pendingTransactionToasts: ITransactionToast[] = [];\n const completedTransactionToasts: ITransactionToast[] = [\n ...existingCompletedTransactions\n ];\n const explorerAddress = getExplorerAddress();\n const egldLabel = getEgldLabel();\n\n for (const toast of toastList.transactionToasts) {\n const transactionSession = transactionsSessions[toast.toastId];\n if (!transactionSession?.status) {\n continue;\n }\n\n const { status, transactions, transactionsDisplayInfo } =\n transactionSession;\n\n const interprettedTransactions = await mapServerTransactionsToListItems({\n transactions,\n address: account.address,\n explorerAddress,\n egldLabel\n });\n\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isTimedOut || isFailed || isSuccessful;\n const isPending = getIsTransactionPending(status);\n const { startTime, endTime } = toast;\n\n if (\n isCompleted &&\n completedTransactionToasts.some((t) => t.toastId === toast.toastId)\n ) {\n continue;\n }\n\n const transactionToast = createTransactionToast({\n toastId: toast.toastId,\n address: account.address,\n status: status as TransactionServerStatusesEnum,\n transactions: interprettedTransactions,\n transactionsDisplayInfo,\n explorerAddress,\n startTime,\n endTime\n });\n\n if (isCompleted) {\n completedTransactionToasts.push(transactionToast);\n }\n\n if (isPending) {\n pendingTransactionToasts.push(transactionToast);\n }\n }\n\n return {\n pendingTransactionToasts,\n completedTransactionToasts\n };\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAC7B,gCAAmC;AACnC,sCAKO;AAKP,qBAAiD;AACjD,oCAAuC;AAchC,MAAM,+BAA+B,OAAO;AAAA,EACjD;AAAA,EACA;AAAA,EACA;AAAA,EACA,gCAAgC,CAAC;AACnC,MAA+F;AAC7F,QAAM,2BAAgD,CAAC;AACvD,QAAM,6BAAkD;AAAA,IACtD,GAAG;AAAA,EACL;AACA,QAAM,sBAAkB,8CAAmB;AAC3C,QAAM,gBAAY,kCAAa;AAE/B,aAAW,SAAS,UAAU,mBAAmB;AAC/C,UAAM,qBAAqB,qBAAqB,MAAM,OAAO;AAC7D,QAAI,CAAC,oBAAoB,QAAQ;AAC/B;AAAA,IACF;AAEA,UAAM,EAAE,QAAQ,cAAc,wBAAwB,IACpD;AAEF,UAAM,2BAA2B,UAAM,iDAAiC;AAAA,MACtE;AAAA,MACA,SAAS,QAAQ;AAAA,MACjB;AAAA,MACA;AAAA,IACF,CAAC;AAED,UAAM,iBAAa,0DAAyB,MAAM;AAClD,UAAM,eAAW,wDAAuB,MAAM;AAC9C,UAAM,mBAAe,4DAA2B,MAAM;AACtD,UAAM,cAAc,cAAc,YAAY;AAC9C,UAAM,gBAAY,yDAAwB,MAAM;AAChD,UAAM,EAAE,WAAW,QAAQ,IAAI;AAE/B,QACE,eACA,2BAA2B,KAAK,CAAC,MAAM,EAAE,YAAY,MAAM,OAAO,GAClE;AACA;AAAA,IACF;AAEA,UAAM,uBAAmB,sDAAuB;AAAA,MAC9C,SAAS,MAAM;AAAA,MACf,SAAS,QAAQ;AAAA,MACjB;AAAA,MACA,cAAc;AAAA,MACd;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC;AAED,QAAI,aAAa;AACf,iCAA2B,KAAK,gBAAgB;AAAA,IAClD;AAEA,QAAI,WAAW;AACb,+BAAyB,KAAK,gBAAgB;AAAA,IAChD;AAAA,EACF;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"../../../../__chunks__/chunk-A3CN5JWD.mjs";import"../../../../__chunks__/chunk-PJDJEPY2.mjs";import"../../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../../__chunks__/chunk-4HEE3XZP.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-IMPOALRX.mjs";import"../../../../__chunks__/chunk-D5DPZ3O3.mjs";import"../../../../__chunks__/chunk-CXEW3QBW.mjs";import"../../../../__chunks__/chunk-65L5EBBL.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-UBLZ4XV2.mjs";import"../../../../__chunks__/chunk-KELD3JME.mjs";import"../../../../__chunks__/chunk-3KJKVWZX.mjs";import"../../../../__chunks__/chunk-57JT3YYO.mjs";import"../../../../__chunks__/chunk-QQAW7UC2.mjs";import"../../../../__chunks__/chunk-52PGMMOM.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-AGUGUYQS.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-RNLXKFRP.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-CA5CTMET.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-UK5MEKBE.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-ZECWUL7N.mjs";export{a as createToastsFromTransactions};
1
+ import{a}from"../../../../__chunks__/chunk-P7KN75HA.mjs";import"../../../../__chunks__/chunk-PJDJEPY2.mjs";import"../../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../../__chunks__/chunk-4HEE3XZP.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-IMPOALRX.mjs";import"../../../../__chunks__/chunk-OA7DW77N.mjs";import"../../../../__chunks__/chunk-FKCGBCKV.mjs";import"../../../../__chunks__/chunk-65L5EBBL.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-LJKBU76G.mjs";import"../../../../__chunks__/chunk-7O5OCSV5.mjs";import"../../../../__chunks__/chunk-5MK24VWA.mjs";import"../../../../__chunks__/chunk-6WQJAFR3.mjs";import"../../../../__chunks__/chunk-QQAW7UC2.mjs";import"../../../../__chunks__/chunk-52PGMMOM.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-AGUGUYQS.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-GUPYIQ3X.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-J7GHXLMR.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-UK5MEKBE.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-5ICRLXOJ.mjs";export{a as createToastsFromTransactions};
2
2
  //# sourceMappingURL=createToastsFromTransactions.mjs.map
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var createTransactionToast_exports = {};
20
+ __export(createTransactionToast_exports, {
21
+ createTransactionToast: () => createTransactionToast
22
+ });
23
+ module.exports = __toCommonJS(createTransactionToast_exports);
24
+ var import_transactionStateByStatus = require("../../../../store/actions/transactions/transactionStateByStatus");
25
+ var import_getToastDataStateByStatus = require("./getToastDataStateByStatus");
26
+ var import_getToastTransactionsStatus = require("./getToastTransactionsStatus");
27
+ const createTransactionToast = ({
28
+ toastId,
29
+ address,
30
+ status,
31
+ transactions,
32
+ transactionsDisplayInfo,
33
+ startTime,
34
+ endTime
35
+ }) => {
36
+ const isPending = (0, import_transactionStateByStatus.getIsTransactionPending)(status);
37
+ const toastDataState = (0, import_getToastDataStateByStatus.getToastDataStateByStatus)({
38
+ address,
39
+ sender: transactions[0]?.interactor ?? "",
40
+ toastId,
41
+ status,
42
+ transactionsDisplayInfo
43
+ });
44
+ const processedTransactionsStatus = (0, import_getToastTransactionsStatus.getToastTransactionsStatus)(transactions);
45
+ const transactionProgressState = isPending ? {
46
+ endTime,
47
+ startTime
48
+ } : null;
49
+ return {
50
+ toastDataState,
51
+ processedTransactionsStatus,
52
+ transactionProgressState,
53
+ toastId,
54
+ transactions
55
+ };
56
+ };
57
+ // Annotate the CommonJS export names for ESM import in node:
58
+ 0 && (module.exports = {
59
+ createTransactionToast
60
+ });
61
+ //# sourceMappingURL=createTransactionToast.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/helpers/createTransactionToast.ts"],
4
+ "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getIsTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { TransactionsDisplayInfoType } from 'types/transactions.types';\nimport { getToastDataStateByStatus } from './getToastDataStateByStatus';\nimport { getToastTransactionsStatus } from './getToastTransactionsStatus';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateTransactionToastParamsType {\n toastId: string;\n address: string;\n status: TransactionServerStatusesEnum;\n transactions: ITransactionListItem[];\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n explorerAddress: string;\n startTime: number;\n endTime: number;\n}\n\nexport const createTransactionToast = ({\n toastId,\n address,\n status,\n transactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n}: CreateTransactionToastParamsType): ITransactionToast => {\n const isPending = getIsTransactionPending(status);\n\n const toastDataState = getToastDataStateByStatus({\n address,\n sender: transactions[0]?.interactor ?? '',\n toastId,\n status,\n transactionsDisplayInfo\n });\n\n const processedTransactionsStatus = getToastTransactionsStatus(transactions);\n\n const transactionProgressState = isPending\n ? {\n endTime,\n startTime\n }\n : null;\n\n return {\n toastDataState,\n processedTransactionsStatus,\n transactionProgressState,\n toastId,\n transactions\n };\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,sCAAwC;AAGxC,uCAA0C;AAC1C,wCAA2C;AAapC,MAAM,yBAAyB,CAAC;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAA2D;AACzD,QAAM,gBAAY,yDAAwB,MAAM;AAEhD,QAAM,qBAAiB,4DAA0B;AAAA,IAC/C;AAAA,IACA,QAAQ,aAAa,CAAC,GAAG,cAAc;AAAA,IACvC;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AAED,QAAM,kCAA8B,8DAA2B,YAAY;AAE3E,QAAM,2BAA2B,YAC7B;AAAA,IACE;AAAA,IACA;AAAA,EACF,IACA;AAEJ,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var getToastDataStateByStatus_exports = {};
20
+ __export(getToastDataStateByStatus_exports, {
21
+ ToastIconsEnum: () => ToastIconsEnum,
22
+ getToastDataStateByStatus: () => getToastDataStateByStatus
23
+ });
24
+ module.exports = __toCommonJS(getToastDataStateByStatus_exports);
25
+ var import_types = require("../../../../types");
26
+ var import_types2 = require("../types");
27
+ var ToastIconsEnum = /* @__PURE__ */ ((ToastIconsEnum2) => {
28
+ ToastIconsEnum2["check"] = "check";
29
+ ToastIconsEnum2["hourglass"] = "hourglass";
30
+ ToastIconsEnum2["times"] = "times";
31
+ ToastIconsEnum2["ban"] = "ban";
32
+ return ToastIconsEnum2;
33
+ })(ToastIconsEnum || {});
34
+ const getToastDataStateByStatus = ({
35
+ address,
36
+ sender,
37
+ status,
38
+ toastId,
39
+ transactionsDisplayInfo
40
+ }) => {
41
+ const successToastData = {
42
+ id: toastId,
43
+ icon: "check" /* check */,
44
+ hasCloseButton: true,
45
+ title: transactionsDisplayInfo?.successMessage ?? import_types2.TransactionsDefaultTitles.success,
46
+ iconClassName: "success"
47
+ };
48
+ const receivedToastData = {
49
+ id: toastId,
50
+ icon: "check" /* check */,
51
+ hasCloseButton: true,
52
+ title: transactionsDisplayInfo?.receivedMessage ?? import_types2.TransactionsDefaultTitles.received,
53
+ iconClassName: "success"
54
+ };
55
+ const pendingToastData = {
56
+ id: toastId,
57
+ icon: "hourglass" /* hourglass */,
58
+ hasCloseButton: false,
59
+ title: transactionsDisplayInfo?.processingMessage ?? import_types2.TransactionsDefaultTitles.pending,
60
+ iconClassName: "warning"
61
+ };
62
+ const failToastData = {
63
+ id: toastId,
64
+ icon: "times" /* times */,
65
+ title: transactionsDisplayInfo?.errorMessage ?? import_types2.TransactionsDefaultTitles.failed,
66
+ hasCloseButton: true,
67
+ iconClassName: "danger"
68
+ };
69
+ const invalidToastData = {
70
+ id: toastId,
71
+ icon: "ban" /* ban */,
72
+ title: transactionsDisplayInfo?.invalidMessage ?? import_types2.TransactionsDefaultTitles.invalid,
73
+ hasCloseButton: true,
74
+ iconClassName: "warning"
75
+ };
76
+ const timedOutToastData = {
77
+ id: toastId,
78
+ icon: "times" /* times */,
79
+ title: transactionsDisplayInfo?.timedOutMessage ?? import_types2.TransactionsDefaultTitles.timedOut,
80
+ hasCloseButton: true,
81
+ iconClassName: "warning"
82
+ };
83
+ switch (status) {
84
+ case import_types.TransactionBatchStatusesEnum.success:
85
+ return sender !== address ? receivedToastData : successToastData;
86
+ case import_types.TransactionBatchStatusesEnum.cancelled:
87
+ case import_types.TransactionBatchStatusesEnum.fail:
88
+ return failToastData;
89
+ case import_types.TransactionBatchStatusesEnum.timedOut:
90
+ return timedOutToastData;
91
+ case import_types.TransactionBatchStatusesEnum.invalid:
92
+ return invalidToastData;
93
+ case import_types.TransactionBatchStatusesEnum.signed:
94
+ case import_types.TransactionBatchStatusesEnum.sent:
95
+ default:
96
+ return pendingToastData;
97
+ }
98
+ };
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ ToastIconsEnum,
102
+ getToastDataStateByStatus
103
+ });
104
+ //# sourceMappingURL=getToastDataStateByStatus.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/helpers/getToastDataStateByStatus.ts"],
4
+ "sourcesContent": ["import { TransactionBatchStatusesEnum } from 'types';\nimport {\n GetToastsOptionsDataPropsType,\n IToastDataState,\n TransactionsDefaultTitles\n} from '../types';\n\nexport enum ToastIconsEnum {\n check = 'check',\n hourglass = 'hourglass',\n times = 'times',\n ban = 'ban'\n}\n\nexport const getToastDataStateByStatus = ({\n address,\n sender,\n status,\n toastId,\n transactionsDisplayInfo\n}: GetToastsOptionsDataPropsType) => {\n const successToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.check,\n hasCloseButton: true,\n title:\n transactionsDisplayInfo?.successMessage ??\n TransactionsDefaultTitles.success,\n iconClassName: 'success'\n };\n\n const receivedToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.check,\n hasCloseButton: true,\n title:\n transactionsDisplayInfo?.receivedMessage ??\n TransactionsDefaultTitles.received,\n iconClassName: 'success'\n };\n\n const pendingToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.hourglass,\n hasCloseButton: false,\n title:\n transactionsDisplayInfo?.processingMessage ??\n TransactionsDefaultTitles.pending,\n iconClassName: 'warning'\n };\n\n const failToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.times,\n title:\n transactionsDisplayInfo?.errorMessage ?? TransactionsDefaultTitles.failed,\n hasCloseButton: true,\n iconClassName: 'danger'\n };\n\n const invalidToastData: IToastDataState = {\n id: toastId,\n icon: ToastIconsEnum.ban,\n title:\n transactionsDisplayInfo?.invalidMessage ??\n TransactionsDefaultTitles.invalid,\n hasCloseButton: true,\n iconClassName: 'warning'\n };\n\n const timedOutToastData = {\n id: toastId,\n icon: ToastIconsEnum.times,\n title:\n transactionsDisplayInfo?.timedOutMessage ??\n TransactionsDefaultTitles.timedOut,\n hasCloseButton: true,\n iconClassName: 'warning'\n };\n\n switch (status) {\n case TransactionBatchStatusesEnum.success:\n return sender !== address ? receivedToastData : successToastData;\n case TransactionBatchStatusesEnum.cancelled:\n case TransactionBatchStatusesEnum.fail:\n return failToastData;\n case TransactionBatchStatusesEnum.timedOut:\n return timedOutToastData;\n case TransactionBatchStatusesEnum.invalid:\n return invalidToastData;\n\n case TransactionBatchStatusesEnum.signed:\n case TransactionBatchStatusesEnum.sent:\n default:\n return pendingToastData;\n }\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA6C;AAC7C,IAAAA,gBAIO;AAEA,IAAK,iBAAL,kBAAKC,oBAAL;AACL,EAAAA,gBAAA,WAAQ;AACR,EAAAA,gBAAA,eAAY;AACZ,EAAAA,gBAAA,WAAQ;AACR,EAAAA,gBAAA,SAAM;AAJI,SAAAA;AAAA,GAAA;AAOL,MAAM,4BAA4B,CAAC;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAqC;AACnC,QAAM,mBAAoC;AAAA,IACxC,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,gBAAgB;AAAA,IAChB,OACE,yBAAyB,kBACzB,wCAA0B;AAAA,IAC5B,eAAe;AAAA,EACjB;AAEA,QAAM,oBAAqC;AAAA,IACzC,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,gBAAgB;AAAA,IAChB,OACE,yBAAyB,mBACzB,wCAA0B;AAAA,IAC5B,eAAe;AAAA,EACjB;AAEA,QAAM,mBAAoC;AAAA,IACxC,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,gBAAgB;AAAA,IAChB,OACE,yBAAyB,qBACzB,wCAA0B;AAAA,IAC5B,eAAe;AAAA,EACjB;AAEA,QAAM,gBAAiC;AAAA,IACrC,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OACE,yBAAyB,gBAAgB,wCAA0B;AAAA,IACrE,gBAAgB;AAAA,IAChB,eAAe;AAAA,EACjB;AAEA,QAAM,mBAAoC;AAAA,IACxC,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OACE,yBAAyB,kBACzB,wCAA0B;AAAA,IAC5B,gBAAgB;AAAA,IAChB,eAAe;AAAA,EACjB;AAEA,QAAM,oBAAoB;AAAA,IACxB,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,OACE,yBAAyB,mBACzB,wCAA0B;AAAA,IAC5B,gBAAgB;AAAA,IAChB,eAAe;AAAA,EACjB;AAEA,UAAQ,QAAQ;AAAA,IACd,KAAK,0CAA6B;AAChC,aAAO,WAAW,UAAU,oBAAoB;AAAA,IAClD,KAAK,0CAA6B;AAAA,IAClC,KAAK,0CAA6B;AAChC,aAAO;AAAA,IACT,KAAK,0CAA6B;AAChC,aAAO;AAAA,IACT,KAAK,0CAA6B;AAChC,aAAO;AAAA,IAET,KAAK,0CAA6B;AAAA,IAClC,KAAK,0CAA6B;AAAA,IAClC;AACE,aAAO;AAAA,EACX;AACF;",
6
+ "names": ["import_types", "ToastIconsEnum"]
7
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var getToastTransactionsStatus_exports = {};
20
+ __export(getToastTransactionsStatus_exports, {
21
+ getToastTransactionsStatus: () => getToastTransactionsStatus
22
+ });
23
+ module.exports = __toCommonJS(getToastTransactionsStatus_exports);
24
+ var import_transactionStateByStatus = require("../../../../store/actions/transactions/transactionStateByStatus");
25
+ const getToastTransactionsStatus = (transactions) => {
26
+ const processedTransactions = transactions.filter(
27
+ (tx) => !(0, import_transactionStateByStatus.isServerTransactionPending)(tx.status)
28
+ ).length;
29
+ const totalTransactions = transactions.length;
30
+ if (totalTransactions === 1 && processedTransactions === 1) {
31
+ return (0, import_transactionStateByStatus.isServerTransactionPending)(
32
+ transactions[0].status
33
+ ) ? "Processing transaction" : "Transaction processed";
34
+ }
35
+ return `${processedTransactions} / ${totalTransactions} transactions processed`;
36
+ };
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ getToastTransactionsStatus
40
+ });
41
+ //# sourceMappingURL=getToastTransactionsStatus.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/helpers/getToastTransactionsStatus.ts"],
4
+ "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { isServerTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types';\n\nexport const getToastTransactionsStatus = (\n transactions: ITransactionListItem[]\n) => {\n const processedTransactions = transactions.filter(\n (tx) =>\n !isServerTransactionPending(tx.status as TransactionServerStatusesEnum)\n ).length;\n\n const totalTransactions = transactions.length;\n\n if (totalTransactions === 1 && processedTransactions === 1) {\n return isServerTransactionPending(\n transactions[0].status as TransactionServerStatusesEnum\n )\n ? 'Processing transaction'\n : 'Transaction processed';\n }\n\n return `${processedTransactions} / ${totalTransactions} transactions processed`;\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,sCAA2C;AAGpC,MAAM,6BAA6B,CACxC,iBACG;AACH,QAAM,wBAAwB,aAAa;AAAA,IACzC,CAAC,OACC,KAAC,4DAA2B,GAAG,MAAuC;AAAA,EAC1E,EAAE;AAEF,QAAM,oBAAoB,aAAa;AAEvC,MAAI,sBAAsB,KAAK,0BAA0B,GAAG;AAC1D,eAAO;AAAA,MACL,aAAa,CAAC,EAAE;AAAA,IAClB,IACI,2BACA;AAAA,EACN;AAEA,SAAO,GAAG,qBAAqB,MAAM,iBAAiB;AACxD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var types_exports = {};
17
+ module.exports = __toCommonJS(types_exports);
18
+ __reExport(types_exports, require("./toast.types"), module.exports);
19
+ // Annotate the CommonJS export names for ESM import in node:
20
+ 0 && (module.exports = {
21
+ ...require("./toast.types")
22
+ });
23
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/types/index.ts"],
4
+ "sourcesContent": ["export * from './toast.types';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,0BAAd;",
6
+ "names": []
7
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var toast_types_exports = {};
20
+ __export(toast_types_exports, {
21
+ ToastEventsEnum: () => ToastEventsEnum,
22
+ TransactionsDefaultTitles: () => TransactionsDefaultTitles
23
+ });
24
+ module.exports = __toCommonJS(toast_types_exports);
25
+ var TransactionsDefaultTitles = /* @__PURE__ */ ((TransactionsDefaultTitles2) => {
26
+ TransactionsDefaultTitles2["success"] = "Transaction successful";
27
+ TransactionsDefaultTitles2["received"] = "Transaction received";
28
+ TransactionsDefaultTitles2["failed"] = "Transaction failed";
29
+ TransactionsDefaultTitles2["pending"] = "Processing transaction";
30
+ TransactionsDefaultTitles2["timedOut"] = "Transaction timed out";
31
+ TransactionsDefaultTitles2["invalid"] = "Transaction invalid";
32
+ return TransactionsDefaultTitles2;
33
+ })(TransactionsDefaultTitles || {});
34
+ var ToastEventsEnum = /* @__PURE__ */ ((ToastEventsEnum2) => {
35
+ ToastEventsEnum2["OPEN_NOTIFICATIONS_FEED"] = "OPEN_NOTIFICATIONS_FEED";
36
+ ToastEventsEnum2["CLOSE"] = "CLOSE_TOAST";
37
+ ToastEventsEnum2["TRANSACTION_TOAST_DATA_UPDATE"] = "TRANSACTION_TOAST_DATA_UPDATE";
38
+ ToastEventsEnum2["CUSTOM_TOAST_DATA_UPDATE"] = "CUSTOM_TOAST_DATA_UPDATE";
39
+ ToastEventsEnum2["HIDE"] = "HIDE_TOAST_LIST";
40
+ ToastEventsEnum2["SHOW"] = "SHOW_TOAST_LIST";
41
+ return ToastEventsEnum2;
42
+ })(ToastEventsEnum || {});
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ ToastEventsEnum,
46
+ TransactionsDefaultTitles
47
+ });
48
+ //# sourceMappingURL=toast.types.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/managers/internal/ToastManager/types/toast.types.ts"],
4
+ "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { TransactionsDisplayInfoType } from 'types/transactions.types';\n\nexport enum TransactionsDefaultTitles {\n success = 'Transaction successful',\n received = 'Transaction received',\n failed = 'Transaction failed',\n pending = 'Processing transaction',\n timedOut = 'Transaction timed out',\n invalid = 'Transaction invalid'\n}\n\nexport interface GetToastsOptionsDataPropsType {\n address: string;\n sender: string;\n status?: TransactionBatchStatusesEnum | TransactionServerStatusesEnum;\n toastId: string;\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n}\n\nexport interface IToastDataState {\n id: string;\n icon: string;\n hasCloseButton: boolean;\n title: string;\n iconClassName: string;\n}\nexport interface ITransactionProgressState {\n startTime: number;\n endTime: number;\n}\nexport interface ITransaction {\n hash: string;\n status: string;\n link: string;\n}\nexport interface ITransactionToast {\n toastId: string;\n processedTransactionsStatus: string;\n transactions: ITransactionListItem[];\n toastDataState: IToastDataState;\n transactionProgressState?: ITransactionProgressState | null;\n}\n\nexport enum ToastEventsEnum {\n OPEN_NOTIFICATIONS_FEED = 'OPEN_NOTIFICATIONS_FEED',\n CLOSE = 'CLOSE_TOAST',\n // Event to update the transaction toast data\n TRANSACTION_TOAST_DATA_UPDATE = 'TRANSACTION_TOAST_DATA_UPDATE',\n // Event to update the custom toast data\n CUSTOM_TOAST_DATA_UPDATE = 'CUSTOM_TOAST_DATA_UPDATE',\n HIDE = 'HIDE_TOAST_LIST',\n SHOW = 'SHOW_TOAST_LIST'\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOO,IAAK,4BAAL,kBAAKA,+BAAL;AACL,EAAAA,2BAAA,aAAU;AACV,EAAAA,2BAAA,cAAW;AACX,EAAAA,2BAAA,YAAS;AACT,EAAAA,2BAAA,aAAU;AACV,EAAAA,2BAAA,cAAW;AACX,EAAAA,2BAAA,aAAU;AANA,SAAAA;AAAA,GAAA;AAyCL,IAAK,kBAAL,kBAAKC,qBAAL;AACL,EAAAA,iBAAA,6BAA0B;AAC1B,EAAAA,iBAAA,WAAQ;AAER,EAAAA,iBAAA,mCAAgC;AAEhC,EAAAA,iBAAA,8BAA2B;AAC3B,EAAAA,iBAAA,UAAO;AACP,EAAAA,iBAAA,UAAO;AARG,SAAAA;AAAA,GAAA;",
6
+ "names": ["TransactionsDefaultTitles", "ToastEventsEnum"]
7
+ }
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var UIBaseManager_exports = {};
20
+ __export(UIBaseManager_exports, {
21
+ UIBaseManager: () => UIBaseManager
22
+ });
23
+ module.exports = __toCommonJS(UIBaseManager_exports);
24
+ var import_provider = require("../../../types/provider.types");
25
+ var import_ComponentFactory = require("../../../utils/ComponentFactory");
26
+ class UIBaseManager {
27
+ constructor({
28
+ uiDataUpdateEvent,
29
+ uiTag
30
+ }) {
31
+ this.eventBus = null;
32
+ this.uiElement = null;
33
+ this.isCreatingElement = false;
34
+ this.unsubscribeFunctions = /* @__PURE__ */ new Map();
35
+ this.uiDataUpdateEvent = uiDataUpdateEvent;
36
+ this.uiTag = uiTag;
37
+ this.data = this.getInitialData();
38
+ }
39
+ async init(anchor) {
40
+ this.anchor = anchor;
41
+ await this.createUIElement(anchor);
42
+ await this.setupEventListeners();
43
+ }
44
+ updateData(newData) {
45
+ this.data = { ...this.data, ...newData };
46
+ this.notifyDataUpdate();
47
+ }
48
+ subscribeToEventBus(event, callback) {
49
+ if (!this.eventBus) {
50
+ throw new Error(import_provider.ProviderErrorsEnum.eventBusError);
51
+ }
52
+ const unsubscribe = this.eventBus?.subscribe(event, callback);
53
+ if (unsubscribe) {
54
+ const existing = this.unsubscribeFunctions.get(event) || [];
55
+ existing.push(unsubscribe);
56
+ this.unsubscribeFunctions.set(event, existing);
57
+ }
58
+ }
59
+ notifyDataUpdate() {
60
+ this.eventBus?.publish(this.uiDataUpdateEvent, this.data);
61
+ }
62
+ destroy() {
63
+ this.unsubscribeFunctions.forEach(
64
+ (unsubList) => unsubList.forEach((unsubscribe) => unsubscribe())
65
+ );
66
+ this.unsubscribeFunctions.clear();
67
+ this.eventBus = null;
68
+ this.uiElement?.remove();
69
+ this.uiElement = null;
70
+ }
71
+ getInitialData() {
72
+ return this.initialData;
73
+ }
74
+ resetData() {
75
+ this.data = this.getInitialData();
76
+ }
77
+ async createUIElement(anchor = this.anchor) {
78
+ if (this.isCreatingElement || this.uiElement) {
79
+ return this.uiElement;
80
+ }
81
+ this.isCreatingElement = true;
82
+ this.uiElement = await import_ComponentFactory.ComponentFactory.create({
83
+ name: this.uiTag,
84
+ anchor
85
+ });
86
+ this.isCreatingElement = false;
87
+ if (!this.uiElement) {
88
+ throw new Error(`Failed to create ${this.uiTag} element`);
89
+ }
90
+ if (!this.eventBus) {
91
+ this.eventBus = await this.uiElement.getEventBus();
92
+ }
93
+ if (!this.eventBus) {
94
+ throw new Error(import_provider.ProviderErrorsEnum.eventBusError);
95
+ }
96
+ return this.uiElement;
97
+ }
98
+ }
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ UIBaseManager
102
+ });
103
+ //# sourceMappingURL=UIBaseManager.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/managers/internal/UIBaseManager/UIBaseManager.ts"],
4
+ "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { IEventBus } from 'lib/sdkDappUi';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport {\n ComponentFactory,\n CreateEventBusUIElementType\n} from 'utils/ComponentFactory';\n\nexport abstract class UIBaseManager<\n TElement extends CreateEventBusUIElementType,\n TData extends Record<string, any> | null,\n TEventEnum extends string\n> {\n protected eventBus: IEventBus | null = null;\n protected uiElement: TElement | null = null;\n protected isCreatingElement = false;\n protected anchor?: HTMLElement;\n protected uiTag: UITagsEnum;\n protected uiDataUpdateEvent: TEventEnum;\n protected unsubscribeFunctions: Map<TEventEnum, (() => void)[]> = new Map();\n protected abstract initialData: TData;\n protected data: TData;\n\n constructor({\n uiDataUpdateEvent,\n uiTag\n }: {\n uiTag: UITagsEnum;\n uiDataUpdateEvent: TEventEnum;\n }) {\n this.uiDataUpdateEvent = uiDataUpdateEvent;\n this.uiTag = uiTag;\n this.data = this.getInitialData();\n }\n\n public async init(anchor?: HTMLElement) {\n this.anchor = anchor;\n await this.createUIElement(anchor);\n await this.setupEventListeners();\n }\n\n public updateData(newData: Partial<TData>) {\n this.data = { ...this.data, ...newData };\n this.notifyDataUpdate();\n }\n\n public subscribeToEventBus(event: TEventEnum, callback: Function) {\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n const unsubscribe = this.eventBus?.subscribe(event, callback);\n if (unsubscribe) {\n const existing = this.unsubscribeFunctions.get(event) || [];\n existing.push(unsubscribe);\n this.unsubscribeFunctions.set(event, existing);\n }\n }\n\n public notifyDataUpdate() {\n this.eventBus?.publish(this.uiDataUpdateEvent, this.data);\n }\n\n protected destroy() {\n this.unsubscribeFunctions.forEach((unsubList) =>\n unsubList.forEach((unsubscribe) => unsubscribe())\n );\n this.unsubscribeFunctions.clear();\n this.eventBus = null;\n this.uiElement?.remove();\n this.uiElement = null;\n }\n\n protected getInitialData(): TData {\n return this.initialData;\n }\n\n protected resetData() {\n this.data = this.getInitialData();\n }\n\n protected abstract setupEventListeners(): Promise<void>;\n\n private async createUIElement(\n anchor: HTMLElement | undefined = this.anchor\n ): Promise<TElement | null> {\n if (this.isCreatingElement || this.uiElement) {\n return this.uiElement;\n }\n\n this.isCreatingElement = true;\n\n this.uiElement = await ComponentFactory.create<TElement>({\n name: this.uiTag,\n anchor\n });\n\n this.isCreatingElement = false;\n\n if (!this.uiElement) {\n throw new Error(`Failed to create ${this.uiTag} element`);\n }\n\n if (!this.eventBus) {\n this.eventBus = await this.uiElement.getEventBus();\n }\n\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n return this.uiElement;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,sBAAmC;AACnC,8BAGO;AAEA,MAAe,cAIpB;AAAA,EAWA,YAAY;AAAA,IACV;AAAA,IACA;AAAA,EACF,GAGG;AAhBH,SAAU,WAA6B;AACvC,SAAU,YAA6B;AACvC,SAAU,oBAAoB;AAI9B,SAAU,uBAAwD,oBAAI,IAAI;AAWxE,SAAK,oBAAoB;AACzB,SAAK,QAAQ;AACb,SAAK,OAAO,KAAK,eAAe;AAAA,EAClC;AAAA,EAEA,MAAa,KAAK,QAAsB;AACtC,SAAK,SAAS;AACd,UAAM,KAAK,gBAAgB,MAAM;AACjC,UAAM,KAAK,oBAAoB;AAAA,EACjC;AAAA,EAEO,WAAW,SAAyB;AACzC,SAAK,OAAO,EAAE,GAAG,KAAK,MAAM,GAAG,QAAQ;AACvC,SAAK,iBAAiB;AAAA,EACxB;AAAA,EAEO,oBAAoB,OAAmB,UAAoB;AAChE,QAAI,CAAC,KAAK,UAAU;AAClB,YAAM,IAAI,MAAM,mCAAmB,aAAa;AAAA,IAClD;AAEA,UAAM,cAAc,KAAK,UAAU,UAAU,OAAO,QAAQ;AAC5D,QAAI,aAAa;AACf,YAAM,WAAW,KAAK,qBAAqB,IAAI,KAAK,KAAK,CAAC;AAC1D,eAAS,KAAK,WAAW;AACzB,WAAK,qBAAqB,IAAI,OAAO,QAAQ;AAAA,IAC/C;AAAA,EACF;AAAA,EAEO,mBAAmB;AACxB,SAAK,UAAU,QAAQ,KAAK,mBAAmB,KAAK,IAAI;AAAA,EAC1D;AAAA,EAEU,UAAU;AAClB,SAAK,qBAAqB;AAAA,MAAQ,CAAC,cACjC,UAAU,QAAQ,CAAC,gBAAgB,YAAY,CAAC;AAAA,IAClD;AACA,SAAK,qBAAqB,MAAM;AAChC,SAAK,WAAW;AAChB,SAAK,WAAW,OAAO;AACvB,SAAK,YAAY;AAAA,EACnB;AAAA,EAEU,iBAAwB;AAChC,WAAO,KAAK;AAAA,EACd;AAAA,EAEU,YAAY;AACpB,SAAK,OAAO,KAAK,eAAe;AAAA,EAClC;AAAA,EAIA,MAAc,gBACZ,SAAkC,KAAK,QACb;AAC1B,QAAI,KAAK,qBAAqB,KAAK,WAAW;AAC5C,aAAO,KAAK;AAAA,IACd;AAEA,SAAK,oBAAoB;AAEzB,SAAK,YAAY,MAAM,yCAAiB,OAAiB;AAAA,MACvD,MAAM,KAAK;AAAA,MACX;AAAA,IACF,CAAC;AAED,SAAK,oBAAoB;AAEzB,QAAI,CAAC,KAAK,WAAW;AACnB,YAAM,IAAI,MAAM,oBAAoB,KAAK,KAAK,UAAU;AAAA,IAC1D;AAEA,QAAI,CAAC,KAAK,UAAU;AAClB,WAAK,WAAW,MAAM,KAAK,UAAU,YAAY;AAAA,IACnD;AAEA,QAAI,CAAC,KAAK,UAAU;AAClB,YAAM,IAAI,MAAM,mCAAmB,aAAa;AAAA,IAClD;AAEA,WAAO,KAAK;AAAA,EACd;AACF;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"../../../__chunks__/chunk-THNK25ZD.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-EDKNWPTP.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-TI73UXGG.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-IEGMED5L.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-E26YTVSR.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-S2FQWSUO.mjs";import"../../../__chunks__/chunk-ZECWUL7N.mjs";export{a as UIBaseManager};
1
+ import{a}from"../../../__chunks__/chunk-W5LWBGZ4.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-SUOUG7EQ.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-CDQ2BNUD.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-A2X4YMKK.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-JHG4SR7C.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-PLUWBWJ2.mjs";import"../../../__chunks__/chunk-5ICRLXOJ.mjs";export{a as UIBaseManager};
2
2
  //# sourceMappingURL=UIBaseManager.mjs.map
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var WalletConnectStateManager_exports = {};
20
+ __export(WalletConnectStateManager_exports, {
21
+ WalletConnectStateManager: () => WalletConnectStateManager
22
+ });
23
+ module.exports = __toCommonJS(WalletConnectStateManager_exports);
24
+ var import_UITags = require("../../../constants/UITags.enum");
25
+ var import_UnlockPanelManager = require("../../../managers/UnlockPanelManager/UnlockPanelManager.types");
26
+ var import_walletConnect = require("../../../providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types");
27
+ var import_UIBaseManager = require("../UIBaseManager/UIBaseManager");
28
+ class WalletConnectStateManager extends import_UIBaseManager.UIBaseManager {
29
+ constructor() {
30
+ super({
31
+ uiDataUpdateEvent: import_walletConnect.WalletConnectEventsEnum.DATA_UPDATE,
32
+ uiTag: import_UITags.UITagsEnum.WALLET_CONNECT
33
+ });
34
+ this.initialData = {
35
+ wcURI: "",
36
+ walletConnectDeepLink: ""
37
+ };
38
+ this.data = { ...this.initialData };
39
+ }
40
+ static getInstance() {
41
+ if (!WalletConnectStateManager.instance) {
42
+ WalletConnectStateManager.instance = new WalletConnectStateManager();
43
+ }
44
+ return WalletConnectStateManager.instance;
45
+ }
46
+ handleClose(options) {
47
+ if (options?.isLoginFinished) {
48
+ return;
49
+ }
50
+ if (this.anchor) {
51
+ this.anchor.dispatchEvent(
52
+ new CustomEvent(import_UnlockPanelManager.UnlockPanelEventsEnum.ANCHOR_CLOSE, {
53
+ composed: false,
54
+ bubbles: false
55
+ })
56
+ );
57
+ } else {
58
+ this.destroy();
59
+ }
60
+ }
61
+ async setupEventListeners() {
62
+ if (!this.eventBus) {
63
+ return;
64
+ }
65
+ this.eventBus.subscribe(
66
+ import_walletConnect.WalletConnectEventsEnum.CLOSE,
67
+ this.handleClose.bind(this)
68
+ );
69
+ this.eventBus.subscribe(
70
+ import_walletConnect.WalletConnectEventsEnum.UI_DISCONNECTED,
71
+ this.destroy.bind(this)
72
+ );
73
+ }
74
+ }
75
+ // Annotate the CommonJS export names for ESM import in node:
76
+ 0 && (module.exports = {
77
+ WalletConnectStateManager
78
+ });
79
+ //# sourceMappingURL=WalletConnectStateManager.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/managers/internal/WalletConnectStateManager/WalletConnectStateManager.ts"],
4
+ "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxWalletConnect } from 'lib/sdkDappUi';\nimport { UnlockPanelEventsEnum } from 'managers/UnlockPanelManager/UnlockPanelManager.types';\nimport {\n WalletConnectEventsEnum,\n IWalletConnectModalData\n} from 'providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types';\nimport { UIBaseManager } from '../UIBaseManager/UIBaseManager';\n\nexport class WalletConnectStateManager extends UIBaseManager<\n MvxWalletConnect,\n IWalletConnectModalData,\n WalletConnectEventsEnum\n> {\n private static instance: WalletConnectStateManager;\n\n protected initialData: IWalletConnectModalData = {\n wcURI: '',\n walletConnectDeepLink: ''\n };\n\n public static getInstance(): WalletConnectStateManager {\n if (!WalletConnectStateManager.instance) {\n WalletConnectStateManager.instance = new WalletConnectStateManager();\n }\n return WalletConnectStateManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: WalletConnectEventsEnum.DATA_UPDATE,\n uiTag: UITagsEnum.WALLET_CONNECT\n });\n this.data = { ...this.initialData };\n }\n\n public handleClose(options?: { isLoginFinished?: boolean }) {\n if (options?.isLoginFinished) {\n return;\n }\n\n if (this.anchor) {\n this.anchor.dispatchEvent(\n new CustomEvent(UnlockPanelEventsEnum.ANCHOR_CLOSE, {\n composed: false,\n bubbles: false\n })\n );\n } else {\n this.destroy();\n }\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.CLOSE,\n this.handleClose.bind(this)\n );\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.UI_DISCONNECTED,\n this.destroy.bind(this)\n );\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA2B;AAE3B,gCAAsC;AACtC,2BAGO;AACP,2BAA8B;AAEvB,MAAM,kCAAkC,mCAI7C;AAAA,EAeA,cAAc;AACZ,UAAM;AAAA,MACJ,mBAAmB,6CAAwB;AAAA,MAC3C,OAAO,yBAAW;AAAA,IACpB,CAAC;AAhBH,SAAU,cAAuC;AAAA,MAC/C,OAAO;AAAA,MACP,uBAAuB;AAAA,IACzB;AAcE,SAAK,OAAO,EAAE,GAAG,KAAK,YAAY;AAAA,EACpC;AAAA,EAbA,OAAc,cAAyC;AACrD,QAAI,CAAC,0BAA0B,UAAU;AACvC,gCAA0B,WAAW,IAAI,0BAA0B;AAAA,IACrE;AACA,WAAO,0BAA0B;AAAA,EACnC;AAAA,EAUO,YAAY,SAAyC;AAC1D,QAAI,SAAS,iBAAiB;AAC5B;AAAA,IACF;AAEA,QAAI,KAAK,QAAQ;AACf,WAAK,OAAO;AAAA,QACV,IAAI,YAAY,gDAAsB,cAAc;AAAA,UAClD,UAAU;AAAA,UACV,SAAS;AAAA,QACX,CAAC;AAAA,MACH;AAAA,IACF,OAAO;AACL,WAAK,QAAQ;AAAA,IACf;AAAA,EACF;AAAA,EAEA,MAAgB,sBAAsB;AACpC,QAAI,CAAC,KAAK,UAAU;AAClB;AAAA,IACF;AAEA,SAAK,SAAS;AAAA,MACZ,6CAAwB;AAAA,MACxB,KAAK,YAAY,KAAK,IAAI;AAAA,IAC5B;AAEA,SAAK,SAAS;AAAA,MACZ,6CAAwB;AAAA,MACxB,KAAK,QAAQ,KAAK,IAAI;AAAA,IACxB;AAAA,EACF;AACF;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"../../../__chunks__/chunk-XAYCFZAU.mjs";import"../../../__chunks__/chunk-RVO7H26H.mjs";import"../../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../../__chunks__/chunk-55SACSMS.mjs";import"../../../__chunks__/chunk-THNK25ZD.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-EDKNWPTP.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-TI73UXGG.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-IEGMED5L.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-E26YTVSR.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-S2FQWSUO.mjs";import"../../../__chunks__/chunk-ZECWUL7N.mjs";export{a as WalletConnectStateManager};
1
+ import{a}from"../../../__chunks__/chunk-6IA3KJH5.mjs";import"../../../__chunks__/chunk-RVO7H26H.mjs";import"../../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../../__chunks__/chunk-55SACSMS.mjs";import"../../../__chunks__/chunk-W5LWBGZ4.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-SUOUG7EQ.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-CDQ2BNUD.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-A2X4YMKK.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-JHG4SR7C.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-PLUWBWJ2.mjs";import"../../../__chunks__/chunk-5ICRLXOJ.mjs";export{a as WalletConnectStateManager};
2
2
  //# sourceMappingURL=WalletConnectStateManager.mjs.map