@multiversx/sdk-dapp 5.2.4 → 5.2.6
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.
- package/out/__chunks__/{chunk-DVPFOACI.mjs → chunk-2K2QZVBC.mjs} +2 -2
- package/out/__chunks__/{chunk-TZDM7KH7.mjs → chunk-2NF5HX3H.mjs} +2 -2
- package/out/__chunks__/chunk-2TCIBFJT.mjs +2 -0
- package/out/__chunks__/chunk-2TCIBFJT.mjs.map +7 -0
- package/out/__chunks__/{chunk-VTNFUJCE.mjs → chunk-2VRRMEOY.mjs} +2 -2
- package/out/__chunks__/{chunk-7ZUH3TQ2.mjs → chunk-2Y66XRQK.mjs} +2 -2
- package/out/__chunks__/{chunk-E5H5BPFX.mjs → chunk-3OEO7IVT.mjs} +2 -2
- package/out/__chunks__/{chunk-LGAWIVRO.mjs → chunk-3QWTD55I.mjs} +2 -2
- package/out/__chunks__/chunk-4B3YTXMB.mjs +2 -0
- package/out/__chunks__/chunk-4B3YTXMB.mjs.map +7 -0
- package/out/__chunks__/chunk-4MWQKLVG.mjs +2 -0
- package/out/__chunks__/chunk-4MWQKLVG.mjs.map +7 -0
- package/out/__chunks__/{chunk-KWUIUJYQ.mjs → chunk-4QPWKBSQ.mjs} +2 -2
- package/out/__chunks__/{chunk-OOVV574D.mjs → chunk-4VA2SULD.mjs} +2 -2
- package/out/__chunks__/{chunk-HDRB2QL6.mjs → chunk-4VUMAG4J.mjs} +2 -2
- package/out/__chunks__/{chunk-DSVSX4ZT.mjs → chunk-5DILKRFV.mjs} +2 -2
- package/out/__chunks__/{chunk-6DWUEZO7.mjs → chunk-5KVNYLOM.mjs} +2 -2
- package/out/__chunks__/{chunk-KTOQBOOK.mjs → chunk-5O725H7M.mjs} +2 -2
- package/out/__chunks__/{chunk-52PGMMOM.mjs → chunk-5OMQOYP7.mjs} +2 -2
- package/out/__chunks__/chunk-5WVYRVED.mjs +2 -0
- package/out/__chunks__/chunk-5WVYRVED.mjs.map +7 -0
- package/out/__chunks__/{chunk-NOLOZJ37.mjs → chunk-67JAXZGA.mjs} +2 -2
- package/out/__chunks__/{chunk-HYHCFQ2X.mjs → chunk-6CUDZR72.mjs} +2 -2
- package/out/__chunks__/chunk-6LOIZTC6.mjs +2 -0
- package/out/__chunks__/chunk-6LOIZTC6.mjs.map +7 -0
- package/out/__chunks__/{chunk-PRIEU2AB.mjs → chunk-6ME6A43J.mjs} +2 -2
- package/out/__chunks__/chunk-6OIZTWJQ.mjs +2 -0
- package/out/__chunks__/chunk-6R2WFQ7U.mjs +2 -0
- package/out/__chunks__/{chunk-ZVIKYGX5.mjs.map → chunk-6R2WFQ7U.mjs.map} +3 -3
- package/out/__chunks__/{chunk-HMHP5DPL.mjs → chunk-6UMOECOW.mjs} +1 -1
- package/out/__chunks__/chunk-6UMOECOW.mjs.map +7 -0
- package/out/__chunks__/{chunk-SLOQOCEU.mjs → chunk-72VXBZOB.mjs} +2 -2
- package/out/__chunks__/{chunk-SRY5QN4N.mjs → chunk-74JXPSSX.mjs} +2 -2
- package/out/__chunks__/{chunk-IOTN5P72.mjs → chunk-775THAIS.mjs} +2 -2
- package/out/__chunks__/chunk-7C3DDRSK.mjs +2 -0
- package/out/__chunks__/chunk-7C3DDRSK.mjs.map +7 -0
- package/out/__chunks__/chunk-7GZRWUJQ.mjs +2 -0
- package/out/__chunks__/{chunk-3YSWYYBW.mjs → chunk-7QYO4UOP.mjs} +2 -2
- package/out/__chunks__/chunk-7UJCMFKV.mjs +2 -0
- package/out/__chunks__/chunk-7VHTZYM2.mjs +2 -0
- package/out/__chunks__/chunk-7VHTZYM2.mjs.map +7 -0
- package/out/__chunks__/{chunk-7ORWWRDO.mjs → chunk-7XASUTI2.mjs} +2 -2
- package/out/__chunks__/{chunk-ULL2LOGL.mjs → chunk-ANIJIRAY.mjs} +2 -2
- package/out/__chunks__/{chunk-OXYCJJ2S.mjs → chunk-BCODBYYR.mjs} +2 -2
- package/out/__chunks__/chunk-BMSWZIEX.mjs +2 -0
- package/out/__chunks__/{chunk-GB2K574L.mjs → chunk-CLUVDWX6.mjs} +2 -2
- package/out/__chunks__/chunk-CLUVDWX6.mjs.map +7 -0
- package/out/__chunks__/{chunk-RLHETJG2.mjs → chunk-CMJSKAR5.mjs} +2 -2
- package/out/__chunks__/{chunk-SMFNVU6B.mjs → chunk-CO23VS2O.mjs} +2 -2
- package/out/__chunks__/chunk-CUMJOJXJ.mjs +2 -0
- package/out/__chunks__/{chunk-O4E4JGDU.mjs.map → chunk-CUMJOJXJ.mjs.map} +3 -3
- package/out/__chunks__/chunk-DLCBEPEX.mjs +2 -0
- package/out/__chunks__/chunk-DLCBEPEX.mjs.map +7 -0
- package/out/__chunks__/chunk-DMF2DF5I.mjs +2 -0
- package/out/__chunks__/chunk-DOBSLHLX.mjs +2 -0
- package/out/__chunks__/{chunk-Q5Z34JFU.mjs → chunk-DRYIE3UL.mjs} +2 -2
- package/out/__chunks__/chunk-E2GGD7D4.mjs +2 -0
- package/out/__chunks__/chunk-E2GGD7D4.mjs.map +7 -0
- package/out/__chunks__/{chunk-XCVEFI4B.mjs → chunk-EAXWH64Z.mjs} +2 -2
- package/out/__chunks__/{chunk-BQX7MJR6.mjs → chunk-ELQR4QMU.mjs} +2 -2
- package/out/__chunks__/{chunk-I3KT7K7E.mjs → chunk-ET5L4CEA.mjs} +2 -2
- package/out/__chunks__/chunk-EUBOWXIH.mjs +2 -0
- package/out/__chunks__/chunk-EZKCZPIE.mjs +2 -0
- package/out/__chunks__/chunk-EZKCZPIE.mjs.map +7 -0
- package/out/__chunks__/chunk-FE5FK7I6.mjs +2 -0
- package/out/__chunks__/{chunk-GLWYAOLR.mjs → chunk-FULNMU6J.mjs} +2 -2
- package/out/__chunks__/chunk-G7GU37XI.mjs +2 -0
- package/out/__chunks__/{chunk-Z4KZH4G3.mjs → chunk-GMP2DZ26.mjs} +2 -2
- package/out/__chunks__/{chunk-EAH7XGM3.mjs → chunk-GUAXMODN.mjs} +2 -2
- package/out/__chunks__/chunk-HAPHEGVZ.mjs +2 -0
- package/out/__chunks__/{chunk-ZG5S2DYH.mjs → chunk-HOBCDZ2D.mjs} +2 -2
- package/out/__chunks__/chunk-HZGRS7HG.mjs +2 -0
- package/out/__chunks__/chunk-IE4SA26O.mjs +2 -0
- package/out/__chunks__/chunk-IHU6TBZQ.mjs +2 -0
- package/out/__chunks__/{chunk-HX3GPSEV.mjs → chunk-JDLVFGXF.mjs} +2 -2
- package/out/__chunks__/{chunk-DCYZQKT5.mjs → chunk-JDTTHSQL.mjs} +2 -2
- package/out/__chunks__/{chunk-UNBTFF6K.mjs → chunk-JSSRK6RP.mjs} +2 -2
- package/out/__chunks__/chunk-JTV664SG.mjs +2 -0
- package/out/__chunks__/chunk-JTV664SG.mjs.map +7 -0
- package/out/__chunks__/{chunk-PZHQ37I6.mjs → chunk-K373M2BG.mjs} +2 -2
- package/out/__chunks__/chunk-K3VVHPG3.mjs +2 -0
- package/out/__chunks__/{chunk-QFYMQSDX.mjs → chunk-KHBRO4FY.mjs} +2 -2
- package/out/__chunks__/chunk-LJX4MW7B.mjs +2 -0
- package/out/__chunks__/chunk-LJX4MW7B.mjs.map +7 -0
- package/out/__chunks__/chunk-M2KI5WFN.mjs +2 -0
- package/out/__chunks__/chunk-M2KI5WFN.mjs.map +7 -0
- package/out/__chunks__/{chunk-2IUBMLF4.mjs → chunk-M6MN4RXG.mjs} +1 -1
- package/out/__chunks__/{chunk-2IUBMLF4.mjs.map → chunk-M6MN4RXG.mjs.map} +2 -2
- package/out/__chunks__/{chunk-7AAHDJYY.mjs → chunk-MBBXTAA3.mjs} +2 -2
- package/out/__chunks__/{chunk-GULZHAFR.mjs → chunk-MXNCPIER.mjs} +2 -2
- package/out/__chunks__/{chunk-L3MWDI6J.mjs → chunk-N55JEIM6.mjs} +2 -2
- package/out/__chunks__/chunk-NGM3AVCY.mjs +2 -0
- package/out/__chunks__/chunk-NGM3AVCY.mjs.map +7 -0
- package/out/__chunks__/{chunk-BHAHZQVO.mjs → chunk-NTPPBM7T.mjs} +2 -2
- package/out/__chunks__/{chunk-WWV3ASWP.mjs → chunk-O3YM7WCC.mjs} +2 -2
- package/out/__chunks__/{chunk-WTHOSLUO.mjs → chunk-O7KFAU3B.mjs} +2 -2
- package/out/__chunks__/{chunk-TTSG76TF.mjs → chunk-OD6C4XKP.mjs} +2 -2
- package/out/__chunks__/chunk-OLPFN3HZ.mjs +2 -0
- package/out/__chunks__/{chunk-E5T25VDS.mjs → chunk-OU5Y3UTY.mjs} +2 -2
- package/out/__chunks__/chunk-OVBYKKMB.mjs +2 -0
- package/out/__chunks__/chunk-OVBYKKMB.mjs.map +7 -0
- package/out/__chunks__/{chunk-5UBTVBPC.mjs → chunk-OXC2IURR.mjs} +2 -2
- package/out/__chunks__/chunk-OYQAXY6H.mjs +2 -0
- package/out/__chunks__/chunk-PDKESLKC.mjs +2 -0
- package/out/__chunks__/chunk-PKDR5ERF.mjs +2 -0
- package/out/__chunks__/chunk-PKDR5ERF.mjs.map +7 -0
- package/out/__chunks__/{chunk-UAPKL5IP.mjs → chunk-PT2OF4QJ.mjs} +2 -2
- package/out/__chunks__/chunk-Q4OG6NMJ.mjs +2 -0
- package/out/__chunks__/{chunk-6NK63AU5.mjs.map → chunk-Q4OG6NMJ.mjs.map} +1 -1
- package/out/__chunks__/{chunk-T7LCG3ZL.mjs → chunk-QJZ5YIXI.mjs} +2 -2
- package/out/__chunks__/{chunk-6FKT2TIN.mjs → chunk-R3U4ONSV.mjs} +2 -2
- package/out/__chunks__/{chunk-D6TVFZA6.mjs → chunk-RCNZOLEM.mjs} +2 -2
- package/out/__chunks__/{chunk-RBSHB26S.mjs → chunk-RL2G66LY.mjs} +2 -2
- package/out/__chunks__/chunk-SKNUG6M5.mjs +2 -0
- package/out/__chunks__/{chunk-PGGS4CPP.mjs → chunk-SUHXBGYR.mjs} +2 -2
- package/out/__chunks__/{chunk-W3WUNRIB.mjs → chunk-SV4C4UPN.mjs} +2 -2
- package/out/__chunks__/{chunk-RS5NVDUR.mjs → chunk-SWZ5LDC3.mjs} +2 -2
- package/out/__chunks__/{chunk-OEPTRJEB.mjs → chunk-TCDMXBPB.mjs} +1 -1
- package/out/__chunks__/{chunk-OEPTRJEB.mjs.map → chunk-TCDMXBPB.mjs.map} +2 -2
- package/out/__chunks__/chunk-TFCXKUX5.mjs +2 -0
- package/out/__chunks__/{chunk-QXU7U2E2.mjs → chunk-TFDVHULP.mjs} +2 -2
- package/out/__chunks__/{chunk-DMLHCYO2.mjs → chunk-TQIB47S6.mjs} +2 -2
- package/out/__chunks__/chunk-U2IPYFJX.mjs +2 -0
- package/out/__chunks__/chunk-U2IPYFJX.mjs.map +7 -0
- package/out/__chunks__/{chunk-AJC3F2YT.mjs → chunk-U3MIDVR7.mjs} +2 -2
- package/out/__chunks__/chunk-U54BL4SU.mjs +2 -0
- package/out/__chunks__/{chunk-Q2J2GZXF.mjs.map → chunk-U54BL4SU.mjs.map} +2 -2
- package/out/__chunks__/{chunk-MMY7MLSC.mjs → chunk-UCCJLDG6.mjs} +2 -2
- package/out/__chunks__/{chunk-S6NHNEQK.mjs → chunk-UCRVRBTA.mjs} +2 -2
- package/out/__chunks__/chunk-UZTMRUVT.mjs +2 -0
- package/out/__chunks__/chunk-UZTMRUVT.mjs.map +7 -0
- package/out/__chunks__/{chunk-AXUYY4T7.mjs → chunk-VJGOUAZ2.mjs} +2 -2
- package/out/__chunks__/{chunk-BX2RQZG2.mjs → chunk-VQULIVGX.mjs} +2 -2
- package/out/__chunks__/chunk-VRLS225Q.mjs +2 -0
- package/out/__chunks__/{chunk-DDCSKHZU.mjs → chunk-VVZ2I6CL.mjs} +2 -2
- package/out/__chunks__/chunk-W37M2LIA.mjs +2 -0
- package/out/__chunks__/{chunk-LV5G3A3I.mjs → chunk-WK4PPAAJ.mjs} +2 -2
- package/out/__chunks__/chunk-WQZKREPI.mjs +2 -0
- package/out/__chunks__/{chunk-F2HEHTHJ.mjs → chunk-XA3AGZCX.mjs} +2 -2
- package/out/__chunks__/{chunk-NTTKKJIS.mjs → chunk-XHM77HFZ.mjs} +2 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +2 -0
- package/out/__chunks__/chunk-XXV6KGR4.mjs +2 -0
- package/out/__chunks__/chunk-XXV6KGR4.mjs.map +7 -0
- package/out/__chunks__/{chunk-QAZET2LQ.mjs → chunk-YHNOFYGM.mjs} +2 -2
- package/out/__chunks__/chunk-YSPLCVKY.mjs +2 -0
- package/out/__chunks__/chunk-YSPLCVKY.mjs.map +7 -0
- package/out/__chunks__/{chunk-UPBPNO3G.mjs → chunk-YTIAXTQR.mjs} +2 -2
- package/out/__chunks__/{chunk-KBKZR473.mjs → chunk-YX7TMA3N.mjs} +2 -2
- package/out/__chunks__/{chunk-ENQBQ3K2.mjs → chunk-Z5AFLXOE.mjs} +2 -2
- package/out/__chunks__/{chunk-IMB7RORC.mjs → chunk-ZDJN4F3W.mjs} +2 -2
- package/out/__chunks__/{chunk-N342XMFH.mjs → chunk-ZRSYQ3MT.mjs} +2 -2
- package/out/__chunks__/{chunk-2GG67TZD.mjs → chunk-ZS4EBCWC.mjs} +2 -2
- package/out/__chunks__/{chunk-5FTIQVXR.mjs → chunk-ZTUC7FCA.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/index.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +4 -3
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +3 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/network.constants.cjs +3 -3
- package/out/constants/network.constants.cjs.map +1 -1
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/providerFactory.constants.cjs +4 -0
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.d.ts +1 -0
- package/out/constants/providerFactory.constants.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +3 -3
- package/out/constants/transactions.constants.cjs.map +1 -1
- package/out/constants/transactions.constants.d.ts +1 -1
- package/out/constants/transactions.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +5 -12
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +2 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.cjs +28 -102
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.d.ts +13 -31
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +126 -0
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +7 -0
- package/out/managers/ToastManager/ToastUICoordinator.d.ts +30 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs +2 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs.map +7 -0
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +12 -14
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +3 -7
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +2 -3
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/tests/mocks/cache.d.ts +14 -0
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +34 -0
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.mjs +1 -1
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.d.ts +2 -2
- package/out/managers/ToastManager/types/toast.types.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +18 -9
- package/out/providers/ProviderFactory.cjs.map +3 -3
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
- package/out/providers/helpers/emptyProvider.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +1 -0
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/providers/types/providerFactory.types.d.ts +1 -0
- package/out/providers/types/providerFactory.types.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionStateByStatus.d.ts +23 -24
- package/out/store/actions/transactions/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +1 -3
- package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/index.mjs +1 -1
- package/out/store/selectors/networkSelectors.cjs +9 -0
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.d.ts +3 -0
- package/out/store/selectors/networkSelectors.mjs +1 -1
- package/out/store/selectors/toastsSelectors.mjs +1 -1
- package/out/store/selectors/toastsSelectors.mjs.map +4 -4
- package/out/store/selectors/transactionsSelector.cjs +3 -3
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/types/serverTransactions.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.d.ts +1 -1
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.d.ts +1 -6
- package/out/types/transaction-list-item.types.mjs +1 -1
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/transactions.types.d.ts +4 -4
- package/out/types/transactions.types.mjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +2 -8
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +2 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +15 -9
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +3 -4
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +5 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +2 -4
- package/out/__chunks__/chunk-2A6ODBDO.mjs +0 -2
- package/out/__chunks__/chunk-2A6ODBDO.mjs.map +0 -7
- package/out/__chunks__/chunk-344SJWHZ.mjs +0 -2
- package/out/__chunks__/chunk-344SJWHZ.mjs.map +0 -7
- package/out/__chunks__/chunk-34D6F2ZD.mjs +0 -2
- package/out/__chunks__/chunk-3L7HZ2SO.mjs +0 -2
- package/out/__chunks__/chunk-3L7HZ2SO.mjs.map +0 -7
- package/out/__chunks__/chunk-3MW2H273.mjs +0 -2
- package/out/__chunks__/chunk-3MW2H273.mjs.map +0 -7
- package/out/__chunks__/chunk-3TYENBPS.mjs +0 -2
- package/out/__chunks__/chunk-5NEP4WM3.mjs +0 -2
- package/out/__chunks__/chunk-5NEP4WM3.mjs.map +0 -7
- package/out/__chunks__/chunk-5Z3MOBIC.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs.map +0 -7
- package/out/__chunks__/chunk-6NK63AU5.mjs +0 -2
- package/out/__chunks__/chunk-7AIQVQRI.mjs +0 -2
- package/out/__chunks__/chunk-7NJ4ME6K.mjs +0 -2
- package/out/__chunks__/chunk-ALXGPWX7.mjs +0 -2
- package/out/__chunks__/chunk-AWHIX3FQ.mjs +0 -2
- package/out/__chunks__/chunk-GB2K574L.mjs.map +0 -7
- package/out/__chunks__/chunk-HMHP5DPL.mjs.map +0 -7
- package/out/__chunks__/chunk-IQ6TLUA6.mjs +0 -2
- package/out/__chunks__/chunk-KWAUHAGX.mjs +0 -2
- package/out/__chunks__/chunk-MFUQ5NBC.mjs +0 -2
- package/out/__chunks__/chunk-NZYB675D.mjs +0 -2
- package/out/__chunks__/chunk-O2CA5SYO.mjs +0 -2
- package/out/__chunks__/chunk-O2CA5SYO.mjs.map +0 -7
- package/out/__chunks__/chunk-O4E4JGDU.mjs +0 -2
- package/out/__chunks__/chunk-O5IYHOPF.mjs +0 -2
- package/out/__chunks__/chunk-O5IYHOPF.mjs.map +0 -7
- package/out/__chunks__/chunk-PLMCHSS6.mjs +0 -2
- package/out/__chunks__/chunk-Q2J2GZXF.mjs +0 -2
- package/out/__chunks__/chunk-RYPO7VR2.mjs +0 -2
- package/out/__chunks__/chunk-RYPO7VR2.mjs.map +0 -7
- package/out/__chunks__/chunk-SAAOQW7P.mjs +0 -2
- package/out/__chunks__/chunk-SAAOQW7P.mjs.map +0 -7
- package/out/__chunks__/chunk-SKXGLO3R.mjs +0 -2
- package/out/__chunks__/chunk-T7CVBDC6.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs.map +0 -7
- package/out/__chunks__/chunk-TTNGTT4H.mjs +0 -2
- package/out/__chunks__/chunk-ULUZWP2P.mjs +0 -2
- package/out/__chunks__/chunk-ULUZWP2P.mjs.map +0 -7
- package/out/__chunks__/chunk-V6VNRFXC.mjs +0 -2
- package/out/__chunks__/chunk-WIHUEHY3.mjs +0 -2
- package/out/__chunks__/chunk-WJQVMI33.mjs +0 -2
- package/out/__chunks__/chunk-XU34NXIS.mjs +0 -2
- package/out/__chunks__/chunk-YAONXG5V.mjs +0 -2
- package/out/__chunks__/chunk-YAONXG5V.mjs.map +0 -7
- package/out/__chunks__/chunk-YGT2XHMA.mjs +0 -2
- package/out/__chunks__/chunk-YSF6K5W7.mjs +0 -2
- package/out/__chunks__/chunk-ZEUNADU7.mjs +0 -2
- package/out/__chunks__/chunk-ZMTIF2D2.mjs +0 -2
- package/out/__chunks__/chunk-ZONHCECO.mjs +0 -2
- package/out/__chunks__/chunk-ZONHCECO.mjs.map +0 -7
- package/out/__chunks__/chunk-ZVIKYGX5.mjs +0 -2
- /package/out/__chunks__/{chunk-DVPFOACI.mjs.map → chunk-2K2QZVBC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TZDM7KH7.mjs.map → chunk-2NF5HX3H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VTNFUJCE.mjs.map → chunk-2VRRMEOY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ZUH3TQ2.mjs.map → chunk-2Y66XRQK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E5H5BPFX.mjs.map → chunk-3OEO7IVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LGAWIVRO.mjs.map → chunk-3QWTD55I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWUIUJYQ.mjs.map → chunk-4QPWKBSQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OOVV574D.mjs.map → chunk-4VA2SULD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HDRB2QL6.mjs.map → chunk-4VUMAG4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DSVSX4ZT.mjs.map → chunk-5DILKRFV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6DWUEZO7.mjs.map → chunk-5KVNYLOM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KTOQBOOK.mjs.map → chunk-5O725H7M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-52PGMMOM.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NOLOZJ37.mjs.map → chunk-67JAXZGA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HYHCFQ2X.mjs.map → chunk-6CUDZR72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PRIEU2AB.mjs.map → chunk-6ME6A43J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALXGPWX7.mjs.map → chunk-6OIZTWJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SLOQOCEU.mjs.map → chunk-72VXBZOB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SRY5QN4N.mjs.map → chunk-74JXPSSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IOTN5P72.mjs.map → chunk-775THAIS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-34D6F2ZD.mjs.map → chunk-7GZRWUJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3YSWYYBW.mjs.map → chunk-7QYO4UOP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZMTIF2D2.mjs.map → chunk-7UJCMFKV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ORWWRDO.mjs.map → chunk-7XASUTI2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ULL2LOGL.mjs.map → chunk-ANIJIRAY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OXYCJJ2S.mjs.map → chunk-BCODBYYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T7CVBDC6.mjs.map → chunk-BMSWZIEX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RLHETJG2.mjs.map → chunk-CMJSKAR5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SMFNVU6B.mjs.map → chunk-CO23VS2O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V6VNRFXC.mjs.map → chunk-DMF2DF5I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YGT2XHMA.mjs.map → chunk-DOBSLHLX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q5Z34JFU.mjs.map → chunk-DRYIE3UL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XCVEFI4B.mjs.map → chunk-EAXWH64Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BQX7MJR6.mjs.map → chunk-ELQR4QMU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I3KT7K7E.mjs.map → chunk-ET5L4CEA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7NJ4ME6K.mjs.map → chunk-EUBOWXIH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TTNGTT4H.mjs.map → chunk-FE5FK7I6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GLWYAOLR.mjs.map → chunk-FULNMU6J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NZYB675D.mjs.map → chunk-G7GU37XI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z4KZH4G3.mjs.map → chunk-GMP2DZ26.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EAH7XGM3.mjs.map → chunk-GUAXMODN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKXGLO3R.mjs.map → chunk-HAPHEGVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZG5S2DYH.mjs.map → chunk-HOBCDZ2D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WJQVMI33.mjs.map → chunk-HZGRS7HG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWHIX3FQ.mjs.map → chunk-IE4SA26O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWAUHAGX.mjs.map → chunk-IHU6TBZQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HX3GPSEV.mjs.map → chunk-JDLVFGXF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DCYZQKT5.mjs.map → chunk-JDTTHSQL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UNBTFF6K.mjs.map → chunk-JSSRK6RP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PZHQ37I6.mjs.map → chunk-K373M2BG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WIHUEHY3.mjs.map → chunk-K3VVHPG3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QFYMQSDX.mjs.map → chunk-KHBRO4FY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7AAHDJYY.mjs.map → chunk-MBBXTAA3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GULZHAFR.mjs.map → chunk-MXNCPIER.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L3MWDI6J.mjs.map → chunk-N55JEIM6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BHAHZQVO.mjs.map → chunk-NTPPBM7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WWV3ASWP.mjs.map → chunk-O3YM7WCC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WTHOSLUO.mjs.map → chunk-O7KFAU3B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TTSG76TF.mjs.map → chunk-OD6C4XKP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PLMCHSS6.mjs.map → chunk-OLPFN3HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E5T25VDS.mjs.map → chunk-OU5Y3UTY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5UBTVBPC.mjs.map → chunk-OXC2IURR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5Z3MOBIC.mjs.map → chunk-OYQAXY6H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YSF6K5W7.mjs.map → chunk-PDKESLKC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UAPKL5IP.mjs.map → chunk-PT2OF4QJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T7LCG3ZL.mjs.map → chunk-QJZ5YIXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6FKT2TIN.mjs.map → chunk-R3U4ONSV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D6TVFZA6.mjs.map → chunk-RCNZOLEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RBSHB26S.mjs.map → chunk-RL2G66LY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3TYENBPS.mjs.map → chunk-SKNUG6M5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PGGS4CPP.mjs.map → chunk-SUHXBGYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W3WUNRIB.mjs.map → chunk-SV4C4UPN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RS5NVDUR.mjs.map → chunk-SWZ5LDC3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XU34NXIS.mjs.map → chunk-TFCXKUX5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QXU7U2E2.mjs.map → chunk-TFDVHULP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMLHCYO2.mjs.map → chunk-TQIB47S6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AJC3F2YT.mjs.map → chunk-U3MIDVR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MMY7MLSC.mjs.map → chunk-UCCJLDG6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S6NHNEQK.mjs.map → chunk-UCRVRBTA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AXUYY4T7.mjs.map → chunk-VJGOUAZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BX2RQZG2.mjs.map → chunk-VQULIVGX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MFUQ5NBC.mjs.map → chunk-VRLS225Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDCSKHZU.mjs.map → chunk-VVZ2I6CL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IQ6TLUA6.mjs.map → chunk-W37M2LIA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LV5G3A3I.mjs.map → chunk-WK4PPAAJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7AIQVQRI.mjs.map → chunk-WQZKREPI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F2HEHTHJ.mjs.map → chunk-XA3AGZCX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTTKKJIS.mjs.map → chunk-XHM77HFZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZEUNADU7.mjs.map → chunk-XJPXTYIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QAZET2LQ.mjs.map → chunk-YHNOFYGM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UPBPNO3G.mjs.map → chunk-YTIAXTQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBKZR473.mjs.map → chunk-YX7TMA3N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ENQBQ3K2.mjs.map → chunk-Z5AFLXOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IMB7RORC.mjs.map → chunk-ZDJN4F3W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N342XMFH.mjs.map → chunk-ZRSYQ3MT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2GG67TZD.mjs.map → chunk-ZS4EBCWC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FTIQVXR.mjs.map → chunk-ZTUC7FCA.mjs.map} +0 -0
|
@@ -42,16 +42,16 @@ var import_ToastManager = require("../ToastManager");
|
|
|
42
42
|
var import_createToastsFromTransactions = require("../ToastManager/helpers/createToastsFromTransactions");
|
|
43
43
|
const NOTIFICATIONS_FEED_STORE_SUBSCRIBE = "NOTIFICATIONS_FEED_STORE_SUBSCRIBE";
|
|
44
44
|
class NotificationsFeedManager extends import_SidePanelBaseManager.SidePanelBaseManager {
|
|
45
|
-
constructor() {
|
|
45
|
+
constructor(store) {
|
|
46
46
|
super({
|
|
47
47
|
uiDataUpdateEvent: import_types.NotificationsFeedEventsEnum.OPEN,
|
|
48
48
|
uiTag: import_UITags.UITagsEnum.NOTIFICATIONS_FEED
|
|
49
49
|
});
|
|
50
|
-
this.store = (0, import_store.getStore)();
|
|
51
50
|
this.initialData = {
|
|
52
51
|
pendingTransactions: [],
|
|
53
52
|
historicTransactions: []
|
|
54
53
|
};
|
|
54
|
+
this.store = store || (0, import_store.getStore)();
|
|
55
55
|
this.data = { ...this.initialData };
|
|
56
56
|
}
|
|
57
57
|
static getInstance() {
|
|
@@ -106,18 +106,11 @@ class NotificationsFeedManager extends import_SidePanelBaseManager.SidePanelBase
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
async updateDataAndNotifications() {
|
|
109
|
-
const { transactions
|
|
110
|
-
const { pendingTransactionToasts } = await (0, import_createToastsFromTransactions.createToastsFromTransactions)({
|
|
111
|
-
toastList: toasts,
|
|
112
|
-
transactionsSessions: transactions,
|
|
113
|
-
account
|
|
114
|
-
});
|
|
109
|
+
const { transactions } = this.store.getState();
|
|
110
|
+
const { pendingTransactionToasts } = await (0, import_createToastsFromTransactions.createToastsFromTransactions)({});
|
|
115
111
|
this.data.pendingTransactions = pendingTransactionToasts;
|
|
116
112
|
this.data.historicTransactions = await import_TransactionsHistoryController.TransactionsHistoryController.getTransactionsHistory({
|
|
117
|
-
transactionsSessions: transactions
|
|
118
|
-
address: account.address,
|
|
119
|
-
explorerAddress: network.network.explorerAddress,
|
|
120
|
-
egldLabel: network.network.egldLabel
|
|
113
|
+
transactionsSessions: transactions
|
|
121
114
|
});
|
|
122
115
|
await this.updateNotificationsFeed();
|
|
123
116
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts"],
|
|
4
|
-
"sourcesContent": ["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 { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { ToastManager } from '../ToastManager';\nimport { createToastsFromTransactions } from '../ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../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
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AACpB,oBAA2B;AAC3B,2CAA8C;AAE9C,iCAA2C;AAC3C,mBAAyB;AACzB,mBAA4C;AAC5C,kCAAqC;AACrC,0BAA6B;AAC7B,0CAA6C;AAQ7C,MAAM,qCAAqC;AAEpC,MAAM,iCAAiC,iDAI5C;AAAA,EAgBA,
|
|
4
|
+
"sourcesContent": ["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 { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { ToastManager } from '../ToastManager';\nimport { createToastsFromTransactions } from '../ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../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: ReturnType<typeof 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(store?: ReturnType<typeof getStore>) {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.store = store || getStore();\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n /**\n * Open the notifications feed and toggle off the toast manager.\n */\n public async openNotificationsFeed(): Promise<void> {\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 /**\n * Close the notifications feed and toggle on the toast manager.\n */\n protected async handleCloseUI() {\n const toastManager = ToastManager.getInstance();\n this.closeUI();\n await 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 } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions({});\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions: transactions\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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AACpB,oBAA2B;AAC3B,2CAA8C;AAE9C,iCAA2C;AAC3C,mBAAyB;AACzB,mBAA4C;AAC5C,kCAAqC;AACrC,0BAA6B;AAC7B,0CAA6C;AAQ7C,MAAM,qCAAqC;AAEpC,MAAM,iCAAiC,iDAI5C;AAAA,EAgBA,YAAY,OAAqC;AAC/C,UAAM;AAAA,MACJ,mBAAmB,yCAA4B;AAAA,MAC/C,OAAO,yBAAW;AAAA,IACpB,CAAC;AAhBH,SAAU,cAA6C;AAAA,MACrD,qBAAqB,CAAC;AAAA,MACtB,sBAAsB,CAAC;AAAA,IACzB;AAcE,SAAK,QAAQ,aAAS,uBAAS;AAC/B,SAAK,OAAO,EAAE,GAAG,KAAK,YAAY;AAAA,EACpC;AAAA,EAdA,OAAc,cAAwC;AACpD,QAAI,CAAC,yBAAyB,UAAU;AACtC,+BAAyB,WAAW,IAAI,yBAAyB;AAAA,IACnE;AACA,WAAO,yBAAyB;AAAA,EAClC;AAAA,EAWO,0BAAmC;AACxC,WAAO,KAAK;AAAA,EACd;AAAA;AAAA;AAAA;AAAA,EAKA,MAAa,wBAAuC;AAClD,UAAM,eAAe,iCAAa,YAAY;AAC9C,iBAAa,WAAW;AACxB,UAAM,KAAK,OAAO;AAClB,UAAM,KAAK,2BAA2B;AAEtC,UAAM,yBAAyB,KAAK,MAAM;AAAA,MACxC,OACE,EAAE,QAAQ,aAAa,GACvB,EAAE,QAAQ,YAAY,cAAc,iBAAiB,MAClD;AACH,YACE,KAAC,cAAAA,SAAQ,WAAW,mBAAmB,OAAO,iBAAiB,KAC/D,KAAC,cAAAA,SAAQ,kBAAkB,YAAY,GACvC;AACA,gBAAM,KAAK,2BAA2B;AAAA,QACxC;AAAA,MACF;AAAA,IACF;AACA,SAAK,qBAAqB,IAAI,oCAAoC;AAAA,MAChE;AAAA,IACF,CAAC;AAED,SAAK,UAAU,QAAQ,yCAA4B,IAAI;AACvD,UAAM,KAAK,2BAA2B;AAAA,EACxC;AAAA;AAAA;AAAA;AAAA,EAKA,MAAgB,gBAAgB;AAC9B,UAAM,eAAe,iCAAa,YAAY;AAC9C,SAAK,QAAQ;AACb,UAAM,aAAa,WAAW;AAAA,EAChC;AAAA,EAEA,MAAgB,sBAAsB;AACpC,QAAI,CAAC,KAAK,UAAU;AAClB;AAAA,IACF;AAEA,SAAK;AAAA,MACH,yCAA4B;AAAA,MAC5B,KAAK,cAAc,KAAK,IAAI;AAAA,IAC9B;AAEA,SAAK;AAAA,MACH,yCAA4B;AAAA,MAC5B,KAAK,oCAAoC,KAAK,IAAI;AAAA,IACpD;AAAA,EACF;AAAA,EAEA,MAAgB,6BAA6B;AAC3C,UAAM,EAAE,aAAa,IAAI,KAAK,MAAM,SAAS;AAE7C,UAAM,EAAE,yBAAyB,IAAI,UAAM,kEAA6B,CAAC,CAAC;AAE1E,SAAK,KAAK,sBAAsB;AAEhC,SAAK,KAAK,uBACR,MAAM,mEAA8B,uBAAuB;AAAA,MACzD,sBAAsB;AAAA,IACxB,CAAC;AAEH,UAAM,KAAK,wBAAwB;AAAA,EACrC;AAAA,EAEQ,sCAAsC;AAC5C,+DAA2B;AAC3B,SAAK,UAAU;AACf,SAAK,wBAAwB;AAAA,EAC/B;AAAA,EAEA,MAAc,0BAA0B;AACtC,QAAI,CAAC,KAAK,UAAU;AAClB;AAAA,IACF;AAEA,SAAK,SAAS;AAAA,MACZ,yCAA4B;AAAA,MAC5B,KAAK,KAAK;AAAA,IACZ;AAEA,SAAK,SAAS;AAAA,MACZ,yCAA4B;AAAA,MAC5B,KAAK,KAAK;AAAA,IACZ;AAAA,EACF;AACF;",
|
|
6
6
|
"names": ["isEqual"]
|
|
7
7
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ITransactionListItem, MvxNotificationsFeed } from '../../lib/sdkDappUi';
|
|
2
|
+
import { getStore } from '../../store/store';
|
|
2
3
|
import { NotificationsFeedEventsEnum } from './types';
|
|
3
4
|
import { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';
|
|
4
5
|
import { ITransactionToast } from '../ToastManager/types';
|
|
@@ -12,7 +13,7 @@ export declare class NotificationsFeedManager extends SidePanelBaseManager<MvxNo
|
|
|
12
13
|
private readonly store;
|
|
13
14
|
protected initialData: INotificationsFeedManagerData;
|
|
14
15
|
static getInstance(): NotificationsFeedManager;
|
|
15
|
-
constructor();
|
|
16
|
+
constructor(store?: ReturnType<typeof getStore>);
|
|
16
17
|
isNotificationsFeedOpen(): boolean;
|
|
17
18
|
/**
|
|
18
19
|
* Open the notifications feed and toggle off the toast manager.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{k as a}from"../../__chunks__/chunk-2TCIBFJT.mjs";import"../../__chunks__/chunk-MBBXTAA3.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-7UJCMFKV.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-U2IPYFJX.mjs";import"../../__chunks__/chunk-UZTMRUVT.mjs";import"../../__chunks__/chunk-U3MIDVR7.mjs";import"../../__chunks__/chunk-DGMI66QS.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-YTIAXTQR.mjs";import"../../__chunks__/chunk-2K2QZVBC.mjs";import"../../__chunks__/chunk-PDKESLKC.mjs";import"../../__chunks__/chunk-IE4SA26O.mjs";import"../../__chunks__/chunk-7GZRWUJQ.mjs";import"../../__chunks__/chunk-KHBRO4FY.mjs";import"../../__chunks__/chunk-KDWLSBQB.mjs";import"../../__chunks__/chunk-2VG3V3VD.mjs";import"../../__chunks__/chunk-VRLS225Q.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-XHM77HFZ.mjs";import"../../__chunks__/chunk-RL2G66LY.mjs";import"../../__chunks__/chunk-BCODBYYR.mjs";import"../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-OYQAXY6H.mjs";import"../../__chunks__/chunk-6CUDZR72.mjs";import"../../__chunks__/chunk-YX7TMA3N.mjs";import"../../__chunks__/chunk-MDVI45IV.mjs";import"../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../__chunks__/chunk-6ME6A43J.mjs";import"../../__chunks__/chunk-DMF2DF5I.mjs";import"../../__chunks__/chunk-6OIZTWJQ.mjs";import"../../__chunks__/chunk-SWZ5LDC3.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-ZDJN4F3W.mjs";import"../../__chunks__/chunk-OXC2IURR.mjs";import"../../__chunks__/chunk-J32T6OAP.mjs";import"../../__chunks__/chunk-4US7HVCR.mjs";import"../../__chunks__/chunk-HOBCDZ2D.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-M3GFSV3G.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-VVZ2I6CL.mjs";import"../../__chunks__/chunk-YSPLCVKY.mjs";import"../../__chunks__/chunk-N55JEIM6.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../__chunks__/chunk-R3U4ONSV.mjs";import"../../__chunks__/chunk-4QPWKBSQ.mjs";import"../../__chunks__/chunk-KMJMQEXI.mjs";import"../../__chunks__/chunk-YK7T6MBD.mjs";import"../../__chunks__/chunk-G5DKGX73.mjs";import"../../__chunks__/chunk-FE5FK7I6.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-JDTTHSQL.mjs";import"../../__chunks__/chunk-EUBOWXIH.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-ANIJIRAY.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../__chunks__/chunk-WE7YOBO7.mjs";import"../../__chunks__/chunk-GMP2DZ26.mjs";import"../../__chunks__/chunk-YHNOFYGM.mjs";import"../../__chunks__/chunk-G7GU37XI.mjs";import"../../__chunks__/chunk-72VXBZOB.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YJK5FPW4.mjs";import"../../__chunks__/chunk-36XFDUXN.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../__chunks__/chunk-5DILKRFV.mjs";import"../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../__chunks__/chunk-HZGRS7HG.mjs";import"../../__chunks__/chunk-NTPPBM7T.mjs";import"../../__chunks__/chunk-GUAXMODN.mjs";import"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-TCDMXBPB.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-FULNMU6J.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import"../../__chunks__/chunk-M2KI5WFN.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-OVBYKKMB.mjs";import"../../__chunks__/chunk-4B3YTXMB.mjs";import"../../__chunks__/chunk-7QYO4UOP.mjs";import"../../__chunks__/chunk-7C3DDRSK.mjs";import"../../__chunks__/chunk-4MWQKLVG.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-RCNZOLEM.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-WHEXX3BD.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-7CELSV4S.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-BTJWNUM6.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-UCRVRBTA.mjs";import"../../__chunks__/chunk-TQIB47S6.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-SUHXBGYR.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-7XASUTI2.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-2NF5HX3H.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-DTQL3IDP.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-WK4PPAAJ.mjs";import"../../__chunks__/chunk-O7KFAU3B.mjs";import"../../__chunks__/chunk-EHDGJUEU.mjs";import"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";import"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as NotificationsFeedManager};
|
|
2
2
|
//# sourceMappingURL=NotificationsFeedManager.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-442O3UMZ.mjs";import{
|
|
1
|
+
import"../../__chunks__/chunk-442O3UMZ.mjs";import{k as b}from"../../__chunks__/chunk-2TCIBFJT.mjs";import"../../__chunks__/chunk-MBBXTAA3.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-7UJCMFKV.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import{a}from"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-U2IPYFJX.mjs";import"../../__chunks__/chunk-UZTMRUVT.mjs";import"../../__chunks__/chunk-U3MIDVR7.mjs";import"../../__chunks__/chunk-DGMI66QS.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-YTIAXTQR.mjs";import"../../__chunks__/chunk-2K2QZVBC.mjs";import"../../__chunks__/chunk-PDKESLKC.mjs";import"../../__chunks__/chunk-IE4SA26O.mjs";import"../../__chunks__/chunk-7GZRWUJQ.mjs";import"../../__chunks__/chunk-KHBRO4FY.mjs";import"../../__chunks__/chunk-KDWLSBQB.mjs";import"../../__chunks__/chunk-2VG3V3VD.mjs";import"../../__chunks__/chunk-VRLS225Q.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-XHM77HFZ.mjs";import"../../__chunks__/chunk-RL2G66LY.mjs";import"../../__chunks__/chunk-BCODBYYR.mjs";import"../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-OYQAXY6H.mjs";import"../../__chunks__/chunk-6CUDZR72.mjs";import"../../__chunks__/chunk-YX7TMA3N.mjs";import"../../__chunks__/chunk-MDVI45IV.mjs";import"../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../__chunks__/chunk-6ME6A43J.mjs";import"../../__chunks__/chunk-DMF2DF5I.mjs";import"../../__chunks__/chunk-6OIZTWJQ.mjs";import"../../__chunks__/chunk-SWZ5LDC3.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-ZDJN4F3W.mjs";import"../../__chunks__/chunk-OXC2IURR.mjs";import"../../__chunks__/chunk-J32T6OAP.mjs";import"../../__chunks__/chunk-4US7HVCR.mjs";import"../../__chunks__/chunk-HOBCDZ2D.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-M3GFSV3G.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-VVZ2I6CL.mjs";import"../../__chunks__/chunk-YSPLCVKY.mjs";import"../../__chunks__/chunk-N55JEIM6.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../__chunks__/chunk-R3U4ONSV.mjs";import"../../__chunks__/chunk-4QPWKBSQ.mjs";import"../../__chunks__/chunk-KMJMQEXI.mjs";import"../../__chunks__/chunk-YK7T6MBD.mjs";import"../../__chunks__/chunk-G5DKGX73.mjs";import"../../__chunks__/chunk-FE5FK7I6.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-JDTTHSQL.mjs";import"../../__chunks__/chunk-EUBOWXIH.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-ANIJIRAY.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../__chunks__/chunk-WE7YOBO7.mjs";import"../../__chunks__/chunk-GMP2DZ26.mjs";import"../../__chunks__/chunk-YHNOFYGM.mjs";import"../../__chunks__/chunk-G7GU37XI.mjs";import"../../__chunks__/chunk-72VXBZOB.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YJK5FPW4.mjs";import"../../__chunks__/chunk-36XFDUXN.mjs";import"../../__chunks__/chunk-O7LCTC4K.mjs";import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../__chunks__/chunk-5DILKRFV.mjs";import"../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../__chunks__/chunk-HZGRS7HG.mjs";import"../../__chunks__/chunk-NTPPBM7T.mjs";import"../../__chunks__/chunk-GUAXMODN.mjs";import"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-TCDMXBPB.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-FULNMU6J.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import"../../__chunks__/chunk-M2KI5WFN.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-OVBYKKMB.mjs";import"../../__chunks__/chunk-4B3YTXMB.mjs";import"../../__chunks__/chunk-7QYO4UOP.mjs";import"../../__chunks__/chunk-7C3DDRSK.mjs";import"../../__chunks__/chunk-4MWQKLVG.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-RCNZOLEM.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-WHEXX3BD.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-7CELSV4S.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-BTJWNUM6.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-UCRVRBTA.mjs";import"../../__chunks__/chunk-TQIB47S6.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-SUHXBGYR.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-7XASUTI2.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-2NF5HX3H.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-DTQL3IDP.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-WK4PPAAJ.mjs";import"../../__chunks__/chunk-O7KFAU3B.mjs";import"../../__chunks__/chunk-EHDGJUEU.mjs";import"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";import"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as NotificationsFeedEventsEnum,b as NotificationsFeedManager};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -33,39 +33,34 @@ __export(ToastManager_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(ToastManager_exports);
|
|
34
34
|
var import_lodash = __toESM(require("lodash.isequal"));
|
|
35
35
|
var import_transactions = require("../../constants/transactions.constants");
|
|
36
|
-
var import_UITags = require("../../constants/UITags.enum");
|
|
37
|
-
var import_NotificationsFeedManager = require("../../managers/NotificationsFeedManager/NotificationsFeedManager");
|
|
38
36
|
var import_toastsActions = require("../../store/actions/toasts/toastsActions");
|
|
39
37
|
var import_transactionStateByStatus = require("../../store/actions/transactions/transactionStateByStatus");
|
|
40
38
|
var import_store = require("../../store/store");
|
|
41
|
-
var import_provider = require("../../types/provider.types");
|
|
42
|
-
var import_ComponentFactory = require("../../utils/ComponentFactory");
|
|
43
39
|
var import_createToastsFromTransactions = require("./helpers/createToastsFromTransactions");
|
|
44
40
|
var import_LifetimeManager = require("./helpers/LifetimeManager");
|
|
45
|
-
var
|
|
41
|
+
var import_ToastUICoordinator = require("./ToastUICoordinator");
|
|
46
42
|
class ToastManager {
|
|
47
|
-
constructor() {
|
|
48
|
-
this.isCreatingElement = false;
|
|
49
|
-
this.toastsElement = null;
|
|
43
|
+
constructor(props) {
|
|
50
44
|
this.transactionToasts = [];
|
|
51
45
|
this.customToasts = [];
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.eventBus = null;
|
|
55
|
-
this.store = (0, import_store.getStore)();
|
|
46
|
+
this.unsubscribeFromStore = () => null;
|
|
47
|
+
this.uiCoordinator = null;
|
|
56
48
|
this.destroy();
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
49
|
+
this.store = props?.store || (0, import_store.getStore)();
|
|
50
|
+
this.lifetimeManager = props?.lifetimeManager ?? new import_LifetimeManager.LifetimeManager();
|
|
51
|
+
this.uiCoordinator = props?.uiCoordinator ?? new import_ToastUICoordinator.ToastUICoordinator({
|
|
52
|
+
onCloseToast: this.closeToast.bind(this)
|
|
53
|
+
});
|
|
59
54
|
}
|
|
60
55
|
async init({
|
|
61
|
-
successfulToastLifetime = import_transactions.
|
|
56
|
+
successfulToastLifetime = import_transactions.DEFAULT_TOAST_LIFETIME
|
|
62
57
|
} = {}) {
|
|
63
58
|
this.successfulToastLifetime = successfulToastLifetime;
|
|
64
59
|
this.lifetimeManager.init({ successfulToastLifetime });
|
|
65
60
|
await this.updateTransactionToastsList();
|
|
66
61
|
await this.updateCustomToastList();
|
|
67
|
-
await this.
|
|
68
|
-
this.
|
|
62
|
+
await this.uiCoordinator?.init();
|
|
63
|
+
this.unsubscribeFromStore = this.store.subscribe(
|
|
69
64
|
async ({ toasts, transactions }, { toasts: prevToasts, transactions: prevTransactions }) => {
|
|
70
65
|
const newToastsWereCreated = !(0, import_lodash.default)(
|
|
71
66
|
prevToasts.transactionToasts,
|
|
@@ -123,22 +118,17 @@ class ToastManager {
|
|
|
123
118
|
await this.updateTransactionToastsList();
|
|
124
119
|
return newToastId;
|
|
125
120
|
}
|
|
126
|
-
createCustomToast(toast) {
|
|
121
|
+
async createCustomToast(toast) {
|
|
127
122
|
const toastId = (0, import_toastsActions.createCustomToast)(toast);
|
|
128
|
-
this.updateCustomToastList();
|
|
123
|
+
await this.updateCustomToastList();
|
|
129
124
|
return toastId;
|
|
130
125
|
}
|
|
131
126
|
async updateTransactionToastsList(props) {
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
transactions: transactionsSessions,
|
|
135
|
-
account
|
|
136
|
-
} = this.store.getState();
|
|
127
|
+
const store = this.store.getState();
|
|
128
|
+
const { toasts: toastList } = store;
|
|
137
129
|
const { pendingTransactionToasts, completedTransactionToasts } = await (0, import_createToastsFromTransactions.createToastsFromTransactions)({
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
account,
|
|
141
|
-
skipFetchingTransactions: props?.skipFetchingTransactions
|
|
130
|
+
skipFetchingTransactions: props?.skipFetchingTransactions,
|
|
131
|
+
store
|
|
142
132
|
});
|
|
143
133
|
this.transactionToasts = [
|
|
144
134
|
...pendingTransactionToasts,
|
|
@@ -166,67 +156,23 @@ class ToastManager {
|
|
|
166
156
|
);
|
|
167
157
|
}
|
|
168
158
|
}
|
|
169
|
-
this.
|
|
170
|
-
import_types.ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,
|
|
171
|
-
this.customToasts
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
async createToastListElement() {
|
|
175
|
-
if (this.toastsElement) {
|
|
176
|
-
return this.toastsElement;
|
|
177
|
-
}
|
|
178
|
-
if (!this.isCreatingElement) {
|
|
179
|
-
this.isCreatingElement = true;
|
|
180
|
-
this.toastsElement = await import_ComponentFactory.ComponentFactory.create({
|
|
181
|
-
name: import_UITags.UITagsEnum.TOAST_LIST
|
|
182
|
-
});
|
|
183
|
-
this.isCreatingElement = false;
|
|
184
|
-
}
|
|
185
|
-
return this.toastsElement;
|
|
159
|
+
await this.uiCoordinator?.publishCustomToasts(this.customToasts);
|
|
186
160
|
}
|
|
187
161
|
handleTransactionToastClose(toastId) {
|
|
188
162
|
const isCompleted = this.handleCompletedTransaction(toastId);
|
|
189
163
|
if (isCompleted) {
|
|
190
164
|
(0, import_toastsActions.removeTransactionToast)(toastId);
|
|
165
|
+
return true;
|
|
191
166
|
}
|
|
192
|
-
|
|
193
|
-
async subscribeToEventBusNotifications() {
|
|
194
|
-
const toastsElement = await this.createToastListElement();
|
|
195
|
-
if (!toastsElement) {
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
this.eventBus = await toastsElement.getEventBus();
|
|
199
|
-
if (!this.eventBus) {
|
|
200
|
-
throw new Error(import_provider.ProviderErrorsEnum.eventBusError);
|
|
201
|
-
}
|
|
202
|
-
this.eventBus.subscribe(import_types.ToastEventsEnum.CLOSE, this.closeToast.bind(this));
|
|
203
|
-
this.eventBusUnsubscribeFunctions.push(() => {
|
|
204
|
-
this.eventBus?.unsubscribe(
|
|
205
|
-
import_types.ToastEventsEnum.CLOSE,
|
|
206
|
-
this.closeToast.bind(this)
|
|
207
|
-
);
|
|
208
|
-
});
|
|
209
|
-
this.eventBus.subscribe(
|
|
210
|
-
import_types.ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,
|
|
211
|
-
this.handleOpenNotificationsFeed.bind(this)
|
|
212
|
-
);
|
|
213
|
-
this.eventBusUnsubscribeFunctions.push(() => {
|
|
214
|
-
this.eventBus?.unsubscribe(
|
|
215
|
-
import_types.ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,
|
|
216
|
-
this.handleOpenNotificationsFeed.bind(this)
|
|
217
|
-
);
|
|
218
|
-
});
|
|
167
|
+
return false;
|
|
219
168
|
}
|
|
220
169
|
async showToasts() {
|
|
221
|
-
this.
|
|
170
|
+
this.uiCoordinator?.showToasts();
|
|
222
171
|
await this.updateCustomToastList();
|
|
223
172
|
await this.updateTransactionToastsList();
|
|
224
173
|
}
|
|
225
174
|
hideToasts() {
|
|
226
|
-
this.
|
|
227
|
-
}
|
|
228
|
-
async handleOpenNotificationsFeed() {
|
|
229
|
-
this.notificationsFeedManager.openNotificationsFeed();
|
|
175
|
+
this.uiCoordinator?.hideToasts();
|
|
230
176
|
}
|
|
231
177
|
closeToast(toastId) {
|
|
232
178
|
const customToast = this.customToasts.find(
|
|
@@ -237,38 +183,18 @@ class ToastManager {
|
|
|
237
183
|
const handleClose = import_toastsActions.customToastCloseHandlersDictionary[toastId];
|
|
238
184
|
handleClose?.();
|
|
239
185
|
(0, import_toastsActions.removeCustomToast)(toastId);
|
|
240
|
-
return;
|
|
186
|
+
return true;
|
|
241
187
|
}
|
|
242
|
-
this.handleTransactionToastClose(toastId);
|
|
188
|
+
return this.handleTransactionToastClose(toastId);
|
|
243
189
|
}
|
|
244
190
|
async publishTransactionToasts() {
|
|
245
|
-
|
|
246
|
-
this.eventBus.publish(
|
|
247
|
-
import_types.ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,
|
|
248
|
-
this.transactionToasts
|
|
249
|
-
);
|
|
250
|
-
this.hideToasts();
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
if (!this.eventBus) {
|
|
254
|
-
const toastsElement = await this.createToastListElement();
|
|
255
|
-
if (!toastsElement) {
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
this.eventBus = await toastsElement.getEventBus();
|
|
259
|
-
}
|
|
260
|
-
this.eventBus.publish(
|
|
261
|
-
import_types.ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,
|
|
262
|
-
this.transactionToasts
|
|
263
|
-
);
|
|
191
|
+
await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts);
|
|
264
192
|
}
|
|
265
193
|
destroy() {
|
|
266
|
-
this.
|
|
194
|
+
this.unsubscribeFromStore();
|
|
267
195
|
this.lifetimeManager?.destroy();
|
|
268
|
-
this.
|
|
196
|
+
this.uiCoordinator?.destroy();
|
|
269
197
|
(0, import_toastsActions.removeAllCustomToasts)();
|
|
270
|
-
this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());
|
|
271
|
-
this.eventBusUnsubscribeFunctions = [];
|
|
272
198
|
}
|
|
273
199
|
}
|
|
274
200
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/managers/ToastManager/ToastManager.ts"],
|
|
4
|
-
"sourcesContent": ["import isEqual from 'lodash.isequal';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AACpB,0BAAuC;AACvC,
|
|
4
|
+
"sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { DEFAULT_TOAST_LIFETIME } from 'constants/transactions.constants';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast,\n createCustomToast\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 { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ToastUICoordinator } from './ToastUICoordinator';\nimport { ITransactionToast } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private readonly lifetimeManager: LifetimeManager;\n private store: ReturnType<typeof getStore>;\n private static instance: ToastManager;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private unsubscribeFromStore: () => void = () => null;\n private uiCoordinator: ToastUICoordinator | null = null;\n\n constructor(props?: {\n store?: ReturnType<typeof getStore>;\n lifetimeManager?: LifetimeManager;\n uiCoordinator?: ToastUICoordinator;\n }) {\n this.destroy();\n this.store = props?.store || getStore();\n this.lifetimeManager = props?.lifetimeManager ?? new LifetimeManager();\n this.uiCoordinator =\n props?.uiCoordinator ??\n new ToastUICoordinator({\n onCloseToast: this.closeToast.bind(this)\n });\n }\n\n public async init({\n successfulToastLifetime = DEFAULT_TOAST_LIFETIME\n }: IToastManager = {}) {\n this.successfulToastLifetime = successfulToastLifetime;\n\n this.lifetimeManager.init({ successfulToastLifetime });\n\n await this.updateTransactionToastsList();\n await this.updateCustomToastList();\n\n await this.uiCoordinator?.init();\n\n this.unsubscribeFromStore = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n const newToastsWereCreated = !isEqual(\n prevToasts.transactionToasts,\n toasts.transactionToasts\n );\n const checkBatchHasNewData = !isEqual(prevTransactions, transactions);\n\n if (newToastsWereCreated || checkBatchHasNewData) {\n await this.updateTransactionToastsList({\n skipFetchingTransactions: checkBatchHasNewData // transactions were already fetched by `checkBatch`\n });\n }\n\n const newCustomToastsWereCreated = !isEqual(\n prevToasts.customToasts,\n toasts.customToasts\n );\n\n if (newCustomToastsWereCreated) {\n await 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 async createTransactionToast(\n toastId: string,\n totalDuration: number\n ): Promise<string> {\n const newToastId = addTransactionToast({\n toastId,\n totalDuration\n });\n\n this.handleCompletedTransaction(toastId);\n await this.updateTransactionToastsList();\n return newToastId;\n }\n\n public async createCustomToast(toast: CustomToastType): Promise<string> {\n const toastId = createCustomToast(toast);\n await this.updateCustomToastList();\n return toastId;\n }\n\n private async updateTransactionToastsList(props?: {\n skipFetchingTransactions?: boolean;\n }) {\n const store = this.store.getState();\n const { toasts: toastList } = store;\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n skipFetchingTransactions: props?.skipFetchingTransactions,\n store\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 await this.uiCoordinator?.publishCustomToasts(this.customToasts);\n }\n\n private handleTransactionToastClose(toastId: string): boolean {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n return true;\n }\n\n return false;\n }\n\n public async showToasts() {\n this.uiCoordinator?.showToasts();\n await this.updateCustomToastList();\n await this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.uiCoordinator?.hideToasts();\n }\n\n public closeToast(toastId: string): boolean {\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 true;\n }\n\n return this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts);\n }\n\n public destroy() {\n this.unsubscribeFromStore();\n this.lifetimeManager?.destroy();\n this.uiCoordinator?.destroy();\n removeAllCustomToasts();\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AACpB,0BAAuC;AACvC,2BAQO;AACP,sCAIO;AAGP,mBAAyB;AACzB,0CAA6C;AAC7C,6BAAgC;AAChC,gCAAmC;AAO5B,MAAM,aAAa;AAAA,EAUxB,YAAY,OAIT;AAVH,SAAQ,oBAAyC,CAAC;AAClD,SAAQ,eAAkC,CAAC;AAE3C,SAAQ,uBAAmC,MAAM;AACjD,SAAQ,gBAA2C;AAOjD,SAAK,QAAQ;AACb,SAAK,QAAQ,OAAO,aAAS,uBAAS;AACtC,SAAK,kBAAkB,OAAO,mBAAmB,IAAI,uCAAgB;AACrE,SAAK,gBACH,OAAO,iBACP,IAAI,6CAAmB;AAAA,MACrB,cAAc,KAAK,WAAW,KAAK,IAAI;AAAA,IACzC,CAAC;AAAA,EACL;AAAA,EAEA,MAAa,KAAK;AAAA,IAChB,0BAA0B;AAAA,EAC5B,IAAmB,CAAC,GAAG;AACrB,SAAK,0BAA0B;AAE/B,SAAK,gBAAgB,KAAK,EAAE,wBAAwB,CAAC;AAErD,UAAM,KAAK,4BAA4B;AACvC,UAAM,KAAK,sBAAsB;AAEjC,UAAM,KAAK,eAAe,KAAK;AAE/B,SAAK,uBAAuB,KAAK,MAAM;AAAA,MACrC,OACE,EAAE,QAAQ,aAAa,GACvB,EAAE,QAAQ,YAAY,cAAc,iBAAiB,MAClD;AACH,cAAM,uBAAuB,KAAC,cAAAA;AAAA,UAC5B,WAAW;AAAA,UACX,OAAO;AAAA,QACT;AACA,cAAM,uBAAuB,KAAC,cAAAA,SAAQ,kBAAkB,YAAY;AAEpE,YAAI,wBAAwB,sBAAsB;AAChD,gBAAM,KAAK,4BAA4B;AAAA,YACrC,0BAA0B;AAAA;AAAA,UAC5B,CAAC;AAAA,QACH;AAEA,cAAM,6BAA6B,KAAC,cAAAA;AAAA,UAClC,WAAW;AAAA,UACX,OAAO;AAAA,QACT;AAEA,YAAI,4BAA4B;AAC9B,gBAAM,KAAK,sBAAsB;AAAA,QACnC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,OAAc,cAA4B;AACxC,QAAI,CAAC,aAAa,UAAU;AAC1B,mBAAa,WAAW,IAAI,aAAa;AAAA,IAC3C;AACA,WAAO,aAAa;AAAA,EACtB;AAAA,EAEQ,2BAA2B,SAA0B;AAC3D,UAAM,EAAE,aAAa,IAAI,KAAK,MAAM,SAAS;AAC7C,UAAM,cAAc,aAAa,OAAO;AAExC,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACT;AAEA,UAAM,EAAE,OAAO,IAAI;AACnB,UAAM,iBAAa,0DAAyB,MAAM;AAClD,UAAM,eAAW,wDAAuB,MAAM;AAC9C,UAAM,mBAAe,4DAA2B,MAAM;AACtD,UAAM,cAAc,YAAY,gBAAgB;AAEhD,QAAI,aAAa;AACf,UAAI,KAAK,yBAAyB;AAChC,aAAK,gBAAgB,MAAM,OAAO;AAAA,MACpC;AACA,aAAO;AAAA,IACT;AAEA,SAAK,gBAAgB,KAAK,OAAO;AACjC,WAAO;AAAA,EACT;AAAA,EAEA,MAAa,uBACX,SACA,eACiB;AACjB,UAAM,iBAAa,0CAAoB;AAAA,MACrC;AAAA,MACA;AAAA,IACF,CAAC;AAED,SAAK,2BAA2B,OAAO;AACvC,UAAM,KAAK,4BAA4B;AACvC,WAAO;AAAA,EACT;AAAA,EAEA,MAAa,kBAAkB,OAAyC;AACtE,UAAM,cAAU,wCAAkB,KAAK;AACvC,UAAM,KAAK,sBAAsB;AACjC,WAAO;AAAA,EACT;AAAA,EAEA,MAAc,4BAA4B,OAEvC;AACD,UAAM,QAAQ,KAAK,MAAM,SAAS;AAClC,UAAM,EAAE,QAAQ,UAAU,IAAI;AAE9B,UAAM,EAAE,0BAA0B,2BAA2B,IAC3D,UAAM,kEAA6B;AAAA,MACjC,0BAA0B,OAAO;AAAA,MACjC;AAAA,IACF,CAAC;AAEH,SAAK,oBAAoB;AAAA,MACvB,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAEA,eAAW,SAAS,UAAU,mBAAmB;AAC/C,WAAK,2BAA2B,MAAM,OAAO;AAAA,IAC/C;AAEA,UAAM,KAAK,yBAAyB;AAAA,EACtC;AAAA,EAEA,MAAc,wBAAwB;AACpC,UAAM,EAAE,QAAQ,UAAU,IAAI,KAAK,MAAM,SAAS;AAClD,SAAK,eAAe,CAAC;AAErB,eAAW,SAAS,UAAU,cAAc;AAC1C,YAAM,gBAAgB,aAAa;AAEnC,YAAM,WAA4B,gBAC9B,EAAE,GAAG,MAAM,IACX;AAAA,QACE,GAAG;AAAA,QACH,yBACE,oDAA+B,MAAM,OAAO;AAAA,MAChD;AACJ,WAAK,aAAa,KAAK,QAAQ;AAE/B,UAAI,MAAM,UAAU;AAClB,aAAK,gBAAgB;AAAA,UACnB,MAAM;AAAA,UACN,MAAM;AAAA,QACR;AAAA,MACF;AAAA,IACF;AACA,UAAM,KAAK,eAAe,oBAAoB,KAAK,YAAY;AAAA,EACjE;AAAA,EAEQ,4BAA4B,SAA0B;AAC5D,UAAM,cAAc,KAAK,2BAA2B,OAAO;AAE3D,QAAI,aAAa;AACf,uDAAuB,OAAO;AAC9B,aAAO;AAAA,IACT;AAEA,WAAO;AAAA,EACT;AAAA,EAEA,MAAa,aAAa;AACxB,SAAK,eAAe,WAAW;AAC/B,UAAM,KAAK,sBAAsB;AACjC,UAAM,KAAK,4BAA4B;AAAA,EACzC;AAAA,EAEO,aAAa;AAClB,SAAK,eAAe,WAAW;AAAA,EACjC;AAAA,EAEO,WAAW,SAA0B;AAC1C,UAAM,cAAc,KAAK,aAAa;AAAA,MACpC,CAAC,UAAU,MAAM,YAAY;AAAA,IAC/B;AAEA,QAAI,aAAa;AACf,WAAK,gBAAgB,KAAK,OAAO;AACjC,YAAM,cAAc,wDAAmC,OAAO;AAC9D,oBAAc;AACd,kDAAkB,OAAO;AACzB,aAAO;AAAA,IACT;AAEA,WAAO,KAAK,4BAA4B,OAAO;AAAA,EACjD;AAAA,EAEA,MAAc,2BAA2B;AACvC,UAAM,KAAK,eAAe,yBAAyB,KAAK,iBAAiB;AAAA,EAC3E;AAAA,EAEO,UAAU;AACf,SAAK,qBAAqB;AAC1B,SAAK,iBAAiB,QAAQ;AAC9B,SAAK,eAAe,QAAQ;AAC5B,oDAAsB;AAAA,EACxB;AACF;",
|
|
6
6
|
"names": ["isEqual"]
|
|
7
7
|
}
|
|
@@ -1,53 +1,35 @@
|
|
|
1
1
|
import { CustomToastType } from '../../store/slices/toast/toastSlice.types';
|
|
2
|
+
import { getStore } from '../../store/store';
|
|
3
|
+
import { LifetimeManager } from './helpers/LifetimeManager';
|
|
4
|
+
import { ToastUICoordinator } from './ToastUICoordinator';
|
|
2
5
|
interface IToastManager {
|
|
3
6
|
successfulToastLifetime?: number;
|
|
4
7
|
}
|
|
5
8
|
export declare class ToastManager {
|
|
6
9
|
private readonly lifetimeManager;
|
|
7
|
-
private
|
|
10
|
+
private store;
|
|
8
11
|
private static instance;
|
|
9
|
-
private toastsElement;
|
|
10
12
|
private transactionToasts;
|
|
11
13
|
private customToasts;
|
|
12
14
|
private successfulToastLifetime?;
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}>(partial: import("../../store/store.types").StoreType | Partial<import("../../store/store.types").StoreType> | ((state: import("../../store/store.types").StoreType) => import("../../store/store.types").StoreType | Partial<import("../../store/store.types").StoreType>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
21
|
-
}, "persist"> & {
|
|
22
|
-
persist: {
|
|
23
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<import("../../store/store.types").StoreType, import("../../store/store.types").StoreType>>) => void;
|
|
24
|
-
clearStorage: () => void;
|
|
25
|
-
rehydrate: () => void | Promise<void>;
|
|
26
|
-
hasHydrated: () => boolean;
|
|
27
|
-
onHydrate: (fn: (state: import("../../store/store.types").StoreType) => void) => () => void;
|
|
28
|
-
onFinishHydration: (fn: (state: import("../../store/store.types").StoreType) => void) => () => void;
|
|
29
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<import("../../store/store.types").StoreType, import("../../store/store.types").StoreType>>;
|
|
30
|
-
};
|
|
31
|
-
}, "setState"> & {
|
|
32
|
-
setState(nextStateOrUpdater: import("../../store/store.types").StoreType | Partial<import("../../store/store.types").StoreType> | ((state: import("immer").WritableDraft<import("../../store/store.types").StoreType>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
33
|
-
type: string;
|
|
34
|
-
} | undefined): void;
|
|
35
|
-
};
|
|
36
|
-
constructor();
|
|
15
|
+
private unsubscribeFromStore;
|
|
16
|
+
private uiCoordinator;
|
|
17
|
+
constructor(props?: {
|
|
18
|
+
store?: ReturnType<typeof getStore>;
|
|
19
|
+
lifetimeManager?: LifetimeManager;
|
|
20
|
+
uiCoordinator?: ToastUICoordinator;
|
|
21
|
+
});
|
|
37
22
|
init({ successfulToastLifetime }?: IToastManager): Promise<void>;
|
|
38
23
|
static getInstance(): ToastManager;
|
|
39
24
|
private handleCompletedTransaction;
|
|
40
25
|
createTransactionToast(toastId: string, totalDuration: number): Promise<string>;
|
|
41
|
-
createCustomToast(toast: CustomToastType): string
|
|
26
|
+
createCustomToast(toast: CustomToastType): Promise<string>;
|
|
42
27
|
private updateTransactionToastsList;
|
|
43
28
|
private updateCustomToastList;
|
|
44
|
-
private createToastListElement;
|
|
45
29
|
private handleTransactionToastClose;
|
|
46
|
-
private subscribeToEventBusNotifications;
|
|
47
30
|
showToasts(): Promise<void>;
|
|
48
31
|
hideToasts(): void;
|
|
49
|
-
|
|
50
|
-
closeToast(toastId: string): void;
|
|
32
|
+
closeToast(toastId: string): boolean;
|
|
51
33
|
private publishTransactionToasts;
|
|
52
34
|
destroy(): void;
|
|
53
35
|
}
|