@multiversx/sdk-dapp 5.6.11 → 5.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (988) hide show
  1. package/out/__chunks__/chunk-22F6NHUW.mjs +2 -0
  2. package/out/__chunks__/chunk-365NUVE7.mjs +2 -0
  3. package/out/__chunks__/{chunk-JO3KLBXS.mjs → chunk-3VPAVTVL.mjs} +2 -2
  4. package/out/__chunks__/chunk-4FBGOTSX.mjs +2 -0
  5. package/out/__chunks__/{chunk-QGUQTBVR.mjs → chunk-4IM7MMSB.mjs} +2 -2
  6. package/out/__chunks__/{chunk-EETA2QXV.mjs → chunk-5NRAQWO4.mjs} +2 -2
  7. package/out/__chunks__/{chunk-EH3QXINF.mjs → chunk-6ECOAQX4.mjs} +2 -2
  8. package/out/__chunks__/{chunk-OSGTEMH4.mjs → chunk-6MBRTWME.mjs} +2 -2
  9. package/out/__chunks__/{chunk-HKZTCRSV.mjs → chunk-6UTLNODT.mjs} +2 -2
  10. package/out/__chunks__/{chunk-UGY4JSP3.mjs → chunk-AIBBSVXP.mjs} +2 -2
  11. package/out/__chunks__/{chunk-AAIKQGPN.mjs → chunk-AQIZZ6YU.mjs} +2 -2
  12. package/out/__chunks__/{chunk-TRICXIPQ.mjs → chunk-AU2YBHNW.mjs} +2 -2
  13. package/out/__chunks__/{chunk-P6OHY6KU.mjs → chunk-B4WJMVF6.mjs} +2 -2
  14. package/out/__chunks__/{chunk-RSNSPKZ3.mjs → chunk-BI2PJ5FS.mjs} +2 -2
  15. package/out/__chunks__/{chunk-DY53O4ED.mjs → chunk-C23VOAOY.mjs} +2 -2
  16. package/out/__chunks__/{chunk-Q6SV22DH.mjs → chunk-CDU3ZELH.mjs} +2 -2
  17. package/out/__chunks__/{chunk-AHORDOF4.mjs → chunk-CPGY3DQJ.mjs} +2 -2
  18. package/out/__chunks__/{chunk-CDHVNNSM.mjs → chunk-CVW52D7K.mjs} +2 -2
  19. package/out/__chunks__/{chunk-OWYOEUPL.mjs → chunk-CYA7ED2N.mjs} +2 -2
  20. package/out/__chunks__/{chunk-UWCHOJH4.mjs → chunk-DDRH6O3X.mjs} +2 -2
  21. package/out/__chunks__/chunk-DDS3DY4B.mjs +2 -0
  22. package/out/__chunks__/{chunk-ICJ5ZWS4.mjs → chunk-DKBOH236.mjs} +2 -2
  23. package/out/__chunks__/{chunk-YVOZYFMU.mjs → chunk-EIUQFHRY.mjs} +2 -2
  24. package/out/__chunks__/{chunk-XZ2BAC7C.mjs → chunk-EJ4TUIIU.mjs} +2 -2
  25. package/out/__chunks__/{chunk-P4H53TTI.mjs → chunk-F3PJPNGU.mjs} +2 -2
  26. package/out/__chunks__/{chunk-QMSYQJAU.mjs → chunk-FLFZN2T6.mjs} +2 -2
  27. package/out/__chunks__/{chunk-3C4QWHTF.mjs → chunk-G2WU3X6R.mjs} +2 -2
  28. package/out/__chunks__/chunk-GJSAN3GO.mjs +2 -0
  29. package/out/__chunks__/{chunk-AJBGY6A5.mjs → chunk-GOUIWTTC.mjs} +2 -2
  30. package/out/__chunks__/{chunk-W4F3YI3F.mjs → chunk-GP6W6RR7.mjs} +2 -2
  31. package/out/__chunks__/{chunk-I5NDCPU2.mjs → chunk-GPKU7JO2.mjs} +2 -2
  32. package/out/__chunks__/{chunk-L7AC35OO.mjs → chunk-HPY6UNFO.mjs} +2 -2
  33. package/out/__chunks__/{chunk-COA54JTE.mjs → chunk-HY5I67W7.mjs} +2 -2
  34. package/out/__chunks__/{chunk-6BA2NDJT.mjs → chunk-IPGIVRGN.mjs} +2 -2
  35. package/out/__chunks__/chunk-JAXSTKEJ.mjs +2 -0
  36. package/out/__chunks__/{chunk-H3TSHWUD.mjs → chunk-JL6BHC7T.mjs} +2 -2
  37. package/out/__chunks__/{chunk-OKO3GIXC.mjs → chunk-KAY6QD6V.mjs} +2 -2
  38. package/out/__chunks__/{chunk-2NE75KNA.mjs → chunk-L6SBIHCZ.mjs} +2 -2
  39. package/out/__chunks__/{chunk-T6I7XQHS.mjs → chunk-L7HC5J53.mjs} +2 -2
  40. package/out/__chunks__/{chunk-R7Y4IM2T.mjs → chunk-LJ5RLWEK.mjs} +2 -2
  41. package/out/__chunks__/chunk-LLVSK2AG.mjs +2 -0
  42. package/out/__chunks__/{chunk-PKNPUHFQ.mjs → chunk-LT4RXTTQ.mjs} +2 -2
  43. package/out/__chunks__/{chunk-H3MXIVR4.mjs → chunk-LXSGLYGV.mjs} +2 -2
  44. package/out/__chunks__/{chunk-DDB4KRVV.mjs → chunk-LYUGR2FR.mjs} +2 -2
  45. package/out/__chunks__/{chunk-QHANP3XT.mjs → chunk-MFGDF3HI.mjs} +2 -2
  46. package/out/__chunks__/{chunk-LNRVNBRB.mjs → chunk-N6G3CMSC.mjs} +2 -2
  47. package/out/__chunks__/{chunk-LUVMM57Y.mjs → chunk-NK2JTYOC.mjs} +2 -2
  48. package/out/__chunks__/{chunk-CNE5LY2X.mjs → chunk-OGL4HN2P.mjs} +2 -2
  49. package/out/__chunks__/{chunk-CMN37YZP.mjs → chunk-QDUNEKJW.mjs} +2 -2
  50. package/out/__chunks__/{chunk-JJ6B2ZYX.mjs → chunk-QNXBITGY.mjs} +2 -2
  51. package/out/__chunks__/{chunk-X7XFHGOE.mjs → chunk-QRPH4JCL.mjs} +2 -2
  52. package/out/__chunks__/{chunk-RGDZMPES.mjs → chunk-QWBFB3BL.mjs} +2 -2
  53. package/out/__chunks__/{chunk-IWQH426N.mjs → chunk-QWVZ4NTR.mjs} +2 -2
  54. package/out/__chunks__/{chunk-VLJXRHVE.mjs → chunk-RC4ZBXFJ.mjs} +2 -2
  55. package/out/__chunks__/chunk-RFGBMNFA.mjs +2 -0
  56. package/out/__chunks__/{chunk-CYKK4HPZ.mjs → chunk-RNK62S6X.mjs} +2 -2
  57. package/out/__chunks__/{chunk-JBPJL3B7.mjs → chunk-RVW6Z4XY.mjs} +2 -2
  58. package/out/__chunks__/{chunk-3Z7CLSDP.mjs → chunk-S72I2KYP.mjs} +2 -2
  59. package/out/__chunks__/chunk-SML7WOGP.mjs +2 -0
  60. package/out/__chunks__/chunk-SVG75M4S.mjs +2 -0
  61. package/out/__chunks__/{chunk-TU6TE5PG.mjs → chunk-SWIPPQAS.mjs} +2 -2
  62. package/out/__chunks__/{chunk-3MWPYDLA.mjs → chunk-TIX7PAYC.mjs} +2 -2
  63. package/out/__chunks__/{chunk-OAFYVJLF.mjs → chunk-TWDQUDRP.mjs} +2 -2
  64. package/out/__chunks__/{chunk-6VJXXSIS.mjs → chunk-UDWPAR25.mjs} +2 -2
  65. package/out/__chunks__/chunk-UJA73JSW.mjs +2 -0
  66. package/out/__chunks__/{chunk-IZVWRQDU.mjs → chunk-UUFVP7SB.mjs} +2 -2
  67. package/out/__chunks__/chunk-UWBYA2GM.mjs +2 -0
  68. package/out/__chunks__/{chunk-J7DUP7GC.mjs → chunk-UY2X77BA.mjs} +2 -2
  69. package/out/__chunks__/{chunk-L5RYEWHO.mjs → chunk-V6HSYMMG.mjs} +2 -2
  70. package/out/__chunks__/chunk-VA7KLP35.mjs +2 -0
  71. package/out/__chunks__/{chunk-JMJ7OMSW.mjs → chunk-VCU3YP4J.mjs} +2 -2
  72. package/out/__chunks__/{chunk-S4GXN3R7.mjs → chunk-VLRP4JQW.mjs} +2 -2
  73. package/out/__chunks__/{chunk-KTSYT4CA.mjs → chunk-VOCZMUMV.mjs} +2 -2
  74. package/out/__chunks__/{chunk-DY3P72D3.mjs → chunk-VSOHM56Y.mjs} +2 -2
  75. package/out/__chunks__/{chunk-6BNZ4EJC.mjs → chunk-WDL6SFHR.mjs} +2 -2
  76. package/out/__chunks__/{chunk-YEBGEZ5L.mjs → chunk-XEDB2GXW.mjs} +2 -2
  77. package/out/__chunks__/chunk-XELB2AVG.mjs +2 -0
  78. package/out/__chunks__/{chunk-PENSR33H.mjs → chunk-YAVOCSOD.mjs} +2 -2
  79. package/out/__chunks__/{chunk-FRIOQMD3.mjs → chunk-YDH26OGG.mjs} +2 -2
  80. package/out/__chunks__/chunk-YDR33UBM.mjs +2 -0
  81. package/out/__chunks__/{chunk-R3IH76PW.mjs.map → chunk-YDR33UBM.mjs.map} +1 -1
  82. package/out/__chunks__/{chunk-MNN7JOCV.mjs → chunk-YG6SFLZY.mjs} +2 -2
  83. package/out/__chunks__/{chunk-YJQR63IW.mjs → chunk-YHON33YS.mjs} +2 -2
  84. package/out/__chunks__/{chunk-RQOU5LG4.mjs → chunk-YKYYWL4B.mjs} +2 -2
  85. package/out/__chunks__/{chunk-FRREO5DY.mjs → chunk-YTKDRPWM.mjs} +2 -2
  86. package/out/__chunks__/{chunk-RMMIR3MN.mjs → chunk-YXKQJKZV.mjs} +2 -2
  87. package/out/__chunks__/{chunk-O65UD2QD.mjs → chunk-Z72NFBTZ.mjs} +2 -2
  88. package/out/__chunks__/{chunk-CG6BZB2U.mjs → chunk-ZLGDFBX7.mjs} +2 -2
  89. package/out/__chunks__/{chunk-QACFOFUG.mjs → chunk-ZMZXHLYM.mjs} +2 -2
  90. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  91. package/out/apiCalls/account/getAccountFromApi.d.ts +9 -0
  92. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  93. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  94. package/out/apiCalls/account/getScamAddressData.d.ts +8 -0
  95. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  96. package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -1
  97. package/out/apiCalls/configuration/getCleanApiAddress.d.ts +1 -0
  98. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  99. package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
  100. package/out/apiCalls/configuration/getGasStationMetadata.d.ts +2 -0
  101. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  102. package/out/apiCalls/configuration/getNetworkConfigFromApi.d.ts +2 -0
  103. package/out/apiCalls/configuration/getServerConfiguration.d.ts +2 -0
  104. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  105. package/out/apiCalls/economics/getEconomics.d.ts +13 -0
  106. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  107. package/out/apiCalls/endpoints.d.ts +26 -0
  108. package/out/apiCalls/tokens/getPersistedToken.cjs +1 -1
  109. package/out/apiCalls/tokens/getPersistedToken.d.ts +1 -0
  110. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -1
  111. package/out/apiCalls/tokens/getPersistedTokenDetails.d.ts +35 -0
  112. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  113. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  114. package/out/apiCalls/tokens/getTokenDetails.d.ts +4 -0
  115. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  116. package/out/apiCalls/tokens/tokenDataStorage.d.ts +5 -0
  117. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -1
  118. package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +4 -0
  119. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  120. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  121. package/out/apiCalls/transactions/getTransactionByHash.d.ts +2 -0
  122. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  123. package/out/apiCalls/transactions/getTransactions.cjs +1 -1
  124. package/out/apiCalls/transactions/getTransactions.d.ts +21 -0
  125. package/out/apiCalls/transactions/getTransactionsByHashes.d.ts +2 -0
  126. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  127. package/out/apiCalls/utils/axiosFetcher.cjs +1 -1
  128. package/out/apiCalls/utils/axiosFetcher.d.ts +1 -0
  129. package/out/apiCalls/utils/axiosInstance.d.ts +2 -0
  130. package/out/apiCalls/websocket/getWebsocketUrl.d.ts +1 -0
  131. package/out/constants/UITags.enum.d.ts +9 -0
  132. package/out/constants/browser.constants.d.ts +2 -0
  133. package/out/constants/browser.constants.mjs +1 -1
  134. package/out/constants/ledger.constants.d.ts +92 -0
  135. package/out/constants/mvx.constants.d.ts +15 -0
  136. package/out/constants/network.constants.cjs +1 -1
  137. package/out/constants/network.constants.d.ts +11 -0
  138. package/out/constants/placeholders.constants.d.ts +7 -0
  139. package/out/constants/providerFactory.constants.cjs +1 -1
  140. package/out/constants/providerFactory.constants.d.ts +3 -0
  141. package/out/constants/storage.constants.d.ts +7 -0
  142. package/out/constants/storage.constants.mjs +1 -1
  143. package/out/constants/transactions.constants.d.ts +13 -0
  144. package/out/constants/walletConnect.constants.d.ts +2 -0
  145. package/out/constants/websocket.constants.d.ts +10 -0
  146. package/out/constants/window.constants.cjs +1 -1
  147. package/out/constants/window.constants.cjs.map +1 -1
  148. package/out/constants/window.constants.d.ts +2 -0
  149. package/out/constants/window.constants.mjs +1 -1
  150. package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -1
  151. package/out/controllers/FormatAmountController/FormatAmountController.d.ts +6 -0
  152. package/out/controllers/FormatAmountController/index.d.ts +1 -0
  153. package/out/controllers/FormatAmountController/types.d.ts +11 -0
  154. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  155. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +4 -0
  156. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  157. package/out/controllers/TransactionsHistoryController/index.d.ts +1 -0
  158. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  159. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  160. package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +12 -0
  161. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  162. package/out/controllers/TransactionsTableController/index.d.ts +1 -0
  163. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  164. package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +38 -0
  165. package/out/lib/sdkCore.d.ts +7 -0
  166. package/out/lib/sdkDappUI.components.d.ts +1 -0
  167. package/out/lib/sdkDappUi.d.ts +9 -0
  168. package/out/lib/sdkDappUi.mjs +1 -1
  169. package/out/lib/sdkDappUtils.d.ts +6 -0
  170. package/out/lib/sdkWebWalletCrossWindowProvider.d.ts +3 -0
  171. package/out/lib/sdkWebWalletIframeProvider.d.ts +1 -0
  172. package/out/lib/sdkWebviewProvider.d.ts +1 -0
  173. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  174. package/out/managers/LogoutManager/LogoutManager.d.ts +15 -0
  175. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  176. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.d.ts +1 -0
  177. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -1
  178. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +31 -0
  179. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  180. package/out/managers/NotificationsFeedManager/index.d.ts +2 -0
  181. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  182. package/out/managers/NotificationsFeedManager/types/index.d.ts +1 -0
  183. package/out/managers/NotificationsFeedManager/types/notifications.types.d.ts +7 -0
  184. package/out/managers/ToastManager/ToastManager.cjs +1 -1
  185. package/out/managers/ToastManager/ToastManager.d.ts +36 -0
  186. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  187. package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -1
  188. package/out/managers/ToastManager/ToastUICoordinator.d.ts +30 -0
  189. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  190. package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
  191. package/out/managers/ToastManager/helpers/LifetimeManager.d.ts +14 -0
  192. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  193. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  194. package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +11 -0
  195. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  196. package/out/managers/ToastManager/helpers/createTransactionToast.cjs +1 -1
  197. package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +15 -0
  198. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  199. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +2 -0
  200. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -1
  201. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.d.ts +2 -0
  202. package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +2 -0
  203. package/out/managers/ToastManager/helpers/tests/mocks/cache.d.ts +14 -0
  204. package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +14 -0
  205. package/out/managers/ToastManager/index.d.ts +1 -0
  206. package/out/managers/ToastManager/index.mjs +1 -1
  207. package/out/managers/ToastManager/tests/helpers/createStoreStub.d.ts +2 -0
  208. package/out/managers/ToastManager/types/index.d.ts +1 -0
  209. package/out/managers/ToastManager/types/toast.types.d.ts +50 -0
  210. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  211. package/out/managers/TransactionManager/TransactionManager.d.ts +55 -0
  212. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  213. package/out/managers/TransactionManager/TransactionManager.types.d.ts +21 -0
  214. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  215. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.d.ts +2 -0
  216. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  217. package/out/managers/TransactionManager/helpers/getToastDuration.d.ts +2 -0
  218. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  219. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  220. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +3 -0
  221. package/out/managers/TransactionManager/helpers/isBatchTransaction.d.ts +1 -0
  222. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -1
  223. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.d.ts +6 -0
  224. package/out/managers/TransactionManager/helpers/sessionCallbacks.d.ts +8 -0
  225. package/out/managers/TransactionManager/index.d.ts +1 -0
  226. package/out/managers/TransactionManager/index.mjs +1 -1
  227. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  228. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +27 -0
  229. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  230. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +86 -0
  231. package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.d.ts +7 -0
  232. package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +1 -1
  233. package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +2 -0
  234. package/out/managers/UnlockPanelManager/index.d.ts +1 -0
  235. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  236. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -1
  237. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +46 -0
  238. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  239. package/out/managers/internal/LedgerConnectStateManager/index.d.ts +2 -0
  240. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  241. package/out/managers/internal/LedgerConnectStateManager/types/index.d.ts +1 -0
  242. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.d.ts +8 -0
  243. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  244. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.d.ts +13 -0
  245. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  246. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +1 -1
  247. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +12 -0
  248. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  249. package/out/managers/internal/PendingTransactionsStateManager/index.d.ts +2 -0
  250. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  251. package/out/managers/internal/PendingTransactionsStateManager/types/index.d.ts +1 -0
  252. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.d.ts +4 -0
  253. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -1
  254. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +18 -0
  255. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  256. package/out/managers/internal/SidePanelBaseManager/index.d.ts +1 -0
  257. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  258. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +1 -1
  259. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.d.ts +29 -0
  260. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  261. package/out/managers/internal/SignTransactionsStateManager/index.d.ts +1 -0
  262. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  263. package/out/managers/internal/SignTransactionsStateManager/types/index.d.ts +1 -0
  264. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +63 -0
  265. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
  266. package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +30 -0
  267. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  268. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +1 -1
  269. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +14 -0
  270. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  271. package/out/managers/internal/WalletConnectStateManager/index.d.ts +1 -0
  272. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  273. package/out/methods/account/getAccount.cjs +1 -1
  274. package/out/methods/account/getAccount.d.ts +1 -0
  275. package/out/methods/account/getAccount.mjs +1 -1
  276. package/out/methods/account/getAccountInfo.cjs +1 -1
  277. package/out/methods/account/getAccountInfo.d.ts +15 -0
  278. package/out/methods/account/getAccountInfo.mjs +1 -1
  279. package/out/methods/account/getAddress.cjs +1 -1
  280. package/out/methods/account/getAddress.d.ts +1 -0
  281. package/out/methods/account/getAddress.mjs +1 -1
  282. package/out/methods/account/getIsLoggedIn.cjs +1 -1
  283. package/out/methods/account/getIsLoggedIn.d.ts +1 -0
  284. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  285. package/out/methods/account/getLatestNonce.d.ts +2 -0
  286. package/out/methods/account/getLatestNonce.mjs +1 -1
  287. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs +1 -1
  288. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.d.ts +6 -0
  289. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  290. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
  291. package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +6 -0
  292. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  293. package/out/methods/initApp/initApp.cjs +1 -1
  294. package/out/methods/initApp/initApp.d.ts +19 -0
  295. package/out/methods/initApp/initApp.mjs +1 -1
  296. package/out/methods/initApp/initApp.types.d.ts +126 -0
  297. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
  298. package/out/methods/initApp/websocket/initializeWebsocketConnection.d.ts +3 -0
  299. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  300. package/out/methods/initApp/websocket/registerWebsocket.d.ts +19 -0
  301. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  302. package/out/methods/loginInfo/getLoginInfo.cjs +1 -1
  303. package/out/methods/loginInfo/getLoginInfo.d.ts +9 -0
  304. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  305. package/out/methods/network/getEgldLabel.cjs +1 -1
  306. package/out/methods/network/getEgldLabel.d.ts +1 -0
  307. package/out/methods/network/getEgldLabel.mjs +1 -1
  308. package/out/methods/network/getExplorerAddress.cjs +1 -1
  309. package/out/methods/network/getExplorerAddress.d.ts +1 -0
  310. package/out/methods/network/getExplorerAddress.mjs +1 -1
  311. package/out/methods/network/getNetworkConfig.cjs +1 -1
  312. package/out/methods/network/getNetworkConfig.d.ts +1 -0
  313. package/out/methods/network/getNetworkConfig.mjs +1 -1
  314. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +1 -1
  315. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.d.ts +1 -0
  316. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  317. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
  318. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.d.ts +7 -0
  319. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  320. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.cjs +1 -1
  321. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.d.ts +7 -0
  322. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs +1 -1
  323. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.d.ts +5 -0
  324. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  325. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs +1 -1
  326. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.d.ts +13 -0
  327. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  328. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs +1 -1
  329. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.d.ts +3 -0
  330. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  331. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.d.ts +1 -0
  332. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  333. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.cjs +1 -1
  334. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.d.ts +2 -0
  335. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.d.ts +1 -0
  336. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  337. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
  338. package/out/methods/trackTransactions/helpers/getPollingInterval.d.ts +1 -0
  339. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  340. package/out/methods/trackTransactions/trackTransactions.cjs +1 -1
  341. package/out/methods/trackTransactions/trackTransactions.d.ts +7 -0
  342. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  343. package/out/methods/transactions/getFailedTransactions.cjs +1 -1
  344. package/out/methods/transactions/getFailedTransactions.d.ts +1 -0
  345. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  346. package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -1
  347. package/out/methods/transactions/getFailedTransactionsSessions.d.ts +1 -0
  348. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  349. package/out/methods/transactions/getPendingTransactions.cjs +1 -1
  350. package/out/methods/transactions/getPendingTransactions.d.ts +1 -0
  351. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  352. package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -1
  353. package/out/methods/transactions/getPendingTransactionsSessions.d.ts +1 -0
  354. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  355. package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -1
  356. package/out/methods/transactions/getSuccessfulTransactions.d.ts +1 -0
  357. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  358. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -1
  359. package/out/methods/transactions/getSuccessfulTransactionsSessions.d.ts +1 -0
  360. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  361. package/out/methods/transactions/getTransactionSessions.cjs +1 -1
  362. package/out/methods/transactions/getTransactionSessions.d.ts +1 -0
  363. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  364. package/out/providers/DappProvider/DappProvider.cjs +1 -1
  365. package/out/providers/DappProvider/DappProvider.d.ts +29 -0
  366. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  367. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.d.ts +8 -0
  368. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.d.ts +5 -0
  369. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
  370. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.d.ts +8 -0
  371. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  372. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +1 -1
  373. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.d.ts +10 -0
  374. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  375. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.d.ts +13 -0
  376. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  377. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +1 -1
  378. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.d.ts +8 -0
  379. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  380. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.cjs +1 -1
  381. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.d.ts +7 -0
  382. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  383. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs +1 -1
  384. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.d.ts +10 -0
  385. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  386. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs +1 -1
  387. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.d.ts +4 -0
  388. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  389. package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
  390. package/out/providers/DappProvider/helpers/login/login.d.ts +7 -0
  391. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  392. package/out/providers/DappProvider/helpers/logout/logout.cjs +1 -1
  393. package/out/providers/DappProvider/helpers/logout/logout.d.ts +12 -0
  394. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  395. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
  396. package/out/providers/DappProvider/helpers/signErrors/handleSignError.d.ts +1 -0
  397. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  398. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +1 -1
  399. package/out/providers/DappProvider/helpers/signMessage/getVerifier.d.ts +7 -0
  400. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -1
  401. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +10 -0
  402. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  403. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +1 -1
  404. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.d.ts +6 -0
  405. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
  406. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.d.ts +13 -0
  407. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  408. package/out/providers/DappProvider/index.d.ts +1 -0
  409. package/out/providers/DappProvider/index.mjs +1 -1
  410. package/out/providers/ProviderFactory.cjs +1 -1
  411. package/out/providers/ProviderFactory.d.ts +9 -0
  412. package/out/providers/ProviderFactory.mjs +1 -1
  413. package/out/providers/helpers/accountProvider.d.ts +5 -0
  414. package/out/providers/helpers/accountProvider.mjs +1 -1
  415. package/out/providers/helpers/cancelCrossWindowAction.d.ts +1 -0
  416. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  417. package/out/providers/helpers/clearInitiatedLogins.cjs +1 -1
  418. package/out/providers/helpers/clearInitiatedLogins.d.ts +4 -0
  419. package/out/providers/helpers/emptyProvider.cjs +1 -1
  420. package/out/providers/helpers/emptyProvider.d.ts +35 -0
  421. package/out/providers/helpers/restoreProvider.cjs +1 -1
  422. package/out/providers/helpers/restoreProvider.d.ts +1 -0
  423. package/out/providers/helpers/restoreProvider.mjs +1 -1
  424. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
  425. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +51 -0
  426. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  427. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
  428. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +25 -0
  429. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  430. package/out/providers/strategies/CrossWindowProviderStrategy/index.d.ts +1 -0
  431. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  432. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
  433. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +19 -0
  434. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  435. package/out/providers/strategies/ExtensionProviderStrategy/index.d.ts +1 -0
  436. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  437. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
  438. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +22 -0
  439. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  440. package/out/providers/strategies/IframeProviderStrategy/index.d.ts +2 -0
  441. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  442. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.d.ts +4 -0
  443. package/out/providers/strategies/IframeProviderStrategy/types/index.d.ts +1 -0
  444. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
  445. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +38 -0
  446. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  447. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
  448. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.d.ts +16 -0
  449. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  450. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs +1 -1
  451. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.d.ts +8 -0
  452. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
  453. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts +9 -0
  454. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.d.ts +1 -0
  455. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.d.ts +1 -0
  456. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  457. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
  458. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.d.ts +13 -0
  459. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  460. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.d.ts +8 -0
  461. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +1 -1
  462. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
  463. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  464. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
  465. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  466. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +1 -1
  467. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.d.ts +4 -0
  468. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +1 -1
  469. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.d.ts +8 -0
  470. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  471. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
  472. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.d.ts +5 -0
  473. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
  474. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
  475. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  476. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
  477. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +10 -0
  478. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  479. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -1
  480. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.d.ts +5 -0
  481. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  482. package/out/providers/strategies/LedgerProviderStrategy/index.d.ts +2 -0
  483. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  484. package/out/providers/strategies/LedgerProviderStrategy/types/index.d.ts +1 -0
  485. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.d.ts +40 -0
  486. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.d.ts +8 -0
  487. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
  488. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +37 -0
  489. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  490. package/out/providers/strategies/WalletConnectProviderStrategy/index.d.ts +2 -0
  491. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  492. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.d.ts +1 -0
  493. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.d.ts +29 -0
  494. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
  495. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.d.ts +20 -0
  496. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  497. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.d.ts +1 -0
  498. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  499. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +1 -1
  500. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +23 -0
  501. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  502. package/out/providers/strategies/WebviewProviderStrategy/index.d.ts +1 -0
  503. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  504. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +1 -1
  505. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.d.ts +9 -0
  506. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  507. package/out/providers/strategies/helpers/index.d.ts +1 -0
  508. package/out/providers/strategies/helpers/index.mjs +1 -1
  509. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
  510. package/out/providers/strategies/helpers/signMessage/signMessage.d.ts +9 -0
  511. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  512. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +1 -1
  513. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.d.ts +6 -0
  514. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
  515. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.d.ts +13 -0
  516. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
  517. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +31 -0
  518. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  519. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
  520. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.d.ts +2 -0
  521. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +1 -1
  522. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.d.ts +6 -0
  523. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
  524. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.d.ts +18 -0
  525. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  526. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.cjs +1 -1
  527. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.d.ts +13 -0
  528. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.d.ts +2 -0
  529. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +1 -1
  530. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.d.ts +10 -0
  531. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +1 -1
  532. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.d.ts +2 -0
  533. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +1 -1
  534. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.d.ts +2 -0
  535. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.d.ts +6 -0
  536. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.d.ts +73 -0
  537. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -1
  538. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.d.ts +9 -0
  539. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.d.ts +7 -0
  540. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.d.ts +1 -0
  541. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +1 -1
  542. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.d.ts +2 -0
  543. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
  544. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.d.ts +8 -0
  545. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -1
  546. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.d.ts +5 -0
  547. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.d.ts +5 -0
  548. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
  549. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.d.ts +2 -0
  550. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  551. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.d.ts +4 -0
  552. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
  553. package/out/providers/strategies/helpers/signTransactions/signTransactions.d.ts +12 -0
  554. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  555. package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +16 -0
  556. package/out/providers/types/providerFactory.types.d.ts +51 -0
  557. package/out/react/account/useGetAccount.d.ts +1 -0
  558. package/out/react/account/useGetAccount.mjs +1 -1
  559. package/out/react/account/useGetAccountInfo.d.ts +15 -0
  560. package/out/react/account/useGetAccountInfo.mjs +1 -1
  561. package/out/react/account/useGetIsLoggedIn.d.ts +1 -0
  562. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  563. package/out/react/account/useGetLatestNonce.d.ts +1 -0
  564. package/out/react/account/useGetLatestNonce.mjs +1 -1
  565. package/out/react/index.d.ts +1 -0
  566. package/out/react/index.mjs +1 -1
  567. package/out/react/loginInfo/useGetLoginInfo.d.ts +9 -0
  568. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  569. package/out/react/network/useGetNetworkConfig.d.ts +1 -0
  570. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  571. package/out/react/store/createBoundedStore.d.ts +14 -0
  572. package/out/react/store/getReactStore.d.ts +4 -0
  573. package/out/react/store/getReactStore.mjs +1 -1
  574. package/out/react/store/useSelector.d.ts +6 -0
  575. package/out/react/store/useSelector.mjs +1 -1
  576. package/out/react/transactions/useGetFailedTransactions.d.ts +1 -0
  577. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  578. package/out/react/transactions/useGetFailedTransactionsSessions.d.ts +1 -0
  579. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  580. package/out/react/transactions/useGetPendingTransactions.d.ts +1 -0
  581. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  582. package/out/react/transactions/useGetPendingTransactionsSessions.d.ts +1 -0
  583. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  584. package/out/react/transactions/useGetSuccessfulTransactions.d.ts +1 -0
  585. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  586. package/out/react/transactions/useGetSuccessfulTransactionsSessions.d.ts +1 -0
  587. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  588. package/out/react/transactions/useGetTransactionSessions.d.ts +1 -0
  589. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  590. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -1
  591. package/out/services/nativeAuth/helpers/decodeLoginToken.d.ts +9 -0
  592. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -1
  593. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.d.ts +8 -0
  594. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -1
  595. package/out/services/nativeAuth/helpers/getLatestBlockHash.d.ts +12 -0
  596. package/out/services/nativeAuth/helpers/index.d.ts +3 -0
  597. package/out/services/nativeAuth/index.d.ts +1 -0
  598. package/out/services/nativeAuth/index.mjs +1 -1
  599. package/out/services/nativeAuth/methods/buildNativeAuthConfig.d.ts +15 -0
  600. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  601. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
  602. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.d.ts +7 -0
  603. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  604. package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -1
  605. package/out/services/nativeAuth/methods/getTokenExpiration.d.ts +6 -0
  606. package/out/services/nativeAuth/nativeAuth.d.ts +19 -0
  607. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  608. package/out/services/nativeAuth/nativeAuth.types.d.ts +19 -0
  609. package/out/store/actions/account/accountActions.cjs +1 -1
  610. package/out/store/actions/account/accountActions.d.ts +9 -0
  611. package/out/store/actions/account/accountActions.mjs +1 -1
  612. package/out/store/actions/account/index.d.ts +1 -0
  613. package/out/store/actions/account/index.mjs +1 -1
  614. package/out/store/actions/cache/cacheActions.cjs +1 -1
  615. package/out/store/actions/cache/cacheActions.d.ts +6 -0
  616. package/out/store/actions/cache/cacheActions.mjs +1 -1
  617. package/out/store/actions/cache/index.d.ts +1 -0
  618. package/out/store/actions/cache/index.mjs +1 -1
  619. package/out/store/actions/config/configActions.cjs +1 -1
  620. package/out/store/actions/config/configActions.d.ts +9 -0
  621. package/out/store/actions/config/configActions.mjs +1 -1
  622. package/out/store/actions/config/index.d.ts +1 -0
  623. package/out/store/actions/config/index.mjs +1 -1
  624. package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -1
  625. package/out/store/actions/loginInfo/loginInfoActions.d.ts +12 -0
  626. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  627. package/out/store/actions/network/index.d.ts +1 -0
  628. package/out/store/actions/network/index.mjs +1 -1
  629. package/out/store/actions/network/initializeNetwork.cjs +1 -1
  630. package/out/store/actions/network/initializeNetwork.d.ts +7 -0
  631. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  632. package/out/store/actions/network/networkActions.d.ts +3 -0
  633. package/out/store/actions/network/networkActions.mjs +1 -1
  634. package/out/store/actions/sharedActions/index.d.ts +1 -0
  635. package/out/store/actions/sharedActions/index.mjs +1 -1
  636. package/out/store/actions/sharedActions/sharedActions.cjs +1 -1
  637. package/out/store/actions/sharedActions/sharedActions.d.ts +7 -0
  638. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  639. package/out/store/actions/toasts/index.d.ts +1 -0
  640. package/out/store/actions/toasts/index.mjs +1 -1
  641. package/out/store/actions/toasts/toastsActions.cjs +1 -1
  642. package/out/store/actions/toasts/toastsActions.d.ts +13 -0
  643. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  644. package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -1
  645. package/out/store/actions/transactions/transactionStateByStatus.d.ts +23 -0
  646. package/out/store/actions/transactions/transactionsActions.cjs +1 -1
  647. package/out/store/actions/transactions/transactionsActions.d.ts +20 -0
  648. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  649. package/out/store/actions/ui/index.d.ts +1 -0
  650. package/out/store/actions/ui/index.mjs +1 -1
  651. package/out/store/actions/ui/uiActions.cjs +1 -1
  652. package/out/store/actions/ui/uiActions.d.ts +1 -0
  653. package/out/store/actions/ui/uiActions.mjs +1 -1
  654. package/out/store/middleware/applyMiddlewares.d.ts +2 -0
  655. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  656. package/out/store/middleware/index.d.ts +1 -0
  657. package/out/store/middleware/index.mjs +1 -1
  658. package/out/store/middleware/logoutMiddleware.cjs +1 -1
  659. package/out/store/middleware/logoutMiddleware.d.ts +6 -0
  660. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  661. package/out/store/selectors/accountSelectors.cjs +1 -1
  662. package/out/store/selectors/accountSelectors.d.ts +25 -0
  663. package/out/store/selectors/cacheSelector.d.ts +3 -0
  664. package/out/store/selectors/configSelectors.d.ts +5 -0
  665. package/out/store/selectors/loginInfoSelectors.d.ts +7 -0
  666. package/out/store/selectors/networkSelectors.d.ts +9 -0
  667. package/out/store/selectors/storeSelector.d.ts +2 -0
  668. package/out/store/selectors/toastsSelectors.d.ts +4 -0
  669. package/out/store/selectors/transactionsSelector.cjs +1 -1
  670. package/out/store/selectors/transactionsSelector.d.ts +10 -0
  671. package/out/store/selectors/uiSelectors.d.ts +3 -0
  672. package/out/store/slices/account/account.types.d.ts +25 -0
  673. package/out/store/slices/account/accountSlice.d.ts +5 -0
  674. package/out/store/slices/account/emptyAccount.cjs +1 -1
  675. package/out/store/slices/account/emptyAccount.d.ts +2 -0
  676. package/out/store/slices/account/index.d.ts +1 -0
  677. package/out/store/slices/cache/cacheSlice.d.ts +5 -0
  678. package/out/store/slices/cache/cacheSlice.types.d.ts +3 -0
  679. package/out/store/slices/cache/index.d.ts +1 -0
  680. package/out/store/slices/config/config.types.d.ts +16 -0
  681. package/out/store/slices/config/configSlice.cjs +1 -1
  682. package/out/store/slices/config/configSlice.d.ts +4 -0
  683. package/out/store/slices/config/index.d.ts +1 -0
  684. package/out/store/slices/loginInfo/index.d.ts +1 -0
  685. package/out/store/slices/loginInfo/loginInfo.types.d.ts +19 -0
  686. package/out/store/slices/loginInfo/loginInfoSlice.d.ts +5 -0
  687. package/out/store/slices/network/emptyNetwork.d.ts +2 -0
  688. package/out/store/slices/network/index.d.ts +1 -0
  689. package/out/store/slices/network/network.types.d.ts +5 -0
  690. package/out/store/slices/network/networkSlice.d.ts +4 -0
  691. package/out/store/slices/network/networkSlice.types.d.ts +4 -0
  692. package/out/store/slices/toast/index.d.ts +1 -0
  693. package/out/store/slices/toast/toastSlice.d.ts +5 -0
  694. package/out/store/slices/toast/toastSlice.types.d.ts +50 -0
  695. package/out/store/slices/transactions/index.d.ts +1 -0
  696. package/out/store/slices/transactions/transactionsSlice.d.ts +5 -0
  697. package/out/store/slices/transactions/transactionsSlice.types.d.ts +4 -0
  698. package/out/store/slices/ui/index.d.ts +1 -0
  699. package/out/store/slices/ui/ui.types.d.ts +3 -0
  700. package/out/store/slices/ui/uiSlice.d.ts +4 -0
  701. package/out/store/storage/inMemoryStorage.d.ts +9 -0
  702. package/out/store/storage/index.d.ts +2 -0
  703. package/out/store/storage/index.mjs +1 -1
  704. package/out/store/storage/storageCallback.cjs +1 -1
  705. package/out/store/storage/storageCallback.d.ts +3 -0
  706. package/out/store/storage/storageCallback.mjs +1 -1
  707. package/out/store/store.d.ts +103 -0
  708. package/out/store/store.mjs +1 -1
  709. package/out/store/store.types.d.ts +46 -0
  710. package/out/types/account.types.d.ts +38 -0
  711. package/out/types/enums.types.d.ts +74 -0
  712. package/out/types/login.types.d.ts +13 -0
  713. package/out/types/manager.types.d.ts +5 -0
  714. package/out/types/network.types.d.ts +51 -0
  715. package/out/types/provider.types.d.ts +6 -0
  716. package/out/types/serverTransactions.types.d.ts +316 -0
  717. package/out/types/subscriptions.type.d.ts +5 -0
  718. package/out/types/suspiciousLink.types.d.ts +17 -0
  719. package/out/types/theme.types.d.ts +5 -0
  720. package/out/types/tokens.types.d.ts +173 -0
  721. package/out/types/transaction-list-item.types.d.ts +87 -0
  722. package/out/types/transactions.types.d.ts +108 -0
  723. package/out/types/websocket.types.d.ts +4 -0
  724. package/out/utils/ComponentFactory.cjs +1 -1
  725. package/out/utils/ComponentFactory.d.ts +14 -0
  726. package/out/utils/ComponentFactory.mjs +1 -1
  727. package/out/utils/account/fetchAccount.cjs +1 -1
  728. package/out/utils/account/fetchAccount.d.ts +4 -0
  729. package/out/utils/account/fetchAccount.mjs +1 -1
  730. package/out/utils/account/refreshAccount.cjs +1 -1
  731. package/out/utils/account/refreshAccount.d.ts +27 -0
  732. package/out/utils/account/refreshAccount.mjs +1 -1
  733. package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -1
  734. package/out/utils/account/refreshNativeAuthTokenLogin.d.ts +10 -0
  735. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  736. package/out/utils/account/trimUsernameDomain.d.ts +1 -0
  737. package/out/utils/asyncActions/index.d.ts +1 -0
  738. package/out/utils/asyncActions/sleep.d.ts +1 -0
  739. package/out/utils/dateTime/getUnixTimestamp.d.ts +1 -0
  740. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.d.ts +1 -0
  741. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.d.ts +1 -0
  742. package/out/utils/dateTime/index.d.ts +3 -0
  743. package/out/utils/decoders/base64Utils.d.ts +22 -0
  744. package/out/utils/decoders/decodePart.d.ts +1 -0
  745. package/out/utils/decoders/isAscii.d.ts +1 -0
  746. package/out/utils/decoders/isUtf8.d.ts +1 -0
  747. package/out/utils/decoders/stringContainsNumbers.d.ts +1 -0
  748. package/out/utils/network/index.d.ts +1 -0
  749. package/out/utils/network/setAxiosInterceptors.d.ts +6 -0
  750. package/out/utils/operations/capitalize.d.ts +1 -0
  751. package/out/utils/operations/getUsdValue.d.ts +6 -0
  752. package/out/utils/operations/pluralize.d.ts +1 -0
  753. package/out/utils/operations/tests/pluralize.spec.d.ts +1 -0
  754. package/out/utils/operations/tests/trimAmountDecimals.spec.d.ts +1 -0
  755. package/out/utils/operations/timeRemaining.d.ts +4 -0
  756. package/out/utils/operations/trimAmountDecimals.cjs +1 -1
  757. package/out/utils/operations/trimAmountDecimals.d.ts +6 -0
  758. package/out/utils/retryMultipleTimes.d.ts +6 -0
  759. package/out/utils/tests/shadowDomTraversal.d.ts +17 -0
  760. package/out/utils/transactions/explorerUrlBuilder.cjs +1 -1
  761. package/out/utils/transactions/explorerUrlBuilder.d.ts +25 -0
  762. package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -1
  763. package/out/utils/transactions/getActiveTransactionsStatus.d.ts +7 -0
  764. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  765. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +1 -1
  766. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.d.ts +9 -0
  767. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
  768. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +8 -0
  769. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +9 -0
  770. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -1
  771. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +9 -0
  772. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -1
  773. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +9 -0
  774. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -1
  775. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.d.ts +1 -0
  776. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -1
  777. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.d.ts +7 -0
  778. package/out/utils/transactions/getDecodedDataField/index.d.ts +1 -0
  779. package/out/utils/transactions/getExplorerLink.d.ts +4 -0
  780. package/out/utils/transactions/getHumanReadableTimeFormat.d.ts +10 -0
  781. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
  782. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.d.ts +7 -0
  783. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -1
  784. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.d.ts +17 -0
  785. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
  786. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.d.ts +12 -0
  787. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -1
  788. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.d.ts +7 -0
  789. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -1
  790. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.d.ts +8 -0
  791. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -1
  792. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.d.ts +16 -0
  793. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.d.ts +2 -0
  794. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.d.ts +8 -0
  795. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
  796. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.d.ts +8 -0
  797. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.d.ts +8 -0
  798. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -1
  799. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.d.ts +2 -0
  800. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.d.ts +1 -0
  801. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.d.ts +22 -0
  802. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
  803. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.d.ts +10 -0
  804. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  805. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.d.ts +2 -0
  806. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
  807. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.d.ts +2 -0
  808. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.d.ts +2 -0
  809. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
  810. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.d.ts +1 -0
  811. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -1
  812. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.d.ts +8 -0
  813. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
  814. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +6 -0
  815. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.d.ts +2 -0
  816. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -1
  817. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.d.ts +2 -0
  818. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.d.ts +2 -0
  819. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts +5 -0
  820. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -1
  821. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.d.ts +7 -0
  822. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -1
  823. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts +8 -0
  824. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
  825. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
  826. package/out/utils/transactions/getInterpretedTransaction/index.d.ts +1 -0
  827. package/out/utils/transactions/getScamFlag.d.ts +8 -0
  828. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +3 -0
  829. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  830. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.d.ts +2 -0
  831. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -1
  832. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.d.ts +1 -0
  833. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -1
  834. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.d.ts +1 -0
  835. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -1
  836. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +3 -0
  837. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  838. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +1 -1
  839. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.d.ts +2 -0
  840. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.d.ts +6 -0
  841. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -1
  842. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.d.ts +13 -0
  843. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -1
  844. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.d.ts +8 -0
  845. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -1
  846. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.d.ts +7 -0
  847. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.d.ts +7 -0
  848. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -1
  849. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.d.ts +15 -0
  850. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -1
  851. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.d.ts +16 -0
  852. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.d.ts +12 -0
  853. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -1
  854. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.d.ts +1 -0
  855. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -1
  856. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +9 -0
  857. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  858. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +1 -1
  859. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +12 -0
  860. package/out/utils/transactions/getTransactionsHistory/index.d.ts +1 -0
  861. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  862. package/out/utils/transactions/isGuardianTx.cjs +1 -1
  863. package/out/utils/transactions/isGuardianTx.d.ts +4 -0
  864. package/out/utils/validation/addressIsValid.cjs +1 -1
  865. package/out/utils/validation/addressIsValid.d.ts +1 -0
  866. package/out/utils/validation/getIdentifierType.d.ts +5 -0
  867. package/out/utils/validation/hex.d.ts +2 -0
  868. package/out/utils/validation/isContract.cjs +1 -1
  869. package/out/utils/validation/isContract.d.ts +6 -0
  870. package/out/utils/validation/maxDecimals.d.ts +1 -0
  871. package/out/utils/visual/switchTheme.cjs +1 -1
  872. package/out/utils/visual/switchTheme.d.ts +2 -0
  873. package/out/utils/visual/switchTheme.mjs +1 -1
  874. package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +8 -0
  875. package/out/utils/window/buildUrlParams.d.ts +8 -0
  876. package/out/utils/window/getIsAuthRoute.d.ts +15 -0
  877. package/out/utils/window/getIsInIframe.d.ts +1 -0
  878. package/out/utils/window/getIsInIframe.mjs +1 -1
  879. package/out/utils/window/getWindowLocation.d.ts +9 -0
  880. package/out/utils/window/getWindowParentOrigin.cjs +1 -1
  881. package/out/utils/window/getWindowParentOrigin.d.ts +1 -0
  882. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  883. package/out/utils/window/isWindowAvailable.d.ts +1 -0
  884. package/out/utils/window/matchPath.d.ts +60 -0
  885. package/out/utils/window/sanitizeCallbackUrl.d.ts +1 -0
  886. package/package.json +1 -1
  887. package/out/__chunks__/chunk-2WUOBFRV.mjs +0 -2
  888. package/out/__chunks__/chunk-422ZUBTP.mjs +0 -2
  889. package/out/__chunks__/chunk-6ZU2IBDO.mjs +0 -2
  890. package/out/__chunks__/chunk-BFVULVAD.mjs +0 -2
  891. package/out/__chunks__/chunk-BZLQ6QLQ.mjs +0 -2
  892. package/out/__chunks__/chunk-CKY2HBH6.mjs +0 -2
  893. package/out/__chunks__/chunk-EOAIKG7U.mjs +0 -2
  894. package/out/__chunks__/chunk-MJXIB64Q.mjs +0 -2
  895. package/out/__chunks__/chunk-PI76AQ3J.mjs +0 -2
  896. package/out/__chunks__/chunk-PZI62JRY.mjs +0 -2
  897. package/out/__chunks__/chunk-R3IH76PW.mjs +0 -2
  898. package/out/__chunks__/chunk-V5ZA5MQV.mjs +0 -2
  899. package/out/__chunks__/chunk-VMUOJEUV.mjs +0 -2
  900. package/out/__chunks__/chunk-WXTELBRA.mjs +0 -2
  901. package/out/__chunks__/chunk-WZSA2EE5.mjs +0 -2
  902. /package/out/__chunks__/{chunk-VMUOJEUV.mjs.map → chunk-22F6NHUW.mjs.map} +0 -0
  903. /package/out/__chunks__/{chunk-BZLQ6QLQ.mjs.map → chunk-365NUVE7.mjs.map} +0 -0
  904. /package/out/__chunks__/{chunk-JO3KLBXS.mjs.map → chunk-3VPAVTVL.mjs.map} +0 -0
  905. /package/out/__chunks__/{chunk-V5ZA5MQV.mjs.map → chunk-4FBGOTSX.mjs.map} +0 -0
  906. /package/out/__chunks__/{chunk-QGUQTBVR.mjs.map → chunk-4IM7MMSB.mjs.map} +0 -0
  907. /package/out/__chunks__/{chunk-EETA2QXV.mjs.map → chunk-5NRAQWO4.mjs.map} +0 -0
  908. /package/out/__chunks__/{chunk-EH3QXINF.mjs.map → chunk-6ECOAQX4.mjs.map} +0 -0
  909. /package/out/__chunks__/{chunk-OSGTEMH4.mjs.map → chunk-6MBRTWME.mjs.map} +0 -0
  910. /package/out/__chunks__/{chunk-HKZTCRSV.mjs.map → chunk-6UTLNODT.mjs.map} +0 -0
  911. /package/out/__chunks__/{chunk-UGY4JSP3.mjs.map → chunk-AIBBSVXP.mjs.map} +0 -0
  912. /package/out/__chunks__/{chunk-AAIKQGPN.mjs.map → chunk-AQIZZ6YU.mjs.map} +0 -0
  913. /package/out/__chunks__/{chunk-TRICXIPQ.mjs.map → chunk-AU2YBHNW.mjs.map} +0 -0
  914. /package/out/__chunks__/{chunk-P6OHY6KU.mjs.map → chunk-B4WJMVF6.mjs.map} +0 -0
  915. /package/out/__chunks__/{chunk-RSNSPKZ3.mjs.map → chunk-BI2PJ5FS.mjs.map} +0 -0
  916. /package/out/__chunks__/{chunk-DY53O4ED.mjs.map → chunk-C23VOAOY.mjs.map} +0 -0
  917. /package/out/__chunks__/{chunk-Q6SV22DH.mjs.map → chunk-CDU3ZELH.mjs.map} +0 -0
  918. /package/out/__chunks__/{chunk-AHORDOF4.mjs.map → chunk-CPGY3DQJ.mjs.map} +0 -0
  919. /package/out/__chunks__/{chunk-CDHVNNSM.mjs.map → chunk-CVW52D7K.mjs.map} +0 -0
  920. /package/out/__chunks__/{chunk-OWYOEUPL.mjs.map → chunk-CYA7ED2N.mjs.map} +0 -0
  921. /package/out/__chunks__/{chunk-UWCHOJH4.mjs.map → chunk-DDRH6O3X.mjs.map} +0 -0
  922. /package/out/__chunks__/{chunk-CKY2HBH6.mjs.map → chunk-DDS3DY4B.mjs.map} +0 -0
  923. /package/out/__chunks__/{chunk-ICJ5ZWS4.mjs.map → chunk-DKBOH236.mjs.map} +0 -0
  924. /package/out/__chunks__/{chunk-YVOZYFMU.mjs.map → chunk-EIUQFHRY.mjs.map} +0 -0
  925. /package/out/__chunks__/{chunk-XZ2BAC7C.mjs.map → chunk-EJ4TUIIU.mjs.map} +0 -0
  926. /package/out/__chunks__/{chunk-P4H53TTI.mjs.map → chunk-F3PJPNGU.mjs.map} +0 -0
  927. /package/out/__chunks__/{chunk-QMSYQJAU.mjs.map → chunk-FLFZN2T6.mjs.map} +0 -0
  928. /package/out/__chunks__/{chunk-3C4QWHTF.mjs.map → chunk-G2WU3X6R.mjs.map} +0 -0
  929. /package/out/__chunks__/{chunk-BFVULVAD.mjs.map → chunk-GJSAN3GO.mjs.map} +0 -0
  930. /package/out/__chunks__/{chunk-AJBGY6A5.mjs.map → chunk-GOUIWTTC.mjs.map} +0 -0
  931. /package/out/__chunks__/{chunk-W4F3YI3F.mjs.map → chunk-GP6W6RR7.mjs.map} +0 -0
  932. /package/out/__chunks__/{chunk-I5NDCPU2.mjs.map → chunk-GPKU7JO2.mjs.map} +0 -0
  933. /package/out/__chunks__/{chunk-L7AC35OO.mjs.map → chunk-HPY6UNFO.mjs.map} +0 -0
  934. /package/out/__chunks__/{chunk-COA54JTE.mjs.map → chunk-HY5I67W7.mjs.map} +0 -0
  935. /package/out/__chunks__/{chunk-6BA2NDJT.mjs.map → chunk-IPGIVRGN.mjs.map} +0 -0
  936. /package/out/__chunks__/{chunk-MJXIB64Q.mjs.map → chunk-JAXSTKEJ.mjs.map} +0 -0
  937. /package/out/__chunks__/{chunk-H3TSHWUD.mjs.map → chunk-JL6BHC7T.mjs.map} +0 -0
  938. /package/out/__chunks__/{chunk-OKO3GIXC.mjs.map → chunk-KAY6QD6V.mjs.map} +0 -0
  939. /package/out/__chunks__/{chunk-2NE75KNA.mjs.map → chunk-L6SBIHCZ.mjs.map} +0 -0
  940. /package/out/__chunks__/{chunk-T6I7XQHS.mjs.map → chunk-L7HC5J53.mjs.map} +0 -0
  941. /package/out/__chunks__/{chunk-R7Y4IM2T.mjs.map → chunk-LJ5RLWEK.mjs.map} +0 -0
  942. /package/out/__chunks__/{chunk-6ZU2IBDO.mjs.map → chunk-LLVSK2AG.mjs.map} +0 -0
  943. /package/out/__chunks__/{chunk-PKNPUHFQ.mjs.map → chunk-LT4RXTTQ.mjs.map} +0 -0
  944. /package/out/__chunks__/{chunk-H3MXIVR4.mjs.map → chunk-LXSGLYGV.mjs.map} +0 -0
  945. /package/out/__chunks__/{chunk-DDB4KRVV.mjs.map → chunk-LYUGR2FR.mjs.map} +0 -0
  946. /package/out/__chunks__/{chunk-QHANP3XT.mjs.map → chunk-MFGDF3HI.mjs.map} +0 -0
  947. /package/out/__chunks__/{chunk-LNRVNBRB.mjs.map → chunk-N6G3CMSC.mjs.map} +0 -0
  948. /package/out/__chunks__/{chunk-LUVMM57Y.mjs.map → chunk-NK2JTYOC.mjs.map} +0 -0
  949. /package/out/__chunks__/{chunk-CNE5LY2X.mjs.map → chunk-OGL4HN2P.mjs.map} +0 -0
  950. /package/out/__chunks__/{chunk-CMN37YZP.mjs.map → chunk-QDUNEKJW.mjs.map} +0 -0
  951. /package/out/__chunks__/{chunk-JJ6B2ZYX.mjs.map → chunk-QNXBITGY.mjs.map} +0 -0
  952. /package/out/__chunks__/{chunk-X7XFHGOE.mjs.map → chunk-QRPH4JCL.mjs.map} +0 -0
  953. /package/out/__chunks__/{chunk-RGDZMPES.mjs.map → chunk-QWBFB3BL.mjs.map} +0 -0
  954. /package/out/__chunks__/{chunk-IWQH426N.mjs.map → chunk-QWVZ4NTR.mjs.map} +0 -0
  955. /package/out/__chunks__/{chunk-VLJXRHVE.mjs.map → chunk-RC4ZBXFJ.mjs.map} +0 -0
  956. /package/out/__chunks__/{chunk-WXTELBRA.mjs.map → chunk-RFGBMNFA.mjs.map} +0 -0
  957. /package/out/__chunks__/{chunk-CYKK4HPZ.mjs.map → chunk-RNK62S6X.mjs.map} +0 -0
  958. /package/out/__chunks__/{chunk-JBPJL3B7.mjs.map → chunk-RVW6Z4XY.mjs.map} +0 -0
  959. /package/out/__chunks__/{chunk-3Z7CLSDP.mjs.map → chunk-S72I2KYP.mjs.map} +0 -0
  960. /package/out/__chunks__/{chunk-WZSA2EE5.mjs.map → chunk-SML7WOGP.mjs.map} +0 -0
  961. /package/out/__chunks__/{chunk-PI76AQ3J.mjs.map → chunk-SVG75M4S.mjs.map} +0 -0
  962. /package/out/__chunks__/{chunk-TU6TE5PG.mjs.map → chunk-SWIPPQAS.mjs.map} +0 -0
  963. /package/out/__chunks__/{chunk-3MWPYDLA.mjs.map → chunk-TIX7PAYC.mjs.map} +0 -0
  964. /package/out/__chunks__/{chunk-OAFYVJLF.mjs.map → chunk-TWDQUDRP.mjs.map} +0 -0
  965. /package/out/__chunks__/{chunk-6VJXXSIS.mjs.map → chunk-UDWPAR25.mjs.map} +0 -0
  966. /package/out/__chunks__/{chunk-PZI62JRY.mjs.map → chunk-UJA73JSW.mjs.map} +0 -0
  967. /package/out/__chunks__/{chunk-IZVWRQDU.mjs.map → chunk-UUFVP7SB.mjs.map} +0 -0
  968. /package/out/__chunks__/{chunk-EOAIKG7U.mjs.map → chunk-UWBYA2GM.mjs.map} +0 -0
  969. /package/out/__chunks__/{chunk-J7DUP7GC.mjs.map → chunk-UY2X77BA.mjs.map} +0 -0
  970. /package/out/__chunks__/{chunk-L5RYEWHO.mjs.map → chunk-V6HSYMMG.mjs.map} +0 -0
  971. /package/out/__chunks__/{chunk-422ZUBTP.mjs.map → chunk-VA7KLP35.mjs.map} +0 -0
  972. /package/out/__chunks__/{chunk-JMJ7OMSW.mjs.map → chunk-VCU3YP4J.mjs.map} +0 -0
  973. /package/out/__chunks__/{chunk-S4GXN3R7.mjs.map → chunk-VLRP4JQW.mjs.map} +0 -0
  974. /package/out/__chunks__/{chunk-KTSYT4CA.mjs.map → chunk-VOCZMUMV.mjs.map} +0 -0
  975. /package/out/__chunks__/{chunk-DY3P72D3.mjs.map → chunk-VSOHM56Y.mjs.map} +0 -0
  976. /package/out/__chunks__/{chunk-6BNZ4EJC.mjs.map → chunk-WDL6SFHR.mjs.map} +0 -0
  977. /package/out/__chunks__/{chunk-YEBGEZ5L.mjs.map → chunk-XEDB2GXW.mjs.map} +0 -0
  978. /package/out/__chunks__/{chunk-2WUOBFRV.mjs.map → chunk-XELB2AVG.mjs.map} +0 -0
  979. /package/out/__chunks__/{chunk-PENSR33H.mjs.map → chunk-YAVOCSOD.mjs.map} +0 -0
  980. /package/out/__chunks__/{chunk-FRIOQMD3.mjs.map → chunk-YDH26OGG.mjs.map} +0 -0
  981. /package/out/__chunks__/{chunk-MNN7JOCV.mjs.map → chunk-YG6SFLZY.mjs.map} +0 -0
  982. /package/out/__chunks__/{chunk-YJQR63IW.mjs.map → chunk-YHON33YS.mjs.map} +0 -0
  983. /package/out/__chunks__/{chunk-RQOU5LG4.mjs.map → chunk-YKYYWL4B.mjs.map} +0 -0
  984. /package/out/__chunks__/{chunk-FRREO5DY.mjs.map → chunk-YTKDRPWM.mjs.map} +0 -0
  985. /package/out/__chunks__/{chunk-RMMIR3MN.mjs.map → chunk-YXKQJKZV.mjs.map} +0 -0
  986. /package/out/__chunks__/{chunk-O65UD2QD.mjs.map → chunk-Z72NFBTZ.mjs.map} +0 -0
  987. /package/out/__chunks__/{chunk-CG6BZB2U.mjs.map → chunk-ZLGDFBX7.mjs.map} +0 -0
  988. /package/out/__chunks__/{chunk-QACFOFUG.mjs.map → chunk-ZMZXHLYM.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{b as s,d as i,h as o}from"./chunk-ICJ5ZWS4.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
2
- //# sourceMappingURL=chunk-RGDZMPES.mjs.map
1
+ import{b as s,d as i,h as o}from"./chunk-DKBOH236.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
2
+ //# sourceMappingURL=chunk-QWBFB3BL.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as A}from"./chunk-O65UD2QD.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-TWYGNEQS.mjs";import{b as T}from"./chunk-2VG3V3VD.mjs";import{g as S}from"./chunk-ICJ5ZWS4.mjs";import{a as h}from"./chunk-QMSYQJAU.mjs";import{a as y}from"./chunk-2WUOBFRV.mjs";import{h as f}from"./chunk-M6MN4RXG.mjs";import{b as l}from"./chunk-7VHTZYM2.mjs";import{a as g}from"./chunk-NI7XCWV5.mjs";import{s as m}from"./chunk-DY3P72D3.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{T({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!I(t))return await this.sendSignedTransactions(t);let a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{let s=this.sequentialToFlatArray(t).map(e=>({...e,status:e.status??"pending"})),o=b(s),n=h({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:o??"sent",sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return n;a.onSuccess&&T({onSuccess:a.onSuccess,sessionId:n}),a.onFail&&T({onFail:a.onFail,sessionId:n});let i=A(t);return S({toastId:n,totalDuration:i}),n};this.sendSignedTransactions=async t=>{let{apiAddress:a,apiTimeout:s}=l(m());return await Promise.all(t.map(async n=>{let i=await w.post(`${a}/transactions`,n.toPlainObject(),{timeout:Number(s)}),e=i.data.txHash;return{...n.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async t=>{let{address:a}=y(),{apiAddress:s,apiTimeout:o}=l(m());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};let n=this.buildBatchId(a),e={transactions:t.map(p=>p.map(c=>c.toPlainObject())),id:n},{data:u}=await w.post(`${s}/batch`,e,{timeout:Number(o)}),B=u.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return g({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...u,transactions:B}}};this.buildBatchId=t=>`${Date.now().toString()}${f}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
- //# sourceMappingURL=chunk-IWQH426N.mjs.map
1
+ import{a as A}from"./chunk-Z72NFBTZ.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-TWYGNEQS.mjs";import{b as T}from"./chunk-2VG3V3VD.mjs";import{g as S}from"./chunk-DKBOH236.mjs";import{a as h}from"./chunk-FLFZN2T6.mjs";import{a as y}from"./chunk-XELB2AVG.mjs";import{h as f}from"./chunk-M6MN4RXG.mjs";import{b as l}from"./chunk-7VHTZYM2.mjs";import{a as g}from"./chunk-NI7XCWV5.mjs";import{s as m}from"./chunk-VSOHM56Y.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{T({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!I(t))return await this.sendSignedTransactions(t);let a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{let s=this.sequentialToFlatArray(t).map(e=>({...e,status:e.status??"pending"})),o=b(s),n=h({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:o??"sent",sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return n;a.onSuccess&&T({onSuccess:a.onSuccess,sessionId:n}),a.onFail&&T({onFail:a.onFail,sessionId:n});let i=A(t);return S({toastId:n,totalDuration:i}),n};this.sendSignedTransactions=async t=>{let{apiAddress:a,apiTimeout:s}=l(m());return await Promise.all(t.map(async n=>{let i=await w.post(`${a}/transactions`,n.toPlainObject(),{timeout:Number(s)}),e=i.data.txHash;return{...n.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async t=>{let{address:a}=y(),{apiAddress:s,apiTimeout:o}=l(m());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};let n=this.buildBatchId(a),e={transactions:t.map(p=>p.map(c=>c.toPlainObject())),id:n},{data:u}=await w.post(`${s}/batch`,e,{timeout:Number(o)}),B=u.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return g({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...u,transactions:B}}};this.buildBatchId=t=>`${Date.now().toString()}${f}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
2
+ //# sourceMappingURL=chunk-QWVZ4NTR.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-6R2WFQ7U.mjs";import{a as l}from"./chunk-P6OHY6KU.mjs";import{a as e}from"./chunk-CKY2HBH6.mjs";import{d as s}from"./chunk-V5ZSFCKJ.mjs";import{s as i}from"./chunk-DY3P72D3.mjs";var c=class{constructor(r){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async r=>{if(!this._login)throw new Error("Provider is not initialized.");let o=await this._login(r);if(!o?.address)throw new Error("Provider is not initialized.");return{...o,address:o.address,signature:o.signature??""}};this.initializeAddress=()=>{if(this.address)return;let r=e();r&&(this.address=r)};this.cancelAction=void 0;this.address=r??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(r,o){throw new Error("Method not implemented.")}async login(r){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let o=new AbortController;this.loginAbortController=o;let n=o.signal;try{let t=new Promise((m,p)=>{n.addEventListener("abort",()=>{p(new Error("Login cancelled"))})}),d=await Promise.race([this.loginOperation(r),t]);return this.loginAbortController=null,d}catch(t){throw this.loginAbortController=null,t}}async initSignState(){if(s(i())?.isSigningUiEnabled===!1)return{onClose:async()=>({}),manager:null};let{onClose:o,manager:n}=await l({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return n.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),n.updateData({name:a[t],type:t}),{onClose:o,manager:n}}};export{c as a};
2
- //# sourceMappingURL=chunk-VLJXRHVE.mjs.map
1
+ import{a}from"./chunk-6R2WFQ7U.mjs";import{a as l}from"./chunk-B4WJMVF6.mjs";import{a as e}from"./chunk-DDS3DY4B.mjs";import{d as s}from"./chunk-V5ZSFCKJ.mjs";import{s as i}from"./chunk-VSOHM56Y.mjs";var c=class{constructor(r){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async r=>{if(!this._login)throw new Error("Provider is not initialized.");let o=await this._login(r);if(!o?.address)throw new Error("Provider is not initialized.");return{...o,address:o.address,signature:o.signature??""}};this.initializeAddress=()=>{if(this.address)return;let r=e();r&&(this.address=r)};this.cancelAction=void 0;this.address=r??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(r,o){throw new Error("Method not implemented.")}async login(r){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let o=new AbortController;this.loginAbortController=o;let n=o.signal;try{let t=new Promise((m,p)=>{n.addEventListener("abort",()=>{p(new Error("Login cancelled"))})}),d=await Promise.race([this.loginOperation(r),t]);return this.loginAbortController=null,d}catch(t){throw this.loginAbortController=null,t}}async initSignState(){if(s(i())?.isSigningUiEnabled===!1)return{onClose:async()=>({}),manager:null};let{onClose:o,manager:n}=await l({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return n.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),n.updateData({name:a[t],type:t}),{onClose:o,manager:n}}};export{c as a};
2
+ //# sourceMappingURL=chunk-RC4ZBXFJ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-VSOHM56Y.mjs";function f(r=t()){return o(r)}export{f as a};
2
+ //# sourceMappingURL=chunk-RFGBMNFA.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-R3IH76PW.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
- //# sourceMappingURL=chunk-CYKK4HPZ.mjs.map
1
+ import{a as t}from"./chunk-YDR33UBM.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
+ //# sourceMappingURL=chunk-RNK62S6X.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-EETA2QXV.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
2
- //# sourceMappingURL=chunk-JBPJL3B7.mjs.map
1
+ import{a}from"./chunk-5NRAQWO4.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
2
+ //# sourceMappingURL=chunk-RVW6Z4XY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-L7AC35OO.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
- //# sourceMappingURL=chunk-3Z7CLSDP.mjs.map
1
+ import{a as o}from"./chunk-HPY6UNFO.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
+ //# sourceMappingURL=chunk-S72I2KYP.mjs.map
@@ -0,0 +1,2 @@
1
+ import{q as t}from"./chunk-VSOHM56Y.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
+ //# sourceMappingURL=chunk-SML7WOGP.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-UJA73JSW.mjs";function S(e){return t()(e)}export{S as a};
2
+ //# sourceMappingURL=chunk-SVG75M4S.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-JO3KLBXS.mjs";import{d as l,e as m}from"./chunk-3MWPYDLA.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-DY3P72D3.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
- //# sourceMappingURL=chunk-TU6TE5PG.mjs.map
1
+ import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-3VPAVTVL.mjs";import{d as l,e as m}from"./chunk-TIX7PAYC.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-VSOHM56Y.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
+ //# sourceMappingURL=chunk-SWIPPQAS.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as o}from"./chunk-DY3P72D3.mjs";import{a as c}from"./chunk-APCGI2A5.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
2
- //# sourceMappingURL=chunk-3MWPYDLA.mjs.map
1
+ import{q as o}from"./chunk-VSOHM56Y.mjs";import{a as c}from"./chunk-APCGI2A5.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
2
+ //# sourceMappingURL=chunk-TIX7PAYC.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as t}from"./chunk-DY3P72D3.mjs";var r=({key:e,value:a})=>{t().setState(({cache:c})=>{c[e]=a},!1,{type:"saveToCache",payload:{value:a}})},l=e=>{t().setState(({cache:a})=>{delete a[e]},!1,{type:"removeFromCache",payload:{value:e}})},s=()=>{t().setState(({cache:e})=>{Object.keys(e).forEach(a=>{delete e[a]})},!1,{type:"clearCache",payload:{value:null}})};export{r as a,l as b,s as c};
2
- //# sourceMappingURL=chunk-OAFYVJLF.mjs.map
1
+ import{q as t}from"./chunk-VSOHM56Y.mjs";var r=({key:e,value:a})=>{t().setState(({cache:c})=>{c[e]=a},!1,{type:"saveToCache",payload:{value:a}})},l=e=>{t().setState(({cache:a})=>{delete a[e]},!1,{type:"removeFromCache",payload:{value:e}})},s=()=>{t().setState(({cache:e})=>{Object.keys(e).forEach(a=>{delete e[a]})},!1,{type:"clearCache",payload:{value:null}})};export{r as a,l as b,s as c};
2
+ //# sourceMappingURL=chunk-TWDQUDRP.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-TWYGNEQS.mjs";import{b as n,c as o}from"./chunk-QMSYQJAU.mjs";import{s}from"./chunk-DY3P72D3.mjs";function T({sessionId:t,transaction:e}){o({sessionId:t,transaction:e});let i=s().transactions?.[t].transactions,a=r(i);return a&&n({sessionId:t,status:a}),a}export{T as a};
2
- //# sourceMappingURL=chunk-6VJXXSIS.mjs.map
1
+ import{a as r}from"./chunk-TWYGNEQS.mjs";import{b as n,c as o}from"./chunk-FLFZN2T6.mjs";import{s}from"./chunk-VSOHM56Y.mjs";function T({sessionId:t,transaction:e}){o({sessionId:t,transaction:e});let i=s().transactions?.[t].transactions,a=r(i);return a&&n({sessionId:t,status:a}),a}export{T as a};
2
+ //# sourceMappingURL=chunk-UDWPAR25.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-VSOHM56Y.mjs";var m=()=>t(e());export{m as a};
2
+ //# sourceMappingURL=chunk-UJA73JSW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-PKNPUHFQ.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
2
- //# sourceMappingURL=chunk-IZVWRQDU.mjs.map
1
+ import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-LT4RXTTQ.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
2
+ //# sourceMappingURL=chunk-UUFVP7SB.mjs.map
@@ -0,0 +1,2 @@
1
+ import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-VSOHM56Y.mjs";function d(t=r()){return e(t).explorerAddress}export{d as a};
2
+ //# sourceMappingURL=chunk-UWBYA2GM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-YJQR63IW.mjs";import{a as g}from"./chunk-BFVULVAD.mjs";import{s as e}from"./chunk-DY3P72D3.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
- //# sourceMappingURL=chunk-J7DUP7GC.mjs.map
1
+ import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-YHON33YS.mjs";import{a as g}from"./chunk-GJSAN3GO.mjs";import{s as e}from"./chunk-VSOHM56Y.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
+ //# sourceMappingURL=chunk-UY2X77BA.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk-IZVWRQDU.mjs";import{a as g}from"./chunk-HSF3JATH.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
2
- //# sourceMappingURL=chunk-L5RYEWHO.mjs.map
1
+ import{a as u}from"./chunk-UUFVP7SB.mjs";import{a as g}from"./chunk-HSF3JATH.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
2
+ //# sourceMappingURL=chunk-V6HSYMMG.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-C23VOAOY.mjs";var o={async getTransactionsHistory(s){return await t(s)}};export{o as a};
2
+ //# sourceMappingURL=chunk-VA7KLP35.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-R3IH76PW.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-JMJ7OMSW.mjs.map
1
+ import{a as e}from"./chunk-YDR33UBM.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
2
+ //# sourceMappingURL=chunk-VCU3YP4J.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as U}from"./chunk-EOAIKG7U.mjs";import{a as B}from"./chunk-GBDHEWNQ.mjs";import{a as $}from"./chunk-XZ2BAC7C.mjs";import{a as _}from"./chunk-AC3N236P.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as R}from"./chunk-OMBZCVQZ.mjs";import{l as w}from"./chunk-YJQR63IW.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as v}from"./chunk-UGY4JSP3.mjs";import{a as O}from"./chunk-RYIJWGFA.mjs";import{k as x}from"./chunk-QNYO7NI5.mjs";import{a as A}from"./chunk-YJCTRUJT.mjs";import{a as h,c as G,f}from"./chunk-PJWJZHIS.mjs";import{a as L}from"./chunk-2JKCBTYK.mjs";import{c as F}from"./chunk-PWAP64SN.mjs";import{a as C}from"./chunk-R3IH76PW.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:n,network:o,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:n,sender:W,apiAddress:o.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},J=g&&l&&l.length>0?`${g}-${l}`:g,Q=await v({tokenId:J}),{esdtPrice:X,tokenDecimals:Y,type:r,identifier:a,tokenImageUrl:Z}=Q;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Z};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(o.decimals):Y,digits:Number(o.digits),addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:X),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===x?n:a)??n,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:nt}=R({transaction:p,price:S}),ot=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:o.gasStationMetadata}),{gasPriceOption:k}=T,et=w().getType(),it=O(et),N=u.length,rt=e.length>0?e[e.length-1]+1:0,P=F(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=A({to:`/${L}/${m}`,explorerAddress:st}),ct=N===1||t?.needsSigning&&!e.includes(s),pt=f({input:k.toString(),decimals:G,addCommas:!0,digits:h}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:k,gasPriceOptions:ot,egldLabel:n,tokenType:j(r),feeLimit:tt,feeInFiatLimit:nt,transactionsCount:N,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:C.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
- //# sourceMappingURL=chunk-S4GXN3R7.mjs.map
1
+ import{a as U}from"./chunk-UWBYA2GM.mjs";import{a as B}from"./chunk-GBDHEWNQ.mjs";import{a as $}from"./chunk-EJ4TUIIU.mjs";import{a as _}from"./chunk-AC3N236P.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as R}from"./chunk-OMBZCVQZ.mjs";import{l as w}from"./chunk-YHON33YS.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as v}from"./chunk-AIBBSVXP.mjs";import{a as O}from"./chunk-RYIJWGFA.mjs";import{k as x}from"./chunk-QNYO7NI5.mjs";import{a as A}from"./chunk-YJCTRUJT.mjs";import{a as h,c as G,f}from"./chunk-PJWJZHIS.mjs";import{a as L}from"./chunk-2JKCBTYK.mjs";import{c as F}from"./chunk-PWAP64SN.mjs";import{a as C}from"./chunk-YDR33UBM.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:n,network:o,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:n,sender:W,apiAddress:o.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},J=g&&l&&l.length>0?`${g}-${l}`:g,Q=await v({tokenId:J}),{esdtPrice:X,tokenDecimals:Y,type:r,identifier:a,tokenImageUrl:Z}=Q;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Z};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(o.decimals):Y,digits:Number(o.digits),addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:X),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===x?n:a)??n,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:nt}=R({transaction:p,price:S}),ot=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:o.gasStationMetadata}),{gasPriceOption:k}=T,et=w().getType(),it=O(et),N=u.length,rt=e.length>0?e[e.length-1]+1:0,P=F(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=A({to:`/${L}/${m}`,explorerAddress:st}),ct=N===1||t?.needsSigning&&!e.includes(s),pt=f({input:k.toString(),decimals:G,addCommas:!0,digits:h}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:k,gasPriceOptions:ot,egldLabel:n,tokenType:j(r),feeLimit:tt,feeInFiatLimit:nt,transactionsCount:N,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:C.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
+ //# sourceMappingURL=chunk-VLRP4JQW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-JBPJL3B7.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}get walletConnectData(){return{...this.data}}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
- //# sourceMappingURL=chunk-KTSYT4CA.mjs.map
1
+ import{a as e}from"./chunk-RVW6Z4XY.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}get walletConnectData(){return{...this.data}}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
+ //# sourceMappingURL=chunk-VOCZMUMV.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as p,f as l}from"./chunk-FK6DWWZF.mjs";import{f as s}from"./chunk-VNLGNNIL.mjs";import{b as x}from"./chunk-A7FTKX2A.mjs";import{a as m,b as c}from"./chunk-RIPIZH54.mjs";import{a as T}from"./chunk-2DNGCNYM.mjs";import{a as f,b as g}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-ONT6BGYB.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as u,b as S}from"./chunk-VKEESSBI.mjs";import{a as I}from"./chunk-6ZU2IBDO.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{f as a}from"./chunk-DA76AK4I.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=m,e.loginInfo=f,e.transactions=d,e.toasts=u};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=l(e),r=s(e),{address:i,publicKey:D}=p(e);if(i&&D!==new a(i).toHex()&&A(e),!t)return;if(r==null){w(H());return}let P=Date.now();r-P<0&&(w(null),o().setState(A,!1,{type:"logoutMiddleware",payload:{value:null}}))};var M=(e,t)=>{C(e)};var W=e=>{let t=J(V(h(N((...r)=>({network:T(...r),account:c(...r),loginInfo:g(...r),config:L(...r),transactions:y(...r),toasts:S(...r),cache:x(...r),ui:v(...r)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(M),t},n,z=e=>{n=e},o=()=>(n||z(W(()=>new k)),n),Se=(e=I)=>{let t=W(e);return z(t),t},de=()=>o().getState();var Le=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),Te=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),ve=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),Ie=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),ke=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),Ae=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),we=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{Le as a,Te as b,ve as c,Ie as d,ke as e,Ae as f,we as g,E as h,b as i,A as j,H as k,w as l,C as m,M as n,W as o,z as p,o as q,Se as r,de as s};
2
- //# sourceMappingURL=chunk-DY3P72D3.mjs.map
1
+ import{b as p,f as l}from"./chunk-FK6DWWZF.mjs";import{f as s}from"./chunk-VNLGNNIL.mjs";import{b as x}from"./chunk-A7FTKX2A.mjs";import{a as m,b as c}from"./chunk-RIPIZH54.mjs";import{a as T}from"./chunk-2DNGCNYM.mjs";import{a as f,b as g}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-ONT6BGYB.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as u,b as S}from"./chunk-VKEESSBI.mjs";import{a as I}from"./chunk-LLVSK2AG.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{f as a}from"./chunk-DA76AK4I.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=m,e.loginInfo=f,e.transactions=d,e.toasts=u};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=l(e),r=s(e),{address:i,publicKey:D}=p(e);if(i&&D!==new a(i).toHex()&&A(e),!t)return;if(r==null){w(H());return}let P=Date.now();r-P<0&&(w(null),o().setState(A,!1,{type:"logoutMiddleware",payload:{value:null}}))};var M=(e,t)=>{C(e)};var W=e=>{let t=J(V(h(N((...r)=>({network:T(...r),account:c(...r),loginInfo:g(...r),config:L(...r),transactions:y(...r),toasts:S(...r),cache:x(...r),ui:v(...r)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(M),t},n,z=e=>{n=e},o=()=>(n||z(W(()=>new k)),n),Se=(e=I)=>{let t=W(e);return z(t),t},de=()=>o().getState();var Le=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),Te=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),ve=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),Ie=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),ke=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),Ae=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),we=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{Le as a,Te as b,ve as c,Ie as d,ke as e,Ae as f,we as g,E as h,b as i,A as j,H as k,w as l,C as m,M as n,W as o,z as p,o as q,Se as r,de as s};
2
+ //# sourceMappingURL=chunk-VSOHM56Y.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{l as g}from"./chunk-YJQR63IW.mjs";import{q as M}from"./chunk-DY3P72D3.mjs";import{a as c}from"./chunk-FK6DWWZF.mjs";import{d as u,f as p,g as l}from"./chunk-DA76AK4I.mjs";import{a as d}from"./chunk-R3IH76PW.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=c(this.store.getState()),o=g(),i=`${t}${a}`,y=new l({address:new p(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=c(this.store.getState()),{message:t}=s;try{let o=new l({address:new p(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
- //# sourceMappingURL=chunk-6BNZ4EJC.mjs.map
1
+ import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{l as g}from"./chunk-YHON33YS.mjs";import{q as M}from"./chunk-VSOHM56Y.mjs";import{a as c}from"./chunk-FK6DWWZF.mjs";import{d as u,f as p,g as l}from"./chunk-DA76AK4I.mjs";import{a as d}from"./chunk-YDR33UBM.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=c(this.store.getState()),o=g(),i=`${t}${a}`,y=new l({address:new p(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=c(this.store.getState()),{message:t}=s;try{let o=new l({address:new p(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
+ //# sourceMappingURL=chunk-WDL6SFHR.mjs.map
@@ -1,2 +1,2 @@
1
- import{d as o}from"./chunk-RSNSPKZ3.mjs";import{a as r}from"./chunk-6ZU2IBDO.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
- //# sourceMappingURL=chunk-YEBGEZ5L.mjs.map
1
+ import{d as o}from"./chunk-BI2PJ5FS.mjs";import{a as r}from"./chunk-LLVSK2AG.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
+ //# sourceMappingURL=chunk-XEDB2GXW.mjs.map
@@ -0,0 +1,2 @@
1
+ import{s as o}from"./chunk-VSOHM56Y.mjs";import{a as t}from"./chunk-FK6DWWZF.mjs";function n(r=o()){return t(r)}export{n as a};
2
+ //# sourceMappingURL=chunk-XELB2AVG.mjs.map
@@ -1,2 +1,2 @@
1
- import{e}from"./chunk-M6MN4RXG.mjs";import{h as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-DY3P72D3.mjs";function m(){let r=o(t());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
- //# sourceMappingURL=chunk-PENSR33H.mjs.map
1
+ import{e}from"./chunk-M6MN4RXG.mjs";import{h as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-VSOHM56Y.mjs";function m(){let r=o(t());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
+ //# sourceMappingURL=chunk-YAVOCSOD.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as u}from"./chunk-UGY4JSP3.mjs";import{a as c}from"./chunk-O5PAMBB3.mjs";var l=async({receiver:n,sender:s,tokenId:i})=>{let t=null,r=null;if(!i)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await u({tokenId:i}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(s===e&&(t=e),n===e&&(r=e)),c(o[e])&&(s===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{l as a};
2
- //# sourceMappingURL=chunk-FRIOQMD3.mjs.map
1
+ import{a as u}from"./chunk-AIBBSVXP.mjs";import{a as c}from"./chunk-O5PAMBB3.mjs";var l=async({receiver:n,sender:s,tokenId:i})=>{let t=null,r=null;if(!i)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await u({tokenId:i}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(s===e&&(t=e),n===e&&(r=e)),c(o[e])&&(s===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{l as a};
2
+ //# sourceMappingURL=chunk-YDH26OGG.mjs.map
@@ -0,0 +1,2 @@
1
+ var o=typeof window<"u"?window:{},n="5.6.12";export{o as a,n as b};
2
+ //# sourceMappingURL=chunk-YDR33UBM.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/window.constants.ts"],
4
- "sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.11'; // will be replaced at build time\n"],
4
+ "sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.12'; // will be replaced at build time\n"],
5
5
  "mappings": "AAAO,IAAMA,EACX,OAAO,OAAW,IAAc,OAAU,CAAC,EAEhCC,EAAU",
6
6
  "names": ["safeWindow", "version"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-2WUOBFRV.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-DY3P72D3.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
- //# sourceMappingURL=chunk-MNN7JOCV.mjs.map
1
+ import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-XELB2AVG.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-VSOHM56Y.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
+ //# sourceMappingURL=chunk-YG6SFLZY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as Z}from"./chunk-RQOU5LG4.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-AAIKQGPN.mjs";import{a as rt}from"./chunk-TRICXIPQ.mjs";import{a as tt}from"./chunk-BFVULVAD.mjs";import{a as et}from"./chunk-RMMIR3MN.mjs";import{a as nt}from"./chunk-PENSR33H.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as mt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-L5RYEWHO.mjs";import{a as st}from"./chunk-MJXIB64Q.mjs";import{a as ut}from"./chunk-X7XFHGOE.mjs";import{a as M}from"./chunk-JJ6B2ZYX.mjs";import{a as ct}from"./chunk-DDB4KRVV.mjs";import{b as A}from"./chunk-3C4QWHTF.mjs";import{c as O}from"./chunk-RSNSPKZ3.mjs";import{a as d}from"./chunk-WXTELBRA.mjs";import{a as J}from"./chunk-CKY2HBH6.mjs";import{a as w}from"./chunk-R7Y4IM2T.mjs";import{a as P,f as X}from"./chunk-3MWPYDLA.mjs";import{b as it}from"./chunk-W4F3YI3F.mjs";import{b as k}from"./chunk-QMSYQJAU.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-2WUOBFRV.mjs";import{a as _}from"./chunk-IZVWRQDU.mjs";import{a as y}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-BZLQ6QLQ.mjs";import{a as L}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as q,q as v,s as l}from"./chunk-DY3P72D3.mjs";import{c as V,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-2AJ5KJ2V.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-DA76AK4I.mjs";import U from"bignumber.js";var Lt=async()=>{try{let o=J(),{network:e}=d();try{let t=await b({address:o,baseURL:e.apiAddress});if(t!=null){let n={...t,username:L(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(o){console.error("Failed getting address ",o)}return null};async function I(){let o=T();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await Lt():void 0}catch(e){console.error("Failed initializing provider ",e)}}async function gt({sessionId:o,transactionBatch:e,isSequential:t}){try{if(e==null)return;let n=tt(),r=ot(e),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:o,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[o];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:o,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:o,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:o,status:"invalid"})}catch(n){console.error(n)}}async function pt(){let o=G(l()),e=Object.entries(o);e.length!==0&&await Promise.all(e.map(([t,{transactions:n}])=>gt({sessionId:t,transactionBatch:n})))}async function x(){let o=v(),e=nt(),t=null,n=$(o.getState())?.timestamp??null,r=async()=>{try{await pt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,e))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=o.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});O.set("websocketEventReceived",a)};r();let s=()=>{p()},u=o.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return O.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:o,provider:e,apiAddress:t}){let n=await b({address:o,baseURL:t});if(!n)throw new Error("Account not found");it({address:o,providerType:e.getType()});let r={...n,username:L(n.username),nonce:w(n)};P(r),await A(o),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function lt({provider:o,nativeAuthConfig:e,token:t}){let{network:{apiAddress:n}}=d(),r=_(e),i=t;i||(i=await r.initialize({noCache:!0}));let p=await o.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:e,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});q({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:o,apiAddress:n}),{address:C,signature:s}}async function dt(o){let{network:{apiAddress:e}}=d();await o.login();let t=await o.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:o,apiAddress:e}),{address:t}}async function ft(o,e){let t=S(l());if(t)return await lt({provider:o,nativeAuthConfig:t,token:e?.token});let{address:n}=await dt(o);return await A(n),x(),{address:n,signature:""}}async function Tt({provider:o,transactions:e,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=o.getType()===h.ledger,c=mt({latestNonce:i,transactions:e}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=F.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=z.newFromBech32(r),a)):c,u=await o.signTransactions(s,t)??[];return X(i+u.length),u}var E=class{constructor(e){this._isLoggingOut=!1;this.provider=e}init(){return this.provider.init()}async login(e){let t=await ft(this.provider,e);return K(this.provider.getType()),ht(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(e={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:e});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(e,t){try{return await Tt({provider:this.provider,transactions:e,options:t})}catch(n){let r=M(n);throw new Error(r)}}async signMessage(e,t){try{return await ut({provider:this.provider,message:e,options:t})}catch(n){let r=M(n,"warning");throw new Error(r)}}cancelLogin(){this.provider.cancelLogin?.()}};var vt=null;function ht(o){vt=o}function T(){return vt||new E(B)}var R=class o{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let e=this.store.getState(),t=f(e),{isExpired:n}=y(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let e=this.store.getState(),t=f(e),n=H(e);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let e=T(),t=V(this.store.getState()),n=e.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=y(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{e.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let e=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=y(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!e?.tokenExpirationToastWarningSeconds)return;let c=new U(e?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};export{R as a,gt as b,pt as c,x as d,N as e,lt as f,dt as g,ft as h,Tt as i,E as j,ht as k,T as l,I as m};
2
- //# sourceMappingURL=chunk-YJQR63IW.mjs.map
1
+ import{a as Z}from"./chunk-YKYYWL4B.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-AQIZZ6YU.mjs";import{a as rt}from"./chunk-AU2YBHNW.mjs";import{a as tt}from"./chunk-GJSAN3GO.mjs";import{a as et}from"./chunk-YXKQJKZV.mjs";import{a as nt}from"./chunk-YAVOCSOD.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as mt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-V6HSYMMG.mjs";import{a as st}from"./chunk-JAXSTKEJ.mjs";import{a as ut}from"./chunk-QRPH4JCL.mjs";import{a as M}from"./chunk-QNXBITGY.mjs";import{a as ct}from"./chunk-LYUGR2FR.mjs";import{b as A}from"./chunk-G2WU3X6R.mjs";import{c as O}from"./chunk-BI2PJ5FS.mjs";import{a as d}from"./chunk-RFGBMNFA.mjs";import{a as J}from"./chunk-DDS3DY4B.mjs";import{a as w}from"./chunk-LJ5RLWEK.mjs";import{a as P,f as X}from"./chunk-TIX7PAYC.mjs";import{b as it}from"./chunk-GP6W6RR7.mjs";import{b as k}from"./chunk-FLFZN2T6.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-XELB2AVG.mjs";import{a as _}from"./chunk-UUFVP7SB.mjs";import{a as y}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-365NUVE7.mjs";import{a as L}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as q,q as v,s as l}from"./chunk-VSOHM56Y.mjs";import{c as V,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-2AJ5KJ2V.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-DA76AK4I.mjs";import U from"bignumber.js";var Lt=async()=>{try{let o=J(),{network:e}=d();try{let t=await b({address:o,baseURL:e.apiAddress});if(t!=null){let n={...t,username:L(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(o){console.error("Failed getting address ",o)}return null};async function I(){let o=T();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await Lt():void 0}catch(e){console.error("Failed initializing provider ",e)}}async function gt({sessionId:o,transactionBatch:e,isSequential:t}){try{if(e==null)return;let n=tt(),r=ot(e),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:o,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[o];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:o,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:o,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:o,status:"invalid"})}catch(n){console.error(n)}}async function pt(){let o=G(l()),e=Object.entries(o);e.length!==0&&await Promise.all(e.map(([t,{transactions:n}])=>gt({sessionId:t,transactionBatch:n})))}async function x(){let o=v(),e=nt(),t=null,n=$(o.getState())?.timestamp??null,r=async()=>{try{await pt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,e))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=o.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});O.set("websocketEventReceived",a)};r();let s=()=>{p()},u=o.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return O.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:o,provider:e,apiAddress:t}){let n=await b({address:o,baseURL:t});if(!n)throw new Error("Account not found");it({address:o,providerType:e.getType()});let r={...n,username:L(n.username),nonce:w(n)};P(r),await A(o),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function lt({provider:o,nativeAuthConfig:e,token:t}){let{network:{apiAddress:n}}=d(),r=_(e),i=t;i||(i=await r.initialize({noCache:!0}));let p=await o.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:e,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});q({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:o,apiAddress:n}),{address:C,signature:s}}async function dt(o){let{network:{apiAddress:e}}=d();await o.login();let t=await o.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:o,apiAddress:e}),{address:t}}async function ft(o,e){let t=S(l());if(t)return await lt({provider:o,nativeAuthConfig:t,token:e?.token});let{address:n}=await dt(o);return await A(n),x(),{address:n,signature:""}}async function Tt({provider:o,transactions:e,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=o.getType()===h.ledger,c=mt({latestNonce:i,transactions:e}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=F.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=z.newFromBech32(r),a)):c,u=await o.signTransactions(s,t)??[];return X(i+u.length),u}var E=class{constructor(e){this._isLoggingOut=!1;this.provider=e}init(){return this.provider.init()}async login(e){let t=await ft(this.provider,e);return K(this.provider.getType()),ht(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(e={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:e});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(e,t){try{return await Tt({provider:this.provider,transactions:e,options:t})}catch(n){let r=M(n);throw new Error(r)}}async signMessage(e,t){try{return await ut({provider:this.provider,message:e,options:t})}catch(n){let r=M(n,"warning");throw new Error(r)}}cancelLogin(){this.provider.cancelLogin?.()}};var vt=null;function ht(o){vt=o}function T(){return vt||new E(B)}var R=class o{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let e=this.store.getState(),t=f(e),{isExpired:n}=y(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let e=this.store.getState(),t=f(e),n=H(e);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let e=T(),t=V(this.store.getState()),n=e.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=y(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{e.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let e=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=y(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!e?.tokenExpirationToastWarningSeconds)return;let c=new U(e?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};export{R as a,gt as b,pt as c,x as d,N as e,lt as f,dt as g,ft as h,Tt as i,E as j,ht as k,T as l,I as m};
2
+ //# sourceMappingURL=chunk-YHON33YS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-AJBGY6A5.mjs";var T=async a=>{let n=a.map(s=>s.hash),r=await e(n);return a.map(s=>{let t=r.find(o=>o?.txHash===s.hash);return{...s,status:t?.status,invalidTransaction:t==null,results:t?.results??[],previousStatus:s.status?.toString()||"",hasStatusChanged:!!(t&&t.status!==s.status)}})};export{T as a};
2
- //# sourceMappingURL=chunk-RQOU5LG4.mjs.map
1
+ import{a as e}from"./chunk-GOUIWTTC.mjs";var T=async a=>{let n=a.map(s=>s.hash),r=await e(n);return a.map(s=>{let t=r.find(o=>o?.txHash===s.hash);return{...s,status:t?.status,invalidTransaction:t==null,results:t?.results??[],previousStatus:s.status?.toString()||"",hasStatusChanged:!!(t&&t.status!==s.status)}})};export{T as a};
2
+ //# sourceMappingURL=chunk-YKYYWL4B.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk-IWP36NOU.mjs";import{a as w}from"./chunk-LGGG3HW7.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";import{q as u}from"./chunk-DY3P72D3.mjs";import{a as l}from"./chunk-SQVKVA7X.mjs";var e=o=>u().setState(({network:t})=>{t.network={...t.network,...o}},!1,{type:"initializeNetworkConfig",payload:{value:o}});var y=async({customNetworkConfig:o={},environment:t})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=t&&t in i,p=n?i[t]:{},s={...l,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await c(a),f=r.roundDuration?null:await w(a);if(f!=null&&(r.roundDuration=f.erd_round_duration),m!=null){let k={...r,...m,...o};return e(k),k}}return e(r),r};export{y as a,e as b};
2
- //# sourceMappingURL=chunk-FRREO5DY.mjs.map
1
+ import{a as c}from"./chunk-IWP36NOU.mjs";import{a as w}from"./chunk-LGGG3HW7.mjs";import{a as i}from"./chunk-PKDR5ERF.mjs";import{q as u}from"./chunk-VSOHM56Y.mjs";import{a as l}from"./chunk-SQVKVA7X.mjs";var e=o=>u().setState(({network:t})=>{t.network={...t.network,...o}},!1,{type:"initializeNetworkConfig",payload:{value:o}});var y=async({customNetworkConfig:o={},environment:t})=>{let d=!o?.skipFetchFromServer,g=o?.apiAddress,n=t&&t in i,p=n?i[t]:{},s={...l,...p,...o},r={...s,apiTimeout:String(s.apiTimeout)},N=p?.apiAddress;if(!n&&d){let a=g||N,m=await c(a),f=r.roundDuration?null:await w(a);if(f!=null&&(r.roundDuration=f.erd_round_duration),m!=null){let k={...r,...m,...o};return e(k),k}}return e(r),r};export{y as a,e as b};
2
+ //# sourceMappingURL=chunk-YTKDRPWM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-UWCHOJH4.mjs";import{a as u}from"./chunk-6VJXXSIS.mjs";import{a}from"./chunk-PMHRZ5Y7.mjs";import{l as p}from"./chunk-E2GGD7D4.mjs";import{b as o}from"./chunk-QMSYQJAU.mjs";var n={};async function b({serverTransaction:r,sessionId:t,isSequential:c}){let{hash:e,status:s,invalidTransaction:f,hasStatusChanged:S}=r;try{if(n[e]>30){o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"});return}if(f&&!c||s==="sent"){n[e]=n[e]?n[e]+1:1;return}if(c&&!s){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i});return}if(S){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i})}p(s)&&await m({sessionId:t,transaction:r})}catch(T){console.error(T),o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"})}}export{b as a};
2
- //# sourceMappingURL=chunk-RMMIR3MN.mjs.map
1
+ import{a as m}from"./chunk-DDRH6O3X.mjs";import{a as u}from"./chunk-UDWPAR25.mjs";import{a}from"./chunk-PMHRZ5Y7.mjs";import{l as p}from"./chunk-E2GGD7D4.mjs";import{b as o}from"./chunk-FLFZN2T6.mjs";var n={};async function b({serverTransaction:r,sessionId:t,isSequential:c}){let{hash:e,status:s,invalidTransaction:f,hasStatusChanged:S}=r;try{if(n[e]>30){o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"});return}if(f&&!c||s==="sent"){n[e]=n[e]?n[e]+1:1;return}if(c&&!s){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i});return}if(S){let i=u({sessionId:t,transaction:r});await a({sessionId:t,status:i})}p(s)&&await m({sessionId:t,transaction:r})}catch(T){console.error(T),o({sessionId:t,status:"timedOut"}),await a({sessionId:t,status:"timedOut"})}}export{b as a};
2
+ //# sourceMappingURL=chunk-YXKQJKZV.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-CCD7PUHB.mjs";import{a as S}from"./chunk-EAJBSX6Y.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-DY3P72D3.mjs";import{a as n}from"./chunk-FK6DWWZF.mjs";var u=t=>{let o=0,i=n(e())?.shard;return S(t)?(t.forEach(c=>{let m=s(c,i);o+=m?5*6e3:6e3}),o):(o=s(t,i)?5*6e3:6e3,o)};export{u as a};
2
- //# sourceMappingURL=chunk-O65UD2QD.mjs.map
1
+ import{a as s}from"./chunk-CCD7PUHB.mjs";import{a as S}from"./chunk-EAJBSX6Y.mjs";import{c as r,d as a}from"./chunk-M6MN4RXG.mjs";import{s as e}from"./chunk-VSOHM56Y.mjs";import{a as n}from"./chunk-FK6DWWZF.mjs";var u=t=>{let o=0,i=n(e())?.shard;return S(t)?(t.forEach(c=>{let m=s(c,i);o+=m?5*6e3:6e3}),o):(o=s(t,i)?5*6e3:6e3,o)};export{u as a};
2
+ //# sourceMappingURL=chunk-Z72NFBTZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-CMN37YZP.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
- //# sourceMappingURL=chunk-CG6BZB2U.mjs.map
1
+ import{a as t}from"./chunk-QDUNEKJW.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
+ //# sourceMappingURL=chunk-ZLGDFBX7.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-6BA2NDJT.mjs";import{a as s}from"./chunk-CMN37YZP.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-DY3P72D3.mjs";var e=class e extends s{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&await e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{if(c(e.loginHandler)){let o=await t.create({type:n,anchor:i}),l=e.token;await o.login(l?{token:l}:void 0),e.loginHandler()}else e.loginHandler({type:n,anchor:i});await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy(),e.onCancelLogin&&await e.onCancelLogin()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),n.onCancelLogin&&(this.onCancelLogin=n.onCancelLogin),n.token&&(this.token=n.token),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null,e.onCancelLogin=null,e.token=null;var u=e;export{u as a};
2
- //# sourceMappingURL=chunk-QACFOFUG.mjs.map
1
+ import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-IPGIVRGN.mjs";import{a as s}from"./chunk-QDUNEKJW.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-VSOHM56Y.mjs";var e=class e extends s{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&await e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{if(c(e.loginHandler)){let o=await t.create({type:n,anchor:i}),l=e.token;await o.login(l?{token:l}:void 0),e.loginHandler()}else e.loginHandler({type:n,anchor:i});await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy(),e.onCancelLogin&&await e.onCancelLogin()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),n.onCancelLogin&&(this.onCancelLogin=n.onCancelLogin),n.token&&(this.token=n.token),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null,e.onCancelLogin=null,e.token=null;var u=e;export{u as a};
2
+ //# sourceMappingURL=chunk-ZMZXHLYM.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("apiCalls/configuration/getCleanApiAddress"),s=require("apiCalls/endpoints"),a=require("apiCalls/utils/axiosInstance"),u=require("constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/configuration/getCleanApiAddress"),s=require("../../apiCalls/endpoints"),a=require("../../apiCalls/utils/axiosInstance"),u=require("../../constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
2
2
  //# sourceMappingURL=getAccountFromApi.cjs.map
@@ -0,0 +1,9 @@
1
+ import { AccountType } from '../../types/account.types';
2
+ export declare const accountFetcher: ({ address, baseURL }: {
3
+ address: string | null;
4
+ baseURL: string;
5
+ }) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const getAccountFromApi: ({ address, baseURL }: {
7
+ address?: string;
8
+ baseURL: string;
9
+ }) => Promise<AccountType | null>;
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../__chunks__/chunk-COA54JTE.mjs";import"../../__chunks__/chunk-L7AC35OO.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-DY3P72D3.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-6ZU2IBDO.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-R3IH76PW.mjs";export{a as accountFetcher,b as getAccountFromApi};
1
+ import{a,b}from"../../__chunks__/chunk-HY5I67W7.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as accountFetcher,b as getAccountFromApi};
2
2
  //# sourceMappingURL=getAccountFromApi.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("apiCalls/configuration/getCleanApiAddress"),d=require("constants/network.constants"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
1
+ "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/configuration/getCleanApiAddress"),d=require("../../constants/network.constants"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
2
2
  //# sourceMappingURL=getScamAddressData.cjs.map
@@ -0,0 +1,8 @@
1
+ import { ScamInfoType } from '../../types/account.types';
2
+ export declare function getScamAddressData({ addressToVerify, baseURL }: {
3
+ addressToVerify: string;
4
+ baseURL: string;
5
+ }): Promise<{
6
+ scamInfo?: ScamInfoType | undefined;
7
+ code?: string | undefined;
8
+ }>;
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-P4H53TTI.mjs";import"../../__chunks__/chunk-L7AC35OO.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-DY3P72D3.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-6ZU2IBDO.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-R3IH76PW.mjs";export{a as getScamAddressData};
1
+ import{a}from"../../__chunks__/chunk-F3PJPNGU.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getScamAddressData};
2
2
  //# sourceMappingURL=getScamAddressData.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},A=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!a.call(e,s)&&s!==r&&o(e,s,{get:()=>t[s],enumerable:!(n=p(t,s))||n.enumerable});return e};var g=e=>A(o({},"__esModule",{value:!0}),e);var f={};m(f,{getCleanApiAddress:()=>l});module.exports=g(f);var i=require("store/selectors/networkSelectors"),d=require("store/store");const l=e=>{const t=(0,i.networkSelector)((0,d.getState)()),r=e??t.apiAddress;return r.endsWith("/")?r.slice(0,-1):r};0&&(module.exports={getCleanApiAddress});
1
+ "use strict";var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},A=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of c(t))!a.call(e,s)&&s!==r&&o(e,s,{get:()=>t[s],enumerable:!(n=p(t,s))||n.enumerable});return e};var g=e=>A(o({},"__esModule",{value:!0}),e);var f={};m(f,{getCleanApiAddress:()=>l});module.exports=g(f);var i=require("../../store/selectors/networkSelectors"),d=require("../../store/store");const l=e=>{const t=(0,i.networkSelector)((0,d.getState)()),r=e??t.apiAddress;return r.endsWith("/")?r.slice(0,-1):r};0&&(module.exports={getCleanApiAddress});
2
2
  //# sourceMappingURL=getCleanApiAddress.cjs.map
@@ -0,0 +1 @@
1
+ export declare const getCleanApiAddress: (customApiAddress?: string) => string;
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-L7AC35OO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-DY3P72D3.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-6ZU2IBDO.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-R3IH76PW.mjs";export{a as getCleanApiAddress};
1
+ import{a}from"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getCleanApiAddress};
2
2
  //# sourceMappingURL=getCleanApiAddress.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var l=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var A=(t,r)=>{for(var e in r)s(t,e,{get:r[e],enumerable:!0})},n=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of c(r))!d.call(t,a)&&a!==e&&s(t,a,{get:()=>r[a],enumerable:!(o=p(r,a))||o.enumerable});return t};var g=(t,r,e)=>(e=t!=null?l(u(t)):{},n(r||!t||!t.__esModule?s(e,"default",{value:t,enumerable:!0}):e,t)),S=t=>n(s({},"__esModule",{value:!0}),t);var N={};A(N,{getGasStationMetadataFromApi:()=>k});module.exports=S(N);var i=g(require("axios")),m=require("apiCalls/configuration/getCleanApiAddress"),f=require("apiCalls/endpoints");async function k(t,r){const o=`${(0,m.getCleanApiAddress)(r)}/${f.GAS_STATION_ENDPOINT}/${t}`;try{const{data:a}=await i.default.get(o);return a?{[t]:{lastBlock:a.lastBlock,fast:a.fast,faster:a.faster}}:null}catch(a){return console.error("Error fetching gas station metadata from:",o,a),null}}0&&(module.exports={getGasStationMetadataFromApi});
1
+ "use strict";var l=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var A=(t,r)=>{for(var e in r)s(t,e,{get:r[e],enumerable:!0})},n=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of c(r))!d.call(t,a)&&a!==e&&s(t,a,{get:()=>r[a],enumerable:!(o=p(r,a))||o.enumerable});return t};var g=(t,r,e)=>(e=t!=null?l(u(t)):{},n(r||!t||!t.__esModule?s(e,"default",{value:t,enumerable:!0}):e,t)),S=t=>n(s({},"__esModule",{value:!0}),t);var N={};A(N,{getGasStationMetadataFromApi:()=>k});module.exports=S(N);var i=g(require("axios")),m=require("../../apiCalls/configuration/getCleanApiAddress"),f=require("../../apiCalls/endpoints");async function k(t,r){const o=`${(0,m.getCleanApiAddress)(r)}/${f.GAS_STATION_ENDPOINT}/${t}`;try{const{data:a}=await i.default.get(o);return a?{[t]:{lastBlock:a.lastBlock,fast:a.fast,faster:a.faster}}:null}catch(a){return console.error("Error fetching gas station metadata from:",o,a),null}}0&&(module.exports={getGasStationMetadataFromApi});
2
2
  //# sourceMappingURL=getGasStationMetadata.cjs.map
@@ -0,0 +1,2 @@
1
+ import { NetworkType } from '../../types/network.types';
2
+ export declare function getGasStationMetadataFromApi(shard: number, customApiAddress?: string): Promise<NetworkType['gasStationMetadata'] | null>;
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-3Z7CLSDP.mjs";import"../../__chunks__/chunk-L7AC35OO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-DY3P72D3.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-6ZU2IBDO.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-R3IH76PW.mjs";export{a as getGasStationMetadataFromApi};
1
+ import{a}from"../../__chunks__/chunk-S72I2KYP.mjs";import"../../__chunks__/chunk-HPY6UNFO.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VSOHM56Y.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LLVSK2AG.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getGasStationMetadataFromApi};
2
2
  //# sourceMappingURL=getGasStationMetadata.mjs.map
@@ -0,0 +1,2 @@
1
+ import { ApiNetworkConfigType } from '../../types/network.types';
2
+ export declare function getNetworkConfigFromApi(apiAddress: string): Promise<ApiNetworkConfigType | null>;
@@ -0,0 +1,2 @@
1
+ import { NetworkType } from '../../types/network.types';
2
+ export declare function getServerConfiguration(apiAddress: string): Promise<NetworkType | null>;
@@ -1,2 +1,2 @@
1
- "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("apiCalls/configuration/getCleanApiAddress"),a=require("apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
1
+ "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/configuration/getCleanApiAddress"),a=require("../../apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
2
2
  //# sourceMappingURL=getEconomics.cjs.map
@@ -0,0 +1,13 @@
1
+ export interface EconomicsInfoType {
2
+ totalSupply: number;
3
+ circulatingSupply: number;
4
+ staked: number;
5
+ price: number;
6
+ marketCap: number;
7
+ apr: number;
8
+ topUpApr: number;
9
+ }
10
+ export declare function getEconomics({ url, baseURL }: {
11
+ url?: string;
12
+ baseURL: string;
13
+ }): Promise<EconomicsInfoType | null>;