@multiversx/sdk-dapp 5.6.10 → 5.6.12

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 (740) hide show
  1. package/out/__chunks__/chunk-22F6NHUW.mjs +2 -0
  2. package/out/__chunks__/chunk-365NUVE7.mjs +2 -0
  3. package/out/__chunks__/{chunk-DSZFY4OR.mjs → chunk-3VPAVTVL.mjs} +2 -2
  4. package/out/__chunks__/chunk-4FBGOTSX.mjs +2 -0
  5. package/out/__chunks__/{chunk-GRIHIAKJ.mjs → chunk-4IM7MMSB.mjs} +2 -2
  6. package/out/__chunks__/{chunk-URQCTYMX.mjs → chunk-5NRAQWO4.mjs} +2 -2
  7. package/out/__chunks__/{chunk-B57TM46N.mjs → chunk-6ECOAQX4.mjs} +2 -2
  8. package/out/__chunks__/{chunk-YWTOXRK4.mjs → chunk-6MBRTWME.mjs} +2 -2
  9. package/out/__chunks__/{chunk-PC2NUV2F.mjs → chunk-6UTLNODT.mjs} +2 -2
  10. package/out/__chunks__/{chunk-BBGOFDRU.mjs → chunk-AIBBSVXP.mjs} +2 -2
  11. package/out/__chunks__/{chunk-QOSLU3CY.mjs → chunk-AQIZZ6YU.mjs} +2 -2
  12. package/out/__chunks__/{chunk-GTPYIIWU.mjs → chunk-AU2YBHNW.mjs} +2 -2
  13. package/out/__chunks__/{chunk-ERV6OM22.mjs → chunk-B4WJMVF6.mjs} +2 -2
  14. package/out/__chunks__/{chunk-J7KIUM6S.mjs → chunk-BI2PJ5FS.mjs} +2 -2
  15. package/out/__chunks__/{chunk-PCGVSXBV.mjs → chunk-C23VOAOY.mjs} +2 -2
  16. package/out/__chunks__/{chunk-6ZIKZIUH.mjs → chunk-CDU3ZELH.mjs} +2 -2
  17. package/out/__chunks__/{chunk-P3MIMQQR.mjs → chunk-CPGY3DQJ.mjs} +2 -2
  18. package/out/__chunks__/{chunk-72IC7K64.mjs → chunk-CVW52D7K.mjs} +2 -2
  19. package/out/__chunks__/{chunk-IPHCPWD6.mjs → chunk-CYA7ED2N.mjs} +2 -2
  20. package/out/__chunks__/{chunk-I73AYO2H.mjs → chunk-DDRH6O3X.mjs} +2 -2
  21. package/out/__chunks__/chunk-DDS3DY4B.mjs +2 -0
  22. package/out/__chunks__/{chunk-EKL6AW56.mjs → chunk-DKBOH236.mjs} +2 -2
  23. package/out/__chunks__/{chunk-MBY4V2NF.mjs → chunk-EIUQFHRY.mjs} +2 -2
  24. package/out/__chunks__/{chunk-JKOM2WOS.mjs → chunk-EJ4TUIIU.mjs} +2 -2
  25. package/out/__chunks__/{chunk-LH6K2GZ6.mjs → chunk-F3PJPNGU.mjs} +2 -2
  26. package/out/__chunks__/{chunk-E7EGETYN.mjs → chunk-FLFZN2T6.mjs} +2 -2
  27. package/out/__chunks__/{chunk-ZJBFSQSD.mjs → chunk-G2WU3X6R.mjs} +2 -2
  28. package/out/__chunks__/chunk-GJSAN3GO.mjs +2 -0
  29. package/out/__chunks__/{chunk-SYPHPBGQ.mjs → chunk-GOUIWTTC.mjs} +2 -2
  30. package/out/__chunks__/{chunk-CPFMWZM7.mjs → chunk-GP6W6RR7.mjs} +2 -2
  31. package/out/__chunks__/{chunk-CFYEJCVU.mjs → chunk-GPKU7JO2.mjs} +2 -2
  32. package/out/__chunks__/{chunk-HGGSGIJX.mjs → chunk-HPY6UNFO.mjs} +2 -2
  33. package/out/__chunks__/{chunk-ZVBRUJVV.mjs → chunk-HY5I67W7.mjs} +2 -2
  34. package/out/__chunks__/{chunk-PKYME77B.mjs → chunk-IPGIVRGN.mjs} +2 -2
  35. package/out/__chunks__/chunk-JAXSTKEJ.mjs +2 -0
  36. package/out/__chunks__/{chunk-BK44WM7K.mjs → chunk-JL6BHC7T.mjs} +2 -2
  37. package/out/__chunks__/{chunk-XKZAXRFS.mjs → chunk-KAY6QD6V.mjs} +2 -2
  38. package/out/__chunks__/{chunk-ZG557J6T.mjs → chunk-L6SBIHCZ.mjs} +2 -2
  39. package/out/__chunks__/{chunk-MNIHU2XC.mjs → chunk-L7HC5J53.mjs} +2 -2
  40. package/out/__chunks__/{chunk-DKLBYDPE.mjs → chunk-LJ5RLWEK.mjs} +2 -2
  41. package/out/__chunks__/chunk-LLVSK2AG.mjs +2 -0
  42. package/out/__chunks__/{chunk-K3G4XKV7.mjs → chunk-LT4RXTTQ.mjs} +2 -2
  43. package/out/__chunks__/{chunk-MLKMTKLL.mjs → chunk-LXSGLYGV.mjs} +2 -2
  44. package/out/__chunks__/{chunk-MM2JH6EX.mjs → chunk-LYUGR2FR.mjs} +2 -2
  45. package/out/__chunks__/{chunk-EANUS544.mjs → chunk-MFGDF3HI.mjs} +2 -2
  46. package/out/__chunks__/{chunk-AU7PVWIH.mjs → chunk-N6G3CMSC.mjs} +2 -2
  47. package/out/__chunks__/{chunk-BOQETSJT.mjs → chunk-NK2JTYOC.mjs} +2 -2
  48. package/out/__chunks__/{chunk-4XRZ6SV7.mjs → chunk-OGL4HN2P.mjs} +2 -2
  49. package/out/__chunks__/{chunk-Z4XGT2PR.mjs → chunk-QDUNEKJW.mjs} +2 -2
  50. package/out/__chunks__/{chunk-KNVS3QDA.mjs → chunk-QNXBITGY.mjs} +2 -2
  51. package/out/__chunks__/{chunk-H2PMISQX.mjs → chunk-QRPH4JCL.mjs} +2 -2
  52. package/out/__chunks__/{chunk-4MHWEDD3.mjs → chunk-QWBFB3BL.mjs} +2 -2
  53. package/out/__chunks__/{chunk-YSFJVK7L.mjs → chunk-QWVZ4NTR.mjs} +2 -2
  54. package/out/__chunks__/{chunk-SZPL56PN.mjs → chunk-RC4ZBXFJ.mjs} +2 -2
  55. package/out/__chunks__/chunk-RFGBMNFA.mjs +2 -0
  56. package/out/__chunks__/{chunk-UTAWL36Y.mjs → chunk-RNK62S6X.mjs} +2 -2
  57. package/out/__chunks__/{chunk-3WWZSW2J.mjs → chunk-RVW6Z4XY.mjs} +2 -2
  58. package/out/__chunks__/{chunk-MUQOQKIZ.mjs → chunk-S72I2KYP.mjs} +2 -2
  59. package/out/__chunks__/chunk-SML7WOGP.mjs +2 -0
  60. package/out/__chunks__/chunk-SVG75M4S.mjs +2 -0
  61. package/out/__chunks__/{chunk-YSR4MFX4.mjs → chunk-SWIPPQAS.mjs} +2 -2
  62. package/out/__chunks__/{chunk-HK2ZVZ7Q.mjs → chunk-TIX7PAYC.mjs} +2 -2
  63. package/out/__chunks__/{chunk-TOUR23UJ.mjs → chunk-TWDQUDRP.mjs} +2 -2
  64. package/out/__chunks__/{chunk-DL3IGGZY.mjs → chunk-UDWPAR25.mjs} +2 -2
  65. package/out/__chunks__/chunk-UJA73JSW.mjs +2 -0
  66. package/out/__chunks__/{chunk-EFSOCX2U.mjs → chunk-UUFVP7SB.mjs} +2 -2
  67. package/out/__chunks__/chunk-UWBYA2GM.mjs +2 -0
  68. package/out/__chunks__/{chunk-MYYODQXX.mjs → chunk-UY2X77BA.mjs} +2 -2
  69. package/out/__chunks__/{chunk-7HY3BPVV.mjs → chunk-V6HSYMMG.mjs} +2 -2
  70. package/out/__chunks__/chunk-VA7KLP35.mjs +2 -0
  71. package/out/__chunks__/{chunk-EFWZVJJ5.mjs → chunk-VCU3YP4J.mjs} +2 -2
  72. package/out/__chunks__/{chunk-WVIORLAD.mjs → chunk-VLRP4JQW.mjs} +2 -2
  73. package/out/__chunks__/{chunk-77CFJQDJ.mjs → chunk-VOCZMUMV.mjs} +2 -2
  74. package/out/__chunks__/{chunk-53K4VPO5.mjs → chunk-VSOHM56Y.mjs} +2 -2
  75. package/out/__chunks__/{chunk-ZZIDZ3MC.mjs → chunk-WDL6SFHR.mjs} +2 -2
  76. package/out/__chunks__/{chunk-WU6THSZL.mjs → chunk-XEDB2GXW.mjs} +2 -2
  77. package/out/__chunks__/chunk-XELB2AVG.mjs +2 -0
  78. package/out/__chunks__/{chunk-5JAXD5EL.mjs → chunk-YAVOCSOD.mjs} +2 -2
  79. package/out/__chunks__/{chunk-RD22BX56.mjs → chunk-YDH26OGG.mjs} +2 -2
  80. package/out/__chunks__/chunk-YDR33UBM.mjs +2 -0
  81. package/out/__chunks__/{chunk-YHNZS2AR.mjs.map → chunk-YDR33UBM.mjs.map} +1 -1
  82. package/out/__chunks__/{chunk-RRHFYJZL.mjs → chunk-YG6SFLZY.mjs} +2 -2
  83. package/out/__chunks__/{chunk-LTC4QYEN.mjs → chunk-YHON33YS.mjs} +2 -2
  84. package/out/__chunks__/{chunk-5INSJWZL.mjs → chunk-YKYYWL4B.mjs} +2 -2
  85. package/out/__chunks__/{chunk-NUGBRIDR.mjs → chunk-YTKDRPWM.mjs} +2 -2
  86. package/out/__chunks__/{chunk-6BYAL76L.mjs → chunk-YXKQJKZV.mjs} +2 -2
  87. package/out/__chunks__/{chunk-IQA5LCZX.mjs → chunk-Z72NFBTZ.mjs} +2 -2
  88. package/out/__chunks__/{chunk-2N7KWUP5.mjs → chunk-ZLGDFBX7.mjs} +2 -2
  89. package/out/__chunks__/{chunk-MYOCU757.mjs → chunk-ZMZXHLYM.mjs} +2 -2
  90. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  91. package/out/apiCalls/account/getAccountFromApi.d.ts +1 -1
  92. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  93. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  94. package/out/apiCalls/account/getScamAddressData.d.ts +1 -1
  95. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  96. package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -1
  97. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  98. package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
  99. package/out/apiCalls/configuration/getGasStationMetadata.d.ts +1 -1
  100. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  101. package/out/apiCalls/configuration/getNetworkConfigFromApi.d.ts +1 -1
  102. package/out/apiCalls/configuration/getServerConfiguration.d.ts +1 -1
  103. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  104. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  105. package/out/apiCalls/tokens/getPersistedToken.cjs +1 -1
  106. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -1
  107. package/out/apiCalls/tokens/getPersistedTokenDetails.d.ts +1 -1
  108. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  109. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  110. package/out/apiCalls/tokens/getTokenDetails.d.ts +1 -1
  111. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  112. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -1
  113. package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +1 -1
  114. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  115. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  116. package/out/apiCalls/transactions/getTransactionByHash.d.ts +1 -1
  117. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  118. package/out/apiCalls/transactions/getTransactions.cjs +1 -1
  119. package/out/apiCalls/transactions/getTransactions.d.ts +2 -2
  120. package/out/apiCalls/transactions/getTransactionsByHashes.d.ts +1 -1
  121. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  122. package/out/apiCalls/utils/axiosFetcher.cjs +1 -1
  123. package/out/constants/browser.constants.mjs +1 -1
  124. package/out/constants/network.constants.cjs +1 -1
  125. package/out/constants/network.constants.d.ts +2 -2
  126. package/out/constants/providerFactory.constants.cjs +1 -1
  127. package/out/constants/providerFactory.constants.d.ts +1 -1
  128. package/out/constants/storage.constants.d.ts +1 -1
  129. package/out/constants/storage.constants.mjs +1 -1
  130. package/out/constants/walletConnect.constants.d.ts +1 -1
  131. package/out/constants/window.constants.cjs +1 -1
  132. package/out/constants/window.constants.cjs.map +1 -1
  133. package/out/constants/window.constants.mjs +1 -1
  134. package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -1
  135. package/out/controllers/FormatAmountController/types.d.ts +1 -1
  136. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  137. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +2 -2
  138. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  139. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  140. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  141. package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +1 -1
  142. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  143. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  144. package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +1 -1
  145. package/out/lib/sdkDappUi.mjs +1 -1
  146. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  147. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  148. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -1
  149. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +2 -2
  150. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  151. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  152. package/out/managers/ToastManager/ToastManager.cjs +1 -1
  153. package/out/managers/ToastManager/ToastManager.d.ts +2 -2
  154. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  155. package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -1
  156. package/out/managers/ToastManager/ToastUICoordinator.d.ts +3 -3
  157. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  158. package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
  159. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  160. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  161. package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +1 -1
  162. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  163. package/out/managers/ToastManager/helpers/createTransactionToast.cjs +1 -1
  164. package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +3 -3
  165. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  166. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -1
  167. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.d.ts +1 -1
  168. package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +1 -1
  169. package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +2 -2
  170. package/out/managers/ToastManager/index.mjs +1 -1
  171. package/out/managers/ToastManager/tests/helpers/createStoreStub.d.ts +1 -1
  172. package/out/managers/ToastManager/types/toast.types.d.ts +3 -3
  173. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  174. package/out/managers/TransactionManager/TransactionManager.d.ts +3 -3
  175. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  176. package/out/managers/TransactionManager/TransactionManager.types.d.ts +1 -1
  177. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  178. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.d.ts +1 -1
  179. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  180. package/out/managers/TransactionManager/helpers/getToastDuration.d.ts +1 -1
  181. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  182. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  183. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +2 -2
  184. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -1
  185. package/out/managers/TransactionManager/index.mjs +1 -1
  186. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  187. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +2 -2
  188. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  189. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +1 -1
  190. package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +1 -1
  191. package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +1 -1
  192. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  193. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -1
  194. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +2 -2
  195. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  196. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  197. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  198. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  199. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +1 -1
  200. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +2 -2
  201. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  202. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  203. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -1
  204. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +2 -2
  205. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  206. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  207. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +1 -1
  208. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.d.ts +2 -2
  209. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  210. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  211. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +2 -2
  212. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
  213. package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +3 -3
  214. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  215. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +1 -1
  216. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +2 -2
  217. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  218. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  219. package/out/methods/account/getAccount.cjs +1 -1
  220. package/out/methods/account/getAccount.mjs +1 -1
  221. package/out/methods/account/getAccountInfo.cjs +1 -1
  222. package/out/methods/account/getAccountInfo.mjs +1 -1
  223. package/out/methods/account/getAddress.cjs +1 -1
  224. package/out/methods/account/getAddress.mjs +1 -1
  225. package/out/methods/account/getIsLoggedIn.cjs +1 -1
  226. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  227. package/out/methods/account/getLatestNonce.mjs +1 -1
  228. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs +1 -1
  229. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  230. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
  231. package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +2 -2
  232. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  233. package/out/methods/initApp/initApp.cjs +1 -1
  234. package/out/methods/initApp/initApp.mjs +1 -1
  235. package/out/methods/initApp/initApp.types.d.ts +8 -8
  236. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
  237. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  238. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  239. package/out/methods/loginInfo/getLoginInfo.cjs +1 -1
  240. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  241. package/out/methods/network/getEgldLabel.cjs +1 -1
  242. package/out/methods/network/getEgldLabel.mjs +1 -1
  243. package/out/methods/network/getExplorerAddress.cjs +1 -1
  244. package/out/methods/network/getExplorerAddress.mjs +1 -1
  245. package/out/methods/network/getNetworkConfig.cjs +1 -1
  246. package/out/methods/network/getNetworkConfig.mjs +1 -1
  247. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +1 -1
  248. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  249. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
  250. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.d.ts +1 -1
  251. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  252. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.cjs +1 -1
  253. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.d.ts +1 -1
  254. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs +1 -1
  255. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.d.ts +1 -1
  256. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  257. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs +1 -1
  258. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.d.ts +1 -1
  259. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  260. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs +1 -1
  261. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.d.ts +2 -2
  262. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  263. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  264. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.cjs +1 -1
  265. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.d.ts +1 -1
  266. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  267. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
  268. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  269. package/out/methods/trackTransactions/trackTransactions.cjs +1 -1
  270. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  271. package/out/methods/transactions/getFailedTransactions.cjs +1 -1
  272. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  273. package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -1
  274. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  275. package/out/methods/transactions/getPendingTransactions.cjs +1 -1
  276. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  277. package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -1
  278. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  279. package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -1
  280. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  281. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -1
  282. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  283. package/out/methods/transactions/getTransactionSessions.cjs +1 -1
  284. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  285. package/out/providers/DappProvider/DappProvider.cjs +1 -1
  286. package/out/providers/DappProvider/DappProvider.d.ts +1 -1
  287. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  288. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.d.ts +1 -1
  289. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
  290. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.d.ts +1 -1
  291. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  292. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +1 -1
  293. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  294. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  295. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +1 -1
  296. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  297. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.cjs +1 -1
  298. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.d.ts +2 -2
  299. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  300. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs +1 -1
  301. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.d.ts +2 -2
  302. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  303. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs +1 -1
  304. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.d.ts +1 -1
  305. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  306. package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
  307. package/out/providers/DappProvider/helpers/login/login.d.ts +1 -1
  308. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  309. package/out/providers/DappProvider/helpers/logout/logout.cjs +1 -1
  310. package/out/providers/DappProvider/helpers/logout/logout.d.ts +1 -1
  311. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  312. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
  313. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  314. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +1 -1
  315. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -1
  316. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +2 -2
  317. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  318. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +1 -1
  319. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
  320. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.d.ts +2 -2
  321. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  322. package/out/providers/DappProvider/index.mjs +1 -1
  323. package/out/providers/ProviderFactory.cjs +1 -1
  324. package/out/providers/ProviderFactory.mjs +1 -1
  325. package/out/providers/helpers/accountProvider.d.ts +1 -1
  326. package/out/providers/helpers/accountProvider.mjs +1 -1
  327. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  328. package/out/providers/helpers/clearInitiatedLogins.cjs +1 -1
  329. package/out/providers/helpers/emptyProvider.cjs +1 -1
  330. package/out/providers/helpers/emptyProvider.d.ts +3 -3
  331. package/out/providers/helpers/restoreProvider.cjs +1 -1
  332. package/out/providers/helpers/restoreProvider.mjs +1 -1
  333. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
  334. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +5 -5
  335. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  336. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
  337. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +4 -4
  338. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  339. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  340. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
  341. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +4 -4
  342. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  343. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  344. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
  345. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +4 -4
  346. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  347. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  348. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
  349. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +4 -4
  350. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  351. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
  352. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  353. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs +1 -1
  354. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
  355. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  356. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
  357. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  358. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.d.ts +1 -1
  359. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +1 -1
  360. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +1 -1
  361. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  362. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  363. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +1 -1
  364. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +1 -1
  365. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  366. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
  367. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +1 -1
  368. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  369. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
  370. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +1 -1
  371. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  372. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -1
  373. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.d.ts +1 -1
  374. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  375. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  376. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
  377. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +4 -4
  378. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  379. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  380. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
  381. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  382. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  383. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +1 -1
  384. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +4 -4
  385. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  386. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  387. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +1 -1
  388. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.d.ts +1 -1
  389. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  390. package/out/providers/strategies/helpers/index.mjs +1 -1
  391. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
  392. package/out/providers/strategies/helpers/signMessage/signMessage.d.ts +1 -1
  393. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  394. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +1 -1
  395. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
  396. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
  397. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +4 -4
  398. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  399. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
  400. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.d.ts +1 -1
  401. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +1 -1
  402. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.d.ts +1 -1
  403. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
  404. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.d.ts +1 -1
  405. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  406. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.cjs +1 -1
  407. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.d.ts +2 -2
  408. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.d.ts +1 -1
  409. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +1 -1
  410. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.d.ts +1 -1
  411. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +1 -1
  412. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.d.ts +1 -1
  413. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +1 -1
  414. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.d.ts +1 -1
  415. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.d.ts +1 -1
  416. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -1
  417. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.d.ts +1 -1
  418. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.d.ts +2 -2
  419. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +1 -1
  420. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.d.ts +1 -1
  421. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
  422. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.d.ts +3 -3
  423. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -1
  424. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.d.ts +1 -1
  425. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.d.ts +1 -1
  426. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
  427. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.d.ts +1 -1
  428. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  429. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
  430. package/out/providers/strategies/helpers/signTransactions/signTransactions.d.ts +3 -3
  431. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  432. package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +1 -1
  433. package/out/react/account/useGetAccount.mjs +1 -1
  434. package/out/react/account/useGetAccountInfo.mjs +1 -1
  435. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  436. package/out/react/account/useGetLatestNonce.mjs +1 -1
  437. package/out/react/index.mjs +1 -1
  438. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  439. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  440. package/out/react/store/getReactStore.mjs +1 -1
  441. package/out/react/store/useSelector.mjs +1 -1
  442. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  443. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  444. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  445. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  446. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  447. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  448. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  449. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -1
  450. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -1
  451. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -1
  452. package/out/services/nativeAuth/index.mjs +1 -1
  453. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  454. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
  455. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  456. package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -1
  457. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  458. package/out/store/actions/account/accountActions.cjs +1 -1
  459. package/out/store/actions/account/accountActions.d.ts +3 -3
  460. package/out/store/actions/account/accountActions.mjs +1 -1
  461. package/out/store/actions/account/index.mjs +1 -1
  462. package/out/store/actions/cache/cacheActions.cjs +1 -1
  463. package/out/store/actions/cache/cacheActions.mjs +1 -1
  464. package/out/store/actions/cache/index.mjs +1 -1
  465. package/out/store/actions/config/configActions.cjs +1 -1
  466. package/out/store/actions/config/configActions.d.ts +4 -4
  467. package/out/store/actions/config/configActions.mjs +1 -1
  468. package/out/store/actions/config/index.mjs +1 -1
  469. package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -1
  470. package/out/store/actions/loginInfo/loginInfoActions.d.ts +3 -3
  471. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  472. package/out/store/actions/network/index.mjs +1 -1
  473. package/out/store/actions/network/initializeNetwork.cjs +1 -1
  474. package/out/store/actions/network/initializeNetwork.d.ts +2 -2
  475. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  476. package/out/store/actions/network/networkActions.d.ts +1 -1
  477. package/out/store/actions/network/networkActions.mjs +1 -1
  478. package/out/store/actions/sharedActions/index.mjs +1 -1
  479. package/out/store/actions/sharedActions/sharedActions.cjs +1 -1
  480. package/out/store/actions/sharedActions/sharedActions.d.ts +1 -1
  481. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  482. package/out/store/actions/toasts/index.mjs +1 -1
  483. package/out/store/actions/toasts/toastsActions.cjs +1 -1
  484. package/out/store/actions/toasts/toastsActions.d.ts +1 -1
  485. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  486. package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -1
  487. package/out/store/actions/transactions/transactionsActions.cjs +1 -1
  488. package/out/store/actions/transactions/transactionsActions.d.ts +2 -2
  489. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  490. package/out/store/actions/ui/index.mjs +1 -1
  491. package/out/store/actions/ui/uiActions.cjs +1 -1
  492. package/out/store/actions/ui/uiActions.mjs +1 -1
  493. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  494. package/out/store/middleware/index.mjs +1 -1
  495. package/out/store/middleware/logoutMiddleware.cjs +1 -1
  496. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  497. package/out/store/selectors/accountSelectors.cjs +1 -1
  498. package/out/store/selectors/accountSelectors.d.ts +1 -1
  499. package/out/store/selectors/cacheSelector.d.ts +1 -1
  500. package/out/store/selectors/configSelectors.d.ts +1 -1
  501. package/out/store/selectors/loginInfoSelectors.d.ts +1 -1
  502. package/out/store/selectors/networkSelectors.d.ts +1 -1
  503. package/out/store/selectors/storeSelector.d.ts +1 -1
  504. package/out/store/selectors/toastsSelectors.d.ts +1 -1
  505. package/out/store/selectors/transactionsSelector.cjs +1 -1
  506. package/out/store/selectors/transactionsSelector.d.ts +2 -2
  507. package/out/store/selectors/uiSelectors.d.ts +1 -1
  508. package/out/store/slices/account/account.types.d.ts +2 -2
  509. package/out/store/slices/account/accountSlice.d.ts +1 -1
  510. package/out/store/slices/account/emptyAccount.cjs +1 -1
  511. package/out/store/slices/account/emptyAccount.d.ts +1 -1
  512. package/out/store/slices/cache/cacheSlice.d.ts +1 -1
  513. package/out/store/slices/config/config.types.d.ts +3 -3
  514. package/out/store/slices/config/configSlice.cjs +1 -1
  515. package/out/store/slices/config/configSlice.d.ts +1 -1
  516. package/out/store/slices/loginInfo/loginInfo.types.d.ts +2 -2
  517. package/out/store/slices/loginInfo/loginInfoSlice.d.ts +1 -1
  518. package/out/store/slices/network/emptyNetwork.d.ts +1 -1
  519. package/out/store/slices/network/network.types.d.ts +1 -1
  520. package/out/store/slices/network/networkSlice.d.ts +1 -1
  521. package/out/store/slices/network/networkSlice.types.d.ts +1 -1
  522. package/out/store/slices/toast/toastSlice.d.ts +1 -1
  523. package/out/store/slices/toast/toastSlice.types.d.ts +1 -1
  524. package/out/store/slices/transactions/transactionsSlice.d.ts +1 -1
  525. package/out/store/slices/transactions/transactionsSlice.types.d.ts +1 -1
  526. package/out/store/slices/ui/uiSlice.d.ts +1 -1
  527. package/out/store/storage/index.mjs +1 -1
  528. package/out/store/storage/storageCallback.cjs +1 -1
  529. package/out/store/storage/storageCallback.mjs +1 -1
  530. package/out/store/store.mjs +1 -1
  531. package/out/types/login.types.d.ts +1 -1
  532. package/out/types/transaction-list-item.types.d.ts +1 -1
  533. package/out/types/transactions.types.cjs.map +2 -2
  534. package/out/types/transactions.types.d.ts +5 -3
  535. package/out/types/transactions.types.mjs.map +2 -2
  536. package/out/utils/ComponentFactory.cjs +1 -1
  537. package/out/utils/ComponentFactory.d.ts +2 -2
  538. package/out/utils/ComponentFactory.mjs +1 -1
  539. package/out/utils/account/fetchAccount.cjs +1 -1
  540. package/out/utils/account/fetchAccount.mjs +1 -1
  541. package/out/utils/account/refreshAccount.cjs +1 -1
  542. package/out/utils/account/refreshAccount.mjs +1 -1
  543. package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -1
  544. package/out/utils/account/refreshNativeAuthTokenLogin.d.ts +2 -2
  545. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  546. package/out/utils/operations/trimAmountDecimals.cjs +1 -1
  547. package/out/utils/transactions/explorerUrlBuilder.cjs +1 -1
  548. package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -1
  549. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  550. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +1 -1
  551. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.d.ts +1 -1
  552. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
  553. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +1 -1
  554. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +1 -1
  555. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -1
  556. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +1 -1
  557. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -1
  558. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +1 -1
  559. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -1
  560. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -1
  561. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
  562. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.d.ts +1 -1
  563. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -1
  564. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.d.ts +1 -1
  565. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
  566. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.d.ts +1 -1
  567. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -1
  568. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -1
  569. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.d.ts +1 -1
  570. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -1
  571. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.d.ts +1 -1
  572. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.d.ts +1 -1
  573. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.d.ts +1 -1
  574. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
  575. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.d.ts +1 -1
  576. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.d.ts +1 -1
  577. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -1
  578. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.d.ts +2 -2
  579. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.d.ts +1 -1
  580. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
  581. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  582. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.d.ts +1 -1
  583. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
  584. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.d.ts +1 -1
  585. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.d.ts +1 -1
  586. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
  587. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -1
  588. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
  589. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +2 -2
  590. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.d.ts +1 -1
  591. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -1
  592. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.d.ts +1 -1
  593. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.d.ts +1 -1
  594. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts +1 -1
  595. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -1
  596. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.d.ts +1 -1
  597. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -1
  598. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts +1 -1
  599. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +2 -2
  600. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +1 -1
  601. package/out/utils/transactions/getScamFlag.d.ts +1 -1
  602. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +2 -2
  603. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  604. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.d.ts +1 -1
  605. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -1
  606. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -1
  607. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -1
  608. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +2 -2
  609. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  610. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +1 -1
  611. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.d.ts +1 -1
  612. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.d.ts +2 -2
  613. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -1
  614. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.d.ts +2 -1
  615. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -1
  616. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.d.ts +1 -1
  617. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -1
  618. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -1
  619. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.d.ts +3 -3
  620. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -1
  621. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.d.ts +1 -1
  622. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -1
  623. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -1
  624. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +3 -3
  625. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  626. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +1 -1
  627. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +2 -1
  628. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  629. package/out/utils/transactions/isGuardianTx.cjs +1 -1
  630. package/out/utils/validation/addressIsValid.cjs +1 -1
  631. package/out/utils/validation/isContract.cjs +1 -1
  632. package/out/utils/visual/switchTheme.cjs +1 -1
  633. package/out/utils/visual/switchTheme.d.ts +1 -1
  634. package/out/utils/visual/switchTheme.mjs +1 -1
  635. package/out/utils/window/getIsInIframe.mjs +1 -1
  636. package/out/utils/window/getWindowParentOrigin.cjs +1 -1
  637. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  638. package/package.json +1 -1
  639. package/out/__chunks__/chunk-3KXESRWK.mjs +0 -2
  640. package/out/__chunks__/chunk-4J2LMCTY.mjs +0 -2
  641. package/out/__chunks__/chunk-6TO3K77Y.mjs +0 -2
  642. package/out/__chunks__/chunk-AF473JVQ.mjs +0 -2
  643. package/out/__chunks__/chunk-CAYG6NAN.mjs +0 -2
  644. package/out/__chunks__/chunk-F3AIHZES.mjs +0 -2
  645. package/out/__chunks__/chunk-GB33T2E4.mjs +0 -2
  646. package/out/__chunks__/chunk-GG53ZKY3.mjs +0 -2
  647. package/out/__chunks__/chunk-HBARIYZU.mjs +0 -2
  648. package/out/__chunks__/chunk-OKQ2FJXI.mjs +0 -2
  649. package/out/__chunks__/chunk-Q7XKYJ6V.mjs +0 -2
  650. package/out/__chunks__/chunk-QYUVRE37.mjs +0 -2
  651. package/out/__chunks__/chunk-SG2YSE6U.mjs +0 -2
  652. package/out/__chunks__/chunk-XFUWTCQM.mjs +0 -2
  653. package/out/__chunks__/chunk-YHNZS2AR.mjs +0 -2
  654. /package/out/__chunks__/{chunk-F3AIHZES.mjs.map → chunk-22F6NHUW.mjs.map} +0 -0
  655. /package/out/__chunks__/{chunk-6TO3K77Y.mjs.map → chunk-365NUVE7.mjs.map} +0 -0
  656. /package/out/__chunks__/{chunk-DSZFY4OR.mjs.map → chunk-3VPAVTVL.mjs.map} +0 -0
  657. /package/out/__chunks__/{chunk-XFUWTCQM.mjs.map → chunk-4FBGOTSX.mjs.map} +0 -0
  658. /package/out/__chunks__/{chunk-GRIHIAKJ.mjs.map → chunk-4IM7MMSB.mjs.map} +0 -0
  659. /package/out/__chunks__/{chunk-URQCTYMX.mjs.map → chunk-5NRAQWO4.mjs.map} +0 -0
  660. /package/out/__chunks__/{chunk-B57TM46N.mjs.map → chunk-6ECOAQX4.mjs.map} +0 -0
  661. /package/out/__chunks__/{chunk-YWTOXRK4.mjs.map → chunk-6MBRTWME.mjs.map} +0 -0
  662. /package/out/__chunks__/{chunk-PC2NUV2F.mjs.map → chunk-6UTLNODT.mjs.map} +0 -0
  663. /package/out/__chunks__/{chunk-BBGOFDRU.mjs.map → chunk-AIBBSVXP.mjs.map} +0 -0
  664. /package/out/__chunks__/{chunk-QOSLU3CY.mjs.map → chunk-AQIZZ6YU.mjs.map} +0 -0
  665. /package/out/__chunks__/{chunk-GTPYIIWU.mjs.map → chunk-AU2YBHNW.mjs.map} +0 -0
  666. /package/out/__chunks__/{chunk-ERV6OM22.mjs.map → chunk-B4WJMVF6.mjs.map} +0 -0
  667. /package/out/__chunks__/{chunk-J7KIUM6S.mjs.map → chunk-BI2PJ5FS.mjs.map} +0 -0
  668. /package/out/__chunks__/{chunk-PCGVSXBV.mjs.map → chunk-C23VOAOY.mjs.map} +0 -0
  669. /package/out/__chunks__/{chunk-6ZIKZIUH.mjs.map → chunk-CDU3ZELH.mjs.map} +0 -0
  670. /package/out/__chunks__/{chunk-P3MIMQQR.mjs.map → chunk-CPGY3DQJ.mjs.map} +0 -0
  671. /package/out/__chunks__/{chunk-72IC7K64.mjs.map → chunk-CVW52D7K.mjs.map} +0 -0
  672. /package/out/__chunks__/{chunk-IPHCPWD6.mjs.map → chunk-CYA7ED2N.mjs.map} +0 -0
  673. /package/out/__chunks__/{chunk-I73AYO2H.mjs.map → chunk-DDRH6O3X.mjs.map} +0 -0
  674. /package/out/__chunks__/{chunk-AF473JVQ.mjs.map → chunk-DDS3DY4B.mjs.map} +0 -0
  675. /package/out/__chunks__/{chunk-EKL6AW56.mjs.map → chunk-DKBOH236.mjs.map} +0 -0
  676. /package/out/__chunks__/{chunk-MBY4V2NF.mjs.map → chunk-EIUQFHRY.mjs.map} +0 -0
  677. /package/out/__chunks__/{chunk-JKOM2WOS.mjs.map → chunk-EJ4TUIIU.mjs.map} +0 -0
  678. /package/out/__chunks__/{chunk-LH6K2GZ6.mjs.map → chunk-F3PJPNGU.mjs.map} +0 -0
  679. /package/out/__chunks__/{chunk-E7EGETYN.mjs.map → chunk-FLFZN2T6.mjs.map} +0 -0
  680. /package/out/__chunks__/{chunk-ZJBFSQSD.mjs.map → chunk-G2WU3X6R.mjs.map} +0 -0
  681. /package/out/__chunks__/{chunk-4J2LMCTY.mjs.map → chunk-GJSAN3GO.mjs.map} +0 -0
  682. /package/out/__chunks__/{chunk-SYPHPBGQ.mjs.map → chunk-GOUIWTTC.mjs.map} +0 -0
  683. /package/out/__chunks__/{chunk-CPFMWZM7.mjs.map → chunk-GP6W6RR7.mjs.map} +0 -0
  684. /package/out/__chunks__/{chunk-CFYEJCVU.mjs.map → chunk-GPKU7JO2.mjs.map} +0 -0
  685. /package/out/__chunks__/{chunk-HGGSGIJX.mjs.map → chunk-HPY6UNFO.mjs.map} +0 -0
  686. /package/out/__chunks__/{chunk-ZVBRUJVV.mjs.map → chunk-HY5I67W7.mjs.map} +0 -0
  687. /package/out/__chunks__/{chunk-PKYME77B.mjs.map → chunk-IPGIVRGN.mjs.map} +0 -0
  688. /package/out/__chunks__/{chunk-CAYG6NAN.mjs.map → chunk-JAXSTKEJ.mjs.map} +0 -0
  689. /package/out/__chunks__/{chunk-BK44WM7K.mjs.map → chunk-JL6BHC7T.mjs.map} +0 -0
  690. /package/out/__chunks__/{chunk-XKZAXRFS.mjs.map → chunk-KAY6QD6V.mjs.map} +0 -0
  691. /package/out/__chunks__/{chunk-ZG557J6T.mjs.map → chunk-L6SBIHCZ.mjs.map} +0 -0
  692. /package/out/__chunks__/{chunk-MNIHU2XC.mjs.map → chunk-L7HC5J53.mjs.map} +0 -0
  693. /package/out/__chunks__/{chunk-DKLBYDPE.mjs.map → chunk-LJ5RLWEK.mjs.map} +0 -0
  694. /package/out/__chunks__/{chunk-GG53ZKY3.mjs.map → chunk-LLVSK2AG.mjs.map} +0 -0
  695. /package/out/__chunks__/{chunk-K3G4XKV7.mjs.map → chunk-LT4RXTTQ.mjs.map} +0 -0
  696. /package/out/__chunks__/{chunk-MLKMTKLL.mjs.map → chunk-LXSGLYGV.mjs.map} +0 -0
  697. /package/out/__chunks__/{chunk-MM2JH6EX.mjs.map → chunk-LYUGR2FR.mjs.map} +0 -0
  698. /package/out/__chunks__/{chunk-EANUS544.mjs.map → chunk-MFGDF3HI.mjs.map} +0 -0
  699. /package/out/__chunks__/{chunk-AU7PVWIH.mjs.map → chunk-N6G3CMSC.mjs.map} +0 -0
  700. /package/out/__chunks__/{chunk-BOQETSJT.mjs.map → chunk-NK2JTYOC.mjs.map} +0 -0
  701. /package/out/__chunks__/{chunk-4XRZ6SV7.mjs.map → chunk-OGL4HN2P.mjs.map} +0 -0
  702. /package/out/__chunks__/{chunk-Z4XGT2PR.mjs.map → chunk-QDUNEKJW.mjs.map} +0 -0
  703. /package/out/__chunks__/{chunk-KNVS3QDA.mjs.map → chunk-QNXBITGY.mjs.map} +0 -0
  704. /package/out/__chunks__/{chunk-H2PMISQX.mjs.map → chunk-QRPH4JCL.mjs.map} +0 -0
  705. /package/out/__chunks__/{chunk-4MHWEDD3.mjs.map → chunk-QWBFB3BL.mjs.map} +0 -0
  706. /package/out/__chunks__/{chunk-YSFJVK7L.mjs.map → chunk-QWVZ4NTR.mjs.map} +0 -0
  707. /package/out/__chunks__/{chunk-SZPL56PN.mjs.map → chunk-RC4ZBXFJ.mjs.map} +0 -0
  708. /package/out/__chunks__/{chunk-OKQ2FJXI.mjs.map → chunk-RFGBMNFA.mjs.map} +0 -0
  709. /package/out/__chunks__/{chunk-UTAWL36Y.mjs.map → chunk-RNK62S6X.mjs.map} +0 -0
  710. /package/out/__chunks__/{chunk-3WWZSW2J.mjs.map → chunk-RVW6Z4XY.mjs.map} +0 -0
  711. /package/out/__chunks__/{chunk-MUQOQKIZ.mjs.map → chunk-S72I2KYP.mjs.map} +0 -0
  712. /package/out/__chunks__/{chunk-GB33T2E4.mjs.map → chunk-SML7WOGP.mjs.map} +0 -0
  713. /package/out/__chunks__/{chunk-Q7XKYJ6V.mjs.map → chunk-SVG75M4S.mjs.map} +0 -0
  714. /package/out/__chunks__/{chunk-YSR4MFX4.mjs.map → chunk-SWIPPQAS.mjs.map} +0 -0
  715. /package/out/__chunks__/{chunk-HK2ZVZ7Q.mjs.map → chunk-TIX7PAYC.mjs.map} +0 -0
  716. /package/out/__chunks__/{chunk-TOUR23UJ.mjs.map → chunk-TWDQUDRP.mjs.map} +0 -0
  717. /package/out/__chunks__/{chunk-DL3IGGZY.mjs.map → chunk-UDWPAR25.mjs.map} +0 -0
  718. /package/out/__chunks__/{chunk-SG2YSE6U.mjs.map → chunk-UJA73JSW.mjs.map} +0 -0
  719. /package/out/__chunks__/{chunk-EFSOCX2U.mjs.map → chunk-UUFVP7SB.mjs.map} +0 -0
  720. /package/out/__chunks__/{chunk-HBARIYZU.mjs.map → chunk-UWBYA2GM.mjs.map} +0 -0
  721. /package/out/__chunks__/{chunk-MYYODQXX.mjs.map → chunk-UY2X77BA.mjs.map} +0 -0
  722. /package/out/__chunks__/{chunk-7HY3BPVV.mjs.map → chunk-V6HSYMMG.mjs.map} +0 -0
  723. /package/out/__chunks__/{chunk-3KXESRWK.mjs.map → chunk-VA7KLP35.mjs.map} +0 -0
  724. /package/out/__chunks__/{chunk-EFWZVJJ5.mjs.map → chunk-VCU3YP4J.mjs.map} +0 -0
  725. /package/out/__chunks__/{chunk-WVIORLAD.mjs.map → chunk-VLRP4JQW.mjs.map} +0 -0
  726. /package/out/__chunks__/{chunk-77CFJQDJ.mjs.map → chunk-VOCZMUMV.mjs.map} +0 -0
  727. /package/out/__chunks__/{chunk-53K4VPO5.mjs.map → chunk-VSOHM56Y.mjs.map} +0 -0
  728. /package/out/__chunks__/{chunk-ZZIDZ3MC.mjs.map → chunk-WDL6SFHR.mjs.map} +0 -0
  729. /package/out/__chunks__/{chunk-WU6THSZL.mjs.map → chunk-XEDB2GXW.mjs.map} +0 -0
  730. /package/out/__chunks__/{chunk-QYUVRE37.mjs.map → chunk-XELB2AVG.mjs.map} +0 -0
  731. /package/out/__chunks__/{chunk-5JAXD5EL.mjs.map → chunk-YAVOCSOD.mjs.map} +0 -0
  732. /package/out/__chunks__/{chunk-RD22BX56.mjs.map → chunk-YDH26OGG.mjs.map} +0 -0
  733. /package/out/__chunks__/{chunk-RRHFYJZL.mjs.map → chunk-YG6SFLZY.mjs.map} +0 -0
  734. /package/out/__chunks__/{chunk-LTC4QYEN.mjs.map → chunk-YHON33YS.mjs.map} +0 -0
  735. /package/out/__chunks__/{chunk-5INSJWZL.mjs.map → chunk-YKYYWL4B.mjs.map} +0 -0
  736. /package/out/__chunks__/{chunk-NUGBRIDR.mjs.map → chunk-YTKDRPWM.mjs.map} +0 -0
  737. /package/out/__chunks__/{chunk-6BYAL76L.mjs.map → chunk-YXKQJKZV.mjs.map} +0 -0
  738. /package/out/__chunks__/{chunk-IQA5LCZX.mjs.map → chunk-Z72NFBTZ.mjs.map} +0 -0
  739. /package/out/__chunks__/{chunk-2N7KWUP5.mjs.map → chunk-ZLGDFBX7.mjs.map} +0 -0
  740. /package/out/__chunks__/{chunk-MYOCU757.mjs.map → chunk-ZMZXHLYM.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{b as s,d as i,h as o}from"./chunk-EKL6AW56.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
2
- //# sourceMappingURL=chunk-4MHWEDD3.mjs.map
1
+ import{b as s,d as i,h as o}from"./chunk-DKBOH236.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
2
+ //# sourceMappingURL=chunk-QWBFB3BL.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as A}from"./chunk-IQA5LCZX.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-TWYGNEQS.mjs";import{b as T}from"./chunk-2VG3V3VD.mjs";import{g as S}from"./chunk-EKL6AW56.mjs";import{a as h}from"./chunk-E7EGETYN.mjs";import{a as y}from"./chunk-QYUVRE37.mjs";import{h as f}from"./chunk-M6MN4RXG.mjs";import{b as l}from"./chunk-7VHTZYM2.mjs";import{a as g}from"./chunk-NI7XCWV5.mjs";import{s as m}from"./chunk-53K4VPO5.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{T({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!I(t))return await this.sendSignedTransactions(t);let a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{let s=this.sequentialToFlatArray(t).map(e=>({...e,status:e.status??"pending"})),o=b(s),n=h({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:o??"sent",sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return n;a.onSuccess&&T({onSuccess:a.onSuccess,sessionId:n}),a.onFail&&T({onFail:a.onFail,sessionId:n});let i=A(t);return S({toastId:n,totalDuration:i}),n};this.sendSignedTransactions=async t=>{let{apiAddress:a,apiTimeout:s}=l(m());return await Promise.all(t.map(async n=>{let i=await w.post(`${a}/transactions`,n.toPlainObject(),{timeout:Number(s)}),e=i.data.txHash;return{...n.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async t=>{let{address:a}=y(),{apiAddress:s,apiTimeout:o}=l(m());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};let n=this.buildBatchId(a),e={transactions:t.map(p=>p.map(c=>c.toPlainObject())),id:n},{data:u}=await w.post(`${s}/batch`,e,{timeout:Number(o)}),B=u.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return g({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...u,transactions:B}}};this.buildBatchId=t=>`${Date.now().toString()}${f}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
- //# sourceMappingURL=chunk-YSFJVK7L.mjs.map
1
+ import{a as A}from"./chunk-Z72NFBTZ.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-TWYGNEQS.mjs";import{b as T}from"./chunk-2VG3V3VD.mjs";import{g as S}from"./chunk-DKBOH236.mjs";import{a as h}from"./chunk-FLFZN2T6.mjs";import{a as y}from"./chunk-XELB2AVG.mjs";import{h as f}from"./chunk-M6MN4RXG.mjs";import{b as l}from"./chunk-7VHTZYM2.mjs";import{a as g}from"./chunk-NI7XCWV5.mjs";import{s as m}from"./chunk-VSOHM56Y.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{T({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!I(t))return await this.sendSignedTransactions(t);let a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{let s=this.sequentialToFlatArray(t).map(e=>({...e,status:e.status??"pending"})),o=b(s),n=h({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:o??"sent",sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return n;a.onSuccess&&T({onSuccess:a.onSuccess,sessionId:n}),a.onFail&&T({onFail:a.onFail,sessionId:n});let i=A(t);return S({toastId:n,totalDuration:i}),n};this.sendSignedTransactions=async t=>{let{apiAddress:a,apiTimeout:s}=l(m());return await Promise.all(t.map(async n=>{let i=await w.post(`${a}/transactions`,n.toPlainObject(),{timeout:Number(s)}),e=i.data.txHash;return{...n.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async t=>{let{address:a}=y(),{apiAddress:s,apiTimeout:o}=l(m());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};let n=this.buildBatchId(a),e={transactions:t.map(p=>p.map(c=>c.toPlainObject())),id:n},{data:u}=await w.post(`${s}/batch`,e,{timeout:Number(o)}),B=u.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return g({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...u,transactions:B}}};this.buildBatchId=t=>`${Date.now().toString()}${f}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
+ //# sourceMappingURL=chunk-QWVZ4NTR.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-6R2WFQ7U.mjs";import{a as l}from"./chunk-ERV6OM22.mjs";import{a as e}from"./chunk-AF473JVQ.mjs";import{d as s}from"./chunk-V5ZSFCKJ.mjs";import{s as i}from"./chunk-53K4VPO5.mjs";var c=class{constructor(r){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async r=>{if(!this._login)throw new Error("Provider is not initialized.");let o=await this._login(r);if(!o?.address)throw new Error("Provider is not initialized.");return{...o,address:o.address,signature:o.signature??""}};this.initializeAddress=()=>{if(this.address)return;let r=e();r&&(this.address=r)};this.cancelAction=void 0;this.address=r??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(r,o){throw new Error("Method not implemented.")}async login(r){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let o=new AbortController;this.loginAbortController=o;let n=o.signal;try{let t=new Promise((m,p)=>{n.addEventListener("abort",()=>{p(new Error("Login cancelled"))})}),d=await Promise.race([this.loginOperation(r),t]);return this.loginAbortController=null,d}catch(t){throw this.loginAbortController=null,t}}async initSignState(){if(s(i())?.isSigningUiEnabled===!1)return{onClose:async()=>({}),manager:null};let{onClose:o,manager:n}=await l({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return n.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),n.updateData({name:a[t],type:t}),{onClose:o,manager:n}}};export{c as a};
2
- //# sourceMappingURL=chunk-SZPL56PN.mjs.map
1
+ import{a}from"./chunk-6R2WFQ7U.mjs";import{a as l}from"./chunk-B4WJMVF6.mjs";import{a as e}from"./chunk-DDS3DY4B.mjs";import{d as s}from"./chunk-V5ZSFCKJ.mjs";import{s as i}from"./chunk-VSOHM56Y.mjs";var c=class{constructor(r){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async r=>{if(!this._login)throw new Error("Provider is not initialized.");let o=await this._login(r);if(!o?.address)throw new Error("Provider is not initialized.");return{...o,address:o.address,signature:o.signature??""}};this.initializeAddress=()=>{if(this.address)return;let r=e();r&&(this.address=r)};this.cancelAction=void 0;this.address=r??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(r,o){throw new Error("Method not implemented.")}async login(r){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let o=new AbortController;this.loginAbortController=o;let n=o.signal;try{let t=new Promise((m,p)=>{n.addEventListener("abort",()=>{p(new Error("Login cancelled"))})}),d=await Promise.race([this.loginOperation(r),t]);return this.loginAbortController=null,d}catch(t){throw this.loginAbortController=null,t}}async initSignState(){if(s(i())?.isSigningUiEnabled===!1)return{onClose:async()=>({}),manager:null};let{onClose:o,manager:n}=await l({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return n.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),n.updateData({name:a[t],type:t}),{onClose:o,manager:n}}};export{c as a};
2
+ //# sourceMappingURL=chunk-RC4ZBXFJ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-VSOHM56Y.mjs";function f(r=t()){return o(r)}export{f as a};
2
+ //# sourceMappingURL=chunk-RFGBMNFA.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-YHNZS2AR.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
- //# sourceMappingURL=chunk-UTAWL36Y.mjs.map
1
+ import{a as t}from"./chunk-YDR33UBM.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
+ //# sourceMappingURL=chunk-RNK62S6X.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-URQCTYMX.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
2
- //# sourceMappingURL=chunk-3WWZSW2J.mjs.map
1
+ import{a}from"./chunk-5NRAQWO4.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
2
+ //# sourceMappingURL=chunk-RVW6Z4XY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-HGGSGIJX.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
- //# sourceMappingURL=chunk-MUQOQKIZ.mjs.map
1
+ import{a as o}from"./chunk-HPY6UNFO.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
+ //# sourceMappingURL=chunk-S72I2KYP.mjs.map
@@ -0,0 +1,2 @@
1
+ import{q as t}from"./chunk-VSOHM56Y.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
+ //# sourceMappingURL=chunk-SML7WOGP.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-UJA73JSW.mjs";function S(e){return t()(e)}export{S as a};
2
+ //# sourceMappingURL=chunk-SVG75M4S.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-DSZFY4OR.mjs";import{d as l,e as m}from"./chunk-HK2ZVZ7Q.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-53K4VPO5.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
- //# sourceMappingURL=chunk-YSR4MFX4.mjs.map
1
+ import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-3VPAVTVL.mjs";import{d as l,e as m}from"./chunk-TIX7PAYC.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-VSOHM56Y.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
+ //# sourceMappingURL=chunk-SWIPPQAS.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as o}from"./chunk-53K4VPO5.mjs";import{a as c}from"./chunk-APCGI2A5.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
2
- //# sourceMappingURL=chunk-HK2ZVZ7Q.mjs.map
1
+ import{q as o}from"./chunk-VSOHM56Y.mjs";import{a as c}from"./chunk-APCGI2A5.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
2
+ //# sourceMappingURL=chunk-TIX7PAYC.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as t}from"./chunk-53K4VPO5.mjs";var r=({key:e,value:a})=>{t().setState(({cache:c})=>{c[e]=a},!1,{type:"saveToCache",payload:{value:a}})},l=e=>{t().setState(({cache:a})=>{delete a[e]},!1,{type:"removeFromCache",payload:{value:e}})},s=()=>{t().setState(({cache:e})=>{Object.keys(e).forEach(a=>{delete e[a]})},!1,{type:"clearCache",payload:{value:null}})};export{r as a,l as b,s as c};
2
- //# sourceMappingURL=chunk-TOUR23UJ.mjs.map
1
+ import{q as t}from"./chunk-VSOHM56Y.mjs";var r=({key:e,value:a})=>{t().setState(({cache:c})=>{c[e]=a},!1,{type:"saveToCache",payload:{value:a}})},l=e=>{t().setState(({cache:a})=>{delete a[e]},!1,{type:"removeFromCache",payload:{value:e}})},s=()=>{t().setState(({cache:e})=>{Object.keys(e).forEach(a=>{delete e[a]})},!1,{type:"clearCache",payload:{value:null}})};export{r as a,l as b,s as c};
2
+ //# sourceMappingURL=chunk-TWDQUDRP.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-TWYGNEQS.mjs";import{b as n,c as o}from"./chunk-E7EGETYN.mjs";import{s}from"./chunk-53K4VPO5.mjs";function T({sessionId:t,transaction:e}){o({sessionId:t,transaction:e});let i=s().transactions?.[t].transactions,a=r(i);return a&&n({sessionId:t,status:a}),a}export{T as a};
2
- //# sourceMappingURL=chunk-DL3IGGZY.mjs.map
1
+ import{a as r}from"./chunk-TWYGNEQS.mjs";import{b as n,c as o}from"./chunk-FLFZN2T6.mjs";import{s}from"./chunk-VSOHM56Y.mjs";function T({sessionId:t,transaction:e}){o({sessionId:t,transaction:e});let i=s().transactions?.[t].transactions,a=r(i);return a&&n({sessionId:t,status:a}),a}export{T as a};
2
+ //# sourceMappingURL=chunk-UDWPAR25.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-VSOHM56Y.mjs";var m=()=>t(e());export{m as a};
2
+ //# sourceMappingURL=chunk-UJA73JSW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-K3G4XKV7.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
2
- //# sourceMappingURL=chunk-EFSOCX2U.mjs.map
1
+ import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-LT4RXTTQ.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
2
+ //# sourceMappingURL=chunk-UUFVP7SB.mjs.map
@@ -0,0 +1,2 @@
1
+ import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-VSOHM56Y.mjs";function d(t=r()){return e(t).explorerAddress}export{d as a};
2
+ //# sourceMappingURL=chunk-UWBYA2GM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-LTC4QYEN.mjs";import{a as g}from"./chunk-4J2LMCTY.mjs";import{s as e}from"./chunk-53K4VPO5.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
- //# sourceMappingURL=chunk-MYYODQXX.mjs.map
1
+ import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-YHON33YS.mjs";import{a as g}from"./chunk-GJSAN3GO.mjs";import{s as e}from"./chunk-VSOHM56Y.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
+ //# sourceMappingURL=chunk-UY2X77BA.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk-EFSOCX2U.mjs";import{a as g}from"./chunk-HSF3JATH.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
2
- //# sourceMappingURL=chunk-7HY3BPVV.mjs.map
1
+ import{a as u}from"./chunk-UUFVP7SB.mjs";import{a as g}from"./chunk-HSF3JATH.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
2
+ //# sourceMappingURL=chunk-V6HSYMMG.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-C23VOAOY.mjs";var o={async getTransactionsHistory(s){return await t(s)}};export{o as a};
2
+ //# sourceMappingURL=chunk-VA7KLP35.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-YHNZS2AR.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
2
- //# sourceMappingURL=chunk-EFWZVJJ5.mjs.map
1
+ import{a as e}from"./chunk-YDR33UBM.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
2
+ //# sourceMappingURL=chunk-VCU3YP4J.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as U}from"./chunk-HBARIYZU.mjs";import{a as B}from"./chunk-GBDHEWNQ.mjs";import{a as $}from"./chunk-JKOM2WOS.mjs";import{a as _}from"./chunk-AC3N236P.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as R}from"./chunk-OMBZCVQZ.mjs";import{l as w}from"./chunk-LTC4QYEN.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as v}from"./chunk-BBGOFDRU.mjs";import{a as O}from"./chunk-RYIJWGFA.mjs";import{k as x}from"./chunk-QNYO7NI5.mjs";import{a as A}from"./chunk-YJCTRUJT.mjs";import{a as h,c as G,f}from"./chunk-PJWJZHIS.mjs";import{a as L}from"./chunk-2JKCBTYK.mjs";import{c as F}from"./chunk-PWAP64SN.mjs";import{a as C}from"./chunk-YHNZS2AR.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:n,network:o,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:n,sender:W,apiAddress:o.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},J=g&&l&&l.length>0?`${g}-${l}`:g,Q=await v({tokenId:J}),{esdtPrice:X,tokenDecimals:Y,type:r,identifier:a,tokenImageUrl:Z}=Q;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Z};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(o.decimals):Y,digits:Number(o.digits),addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:X),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===x?n:a)??n,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:nt}=R({transaction:p,price:S}),ot=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:o.gasStationMetadata}),{gasPriceOption:k}=T,et=w().getType(),it=O(et),N=u.length,rt=e.length>0?e[e.length-1]+1:0,P=F(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=A({to:`/${L}/${m}`,explorerAddress:st}),ct=N===1||t?.needsSigning&&!e.includes(s),pt=f({input:k.toString(),decimals:G,addCommas:!0,digits:h}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:k,gasPriceOptions:ot,egldLabel:n,tokenType:j(r),feeLimit:tt,feeInFiatLimit:nt,transactionsCount:N,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:C.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
- //# sourceMappingURL=chunk-WVIORLAD.mjs.map
1
+ import{a as U}from"./chunk-UWBYA2GM.mjs";import{a as B}from"./chunk-GBDHEWNQ.mjs";import{a as $}from"./chunk-EJ4TUIIU.mjs";import{a as _}from"./chunk-AC3N236P.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as R}from"./chunk-OMBZCVQZ.mjs";import{l as w}from"./chunk-YHON33YS.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as v}from"./chunk-AIBBSVXP.mjs";import{a as O}from"./chunk-RYIJWGFA.mjs";import{k as x}from"./chunk-QNYO7NI5.mjs";import{a as A}from"./chunk-YJCTRUJT.mjs";import{a as h,c as G,f}from"./chunk-PJWJZHIS.mjs";import{a as L}from"./chunk-2JKCBTYK.mjs";import{c as F}from"./chunk-PWAP64SN.mjs";import{a as C}from"./chunk-YDR33UBM.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:n,network:o,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:n,sender:W,apiAddress:o.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},J=g&&l&&l.length>0?`${g}-${l}`:g,Q=await v({tokenId:J}),{esdtPrice:X,tokenDecimals:Y,type:r,identifier:a,tokenImageUrl:Z}=Q;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Z};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(o.decimals):Y,digits:Number(o.digits),addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:X),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===x?n:a)??n,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:nt}=R({transaction:p,price:S}),ot=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:o.gasStationMetadata}),{gasPriceOption:k}=T,et=w().getType(),it=O(et),N=u.length,rt=e.length>0?e[e.length-1]+1:0,P=F(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=A({to:`/${L}/${m}`,explorerAddress:st}),ct=N===1||t?.needsSigning&&!e.includes(s),pt=f({input:k.toString(),decimals:G,addCommas:!0,digits:h}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:k,gasPriceOptions:ot,egldLabel:n,tokenType:j(r),feeLimit:tt,feeInFiatLimit:nt,transactionsCount:N,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:C.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
+ //# sourceMappingURL=chunk-VLRP4JQW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-3WWZSW2J.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}get walletConnectData(){return{...this.data}}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
- //# sourceMappingURL=chunk-77CFJQDJ.mjs.map
1
+ import{a as e}from"./chunk-RVW6Z4XY.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}get walletConnectData(){return{...this.data}}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
+ //# sourceMappingURL=chunk-VOCZMUMV.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as p,f as l}from"./chunk-FK6DWWZF.mjs";import{f as s}from"./chunk-VNLGNNIL.mjs";import{b as x}from"./chunk-A7FTKX2A.mjs";import{a as m,b as c}from"./chunk-RIPIZH54.mjs";import{a as T}from"./chunk-2DNGCNYM.mjs";import{a as f,b as g}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-ONT6BGYB.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as u,b as S}from"./chunk-VKEESSBI.mjs";import{a as I}from"./chunk-GG53ZKY3.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{f as a}from"./chunk-DA76AK4I.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=m,e.loginInfo=f,e.transactions=d,e.toasts=u};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=l(e),r=s(e),{address:i,publicKey:D}=p(e);if(i&&D!==new a(i).toHex()&&A(e),!t)return;if(r==null){w(H());return}let P=Date.now();r-P<0&&(w(null),o().setState(A,!1,{type:"logoutMiddleware",payload:{value:null}}))};var M=(e,t)=>{C(e)};var W=e=>{let t=J(V(h(N((...r)=>({network:T(...r),account:c(...r),loginInfo:g(...r),config:L(...r),transactions:y(...r),toasts:S(...r),cache:x(...r),ui:v(...r)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(M),t},n,z=e=>{n=e},o=()=>(n||z(W(()=>new k)),n),Se=(e=I)=>{let t=W(e);return z(t),t},de=()=>o().getState();var Le=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),Te=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),ve=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),Ie=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),ke=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),Ae=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),we=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{Le as a,Te as b,ve as c,Ie as d,ke as e,Ae as f,we as g,E as h,b as i,A as j,H as k,w as l,C as m,M as n,W as o,z as p,o as q,Se as r,de as s};
2
- //# sourceMappingURL=chunk-53K4VPO5.mjs.map
1
+ import{b as p,f as l}from"./chunk-FK6DWWZF.mjs";import{f as s}from"./chunk-VNLGNNIL.mjs";import{b as x}from"./chunk-A7FTKX2A.mjs";import{a as m,b as c}from"./chunk-RIPIZH54.mjs";import{a as T}from"./chunk-2DNGCNYM.mjs";import{a as f,b as g}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-ONT6BGYB.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as u,b as S}from"./chunk-VKEESSBI.mjs";import{a as I}from"./chunk-LLVSK2AG.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{f as a}from"./chunk-DA76AK4I.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=m,e.loginInfo=f,e.transactions=d,e.toasts=u};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=l(e),r=s(e),{address:i,publicKey:D}=p(e);if(i&&D!==new a(i).toHex()&&A(e),!t)return;if(r==null){w(H());return}let P=Date.now();r-P<0&&(w(null),o().setState(A,!1,{type:"logoutMiddleware",payload:{value:null}}))};var M=(e,t)=>{C(e)};var W=e=>{let t=J(V(h(N((...r)=>({network:T(...r),account:c(...r),loginInfo:g(...r),config:L(...r),transactions:y(...r),toasts:S(...r),cache:x(...r),ui:v(...r)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(M),t},n,z=e=>{n=e},o=()=>(n||z(W(()=>new k)),n),Se=(e=I)=>{let t=W(e);return z(t),t},de=()=>o().getState();var Le=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),Te=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),ve=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),Ie=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),ke=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),Ae=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),we=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{Le as a,Te as b,ve as c,Ie as d,ke as e,Ae as f,we as g,E as h,b as i,A as j,H as k,w as l,C as m,M as n,W as o,z as p,o as q,Se as r,de as s};
2
+ //# sourceMappingURL=chunk-VSOHM56Y.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{l as g}from"./chunk-LTC4QYEN.mjs";import{q as M}from"./chunk-53K4VPO5.mjs";import{a as c}from"./chunk-FK6DWWZF.mjs";import{d as u,f as p,g as l}from"./chunk-DA76AK4I.mjs";import{a as d}from"./chunk-YHNZS2AR.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=c(this.store.getState()),o=g(),i=`${t}${a}`,y=new l({address:new p(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=c(this.store.getState()),{message:t}=s;try{let o=new l({address:new p(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
- //# sourceMappingURL=chunk-ZZIDZ3MC.mjs.map
1
+ import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{l as g}from"./chunk-YHON33YS.mjs";import{q as M}from"./chunk-VSOHM56Y.mjs";import{a as c}from"./chunk-FK6DWWZF.mjs";import{d as u,f as p,g as l}from"./chunk-DA76AK4I.mjs";import{a as d}from"./chunk-YDR33UBM.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=c(this.store.getState()),o=g(),i=`${t}${a}`,y=new l({address:new p(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=c(this.store.getState()),{message:t}=s;try{let o=new l({address:new p(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
+ //# sourceMappingURL=chunk-WDL6SFHR.mjs.map
@@ -1,2 +1,2 @@
1
- import{d as o}from"./chunk-J7KIUM6S.mjs";import{a as r}from"./chunk-GG53ZKY3.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
- //# sourceMappingURL=chunk-WU6THSZL.mjs.map
1
+ import{d as o}from"./chunk-BI2PJ5FS.mjs";import{a as r}from"./chunk-LLVSK2AG.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
+ //# sourceMappingURL=chunk-XEDB2GXW.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-VSOHM56Y.mjs";import{a as t}from"./chunk-FK6DWWZF.mjs";function n(r=o()){return t(r)}export{n as a};
2
+ //# sourceMappingURL=chunk-XELB2AVG.mjs.map
@@ -1,2 +1,2 @@
1
- import{e}from"./chunk-M6MN4RXG.mjs";import{h as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-53K4VPO5.mjs";function m(){let r=o(t());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
- //# sourceMappingURL=chunk-5JAXD5EL.mjs.map
1
+ import{e}from"./chunk-M6MN4RXG.mjs";import{h as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-VSOHM56Y.mjs";function m(){let r=o(t());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
+ //# sourceMappingURL=chunk-YAVOCSOD.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk-BBGOFDRU.mjs";import{a as c}from"./chunk-O5PAMBB3.mjs";var l=async({receiver:n,sender:s,tokenId:i})=>{let t=null,r=null;if(!i)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await u({tokenId:i}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(s===e&&(t=e),n===e&&(r=e)),c(o[e])&&(s===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{l as a};
2
- //# sourceMappingURL=chunk-RD22BX56.mjs.map
1
+ import{a as u}from"./chunk-AIBBSVXP.mjs";import{a as c}from"./chunk-O5PAMBB3.mjs";var l=async({receiver:n,sender:s,tokenId:i})=>{let t=null,r=null;if(!i)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await u({tokenId:i}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(s===e&&(t=e),n===e&&(r=e)),c(o[e])&&(s===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{l as a};
2
+ //# sourceMappingURL=chunk-YDH26OGG.mjs.map
@@ -0,0 +1,2 @@
1
+ var o=typeof window<"u"?window:{},n="5.6.12";export{o as a,n as b};
2
+ //# sourceMappingURL=chunk-YDR33UBM.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/window.constants.ts"],
4
- "sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.10'; // will be replaced at build time\n"],
4
+ "sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.12'; // will be replaced at build time\n"],
5
5
  "mappings": "AAAO,IAAMA,EACX,OAAO,OAAW,IAAc,OAAU,CAAC,EAEhCC,EAAU",
6
6
  "names": ["safeWindow", "version"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-QYUVRE37.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-53K4VPO5.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
- //# sourceMappingURL=chunk-RRHFYJZL.mjs.map
1
+ import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-XELB2AVG.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-VSOHM56Y.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
+ //# sourceMappingURL=chunk-YG6SFLZY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as Z}from"./chunk-5INSJWZL.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-QOSLU3CY.mjs";import{a as rt}from"./chunk-GTPYIIWU.mjs";import{a as tt}from"./chunk-4J2LMCTY.mjs";import{a as et}from"./chunk-6BYAL76L.mjs";import{a as nt}from"./chunk-5JAXD5EL.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as mt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-7HY3BPVV.mjs";import{a as st}from"./chunk-CAYG6NAN.mjs";import{a as ut}from"./chunk-H2PMISQX.mjs";import{a as M}from"./chunk-KNVS3QDA.mjs";import{a as ct}from"./chunk-MM2JH6EX.mjs";import{b as A}from"./chunk-ZJBFSQSD.mjs";import{c as O}from"./chunk-J7KIUM6S.mjs";import{a as d}from"./chunk-OKQ2FJXI.mjs";import{a as J}from"./chunk-AF473JVQ.mjs";import{a as w}from"./chunk-DKLBYDPE.mjs";import{a as P,f as X}from"./chunk-HK2ZVZ7Q.mjs";import{b as it}from"./chunk-CPFMWZM7.mjs";import{b as k}from"./chunk-E7EGETYN.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-QYUVRE37.mjs";import{a as _}from"./chunk-EFSOCX2U.mjs";import{a as y}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-6TO3K77Y.mjs";import{a as L}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as q,q as v,s as l}from"./chunk-53K4VPO5.mjs";import{c as V,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-2AJ5KJ2V.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-DA76AK4I.mjs";import U from"bignumber.js";var Lt=async()=>{try{let o=J(),{network:e}=d();try{let t=await b({address:o,baseURL:e.apiAddress});if(t!=null){let n={...t,username:L(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(o){console.error("Failed getting address ",o)}return null};async function I(){let o=T();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await Lt():void 0}catch(e){console.error("Failed initializing provider ",e)}}async function gt({sessionId:o,transactionBatch:e,isSequential:t}){try{if(e==null)return;let n=tt(),r=ot(e),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:o,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[o];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:o,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:o,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:o,status:"invalid"})}catch(n){console.error(n)}}async function pt(){let o=G(l()),e=Object.entries(o);e.length!==0&&await Promise.all(e.map(([t,{transactions:n}])=>gt({sessionId:t,transactionBatch:n})))}async function x(){let o=v(),e=nt(),t=null,n=$(o.getState())?.timestamp??null,r=async()=>{try{await pt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,e))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=o.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});O.set("websocketEventReceived",a)};r();let s=()=>{p()},u=o.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return O.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:o,provider:e,apiAddress:t}){let n=await b({address:o,baseURL:t});if(!n)throw new Error("Account not found");it({address:o,providerType:e.getType()});let r={...n,username:L(n.username),nonce:w(n)};P(r),await A(o),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function lt({provider:o,nativeAuthConfig:e,token:t}){let{network:{apiAddress:n}}=d(),r=_(e),i=t;i||(i=await r.initialize({noCache:!0}));let p=await o.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:e,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});q({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:o,apiAddress:n}),{address:C,signature:s}}async function dt(o){let{network:{apiAddress:e}}=d();await o.login();let t=await o.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:o,apiAddress:e}),{address:t}}async function ft(o,e){let t=S(l());if(t)return await lt({provider:o,nativeAuthConfig:t,token:e?.token});let{address:n}=await dt(o);return await A(n),x(),{address:n,signature:""}}async function Tt({provider:o,transactions:e,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=o.getType()===h.ledger,c=mt({latestNonce:i,transactions:e}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=F.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=z.newFromBech32(r),a)):c,u=await o.signTransactions(s,t)??[];return X(i+u.length),u}var E=class{constructor(e){this._isLoggingOut=!1;this.provider=e}init(){return this.provider.init()}async login(e){let t=await ft(this.provider,e);return K(this.provider.getType()),ht(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(e={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:e});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(e,t){try{return await Tt({provider:this.provider,transactions:e,options:t})}catch(n){let r=M(n);throw new Error(r)}}async signMessage(e,t){try{return await ut({provider:this.provider,message:e,options:t})}catch(n){let r=M(n,"warning");throw new Error(r)}}cancelLogin(){this.provider.cancelLogin?.()}};var vt=null;function ht(o){vt=o}function T(){return vt||new E(B)}var R=class o{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let e=this.store.getState(),t=f(e),{isExpired:n}=y(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let e=this.store.getState(),t=f(e),n=H(e);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let e=T(),t=V(this.store.getState()),n=e.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=y(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{e.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let e=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=y(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!e?.tokenExpirationToastWarningSeconds)return;let c=new U(e?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};export{R as a,gt as b,pt as c,x as d,N as e,lt as f,dt as g,ft as h,Tt as i,E as j,ht as k,T as l,I as m};
2
- //# sourceMappingURL=chunk-LTC4QYEN.mjs.map
1
+ import{a as Z}from"./chunk-YKYYWL4B.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-AQIZZ6YU.mjs";import{a as rt}from"./chunk-AU2YBHNW.mjs";import{a as tt}from"./chunk-GJSAN3GO.mjs";import{a as et}from"./chunk-YXKQJKZV.mjs";import{a as nt}from"./chunk-YAVOCSOD.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as mt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-V6HSYMMG.mjs";import{a as st}from"./chunk-JAXSTKEJ.mjs";import{a as ut}from"./chunk-QRPH4JCL.mjs";import{a as M}from"./chunk-QNXBITGY.mjs";import{a as ct}from"./chunk-LYUGR2FR.mjs";import{b as A}from"./chunk-G2WU3X6R.mjs";import{c as O}from"./chunk-BI2PJ5FS.mjs";import{a as d}from"./chunk-RFGBMNFA.mjs";import{a as J}from"./chunk-DDS3DY4B.mjs";import{a as w}from"./chunk-LJ5RLWEK.mjs";import{a as P,f as X}from"./chunk-TIX7PAYC.mjs";import{b as it}from"./chunk-GP6W6RR7.mjs";import{b as k}from"./chunk-FLFZN2T6.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-XELB2AVG.mjs";import{a as _}from"./chunk-UUFVP7SB.mjs";import{a as y}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-365NUVE7.mjs";import{a as L}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as q,q as v,s as l}from"./chunk-VSOHM56Y.mjs";import{c as V,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-2AJ5KJ2V.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-DA76AK4I.mjs";import U from"bignumber.js";var Lt=async()=>{try{let o=J(),{network:e}=d();try{let t=await b({address:o,baseURL:e.apiAddress});if(t!=null){let n={...t,username:L(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(o){console.error("Failed getting address ",o)}return null};async function I(){let o=T();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await Lt():void 0}catch(e){console.error("Failed initializing provider ",e)}}async function gt({sessionId:o,transactionBatch:e,isSequential:t}){try{if(e==null)return;let n=tt(),r=ot(e),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:o,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[o];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:o,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:o,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:o,status:"invalid"})}catch(n){console.error(n)}}async function pt(){let o=G(l()),e=Object.entries(o);e.length!==0&&await Promise.all(e.map(([t,{transactions:n}])=>gt({sessionId:t,transactionBatch:n})))}async function x(){let o=v(),e=nt(),t=null,n=$(o.getState())?.timestamp??null,r=async()=>{try{await pt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,e))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=o.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});O.set("websocketEventReceived",a)};r();let s=()=>{p()},u=o.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return O.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:o,provider:e,apiAddress:t}){let n=await b({address:o,baseURL:t});if(!n)throw new Error("Account not found");it({address:o,providerType:e.getType()});let r={...n,username:L(n.username),nonce:w(n)};P(r),await A(o),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function lt({provider:o,nativeAuthConfig:e,token:t}){let{network:{apiAddress:n}}=d(),r=_(e),i=t;i||(i=await r.initialize({noCache:!0}));let p=await o.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:e,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});q({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:o,apiAddress:n}),{address:C,signature:s}}async function dt(o){let{network:{apiAddress:e}}=d();await o.login();let t=await o.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:o,apiAddress:e}),{address:t}}async function ft(o,e){let t=S(l());if(t)return await lt({provider:o,nativeAuthConfig:t,token:e?.token});let{address:n}=await dt(o);return await A(n),x(),{address:n,signature:""}}async function Tt({provider:o,transactions:e,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=o.getType()===h.ledger,c=mt({latestNonce:i,transactions:e}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=F.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=z.newFromBech32(r),a)):c,u=await o.signTransactions(s,t)??[];return X(i+u.length),u}var E=class{constructor(e){this._isLoggingOut=!1;this.provider=e}init(){return this.provider.init()}async login(e){let t=await ft(this.provider,e);return K(this.provider.getType()),ht(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(e={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:e});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(e,t){try{return await Tt({provider:this.provider,transactions:e,options:t})}catch(n){let r=M(n);throw new Error(r)}}async signMessage(e,t){try{return await ut({provider:this.provider,message:e,options:t})}catch(n){let r=M(n,"warning");throw new Error(r)}}cancelLogin(){this.provider.cancelLogin?.()}};var vt=null;function ht(o){vt=o}function T(){return vt||new E(B)}var R=class o{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let e=this.store.getState(),t=f(e),{isExpired:n}=y(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let e=this.store.getState(),t=f(e),n=H(e);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let e=T(),t=V(this.store.getState()),n=e.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=y(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{e.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let e=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=y(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!e?.tokenExpirationToastWarningSeconds)return;let c=new U(e?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};export{R as a,gt as b,pt as c,x as d,N as e,lt as f,dt as g,ft as h,Tt as i,E as j,ht as k,T as l,I as m};
2
+ //# sourceMappingURL=chunk-YHON33YS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-SYPHPBGQ.mjs";var T=async a=>{let n=a.map(s=>s.hash),r=await e(n);return a.map(s=>{let t=r.find(o=>o?.txHash===s.hash);return{...s,status:t?.status,invalidTransaction:t==null,results:t?.results??[],previousStatus:s.status?.toString()||"",hasStatusChanged:!!(t&&t.status!==s.status)}})};export{T as a};
2
- //# sourceMappingURL=chunk-5INSJWZL.mjs.map
1
+ import{a as e}from"./chunk-GOUIWTTC.mjs";var T=async a=>{let n=a.map(s=>s.hash),r=await e(n);return a.map(s=>{let t=r.find(o=>o?.txHash===s.hash);return{...s,status:t?.status,invalidTransaction:t==null,results:t?.results??[],previousStatus:s.status?.toString()||"",hasStatusChanged:!!(t&&t.status!==s.status)}})};export{T as a};
2
+ //# sourceMappingURL=chunk-YKYYWL4B.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk-IWP36NOU.mjs";import{a as w}from"./chunk-LGGG3HW7.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";import{q as u}from"./chunk-53K4VPO5.mjs";import{a as l}from"./chunk-SQVKVA7X.mjs";var e=o=>u().setState(({network:t})=>{t.network={...t.network,...o}},!1,{type:"initializeNetworkConfig",payload:{value:o}});var y=async({customNetworkConfig:o={},environment:t})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=t&&t in i,p=n?i[t]:{},s={...l,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await c(a),f=r.roundDuration?null:await w(a);if(f!=null&&(r.roundDuration=f.erd_round_duration),m!=null){let k={...r,...m,...o};return e(k),k}}return e(r),r};export{y as a,e as b};
2
- //# sourceMappingURL=chunk-NUGBRIDR.mjs.map
1
+ import{a as c}from"./chunk-IWP36NOU.mjs";import{a as w}from"./chunk-LGGG3HW7.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";import{q as u}from"./chunk-VSOHM56Y.mjs";import{a as l}from"./chunk-SQVKVA7X.mjs";var e=o=>u().setState(({network:t})=>{t.network={...t.network,...o}},!1,{type:"initializeNetworkConfig",payload:{value:o}});var y=async({customNetworkConfig:o={},environment:t})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=t&&t in i,p=n?i[t]:{},s={...l,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await c(a),f=r.roundDuration?null:await w(a);if(f!=null&&(r.roundDuration=f.erd_round_duration),m!=null){let k={...r,...m,...o};return e(k),k}}return e(r),r};export{y as a,e as b};
2
+ //# sourceMappingURL=chunk-YTKDRPWM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-I73AYO2H.mjs";import{a as u}from"./chunk-DL3IGGZY.mjs";import{a}from"./chunk-PMHRZ5Y7.mjs";import{l as p}from"./chunk-E2GGD7D4.mjs";import{b as o}from"./chunk-E7EGETYN.mjs";var n={};async function b({serverTransaction:r,sessionId:t,isSequential:c}){let{hash:e,status:s,invalidTransaction:f,hasStatusChanged:S}=r;try{if(n[e]>30){o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"});return}if(f&&!c||s==="sent"){n[e]=n[e]?n[e]+1:1;return}if(c&&!s){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i});return}if(S){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i})}p(s)&&await m({sessionId:t,transaction:r})}catch(T){console.error(T),o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"})}}export{b as a};
2
- //# sourceMappingURL=chunk-6BYAL76L.mjs.map
1
+ import{a as m}from"./chunk-DDRH6O3X.mjs";import{a as u}from"./chunk-UDWPAR25.mjs";import{a}from"./chunk-PMHRZ5Y7.mjs";import{l as p}from"./chunk-E2GGD7D4.mjs";import{b as o}from"./chunk-FLFZN2T6.mjs";var n={};async function b({serverTransaction:r,sessionId:t,isSequential:c}){let{hash:e,status:s,invalidTransaction:f,hasStatusChanged:S}=r;try{if(n[e]>30){o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"});return}if(f&&!c||s==="sent"){n[e]=n[e]?n[e]+1:1;return}if(c&&!s){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i});return}if(S){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i})}p(s)&&await m({sessionId:t,transaction:r})}catch(T){console.error(T),o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"})}}export{b as a};
2
+ //# sourceMappingURL=chunk-YXKQJKZV.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-CCD7PUHB.mjs";import{a as S}from"./chunk-EAJBSX6Y.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-53K4VPO5.mjs";import{a as n}from"./chunk-FK6DWWZF.mjs";var u=t=>{let o=0,i=n(e())?.shard;return S(t)?(t.forEach(c=>{let m=s(c,i);o+=m?5*6e3:6e3}),o):(o=s(t,i)?5*6e3:6e3,o)};export{u as a};
2
- //# sourceMappingURL=chunk-IQA5LCZX.mjs.map
1
+ import{a as s}from"./chunk-CCD7PUHB.mjs";import{a as S}from"./chunk-EAJBSX6Y.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-VSOHM56Y.mjs";import{a as n}from"./chunk-FK6DWWZF.mjs";var u=t=>{let o=0,i=n(e())?.shard;return S(t)?(t.forEach(c=>{let m=s(c,i);o+=m?5*6e3:6e3}),o):(o=s(t,i)?5*6e3:6e3,o)};export{u as a};
2
+ //# sourceMappingURL=chunk-Z72NFBTZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-Z4XGT2PR.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
- //# sourceMappingURL=chunk-2N7KWUP5.mjs.map
1
+ import{a as t}from"./chunk-QDUNEKJW.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
+ //# sourceMappingURL=chunk-ZLGDFBX7.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-PKYME77B.mjs";import{a as s}from"./chunk-Z4XGT2PR.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-53K4VPO5.mjs";var e=class e extends s{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&await e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{if(c(e.loginHandler)){let o=await t.create({type:n,anchor:i}),l=e.token;await o.login(l?{token:l}:void 0),e.loginHandler()}else e.loginHandler({type:n,anchor:i});await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy(),e.onCancelLogin&&await e.onCancelLogin()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),n.onCancelLogin&&(this.onCancelLogin=n.onCancelLogin),n.token&&(this.token=n.token),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null,e.onCancelLogin=null,e.token=null;var u=e;export{u as a};
2
- //# sourceMappingURL=chunk-MYOCU757.mjs.map
1
+ import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-IPGIVRGN.mjs";import{a as s}from"./chunk-QDUNEKJW.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-VSOHM56Y.mjs";var e=class e extends s{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&await e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{if(c(e.loginHandler)){let o=await t.create({type:n,anchor:i}),l=e.token;await o.login(l?{token:l}:void 0),e.loginHandler()}else e.loginHandler({type:n,anchor:i});await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy(),e.onCancelLogin&&await e.onCancelLogin()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),n.onCancelLogin&&(this.onCancelLogin=n.onCancelLogin),n.token&&(this.token=n.token),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null,e.onCancelLogin=null,e.token=null;var u=e;export{u as a};
2
+ //# sourceMappingURL=chunk-ZMZXHLYM.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("apiCalls/configuration/getCleanApiAddress"),s=require("apiCalls/endpoints"),a=require("apiCalls/utils/axiosInstance"),u=require("constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/configuration/getCleanApiAddress"),s=require("../../apiCalls/endpoints"),a=require("../../apiCalls/utils/axiosInstance"),u=require("../../constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
2
2
  //# sourceMappingURL=getAccountFromApi.cjs.map
@@ -1,4 +1,4 @@
1
- import { AccountType } from 'types/account.types';
1
+ import { AccountType } from '../../types/account.types';
2
2
  export declare const accountFetcher: ({ address, baseURL }: {
3
3
  address: string | null;
4
4
  baseURL: string;
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../__chunks__/chunk-ZVBRUJVV.mjs";import"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as accountFetcher,b as getAccountFromApi};
1
+ import{a,b}from"../../__chunks__/chunk-HY5I67W7.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as accountFetcher,b as getAccountFromApi};
2
2
  //# sourceMappingURL=getAccountFromApi.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("apiCalls/configuration/getCleanApiAddress"),d=require("constants/network.constants"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
1
+ "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/configuration/getCleanApiAddress"),d=require("../../constants/network.constants"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
2
2
  //# sourceMappingURL=getScamAddressData.cjs.map
@@ -1,4 +1,4 @@
1
- import { ScamInfoType } from 'types/account.types';
1
+ import { ScamInfoType } from '../../types/account.types';
2
2
  export declare function getScamAddressData({ addressToVerify, baseURL }: {
3
3
  addressToVerify: string;
4
4
  baseURL: string;
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-LH6K2GZ6.mjs";import"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as getScamAddressData};
1
+ import{a}from"../../__chunks__/chunk-F3PJPNGU.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getScamAddressData};
2
2
  //# sourceMappingURL=getScamAddressData.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},A=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!a.call(e,s)&&s!==r&&o(e,s,{get:()=>t[s],enumerable:!(n=p(t,s))||n.enumerable});return e};var g=e=>A(o({},"__esModule",{value:!0}),e);var f={};m(f,{getCleanApiAddress:()=>l});module.exports=g(f);var i=require("store/selectors/networkSelectors"),d=require("store/store");const l=e=>{const t=(0,i.networkSelector)((0,d.getState)()),r=e??t.apiAddress;return r.endsWith("/")?r.slice(0,-1):r};0&&(module.exports={getCleanApiAddress});
1
+ "use strict";var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},A=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!a.call(e,s)&&s!==r&&o(e,s,{get:()=>t[s],enumerable:!(n=p(t,s))||n.enumerable});return e};var g=e=>A(o({},"__esModule",{value:!0}),e);var f={};m(f,{getCleanApiAddress:()=>l});module.exports=g(f);var i=require("../../store/selectors/networkSelectors"),d=require("../../store/store");const l=e=>{const t=(0,i.networkSelector)((0,d.getState)()),r=e??t.apiAddress;return r.endsWith("/")?r.slice(0,-1):r};0&&(module.exports={getCleanApiAddress});
2
2
  //# sourceMappingURL=getCleanApiAddress.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as getCleanApiAddress};
1
+ import{a}from"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getCleanApiAddress};
2
2
  //# sourceMappingURL=getCleanApiAddress.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var l=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var A=(t,r)=>{for(var e in r)s(t,e,{get:r[e],enumerable:!0})},n=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of c(r))!d.call(t,a)&&a!==e&&s(t,a,{get:()=>r[a],enumerable:!(o=p(r,a))||o.enumerable});return t};var g=(t,r,e)=>(e=t!=null?l(u(t)):{},n(r||!t||!t.__esModule?s(e,"default",{value:t,enumerable:!0}):e,t)),S=t=>n(s({},"__esModule",{value:!0}),t);var N={};A(N,{getGasStationMetadataFromApi:()=>k});module.exports=S(N);var i=g(require("axios")),m=require("apiCalls/configuration/getCleanApiAddress"),f=require("apiCalls/endpoints");async function k(t,r){const o=`${(0,m.getCleanApiAddress)(r)}/${f.GAS_STATION_ENDPOINT}/${t}`;try{const{data:a}=await i.default.get(o);return a?{[t]:{lastBlock:a.lastBlock,fast:a.fast,faster:a.faster}}:null}catch(a){return console.error("Error fetching gas station metadata from:",o,a),null}}0&&(module.exports={getGasStationMetadataFromApi});
1
+ "use strict";var l=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var A=(t,r)=>{for(var e in r)s(t,e,{get:r[e],enumerable:!0})},n=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of c(r))!d.call(t,a)&&a!==e&&s(t,a,{get:()=>r[a],enumerable:!(o=p(r,a))||o.enumerable});return t};var g=(t,r,e)=>(e=t!=null?l(u(t)):{},n(r||!t||!t.__esModule?s(e,"default",{value:t,enumerable:!0}):e,t)),S=t=>n(s({},"__esModule",{value:!0}),t);var N={};A(N,{getGasStationMetadataFromApi:()=>k});module.exports=S(N);var i=g(require("axios")),m=require("../../apiCalls/configuration/getCleanApiAddress"),f=require("../../apiCalls/endpoints");async function k(t,r){const o=`${(0,m.getCleanApiAddress)(r)}/${f.GAS_STATION_ENDPOINT}/${t}`;try{const{data:a}=await i.default.get(o);return a?{[t]:{lastBlock:a.lastBlock,fast:a.fast,faster:a.faster}}:null}catch(a){return console.error("Error fetching gas station metadata from:",o,a),null}}0&&(module.exports={getGasStationMetadataFromApi});
2
2
  //# sourceMappingURL=getGasStationMetadata.cjs.map
@@ -1,2 +1,2 @@
1
- import { NetworkType } from 'types/network.types';
1
+ import { NetworkType } from '../../types/network.types';
2
2
  export declare function getGasStationMetadataFromApi(shard: number, customApiAddress?: string): Promise<NetworkType['gasStationMetadata'] | null>;
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-MUQOQKIZ.mjs";import"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as getGasStationMetadataFromApi};
1
+ import{a}from"../../__chunks__/chunk-S72I2KYP.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getGasStationMetadataFromApi};
2
2
  //# sourceMappingURL=getGasStationMetadata.mjs.map
@@ -1,2 +1,2 @@
1
- import { ApiNetworkConfigType } from 'types/network.types';
1
+ import { ApiNetworkConfigType } from '../../types/network.types';
2
2
  export declare function getNetworkConfigFromApi(apiAddress: string): Promise<ApiNetworkConfigType | null>;
@@ -1,2 +1,2 @@
1
- import { NetworkType } from 'types/network.types';
1
+ import { NetworkType } from '../../types/network.types';
2
2
  export declare function getServerConfiguration(apiAddress: string): Promise<NetworkType | null>;
@@ -1,2 +1,2 @@
1
- "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("apiCalls/configuration/getCleanApiAddress"),a=require("apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
1
+ "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/configuration/getCleanApiAddress"),a=require("../../apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
2
2
  //# sourceMappingURL=getEconomics.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-GRIHIAKJ.mjs";import"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as getEconomics};
1
+ import{a}from"../../__chunks__/chunk-4IM7MMSB.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getEconomics};
2
2
  //# sourceMappingURL=getEconomics.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var g=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of T(e))!f.call(t,n)&&n!==o&&i(t,n,{get:()=>e[n],enumerable:!(a=c(e,n))||a.enumerable});return t};var d=t=>p(i({},"__esModule",{value:!0}),t);var k={};g(k,{getPersistedToken:()=>I});module.exports=d(k);var s=require("apiCalls/utils/axiosInstance"),m=require("constants/network.constants"),r=require("./tokenDataStorage");async function I(t){const e={timeout:m.TIMEOUT},o=await r.tokenDataStorage.getItem(t);if(o)return o;const a=await s.axiosInstance.get(t,e);return await r.tokenDataStorage.setItem(t,a.data),a.data}0&&(module.exports={getPersistedToken});
1
+ "use strict";var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var g=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of T(e))!f.call(t,n)&&n!==o&&i(t,n,{get:()=>e[n],enumerable:!(a=c(e,n))||a.enumerable});return t};var d=t=>p(i({},"__esModule",{value:!0}),t);var k={};g(k,{getPersistedToken:()=>I});module.exports=d(k);var s=require("../../apiCalls/utils/axiosInstance"),m=require("../../constants/network.constants"),r=require("./tokenDataStorage");async function I(t){const e={timeout:m.TIMEOUT},o=await r.tokenDataStorage.getItem(t);if(o)return o;const a=await s.axiosInstance.get(t,e);return await r.tokenDataStorage.setItem(t,a.data),a.data}0&&(module.exports={getPersistedToken});
2
2
  //# sourceMappingURL=getPersistedToken.cjs.map