@multiversx/sdk-dapp 5.3.0-alpha.5 → 5.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/out/__chunks__/{chunk-HT5WRDXC.mjs → chunk-2GLDWT4B.mjs} +2 -2
  2. package/out/__chunks__/chunk-2VKH6PVD.mjs +2 -0
  3. package/out/__chunks__/{chunk-H3BL4VM5.mjs → chunk-3AM6IIKL.mjs} +2 -2
  4. package/out/__chunks__/{chunk-6JZSN2DY.mjs → chunk-3E7GMJ7S.mjs} +2 -2
  5. package/out/__chunks__/{chunk-EBTTOSHF.mjs → chunk-53S7ZWAH.mjs} +2 -2
  6. package/out/__chunks__/{chunk-3WPEA75B.mjs → chunk-5HG4I6E4.mjs} +2 -2
  7. package/out/__chunks__/chunk-5TZDBT33.mjs +2 -0
  8. package/out/__chunks__/{chunk-S5M3W7ZR.mjs → chunk-6PEHFWTT.mjs} +2 -2
  9. package/out/__chunks__/{chunk-HOBNVAOB.mjs → chunk-7NNMFFHI.mjs} +2 -2
  10. package/out/__chunks__/chunk-7PTSMKMZ.mjs +2 -0
  11. package/out/__chunks__/{chunk-LSEZH4P6.mjs → chunk-A3UPWVXW.mjs} +2 -2
  12. package/out/__chunks__/{chunk-YFIAKX5S.mjs → chunk-ANKD2C6B.mjs} +2 -2
  13. package/out/__chunks__/{chunk-CXS3EVQG.mjs → chunk-AQFEJ73K.mjs} +2 -2
  14. package/out/__chunks__/chunk-BRJ6NMRW.mjs +2 -0
  15. package/out/__chunks__/chunk-BYZPMZZS.mjs +2 -0
  16. package/out/__chunks__/{chunk-EEWPENKM.mjs → chunk-C3MV4DC2.mjs} +2 -2
  17. package/out/__chunks__/{chunk-J5WUQE3J.mjs → chunk-CM76HFF3.mjs} +2 -2
  18. package/out/__chunks__/{chunk-PRMKM6DW.mjs → chunk-CSHDEYWB.mjs} +2 -2
  19. package/out/__chunks__/{chunk-YYBPMJO2.mjs → chunk-D2HBK3TS.mjs} +2 -2
  20. package/out/__chunks__/{chunk-IRULUA7A.mjs → chunk-D5MAPHRK.mjs} +2 -2
  21. package/out/__chunks__/{chunk-K7DSLRNG.mjs → chunk-EA57OVAS.mjs} +2 -2
  22. package/out/__chunks__/{chunk-MVEQXX6B.mjs → chunk-EEM4GSQH.mjs} +2 -2
  23. package/out/__chunks__/{chunk-PF4ZP4KB.mjs → chunk-ES6J6GSR.mjs} +2 -2
  24. package/out/__chunks__/{chunk-RV3QLH3M.mjs → chunk-FCNBXWBC.mjs} +2 -2
  25. package/out/__chunks__/chunk-FGFCIIYV.mjs +2 -0
  26. package/out/__chunks__/{chunk-MQB7SEFO.mjs → chunk-FINV2KVP.mjs} +2 -2
  27. package/out/__chunks__/{chunk-TLNZ26DM.mjs → chunk-GFIRL35A.mjs} +2 -2
  28. package/out/__chunks__/{chunk-FMF4SRBX.mjs → chunk-GZFPCYQ3.mjs} +2 -2
  29. package/out/__chunks__/{chunk-3AS72TW6.mjs → chunk-HIDKYPJS.mjs} +2 -2
  30. package/out/__chunks__/chunk-HUKNZQWM.mjs +2 -0
  31. package/out/__chunks__/{chunk-K7A2WIFY.mjs → chunk-I4X3MUEG.mjs} +2 -2
  32. package/out/__chunks__/chunk-IIGV3WGH.mjs +2 -0
  33. package/out/__chunks__/{chunk-2FJMU6JT.mjs → chunk-IOAFE53I.mjs} +2 -2
  34. package/out/__chunks__/chunk-IQSRNUGI.mjs +2 -0
  35. package/out/__chunks__/{chunk-CC7AVJJE.mjs → chunk-IVIMZBL3.mjs} +2 -2
  36. package/out/__chunks__/{chunk-NOSCTAHA.mjs → chunk-JL3RLYAR.mjs} +2 -2
  37. package/out/__chunks__/{chunk-JMVSZCEJ.mjs → chunk-JYHSZ26T.mjs} +2 -2
  38. package/out/__chunks__/{chunk-JXZNKTQD.mjs → chunk-K3XKXXVY.mjs} +2 -2
  39. package/out/__chunks__/{chunk-BY5PRWXE.mjs → chunk-KD2DREQH.mjs} +2 -2
  40. package/out/__chunks__/{chunk-2VMUFNMX.mjs → chunk-KGYBKVR3.mjs} +2 -2
  41. package/out/__chunks__/{chunk-IMCTSHZ3.mjs → chunk-KUYGZRX5.mjs} +2 -2
  42. package/out/__chunks__/{chunk-CWZGACL2.mjs → chunk-L77W75SG.mjs} +2 -2
  43. package/out/__chunks__/{chunk-36H647WW.mjs → chunk-LE4PGU3R.mjs} +2 -2
  44. package/out/__chunks__/{chunk-35J6CQWK.mjs → chunk-LR5LMK7M.mjs} +2 -2
  45. package/out/__chunks__/{chunk-PZBHKR5U.mjs → chunk-M6GCNWI7.mjs} +2 -2
  46. package/out/__chunks__/{chunk-7LCYFHXY.mjs → chunk-MJQ6VPEP.mjs} +2 -2
  47. package/out/__chunks__/{chunk-C54QJLN3.mjs → chunk-MO574AMT.mjs} +2 -2
  48. package/out/__chunks__/{chunk-JMQAWP2A.mjs → chunk-OAIHKC7S.mjs} +2 -2
  49. package/out/__chunks__/{chunk-QJNE7H3S.mjs → chunk-OKMJPNMX.mjs} +2 -2
  50. package/out/__chunks__/{chunk-4JQJOGX3.mjs → chunk-OPBOGE6P.mjs} +2 -2
  51. package/out/__chunks__/{chunk-SNJZ6KNA.mjs → chunk-OWT7X3WX.mjs} +2 -2
  52. package/out/__chunks__/{chunk-KIMKIACD.mjs → chunk-PLVWSVIH.mjs} +2 -2
  53. package/out/__chunks__/{chunk-N4BY3A6V.mjs → chunk-PSBUVISO.mjs} +2 -2
  54. package/out/__chunks__/chunk-PYA4FNSG.mjs +2 -0
  55. package/out/__chunks__/{chunk-D2OWJGPT.mjs → chunk-QFA5L2H2.mjs} +2 -2
  56. package/out/__chunks__/{chunk-MPJD3UPQ.mjs → chunk-QRHZMPWE.mjs} +2 -2
  57. package/out/__chunks__/{chunk-BZXWSLY4.mjs → chunk-RFQXJRMS.mjs} +2 -2
  58. package/out/__chunks__/{chunk-GGTCBFGO.mjs → chunk-RIVS6HJ6.mjs} +2 -2
  59. package/out/__chunks__/{chunk-J3VN77UR.mjs → chunk-SW5MQMBX.mjs} +2 -2
  60. package/out/__chunks__/{chunk-P7JHVK7R.mjs → chunk-TD7DMFGX.mjs} +2 -2
  61. package/out/__chunks__/{chunk-EBCOUXQJ.mjs → chunk-UIMGXUAR.mjs} +2 -2
  62. package/out/__chunks__/{chunk-CSJ2ZPSM.mjs → chunk-USPDSDTM.mjs} +2 -2
  63. package/out/__chunks__/chunk-UYAU6WUT.mjs +2 -0
  64. package/out/__chunks__/chunk-V34ACW7K.mjs +2 -0
  65. package/out/__chunks__/chunk-VJ6JOIYZ.mjs +2 -0
  66. package/out/__chunks__/chunk-VOCTKXHT.mjs +2 -0
  67. package/out/__chunks__/{chunk-JDWI44AR.mjs → chunk-VQH3HUNE.mjs} +2 -2
  68. package/out/__chunks__/{chunk-GSOOKRYL.mjs → chunk-WCENKLIK.mjs} +2 -2
  69. package/out/__chunks__/chunk-WTNH3ZF5.mjs +2 -0
  70. package/out/__chunks__/{chunk-2FA2VSIL.mjs.map → chunk-WTNH3ZF5.mjs.map} +1 -1
  71. package/out/__chunks__/chunk-X4E5DX5G.mjs +2 -0
  72. package/out/__chunks__/{chunk-MWKZT7BL.mjs → chunk-XHNCG7X2.mjs} +2 -2
  73. package/out/__chunks__/{chunk-VM6MDBT7.mjs → chunk-XM6YSGYU.mjs} +2 -2
  74. package/out/__chunks__/{chunk-FVWPUUST.mjs → chunk-XQYCJNJJ.mjs} +2 -2
  75. package/out/__chunks__/{chunk-UCWXFSUC.mjs → chunk-XSVEDMAO.mjs} +2 -2
  76. package/out/__chunks__/{chunk-4NFQOHJB.mjs → chunk-XVCV7RBO.mjs} +2 -2
  77. package/out/__chunks__/{chunk-6IUB2VJE.mjs → chunk-XWNIFFEU.mjs} +2 -2
  78. package/out/__chunks__/{chunk-NHDCY4TW.mjs → chunk-Y35Y44IS.mjs} +2 -2
  79. package/out/__chunks__/{chunk-VOKC2G5A.mjs → chunk-YA65N5RU.mjs} +2 -2
  80. package/out/__chunks__/chunk-YCRNNRMV.mjs +2 -0
  81. package/out/__chunks__/chunk-Z4UTQKBX.mjs +2 -0
  82. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  83. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  84. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  85. package/out/apiCalls/index.mjs +1 -1
  86. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  87. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  88. package/out/apiCalls/tokens/index.mjs +1 -1
  89. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  90. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  91. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  92. package/out/constants/browser.constants.mjs +1 -1
  93. package/out/constants/index.mjs +1 -1
  94. package/out/constants/storage.constants.mjs +1 -1
  95. package/out/constants/window.constants.cjs +1 -1
  96. package/out/constants/window.constants.cjs.map +1 -1
  97. package/out/constants/window.constants.mjs +1 -1
  98. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  99. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  100. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  101. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  102. package/out/index.mjs +1 -1
  103. package/out/lib/sdkDappUi.mjs +1 -1
  104. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  105. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  106. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  107. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  108. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  109. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  110. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  111. package/out/managers/ToastManager/index.mjs +1 -1
  112. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  113. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  114. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  115. package/out/managers/TransactionManager/index.mjs +1 -1
  116. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  117. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  118. package/out/managers/index.mjs +1 -1
  119. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  120. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  121. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  122. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  123. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  124. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  125. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  126. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  127. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  128. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  129. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  130. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  131. package/out/managers/internal/index.mjs +1 -1
  132. package/out/methods/account/getAccount.mjs +1 -1
  133. package/out/methods/account/getAccountInfo.mjs +1 -1
  134. package/out/methods/account/getAddress.mjs +1 -1
  135. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  136. package/out/methods/account/getLatestNonce.mjs +1 -1
  137. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  138. package/out/methods/initApp/initApp.mjs +1 -1
  139. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  140. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  141. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  142. package/out/methods/network/getEgldLabel.mjs +1 -1
  143. package/out/methods/network/getExplorerAddress.mjs +1 -1
  144. package/out/methods/network/getNetworkConfig.mjs +1 -1
  145. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  146. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  147. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  148. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  149. package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +1 -1
  150. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  151. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  152. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  153. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  154. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  155. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  156. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  157. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  158. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  159. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  160. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  161. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  162. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  163. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  164. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  165. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  166. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  167. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  168. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  169. package/out/providers/DappProvider/index.mjs +1 -1
  170. package/out/providers/ProviderFactory.mjs +1 -1
  171. package/out/providers/helpers/accountProvider.mjs +1 -1
  172. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  173. package/out/providers/helpers/restoreProvider.mjs +1 -1
  174. package/out/providers/index.mjs +1 -1
  175. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  176. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  177. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  178. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  179. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  180. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  181. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  182. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  183. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  184. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  185. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  186. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  187. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  188. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  189. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  190. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  191. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  192. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  193. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  194. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  195. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  196. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  197. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  198. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  199. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  200. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  201. package/out/providers/strategies/helpers/index.mjs +1 -1
  202. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  203. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  204. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  205. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  206. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  207. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  208. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  209. package/out/providers/strategies/index.mjs +1 -1
  210. package/out/react/account/useGetAccount.mjs +1 -1
  211. package/out/react/account/useGetAccountInfo.mjs +1 -1
  212. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  213. package/out/react/account/useGetLatestNonce.mjs +1 -1
  214. package/out/react/index.mjs +1 -1
  215. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  216. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  217. package/out/react/store/getReactStore.mjs +1 -1
  218. package/out/react/store/useSelector.mjs +1 -1
  219. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  220. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  221. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  222. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  223. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  224. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  225. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  226. package/out/services/index.mjs +1 -1
  227. package/out/services/nativeAuth/index.mjs +1 -1
  228. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  229. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  230. package/out/services/nativeAuth/methods/index.mjs +1 -1
  231. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  232. package/out/store/actions/account/accountActions.mjs +1 -1
  233. package/out/store/actions/account/index.mjs +1 -1
  234. package/out/store/actions/cache/cacheActions.mjs +1 -1
  235. package/out/store/actions/cache/index.mjs +1 -1
  236. package/out/store/actions/config/configActions.mjs +1 -1
  237. package/out/store/actions/config/index.mjs +1 -1
  238. package/out/store/actions/index.mjs +1 -1
  239. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  240. package/out/store/actions/network/index.mjs +1 -1
  241. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  242. package/out/store/actions/network/networkActions.mjs +1 -1
  243. package/out/store/actions/sharedActions/index.mjs +1 -1
  244. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  245. package/out/store/actions/toasts/index.mjs +1 -1
  246. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  247. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  248. package/out/store/actions/ui/index.mjs +1 -1
  249. package/out/store/actions/ui/uiActions.mjs +1 -1
  250. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  251. package/out/store/middleware/index.mjs +1 -1
  252. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  253. package/out/store/storage/index.mjs +1 -1
  254. package/out/store/storage/storageCallback.mjs +1 -1
  255. package/out/store/store.mjs +1 -1
  256. package/out/utils/ComponentFactory.mjs +1 -1
  257. package/out/utils/account/index.mjs +1 -1
  258. package/out/utils/account/refreshAccount.mjs +1 -1
  259. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  260. package/out/utils/index.mjs +1 -1
  261. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  262. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  263. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  264. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  265. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  266. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  267. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  268. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  269. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  270. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  271. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  272. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  273. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  274. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  275. package/out/utils/transactions/index.mjs +1 -1
  276. package/out/utils/visual/index.mjs +1 -1
  277. package/out/utils/visual/switchTheme.mjs +1 -1
  278. package/out/utils/window/getIsInIframe.mjs +1 -1
  279. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  280. package/out/utils/window/index.mjs +1 -1
  281. package/package.json +2 -2
  282. package/out/__chunks__/chunk-2FA2VSIL.mjs +0 -2
  283. package/out/__chunks__/chunk-7TKH6H7B.mjs +0 -2
  284. package/out/__chunks__/chunk-AETYCRSD.mjs +0 -2
  285. package/out/__chunks__/chunk-BAN77GZH.mjs +0 -2
  286. package/out/__chunks__/chunk-CTQ7LOUJ.mjs +0 -2
  287. package/out/__chunks__/chunk-GLBPOFS4.mjs +0 -2
  288. package/out/__chunks__/chunk-JNF2WNVQ.mjs +0 -2
  289. package/out/__chunks__/chunk-JNJEFJLG.mjs +0 -2
  290. package/out/__chunks__/chunk-K4D34YGX.mjs +0 -2
  291. package/out/__chunks__/chunk-KUX63OMO.mjs +0 -2
  292. package/out/__chunks__/chunk-MGEPZOGU.mjs +0 -2
  293. package/out/__chunks__/chunk-ODRQYRPV.mjs +0 -2
  294. package/out/__chunks__/chunk-RES4BXBE.mjs +0 -2
  295. package/out/__chunks__/chunk-UVJWRU3H.mjs +0 -2
  296. package/out/__chunks__/chunk-YDSNQ7O5.mjs +0 -2
  297. package/out/__chunks__/chunk-YI2JUPHR.mjs +0 -2
  298. package/out/__chunks__/chunk-YRVXOPCA.mjs +0 -2
  299. package/out/__chunks__/chunk-YUHQQNRS.mjs +0 -2
  300. /package/out/__chunks__/{chunk-HT5WRDXC.mjs.map → chunk-2GLDWT4B.mjs.map} +0 -0
  301. /package/out/__chunks__/{chunk-7TKH6H7B.mjs.map → chunk-2VKH6PVD.mjs.map} +0 -0
  302. /package/out/__chunks__/{chunk-H3BL4VM5.mjs.map → chunk-3AM6IIKL.mjs.map} +0 -0
  303. /package/out/__chunks__/{chunk-6JZSN2DY.mjs.map → chunk-3E7GMJ7S.mjs.map} +0 -0
  304. /package/out/__chunks__/{chunk-EBTTOSHF.mjs.map → chunk-53S7ZWAH.mjs.map} +0 -0
  305. /package/out/__chunks__/{chunk-3WPEA75B.mjs.map → chunk-5HG4I6E4.mjs.map} +0 -0
  306. /package/out/__chunks__/{chunk-JNF2WNVQ.mjs.map → chunk-5TZDBT33.mjs.map} +0 -0
  307. /package/out/__chunks__/{chunk-S5M3W7ZR.mjs.map → chunk-6PEHFWTT.mjs.map} +0 -0
  308. /package/out/__chunks__/{chunk-HOBNVAOB.mjs.map → chunk-7NNMFFHI.mjs.map} +0 -0
  309. /package/out/__chunks__/{chunk-RES4BXBE.mjs.map → chunk-7PTSMKMZ.mjs.map} +0 -0
  310. /package/out/__chunks__/{chunk-LSEZH4P6.mjs.map → chunk-A3UPWVXW.mjs.map} +0 -0
  311. /package/out/__chunks__/{chunk-YFIAKX5S.mjs.map → chunk-ANKD2C6B.mjs.map} +0 -0
  312. /package/out/__chunks__/{chunk-CXS3EVQG.mjs.map → chunk-AQFEJ73K.mjs.map} +0 -0
  313. /package/out/__chunks__/{chunk-MGEPZOGU.mjs.map → chunk-BRJ6NMRW.mjs.map} +0 -0
  314. /package/out/__chunks__/{chunk-YI2JUPHR.mjs.map → chunk-BYZPMZZS.mjs.map} +0 -0
  315. /package/out/__chunks__/{chunk-EEWPENKM.mjs.map → chunk-C3MV4DC2.mjs.map} +0 -0
  316. /package/out/__chunks__/{chunk-J5WUQE3J.mjs.map → chunk-CM76HFF3.mjs.map} +0 -0
  317. /package/out/__chunks__/{chunk-PRMKM6DW.mjs.map → chunk-CSHDEYWB.mjs.map} +0 -0
  318. /package/out/__chunks__/{chunk-YYBPMJO2.mjs.map → chunk-D2HBK3TS.mjs.map} +0 -0
  319. /package/out/__chunks__/{chunk-IRULUA7A.mjs.map → chunk-D5MAPHRK.mjs.map} +0 -0
  320. /package/out/__chunks__/{chunk-K7DSLRNG.mjs.map → chunk-EA57OVAS.mjs.map} +0 -0
  321. /package/out/__chunks__/{chunk-MVEQXX6B.mjs.map → chunk-EEM4GSQH.mjs.map} +0 -0
  322. /package/out/__chunks__/{chunk-PF4ZP4KB.mjs.map → chunk-ES6J6GSR.mjs.map} +0 -0
  323. /package/out/__chunks__/{chunk-RV3QLH3M.mjs.map → chunk-FCNBXWBC.mjs.map} +0 -0
  324. /package/out/__chunks__/{chunk-UVJWRU3H.mjs.map → chunk-FGFCIIYV.mjs.map} +0 -0
  325. /package/out/__chunks__/{chunk-MQB7SEFO.mjs.map → chunk-FINV2KVP.mjs.map} +0 -0
  326. /package/out/__chunks__/{chunk-TLNZ26DM.mjs.map → chunk-GFIRL35A.mjs.map} +0 -0
  327. /package/out/__chunks__/{chunk-FMF4SRBX.mjs.map → chunk-GZFPCYQ3.mjs.map} +0 -0
  328. /package/out/__chunks__/{chunk-3AS72TW6.mjs.map → chunk-HIDKYPJS.mjs.map} +0 -0
  329. /package/out/__chunks__/{chunk-CTQ7LOUJ.mjs.map → chunk-HUKNZQWM.mjs.map} +0 -0
  330. /package/out/__chunks__/{chunk-K7A2WIFY.mjs.map → chunk-I4X3MUEG.mjs.map} +0 -0
  331. /package/out/__chunks__/{chunk-YUHQQNRS.mjs.map → chunk-IIGV3WGH.mjs.map} +0 -0
  332. /package/out/__chunks__/{chunk-2FJMU6JT.mjs.map → chunk-IOAFE53I.mjs.map} +0 -0
  333. /package/out/__chunks__/{chunk-K4D34YGX.mjs.map → chunk-IQSRNUGI.mjs.map} +0 -0
  334. /package/out/__chunks__/{chunk-CC7AVJJE.mjs.map → chunk-IVIMZBL3.mjs.map} +0 -0
  335. /package/out/__chunks__/{chunk-NOSCTAHA.mjs.map → chunk-JL3RLYAR.mjs.map} +0 -0
  336. /package/out/__chunks__/{chunk-JMVSZCEJ.mjs.map → chunk-JYHSZ26T.mjs.map} +0 -0
  337. /package/out/__chunks__/{chunk-JXZNKTQD.mjs.map → chunk-K3XKXXVY.mjs.map} +0 -0
  338. /package/out/__chunks__/{chunk-BY5PRWXE.mjs.map → chunk-KD2DREQH.mjs.map} +0 -0
  339. /package/out/__chunks__/{chunk-2VMUFNMX.mjs.map → chunk-KGYBKVR3.mjs.map} +0 -0
  340. /package/out/__chunks__/{chunk-IMCTSHZ3.mjs.map → chunk-KUYGZRX5.mjs.map} +0 -0
  341. /package/out/__chunks__/{chunk-CWZGACL2.mjs.map → chunk-L77W75SG.mjs.map} +0 -0
  342. /package/out/__chunks__/{chunk-36H647WW.mjs.map → chunk-LE4PGU3R.mjs.map} +0 -0
  343. /package/out/__chunks__/{chunk-35J6CQWK.mjs.map → chunk-LR5LMK7M.mjs.map} +0 -0
  344. /package/out/__chunks__/{chunk-PZBHKR5U.mjs.map → chunk-M6GCNWI7.mjs.map} +0 -0
  345. /package/out/__chunks__/{chunk-7LCYFHXY.mjs.map → chunk-MJQ6VPEP.mjs.map} +0 -0
  346. /package/out/__chunks__/{chunk-C54QJLN3.mjs.map → chunk-MO574AMT.mjs.map} +0 -0
  347. /package/out/__chunks__/{chunk-JMQAWP2A.mjs.map → chunk-OAIHKC7S.mjs.map} +0 -0
  348. /package/out/__chunks__/{chunk-QJNE7H3S.mjs.map → chunk-OKMJPNMX.mjs.map} +0 -0
  349. /package/out/__chunks__/{chunk-4JQJOGX3.mjs.map → chunk-OPBOGE6P.mjs.map} +0 -0
  350. /package/out/__chunks__/{chunk-SNJZ6KNA.mjs.map → chunk-OWT7X3WX.mjs.map} +0 -0
  351. /package/out/__chunks__/{chunk-KIMKIACD.mjs.map → chunk-PLVWSVIH.mjs.map} +0 -0
  352. /package/out/__chunks__/{chunk-N4BY3A6V.mjs.map → chunk-PSBUVISO.mjs.map} +0 -0
  353. /package/out/__chunks__/{chunk-JNJEFJLG.mjs.map → chunk-PYA4FNSG.mjs.map} +0 -0
  354. /package/out/__chunks__/{chunk-D2OWJGPT.mjs.map → chunk-QFA5L2H2.mjs.map} +0 -0
  355. /package/out/__chunks__/{chunk-MPJD3UPQ.mjs.map → chunk-QRHZMPWE.mjs.map} +0 -0
  356. /package/out/__chunks__/{chunk-BZXWSLY4.mjs.map → chunk-RFQXJRMS.mjs.map} +0 -0
  357. /package/out/__chunks__/{chunk-GGTCBFGO.mjs.map → chunk-RIVS6HJ6.mjs.map} +0 -0
  358. /package/out/__chunks__/{chunk-J3VN77UR.mjs.map → chunk-SW5MQMBX.mjs.map} +0 -0
  359. /package/out/__chunks__/{chunk-P7JHVK7R.mjs.map → chunk-TD7DMFGX.mjs.map} +0 -0
  360. /package/out/__chunks__/{chunk-EBCOUXQJ.mjs.map → chunk-UIMGXUAR.mjs.map} +0 -0
  361. /package/out/__chunks__/{chunk-CSJ2ZPSM.mjs.map → chunk-USPDSDTM.mjs.map} +0 -0
  362. /package/out/__chunks__/{chunk-YDSNQ7O5.mjs.map → chunk-UYAU6WUT.mjs.map} +0 -0
  363. /package/out/__chunks__/{chunk-KUX63OMO.mjs.map → chunk-V34ACW7K.mjs.map} +0 -0
  364. /package/out/__chunks__/{chunk-ODRQYRPV.mjs.map → chunk-VJ6JOIYZ.mjs.map} +0 -0
  365. /package/out/__chunks__/{chunk-GLBPOFS4.mjs.map → chunk-VOCTKXHT.mjs.map} +0 -0
  366. /package/out/__chunks__/{chunk-JDWI44AR.mjs.map → chunk-VQH3HUNE.mjs.map} +0 -0
  367. /package/out/__chunks__/{chunk-GSOOKRYL.mjs.map → chunk-WCENKLIK.mjs.map} +0 -0
  368. /package/out/__chunks__/{chunk-YRVXOPCA.mjs.map → chunk-X4E5DX5G.mjs.map} +0 -0
  369. /package/out/__chunks__/{chunk-MWKZT7BL.mjs.map → chunk-XHNCG7X2.mjs.map} +0 -0
  370. /package/out/__chunks__/{chunk-VM6MDBT7.mjs.map → chunk-XM6YSGYU.mjs.map} +0 -0
  371. /package/out/__chunks__/{chunk-FVWPUUST.mjs.map → chunk-XQYCJNJJ.mjs.map} +0 -0
  372. /package/out/__chunks__/{chunk-UCWXFSUC.mjs.map → chunk-XSVEDMAO.mjs.map} +0 -0
  373. /package/out/__chunks__/{chunk-4NFQOHJB.mjs.map → chunk-XVCV7RBO.mjs.map} +0 -0
  374. /package/out/__chunks__/{chunk-6IUB2VJE.mjs.map → chunk-XWNIFFEU.mjs.map} +0 -0
  375. /package/out/__chunks__/{chunk-NHDCY4TW.mjs.map → chunk-Y35Y44IS.mjs.map} +0 -0
  376. /package/out/__chunks__/{chunk-VOKC2G5A.mjs.map → chunk-YA65N5RU.mjs.map} +0 -0
  377. /package/out/__chunks__/{chunk-BAN77GZH.mjs.map → chunk-YCRNNRMV.mjs.map} +0 -0
  378. /package/out/__chunks__/{chunk-AETYCRSD.mjs.map → chunk-Z4UTQKBX.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk-2FJMU6JT.mjs";import{a as u}from"./chunk-EAXWH64Z.mjs";import{a as i}from"./chunk-W5MTQBQF.mjs";import{a as T}from"./chunk-JSSRK6RP.mjs";import{a as m}from"./chunk-U3UMCTU6.mjs";import{a as k}from"./chunk-BRJNX4JF.mjs";import{c as l}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-7CELSV4S.mjs";var g=class{static async processTransactions({address:v,egldLabel:L,explorerAddress:a,transactions:h}){let f=h.map(e=>T({address:v,explorerAddress:a,transaction:e}));return await Promise.all(f.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),c=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:D,receiverLockedAccount:x}=await p({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=u({transaction:e}),y=r?.token.type==="MetaESDT"?void 0:r?.badgeText,d=m.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??l,digits:2}),S={badge:y??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?L:"",link:k({explorerAddress:a,to:n?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:n?.tokenLinkText??r?.tokenLinkText,name:n?.token.name??r?.token.name,showFormattedAmount:!!(t||n?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:n?.token.svgUrl??r?.token.svgUrl,ticker:n?.token.ticker??r?.token.ticker,titleText:n?.titleText??r?.titleText,valueDecimal:d.valueDecimal,valueInteger:d.valueInteger},w=i(e.receiverShard),A=i(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:s??"",description:`${s??e.receiver} (${e.receiver})`,isContract:o(e.receiver),isTokenLocked:!!x,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:c??"",description:`${c??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!D,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:S}}))}};export{g as a};
2
- //# sourceMappingURL=chunk-N4BY3A6V.mjs.map
1
+ import{a as p}from"./chunk-IOAFE53I.mjs";import{a as u}from"./chunk-EAXWH64Z.mjs";import{a as i}from"./chunk-W5MTQBQF.mjs";import{a as T}from"./chunk-JSSRK6RP.mjs";import{a as m}from"./chunk-U3UMCTU6.mjs";import{a as k}from"./chunk-BRJNX4JF.mjs";import{c as l}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-7CELSV4S.mjs";var g=class{static async processTransactions({address:v,egldLabel:L,explorerAddress:a,transactions:h}){let f=h.map(e=>T({address:v,explorerAddress:a,transaction:e}));return await Promise.all(f.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),c=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:D,receiverLockedAccount:x}=await p({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=u({transaction:e}),y=r?.token.type==="MetaESDT"?void 0:r?.badgeText,d=m.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??l,digits:2}),S={badge:y??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?L:"",link:k({explorerAddress:a,to:n?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:n?.tokenLinkText??r?.tokenLinkText,name:n?.token.name??r?.token.name,showFormattedAmount:!!(t||n?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:n?.token.svgUrl??r?.token.svgUrl,ticker:n?.token.ticker??r?.token.ticker,titleText:n?.titleText??r?.titleText,valueDecimal:d.valueDecimal,valueInteger:d.valueInteger},w=i(e.receiverShard),A=i(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:s??"",description:`${s??e.receiver} (${e.receiver})`,isContract:o(e.receiver),isTokenLocked:!!x,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:c??"",description:`${c??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!D,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:S}}))}};export{g as a};
2
+ //# sourceMappingURL=chunk-PSBUVISO.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as i}from"./chunk-GFIRL35A.mjs";import{a as e}from"./chunk-KDWLSBQB.mjs";import{b as o}from"./chunk-FCNBXWBC.mjs";import{j as r}from"./chunk-E2GGD7D4.mjs";import{q as a}from"./chunk-XVCV7RBO.mjs";async function M({results:u,hash:c,sessionId:s}){let n=u?.find(t=>t?.returnMessage!=="");i({sessionId:s,transaction:{...n,hash:c,status:"fail",inTransit:!1}});let{transactions:m}=a().getState();m[s].transactions.some(t=>r(t.status))||(o({sessionId:s,status:"fail",errorMessage:n?.returnMessage}),await e({sessionId:s,status:"fail"}))}export{M as a};
2
+ //# sourceMappingURL=chunk-PYA4FNSG.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-PRMKM6DW.mjs";async function i(a){let n=e.getInstance();return await n.openUI(),{manager:n,onClose:async({shouldCancelAction:t=!0}={})=>{n.closeUI(),t&&a?.cancelAction&&await a.cancelAction()}}}export{i as a};
2
- //# sourceMappingURL=chunk-D2OWJGPT.mjs.map
1
+ import{a as e}from"./chunk-CSHDEYWB.mjs";async function i(a){let n=e.getInstance();return await n.openUI(),{manager:n,onClose:async({shouldCancelAction:t=!0}={})=>{n.closeUI(),t&&a?.cancelAction&&await a.cancelAction()}}}export{i as a};
2
+ //# sourceMappingURL=chunk-QFA5L2H2.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-3S57OP4Z.mjs";import{a as l}from"./chunk-QTKK6OSJ.mjs";import{a as h}from"./chunk-S5M3W7ZR.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var H=f=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=h(f),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:p,timestamp:c}=n,m=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${p}.${r}.${m}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:l}};export{H as a};
2
- //# sourceMappingURL=chunk-MPJD3UPQ.mjs.map
1
+ import{a as g}from"./chunk-3S57OP4Z.mjs";import{a as l}from"./chunk-QTKK6OSJ.mjs";import{a as h}from"./chunk-6PEHFWTT.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var H=f=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=h(f),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:p,timestamp:c}=n,m=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${p}.${r}.${m}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:l}};export{H as a};
2
+ //# sourceMappingURL=chunk-QRHZMPWE.mjs.map
@@ -1,2 +1,2 @@
1
- import{s as e}from"./chunk-4NFQOHJB.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";import{a as i}from"./chunk-CKTFPRJS.mjs";var n="https://api.multiversx.com",s=60*60*24,a=5*60,d=t=>{let r=o(e());return{origin:t?.origin||i().origin,apiAddress:t?.apiAddress||r.apiAddress||n,expirySeconds:t?.expirySeconds||s,tokenExpirationToastWarningSeconds:t?.tokenExpirationToastWarningSeconds||a}};export{d as a};
2
- //# sourceMappingURL=chunk-BZXWSLY4.mjs.map
1
+ import{s as e}from"./chunk-XVCV7RBO.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";import{a as i}from"./chunk-CKTFPRJS.mjs";var n="https://api.multiversx.com",s=60*60*24,a=5*60,d=t=>{let r=o(e());return{origin:t?.origin||i().origin,apiAddress:t?.apiAddress||r.apiAddress||n,expirySeconds:t?.expirySeconds||s,tokenExpirationToastWarningSeconds:t?.tokenExpirationToastWarningSeconds||a}};export{d as a};
2
+ //# sourceMappingURL=chunk-RFQXJRMS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-H3BL4VM5.mjs";var c=class n extends i{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-ledger-connect"});this.addressesPerPage=10;this.allAccounts=[];this.initialConnectScreenData={};this.connectScreenData={...this.initialConnectScreenData};this.initialAccountScreenData={accounts:this.allAccounts,startIndex:0,addressesPerPage:this.addressesPerPage,isLoading:!0};this.accountScreenData={...this.initialAccountScreenData};this.initialConfirmScreenData={selectedAddress:"",explorerLink:""};this.confirmScreenData={...this.initialConfirmScreenData};this.initialData={connectScreenData:this.initialConnectScreenData,accountScreenData:this.initialAccountScreenData,confirmScreenData:this.initialConfirmScreenData};this.data=this.getInitialData()}static getInstance(){return n.instance||(n.instance=new n),n.instance}updateAllAccounts(e){this.allAccounts=e,this.accountScreenData.accounts=e}updateStartIndex(e){this.accountScreenData.startIndex=e}updateConnectScreen(e){this.connectScreenData={...this.connectScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=null,this.data.connectScreenData=this.connectScreenData,this.notifyDataUpdate()}updateAccountScreen(e){this.accountScreenData={...this.accountScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=this.accountScreenData,this.notifyDataUpdate()}updateConfirmScreen(e){this.confirmScreenData={...this.confirmScreenData,...e},this.data.accountScreenData=null,this.data.confirmScreenData=this.confirmScreenData,this.notifyDataUpdate()}getAccountScreenData(){return this.data.accountScreenData}getConfirmScreenData(){return this.data.confirmScreenData}getAllAccounts(){return this.allAccounts}subscribeToProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.subscribe("CONNECT_DEVICE",e),this.eventBus.subscribe("CLOSE",t),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}unsubscribeFromProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.unsubscribe("CONNECT_DEVICE",e),this.eventBus.unsubscribe("CLOSE",t),this.eventBus.unsubscribe("UI_DISCONNECTED",this.destroy.bind(this)))}subscribeToAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.subscribe("CLOSE",e),this.eventBus.subscribe("ACCESS_WALLET",t),this.eventBus.subscribe("GO_TO_PAGE",a))}unsubscribeFromAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.unsubscribe("CLOSE",e),this.eventBus.unsubscribe("ACCESS_WALLET",t),this.eventBus.unsubscribe("GO_TO_PAGE",a))}handleClose(){this.anchor?this.anchor?.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy()}resetData(){this.accountScreenData={...this.initialAccountScreenData},this.confirmScreenData={...this.initialConfirmScreenData},this.connectScreenData={...this.initialConnectScreenData},super.resetData()}async setupEventListeners(){this.eventBus&&this.eventBus.subscribe("CLOSE",this.handleClose.bind(this))}};export{c as a};
2
- //# sourceMappingURL=chunk-GGTCBFGO.mjs.map
1
+ import{a as i}from"./chunk-3AM6IIKL.mjs";var c=class n extends i{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-ledger-connect"});this.addressesPerPage=10;this.allAccounts=[];this.initialConnectScreenData={};this.connectScreenData={...this.initialConnectScreenData};this.initialAccountScreenData={accounts:this.allAccounts,startIndex:0,addressesPerPage:this.addressesPerPage,isLoading:!0};this.accountScreenData={...this.initialAccountScreenData};this.initialConfirmScreenData={selectedAddress:"",explorerLink:""};this.confirmScreenData={...this.initialConfirmScreenData};this.initialData={connectScreenData:this.initialConnectScreenData,accountScreenData:this.initialAccountScreenData,confirmScreenData:this.initialConfirmScreenData};this.data=this.getInitialData()}static getInstance(){return n.instance||(n.instance=new n),n.instance}updateAllAccounts(e){this.allAccounts=e,this.accountScreenData.accounts=e}updateStartIndex(e){this.accountScreenData.startIndex=e}updateConnectScreen(e){this.connectScreenData={...this.connectScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=null,this.data.connectScreenData=this.connectScreenData,this.notifyDataUpdate()}updateAccountScreen(e){this.accountScreenData={...this.accountScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=this.accountScreenData,this.notifyDataUpdate()}updateConfirmScreen(e){this.confirmScreenData={...this.confirmScreenData,...e},this.data.accountScreenData=null,this.data.confirmScreenData=this.confirmScreenData,this.notifyDataUpdate()}getAccountScreenData(){return this.data.accountScreenData}getConfirmScreenData(){return this.data.confirmScreenData}getAllAccounts(){return this.allAccounts}subscribeToProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.subscribe("CONNECT_DEVICE",e),this.eventBus.subscribe("CLOSE",t),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}unsubscribeFromProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.unsubscribe("CONNECT_DEVICE",e),this.eventBus.unsubscribe("CLOSE",t),this.eventBus.unsubscribe("UI_DISCONNECTED",this.destroy.bind(this)))}subscribeToAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.subscribe("CLOSE",e),this.eventBus.subscribe("ACCESS_WALLET",t),this.eventBus.subscribe("GO_TO_PAGE",a))}unsubscribeFromAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.unsubscribe("CLOSE",e),this.eventBus.unsubscribe("ACCESS_WALLET",t),this.eventBus.unsubscribe("GO_TO_PAGE",a))}handleClose(){this.anchor?this.anchor?.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy()}resetData(){this.accountScreenData={...this.initialAccountScreenData},this.confirmScreenData={...this.initialConfirmScreenData},this.connectScreenData={...this.initialConnectScreenData},super.resetData()}async setupEventListeners(){this.eventBus&&this.eventBus.subscribe("CLOSE",this.handleClose.bind(this))}};export{c as a};
2
+ //# sourceMappingURL=chunk-RIVS6HJ6.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-4NFQOHJB.mjs";var C=t=>o().setState(({config:e})=>{e.nativeAuthConfig=t},!1,{type:"setNativeAuthConfig",payload:{value:t}}),c=t=>o().setState(({config:e})=>{e.websocketStatus=t},!1,{type:"setWebsocketStatus",payload:{value:t}}),f=t=>o().setState(({config:e})=>{let a=t.walletConnectV2RelayAddress||n.walletConnectV2RelayAddress,l=t.walletConnectDeepLink||n.walletConnectDeepLink;e.walletConnectConfig={...t,walletConnectDeepLink:l,walletConnectV2RelayAddress:a}},!1,{type:"setWalletConnectConfig",payload:{value:t}});export{C as a,c as b,f as c};
2
- //# sourceMappingURL=chunk-J3VN77UR.mjs.map
1
+ import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-XVCV7RBO.mjs";var C=t=>o().setState(({config:e})=>{e.nativeAuthConfig=t},!1,{type:"setNativeAuthConfig",payload:{value:t}}),c=t=>o().setState(({config:e})=>{e.websocketStatus=t},!1,{type:"setWebsocketStatus",payload:{value:t}}),f=t=>o().setState(({config:e})=>{let a=t.walletConnectV2RelayAddress||n.walletConnectV2RelayAddress,l=t.walletConnectDeepLink||n.walletConnectDeepLink;e.walletConnectConfig={...t,walletConnectDeepLink:l,walletConnectV2RelayAddress:a}},!1,{type:"setWalletConnectConfig",payload:{value:t}});export{C as a,c as b,f as c};
2
+ //# sourceMappingURL=chunk-SW5MQMBX.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as wt}from"./chunk-HOBNVAOB.mjs";import{a as vt}from"./chunk-JNF2WNVQ.mjs";import{a as O}from"./chunk-K7A2WIFY.mjs";import{a as Ct}from"./chunk-6UZHM5LW.mjs";import{a as xt}from"./chunk-7LCYFHXY.mjs";import{a as Et}from"./chunk-KUX63OMO.mjs";import{a as Nt}from"./chunk-RES4BXBE.mjs";import{a as At}from"./chunk-JNJEFJLG.mjs";import{a as q}from"./chunk-TLNZ26DM.mjs";import{a as S}from"./chunk-KDWLSBQB.mjs";import{a as Lt}from"./chunk-VRLS225Q.mjs";import{a as Bt}from"./chunk-4ODPAHHA.mjs";import{a as kt}from"./chunk-SNJZ6KNA.mjs";import{b as k}from"./chunk-C54QJLN3.mjs";import{a as Ft}from"./chunk-GLBPOFS4.mjs";import{a as Pt}from"./chunk-MDVI45IV.mjs";import{a as Mt}from"./chunk-LSEZH4P6.mjs";import{a as b}from"./chunk-7TKH6H7B.mjs";import{a as mt}from"./chunk-YDSNQ7O5.mjs";import{a as St}from"./chunk-IMCTSHZ3.mjs";import{a as N}from"./chunk-35J6CQWK.mjs";import{a as F,f as It}from"./chunk-EBTTOSHF.mjs";import{b as h,d as yt}from"./chunk-RV3QLH3M.mjs";import{k as ft,l as x,n as ht}from"./chunk-E2GGD7D4.mjs";import{b as Ot}from"./chunk-J5WUQE3J.mjs";import{a as M}from"./chunk-HORSXVIV.mjs";import{a as Rt}from"./chunk-AETYCRSD.mjs";import{a as ut}from"./chunk-MPJD3UPQ.mjs";import{a as L}from"./chunk-QTKK6OSJ.mjs";import{a as ct}from"./chunk-6ACLOUQ3.mjs";import{a as A}from"./chunk-G7GU37XI.mjs";import{a as rt}from"./chunk-YSCND2MX.mjs";import{a as Ut}from"./chunk-NJN53MJV.mjs";import{a as pt,b as Tt,g as dt,l as gt}from"./chunk-M6MN4RXG.mjs";import{b as lt}from"./chunk-NGM3AVCY.mjs";import{a as it,b as at,q as u,s as f}from"./chunk-4NFQOHJB.mjs";import{c as X,d as tt,f as et}from"./chunk-UERJ6AKK.mjs";import{b as y}from"./chunk-VNLGNNIL.mjs";import{b as I}from"./chunk-6JM4DPOH.mjs";import{b as ot,c as st,f as nt}from"./chunk-NTEMINYA.mjs";import{b as Dt}from"./chunk-UCRVRBTA.mjs";import{a as bt}from"./chunk-CWZGACL2.mjs";import{c as w}from"./chunk-YFIAKX5S.mjs";import{b as z}from"./chunk-GGBMHKR4.mjs";import{a as E}from"./chunk-LJX4MW7B.mjs";import Y from"bignumber.js";import V from"lodash.isequal";var _t=1e4,P=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=_t;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{B(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let s=setTimeout(()=>{R(t);let n=v[t];n?.()},e);this.timeoutIntervals.set(t,s)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??_t}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};import Wt from"lodash.isequal";var Jt="NOTIFICATIONS_FEED_STORE_SUBSCRIBE",D=class o extends St{constructor(e){super({uiDataUpdateEvent:"OPEN_NOTIFICATIONS_FEED",uiTag:"mvx-notifications-feed"});this.initialData={pendingTransactions:[],historicTransactions:[]};this.store=e||u(),this.data={...this.initialData}}static getInstance(){return o.instance||(o.instance=new o),o.instance}isNotificationsFeedOpen(){return this.isOpen}async openNotificationsFeed(){d.getInstance().hideToasts(),await this.openUI(),await this.updateDataAndNotifications();let s=this.store.subscribe(async({toasts:n,transactions:i},{toasts:r,transactions:c})=>{(!Wt(r.transactionToasts,n.transactionToasts)||!Wt(c,i))&&await this.updateDataAndNotifications()});this.unsubscribeFunctions.set(Jt,[s]),this.eventBus?.publish("OPEN_NOTIFICATIONS_FEED"),await this.updateDataAndNotifications()}async handleCloseUI(){let e=d.getInstance();this.closeUI(),await e.showToasts()}async setupEventListeners(){this.eventBus&&(this.subscribeToEventBus("CLOSE_NOTIFICATIONS_FEED",this.handleCloseUI.bind(this)),this.subscribeToEventBus("CLEAR_NOTIFICATIONS_FEED_HISTORY",this.handleClearNotificationsFeedHistory.bind(this)))}async updateDataAndNotifications(){let{transactions:e}=this.store.getState(),{pendingTransactionToasts:s}=await O({});this.data.pendingTransactions=s,this.data.historicTransactions=await vt.getTransactionsHistory({transactionsSessions:e}),await this.updateNotificationsFeed()}handleClearNotificationsFeedHistory(){yt(),this.resetData(),this.updateNotificationsFeed()}async updateNotificationsFeed(){this.eventBus&&(this.eventBus.publish("PENDING_TRANSACTIONS_UPDATE",this.data.pendingTransactions),this.eventBus.publish("TRANSACTIONS_HISTORY_UPDATE",this.data.historicTransactions))}};var U=class{constructor(t){this.toastsElement=null;this.eventBus=null;this.isCreatingElement=!1;this.eventBusUnsubscribeFunctions=[];this.onCloseToast=t.onCloseToast,this.store=t.store||u(),this.notificationsFeedManager=t.notificationsFeedManager||D.getInstance()}async init(){await this.subscribeToEventBusNotifications()}showToasts(){this.eventBus?.publish("SHOW_TOAST_LIST",null)}hideToasts(){this.eventBus?.publish("HIDE_TOAST_LIST",null)}async publishTransactionToasts(t){if(this.notificationsFeedManager.isNotificationsFeedOpen()&&this.eventBus){this.eventBus.publish("TRANSACTION_TOAST_DATA_UPDATE",t),this.hideToasts();return}if(!this.eventBus){let e=await this.createToastListElement();if(!e)return;this.eventBus=await e.getEventBus()}this.eventBus?.publish("TRANSACTION_TOAST_DATA_UPDATE",t)}async publishCustomToasts(t){this.eventBus?.publish("CUSTOM_TOAST_DATA_UPDATE",t)}handleOpenNotificationsFeed(){this.notificationsFeedManager.openNotificationsFeed()}destroy(){this.eventBusUnsubscribeFunctions.forEach(t=>t()),this.eventBusUnsubscribeFunctions=[],this.notificationsFeedManager?.destroy()}async createToastListElement(){return this.toastsElement?this.toastsElement:(this.isCreatingElement||(this.isCreatingElement=!0,this.toastsElement=await bt.create({name:"mvx-toast-list"}),this.isCreatingElement=!1),this.toastsElement)}async subscribeToEventBusNotifications(){let t=await this.createToastListElement();if(t){if(this.eventBus=await t.getEventBus(),!this.eventBus)throw new Error("eventBus is not initialized");this.eventBus.subscribe("CLOSE_TOAST",this.onCloseToast),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("CLOSE_TOAST",this.onCloseToast)}),this.eventBus.subscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this)),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this))})}}};var d=class o{constructor(t){this.transactionToasts=[];this.customToasts=[];this.unsubscribeFromStore=()=>null;this.uiCoordinator=null;this.destroy(),this.store=t?.store||u(),this.lifetimeManager=t?.lifetimeManager??new P,this.uiCoordinator=t?.uiCoordinator??new U({onCloseToast:this.closeToast.bind(this)})}async init({successfulToastLifetime:t=5e3}={}){this.successfulToastLifetime=t,this.lifetimeManager.init({successfulToastLifetime:t}),await this.updateTransactionToastsList(),await this.updateCustomToastList(),await this.uiCoordinator?.init(),this.unsubscribeFromStore=this.store.subscribe(async({toasts:e,transactions:s},{toasts:n,transactions:i})=>{let r=!V(n.transactionToasts,e.transactionToasts),c=!V(i,s);(r||c)&&await this.updateTransactionToastsList({skipFetchingTransactions:c}),!V(n.customToasts,e.customToasts)&&await this.updateCustomToastList()})}static getInstance(){return o.instance||(o.instance=new o),o.instance}handleCompletedTransaction(t){let{transactions:e}=this.store.getState(),s=e[t];if(!s)return!1;let{status:n}=s,i=ht(n),r=x(n),c=ft(n),a=r||c||i;return a?(this.successfulToastLifetime&&this.lifetimeManager.start(t),a):(this.lifetimeManager.stop(t),a)}async createTransactionToast(t,e){let s=Gt({toastId:t,totalDuration:e});return this.handleCompletedTransaction(t),await this.updateTransactionToastsList(),s}async createCustomToast(t){let e=W(t);return await this.updateCustomToastList(),e}async updateTransactionToastsList(t){let e=this.store.getState(),{toasts:s}=e,{pendingTransactionToasts:n,completedTransactionToasts:i}=await O({skipFetchingTransactions:t?.skipFetchingTransactions,store:e});this.transactionToasts=[...n,...i];for(let r of s.transactionToasts)this.handleCompletedTransaction(r.toastId);await this.publishTransactionToasts()}async updateCustomToastList(){let{toasts:t}=this.store.getState();this.customToasts=[];for(let e of t.customToasts){let n="message"in e?{...e}:{...e,instantiateToastElement:_[e.toastId]};this.customToasts.push(n),e.duration&&this.lifetimeManager.startWithCustomDuration(e.toastId,e.duration)}await this.uiCoordinator?.publishCustomToasts(this.customToasts)}handleTransactionToastClose(t){return this.handleCompletedTransaction(t)?(B(t),!0):!1}async showToasts(){this.uiCoordinator?.showToasts(),await this.updateCustomToastList(),await this.updateTransactionToastsList()}hideToasts(){this.uiCoordinator?.hideToasts()}closeToast(t){if(this.customToasts.find(s=>s.toastId===t)){this.lifetimeManager.stop(t);let s=v[t];return s?.(),R(t),!0}return this.handleTransactionToastClose(t)}async publishTransactionToasts(){await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts)}destroy(){this.unsubscribeFromStore(),this.lifetimeManager?.destroy(),this.uiCoordinator?.destroy(),Ht()}};var H=class o{constructor(){this.store=u();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let t=this.store.getState(),e=y(t),{isExpired:s}=L(e?.nativeAuthToken);s?C().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 t=this.store.getState(),e=y(t),s=et(t);return!!(e?.nativeAuthToken&&s)};this.addPlannedLogout=()=>{let t=C(),e=X(this.store.getState()),s=t.getType()===E.webview;if(!e||s)return;this.addLogoutWarning();let n=y(this.store.getState()),{secondsUntilExpires:i,expiresAt:r}=L(n?.nativeAuthToken),c=new Y(String(i)),a=`${e}_${r}`,m=this.plannedLogoutKey===a;if(!(i&&c.isGreaterThan(0))||m)return;this.plannedLogoutKey=a,clearTimeout(this.plannedLogoutTimeoutRef??0);let T=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"times",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},T.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{t.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},T.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let t=I(this.store.getState()),e=y(this.store.getState()),{secondsUntilExpires:s}=L(e?.nativeAuthToken),n=new Y(String(s)),i=n.times(1e3);if(!s||n.isLessThanOrEqualTo(0)||!t?.tokenExpirationToastWarningSeconds)return;let c=new Y(t?.tokenExpirationToastWarningSeconds??0).times(1e3),a=n.times(1e3).minus(c),m=Ct(i.toNumber()),l=a.isLessThanOrEqualTo(0)?0:a.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${m}!`}),this.warningLogoutTimeoutRef=null},l)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};var G={};async function Xt({serverTransaction:o,sessionId:t,isSequential:e}){let{hash:s,status:n,results:i,invalidTransaction:r,hasStatusChanged:c}=o;try{if(G[s]>30){h({sessionId:t,status:"timedOut"}),await S({sessionId:t,status:"timedOut"});return}if(r&&!e||n==="sent"){G[s]=G[s]?G[s]+1:1;return}if(e&&!n){let m=q({sessionId:t,transaction:o});await S({sessionId:t,status:m});return}if(c){let m=q({sessionId:t,transaction:o});await S({sessionId:t,status:m})}x(n)&&await At({sessionId:t,hash:s,results:i})}catch(a){console.error(a),h({sessionId:t,status:"timedOut"}),await S({sessionId:t,status:"timedOut"})}}async function $t({sessionId:o,transactionBatch:t,isSequential:e}){try{if(t==null)return;let s=Et(),n=Lt(t),i=await wt(n);for(let p of i)await Xt({serverTransaction:p,sessionId:o,isSequential:e});if(!i.every(p=>p.status!=="pending"))return;s&&await $();let{transactions:c}=f(),a=c[o];if(a.transactions.every(p=>p.status==="success"))return h({sessionId:o,status:"success"});if(a.transactions.some(p=>p.status==="fail"))return h({sessionId:o,status:"fail"});if(a.transactions.every(p=>p.status==="not executed"))return h({sessionId:o,status:"invalid"})}catch(s){console.error(s)}}async function Kt(){let o=lt(f());if(Object.keys(o).length>0)for(let[t,{transactions:e}]of Object.entries(o))await $t({sessionId:t,transactionBatch:e})}async function K(){let o=u(),t=Nt(),e=null,s=null,n=tt(o.getState())?.timestamp,i=()=>{Kt()},r=()=>{e??=setInterval(i,t)},c=()=>{e&&(clearInterval(e),e=null)},a=()=>{c();let p=o.subscribe(({account:{websocketEvent:g}})=>{g?.message&&n!==g.timestamp&&(n=g.timestamp,i())});w.set("websocketEventReceived",p)},m=()=>{z.status!=="not_initialized"||s||(s=setInterval(()=>{z.status==="completed"&&(clearInterval(s),s=null,a())},1e3))};i();let l=()=>{c(),s&&(clearInterval(s),s=null)},T=o.subscribe(({account:{address:p},config:{websocketStatus:g}},Yt)=>{if(Yt.config.websocketStatus!==g)switch(g){case"completed":a();break;case"pending":r(),m();break;default:p?r():l();break}});return w.set("websocketStatusChanged",T),w.set("websocketEventReceived",l),{stopTransactionsTracking:l}}async function Z({address:o,provider:t,apiAddress:e}){let s=await A({address:o,baseURL:e});if(!s)throw new Error("Account not found");Ot({address:o,providerType:t.getType()});let n={...s,username:M(s.username),nonce:N(s)};F(n),await k(o),K(),s.shard!=null&&await xt({shard:Number(s.shard),apiAddress:e})}async function te(o){let{network:{apiAddress:t}}=b();await o.login();let e=await o.getAddress();if(!e)throw new Error("Address not found");return await Z({address:e,provider:o,apiAddress:t}),{address:e}}async function ee({provider:o,nativeAuthConfig:t,token:e}){let{network:{apiAddress:s}}=b(),n=ut(t),i=e;i||(i=await n.initialize({noCache:!0}));let{address:r,signature:c,...a}=await o.login({token:i});if(!r)return console.warn("Login cancelled."),null;if(!c)return console.error("Failed to sign login token"),null;let l=ct(a?.accessToken)?a.accessToken:n.getToken({address:r,token:i,signature:c});at({loginToken:i,signature:c,nativeAuthToken:l});let T=await Ft({loginToken:i,extraInfoData:{multisig:a?.multisig,impersonate:a?.impersonate},address:r});return await Z({address:T,provider:o,apiAddress:s}),{address:T,signature:c}}async function jt(o,t){let e=I(f());if(e)return await ee({provider:o,nativeAuthConfig:e,token:t?.token});let{address:s}=await te(o);return await k(s),K(),{address:s,signature:""}}var J={error:{title:"Error when signing".toString(),iconClassName:"danger",toastId:`${Tt}-${Date.now()}`},warning:{title:"Signing canceled".toString(),iconClassName:"warning",toastId:`${pt}-${Date.now()}`}},oe={extensionResponse:"Unable to sign transactions","Transaction canceled":"Transaction canceled","cancelled by user":"Transaction signing cancelled by user","denied by the user":"Transaction signing denied by the user"},se=o=>{for(let[t,e]of Object.entries(oe))if(o.includes(t))return e;return"Error when signing"};function Q(o,t="error"){let e=o?.message,s=se(e),i=s!=="Error when signing"?"warning":t,r=Object.keys(J).includes(i)?J[i]:J.error,{toastId:c,iconClassName:a,title:m}=r;return W({toastId:c,duration:1e4,icon:"times",iconClassName:a,message:s,title:m}),s}async function zt({provider:o,transactions:t,options:e={}}){await $();let{isGuarded:s,activeGuardianAddress:n,nonce:i}=Rt(),r=o.getType()===E.ledger,c=Bt({latestNonce:i,transactions:t}),a=n&&s&&!e.skipGuardian?c?.map(l=>(l.version=ot.withTxOptions().valueOf(),l.options=nt.withOptions({guarded:!0,...r?{hashSign:!0}:{}}).valueOf(),l.guardian=st.newFromBech32(n),l)):c,m=await o.signTransactions(a)??[];return It(i+m.length),m}var j=class{constructor(t){this._isLoggingOut=!1;this.provider=t}init(){return this.provider.init()}async login(t){let e=await jt(this.provider,t);return it(this.provider.getType()),qt(this),H.getInstance().init(),e}isInitialized(){return this.provider.isInitialized()}async logout(t={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let e=await kt({provider:this.provider,options:t});return this._isLoggingOut=!1,e}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(t,e){try{return await zt({provider:this.provider,transactions:t,options:e})}catch(s){let n=Q(s);throw new Error(n)}}async signMessage(t,e){try{return await Mt({provider:this.provider,message:t,options:e})}catch(s){let n=Q(s,"warning");throw new Error(n)}}async verifyMessage(t){return await Pt(t)}cancelLogin(){this.provider.cancelLogin?.()}};var Vt=null;function qt(o){Vt=o}function C(){return Vt||new j(Dt)}var ne=async()=>{try{let o=mt(),{network:t}=b();try{let e=await A({address:o,baseURL:t.apiAddress});if(e!=null){let s={...e,username:M(e.username),nonce:N(e)};return F(s),s}}catch(e){console.error("Failed getting account ",e)}}catch(o){console.error("Failed getting address ",o)}return null};async function $(){let o=C();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await ne():void 0}catch(t){console.error("Failed initializing provider ",t)}}var _={},v={},ie=(o,t)=>{u().setState(({toasts:e})=>{let s=e.customToasts.length>0?Math.max(...e.customToasts.map(a=>parseInt(a.toastId.split("-").pop()??"0"))):0,n=t??`custom-toast-${s+1}`,i=e.customToasts.findIndex(a=>a.toastId===n),r={...o,toastId:n};if(i!==-1){e.customToasts[i]=r;return}e.customToasts.push({...r,toastId:n})},!1,{type:"addCustomToast",payload:{value:{customToast:o,currentToastId:t}}})},R=o=>{u().setState(({toasts:t})=>{t.customToasts=t.customToasts.filter(e=>e.toastId!==o)},!1,{type:"removeCustomToast",payload:{value:o}})},Ht=()=>{u().setState(({toasts:o})=>{o.customToasts=[]},!1,{type:"removeAllCustomToasts",payload:{value:null}})},ln=()=>{u().setState(({toasts:o})=>{o.transactionToasts=[]})},Gt=({toastId:o,totalDuration:t})=>{let e="";return u().setState(({toasts:s})=>{let n=s.transactionToasts.length>0?Math.max(...s.transactionToasts.map(i=>parseInt(i.toastId.split("-").pop()??"0"))):0;e=o??`transaction-toast-${n+1}`,s.transactionToasts.push({startTime:rt(),endTime:Ut(t),toastId:e})},!1,"addTransactionToast"),e},B=o=>{u().setState(({toasts:t})=>{t.transactionToasts=t.transactionToasts.filter(e=>e.toastId!==o)},!1,"removeTransactionToast"),delete v[o],delete _[o]},W=o=>{let{toasts:t}=u().getState(),e=t.customToasts.length>0?Math.max(...t.customToasts.map(n=>parseInt(n.toastId.split("-").pop()??"0"))):0,s=o.toastId||`custom-toast-${e+1}`;return o.onClose&&(v[s]=o.onClose),o.instantiateToastElement?(_[s]=o.instantiateToastElement,u().setState(({toasts:n})=>{let i=n.customToasts.findIndex(a=>a.toastId===s),r={...o,instantiateToastElement:null,toastId:s};i!==-1?n.customToasts[i]=r:n.customToasts.push(r)},!1,"createCustomToast"),s):(ie(o,s),s)};export{_ as a,v as b,ie as c,R as d,Ht as e,ln as f,Gt as g,B as h,W as i,P as j,D as k,U as l,d as m,H as n,$t as o,Kt as p,K as q,Z as r,jt as s,Q as t,zt as u,j as v,qt as w,C as x,$ as y};
2
- //# sourceMappingURL=chunk-P7JHVK7R.mjs.map
1
+ import{a as wt}from"./chunk-7NNMFFHI.mjs";import{a as vt}from"./chunk-5TZDBT33.mjs";import{a as O}from"./chunk-I4X3MUEG.mjs";import{a as Ct}from"./chunk-6UZHM5LW.mjs";import{a as xt}from"./chunk-MJQ6VPEP.mjs";import{a as Et}from"./chunk-V34ACW7K.mjs";import{a as Nt}from"./chunk-7PTSMKMZ.mjs";import{a as At}from"./chunk-PYA4FNSG.mjs";import{a as q}from"./chunk-GFIRL35A.mjs";import{a as S}from"./chunk-KDWLSBQB.mjs";import{a as Lt}from"./chunk-VRLS225Q.mjs";import{a as Bt}from"./chunk-4ODPAHHA.mjs";import{a as kt}from"./chunk-OWT7X3WX.mjs";import{b as k}from"./chunk-MO574AMT.mjs";import{a as Ft}from"./chunk-VOCTKXHT.mjs";import{a as Pt}from"./chunk-MDVI45IV.mjs";import{a as Mt}from"./chunk-A3UPWVXW.mjs";import{a as b}from"./chunk-2VKH6PVD.mjs";import{a as mt}from"./chunk-UYAU6WUT.mjs";import{a as St}from"./chunk-KUYGZRX5.mjs";import{a as N}from"./chunk-LR5LMK7M.mjs";import{a as F,f as It}from"./chunk-53S7ZWAH.mjs";import{b as h,d as yt}from"./chunk-FCNBXWBC.mjs";import{k as ft,l as x,n as ht}from"./chunk-E2GGD7D4.mjs";import{b as Ot}from"./chunk-CM76HFF3.mjs";import{a as M}from"./chunk-HORSXVIV.mjs";import{a as Rt}from"./chunk-Z4UTQKBX.mjs";import{a as ut}from"./chunk-QRHZMPWE.mjs";import{a as L}from"./chunk-QTKK6OSJ.mjs";import{a as ct}from"./chunk-6ACLOUQ3.mjs";import{a as A}from"./chunk-G7GU37XI.mjs";import{a as rt}from"./chunk-YSCND2MX.mjs";import{a as Ut}from"./chunk-NJN53MJV.mjs";import{a as pt,b as Tt,g as dt,l as gt}from"./chunk-M6MN4RXG.mjs";import{b as lt}from"./chunk-NGM3AVCY.mjs";import{a as it,b as at,q as u,s as f}from"./chunk-XVCV7RBO.mjs";import{c as X,d as tt,f as et}from"./chunk-UERJ6AKK.mjs";import{b as y}from"./chunk-VNLGNNIL.mjs";import{b as I}from"./chunk-6JM4DPOH.mjs";import{b as ot,c as st,f as nt}from"./chunk-NTEMINYA.mjs";import{b as Dt}from"./chunk-UCRVRBTA.mjs";import{a as bt}from"./chunk-L77W75SG.mjs";import{c as w}from"./chunk-ANKD2C6B.mjs";import{b as z}from"./chunk-GGBMHKR4.mjs";import{a as E}from"./chunk-LJX4MW7B.mjs";import Y from"bignumber.js";import V from"lodash.isequal";var _t=1e4,P=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=_t;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{B(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let s=setTimeout(()=>{R(t);let n=v[t];n?.()},e);this.timeoutIntervals.set(t,s)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??_t}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};import Wt from"lodash.isequal";var Jt="NOTIFICATIONS_FEED_STORE_SUBSCRIBE",D=class o extends St{constructor(e){super({uiDataUpdateEvent:"OPEN_NOTIFICATIONS_FEED",uiTag:"mvx-notifications-feed"});this.initialData={pendingTransactions:[],historicTransactions:[]};this.store=e||u(),this.data={...this.initialData}}static getInstance(){return o.instance||(o.instance=new o),o.instance}isNotificationsFeedOpen(){return this.isOpen}async openNotificationsFeed(){d.getInstance().hideToasts(),await this.openUI(),await this.updateDataAndNotifications();let s=this.store.subscribe(async({toasts:n,transactions:i},{toasts:r,transactions:c})=>{(!Wt(r.transactionToasts,n.transactionToasts)||!Wt(c,i))&&await this.updateDataAndNotifications()});this.unsubscribeFunctions.set(Jt,[s]),this.eventBus?.publish("OPEN_NOTIFICATIONS_FEED"),await this.updateDataAndNotifications()}async handleCloseUI(){let e=d.getInstance();this.closeUI(),await e.showToasts()}async setupEventListeners(){this.eventBus&&(this.subscribeToEventBus("CLOSE_NOTIFICATIONS_FEED",this.handleCloseUI.bind(this)),this.subscribeToEventBus("CLEAR_NOTIFICATIONS_FEED_HISTORY",this.handleClearNotificationsFeedHistory.bind(this)))}async updateDataAndNotifications(){let{transactions:e}=this.store.getState(),{pendingTransactionToasts:s}=await O({});this.data.pendingTransactions=s,this.data.historicTransactions=await vt.getTransactionsHistory({transactionsSessions:e}),await this.updateNotificationsFeed()}handleClearNotificationsFeedHistory(){yt(),this.resetData(),this.updateNotificationsFeed()}async updateNotificationsFeed(){this.eventBus&&(this.eventBus.publish("PENDING_TRANSACTIONS_UPDATE",this.data.pendingTransactions),this.eventBus.publish("TRANSACTIONS_HISTORY_UPDATE",this.data.historicTransactions))}};var U=class{constructor(t){this.toastsElement=null;this.eventBus=null;this.isCreatingElement=!1;this.eventBusUnsubscribeFunctions=[];this.onCloseToast=t.onCloseToast,this.store=t.store||u(),this.notificationsFeedManager=t.notificationsFeedManager||D.getInstance()}async init(){await this.subscribeToEventBusNotifications()}showToasts(){this.eventBus?.publish("SHOW_TOAST_LIST",null)}hideToasts(){this.eventBus?.publish("HIDE_TOAST_LIST",null)}async publishTransactionToasts(t){if(this.notificationsFeedManager.isNotificationsFeedOpen()&&this.eventBus){this.eventBus.publish("TRANSACTION_TOAST_DATA_UPDATE",t),this.hideToasts();return}if(!this.eventBus){let e=await this.createToastListElement();if(!e)return;this.eventBus=await e.getEventBus()}this.eventBus?.publish("TRANSACTION_TOAST_DATA_UPDATE",t)}async publishCustomToasts(t){this.eventBus?.publish("CUSTOM_TOAST_DATA_UPDATE",t)}handleOpenNotificationsFeed(){this.notificationsFeedManager.openNotificationsFeed()}destroy(){this.eventBusUnsubscribeFunctions.forEach(t=>t()),this.eventBusUnsubscribeFunctions=[],this.notificationsFeedManager?.destroy()}async createToastListElement(){return this.toastsElement?this.toastsElement:(this.isCreatingElement||(this.isCreatingElement=!0,this.toastsElement=await bt.create({name:"mvx-toast-list"}),this.isCreatingElement=!1),this.toastsElement)}async subscribeToEventBusNotifications(){let t=await this.createToastListElement();if(t){if(this.eventBus=await t.getEventBus(),!this.eventBus)throw new Error("eventBus is not initialized");this.eventBus.subscribe("CLOSE_TOAST",this.onCloseToast),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("CLOSE_TOAST",this.onCloseToast)}),this.eventBus.subscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this)),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this))})}}};var d=class o{constructor(t){this.transactionToasts=[];this.customToasts=[];this.unsubscribeFromStore=()=>null;this.uiCoordinator=null;this.destroy(),this.store=t?.store||u(),this.lifetimeManager=t?.lifetimeManager??new P,this.uiCoordinator=t?.uiCoordinator??new U({onCloseToast:this.closeToast.bind(this)})}async init({successfulToastLifetime:t=5e3}={}){this.successfulToastLifetime=t,this.lifetimeManager.init({successfulToastLifetime:t}),await this.updateTransactionToastsList(),await this.updateCustomToastList(),await this.uiCoordinator?.init(),this.unsubscribeFromStore=this.store.subscribe(async({toasts:e,transactions:s},{toasts:n,transactions:i})=>{let r=!V(n.transactionToasts,e.transactionToasts),c=!V(i,s);(r||c)&&await this.updateTransactionToastsList({skipFetchingTransactions:c}),!V(n.customToasts,e.customToasts)&&await this.updateCustomToastList()})}static getInstance(){return o.instance||(o.instance=new o),o.instance}handleCompletedTransaction(t){let{transactions:e}=this.store.getState(),s=e[t];if(!s)return!1;let{status:n}=s,i=ht(n),r=x(n),c=ft(n),a=r||c||i;return a?(this.successfulToastLifetime&&this.lifetimeManager.start(t),a):(this.lifetimeManager.stop(t),a)}async createTransactionToast(t,e){let s=Gt({toastId:t,totalDuration:e});return this.handleCompletedTransaction(t),await this.updateTransactionToastsList(),s}async createCustomToast(t){let e=W(t);return await this.updateCustomToastList(),e}async updateTransactionToastsList(t){let e=this.store.getState(),{toasts:s}=e,{pendingTransactionToasts:n,completedTransactionToasts:i}=await O({skipFetchingTransactions:t?.skipFetchingTransactions,store:e});this.transactionToasts=[...n,...i];for(let r of s.transactionToasts)this.handleCompletedTransaction(r.toastId);await this.publishTransactionToasts()}async updateCustomToastList(){let{toasts:t}=this.store.getState();this.customToasts=[];for(let e of t.customToasts){let n="message"in e?{...e}:{...e,instantiateToastElement:_[e.toastId]};this.customToasts.push(n),e.duration&&this.lifetimeManager.startWithCustomDuration(e.toastId,e.duration)}await this.uiCoordinator?.publishCustomToasts(this.customToasts)}handleTransactionToastClose(t){return this.handleCompletedTransaction(t)?(B(t),!0):!1}async showToasts(){this.uiCoordinator?.showToasts(),await this.updateCustomToastList(),await this.updateTransactionToastsList()}hideToasts(){this.uiCoordinator?.hideToasts()}closeToast(t){if(this.customToasts.find(s=>s.toastId===t)){this.lifetimeManager.stop(t);let s=v[t];return s?.(),R(t),!0}return this.handleTransactionToastClose(t)}async publishTransactionToasts(){await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts)}destroy(){this.unsubscribeFromStore(),this.lifetimeManager?.destroy(),this.uiCoordinator?.destroy(),Ht()}};var H=class o{constructor(){this.store=u();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let t=this.store.getState(),e=y(t),{isExpired:s}=L(e?.nativeAuthToken);s?C().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 t=this.store.getState(),e=y(t),s=et(t);return!!(e?.nativeAuthToken&&s)};this.addPlannedLogout=()=>{let t=C(),e=X(this.store.getState()),s=t.getType()===E.webview;if(!e||s)return;this.addLogoutWarning();let n=y(this.store.getState()),{secondsUntilExpires:i,expiresAt:r}=L(n?.nativeAuthToken),c=new Y(String(i)),a=`${e}_${r}`,m=this.plannedLogoutKey===a;if(!(i&&c.isGreaterThan(0))||m)return;this.plannedLogoutKey=a,clearTimeout(this.plannedLogoutTimeoutRef??0);let T=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"times",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},T.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{t.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},T.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let t=I(this.store.getState()),e=y(this.store.getState()),{secondsUntilExpires:s}=L(e?.nativeAuthToken),n=new Y(String(s)),i=n.times(1e3);if(!s||n.isLessThanOrEqualTo(0)||!t?.tokenExpirationToastWarningSeconds)return;let c=new Y(t?.tokenExpirationToastWarningSeconds??0).times(1e3),a=n.times(1e3).minus(c),m=Ct(i.toNumber()),l=a.isLessThanOrEqualTo(0)?0:a.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${m}!`}),this.warningLogoutTimeoutRef=null},l)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};var G={};async function Xt({serverTransaction:o,sessionId:t,isSequential:e}){let{hash:s,status:n,results:i,invalidTransaction:r,hasStatusChanged:c}=o;try{if(G[s]>30){h({sessionId:t,status:"timedOut"}),await S({sessionId:t,status:"timedOut"});return}if(r&&!e||n==="sent"){G[s]=G[s]?G[s]+1:1;return}if(e&&!n){let m=q({sessionId:t,transaction:o});await S({sessionId:t,status:m});return}if(c){let m=q({sessionId:t,transaction:o});await S({sessionId:t,status:m})}x(n)&&await At({sessionId:t,hash:s,results:i})}catch(a){console.error(a),h({sessionId:t,status:"timedOut"}),await S({sessionId:t,status:"timedOut"})}}async function $t({sessionId:o,transactionBatch:t,isSequential:e}){try{if(t==null)return;let s=Et(),n=Lt(t),i=await wt(n);for(let p of i)await Xt({serverTransaction:p,sessionId:o,isSequential:e});if(!i.every(p=>p.status!=="pending"))return;s&&await $();let{transactions:c}=f(),a=c[o];if(a.transactions.every(p=>p.status==="success"))return h({sessionId:o,status:"success"});if(a.transactions.some(p=>p.status==="fail"))return h({sessionId:o,status:"fail"});if(a.transactions.every(p=>p.status==="not executed"))return h({sessionId:o,status:"invalid"})}catch(s){console.error(s)}}async function Kt(){let o=lt(f());if(Object.keys(o).length>0)for(let[t,{transactions:e}]of Object.entries(o))await $t({sessionId:t,transactionBatch:e})}async function K(){let o=u(),t=Nt(),e=null,s=null,n=tt(o.getState())?.timestamp,i=()=>{Kt()},r=()=>{e??=setInterval(i,t)},c=()=>{e&&(clearInterval(e),e=null)},a=()=>{c();let p=o.subscribe(({account:{websocketEvent:g}})=>{g?.message&&n!==g.timestamp&&(n=g.timestamp,i())});w.set("websocketEventReceived",p)},m=()=>{z.status!=="not_initialized"||s||(s=setInterval(()=>{z.status==="completed"&&(clearInterval(s),s=null,a())},1e3))};i();let l=()=>{c(),s&&(clearInterval(s),s=null)},T=o.subscribe(({account:{address:p},config:{websocketStatus:g}},Yt)=>{if(Yt.config.websocketStatus!==g)switch(g){case"completed":a();break;case"pending":r(),m();break;default:p?r():l();break}});return w.set("websocketStatusChanged",T),w.set("websocketEventReceived",l),{stopTransactionsTracking:l}}async function Z({address:o,provider:t,apiAddress:e}){let s=await A({address:o,baseURL:e});if(!s)throw new Error("Account not found");Ot({address:o,providerType:t.getType()});let n={...s,username:M(s.username),nonce:N(s)};F(n),await k(o),K(),s.shard!=null&&await xt({shard:Number(s.shard),apiAddress:e})}async function te(o){let{network:{apiAddress:t}}=b();await o.login();let e=await o.getAddress();if(!e)throw new Error("Address not found");return await Z({address:e,provider:o,apiAddress:t}),{address:e}}async function ee({provider:o,nativeAuthConfig:t,token:e}){let{network:{apiAddress:s}}=b(),n=ut(t),i=e;i||(i=await n.initialize({noCache:!0}));let{address:r,signature:c,...a}=await o.login({token:i});if(!r)return console.warn("Login cancelled."),null;if(!c)return console.error("Failed to sign login token"),null;let l=ct(a?.accessToken)?a.accessToken:n.getToken({address:r,token:i,signature:c});at({loginToken:i,signature:c,nativeAuthToken:l});let T=await Ft({loginToken:i,extraInfoData:{multisig:a?.multisig,impersonate:a?.impersonate},address:r});return await Z({address:T,provider:o,apiAddress:s}),{address:T,signature:c}}async function jt(o,t){let e=I(f());if(e)return await ee({provider:o,nativeAuthConfig:e,token:t?.token});let{address:s}=await te(o);return await k(s),K(),{address:s,signature:""}}var J={error:{title:"Error when signing".toString(),iconClassName:"danger",toastId:`${Tt}-${Date.now()}`},warning:{title:"Signing canceled".toString(),iconClassName:"warning",toastId:`${pt}-${Date.now()}`}},oe={extensionResponse:"Unable to sign transactions","Transaction canceled":"Transaction canceled","cancelled by user":"Transaction signing cancelled by user","denied by the user":"Transaction signing denied by the user"},se=o=>{for(let[t,e]of Object.entries(oe))if(o.includes(t))return e;return"Error when signing"};function Q(o,t="error"){let e=o?.message,s=se(e),i=s!=="Error when signing"?"warning":t,r=Object.keys(J).includes(i)?J[i]:J.error,{toastId:c,iconClassName:a,title:m}=r;return W({toastId:c,duration:1e4,icon:"times",iconClassName:a,message:s,title:m}),s}async function zt({provider:o,transactions:t,options:e={}}){await $();let{isGuarded:s,activeGuardianAddress:n,nonce:i}=Rt(),r=o.getType()===E.ledger,c=Bt({latestNonce:i,transactions:t}),a=n&&s&&!e.skipGuardian?c?.map(l=>(l.version=ot.withTxOptions().valueOf(),l.options=nt.withOptions({guarded:!0,...r?{hashSign:!0}:{}}).valueOf(),l.guardian=st.newFromBech32(n),l)):c,m=await o.signTransactions(a)??[];return It(i+m.length),m}var j=class{constructor(t){this._isLoggingOut=!1;this.provider=t}init(){return this.provider.init()}async login(t){let e=await jt(this.provider,t);return it(this.provider.getType()),qt(this),H.getInstance().init(),e}isInitialized(){return this.provider.isInitialized()}async logout(t={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let e=await kt({provider:this.provider,options:t});return this._isLoggingOut=!1,e}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(t,e){try{return await zt({provider:this.provider,transactions:t,options:e})}catch(s){let n=Q(s);throw new Error(n)}}async signMessage(t,e){try{return await Mt({provider:this.provider,message:t,options:e})}catch(s){let n=Q(s,"warning");throw new Error(n)}}async verifyMessage(t){return await Pt(t)}cancelLogin(){this.provider.cancelLogin?.()}};var Vt=null;function qt(o){Vt=o}function C(){return Vt||new j(Dt)}var ne=async()=>{try{let o=mt(),{network:t}=b();try{let e=await A({address:o,baseURL:t.apiAddress});if(e!=null){let s={...e,username:M(e.username),nonce:N(e)};return F(s),s}}catch(e){console.error("Failed getting account ",e)}}catch(o){console.error("Failed getting address ",o)}return null};async function $(){let o=C();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await ne():void 0}catch(t){console.error("Failed initializing provider ",t)}}var _={},v={},ie=(o,t)=>{u().setState(({toasts:e})=>{let s=e.customToasts.length>0?Math.max(...e.customToasts.map(a=>parseInt(a.toastId.split("-").pop()??"0"))):0,n=t??`custom-toast-${s+1}`,i=e.customToasts.findIndex(a=>a.toastId===n),r={...o,toastId:n};if(i!==-1){e.customToasts[i]=r;return}e.customToasts.push({...r,toastId:n})},!1,{type:"addCustomToast",payload:{value:{customToast:o,currentToastId:t}}})},R=o=>{u().setState(({toasts:t})=>{t.customToasts=t.customToasts.filter(e=>e.toastId!==o)},!1,{type:"removeCustomToast",payload:{value:o}})},Ht=()=>{u().setState(({toasts:o})=>{o.customToasts=[]},!1,{type:"removeAllCustomToasts",payload:{value:null}})},ln=()=>{u().setState(({toasts:o})=>{o.transactionToasts=[]})},Gt=({toastId:o,totalDuration:t})=>{let e="";return u().setState(({toasts:s})=>{let n=s.transactionToasts.length>0?Math.max(...s.transactionToasts.map(i=>parseInt(i.toastId.split("-").pop()??"0"))):0;e=o??`transaction-toast-${n+1}`,s.transactionToasts.push({startTime:rt(),endTime:Ut(t),toastId:e})},!1,"addTransactionToast"),e},B=o=>{u().setState(({toasts:t})=>{t.transactionToasts=t.transactionToasts.filter(e=>e.toastId!==o)},!1,"removeTransactionToast"),delete v[o],delete _[o]},W=o=>{let{toasts:t}=u().getState(),e=t.customToasts.length>0?Math.max(...t.customToasts.map(n=>parseInt(n.toastId.split("-").pop()??"0"))):0,s=o.toastId||`custom-toast-${e+1}`;return o.onClose&&(v[s]=o.onClose),o.instantiateToastElement?(_[s]=o.instantiateToastElement,u().setState(({toasts:n})=>{let i=n.customToasts.findIndex(a=>a.toastId===s),r={...o,instantiateToastElement:null,toastId:s};i!==-1?n.customToasts[i]=r:n.customToasts.push(r)},!1,"createCustomToast"),s):(ie(o,s),s)};export{_ as a,v as b,ie as c,R as d,Ht as e,ln as f,Gt as g,B as h,W as i,P as j,D as k,U as l,d as m,H as n,$t as o,Kt as p,K as q,Z as r,jt as s,Q as t,zt as u,j as v,qt as w,C as x,$ as y};
2
+ //# sourceMappingURL=chunk-TD7DMFGX.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-PZBHKR5U.mjs";import o from"axios";var n="transactions/ppu";async function l(a,s){let r=`${e(s)}/${n}/${a}`;try{let{data:t}=await o.get(r);return t?{[a]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",r,t),null}}export{l as a};
2
- //# sourceMappingURL=chunk-EBCOUXQJ.mjs.map
1
+ import{a as e}from"./chunk-M6GCNWI7.mjs";import o from"axios";var n="transactions/ppu";async function l(a,s){let r=`${e(s)}/${n}/${a}`;try{let{data:t}=await o.get(r);return t?{[a]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",r,t),null}}export{l as a};
2
+ //# sourceMappingURL=chunk-UIMGXUAR.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-YK7T6MBD.mjs";import{a as u}from"./chunk-KMJMQEXI.mjs";import{q as c}from"./chunk-4NFQOHJB.mjs";import{a as w}from"./chunk-SQVKVA7X.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";var e=o=>c().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={...w,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await l(a),f=r.roundDuration?null:await u(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-CSJ2ZPSM.mjs.map
1
+ import{a as l}from"./chunk-YK7T6MBD.mjs";import{a as u}from"./chunk-KMJMQEXI.mjs";import{q as c}from"./chunk-XVCV7RBO.mjs";import{a as w}from"./chunk-SQVKVA7X.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";var e=o=>c().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={...w,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await l(a),f=r.roundDuration?null:await u(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-USPDSDTM.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as t}from"./chunk-XVCV7RBO.mjs";import{c as r}from"./chunk-UERJ6AKK.mjs";function m(e=t()){return r(e)}export{m as a};
2
+ //# sourceMappingURL=chunk-UYAU6WUT.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as e}from"./chunk-XVCV7RBO.mjs";import{f as t}from"./chunk-UERJ6AKK.mjs";function n(o=e()){return t(o)}export{n as a};
2
+ //# sourceMappingURL=chunk-V34ACW7K.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-YCRNNRMV.mjs";function S(e){return t()(e)}export{S as a};
2
+ //# sourceMappingURL=chunk-VJ6JOIYZ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-JL3RLYAR.mjs";import{c as n}from"./chunk-XVCV7RBO.mjs";async function c({loginToken:r,extraInfoData:i,address:e}){let o=await t({originalLoginToken:r,extraInfoData:i,address:e});return o.modifiedLoginToken&&n(o.modifiedLoginToken),o.address}export{c as a};
2
+ //# sourceMappingURL=chunk-VOCTKXHT.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-FRDR4A7Z.mjs";import{x as g}from"./chunk-P7JHVK7R.mjs";import{a as c}from"./chunk-KUX63OMO.mjs";import{s as n}from"./chunk-4NFQOHJB.mjs";import{g as a}from"./chunk-UERJ6AKK.mjs";import{e as l}from"./chunk-VNLGNNIL.mjs";import{HWProvider as m}from"@multiversx/sdk-hw-provider";async function A(u){let v=c(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=g(),i=new m,I=async()=>{let e=o?.index!=null;if(r instanceof m&&r.isInitialized())return e&&await r.setAddressIndex(o.index),r;if(d&&!await i.init())throw new Error("Failed to initialize Ledger Provider");return e&&await i.setAddressIndex(o.index),i};try{if(!d&&t)return{ledgerProvider:i,ledgerConfig:{version:t.version,dataEnabled:t.hasContractDataEnabled}};let e=await I(),s=await f(e);return{ledgerProvider:e,ledgerConfig:s}}catch(e){throw console.error("Could not initialize ledger app",e),e}}export{A as a};
2
- //# sourceMappingURL=chunk-JDWI44AR.mjs.map
1
+ import{a as f}from"./chunk-FRDR4A7Z.mjs";import{x as g}from"./chunk-TD7DMFGX.mjs";import{a as c}from"./chunk-V34ACW7K.mjs";import{s as n}from"./chunk-XVCV7RBO.mjs";import{g as a}from"./chunk-UERJ6AKK.mjs";import{e as l}from"./chunk-VNLGNNIL.mjs";import{HWProvider as m}from"@multiversx/sdk-hw-provider";async function A(u){let v=c(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=g(),i=new m,I=async()=>{let e=o?.index!=null;if(r instanceof m&&r.isInitialized())return e&&await r.setAddressIndex(o.index),r;if(d&&!await i.init())throw new Error("Failed to initialize Ledger Provider");return e&&await i.setAddressIndex(o.index),i};try{if(!d&&t)return{ledgerProvider:i,ledgerConfig:{version:t.version,dataEnabled:t.hasContractDataEnabled}};let e=await I(),s=await f(e);return{ledgerProvider:e,ledgerConfig:s}}catch(e){throw console.error("Could not initialize ledger app",e),e}}export{A as a};
2
+ //# sourceMappingURL=chunk-VQH3HUNE.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as A}from"./chunk-GGTCBFGO.mjs";import{a as s}from"./chunk-KIMKIACD.mjs";import{a as h}from"./chunk-B2RDSGON.mjs";import{a as k}from"./chunk-YUHQQNRS.mjs";import{b as L}from"./chunk-EBTTOSHF.mjs";import{a as I}from"./chunk-BRJNX4JF.mjs";import{f as p}from"./chunk-4NFQOHJB.mjs";import{a as f}from"./chunk-KD2IQ32V.mjs";import{a as x}from"./chunk-LJX4MW7B.mjs";import{BigNumber as C}from"bignumber.js";async function M({options:d,config:i,provider:a,login:c}){let e=A.getInstance(),T=k(),b=h({loginToken:d?.token,version:i.version}),o={manager:e,provider:a};await s(o);let t=await new Promise(async function(E,w){async function g(r){let n=e?e.addressesPerPage??1:1,l=new C(r-1).times(n);e?.updateStartIndex(Math.max(0,parseInt(l.toString()))),await s(o)}async function u(r){if(!(!a||!c)){e?.updateConfirmScreen({...b,selectedAddress:r.selectedAddress,explorerLink:I({to:`/${f}/${r.selectedAddress}`,explorerAddress:T})});try{let n=d?.token?await a.tokenLogin({token:Buffer.from(`${d?.token}{}`),addressIndex:r.addressIndex}):await c({addressIndex:r.addressIndex});E({address:n.address,signature:n.signature?n.signature.toString("hex"):"",addressIndex:r.addressIndex})}catch(n){console.error("User rejected login:",n),!!e?.getConfirmScreenData()&&await s(o)}}}async function m(){await s(o),e.unsubscribeFromAuthEvents({handleCancel:m,handleAccessWallet:u,handleGoToPage:g}),w("User cancelled login")}e.subscribeToAuthEvents({handleCancel:m,handleAccessWallet:u,handleGoToPage:g})}),{version:P,dataEnabled:v}=i;return p({index:t.addressIndex,loginType:x.ledger}),L({address:t.address,index:t.addressIndex,version:P,hasContractDataEnabled:v}),{address:t.address,signature:t.signature}}export{M as a};
2
- //# sourceMappingURL=chunk-GSOOKRYL.mjs.map
1
+ import{a as A}from"./chunk-RIVS6HJ6.mjs";import{a as s}from"./chunk-PLVWSVIH.mjs";import{a as h}from"./chunk-B2RDSGON.mjs";import{a as k}from"./chunk-IIGV3WGH.mjs";import{b as L}from"./chunk-53S7ZWAH.mjs";import{a as I}from"./chunk-BRJNX4JF.mjs";import{f as p}from"./chunk-XVCV7RBO.mjs";import{a as f}from"./chunk-KD2IQ32V.mjs";import{a as x}from"./chunk-LJX4MW7B.mjs";import{BigNumber as C}from"bignumber.js";async function M({options:d,config:i,provider:a,login:c}){let e=A.getInstance(),T=k(),b=h({loginToken:d?.token,version:i.version}),o={manager:e,provider:a};await s(o);let t=await new Promise(async function(E,w){async function g(r){let n=e?e.addressesPerPage??1:1,l=new C(r-1).times(n);e?.updateStartIndex(Math.max(0,parseInt(l.toString()))),await s(o)}async function u(r){if(!(!a||!c)){e?.updateConfirmScreen({...b,selectedAddress:r.selectedAddress,explorerLink:I({to:`/${f}/${r.selectedAddress}`,explorerAddress:T})});try{let n=d?.token?await a.tokenLogin({token:Buffer.from(`${d?.token}{}`),addressIndex:r.addressIndex}):await c({addressIndex:r.addressIndex});E({address:n.address,signature:n.signature?n.signature.toString("hex"):"",addressIndex:r.addressIndex})}catch(n){console.error("User rejected login:",n),!!e?.getConfirmScreenData()&&await s(o)}}}async function m(){await s(o),e.unsubscribeFromAuthEvents({handleCancel:m,handleAccessWallet:u,handleGoToPage:g}),w("User cancelled login")}e.subscribeToAuthEvents({handleCancel:m,handleAccessWallet:u,handleGoToPage:g})}),{version:P,dataEnabled:v}=i;return p({index:t.addressIndex,loginType:x.ledger}),L({address:t.address,index:t.addressIndex,version:P,hasContractDataEnabled:v}),{address:t.address,signature:t.signature}}export{M as a};
2
+ //# sourceMappingURL=chunk-WCENKLIK.mjs.map
@@ -0,0 +1,2 @@
1
+ var o=typeof window<"u"?window:{},n="5.3.0-alpha.6";export{o as a,n as b};
2
+ //# sourceMappingURL=chunk-WTNH3ZF5.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.3.0-alpha.5'; // 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.3.0-alpha.6'; // 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
  }
@@ -0,0 +1,2 @@
1
+ import{q as t}from"./chunk-XVCV7RBO.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
+ //# sourceMappingURL=chunk-X4E5DX5G.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-MPJD3UPQ.mjs";import{a as o}from"./chunk-WE7YOBO7.mjs";async function p({loginToken:i,extraInfoData:n}){if(i==null||Object.keys(n).length===0)return null;let t=o(String(i)),{timestamp:e,...a}=t?.extraInfo||{};if(!(t&&e!=null))return null;let s={hash:String(t?.blockHash),timestamp:Number(e)};return await r({extraInfo:{...a,...n},expirySeconds:t?.ttl,origin:t?.origin}).initialize({latestBlockInfo:s})}export{p as a};
2
- //# sourceMappingURL=chunk-MWKZT7BL.mjs.map
1
+ import{a as r}from"./chunk-QRHZMPWE.mjs";import{a as o}from"./chunk-WE7YOBO7.mjs";async function p({loginToken:i,extraInfoData:n}){if(i==null||Object.keys(n).length===0)return null;let t=o(String(i)),{timestamp:e,...a}=t?.extraInfo||{};if(!(t&&e!=null))return null;let s={hash:String(t?.blockHash),timestamp:Number(e)};return await r({extraInfo:{...a,...n},expirySeconds:t?.ttl,origin:t?.origin}).initialize({latestBlockInfo:s})}export{p as a};
2
+ //# sourceMappingURL=chunk-XHNCG7X2.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-3QWTD55I.mjs";import{s as m}from"./chunk-4NFQOHJB.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{o as s,u as o}from"./chunk-KD2IQ32V.mjs";import{a as c}from"./chunk-3FXHIV6O.mjs";async function I({tokenId:n}){let t=a(m()),r={tokenDecimals:Number(t.decimals),tokenLabel:"",tokenImageUrl:""},{isNft:k}=c(n),i=n,p=k?s:o;if(!i)return r;try{let e=await g(`${t.apiAddress}/${p}/${i}`),l=e?e?.decimals:Number(t.decimals),f=e?e?.name:"",T=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:l,tokenLabel:f,type:e?.type,tokenImageUrl:T,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{...r,error:`${e}`}}}export{I as a};
2
- //# sourceMappingURL=chunk-VM6MDBT7.mjs.map
1
+ import{a as g}from"./chunk-3QWTD55I.mjs";import{s as m}from"./chunk-XVCV7RBO.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{o as s,u as o}from"./chunk-KD2IQ32V.mjs";import{a as c}from"./chunk-3FXHIV6O.mjs";async function I({tokenId:n}){let t=a(m()),r={tokenDecimals:Number(t.decimals),tokenLabel:"",tokenImageUrl:""},{isNft:k}=c(n),i=n,p=k?s:o;if(!i)return r;try{let e=await g(`${t.apiAddress}/${p}/${i}`),l=e?e?.decimals:Number(t.decimals),f=e?e?.name:"",T=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:l,tokenLabel:f,type:e?.type,tokenImageUrl:T,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{...r,error:`${e}`}}}export{I as a};
2
+ //# sourceMappingURL=chunk-XM6YSGYU.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as S}from"./chunk-EAJBSX6Y.mjs";import{a as s}from"./chunk-NTOY6GTP.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-4NFQOHJB.mjs";import{a as n}from"./chunk-UERJ6AKK.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-FVWPUUST.mjs.map
1
+ import{a as S}from"./chunk-EAJBSX6Y.mjs";import{a as s}from"./chunk-NTOY6GTP.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-XVCV7RBO.mjs";import{a as n}from"./chunk-UERJ6AKK.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-XQYCJNJJ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-2FA2VSIL.mjs";var i=String(o?.navigator?.userAgent),t=/^((?!chrome|android).)*safari/i.test(i),r=/firefox/i.test(i)&&/windows/i.test(i),n=t||r;export{t as a,n as b};
2
- //# sourceMappingURL=chunk-UCWXFSUC.mjs.map
1
+ import{a as o}from"./chunk-WTNH3ZF5.mjs";var i=String(o?.navigator?.userAgent),t=/^((?!chrome|android).)*safari/i.test(i),r=/firefox/i.test(i)&&/windows/i.test(i),n=t||r;export{t as a,n as b};
2
+ //# sourceMappingURL=chunk-XSVEDMAO.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as a,f as p}from"./chunk-UERJ6AKK.mjs";import{f as l}from"./chunk-VNLGNNIL.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as I}from"./chunk-UVJWRU3H.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{b as T}from"./chunk-A7FTKX2A.mjs";import{a as c,b as g}from"./chunk-WZGG2YKQ.mjs";import{a as m,b as f}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{c as s}from"./chunk-NTEMINYA.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=c,e.loginInfo=m,e.transactions=d,e.toasts=S};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=p(e),n=l(e),{address:i,publicKey:M}=a(e);if(i&&M!==new s(i).toHex()&&A(e),!t)return;if(n==null){w(H());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=J(V(h(N((...n)=>({network:x(...n),account:g(...n),loginInfo:f(...n),config:L(...n),transactions:y(...n),toasts:u(...n),cache:T(...n),ui:v(...n)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new k)),r),le=(e=I)=>{let t=z(e);return D(t),t},se=()=>o().getState();var me=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),fe=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),de=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),ye=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),xe=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{me as a,fe as b,Se as c,ue as d,de as e,ye as f,xe as g,E as h,b as i,A as j,H as k,w as l,C as m,W as n,z as o,D as p,o as q,le as r,se as s};
2
- //# sourceMappingURL=chunk-4NFQOHJB.mjs.map
1
+ import{b as a,f as p}from"./chunk-UERJ6AKK.mjs";import{f as l}from"./chunk-VNLGNNIL.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as I}from"./chunk-FGFCIIYV.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{b as T}from"./chunk-A7FTKX2A.mjs";import{a as c,b as g}from"./chunk-WZGG2YKQ.mjs";import{a as m,b as f}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{c as s}from"./chunk-NTEMINYA.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=c,e.loginInfo=m,e.transactions=d,e.toasts=S};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=p(e),n=l(e),{address:i,publicKey:M}=a(e);if(i&&M!==new s(i).toHex()&&A(e),!t)return;if(n==null){w(H());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=J(V(h(N((...n)=>({network:x(...n),account:g(...n),loginInfo:f(...n),config:L(...n),transactions:y(...n),toasts:u(...n),cache:T(...n),ui:v(...n)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new k)),r),le=(e=I)=>{let t=z(e);return D(t),t},se=()=>o().getState();var me=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),fe=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),de=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),ye=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),xe=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{me as a,fe as b,Se as c,ue as d,de as e,ye as f,xe as g,E as h,b as i,A as j,H as k,w as l,C as m,W as n,z as o,D as p,o as q,le as r,se as s};
2
+ //# sourceMappingURL=chunk-XVCV7RBO.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-2FA2VSIL.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-6IUB2VJE.mjs.map
1
+ import{a as e}from"./chunk-WTNH3ZF5.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-XWNIFFEU.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-55W25Q35.mjs";import{a as r}from"./chunk-BY5PRWXE.mjs";import a from"lodash.isempty";var e=async({transactionsSessions:t})=>{if(a(t))return[];let i=s(t);return r({transactions:i})};export{e as a};
2
- //# sourceMappingURL=chunk-NHDCY4TW.mjs.map
1
+ import{a as s}from"./chunk-55W25Q35.mjs";import{a as r}from"./chunk-KD2DREQH.mjs";import a from"lodash.isempty";var e=async({transactionsSessions:t})=>{if(a(t))return[];let i=s(t);return r({transactions:i})};export{e as a};
2
+ //# sourceMappingURL=chunk-Y35Y44IS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-2FA2VSIL.mjs";function r(t){try{if(!e)return;e.document.documentElement.dataset.mvxTheme=t}catch{console.log("Error switching the theme!")}}export{r as a};
2
- //# sourceMappingURL=chunk-VOKC2G5A.mjs.map
1
+ import{a as e}from"./chunk-WTNH3ZF5.mjs";function r(t){try{if(!e)return;e.document.documentElement.dataset.mvxTheme=t}catch{console.log("Error switching the theme!")}}export{r as a};
2
+ //# sourceMappingURL=chunk-YA65N5RU.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-XVCV7RBO.mjs";var m=()=>t(e());export{m as a};
2
+ //# sourceMappingURL=chunk-YCRNNRMV.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-XVCV7RBO.mjs";import{a as t}from"./chunk-UERJ6AKK.mjs";function n(r=o()){return t(r)}export{n as a};
2
+ //# sourceMappingURL=chunk-Z4UTQKBX.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-D2JYGLAC.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-UCWXFSUC.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-YFIAKX5S.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getScamAddressData};
1
+ import{a}from"../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-D2JYGLAC.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-XSVEDMAO.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-ANKD2C6B.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getScamAddressData};
2
2
  //# sourceMappingURL=getScamAddressData.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-PZBHKR5U.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getCleanApiAddress};
1
+ import{a}from"../../__chunks__/chunk-M6GCNWI7.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getCleanApiAddress};
2
2
  //# sourceMappingURL=getCleanApiAddress.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-EBCOUXQJ.mjs";import"../../__chunks__/chunk-PZBHKR5U.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getGasStationMetadataFromApi};
1
+ import{a}from"../../__chunks__/chunk-UIMGXUAR.mjs";import"../../__chunks__/chunk-M6GCNWI7.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getGasStationMetadataFromApi};
2
2
  //# sourceMappingURL=getGasStationMetadata.mjs.map
@@ -1,2 +1,2 @@
1
- import"../__chunks__/chunk-YV7ZJBAY.mjs";import"../__chunks__/chunk-K5MJ4FMD.mjs";import{a as F}from"../__chunks__/chunk-36H647WW.mjs";import"../__chunks__/chunk-DXRSXWLQ.mjs";import"../__chunks__/chunk-INRKVOET.mjs";import"../__chunks__/chunk-6ET5BDZH.mjs";import{a as G}from"../__chunks__/chunk-D2JYGLAC.mjs";import"../__chunks__/chunk-ZFXAT6MD.mjs";import{a as H}from"../__chunks__/chunk-Q2Q4XN4M.mjs";import{a as D}from"../__chunks__/chunk-YK7T6MBD.mjs";import{a as E}from"../__chunks__/chunk-KMJMQEXI.mjs";import{a as B,b as C}from"../__chunks__/chunk-72VXBZOB.mjs";import{a as A}from"../__chunks__/chunk-3GGBXXXJ.mjs";import{a as z}from"../__chunks__/chunk-O7LCTC4K.mjs";import"../__chunks__/chunk-4NFQOHJB.mjs";import"../__chunks__/chunk-T4FRQ4JG.mjs";import"../__chunks__/chunk-UTWIKUIK.mjs";import"../__chunks__/chunk-UERJ6AKK.mjs";import"../__chunks__/chunk-KPK72MOE.mjs";import"../__chunks__/chunk-7VHTZYM2.mjs";import"../__chunks__/chunk-VNLGNNIL.mjs";import"../__chunks__/chunk-6JM4DPOH.mjs";import"../__chunks__/chunk-ZODTYAYF.mjs";import"../__chunks__/chunk-NLRDRI7Q.mjs";import"../__chunks__/chunk-DKX6JUT6.mjs";import"../__chunks__/chunk-UVJWRU3H.mjs";import"../__chunks__/chunk-KRWR77QE.mjs";import"../__chunks__/chunk-B7YCKWDU.mjs";import"../__chunks__/chunk-HDJOER66.mjs";import"../__chunks__/chunk-A7FTKX2A.mjs";import"../__chunks__/chunk-XKU5QBXG.mjs";import"../__chunks__/chunk-WZGG2YKQ.mjs";import"../__chunks__/chunk-JMC7CMTU.mjs";import"../__chunks__/chunk-S2B2ZKIJ.mjs";import"../__chunks__/chunk-T2YPFNVM.mjs";import"../__chunks__/chunk-M7BM6QPB.mjs";import"../__chunks__/chunk-5N4F5T5L.mjs";import"../__chunks__/chunk-CYCS3K6Q.mjs";import"../__chunks__/chunk-YMPZDHKF.mjs";import"../__chunks__/chunk-VKEESSBI.mjs";import"../__chunks__/chunk-2DNGCNYM.mjs";import"../__chunks__/chunk-SQVKVA7X.mjs";import"../__chunks__/chunk-I24YBVHK.mjs";import"../__chunks__/chunk-NB7A4C7L.mjs";import"../__chunks__/chunk-PJWJZHIS.mjs";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../__chunks__/chunk-KD2IQ32V.mjs";import"../__chunks__/chunk-NTEMINYA.mjs";import"../__chunks__/chunk-3FXHIV6O.mjs";import"../__chunks__/chunk-PKDR5ERF.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-2FA2VSIL.mjs";export{a as ACCOUNTS_ENDPOINT,b as ADDRESS_ENDPOINT,c as BLOCKS_ENDPOINT,d as CODE_ENDPOINT,e as COLLECTIONS_ENDPOINT,f as CONFIG_ENDPOINT,g as CONTRACTS_ENDPOINT,h as ECONOMICS_ENDPOINT,i as IDENTITIES_ENDPOINT,j as KEYS_ENDPOINT,k as LOCKED_ACCOUNTS_ENDPOINT,l as LOGS_ENDPOINT,m as MINIBLOCKS_ENDPOINT,n as NETWORK_CONFIG_ENDPOINT,o as NFTS_ENDPOINT,p as NODES_ENDPOINT,q as PROVIDERS_ENDPOINT,r as ROLES_ENDPOINT,s as SC_RESULTS_ENDPOINT,t as STAKE_ENDPOINT,u as TOKENS_ENDPOINT,w as TRANSACTIONS_BATCH,v as TRANSACTIONS_COUNT_ENDPOINT,x as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,B as accountFetcher,G as axiosFetcher,z as axiosInstance,C as getAccountFromApi,A as getCleanApiAddress,E as getNetworkConfigFromApi,D as getServerConfiguration,F as getTokenDetails,H as getWebsocketUrl};
1
+ import"../__chunks__/chunk-YV7ZJBAY.mjs";import"../__chunks__/chunk-K5MJ4FMD.mjs";import{a as F}from"../__chunks__/chunk-LE4PGU3R.mjs";import"../__chunks__/chunk-DXRSXWLQ.mjs";import"../__chunks__/chunk-INRKVOET.mjs";import"../__chunks__/chunk-6ET5BDZH.mjs";import{a as G}from"../__chunks__/chunk-D2JYGLAC.mjs";import"../__chunks__/chunk-ZFXAT6MD.mjs";import{a as H}from"../__chunks__/chunk-Q2Q4XN4M.mjs";import{a as D}from"../__chunks__/chunk-YK7T6MBD.mjs";import{a as E}from"../__chunks__/chunk-KMJMQEXI.mjs";import{a as B,b as C}from"../__chunks__/chunk-72VXBZOB.mjs";import{a as A}from"../__chunks__/chunk-3GGBXXXJ.mjs";import{a as z}from"../__chunks__/chunk-O7LCTC4K.mjs";import"../__chunks__/chunk-XVCV7RBO.mjs";import"../__chunks__/chunk-T4FRQ4JG.mjs";import"../__chunks__/chunk-UTWIKUIK.mjs";import"../__chunks__/chunk-UERJ6AKK.mjs";import"../__chunks__/chunk-KPK72MOE.mjs";import"../__chunks__/chunk-7VHTZYM2.mjs";import"../__chunks__/chunk-VNLGNNIL.mjs";import"../__chunks__/chunk-6JM4DPOH.mjs";import"../__chunks__/chunk-ZODTYAYF.mjs";import"../__chunks__/chunk-NLRDRI7Q.mjs";import"../__chunks__/chunk-DKX6JUT6.mjs";import"../__chunks__/chunk-FGFCIIYV.mjs";import"../__chunks__/chunk-KRWR77QE.mjs";import"../__chunks__/chunk-B7YCKWDU.mjs";import"../__chunks__/chunk-HDJOER66.mjs";import"../__chunks__/chunk-A7FTKX2A.mjs";import"../__chunks__/chunk-XKU5QBXG.mjs";import"../__chunks__/chunk-WZGG2YKQ.mjs";import"../__chunks__/chunk-JMC7CMTU.mjs";import"../__chunks__/chunk-S2B2ZKIJ.mjs";import"../__chunks__/chunk-T2YPFNVM.mjs";import"../__chunks__/chunk-M7BM6QPB.mjs";import"../__chunks__/chunk-5N4F5T5L.mjs";import"../__chunks__/chunk-CYCS3K6Q.mjs";import"../__chunks__/chunk-YMPZDHKF.mjs";import"../__chunks__/chunk-VKEESSBI.mjs";import"../__chunks__/chunk-2DNGCNYM.mjs";import"../__chunks__/chunk-SQVKVA7X.mjs";import"../__chunks__/chunk-I24YBVHK.mjs";import"../__chunks__/chunk-NB7A4C7L.mjs";import"../__chunks__/chunk-PJWJZHIS.mjs";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../__chunks__/chunk-KD2IQ32V.mjs";import"../__chunks__/chunk-NTEMINYA.mjs";import"../__chunks__/chunk-3FXHIV6O.mjs";import"../__chunks__/chunk-PKDR5ERF.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-WTNH3ZF5.mjs";export{a as ACCOUNTS_ENDPOINT,b as ADDRESS_ENDPOINT,c as BLOCKS_ENDPOINT,d as CODE_ENDPOINT,e as COLLECTIONS_ENDPOINT,f as CONFIG_ENDPOINT,g as CONTRACTS_ENDPOINT,h as ECONOMICS_ENDPOINT,i as IDENTITIES_ENDPOINT,j as KEYS_ENDPOINT,k as LOCKED_ACCOUNTS_ENDPOINT,l as LOGS_ENDPOINT,m as MINIBLOCKS_ENDPOINT,n as NETWORK_CONFIG_ENDPOINT,o as NFTS_ENDPOINT,p as NODES_ENDPOINT,q as PROVIDERS_ENDPOINT,r as ROLES_ENDPOINT,s as SC_RESULTS_ENDPOINT,t as STAKE_ENDPOINT,u as TOKENS_ENDPOINT,w as TRANSACTIONS_BATCH,v as TRANSACTIONS_COUNT_ENDPOINT,x as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,B as accountFetcher,G as axiosFetcher,z as axiosInstance,C as getAccountFromApi,A as getCleanApiAddress,E as getNetworkConfigFromApi,D as getServerConfiguration,F as getTokenDetails,H as getWebsocketUrl};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-VM6MDBT7.mjs";import"../../__chunks__/chunk-3QWTD55I.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getPersistedTokenDetails};
1
+ import{a}from"../../__chunks__/chunk-XM6YSGYU.mjs";import"../../__chunks__/chunk-3QWTD55I.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getPersistedTokenDetails};
2
2
  //# sourceMappingURL=getPersistedTokenDetails.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-36H647WW.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getTokenDetails};
1
+ import{a}from"../../__chunks__/chunk-LE4PGU3R.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getTokenDetails};
2
2
  //# sourceMappingURL=getTokenDetails.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../__chunks__/chunk-K5MJ4FMD.mjs";import{a}from"../../__chunks__/chunk-36H647WW.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getTokenDetails};
1
+ import"../../__chunks__/chunk-K5MJ4FMD.mjs";import{a}from"../../__chunks__/chunk-LE4PGU3R.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getTokenDetails};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-JMQAWP2A.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getServerTransactionsByHashes};
1
+ import{a}from"../../__chunks__/chunk-OAIHKC7S.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getServerTransactionsByHashes};
2
2
  //# sourceMappingURL=getServerTransactionsByHashes.mjs.map
@@ -1,2 +1,2 @@
1
- import{s as o}from"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import{b as t}from"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{x as r}from"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";import m from"axios";var T=e=>{let{apiAddress:i}=t(o());return m.get(`${i}/${r}/${e}`,{timeout:1e4})};export{T as getTransactionByHash};
1
+ import{s as o}from"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import{b as t}from"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{x as r}from"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";import m from"axios";var T=e=>{let{apiAddress:i}=t(o());return m.get(`${i}/${r}/${e}`,{timeout:1e4})};export{T as getTransactionByHash};
2
2
  //# sourceMappingURL=getTransactionByHash.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-HOBNVAOB.mjs";import"../../__chunks__/chunk-JMQAWP2A.mjs";import"../../__chunks__/chunk-4NFQOHJB.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-UVJWRU3H.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-2FA2VSIL.mjs";export{a as getTransactionsByHashes};
1
+ import{a}from"../../__chunks__/chunk-7NNMFFHI.mjs";import"../../__chunks__/chunk-OAIHKC7S.mjs";import"../../__chunks__/chunk-XVCV7RBO.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-FGFCIIYV.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-WTNH3ZF5.mjs";export{a as getTransactionsByHashes};
2
2
  //# sourceMappingURL=getTransactionsByHashes.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b}from"../__chunks__/chunk-UCWXFSUC.mjs";import"../__chunks__/chunk-2FA2VSIL.mjs";export{b as isBrowserWithPopupConfirmation,a as isSafari};
1
+ import{a,b}from"../__chunks__/chunk-XSVEDMAO.mjs";import"../__chunks__/chunk-WTNH3ZF5.mjs";export{b as isBrowserWithPopupConfirmation,a as isSafari};
2
2
  //# sourceMappingURL=browser.constants.mjs.map
@@ -1,2 +1,2 @@
1
- import"../__chunks__/chunk-5Y2ZDPP6.mjs";import{a as B,b as C,c as D,d as E,e as F,f as G,g as H,h as I,i as J,j as K,k as L}from"../__chunks__/chunk-LHEH7L4L.mjs";import{a as s,b as t}from"../__chunks__/chunk-UCWXFSUC.mjs";import{a as Q,b as R,c as S,d as T,e as U,f as V,g as W,h as X,i as Y,j as Z}from"../__chunks__/chunk-EJV4VNJG.mjs";import{a as _,b as $}from"../__chunks__/chunk-6R2WFQ7U.mjs";import{a as M,b as N,c as O,d as P}from"../__chunks__/chunk-YFIAKX5S.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A}from"../__chunks__/chunk-FI444OX3.mjs";import{a,b,c,d,e,f,g,h,i,j,k}from"../__chunks__/chunk-PKDR5ERF.mjs";import{a as l,b as m,c as n}from"../__chunks__/chunk-MGFIOCA4.mjs";import{a as o,b as p}from"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-LJX4MW7B.mjs";import{a as q,b as r}from"../__chunks__/chunk-2FA2VSIL.mjs";export{J as ALL_SHARDS_SHARD_ID,b as DEVNET_CHAIN_ID,c as DEVNET_EGLD_LABEL,m as ELLIPSIS,n as EMPTY_PPU,E as EXTRA_GAS_LIMIT_GUARDED_TX,D as GAS_LIMIT,C as GAS_PER_DATA_BYTE,F as GAS_PRICE,B as GAS_PRICE_MODIFIER,H as LEDGER_CONTRACT_DATA_ENABLED_VALUE,v as LEDGER_HASH_SIGN_MINIMUM_VERSION,u as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,w as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,y as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,z as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,x as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,f as MAINNET_CHAIN_ID,g as MAINNET_EGLD_LABEL,I as METACHAIN_SHARD_ID,j as MULTIVERSX_ORIGIN,L as MULTI_TRANSFER_EGLD_TOKEN,l as N_A,$ as PROVIDER_SEARCH_PARAM,K as REFUNDED_GAS,P as REHYDRATE_STORE_TIMEOUT,d as TESTNET_CHAIN_ID,e as TESTNET_EGLD_LABEL,k as TIMEOUT,G as VERSION,Y as WALLET_PROVIDER_CALLBACK_PARAM,Z as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,T as WALLET_PROVIDER_CONNECT_URL,R as WALLET_PROVIDER_DEVNET,U as WALLET_PROVIDER_DISCONNECT_URL,Q as WALLET_PROVIDER_MAINNET,V as WALLET_PROVIDER_SEND_TRANSACTION_URL,X as WALLET_PROVIDER_SIGN_MESSAGE_URL,W as WALLET_PROVIDER_SIGN_TRANSACTION_URL,S as WALLET_PROVIDER_TESTNET,o as WebsocketConnectionStatusEnum,h as chainIdByEnvironment,i as chainIdToEnvironment,a as fallbackNetworkConfigurations,t as isBrowserWithPopupConfirmation,s as isSafari,A as ledgerErrorCodes,M as persistConfig,_ as providerLabels,q as safeWindow,N as storage,O as subscriptions,r as version,p as websocketConnection};
1
+ import"../__chunks__/chunk-5Y2ZDPP6.mjs";import{a as B,b as C,c as D,d as E,e as F,f as G,g as H,h as I,i as J,j as K,k as L}from"../__chunks__/chunk-LHEH7L4L.mjs";import{a as s,b as t}from"../__chunks__/chunk-XSVEDMAO.mjs";import{a as Q,b as R,c as S,d as T,e as U,f as V,g as W,h as X,i as Y,j as Z}from"../__chunks__/chunk-EJV4VNJG.mjs";import{a as _,b as $}from"../__chunks__/chunk-6R2WFQ7U.mjs";import{a as M,b as N,c as O,d as P}from"../__chunks__/chunk-ANKD2C6B.mjs";import{a as u,b as v,c as w,d as x,e as y,f as z,g as A}from"../__chunks__/chunk-FI444OX3.mjs";import{a,b,c,d,e,f,g,h,i,j,k}from"../__chunks__/chunk-PKDR5ERF.mjs";import{a as l,b as m,c as n}from"../__chunks__/chunk-MGFIOCA4.mjs";import{a as o,b as p}from"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-LJX4MW7B.mjs";import{a as q,b as r}from"../__chunks__/chunk-WTNH3ZF5.mjs";export{J as ALL_SHARDS_SHARD_ID,b as DEVNET_CHAIN_ID,c as DEVNET_EGLD_LABEL,m as ELLIPSIS,n as EMPTY_PPU,E as EXTRA_GAS_LIMIT_GUARDED_TX,D as GAS_LIMIT,C as GAS_PER_DATA_BYTE,F as GAS_PRICE,B as GAS_PRICE_MODIFIER,H as LEDGER_CONTRACT_DATA_ENABLED_VALUE,v as LEDGER_HASH_SIGN_MINIMUM_VERSION,u as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,w as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,y as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,z as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,x as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,f as MAINNET_CHAIN_ID,g as MAINNET_EGLD_LABEL,I as METACHAIN_SHARD_ID,j as MULTIVERSX_ORIGIN,L as MULTI_TRANSFER_EGLD_TOKEN,l as N_A,$ as PROVIDER_SEARCH_PARAM,K as REFUNDED_GAS,P as REHYDRATE_STORE_TIMEOUT,d as TESTNET_CHAIN_ID,e as TESTNET_EGLD_LABEL,k as TIMEOUT,G as VERSION,Y as WALLET_PROVIDER_CALLBACK_PARAM,Z as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,T as WALLET_PROVIDER_CONNECT_URL,R as WALLET_PROVIDER_DEVNET,U as WALLET_PROVIDER_DISCONNECT_URL,Q as WALLET_PROVIDER_MAINNET,V as WALLET_PROVIDER_SEND_TRANSACTION_URL,X as WALLET_PROVIDER_SIGN_MESSAGE_URL,W as WALLET_PROVIDER_SIGN_TRANSACTION_URL,S as WALLET_PROVIDER_TESTNET,o as WebsocketConnectionStatusEnum,h as chainIdByEnvironment,i as chainIdToEnvironment,a as fallbackNetworkConfigurations,t as isBrowserWithPopupConfirmation,s as isSafari,A as ledgerErrorCodes,M as persistConfig,_ as providerLabels,q as safeWindow,N as storage,O as subscriptions,r as version,p as websocketConnection};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../__chunks__/chunk-YFIAKX5S.mjs";import"../__chunks__/chunk-2FA2VSIL.mjs";export{d as REHYDRATE_STORE_TIMEOUT,a as persistConfig,b as storage,c as subscriptions};
1
+ import{a,b,c,d}from"../__chunks__/chunk-ANKD2C6B.mjs";import"../__chunks__/chunk-WTNH3ZF5.mjs";export{d as REHYDRATE_STORE_TIMEOUT,a as persistConfig,b as storage,c as subscriptions};
2
2
  //# sourceMappingURL=storage.constants.mjs.map
@@ -23,7 +23,7 @@ __export(window_constants_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(window_constants_exports);
25
25
  const safeWindow = typeof window !== "undefined" ? window : {};
26
- const version = "5.3.0-alpha.5";
26
+ const version = "5.3.0-alpha.6";
27
27
  // Annotate the CommonJS export names for ESM import in node:
28
28
  0 && (module.exports = {
29
29
  safeWindow,
@@ -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.3.0-alpha.5'; // 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.3.0-alpha.6'; // will be replaced at build time\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,aACX,OAAO,WAAW,cAAc,SAAU,CAAC;AAEtC,MAAM,UAAU;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a,b}from"../__chunks__/chunk-2FA2VSIL.mjs";export{a as safeWindow,b as version};
1
+ import{a,b}from"../__chunks__/chunk-WTNH3ZF5.mjs";export{a as safeWindow,b as version};
2
2
  //# sourceMappingURL=window.constants.mjs.map