@multiversx/sdk-dapp 5.5.2 → 5.6.1

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 (385) hide show
  1. package/README.md +3 -0
  2. package/out/__chunks__/{chunk-5MYF4FXA.mjs → chunk-2DW7TQJ7.mjs} +2 -2
  3. package/out/__chunks__/{chunk-XTMUHTQL.mjs → chunk-2NIE3WNK.mjs} +2 -2
  4. package/out/__chunks__/{chunk-HAASOAIF.mjs → chunk-2PJP3H72.mjs} +2 -2
  5. package/out/__chunks__/{chunk-GXQ2T4I6.mjs → chunk-2S5WHIFT.mjs} +2 -2
  6. package/out/__chunks__/{chunk-F3BH7APK.mjs → chunk-2XGFPNHN.mjs} +2 -2
  7. package/out/__chunks__/{chunk-M4UKLRRZ.mjs → chunk-3AYP4TKJ.mjs} +2 -2
  8. package/out/__chunks__/{chunk-PUJ6U5VY.mjs → chunk-3VJNYMSP.mjs} +2 -2
  9. package/out/__chunks__/{chunk-CN7Q4PAK.mjs → chunk-3XGEELWS.mjs} +2 -2
  10. package/out/__chunks__/{chunk-PSVVUUWE.mjs → chunk-4KA3OVFJ.mjs} +2 -2
  11. package/out/__chunks__/chunk-4U4NN2BV.mjs +2 -0
  12. package/out/__chunks__/{chunk-56LVHY6G.mjs → chunk-57EKOYML.mjs} +2 -2
  13. package/out/__chunks__/{chunk-LXOBPUVH.mjs → chunk-5CTCDH76.mjs} +2 -2
  14. package/out/__chunks__/{chunk-6P4UYDEH.mjs → chunk-5ETHXOLQ.mjs} +2 -2
  15. package/out/__chunks__/{chunk-PBMBPWBN.mjs → chunk-5MF4CGC2.mjs} +2 -2
  16. package/out/__chunks__/{chunk-4HRP3IO5.mjs → chunk-5MIUR7TV.mjs} +2 -2
  17. package/out/__chunks__/chunk-5UOXJCVE.mjs +2 -0
  18. package/out/__chunks__/{chunk-NXT4VIRT.mjs.map → chunk-5UOXJCVE.mjs.map} +1 -1
  19. package/out/__chunks__/{chunk-6NXXKXQD.mjs → chunk-75FZNOHX.mjs} +2 -2
  20. package/out/__chunks__/chunk-7KZRDBRD.mjs +2 -0
  21. package/out/__chunks__/{chunk-JKJQPTXA.mjs → chunk-AUUO3J3I.mjs} +2 -2
  22. package/out/__chunks__/{chunk-MHQ5LO3X.mjs → chunk-B2YN2K4Y.mjs} +2 -2
  23. package/out/__chunks__/{chunk-XII5X5WW.mjs → chunk-B7W4YLNC.mjs} +2 -2
  24. package/out/__chunks__/{chunk-AWBM2UZB.mjs → chunk-C7JC6X43.mjs} +2 -2
  25. package/out/__chunks__/{chunk-DBCUOZVQ.mjs → chunk-CEEQLHQZ.mjs} +2 -2
  26. package/out/__chunks__/{chunk-CWU7HLWJ.mjs → chunk-CSBQZF3J.mjs} +2 -2
  27. package/out/__chunks__/chunk-D4TXTRNG.mjs +2 -0
  28. package/out/__chunks__/chunk-D4TXTRNG.mjs.map +7 -0
  29. package/out/__chunks__/chunk-D7EX7MUQ.mjs +2 -0
  30. package/out/__chunks__/chunk-DIRAY5XU.mjs +2 -0
  31. package/out/__chunks__/{chunk-AMO7KAHJ.mjs → chunk-EKYWBNA4.mjs} +2 -2
  32. package/out/__chunks__/{chunk-ODZVKBRI.mjs → chunk-FE7JVDOF.mjs} +2 -2
  33. package/out/__chunks__/chunk-GI2BXTON.mjs +2 -0
  34. package/out/__chunks__/chunk-GNBEFY25.mjs +2 -0
  35. package/out/__chunks__/{chunk-AT3CRFXK.mjs → chunk-GYT3GRW7.mjs} +2 -2
  36. package/out/__chunks__/{chunk-UIHLSCDT.mjs → chunk-H7BMGYSW.mjs} +2 -2
  37. package/out/__chunks__/{chunk-VVYGAKV2.mjs → chunk-HCPI3NQP.mjs} +2 -2
  38. package/out/__chunks__/{chunk-AUNVKFIH.mjs → chunk-HQKLV6UC.mjs} +2 -2
  39. package/out/__chunks__/{chunk-N4ERTSXN.mjs → chunk-HSBPXEYO.mjs} +2 -2
  40. package/out/__chunks__/chunk-HX4LWMG4.mjs +2 -0
  41. package/out/__chunks__/{chunk-WF6WR5Q6.mjs → chunk-HZS3BVBK.mjs} +2 -2
  42. package/out/__chunks__/{chunk-SDXVVQQO.mjs → chunk-IBNTHQ5J.mjs} +2 -2
  43. package/out/__chunks__/chunk-IC7LTFNH.mjs +2 -0
  44. package/out/__chunks__/{chunk-E6HRB4NY.mjs → chunk-IE7KB5QA.mjs} +2 -2
  45. package/out/__chunks__/{chunk-JYGTD4Z6.mjs → chunk-JRQIDKAA.mjs} +1 -1
  46. package/out/__chunks__/chunk-JRQIDKAA.mjs.map +7 -0
  47. package/out/__chunks__/{chunk-PH4CXCVB.mjs → chunk-KSZ6KLOV.mjs} +2 -2
  48. package/out/__chunks__/{chunk-R5HLHBSG.mjs → chunk-KV2IW2CT.mjs} +2 -2
  49. package/out/__chunks__/chunk-KWVOWN7D.mjs +2 -0
  50. package/out/__chunks__/{chunk-X5WGNXA6.mjs → chunk-KX6CNV2K.mjs} +2 -2
  51. package/out/__chunks__/{chunk-D57AI24E.mjs → chunk-L53UGE2V.mjs} +2 -2
  52. package/out/__chunks__/{chunk-4RI5BDTQ.mjs → chunk-LLP256EY.mjs} +2 -2
  53. package/out/__chunks__/{chunk-7GT77JV3.mjs → chunk-M2CIC466.mjs} +2 -2
  54. package/out/__chunks__/{chunk-OHDFIRJV.mjs → chunk-M46Q3HDT.mjs} +2 -2
  55. package/out/__chunks__/{chunk-6GI4GJJM.mjs → chunk-MS4HJKFQ.mjs} +2 -2
  56. package/out/__chunks__/{chunk-3Q7KW43M.mjs → chunk-OEVIK4XL.mjs} +2 -2
  57. package/out/__chunks__/{chunk-HB272ZMK.mjs → chunk-OFCQKFNJ.mjs} +2 -2
  58. package/out/__chunks__/{chunk-YOYBYWNH.mjs → chunk-OQ7JOMPY.mjs} +2 -2
  59. package/out/__chunks__/{chunk-ERZNTTM4.mjs → chunk-OZHVKT7L.mjs} +2 -2
  60. package/out/__chunks__/{chunk-XG6USU6W.mjs → chunk-PSMZAY5L.mjs} +2 -2
  61. package/out/__chunks__/{chunk-SUY52XEJ.mjs → chunk-Q55HCS7B.mjs} +2 -2
  62. package/out/__chunks__/chunk-QVSS57NF.mjs +2 -0
  63. package/out/__chunks__/{chunk-IDX37YNY.mjs → chunk-R4PQZ3KR.mjs} +2 -2
  64. package/out/__chunks__/{chunk-JFZRSL4X.mjs → chunk-RQA4GYJ2.mjs} +2 -2
  65. package/out/__chunks__/{chunk-TGXFOUA3.mjs → chunk-RVNLIKEM.mjs} +2 -2
  66. package/out/__chunks__/{chunk-FS7DIHGE.mjs → chunk-S56636YA.mjs} +2 -2
  67. package/out/__chunks__/{chunk-FBEZG2HT.mjs → chunk-S6Z7SK4I.mjs} +2 -2
  68. package/out/__chunks__/{chunk-RO4EUTX6.mjs → chunk-SIS54TKT.mjs} +2 -2
  69. package/out/__chunks__/{chunk-2M2GV2W7.mjs → chunk-T4B7EPFP.mjs} +2 -2
  70. package/out/__chunks__/{chunk-ALXWQ4AW.mjs → chunk-THWJWM3U.mjs} +2 -2
  71. package/out/__chunks__/chunk-TOTEIAZR.mjs +2 -0
  72. package/out/__chunks__/{chunk-QPFZOAPW.mjs → chunk-TRTXNUSR.mjs} +2 -2
  73. package/out/__chunks__/{chunk-KOLUKI2M.mjs → chunk-TSXYRZYR.mjs} +2 -2
  74. package/out/__chunks__/{chunk-WQ2UDBF5.mjs → chunk-TUY5CCZR.mjs} +2 -2
  75. package/out/__chunks__/{chunk-OM4WELDA.mjs → chunk-UGOYRSVR.mjs} +2 -2
  76. package/out/__chunks__/{chunk-FEH7HYZ7.mjs → chunk-UPPVQNFF.mjs} +2 -2
  77. package/out/__chunks__/{chunk-7KLR4KNT.mjs → chunk-UUT43IJZ.mjs} +2 -2
  78. package/out/__chunks__/chunk-VCFLLUN2.mjs +2 -0
  79. package/out/__chunks__/{chunk-THMOVML2.mjs → chunk-VNO3UPYV.mjs} +2 -2
  80. package/out/__chunks__/{chunk-7YPNGNL4.mjs → chunk-VQCBZHSJ.mjs} +2 -2
  81. package/out/__chunks__/{chunk-55IS6LOB.mjs → chunk-W4PB2EPE.mjs} +2 -2
  82. package/out/__chunks__/{chunk-DFFL2BRF.mjs → chunk-WDKKHXUY.mjs} +2 -2
  83. package/out/__chunks__/{chunk-JMAPPHO2.mjs → chunk-WO45TI6N.mjs} +2 -2
  84. package/out/__chunks__/chunk-XDV6WH5M.mjs +2 -0
  85. package/out/__chunks__/{chunk-VPPZKEMN.mjs → chunk-XMZ5CAST.mjs} +2 -2
  86. package/out/__chunks__/chunk-XPRJTAQX.mjs +2 -0
  87. package/out/__chunks__/{chunk-XN7FWSH5.mjs → chunk-YEBTFFUW.mjs} +2 -2
  88. package/out/__chunks__/{chunk-NJNDC4GE.mjs → chunk-YKGVZIZL.mjs} +2 -2
  89. package/out/__chunks__/{chunk-7UQUNW33.mjs → chunk-YSJOMOP6.mjs} +2 -2
  90. package/out/__chunks__/{chunk-ANNRMKCC.mjs → chunk-YZ4QKLL4.mjs} +2 -2
  91. package/out/__chunks__/{chunk-YTNNUNXA.mjs → chunk-Z7OIZBTP.mjs} +2 -2
  92. package/out/__chunks__/{chunk-5GSVYADK.mjs → chunk-ZG72FAAC.mjs} +2 -2
  93. package/out/__chunks__/{chunk-EFUAR4GY.mjs → chunk-ZHLQ6ML2.mjs} +2 -2
  94. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  95. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  96. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  97. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  98. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  99. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  100. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  101. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  102. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  103. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  104. package/out/constants/browser.constants.mjs +1 -1
  105. package/out/constants/storage.constants.mjs +1 -1
  106. package/out/constants/window.constants.cjs +1 -1
  107. package/out/constants/window.constants.cjs.map +1 -1
  108. package/out/constants/window.constants.mjs +1 -1
  109. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  110. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  111. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  112. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  113. package/out/lib/sdkDappUi.mjs +1 -1
  114. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  115. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  116. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  117. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  118. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  119. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  120. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  121. package/out/managers/ToastManager/index.mjs +1 -1
  122. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  123. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  124. package/out/managers/TransactionManager/index.mjs +1 -1
  125. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  126. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
  127. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +1 -0
  128. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  129. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +1 -1
  130. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +1 -1
  131. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +12 -2
  132. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
  133. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  134. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  135. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  136. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  137. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  138. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  139. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  140. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  141. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  142. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  143. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  144. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  145. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  146. package/out/methods/account/getAccount.mjs +1 -1
  147. package/out/methods/account/getAccountInfo.mjs +1 -1
  148. package/out/methods/account/getAddress.mjs +1 -1
  149. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  150. package/out/methods/account/getLatestNonce.mjs +1 -1
  151. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  152. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  153. package/out/methods/initApp/initApp.mjs +1 -1
  154. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  155. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  156. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  157. package/out/methods/network/getEgldLabel.mjs +1 -1
  158. package/out/methods/network/getExplorerAddress.mjs +1 -1
  159. package/out/methods/network/getNetworkConfig.mjs +1 -1
  160. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  161. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  162. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  163. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  164. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  165. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  166. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  167. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  168. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  169. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  170. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  171. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  172. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  173. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  174. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  175. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  176. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  177. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  178. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  179. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  180. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  181. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  182. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  183. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  184. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  185. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  186. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  187. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  188. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  189. package/out/providers/DappProvider/index.mjs +1 -1
  190. package/out/providers/ProviderFactory.mjs +1 -1
  191. package/out/providers/helpers/accountProvider.mjs +1 -1
  192. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  193. package/out/providers/helpers/restoreProvider.mjs +1 -1
  194. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  195. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  196. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  197. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  198. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  199. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  200. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  201. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  202. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  203. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  204. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  205. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  206. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  207. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  208. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  209. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  210. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  211. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  212. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  213. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  214. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  215. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  216. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  217. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  218. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  219. package/out/providers/strategies/helpers/index.mjs +1 -1
  220. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  221. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  222. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  223. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  224. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  225. package/out/react/account/useGetAccount.mjs +1 -1
  226. package/out/react/account/useGetAccountInfo.mjs +1 -1
  227. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  228. package/out/react/account/useGetLatestNonce.mjs +1 -1
  229. package/out/react/index.mjs +1 -1
  230. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  231. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  232. package/out/react/store/getReactStore.mjs +1 -1
  233. package/out/react/store/useSelector.mjs +1 -1
  234. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  235. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  236. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  237. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  238. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  239. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  240. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  241. package/out/services/nativeAuth/index.mjs +1 -1
  242. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  243. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  244. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  245. package/out/store/actions/account/accountActions.mjs +1 -1
  246. package/out/store/actions/account/index.mjs +1 -1
  247. package/out/store/actions/cache/cacheActions.mjs +1 -1
  248. package/out/store/actions/cache/index.mjs +1 -1
  249. package/out/store/actions/config/configActions.mjs +1 -1
  250. package/out/store/actions/config/index.mjs +1 -1
  251. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  252. package/out/store/actions/network/index.mjs +1 -1
  253. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  254. package/out/store/actions/network/networkActions.mjs +1 -1
  255. package/out/store/actions/sharedActions/index.mjs +1 -1
  256. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  257. package/out/store/actions/toasts/index.mjs +1 -1
  258. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  259. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  260. package/out/store/actions/ui/index.mjs +1 -1
  261. package/out/store/actions/ui/uiActions.mjs +1 -1
  262. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  263. package/out/store/middleware/index.mjs +1 -1
  264. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  265. package/out/store/storage/index.mjs +1 -1
  266. package/out/store/storage/storageCallback.mjs +1 -1
  267. package/out/store/store.mjs +1 -1
  268. package/out/utils/ComponentFactory.mjs +1 -1
  269. package/out/utils/account/fetchAccount.mjs +1 -1
  270. package/out/utils/account/refreshAccount.mjs +1 -1
  271. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  272. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  273. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  274. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  275. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  276. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  277. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  278. package/out/utils/visual/switchTheme.mjs +1 -1
  279. package/out/utils/window/getIsInIframe.mjs +1 -1
  280. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  281. package/package.json +1 -1
  282. package/out/__chunks__/chunk-3CO6LABA.mjs +0 -2
  283. package/out/__chunks__/chunk-3OH4D5BR.mjs +0 -2
  284. package/out/__chunks__/chunk-4BOBCAS4.mjs +0 -2
  285. package/out/__chunks__/chunk-5TP23QQT.mjs +0 -2
  286. package/out/__chunks__/chunk-ABH5J67J.mjs +0 -2
  287. package/out/__chunks__/chunk-AN2Y2R26.mjs +0 -2
  288. package/out/__chunks__/chunk-CFERWTQA.mjs +0 -2
  289. package/out/__chunks__/chunk-HC6I7WWS.mjs +0 -2
  290. package/out/__chunks__/chunk-HOW7OPIZ.mjs +0 -2
  291. package/out/__chunks__/chunk-IODERSYI.mjs +0 -2
  292. package/out/__chunks__/chunk-JYGTD4Z6.mjs.map +0 -7
  293. package/out/__chunks__/chunk-L2CFZJIP.mjs +0 -2
  294. package/out/__chunks__/chunk-NXT4VIRT.mjs +0 -2
  295. package/out/__chunks__/chunk-PF5D2RX6.mjs +0 -2
  296. package/out/__chunks__/chunk-PF5D2RX6.mjs.map +0 -7
  297. package/out/__chunks__/chunk-T37IWTKY.mjs +0 -2
  298. package/out/__chunks__/chunk-TMSAOTEB.mjs +0 -2
  299. package/out/__chunks__/chunk-WIE353OP.mjs +0 -2
  300. /package/out/__chunks__/{chunk-5MYF4FXA.mjs.map → chunk-2DW7TQJ7.mjs.map} +0 -0
  301. /package/out/__chunks__/{chunk-XTMUHTQL.mjs.map → chunk-2NIE3WNK.mjs.map} +0 -0
  302. /package/out/__chunks__/{chunk-HAASOAIF.mjs.map → chunk-2PJP3H72.mjs.map} +0 -0
  303. /package/out/__chunks__/{chunk-GXQ2T4I6.mjs.map → chunk-2S5WHIFT.mjs.map} +0 -0
  304. /package/out/__chunks__/{chunk-F3BH7APK.mjs.map → chunk-2XGFPNHN.mjs.map} +0 -0
  305. /package/out/__chunks__/{chunk-M4UKLRRZ.mjs.map → chunk-3AYP4TKJ.mjs.map} +0 -0
  306. /package/out/__chunks__/{chunk-PUJ6U5VY.mjs.map → chunk-3VJNYMSP.mjs.map} +0 -0
  307. /package/out/__chunks__/{chunk-CN7Q4PAK.mjs.map → chunk-3XGEELWS.mjs.map} +0 -0
  308. /package/out/__chunks__/{chunk-PSVVUUWE.mjs.map → chunk-4KA3OVFJ.mjs.map} +0 -0
  309. /package/out/__chunks__/{chunk-WIE353OP.mjs.map → chunk-4U4NN2BV.mjs.map} +0 -0
  310. /package/out/__chunks__/{chunk-56LVHY6G.mjs.map → chunk-57EKOYML.mjs.map} +0 -0
  311. /package/out/__chunks__/{chunk-LXOBPUVH.mjs.map → chunk-5CTCDH76.mjs.map} +0 -0
  312. /package/out/__chunks__/{chunk-6P4UYDEH.mjs.map → chunk-5ETHXOLQ.mjs.map} +0 -0
  313. /package/out/__chunks__/{chunk-PBMBPWBN.mjs.map → chunk-5MF4CGC2.mjs.map} +0 -0
  314. /package/out/__chunks__/{chunk-4HRP3IO5.mjs.map → chunk-5MIUR7TV.mjs.map} +0 -0
  315. /package/out/__chunks__/{chunk-6NXXKXQD.mjs.map → chunk-75FZNOHX.mjs.map} +0 -0
  316. /package/out/__chunks__/{chunk-ABH5J67J.mjs.map → chunk-7KZRDBRD.mjs.map} +0 -0
  317. /package/out/__chunks__/{chunk-JKJQPTXA.mjs.map → chunk-AUUO3J3I.mjs.map} +0 -0
  318. /package/out/__chunks__/{chunk-MHQ5LO3X.mjs.map → chunk-B2YN2K4Y.mjs.map} +0 -0
  319. /package/out/__chunks__/{chunk-XII5X5WW.mjs.map → chunk-B7W4YLNC.mjs.map} +0 -0
  320. /package/out/__chunks__/{chunk-AWBM2UZB.mjs.map → chunk-C7JC6X43.mjs.map} +0 -0
  321. /package/out/__chunks__/{chunk-DBCUOZVQ.mjs.map → chunk-CEEQLHQZ.mjs.map} +0 -0
  322. /package/out/__chunks__/{chunk-CWU7HLWJ.mjs.map → chunk-CSBQZF3J.mjs.map} +0 -0
  323. /package/out/__chunks__/{chunk-4BOBCAS4.mjs.map → chunk-D7EX7MUQ.mjs.map} +0 -0
  324. /package/out/__chunks__/{chunk-AN2Y2R26.mjs.map → chunk-DIRAY5XU.mjs.map} +0 -0
  325. /package/out/__chunks__/{chunk-AMO7KAHJ.mjs.map → chunk-EKYWBNA4.mjs.map} +0 -0
  326. /package/out/__chunks__/{chunk-ODZVKBRI.mjs.map → chunk-FE7JVDOF.mjs.map} +0 -0
  327. /package/out/__chunks__/{chunk-HC6I7WWS.mjs.map → chunk-GI2BXTON.mjs.map} +0 -0
  328. /package/out/__chunks__/{chunk-IODERSYI.mjs.map → chunk-GNBEFY25.mjs.map} +0 -0
  329. /package/out/__chunks__/{chunk-AT3CRFXK.mjs.map → chunk-GYT3GRW7.mjs.map} +0 -0
  330. /package/out/__chunks__/{chunk-UIHLSCDT.mjs.map → chunk-H7BMGYSW.mjs.map} +0 -0
  331. /package/out/__chunks__/{chunk-VVYGAKV2.mjs.map → chunk-HCPI3NQP.mjs.map} +0 -0
  332. /package/out/__chunks__/{chunk-AUNVKFIH.mjs.map → chunk-HQKLV6UC.mjs.map} +0 -0
  333. /package/out/__chunks__/{chunk-N4ERTSXN.mjs.map → chunk-HSBPXEYO.mjs.map} +0 -0
  334. /package/out/__chunks__/{chunk-TMSAOTEB.mjs.map → chunk-HX4LWMG4.mjs.map} +0 -0
  335. /package/out/__chunks__/{chunk-WF6WR5Q6.mjs.map → chunk-HZS3BVBK.mjs.map} +0 -0
  336. /package/out/__chunks__/{chunk-SDXVVQQO.mjs.map → chunk-IBNTHQ5J.mjs.map} +0 -0
  337. /package/out/__chunks__/{chunk-CFERWTQA.mjs.map → chunk-IC7LTFNH.mjs.map} +0 -0
  338. /package/out/__chunks__/{chunk-E6HRB4NY.mjs.map → chunk-IE7KB5QA.mjs.map} +0 -0
  339. /package/out/__chunks__/{chunk-PH4CXCVB.mjs.map → chunk-KSZ6KLOV.mjs.map} +0 -0
  340. /package/out/__chunks__/{chunk-R5HLHBSG.mjs.map → chunk-KV2IW2CT.mjs.map} +0 -0
  341. /package/out/__chunks__/{chunk-L2CFZJIP.mjs.map → chunk-KWVOWN7D.mjs.map} +0 -0
  342. /package/out/__chunks__/{chunk-X5WGNXA6.mjs.map → chunk-KX6CNV2K.mjs.map} +0 -0
  343. /package/out/__chunks__/{chunk-D57AI24E.mjs.map → chunk-L53UGE2V.mjs.map} +0 -0
  344. /package/out/__chunks__/{chunk-4RI5BDTQ.mjs.map → chunk-LLP256EY.mjs.map} +0 -0
  345. /package/out/__chunks__/{chunk-7GT77JV3.mjs.map → chunk-M2CIC466.mjs.map} +0 -0
  346. /package/out/__chunks__/{chunk-OHDFIRJV.mjs.map → chunk-M46Q3HDT.mjs.map} +0 -0
  347. /package/out/__chunks__/{chunk-6GI4GJJM.mjs.map → chunk-MS4HJKFQ.mjs.map} +0 -0
  348. /package/out/__chunks__/{chunk-3Q7KW43M.mjs.map → chunk-OEVIK4XL.mjs.map} +0 -0
  349. /package/out/__chunks__/{chunk-HB272ZMK.mjs.map → chunk-OFCQKFNJ.mjs.map} +0 -0
  350. /package/out/__chunks__/{chunk-YOYBYWNH.mjs.map → chunk-OQ7JOMPY.mjs.map} +0 -0
  351. /package/out/__chunks__/{chunk-ERZNTTM4.mjs.map → chunk-OZHVKT7L.mjs.map} +0 -0
  352. /package/out/__chunks__/{chunk-XG6USU6W.mjs.map → chunk-PSMZAY5L.mjs.map} +0 -0
  353. /package/out/__chunks__/{chunk-SUY52XEJ.mjs.map → chunk-Q55HCS7B.mjs.map} +0 -0
  354. /package/out/__chunks__/{chunk-HOW7OPIZ.mjs.map → chunk-QVSS57NF.mjs.map} +0 -0
  355. /package/out/__chunks__/{chunk-IDX37YNY.mjs.map → chunk-R4PQZ3KR.mjs.map} +0 -0
  356. /package/out/__chunks__/{chunk-JFZRSL4X.mjs.map → chunk-RQA4GYJ2.mjs.map} +0 -0
  357. /package/out/__chunks__/{chunk-TGXFOUA3.mjs.map → chunk-RVNLIKEM.mjs.map} +0 -0
  358. /package/out/__chunks__/{chunk-FS7DIHGE.mjs.map → chunk-S56636YA.mjs.map} +0 -0
  359. /package/out/__chunks__/{chunk-FBEZG2HT.mjs.map → chunk-S6Z7SK4I.mjs.map} +0 -0
  360. /package/out/__chunks__/{chunk-RO4EUTX6.mjs.map → chunk-SIS54TKT.mjs.map} +0 -0
  361. /package/out/__chunks__/{chunk-2M2GV2W7.mjs.map → chunk-T4B7EPFP.mjs.map} +0 -0
  362. /package/out/__chunks__/{chunk-ALXWQ4AW.mjs.map → chunk-THWJWM3U.mjs.map} +0 -0
  363. /package/out/__chunks__/{chunk-3CO6LABA.mjs.map → chunk-TOTEIAZR.mjs.map} +0 -0
  364. /package/out/__chunks__/{chunk-QPFZOAPW.mjs.map → chunk-TRTXNUSR.mjs.map} +0 -0
  365. /package/out/__chunks__/{chunk-KOLUKI2M.mjs.map → chunk-TSXYRZYR.mjs.map} +0 -0
  366. /package/out/__chunks__/{chunk-WQ2UDBF5.mjs.map → chunk-TUY5CCZR.mjs.map} +0 -0
  367. /package/out/__chunks__/{chunk-OM4WELDA.mjs.map → chunk-UGOYRSVR.mjs.map} +0 -0
  368. /package/out/__chunks__/{chunk-FEH7HYZ7.mjs.map → chunk-UPPVQNFF.mjs.map} +0 -0
  369. /package/out/__chunks__/{chunk-7KLR4KNT.mjs.map → chunk-UUT43IJZ.mjs.map} +0 -0
  370. /package/out/__chunks__/{chunk-T37IWTKY.mjs.map → chunk-VCFLLUN2.mjs.map} +0 -0
  371. /package/out/__chunks__/{chunk-THMOVML2.mjs.map → chunk-VNO3UPYV.mjs.map} +0 -0
  372. /package/out/__chunks__/{chunk-7YPNGNL4.mjs.map → chunk-VQCBZHSJ.mjs.map} +0 -0
  373. /package/out/__chunks__/{chunk-55IS6LOB.mjs.map → chunk-W4PB2EPE.mjs.map} +0 -0
  374. /package/out/__chunks__/{chunk-DFFL2BRF.mjs.map → chunk-WDKKHXUY.mjs.map} +0 -0
  375. /package/out/__chunks__/{chunk-JMAPPHO2.mjs.map → chunk-WO45TI6N.mjs.map} +0 -0
  376. /package/out/__chunks__/{chunk-5TP23QQT.mjs.map → chunk-XDV6WH5M.mjs.map} +0 -0
  377. /package/out/__chunks__/{chunk-VPPZKEMN.mjs.map → chunk-XMZ5CAST.mjs.map} +0 -0
  378. /package/out/__chunks__/{chunk-3OH4D5BR.mjs.map → chunk-XPRJTAQX.mjs.map} +0 -0
  379. /package/out/__chunks__/{chunk-XN7FWSH5.mjs.map → chunk-YEBTFFUW.mjs.map} +0 -0
  380. /package/out/__chunks__/{chunk-NJNDC4GE.mjs.map → chunk-YKGVZIZL.mjs.map} +0 -0
  381. /package/out/__chunks__/{chunk-7UQUNW33.mjs.map → chunk-YSJOMOP6.mjs.map} +0 -0
  382. /package/out/__chunks__/{chunk-ANNRMKCC.mjs.map → chunk-YZ4QKLL4.mjs.map} +0 -0
  383. /package/out/__chunks__/{chunk-YTNNUNXA.mjs.map → chunk-Z7OIZBTP.mjs.map} +0 -0
  384. /package/out/__chunks__/{chunk-5GSVYADK.mjs.map → chunk-ZG72FAAC.mjs.map} +0 -0
  385. /package/out/__chunks__/{chunk-EFUAR4GY.mjs.map → chunk-ZHLQ6ML2.mjs.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{b as r}from"./chunk-UTWIKUIK.mjs";import{s as t}from"./chunk-56LVHY6G.mjs";var i=(e,o)=>r(`transaction-${e}`)(o??t())??null;export{i as a};
2
- //# sourceMappingURL=chunk-3CO6LABA.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-SDXVVQQO.mjs";var o={async getTransactionsHistory(s){return await t(s)}};export{o as a};
2
- //# sourceMappingURL=chunk-3OH4D5BR.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as t}from"./chunk-56LVHY6G.mjs";import{c as r}from"./chunk-FK6DWWZF.mjs";function m(e=t()){return r(e)}export{m as a};
2
- //# sourceMappingURL=chunk-4BOBCAS4.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-YOYBYWNH.mjs";import{c as n}from"./chunk-56LVHY6G.mjs";async function c({loginToken:r,extraInfoData:i,address:e}){let o=await t({originalLoginToken:r,extraInfoData:i,address:e});return o.modifiedLoginToken&&n(o.modifiedLoginToken),o.address}export{c as a};
2
- //# sourceMappingURL=chunk-5TP23QQT.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-56LVHY6G.mjs";var m=()=>t(e());export{m as a};
2
- //# sourceMappingURL=chunk-ABH5J67J.mjs.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-NXT4VIRT.mjs";var o=()=>a.localStorage;export{o as a};
2
- //# sourceMappingURL=chunk-AN2Y2R26.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-56LVHY6G.mjs";function f(r=t()){return o(r)}export{f as a};
2
- //# sourceMappingURL=chunk-CFERWTQA.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as e}from"./chunk-56LVHY6G.mjs";import{f as t}from"./chunk-FK6DWWZF.mjs";function n(o=e()){return t(o)}export{n as a};
2
- //# sourceMappingURL=chunk-HC6I7WWS.mjs.map
@@ -1,2 +0,0 @@
1
- import{b as t}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-56LVHY6G.mjs";function g(r=e()){return t(r).egldLabel}export{g as a};
2
- //# sourceMappingURL=chunk-HOW7OPIZ.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as o}from"./chunk-56LVHY6G.mjs";import{a as t}from"./chunk-FK6DWWZF.mjs";function n(r=o()){return t(r)}export{n as a};
2
- //# sourceMappingURL=chunk-IODERSYI.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.types.ts"],
4
- "sourcesContent": ["import {\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\n\nexport enum UnlockPanelEventsEnum {\n OPEN = 'OPEN',\n CLOSE = 'CLOSE',\n LOGIN = 'LOGIN',\n CANCEL_LOGIN = 'CANCEL_LOGIN',\n CANCEL_IN_PROVIDER = 'CANCEL_IN_PROVIDER',\n SELECT_PROVIDER = 'SELECT_PROVIDER',\n /**\n * User clicks Close button inside mounted provider\n */\n ANCHOR_CLOSE = 'ANCHOR_CLOSE'\n}\n\nexport type LoginFunctonType = ({\n type,\n anchor\n}: IProviderFactory) => Promise<void>;\n\nexport type LoginCallbackType = () => void;\n\nexport type LoginHandlerType = LoginFunctonType | LoginCallbackType;\nexport type OnCloseUnlockPanelType = () => void;\n\nexport type UnlockPanelManagerInitParamsType = {\n /**\n * Accepts:\n * - 1\uFE0F\u20E3 a `callback` that is executed after login is performed\n * - 2\uFE0F\u20E3 a `function` that handles the full login process\n * @example\n * ```ts\n * // 1\uFE0F\u20E3 callback\n () => {\n navigate('/dashboard');\n };\n // 2\uFE0F\u20E3 login handler function\n async ({ type, anchor }: IProviderFactory) => {\n const provider = await ProviderFactory.create({\n type,\n anchor\n });\n await provider?.login();\n navigate('/dashboard');\n };\n * ```\n */\n loginHandler: LoginHandlerType;\n /**\n * Controls which providers are shown in the unlock panel. By default, all providers are shown.\n * Editing this property will allow you to:\n * - Hide specific providers\n * - Show only specific providers\n * - Reorder the providers\n * @example\n * ```ts\n * allowedProviders: [ProviderTypeEnum.walletConnect, 'inMemoryProvider']\n * ```\n */\n allowedProviders?: ProviderType[];\n /**\n * Callback function to handle UI behavior when the unlock panel is closed\n * without completing the login process.\n *\n * Common use case: redirecting the user away from the `/unlock` route\n * (e.g., back to the homepage or a previous screen) when login is cancelled or skipped.\n * \n * @example\n * ```ts\n onClose: () => {\n navigate('/');\n }\n * ```\n */\n onClose?: OnCloseUnlockPanelType;\n};\n"],
5
- "mappings": "AAKO,IAAKA,OACVA,EAAA,KAAO,OACPA,EAAA,MAAQ,QACRA,EAAA,MAAQ,QACRA,EAAA,aAAe,eACfA,EAAA,mBAAqB,qBACrBA,EAAA,gBAAkB,kBAIlBA,EAAA,aAAe,eAVLA,OAAA",
6
- "names": ["UnlockPanelEventsEnum"]
7
- }
@@ -1,2 +0,0 @@
1
- import{b as t}from"./chunk-WQ2UDBF5.mjs";var c=o=>t(o);export{c as a};
2
- //# sourceMappingURL=chunk-L2CFZJIP.mjs.map
@@ -1,2 +0,0 @@
1
- var o=typeof window<"u"?window:{},n="5.5.2";export{o as a,n as b};
2
- //# sourceMappingURL=chunk-NXT4VIRT.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-EFUAR4GY.mjs";import{a as l}from"./chunk-TGXFOUA3.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-56LVHY6G.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
2
- //# sourceMappingURL=chunk-PF5D2RX6.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
4
- "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n public selectProvider = (providerType: ProviderType) => {\n if (!this.eventBus) {\n throw new Error('Panel not initialized. Call openUnlockPanel() first.');\n }\n\n this.eventBus.publish(UnlockPanelEventsEnum.SELECT_PROVIDER, {\n providerType\n });\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
5
- "mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAO,eAAkBM,GAA+B,CACtD,GAAI,CAAC,KAAK,SACR,MAAM,IAAI,MAAM,sDAAsD,EAGxE,KAAK,SAAS,0BAA+C,CAC3D,aAAAA,CACF,CAAC,CACH,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOC,GAElC,CACA,CAACA,GAAS,iBAAmBT,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAU,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACX,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEY,EAAyBZ,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAG,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBX,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAU,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAMN,EAAgB,QAAQ,CAChC,EAlGE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKc,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAgFF,EAxHad,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMe,EAANf",
6
- "names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "providerType", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
7
- }
@@ -1,2 +0,0 @@
1
- import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-56LVHY6G.mjs";function d(t=r()){return e(t).explorerAddress}export{d as a};
2
- //# sourceMappingURL=chunk-T37IWTKY.mjs.map
@@ -1,2 +0,0 @@
1
- import{q as t}from"./chunk-56LVHY6G.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
- //# sourceMappingURL=chunk-TMSAOTEB.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-ABH5J67J.mjs";function S(e){return t()(e)}export{S as a};
2
- //# sourceMappingURL=chunk-WIE353OP.mjs.map