@multiversx/sdk-dapp 5.0.0-alpha.1 → 5.0.0-alpha.3

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 (280) hide show
  1. package/README.md +223 -74
  2. package/out/__chunks__/{chunk-HP5OTXWV.mjs → chunk-3PAMS4NB.mjs} +1 -1
  3. package/out/__chunks__/{chunk-HP5OTXWV.mjs.map → chunk-3PAMS4NB.mjs.map} +1 -1
  4. package/out/__chunks__/{chunk-C3KLB5TA.mjs → chunk-4OO7HE5Q.mjs} +1 -1
  5. package/out/__chunks__/{chunk-C3KLB5TA.mjs.map → chunk-4OO7HE5Q.mjs.map} +1 -1
  6. package/out/__chunks__/{chunk-IGA7KHXY.mjs → chunk-53TM7EG4.mjs} +2 -2
  7. package/out/__chunks__/chunk-55SACSMS.mjs +2 -0
  8. package/out/__chunks__/chunk-55SACSMS.mjs.map +7 -0
  9. package/out/__chunks__/{chunk-7JA77EJQ.mjs → chunk-57KVKSEC.mjs} +2 -2
  10. package/out/__chunks__/chunk-5KRDLFR5.mjs +2 -0
  11. package/out/__chunks__/chunk-643LVXSN.mjs +2 -0
  12. package/out/__chunks__/chunk-643LVXSN.mjs.map +7 -0
  13. package/out/__chunks__/{chunk-42SCXW2U.mjs → chunk-67X3ORNS.mjs} +2 -2
  14. package/out/__chunks__/{chunk-AL42X4Q3.mjs → chunk-BJRGP56G.mjs} +2 -2
  15. package/out/__chunks__/{chunk-XG2BS23C.mjs → chunk-BTDFQCSV.mjs} +2 -2
  16. package/out/__chunks__/{chunk-OYZFSQEK.mjs → chunk-D4MNCAND.mjs} +2 -2
  17. package/out/__chunks__/{chunk-NCUYIZYI.mjs → chunk-DGXP3AZR.mjs} +2 -2
  18. package/out/__chunks__/{chunk-DZ3UVNJK.mjs → chunk-DHSATBNM.mjs} +2 -2
  19. package/out/__chunks__/chunk-EOCZROR3.mjs +2 -0
  20. package/out/__chunks__/{chunk-EFVHT26M.mjs → chunk-G7ZMNJIE.mjs} +2 -2
  21. package/out/__chunks__/{chunk-6GNOK3TJ.mjs → chunk-HTPPS2MF.mjs} +1 -1
  22. package/out/__chunks__/chunk-HTPPS2MF.mjs.map +7 -0
  23. package/out/__chunks__/{chunk-PVTRVIAK.mjs → chunk-IJX53ZJI.mjs} +2 -2
  24. package/out/__chunks__/{chunk-YVVDA6LN.mjs → chunk-IOKDBFGH.mjs} +1 -1
  25. package/out/__chunks__/{chunk-YVVDA6LN.mjs.map → chunk-IOKDBFGH.mjs.map} +1 -1
  26. package/out/__chunks__/{chunk-C4CJSICS.mjs → chunk-LEVR7744.mjs} +2 -2
  27. package/out/__chunks__/chunk-LLMOP5KI.mjs +2 -0
  28. package/out/__chunks__/chunk-LLMOP5KI.mjs.map +7 -0
  29. package/out/__chunks__/{chunk-ZC3TMTLB.mjs → chunk-LRKA4F33.mjs} +2 -2
  30. package/out/__chunks__/chunk-MHCIV2K5.mjs +2 -0
  31. package/out/__chunks__/chunk-MHCIV2K5.mjs.map +7 -0
  32. package/out/__chunks__/{chunk-ARD5PCMI.mjs → chunk-OSYFYAJA.mjs} +2 -2
  33. package/out/__chunks__/{chunk-RNCF2III.mjs → chunk-PMPTCB44.mjs} +2 -2
  34. package/out/__chunks__/{chunk-DZ5L5MZT.mjs → chunk-R7SGL2HW.mjs} +1 -1
  35. package/out/__chunks__/chunk-R7SGL2HW.mjs.map +7 -0
  36. package/out/__chunks__/{chunk-KQ3I46X7.mjs → chunk-RCBOU6TT.mjs} +2 -2
  37. package/out/__chunks__/{chunk-4PV6SFXA.mjs → chunk-SVNWQXWC.mjs} +2 -2
  38. package/out/__chunks__/{chunk-U5GPHLUX.mjs → chunk-TFQFZ5M2.mjs} +2 -2
  39. package/out/__chunks__/{chunk-KJCZ5HAU.mjs → chunk-TO3DGAQU.mjs} +2 -2
  40. package/out/__chunks__/chunk-TYG6E3LZ.mjs +2 -0
  41. package/out/__chunks__/chunk-TYG6E3LZ.mjs.map +7 -0
  42. package/out/__chunks__/chunk-VMFJUT3G.mjs +2 -0
  43. package/out/__chunks__/chunk-VMFJUT3G.mjs.map +7 -0
  44. package/out/__chunks__/{chunk-7YGJXJUC.mjs → chunk-WUAYFGWU.mjs} +2 -2
  45. package/out/__chunks__/{chunk-SLLCCPCW.mjs → chunk-X7AQOVLN.mjs} +2 -2
  46. package/out/__chunks__/{chunk-NJ73RJ4B.mjs → chunk-XCXU3BVP.mjs} +2 -2
  47. package/out/__chunks__/{chunk-OBRX5K2D.mjs → chunk-XKTDOIMV.mjs} +2 -2
  48. package/out/__chunks__/{chunk-OBRX5K2D.mjs.map → chunk-XKTDOIMV.mjs.map} +2 -2
  49. package/out/__chunks__/{chunk-FJIH6TWP.mjs → chunk-Y2GZNJKO.mjs} +2 -2
  50. package/out/__chunks__/{chunk-WTCFHVW3.mjs → chunk-YMME2BFO.mjs} +2 -2
  51. package/out/__chunks__/chunk-YRHMGKLM.mjs +2 -0
  52. package/out/__chunks__/chunk-YRHMGKLM.mjs.map +7 -0
  53. package/out/__chunks__/{chunk-O4J75OI6.mjs → chunk-ZGNDECGJ.mjs} +2 -2
  54. package/out/__chunks__/{chunk-SHNEF3SC.mjs → chunk-ZIQFQWVJ.mjs} +2 -2
  55. package/out/__chunks__/{chunk-GUG3HFGL.mjs → chunk-ZK3OCDKZ.mjs} +2 -2
  56. package/out/__chunks__/{chunk-W2WAVVF5.mjs → chunk-ZLBHLHQ3.mjs} +2 -2
  57. package/out/__mocks__/data/index.mjs +1 -1
  58. package/out/__mocks__/index.mjs +1 -1
  59. package/out/__mocks__/server.mjs +1 -1
  60. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  61. package/out/apiCalls/index.mjs +1 -1
  62. package/out/constants/UITags.enum.d.ts +2 -2
  63. package/out/constants/UITags.enum.js +2 -2
  64. package/out/constants/UITags.enum.js.map +1 -1
  65. package/out/constants/UITags.enum.mjs +1 -1
  66. package/out/constants/index.mjs +1 -1
  67. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  68. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  69. package/out/index.mjs +1 -1
  70. package/out/lib/sdkDappUi.d.ts +2 -2
  71. package/out/lib/sdkDappUi.mjs +1 -1
  72. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +1 -1
  73. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +1 -1
  74. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  75. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  76. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  77. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  78. package/out/managers/TransactionManager/helpers/getShardOfAddress.mjs +1 -1
  79. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  80. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.mjs +1 -1
  81. package/out/managers/TransactionManager/index.mjs +1 -1
  82. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +5 -5
  83. package/out/managers/UnlockPanelManager/UnlockPanelManager.js +5 -5
  84. package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +1 -1
  85. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  86. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +17 -9
  87. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
  88. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  89. package/out/managers/index.mjs +1 -1
  90. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +2 -2
  91. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js +1 -1
  92. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js.map +1 -1
  93. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  94. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  95. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  96. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  97. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  98. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  99. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  100. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  101. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  102. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  103. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  104. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  105. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  106. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +2 -2
  107. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  108. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  109. package/out/managers/internal/index.mjs +1 -1
  110. package/out/methods/account/getLatestNonce.js.map +1 -1
  111. package/out/methods/account/getLatestNonce.mjs +1 -1
  112. package/out/methods/initApp/initApp.mjs +1 -1
  113. package/out/methods/loginInfo/getLoginInfo.d.ts +57 -0
  114. package/out/methods/loginInfo/getLoginInfo.js +14 -0
  115. package/out/methods/loginInfo/getLoginInfo.js.map +1 -0
  116. package/out/methods/loginInfo/getLoginInfo.mjs +2 -0
  117. package/out/methods/loginInfo/getLoginInfo.mjs.map +7 -0
  118. package/out/methods/network/getEgldLabel.js +2 -2
  119. package/out/methods/network/getEgldLabel.js.map +1 -1
  120. package/out/methods/network/getEgldLabel.mjs +1 -1
  121. package/out/methods/network/getExplorerAddress.js +2 -2
  122. package/out/methods/network/getExplorerAddress.js.map +1 -1
  123. package/out/methods/network/getExplorerAddress.mjs +1 -1
  124. package/out/methods/network/getNetworkConfig.js +2 -2
  125. package/out/methods/network/getNetworkConfig.js.map +1 -1
  126. package/out/methods/network/getNetworkConfig.mjs +1 -1
  127. package/out/methods/transactions/getPendingTransactions.d.ts +1 -0
  128. package/out/methods/transactions/getPendingTransactions.js +10 -0
  129. package/out/methods/transactions/getPendingTransactions.js.map +1 -0
  130. package/out/methods/transactions/getPendingTransactions.mjs +2 -0
  131. package/out/methods/transactions/getPendingTransactions.mjs.map +7 -0
  132. package/out/methods/transactions/getPendingTransactionsSessions.d.ts +1 -0
  133. package/out/methods/transactions/getPendingTransactionsSessions.js +10 -0
  134. package/out/methods/transactions/getPendingTransactionsSessions.js.map +1 -0
  135. package/out/methods/transactions/getPendingTransactionsSessions.mjs +2 -0
  136. package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +7 -0
  137. package/out/methods/transactions/getTransactionSessions.d.ts +1 -0
  138. package/out/methods/transactions/getTransactionSessions.js +10 -0
  139. package/out/methods/transactions/getTransactionSessions.js.map +1 -0
  140. package/out/methods/transactions/getTransactionSessions.mjs +2 -0
  141. package/out/methods/transactions/getTransactionSessions.mjs.map +7 -0
  142. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  143. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  144. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  145. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  146. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  147. package/out/providers/DappProvider/index.mjs +1 -1
  148. package/out/providers/ProviderFactory.mjs +1 -1
  149. package/out/providers/helpers/accountProvider.mjs +1 -1
  150. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  151. package/out/providers/helpers/restoreProvider.mjs +1 -1
  152. package/out/providers/index.mjs +1 -1
  153. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  154. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  155. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  156. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  157. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  158. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  159. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  160. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  161. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  162. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  163. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  164. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  165. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  166. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  167. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  168. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  169. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  170. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  171. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  172. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  173. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  174. package/out/providers/strategies/helpers/index.mjs +1 -1
  175. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  176. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  177. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  178. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  179. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  180. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  181. package/out/providers/strategies/index.mjs +1 -1
  182. package/out/react/account/useGetAccount.js.map +1 -1
  183. package/out/react/account/useGetAccount.mjs +1 -1
  184. package/out/react/account/useGetAccount.mjs.map +2 -2
  185. package/out/react/account/useGetAccountInfo.js.map +1 -1
  186. package/out/react/account/useGetAccountInfo.mjs +1 -1
  187. package/out/react/account/useGetAccountInfo.mjs.map +2 -2
  188. package/out/react/account/useGetIsLoggedIn.js.map +1 -1
  189. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  190. package/out/react/account/useGetIsLoggedIn.mjs.map +2 -2
  191. package/out/react/account/useGetLatestNonce.js.map +1 -1
  192. package/out/react/account/useGetLatestNonce.mjs +1 -1
  193. package/out/react/account/useGetLatestNonce.mjs.map +2 -2
  194. package/out/react/index.mjs +1 -1
  195. package/out/react/loginInfo/useGetLoginInfo.js.map +1 -1
  196. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  197. package/out/react/loginInfo/useGetLoginInfo.mjs.map +2 -2
  198. package/out/react/network/useGetNetworkConfig.d.ts +1 -1
  199. package/out/react/network/useGetNetworkConfig.js +1 -1
  200. package/out/react/network/useGetNetworkConfig.js.map +1 -1
  201. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  202. package/out/react/network/useGetNetworkConfig.mjs.map +3 -3
  203. package/out/react/store/getReactStore.js +1 -1
  204. package/out/react/store/getReactStore.js.map +1 -1
  205. package/out/react/store/getReactStore.mjs +1 -1
  206. package/out/react/store/getReactStore.mjs.map +4 -4
  207. package/out/react/store/useSelector.js +1 -1
  208. package/out/react/store/useSelector.js.map +1 -1
  209. package/out/react/store/useSelector.mjs +1 -1
  210. package/out/react/transactions/useGetPendingTransactions.js.map +1 -1
  211. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  212. package/out/react/transactions/useGetPendingTransactions.mjs.map +2 -2
  213. package/out/react/transactions/useGetPendingTransactionsSessions.d.ts +1 -1
  214. package/out/react/transactions/useGetPendingTransactionsSessions.js +3 -3
  215. package/out/react/transactions/useGetPendingTransactionsSessions.js.map +1 -1
  216. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  217. package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +3 -3
  218. package/out/react/transactions/useGetTransactionSessions.js.map +1 -1
  219. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  220. package/out/react/transactions/useGetTransactionSessions.mjs.map +2 -2
  221. package/out/store/actions/index.mjs +1 -1
  222. package/out/store/actions/toasts/index.mjs +1 -1
  223. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  224. package/out/utils/account/index.mjs +1 -1
  225. package/out/utils/account/refreshAccount.mjs +1 -1
  226. package/out/utils/createUIElement.mjs +1 -1
  227. package/out/utils/index.mjs +1 -1
  228. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  229. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  230. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  231. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  232. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  233. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  234. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  235. package/package.json +2 -2
  236. package/out/__chunks__/chunk-6GNOK3TJ.mjs.map +0 -7
  237. package/out/__chunks__/chunk-7Q3M4L6V.mjs +0 -2
  238. package/out/__chunks__/chunk-7Q3M4L6V.mjs.map +0 -7
  239. package/out/__chunks__/chunk-7TOTBAGV.mjs +0 -2
  240. package/out/__chunks__/chunk-7TOTBAGV.mjs.map +0 -7
  241. package/out/__chunks__/chunk-DZ5L5MZT.mjs.map +0 -7
  242. package/out/__chunks__/chunk-EXLTOUB5.mjs +0 -2
  243. package/out/__chunks__/chunk-EXLTOUB5.mjs.map +0 -7
  244. package/out/__chunks__/chunk-PV5A7PX4.mjs +0 -2
  245. package/out/__chunks__/chunk-TOGPOKIP.mjs +0 -2
  246. package/out/__chunks__/chunk-TOGPOKIP.mjs.map +0 -7
  247. package/out/__chunks__/chunk-UBD2YVBI.mjs +0 -2
  248. package/out/__chunks__/chunk-UBD2YVBI.mjs.map +0 -7
  249. package/out/__chunks__/chunk-WZNCESVG.mjs +0 -2
  250. package/out/__chunks__/chunk-WZNCESVG.mjs.map +0 -7
  251. package/out/__chunks__/chunk-XU34NXIS.mjs +0 -2
  252. /package/out/__chunks__/{chunk-IGA7KHXY.mjs.map → chunk-53TM7EG4.mjs.map} +0 -0
  253. /package/out/__chunks__/{chunk-7JA77EJQ.mjs.map → chunk-57KVKSEC.mjs.map} +0 -0
  254. /package/out/__chunks__/{chunk-PV5A7PX4.mjs.map → chunk-5KRDLFR5.mjs.map} +0 -0
  255. /package/out/__chunks__/{chunk-42SCXW2U.mjs.map → chunk-67X3ORNS.mjs.map} +0 -0
  256. /package/out/__chunks__/{chunk-AL42X4Q3.mjs.map → chunk-BJRGP56G.mjs.map} +0 -0
  257. /package/out/__chunks__/{chunk-XG2BS23C.mjs.map → chunk-BTDFQCSV.mjs.map} +0 -0
  258. /package/out/__chunks__/{chunk-OYZFSQEK.mjs.map → chunk-D4MNCAND.mjs.map} +0 -0
  259. /package/out/__chunks__/{chunk-NCUYIZYI.mjs.map → chunk-DGXP3AZR.mjs.map} +0 -0
  260. /package/out/__chunks__/{chunk-DZ3UVNJK.mjs.map → chunk-DHSATBNM.mjs.map} +0 -0
  261. /package/out/__chunks__/{chunk-XU34NXIS.mjs.map → chunk-EOCZROR3.mjs.map} +0 -0
  262. /package/out/__chunks__/{chunk-EFVHT26M.mjs.map → chunk-G7ZMNJIE.mjs.map} +0 -0
  263. /package/out/__chunks__/{chunk-PVTRVIAK.mjs.map → chunk-IJX53ZJI.mjs.map} +0 -0
  264. /package/out/__chunks__/{chunk-C4CJSICS.mjs.map → chunk-LEVR7744.mjs.map} +0 -0
  265. /package/out/__chunks__/{chunk-ZC3TMTLB.mjs.map → chunk-LRKA4F33.mjs.map} +0 -0
  266. /package/out/__chunks__/{chunk-ARD5PCMI.mjs.map → chunk-OSYFYAJA.mjs.map} +0 -0
  267. /package/out/__chunks__/{chunk-RNCF2III.mjs.map → chunk-PMPTCB44.mjs.map} +0 -0
  268. /package/out/__chunks__/{chunk-KQ3I46X7.mjs.map → chunk-RCBOU6TT.mjs.map} +0 -0
  269. /package/out/__chunks__/{chunk-4PV6SFXA.mjs.map → chunk-SVNWQXWC.mjs.map} +0 -0
  270. /package/out/__chunks__/{chunk-U5GPHLUX.mjs.map → chunk-TFQFZ5M2.mjs.map} +0 -0
  271. /package/out/__chunks__/{chunk-KJCZ5HAU.mjs.map → chunk-TO3DGAQU.mjs.map} +0 -0
  272. /package/out/__chunks__/{chunk-7YGJXJUC.mjs.map → chunk-WUAYFGWU.mjs.map} +0 -0
  273. /package/out/__chunks__/{chunk-SLLCCPCW.mjs.map → chunk-X7AQOVLN.mjs.map} +0 -0
  274. /package/out/__chunks__/{chunk-NJ73RJ4B.mjs.map → chunk-XCXU3BVP.mjs.map} +0 -0
  275. /package/out/__chunks__/{chunk-FJIH6TWP.mjs.map → chunk-Y2GZNJKO.mjs.map} +0 -0
  276. /package/out/__chunks__/{chunk-WTCFHVW3.mjs.map → chunk-YMME2BFO.mjs.map} +0 -0
  277. /package/out/__chunks__/{chunk-O4J75OI6.mjs.map → chunk-ZGNDECGJ.mjs.map} +0 -0
  278. /package/out/__chunks__/{chunk-SHNEF3SC.mjs.map → chunk-ZIQFQWVJ.mjs.map} +0 -0
  279. /package/out/__chunks__/{chunk-GUG3HFGL.mjs.map → chunk-ZK3OCDKZ.mjs.map} +0 -0
  280. /package/out/__chunks__/{chunk-W2WAVVF5.mjs.map → chunk-ZLBHLHQ3.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/managers/internal/ToastManager/ToastManager.ts", "../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts"],
4
- "sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxToastList } from 'lib/sdkDappUi';\nimport { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast\n} from 'store/actions/toasts/toastsActions';\nimport {\n getIsTransactionFailed,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\n\nimport { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { IEventBus } from 'types/manager.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { createUIElement } from 'utils/createUIElement';\nimport { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ITransactionToast, ToastEventsEnum } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private lifetimeManager: LifetimeManager;\n private isCreatingElement = false;\n private static instance: ToastManager;\n private toastsElement: MvxToastList | null = null;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private storeToastsSubscription: () => void = () => null;\n private notificationsFeedManager: NotificationsFeedManager;\n private eventBusUnsubscribeFunctions: (() => void)[] = [];\n private eventBus: IEventBus<ITransactionToast[] | CustomToastType[]> | null =\n null;\n\n store = getStore();\n\n constructor() {\n this.destroy();\n this.lifetimeManager = new LifetimeManager();\n\n this.notificationsFeedManager = NotificationsFeedManager.getInstance();\n }\n\n public async init({ successfulToastLifetime }: IToastManager = {}) {\n this.successfulToastLifetime = successfulToastLifetime;\n\n this.lifetimeManager.init({ successfulToastLifetime });\n\n this.updateTransactionToastsList();\n this.updateCustomToastList();\n await this.subscribeToEventBusNotifications();\n\n this.storeToastsSubscription = this.store.subscribe(\n (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n this.updateTransactionToastsList();\n }\n\n if (!isEqual(prevToasts.customToasts, toasts.customToasts)) {\n this.updateCustomToastList();\n }\n }\n );\n }\n\n public static getInstance(): ToastManager {\n if (!ToastManager.instance) {\n ToastManager.instance = new ToastManager();\n }\n return ToastManager.instance;\n }\n\n private handleCompletedTransaction(toastId: string): boolean {\n const { transactions } = this.store.getState();\n const transaction = transactions[toastId];\n\n if (!transaction) {\n return false;\n }\n\n const { status } = transaction;\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isFailed || isSuccessful || isTimedOut;\n\n if (isCompleted) {\n if (this.successfulToastLifetime) {\n this.lifetimeManager.start(toastId);\n }\n return isCompleted;\n }\n\n this.lifetimeManager.stop(toastId);\n return isCompleted;\n }\n\n public createTransactionToast(toastId: string, totalDuration: number) {\n addTransactionToast({\n toastId,\n totalDuration\n });\n\n this.handleCompletedTransaction(toastId);\n this.updateTransactionToastsList();\n }\n\n private async updateTransactionToastsList() {\n const {\n toasts: toastList,\n transactions: transactionsSessions,\n account\n } = this.store.getState();\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n toastList,\n transactionsSessions,\n account\n });\n\n this.transactionToasts = [\n ...pendingTransactionToasts,\n ...completedTransactionToasts\n ];\n\n for (const toast of toastList.transactionToasts) {\n this.handleCompletedTransaction(toast.toastId);\n }\n\n await this.publishTransactionToasts();\n }\n\n private async updateCustomToastList() {\n const { toasts: toastList } = this.store.getState();\n this.customToasts = [];\n\n for (const toast of toastList.customToasts) {\n const isSimpleToast = 'message' in toast;\n\n const newToast: CustomToastType = isSimpleToast\n ? { ...toast }\n : {\n ...toast,\n instantiateToastElement:\n customToastComponentDictionary[toast.toastId]\n };\n this.customToasts.push(newToast);\n\n if (toast.duration) {\n this.lifetimeManager.startWithCustomDuration(\n toast.toastId,\n toast.duration\n );\n }\n }\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n this.customToasts\n );\n }\n\n private async createToastListElement(): Promise<MvxToastList | null> {\n if (this.toastsElement) {\n return this.toastsElement;\n }\n\n if (!this.isCreatingElement) {\n this.isCreatingElement = true;\n\n this.toastsElement = await createUIElement<MvxToastList>({\n name: UITagsEnum.TOAST_LIST\n });\n\n this.isCreatingElement = false;\n }\n\n return this.toastsElement;\n }\n\n private handleTransactionToastClose(toastId: string) {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n }\n }\n\n private async subscribeToEventBusNotifications() {\n const toastsElement = await this.createToastListElement();\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n this.eventBus.subscribe(\n ToastEventsEnum.CLOSE,\n this.handleCloseToast.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.CLOSE,\n this.handleCloseToast.bind(this)\n );\n });\n\n this.eventBus.subscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n });\n }\n\n public showToasts() {\n this.updateCustomToastList();\n this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.transactionToasts = [];\n this.customToasts = [];\n this.eventBus?.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n this.customToasts\n );\n }\n\n private async handleOpenNotificationsFeed() {\n this.notificationsFeedManager.openNotificationsFeed();\n }\n\n private handleCloseToast(toastId: string) {\n const customToast = this.customToasts.find(\n (toast) => toast.toastId === toastId\n );\n\n if (customToast) {\n this.lifetimeManager.stop(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n removeCustomToast(toastId);\n return;\n }\n\n this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n if (this.notificationsFeedManager.isNotificationsFeedOpen()) {\n return;\n }\n\n if (!this.eventBus) {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n }\n\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n }\n\n public destroy() {\n this.storeToastsSubscription();\n this.lifetimeManager?.destroy();\n this.notificationsFeedManager?.destroy();\n removeAllCustomToasts();\n this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());\n this.eventBusUnsubscribeFunctions = [];\n }\n}\n", "import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { TransactionsHistoryController } from 'controllers/TransactionsHistoryController';\nimport { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';\nimport { clearCompletedTransactions } from 'store/actions/transactions/transactionsActions';\nimport { getStore } from 'store/store';\nimport { NotificationsFeedEventsEnum } from './types';\nimport { ToastManager } from '../internal';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { createToastsFromTransactions } from '../internal/ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../internal/ToastManager/types';\n\ninterface INotificationsFeedManagerData {\n pendingTransactions: ITransactionToast[];\n historicTransactions: ITransactionListItem[];\n}\n\nconst NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';\n\nexport class NotificationsFeedManager extends SidePanelBaseManager<\n MvxNotificationsFeed,\n INotificationsFeedManagerData,\n NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE\n> {\n private static instance: NotificationsFeedManager;\n private store = getStore();\n\n protected initialData: INotificationsFeedManagerData = {\n pendingTransactions: [],\n historicTransactions: []\n };\n\n public static getInstance(): NotificationsFeedManager {\n if (!NotificationsFeedManager.instance) {\n NotificationsFeedManager.instance = new NotificationsFeedManager();\n }\n return NotificationsFeedManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n // open Notifications feed and toggeling ToastManager\n public async openNotificationsFeed() {\n const toastManager = ToastManager.getInstance();\n toastManager.hideToasts();\n await this.openUI();\n await this.updateDataAndNotifications();\n\n const storeToastsUnsubscribe = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n await this.updateDataAndNotifications();\n }\n }\n );\n this.unsubscribeFunctions.set(NOTIFICATIONS_FEED_STORE_SUBSCRIBE, [\n storeToastsUnsubscribe\n ]);\n\n this.eventBus?.publish(NotificationsFeedEventsEnum.OPEN);\n await this.updateDataAndNotifications();\n }\n\n // closing Notifications feed and toggeling ToastManager\n protected handleCloseUI() {\n const toastManager = ToastManager.getInstance();\n this.closeUI();\n toastManager.showToasts();\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLOSE,\n this.handleCloseUI.bind(this)\n );\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLEAR,\n this.handleClearNotificationsFeedHistory.bind(this)\n );\n }\n\n protected async updateDataAndNotifications() {\n const { transactions, account, toasts, network } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions({\n toastList: toasts,\n transactionsSessions: transactions,\n account\n });\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions: transactions,\n address: account.address,\n explorerAddress: network.network.explorerAddress,\n egldLabel: network.network.egldLabel\n });\n\n await this.updateNotificationsFeed();\n }\n\n private handleClearNotificationsFeedHistory() {\n clearCompletedTransactions();\n this.resetData();\n this.updateNotificationsFeed();\n }\n\n private async updateNotificationsFeed() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,\n this.data.pendingTransactions\n );\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,\n this.data.historicTransactions\n );\n }\n}\n"],
5
- "mappings": "kaAAA,OAAOA,MAAa,iBCApB,OAAOC,MAAa,iBAiBpB,IAAMC,EAAqC,qCAE9BC,EAAN,MAAMC,UAAiCC,CAI5C,CAgBA,aAAc,CACZ,MAAM,CACJ,4CACA,8BACF,CAAC,EAlBH,KAAQ,MAAQC,EAAS,EAEzB,KAAU,YAA6C,CACrD,oBAAqB,CAAC,EACtB,qBAAsB,CAAC,CACzB,EAcE,KAAK,KAAO,CAAE,GAAG,KAAK,WAAY,CACpC,CAbA,OAAc,aAAwC,CACpD,OAAKF,EAAyB,WAC5BA,EAAyB,SAAW,IAAIA,GAEnCA,EAAyB,QAClC,CAUO,yBAAmC,CACxC,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,EAAgB,MAAM,KAAK,uBAAuB,EAExD,GAAI,CAACA,EACH,OAGF,KAAK,SAAW,MAAMA,EAAc,YAAY,CAClD,CAEA,KAAK,SAAS,wCAEZ,KAAK,iBACP,EACF,CAEO,SAAU,CACf,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,QAAQ,EAC9B,KAAK,0BAA0B,QAAQ,EACvCI,EAAsB,EACtB,KAAK,6BAA6B,QAASC,GAAgBA,EAAY,CAAC,EACxE,KAAK,6BAA+B,CAAC,CACvC,CACF",
4
+ "sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxToastList } from 'lib/sdkDappUi';\nimport { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast\n} from 'store/actions/toasts/toastsActions';\nimport {\n getIsTransactionFailed,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\n\nimport { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { IEventBus } from 'types/manager.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { createUIElement } from 'utils/createUIElement';\nimport { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ITransactionToast, ToastEventsEnum } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private lifetimeManager: LifetimeManager;\n private isCreatingElement = false;\n private static instance: ToastManager;\n private toastsElement: MvxToastList | null = null;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private storeToastsSubscription: () => void = () => null;\n private notificationsFeedManager: NotificationsFeedManager;\n private eventBusUnsubscribeFunctions: (() => void)[] = [];\n private eventBus: IEventBus<ITransactionToast[] | CustomToastType[]> | null =\n null;\n\n store = getStore();\n\n constructor() {\n this.destroy();\n this.lifetimeManager = new LifetimeManager();\n\n this.notificationsFeedManager = NotificationsFeedManager.getInstance();\n }\n\n public async init({ successfulToastLifetime }: IToastManager = {}) {\n this.successfulToastLifetime = successfulToastLifetime;\n\n this.lifetimeManager.init({ successfulToastLifetime });\n\n this.updateTransactionToastsList();\n this.updateCustomToastList();\n await this.subscribeToEventBusNotifications();\n\n this.storeToastsSubscription = this.store.subscribe(\n (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n this.updateTransactionToastsList();\n }\n\n if (!isEqual(prevToasts.customToasts, toasts.customToasts)) {\n this.updateCustomToastList();\n }\n }\n );\n }\n\n public static getInstance(): ToastManager {\n if (!ToastManager.instance) {\n ToastManager.instance = new ToastManager();\n }\n return ToastManager.instance;\n }\n\n private handleCompletedTransaction(toastId: string): boolean {\n const { transactions } = this.store.getState();\n const transaction = transactions[toastId];\n\n if (!transaction) {\n return false;\n }\n\n const { status } = transaction;\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isFailed || isSuccessful || isTimedOut;\n\n if (isCompleted) {\n if (this.successfulToastLifetime) {\n this.lifetimeManager.start(toastId);\n }\n return isCompleted;\n }\n\n this.lifetimeManager.stop(toastId);\n return isCompleted;\n }\n\n public createTransactionToast(toastId: string, totalDuration: number) {\n addTransactionToast({\n toastId,\n totalDuration\n });\n\n this.handleCompletedTransaction(toastId);\n this.updateTransactionToastsList();\n }\n\n private async updateTransactionToastsList() {\n const {\n toasts: toastList,\n transactions: transactionsSessions,\n account\n } = this.store.getState();\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n toastList,\n transactionsSessions,\n account\n });\n\n this.transactionToasts = [\n ...pendingTransactionToasts,\n ...completedTransactionToasts\n ];\n\n for (const toast of toastList.transactionToasts) {\n this.handleCompletedTransaction(toast.toastId);\n }\n\n await this.publishTransactionToasts();\n }\n\n private async updateCustomToastList() {\n const { toasts: toastList } = this.store.getState();\n this.customToasts = [];\n\n for (const toast of toastList.customToasts) {\n const isSimpleToast = 'message' in toast;\n\n const newToast: CustomToastType = isSimpleToast\n ? { ...toast }\n : {\n ...toast,\n instantiateToastElement:\n customToastComponentDictionary[toast.toastId]\n };\n this.customToasts.push(newToast);\n\n if (toast.duration) {\n this.lifetimeManager.startWithCustomDuration(\n toast.toastId,\n toast.duration\n );\n }\n }\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n this.customToasts\n );\n }\n\n private async createToastListElement(): Promise<MvxToastList | null> {\n if (this.toastsElement) {\n return this.toastsElement;\n }\n\n if (!this.isCreatingElement) {\n this.isCreatingElement = true;\n\n this.toastsElement = await createUIElement<MvxToastList>({\n name: UITagsEnum.TOAST_LIST\n });\n\n this.isCreatingElement = false;\n }\n\n return this.toastsElement;\n }\n\n private handleTransactionToastClose(toastId: string) {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n }\n }\n\n private async subscribeToEventBusNotifications() {\n const toastsElement = await this.createToastListElement();\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n this.eventBus.subscribe(\n ToastEventsEnum.CLOSE,\n this.handleCloseToast.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.CLOSE,\n this.handleCloseToast.bind(this)\n );\n });\n\n this.eventBus.subscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n });\n }\n\n public showToasts() {\n this.updateCustomToastList();\n this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.transactionToasts = [];\n this.customToasts = [];\n this.eventBus?.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n this.customToasts\n );\n }\n\n private async handleOpenNotificationsFeed() {\n this.notificationsFeedManager.openNotificationsFeed();\n }\n\n private handleCloseToast(toastId: string) {\n const customToast = this.customToasts.find(\n (toast) => toast.toastId === toastId\n );\n\n if (customToast) {\n this.lifetimeManager.stop(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n removeCustomToast(toastId);\n return;\n }\n\n this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n if (this.notificationsFeedManager.isNotificationsFeedOpen()) {\n return;\n }\n\n if (!this.eventBus) {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n }\n\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n }\n\n public destroy() {\n this.storeToastsSubscription();\n this.lifetimeManager?.destroy();\n this.notificationsFeedManager?.destroy();\n removeAllCustomToasts();\n this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());\n this.eventBusUnsubscribeFunctions = [];\n }\n}\n", "import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { TransactionsHistoryController } from 'controllers/TransactionsHistoryController';\nimport { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';\nimport { clearCompletedTransactions } from 'store/actions/transactions/transactionsActions';\nimport { getStore } from 'store/store';\nimport { NotificationsFeedEventsEnum } from './types';\nimport { ToastManager } from '../internal';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { createToastsFromTransactions } from '../internal/ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../internal/ToastManager/types';\n\ninterface INotificationsFeedManagerData {\n pendingTransactions: ITransactionToast[];\n historicTransactions: ITransactionListItem[];\n}\n\nconst NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';\n\nexport class NotificationsFeedManager extends SidePanelBaseManager<\n MvxNotificationsFeed,\n INotificationsFeedManagerData,\n NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE\n> {\n private static instance: NotificationsFeedManager;\n private readonly store = getStore();\n\n protected initialData: INotificationsFeedManagerData = {\n pendingTransactions: [],\n historicTransactions: []\n };\n\n public static getInstance(): NotificationsFeedManager {\n if (!NotificationsFeedManager.instance) {\n NotificationsFeedManager.instance = new NotificationsFeedManager();\n }\n return NotificationsFeedManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n // open Notifications feed and toggeling ToastManager\n public async openNotificationsFeed() {\n const toastManager = ToastManager.getInstance();\n toastManager.hideToasts();\n await this.openUI();\n await this.updateDataAndNotifications();\n\n const storeToastsUnsubscribe = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n await this.updateDataAndNotifications();\n }\n }\n );\n this.unsubscribeFunctions.set(NOTIFICATIONS_FEED_STORE_SUBSCRIBE, [\n storeToastsUnsubscribe\n ]);\n\n this.eventBus?.publish(NotificationsFeedEventsEnum.OPEN);\n await this.updateDataAndNotifications();\n }\n\n // closing Notifications feed and toggeling ToastManager\n protected handleCloseUI() {\n const toastManager = ToastManager.getInstance();\n this.closeUI();\n toastManager.showToasts();\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLOSE,\n this.handleCloseUI.bind(this)\n );\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLEAR,\n this.handleClearNotificationsFeedHistory.bind(this)\n );\n }\n\n protected async updateDataAndNotifications() {\n const { transactions, account, toasts, network } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions({\n toastList: toasts,\n transactionsSessions: transactions,\n account\n });\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions: transactions,\n address: account.address,\n explorerAddress: network.network.explorerAddress,\n egldLabel: network.network.egldLabel\n });\n\n await this.updateNotificationsFeed();\n }\n\n private handleClearNotificationsFeedHistory() {\n clearCompletedTransactions();\n this.resetData();\n this.updateNotificationsFeed();\n }\n\n private async updateNotificationsFeed() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,\n this.data.pendingTransactions\n );\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,\n this.data.historicTransactions\n );\n }\n}\n"],
5
+ "mappings": "kaAAA,OAAOA,MAAa,iBCApB,OAAOC,MAAa,iBAiBpB,IAAMC,EAAqC,qCAE9BC,EAAN,MAAMC,UAAiCC,CAI5C,CAgBA,aAAc,CACZ,MAAM,CACJ,4CACA,8BACF,CAAC,EAlBH,KAAiB,MAAQC,EAAS,EAElC,KAAU,YAA6C,CACrD,oBAAqB,CAAC,EACtB,qBAAsB,CAAC,CACzB,EAcE,KAAK,KAAO,CAAE,GAAG,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KAAK,4BAA4BA,CAAO,CAC1C,CAEA,MAAc,0BAA2B,CACvC,GAAI,MAAK,yBAAyB,wBAAwB,EAI1D,IAAI,CAAC,KAAK,SAAU,CAClB,IAAMuB,EAAgB,MAAM,KAAK,uBAAuB,EAExD,GAAI,CAACA,EACH,OAGF,KAAK,SAAW,MAAMA,EAAc,YAAY,CAClD,CAEA,KAAK,SAAS,wCAEZ,KAAK,iBACP,EACF,CAEO,SAAU,CACf,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,QAAQ,EAC9B,KAAK,0BAA0B,QAAQ,EACvCI,EAAsB,EACtB,KAAK,6BAA6B,QAASC,GAAgBA,EAAY,CAAC,EACxE,KAAK,6BAA+B,CAAC,CACvC,CACF",
6
6
  "names": ["isEqual", "isEqual", "NOTIFICATIONS_FEED_STORE_SUBSCRIBE", "NotificationsFeedManager", "_NotificationsFeedManager", "SidePanelBaseManager", "getStore", "ToastManager", "storeToastsUnsubscribe", "toasts", "transactions", "prevToasts", "prevTransactions", "isEqual", "toastManager", "account", "network", "pendingTransactionToasts", "createToastsFromTransactions", "TransactionsHistoryController", "clearCompletedTransactions", "ToastManager", "_ToastManager", "getStore", "LifetimeManager", "NotificationsFeedManager", "successfulToastLifetime", "toasts", "transactions", "prevToasts", "prevTransactions", "isEqual", "toastId", "transaction", "status", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "totalDuration", "addTransactionToast", "toastList", "transactionsSessions", "account", "pendingTransactionToasts", "completedTransactionToasts", "createToastsFromTransactions", "toast", "newToast", "customToastComponentDictionary", "createUIElement", "removeTransactionToast", "toastsElement", "handleClose", "customToastCloseHandlersDictionary", "removeCustomToast", "removeAllCustomToasts", "unsubscribe"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as f}from"./chunk-FRDR4A7Z.mjs";import{a as g}from"./chunk-BQL3NILA.mjs";import{p as c}from"./chunk-7JA77EJQ.mjs";import{u as n}from"./chunk-CN4RHVUE.mjs";import{g as a}from"./chunk-LTF535HP.mjs";import{e as l}from"./chunk-VNLGNNIL.mjs";import{HWProvider as m}from"@multiversx/sdk-hw-provider";async function A(u){let v=g(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=c(),i=new m,I=async()=>{let e=o?.index!=null;if(r instanceof m&&r.isInitialized())return e&&await r.setAddressIndex(o.index),r;if(d&&!await i.init())throw new Error("Failed to initialize Ledger Provider");return e&&await i.setAddressIndex(o.index),i};try{if(!d&&t)return{ledgerProvider:i,ledgerConfig:{version:t.version,dataEnabled:t.hasContractDataEnabled}};let e=await I(),s=await f(e);return{ledgerProvider:e,ledgerConfig:s}}catch(e){throw console.error("Could not initialize ledger app",e),e}}export{A as a};
2
- //# sourceMappingURL=chunk-FJIH6TWP.mjs.map
1
+ import{a as f}from"./chunk-FRDR4A7Z.mjs";import{a as g}from"./chunk-BQL3NILA.mjs";import{p as c}from"./chunk-57KVKSEC.mjs";import{u as n}from"./chunk-CN4RHVUE.mjs";import{g as a}from"./chunk-LTF535HP.mjs";import{e as l}from"./chunk-VNLGNNIL.mjs";import{HWProvider as m}from"@multiversx/sdk-hw-provider";async function A(u){let v=g(),d=u?.shouldInitProvider||!v,o=l(n()),t=a(n()),r=c(),i=new m,I=async()=>{let e=o?.index!=null;if(r instanceof m&&r.isInitialized())return e&&await r.setAddressIndex(o.index),r;if(d&&!await i.init())throw new Error("Failed to initialize Ledger Provider");return e&&await i.setAddressIndex(o.index),i};try{if(!d&&t)return{ledgerProvider:i,ledgerConfig:{version:t.version,dataEnabled:t.hasContractDataEnabled}};let e=await I(),s=await f(e);return{ledgerProvider:e,ledgerConfig:s}}catch(e){throw console.error("Could not initialize ledger app",e),e}}export{A as a};
2
+ //# sourceMappingURL=chunk-Y2GZNJKO.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-7TOTBAGV.mjs";import{a as e}from"./chunk-7QCBLUWB.mjs";var E=async({name:t,anchor:o})=>{if(await m(e),!e.document)return{};let n=e.document.createElement(t);return(o||e.document.body).appendChild(n),await customElements.whenDefined(t),n};export{E as a};
2
- //# sourceMappingURL=chunk-WTCFHVW3.mjs.map
1
+ import{a as m}from"./chunk-VMFJUT3G.mjs";import{a as e}from"./chunk-7QCBLUWB.mjs";var E=async({name:t,anchor:o})=>{if(await m(e),!e.document)return{};let n=e.document.createElement(t);return(o||e.document.body).appendChild(n),await customElements.whenDefined(t),n};export{E as a};
2
+ //# sourceMappingURL=chunk-YMME2BFO.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk-TO3DGAQU.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}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-YRHMGKLM.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/internal/WalletConnectStateManager/WalletConnectStateManager.ts"],
4
+ "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxWalletConnect } from 'lib/sdkDappUi';\nimport { UnlockPanelEventsEnum } from 'managers/UnlockPanelManager/UnlockPanelManager.types';\nimport {\n WalletConnectEventsEnum,\n IWalletConnectModalData\n} from 'providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types';\nimport { UIBaseManager } from '../UIBaseManager/UIBaseManager';\n\nexport class WalletConnectStateManager extends UIBaseManager<\n MvxWalletConnect,\n IWalletConnectModalData,\n WalletConnectEventsEnum\n> {\n private static instance: WalletConnectStateManager;\n\n protected initialData: IWalletConnectModalData = {\n wcURI: ''\n };\n\n public static getInstance(): WalletConnectStateManager {\n if (!WalletConnectStateManager.instance) {\n WalletConnectStateManager.instance = new WalletConnectStateManager();\n }\n return WalletConnectStateManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: WalletConnectEventsEnum.DATA_UPDATE,\n uiTag: UITagsEnum.WALLET_CONNECT\n });\n this.data = { ...this.initialData };\n }\n\n public handleClose(options?: { isLoginFinished?: boolean }) {\n if (options?.isLoginFinished) {\n return;\n }\n\n if (this.anchor) {\n this.anchor.dispatchEvent(\n new CustomEvent(UnlockPanelEventsEnum.ANCHOR_CLOSE, {\n composed: false,\n bubbles: false\n })\n );\n } else {\n this.destroy();\n }\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.CLOSE,\n this.handleClose.bind(this)\n );\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.UI_DISCONNECTED,\n this.destroy.bind(this)\n );\n }\n}\n"],
5
+ "mappings": "yCASO,IAAMA,EAAN,MAAMC,UAAkCC,CAI7C,CAcA,aAAc,CACZ,MAAM,CACJ,gCACA,0BACF,CAAC,EAfH,KAAU,YAAuC,CAC/C,MAAO,EACT,EAcE,KAAK,KAAO,CAAE,GAAG,KAAK,WAAY,CACpC,CAbA,OAAc,aAAyC,CACrD,OAAKD,EAA0B,WAC7BA,EAA0B,SAAW,IAAIA,GAEpCA,EAA0B,QACnC,CAUO,YAAYE,EAAyC,CACtDA,GAAS,kBAIT,KAAK,OACP,KAAK,OAAO,cACV,IAAI,2BAAgD,CAClD,SAAU,GACV,QAAS,EACX,CAAC,CACH,EAEA,KAAK,QAAQ,EAEjB,CAEA,MAAgB,qBAAsB,CAC/B,KAAK,WAIV,KAAK,SAAS,kBAEZ,KAAK,YAAY,KAAK,IAAI,CAC5B,EAEA,KAAK,SAAS,4BAEZ,KAAK,QAAQ,KAAK,IAAI,CACxB,EACF,CACF",
6
+ "names": ["WalletConnectStateManager", "_WalletConnectStateManager", "UIBaseManager", "options"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as x}from"./chunk-YQTGKHGB.mjs";import{a as O}from"./chunk-7YGJXJUC.mjs";import{a as k}from"./chunk-YVVDA6LN.mjs";import{a as b}from"./chunk-PV5A7PX4.mjs";import{a as G}from"./chunk-QXC4D3AC.mjs";import{a as B}from"./chunk-ZMEIT65B.mjs";import{a as D}from"./chunk-AL42X4Q3.mjs";import{a as I}from"./chunk-PDT22D2C.mjs";import{a as A}from"./chunk-MCZUQPRA.mjs";import{a as v}from"./chunk-LD4NALNZ.mjs";import{u as F}from"./chunk-CN4RHVUE.mjs";import{b as U}from"./chunk-SAAOQW7P.mjs";import{a as w}from"./chunk-2CNSQULM.mjs";import{c as N}from"./chunk-MGFIOCA4.mjs";async function Sn({transactions:j=[],handleSign:R,guardTransactions:_=v}){let{account:{address:y,shard:E,username:h}}=x(),u=U(F()),C=k(),{allTransactions:e,parsedTransactionsByDataField:L}=B(j),m=[],n=O.getInstance();if(await n.openUI(),!n)throw new Error("Unable to establish connection with sign screens");let z=async()=>{await b(),n.closeUI()};return n.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",z),new Promise(async(H,M)=>{let d=[],K=await G({baseURL:u.apiAddress});n.notifyDataUpdate(),n.initializeGasPriceMap(e.map(t=>t.transaction));let l=K?.price,a=0,T=async()=>{let r=e[a]?.transaction,c=Number(r.nonce);n.updateIsLoading(!0);let{commonData:i,tokenTransaction:o,fungibleTransaction:s}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:u,gasPriceData:n.ppuMap[c],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:L});n.updateIsLoading(!1),o&&n.updateTokenTransaction(o),s&&n.updateNonFungibleTransaction(s.type,s),n.updateCommonData(i)},W=()=>{a>0&&(a--,T())},X=(t=0)=>{let c=e[a].transaction,i=Number(c.nonce);n.updateGasPriceMap({nonce:i,ppu:t}),n.updateCommonData({ppu:t});let o=c.toPlainObject(),s=I({transaction:o,gasPriceData:n.ppuMap[i]}),P=w.newFromPlainObject({...o,gasPrice:s}),p=A({transaction:P,price:l});n.updateCommonData({feeLimit:p.feeLimitFormatted,feeInFiatLimit:p.feeInFiatLimit,gasPrice:s.toString(),ppu:t})},Y=async()=>{M(new Error("Transaction signing cancelled by user")),await b(),n.closeUI()},f=()=>{a<n.transactionsCount-1&&(a++,T())},q=async()=>{let r=e[a].transaction,c=Number(r.nonce),{commonData:i}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:u,gasPriceData:n.ppuMap[c],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:L});if(!i.needsSigning)return m.push(a),f();let o=r.toPlainObject(),s=o.nonce,P=I({transaction:o,gasPriceData:n.ppuMap[s]}),p=w.newFromPlainObject({...o,gasPrice:P});try{let g=await R([p]);g&&(m.push(a),d.push(g[0]));let V=a===e.length-1,Z=e.filter(S=>S.needsSigning),$=d.length===Z.length;if(V&&$){let S=await _(d);return n.closeUI(),H(S)}f()}catch(g){n.closeUI(),M(g)}},J=new Map([["NEXT_SIGN_TRANSACTIONS",f],["CONFIRM_SIGN_TRANSACTIONS",q],["CLOSE_SIGN_TRANSACTIONS",Y],["BACK_SIGN_TRANSACTIONS",W],["SET_PPU_SIGN_TRANSACTIONS",X]]);function Q(){for(let[t,r]of J)n.subscribeToEventBus(t,r)}Q(),await T()})}export{Sn as a};
2
- //# sourceMappingURL=chunk-O4J75OI6.mjs.map
1
+ import{a as O}from"./chunk-WUAYFGWU.mjs";import{a as x}from"./chunk-YQTGKHGB.mjs";import{a as k}from"./chunk-IOKDBFGH.mjs";import{a as b}from"./chunk-5KRDLFR5.mjs";import{a as G}from"./chunk-QXC4D3AC.mjs";import{a as B}from"./chunk-ZMEIT65B.mjs";import{a as D}from"./chunk-BJRGP56G.mjs";import{a as I}from"./chunk-PDT22D2C.mjs";import{a as A}from"./chunk-MCZUQPRA.mjs";import{a as v}from"./chunk-LD4NALNZ.mjs";import{u as F}from"./chunk-CN4RHVUE.mjs";import{b as U}from"./chunk-SAAOQW7P.mjs";import{a as w}from"./chunk-2CNSQULM.mjs";import{c as N}from"./chunk-MGFIOCA4.mjs";async function Sn({transactions:j=[],handleSign:R,guardTransactions:_=v}){let{account:{address:y,shard:E,username:h}}=x(),u=U(F()),C=k(),{allTransactions:e,parsedTransactionsByDataField:L}=B(j),m=[],n=O.getInstance();if(await n.openUI(),!n)throw new Error("Unable to establish connection with sign screens");let z=async()=>{await b(),n.closeUI()};return n.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",z),new Promise(async(H,M)=>{let d=[],K=await G({baseURL:u.apiAddress});n.notifyDataUpdate(),n.initializeGasPriceMap(e.map(t=>t.transaction));let l=K?.price,a=0,T=async()=>{let r=e[a]?.transaction,c=Number(r.nonce);n.updateIsLoading(!0);let{commonData:i,tokenTransaction:o,fungibleTransaction:s}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:u,gasPriceData:n.ppuMap[c],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:L});n.updateIsLoading(!1),o&&n.updateTokenTransaction(o),s&&n.updateNonFungibleTransaction(s.type,s),n.updateCommonData(i)},W=()=>{a>0&&(a--,T())},X=(t=0)=>{let c=e[a].transaction,i=Number(c.nonce);n.updateGasPriceMap({nonce:i,ppu:t}),n.updateCommonData({ppu:t});let o=c.toPlainObject(),s=I({transaction:o,gasPriceData:n.ppuMap[i]}),P=w.newFromPlainObject({...o,gasPrice:s}),p=A({transaction:P,price:l});n.updateCommonData({feeLimit:p.feeLimitFormatted,feeInFiatLimit:p.feeInFiatLimit,gasPrice:s.toString(),ppu:t})},Y=async()=>{M(new Error("Transaction signing cancelled by user")),await b(),n.closeUI()},f=()=>{a<n.transactionsCount-1&&(a++,T())},q=async()=>{let r=e[a].transaction,c=Number(r.nonce),{commonData:i}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:u,gasPriceData:n.ppuMap[c],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:L});if(!i.needsSigning)return m.push(a),f();let o=r.toPlainObject(),s=o.nonce,P=I({transaction:o,gasPriceData:n.ppuMap[s]}),p=w.newFromPlainObject({...o,gasPrice:P});try{let g=await R([p]);g&&(m.push(a),d.push(g[0]));let V=a===e.length-1,Z=e.filter(S=>S.needsSigning),$=d.length===Z.length;if(V&&$){let S=await _(d);return n.closeUI(),H(S)}f()}catch(g){n.closeUI(),M(g)}},J=new Map([["NEXT_SIGN_TRANSACTIONS",f],["CONFIRM_SIGN_TRANSACTIONS",q],["CLOSE_SIGN_TRANSACTIONS",Y],["BACK_SIGN_TRANSACTIONS",W],["SET_PPU_SIGN_TRANSACTIONS",X]]);function Q(){for(let[t,r]of J)n.subscribeToEventBus(t,r)}Q(),await T()})}export{Sn as a};
2
+ //# sourceMappingURL=chunk-ZGNDECGJ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-DZ3UVNJK.mjs";import{a as n}from"./chunk-TOGPOKIP.mjs";import{a as h}from"./chunk-ZC3TMTLB.mjs";import{a as p}from"./chunk-OYZFSQEK.mjs";import{a as c}from"./chunk-FJIH6TWP.mjs";import{a as d}from"./chunk-VLHG5NVE.mjs";import{a as g}from"./chunk-BQL3NILA.mjs";import{a as m}from"./chunk-O4J75OI6.mjs";import{i as o}from"./chunk-7JA77EJQ.mjs";import{g as t}from"./chunk-QD3CFFVT.mjs";import{a}from"./chunk-7TOTBAGV.mjs";import{a as s}from"./chunk-7QCBLUWB.mjs";var v=class extends d{constructor(i){super(i);this.provider=null;this.config=null;this._signTransactions=null;this._signMessage=null;this.createProvider=async i=>{this.initialize(),await a(s),await this.initLegderConnectManager(i?.anchor);let r=n.getInstance(),{ledgerProvider:e,ledgerConfig:u}=await new Promise((f,T)=>p({manager:r,resolve:f,reject:T,shouldInitProvider:i?.shouldInitProvider}));return this.config=u,this.provider=e,this._login=this.ledgerLogin.bind(this),this._signTransactions=e.signTransactions.bind(e),this._signMessage=e.signMessage.bind(e),this.buildProvider()};this.buildProvider=async()=>{if(!this.provider)throw new Error("Provider is not initialized.");let i=this.provider;return i.setAccount({address:this.address}),i.signTransactions=this.signTransactions,i.signMessage=this.signMessage,i.login=this.login.bind(this),i.cancelLogin=this.cancelLogin,i};this.ledgerLogin=async i=>{if(!this.provider)throw new Error("Provider is not initialized.");if(!i||typeof i.addressIndex!="number")throw new Error("Missing addressIndex for Ledger login");let{address:r,signature:e}=await this.provider.login({addressIndex:i.addressIndex});return{address:r,signature:e??""}};this.loginOperation=async i=>{if(!this.provider)throw new Error("Provider is not initialized.");return await l({options:i,config:this.config,provider:this.provider,login:this.ledgerLogin.bind(this)})};this.initLegderConnectManager=async i=>{if(!!g())return;await n.getInstance().init(i)};this.signTransactions=async i=>{if(!this._signTransactions)throw new Error("Sign transactions method is not initialized.");return await this.rebuildProvider(),await m({transactions:i,handleSign:this._signTransactions.bind(this.provider)})};this.signMessage=async i=>{if(!this.provider||!this._signMessage)throw new Error("Provider is not initialized.");return await this.rebuildProvider(),await h({message:i,handleSignMessage:this._signMessage.bind(this.provider)})};this.rebuildProvider=async()=>{try{await this.provider?.getAddress()}catch{try{let{ledgerProvider:r}=await c({shouldInitProvider:!0});this.provider=r,this._signTransactions=r.signTransactions.bind(r),this._signMessage=r.signMessage.bind(r)}catch(r){throw o({toastId:"ledger-provider-rebuild-error",duration:1e4,icon:"times",iconClassName:"warning",message:"Unlock your device & open the MultiversX App",title:"Ledger unavailable"}),r}}}}};export{v as a};
2
- //# sourceMappingURL=chunk-SHNEF3SC.mjs.map
1
+ import{a as l}from"./chunk-DHSATBNM.mjs";import{a as n}from"./chunk-MHCIV2K5.mjs";import{a as h}from"./chunk-LRKA4F33.mjs";import{a as p}from"./chunk-D4MNCAND.mjs";import{a as c}from"./chunk-Y2GZNJKO.mjs";import{a as d}from"./chunk-VLHG5NVE.mjs";import{a as g}from"./chunk-BQL3NILA.mjs";import{a as m}from"./chunk-ZGNDECGJ.mjs";import{i as o}from"./chunk-57KVKSEC.mjs";import{g as t}from"./chunk-QD3CFFVT.mjs";import{a}from"./chunk-VMFJUT3G.mjs";import{a as s}from"./chunk-7QCBLUWB.mjs";var v=class extends d{constructor(i){super(i);this.provider=null;this.config=null;this._signTransactions=null;this._signMessage=null;this.createProvider=async i=>{this.initialize(),await a(s),await this.initLegderConnectManager(i?.anchor);let r=n.getInstance(),{ledgerProvider:e,ledgerConfig:u}=await new Promise((f,T)=>p({manager:r,resolve:f,reject:T,shouldInitProvider:i?.shouldInitProvider}));return this.config=u,this.provider=e,this._login=this.ledgerLogin.bind(this),this._signTransactions=e.signTransactions.bind(e),this._signMessage=e.signMessage.bind(e),this.buildProvider()};this.buildProvider=async()=>{if(!this.provider)throw new Error("Provider is not initialized.");let i=this.provider;return i.setAccount({address:this.address}),i.signTransactions=this.signTransactions,i.signMessage=this.signMessage,i.login=this.login.bind(this),i.cancelLogin=this.cancelLogin,i};this.ledgerLogin=async i=>{if(!this.provider)throw new Error("Provider is not initialized.");if(!i||typeof i.addressIndex!="number")throw new Error("Missing addressIndex for Ledger login");let{address:r,signature:e}=await this.provider.login({addressIndex:i.addressIndex});return{address:r,signature:e??""}};this.loginOperation=async i=>{if(!this.provider)throw new Error("Provider is not initialized.");return await l({options:i,config:this.config,provider:this.provider,login:this.ledgerLogin.bind(this)})};this.initLegderConnectManager=async i=>{if(!!g())return;await n.getInstance().init(i)};this.signTransactions=async i=>{if(!this._signTransactions)throw new Error("Sign transactions method is not initialized.");return await this.rebuildProvider(),await m({transactions:i,handleSign:this._signTransactions.bind(this.provider)})};this.signMessage=async i=>{if(!this.provider||!this._signMessage)throw new Error("Provider is not initialized.");return await this.rebuildProvider(),await h({message:i,handleSignMessage:this._signMessage.bind(this.provider)})};this.rebuildProvider=async()=>{try{await this.provider?.getAddress()}catch{try{let{ledgerProvider:r}=await c({shouldInitProvider:!0});this.provider=r,this._signTransactions=r.signTransactions.bind(r),this._signMessage=r.signMessage.bind(r)}catch(r){throw o({toastId:"ledger-provider-rebuild-error",duration:1e4,icon:"times",iconClassName:"warning",message:"Unlock your device & open the MultiversX App",title:"Ledger unavailable"}),r}}}}};export{v as a};
2
+ //# sourceMappingURL=chunk-ZIQFQWVJ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-W2WAVVF5.mjs";import{o as i}from"./chunk-7JA77EJQ.mjs";import{u as e}from"./chunk-CN4RHVUE.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";async function d(){let r=t(e());if(!r)return;let o=await n.create({type:r});if(!o)throw new Error("Provider not found");i(o)}export{d as a};
2
- //# sourceMappingURL=chunk-GUG3HFGL.mjs.map
1
+ import{a as n}from"./chunk-ZLBHLHQ3.mjs";import{o as i}from"./chunk-57KVKSEC.mjs";import{u as e}from"./chunk-CN4RHVUE.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";async function d(){let r=t(e());if(!r)return;let o=await n.create({type:r});if(!o)throw new Error("Provider not found");i(o)}export{d as a};
2
+ //# sourceMappingURL=chunk-ZK3OCDKZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as g}from"./chunk-EFVHT26M.mjs";import{a as y}from"./chunk-OYA4AQFY.mjs";import{a as f}from"./chunk-GUHNF5RM.mjs";import{a as c}from"./chunk-42SCXW2U.mjs";import{a as I}from"./chunk-ARD5PCMI.mjs";import{a as l}from"./chunk-C4CJSICS.mjs";import{a as w}from"./chunk-XG2BS23C.mjs";import{a as u}from"./chunk-SHNEF3SC.mjs";import{n as m,o as n,p as P}from"./chunk-7JA77EJQ.mjs";import{a as p}from"./chunk-6746F2FY.mjs";import{a as s}from"./chunk-CN4RHVUE.mjs";import{IframeLoginTypes as b}from"@multiversx/sdk-web-wallet-iframe-provider/out/constants";var d=class{static set customProviders(t){this._customProviders=t}static get customProviders(){return this._customProviders}static async create({type:t,anchor:o}){let e=null;switch(t){case"extension":{e=await new I().createProvider();break}case"crossWindow":{e=await new l().createProvider();break}case"ledger":{e=await new u().createProvider({anchor:o}),await g.getInstance().init();break}case"metamask":{e=await new c({type:b.metamask}).createProvider();break}case"passkey":{e=await new c({type:b.passkey}).createProvider();break}case"walletConnect":{e=await new w().createProvider({anchor:o});break}case"webview":{e=await new f().createProvider();break}default:{let r=p();for(let a of this._customProviders)a.type===t&&(e=await a.constructor({address:r,anchor:o}));break}}if(!e)throw new Error("Unable to create provider");e.getType=()=>t;let v=new m(e);n(v);let i=t;s(i);let k=["crossWindow","metamask","passkey"].includes(i);return y(k?{skipLoginMethod:i}:null),v}static async destroy(){P().cancelLogin(),n(null),s("")}};d._customProviders=[];export{d as a};
2
- //# sourceMappingURL=chunk-W2WAVVF5.mjs.map
1
+ import{a as g}from"./chunk-G7ZMNJIE.mjs";import{a as y}from"./chunk-OYA4AQFY.mjs";import{a as f}from"./chunk-GUHNF5RM.mjs";import{a as c}from"./chunk-67X3ORNS.mjs";import{a as I}from"./chunk-OSYFYAJA.mjs";import{a as l}from"./chunk-LEVR7744.mjs";import{a as w}from"./chunk-BTDFQCSV.mjs";import{a as u}from"./chunk-ZIQFQWVJ.mjs";import{n as m,o as n,p as P}from"./chunk-57KVKSEC.mjs";import{a as p}from"./chunk-6746F2FY.mjs";import{a as s}from"./chunk-CN4RHVUE.mjs";import{IframeLoginTypes as b}from"@multiversx/sdk-web-wallet-iframe-provider/out/constants";var d=class{static set customProviders(t){this._customProviders=t}static get customProviders(){return this._customProviders}static async create({type:t,anchor:o}){let e=null;switch(t){case"extension":{e=await new I().createProvider();break}case"crossWindow":{e=await new l().createProvider();break}case"ledger":{e=await new u().createProvider({anchor:o}),await g.getInstance().init();break}case"metamask":{e=await new c({type:b.metamask}).createProvider();break}case"passkey":{e=await new c({type:b.passkey}).createProvider();break}case"walletConnect":{e=await new w().createProvider({anchor:o});break}case"webview":{e=await new f().createProvider();break}default:{let r=p();for(let a of this._customProviders)a.type===t&&(e=await a.constructor({address:r,anchor:o}));break}}if(!e)throw new Error("Unable to create provider");e.getType=()=>t;let v=new m(e);n(v);let i=t;s(i);let k=["crossWindow","metamask","passkey"].includes(i);return y(k?{skipLoginMethod:i}:null),v}static async destroy(){P().cancelLogin(),n(null),s("")}};d._customProviders=[];export{d as a};
2
+ //# sourceMappingURL=chunk-ZLBHLHQ3.mjs.map
@@ -1,2 +1,2 @@
1
- import"../../__chunks__/chunk-FO4U4FCJ.mjs";import{a as d}from"../../__chunks__/chunk-FROSOADM.mjs";import{a as b}from"../../__chunks__/chunk-VJBLHJYB.mjs";import{a}from"../../__chunks__/chunk-RRK6GTWZ.mjs";import{a as f}from"../../__chunks__/chunk-IPMSVHGJ.mjs";import{a as e}from"../../__chunks__/chunk-PSJI2G34.mjs";import{a as c}from"../../__chunks__/chunk-2CG6PNPJ.mjs";export{a as account,b as blocks,d as dappConfig,c as networkConfig,e as socketResponse,f as websocketConfig};
1
+ import"../../__chunks__/chunk-FO4U4FCJ.mjs";import{a as f}from"../../__chunks__/chunk-IPMSVHGJ.mjs";import{a as e}from"../../__chunks__/chunk-PSJI2G34.mjs";import{a as c}from"../../__chunks__/chunk-2CG6PNPJ.mjs";import{a as d}from"../../__chunks__/chunk-FROSOADM.mjs";import{a as b}from"../../__chunks__/chunk-VJBLHJYB.mjs";import{a}from"../../__chunks__/chunk-RRK6GTWZ.mjs";export{a as account,b as blocks,d as dappConfig,c as networkConfig,e as socketResponse,f as websocketConfig};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import"../__chunks__/chunk-UD7MOR6P.mjs";import{a as t}from"../__chunks__/chunk-CQ6CH5VM.mjs";import{a as x}from"../__chunks__/chunk-7I2KAV4K.mjs";import{a as f,b as m,c as p}from"../__chunks__/chunk-XU34NXIS.mjs";import"../__chunks__/chunk-RWQNLK3I.mjs";import"../__chunks__/chunk-FO4U4FCJ.mjs";import"../__chunks__/chunk-FROSOADM.mjs";import"../__chunks__/chunk-VJBLHJYB.mjs";import"../__chunks__/chunk-RRK6GTWZ.mjs";import"../__chunks__/chunk-IPMSVHGJ.mjs";import"../__chunks__/chunk-PSJI2G34.mjs";import"../__chunks__/chunk-2CG6PNPJ.mjs";import{a as o,b as r,c as e}from"../__chunks__/chunk-HDRB2QL6.mjs";import"../__chunks__/chunk-CO3V5DOG.mjs";import"../__chunks__/chunk-TVELGQIH.mjs";import"../__chunks__/chunk-2BSPSW6X.mjs";import"../__chunks__/chunk-OOJVPJOX.mjs";import"../__chunks__/chunk-OVXVICF7.mjs";import"../__chunks__/chunk-WZI2I6NX.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{m as mockResponse,x as mockWindowHistory,t as mockWindowLocation,f as rest,p as server,o as testAddress,r as testNetwork,e as testReceiver};
1
+ import{a as f,b as m,c as p}from"../__chunks__/chunk-EOCZROR3.mjs";import"../__chunks__/chunk-FO4U4FCJ.mjs";import"../__chunks__/chunk-IPMSVHGJ.mjs";import"../__chunks__/chunk-PSJI2G34.mjs";import"../__chunks__/chunk-2CG6PNPJ.mjs";import"../__chunks__/chunk-FROSOADM.mjs";import"../__chunks__/chunk-VJBLHJYB.mjs";import"../__chunks__/chunk-RRK6GTWZ.mjs";import{a as o,b as r,c as e}from"../__chunks__/chunk-HDRB2QL6.mjs";import"../__chunks__/chunk-UD7MOR6P.mjs";import{a as t}from"../__chunks__/chunk-CQ6CH5VM.mjs";import{a as x}from"../__chunks__/chunk-7I2KAV4K.mjs";import"../__chunks__/chunk-RWQNLK3I.mjs";import"../__chunks__/chunk-CO3V5DOG.mjs";import"../__chunks__/chunk-TVELGQIH.mjs";import"../__chunks__/chunk-2BSPSW6X.mjs";import"../__chunks__/chunk-OOJVPJOX.mjs";import"../__chunks__/chunk-OVXVICF7.mjs";import"../__chunks__/chunk-WZI2I6NX.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{m as mockResponse,x as mockWindowHistory,t as mockWindowLocation,f as rest,p as server,o as testAddress,r as testNetwork,e as testReceiver};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a,b,c}from"../__chunks__/chunk-XU34NXIS.mjs";import"../__chunks__/chunk-RWQNLK3I.mjs";import"../__chunks__/chunk-FO4U4FCJ.mjs";import"../__chunks__/chunk-FROSOADM.mjs";import"../__chunks__/chunk-VJBLHJYB.mjs";import"../__chunks__/chunk-RRK6GTWZ.mjs";import"../__chunks__/chunk-IPMSVHGJ.mjs";import"../__chunks__/chunk-PSJI2G34.mjs";import"../__chunks__/chunk-2CG6PNPJ.mjs";import"../__chunks__/chunk-HDRB2QL6.mjs";import"../__chunks__/chunk-CO3V5DOG.mjs";import"../__chunks__/chunk-TVELGQIH.mjs";import"../__chunks__/chunk-2BSPSW6X.mjs";import"../__chunks__/chunk-OOJVPJOX.mjs";import"../__chunks__/chunk-OVXVICF7.mjs";import"../__chunks__/chunk-WZI2I6NX.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{b as mockResponse,a as rest,c as server};
1
+ import{a,b,c}from"../__chunks__/chunk-EOCZROR3.mjs";import"../__chunks__/chunk-FO4U4FCJ.mjs";import"../__chunks__/chunk-IPMSVHGJ.mjs";import"../__chunks__/chunk-PSJI2G34.mjs";import"../__chunks__/chunk-2CG6PNPJ.mjs";import"../__chunks__/chunk-FROSOADM.mjs";import"../__chunks__/chunk-VJBLHJYB.mjs";import"../__chunks__/chunk-RRK6GTWZ.mjs";import"../__chunks__/chunk-HDRB2QL6.mjs";import"../__chunks__/chunk-RWQNLK3I.mjs";import"../__chunks__/chunk-CO3V5DOG.mjs";import"../__chunks__/chunk-TVELGQIH.mjs";import"../__chunks__/chunk-2BSPSW6X.mjs";import"../__chunks__/chunk-OOJVPJOX.mjs";import"../__chunks__/chunk-OVXVICF7.mjs";import"../__chunks__/chunk-WZI2I6NX.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{b as mockResponse,a as rest,c as server};
2
2
  //# sourceMappingURL=server.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-AXUYY4T7.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-LSKZWWBZ.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{a as getScamAddressData};
1
+ import{a}from"../../__chunks__/chunk-AXUYY4T7.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-LSKZWWBZ.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{a as getScamAddressData};
2
2
  //# sourceMappingURL=getScamAddressData.mjs.map
@@ -1,2 +1,2 @@
1
- import"../__chunks__/chunk-YV7ZJBAY.mjs";import"../__chunks__/chunk-K5MJ4FMD.mjs";import{a as F}from"../__chunks__/chunk-X2JK27T3.mjs";import"../__chunks__/chunk-DXRSXWLQ.mjs";import"../__chunks__/chunk-INRKVOET.mjs";import"../__chunks__/chunk-6ET5BDZH.mjs";import{a as G}from"../__chunks__/chunk-LSKZWWBZ.mjs";import"../__chunks__/chunk-ZFXAT6MD.mjs";import{a as H}from"../__chunks__/chunk-Q2Q4XN4M.mjs";import{a as D}from"../__chunks__/chunk-YK7T6MBD.mjs";import{a as E}from"../__chunks__/chunk-KMJMQEXI.mjs";import{a as B,b as C}from"../__chunks__/chunk-ZLE5VUWG.mjs";import{a as A}from"../__chunks__/chunk-3GGBXXXJ.mjs";import{a as z}from"../__chunks__/chunk-X6MN67NW.mjs";import"../__chunks__/chunk-3FXHIV6O.mjs";import"../__chunks__/chunk-CN4RHVUE.mjs";import"../__chunks__/chunk-T4FRQ4JG.mjs";import"../__chunks__/chunk-IEJTMYFW.mjs";import"../__chunks__/chunk-UTWIKUIK.mjs";import"../__chunks__/chunk-LTF535HP.mjs";import"../__chunks__/chunk-KPK72MOE.mjs";import"../__chunks__/chunk-SAAOQW7P.mjs";import"../__chunks__/chunk-VNLGNNIL.mjs";import"../__chunks__/chunk-ZODTYAYF.mjs";import"../__chunks__/chunk-NLRDRI7Q.mjs";import"../__chunks__/chunk-DKX6JUT6.mjs";import"../__chunks__/chunk-RZ4YTKD7.mjs";import"../__chunks__/chunk-KRWR77QE.mjs";import"../__chunks__/chunk-B7YCKWDU.mjs";import"../__chunks__/chunk-5N4F5T5L.mjs";import"../__chunks__/chunk-SUN3MVLZ.mjs";import"../__chunks__/chunk-HDJOER66.mjs";import"../__chunks__/chunk-A7FTKX2A.mjs";import"../__chunks__/chunk-XKU5QBXG.mjs";import"../__chunks__/chunk-TYYA6E7F.mjs";import"../__chunks__/chunk-KMFYDHOY.mjs";import"../__chunks__/chunk-S2B2ZKIJ.mjs";import"../__chunks__/chunk-2DNGCNYM.mjs";import"../__chunks__/chunk-SQVKVA7X.mjs";import"../__chunks__/chunk-T2YPFNVM.mjs";import"../__chunks__/chunk-X4XULIVT.mjs";import"../__chunks__/chunk-I24YBVHK.mjs";import"../__chunks__/chunk-YMPZDHKF.mjs";import"../__chunks__/chunk-VKEESSBI.mjs";import"../__chunks__/chunk-NB7A4C7L.mjs";import"../__chunks__/chunk-K3G3SPRT.mjs";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../__chunks__/chunk-KD2IQ32V.mjs";import"../__chunks__/chunk-2CNSQULM.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{a as ACCOUNTS_ENDPOINT,b as ADDRESS_ENDPOINT,c as BLOCKS_ENDPOINT,d as CODE_ENDPOINT,e as COLLECTIONS_ENDPOINT,f as CONFIG_ENDPOINT,g as CONTRACTS_ENDPOINT,h as ECONOMICS_ENDPOINT,i as IDENTITIES_ENDPOINT,j as KEYS_ENDPOINT,k as LOCKED_ACCOUNTS_ENDPOINT,l as LOGS_ENDPOINT,m as MINIBLOCKS_ENDPOINT,n as NETWORK_CONFIG_ENDPOINT,o as NFTS_ENDPOINT,p as NODES_ENDPOINT,q as PROVIDERS_ENDPOINT,r as ROLES_ENDPOINT,s as SC_RESULTS_ENDPOINT,t as STAKE_ENDPOINT,u as TOKENS_ENDPOINT,w as TRANSACTIONS_BATCH,v as TRANSACTIONS_COUNT_ENDPOINT,x as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,B as accountFetcher,G as axiosFetcher,z as axiosInstance,C as getAccountFromApi,A as getCleanApiAddress,E as getNetworkConfigFromApi,D as getServerConfiguration,F as getTokenDetails,H as getWebsocketUrl};
1
+ import"../__chunks__/chunk-YV7ZJBAY.mjs";import"../__chunks__/chunk-DXRSXWLQ.mjs";import"../__chunks__/chunk-K5MJ4FMD.mjs";import{a as F}from"../__chunks__/chunk-X2JK27T3.mjs";import"../__chunks__/chunk-INRKVOET.mjs";import"../__chunks__/chunk-6ET5BDZH.mjs";import{a as G}from"../__chunks__/chunk-LSKZWWBZ.mjs";import"../__chunks__/chunk-ZFXAT6MD.mjs";import{a as H}from"../__chunks__/chunk-Q2Q4XN4M.mjs";import{a as D}from"../__chunks__/chunk-YK7T6MBD.mjs";import{a as E}from"../__chunks__/chunk-KMJMQEXI.mjs";import{a as B,b as C}from"../__chunks__/chunk-ZLE5VUWG.mjs";import{a as A}from"../__chunks__/chunk-3GGBXXXJ.mjs";import{a as z}from"../__chunks__/chunk-X6MN67NW.mjs";import"../__chunks__/chunk-3FXHIV6O.mjs";import"../__chunks__/chunk-CN4RHVUE.mjs";import"../__chunks__/chunk-T4FRQ4JG.mjs";import"../__chunks__/chunk-IEJTMYFW.mjs";import"../__chunks__/chunk-UTWIKUIK.mjs";import"../__chunks__/chunk-LTF535HP.mjs";import"../__chunks__/chunk-KPK72MOE.mjs";import"../__chunks__/chunk-SAAOQW7P.mjs";import"../__chunks__/chunk-VNLGNNIL.mjs";import"../__chunks__/chunk-ZODTYAYF.mjs";import"../__chunks__/chunk-NLRDRI7Q.mjs";import"../__chunks__/chunk-DKX6JUT6.mjs";import"../__chunks__/chunk-RZ4YTKD7.mjs";import"../__chunks__/chunk-KRWR77QE.mjs";import"../__chunks__/chunk-B7YCKWDU.mjs";import"../__chunks__/chunk-5N4F5T5L.mjs";import"../__chunks__/chunk-SUN3MVLZ.mjs";import"../__chunks__/chunk-HDJOER66.mjs";import"../__chunks__/chunk-A7FTKX2A.mjs";import"../__chunks__/chunk-XKU5QBXG.mjs";import"../__chunks__/chunk-TYYA6E7F.mjs";import"../__chunks__/chunk-KMFYDHOY.mjs";import"../__chunks__/chunk-S2B2ZKIJ.mjs";import"../__chunks__/chunk-2DNGCNYM.mjs";import"../__chunks__/chunk-SQVKVA7X.mjs";import"../__chunks__/chunk-T2YPFNVM.mjs";import"../__chunks__/chunk-X4XULIVT.mjs";import"../__chunks__/chunk-I24YBVHK.mjs";import"../__chunks__/chunk-YMPZDHKF.mjs";import"../__chunks__/chunk-VKEESSBI.mjs";import"../__chunks__/chunk-NB7A4C7L.mjs";import"../__chunks__/chunk-K3G3SPRT.mjs";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../__chunks__/chunk-KD2IQ32V.mjs";import"../__chunks__/chunk-2CNSQULM.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";export{a as ACCOUNTS_ENDPOINT,b as ADDRESS_ENDPOINT,c as BLOCKS_ENDPOINT,d as CODE_ENDPOINT,e as COLLECTIONS_ENDPOINT,f as CONFIG_ENDPOINT,g as CONTRACTS_ENDPOINT,h as ECONOMICS_ENDPOINT,i as IDENTITIES_ENDPOINT,j as KEYS_ENDPOINT,k as LOCKED_ACCOUNTS_ENDPOINT,l as LOGS_ENDPOINT,m as MINIBLOCKS_ENDPOINT,n as NETWORK_CONFIG_ENDPOINT,o as NFTS_ENDPOINT,p as NODES_ENDPOINT,q as PROVIDERS_ENDPOINT,r as ROLES_ENDPOINT,s as SC_RESULTS_ENDPOINT,t as STAKE_ENDPOINT,u as TOKENS_ENDPOINT,w as TRANSACTIONS_BATCH,v as TRANSACTIONS_COUNT_ENDPOINT,x as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,B as accountFetcher,G as axiosFetcher,z as axiosInstance,C as getAccountFromApi,A as getCleanApiAddress,E as getNetworkConfigFromApi,D as getServerConfiguration,F as getTokenDetails,H as getWebsocketUrl};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,9 +1,9 @@
1
1
  export declare enum UITagsEnum {
2
- LEDGER_FLOW = "mvx-ledger-flow",
2
+ LEDGER_CONNECT = "mvx-ledger-connect",
3
3
  NOTIFICATIONS_FEED = "mvx-notifications-feed",
4
4
  PENDING_TRANSACTIONS_PANEL = "mvx-pending-transactions-panel",
5
5
  SIGN_TRANSACTIONS_PANEL = "mvx-sign-transactions-panel",
6
6
  TOAST_LIST = "mvx-toast-list",
7
- WALLET_CONNECT = "mvx-wallet-connect-provider",
7
+ WALLET_CONNECT = "mvx-wallet-connect",
8
8
  UNLOCK_PANEL = "mvx-unlock-panel"
9
9
  }
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UITagsEnum = void 0;
4
4
  var UITagsEnum;
5
5
  (function (UITagsEnum) {
6
- UITagsEnum["LEDGER_FLOW"] = "mvx-ledger-flow";
6
+ UITagsEnum["LEDGER_CONNECT"] = "mvx-ledger-connect";
7
7
  UITagsEnum["NOTIFICATIONS_FEED"] = "mvx-notifications-feed";
8
8
  UITagsEnum["PENDING_TRANSACTIONS_PANEL"] = "mvx-pending-transactions-panel";
9
9
  UITagsEnum["SIGN_TRANSACTIONS_PANEL"] = "mvx-sign-transactions-panel";
10
10
  UITagsEnum["TOAST_LIST"] = "mvx-toast-list";
11
- UITagsEnum["WALLET_CONNECT"] = "mvx-wallet-connect-provider";
11
+ UITagsEnum["WALLET_CONNECT"] = "mvx-wallet-connect";
12
12
  UITagsEnum["UNLOCK_PANEL"] = "mvx-unlock-panel";
13
13
  })(UITagsEnum || (exports.UITagsEnum = UITagsEnum = {}));
14
14
  //# sourceMappingURL=UITags.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UITags.enum.js","sourceRoot":"","sources":["../../src/constants/UITags.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,6CAA+B,CAAA;IAC/B,2DAA6C,CAAA;IAC7C,2EAA6D,CAAA;IAC7D,qEAAuD,CAAA;IACvD,2CAA6B,CAAA;IAC7B,4DAA8C,CAAA;IAC9C,+CAAiC,CAAA;AACnC,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB"}
1
+ {"version":3,"file":"UITags.enum.js","sourceRoot":"","sources":["../../src/constants/UITags.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,mDAAqC,CAAA;IACrC,2DAA6C,CAAA;IAC7C,2EAA6D,CAAA;IAC7D,qEAAuD,CAAA;IACvD,2CAA6B,CAAA;IAC7B,mDAAqC,CAAA;IACrC,+CAAiC,CAAA;AACnC,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB"}
@@ -1,2 +1,2 @@
1
- import{a}from"../__chunks__/chunk-7Q3M4L6V.mjs";export{a as UITagsEnum};
1
+ import{a}from"../__chunks__/chunk-55SACSMS.mjs";export{a as UITagsEnum};
2
2
  //# sourceMappingURL=UITags.enum.mjs.map
@@ -1,2 +1,2 @@
1
- import"../__chunks__/chunk-5Y2ZDPP6.mjs";import{a as r,b as s}from"../__chunks__/chunk-C4CJOZ4L.mjs";import{a as Y}from"../__chunks__/chunk-2X7ENE6Y.mjs";import{a as A,b as B,c as C,d as D,e as E,f as F,g as G,h as H,i as I,j as J,k as K}from"../__chunks__/chunk-LHEH7L4L.mjs";import{a as O,b as P,c as Q,d as R,e as S,f as T,g as U,h as V,i as W,j as X}from"../__chunks__/chunk-EJV4VNJG.mjs";import{a as t,b as u,c as v,d as w,e as x,f as y,g as z}from"../__chunks__/chunk-FI444OX3.mjs";import{a as L,b as M,c as N}from"../__chunks__/chunk-PPA7AFVD.mjs";import{a,b,c,d,e,f,g,h,i,j,k}from"../__chunks__/chunk-ULUZWP2P.mjs";import{a as o,b as p}from"../__chunks__/chunk-GGBMHKR4.mjs";import{a as l,b as m,c as n}from"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-MCOVQEK7.mjs";import{a as q}from"../__chunks__/chunk-7QCBLUWB.mjs";export{I as ALL_SHARDS_SHARD_ID,b as DEVNET_CHAIN_ID,c as DEVNET_EGLD_LABEL,m as ELLIPSIS,n as EMPTY_PPU,D as EXTRA_GAS_LIMIT_GUARDED_TX,C as GAS_LIMIT,B as GAS_PER_DATA_BYTE,E as GAS_PRICE,A as GAS_PRICE_MODIFIER,G as LEDGER_CONTRACT_DATA_ENABLED_VALUE,u as LEDGER_HASH_SIGN_MINIMUM_VERSION,t as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,v as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,x as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,y as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,w as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,f as MAINNET_CHAIN_ID,g as MAINNET_EGLD_LABEL,H as METACHAIN_SHARD_ID,j as MULTIVERSX_ORIGIN,K as MULTI_TRANSFER_EGLD_TOKEN,l as N_A,J as REFUNDED_GAS,d as TESTNET_CHAIN_ID,e as TESTNET_EGLD_LABEL,k as TIMEOUT,F as VERSION,W as WALLET_PROVIDER_CALLBACK_PARAM,X as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,R as WALLET_PROVIDER_CONNECT_URL,P as WALLET_PROVIDER_DEVNET,S as WALLET_PROVIDER_DISCONNECT_URL,O as WALLET_PROVIDER_MAINNET,T as WALLET_PROVIDER_SEND_TRANSACTION_URL,V as WALLET_PROVIDER_SIGN_MESSAGE_URL,U as WALLET_PROVIDER_SIGN_TRANSACTION_URL,Q as WALLET_PROVIDER_TESTNET,o as WebsocketConnectionStatusEnum,h as chainIdByEnvironment,i as chainIdToEnvironment,a as fallbackNetworkConfigurations,s as isBrowserWithPopupConfirmation,r as isSafari,z as ledgerErrorCodes,L as persistConfig,Y as providerLabels,q as safeWindow,M as storage,N as subscriptions,p as websocketConnection};
1
+ import"../__chunks__/chunk-5Y2ZDPP6.mjs";import{a as A,b as B,c as C,d as D,e as E,f as F,g as G,h as H,i as I,j as J,k as K}from"../__chunks__/chunk-LHEH7L4L.mjs";import{a as r,b as s}from"../__chunks__/chunk-C4CJOZ4L.mjs";import{a as O,b as P,c as Q,d as R,e as S,f as T,g as U,h as V,i as W,j as X}from"../__chunks__/chunk-EJV4VNJG.mjs";import{a as Y}from"../__chunks__/chunk-2X7ENE6Y.mjs";import{a as t,b as u,c as v,d as w,e as x,f as y,g as z}from"../__chunks__/chunk-FI444OX3.mjs";import{a as L,b as M,c as N}from"../__chunks__/chunk-PPA7AFVD.mjs";import{a,b,c,d,e,f,g,h,i,j,k}from"../__chunks__/chunk-ULUZWP2P.mjs";import{a as o,b as p}from"../__chunks__/chunk-GGBMHKR4.mjs";import{a as l,b as m,c as n}from"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-MCOVQEK7.mjs";import{a as q}from"../__chunks__/chunk-7QCBLUWB.mjs";export{I as ALL_SHARDS_SHARD_ID,b as DEVNET_CHAIN_ID,c as DEVNET_EGLD_LABEL,m as ELLIPSIS,n as EMPTY_PPU,D as EXTRA_GAS_LIMIT_GUARDED_TX,C as GAS_LIMIT,B as GAS_PER_DATA_BYTE,E as GAS_PRICE,A as GAS_PRICE_MODIFIER,G as LEDGER_CONTRACT_DATA_ENABLED_VALUE,u as LEDGER_HASH_SIGN_MINIMUM_VERSION,t as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,v as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,x as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,y as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,w as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,f as MAINNET_CHAIN_ID,g as MAINNET_EGLD_LABEL,H as METACHAIN_SHARD_ID,j as MULTIVERSX_ORIGIN,K as MULTI_TRANSFER_EGLD_TOKEN,l as N_A,J as REFUNDED_GAS,d as TESTNET_CHAIN_ID,e as TESTNET_EGLD_LABEL,k as TIMEOUT,F as VERSION,W as WALLET_PROVIDER_CALLBACK_PARAM,X as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,R as WALLET_PROVIDER_CONNECT_URL,P as WALLET_PROVIDER_DEVNET,S as WALLET_PROVIDER_DISCONNECT_URL,O as WALLET_PROVIDER_MAINNET,T as WALLET_PROVIDER_SEND_TRANSACTION_URL,V as WALLET_PROVIDER_SIGN_MESSAGE_URL,U as WALLET_PROVIDER_SIGN_TRANSACTION_URL,Q as WALLET_PROVIDER_TESTNET,o as WebsocketConnectionStatusEnum,h as chainIdByEnvironment,i as chainIdToEnvironment,a as fallbackNetworkConfigurations,s as isBrowserWithPopupConfirmation,r as isSafari,z as ledgerErrorCodes,L as persistConfig,Y as providerLabels,q as safeWindow,M as storage,N as subscriptions,p as websocketConnection};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-243OAHYD.mjs";import"../../__chunks__/chunk-2HWIJ4CV.mjs";import"../../__chunks__/chunk-O6VPG7AF.mjs";import"../../__chunks__/chunk-I2YHVWIX.mjs";import"../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../__chunks__/chunk-2AAKENSP.mjs";import"../../__chunks__/chunk-6ZDBHK76.mjs";import"../../__chunks__/chunk-7RX2A4WD.mjs";import"../../__chunks__/chunk-4LEA6EXQ.mjs";import"../../__chunks__/chunk-SNKFFCSF.mjs";import"../../__chunks__/chunk-IXJOO5U4.mjs";import"../../__chunks__/chunk-BXUBAIBU.mjs";import"../../__chunks__/chunk-W5MTQBQF.mjs";import"../../__chunks__/chunk-YRIDJGOK.mjs";import"../../__chunks__/chunk-42KJRIAT.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-VOBUIF7F.mjs";import"../../__chunks__/chunk-Z4PL2VDB.mjs";import"../../__chunks__/chunk-HQJG7CFV.mjs";import"../../__chunks__/chunk-L7L56ZTG.mjs";import"../../__chunks__/chunk-YVD46DFI.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-XW2GCCBZ.mjs";import"../../__chunks__/chunk-B72JAXSF.mjs";import"../../__chunks__/chunk-6GREKTLP.mjs";import"../../__chunks__/chunk-HWJQUOPL.mjs";import"../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../__chunks__/chunk-HS34AFHY.mjs";import"../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../__chunks__/chunk-TVBOE2RK.mjs";import"../../__chunks__/chunk-LETBBKOK.mjs";import"../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../__chunks__/chunk-675ZW4IF.mjs";import"../../__chunks__/chunk-XKOORMTN.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-QQ4OPT5A.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-CN4RHVUE.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-IEJTMYFW.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-LTF535HP.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-RZ4YTKD7.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-TYYA6E7F.mjs";import"../../__chunks__/chunk-KMFYDHOY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-K3G3SPRT.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-3NG7LKF4.mjs";import"../../__chunks__/chunk-CO3V5DOG.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OOJVPJOX.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-2CNSQULM.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{a as TransactionsTableController};
1
+ import{a}from"../../__chunks__/chunk-243OAHYD.mjs";import"../../__chunks__/chunk-2HWIJ4CV.mjs";import"../../__chunks__/chunk-O6VPG7AF.mjs";import"../../__chunks__/chunk-I2YHVWIX.mjs";import"../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../__chunks__/chunk-2AAKENSP.mjs";import"../../__chunks__/chunk-6ZDBHK76.mjs";import"../../__chunks__/chunk-7RX2A4WD.mjs";import"../../__chunks__/chunk-4LEA6EXQ.mjs";import"../../__chunks__/chunk-SNKFFCSF.mjs";import"../../__chunks__/chunk-IXJOO5U4.mjs";import"../../__chunks__/chunk-BXUBAIBU.mjs";import"../../__chunks__/chunk-W5MTQBQF.mjs";import"../../__chunks__/chunk-YRIDJGOK.mjs";import"../../__chunks__/chunk-42KJRIAT.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-VOBUIF7F.mjs";import"../../__chunks__/chunk-Z4PL2VDB.mjs";import"../../__chunks__/chunk-HQJG7CFV.mjs";import"../../__chunks__/chunk-L7L56ZTG.mjs";import"../../__chunks__/chunk-YVD46DFI.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-XW2GCCBZ.mjs";import"../../__chunks__/chunk-B72JAXSF.mjs";import"../../__chunks__/chunk-6GREKTLP.mjs";import"../../__chunks__/chunk-HWJQUOPL.mjs";import"../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../__chunks__/chunk-HS34AFHY.mjs";import"../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../__chunks__/chunk-TVBOE2RK.mjs";import"../../__chunks__/chunk-LETBBKOK.mjs";import"../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../__chunks__/chunk-675ZW4IF.mjs";import"../../__chunks__/chunk-XKOORMTN.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-QQ4OPT5A.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-CN4RHVUE.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-IEJTMYFW.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-LTF535HP.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-RZ4YTKD7.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-TYYA6E7F.mjs";import"../../__chunks__/chunk-KMFYDHOY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-K3G3SPRT.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-3NG7LKF4.mjs";import"../../__chunks__/chunk-CO3V5DOG.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OOJVPJOX.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-2CNSQULM.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{a as TransactionsTableController};
2
2
  //# sourceMappingURL=TransactionsTableController.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"../../__chunks__/chunk-243OAHYD.mjs";import"../../__chunks__/chunk-2HWIJ4CV.mjs";import"../../__chunks__/chunk-O6VPG7AF.mjs";import"../../__chunks__/chunk-I2YHVWIX.mjs";import"../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../__chunks__/chunk-2AAKENSP.mjs";import"../../__chunks__/chunk-6ZDBHK76.mjs";import"../../__chunks__/chunk-7RX2A4WD.mjs";import"../../__chunks__/chunk-4LEA6EXQ.mjs";import"../../__chunks__/chunk-SNKFFCSF.mjs";import"../../__chunks__/chunk-IXJOO5U4.mjs";import"../../__chunks__/chunk-BXUBAIBU.mjs";import"../../__chunks__/chunk-W5MTQBQF.mjs";import"../../__chunks__/chunk-YRIDJGOK.mjs";import"../../__chunks__/chunk-42KJRIAT.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-VOBUIF7F.mjs";import"../../__chunks__/chunk-Z4PL2VDB.mjs";import"../../__chunks__/chunk-HQJG7CFV.mjs";import"../../__chunks__/chunk-L7L56ZTG.mjs";import"../../__chunks__/chunk-YVD46DFI.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-XW2GCCBZ.mjs";import"../../__chunks__/chunk-B72JAXSF.mjs";import"../../__chunks__/chunk-6GREKTLP.mjs";import"../../__chunks__/chunk-HWJQUOPL.mjs";import"../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../__chunks__/chunk-HS34AFHY.mjs";import"../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../__chunks__/chunk-TVBOE2RK.mjs";import"../../__chunks__/chunk-LETBBKOK.mjs";import"../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../__chunks__/chunk-675ZW4IF.mjs";import"../../__chunks__/chunk-XKOORMTN.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-QQ4OPT5A.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-CN4RHVUE.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-IEJTMYFW.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-LTF535HP.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-RZ4YTKD7.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-TYYA6E7F.mjs";import"../../__chunks__/chunk-KMFYDHOY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-K3G3SPRT.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-3NG7LKF4.mjs";import"../../__chunks__/chunk-CO3V5DOG.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OOJVPJOX.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-2CNSQULM.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{o as TransactionsTableController};
1
+ import{a as o}from"../../__chunks__/chunk-243OAHYD.mjs";import"../../__chunks__/chunk-2HWIJ4CV.mjs";import"../../__chunks__/chunk-O6VPG7AF.mjs";import"../../__chunks__/chunk-I2YHVWIX.mjs";import"../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../__chunks__/chunk-2AAKENSP.mjs";import"../../__chunks__/chunk-6ZDBHK76.mjs";import"../../__chunks__/chunk-7RX2A4WD.mjs";import"../../__chunks__/chunk-4LEA6EXQ.mjs";import"../../__chunks__/chunk-SNKFFCSF.mjs";import"../../__chunks__/chunk-IXJOO5U4.mjs";import"../../__chunks__/chunk-BXUBAIBU.mjs";import"../../__chunks__/chunk-W5MTQBQF.mjs";import"../../__chunks__/chunk-YRIDJGOK.mjs";import"../../__chunks__/chunk-42KJRIAT.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-VOBUIF7F.mjs";import"../../__chunks__/chunk-Z4PL2VDB.mjs";import"../../__chunks__/chunk-HQJG7CFV.mjs";import"../../__chunks__/chunk-L7L56ZTG.mjs";import"../../__chunks__/chunk-YVD46DFI.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-XW2GCCBZ.mjs";import"../../__chunks__/chunk-B72JAXSF.mjs";import"../../__chunks__/chunk-6GREKTLP.mjs";import"../../__chunks__/chunk-HWJQUOPL.mjs";import"../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../__chunks__/chunk-HS34AFHY.mjs";import"../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../__chunks__/chunk-TVBOE2RK.mjs";import"../../__chunks__/chunk-LETBBKOK.mjs";import"../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../__chunks__/chunk-675ZW4IF.mjs";import"../../__chunks__/chunk-XKOORMTN.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-QQ4OPT5A.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-CN4RHVUE.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-IEJTMYFW.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-LTF535HP.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-RZ4YTKD7.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-TYYA6E7F.mjs";import"../../__chunks__/chunk-KMFYDHOY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-K3G3SPRT.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-3NG7LKF4.mjs";import"../../__chunks__/chunk-CO3V5DOG.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OOJVPJOX.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-2CNSQULM.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-C4CJOZ4L.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-2X7ENE6Y.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PPA7AFVD.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-MCOVQEK7.mjs";import"../../__chunks__/chunk-7QCBLUWB.mjs";export{o as TransactionsTableController};
2
2
  //# sourceMappingURL=index.mjs.map
package/out/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import"./__chunks__/chunk-CXE2WQJS.mjs";import"./__chunks__/chunk-2IEOAR7H.mjs";import{a as to}from"./__chunks__/chunk-QQ4OPT5A.mjs";import"./__chunks__/chunk-YV7ZJBAY.mjs";import"./__chunks__/chunk-K5MJ4FMD.mjs";import{a as fo}from"./__chunks__/chunk-X2JK27T3.mjs";import"./__chunks__/chunk-DXRSXWLQ.mjs";import"./__chunks__/chunk-INRKVOET.mjs";import"./__chunks__/chunk-6ET5BDZH.mjs";import{a as mo}from"./__chunks__/chunk-LSKZWWBZ.mjs";import"./__chunks__/chunk-7BRIA6SS.mjs";import{q as er}from"./__chunks__/chunk-7JA77EJQ.mjs";import"./__chunks__/chunk-4HEE3XZP.mjs";import"./__chunks__/chunk-SCSHU7XJ.mjs";import"./__chunks__/chunk-RHN3VD44.mjs";import"./__chunks__/chunk-YPNKNMW5.mjs";import"./__chunks__/chunk-L2JWXTGG.mjs";import"./__chunks__/chunk-PEDR76UT.mjs";import"./__chunks__/chunk-M3C5NS6M.mjs";import"./__chunks__/chunk-PLFZHJOX.mjs";import"./__chunks__/chunk-QD3CFFVT.mjs";import"./__chunks__/chunk-UP7CK2EN.mjs";import"./__chunks__/chunk-WGOZYG4T.mjs";import"./__chunks__/chunk-JXO7XRIR.mjs";import"./__chunks__/chunk-5WVAF7RB.mjs";import"./__chunks__/chunk-7OTTISMZ.mjs";import"./__chunks__/chunk-MFUQ5NBC.mjs";import"./__chunks__/chunk-UFMHCVBL.mjs";import"./__chunks__/chunk-SBQJGS63.mjs";import"./__chunks__/chunk-WW4BBBLW.mjs";import"./__chunks__/chunk-ZFXAT6MD.mjs";import{a as po}from"./__chunks__/chunk-Q2Q4XN4M.mjs";import"./__chunks__/chunk-672ZNZKR.mjs";import"./__chunks__/chunk-G2DLIXFQ.mjs";import"./__chunks__/chunk-W4GE4ZDP.mjs";import"./__chunks__/chunk-4ODPAHHA.mjs";import"./__chunks__/chunk-ECEWPZGA.mjs";import"./__chunks__/chunk-OTBTZ3NI.mjs";import"./__chunks__/chunk-WVTCO3AV.mjs";import"./__chunks__/chunk-FTFAEXVE.mjs";import"./__chunks__/chunk-HP5OTXWV.mjs";import"./__chunks__/chunk-6746F2FY.mjs";import"./__chunks__/chunk-CBIH5QMT.mjs";import"./__chunks__/chunk-DZ5L5MZT.mjs";import"./__chunks__/chunk-WV5X6BXA.mjs";import"./__chunks__/chunk-YAXVLGG3.mjs";import"./__chunks__/chunk-NWEUIK3A.mjs";import{a as Zo}from"./__chunks__/chunk-TLKMUVQJ.mjs";import"./__chunks__/chunk-3S57OP4Z.mjs";import"./__chunks__/chunk-OJX2TSAZ.mjs";import"./__chunks__/chunk-RIQNG4I7.mjs";import"./__chunks__/chunk-IMGZJVC6.mjs";import"./__chunks__/chunk-QTKK6OSJ.mjs";import"./__chunks__/chunk-6ACLOUQ3.mjs";import"./__chunks__/chunk-WE7YOBO7.mjs";import"./__chunks__/chunk-J32T6OAP.mjs";import"./__chunks__/chunk-UYUKTC4X.mjs";import{a as X}from"./__chunks__/chunk-YK7T6MBD.mjs";import{a as Y}from"./__chunks__/chunk-KMJMQEXI.mjs";import"./__chunks__/chunk-4US7HVCR.mjs";import"./__chunks__/chunk-HC5QPKZT.mjs";import"./__chunks__/chunk-4TBVQD27.mjs";import"./__chunks__/chunk-M3GFSV3G.mjs";import"./__chunks__/chunk-G5DKGX73.mjs";import"./__chunks__/chunk-45H34XLJ.mjs";import"./__chunks__/chunk-AGI2ZR6R.mjs";import"./__chunks__/chunk-L3MWDI6J.mjs";import"./__chunks__/chunk-65L5EBBL.mjs";import"./__chunks__/chunk-L3YPAYXZ.mjs";import"./__chunks__/chunk-QI2QMNTG.mjs";import{a as or}from"./__chunks__/chunk-6FXEHNGW.mjs";import{a as V,b as W}from"./__chunks__/chunk-ZLE5VUWG.mjs";import{a as A}from"./__chunks__/chunk-3GGBXXXJ.mjs";import"./__chunks__/chunk-RMW3YLGD.mjs";import{a as mr}from"./__chunks__/chunk-FPJ2PIFX.mjs";import{a as fr}from"./__chunks__/chunk-NJN53MJV.mjs";import{a as To}from"./__chunks__/chunk-YSCND2MX.mjs";import{a as rr}from"./__chunks__/chunk-HORSXVIV.mjs";import"./__chunks__/chunk-YJK5FPW4.mjs";import{a as br}from"./__chunks__/chunk-36XFDUXN.mjs";import"./__chunks__/chunk-ZAPRDHIW.mjs";import{a as ar}from"./__chunks__/chunk-WVAP3V3E.mjs";import{a as xr}from"./__chunks__/chunk-GIZSIYH4.mjs";import{a as z}from"./__chunks__/chunk-X6MN67NW.mjs";import{a as tr}from"./__chunks__/chunk-XVX7N3JK.mjs";import{a as pr}from"./__chunks__/chunk-HH5SA7BX.mjs";import"./__chunks__/chunk-CDTYHGXZ.mjs";import{a as eo}from"./__chunks__/chunk-3FXHIV6O.mjs";import"./__chunks__/chunk-6CQMLD25.mjs";import{a as dr}from"./__chunks__/chunk-3IYQANTT.mjs";import"./__chunks__/chunk-JR3FBBRR.mjs";import"./__chunks__/chunk-IXBWD6BF.mjs";import{a as Br}from"./__chunks__/chunk-JGULQG2H.mjs";import"./__chunks__/chunk-VCAWVAO5.mjs";import{a as zr}from"./__chunks__/chunk-55W25Q35.mjs";import{a as Ar}from"./__chunks__/chunk-Y3YLDFXK.mjs";import"./__chunks__/chunk-ENTPR3MV.mjs";import"./__chunks__/chunk-NM3KJ3EA.mjs";import"./__chunks__/chunk-BXKFACG5.mjs";import"./__chunks__/chunk-CN4RHVUE.mjs";import"./__chunks__/chunk-T4FRQ4JG.mjs";import"./__chunks__/chunk-IEJTMYFW.mjs";import"./__chunks__/chunk-UTWIKUIK.mjs";import"./__chunks__/chunk-LTF535HP.mjs";import"./__chunks__/chunk-KPK72MOE.mjs";import"./__chunks__/chunk-SAAOQW7P.mjs";import"./__chunks__/chunk-VNLGNNIL.mjs";import"./__chunks__/chunk-ZODTYAYF.mjs";import"./__chunks__/chunk-NLRDRI7Q.mjs";import"./__chunks__/chunk-DKX6JUT6.mjs";import"./__chunks__/chunk-RZ4YTKD7.mjs";import"./__chunks__/chunk-KRWR77QE.mjs";import"./__chunks__/chunk-B7YCKWDU.mjs";import"./__chunks__/chunk-5N4F5T5L.mjs";import"./__chunks__/chunk-SUN3MVLZ.mjs";import"./__chunks__/chunk-HDJOER66.mjs";import"./__chunks__/chunk-A7FTKX2A.mjs";import"./__chunks__/chunk-XKU5QBXG.mjs";import"./__chunks__/chunk-TYYA6E7F.mjs";import"./__chunks__/chunk-KMFYDHOY.mjs";import"./__chunks__/chunk-S2B2ZKIJ.mjs";import"./__chunks__/chunk-2DNGCNYM.mjs";import"./__chunks__/chunk-SQVKVA7X.mjs";import"./__chunks__/chunk-T2YPFNVM.mjs";import"./__chunks__/chunk-X4XULIVT.mjs";import"./__chunks__/chunk-I24YBVHK.mjs";import"./__chunks__/chunk-YMPZDHKF.mjs";import"./__chunks__/chunk-VKEESSBI.mjs";import"./__chunks__/chunk-NB7A4C7L.mjs";import{a as yr}from"./__chunks__/chunk-XO5D3FNU.mjs";import{a as wr}from"./__chunks__/chunk-UF45HLIK.mjs";import"./__chunks__/chunk-TAI3I5BS.mjs";import"./__chunks__/chunk-JTQCNFCR.mjs";import"./__chunks__/chunk-M6ATGCOM.mjs";import{a as vr}from"./__chunks__/chunk-SF7XXVIO.mjs";import"./__chunks__/chunk-54B3EIZC.mjs";import"./__chunks__/chunk-QJ7MRSGB.mjs";import{a as jr}from"./__chunks__/chunk-VDDXFGB2.mjs";import{b as ir}from"./__chunks__/chunk-LNABNVAO.mjs";import"./__chunks__/chunk-HMHP5DPL.mjs";import"./__chunks__/chunk-VIJUIJ4V.mjs";import"./__chunks__/chunk-35MNP3LA.mjs";import"./__chunks__/chunk-TX7PTLVP.mjs";import{a as hr}from"./__chunks__/chunk-WZ2DNB3R.mjs";import"./__chunks__/chunk-BRJNX4JF.mjs";import"./__chunks__/chunk-K3G3SPRT.mjs";import{a as cr}from"./__chunks__/chunk-DBIIY2TX.mjs";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y}from"./__chunks__/chunk-KD2IQ32V.mjs";import"./__chunks__/chunk-HQQMSHTW.mjs";import"./__chunks__/chunk-UQU2VWPJ.mjs";import{a as qr,b as sr,c as ur}from"./__chunks__/chunk-3NG7LKF4.mjs";import"./__chunks__/chunk-CO3V5DOG.mjs";import{a as _o}from"./__chunks__/chunk-TVELGQIH.mjs";import"./__chunks__/chunk-2BSPSW6X.mjs";import"./__chunks__/chunk-OOJVPJOX.mjs";import"./__chunks__/chunk-OVXVICF7.mjs";import{a as $o}from"./__chunks__/chunk-WZI2I6NX.mjs";import{a as Uo,b as Vo,c as Wo}from"./__chunks__/chunk-TI37DKBT.mjs";import"./__chunks__/chunk-2CNSQULM.mjs";import{a as lr,b as nr}from"./__chunks__/chunk-WRLZ5ICK.mjs";import{a as kr}from"./__chunks__/chunk-I3MK6KZJ.mjs";import{a as gr}from"./__chunks__/chunk-B3IKUIRK.mjs";import"./__chunks__/chunk-THQWNWSE.mjs";import{a as Cr}from"./__chunks__/chunk-2RAULLHL.mjs";import{a as So}from"./__chunks__/chunk-MGQ373AO.mjs";import"./__chunks__/chunk-RPTH42EF.mjs";import{a as Ro}from"./__chunks__/chunk-3UNGCOKO.mjs";import"./__chunks__/chunk-5Y2ZDPP6.mjs";import{a as ao,b as bo}from"./__chunks__/chunk-C4CJOZ4L.mjs";import{a as Qo}from"./__chunks__/chunk-2X7ENE6Y.mjs";import{a as no,b as qo,c as so,d as uo,e as vo,f as wo,g as yo,h as zo,i as Ao,j as Bo,k as Co}from"./__chunks__/chunk-LHEH7L4L.mjs";import{a as Go,b as Ho,c as Io,d as Jo,e as Ko,f as Lo,g as Mo,h as No,i as Oo,j as Po}from"./__chunks__/chunk-EJV4VNJG.mjs";import{a as co,b as go,c as ho,d as io,e as jo,f as ko,g as lo}from"./__chunks__/chunk-FI444OX3.mjs";import{a as Do,b as Eo,c as Fo}from"./__chunks__/chunk-PPA7AFVD.mjs";import{a as K,b as L,c as M,d as N,e as O,f as P,g as Q,h as R,i as S,j as T,k as U}from"./__chunks__/chunk-ULUZWP2P.mjs";import{a as oo,b as ro}from"./__chunks__/chunk-GGBMHKR4.mjs";import{a as Z,b as _,c as $}from"./__chunks__/chunk-MGFIOCA4.mjs";import{a as B,b as C,c as D,d as E,e as F,f as G,g as H,h as I,i as J}from"./__chunks__/chunk-GLXG5BES.mjs";import"./__chunks__/chunk-MCOVQEK7.mjs";import"./__chunks__/chunk-DTQL3IDP.mjs";import{a as Yo}from"./__chunks__/chunk-LRHRFWQ4.mjs";import{a as Gr}from"./__chunks__/chunk-AJEWAECH.mjs";import"./__chunks__/chunk-RVW2ZWCR.mjs";import{a as Fr}from"./__chunks__/chunk-EHDGJUEU.mjs";import{a as Er}from"./__chunks__/chunk-HOCSCRJF.mjs";import{a as xo}from"./__chunks__/chunk-7QCBLUWB.mjs";import{a as Dr}from"./__chunks__/chunk-UE3IBKCO.mjs";import"./__chunks__/chunk-H6IZMTJK.mjs";import{a as Xo}from"./__chunks__/chunk-B2UIPHJ3.mjs";export{o as ACCOUNTS_ENDPOINT,r as ADDRESS_ENDPOINT,Ao as ALL_SHARDS_SHARD_ID,e as BLOCKS_ENDPOINT,f as CODE_ENDPOINT,m as COLLECTIONS_ENDPOINT,p as CONFIG_ENDPOINT,t as CONTRACTS_ENDPOINT,L as DEVNET_CHAIN_ID,M as DEVNET_EGLD_LABEL,x as ECONOMICS_ENDPOINT,_ as ELLIPSIS,$ as EMPTY_PPU,G as ESDTTransferTypesEnum,uo as EXTRA_GAS_LIMIT_GUARDED_TX,B as EnvironmentsEnum,to as FormatAmountController,so as GAS_LIMIT,qo as GAS_PER_DATA_BYTE,vo as GAS_PRICE,no as GAS_PRICE_MODIFIER,H as GuardianActionsEnum,a as IDENTITIES_ENDPOINT,b as KEYS_ENDPOINT,yo as LEDGER_CONTRACT_DATA_ENABLED_VALUE,go as LEDGER_HASH_SIGN_MINIMUM_VERSION,co as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,ho as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,jo as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,ko as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,io as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,c as LOCKED_ACCOUNTS_ENDPOINT,d as LOGS_ENDPOINT,P as MAINNET_CHAIN_ID,Q as MAINNET_EGLD_LABEL,zo as METACHAIN_SHARD_ID,g as MINIBLOCKS_ENDPOINT,T as MULTIVERSX_ORIGIN,Co as MULTI_TRANSFER_EGLD_TOKEN,h as NETWORK_CONFIG_ENDPOINT,i as NFTS_ENDPOINT,j as NODES_ENDPOINT,Z as N_A,k as PROVIDERS_ENDPOINT,_o as ProviderErrorsEnum,Bo as REFUNDED_GAS,l as ROLES_ENDPOINT,n as SC_RESULTS_ENDPOINT,q as STAKE_ENDPOINT,I as SigningErrorsEnum,J as SigningWarningsEnum,$o as SubscriptionsEnum,N as TESTNET_CHAIN_ID,O as TESTNET_EGLD_LABEL,U as TIMEOUT,s as TOKENS_ENDPOINT,v as TRANSACTIONS_BATCH,u as TRANSACTIONS_COUNT_ENDPOINT,w as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,E as TransactionBatchStatusesEnum,C as TransactionServerStatusesEnum,D as TransactionTypesEnum,F as TypesOfSmartContractCallsEnum,wo as VERSION,Oo as WALLET_PROVIDER_CALLBACK_PARAM,Po as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,Jo as WALLET_PROVIDER_CONNECT_URL,Ho as WALLET_PROVIDER_DEVNET,Ko as WALLET_PROVIDER_DISCONNECT_URL,Go as WALLET_PROVIDER_MAINNET,Lo as WALLET_PROVIDER_SEND_TRANSACTION_URL,No as WALLET_PROVIDER_SIGN_MESSAGE_URL,Mo as WALLET_PROVIDER_SIGN_TRANSACTION_URL,Io as WALLET_PROVIDER_TESTNET,oo as WebsocketConnectionStatusEnum,V as accountFetcher,kr as addressIsValid,mo as axiosFetcher,z as axiosInstance,Er as buildUrlParams,R as chainIdByEnvironment,S as chainIdToEnvironment,zr as createTransactionsHistoryFromSessions,Wo as decodeBase64,tr as decodePart,Vo as encodeToBase64,cr as explorerUrlBuilder,K as fallbackNetworkConfigurations,or as fetchAccount,W as getAccountFromApi,dr as getActiveTransactionsStatus,ur as getAddressFromDataField,A as getCleanApiAddress,gr as getHumanReadableTimeFormat,eo as getIdentifierType,Fr as getIsAuthRoute,Gr as getIsInIframe,Y as getNetworkConfigFromApi,hr as getReceiverData,X as getServerConfiguration,fo as getTokenDetails,jr as getTransactionAmount,vr as getTransactionAsset,Br as getTransactionsHistory,To as getUnixTimestamp,fr as getUnixTimestampWithAddedMilliseconds,mr as getUnixTimestampWithAddedSeconds,po as getWebsocketUrl,Yo as getWindowLocation,xr as isAscii,bo as isBrowserWithPopupConfirmation,qr as isContract,lr as isHexValidCharacters,nr as isHexValidLength,ao as isSafari,sr as isSelfESDTContract,Uo as isStringBase64,pr as isUtf8,Xo as isWindowAvailable,lo as ledgerErrorCodes,Ar as mapServerTransactionsToListItems,yr as mapTransactionToListItem,Cr as maxDecimals,Zo as nativeAuth,Do as persistConfig,ir as processTransactionAction,wr as processTransactionAssets,Qo as providerLabels,er as refreshAccount,So as retryMultipleTimes,xo as safeWindow,Dr as sanitizeCallbackUrl,br as setAxiosInterceptors,Ro as sleep,Eo as storage,ar as stringContainsNumbers,Fo as subscriptions,rr as trimUsernameDomain,ro as websocketConnection};
1
+ import"./__chunks__/chunk-CXE2WQJS.mjs";import"./__chunks__/chunk-2IEOAR7H.mjs";import{a as to}from"./__chunks__/chunk-QQ4OPT5A.mjs";import"./__chunks__/chunk-YV7ZJBAY.mjs";import"./__chunks__/chunk-DXRSXWLQ.mjs";import"./__chunks__/chunk-K5MJ4FMD.mjs";import{a as fo}from"./__chunks__/chunk-X2JK27T3.mjs";import"./__chunks__/chunk-INRKVOET.mjs";import"./__chunks__/chunk-6ET5BDZH.mjs";import{a as mo}from"./__chunks__/chunk-LSKZWWBZ.mjs";import"./__chunks__/chunk-7BRIA6SS.mjs";import{q as er}from"./__chunks__/chunk-57KVKSEC.mjs";import"./__chunks__/chunk-4HEE3XZP.mjs";import"./__chunks__/chunk-SCSHU7XJ.mjs";import"./__chunks__/chunk-RHN3VD44.mjs";import"./__chunks__/chunk-YPNKNMW5.mjs";import"./__chunks__/chunk-L2JWXTGG.mjs";import"./__chunks__/chunk-PEDR76UT.mjs";import"./__chunks__/chunk-M3C5NS6M.mjs";import"./__chunks__/chunk-PLFZHJOX.mjs";import"./__chunks__/chunk-QD3CFFVT.mjs";import"./__chunks__/chunk-UP7CK2EN.mjs";import"./__chunks__/chunk-WGOZYG4T.mjs";import"./__chunks__/chunk-JXO7XRIR.mjs";import"./__chunks__/chunk-5WVAF7RB.mjs";import"./__chunks__/chunk-7OTTISMZ.mjs";import"./__chunks__/chunk-MFUQ5NBC.mjs";import"./__chunks__/chunk-UFMHCVBL.mjs";import"./__chunks__/chunk-SBQJGS63.mjs";import"./__chunks__/chunk-WW4BBBLW.mjs";import"./__chunks__/chunk-ZFXAT6MD.mjs";import{a as po}from"./__chunks__/chunk-Q2Q4XN4M.mjs";import"./__chunks__/chunk-672ZNZKR.mjs";import"./__chunks__/chunk-G2DLIXFQ.mjs";import"./__chunks__/chunk-W4GE4ZDP.mjs";import"./__chunks__/chunk-4ODPAHHA.mjs";import"./__chunks__/chunk-ECEWPZGA.mjs";import"./__chunks__/chunk-OTBTZ3NI.mjs";import"./__chunks__/chunk-WVTCO3AV.mjs";import"./__chunks__/chunk-FTFAEXVE.mjs";import"./__chunks__/chunk-3PAMS4NB.mjs";import"./__chunks__/chunk-6746F2FY.mjs";import"./__chunks__/chunk-CBIH5QMT.mjs";import"./__chunks__/chunk-R7SGL2HW.mjs";import"./__chunks__/chunk-WV5X6BXA.mjs";import"./__chunks__/chunk-YAXVLGG3.mjs";import"./__chunks__/chunk-NWEUIK3A.mjs";import{a as Zo}from"./__chunks__/chunk-TLKMUVQJ.mjs";import"./__chunks__/chunk-3S57OP4Z.mjs";import"./__chunks__/chunk-OJX2TSAZ.mjs";import"./__chunks__/chunk-RIQNG4I7.mjs";import"./__chunks__/chunk-IMGZJVC6.mjs";import"./__chunks__/chunk-QTKK6OSJ.mjs";import"./__chunks__/chunk-6ACLOUQ3.mjs";import"./__chunks__/chunk-WE7YOBO7.mjs";import"./__chunks__/chunk-J32T6OAP.mjs";import"./__chunks__/chunk-UYUKTC4X.mjs";import{a as X}from"./__chunks__/chunk-YK7T6MBD.mjs";import{a as Y}from"./__chunks__/chunk-KMJMQEXI.mjs";import"./__chunks__/chunk-4US7HVCR.mjs";import"./__chunks__/chunk-HC5QPKZT.mjs";import"./__chunks__/chunk-4TBVQD27.mjs";import"./__chunks__/chunk-M3GFSV3G.mjs";import"./__chunks__/chunk-G5DKGX73.mjs";import"./__chunks__/chunk-45H34XLJ.mjs";import"./__chunks__/chunk-AGI2ZR6R.mjs";import"./__chunks__/chunk-L3MWDI6J.mjs";import"./__chunks__/chunk-65L5EBBL.mjs";import"./__chunks__/chunk-L3YPAYXZ.mjs";import"./__chunks__/chunk-QI2QMNTG.mjs";import{a as or}from"./__chunks__/chunk-6FXEHNGW.mjs";import{a as V,b as W}from"./__chunks__/chunk-ZLE5VUWG.mjs";import{a as A}from"./__chunks__/chunk-3GGBXXXJ.mjs";import"./__chunks__/chunk-RMW3YLGD.mjs";import{a as mr}from"./__chunks__/chunk-FPJ2PIFX.mjs";import{a as fr}from"./__chunks__/chunk-NJN53MJV.mjs";import{a as To}from"./__chunks__/chunk-YSCND2MX.mjs";import{a as rr}from"./__chunks__/chunk-HORSXVIV.mjs";import"./__chunks__/chunk-YJK5FPW4.mjs";import{a as br}from"./__chunks__/chunk-36XFDUXN.mjs";import"./__chunks__/chunk-ZAPRDHIW.mjs";import{a as ar}from"./__chunks__/chunk-WVAP3V3E.mjs";import{a as xr}from"./__chunks__/chunk-GIZSIYH4.mjs";import{a as z}from"./__chunks__/chunk-X6MN67NW.mjs";import{a as tr}from"./__chunks__/chunk-XVX7N3JK.mjs";import{a as pr}from"./__chunks__/chunk-HH5SA7BX.mjs";import"./__chunks__/chunk-CDTYHGXZ.mjs";import{a as eo}from"./__chunks__/chunk-3FXHIV6O.mjs";import"./__chunks__/chunk-6CQMLD25.mjs";import{a as dr}from"./__chunks__/chunk-3IYQANTT.mjs";import"./__chunks__/chunk-JR3FBBRR.mjs";import"./__chunks__/chunk-IXBWD6BF.mjs";import{a as Br}from"./__chunks__/chunk-JGULQG2H.mjs";import"./__chunks__/chunk-VCAWVAO5.mjs";import{a as zr}from"./__chunks__/chunk-55W25Q35.mjs";import{a as Ar}from"./__chunks__/chunk-Y3YLDFXK.mjs";import"./__chunks__/chunk-ENTPR3MV.mjs";import"./__chunks__/chunk-NM3KJ3EA.mjs";import"./__chunks__/chunk-BXKFACG5.mjs";import"./__chunks__/chunk-CN4RHVUE.mjs";import"./__chunks__/chunk-T4FRQ4JG.mjs";import"./__chunks__/chunk-IEJTMYFW.mjs";import"./__chunks__/chunk-UTWIKUIK.mjs";import"./__chunks__/chunk-LTF535HP.mjs";import"./__chunks__/chunk-KPK72MOE.mjs";import"./__chunks__/chunk-SAAOQW7P.mjs";import"./__chunks__/chunk-VNLGNNIL.mjs";import"./__chunks__/chunk-ZODTYAYF.mjs";import"./__chunks__/chunk-NLRDRI7Q.mjs";import"./__chunks__/chunk-DKX6JUT6.mjs";import"./__chunks__/chunk-RZ4YTKD7.mjs";import"./__chunks__/chunk-KRWR77QE.mjs";import"./__chunks__/chunk-B7YCKWDU.mjs";import"./__chunks__/chunk-5N4F5T5L.mjs";import"./__chunks__/chunk-SUN3MVLZ.mjs";import"./__chunks__/chunk-HDJOER66.mjs";import"./__chunks__/chunk-A7FTKX2A.mjs";import"./__chunks__/chunk-XKU5QBXG.mjs";import"./__chunks__/chunk-TYYA6E7F.mjs";import"./__chunks__/chunk-KMFYDHOY.mjs";import"./__chunks__/chunk-S2B2ZKIJ.mjs";import"./__chunks__/chunk-2DNGCNYM.mjs";import"./__chunks__/chunk-SQVKVA7X.mjs";import"./__chunks__/chunk-T2YPFNVM.mjs";import"./__chunks__/chunk-X4XULIVT.mjs";import"./__chunks__/chunk-I24YBVHK.mjs";import"./__chunks__/chunk-YMPZDHKF.mjs";import"./__chunks__/chunk-VKEESSBI.mjs";import"./__chunks__/chunk-NB7A4C7L.mjs";import{a as yr}from"./__chunks__/chunk-XO5D3FNU.mjs";import{a as wr}from"./__chunks__/chunk-UF45HLIK.mjs";import"./__chunks__/chunk-TAI3I5BS.mjs";import"./__chunks__/chunk-JTQCNFCR.mjs";import"./__chunks__/chunk-M6ATGCOM.mjs";import{a as vr}from"./__chunks__/chunk-SF7XXVIO.mjs";import"./__chunks__/chunk-54B3EIZC.mjs";import"./__chunks__/chunk-QJ7MRSGB.mjs";import{a as jr}from"./__chunks__/chunk-VDDXFGB2.mjs";import{b as ir}from"./__chunks__/chunk-LNABNVAO.mjs";import"./__chunks__/chunk-HMHP5DPL.mjs";import"./__chunks__/chunk-VIJUIJ4V.mjs";import"./__chunks__/chunk-35MNP3LA.mjs";import"./__chunks__/chunk-TX7PTLVP.mjs";import{a as hr}from"./__chunks__/chunk-WZ2DNB3R.mjs";import"./__chunks__/chunk-BRJNX4JF.mjs";import"./__chunks__/chunk-K3G3SPRT.mjs";import{a as cr}from"./__chunks__/chunk-DBIIY2TX.mjs";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y}from"./__chunks__/chunk-KD2IQ32V.mjs";import"./__chunks__/chunk-HQQMSHTW.mjs";import"./__chunks__/chunk-UQU2VWPJ.mjs";import{a as qr,b as sr,c as ur}from"./__chunks__/chunk-3NG7LKF4.mjs";import"./__chunks__/chunk-CO3V5DOG.mjs";import{a as _o}from"./__chunks__/chunk-TVELGQIH.mjs";import"./__chunks__/chunk-2BSPSW6X.mjs";import"./__chunks__/chunk-OOJVPJOX.mjs";import"./__chunks__/chunk-OVXVICF7.mjs";import{a as $o}from"./__chunks__/chunk-WZI2I6NX.mjs";import{a as Uo,b as Vo,c as Wo}from"./__chunks__/chunk-TI37DKBT.mjs";import"./__chunks__/chunk-2CNSQULM.mjs";import{a as lr,b as nr}from"./__chunks__/chunk-WRLZ5ICK.mjs";import{a as kr}from"./__chunks__/chunk-I3MK6KZJ.mjs";import{a as gr}from"./__chunks__/chunk-B3IKUIRK.mjs";import"./__chunks__/chunk-THQWNWSE.mjs";import{a as Cr}from"./__chunks__/chunk-2RAULLHL.mjs";import{a as So}from"./__chunks__/chunk-MGQ373AO.mjs";import"./__chunks__/chunk-RPTH42EF.mjs";import{a as Ro}from"./__chunks__/chunk-3UNGCOKO.mjs";import"./__chunks__/chunk-5Y2ZDPP6.mjs";import{a as no,b as qo,c as so,d as uo,e as vo,f as wo,g as yo,h as zo,i as Ao,j as Bo,k as Co}from"./__chunks__/chunk-LHEH7L4L.mjs";import{a as ao,b as bo}from"./__chunks__/chunk-C4CJOZ4L.mjs";import{a as Go,b as Ho,c as Io,d as Jo,e as Ko,f as Lo,g as Mo,h as No,i as Oo,j as Po}from"./__chunks__/chunk-EJV4VNJG.mjs";import{a as Qo}from"./__chunks__/chunk-2X7ENE6Y.mjs";import{a as co,b as go,c as ho,d as io,e as jo,f as ko,g as lo}from"./__chunks__/chunk-FI444OX3.mjs";import{a as Do,b as Eo,c as Fo}from"./__chunks__/chunk-PPA7AFVD.mjs";import{a as K,b as L,c as M,d as N,e as O,f as P,g as Q,h as R,i as S,j as T,k as U}from"./__chunks__/chunk-ULUZWP2P.mjs";import{a as oo,b as ro}from"./__chunks__/chunk-GGBMHKR4.mjs";import{a as Z,b as _,c as $}from"./__chunks__/chunk-MGFIOCA4.mjs";import{a as B,b as C,c as D,d as E,e as F,f as G,g as H,h as I,i as J}from"./__chunks__/chunk-GLXG5BES.mjs";import"./__chunks__/chunk-MCOVQEK7.mjs";import"./__chunks__/chunk-DTQL3IDP.mjs";import{a as Yo}from"./__chunks__/chunk-LRHRFWQ4.mjs";import{a as Gr}from"./__chunks__/chunk-AJEWAECH.mjs";import"./__chunks__/chunk-RVW2ZWCR.mjs";import{a as Fr}from"./__chunks__/chunk-EHDGJUEU.mjs";import{a as Er}from"./__chunks__/chunk-HOCSCRJF.mjs";import{a as xo}from"./__chunks__/chunk-7QCBLUWB.mjs";import{a as Dr}from"./__chunks__/chunk-UE3IBKCO.mjs";import"./__chunks__/chunk-H6IZMTJK.mjs";import{a as Xo}from"./__chunks__/chunk-B2UIPHJ3.mjs";export{o as ACCOUNTS_ENDPOINT,r as ADDRESS_ENDPOINT,Ao as ALL_SHARDS_SHARD_ID,e as BLOCKS_ENDPOINT,f as CODE_ENDPOINT,m as COLLECTIONS_ENDPOINT,p as CONFIG_ENDPOINT,t as CONTRACTS_ENDPOINT,L as DEVNET_CHAIN_ID,M as DEVNET_EGLD_LABEL,x as ECONOMICS_ENDPOINT,_ as ELLIPSIS,$ as EMPTY_PPU,G as ESDTTransferTypesEnum,uo as EXTRA_GAS_LIMIT_GUARDED_TX,B as EnvironmentsEnum,to as FormatAmountController,so as GAS_LIMIT,qo as GAS_PER_DATA_BYTE,vo as GAS_PRICE,no as GAS_PRICE_MODIFIER,H as GuardianActionsEnum,a as IDENTITIES_ENDPOINT,b as KEYS_ENDPOINT,yo as LEDGER_CONTRACT_DATA_ENABLED_VALUE,go as LEDGER_HASH_SIGN_MINIMUM_VERSION,co as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,ho as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,jo as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,ko as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,io as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,c as LOCKED_ACCOUNTS_ENDPOINT,d as LOGS_ENDPOINT,P as MAINNET_CHAIN_ID,Q as MAINNET_EGLD_LABEL,zo as METACHAIN_SHARD_ID,g as MINIBLOCKS_ENDPOINT,T as MULTIVERSX_ORIGIN,Co as MULTI_TRANSFER_EGLD_TOKEN,h as NETWORK_CONFIG_ENDPOINT,i as NFTS_ENDPOINT,j as NODES_ENDPOINT,Z as N_A,k as PROVIDERS_ENDPOINT,_o as ProviderErrorsEnum,Bo as REFUNDED_GAS,l as ROLES_ENDPOINT,n as SC_RESULTS_ENDPOINT,q as STAKE_ENDPOINT,I as SigningErrorsEnum,J as SigningWarningsEnum,$o as SubscriptionsEnum,N as TESTNET_CHAIN_ID,O as TESTNET_EGLD_LABEL,U as TIMEOUT,s as TOKENS_ENDPOINT,v as TRANSACTIONS_BATCH,u as TRANSACTIONS_COUNT_ENDPOINT,w as TRANSACTIONS_ENDPOINT,y as TRANSFERS_ENDPOINT,E as TransactionBatchStatusesEnum,C as TransactionServerStatusesEnum,D as TransactionTypesEnum,F as TypesOfSmartContractCallsEnum,wo as VERSION,Oo as WALLET_PROVIDER_CALLBACK_PARAM,Po as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,Jo as WALLET_PROVIDER_CONNECT_URL,Ho as WALLET_PROVIDER_DEVNET,Ko as WALLET_PROVIDER_DISCONNECT_URL,Go as WALLET_PROVIDER_MAINNET,Lo as WALLET_PROVIDER_SEND_TRANSACTION_URL,No as WALLET_PROVIDER_SIGN_MESSAGE_URL,Mo as WALLET_PROVIDER_SIGN_TRANSACTION_URL,Io as WALLET_PROVIDER_TESTNET,oo as WebsocketConnectionStatusEnum,V as accountFetcher,kr as addressIsValid,mo as axiosFetcher,z as axiosInstance,Er as buildUrlParams,R as chainIdByEnvironment,S as chainIdToEnvironment,zr as createTransactionsHistoryFromSessions,Wo as decodeBase64,tr as decodePart,Vo as encodeToBase64,cr as explorerUrlBuilder,K as fallbackNetworkConfigurations,or as fetchAccount,W as getAccountFromApi,dr as getActiveTransactionsStatus,ur as getAddressFromDataField,A as getCleanApiAddress,gr as getHumanReadableTimeFormat,eo as getIdentifierType,Fr as getIsAuthRoute,Gr as getIsInIframe,Y as getNetworkConfigFromApi,hr as getReceiverData,X as getServerConfiguration,fo as getTokenDetails,jr as getTransactionAmount,vr as getTransactionAsset,Br as getTransactionsHistory,To as getUnixTimestamp,fr as getUnixTimestampWithAddedMilliseconds,mr as getUnixTimestampWithAddedSeconds,po as getWebsocketUrl,Yo as getWindowLocation,xr as isAscii,bo as isBrowserWithPopupConfirmation,qr as isContract,lr as isHexValidCharacters,nr as isHexValidLength,ao as isSafari,sr as isSelfESDTContract,Uo as isStringBase64,pr as isUtf8,Xo as isWindowAvailable,lo as ledgerErrorCodes,Ar as mapServerTransactionsToListItems,yr as mapTransactionToListItem,Cr as maxDecimals,Zo as nativeAuth,Do as persistConfig,ir as processTransactionAction,wr as processTransactionAssets,Qo as providerLabels,er as refreshAccount,So as retryMultipleTimes,xo as safeWindow,Dr as sanitizeCallbackUrl,br as setAxiosInterceptors,Ro as sleep,Eo as storage,ar as stringContainsNumbers,Fo as subscriptions,rr as trimUsernameDomain,ro as websocketConnection};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  import type { CustomElementsDefineOptions } from '@multiversx/sdk-dapp-ui/dist/loader';
2
- export type { MvxLedgerFlow } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-ledger-flow';
2
+ export type { MvxLedgerConnect } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-ledger-connect';
3
3
  export type { MvxSignTransactionsPanel } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-sign-transactions-panel';
4
- export type { MvxWalletConnectProvider } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-wallet-connect-provider';
4
+ export type { MvxWalletConnect } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-wallet-connect';
5
5
  export type { MvxPendingTransactionsPanel } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-pending-transactions-panel';
6
6
  export type { MvxNotificationsFeed } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-notifications-feed';
7
7
  export type { MvxToastList } from '@multiversx/sdk-dapp-ui/dist/web-components/mvx-toast-list';
@@ -1,2 +1,2 @@
1
- import{a}from"../__chunks__/chunk-7TOTBAGV.mjs";export{a as defineCustomElements};
1
+ import{a}from"../__chunks__/chunk-VMFJUT3G.mjs";export{a as defineCustomElements};
2
2
  //# sourceMappingURL=sdkDappUi.mjs.map
@@ -9,7 +9,7 @@ interface INotificationsFeedManagerData {
9
9
  declare const NOTIFICATIONS_FEED_STORE_SUBSCRIBE = "NOTIFICATIONS_FEED_STORE_SUBSCRIBE";
10
10
  export declare class NotificationsFeedManager extends SidePanelBaseManager<MvxNotificationsFeed, INotificationsFeedManagerData, NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE> {
11
11
  private static instance;
12
- private store;
12
+ private readonly store;
13
13
  protected initialData: INotificationsFeedManagerData;
14
14
  static getInstance(): NotificationsFeedManager;
15
15
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsFeedManager.js","sourceRoot":"","sources":["../../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts"],"names":[],"mappings":";;;;;;AAAA,oEAAqC;AACrC,uDAAmD;AACnD,6FAA0F;AAE1F,wFAA4F;AAC5F,uCAAuC;AACvC,mCAAsD;AACtD,0CAA2C;AAC3C,gGAA6F;AAC7F,gHAA6G;AAQ7G,MAAM,kCAAkC,GAAG,oCAAoC,CAAC;AAEhF,MAAa,wBAAyB,SAAQ,2CAI7C;IASQ,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC;YACvC,wBAAwB,CAAC,QAAQ,GAAG,IAAI,wBAAwB,EAAE,CAAC;QACrE,CAAC;QACD,OAAO,wBAAwB,CAAC,QAAQ,CAAC;IAC3C,CAAC;IAED;QACE,KAAK,CAAC;YACJ,iBAAiB,EAAE,mCAA2B,CAAC,IAAI;YACnD,KAAK,EAAE,wBAAU,CAAC,kBAAkB;SACrC,CAAC,CAAC;QAlBG,UAAK,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AAuB;QACnC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,OAAO,CACnB,mCAA2B,CAAC,2BAA2B,EACvD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAC9B,CAAC;QAEF,IAAI,CAAC,QAAQ,CAAC,OAAO,CACnB,mCAA2B,CAAC,2BAA2B,EACvD,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAC/B,CAAC;IACJ,CAAC;CACF;AA9HD,4DA8HC"}
1
+ {"version":3,"file":"NotificationsFeedManager.js","sourceRoot":"","sources":["../../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts"],"names":[],"mappings":";;;;;;AAAA,oEAAqC;AACrC,uDAAmD;AACnD,6FAA0F;AAE1F,wFAA4F;AAC5F,uCAAuC;AACvC,mCAAsD;AACtD,0CAA2C;AAC3C,gGAA6F;AAC7F,gHAA6G;AAQ7G,MAAM,kCAAkC,GAAG,oCAAoC,CAAC;AAEhF,MAAa,wBAAyB,SAAQ,2CAI7C;IASQ,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC;YACvC,wBAAwB,CAAC,QAAQ,GAAG,IAAI,wBAAwB,EAAE,CAAC;QACrE,CAAC;QACD,OAAO,wBAAwB,CAAC,QAAQ,CAAC;IAC3C,CAAC;IAED;QACE,KAAK,CAAC;YACJ,iBAAiB,EAAE,mCAA2B,CAAC,IAAI;YACnD,KAAK,EAAE,wBAAU,CAAC,kBAAkB;SACrC,CAAC,CAAC;QAlBY,UAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;QAE1B,gBAAW,GAAkC;YACrD,mBAAmB,EAAE,EAAE;YACvB,oBAAoB,EAAE,EAAE;SACzB,CAAC;QAcA,IAAI,CAAC,IAAI,GAAG,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACtC,CAAC;IAEM,uBAAuB;QAC5B,OA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