@multiversx/sdk-dapp 5.1.2 → 5.1.3-alpha.0

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 (503) hide show
  1. package/out/__chunks__/chunk-23BMJL5I.mjs +2 -0
  2. package/out/__chunks__/chunk-23VZAAPS.mjs +2 -0
  3. package/out/__chunks__/chunk-2ARILYKC.mjs +2 -0
  4. package/out/__chunks__/{chunk-ZS4EBCWC.mjs → chunk-2GG67TZD.mjs} +2 -2
  5. package/out/__chunks__/chunk-2IUBMLF4.mjs +2 -0
  6. package/out/__chunks__/{chunk-CAA4VJRH.mjs.map → chunk-2IUBMLF4.mjs.map} +3 -3
  7. package/out/__chunks__/chunk-2OYUVJ4V.mjs +2 -0
  8. package/out/__chunks__/{chunk-I6WJ63GD.mjs → chunk-3DBK6MUI.mjs} +2 -2
  9. package/out/__chunks__/{chunk-H4DISFAI.mjs → chunk-42XAKFZX.mjs} +2 -2
  10. package/out/__chunks__/chunk-4I7IJNEQ.mjs +2 -0
  11. package/out/__chunks__/{chunk-2ONA7QPD.mjs → chunk-5DP2QBUG.mjs} +2 -2
  12. package/out/__chunks__/{chunk-IR743HKQ.mjs → chunk-5IB7V3T5.mjs} +2 -2
  13. package/out/__chunks__/{chunk-54XYKDH7.mjs → chunk-6CWZFHNV.mjs} +2 -2
  14. package/out/__chunks__/{chunk-5KVNYLOM.mjs → chunk-6DWUEZO7.mjs} +2 -2
  15. package/out/__chunks__/{chunk-LQ6WESDL.mjs → chunk-6QURUDVX.mjs} +2 -2
  16. package/out/__chunks__/{chunk-WJI5FXSZ.mjs → chunk-7R7GYV2Q.mjs} +2 -2
  17. package/out/__chunks__/{chunk-Y7QM3LPW.mjs → chunk-AIHJZJX7.mjs} +2 -2
  18. package/out/__chunks__/{chunk-STVYY4LI.mjs → chunk-AJ5LH5DY.mjs} +2 -2
  19. package/out/__chunks__/{chunk-2DUVXRMU.mjs → chunk-ALLSMTZ6.mjs} +2 -2
  20. package/out/__chunks__/chunk-BFIHV4M5.mjs +2 -0
  21. package/out/__chunks__/chunk-BHAHZQVO.mjs +2 -0
  22. package/out/__chunks__/chunk-BHAHZQVO.mjs.map +7 -0
  23. package/out/__chunks__/{chunk-OP2PPPAN.mjs → chunk-BIQTHJFC.mjs} +2 -2
  24. package/out/__chunks__/{chunk-KP4MUQKU.mjs → chunk-BJX6XZJZ.mjs} +2 -2
  25. package/out/__chunks__/{chunk-NZWPA245.mjs → chunk-CP5CXMNG.mjs} +2 -2
  26. package/out/__chunks__/{chunk-I4HR64FU.mjs → chunk-D2MEDQRS.mjs} +2 -2
  27. package/out/__chunks__/{chunk-PAAJPYAE.mjs → chunk-D7Q254FK.mjs} +2 -2
  28. package/out/__chunks__/{chunk-2SVWHJC4.mjs → chunk-DATOYALW.mjs} +2 -2
  29. package/out/__chunks__/{chunk-S5YFFC7A.mjs → chunk-DO4PJGXP.mjs} +2 -2
  30. package/out/__chunks__/chunk-DSVSX4ZT.mjs +2 -0
  31. package/out/__chunks__/chunk-DSVSX4ZT.mjs.map +7 -0
  32. package/out/__chunks__/{chunk-6BF62TP4.mjs → chunk-DXI7IIPO.mjs} +2 -2
  33. package/out/__chunks__/chunk-DZ2BIDRW.mjs +2 -0
  34. package/out/__chunks__/chunk-DZ2BIDRW.mjs.map +7 -0
  35. package/out/__chunks__/{chunk-UJUAT5NK.mjs → chunk-E75WVJBY.mjs} +2 -2
  36. package/out/__chunks__/chunk-EAH7XGM3.mjs +2 -0
  37. package/out/__chunks__/chunk-EAH7XGM3.mjs.map +7 -0
  38. package/out/__chunks__/{chunk-DG77T3NS.mjs → chunk-ECUWXEXM.mjs} +2 -2
  39. package/out/__chunks__/{chunk-ARAO6B2F.mjs → chunk-EE3KJKGZ.mjs} +2 -2
  40. package/out/__chunks__/chunk-ESLRNICJ.mjs +2 -0
  41. package/out/__chunks__/chunk-EYNCTMGG.mjs +2 -0
  42. package/out/__chunks__/{chunk-KAQ5IXKK.mjs → chunk-FI6P7XAS.mjs} +2 -2
  43. package/out/__chunks__/chunk-G4CMYBPE.mjs +2 -0
  44. package/out/__chunks__/chunk-GF6ZP3BP.mjs +2 -0
  45. package/out/__chunks__/{chunk-RNSBN5JT.mjs → chunk-GWOW4TBY.mjs} +2 -2
  46. package/out/__chunks__/chunk-HI6GWYQP.mjs +2 -0
  47. package/out/__chunks__/{chunk-YFXATY46.mjs → chunk-HSCQLXDI.mjs} +2 -2
  48. package/out/__chunks__/{chunk-HOJ7JMTW.mjs → chunk-HZII4LOV.mjs} +2 -2
  49. package/out/__chunks__/chunk-I4BDQFVV.mjs +2 -0
  50. package/out/__chunks__/{chunk-2L25IGHZ.mjs → chunk-IBVUYIRU.mjs} +2 -2
  51. package/out/__chunks__/chunk-IE3UIHJF.mjs +2 -0
  52. package/out/__chunks__/{chunk-KX5J6EMC.mjs.map → chunk-IE3UIHJF.mjs.map} +1 -1
  53. package/out/__chunks__/{chunk-3CKDOF3O.mjs → chunk-IGTJKYGR.mjs} +2 -2
  54. package/out/__chunks__/{chunk-RJOP7SCI.mjs → chunk-ITHXLW7N.mjs} +2 -2
  55. package/out/__chunks__/{chunk-FVFVOSQ4.mjs → chunk-J2SRCAF3.mjs} +2 -2
  56. package/out/__chunks__/{chunk-BGUYSNNW.mjs → chunk-J42MMBDO.mjs} +2 -2
  57. package/out/__chunks__/{chunk-YD2O3NV7.mjs → chunk-JW2KPAHT.mjs} +2 -2
  58. package/out/__chunks__/chunk-KDNN7EJ5.mjs +2 -0
  59. package/out/__chunks__/{chunk-N6QD4PLA.mjs → chunk-KG5VFT6E.mjs} +2 -2
  60. package/out/__chunks__/chunk-KIOUFP5Q.mjs +1 -0
  61. package/out/__chunks__/{chunk-4AUL3FHT.mjs → chunk-KJB2FQHY.mjs} +2 -2
  62. package/out/__chunks__/{chunk-FFHHIKMI.mjs → chunk-KQNIDAOO.mjs} +2 -2
  63. package/out/__chunks__/{chunk-JV7AJLRI.mjs → chunk-L5SWSYR7.mjs} +2 -2
  64. package/out/__chunks__/{chunk-IZ4B4B35.mjs → chunk-M2GO2ZKG.mjs} +2 -2
  65. package/out/__chunks__/{chunk-PO3ODHJ7.mjs → chunk-MQABF3VZ.mjs} +2 -2
  66. package/out/__chunks__/{chunk-BQP6NPQM.mjs → chunk-MVDR6OGY.mjs} +2 -2
  67. package/out/__chunks__/chunk-N342XMFH.mjs +6 -0
  68. package/out/__chunks__/chunk-N342XMFH.mjs.map +7 -0
  69. package/out/__chunks__/{chunk-7ONKP4ZG.mjs → chunk-NHIO5LHC.mjs} +2 -2
  70. package/out/__chunks__/{chunk-GSRRAPL5.mjs → chunk-NIUHMHFD.mjs} +2 -2
  71. package/out/__chunks__/{chunk-7VNNDJ7P.mjs → chunk-NOMP7OYA.mjs} +2 -2
  72. package/out/__chunks__/{chunk-DJ2HTZOV.mjs → chunk-NP5YXGD3.mjs} +2 -2
  73. package/out/__chunks__/{chunk-DCX2NQAU.mjs → chunk-OBUQ633K.mjs} +2 -2
  74. package/out/__chunks__/chunk-OL6LWUIJ.mjs +1 -0
  75. package/out/__chunks__/chunk-OL6LWUIJ.mjs.map +7 -0
  76. package/out/__chunks__/chunk-OOVV574D.mjs +2 -0
  77. package/out/__chunks__/chunk-OOVV574D.mjs.map +7 -0
  78. package/out/__chunks__/{chunk-AXCK3KRV.mjs → chunk-OV6QTSRW.mjs} +2 -2
  79. package/out/__chunks__/{chunk-Z63LDNZJ.mjs → chunk-P5OCEUZJ.mjs} +2 -2
  80. package/out/__chunks__/chunk-PLMCHSS6.mjs +2 -0
  81. package/out/__chunks__/chunk-PLMCHSS6.mjs.map +7 -0
  82. package/out/__chunks__/{chunk-E5CUE265.mjs → chunk-PZKUGWW4.mjs} +2 -2
  83. package/out/__chunks__/chunk-QCKPVCWD.mjs +2 -0
  84. package/out/__chunks__/{chunk-BNBD3WVN.mjs → chunk-RBJ3O63I.mjs} +2 -2
  85. package/out/__chunks__/{chunk-5AZZG5KG.mjs → chunk-RDTIWBQU.mjs} +2 -2
  86. package/out/__chunks__/{chunk-XUADWD55.mjs → chunk-RHJ4M62M.mjs} +2 -2
  87. package/out/__chunks__/{chunk-LPGMDX6Q.mjs → chunk-SDFOOFQZ.mjs} +2 -2
  88. package/out/__chunks__/chunk-SMWXMBEX.mjs +2 -0
  89. package/out/__chunks__/{chunk-OCGNA44K.mjs → chunk-ST2OXKY2.mjs} +2 -2
  90. package/out/__chunks__/{chunk-XNIJIKGB.mjs → chunk-T54HTQQQ.mjs} +2 -2
  91. package/out/__chunks__/chunk-TFZ46GCB.mjs +1 -0
  92. package/out/__chunks__/chunk-TFZ46GCB.mjs.map +7 -0
  93. package/out/__chunks__/{chunk-TMMUB3IK.mjs → chunk-U63YDSPL.mjs} +2 -2
  94. package/out/__chunks__/{chunk-2HKAVY3C.mjs → chunk-UB2NR7NA.mjs} +2 -2
  95. package/out/__chunks__/{chunk-CYEMHPEX.mjs → chunk-UGLW3SSB.mjs} +2 -2
  96. package/out/__chunks__/{chunk-DNFWIYZH.mjs → chunk-UNBTFF6K.mjs} +2 -2
  97. package/out/__chunks__/{chunk-PHMJQ5FC.mjs → chunk-V226OFPH.mjs} +2 -2
  98. package/out/__chunks__/{chunk-VRG2R5C7.mjs → chunk-VBXM6QDZ.mjs} +2 -2
  99. package/out/__chunks__/{chunk-CAAMS3C5.mjs → chunk-WCHM6ROW.mjs} +2 -2
  100. package/out/__chunks__/chunk-WJQVMI33.mjs +2 -0
  101. package/out/__chunks__/chunk-WJQVMI33.mjs.map +7 -0
  102. package/out/__chunks__/{chunk-72D44IHE.mjs → chunk-WPGHI7H5.mjs} +2 -2
  103. package/out/__chunks__/chunk-WQYM2QJ2.mjs +2 -0
  104. package/out/__chunks__/{chunk-UXYMY3HG.mjs → chunk-X4PG526M.mjs} +2 -2
  105. package/out/__chunks__/{chunk-KXUILKL2.mjs → chunk-XBF3UPD7.mjs} +2 -2
  106. package/out/__chunks__/{chunk-IWROXIQ5.mjs → chunk-XJ54ERL3.mjs} +2 -2
  107. package/out/__chunks__/{chunk-6PDGQGIS.mjs → chunk-YGA2ZW7F.mjs} +2 -2
  108. package/out/__chunks__/chunk-YIF2ADTM.mjs +2 -0
  109. package/out/__chunks__/chunk-YIF2ADTM.mjs.map +7 -0
  110. package/out/__chunks__/{chunk-O24MRZB2.mjs → chunk-YPEZAU5L.mjs} +2 -2
  111. package/out/__chunks__/{chunk-XHKNB4IP.mjs → chunk-YY724VZR.mjs} +2 -2
  112. package/out/__chunks__/{chunk-4XIT3N7Y.mjs → chunk-ZAPTIV5E.mjs} +2 -2
  113. package/out/__chunks__/{chunk-S53SAYHR.mjs → chunk-ZGPDC6C7.mjs} +2 -2
  114. package/out/__chunks__/{chunk-27OTZWDO.mjs → chunk-ZQFABMSJ.mjs} +2 -2
  115. package/out/__mocks__/accountConfig.mjs +1 -1
  116. package/out/__mocks__/data/index.mjs +1 -1
  117. package/out/__mocks__/index.mjs +1 -1
  118. package/out/__mocks__/server.mjs +1 -1
  119. package/out/__mocks__/utils/index.mjs +1 -1
  120. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  121. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  122. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  123. package/out/apiCalls/index.mjs +1 -1
  124. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  125. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  126. package/out/apiCalls/tokens/index.mjs +1 -1
  127. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  128. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  129. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  130. package/out/constants/browser.constants.mjs +1 -1
  131. package/out/constants/index.mjs +1 -1
  132. package/out/constants/storage.constants.mjs +1 -1
  133. package/out/constants/transactions.constants.cjs +3 -0
  134. package/out/constants/transactions.constants.cjs.map +2 -2
  135. package/out/constants/transactions.constants.d.ts +1 -0
  136. package/out/constants/transactions.constants.mjs +1 -1
  137. package/out/constants/window.constants.cjs +1 -1
  138. package/out/constants/window.constants.cjs.map +1 -1
  139. package/out/constants/window.constants.mjs +1 -1
  140. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  141. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  142. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  143. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  144. package/out/index.mjs +1 -1
  145. package/out/lib/sdkDappUi.mjs +1 -1
  146. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  147. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  148. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  149. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  150. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  151. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  152. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  153. package/out/managers/TransactionManager/index.mjs +1 -1
  154. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  155. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  156. package/out/managers/index.mjs +1 -1
  157. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  158. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  159. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  160. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  161. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  162. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  163. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  164. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  165. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  166. package/out/managers/internal/ToastManager/ToastManager.cjs +3 -6
  167. package/out/managers/internal/ToastManager/ToastManager.cjs.map +2 -2
  168. package/out/managers/internal/ToastManager/ToastManager.d.ts +1 -1
  169. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  170. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  171. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  172. package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +1 -1
  173. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  174. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  175. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  176. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  177. package/out/managers/internal/index.mjs +1 -1
  178. package/out/methods/account/getAccount.mjs +1 -1
  179. package/out/methods/account/getAccountInfo.mjs +1 -1
  180. package/out/methods/account/getAddress.mjs +1 -1
  181. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  182. package/out/methods/account/getLatestNonce.mjs +1 -1
  183. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  184. package/out/methods/initApp/initApp.mjs +1 -1
  185. package/out/methods/initApp/initApp.mjs.map +1 -1
  186. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  187. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  188. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  189. package/out/methods/network/getEgldLabel.mjs +1 -1
  190. package/out/methods/network/getExplorerAddress.mjs +1 -1
  191. package/out/methods/network/getNetworkConfig.mjs +1 -1
  192. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  193. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  194. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  195. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  196. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  197. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  198. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  199. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  200. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  201. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  202. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  203. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  204. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  205. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  206. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  207. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  208. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  209. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  210. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  211. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  212. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  213. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  214. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  215. package/out/providers/DappProvider/index.mjs +1 -1
  216. package/out/providers/ProviderFactory.mjs +1 -1
  217. package/out/providers/helpers/accountProvider.mjs +1 -1
  218. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  219. package/out/providers/helpers/restoreProvider.mjs +1 -1
  220. package/out/providers/index.mjs +1 -1
  221. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  222. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  223. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  224. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  225. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  226. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  227. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  228. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  229. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  230. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  231. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  232. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  233. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  234. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  235. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  236. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  237. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  238. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  239. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  240. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  241. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  242. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  243. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  244. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  245. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  246. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  247. package/out/providers/strategies/helpers/index.mjs +1 -1
  248. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  249. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  250. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  251. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +2 -221
  252. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +3 -3
  253. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
  254. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  255. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  256. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
  257. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
  258. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
  259. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  260. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  261. package/out/providers/strategies/index.mjs +1 -1
  262. package/out/react/account/useGetAccount.mjs +1 -1
  263. package/out/react/account/useGetAccountInfo.mjs +1 -1
  264. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  265. package/out/react/account/useGetLatestNonce.mjs +1 -1
  266. package/out/react/index.mjs +1 -1
  267. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  268. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  269. package/out/react/store/getReactStore.mjs +1 -1
  270. package/out/react/store/useSelector.mjs +1 -1
  271. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  272. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  273. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  274. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  275. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  276. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  277. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  278. package/out/services/index.mjs +1 -1
  279. package/out/services/nativeAuth/index.mjs +1 -1
  280. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  281. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  282. package/out/services/nativeAuth/methods/index.mjs +1 -1
  283. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  284. package/out/store/actions/account/accountActions.mjs +1 -1
  285. package/out/store/actions/account/index.mjs +1 -1
  286. package/out/store/actions/cache/cacheActions.mjs +1 -1
  287. package/out/store/actions/cache/index.mjs +1 -1
  288. package/out/store/actions/config/configActions.mjs +1 -1
  289. package/out/store/actions/config/index.mjs +1 -1
  290. package/out/store/actions/index.mjs +1 -1
  291. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  292. package/out/store/actions/network/index.mjs +1 -1
  293. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  294. package/out/store/actions/network/networkActions.mjs +1 -1
  295. package/out/store/actions/sharedActions/index.mjs +1 -1
  296. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  297. package/out/store/actions/toasts/index.mjs +1 -1
  298. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  299. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  300. package/out/store/actions/ui/index.mjs +1 -1
  301. package/out/store/actions/ui/uiActions.mjs +1 -1
  302. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  303. package/out/store/middleware/index.mjs +1 -1
  304. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  305. package/out/store/selectors/index.mjs +1 -1
  306. package/out/store/storage/index.mjs +1 -1
  307. package/out/store/storage/storageCallback.mjs +1 -1
  308. package/out/store/store.mjs +1 -1
  309. package/out/types/index.mjs +1 -1
  310. package/out/utils/ComponentFactory.mjs +1 -1
  311. package/out/utils/account/index.mjs +1 -1
  312. package/out/utils/account/refreshAccount.mjs +1 -1
  313. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  314. package/out/utils/dateTime/index.mjs +1 -1
  315. package/out/utils/index.mjs +1 -1
  316. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  317. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +111 -0
  318. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +7 -0
  319. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.d.ts +9 -0
  320. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +2 -0
  321. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs.map +7 -0
  322. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +90 -0
  323. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +7 -0
  324. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +8 -0
  325. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +2 -0
  326. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs.map +7 -0
  327. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +48 -0
  328. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +7 -0
  329. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +9 -0
  330. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +2 -0
  331. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs.map +7 -0
  332. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +45 -0
  333. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +7 -0
  334. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +9 -0
  335. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +2 -0
  336. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs.map +7 -0
  337. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +61 -0
  338. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +7 -0
  339. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +9 -0
  340. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +2 -0
  341. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs.map +7 -0
  342. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +39 -0
  343. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +7 -0
  344. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.d.ts +1 -0
  345. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.mjs +2 -0
  346. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.mjs.map +7 -0
  347. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +52 -0
  348. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +7 -0
  349. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.d.ts +7 -0
  350. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +2 -0
  351. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs.map +7 -0
  352. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +33 -0
  353. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +7 -0
  354. package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +6 -0
  355. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +2 -0
  356. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +7 -0
  357. package/out/utils/transactions/getDecodedDataField/index.cjs +25 -0
  358. package/out/utils/transactions/getDecodedDataField/index.cjs.map +7 -0
  359. package/out/utils/transactions/getDecodedDataField/index.d.ts +2 -0
  360. package/out/utils/transactions/getDecodedDataField/index.mjs +2 -0
  361. package/out/utils/transactions/getDecodedDataField/index.mjs.map +7 -0
  362. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  363. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  364. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
  365. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  366. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  367. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  368. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  369. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
  370. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  371. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  372. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  373. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  374. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  375. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  376. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  377. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  378. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  379. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  380. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  381. package/out/utils/transactions/index.cjs +2 -0
  382. package/out/utils/transactions/index.cjs.map +2 -2
  383. package/out/utils/transactions/index.d.ts +1 -0
  384. package/out/utils/transactions/index.mjs +1 -1
  385. package/out/utils/validation/index.mjs +1 -1
  386. package/out/utils/validation/isContract.mjs +1 -1
  387. package/out/utils/visual/index.mjs +1 -1
  388. package/out/utils/visual/switchTheme.mjs +1 -1
  389. package/out/utils/window/getIsInIframe.mjs +1 -1
  390. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  391. package/out/utils/window/index.mjs +1 -1
  392. package/package.json +1 -1
  393. package/out/__chunks__/chunk-3NQTC6AZ.mjs +0 -2
  394. package/out/__chunks__/chunk-4EMQSUU6.mjs +0 -2
  395. package/out/__chunks__/chunk-5JYD7XMI.mjs +0 -2
  396. package/out/__chunks__/chunk-6CQMLD25.mjs +0 -1
  397. package/out/__chunks__/chunk-BETSOJFK.mjs +0 -6
  398. package/out/__chunks__/chunk-BETSOJFK.mjs.map +0 -7
  399. package/out/__chunks__/chunk-CAA4VJRH.mjs +0 -2
  400. package/out/__chunks__/chunk-IRBGQJE4.mjs +0 -2
  401. package/out/__chunks__/chunk-J64N3RXX.mjs +0 -2
  402. package/out/__chunks__/chunk-JN5CTLWW.mjs +0 -2
  403. package/out/__chunks__/chunk-KK25BEMY.mjs +0 -2
  404. package/out/__chunks__/chunk-KX5J6EMC.mjs +0 -2
  405. package/out/__chunks__/chunk-LTRQRVWX.mjs +0 -2
  406. package/out/__chunks__/chunk-LY3MRREN.mjs +0 -2
  407. package/out/__chunks__/chunk-LY3MRREN.mjs.map +0 -7
  408. package/out/__chunks__/chunk-MGHFXYZ5.mjs +0 -2
  409. package/out/__chunks__/chunk-MK36TMYT.mjs +0 -2
  410. package/out/__chunks__/chunk-OF3XH6ZU.mjs +0 -2
  411. package/out/__chunks__/chunk-QQEQNSRI.mjs +0 -2
  412. package/out/__chunks__/chunk-SGQJOLH2.mjs +0 -2
  413. package/out/__chunks__/chunk-TMOMM4JN.mjs +0 -2
  414. package/out/__chunks__/chunk-XUI3Z5NN.mjs +0 -2
  415. package/out/__chunks__/chunk-YVLFUMPH.mjs +0 -2
  416. /package/out/__chunks__/{chunk-SGQJOLH2.mjs.map → chunk-23BMJL5I.mjs.map} +0 -0
  417. /package/out/__chunks__/{chunk-IRBGQJE4.mjs.map → chunk-23VZAAPS.mjs.map} +0 -0
  418. /package/out/__chunks__/{chunk-MK36TMYT.mjs.map → chunk-2ARILYKC.mjs.map} +0 -0
  419. /package/out/__chunks__/{chunk-ZS4EBCWC.mjs.map → chunk-2GG67TZD.mjs.map} +0 -0
  420. /package/out/__chunks__/{chunk-J64N3RXX.mjs.map → chunk-2OYUVJ4V.mjs.map} +0 -0
  421. /package/out/__chunks__/{chunk-I6WJ63GD.mjs.map → chunk-3DBK6MUI.mjs.map} +0 -0
  422. /package/out/__chunks__/{chunk-H4DISFAI.mjs.map → chunk-42XAKFZX.mjs.map} +0 -0
  423. /package/out/__chunks__/{chunk-4EMQSUU6.mjs.map → chunk-4I7IJNEQ.mjs.map} +0 -0
  424. /package/out/__chunks__/{chunk-2ONA7QPD.mjs.map → chunk-5DP2QBUG.mjs.map} +0 -0
  425. /package/out/__chunks__/{chunk-IR743HKQ.mjs.map → chunk-5IB7V3T5.mjs.map} +0 -0
  426. /package/out/__chunks__/{chunk-54XYKDH7.mjs.map → chunk-6CWZFHNV.mjs.map} +0 -0
  427. /package/out/__chunks__/{chunk-5KVNYLOM.mjs.map → chunk-6DWUEZO7.mjs.map} +0 -0
  428. /package/out/__chunks__/{chunk-LQ6WESDL.mjs.map → chunk-6QURUDVX.mjs.map} +0 -0
  429. /package/out/__chunks__/{chunk-WJI5FXSZ.mjs.map → chunk-7R7GYV2Q.mjs.map} +0 -0
  430. /package/out/__chunks__/{chunk-Y7QM3LPW.mjs.map → chunk-AIHJZJX7.mjs.map} +0 -0
  431. /package/out/__chunks__/{chunk-STVYY4LI.mjs.map → chunk-AJ5LH5DY.mjs.map} +0 -0
  432. /package/out/__chunks__/{chunk-2DUVXRMU.mjs.map → chunk-ALLSMTZ6.mjs.map} +0 -0
  433. /package/out/__chunks__/{chunk-MGHFXYZ5.mjs.map → chunk-BFIHV4M5.mjs.map} +0 -0
  434. /package/out/__chunks__/{chunk-OP2PPPAN.mjs.map → chunk-BIQTHJFC.mjs.map} +0 -0
  435. /package/out/__chunks__/{chunk-KP4MUQKU.mjs.map → chunk-BJX6XZJZ.mjs.map} +0 -0
  436. /package/out/__chunks__/{chunk-NZWPA245.mjs.map → chunk-CP5CXMNG.mjs.map} +0 -0
  437. /package/out/__chunks__/{chunk-I4HR64FU.mjs.map → chunk-D2MEDQRS.mjs.map} +0 -0
  438. /package/out/__chunks__/{chunk-PAAJPYAE.mjs.map → chunk-D7Q254FK.mjs.map} +0 -0
  439. /package/out/__chunks__/{chunk-2SVWHJC4.mjs.map → chunk-DATOYALW.mjs.map} +0 -0
  440. /package/out/__chunks__/{chunk-S5YFFC7A.mjs.map → chunk-DO4PJGXP.mjs.map} +0 -0
  441. /package/out/__chunks__/{chunk-6BF62TP4.mjs.map → chunk-DXI7IIPO.mjs.map} +0 -0
  442. /package/out/__chunks__/{chunk-UJUAT5NK.mjs.map → chunk-E75WVJBY.mjs.map} +0 -0
  443. /package/out/__chunks__/{chunk-DG77T3NS.mjs.map → chunk-ECUWXEXM.mjs.map} +0 -0
  444. /package/out/__chunks__/{chunk-ARAO6B2F.mjs.map → chunk-EE3KJKGZ.mjs.map} +0 -0
  445. /package/out/__chunks__/{chunk-5JYD7XMI.mjs.map → chunk-ESLRNICJ.mjs.map} +0 -0
  446. /package/out/__chunks__/{chunk-YVLFUMPH.mjs.map → chunk-EYNCTMGG.mjs.map} +0 -0
  447. /package/out/__chunks__/{chunk-KAQ5IXKK.mjs.map → chunk-FI6P7XAS.mjs.map} +0 -0
  448. /package/out/__chunks__/{chunk-LTRQRVWX.mjs.map → chunk-G4CMYBPE.mjs.map} +0 -0
  449. /package/out/__chunks__/{chunk-3NQTC6AZ.mjs.map → chunk-GF6ZP3BP.mjs.map} +0 -0
  450. /package/out/__chunks__/{chunk-RNSBN5JT.mjs.map → chunk-GWOW4TBY.mjs.map} +0 -0
  451. /package/out/__chunks__/{chunk-JN5CTLWW.mjs.map → chunk-HI6GWYQP.mjs.map} +0 -0
  452. /package/out/__chunks__/{chunk-YFXATY46.mjs.map → chunk-HSCQLXDI.mjs.map} +0 -0
  453. /package/out/__chunks__/{chunk-HOJ7JMTW.mjs.map → chunk-HZII4LOV.mjs.map} +0 -0
  454. /package/out/__chunks__/{chunk-QQEQNSRI.mjs.map → chunk-I4BDQFVV.mjs.map} +0 -0
  455. /package/out/__chunks__/{chunk-2L25IGHZ.mjs.map → chunk-IBVUYIRU.mjs.map} +0 -0
  456. /package/out/__chunks__/{chunk-3CKDOF3O.mjs.map → chunk-IGTJKYGR.mjs.map} +0 -0
  457. /package/out/__chunks__/{chunk-RJOP7SCI.mjs.map → chunk-ITHXLW7N.mjs.map} +0 -0
  458. /package/out/__chunks__/{chunk-FVFVOSQ4.mjs.map → chunk-J2SRCAF3.mjs.map} +0 -0
  459. /package/out/__chunks__/{chunk-BGUYSNNW.mjs.map → chunk-J42MMBDO.mjs.map} +0 -0
  460. /package/out/__chunks__/{chunk-YD2O3NV7.mjs.map → chunk-JW2KPAHT.mjs.map} +0 -0
  461. /package/out/__chunks__/{chunk-XUI3Z5NN.mjs.map → chunk-KDNN7EJ5.mjs.map} +0 -0
  462. /package/out/__chunks__/{chunk-N6QD4PLA.mjs.map → chunk-KG5VFT6E.mjs.map} +0 -0
  463. /package/out/__chunks__/{chunk-6CQMLD25.mjs.map → chunk-KIOUFP5Q.mjs.map} +0 -0
  464. /package/out/__chunks__/{chunk-4AUL3FHT.mjs.map → chunk-KJB2FQHY.mjs.map} +0 -0
  465. /package/out/__chunks__/{chunk-FFHHIKMI.mjs.map → chunk-KQNIDAOO.mjs.map} +0 -0
  466. /package/out/__chunks__/{chunk-JV7AJLRI.mjs.map → chunk-L5SWSYR7.mjs.map} +0 -0
  467. /package/out/__chunks__/{chunk-IZ4B4B35.mjs.map → chunk-M2GO2ZKG.mjs.map} +0 -0
  468. /package/out/__chunks__/{chunk-PO3ODHJ7.mjs.map → chunk-MQABF3VZ.mjs.map} +0 -0
  469. /package/out/__chunks__/{chunk-BQP6NPQM.mjs.map → chunk-MVDR6OGY.mjs.map} +0 -0
  470. /package/out/__chunks__/{chunk-7ONKP4ZG.mjs.map → chunk-NHIO5LHC.mjs.map} +0 -0
  471. /package/out/__chunks__/{chunk-GSRRAPL5.mjs.map → chunk-NIUHMHFD.mjs.map} +0 -0
  472. /package/out/__chunks__/{chunk-7VNNDJ7P.mjs.map → chunk-NOMP7OYA.mjs.map} +0 -0
  473. /package/out/__chunks__/{chunk-DJ2HTZOV.mjs.map → chunk-NP5YXGD3.mjs.map} +0 -0
  474. /package/out/__chunks__/{chunk-DCX2NQAU.mjs.map → chunk-OBUQ633K.mjs.map} +0 -0
  475. /package/out/__chunks__/{chunk-AXCK3KRV.mjs.map → chunk-OV6QTSRW.mjs.map} +0 -0
  476. /package/out/__chunks__/{chunk-Z63LDNZJ.mjs.map → chunk-P5OCEUZJ.mjs.map} +0 -0
  477. /package/out/__chunks__/{chunk-E5CUE265.mjs.map → chunk-PZKUGWW4.mjs.map} +0 -0
  478. /package/out/__chunks__/{chunk-OF3XH6ZU.mjs.map → chunk-QCKPVCWD.mjs.map} +0 -0
  479. /package/out/__chunks__/{chunk-BNBD3WVN.mjs.map → chunk-RBJ3O63I.mjs.map} +0 -0
  480. /package/out/__chunks__/{chunk-5AZZG5KG.mjs.map → chunk-RDTIWBQU.mjs.map} +0 -0
  481. /package/out/__chunks__/{chunk-XUADWD55.mjs.map → chunk-RHJ4M62M.mjs.map} +0 -0
  482. /package/out/__chunks__/{chunk-LPGMDX6Q.mjs.map → chunk-SDFOOFQZ.mjs.map} +0 -0
  483. /package/out/__chunks__/{chunk-KK25BEMY.mjs.map → chunk-SMWXMBEX.mjs.map} +0 -0
  484. /package/out/__chunks__/{chunk-OCGNA44K.mjs.map → chunk-ST2OXKY2.mjs.map} +0 -0
  485. /package/out/__chunks__/{chunk-XNIJIKGB.mjs.map → chunk-T54HTQQQ.mjs.map} +0 -0
  486. /package/out/__chunks__/{chunk-TMMUB3IK.mjs.map → chunk-U63YDSPL.mjs.map} +0 -0
  487. /package/out/__chunks__/{chunk-2HKAVY3C.mjs.map → chunk-UB2NR7NA.mjs.map} +0 -0
  488. /package/out/__chunks__/{chunk-CYEMHPEX.mjs.map → chunk-UGLW3SSB.mjs.map} +0 -0
  489. /package/out/__chunks__/{chunk-DNFWIYZH.mjs.map → chunk-UNBTFF6K.mjs.map} +0 -0
  490. /package/out/__chunks__/{chunk-PHMJQ5FC.mjs.map → chunk-V226OFPH.mjs.map} +0 -0
  491. /package/out/__chunks__/{chunk-VRG2R5C7.mjs.map → chunk-VBXM6QDZ.mjs.map} +0 -0
  492. /package/out/__chunks__/{chunk-CAAMS3C5.mjs.map → chunk-WCHM6ROW.mjs.map} +0 -0
  493. /package/out/__chunks__/{chunk-72D44IHE.mjs.map → chunk-WPGHI7H5.mjs.map} +0 -0
  494. /package/out/__chunks__/{chunk-TMOMM4JN.mjs.map → chunk-WQYM2QJ2.mjs.map} +0 -0
  495. /package/out/__chunks__/{chunk-UXYMY3HG.mjs.map → chunk-X4PG526M.mjs.map} +0 -0
  496. /package/out/__chunks__/{chunk-KXUILKL2.mjs.map → chunk-XBF3UPD7.mjs.map} +0 -0
  497. /package/out/__chunks__/{chunk-IWROXIQ5.mjs.map → chunk-XJ54ERL3.mjs.map} +0 -0
  498. /package/out/__chunks__/{chunk-6PDGQGIS.mjs.map → chunk-YGA2ZW7F.mjs.map} +0 -0
  499. /package/out/__chunks__/{chunk-O24MRZB2.mjs.map → chunk-YPEZAU5L.mjs.map} +0 -0
  500. /package/out/__chunks__/{chunk-XHKNB4IP.mjs.map → chunk-YY724VZR.mjs.map} +0 -0
  501. /package/out/__chunks__/{chunk-4XIT3N7Y.mjs.map → chunk-ZAPTIV5E.mjs.map} +0 -0
  502. /package/out/__chunks__/{chunk-S53SAYHR.mjs.map → chunk-ZGPDC6C7.mjs.map} +0 -0
  503. /package/out/__chunks__/{chunk-27OTZWDO.mjs.map → chunk-ZQFABMSJ.mjs.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{s as e}from"./chunk-SDFOOFQZ.mjs";import{f as t}from"./chunk-UERJ6AKK.mjs";function n(o=e()){return t(o)}export{n as a};
2
+ //# sourceMappingURL=chunk-23BMJL5I.mjs.map
@@ -0,0 +1,2 @@
1
+ import{q as n}from"./chunk-SDFOOFQZ.mjs";import{b as t}from"./chunk-UTWIKUIK.mjs";var c=a=>t(`transaction-${a}`)(n().getState())??null;export{c as a};
2
+ //# sourceMappingURL=chunk-23VZAAPS.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-GF6ZP3BP.mjs";function S(e){return t()(e)}export{S as a};
2
+ //# sourceMappingURL=chunk-2ARILYKC.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-XVX7N3JK.mjs";import{a as m}from"./chunk-I3MK6KZJ.mjs";import{Address as l}from"@multiversx/sdk-core";import c from"bignumber.js";var s={tokenId:"",amount:""},g=e=>e.split("@").map((n,t)=>[2,3].includes(t)?n:f(n));function D(e){if(!e)return s;let d=e.startsWith("ESDTTransfer"),u=e.startsWith("ESDTNFTTransfer")&&e.includes("@"),a=e.startsWith("ESDTNFTBurn")&&e.includes("@");try{if(d){let[,n,t]=e.split("@"),o=Buffer.from(n,"hex").toString("ascii");if(!o)return s;let r=new c("0x"+t.replace("0x","")).toString(10);return{tokenId:o,amount:r}}let i=g(e);if(u){let[,n,t,o,r]=i;if([n,t,o,r].every(T=>!!T)&&m(new l(r).toBech32()))return{tokenId:`${n}-${t}`,amount:new c(o,16).toString(10),collection:n,nonce:t,receiver:new l(r).toBech32()}}if(a){let[,n,t,o]=i;if([n,t,o].every(r=>!!r))return{tokenId:`${n}-${t}`,amount:new c(o,16).toString(10),collection:n,nonce:t}}}catch{return s}return s}export{g as a,D as b};
2
- //# sourceMappingURL=chunk-ZS4EBCWC.mjs.map
1
+ import{a as m}from"./chunk-XVX7N3JK.mjs";import{a as f}from"./chunk-I3MK6KZJ.mjs";import{Address as l}from"@multiversx/sdk-core";import c from"bignumber.js";var s={tokenId:"",amount:""},g=e=>e.split("@").map((n,t)=>[2,3].includes(t)?n:m(n));function D(e){if(!e)return s;let d=e.startsWith("ESDTTransfer"),u=e.startsWith("ESDTNFTTransfer")&&e.includes("@"),a=e.startsWith("ESDTNFTBurn")&&e.includes("@");try{if(d){let[,n,t]=e.split("@"),o=Buffer.from(n,"hex").toString("ascii");if(!o)return s;let r=new c("0x"+t.replace("0x","")).toString(10);return{tokenId:o,amount:r}}let i=g(e);if(u){let[,n,t,o,r]=i;if([n,t,o,r].every(T=>!!T)&&f(new l(r).toBech32()))return{tokenId:`${n}-${t}`,amount:new c(o,16).toString(10),collection:n,nonce:t,receiver:new l(r).toBech32()}}if(a){let[,n,t,o]=i;if([n,t,o].every(r=>!!r))return{tokenId:`${n}-${t}`,amount:new c(o,16).toString(10),collection:n,nonce:t}}}catch{return s}return s}export{g as a,D as b};
2
+ //# sourceMappingURL=chunk-2GG67TZD.mjs.map
@@ -0,0 +1,2 @@
1
+ var _="cancel-transaction-toast",T="error-signing-toast",A=6e3,S=5,t=9e4,o=6e5,R=1e4,E="-",N=75,O=25,I=100,D=5e3,n=36e3;export{_ as a,T as b,A as c,S as d,t as e,o as f,R as g,E as h,N as i,O as j,I as k,D as l,n as m};
2
+ //# sourceMappingURL=chunk-2IUBMLF4.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/transactions.constants.ts"],
4
- "sourcesContent": ["export const CANCEL_TRANSACTION_TOAST_ID = 'cancel-transaction-toast';\nexport const ERROR_SIGNING_TOAST_ID = 'error-signing-toast';\nexport const AVERAGE_TX_DURATION_MS = 6000;\nexport const CROSS_SHARD_ROUNDS = 5;\nexport const TRANSACTIONS_STATUS_POLLING_INTERVAL_MS = 90 * 1000; // 90sec\nexport const TRANSACTIONS_STATUS_DROP_INTERVAL_MS = 10 * 60 * 1000; // 10min\nexport const CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION = 10000;\nexport const BATCH_TRANSACTIONS_ID_SEPARATOR = '-';\nexport const SAME_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE = 75;\nexport const CROSS_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE = 25;\nexport const PROGRESS_INTERVAL_DURATION_MS = 100;\nexport const DEFAULT_TOAST_LIEFTIME = 5000;\n"],
5
- "mappings": "AAAO,IAAMA,EAA8B,2BAC9BC,EAAyB,sBACzBC,EAAyB,IACzBC,EAAqB,EACrBC,EAA0C,IAC1CC,EAAuC,IACvCC,EAA4C,IAC5CC,EAAkC,IAClCC,EAA8C,GAC9CC,EAA+C,GAC/CC,EAAgC,IAChCC,EAAyB",
6
- "names": ["CANCEL_TRANSACTION_TOAST_ID", "ERROR_SIGNING_TOAST_ID", "AVERAGE_TX_DURATION_MS", "CROSS_SHARD_ROUNDS", "TRANSACTIONS_STATUS_POLLING_INTERVAL_MS", "TRANSACTIONS_STATUS_DROP_INTERVAL_MS", "CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION", "BATCH_TRANSACTIONS_ID_SEPARATOR", "SAME_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE", "CROSS_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE", "PROGRESS_INTERVAL_DURATION_MS", "DEFAULT_TOAST_LIEFTIME"]
4
+ "sourcesContent": ["export const CANCEL_TRANSACTION_TOAST_ID = 'cancel-transaction-toast';\nexport const ERROR_SIGNING_TOAST_ID = 'error-signing-toast';\nexport const AVERAGE_TX_DURATION_MS = 6000;\nexport const CROSS_SHARD_ROUNDS = 5;\nexport const TRANSACTIONS_STATUS_POLLING_INTERVAL_MS = 90 * 1000; // 90sec\nexport const TRANSACTIONS_STATUS_DROP_INTERVAL_MS = 10 * 60 * 1000; // 10min\nexport const CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION = 10000;\nexport const BATCH_TRANSACTIONS_ID_SEPARATOR = '-';\nexport const SAME_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE = 75;\nexport const CROSS_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE = 25;\nexport const PROGRESS_INTERVAL_DURATION_MS = 100;\nexport const DEFAULT_TOAST_LIEFTIME = 5000;\nexport const MAX_DECODE_TX_DATA_LENGTH = 36000;\n"],
5
+ "mappings": "AAAO,IAAMA,EAA8B,2BAC9BC,EAAyB,sBACzBC,EAAyB,IACzBC,EAAqB,EACrBC,EAA0C,IAC1CC,EAAuC,IACvCC,EAA4C,IAC5CC,EAAkC,IAClCC,EAA8C,GAC9CC,EAA+C,GAC/CC,EAAgC,IAChCC,EAAyB,IACzBC,EAA4B",
6
+ "names": ["CANCEL_TRANSACTION_TOAST_ID", "ERROR_SIGNING_TOAST_ID", "AVERAGE_TX_DURATION_MS", "CROSS_SHARD_ROUNDS", "TRANSACTIONS_STATUS_POLLING_INTERVAL_MS", "TRANSACTIONS_STATUS_DROP_INTERVAL_MS", "CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION", "BATCH_TRANSACTIONS_ID_SEPARATOR", "SAME_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE", "CROSS_SHARD_MAX_TOAST_WIDTH_PERCENT_DECREASE", "PROGRESS_INTERVAL_DURATION_MS", "DEFAULT_TOAST_LIEFTIME", "MAX_DECODE_TX_DATA_LENGTH"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ import{a as o}from"./chunk-ZGPDC6C7.mjs";import{b as s}from"./chunk-TQA3JDNV.mjs";import{s as n}from"./chunk-SDFOOFQZ.mjs";async function f(){let t=s(n());if(Object.keys(t).length>0)for(let[e,{transactions:c}]of Object.entries(t))await o({sessionId:e,transactionBatch:c})}export{f as a};
2
+ //# sourceMappingURL=chunk-2OYUVJ4V.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-LGAWIVRO.mjs";import{s as m}from"./chunk-LPGMDX6Q.mjs";import{b as a}from"./chunk-SAAOQW7P.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-I6WJ63GD.mjs.map
1
+ import{a as g}from"./chunk-LGAWIVRO.mjs";import{s as m}from"./chunk-SDFOOFQZ.mjs";import{b as a}from"./chunk-SAAOQW7P.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-3DBK6MUI.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-KX5J6EMC.mjs";import{MvxLedgerConnect as r}from"@multiversx/sdk-dapp-ui/web-components/mvx-ledger-connect";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a,r as b};
2
- //# sourceMappingURL=chunk-H4DISFAI.mjs.map
1
+ import{a as t}from"./chunk-IE3UIHJF.mjs";import{MvxLedgerConnect as r}from"@multiversx/sdk-dapp-ui/web-components/mvx-ledger-connect";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a,r as b};
2
+ //# sourceMappingURL=chunk-42XAKFZX.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-D7Q254FK.mjs";import{c as n}from"./chunk-SDFOOFQZ.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-4I7IJNEQ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-RWQNLK3I.mjs";import{a}from"./chunk-RRK6GTWZ.mjs";import{a as o}from"./chunk-IPMSVHGJ.mjs";import{a as g}from"./chunk-PSJI2G34.mjs";import{a as i}from"./chunk-2CG6PNPJ.mjs";import{a as c}from"./chunk-FROSOADM.mjs";import{a as d}from"./chunk-VJBLHJYB.mjs";import{a as p,b as e}from"./chunk-HDRB2QL6.mjs";import{rest as t}from"msw";import{setupServer as u}from"msw/node";var s=m=>(R,f,n)=>f(n.status(200),n.json(m)),k=[t.get(`${e.apiAddress}/dapp/config`,s(c)),t.get(`${e.apiAddress}/network/config`,s(i)),t.get(`https://${o.url}/socket.io/`,s(g)),t.get(`${e.apiAddress}/websocket/config`,s(o)),t.get(`${e.apiAddress}/accounts/${p}`,s(a)),t.get(`${e.apiAddress}/accounts/${r.address}`,s(r)),t.get(`${e.apiAddress}/blocks`,s(d))],P=u(...k);export{t as a,s as b,P as c};
2
- //# sourceMappingURL=chunk-2ONA7QPD.mjs.map
1
+ import{a as r}from"./chunk-RWQNLK3I.mjs";import{a as d}from"./chunk-VJBLHJYB.mjs";import{a}from"./chunk-RRK6GTWZ.mjs";import{a as o}from"./chunk-IPMSVHGJ.mjs";import{a as g}from"./chunk-PSJI2G34.mjs";import{a as i}from"./chunk-2CG6PNPJ.mjs";import{a as c}from"./chunk-FROSOADM.mjs";import{a as p,b as e}from"./chunk-HDRB2QL6.mjs";import{rest as t}from"msw";import{setupServer as u}from"msw/node";var s=m=>(R,f,n)=>f(n.status(200),n.json(m)),k=[t.get(`${e.apiAddress}/dapp/config`,s(c)),t.get(`${e.apiAddress}/network/config`,s(i)),t.get(`https://${o.url}/socket.io/`,s(g)),t.get(`${e.apiAddress}/websocket/config`,s(o)),t.get(`${e.apiAddress}/accounts/${p}`,s(a)),t.get(`${e.apiAddress}/accounts/${r.address}`,s(r)),t.get(`${e.apiAddress}/blocks`,s(d))],P=u(...k);export{t as a,s as b,P as c};
2
+ //# sourceMappingURL=chunk-5DP2QBUG.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as o,c as i}from"./chunk-QJGFIK7H.mjs";import{t as g}from"./chunk-LY3MRREN.mjs";import{q as u}from"./chunk-LPGMDX6Q.mjs";import{a as p}from"./chunk-UERJ6AKK.mjs";import{a as h,c as l,g as c}from"./chunk-NTEMINYA.mjs";import{a as y}from"./chunk-KX5J6EMC.mjs";var M=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=u();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){y.addEventListener("message",this.handleMessage)}stopListening(){y.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case o.finalizeHandshakeRequest:this.handshake({event:e});break;case o.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case o.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case o.signTransactionsRequest:this.signTransactions({event:e});break;case i.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=p(this.store.getState()),r=g(),n=new c({address:new l(t),data:new Uint8Array(Buffer.from(a))}),d=(await r.signMessage(n))?.signature??"";e.source?.postMessage({type:i.loginResponse,payload:{data:{address:t,signature:Buffer.from(d).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&this.handleLoginCancelled()}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:i.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=p(this.store.getState()),{message:t}=s;try{let r=new c({address:new l(a),data:new Uint8Array(Buffer.from(t))}),d=(await g().signMessage(r))?.signature??"";e.source?.postMessage({type:i.signMessageResponse,payload:{data:{signature:Buffer.from(d).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(n=>h.newFromPlainObject(n)),r=await s.signTransactions(t);e.source?.postMessage({type:i.signTransactionsResponse,payload:{data:r.map(n=>n.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{M as a};
2
- //# sourceMappingURL=chunk-IR743HKQ.mjs.map
1
+ import{b as o,c as i}from"./chunk-QJGFIK7H.mjs";import{t as g}from"./chunk-YIF2ADTM.mjs";import{q as u}from"./chunk-SDFOOFQZ.mjs";import{a as p}from"./chunk-UERJ6AKK.mjs";import{a as h,c as l,g as c}from"./chunk-NTEMINYA.mjs";import{a as y}from"./chunk-IE3UIHJF.mjs";var M=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=u();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){y.addEventListener("message",this.handleMessage)}stopListening(){y.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case o.finalizeHandshakeRequest:this.handshake({event:e});break;case o.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case o.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case o.signTransactionsRequest:this.signTransactions({event:e});break;case i.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=p(this.store.getState()),r=g(),n=new c({address:new l(t),data:new Uint8Array(Buffer.from(a))}),d=(await r.signMessage(n))?.signature??"";e.source?.postMessage({type:i.loginResponse,payload:{data:{address:t,signature:Buffer.from(d).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&this.handleLoginCancelled()}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:i.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=p(this.store.getState()),{message:t}=s;try{let r=new c({address:new l(a),data:new Uint8Array(Buffer.from(t))}),d=(await g().signMessage(r))?.signature??"";e.source?.postMessage({type:i.signMessageResponse,payload:{data:{signature:Buffer.from(d).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(n=>h.newFromPlainObject(n)),r=await s.signTransactions(t);e.source?.postMessage({type:i.signTransactionsResponse,payload:{data:r.map(n=>n.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{M as a};
2
+ //# sourceMappingURL=chunk-5IB7V3T5.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-KX5J6EMC.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-54XYKDH7.mjs.map
1
+ import{a as o}from"./chunk-IE3UIHJF.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-6CWZFHNV.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-XVX7N3JK.mjs";import{a as d}from"./chunk-I3MK6KZJ.mjs";import{Address as f}from"@multiversx/sdk-core";import s from"bignumber.js";var c={tokenId:"",amount:""},l=r=>r.split("@").map((t,e)=>[2,3].includes(e)?t:m(t));function y(r){if(!r)return c;let i=r.startsWith("ESDTTransfer"),a=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),u=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(i){let[,n,t]=r.split("@");try{let e=Buffer.from(n,"hex").toString("ascii");if(!e)return c;let o=new s("0x"+t.replace("0x","")).toString(10);return{tokenId:e,amount:o}}catch(e){console.error("Error getting token from transaction data",e)}}if(a)try{let[,n,t,e,o]=l(r);if([n,t,e,o].every(g=>!!g)&&d(new f(o).toBech32()))return{tokenId:`${n}-${t}`,amount:new s(e,16).toString(10),collection:n,nonce:t,receiver:new f(o).toBech32()}}catch{}if(u)try{let[,n,t,e]=l(r);if([n,t,e].every(o=>!!o))return{tokenId:`${n}-${t}`,amount:new s(e,16).toString(10),collection:n,nonce:t}}catch{}return c}export{l as a,y as b};
2
- //# sourceMappingURL=chunk-5KVNYLOM.mjs.map
1
+ import{a as d}from"./chunk-XVX7N3JK.mjs";import{a as m}from"./chunk-I3MK6KZJ.mjs";import{Address as f}from"@multiversx/sdk-core";import s from"bignumber.js";var c={tokenId:"",amount:""},l=r=>r.split("@").map((t,e)=>[2,3].includes(e)?t:d(t));function y(r){if(!r)return c;let i=r.startsWith("ESDTTransfer"),a=r.startsWith("ESDTNFTTransfer")&&r.includes("@"),u=r.startsWith("ESDTNFTBurn")&&r.includes("@");if(i){let[,n,t]=r.split("@");try{let e=Buffer.from(n,"hex").toString("ascii");if(!e)return c;let o=new s("0x"+t.replace("0x","")).toString(10);return{tokenId:e,amount:o}}catch(e){console.error("Error getting token from transaction data",e)}}if(a)try{let[,n,t,e,o]=l(r);if([n,t,e,o].every(g=>!!g)&&m(new f(o).toBech32()))return{tokenId:`${n}-${t}`,amount:new s(e,16).toString(10),collection:n,nonce:t,receiver:new f(o).toBech32()}}catch{}if(u)try{let[,n,t,e]=l(r);if([n,t,e].every(o=>!!o))return{tokenId:`${n}-${t}`,amount:new s(e,16).toString(10),collection:n,nonce:t}}catch{}return c}export{l as a,y as b};
2
+ //# sourceMappingURL=chunk-6DWUEZO7.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as w}from"./chunk-YK7T6MBD.mjs";import{a as l}from"./chunk-KMJMQEXI.mjs";import{q as u}from"./chunk-LPGMDX6Q.mjs";import{a as c}from"./chunk-SQVKVA7X.mjs";import{a as i}from"./chunk-ULUZWP2P.mjs";var e=o=>u().setState(({network:r})=>{r.network={...r.network,...o}},!1,"initializeNetworkConfig");var y=async({customNetworkConfig:o={},environment:r})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=r&&r in i,p=n?i[r]:{},s={...c,...p,...o},t={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await w(a),f=t.roundDuration?null:await l(a);if(f!=null&&(t.roundDuration=f.erd_round_duration),m!=null){let k={...t,...m,...o};return e(k),k}}return e(t),t};export{y as a,e as b};
2
- //# sourceMappingURL=chunk-LQ6WESDL.mjs.map
1
+ import{a as w}from"./chunk-YK7T6MBD.mjs";import{a as l}from"./chunk-KMJMQEXI.mjs";import{q as u}from"./chunk-SDFOOFQZ.mjs";import{a as c}from"./chunk-SQVKVA7X.mjs";import{a as i}from"./chunk-ULUZWP2P.mjs";var e=o=>u().setState(({network:r})=>{r.network={...r.network,...o}},!1,"initializeNetworkConfig");var y=async({customNetworkConfig:o={},environment:r})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=r&&r in i,p=n?i[r]:{},s={...c,...p,...o},t={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await w(a),f=t.roundDuration?null:await l(a);if(f!=null&&(t.roundDuration=f.erd_round_duration),m!=null){let k={...t,...m,...o};return e(k),k}}return e(t),t};export{y as a,e as b};
2
+ //# sourceMappingURL=chunk-6QURUDVX.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-SGQJOLH2.mjs";import{a as f}from"./chunk-FRDR4A7Z.mjs";import{t as c}from"./chunk-LY3MRREN.mjs";import{s as n}from"./chunk-LPGMDX6Q.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=g(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=c(),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-WJI5FXSZ.mjs.map
1
+ import{a as g}from"./chunk-23BMJL5I.mjs";import{a as f}from"./chunk-FRDR4A7Z.mjs";import{t as c}from"./chunk-YIF2ADTM.mjs";import{s as n}from"./chunk-SDFOOFQZ.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=g(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=c(),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-7R7GYV2Q.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-RJOP7SCI.mjs";import{a as e}from"./chunk-OF3XH6ZU.mjs";import{a as i}from"./chunk-CDQ2BNUD.mjs";var a=class{constructor(o){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async o=>{if(!this._login)throw new Error("Provider is not initialized.");let r=await this._login(o);if(!r?.address)throw new Error("Provider is not initialized.");return{...r,address:r.address,signature:r.signature??""}};this.initializeAddress=()=>{if(this.address)return;let o=e();o&&(this.address=o)};this.cancelAction=void 0;this.address=o??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(o,r){throw new Error("Method not implemented.")}async login(o){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let r=new AbortController;this.loginAbortController=r;let t=r.signal;try{let n=new Promise((p,c)=>{t.addEventListener("abort",()=>{c(new Error("Login cancelled"))})}),l=await Promise.race([this.loginOperation(o),n]);return this.loginAbortController=null,l}catch(n){throw this.loginAbortController=null,n}}async initSignState(){let{onClose:o,manager:r}=await s({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return r.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),r.updateData({name:i[t],type:t}),{onClose:o,manager:r}}};export{a};
2
- //# sourceMappingURL=chunk-Y7QM3LPW.mjs.map
1
+ import{a as s}from"./chunk-ITHXLW7N.mjs";import{a as e}from"./chunk-QCKPVCWD.mjs";import{a as i}from"./chunk-CDQ2BNUD.mjs";var a=class{constructor(o){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async o=>{if(!this._login)throw new Error("Provider is not initialized.");let r=await this._login(o);if(!r?.address)throw new Error("Provider is not initialized.");return{...r,address:r.address,signature:r.signature??""}};this.initializeAddress=()=>{if(this.address)return;let o=e();o&&(this.address=o)};this.cancelAction=void 0;this.address=o??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(o,r){throw new Error("Method not implemented.")}async login(o){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let r=new AbortController;this.loginAbortController=r;let t=r.signal;try{let n=new Promise((p,c)=>{t.addEventListener("abort",()=>{c(new Error("Login cancelled"))})}),l=await Promise.race([this.loginOperation(o),n]);return this.loginAbortController=null,l}catch(n){throw this.loginAbortController=null,n}}async initSignState(){let{onClose:o,manager:r}=await s({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return r.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),r.updateData({name:i[t],type:t}),{onClose:o,manager:r}}};export{a};
2
+ //# sourceMappingURL=chunk-AIHJZJX7.mjs.map
@@ -1,2 +1,2 @@
1
- import{d as s}from"./chunk-7VNNDJ7P.mjs";import{a as u}from"./chunk-XUADWD55.mjs";import{s as c}from"./chunk-LPGMDX6Q.mjs";import{b as d}from"./chunk-SAAOQW7P.mjs";import{a as v}from"./chunk-CDQ2BNUD.mjs";import{a}from"./chunk-PLUWBWJ2.mjs";var i=class i extends u{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:e}=d(c());this.data={providers:this.getProvidersList(),walletAddress:e},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async e=>{!e?.isLoginFinished&&i.onClose&&i.onClose(),this.closeUI()};this.handleLogin=async({type:e,anchor:o})=>{if(!i.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{this.isSimpleLoginCallback(i.loginHandler)?(await(await s.create({type:e,anchor:o})).login(),i.loginHandler()):i.loginHandler({type:e,anchor:o}),await this.handleCloseUI({isLoginFinished:!0})}catch(t){console.error(t),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await s.destroy()};this.isSimpleLoginCallback=e=>e.length===0;this.data=this.initialData}static getInstance(){return i.instance||(i.instance=new i),i.instance}static init(e){return this.loginHandler=e.loginHandler,this.allowedProviders=e.allowedProviders,e.onClose&&(this.onClose=e.onClose),this.getInstance()}getProvidersList(){let e=s.customProviders,t=[...Object.values(a).filter(n=>![a.none,a.webview].includes(n)),...e.map(n=>n.type)],P=e.reduce((n,r)=>(n[r.type]=r.name,n),{}),l={...v,...P};return(i.allowedProviders?i?.allowedProviders.filter(n=>t.includes(n)):t).map(n=>{let r=e.find(g=>g.type===n);return r||{name:n in l?l[n]:n,type:n}})}};i.loginHandler=null,i.onClose=null,i.allowedProviders=null;var p=i;export{p as a};
2
- //# sourceMappingURL=chunk-STVYY4LI.mjs.map
1
+ import{d as s}from"./chunk-NOMP7OYA.mjs";import{a as u}from"./chunk-RHJ4M62M.mjs";import{s as c}from"./chunk-SDFOOFQZ.mjs";import{b as d}from"./chunk-SAAOQW7P.mjs";import{a as v}from"./chunk-CDQ2BNUD.mjs";import{a}from"./chunk-PLUWBWJ2.mjs";var i=class i extends u{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:e}=d(c());this.data={providers:this.getProvidersList(),walletAddress:e},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async e=>{!e?.isLoginFinished&&i.onClose&&i.onClose(),this.closeUI()};this.handleLogin=async({type:e,anchor:o})=>{if(!i.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{this.isSimpleLoginCallback(i.loginHandler)?(await(await s.create({type:e,anchor:o})).login(),i.loginHandler()):i.loginHandler({type:e,anchor:o}),await this.handleCloseUI({isLoginFinished:!0})}catch(t){console.error(t),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await s.destroy()};this.isSimpleLoginCallback=e=>e.length===0;this.data=this.initialData}static getInstance(){return i.instance||(i.instance=new i),i.instance}static init(e){return this.loginHandler=e.loginHandler,this.allowedProviders=e.allowedProviders,e.onClose&&(this.onClose=e.onClose),this.getInstance()}getProvidersList(){let e=s.customProviders,t=[...Object.values(a).filter(n=>![a.none,a.webview].includes(n)),...e.map(n=>n.type)],P=e.reduce((n,r)=>(n[r.type]=r.name,n),{}),l={...v,...P};return(i.allowedProviders?i?.allowedProviders.filter(n=>t.includes(n)):t).map(n=>{let r=e.find(g=>g.type===n);return r||{name:n in l?l[n]:n,type:n}})}};i.loginHandler=null,i.onClose=null,i.allowedProviders=null;var p=i;export{p as a};
2
+ //# sourceMappingURL=chunk-AJ5LH5DY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-QQEQNSRI.mjs";import{a as k}from"./chunk-J64N3RXX.mjs";import{q as f}from"./chunk-LPGMDX6Q.mjs";import{d as b}from"./chunk-UERJ6AKK.mjs";import{c as n}from"./chunk-2SVWHJC4.mjs";import{b as i}from"./chunk-GGBMHKR4.mjs";async function N(){let o=f(),I=g(),s=null,t=null,l=b(o.getState())?.timestamp,c=()=>{k()},u=()=>{s??=setInterval(c,I)},m=()=>{s&&(clearInterval(s),s=null)},p=()=>{m();let a=o.subscribe(({account:{websocketEvent:e}})=>{e?.message&&l!==e.timestamp&&(l=e.timestamp,c())});n.set("websocketEventReceived",a)},S=()=>{i.status!=="not_initialized"||t||(t=setInterval(()=>{i.status==="completed"&&(clearInterval(t),t=null,p())},1e3))};c();let r=()=>{m(),t&&(clearInterval(t),t=null)},v=o.subscribe(({account:{address:a},config:{websocketStatus:e}},T)=>{if(T.config.websocketStatus!==e)switch(e){case"completed":p();break;case"pending":u(),S();break;default:a?u():r();break}});return n.set("websocketStatusChanged",v),n.set("websocketEventReceived",r),{stopTransactionsTracking:r}}export{N as a};
2
- //# sourceMappingURL=chunk-2DUVXRMU.mjs.map
1
+ import{a as g}from"./chunk-I4BDQFVV.mjs";import{a as k}from"./chunk-2OYUVJ4V.mjs";import{q as f}from"./chunk-SDFOOFQZ.mjs";import{d as b}from"./chunk-UERJ6AKK.mjs";import{c as n}from"./chunk-DATOYALW.mjs";import{b as i}from"./chunk-GGBMHKR4.mjs";async function N(){let o=f(),I=g(),s=null,t=null,l=b(o.getState())?.timestamp,c=()=>{k()},u=()=>{s??=setInterval(c,I)},m=()=>{s&&(clearInterval(s),s=null)},p=()=>{m();let a=o.subscribe(({account:{websocketEvent:e}})=>{e?.message&&l!==e.timestamp&&(l=e.timestamp,c())});n.set("websocketEventReceived",a)},S=()=>{i.status!=="not_initialized"||t||(t=setInterval(()=>{i.status==="completed"&&(clearInterval(t),t=null,p())},1e3))};c();let r=()=>{m(),t&&(clearInterval(t),t=null)},v=o.subscribe(({account:{address:a},config:{websocketStatus:e}},T)=>{if(T.config.websocketStatus!==e)switch(e){case"completed":p();break;case"pending":u(),S();break;default:a?u():r();break}});return n.set("websocketStatusChanged",v),n.set("websocketEventReceived",r),{stopTransactionsTracking:r}}export{N as a};
2
+ //# sourceMappingURL=chunk-ALLSMTZ6.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-OV6QTSRW.mjs";var o={async getTransactionsHistory(s){return await t(s)}};export{o as a};
2
+ //# sourceMappingURL=chunk-BFIHV4M5.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-EAH7XGM3.mjs";var n=({parts:r,decodeMethod:d,identifier:o,initialDecodedParts:e})=>d==="smart"?t({parts:r,decodedParts:e,identifier:o}):e;export{n as a};
2
+ //# sourceMappingURL=chunk-BHAHZQVO.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getDecodedDataField/helpers/getDecodedParts.ts"],
4
+ "sourcesContent": ["import { DecodeMethodEnum } from 'types/serverTransactions.types';\nimport { getSmartDecodedParts } from './getSmartDecodedParts';\n\ninterface IGetDecodedParts {\n parts: string[];\n decodeMethod: DecodeMethodEnum;\n initialDecodedParts: string[];\n identifier?: string;\n}\n\nexport const getDecodedParts = ({\n parts,\n decodeMethod,\n identifier,\n initialDecodedParts\n}: IGetDecodedParts) => {\n if (decodeMethod === DecodeMethodEnum.smart) {\n return getSmartDecodedParts({\n parts,\n decodedParts: initialDecodedParts,\n identifier\n });\n }\n\n return initialDecodedParts;\n};\n"],
5
+ "mappings": "yCAUO,IAAMA,EAAkB,CAAC,CAC9B,MAAAC,EACA,aAAAC,EACA,WAAAC,EACA,oBAAAC,CACF,IACMF,YACKG,EAAqB,CAC1B,MAAAJ,EACA,aAAcG,EACd,WAAAD,CACF,CAAC,EAGIC",
6
+ "names": ["getDecodedParts", "parts", "decodeMethod", "identifier", "initialDecodedParts", "getSmartDecodedParts"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-FFHHIKMI.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-OP2PPPAN.mjs.map
1
+ import{a as i}from"./chunk-KQNIDAOO.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-BIQTHJFC.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-5JYD7XMI.mjs";import{s as e}from"./chunk-LPGMDX6Q.mjs";import{b as o}from"./chunk-SAAOQW7P.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=o(e());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
- //# sourceMappingURL=chunk-KP4MUQKU.mjs.map
1
+ import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-ESLRNICJ.mjs";import{s as e}from"./chunk-SDFOOFQZ.mjs";import{b as o}from"./chunk-SAAOQW7P.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=o(e());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
+ //# sourceMappingURL=chunk-BJX6XZJZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as c}from"./chunk-LPGMDX6Q.mjs";import{a as o}from"./chunk-JMC7CMTU.mjs";var r=e=>{c().setState(({account:t})=>{let s=t.address===e.address;t.accounts={[t.address]:s?e:o}},!1,"setAccount")},u=e=>c().setState(({account:t})=>{t.ledgerAccount=e},!1,"setLedgerAccount"),p=e=>c().setState(({account:t})=>{t.walletConnectAccount=e},!1,"setWalletConnectAccount"),l=e=>c().setState(({account:t})=>{t.websocketEvent={timestamp:Date.now(),message:e}},!1,"setWebsocketEvent"),m=e=>c().setState(({account:t})=>{t.websocketBatchEvent={timestamp:Date.now(),data:e}},!1,"setWebsocketBatchEvent"),A=e=>{c().setState(({account:t})=>{t.accounts[t.address].nonce=e},!1,"setAccountNonce")};export{r as a,u as b,p as c,l as d,m as e,A as f};
2
- //# sourceMappingURL=chunk-NZWPA245.mjs.map
1
+ import{q as c}from"./chunk-SDFOOFQZ.mjs";import{a as o}from"./chunk-JMC7CMTU.mjs";var r=e=>{c().setState(({account:t})=>{let s=t.address===e.address;t.accounts={[t.address]:s?e:o}},!1,"setAccount")},u=e=>c().setState(({account:t})=>{t.ledgerAccount=e},!1,"setLedgerAccount"),p=e=>c().setState(({account:t})=>{t.walletConnectAccount=e},!1,"setWalletConnectAccount"),l=e=>c().setState(({account:t})=>{t.websocketEvent={timestamp:Date.now(),message:e}},!1,"setWebsocketEvent"),m=e=>c().setState(({account:t})=>{t.websocketBatchEvent={timestamp:Date.now(),data:e}},!1,"setWebsocketBatchEvent"),A=e=>{c().setState(({account:t})=>{t.accounts[t.address].nonce=e},!1,"setAccountNonce")};export{r as a,u as b,p as c,l as d,m as e,A as f};
2
+ //# sourceMappingURL=chunk-CP5CXMNG.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-DG77T3NS.mjs";import{a as r}from"./chunk-B2UIPHJ3.mjs";var o=()=>{try{return!r()||!e()?!1:window.self!==window.top}catch{return!0}};export{o as a};
2
- //# sourceMappingURL=chunk-I4HR64FU.mjs.map
1
+ import{a as e}from"./chunk-ECUWXEXM.mjs";import{a as r}from"./chunk-B2UIPHJ3.mjs";var o=()=>{try{return!r()||!e()?!1:window.self!==window.top}catch{return!0}};export{o as a};
2
+ //# sourceMappingURL=chunk-D2MEDQRS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-6BF62TP4.mjs";async function g({originalLoginToken:i,extraInfoData:n,address:o}){let e=await t({loginToken:i,extraInfoData:n}),s=n.multisig||n.impersonate||o;return{address:e!=null?s:o,modifiedLoginToken:e}}export{g as a};
2
- //# sourceMappingURL=chunk-PAAJPYAE.mjs.map
1
+ import{a as t}from"./chunk-DXI7IIPO.mjs";async function g({originalLoginToken:i,extraInfoData:n,address:o}){let e=await t({loginToken:i,extraInfoData:n}),s=n.multisig||n.impersonate||o;return{address:e!=null?s:o,modifiedLoginToken:e}}export{g as a};
2
+ //# sourceMappingURL=chunk-D7Q254FK.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-KX5J6EMC.mjs";import{createJSONStorage as o}from"zustand/middleware";var r={persistReducersStorageType:"localStorage"},i=e?o(()=>e[r.persistReducersStorageType]):void 0,p=new Map,n=3e3;export{r as a,i as b,p as c,n as d};
2
- //# sourceMappingURL=chunk-2SVWHJC4.mjs.map
1
+ import{a as e}from"./chunk-IE3UIHJF.mjs";import{createJSONStorage as o}from"zustand/middleware";var r={persistReducersStorageType:"localStorage"},i=e?o(()=>e[r.persistReducersStorageType]):void 0,p=new Map,n=3e3;export{r as a,i as b,p as c,n as d};
2
+ //# sourceMappingURL=chunk-DATOYALW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-DLWDO7M6.mjs";import{d as p}from"./chunk-7VNNDJ7P.mjs";import{s as n}from"./chunk-LY3MRREN.mjs";import{s as m}from"./chunk-LPGMDX6Q.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";import{a as e}from"./chunk-PLUWBWJ2.mjs";import{a as f}from"./chunk-I4HR64FU.mjs";async function u(){let i=s(),o=f()||i?e.webview:t(m());if(!o)return;let r=await p.create({type:o});if(!r)throw new Error("Provider not found");(i||o===e.webview&&r.isInitialized())&&await r.login(),n(r)}export{u as a};
2
- //# sourceMappingURL=chunk-S5YFFC7A.mjs.map
1
+ import{a as s}from"./chunk-DLWDO7M6.mjs";import{d as p}from"./chunk-NOMP7OYA.mjs";import{s as n}from"./chunk-YIF2ADTM.mjs";import{s as m}from"./chunk-SDFOOFQZ.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";import{a as e}from"./chunk-PLUWBWJ2.mjs";import{a as f}from"./chunk-D2MEDQRS.mjs";async function u(){let i=s(),o=f()||i?e.webview:t(m());if(!o)return;let r=await p.create({type:o});if(!r)throw new Error("Provider not found");(i||o===e.webview&&r.isInitialized())&&await r.login(),n(r)}export{u as a};
2
+ //# sourceMappingURL=chunk-DO4PJGXP.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as l}from"./chunk-DZ2BIDRW.mjs";import{a as s}from"./chunk-EAH7XGM3.mjs";import{a}from"./chunk-OOVV574D.mjs";var W=({parts:n,decodeMethod:i,decodedData:t,identifier:c})=>{let d=n.map((e,o)=>{if(n.length>=2&&(o===0&&e.length<64||o===1&&!n[0]))return/[^a-z0-9]/gi.test(e)?a({data:e,decodeMethod:i}):e;let r=l(e);return r?.length&&(t.validationWarnings=Array.from(new Set([...t.validationWarnings,...r]))),a({data:e,decodeMethod:i})});return i==="smart"?s({parts:n,decodedParts:d,identifier:c}):d};export{W as a};
2
+ //# sourceMappingURL=chunk-DSVSX4ZT.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.ts"],
4
+ "sourcesContent": ["import {\n DecodeMethodEnum,\n DecodedDisplayType\n} from 'types/serverTransactions.types';\nimport { decodeByMethod } from './decodeByMethod';\nimport { getHexValidationWarnings } from './getHexValidationWarnings';\nimport { getSmartDecodedParts } from './getSmartDecodedParts';\n\ninterface IGetDisplayValueAndValidationWarnings {\n parts: string[];\n decodeMethod: DecodeMethodEnum;\n decodedData: DecodedDisplayType;\n identifier?: string;\n}\n\nexport const getDisplayValueAndValidationWarnings = ({\n parts,\n decodeMethod,\n decodedData,\n identifier\n}: IGetDisplayValueAndValidationWarnings) => {\n const initialDecodedParts = parts.map((part, index) => {\n if (\n parts.length >= 2 &&\n ((index === 0 && part.length < 64) || (index === 1 && !parts[0]))\n ) {\n const encodedDisplayValue = /[^a-z0-9]/gi.test(part);\n\n if (encodedDisplayValue) {\n return decodeByMethod({ data: part, decodeMethod });\n }\n\n return part;\n }\n\n const hexValidationWarnings = getHexValidationWarnings(part);\n\n if (hexValidationWarnings?.length) {\n decodedData.validationWarnings = Array.from(\n new Set([...decodedData.validationWarnings, ...hexValidationWarnings])\n );\n }\n\n return decodeByMethod({ data: part, decodeMethod });\n });\n\n const decodedParts =\n decodeMethod === DecodeMethodEnum.smart\n ? getSmartDecodedParts({\n parts,\n decodedParts: initialDecodedParts,\n identifier\n })\n : initialDecodedParts;\n\n return decodedParts;\n};\n"],
5
+ "mappings": "sHAeO,IAAMA,EAAuC,CAAC,CACnD,MAAAC,EACA,aAAAC,EACA,YAAAC,EACA,WAAAC,CACF,IAA6C,CAC3C,IAAMC,EAAsBJ,EAAM,IAAI,CAACK,EAAMC,IAAU,CACrD,GACEN,EAAM,QAAU,IACdM,IAAU,GAAKD,EAAK,OAAS,IAAQC,IAAU,GAAK,CAACN,EAAM,CAAC,GAI9D,MAF4B,cAAc,KAAKK,CAAI,EAG1CE,EAAe,CAAE,KAAMF,EAAM,aAAAJ,CAAa,CAAC,EAG7CI,EAGT,IAAMG,EAAwBC,EAAyBJ,CAAI,EAE3D,OAAIG,GAAuB,SACzBN,EAAY,mBAAqB,MAAM,KACrC,IAAI,IAAI,CAAC,GAAGA,EAAY,mBAAoB,GAAGM,CAAqB,CAAC,CACvE,GAGKD,EAAe,CAAE,KAAMF,EAAM,aAAAJ,CAAa,CAAC,CACpD,CAAC,EAWD,OAREA,YACIS,EAAqB,CACnB,MAAAV,EACA,aAAcI,EACd,WAAAD,CACF,CAAC,EACDC,CAGR",
6
+ "names": ["getDisplayValueAndValidationWarnings", "parts", "decodeMethod", "decodedData", "identifier", "initialDecodedParts", "part", "index", "decodeByMethod", "hexValidationWarnings", "getHexValidationWarnings", "getSmartDecodedParts"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-ARAO6B2F.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-6BF62TP4.mjs.map
1
+ import{a as r}from"./chunk-EE3KJKGZ.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-DXI7IIPO.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as e,b as i}from"./chunk-WRLZ5ICK.mjs";var o=n=>{let a=[];return n&&!e(n)&&a.push(`Invalid Hex characters on argument @${n}`),n&&!i(n)&&a.push(`Odd number of Hex characters on argument @${n}`),a};export{o as a};
2
+ //# sourceMappingURL=chunk-DZ2BIDRW.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.ts"],
4
+ "sourcesContent": ["import { isHexValidCharacters, isHexValidLength } from 'utils/validation/hex';\n\nexport const getHexValidationWarnings = (str: string) => {\n const warnings = [];\n\n if (str && !isHexValidCharacters(str)) {\n warnings.push(`Invalid Hex characters on argument @${str}`);\n }\n\n if (str && !isHexValidLength(str)) {\n warnings.push(`Odd number of Hex characters on argument @${str}`);\n }\n\n return warnings;\n};\n"],
5
+ "mappings": "gDAEO,IAAMA,EAA4BC,GAAgB,CACvD,IAAMC,EAAW,CAAC,EAElB,OAAID,GAAO,CAACE,EAAqBF,CAAG,GAClCC,EAAS,KAAK,uCAAuCD,CAAG,EAAE,EAGxDA,GAAO,CAACG,EAAiBH,CAAG,GAC9BC,EAAS,KAAK,6CAA6CD,CAAG,EAAE,EAG3DC,CACT",
6
+ "names": ["getHexValidationWarnings", "str", "warnings", "isHexValidCharacters", "isHexValidLength"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as I}from"./chunk-FVFVOSQ4.mjs";import{a as l}from"./chunk-TMOMM4JN.mjs";import{a as f}from"./chunk-XUI3Z5NN.mjs";import{j as m,k as d,l as p,n as u}from"./chunk-65L5EBBL.mjs";import{a as T}from"./chunk-JV7AJLRI.mjs";var q=async({toastList:S,transactionsSessions:g,account:o,existingCompletedTransactions:y=[]})=>{let n=[],a=[...y],r=l(),F=f();for(let t of S.transactionToasts){let e=g[t.toastId];if(!e?.status)continue;let{status:s,transactions:C,transactionsDisplayInfo:P}=e,x=await T({transactions:C,address:o.address,explorerAddress:r,egldLabel:F}),A=u(s),E=p(s),L=d(s),i=A||E||L,v=m(s),{startTime:R,endTime:b}=t;if(i&&a.some(h=>h.toastId===t.toastId))continue;let c=I({toastId:t.toastId,address:o.address,status:s,transactions:x,transactionsDisplayInfo:P,explorerAddress:r,startTime:R,endTime:b});i&&a.push(c),v&&n.push(c)}return{pendingTransactionToasts:n,completedTransactionToasts:a}};export{q as a};
2
- //# sourceMappingURL=chunk-UJUAT5NK.mjs.map
1
+ import{a as I}from"./chunk-J2SRCAF3.mjs";import{a as l}from"./chunk-WQYM2QJ2.mjs";import{a as f}from"./chunk-KDNN7EJ5.mjs";import{j as m,k as d,l as p,n as u}from"./chunk-65L5EBBL.mjs";import{a as T}from"./chunk-L5SWSYR7.mjs";var q=async({toastList:S,transactionsSessions:g,account:o,existingCompletedTransactions:y=[]})=>{let n=[],a=[...y],r=l(),F=f();for(let t of S.transactionToasts){let e=g[t.toastId];if(!e?.status)continue;let{status:s,transactions:C,transactionsDisplayInfo:P}=e,x=await T({transactions:C,address:o.address,explorerAddress:r,egldLabel:F}),A=u(s),E=p(s),L=d(s),i=A||E||L,v=m(s),{startTime:R,endTime:b}=t;if(i&&a.some(h=>h.toastId===t.toastId))continue;let c=I({toastId:t.toastId,address:o.address,status:s,transactions:x,transactionsDisplayInfo:P,explorerAddress:r,startTime:R,endTime:b});i&&a.push(c),v&&n.push(c)}return{pendingTransactionToasts:n,completedTransactionToasts:a}};export{q as a};
2
+ //# sourceMappingURL=chunk-E75WVJBY.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-OOVV574D.mjs";var f=({parts:e,decodedParts:d,identifier:o})=>{let r=[...d];if(e[0]==="ESDTNFTTransfer"&&e[2]&&(r[2]=t({data:e[2],decodeMethod:"decimal"})),o==="ESDTNFTTransfer"&&e[1]){let a=Buffer.from(String(e[1]),"base64");r[1]=t({data:a.toString("hex"),decodeMethod:"decimal"})}return r};export{f as a};
2
+ //# sourceMappingURL=chunk-EAH7XGM3.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.ts"],
4
+ "sourcesContent": ["import { TransactionTypesEnum } from 'types/enums.types';\nimport { DecodeMethodEnum } from 'types/serverTransactions.types';\nimport { decodeByMethod } from './decodeByMethod';\n\ninterface ISmartDecodedParts {\n parts: string[];\n decodedParts: string[];\n identifier?: string;\n}\n\nexport const getSmartDecodedParts = ({\n parts,\n decodedParts,\n identifier\n}: ISmartDecodedParts) => {\n const smartDecodedParts = [...decodedParts];\n\n if (parts[0] === TransactionTypesEnum.ESDTNFTTransfer && parts[2]) {\n smartDecodedParts[2] = decodeByMethod({\n data: parts[2],\n decodeMethod: DecodeMethodEnum.decimal\n });\n }\n\n if (identifier === TransactionTypesEnum.ESDTNFTTransfer && parts[1]) {\n const base64Buffer = Buffer.from(String(parts[1]), 'base64');\n smartDecodedParts[1] = decodeByMethod({\n data: base64Buffer.toString('hex'),\n decodeMethod: DecodeMethodEnum.decimal\n });\n }\n\n return smartDecodedParts;\n};\n"],
5
+ "mappings": "yCAUO,IAAMA,EAAuB,CAAC,CACnC,MAAAC,EACA,aAAAC,EACA,WAAAC,CACF,IAA0B,CACxB,IAAMC,EAAoB,CAAC,GAAGF,CAAY,EAS1C,GAPID,EAAM,CAAC,uBAA8CA,EAAM,CAAC,IAC9DG,EAAkB,CAAC,EAAIC,EAAe,CACpC,KAAMJ,EAAM,CAAC,EACb,sBACF,CAAC,GAGCE,uBAAuDF,EAAM,CAAC,EAAG,CACnE,IAAMK,EAAe,OAAO,KAAK,OAAOL,EAAM,CAAC,CAAC,EAAG,QAAQ,EAC3DG,EAAkB,CAAC,EAAIC,EAAe,CACpC,KAAMC,EAAa,SAAS,KAAK,EACjC,sBACF,CAAC,CACH,CAEA,OAAOF,CACT",
6
+ "names": ["getSmartDecodedParts", "parts", "decodedParts", "identifier", "smartDecodedParts", "decodeByMethod", "base64Buffer"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-KX5J6EMC.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-DG77T3NS.mjs.map
1
+ import{a as e}from"./chunk-IE3UIHJF.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-ECUWXEXM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-QTKK6OSJ.mjs";import{a as h}from"./chunk-BGUYSNNW.mjs";import{a as g}from"./chunk-3S57OP4Z.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-ARAO6B2F.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-J42MMBDO.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-EE3KJKGZ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-SDFOOFQZ.mjs";import{a as t}from"./chunk-UERJ6AKK.mjs";function n(r=o()){return t(r)}export{n as a};
2
+ //# sourceMappingURL=chunk-ESLRNICJ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-SDFOOFQZ.mjs";import{b as t}from"./chunk-UERJ6AKK.mjs";function c(r=o()){return t(r)}export{c as a};
2
+ //# sourceMappingURL=chunk-EYNCTMGG.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-OF3XH6ZU.mjs";import{c as e,g as s}from"./chunk-NTEMINYA.mjs";async function m({message:r,provider:a,options:n}){let g=o(),i=new s({address:new e(g),data:r.data});return await a.signMessage(i,n)}export{m as a};
2
- //# sourceMappingURL=chunk-KAQ5IXKK.mjs.map
1
+ import{a as o}from"./chunk-QCKPVCWD.mjs";import{c as e,g as s}from"./chunk-NTEMINYA.mjs";async function m({message:r,provider:a,options:n}){let g=o(),i=new s({address:new e(g),data:r.data});return await a.signMessage(i,n)}export{m as a};
2
+ //# sourceMappingURL=chunk-FI6P7XAS.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-SDFOOFQZ.mjs";import{a as t}from"./chunk-SAAOQW7P.mjs";function f(r=o()){return t(r)}export{f as a};
2
+ //# sourceMappingURL=chunk-G4CMYBPE.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-SDFOOFQZ.mjs";var m=()=>t(e());export{m as a};
2
+ //# sourceMappingURL=chunk-GF6ZP3BP.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk-L3MWDI6J.mjs";import{q as i}from"./chunk-LPGMDX6Q.mjs";var g=({transactions:s,transactionsDisplayInfo:a,status:e,sessionInformation:t})=>{let o=Date.now().toString();return i().setState(({transactions:n})=>{n[o]={transactions:s,status:e,transactionsDisplayInfo:a,interpretedTransactions:{},sessionInformation:t}},!1,"createTransactionsSession"),o},T=({sessionId:s,status:a,errorMessage:e})=>{i().setState(({transactions:t})=>{t[s].status=a,t[s].errorMessage=e},!1,"updateTransactionsSession")},y=({sessionId:s,transaction:a})=>{let e=null;return i().setState(({transactions:t})=>{let o=t[s]?.transactions;if(o!=null){t[s].transactions=o.map(r=>r.hash===a.hash?{...r,...a??{}}:r);let n=u([...t[s].transactions]);n&&(T({sessionId:s,status:n}),e=n)}},!1,"updateTransactionStatus"),e},h=()=>{i().setState(({transactions:s,toasts:a})=>{let t=Object.keys(s).filter(n=>{let r=s[n];if(!r)return!1;let{status:c}=r;return!(c==="pending"||c==="signed"||c==="sent")});t.forEach(n=>{delete s[n]});let o=a.transactionToasts.filter(n=>!t.includes(n.toastId));a.transactionToasts=o},!1,"clearCompletedTransactions")};export{g as a,T as b,y as c,h as d};
2
- //# sourceMappingURL=chunk-RNSBN5JT.mjs.map
1
+ import{a as u}from"./chunk-L3MWDI6J.mjs";import{q as i}from"./chunk-SDFOOFQZ.mjs";var g=({transactions:s,transactionsDisplayInfo:a,status:e,sessionInformation:t})=>{let o=Date.now().toString();return i().setState(({transactions:n})=>{n[o]={transactions:s,status:e,transactionsDisplayInfo:a,interpretedTransactions:{},sessionInformation:t}},!1,"createTransactionsSession"),o},T=({sessionId:s,status:a,errorMessage:e})=>{i().setState(({transactions:t})=>{t[s].status=a,t[s].errorMessage=e},!1,"updateTransactionsSession")},y=({sessionId:s,transaction:a})=>{let e=null;return i().setState(({transactions:t})=>{let o=t[s]?.transactions;if(o!=null){t[s].transactions=o.map(r=>r.hash===a.hash?{...r,...a??{}}:r);let n=u([...t[s].transactions]);n&&(T({sessionId:s,status:n}),e=n)}},!1,"updateTransactionStatus"),e},h=()=>{i().setState(({transactions:s,toasts:a})=>{let t=Object.keys(s).filter(n=>{let r=s[n];if(!r)return!1;let{status:c}=r;return!(c==="pending"||c==="signed"||c==="sent")});t.forEach(n=>{delete s[n]});let o=a.transactionToasts.filter(n=>!t.includes(n.toastId));a.transactionToasts=o},!1,"clearCompletedTransactions")};export{g as a,T as b,y as c,h as d};
2
+ //# sourceMappingURL=chunk-GWOW4TBY.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk-IE3UIHJF.mjs";var o=()=>a.localStorage;export{o as a};
2
+ //# sourceMappingURL=chunk-HI6GWYQP.mjs.map
@@ -1,2 +1,2 @@
1
- import{e as o,f as a,g as i,h as r}from"./chunk-TQA3JDNV.mjs";import{s as c}from"./chunk-LPGMDX6Q.mjs";function b(){let t=c(),l=r(t),u=i(t),T=a(t),d=o(t),e=Object.keys(d)?.length>0,n=!e&&Object.keys(l)?.length>0,s=!e&&!n&&Object.keys(u)?.length>0,f=!e&&!n&&!s&&Object.keys(T).length>0;return{pending:e,timedOut:n,fail:s,success:f}}export{b as a};
2
- //# sourceMappingURL=chunk-YFXATY46.mjs.map
1
+ import{e as o,f as a,g as i,h as r}from"./chunk-TQA3JDNV.mjs";import{s as c}from"./chunk-SDFOOFQZ.mjs";function b(){let t=c(),l=r(t),u=i(t),T=a(t),d=o(t),e=Object.keys(d)?.length>0,n=!e&&Object.keys(l)?.length>0,s=!e&&!n&&Object.keys(u)?.length>0,f=!e&&!n&&!s&&Object.keys(T).length>0;return{pending:e,timedOut:n,fail:s,success:f}}export{b as a};
2
+ //# sourceMappingURL=chunk-HSCQLXDI.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-4TBVQD27.mjs";import{q as n}from"./chunk-LPGMDX6Q.mjs";var c=t=>n().setState(({config:e})=>{e.nativeAuthConfig=t},!1,"setNativeAuthConfig"),C=t=>n().setState(({config:e})=>{e.websocketStatus=t},!1,"setWebsocketStatus"),f=t=>n().setState(({config:e})=>{let a=t.walletConnectV2RelayAddress||o.walletConnectV2RelayAddress,s=t.walletConnectDeepLink||o.walletConnectDeepLink;e.walletConnectConfig={...t,walletConnectDeepLink:s,walletConnectV2RelayAddress:a}},!1,"setWalletConnectConfig");export{c as a,C as b,f as c};
2
- //# sourceMappingURL=chunk-HOJ7JMTW.mjs.map
1
+ import{a as o}from"./chunk-4TBVQD27.mjs";import{q as n}from"./chunk-SDFOOFQZ.mjs";var c=t=>n().setState(({config:e})=>{e.nativeAuthConfig=t},!1,"setNativeAuthConfig"),C=t=>n().setState(({config:e})=>{e.websocketStatus=t},!1,"setWebsocketStatus"),f=t=>n().setState(({config:e})=>{let a=t.walletConnectV2RelayAddress||o.walletConnectV2RelayAddress,s=t.walletConnectDeepLink||o.walletConnectDeepLink;e.walletConnectConfig={...t,walletConnectDeepLink:s,walletConnectV2RelayAddress:a}},!1,"setWalletConnectConfig");export{c as a,C as b,f as c};
2
+ //# sourceMappingURL=chunk-HZII4LOV.mjs.map
@@ -0,0 +1,2 @@
1
+ import{e}from"./chunk-2IUBMLF4.mjs";import{s as o}from"./chunk-SDFOOFQZ.mjs";import{e as t}from"./chunk-SAAOQW7P.mjs";function m(){let r=t(o());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
+ //# sourceMappingURL=chunk-I4BDQFVV.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as h}from"./chunk-OP2PPPAN.mjs";import{a as s}from"./chunk-4XIT3N7Y.mjs";import{a as k}from"./chunk-B2RDSGON.mjs";import{a as L}from"./chunk-TMOMM4JN.mjs";import{b as A}from"./chunk-NZWPA245.mjs";import{a as I}from"./chunk-BRJNX4JF.mjs";import{f as p}from"./chunk-LPGMDX6Q.mjs";import{a as f}from"./chunk-KD2IQ32V.mjs";import{a as x}from"./chunk-PLUWBWJ2.mjs";import{BigNumber as C}from"bignumber.js";async function M({options:d,config:i,provider:a,login:c}){let e=h.getInstance(),T=L(),b=k({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}),A({address:t.address,index:t.addressIndex,version:P,hasContractDataEnabled:v}),{address:t.address,signature:t.signature}}export{M as a};
2
- //# sourceMappingURL=chunk-2L25IGHZ.mjs.map
1
+ import{a as h}from"./chunk-BIQTHJFC.mjs";import{a as s}from"./chunk-ZAPTIV5E.mjs";import{a as k}from"./chunk-B2RDSGON.mjs";import{a as L}from"./chunk-WQYM2QJ2.mjs";import{b as A}from"./chunk-CP5CXMNG.mjs";import{a as I}from"./chunk-BRJNX4JF.mjs";import{f as p}from"./chunk-SDFOOFQZ.mjs";import{a as f}from"./chunk-KD2IQ32V.mjs";import{a as x}from"./chunk-PLUWBWJ2.mjs";import{BigNumber as C}from"bignumber.js";async function M({options:d,config:i,provider:a,login:c}){let e=h.getInstance(),T=L(),b=k({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}),A({address:t.address,index:t.addressIndex,version:P,hasContractDataEnabled:v}),{address:t.address,signature:t.signature}}export{M as a};
2
+ //# sourceMappingURL=chunk-IBVUYIRU.mjs.map
@@ -0,0 +1,2 @@
1
+ var o=typeof window<"u"?window:{},n="5.1.3-alpha.0";export{o as a,n as b};
2
+ //# sourceMappingURL=chunk-IE3UIHJF.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.1.2'; // 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.1.3-alpha.0'; // will be replaced at build time\n"],
5
5
  "mappings": "AAAO,IAAMA,EACX,OAAO,OAAW,IAAc,OAAU,CAAC,EAEhCC,EAAU",
6
6
  "names": ["safeWindow", "version"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as A}from"./chunk-TMMUB3IK.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-Y3BNMQFP.mjs";import{h as f}from"./chunk-LY3MRREN.mjs";import{h as u}from"./chunk-CAA4VJRH.mjs";import{b as S}from"./chunk-3ZEUVYQF.mjs";import{a as y}from"./chunk-RNSBN5JT.mjs";import{a as g}from"./chunk-L3MWDI6J.mjs";import{a as h}from"./chunk-5JYD7XMI.mjs";import{s as m}from"./chunk-LPGMDX6Q.mjs";import{b as T}from"./chunk-SAAOQW7P.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:a,onFail:t})=>{S({onSuccess:a,onFail:t})};this.send=async a=>{if(a.length===0)throw new Error("No transactions to send");try{if(!I(a))return await this.sendSignedTransactions(a);let t=await this.sendSignedBatchTransactions(a);if(!t.data||t.data.error)throw new Error(t.data?.error??"Failed to send transactions");return t.data.transactions}catch(t){throw t.response?.data?.message??t.message}};this.track=async(a,t={disableToasts:!1})=>{let n=this.sequentialToFlatArray(a).map(e=>({...e,status:e.status??"pending"})),o=g(n),s=y({transactions:n,transactionsDisplayInfo:t.transactionsDisplayInfo,status:o??"sent",sessionInformation:t.sessionInformation});if(t.disableToasts===!0)return s;let i=A(a);return f({toastId:s,totalDuration:i}),s};this.sendSignedTransactions=async a=>{let{apiAddress:t,apiTimeout:n}=T(m());return await Promise.all(a.map(async s=>{let i=await w.post(`${t}/transactions`,s.toPlainObject(),{timeout:Number(n)}),e=i.data.txHash;return{...s.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async a=>{let{address:t}=h(),{apiAddress:n,apiTimeout:o}=T(m());if(!t)return{error:"Invalid address provided. You need to be logged in to send transactions"};let s=this.buildBatchId(t),e={transactions:a.map(p=>p.map(c=>c.toPlainObject())),id:s},{data:l}=await w.post(`${n}/batch`,e,{timeout:Number(o)}),B=l.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return b({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...l,transactions:B}}};this.buildBatchId=a=>`${Date.now().toString()}${u}${a}`;this.sequentialToFlatArray=(a=[])=>this.getIsSequential(a)?a.flat():a;this.getIsSequential=a=>a?.every(t=>Array.isArray(t))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
- //# sourceMappingURL=chunk-3CKDOF3O.mjs.map
1
+ import{a as A}from"./chunk-U63YDSPL.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-Y3BNMQFP.mjs";import{h as f}from"./chunk-YIF2ADTM.mjs";import{b as S}from"./chunk-3ZEUVYQF.mjs";import{a as y}from"./chunk-GWOW4TBY.mjs";import{a as g}from"./chunk-L3MWDI6J.mjs";import{a as h}from"./chunk-ESLRNICJ.mjs";import{h as u}from"./chunk-2IUBMLF4.mjs";import{s as m}from"./chunk-SDFOOFQZ.mjs";import{b as T}from"./chunk-SAAOQW7P.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:a,onFail:t})=>{S({onSuccess:a,onFail:t})};this.send=async a=>{if(a.length===0)throw new Error("No transactions to send");try{if(!I(a))return await this.sendSignedTransactions(a);let t=await this.sendSignedBatchTransactions(a);if(!t.data||t.data.error)throw new Error(t.data?.error??"Failed to send transactions");return t.data.transactions}catch(t){throw t.response?.data?.message??t.message}};this.track=async(a,t={disableToasts:!1})=>{let n=this.sequentialToFlatArray(a).map(e=>({...e,status:e.status??"pending"})),o=g(n),s=y({transactions:n,transactionsDisplayInfo:t.transactionsDisplayInfo,status:o??"sent",sessionInformation:t.sessionInformation});if(t.disableToasts===!0)return s;let i=A(a);return f({toastId:s,totalDuration:i}),s};this.sendSignedTransactions=async a=>{let{apiAddress:t,apiTimeout:n}=T(m());return await Promise.all(a.map(async s=>{let i=await w.post(`${t}/transactions`,s.toPlainObject(),{timeout:Number(n)}),e=i.data.txHash;return{...s.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async a=>{let{address:t}=h(),{apiAddress:n,apiTimeout:o}=T(m());if(!t)return{error:"Invalid address provided. You need to be logged in to send transactions"};let s=this.buildBatchId(t),e={transactions:a.map(p=>p.map(c=>c.toPlainObject())),id:s},{data:l}=await w.post(`${n}/batch`,e,{timeout:Number(o)}),B=l.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return b({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...l,transactions:B}}};this.buildBatchId=a=>`${Date.now().toString()}${u}${a}`;this.sequentialToFlatArray=(a=[])=>this.getIsSequential(a)?a.flat():a;this.getIsSequential=a=>a?.every(t=>Array.isArray(t))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
+ //# sourceMappingURL=chunk-IGTJKYGR.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-7ONKP4ZG.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-RJOP7SCI.mjs.map
1
+ import{a as e}from"./chunk-NHIO5LHC.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-ITHXLW7N.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-VDMJZZU4.mjs";import{b as r}from"./chunk-PLTUKRYU.mjs";import{j as n}from"./chunk-65L5EBBL.mjs";var y=({toastId:a,address:e,status:s,transactions:t,transactionsDisplayInfo:i,startTime:c,endTime:T})=>{let m=n(s),p=t[0]?.action?.name,f=r({address:e,sender:t[0]?.interactor??"",toastId:a,status:s,transactionsDisplayInfo:i,txActionName:p}),u=o(t);return{toastDataState:f,processedTransactionsStatus:u,transactionProgressState:m?{endTime:T,startTime:c}:null,toastId:a,transactions:t}};export{y as a};
2
- //# sourceMappingURL=chunk-FVFVOSQ4.mjs.map
1
+ import{b as r}from"./chunk-PLTUKRYU.mjs";import{a as o}from"./chunk-VDMJZZU4.mjs";import{j as n}from"./chunk-65L5EBBL.mjs";var y=({toastId:a,address:e,status:s,transactions:t,transactionsDisplayInfo:i,startTime:c,endTime:T})=>{let m=n(s),p=t[0]?.action?.name,f=r({address:e,sender:t[0]?.interactor??"",toastId:a,status:s,transactionsDisplayInfo:i,txActionName:p}),u=o(t);return{toastDataState:f,processedTransactionsStatus:u,transactionProgressState:m?{endTime:T,startTime:c}:null,toastId:a,transactions:t}};export{y as a};
2
+ //# sourceMappingURL=chunk-J2SRCAF3.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-IWROXIQ5.mjs";var i=e=>{let t=a();return{origin:e?.origin??t.origin,blockHashShard:e?.blockHashShard,expirySeconds:e?.expirySeconds??t.expirySeconds,apiAddress:e?.apiAddress??t.apiAddress,tokenExpirationToastWarningSeconds:e?.tokenExpirationToastWarningSeconds??t.tokenExpirationToastWarningSeconds,extraInfo:e?.extraInfo??{},gatewayUrl:e?.gatewayUrl,extraRequestHeaders:e?.extraRequestHeaders??{}}};export{i as a};
2
- //# sourceMappingURL=chunk-BGUYSNNW.mjs.map
1
+ import{a}from"./chunk-XJ54ERL3.mjs";var i=e=>{let t=a();return{origin:e?.origin??t.origin,blockHashShard:e?.blockHashShard,expirySeconds:e?.expirySeconds??t.expirySeconds,apiAddress:e?.apiAddress??t.apiAddress,tokenExpirationToastWarningSeconds:e?.tokenExpirationToastWarningSeconds??t.tokenExpirationToastWarningSeconds,extraInfo:e?.extraInfo??{},gatewayUrl:e?.gatewayUrl,extraRequestHeaders:e?.extraRequestHeaders??{}}};export{i as a};
2
+ //# sourceMappingURL=chunk-J42MMBDO.mjs.map
@@ -1,2 +1,2 @@
1
- import{t as n}from"./chunk-LY3MRREN.mjs";import{a as i}from"./chunk-PLUWBWJ2.mjs";var e=async()=>{let o=n();if(o.getType()===i.crossWindow){let r=o;await r.cancelAction(),await r.dispose()}};export{e as a};
2
- //# sourceMappingURL=chunk-YD2O3NV7.mjs.map
1
+ import{t as n}from"./chunk-YIF2ADTM.mjs";import{a as i}from"./chunk-PLUWBWJ2.mjs";var e=async()=>{let o=n();if(o.getType()===i.crossWindow){let r=o;await r.cancelAction(),await r.dispose()}};export{e as a};
2
+ //# sourceMappingURL=chunk-JW2KPAHT.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as t}from"./chunk-SDFOOFQZ.mjs";import{b as e}from"./chunk-SAAOQW7P.mjs";function g(r=t()){return e(r).egldLabel}export{g as a};
2
+ //# sourceMappingURL=chunk-KDNN7EJ5.mjs.map
@@ -1,2 +1,2 @@
1
- import{s as e}from"./chunk-LPGMDX6Q.mjs";import{b as t}from"./chunk-SAAOQW7P.mjs";import{x as r}from"./chunk-KD2IQ32V.mjs";import i from"axios";var T=async o=>{let{apiAddress:s}=t(e()),{data:a}=await i.get(`${s}/${r}`,{params:{hashes:o.join(","),withScResults:!0}});return a};export{T as a};
2
- //# sourceMappingURL=chunk-N6QD4PLA.mjs.map
1
+ import{s as e}from"./chunk-SDFOOFQZ.mjs";import{b as t}from"./chunk-SAAOQW7P.mjs";import{x as r}from"./chunk-KD2IQ32V.mjs";import i from"axios";var T=async o=>{let{apiAddress:s}=t(e()),{data:a}=await i.get(`${s}/${r}`,{params:{hashes:o.join(","),withScResults:!0}});return a};export{T as a};
2
+ //# sourceMappingURL=chunk-KG5VFT6E.mjs.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-KIOUFP5Q.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as k}from"./chunk-IZ4B4B35.mjs";import{a as T}from"./chunk-XCVEFI4B.mjs";import{a as i}from"./chunk-W5MTQBQF.mjs";import{a as m}from"./chunk-DNFWIYZH.mjs";import{a as l}from"./chunk-U3UMCTU6.mjs";import{c as d}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-7CELSV4S.mjs";var p=class{static async processTransactions({address:u,egldLabel:v,explorerAddress:g,transactions:L}){let f=L.map(e=>m({address:u,explorerAddress:g,transaction:e}));return await Promise.all(f.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),a=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:h,receiverLockedAccount:D}=await k({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=T({transaction:e}),x=r?.token.type==="MetaESDT"?void 0:r?.badgeText,c=l.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??d,digits:2}),y={badge:x??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?v:"",link: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:c.valueDecimal,valueInteger:c.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:!!D,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:a??"",description:`${a??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!h,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:y}}))}};export{p as a};
2
- //# sourceMappingURL=chunk-4AUL3FHT.mjs.map
1
+ import{a as k}from"./chunk-M2GO2ZKG.mjs";import{a as T}from"./chunk-XCVEFI4B.mjs";import{a as i}from"./chunk-W5MTQBQF.mjs";import{a as m}from"./chunk-UNBTFF6K.mjs";import{a as l}from"./chunk-U3UMCTU6.mjs";import{c as d}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-7CELSV4S.mjs";var p=class{static async processTransactions({address:u,egldLabel:v,explorerAddress:g,transactions:L}){let f=L.map(e=>m({address:u,explorerAddress:g,transaction:e}));return await Promise.all(f.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),a=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:h,receiverLockedAccount:D}=await k({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=T({transaction:e}),x=r?.token.type==="MetaESDT"?void 0:r?.badgeText,c=l.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??d,digits:2}),y={badge:x??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?v:"",link: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:c.valueDecimal,valueInteger:c.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:!!D,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:a??"",description:`${a??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!h,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:y}}))}};export{p as a};
2
+ //# sourceMappingURL=chunk-KJB2FQHY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-6PDGQGIS.mjs";var a=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await s.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{a};
2
- //# sourceMappingURL=chunk-FFHHIKMI.mjs.map
1
+ import{a as s}from"./chunk-YGA2ZW7F.mjs";var a=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await s.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{a};
2
+ //# sourceMappingURL=chunk-KQNIDAOO.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as h}from"./chunk-N6QD4PLA.mjs";import{a as p}from"./chunk-PHMJQ5FC.mjs";import{a as d}from"./chunk-IRBGQJE4.mjs";import{a as T}from"./chunk-3L7HZ2SO.mjs";var f=a=>a.sort((i,o)=>o.timestamp-i.timestamp),H=async({transactions:a,address:i,explorerAddress:o,egldLabel:g})=>{let e=[],r=[];if(a.forEach(s=>{let t=d(s.hash);t?e.push(t):r.push(s.hash)}),r.length===0)return f(e);let c=await h(r),I=c.map(s=>s.txHash),m=r.filter(s=>!I.includes(s));if(m.length>0){let t=a.filter(n=>m.includes(n.hash)).map(n=>({...n,txHash:n.hash,price:0,status:"pending",gasUsed:0,miniBlockHash:"",receiverShard:0,round:0,senderShard:0,timestamp:Date.now()}));c.push(...t)}return c.forEach(s=>{let t=T({transaction:s,address:i,explorerAddress:o,egldLabel:g});t.status!=="pending"&&p({key:`transaction-${s.txHash}`,value:t}),e.push(t)}),f(e)};export{H as a};
2
- //# sourceMappingURL=chunk-JV7AJLRI.mjs.map
1
+ import{a as h}from"./chunk-KG5VFT6E.mjs";import{a as p}from"./chunk-V226OFPH.mjs";import{a as d}from"./chunk-23VZAAPS.mjs";import{a as T}from"./chunk-3L7HZ2SO.mjs";var f=a=>a.sort((i,o)=>o.timestamp-i.timestamp),H=async({transactions:a,address:i,explorerAddress:o,egldLabel:g})=>{let e=[],r=[];if(a.forEach(s=>{let t=d(s.hash);t?e.push(t):r.push(s.hash)}),r.length===0)return f(e);let c=await h(r),I=c.map(s=>s.txHash),m=r.filter(s=>!I.includes(s));if(m.length>0){let t=a.filter(n=>m.includes(n.hash)).map(n=>({...n,txHash:n.hash,price:0,status:"pending",gasUsed:0,miniBlockHash:"",receiverShard:0,round:0,senderShard:0,timestamp:Date.now()}));c.push(...t)}return c.forEach(s=>{let t=T({transaction:s,address:i,explorerAddress:o,egldLabel:g});t.status!=="pending"&&p({key:`transaction-${s.txHash}`,value:t}),e.push(t)}),f(e)};export{H as a};
2
+ //# sourceMappingURL=chunk-L5SWSYR7.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-I6WJ63GD.mjs";import{a as c}from"./chunk-I3MK6KZJ.mjs";var f=async({receiver:n,sender:i,tokenId:s})=>{let t=null,r=null;if(!s)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await l({tokenId:s}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(i===e&&(t=e),n===e&&(r=e)),c(o[e])&&(i===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{f as a};
2
- //# sourceMappingURL=chunk-IZ4B4B35.mjs.map
1
+ import{a as l}from"./chunk-3DBK6MUI.mjs";import{a as c}from"./chunk-I3MK6KZJ.mjs";var f=async({receiver:n,sender:i,tokenId:s})=>{let t=null,r=null;if(!s)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await l({tokenId:s}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(i===e&&(t=e),n===e&&(r=e)),c(o[e])&&(i===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{f as a};
2
+ //# sourceMappingURL=chunk-M2GO2ZKG.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-KXUILKL2.mjs";var t={closeConnectionRef:void 0};async function c(n){let{closeConnection:o}=await e(n);t.closeConnectionRef=o}export{t as a,c as b};
2
- //# sourceMappingURL=chunk-PO3ODHJ7.mjs.map
1
+ import{a as e}from"./chunk-XBF3UPD7.mjs";var t={closeConnectionRef:void 0};async function c(n){let{closeConnection:o}=await e(n);t.closeConnectionRef=o}export{t as a,c as b};
2
+ //# sourceMappingURL=chunk-MQABF3VZ.mjs.map