@multiversx/sdk-dapp 5.1.10 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/out/__chunks__/{chunk-YRXESD4B.mjs → chunk-22ANWLYS.mjs} +2 -2
- package/out/__chunks__/{chunk-YRXESD4B.mjs.map → chunk-22ANWLYS.mjs.map} +1 -1
- package/out/__chunks__/{chunk-DXTUMMVX.mjs → chunk-2A63CJKS.mjs} +2 -2
- package/out/__chunks__/chunk-2PNYAM6W.mjs +2 -0
- package/out/__chunks__/{chunk-ZORPCBON.mjs → chunk-2Z5M6QQ2.mjs} +2 -2
- package/out/__chunks__/chunk-36TM2TJY.mjs +2 -0
- package/out/__chunks__/{chunk-A6TCEIG4.mjs → chunk-3MKQRKD2.mjs} +2 -2
- package/out/__chunks__/chunk-46AC63TA.mjs +2 -0
- package/out/__chunks__/{chunk-DOLG56CN.mjs → chunk-4TDQSARK.mjs} +2 -2
- package/out/__chunks__/{chunk-C53VPXWP.mjs → chunk-5HY62GH7.mjs} +2 -2
- package/out/__chunks__/{chunk-JNEQJC3B.mjs → chunk-5L747MOB.mjs} +2 -2
- package/out/__chunks__/{chunk-J6R2XFXZ.mjs → chunk-5Q6G6CI4.mjs} +2 -2
- package/out/__chunks__/{chunk-BPVF6WD4.mjs → chunk-6IQLBT4L.mjs} +2 -2
- package/out/__chunks__/{chunk-IPYKRZ2A.mjs → chunk-6LV4HAFU.mjs} +2 -2
- package/out/__chunks__/{chunk-JB3LG75C.mjs → chunk-6Y7RDZ2B.mjs} +2 -2
- package/out/__chunks__/{chunk-3AQIQDPA.mjs → chunk-76ECKPKT.mjs} +2 -2
- package/out/__chunks__/{chunk-FY7XZQRH.mjs → chunk-7F3VGKXN.mjs} +2 -2
- package/out/__chunks__/{chunk-OLMTXXEH.mjs → chunk-AFNZCTNZ.mjs} +2 -2
- package/out/__chunks__/{chunk-VDMJZZU4.mjs → chunk-AJC3F2YT.mjs} +1 -1
- package/out/__chunks__/{chunk-VDMJZZU4.mjs.map → chunk-AJC3F2YT.mjs.map} +1 -1
- package/out/__chunks__/{chunk-EPG3L2S3.mjs → chunk-BA4LPRGY.mjs} +2 -2
- package/out/__chunks__/{chunk-VF75NE7S.mjs → chunk-C4KGS2BP.mjs} +2 -2
- package/out/__chunks__/{chunk-6YCGOXOL.mjs → chunk-CL7UO54N.mjs} +2 -2
- package/out/__chunks__/{chunk-NQTTC42T.mjs → chunk-CZIMPZY4.mjs} +2 -2
- package/out/__chunks__/{chunk-5G5ETZM4.mjs → chunk-DGMI66QS.mjs} +1 -1
- package/out/__chunks__/{chunk-5G5ETZM4.mjs.map → chunk-DGMI66QS.mjs.map} +1 -1
- package/out/__chunks__/{chunk-UBZGPJ3E.mjs → chunk-DZITE34E.mjs} +2 -2
- package/out/__chunks__/chunk-EAHD3FOU.mjs +2 -0
- package/out/__chunks__/{chunk-RF5IAADG.mjs.map → chunk-EAHD3FOU.mjs.map} +1 -1
- package/out/__chunks__/{chunk-OXHTDT7J.mjs → chunk-EOMHYWS3.mjs} +2 -2
- package/out/__chunks__/{chunk-HESE5NRU.mjs → chunk-F7QE2BXY.mjs} +2 -2
- package/out/__chunks__/chunk-FZFUNR5U.mjs +2 -0
- package/out/__chunks__/{chunk-BIVZJPSH.mjs → chunk-GB2K574L.mjs} +1 -1
- package/out/__chunks__/{chunk-BIVZJPSH.mjs.map → chunk-GB2K574L.mjs.map} +1 -1
- package/out/__chunks__/{chunk-ZJ47ZJGM.mjs → chunk-GBV4WTOL.mjs} +2 -2
- package/out/__chunks__/{chunk-44FB23KP.mjs → chunk-GGDZD3N6.mjs} +2 -2
- package/out/__chunks__/{chunk-AVWNBQDX.mjs → chunk-HG5ZRYDO.mjs} +2 -2
- package/out/__chunks__/chunk-HNLLV6SD.mjs +2 -0
- package/out/__chunks__/{chunk-QDT3NABZ.mjs → chunk-HZA2YT74.mjs} +2 -2
- package/out/__chunks__/chunk-IJWP5CUJ.mjs +2 -0
- package/out/__chunks__/{chunk-FPBY3DHR.mjs → chunk-ILSJXAAO.mjs} +2 -2
- package/out/__chunks__/{chunk-XQWEAEGW.mjs → chunk-IO7VCKOO.mjs} +2 -2
- package/out/__chunks__/{chunk-4HEYQZNL.mjs → chunk-J26RADFN.mjs} +2 -2
- package/out/__chunks__/{chunk-SAV2LFBH.mjs → chunk-JZ7B36OT.mjs} +2 -2
- package/out/__chunks__/chunk-KV4CJO6I.mjs +2 -0
- package/out/__chunks__/{chunk-JFOYQVDZ.mjs → chunk-KZKD4NES.mjs} +2 -2
- package/out/__chunks__/{chunk-AI7UKECA.mjs → chunk-L4FBGQKW.mjs} +2 -2
- package/out/__chunks__/{chunk-QMY5RUJ3.mjs → chunk-LDX6YMAJ.mjs} +2 -2
- package/out/__chunks__/{chunk-MXEJ6NB4.mjs → chunk-M3SOIDF4.mjs} +2 -2
- package/out/__chunks__/chunk-M3SOIDF4.mjs.map +7 -0
- package/out/__chunks__/{chunk-PYHZTCM4.mjs → chunk-M73ACNCZ.mjs} +2 -2
- package/out/__chunks__/{chunk-7YHUOWFV.mjs → chunk-MEGUEXSX.mjs} +2 -2
- package/out/__chunks__/{chunk-TPJ7WT4J.mjs → chunk-MRN73EEW.mjs} +2 -2
- package/out/__chunks__/{chunk-TPJ7WT4J.mjs.map → chunk-MRN73EEW.mjs.map} +1 -1
- package/out/__chunks__/{chunk-PJNZSN57.mjs → chunk-MUXOTXZA.mjs} +2 -2
- package/out/__chunks__/{chunk-43DVKBLZ.mjs → chunk-N3QIT4Z7.mjs} +2 -2
- package/out/__chunks__/{chunk-TX4NQXZO.mjs → chunk-NF5BWZH7.mjs} +2 -2
- package/out/__chunks__/{chunk-TT5VL5H4.mjs → chunk-NGQEAHDC.mjs} +2 -2
- package/out/__chunks__/{chunk-5MMHERWI.mjs → chunk-NLWJ7ERG.mjs} +2 -2
- package/out/__chunks__/chunk-OE6IBPA7.mjs +2 -0
- package/out/__chunks__/{chunk-S4VD34VQ.mjs → chunk-OHDUQQEH.mjs} +2 -2
- package/out/__chunks__/chunk-PKD3AEXI.mjs +1 -0
- package/out/__chunks__/{chunk-DMBZGJ6Q.mjs → chunk-PNIZP27U.mjs} +2 -2
- package/out/__chunks__/{chunk-K4TMKMCO.mjs → chunk-PV2FIP47.mjs} +2 -2
- package/out/__chunks__/chunk-PVATJYBR.mjs +2 -0
- package/out/__chunks__/chunk-PVATJYBR.mjs.map +7 -0
- package/out/__chunks__/{chunk-YY724VZR.mjs → chunk-PZHQ37I6.mjs} +2 -2
- package/out/__chunks__/{chunk-Y4QDT6I2.mjs → chunk-QDQNGBSL.mjs} +2 -2
- package/out/__chunks__/{chunk-GIZJB7FR.mjs → chunk-QH4KZO24.mjs} +2 -2
- package/out/__chunks__/{chunk-CD7RYHHQ.mjs → chunk-QKUOY7IT.mjs} +2 -2
- package/out/__chunks__/{chunk-NX6LPULJ.mjs → chunk-QLVGLTKW.mjs} +2 -2
- package/out/__chunks__/{chunk-CRMKEEKH.mjs → chunk-RKQMY4CO.mjs} +2 -2
- package/out/__chunks__/{chunk-UAEUFVGE.mjs → chunk-RUHXQTPN.mjs} +2 -2
- package/out/__chunks__/chunk-S3SH4KCM.mjs +2 -0
- package/out/__chunks__/{chunk-R6GH7DA7.mjs → chunk-SHF44E27.mjs} +2 -2
- package/out/__chunks__/chunk-SMFNVU6B.mjs +2 -0
- package/out/__chunks__/chunk-SMFNVU6B.mjs.map +7 -0
- package/out/__chunks__/chunk-T2BTKWLR.mjs +2 -0
- package/out/__chunks__/chunk-U2IB2ADP.mjs +2 -0
- package/out/__chunks__/{chunk-NMISWSIO.mjs → chunk-UBP6IFJF.mjs} +2 -2
- package/out/__chunks__/{chunk-E6WW5OHD.mjs → chunk-UPEKWDPU.mjs} +2 -2
- package/out/__chunks__/{chunk-QJW6PYFV.mjs → chunk-VDYLK3NT.mjs} +2 -2
- package/out/__chunks__/{chunk-IYMSWFCP.mjs → chunk-VY3JMNHD.mjs} +2 -2
- package/out/__chunks__/{chunk-667PINAR.mjs → chunk-XELT67NG.mjs} +2 -2
- package/out/__chunks__/chunk-XHMGA5T6.mjs +2 -0
- package/out/__chunks__/chunk-XHMGA5T6.mjs.map +7 -0
- package/out/__chunks__/chunk-Y3RPKCXI.mjs +2 -0
- package/out/__chunks__/{chunk-BPIDBLI4.mjs → chunk-Y4MBRY6P.mjs} +2 -2
- package/out/__chunks__/chunk-Y6BAA2ZQ.mjs +2 -0
- package/out/__chunks__/chunk-YHNHQL5A.mjs +2 -0
- package/out/__chunks__/{chunk-ALPIQGXL.mjs → chunk-YIJP3JDV.mjs} +2 -2
- package/out/__chunks__/{chunk-FT5G3VJ5.mjs → chunk-YK5QXCRF.mjs} +2 -2
- package/out/__chunks__/{chunk-C7IGU65A.mjs → chunk-ZB7BTA2Y.mjs} +2 -2
- package/out/__chunks__/{chunk-3T75EERX.mjs → chunk-ZEW4FMMF.mjs} +2 -2
- package/out/__chunks__/chunk-ZO6NJYZ7.mjs +2 -0
- package/out/__chunks__/{chunk-NWSFXZMR.mjs → chunk-ZX3ZUYOZ.mjs} +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/index.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.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/storage.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.cjs +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs.map +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +4 -4
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/ToastManager.cjs +8 -8
- package/out/managers/{internal/ToastManager → ToastManager}/ToastManager.cjs.map +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/ToastManager.d.ts +8 -8
- package/out/managers/ToastManager/ToastManager.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/LifetimeManager.cjs.map +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createToastsFromTransactions.cjs +4 -4
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createToastsFromTransactions.cjs.map +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createToastsFromTransactions.d.ts +3 -3
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createTransactionToast.cjs +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createTransactionToast.cjs.map +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/createTransactionToast.d.ts +3 -3
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastDataStateByStatus.cjs +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastDataStateByStatus.cjs.map +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastTransactionsStatus.cjs +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastTransactionsStatus.cjs.map +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastTransactionsStatus.d.ts +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +2 -0
- package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/types/index.cjs.map +1 -1
- package/out/managers/ToastManager/types/index.mjs +2 -0
- package/out/managers/{internal/ToastManager → ToastManager}/types/toast.types.cjs.map +1 -1
- package/out/managers/{internal/ToastManager → ToastManager}/types/toast.types.d.ts +3 -3
- package/out/managers/ToastManager/types/toast.types.mjs +2 -0
- 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/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.cjs +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +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.cjs +0 -3
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.d.ts +0 -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.cjs +1 -1
- package/out/methods/initApp/initApp.cjs.map +2 -2
- 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/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.cjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +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.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.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.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +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.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/parseMultiEsdtTransferDataForMultipleTransactions.cjs +5 -5
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- 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/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/transactionsActions.cjs +7 -0
- 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/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/utils/ComponentFactory.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/getInterpretedTransaction/getInterpretedTransaction.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/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.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.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.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 -2
- package/out/__chunks__/chunk-2NXPS7R3.mjs +0 -2
- package/out/__chunks__/chunk-32WMC3HQ.mjs +0 -2
- package/out/__chunks__/chunk-33ZUFX42.mjs +0 -2
- package/out/__chunks__/chunk-4Z7G5RCK.mjs +0 -2
- package/out/__chunks__/chunk-6CY7XXBE.mjs +0 -2
- package/out/__chunks__/chunk-DTSAE3IB.mjs +0 -2
- package/out/__chunks__/chunk-DTSAE3IB.mjs.map +0 -7
- package/out/__chunks__/chunk-JD3WTXPU.mjs +0 -2
- package/out/__chunks__/chunk-JFX27ZGH.mjs +0 -2
- package/out/__chunks__/chunk-KKBWOSVH.mjs +0 -2
- package/out/__chunks__/chunk-KYBNCMQL.mjs +0 -2
- package/out/__chunks__/chunk-MXEJ6NB4.mjs.map +0 -7
- package/out/__chunks__/chunk-NL5FA7NT.mjs +0 -2
- package/out/__chunks__/chunk-NL5FA7NT.mjs.map +0 -7
- package/out/__chunks__/chunk-RBJ3O63I.mjs +0 -2
- package/out/__chunks__/chunk-RBJ3O63I.mjs.map +0 -7
- package/out/__chunks__/chunk-RF5IAADG.mjs +0 -2
- package/out/__chunks__/chunk-RPNTVD3R.mjs +0 -2
- package/out/__chunks__/chunk-RRKJBSXY.mjs +0 -2
- package/out/__chunks__/chunk-SCSHU7XJ.mjs +0 -1
- package/out/__chunks__/chunk-UHQDTMYM.mjs +0 -2
- package/out/__chunks__/chunk-XBJKQBW3.mjs +0 -2
- package/out/__chunks__/chunk-YRRWYFH3.mjs +0 -2
- package/out/__chunks__/chunk-YUD55T7W.mjs +0 -2
- package/out/managers/internal/ToastManager/ToastManager.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.mjs +0 -2
- package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.d.ts +0 -2
- package/out/managers/internal/ToastManager/types/index.mjs +0 -2
- package/out/managers/internal/ToastManager/types/toast.types.mjs +0 -2
- /package/out/__chunks__/{chunk-DXTUMMVX.mjs.map → chunk-2A63CJKS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RPNTVD3R.mjs.map → chunk-2PNYAM6W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZORPCBON.mjs.map → chunk-2Z5M6QQ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6CY7XXBE.mjs.map → chunk-36TM2TJY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A6TCEIG4.mjs.map → chunk-3MKQRKD2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4Z7G5RCK.mjs.map → chunk-46AC63TA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DOLG56CN.mjs.map → chunk-4TDQSARK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C53VPXWP.mjs.map → chunk-5HY62GH7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JNEQJC3B.mjs.map → chunk-5L747MOB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J6R2XFXZ.mjs.map → chunk-5Q6G6CI4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BPVF6WD4.mjs.map → chunk-6IQLBT4L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IPYKRZ2A.mjs.map → chunk-6LV4HAFU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JB3LG75C.mjs.map → chunk-6Y7RDZ2B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3AQIQDPA.mjs.map → chunk-76ECKPKT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FY7XZQRH.mjs.map → chunk-7F3VGKXN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OLMTXXEH.mjs.map → chunk-AFNZCTNZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EPG3L2S3.mjs.map → chunk-BA4LPRGY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VF75NE7S.mjs.map → chunk-C4KGS2BP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6YCGOXOL.mjs.map → chunk-CL7UO54N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NQTTC42T.mjs.map → chunk-CZIMPZY4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UBZGPJ3E.mjs.map → chunk-DZITE34E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OXHTDT7J.mjs.map → chunk-EOMHYWS3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HESE5NRU.mjs.map → chunk-F7QE2BXY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-33ZUFX42.mjs.map → chunk-FZFUNR5U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZJ47ZJGM.mjs.map → chunk-GBV4WTOL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-44FB23KP.mjs.map → chunk-GGDZD3N6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AVWNBQDX.mjs.map → chunk-HG5ZRYDO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RRKJBSXY.mjs.map → chunk-HNLLV6SD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QDT3NABZ.mjs.map → chunk-HZA2YT74.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2NXPS7R3.mjs.map → chunk-IJWP5CUJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FPBY3DHR.mjs.map → chunk-ILSJXAAO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQWEAEGW.mjs.map → chunk-IO7VCKOO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4HEYQZNL.mjs.map → chunk-J26RADFN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SAV2LFBH.mjs.map → chunk-JZ7B36OT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JD3WTXPU.mjs.map → chunk-KV4CJO6I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JFOYQVDZ.mjs.map → chunk-KZKD4NES.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AI7UKECA.mjs.map → chunk-L4FBGQKW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QMY5RUJ3.mjs.map → chunk-LDX6YMAJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PYHZTCM4.mjs.map → chunk-M73ACNCZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7YHUOWFV.mjs.map → chunk-MEGUEXSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PJNZSN57.mjs.map → chunk-MUXOTXZA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-43DVKBLZ.mjs.map → chunk-N3QIT4Z7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TX4NQXZO.mjs.map → chunk-NF5BWZH7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TT5VL5H4.mjs.map → chunk-NGQEAHDC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5MMHERWI.mjs.map → chunk-NLWJ7ERG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JFX27ZGH.mjs.map → chunk-OE6IBPA7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S4VD34VQ.mjs.map → chunk-OHDUQQEH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SCSHU7XJ.mjs.map → chunk-PKD3AEXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMBZGJ6Q.mjs.map → chunk-PNIZP27U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K4TMKMCO.mjs.map → chunk-PV2FIP47.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YY724VZR.mjs.map → chunk-PZHQ37I6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y4QDT6I2.mjs.map → chunk-QDQNGBSL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GIZJB7FR.mjs.map → chunk-QH4KZO24.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CD7RYHHQ.mjs.map → chunk-QKUOY7IT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NX6LPULJ.mjs.map → chunk-QLVGLTKW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CRMKEEKH.mjs.map → chunk-RKQMY4CO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UAEUFVGE.mjs.map → chunk-RUHXQTPN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-32WMC3HQ.mjs.map → chunk-S3SH4KCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R6GH7DA7.mjs.map → chunk-SHF44E27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KYBNCMQL.mjs.map → chunk-T2BTKWLR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YUD55T7W.mjs.map → chunk-U2IB2ADP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NMISWSIO.mjs.map → chunk-UBP6IFJF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E6WW5OHD.mjs.map → chunk-UPEKWDPU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJW6PYFV.mjs.map → chunk-VDYLK3NT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IYMSWFCP.mjs.map → chunk-VY3JMNHD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-667PINAR.mjs.map → chunk-XELT67NG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YRRWYFH3.mjs.map → chunk-Y3RPKCXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BPIDBLI4.mjs.map → chunk-Y4MBRY6P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KKBWOSVH.mjs.map → chunk-Y6BAA2ZQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XBJKQBW3.mjs.map → chunk-YHNHQL5A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALPIQGXL.mjs.map → chunk-YIJP3JDV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FT5G3VJ5.mjs.map → chunk-YK5QXCRF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C7IGU65A.mjs.map → chunk-ZB7BTA2Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3T75EERX.mjs.map → chunk-ZEW4FMMF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UHQDTMYM.mjs.map → chunk-ZO6NJYZ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NWSFXZMR.mjs.map → chunk-ZX3ZUYOZ.mjs.map} +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/ToastManager.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/LifetimeManager.d.ts +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/LifetimeManager.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/createToastsFromTransactions.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/createTransactionToast.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastDataStateByStatus.d.ts +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastDataStateByStatus.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/helpers/getToastTransactionsStatus.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/types/index.cjs +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/types/index.d.ts +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/types/index.mjs.map +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/types/toast.types.cjs +0 -0
- /package/out/managers/{internal/ToastManager → ToastManager}/types/toast.types.mjs.map +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/internal/ToastManager/ToastManager.ts", "../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts", "../../src/managers/LogoutManager/LogoutManager.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.ts", "../../src/methods/trackTransactions/trackTransactions.ts", "../../src/providers/DappProvider/helpers/login/helpers/accountLogin.ts", "../../src/providers/DappProvider/helpers/login/login.ts", "../../src/providers/DappProvider/helpers/signErrors/handleSignError.ts", "../../src/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.ts", "../../src/providers/DappProvider/DappProvider.ts", "../../src/providers/helpers/accountProvider.ts", "../../src/utils/account/refreshAccount.ts", "../../src/store/actions/toasts/toastsActions.ts", "../../src/managers/internal/ToastManager/helpers/LifetimeManager.ts"],
|
|
4
|
-
"sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { DEFAULT_TOAST_LIEFTIME } from 'constants/transactions.constants';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxToastList } from 'lib/sdkDappUi';\nimport { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast,\n 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 { IEventBus } from 'types/manager.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { ComponentFactory } from 'utils/ComponentFactory';\nimport { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ITransactionToast, ToastEventsEnum } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private readonly lifetimeManager: LifetimeManager;\n private isCreatingElement = false;\n private static instance: ToastManager;\n private toastsElement: MvxToastList | null = null;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private storeToastsSubscription: () => void = () => null;\n private readonly notificationsFeedManager: NotificationsFeedManager;\n private eventBusUnsubscribeFunctions: (() => void)[] = [];\n private eventBus: IEventBus<\n ITransactionToast[] | CustomToastType[] | null\n > | null = null;\n\n store = getStore();\n\n constructor() {\n this.destroy();\n this.lifetimeManager = new LifetimeManager();\n\n this.notificationsFeedManager = NotificationsFeedManager.getInstance();\n }\n\n public async init({\n successfulToastLifetime = DEFAULT_TOAST_LIEFTIME\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.subscribeToEventBusNotifications();\n\n this.storeToastsSubscription = 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 createCustomToast(toast: CustomToastType): string {\n const toastId = createCustomToast(toast);\n this.updateCustomToastList();\n return toastId;\n }\n\n private async updateTransactionToastsList(props?: {\n skipFetchingTransactions?: boolean;\n }) {\n const {\n toasts: toastList,\n transactions: transactionsSessions,\n account\n } = this.store.getState();\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n toastList,\n transactionsSessions,\n account,\n skipFetchingTransactions: props?.skipFetchingTransactions\n });\n\n this.transactionToasts = [\n ...pendingTransactionToasts,\n ...completedTransactionToasts\n ];\n\n for (const toast of toastList.transactionToasts) {\n this.handleCompletedTransaction(toast.toastId);\n }\n\n await this.publishTransactionToasts();\n }\n\n private async updateCustomToastList() {\n const { toasts: toastList } = this.store.getState();\n this.customToasts = [];\n\n for (const toast of toastList.customToasts) {\n const isSimpleToast = 'message' in toast;\n\n const newToast: CustomToastType = isSimpleToast\n ? { ...toast }\n : {\n ...toast,\n instantiateToastElement:\n customToastComponentDictionary[toast.toastId]\n };\n this.customToasts.push(newToast);\n\n if (toast.duration) {\n this.lifetimeManager.startWithCustomDuration(\n toast.toastId,\n toast.duration\n );\n }\n }\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n this.customToasts\n );\n }\n\n private async createToastListElement(): Promise<MvxToastList | null> {\n if (this.toastsElement) {\n return this.toastsElement;\n }\n\n if (!this.isCreatingElement) {\n this.isCreatingElement = true;\n\n this.toastsElement = await ComponentFactory.create<MvxToastList>({\n name: UITagsEnum.TOAST_LIST\n });\n\n this.isCreatingElement = false;\n }\n\n return this.toastsElement;\n }\n\n private handleTransactionToastClose(toastId: string) {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n }\n }\n\n private async subscribeToEventBusNotifications() {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n this.eventBus.subscribe(ToastEventsEnum.CLOSE, this.closeToast.bind(this));\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.CLOSE,\n this.closeToast.bind(this)\n );\n });\n\n this.eventBus.subscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n });\n }\n\n public async showToasts() {\n this.eventBus?.publish(ToastEventsEnum.SHOW, null);\n\n await this.updateCustomToastList();\n await this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.eventBus?.publish(ToastEventsEnum.HIDE, null);\n }\n\n private async handleOpenNotificationsFeed() {\n this.notificationsFeedManager.openNotificationsFeed();\n }\n\n public closeToast(toastId: string) {\n const customToast = this.customToasts.find(\n (toast) => toast.toastId === toastId\n );\n\n if (customToast) {\n this.lifetimeManager.stop(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n removeCustomToast(toastId);\n return;\n }\n\n this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n if (\n this.notificationsFeedManager.isNotificationsFeedOpen() &&\n this.eventBus\n ) {\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n\n this.hideToasts();\n return;\n }\n\n if (!this.eventBus) {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n }\n\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n this.transactionToasts\n );\n }\n\n public destroy() {\n this.storeToastsSubscription();\n this.lifetimeManager?.destroy();\n this.notificationsFeedManager?.destroy();\n removeAllCustomToasts();\n this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());\n this.eventBusUnsubscribeFunctions = [];\n }\n}\n", "import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { TransactionsHistoryController } from 'controllers/TransactionsHistoryController';\nimport { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';\nimport { clearCompletedTransactions } from 'store/actions/transactions/transactionsActions';\nimport { getStore } from 'store/store';\nimport { NotificationsFeedEventsEnum } from './types';\nimport { ToastManager } from '../internal';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { createToastsFromTransactions } from '../internal/ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../internal/ToastManager/types';\n\ninterface INotificationsFeedManagerData {\n pendingTransactions: ITransactionToast[];\n historicTransactions: ITransactionListItem[];\n}\n\nconst NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';\n\nexport class NotificationsFeedManager extends SidePanelBaseManager<\n MvxNotificationsFeed,\n INotificationsFeedManagerData,\n NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE\n> {\n private static instance: NotificationsFeedManager;\n private readonly store = getStore();\n\n protected initialData: INotificationsFeedManagerData = {\n pendingTransactions: [],\n historicTransactions: []\n };\n\n public static getInstance(): NotificationsFeedManager {\n if (!NotificationsFeedManager.instance) {\n NotificationsFeedManager.instance = new NotificationsFeedManager();\n }\n return NotificationsFeedManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n /**\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, account, toasts, network } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions({\n toastList: toasts,\n transactionsSessions: transactions,\n account\n });\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions: transactions,\n address: account.address,\n explorerAddress: network.network.explorerAddress,\n egldLabel: network.network.egldLabel\n });\n\n await this.updateNotificationsFeed();\n }\n\n private handleClearNotificationsFeedHistory() {\n clearCompletedTransactions();\n this.resetData();\n this.updateNotificationsFeed();\n }\n\n private async updateNotificationsFeed() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,\n this.data.pendingTransactions\n );\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,\n this.data.historicTransactions\n );\n }\n}\n", "import BigNumber from 'bignumber.js';\nimport { ToastIconsEnum } from 'managers/internal/ToastManager/helpers/getToastDataStateByStatus';\nimport { ToastManager } from 'managers/internal/ToastManager/ToastManager';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { getTokenExpiration } from 'services/nativeAuth/methods/getTokenExpiration';\nimport {\n addressSelector,\n isLoggedInSelector\n} from 'store/selectors/accountSelectors';\nimport { nativeAuthConfigSelector } from 'store/selectors/configSelectors';\nimport { tokenLoginSelector } from 'store/selectors/loginInfoSelectors';\nimport { getStore } from 'store/store';\nimport { getHumanReadableTokenExpirationTime } from './helpers/getHumanReadableTokenExpirationTime';\n\nexport class LogoutManager {\n private static instance: LogoutManager;\n private store = getStore();\n private warningLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private actualLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutKey: string | null = null;\n\n public static getInstance(): LogoutManager {\n if (!LogoutManager.instance) {\n LogoutManager.instance = new LogoutManager();\n }\n return LogoutManager.instance;\n }\n\n private constructor() {}\n\n public init = async () => {\n if (!this.shouldStart()) {\n return;\n }\n\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n\n const { isExpired: isNativeAuthTokenExpired } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n if (isNativeAuthTokenExpired) {\n const provider = getAccountProvider();\n provider.logout();\n } else {\n this.addPlannedLogout();\n }\n };\n\n public stop = () => {\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n clearTimeout(this.actualLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = null;\n this.plannedLogoutTimeoutRef = null;\n this.actualLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n };\n\n private readonly shouldStart = (): boolean => {\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n const isLoggedIn = isLoggedInSelector(state);\n return Boolean(tokenLogin?.nativeAuthToken && isLoggedIn);\n };\n\n private addPlannedLogout = () => {\n const provider = getAccountProvider();\n const address = addressSelector(this.store.getState());\n const isWebviewLogin = provider.getType() === ProviderTypeEnum.webview;\n\n // prevent unexpected logout if webview login\n if (!address || isWebviewLogin) {\n return;\n }\n\n this.addLogoutWarning();\n\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires, expiresAt } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n // Handle the actual logout functionality.\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const plannedLogoutKey = `${address}_${expiresAt}`;\n const plannedLogoutSet = this.plannedLogoutKey === plannedLogoutKey;\n\n const isValidInterval =\n secondsUntilExpires && secondsUntilExpiresBN.isGreaterThan(0);\n\n if (!isValidInterval || plannedLogoutSet) {\n return;\n }\n\n this.plannedLogoutKey = plannedLogoutKey;\n\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n this.actualLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-logout',\n iconClassName: 'warning',\n title: 'Logging out',\n icon: ToastIconsEnum.times,\n message: 'Your session has expired!'\n });\n this.actualLogoutTimeoutRef = null;\n }, millisecondsUntilLogout.toNumber() - 3000);\n\n this.plannedLogoutTimeoutRef = setTimeout(() => {\n provider.logout();\n this.plannedLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n }, millisecondsUntilLogout.toNumber());\n };\n\n private readonly addLogoutWarning = () => {\n if (this.warningLogoutTimeoutRef) {\n return;\n }\n\n const nativeAuthConfig = nativeAuthConfigSelector(this.store.getState());\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n if (\n !secondsUntilExpires ||\n secondsUntilExpiresBN.isLessThanOrEqualTo(0) ||\n !nativeAuthConfig?.tokenExpirationToastWarningSeconds\n ) {\n return;\n }\n\n const logoutWarningOffsetSeconds = new BigNumber(\n nativeAuthConfig?.tokenExpirationToastWarningSeconds ?? 0\n );\n\n const logoutWarningOffsetMilliseconds =\n logoutWarningOffsetSeconds.times(1000);\n\n const millisecondsUntilLogoutWarning = secondsUntilExpiresBN\n .times(1000)\n .minus(logoutWarningOffsetMilliseconds);\n\n const readableMinutesUntilLogout = getHumanReadableTokenExpirationTime(\n millisecondsUntilLogout.toNumber()\n );\n\n const timeoutUntilLogoutWarning =\n millisecondsUntilLogoutWarning.isLessThanOrEqualTo(0)\n ? 0\n : millisecondsUntilLogoutWarning.toNumber();\n\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-expired',\n iconClassName: 'warning',\n title: 'Session Expiration Warning',\n icon: ToastIconsEnum.hourglass,\n message: `Your session will expire in ${readableMinutesUntilLogout}!`\n });\n this.warningLogoutTimeoutRef = null;\n }, timeoutUntilLogoutWarning);\n };\n}\n", "import { getTransactionsByHashes } from 'apiCalls/transactions/getTransactionsByHashes';\nimport { getIsLoggedIn } from 'methods/account/getIsLoggedIn';\nimport {\n updateTransactionStatus,\n updateSessionStatus\n} from 'store/actions/transactions/transactionsActions';\nimport { getIsTransactionFailed } from 'store/actions/transactions/transactionStateByStatus';\nimport { getStore } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport {\n TrackedTransactionResultType,\n SignedTransactionType\n} from 'types/transactions.types';\n\nimport { refreshAccount } from 'utils';\nimport { getPendingTransactions } from './getPendingTransactions';\nimport { manageFailedTransactions } from './manageFailedTransactions';\nimport { runSessionCallbacks } from './runSessionCallbacks';\n\nexport interface TransactionStatusTrackerPropsType {\n sessionId: string;\n transactionBatch: SignedTransactionType[];\n isSequential?: boolean;\n}\n\ninterface RetriesType {\n [hash: string]: number;\n}\n\nconst retries: RetriesType = {};\n\ninterface ManageTransactionType {\n serverTransaction: TrackedTransactionResultType;\n sessionId: string;\n isSequential?: boolean;\n}\n\nasync function manageTransaction({\n serverTransaction: transaction,\n sessionId,\n isSequential\n}: ManageTransactionType) {\n const { hash, status, results, invalidTransaction, hasStatusChanged } =\n transaction;\n try {\n const retriesForThisHash = retries[hash];\n if (retriesForThisHash > 30) {\n // consider transaction as stuck after 1 minute\n updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.timedOut\n });\n\n await runSessionCallbacks({\n sessionId,\n status: TransactionBatchStatusesEnum.timedOut\n });\n\n return;\n }\n\n if (\n (invalidTransaction && !isSequential) ||\n status === TransactionBatchStatusesEnum.sent\n ) {\n retries[hash] = retries[hash] ? retries[hash] + 1 : 1;\n return;\n }\n\n // The tx is from a sequential batch.\n // If the transactions before this are not successful then it means that no other tx will be processed\n if (isSequential && !status) {\n const newStatus = updateTransactionStatus({\n sessionId,\n transaction\n });\n await runSessionCallbacks({\n sessionId,\n status: newStatus\n });\n return;\n }\n\n if (hasStatusChanged) {\n const newStatus = updateTransactionStatus({\n sessionId,\n transaction\n });\n\n await runSessionCallbacks({\n sessionId,\n status: newStatus\n });\n }\n\n if (getIsTransactionFailed(status)) {\n await manageFailedTransactions({ sessionId, hash, results });\n }\n } catch (error) {\n console.error(error);\n updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.timedOut\n });\n await runSessionCallbacks({\n sessionId,\n status: TransactionBatchStatusesEnum.timedOut\n });\n }\n}\n\nexport async function checkBatch({\n sessionId,\n transactionBatch: transactions,\n isSequential\n}: TransactionStatusTrackerPropsType) {\n try {\n if (transactions == null) {\n return;\n }\n\n const isLoggedIn = getIsLoggedIn();\n\n const pendingTransactions = getPendingTransactions(transactions);\n\n const serverTransactions =\n await getTransactionsByHashes(pendingTransactions);\n\n for (const serverTransaction of serverTransactions) {\n await manageTransaction({\n serverTransaction,\n sessionId,\n isSequential\n });\n }\n\n const hasCompleted = serverTransactions.every(\n (tx) => tx.status !== TransactionServerStatusesEnum.pending\n );\n\n if (!hasCompleted) {\n return;\n }\n\n if (isLoggedIn) {\n await refreshAccount();\n }\n\n // Call the onSuccess or onFail callback only if the transactions are sent normally (not using batch transactions mechanism).\n // The batch transactions mechanism will call the callbacks separately.\n\n const { transactions: sessions } = getStore().getState();\n const session = sessions[sessionId];\n\n const isSuccessful = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.success\n );\n\n if (isSuccessful) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.success\n });\n }\n\n const isFailed = session.transactions.some(\n (tx) => tx.status === TransactionServerStatusesEnum.fail\n );\n\n if (isFailed) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.fail\n });\n }\n\n const isInvalid = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.notExecuted\n );\n\n if (isInvalid) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.invalid\n });\n }\n } catch (error) {\n console.error(error);\n }\n}\n", "import { pendingTransactionsSessionsSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { checkBatch } from './checkBatch';\n\nexport async function checkTransactionStatus() {\n const pendingSessions = pendingTransactionsSessionsSelector(getState());\n if (Object.keys(pendingSessions).length > 0) {\n for (const [sessionId, { transactions }] of Object.entries(\n pendingSessions\n )) {\n await checkBatch({\n sessionId,\n transactionBatch: transactions\n });\n }\n }\n}\n", "import { subscriptions } from 'constants/storage.constants';\nimport {\n WebsocketConnectionStatusEnum,\n websocketConnection\n} from 'constants/websocket.constants';\nimport { websocketEventSelector } from 'store/selectors/accountSelectors';\nimport { getStore } from 'store/store';\nimport { SubscriptionsEnum } from 'types/subscriptions.type';\nimport { checkTransactionStatus } from './helpers/checkTransactionStatus';\nimport { getPollingInterval } from './helpers/getPollingInterval';\n\n/**\n * Tracks transactions using websocket or polling\n * @returns stopTransactionsTracking function\n */\nexport async function trackTransactions() {\n const store = getStore();\n const pollingInterval = getPollingInterval();\n let pollingIntervalRef: ReturnType<typeof setTimeout> | null = null;\n let websocketStatusCheckIntervalRef: ReturnType<typeof setTimeout> | null =\n null;\n let timestamp = websocketEventSelector(store.getState())?.timestamp;\n\n const recheckStatus = () => {\n checkTransactionStatus();\n };\n\n const startPolling = () => {\n pollingIntervalRef ??= setInterval(recheckStatus, pollingInterval);\n };\n\n const stopPolling = () => {\n if (pollingIntervalRef) {\n clearInterval(pollingIntervalRef);\n pollingIntervalRef = null;\n }\n };\n\n const setupWebSocketTracking = () => {\n stopPolling();\n const unsubscribeWebsocketEvent = store.subscribe(\n ({ account: { websocketEvent } }) => {\n if (websocketEvent?.message && timestamp !== websocketEvent.timestamp) {\n timestamp = websocketEvent.timestamp;\n recheckStatus();\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketEventReceived,\n unsubscribeWebsocketEvent\n );\n };\n\n const startWatchingWebsocketStatus = () => {\n if (\n websocketConnection.status !==\n WebsocketConnectionStatusEnum.NOT_INITIALIZED ||\n websocketStatusCheckIntervalRef\n ) {\n return;\n }\n\n websocketStatusCheckIntervalRef = setInterval(() => {\n if (\n websocketConnection.status === WebsocketConnectionStatusEnum.COMPLETED\n ) {\n clearInterval(websocketStatusCheckIntervalRef!);\n websocketStatusCheckIntervalRef = null;\n setupWebSocketTracking();\n }\n }, 1000);\n };\n\n // Initial execution\n recheckStatus();\n\n const stopTransactionsTracking = () => {\n stopPolling();\n if (websocketStatusCheckIntervalRef) {\n clearInterval(websocketStatusCheckIntervalRef);\n websocketStatusCheckIntervalRef = null;\n }\n };\n\n const unsubscribeWebsocketStatus = store.subscribe(\n ({ account: { address }, config: { websocketStatus } }, prevState) => {\n const hasStatusChange =\n prevState.config.websocketStatus !== websocketStatus;\n\n if (!hasStatusChange) {\n return;\n }\n\n switch (websocketStatus) {\n case WebsocketConnectionStatusEnum.COMPLETED:\n setupWebSocketTracking();\n break;\n case WebsocketConnectionStatusEnum.PENDING:\n startPolling();\n startWatchingWebsocketStatus();\n break;\n default:\n address ? startPolling() : stopTransactionsTracking();\n break;\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketStatusChanged,\n unsubscribeWebsocketStatus\n );\n subscriptions.set(\n SubscriptionsEnum.websocketEventReceived,\n stopTransactionsTracking\n );\n return { stopTransactionsTracking };\n}\n", "import { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { setGasStationMetadata } from 'methods/initApp/gastStationMetadata/setGasStationMetadata';\nimport { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { loginAction } from 'store/actions';\nimport { setAccount } from 'store/actions/account';\nimport { AccountType } from 'types/account.types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { trimUsernameDomain } from 'utils/account/trimUsernameDomain';\n\ninterface IAccountLoginProps {\n address: string;\n provider: IProvider;\n apiAddress: string;\n}\n\nexport async function accountLogin({\n address,\n provider,\n apiAddress\n}: IAccountLoginProps) {\n const account = await fetchAccount({\n address,\n baseURL: apiAddress\n });\n\n if (!account) {\n throw new Error('Account not found');\n }\n\n loginAction({\n address,\n providerType: provider.getType()\n });\n\n const newAccount: AccountType = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(newAccount);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n}\n", "import { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { decodeNativeAuthToken } from 'services/nativeAuth/helpers/decodeNativeAuthToken';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { nativeAuthConfigSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { accountLogin } from './helpers/accountLogin';\nimport { extractAddressFromToken } from './helpers/extractAddressFromToken';\n\nasync function loginWithoutNativeToken(provider: IProvider) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n await provider.login();\n\n const address = await provider.getAddress();\n\n if (!address) {\n throw new Error('Address not found');\n }\n\n await accountLogin({ address, provider, apiAddress });\n\n return {\n address\n };\n}\n\nasync function loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token\n}: {\n provider: IProvider;\n nativeAuthConfig: NativeAuthConfigType;\n token?: string;\n}) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n const nativeAuthClient = nativeAuth(nativeAuthConfig);\n let loginToken = token;\n\n if (!loginToken) {\n loginToken = await nativeAuthClient.initialize({\n noCache: true\n });\n }\n\n const { address, signature, ...loginResult } = await provider.login({\n token: loginToken\n });\n\n if (!address) {\n console.warn('Login cancelled.');\n return null;\n }\n\n if (!signature) {\n console.error('Failed to sign login token');\n return null;\n }\n\n // nativeAuthToken received from hub login\n const decodedToken = decodeNativeAuthToken(loginResult?.accessToken);\n\n const nativeAuthToken = decodedToken\n ? loginResult.accessToken\n : nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature\n });\n\n setTokenLogin({\n loginToken,\n signature,\n nativeAuthToken\n });\n\n const extractedAddress = await extractAddressFromToken({\n loginToken,\n extraInfoData: {\n multisig: loginResult?.multisig,\n impersonate: loginResult?.impersonate\n },\n address\n });\n\n await accountLogin({\n address: extractedAddress,\n provider,\n apiAddress\n });\n\n return {\n address: extractedAddress,\n signature\n };\n}\n\nexport async function login(provider: IProvider, options?: { token?: string }) {\n const nativeAuthConfig = nativeAuthConfigSelector(getState());\n\n if (nativeAuthConfig) {\n const data = await loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token: options?.token\n });\n return data;\n }\n\n const { address } = await loginWithoutNativeToken(provider);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n return { address, signature: '' };\n}\n", "import {\n CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION,\n CANCEL_TRANSACTION_TOAST_ID,\n ERROR_SIGNING_TOAST_ID\n} from 'constants/transactions.constants';\nimport { ToastIconsEnum } from 'managers/internal/ToastManager/helpers/getToastDataStateByStatus';\nimport { createCustomToast } from 'store/actions';\nimport { SigningErrorsEnum, SigningWarningsEnum } from 'types/enums.types';\n\nconst states = {\n error: {\n title: SigningErrorsEnum.errorSigning.toString(),\n iconClassName: 'danger',\n toastId: `${ERROR_SIGNING_TOAST_ID}-${Date.now()}`\n },\n warning: {\n title: SigningWarningsEnum.cancelled.toString(),\n iconClassName: 'warning',\n toastId: `${CANCEL_TRANSACTION_TOAST_ID}-${Date.now()}`\n }\n};\n\nconst errorsMap = {\n extensionResponse: 'Unable to sign transactions', // extension\n 'Transaction canceled': 'Transaction canceled', // web wallet\n 'cancelled by user': 'Transaction signing cancelled by user', // custom\n 'denied by the user': 'Transaction signing denied by the user' // ledger\n};\n\nconst getUserError = (error: string) => {\n for (const [key, value] of Object.entries(errorsMap)) {\n if (error.includes(key)) {\n return value;\n }\n }\n return SigningErrorsEnum.errorSigning;\n};\n\nexport function handleSignError(\n error: unknown,\n type: 'error' | 'warning' = 'error'\n) {\n const originalError = (error as Error)?.message;\n const errorMessage = getUserError(originalError);\n\n const isKnownError = errorMessage !== SigningErrorsEnum.errorSigning;\n\n const errorType = isKnownError ? 'warning' : type;\n\n const state = Object.keys(states).includes(errorType)\n ? states[errorType]\n : states.error;\n\n const { toastId, iconClassName, title } = state;\n\n createCustomToast({\n toastId,\n duration: CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION,\n icon: ToastIconsEnum.times,\n iconClassName,\n message: errorMessage,\n title\n });\n\n return errorMessage;\n}\n", "import {\n Address,\n Transaction,\n TransactionOptions,\n TransactionVersion\n} from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport {\n IProvider,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { setAccountNonce } from 'store/actions';\nimport { refreshAccount } from 'utils';\nimport { computeNonces } from '../computeNonces/computeNonces';\n\nexport type SignTransactionsOptionsType = {\n skipGuardian?: boolean;\n};\n\ntype SignTransactionsType = {\n provider: IProvider;\n transactions: Transaction[];\n options?: SignTransactionsOptionsType;\n};\n\nexport async function signTransactionsWithProvider({\n provider,\n transactions,\n options = {}\n}: SignTransactionsType): Promise<Transaction[]> {\n await refreshAccount();\n const { isGuarded, activeGuardianAddress, nonce } = getAccount();\n const isLedger = provider.getType() === ProviderTypeEnum.ledger;\n\n const transactionsWithComputedNonce = computeNonces({\n latestNonce: nonce,\n transactions\n });\n\n const transactionsToSign =\n activeGuardianAddress && isGuarded && !options.skipGuardian\n ? transactionsWithComputedNonce?.map((transaction) => {\n transaction.version = TransactionVersion.withTxOptions().valueOf();\n transaction.options = TransactionOptions.withOptions({\n guarded: true,\n ...(isLedger ? { hashSign: true } : {})\n }).valueOf();\n\n transaction.guardian = Address.newFromBech32(activeGuardianAddress);\n\n return transaction;\n })\n : transactionsWithComputedNonce;\n\n const signedTransactions: Transaction[] =\n (await provider.signTransactions(transactionsToSign)) ?? [];\n\n setAccountNonce(nonce + signedTransactions.length);\n\n return signedTransactions;\n}\n", "import { Message, Transaction } from 'lib/sdkCore';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { setAccountProvider } from 'providers/helpers/accountProvider';\nimport { setProviderType } from 'store/actions/loginInfo/loginInfoActions';\nimport { IProvider } from '../types/providerFactory.types';\nimport { login } from './helpers/login/login';\nimport { logout } from './helpers/logout/logout';\nimport { handleSignError } from './helpers/signErrors/handleSignError';\nimport { signMessageWithProvider } from './helpers/signMessage/signMessageWithProvider';\nimport {\n verifyMessage,\n VerifyMessageReturnType\n} from './helpers/signMessage/verifyMessage';\nimport {\n signTransactionsWithProvider,\n SignTransactionsOptionsType\n} from './helpers/signTransactions/signTransactionsWithProvider';\n\nexport class DappProvider {\n private provider: IProvider;\n private _isLoggingOut = false;\n\n constructor(provider: IProvider) {\n this.provider = provider;\n }\n\n init(): Promise<boolean> {\n return this.provider.init();\n }\n\n async login(options?: { token?: string }) {\n const data = await login(this.provider, options);\n setProviderType(this.provider.getType());\n setAccountProvider(this);\n LogoutManager.getInstance().init();\n return data;\n }\n\n isInitialized(): boolean {\n return this.provider.isInitialized();\n }\n\n async logout(\n options = {\n shouldBroadcastLogoutAcrossTabs: true\n }\n ): Promise<boolean> {\n if (this._isLoggingOut) {\n console.warn('Logout already in progress');\n return false;\n }\n\n this._isLoggingOut = true;\n\n const isLoggedOut = await logout({ provider: this.provider, options });\n\n this._isLoggingOut = false;\n\n return isLoggedOut;\n }\n\n getType() {\n return this.provider.getType();\n }\n\n /**\n * @returns The original provider instance.\n */\n getProvider() {\n return this.provider;\n }\n\n async signTransactions(\n transactions: Transaction[],\n options?: SignTransactionsOptionsType\n ): Promise<Transaction[]> {\n try {\n const signedTransactions = await signTransactionsWithProvider({\n provider: this.provider,\n transactions,\n options\n });\n return signedTransactions;\n } catch (error) {\n const errorMessage = handleSignError(error);\n throw new Error(errorMessage);\n }\n }\n\n async signMessage(\n message: Message,\n options?: {\n hasConsentPopup?: boolean;\n }\n ): Promise<Message | null> {\n try {\n const signedMessage = await signMessageWithProvider({\n provider: this.provider,\n message,\n options\n });\n return signedMessage;\n } catch (error) {\n const errorMessage = handleSignError(error, 'warning');\n throw new Error(errorMessage);\n }\n }\n\n /**\n * @param signedMessage - The signed message to verify in form of a JSON string with `address`, `message` and `signature` properties.\n * @returns The verification result with `isVerified`, `message` and `address` properties.\n */\n async verifyMessage(signedMessage: string): Promise<VerifyMessageReturnType> {\n return await verifyMessage(signedMessage);\n }\n\n cancelLogin(): void {\n this.provider.cancelLogin?.();\n }\n}\n", "import { IProvider } from 'providers/types/providerFactory.types';\nimport { DappProvider } from '../DappProvider';\nimport { emptyProvider } from './emptyProvider';\n\nexport type ProvidersType = IProvider;\n\nlet accountProvider: DappProvider | null = null;\n\nexport function setAccountProvider<TProvider extends DappProvider | null>(\n provider: TProvider\n) {\n accountProvider = provider;\n}\n\nexport function getAccountProvider(): DappProvider {\n return accountProvider || new DappProvider(emptyProvider);\n}\n", "import { getAddress } from 'methods/account/getAddress';\nimport { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { setAccount } from 'store/actions';\nimport { fetchAccount } from './fetchAccount';\nimport { trimUsernameDomain } from './trimUsernameDomain';\n\nconst setNewAccount = async () => {\n try {\n const address = getAddress();\n const { network } = getNetworkConfig();\n\n try {\n const account = await fetchAccount({\n address,\n baseURL: network.apiAddress\n });\n\n if (account != null) {\n const accountData = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(accountData);\n\n return accountData;\n }\n } catch (e) {\n console.error('Failed getting account ', e);\n }\n } catch (e) {\n console.error('Failed getting address ', e);\n }\n\n return null;\n};\n\nexport async function refreshAccount() {\n const provider = getAccountProvider();\n\n if (provider == null) {\n throw 'Provider not initialized';\n }\n\n try {\n if (!provider.init) {\n throw 'Current provider does not have init() function';\n }\n\n const initialized = await provider.init();\n\n if (!initialized) {\n return;\n }\n\n const account = await setNewAccount();\n\n return account;\n } catch (e) {\n console.error('Failed initializing provider ', e);\n }\n\n return undefined;\n}\n", "import {\n CustomToastType,\n IComponentToast\n} from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { getUnixTimestamp, getUnixTimestampWithAddedMilliseconds } from 'utils';\n\nexport const customToastComponentDictionary: Record<\n string,\n IComponentToast['instantiateToastElement']\n> = {};\nexport const customToastCloseHandlersDictionary: Record<string, () => void> =\n {};\n\nexport const addCustomToast = (\n customToast: CustomToastType,\n currentToastId?: string\n) => {\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.customToasts.length > 0\n ? Math.max(\n ...state.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n const toastId = currentToastId ?? `custom-toast-${lastToastIndex + 1}`;\n\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const newToast: CustomToastType = {\n ...customToast,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = newToast;\n return;\n }\n\n state.customToasts.push({\n ...newToast,\n toastId\n });\n },\n false,\n 'addCustomToast'\n );\n};\n\nexport const removeCustomToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = state.customToasts.filter(\n (toast) => toast.toastId !== toastId\n );\n },\n false,\n 'removeCustomToast'\n );\n};\n\nexport const removeAllCustomToasts = () => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = [];\n },\n false,\n 'removeAllCustomToasts'\n );\n};\n\nexport const removeAllTransactionToasts = () => {\n getStore().setState(({ toasts: state }) => {\n state.transactionToasts = [];\n });\n};\n\nexport const addTransactionToast = ({\n toastId,\n totalDuration\n}: {\n toastId: string;\n totalDuration: number;\n}): string => {\n let newToastId: string = '';\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.transactionToasts.length > 0\n ? Math.max(\n ...state.transactionToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n newToastId = toastId ?? `transaction-toast-${lastToastIndex + 1}`;\n\n state.transactionToasts.push({\n startTime: getUnixTimestamp(),\n endTime: getUnixTimestampWithAddedMilliseconds(totalDuration),\n toastId: newToastId\n });\n },\n false,\n 'addTransactionToast'\n );\n\n return newToastId;\n};\n\nexport const removeTransactionToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.transactionToasts = state.transactionToasts.filter((toast) => {\n return toast.toastId !== toastId;\n });\n },\n false,\n 'removeTransactionToast'\n );\n\n delete customToastCloseHandlersDictionary[toastId];\n delete customToastComponentDictionary[toastId];\n};\n\nexport const createCustomToast = (props: CustomToastType) => {\n const { toasts } = getStore().getState();\n\n const lastToastIndex =\n toasts.customToasts.length > 0\n ? Math.max(\n ...toasts.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n\n const toastId = props.toastId || `custom-toast-${lastToastIndex + 1}`;\n\n if (props.onClose) {\n customToastCloseHandlersDictionary[toastId] = props.onClose;\n }\n\n if (props.instantiateToastElement) {\n customToastComponentDictionary[toastId] = props.instantiateToastElement;\n\n getStore().setState(\n ({ toasts: state }) => {\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const toast: CustomToastType = {\n ...props,\n instantiateToastElement: null,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = toast;\n } else {\n state.customToasts.push(toast);\n }\n },\n false,\n 'createCustomToast'\n );\n\n return toastId;\n }\n\n addCustomToast(props, toastId);\n return toastId;\n};\n", "import {\n customToastCloseHandlersDictionary,\n removeCustomToast,\n removeTransactionToast\n} from 'store/actions/toasts/toastsActions';\n\ninterface IToastProgressManagerParams {\n successfulToastLifetime?: number;\n}\n\nconst DEFAULT_SUCCESSFUL_TOAST_LIFETIME = 10_000;\n\nexport class LifetimeManager {\n private timeoutIntervals: Map<string, ReturnType<typeof setTimeout>> =\n new Map();\n private successfulToastLifetime: number = DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n\n constructor() {}\n\n public init({ successfulToastLifetime }: IToastProgressManagerParams) {\n this.successfulToastLifetime =\n successfulToastLifetime || DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n }\n\n public start = (toastId: string) => {\n this.stop(toastId);\n\n if (this.successfulToastLifetime <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeTransactionToast(toastId);\n }, this.successfulToastLifetime);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public startWithCustomDuration = (toastId: string, duration: number) => {\n this.stop(toastId);\n\n if (duration <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeCustomToast(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n }, duration);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public stop = (toastId: string) => {\n const timeout = this.timeoutIntervals.get(toastId);\n if (timeout) {\n clearTimeout(timeout);\n this.timeoutIntervals.delete(toastId);\n }\n };\n\n public destroy() {\n this.timeoutIntervals.forEach((interval) => clearTimeout(interval));\n this.timeoutIntervals.clear();\n }\n}\n"],
|
|
5
|
-
"mappings": "s5DAAA,OAAOA,MAAa,iBCApB,OAAOC,OAAa,iBAiBpB,IAAMC,GAAqC,qCAE9BC,EAAN,MAAMC,UAAiCC,EAI5C,CAgBA,aAAc,CACZ,MAAM,CACJ,4CACA,8BACF,CAAC,EAlBH,KAAiB,MAAQC,EAAS,EAElC,KAAU,YAA6C,CACrD,oBAAqB,CAAC,EACtB,qBAAsB,CAAC,CACzB,EAcE,KAAK,KAAO,CAAE,GAAG,KAAK,WAAY,CACpC,CAbA,OAAc,aAAwC,CACpD,OAAKF,EAAyB,WAC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I,CAC5C,CACF,CAAC,EACH,CAEA,MAAa,YAAa,CACxB,KAAK,UAAU,0BAA8B,IAAI,EAEjD,MAAM,KAAK,sBAAsB,EACjC,MAAM,KAAK,4BAA4B,CACzC,CAEO,YAAa,CAClB,KAAK,UAAU,0BAA8B,IAAI,CACnD,CAEA,MAAc,6BAA8B,CAC1C,KAAK,yBAAyB,sBAAsB,CACtD,CAEO,WAAW1B,EAAiB,CAKjC,GAJoB,KAAK,aAAa,KACnCa,GAAUA,EAAM,UAAYb,CAC/B,EAEiB,CACf,KAAK,gBAAgB,KAAKA,CAAO,EACjC,IAAM2B,EAAcC,EAAmC5B,CAAO,EAC9D2B,IAAc,EACdE,EAAkB7B,CAAO,EACzB,MACF,CAEA,KAAK,4BAA4BA,CAAO,CAC1C,CAEA,MAAc,0BAA2B,CACvC,GACE,KAAK,yBAAyB,wBAAwB,GACtD,KAAK,SACL,CACA,KAAK,SAAS,wCAEZ,KAAK,iBACP,EAEA,KAAK,WAAW,EAChB,MACF,CAEA,GAAI,CAAC,KAAK,SAAU,CAClB,IAAM0B,EAAgB,MAAM,KAAK,uBAAuB,EAExD,GAAI,CAACA,EACH,OAGF,KAAK,SAAW,MAAMA,EAAc,YAAY,CAClD,CAEA,KAAK,SAAS,wCAEZ,KAAK,iBACP,CACF,CAEO,SAAU,CACf,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,QAAQ,EAC9B,KAAK,0BAA0B,QAAQ,EACvCI,GAAsB,EACtB,KAAK,6BAA6B,QAASC,GAAgBA,EAAY,CAAC,EACxE,KAAK,6BAA+B,CAAC,CACvC,CACF",
|
|
6
|
-
"names": ["isEqual", "isEqual", "NOTIFICATIONS_FEED_STORE_SUBSCRIBE", "NotificationsFeedManager", "_NotificationsFeedManager", "SidePanelBaseManager", "getStore", "ToastManager", "storeToastsUnsubscribe", "toasts", "transactions", "prevToasts", "prevTransactions", "isEqual", "toastManager", "account", "network", "pendingTransactionToasts", "createToastsFromTransactions", "TransactionsHistoryController", "clearCompletedTransactions", "BigNumber", "LogoutManager", "_LogoutManager", "getStore", "state", "tokenLogin", "tokenLoginSelector", "isNativeAuthTokenExpired", "getTokenExpiration", "getAccountProvider", "isLoggedIn", "isLoggedInSelector", "provider", "address", "addressSelector", "isWebviewLogin", "ProviderTypeEnum", "secondsUntilExpires", "expiresAt", "secondsUntilExpiresBN", "BigNumber", "plannedLogoutKey", "plannedLogoutSet", "millisecondsUntilLogout", "ToastManager", "nativeAuthConfig", "nativeAuthConfigSelector", "logoutWarningOffsetMilliseconds", "millisecondsUntilLogoutWarning", "readableMinutesUntilLogout", "getHumanReadableTokenExpirationTime", "timeoutUntilLogoutWarning", "retries", "manageTransaction", "transaction", "sessionId", "isSequential", "hash", "status", "results", "invalidTransaction", "hasStatusChanged", "updateSessionStatus", "runSessionCallbacks", "newStatus", "updateTransactionStatus", "getIsTransactionFailed", "manageFailedTransactions", "error", "checkBatch", "transactions", "isLoggedIn", "getIsLoggedIn", "pendingTransactions", "getPendingTransactions", "serverTransactions", "getTransactionsByHashes", "serverTransaction", "tx", "refreshAccount", "sessions", "getStore", "session", "checkTransactionStatus", "pendingSessions", "pendingTransactionsSessionsSelector", "getState", "sessionId", "transactions", "checkBatch", "trackTransactions", "store", "getStore", "pollingInterval", "getPollingInterval", "pollingIntervalRef", "websocketStatusCheckIntervalRef", "timestamp", "websocketEventSelector", "recheckStatus", "checkTransactionStatus", "startPolling", "stopPolling", "setupWebSocketTracking", "unsubscribeWebsocketEvent", "websocketEvent", "subscriptions", "startWatchingWebsocketStatus", "websocketConnection", "stopTransactionsTracking", "unsubscribeWebsocketStatus", "address", "websocketStatus", "prevState", "accountLogin", "address", "provider", "apiAddress", "account", "fetchAccount", "loginAction", "newAccount", "trimUsernameDomain", "getLatestNonce", "setAccount", "registerWebsocketListener", "trackTransactions", "setGasStationMetadata", "loginWithoutNativeToken", "provider", "apiAddress", "getNetworkConfig", "address", "accountLogin", "loginWithNativeToken", "nativeAuthConfig", "token", "nativeAuthClient", "nativeAuth", "loginToken", "signature", "loginResult", "nativeAuthToken", "decodeNativeAuthToken", "setTokenLogin", "extractedAddress", "extractAddressFromToken", "login", "options", "nativeAuthConfigSelector", "getState", "registerWebsocketListener", "trackTransactions", "states", "ERROR_SIGNING_TOAST_ID", "CANCEL_TRANSACTION_TOAST_ID", "errorsMap", "getUserError", "error", "key", "value", "handleSignError", "type", "originalError", "errorMessage", "errorType", "state", "toastId", "iconClassName", "title", "createCustomToast", "signTransactionsWithProvider", "provider", "transactions", "options", "refreshAccount", "isGuarded", "activeGuardianAddress", "nonce", "getAccount", "isLedger", "ProviderTypeEnum", "transactionsWithComputedNonce", "computeNonces", "transactionsToSign", "transaction", "TransactionVersion", "TransactionOptions", "Address", "signedTransactions", "setAccountNonce", "DappProvider", "provider", "options", "data", "login", "setProviderType", "setAccountProvider", "LogoutManager", "isLoggedOut", "logout", "transactions", "signTransactionsWithProvider", "error", "errorMessage", "handleSignError", "message", "signMessageWithProvider", "signedMessage", "verifyMessage", "accountProvider", "setAccountProvider", "provider", "getAccountProvider", "DappProvider", "emptyProvider", "setNewAccount", "address", "getAddress", "network", "getNetworkConfig", "account", "fetchAccount", "accountData", "trimUsernameDomain", "getLatestNonce", "setAccount", "e", "refreshAccount", "provider", "getAccountProvider", "customToastComponentDictionary", "customToastCloseHandlersDictionary", "addCustomToast", "customToast", "currentToastId", "getStore", "state", "lastToastIndex", "toast", "toastId", "existingToastIndex", "newToast", "removeCustomToast", "removeAllCustomToasts", "removeAllTransactionToasts", "addTransactionToast", "totalDuration", "newToastId", "getUnixTimestamp", "getUnixTimestampWithAddedMilliseconds", "removeTransactionToast", "createCustomToast", "props", "toasts", "DEFAULT_SUCCESSFUL_TOAST_LIFETIME", "LifetimeManager", "toastId", "timeout", "removeTransactionToast", "duration", "removeCustomToast", "handleClose", "customToastCloseHandlersDictionary", "successfulToastLifetime", "interval", "ToastManager", "_ToastManager", "getStore", "LifetimeManager", "NotificationsFeedManager", "successfulToastLifetime", "toasts", "transactions", "prevToasts", "prevTransactions", "newToastsWereCreated", "isEqual", "checkBatchHasNewData", "toastId", "transaction", "status", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "totalDuration", "newToastId", "addTransactionToast", "toast", "createCustomToast", "props", "toastList", "transactionsSessions", "account", "pendingTransactionToasts", "completedTransactionToasts", "createToastsFromTransactions", "newToast", "customToastComponentDictionary", "ComponentFactory", "removeTransactionToast", "toastsElement", "handleClose", "customToastCloseHandlersDictionary", "removeCustomToast", "removeAllCustomToasts", "unsubscribe"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-7CA6UKPK.mjs";import{b as T}from"./chunk-6DWUEZO7.mjs";import{c}from"./chunk-TI37DKBT.mjs";function D({transactions:i}){let e=[],o={};return!i||i.length===0?{allTransactions:e,parsedTransactionsByDataField:o}:(i.forEach((n,m)=>{let p=c(n.data.toString()??""),s=u(p);if(s.length>0)s.forEach((t,a)=>{let r=a===s.length-1,l={transaction:n,multiTxData:t.data,transactionIndex:a,needsSigning:r};o[t.data]={tokenId:t.token?t.token:"",amount:t.amount?t.amount:"",type:t.type,nonce:t.nonce?t.nonce:"",multiTxData:t.data,receiver:t.receiver},e.push(l)});else{let t=c(n.data.toString()??""),{tokenId:a,amount:r}=T(t);a&&(o[t]={tokenId:a,amount:r,receiver:n.receiver.toBech32()}),e.push({transaction:n,transactionIndex:m,multiTxData:t,needsSigning:!0})}}),{allTransactions:e,parsedTransactionsByDataField:o})}export{D as a};
|
|
2
|
-
//# sourceMappingURL=chunk-RBJ3O63I.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.ts"],
|
|
4
|
-
"sourcesContent": ["import type { Transaction } from '@multiversx/sdk-core';\n\nimport {\n MultiSignTransactionType,\n TransactionsDataTokensType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { getTokenFromData } from './getTokenFromData';\nimport { parseMultiEsdtTransferData } from './parseMultiEsdtTransferData';\n\nexport function parseMultiEsdtTransferDataForMultipleTransactions({\n transactions\n}: {\n transactions?: Transaction[];\n}) {\n const allTransactions: MultiSignTransactionType[] = [];\n const parsedTransactionsByDataField: TransactionsDataTokensType = {};\n\n if (!transactions || transactions.length === 0) {\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n }\n\n transactions.forEach((transaction, transactionIndex) => {\n const txData = decodeBase64(transaction.data.toString() ?? '');\n const multiTxs = parseMultiEsdtTransferData(txData);\n\n if (multiTxs.length > 0) {\n multiTxs.forEach((trx, idx) => {\n const isLastView = idx === multiTxs.length - 1;\n\n const newTx: MultiSignTransactionType = {\n transaction,\n multiTxData: trx.data,\n transactionIndex: idx,\n needsSigning: isLastView\n };\n\n parsedTransactionsByDataField[trx.data] = {\n tokenId: trx.token ? trx.token : '',\n amount: trx.amount ? trx.amount : '',\n type: trx.type,\n nonce: trx.nonce ? trx.nonce : '',\n multiTxData: trx.data,\n receiver: trx.receiver\n };\n\n allTransactions.push(newTx);\n });\n } else {\n const transactionData = decodeBase64(transaction.data.toString() ?? '');\n\n const { tokenId, amount } = getTokenFromData(transactionData);\n\n if (tokenId) {\n parsedTransactionsByDataField[transactionData] = {\n tokenId,\n amount,\n receiver: transaction.receiver.toBech32()\n };\n }\n allTransactions.push({\n transaction,\n transactionIndex,\n multiTxData: transactionData,\n needsSigning: true\n });\n }\n });\n\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n}\n"],
|
|
5
|
-
"mappings": "sHAUO,SAASA,EAAkD,CAChE,aAAAC,CACF,EAEG,CACD,IAAMC,EAA8C,CAAC,EAC/CC,EAA4D,CAAC,EAEnE,MAAI,CAACF,GAAgBA,EAAa,SAAW,EACpC,CACL,gBAAAC,EACA,8BAAAC,CACF,GAGFF,EAAa,QAAQ,CAACG,EAAaC,IAAqB,CACtD,IAAMC,EAASC,EAAaH,EAAY,KAAK,SAAS,GAAK,EAAE,EACvDI,EAAWC,EAA2BH,CAAM,EAElD,GAAIE,EAAS,OAAS,EACpBA,EAAS,QAAQ,CAACE,EAAKC,IAAQ,CAC7B,IAAMC,EAAaD,IAAQH,EAAS,OAAS,EAEvCK,EAAkC,CACtC,YAAAT,EACA,YAAaM,EAAI,KACjB,iBAAkBC,EAClB,aAAcC,CAChB,EAEAT,EAA8BO,EAAI,IAAI,EAAI,CACxC,QAASA,EAAI,MAAQA,EAAI,MAAQ,GACjC,OAAQA,EAAI,OAASA,EAAI,OAAS,GAClC,KAAMA,EAAI,KACV,MAAOA,EAAI,MAAQA,EAAI,MAAQ,GAC/B,YAAaA,EAAI,KACjB,SAAUA,EAAI,QAChB,EAEAR,EAAgB,KAAKW,CAAK,CAC5B,CAAC,MACI,CACL,IAAMC,EAAkBP,EAAaH,EAAY,KAAK,SAAS,GAAK,EAAE,EAEhE,CAAE,QAAAW,EAAS,OAAAC,CAAO,EAAIC,EAAiBH,CAAe,EAExDC,IACFZ,EAA8BW,CAAe,EAAI,CAC/C,QAAAC,EACA,OAAAC,EACA,SAAUZ,EAAY,SAAS,SAAS,CAC1C,GAEFF,EAAgB,KAAK,CACnB,YAAAE,EACA,iBAAAC,EACA,YAAaS,EACb,aAAc,EAChB,CAAC,CACH,CACF,CAAC,EAEM,CACL,gBAAAZ,EACA,8BAAAC,CACF,EACF",
|
|
6
|
-
"names": ["parseMultiEsdtTransferDataForMultipleTransactions", "transactions", "allTransactions", "parsedTransactionsByDataField", "transaction", "transactionIndex", "txData", "decodeBase64", "multiTxs", "parseMultiEsdtTransferData", "trx", "idx", "isLastView", "newTx", "transactionData", "tokenId", "amount", "getTokenFromData"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-SCSHU7XJ.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{l as a}from"../../../__chunks__/chunk-NL5FA7NT.mjs";import"../../../__chunks__/chunk-FPBY3DHR.mjs";import"../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../__chunks__/chunk-JD3WTXPU.mjs";import"../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../__chunks__/chunk-YRXESD4B.mjs";import"../../../__chunks__/chunk-TPJ7WT4J.mjs";import"../../../__chunks__/chunk-5G5ETZM4.mjs";import"../../../__chunks__/chunk-C7IGU65A.mjs";import"../../../__chunks__/chunk-FD3HLEX7.mjs";import"../../../__chunks__/chunk-667PINAR.mjs";import"../../../__chunks__/chunk-RVO7H26H.mjs";import"../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../__chunks__/chunk-BIVZJPSH.mjs";import"../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../__chunks__/chunk-FY7XZQRH.mjs";import"../../../__chunks__/chunk-JB3LG75C.mjs";import"../../../__chunks__/chunk-43DVKBLZ.mjs";import"../../../__chunks__/chunk-2NXPS7R3.mjs";import"../../../__chunks__/chunk-33ZUFX42.mjs";import"../../../__chunks__/chunk-KKBWOSVH.mjs";import"../../../__chunks__/chunk-6CY7XXBE.mjs";import"../../../__chunks__/chunk-3AQIQDPA.mjs";import"../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../__chunks__/chunk-MFUQ5NBC.mjs";import"../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../__chunks__/chunk-IPYKRZ2A.mjs";import"../../../__chunks__/chunk-CD7RYHHQ.mjs";import"../../../__chunks__/chunk-AVWNBQDX.mjs";import"../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../__chunks__/chunk-4Z7G5RCK.mjs";import"../../../__chunks__/chunk-QJW6PYFV.mjs";import"../../../__chunks__/chunk-NX6LPULJ.mjs";import"../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../__chunks__/chunk-DMBZGJ6Q.mjs";import"../../../__chunks__/chunk-XBJKQBW3.mjs";import"../../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../../__chunks__/chunk-RPNTVD3R.mjs";import"../../../__chunks__/chunk-Y4QDT6I2.mjs";import"../../../__chunks__/chunk-HK7HCSM3.mjs";import"../../../__chunks__/chunk-OXHTDT7J.mjs";import"../../../__chunks__/chunk-55SACSMS.mjs";import"../../../__chunks__/chunk-A6TCEIG4.mjs";import"../../../__chunks__/chunk-NQTTC42T.mjs";import"../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../__chunks__/chunk-ZORPCBON.mjs";import"../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../__chunks__/chunk-UBZGPJ3E.mjs";import"../../../__chunks__/chunk-DTSAE3IB.mjs";import"../../../__chunks__/chunk-L3MWDI6J.mjs";import"../../../__chunks__/chunk-65L5EBBL.mjs";import"../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../__chunks__/chunk-XQWEAEGW.mjs";import"../../../__chunks__/chunk-JNEQJC3B.mjs";import"../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../__chunks__/chunk-KYBNCMQL.mjs";import"../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../__chunks__/chunk-QMY5RUJ3.mjs";import"../../../__chunks__/chunk-RRKJBSXY.mjs";import"../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../__chunks__/chunk-NWSFXZMR.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-CRMKEEKH.mjs";import"../../../__chunks__/chunk-EPG3L2S3.mjs";import"../../../__chunks__/chunk-NZYB675D.mjs";import"../../../__chunks__/chunk-SLOQOCEU.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-N342XMFH.mjs";import"../../../__chunks__/chunk-2IUBMLF4.mjs";import"../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../__chunks__/chunk-DSVSX4ZT.mjs";import"../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../__chunks__/chunk-WJQVMI33.mjs";import"../../../__chunks__/chunk-BHAHZQVO.mjs";import"../../../__chunks__/chunk-EAH7XGM3.mjs";import"../../../__chunks__/chunk-OOVV574D.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-OEPTRJEB.mjs";import"../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../__chunks__/chunk-44FB23KP.mjs";import"../../../__chunks__/chunk-TQA3JDNV.mjs";import"../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../__chunks__/chunk-JFOYQVDZ.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-C53VPXWP.mjs";import"../../../__chunks__/chunk-TX4NQXZO.mjs";import"../../../__chunks__/chunk-OLMTXXEH.mjs";import"../../../__chunks__/chunk-JFX27ZGH.mjs";import"../../../__chunks__/chunk-3L7HZ2SO.mjs";import"../../../__chunks__/chunk-52PGMMOM.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-HMHP5DPL.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-R6GH7DA7.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-SAAOQW7P.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-32WMC3HQ.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-NMISWSIO.mjs";import"../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../__chunks__/chunk-VF75NE7S.mjs";import"../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../__chunks__/chunk-HESE5NRU.mjs";import"../../../__chunks__/chunk-6JSWL75O.mjs";import"../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../__chunks__/chunk-DXTUMMVX.mjs";import"../../../__chunks__/chunk-FI444OX3.mjs";import"../../../__chunks__/chunk-ULUZWP2P.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-K4TMKMCO.mjs";import"../../../__chunks__/chunk-J6R2XFXZ.mjs";import"../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../__chunks__/chunk-RF5IAADG.mjs";import"../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as ToastManager};
|
|
2
|
-
//# sourceMappingURL=ToastManager.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{k as a}from"../../../../__chunks__/chunk-NL5FA7NT.mjs";import"../../../../__chunks__/chunk-FPBY3DHR.mjs";import"../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../__chunks__/chunk-JD3WTXPU.mjs";import"../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../__chunks__/chunk-YRXESD4B.mjs";import"../../../../__chunks__/chunk-TPJ7WT4J.mjs";import"../../../../__chunks__/chunk-5G5ETZM4.mjs";import"../../../../__chunks__/chunk-C7IGU65A.mjs";import"../../../../__chunks__/chunk-FD3HLEX7.mjs";import"../../../../__chunks__/chunk-667PINAR.mjs";import"../../../../__chunks__/chunk-RVO7H26H.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-BIVZJPSH.mjs";import"../../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../../__chunks__/chunk-FY7XZQRH.mjs";import"../../../../__chunks__/chunk-JB3LG75C.mjs";import"../../../../__chunks__/chunk-43DVKBLZ.mjs";import"../../../../__chunks__/chunk-2NXPS7R3.mjs";import"../../../../__chunks__/chunk-33ZUFX42.mjs";import"../../../../__chunks__/chunk-KKBWOSVH.mjs";import"../../../../__chunks__/chunk-6CY7XXBE.mjs";import"../../../../__chunks__/chunk-3AQIQDPA.mjs";import"../../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../__chunks__/chunk-MFUQ5NBC.mjs";import"../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../__chunks__/chunk-IPYKRZ2A.mjs";import"../../../../__chunks__/chunk-CD7RYHHQ.mjs";import"../../../../__chunks__/chunk-AVWNBQDX.mjs";import"../../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../__chunks__/chunk-4Z7G5RCK.mjs";import"../../../../__chunks__/chunk-QJW6PYFV.mjs";import"../../../../__chunks__/chunk-NX6LPULJ.mjs";import"../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../__chunks__/chunk-DMBZGJ6Q.mjs";import"../../../../__chunks__/chunk-XBJKQBW3.mjs";import"../../../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../../../__chunks__/chunk-RPNTVD3R.mjs";import"../../../../__chunks__/chunk-Y4QDT6I2.mjs";import"../../../../__chunks__/chunk-HK7HCSM3.mjs";import"../../../../__chunks__/chunk-OXHTDT7J.mjs";import"../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../__chunks__/chunk-A6TCEIG4.mjs";import"../../../../__chunks__/chunk-NQTTC42T.mjs";import"../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../__chunks__/chunk-ZORPCBON.mjs";import"../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../__chunks__/chunk-UBZGPJ3E.mjs";import"../../../../__chunks__/chunk-DTSAE3IB.mjs";import"../../../../__chunks__/chunk-L3MWDI6J.mjs";import"../../../../__chunks__/chunk-65L5EBBL.mjs";import"../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../__chunks__/chunk-XQWEAEGW.mjs";import"../../../../__chunks__/chunk-JNEQJC3B.mjs";import"../../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../__chunks__/chunk-KYBNCMQL.mjs";import"../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../__chunks__/chunk-QMY5RUJ3.mjs";import"../../../../__chunks__/chunk-RRKJBSXY.mjs";import"../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../__chunks__/chunk-NWSFXZMR.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-CRMKEEKH.mjs";import"../../../../__chunks__/chunk-EPG3L2S3.mjs";import"../../../../__chunks__/chunk-NZYB675D.mjs";import"../../../../__chunks__/chunk-SLOQOCEU.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-N342XMFH.mjs";import"../../../../__chunks__/chunk-2IUBMLF4.mjs";import"../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../__chunks__/chunk-DSVSX4ZT.mjs";import"../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../__chunks__/chunk-WJQVMI33.mjs";import"../../../../__chunks__/chunk-BHAHZQVO.mjs";import"../../../../__chunks__/chunk-EAH7XGM3.mjs";import"../../../../__chunks__/chunk-OOVV574D.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-OEPTRJEB.mjs";import"../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../__chunks__/chunk-44FB23KP.mjs";import"../../../../__chunks__/chunk-TQA3JDNV.mjs";import"../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../__chunks__/chunk-JFOYQVDZ.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-C53VPXWP.mjs";import"../../../../__chunks__/chunk-TX4NQXZO.mjs";import"../../../../__chunks__/chunk-OLMTXXEH.mjs";import"../../../../__chunks__/chunk-JFX27ZGH.mjs";import"../../../../__chunks__/chunk-3L7HZ2SO.mjs";import"../../../../__chunks__/chunk-52PGMMOM.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-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-R6GH7DA7.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.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-32WMC3HQ.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-NMISWSIO.mjs";import"../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../__chunks__/chunk-VF75NE7S.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-HESE5NRU.mjs";import"../../../../__chunks__/chunk-6JSWL75O.mjs";import"../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../__chunks__/chunk-DXTUMMVX.mjs";import"../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../__chunks__/chunk-ULUZWP2P.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-K4TMKMCO.mjs";import"../../../../__chunks__/chunk-J6R2XFXZ.mjs";import"../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../__chunks__/chunk-RF5IAADG.mjs";import"../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as LifetimeManager};
|
|
2
|
-
//# sourceMappingURL=LifetimeManager.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-YRXESD4B.mjs";import"../../../../__chunks__/chunk-TPJ7WT4J.mjs";import"../../../../__chunks__/chunk-5G5ETZM4.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-BIVZJPSH.mjs";import"../../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../../__chunks__/chunk-33ZUFX42.mjs";import"../../../../__chunks__/chunk-KKBWOSVH.mjs";import"../../../../__chunks__/chunk-65L5EBBL.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-C53VPXWP.mjs";import"../../../../__chunks__/chunk-TX4NQXZO.mjs";import"../../../../__chunks__/chunk-OLMTXXEH.mjs";import"../../../../__chunks__/chunk-JFX27ZGH.mjs";import"../../../../__chunks__/chunk-3L7HZ2SO.mjs";import"../../../../__chunks__/chunk-52PGMMOM.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-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-R6GH7DA7.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.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-32WMC3HQ.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-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-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-RF5IAADG.mjs";export{a as createToastsFromTransactions};
|
|
2
|
-
//# sourceMappingURL=createToastsFromTransactions.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-TPJ7WT4J.mjs";import"../../../../__chunks__/chunk-5G5ETZM4.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-BIVZJPSH.mjs";import"../../../../__chunks__/chunk-VDMJZZU4.mjs";import"../../../../__chunks__/chunk-65L5EBBL.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-GLXG5BES.mjs";export{a as createTransactionToast};
|
|
2
|
-
//# sourceMappingURL=createTransactionToast.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../../../../__chunks__/chunk-5G5ETZM4.mjs";import"../../../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../../../__chunks__/chunk-BIVZJPSH.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-GLXG5BES.mjs";export{a as ToastIconsEnum,b as getToastDataStateByStatus};
|
|
2
|
-
//# sourceMappingURL=getToastDataStateByStatus.mjs.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|