@multiversx/sdk-dapp 5.5.1 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/README.md +5 -0
  2. package/out/__chunks__/{chunk-2DUOXMZP.mjs → chunk-2DW7TQJ7.mjs} +2 -2
  3. package/out/__chunks__/{chunk-RVTPQ3R5.mjs → chunk-2NIE3WNK.mjs} +2 -2
  4. package/out/__chunks__/{chunk-43SX7DUF.mjs → chunk-2PJP3H72.mjs} +2 -2
  5. package/out/__chunks__/{chunk-2LIUW5CF.mjs → chunk-2S5WHIFT.mjs} +2 -2
  6. package/out/__chunks__/{chunk-OLXCFQVN.mjs → chunk-2XGFPNHN.mjs} +2 -2
  7. package/out/__chunks__/{chunk-LABBTN37.mjs → chunk-3AYP4TKJ.mjs} +2 -2
  8. package/out/__chunks__/{chunk-UXWVVWTD.mjs → chunk-3VJNYMSP.mjs} +2 -2
  9. package/out/__chunks__/{chunk-4CGAWZR6.mjs → chunk-3XGEELWS.mjs} +2 -2
  10. package/out/__chunks__/{chunk-GWZUTQLT.mjs → chunk-4KA3OVFJ.mjs} +2 -2
  11. package/out/__chunks__/chunk-4U4NN2BV.mjs +2 -0
  12. package/out/__chunks__/{chunk-XGALUTQ5.mjs → chunk-57EKOYML.mjs} +2 -2
  13. package/out/__chunks__/{chunk-QIXUIO74.mjs → chunk-5CTCDH76.mjs} +2 -2
  14. package/out/__chunks__/{chunk-T3SGVYSV.mjs → chunk-5ETHXOLQ.mjs} +2 -2
  15. package/out/__chunks__/{chunk-CE4N3GKT.mjs → chunk-5MF4CGC2.mjs} +2 -2
  16. package/out/__chunks__/{chunk-HXFVUYGK.mjs → chunk-5MIUR7TV.mjs} +2 -2
  17. package/out/__chunks__/chunk-5UOXJCVE.mjs +2 -0
  18. package/out/__chunks__/{chunk-QLDZFO7M.mjs.map → chunk-5UOXJCVE.mjs.map} +1 -1
  19. package/out/__chunks__/{chunk-YP65EQFP.mjs → chunk-75FZNOHX.mjs} +2 -2
  20. package/out/__chunks__/chunk-7KZRDBRD.mjs +2 -0
  21. package/out/__chunks__/{chunk-6CMARMS2.mjs → chunk-AUUO3J3I.mjs} +2 -2
  22. package/out/__chunks__/{chunk-7DNJ6NZI.mjs → chunk-B2YN2K4Y.mjs} +2 -2
  23. package/out/__chunks__/{chunk-6DAQAOWP.mjs → chunk-B7W4YLNC.mjs} +2 -2
  24. package/out/__chunks__/{chunk-S5DCQEU2.mjs → chunk-C7JC6X43.mjs} +2 -2
  25. package/out/__chunks__/{chunk-EKBFVSFP.mjs → chunk-CEEQLHQZ.mjs} +2 -2
  26. package/out/__chunks__/{chunk-A4KOSUVU.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-W25UUI6O.mjs → chunk-EKYWBNA4.mjs} +2 -2
  32. package/out/__chunks__/{chunk-3JRG3AWF.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-GBYZHNPO.mjs → chunk-GYT3GRW7.mjs} +2 -2
  36. package/out/__chunks__/{chunk-OXJJPBYT.mjs → chunk-H7BMGYSW.mjs} +2 -2
  37. package/out/__chunks__/{chunk-2SYDJSIO.mjs → chunk-HCPI3NQP.mjs} +2 -2
  38. package/out/__chunks__/{chunk-YXWMQGAB.mjs → chunk-HQKLV6UC.mjs} +2 -2
  39. package/out/__chunks__/{chunk-MNKQNWZS.mjs → chunk-HSBPXEYO.mjs} +2 -2
  40. package/out/__chunks__/chunk-HX4LWMG4.mjs +2 -0
  41. package/out/__chunks__/{chunk-JSYDF4GF.mjs → chunk-HZS3BVBK.mjs} +2 -2
  42. package/out/__chunks__/{chunk-K4FRH3YU.mjs → chunk-IBNTHQ5J.mjs} +2 -2
  43. package/out/__chunks__/chunk-IC7LTFNH.mjs +2 -0
  44. package/out/__chunks__/{chunk-S3EO22CE.mjs → chunk-IE7KB5QA.mjs} +2 -2
  45. package/out/__chunks__/chunk-JRQIDKAA.mjs +2 -0
  46. package/out/__chunks__/chunk-JRQIDKAA.mjs.map +7 -0
  47. package/out/__chunks__/{chunk-URNYMHJN.mjs → chunk-KSZ6KLOV.mjs} +2 -2
  48. package/out/__chunks__/{chunk-3TM6K4Z4.mjs → chunk-KV2IW2CT.mjs} +2 -2
  49. package/out/__chunks__/chunk-KWVOWN7D.mjs +2 -0
  50. package/out/__chunks__/{chunk-COPAYHAQ.mjs → chunk-KX6CNV2K.mjs} +2 -2
  51. package/out/__chunks__/{chunk-M3G5E4TL.mjs → chunk-L53UGE2V.mjs} +2 -2
  52. package/out/__chunks__/{chunk-W4GIORRC.mjs → chunk-LLP256EY.mjs} +2 -2
  53. package/out/__chunks__/{chunk-WRQ5IRXO.mjs → chunk-M2CIC466.mjs} +2 -2
  54. package/out/__chunks__/{chunk-IEUUVTQ5.mjs → chunk-M46Q3HDT.mjs} +2 -2
  55. package/out/__chunks__/{chunk-44AUEOAU.mjs → chunk-MS4HJKFQ.mjs} +2 -2
  56. package/out/__chunks__/{chunk-LY5VXESF.mjs → chunk-OEVIK4XL.mjs} +2 -2
  57. package/out/__chunks__/{chunk-AIKIPJUG.mjs → chunk-OFCQKFNJ.mjs} +2 -2
  58. package/out/__chunks__/{chunk-BB7POIGL.mjs → chunk-OQ7JOMPY.mjs} +2 -2
  59. package/out/__chunks__/{chunk-WUKB2V3K.mjs → chunk-OZHVKT7L.mjs} +2 -2
  60. package/out/__chunks__/{chunk-XVRM5XQM.mjs → chunk-PSMZAY5L.mjs} +2 -2
  61. package/out/__chunks__/{chunk-ZKFUF6BU.mjs → chunk-Q55HCS7B.mjs} +2 -2
  62. package/out/__chunks__/chunk-QVSS57NF.mjs +2 -0
  63. package/out/__chunks__/{chunk-LZKKBLOO.mjs → chunk-R4PQZ3KR.mjs} +2 -2
  64. package/out/__chunks__/{chunk-DCF6BLSL.mjs → chunk-RQA4GYJ2.mjs} +2 -2
  65. package/out/__chunks__/{chunk-LSAYT6GA.mjs → chunk-RVNLIKEM.mjs} +2 -2
  66. package/out/__chunks__/{chunk-UTSW2MIB.mjs → chunk-S56636YA.mjs} +2 -2
  67. package/out/__chunks__/{chunk-YNJSOBXM.mjs → chunk-S6Z7SK4I.mjs} +2 -2
  68. package/out/__chunks__/{chunk-C65TZQBZ.mjs → chunk-SIS54TKT.mjs} +2 -2
  69. package/out/__chunks__/{chunk-V3VSL4SQ.mjs → chunk-T4B7EPFP.mjs} +2 -2
  70. package/out/__chunks__/{chunk-TDRQ3OLY.mjs → chunk-THWJWM3U.mjs} +2 -2
  71. package/out/__chunks__/chunk-TOTEIAZR.mjs +2 -0
  72. package/out/__chunks__/{chunk-5PENJRCS.mjs → chunk-TRTXNUSR.mjs} +2 -2
  73. package/out/__chunks__/{chunk-USAIPG7X.mjs → chunk-TSXYRZYR.mjs} +2 -2
  74. package/out/__chunks__/{chunk-Z7TITNCM.mjs → chunk-TUY5CCZR.mjs} +2 -2
  75. package/out/__chunks__/{chunk-CT5LMMAW.mjs → chunk-UGOYRSVR.mjs} +2 -2
  76. package/out/__chunks__/{chunk-BPOXONMJ.mjs → chunk-UPPVQNFF.mjs} +2 -2
  77. package/out/__chunks__/{chunk-M5COEJ24.mjs → chunk-UUT43IJZ.mjs} +2 -2
  78. package/out/__chunks__/chunk-VCFLLUN2.mjs +2 -0
  79. package/out/__chunks__/{chunk-TZCZXHWQ.mjs → chunk-VNO3UPYV.mjs} +2 -2
  80. package/out/__chunks__/{chunk-B77BJX6Z.mjs → chunk-VQCBZHSJ.mjs} +2 -2
  81. package/out/__chunks__/{chunk-6TJZZHFV.mjs → chunk-W4PB2EPE.mjs} +2 -2
  82. package/out/__chunks__/{chunk-N3J6ROD5.mjs → chunk-WDKKHXUY.mjs} +2 -2
  83. package/out/__chunks__/{chunk-AOF7QPPF.mjs → chunk-WO45TI6N.mjs} +2 -2
  84. package/out/__chunks__/chunk-XDV6WH5M.mjs +2 -0
  85. package/out/__chunks__/{chunk-AXZ3DHTB.mjs → chunk-XMZ5CAST.mjs} +2 -2
  86. package/out/__chunks__/chunk-XPRJTAQX.mjs +2 -0
  87. package/out/__chunks__/{chunk-3DZPVOPO.mjs → chunk-YEBTFFUW.mjs} +2 -2
  88. package/out/__chunks__/{chunk-764JPTJ7.mjs → chunk-YKGVZIZL.mjs} +2 -2
  89. package/out/__chunks__/{chunk-P3Z2DQ5Y.mjs → chunk-YSJOMOP6.mjs} +2 -2
  90. package/out/__chunks__/{chunk-AVEWWANG.mjs → chunk-YZ4QKLL4.mjs} +2 -2
  91. package/out/__chunks__/{chunk-P3WDIKX5.mjs → chunk-Z7OIZBTP.mjs} +2 -2
  92. package/out/__chunks__/{chunk-U3GPFT4V.mjs → chunk-ZG72FAAC.mjs} +2 -2
  93. package/out/__chunks__/{chunk-XZ3C4DZL.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.d.ts +1 -1
  110. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  111. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  112. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  113. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  114. package/out/lib/sdkDappUi.mjs +1 -1
  115. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  116. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  117. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  118. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  119. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  120. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  121. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  122. package/out/managers/ToastManager/index.mjs +1 -1
  123. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  124. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  125. package/out/managers/TransactionManager/index.mjs +1 -1
  126. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  127. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
  128. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +3 -1
  129. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  130. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +1 -1
  131. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
  132. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +13 -2
  133. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
  134. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  135. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  136. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  137. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  138. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  139. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  140. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  141. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  142. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  143. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  144. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  145. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  146. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  147. package/out/methods/account/getAccount.mjs +1 -1
  148. package/out/methods/account/getAccountInfo.mjs +1 -1
  149. package/out/methods/account/getAddress.mjs +1 -1
  150. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  151. package/out/methods/account/getLatestNonce.mjs +1 -1
  152. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  153. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  154. package/out/methods/initApp/initApp.mjs +1 -1
  155. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  156. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  157. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  158. package/out/methods/network/getEgldLabel.mjs +1 -1
  159. package/out/methods/network/getExplorerAddress.mjs +1 -1
  160. package/out/methods/network/getNetworkConfig.mjs +1 -1
  161. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  162. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  163. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  164. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  165. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  166. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  167. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  168. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  169. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  170. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  171. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  172. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  173. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  174. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  175. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  176. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  177. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  178. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  179. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  180. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  181. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  182. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  183. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  184. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  185. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  186. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  187. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  188. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  189. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  190. package/out/providers/DappProvider/index.mjs +1 -1
  191. package/out/providers/ProviderFactory.mjs +1 -1
  192. package/out/providers/helpers/accountProvider.mjs +1 -1
  193. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  194. package/out/providers/helpers/restoreProvider.mjs +1 -1
  195. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  196. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  197. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  198. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  199. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  200. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  201. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  202. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  203. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  204. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  205. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  206. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  207. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  208. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  209. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  210. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  211. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  212. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  213. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  214. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  215. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  216. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  217. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  218. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  219. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  220. package/out/providers/strategies/helpers/index.mjs +1 -1
  221. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  222. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  223. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  224. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  225. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  226. package/out/react/account/useGetAccount.mjs +1 -1
  227. package/out/react/account/useGetAccountInfo.mjs +1 -1
  228. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  229. package/out/react/account/useGetLatestNonce.mjs +1 -1
  230. package/out/react/index.mjs +1 -1
  231. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  232. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  233. package/out/react/store/getReactStore.mjs +1 -1
  234. package/out/react/store/useSelector.mjs +1 -1
  235. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  236. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  237. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  238. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  239. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  240. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  241. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  242. package/out/services/nativeAuth/index.mjs +1 -1
  243. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  244. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  245. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  246. package/out/store/actions/account/accountActions.mjs +1 -1
  247. package/out/store/actions/account/index.mjs +1 -1
  248. package/out/store/actions/cache/cacheActions.mjs +1 -1
  249. package/out/store/actions/cache/index.mjs +1 -1
  250. package/out/store/actions/config/configActions.mjs +1 -1
  251. package/out/store/actions/config/index.mjs +1 -1
  252. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  253. package/out/store/actions/network/index.mjs +1 -1
  254. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  255. package/out/store/actions/network/networkActions.mjs +1 -1
  256. package/out/store/actions/sharedActions/index.mjs +1 -1
  257. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  258. package/out/store/actions/toasts/index.mjs +1 -1
  259. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  260. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  261. package/out/store/actions/ui/index.mjs +1 -1
  262. package/out/store/actions/ui/uiActions.mjs +1 -1
  263. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  264. package/out/store/middleware/index.mjs +1 -1
  265. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  266. package/out/store/storage/index.mjs +1 -1
  267. package/out/store/storage/storageCallback.mjs +1 -1
  268. package/out/store/store.mjs +1 -1
  269. package/out/utils/ComponentFactory.mjs +1 -1
  270. package/out/utils/account/fetchAccount.mjs +1 -1
  271. package/out/utils/account/refreshAccount.mjs +1 -1
  272. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  273. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  274. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  275. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  276. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  277. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  278. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  279. package/out/utils/visual/switchTheme.mjs +1 -1
  280. package/out/utils/window/getIsInIframe.mjs +1 -1
  281. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  282. package/package.json +2 -2
  283. package/out/__chunks__/chunk-32Z4H2Q4.mjs +0 -2
  284. package/out/__chunks__/chunk-6ZVWYKKI.mjs +0 -2
  285. package/out/__chunks__/chunk-7MGK7ZUE.mjs +0 -2
  286. package/out/__chunks__/chunk-CZGN3YPT.mjs +0 -2
  287. package/out/__chunks__/chunk-DJUPAQRK.mjs +0 -2
  288. package/out/__chunks__/chunk-EET35YZW.mjs +0 -2
  289. package/out/__chunks__/chunk-GQFB3L2J.mjs +0 -2
  290. package/out/__chunks__/chunk-LZQXEMRC.mjs +0 -2
  291. package/out/__chunks__/chunk-NJUTBWG5.mjs +0 -2
  292. package/out/__chunks__/chunk-NTCDPOM4.mjs +0 -2
  293. package/out/__chunks__/chunk-NZGZ2C45.mjs +0 -2
  294. package/out/__chunks__/chunk-NZGZ2C45.mjs.map +0 -7
  295. package/out/__chunks__/chunk-ON2ITKZA.mjs +0 -2
  296. package/out/__chunks__/chunk-QLDZFO7M.mjs +0 -2
  297. package/out/__chunks__/chunk-RVO7H26H.mjs +0 -2
  298. package/out/__chunks__/chunk-RVO7H26H.mjs.map +0 -7
  299. package/out/__chunks__/chunk-WGXHIBDE.mjs +0 -2
  300. package/out/__chunks__/chunk-WOMDF37F.mjs +0 -2
  301. package/out/__chunks__/chunk-XVZUH5QS.mjs +0 -2
  302. /package/out/__chunks__/{chunk-2DUOXMZP.mjs.map → chunk-2DW7TQJ7.mjs.map} +0 -0
  303. /package/out/__chunks__/{chunk-RVTPQ3R5.mjs.map → chunk-2NIE3WNK.mjs.map} +0 -0
  304. /package/out/__chunks__/{chunk-43SX7DUF.mjs.map → chunk-2PJP3H72.mjs.map} +0 -0
  305. /package/out/__chunks__/{chunk-2LIUW5CF.mjs.map → chunk-2S5WHIFT.mjs.map} +0 -0
  306. /package/out/__chunks__/{chunk-OLXCFQVN.mjs.map → chunk-2XGFPNHN.mjs.map} +0 -0
  307. /package/out/__chunks__/{chunk-LABBTN37.mjs.map → chunk-3AYP4TKJ.mjs.map} +0 -0
  308. /package/out/__chunks__/{chunk-UXWVVWTD.mjs.map → chunk-3VJNYMSP.mjs.map} +0 -0
  309. /package/out/__chunks__/{chunk-4CGAWZR6.mjs.map → chunk-3XGEELWS.mjs.map} +0 -0
  310. /package/out/__chunks__/{chunk-GWZUTQLT.mjs.map → chunk-4KA3OVFJ.mjs.map} +0 -0
  311. /package/out/__chunks__/{chunk-7MGK7ZUE.mjs.map → chunk-4U4NN2BV.mjs.map} +0 -0
  312. /package/out/__chunks__/{chunk-XGALUTQ5.mjs.map → chunk-57EKOYML.mjs.map} +0 -0
  313. /package/out/__chunks__/{chunk-QIXUIO74.mjs.map → chunk-5CTCDH76.mjs.map} +0 -0
  314. /package/out/__chunks__/{chunk-T3SGVYSV.mjs.map → chunk-5ETHXOLQ.mjs.map} +0 -0
  315. /package/out/__chunks__/{chunk-CE4N3GKT.mjs.map → chunk-5MF4CGC2.mjs.map} +0 -0
  316. /package/out/__chunks__/{chunk-HXFVUYGK.mjs.map → chunk-5MIUR7TV.mjs.map} +0 -0
  317. /package/out/__chunks__/{chunk-YP65EQFP.mjs.map → chunk-75FZNOHX.mjs.map} +0 -0
  318. /package/out/__chunks__/{chunk-6ZVWYKKI.mjs.map → chunk-7KZRDBRD.mjs.map} +0 -0
  319. /package/out/__chunks__/{chunk-6CMARMS2.mjs.map → chunk-AUUO3J3I.mjs.map} +0 -0
  320. /package/out/__chunks__/{chunk-7DNJ6NZI.mjs.map → chunk-B2YN2K4Y.mjs.map} +0 -0
  321. /package/out/__chunks__/{chunk-6DAQAOWP.mjs.map → chunk-B7W4YLNC.mjs.map} +0 -0
  322. /package/out/__chunks__/{chunk-S5DCQEU2.mjs.map → chunk-C7JC6X43.mjs.map} +0 -0
  323. /package/out/__chunks__/{chunk-EKBFVSFP.mjs.map → chunk-CEEQLHQZ.mjs.map} +0 -0
  324. /package/out/__chunks__/{chunk-A4KOSUVU.mjs.map → chunk-CSBQZF3J.mjs.map} +0 -0
  325. /package/out/__chunks__/{chunk-XVZUH5QS.mjs.map → chunk-D7EX7MUQ.mjs.map} +0 -0
  326. /package/out/__chunks__/{chunk-CZGN3YPT.mjs.map → chunk-DIRAY5XU.mjs.map} +0 -0
  327. /package/out/__chunks__/{chunk-W25UUI6O.mjs.map → chunk-EKYWBNA4.mjs.map} +0 -0
  328. /package/out/__chunks__/{chunk-3JRG3AWF.mjs.map → chunk-FE7JVDOF.mjs.map} +0 -0
  329. /package/out/__chunks__/{chunk-DJUPAQRK.mjs.map → chunk-GI2BXTON.mjs.map} +0 -0
  330. /package/out/__chunks__/{chunk-NJUTBWG5.mjs.map → chunk-GNBEFY25.mjs.map} +0 -0
  331. /package/out/__chunks__/{chunk-GBYZHNPO.mjs.map → chunk-GYT3GRW7.mjs.map} +0 -0
  332. /package/out/__chunks__/{chunk-OXJJPBYT.mjs.map → chunk-H7BMGYSW.mjs.map} +0 -0
  333. /package/out/__chunks__/{chunk-2SYDJSIO.mjs.map → chunk-HCPI3NQP.mjs.map} +0 -0
  334. /package/out/__chunks__/{chunk-YXWMQGAB.mjs.map → chunk-HQKLV6UC.mjs.map} +0 -0
  335. /package/out/__chunks__/{chunk-MNKQNWZS.mjs.map → chunk-HSBPXEYO.mjs.map} +0 -0
  336. /package/out/__chunks__/{chunk-EET35YZW.mjs.map → chunk-HX4LWMG4.mjs.map} +0 -0
  337. /package/out/__chunks__/{chunk-JSYDF4GF.mjs.map → chunk-HZS3BVBK.mjs.map} +0 -0
  338. /package/out/__chunks__/{chunk-K4FRH3YU.mjs.map → chunk-IBNTHQ5J.mjs.map} +0 -0
  339. /package/out/__chunks__/{chunk-32Z4H2Q4.mjs.map → chunk-IC7LTFNH.mjs.map} +0 -0
  340. /package/out/__chunks__/{chunk-S3EO22CE.mjs.map → chunk-IE7KB5QA.mjs.map} +0 -0
  341. /package/out/__chunks__/{chunk-URNYMHJN.mjs.map → chunk-KSZ6KLOV.mjs.map} +0 -0
  342. /package/out/__chunks__/{chunk-3TM6K4Z4.mjs.map → chunk-KV2IW2CT.mjs.map} +0 -0
  343. /package/out/__chunks__/{chunk-WOMDF37F.mjs.map → chunk-KWVOWN7D.mjs.map} +0 -0
  344. /package/out/__chunks__/{chunk-COPAYHAQ.mjs.map → chunk-KX6CNV2K.mjs.map} +0 -0
  345. /package/out/__chunks__/{chunk-M3G5E4TL.mjs.map → chunk-L53UGE2V.mjs.map} +0 -0
  346. /package/out/__chunks__/{chunk-W4GIORRC.mjs.map → chunk-LLP256EY.mjs.map} +0 -0
  347. /package/out/__chunks__/{chunk-WRQ5IRXO.mjs.map → chunk-M2CIC466.mjs.map} +0 -0
  348. /package/out/__chunks__/{chunk-IEUUVTQ5.mjs.map → chunk-M46Q3HDT.mjs.map} +0 -0
  349. /package/out/__chunks__/{chunk-44AUEOAU.mjs.map → chunk-MS4HJKFQ.mjs.map} +0 -0
  350. /package/out/__chunks__/{chunk-LY5VXESF.mjs.map → chunk-OEVIK4XL.mjs.map} +0 -0
  351. /package/out/__chunks__/{chunk-AIKIPJUG.mjs.map → chunk-OFCQKFNJ.mjs.map} +0 -0
  352. /package/out/__chunks__/{chunk-BB7POIGL.mjs.map → chunk-OQ7JOMPY.mjs.map} +0 -0
  353. /package/out/__chunks__/{chunk-WUKB2V3K.mjs.map → chunk-OZHVKT7L.mjs.map} +0 -0
  354. /package/out/__chunks__/{chunk-XVRM5XQM.mjs.map → chunk-PSMZAY5L.mjs.map} +0 -0
  355. /package/out/__chunks__/{chunk-ZKFUF6BU.mjs.map → chunk-Q55HCS7B.mjs.map} +0 -0
  356. /package/out/__chunks__/{chunk-LZQXEMRC.mjs.map → chunk-QVSS57NF.mjs.map} +0 -0
  357. /package/out/__chunks__/{chunk-LZKKBLOO.mjs.map → chunk-R4PQZ3KR.mjs.map} +0 -0
  358. /package/out/__chunks__/{chunk-DCF6BLSL.mjs.map → chunk-RQA4GYJ2.mjs.map} +0 -0
  359. /package/out/__chunks__/{chunk-LSAYT6GA.mjs.map → chunk-RVNLIKEM.mjs.map} +0 -0
  360. /package/out/__chunks__/{chunk-UTSW2MIB.mjs.map → chunk-S56636YA.mjs.map} +0 -0
  361. /package/out/__chunks__/{chunk-YNJSOBXM.mjs.map → chunk-S6Z7SK4I.mjs.map} +0 -0
  362. /package/out/__chunks__/{chunk-C65TZQBZ.mjs.map → chunk-SIS54TKT.mjs.map} +0 -0
  363. /package/out/__chunks__/{chunk-V3VSL4SQ.mjs.map → chunk-T4B7EPFP.mjs.map} +0 -0
  364. /package/out/__chunks__/{chunk-TDRQ3OLY.mjs.map → chunk-THWJWM3U.mjs.map} +0 -0
  365. /package/out/__chunks__/{chunk-GQFB3L2J.mjs.map → chunk-TOTEIAZR.mjs.map} +0 -0
  366. /package/out/__chunks__/{chunk-5PENJRCS.mjs.map → chunk-TRTXNUSR.mjs.map} +0 -0
  367. /package/out/__chunks__/{chunk-USAIPG7X.mjs.map → chunk-TSXYRZYR.mjs.map} +0 -0
  368. /package/out/__chunks__/{chunk-Z7TITNCM.mjs.map → chunk-TUY5CCZR.mjs.map} +0 -0
  369. /package/out/__chunks__/{chunk-CT5LMMAW.mjs.map → chunk-UGOYRSVR.mjs.map} +0 -0
  370. /package/out/__chunks__/{chunk-BPOXONMJ.mjs.map → chunk-UPPVQNFF.mjs.map} +0 -0
  371. /package/out/__chunks__/{chunk-M5COEJ24.mjs.map → chunk-UUT43IJZ.mjs.map} +0 -0
  372. /package/out/__chunks__/{chunk-WGXHIBDE.mjs.map → chunk-VCFLLUN2.mjs.map} +0 -0
  373. /package/out/__chunks__/{chunk-TZCZXHWQ.mjs.map → chunk-VNO3UPYV.mjs.map} +0 -0
  374. /package/out/__chunks__/{chunk-B77BJX6Z.mjs.map → chunk-VQCBZHSJ.mjs.map} +0 -0
  375. /package/out/__chunks__/{chunk-6TJZZHFV.mjs.map → chunk-W4PB2EPE.mjs.map} +0 -0
  376. /package/out/__chunks__/{chunk-N3J6ROD5.mjs.map → chunk-WDKKHXUY.mjs.map} +0 -0
  377. /package/out/__chunks__/{chunk-AOF7QPPF.mjs.map → chunk-WO45TI6N.mjs.map} +0 -0
  378. /package/out/__chunks__/{chunk-NTCDPOM4.mjs.map → chunk-XDV6WH5M.mjs.map} +0 -0
  379. /package/out/__chunks__/{chunk-AXZ3DHTB.mjs.map → chunk-XMZ5CAST.mjs.map} +0 -0
  380. /package/out/__chunks__/{chunk-ON2ITKZA.mjs.map → chunk-XPRJTAQX.mjs.map} +0 -0
  381. /package/out/__chunks__/{chunk-3DZPVOPO.mjs.map → chunk-YEBTFFUW.mjs.map} +0 -0
  382. /package/out/__chunks__/{chunk-764JPTJ7.mjs.map → chunk-YKGVZIZL.mjs.map} +0 -0
  383. /package/out/__chunks__/{chunk-P3Z2DQ5Y.mjs.map → chunk-YSJOMOP6.mjs.map} +0 -0
  384. /package/out/__chunks__/{chunk-AVEWWANG.mjs.map → chunk-YZ4QKLL4.mjs.map} +0 -0
  385. /package/out/__chunks__/{chunk-P3WDIKX5.mjs.map → chunk-Z7OIZBTP.mjs.map} +0 -0
  386. /package/out/__chunks__/{chunk-U3GPFT4V.mjs.map → chunk-ZG72FAAC.mjs.map} +0 -0
  387. /package/out/__chunks__/{chunk-XZ3C4DZL.mjs.map → chunk-ZHLQ6ML2.mjs.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiversx/sdk-dapp",
3
- "version": "5.5.1",
3
+ "version": "5.6.0",
4
4
  "description": "A library to hold the main logic for a dapp on the MultiversX blockchain",
5
5
  "author": "MultiversX",
6
6
  "license": "MIT",
@@ -95,7 +95,6 @@
95
95
  "devDependencies": {
96
96
  "@eslint/js": "9.15.0",
97
97
  "@multiversx/sdk-core": "^15.x",
98
- "protobufjs": "^7.2.6",
99
98
  "@multiversx/sdk-dapp-utils": "^3.x",
100
99
  "@swc/core": "1.4.17",
101
100
  "@swc/jest": "0.2.36",
@@ -133,6 +132,7 @@
133
132
  "msw": "1.3.1",
134
133
  "node-stdlib-browser": "1.3.1",
135
134
  "prettier": "3.2.5",
135
+ "protobufjs": "^7.2.6",
136
136
  "react": "18.2.0",
137
137
  "ts-jest": "29.1.2",
138
138
  "tsc-alias": "1.8.9",
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-XGALUTQ5.mjs";function f(r=t()){return o(r)}export{f as a};
2
- //# sourceMappingURL=chunk-32Z4H2Q4.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-EMIDMARK.mjs";import{q as e}from"./chunk-XGALUTQ5.mjs";var m=()=>t(e());export{m as a};
2
- //# sourceMappingURL=chunk-6ZVWYKKI.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-6ZVWYKKI.mjs";function S(e){return t()(e)}export{S as a};
2
- //# sourceMappingURL=chunk-7MGK7ZUE.mjs.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-QLDZFO7M.mjs";var o=()=>a.localStorage;export{o as a};
2
- //# sourceMappingURL=chunk-CZGN3YPT.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as e}from"./chunk-XGALUTQ5.mjs";import{f as t}from"./chunk-FK6DWWZF.mjs";function n(o=e()){return t(o)}export{n as a};
2
- //# sourceMappingURL=chunk-DJUPAQRK.mjs.map
@@ -1,2 +0,0 @@
1
- import{q as t}from"./chunk-XGALUTQ5.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
- //# sourceMappingURL=chunk-EET35YZW.mjs.map
@@ -1,2 +0,0 @@
1
- import{b as r}from"./chunk-UTWIKUIK.mjs";import{s as t}from"./chunk-XGALUTQ5.mjs";var i=(e,o)=>r(`transaction-${e}`)(o??t())??null;export{i as a};
2
- //# sourceMappingURL=chunk-GQFB3L2J.mjs.map
@@ -1,2 +0,0 @@
1
- import{b as t}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-XGALUTQ5.mjs";function g(r=e()){return t(r).egldLabel}export{g as a};
2
- //# sourceMappingURL=chunk-LZQXEMRC.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as o}from"./chunk-XGALUTQ5.mjs";import{a as t}from"./chunk-FK6DWWZF.mjs";function n(r=o()){return t(r)}export{n as a};
2
- //# sourceMappingURL=chunk-NJUTBWG5.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-BB7POIGL.mjs";import{c as n}from"./chunk-XGALUTQ5.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-NTCDPOM4.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-XZ3C4DZL.mjs";import{a as l}from"./chunk-LSAYT6GA.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-XGALUTQ5.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(o()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async 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(a){console.error(a),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-NZGZ2C45.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 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,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOM,GAElC,CACA,CAACA,GAAS,iBAAmBR,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAS,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACV,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEW,EAAyBX,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAE,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBV,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAS,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,MAAML,EAAgB,QAAQ,CAChC,EAxFE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKa,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAsEF,EA9Gab,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMc,EAANd",
6
- "names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-K4FRH3YU.mjs";var o={async getTransactionsHistory(s){return await t(s)}};export{o as a};
2
- //# sourceMappingURL=chunk-ON2ITKZA.mjs.map
@@ -1,2 +0,0 @@
1
- var o=typeof window<"u"?window:{},n="5.5.1";export{o as a,n as b};
2
- //# sourceMappingURL=chunk-QLDZFO7M.mjs.map
@@ -1,2 +0,0 @@
1
- var e=(o=>(o.OPEN="OPEN",o.CLOSE="CLOSE",o.LOGIN="LOGIN",o.CANCEL_LOGIN="CANCEL_LOGIN",o.CANCEL_IN_PROVIDER="CANCEL_IN_PROVIDER",o.ANCHOR_CLOSE="ANCHOR_CLOSE",o))(e||{});export{e as a};
2
- //# sourceMappingURL=chunk-RVO7H26H.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 /**\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,qBAIrBA,EAAA,aAAe,eATLA,OAAA",
6
- "names": ["UnlockPanelEventsEnum"]
7
- }
@@ -1,2 +0,0 @@
1
- import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-XGALUTQ5.mjs";function d(t=r()){return e(t).explorerAddress}export{d as a};
2
- //# sourceMappingURL=chunk-WGXHIBDE.mjs.map
@@ -1,2 +0,0 @@
1
- import{b as t}from"./chunk-Z7TITNCM.mjs";var c=o=>t(o);export{c as a};
2
- //# sourceMappingURL=chunk-WOMDF37F.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as t}from"./chunk-XGALUTQ5.mjs";import{c as r}from"./chunk-FK6DWWZF.mjs";function m(e=t()){return r(e)}export{m as a};
2
- //# sourceMappingURL=chunk-XVZUH5QS.mjs.map