@multiversx/sdk-dapp 5.6.9 → 5.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/{chunk-D6O5CXIJ.mjs → chunk-2N7KWUP5.mjs} +2 -2
- package/out/__chunks__/chunk-3KXESRWK.mjs +2 -0
- package/out/__chunks__/{chunk-WAEPXUJW.mjs → chunk-3WWZSW2J.mjs} +2 -2
- package/out/__chunks__/chunk-4J2LMCTY.mjs +2 -0
- package/out/__chunks__/{chunk-DQGHE25H.mjs → chunk-4MHWEDD3.mjs} +2 -2
- package/out/__chunks__/{chunk-XXXUMU4O.mjs → chunk-4XRZ6SV7.mjs} +2 -2
- package/out/__chunks__/{chunk-ZJOJQZCC.mjs → chunk-53K4VPO5.mjs} +2 -2
- package/out/__chunks__/{chunk-3CWJ722Y.mjs → chunk-5INSJWZL.mjs} +2 -2
- package/out/__chunks__/{chunk-NOFMFBNG.mjs → chunk-5JAXD5EL.mjs} +2 -2
- package/out/__chunks__/{chunk-56S5SGPS.mjs → chunk-6BYAL76L.mjs} +2 -2
- package/out/__chunks__/chunk-6TO3K77Y.mjs +2 -0
- package/out/__chunks__/{chunk-FJLZCJXP.mjs → chunk-6ZIKZIUH.mjs} +2 -2
- package/out/__chunks__/{chunk-IYGNSIQ5.mjs → chunk-72IC7K64.mjs} +2 -2
- package/out/__chunks__/{chunk-VPSQTIAR.mjs → chunk-77CFJQDJ.mjs} +2 -2
- package/out/__chunks__/{chunk-WOPE4NY2.mjs → chunk-7HY3BPVV.mjs} +2 -2
- package/out/__chunks__/{chunk-CB4IL76J.mjs → chunk-AC3N236P.mjs} +2 -2
- package/out/__chunks__/chunk-AF473JVQ.mjs +2 -0
- package/out/__chunks__/{chunk-MG5FGHHV.mjs → chunk-AU7PVWIH.mjs} +2 -2
- package/out/__chunks__/{chunk-C37CZZ7G.mjs → chunk-B57TM46N.mjs} +2 -2
- package/out/__chunks__/{chunk-VUVEHXGH.mjs → chunk-BBGOFDRU.mjs} +2 -2
- package/out/__chunks__/{chunk-OWQXZ55A.mjs → chunk-BK44WM7K.mjs} +2 -2
- package/out/__chunks__/{chunk-JSG65RN6.mjs → chunk-BOQETSJT.mjs} +2 -2
- package/out/__chunks__/chunk-CAYG6NAN.mjs +2 -0
- package/out/__chunks__/{chunk-VSM5G4ZH.mjs → chunk-CFYEJCVU.mjs} +2 -2
- package/out/__chunks__/{chunk-VBPV3GOM.mjs → chunk-CPFMWZM7.mjs} +2 -2
- package/out/__chunks__/{chunk-CEP3W56Z.mjs → chunk-DKLBYDPE.mjs} +2 -2
- package/out/__chunks__/{chunk-QTX4NHPU.mjs → chunk-DL3IGGZY.mjs} +2 -2
- package/out/__chunks__/{chunk-DO5KNMAG.mjs → chunk-DSZFY4OR.mjs} +2 -2
- package/out/__chunks__/{chunk-SNXSD7MF.mjs → chunk-E7EGETYN.mjs} +2 -2
- package/out/__chunks__/{chunk-MBS3W5NI.mjs → chunk-EANUS544.mjs} +2 -2
- package/out/__chunks__/{chunk-KZKHUGFE.mjs → chunk-EFSOCX2U.mjs} +2 -2
- package/out/__chunks__/{chunk-476BGZWV.mjs → chunk-EFWZVJJ5.mjs} +2 -2
- package/out/__chunks__/{chunk-QV3D2ZVT.mjs → chunk-EKL6AW56.mjs} +2 -2
- package/out/__chunks__/{chunk-U3JV6DJH.mjs → chunk-ERV6OM22.mjs} +2 -2
- package/out/__chunks__/chunk-F3AIHZES.mjs +2 -0
- package/out/__chunks__/chunk-GB33T2E4.mjs +2 -0
- package/out/__chunks__/chunk-GG53ZKY3.mjs +2 -0
- package/out/__chunks__/{chunk-ATYZKVD3.mjs → chunk-GRIHIAKJ.mjs} +2 -2
- package/out/__chunks__/{chunk-3MVZ3KNW.mjs → chunk-GTPYIIWU.mjs} +2 -2
- package/out/__chunks__/{chunk-HL4TSHGS.mjs → chunk-H2PMISQX.mjs} +2 -2
- package/out/__chunks__/chunk-HBARIYZU.mjs +2 -0
- package/out/__chunks__/{chunk-SS3A7KK2.mjs → chunk-HGGSGIJX.mjs} +2 -2
- package/out/__chunks__/{chunk-OLWNOBIQ.mjs → chunk-HK2ZVZ7Q.mjs} +2 -2
- package/out/__chunks__/{chunk-QLIZ5PRI.mjs → chunk-I73AYO2H.mjs} +2 -2
- package/out/__chunks__/{chunk-DRPJ3IFU.mjs → chunk-IHB7ALDL.mjs} +1 -1
- package/out/__chunks__/{chunk-DRPJ3IFU.mjs.map → chunk-IHB7ALDL.mjs.map} +2 -2
- package/out/__chunks__/{chunk-TDNZYOQN.mjs → chunk-IPHCPWD6.mjs} +2 -2
- package/out/__chunks__/{chunk-YIH3FJB4.mjs → chunk-IQA5LCZX.mjs} +2 -2
- package/out/__chunks__/{chunk-O57N3Y2D.mjs → chunk-J7KIUM6S.mjs} +2 -2
- package/out/__chunks__/{chunk-A4W6PM3I.mjs → chunk-JKOM2WOS.mjs} +2 -2
- package/out/__chunks__/{chunk-UKJT66VH.mjs → chunk-K3G4XKV7.mjs} +2 -2
- package/out/__chunks__/{chunk-OZJYVSVG.mjs → chunk-KNVS3QDA.mjs} +2 -2
- package/out/__chunks__/{chunk-WJTMUYTI.mjs → chunk-LH6K2GZ6.mjs} +2 -2
- package/out/__chunks__/{chunk-OPVLMQIS.mjs → chunk-LTC4QYEN.mjs} +2 -2
- package/out/__chunks__/{chunk-HOOSVVXO.mjs → chunk-MBY4V2NF.mjs} +2 -2
- package/out/__chunks__/{chunk-7TM4PETT.mjs → chunk-MLKMTKLL.mjs} +2 -2
- package/out/__chunks__/{chunk-LVHVC32Z.mjs → chunk-MM2JH6EX.mjs} +2 -2
- package/out/__chunks__/{chunk-2YUHHXLR.mjs → chunk-MNIHU2XC.mjs} +2 -2
- package/out/__chunks__/{chunk-R34WZLE5.mjs → chunk-MUQOQKIZ.mjs} +2 -2
- package/out/__chunks__/{chunk-2M6ZZ2SL.mjs → chunk-MYOCU757.mjs} +2 -2
- package/out/__chunks__/{chunk-N2URS6RY.mjs → chunk-MYYODQXX.mjs} +2 -2
- package/out/__chunks__/{chunk-S4C27CCJ.mjs → chunk-NUGBRIDR.mjs} +2 -2
- package/out/__chunks__/{chunk-RXRVBUAX.mjs → chunk-O7ORKWKU.mjs} +2 -2
- package/out/__chunks__/chunk-OKQ2FJXI.mjs +2 -0
- package/out/__chunks__/{chunk-VIHKBS2X.mjs → chunk-P3MIMQQR.mjs} +2 -2
- package/out/__chunks__/{chunk-HCVXJWZQ.mjs → chunk-PC2NUV2F.mjs} +2 -2
- package/out/__chunks__/{chunk-XJL3OI7L.mjs → chunk-PCGVSXBV.mjs} +2 -2
- package/out/__chunks__/{chunk-NFUEPPQR.mjs → chunk-PKYME77B.mjs} +2 -2
- package/out/__chunks__/chunk-Q7XKYJ6V.mjs +2 -0
- package/out/__chunks__/{chunk-PMEPPI6R.mjs → chunk-QOSLU3CY.mjs} +2 -2
- package/out/__chunks__/chunk-QYUVRE37.mjs +2 -0
- package/out/__chunks__/{chunk-UIC4S5TZ.mjs → chunk-RD22BX56.mjs} +2 -2
- package/out/__chunks__/{chunk-M6ERVE23.mjs → chunk-RRHFYJZL.mjs} +2 -2
- package/out/__chunks__/chunk-SG2YSE6U.mjs +2 -0
- package/out/__chunks__/{chunk-CILOQDO7.mjs → chunk-SYPHPBGQ.mjs} +2 -2
- package/out/__chunks__/{chunk-MLT5MRG6.mjs → chunk-SZPL56PN.mjs} +2 -2
- package/out/__chunks__/chunk-TN3MSIAN.mjs +2 -0
- package/out/__chunks__/{chunk-PIJ4OMIA.mjs → chunk-TOUR23UJ.mjs} +2 -2
- package/out/__chunks__/{chunk-573LAOYN.mjs → chunk-TWOVGGG2.mjs} +2 -2
- package/out/__chunks__/{chunk-NAEHROA2.mjs → chunk-URQCTYMX.mjs} +2 -2
- package/out/__chunks__/{chunk-VRMDOPB6.mjs → chunk-UTAWL36Y.mjs} +2 -2
- package/out/__chunks__/{chunk-3KPRXK4G.mjs → chunk-WU6THSZL.mjs} +2 -2
- package/out/__chunks__/{chunk-X4CUC3IQ.mjs → chunk-WVIORLAD.mjs} +2 -2
- package/out/__chunks__/chunk-XFUWTCQM.mjs +2 -0
- package/out/__chunks__/{chunk-VSZYA5AR.mjs → chunk-XKZAXRFS.mjs} +2 -2
- package/out/__chunks__/chunk-YHNZS2AR.mjs +2 -0
- package/out/__chunks__/{chunk-AYQWPMYV.mjs.map → chunk-YHNZS2AR.mjs.map} +1 -1
- package/out/__chunks__/{chunk-SKYZYQFB.mjs → chunk-YSFJVK7L.mjs} +2 -2
- package/out/__chunks__/{chunk-YQBCROZN.mjs → chunk-YSR4MFX4.mjs} +2 -2
- package/out/__chunks__/{chunk-TSYN7VWE.mjs → chunk-YWTOXRK4.mjs} +2 -2
- package/out/__chunks__/{chunk-XXRHWR52.mjs → chunk-Z4XGT2PR.mjs} +2 -2
- package/out/__chunks__/{chunk-CDWQSFYM.mjs → chunk-ZG557J6T.mjs} +2 -2
- package/out/__chunks__/{chunk-SFNIICWA.mjs → chunk-ZJBFSQSD.mjs} +2 -2
- package/out/__chunks__/{chunk-V4LJXYQC.mjs → chunk-ZVBRUJVV.mjs} +2 -2
- package/out/__chunks__/{chunk-OPIR3VXY.mjs → chunk-ZZIDZ3MC.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
- package/out/apiCalls/account/getAccountFromApi.d.ts +1 -1
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -1
- package/out/apiCalls/account/getScamAddressData.d.ts +1 -1
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.d.ts +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.d.ts +1 -1
- package/out/apiCalls/configuration/getServerConfiguration.d.ts +1 -1
- package/out/apiCalls/economics/getEconomics.cjs +1 -1
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.d.ts +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.d.ts +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.d.ts +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -1
- package/out/apiCalls/transactions/getTransactions.d.ts +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.d.ts +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/network.constants.cjs +1 -1
- package/out/constants/network.constants.d.ts +2 -2
- package/out/constants/providerFactory.constants.cjs +1 -1
- package/out/constants/providerFactory.constants.d.ts +1 -1
- package/out/constants/storage.constants.d.ts +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/walletConnect.constants.d.ts +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/FormatAmountController/FormatAmountController.cjs +1 -1
- package/out/controllers/FormatAmountController/types.d.ts +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.cjs +1 -1
- package/out/managers/ToastManager/ToastManager.d.ts +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.d.ts +3 -3
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.d.ts +1 -1
- package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +1 -1
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/tests/helpers/createStoreStub.d.ts +1 -1
- package/out/managers/ToastManager/types/toast.types.d.ts +3 -3
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.d.ts +3 -3
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.d.ts +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.d.ts +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.d.ts +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +1 -1
- package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +1 -1
- package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +2 -2
- 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 +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.d.ts +2 -2
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +3 -3
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +2 -2
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +2 -2
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.d.ts +8 -8
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +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.cjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.d.ts +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.d.ts +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.d.ts +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.d.ts +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.d.ts +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.d.ts +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +1 -1
- package/out/providers/DappProvider/DappProvider.d.ts +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.d.ts +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.d.ts +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +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.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.d.ts +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.d.ts +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.d.ts +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.d.ts +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.d.ts +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.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.d.ts +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.d.ts +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +1 -1
- package/out/providers/helpers/emptyProvider.cjs +1 -1
- package/out/providers/helpers/emptyProvider.d.ts +3 -3
- package/out/providers/helpers/restoreProvider.cjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +5 -5
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +4 -4
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +4 -4
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +4 -4
- 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.d.ts +4 -4
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.d.ts +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +4 -4
- 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.cjs +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.cjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +4 -4
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.d.ts +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.cjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.d.ts +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +4 -4
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.d.ts +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.d.ts +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.d.ts +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.d.ts +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.d.ts +3 -3
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +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/nativeAuth/helpers/decodeLoginToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +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.cjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.cjs +1 -1
- package/out/store/actions/account/accountActions.d.ts +3 -3
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +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.cjs +1 -1
- package/out/store/actions/config/configActions.d.ts +4 -4
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.d.ts +3 -3
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +1 -1
- package/out/store/actions/network/initializeNetwork.d.ts +2 -2
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.d.ts +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.cjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.d.ts +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.cjs +1 -1
- package/out/store/actions/toasts/toastsActions.d.ts +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +1 -1
- package/out/store/actions/transactions/transactionsActions.d.ts +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.cjs +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.cjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +1 -1
- package/out/store/selectors/accountSelectors.d.ts +1 -1
- package/out/store/selectors/cacheSelector.d.ts +1 -1
- package/out/store/selectors/configSelectors.d.ts +1 -1
- package/out/store/selectors/loginInfoSelectors.d.ts +1 -1
- package/out/store/selectors/networkSelectors.d.ts +1 -1
- package/out/store/selectors/storeSelector.d.ts +1 -1
- package/out/store/selectors/toastsSelectors.d.ts +1 -1
- package/out/store/selectors/transactionsSelector.cjs +1 -1
- package/out/store/selectors/transactionsSelector.d.ts +2 -2
- package/out/store/selectors/uiSelectors.d.ts +1 -1
- package/out/store/slices/account/account.types.d.ts +2 -2
- package/out/store/slices/account/accountSlice.d.ts +1 -1
- package/out/store/slices/account/emptyAccount.cjs +1 -1
- package/out/store/slices/account/emptyAccount.d.ts +1 -1
- package/out/store/slices/cache/cacheSlice.d.ts +1 -1
- package/out/store/slices/config/config.types.d.ts +3 -3
- package/out/store/slices/config/configSlice.cjs +1 -1
- package/out/store/slices/config/configSlice.d.ts +1 -1
- package/out/store/slices/loginInfo/loginInfo.types.d.ts +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.d.ts +1 -1
- package/out/store/slices/network/emptyNetwork.d.ts +1 -1
- package/out/store/slices/network/network.types.d.ts +1 -1
- package/out/store/slices/network/networkSlice.d.ts +1 -1
- package/out/store/slices/network/networkSlice.types.d.ts +1 -1
- package/out/store/slices/toast/toastSlice.d.ts +1 -1
- package/out/store/slices/toast/toastSlice.types.d.ts +1 -1
- package/out/store/slices/transactions/transactionsSlice.d.ts +1 -1
- package/out/store/slices/transactions/transactionsSlice.types.d.ts +1 -1
- package/out/store/slices/ui/uiSlice.d.ts +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/types/login.types.d.ts +1 -1
- package/out/types/serverTransactions.types.cjs +1 -1
- package/out/types/serverTransactions.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.d.ts +0 -5
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/transaction-list-item.types.d.ts +1 -1
- package/out/types/transactions.types.d.ts +3 -3
- package/out/utils/ComponentFactory.cjs +1 -1
- package/out/utils/ComponentFactory.d.ts +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.d.ts +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/operations/trimAmountDecimals.cjs +1 -1
- package/out/utils/transactions/explorerUrlBuilder.cjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.d.ts +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.d.ts +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.d.ts +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.d.ts +1 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.d.ts +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +1 -2
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +1 -1
- package/out/utils/validation/addressIsValid.cjs +1 -1
- package/out/utils/validation/isContract.cjs +1 -1
- package/out/utils/visual/switchTheme.cjs +1 -1
- package/out/utils/visual/switchTheme.d.ts +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.cjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/package.json +2 -2
- package/out/__chunks__/chunk-244THUVU.mjs +0 -2
- package/out/__chunks__/chunk-AJ24DJ6R.mjs +0 -2
- package/out/__chunks__/chunk-AYQWPMYV.mjs +0 -2
- package/out/__chunks__/chunk-EFJCWATU.mjs +0 -2
- package/out/__chunks__/chunk-HIEQWWNV.mjs +0 -2
- package/out/__chunks__/chunk-HK3FFQRW.mjs +0 -2
- package/out/__chunks__/chunk-I7VZ3NT7.mjs +0 -2
- package/out/__chunks__/chunk-IHAVY2FZ.mjs +0 -2
- package/out/__chunks__/chunk-IRT7DVNX.mjs +0 -2
- package/out/__chunks__/chunk-JAY4M72W.mjs +0 -2
- package/out/__chunks__/chunk-JLDDNS5Y.mjs +0 -2
- package/out/__chunks__/chunk-KRNGFXMQ.mjs +0 -2
- package/out/__chunks__/chunk-LBARJ4NX.mjs +0 -2
- package/out/__chunks__/chunk-NMVSEQH7.mjs +0 -2
- package/out/__chunks__/chunk-O3S3N3Q7.mjs +0 -2
- package/out/__chunks__/chunk-YXHYT7CA.mjs +0 -2
- /package/out/__chunks__/{chunk-D6O5CXIJ.mjs.map → chunk-2N7KWUP5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AJ24DJ6R.mjs.map → chunk-3KXESRWK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WAEPXUJW.mjs.map → chunk-3WWZSW2J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HIEQWWNV.mjs.map → chunk-4J2LMCTY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DQGHE25H.mjs.map → chunk-4MHWEDD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XXXUMU4O.mjs.map → chunk-4XRZ6SV7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZJOJQZCC.mjs.map → chunk-53K4VPO5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3CWJ722Y.mjs.map → chunk-5INSJWZL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NOFMFBNG.mjs.map → chunk-5JAXD5EL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-56S5SGPS.mjs.map → chunk-6BYAL76L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IRT7DVNX.mjs.map → chunk-6TO3K77Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FJLZCJXP.mjs.map → chunk-6ZIKZIUH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IYGNSIQ5.mjs.map → chunk-72IC7K64.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VPSQTIAR.mjs.map → chunk-77CFJQDJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WOPE4NY2.mjs.map → chunk-7HY3BPVV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CB4IL76J.mjs.map → chunk-AC3N236P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LBARJ4NX.mjs.map → chunk-AF473JVQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MG5FGHHV.mjs.map → chunk-AU7PVWIH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C37CZZ7G.mjs.map → chunk-B57TM46N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VUVEHXGH.mjs.map → chunk-BBGOFDRU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OWQXZ55A.mjs.map → chunk-BK44WM7K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSG65RN6.mjs.map → chunk-BOQETSJT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NMVSEQH7.mjs.map → chunk-CAYG6NAN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VSM5G4ZH.mjs.map → chunk-CFYEJCVU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VBPV3GOM.mjs.map → chunk-CPFMWZM7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CEP3W56Z.mjs.map → chunk-DKLBYDPE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QTX4NHPU.mjs.map → chunk-DL3IGGZY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DO5KNMAG.mjs.map → chunk-DSZFY4OR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SNXSD7MF.mjs.map → chunk-E7EGETYN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MBS3W5NI.mjs.map → chunk-EANUS544.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KZKHUGFE.mjs.map → chunk-EFSOCX2U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-476BGZWV.mjs.map → chunk-EFWZVJJ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QV3D2ZVT.mjs.map → chunk-EKL6AW56.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U3JV6DJH.mjs.map → chunk-ERV6OM22.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YXHYT7CA.mjs.map → chunk-F3AIHZES.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O3S3N3Q7.mjs.map → chunk-GB33T2E4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KRNGFXMQ.mjs.map → chunk-GG53ZKY3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ATYZKVD3.mjs.map → chunk-GRIHIAKJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3MVZ3KNW.mjs.map → chunk-GTPYIIWU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HL4TSHGS.mjs.map → chunk-H2PMISQX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-244THUVU.mjs.map → chunk-HBARIYZU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SS3A7KK2.mjs.map → chunk-HGGSGIJX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OLWNOBIQ.mjs.map → chunk-HK2ZVZ7Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QLIZ5PRI.mjs.map → chunk-I73AYO2H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TDNZYOQN.mjs.map → chunk-IPHCPWD6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YIH3FJB4.mjs.map → chunk-IQA5LCZX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O57N3Y2D.mjs.map → chunk-J7KIUM6S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A4W6PM3I.mjs.map → chunk-JKOM2WOS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UKJT66VH.mjs.map → chunk-K3G4XKV7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OZJYVSVG.mjs.map → chunk-KNVS3QDA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WJTMUYTI.mjs.map → chunk-LH6K2GZ6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OPVLMQIS.mjs.map → chunk-LTC4QYEN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HOOSVVXO.mjs.map → chunk-MBY4V2NF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7TM4PETT.mjs.map → chunk-MLKMTKLL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LVHVC32Z.mjs.map → chunk-MM2JH6EX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2YUHHXLR.mjs.map → chunk-MNIHU2XC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R34WZLE5.mjs.map → chunk-MUQOQKIZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2M6ZZ2SL.mjs.map → chunk-MYOCU757.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N2URS6RY.mjs.map → chunk-MYYODQXX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S4C27CCJ.mjs.map → chunk-NUGBRIDR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RXRVBUAX.mjs.map → chunk-O7ORKWKU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EFJCWATU.mjs.map → chunk-OKQ2FJXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VIHKBS2X.mjs.map → chunk-P3MIMQQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HCVXJWZQ.mjs.map → chunk-PC2NUV2F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XJL3OI7L.mjs.map → chunk-PCGVSXBV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NFUEPPQR.mjs.map → chunk-PKYME77B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IHAVY2FZ.mjs.map → chunk-Q7XKYJ6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PMEPPI6R.mjs.map → chunk-QOSLU3CY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HK3FFQRW.mjs.map → chunk-QYUVRE37.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UIC4S5TZ.mjs.map → chunk-RD22BX56.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M6ERVE23.mjs.map → chunk-RRHFYJZL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I7VZ3NT7.mjs.map → chunk-SG2YSE6U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CILOQDO7.mjs.map → chunk-SYPHPBGQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MLT5MRG6.mjs.map → chunk-SZPL56PN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JLDDNS5Y.mjs.map → chunk-TN3MSIAN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PIJ4OMIA.mjs.map → chunk-TOUR23UJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-573LAOYN.mjs.map → chunk-TWOVGGG2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NAEHROA2.mjs.map → chunk-URQCTYMX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VRMDOPB6.mjs.map → chunk-UTAWL36Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3KPRXK4G.mjs.map → chunk-WU6THSZL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X4CUC3IQ.mjs.map → chunk-WVIORLAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JAY4M72W.mjs.map → chunk-XFUWTCQM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VSZYA5AR.mjs.map → chunk-XKZAXRFS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKYZYQFB.mjs.map → chunk-YSFJVK7L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YQBCROZN.mjs.map → chunk-YSR4MFX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TSYN7VWE.mjs.map → chunk-YWTOXRK4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XXRHWR52.mjs.map → chunk-Z4XGT2PR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CDWQSFYM.mjs.map → chunk-ZG557J6T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SFNIICWA.mjs.map → chunk-ZJBFSQSD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V4LJXYQC.mjs.map → chunk-ZVBRUJVV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OPIR3VXY.mjs.map → chunk-ZZIDZ3MC.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as o}from"../../__chunks__/chunk-72IC7K64.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-U3UMCTU6.mjs";import"../../__chunks__/chunk-RD22BX56.mjs";import"../../__chunks__/chunk-BBGOFDRU.mjs";import"../../__chunks__/chunk-NYZ726DG.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-TWOVGGG2.mjs";import"../../__chunks__/chunk-FCIBGJDC.mjs";import"../../__chunks__/chunk-LFMHK4UE.mjs";import"../../__chunks__/chunk-3IYTFWEN.mjs";import"../../__chunks__/chunk-JZQKOOZH.mjs";import"../../__chunks__/chunk-O7ORKWKU.mjs";import"../../__chunks__/chunk-TN3MSIAN.mjs";import"../../__chunks__/chunk-Q7YFEWWK.mjs";import"../../__chunks__/chunk-FKGDHZZJ.mjs";import"../../__chunks__/chunk-M3F2J3PW.mjs";import"../../__chunks__/chunk-HYPARWQN.mjs";import"../../__chunks__/chunk-L7L56ZTG.mjs";import"../../__chunks__/chunk-O6VPG7AF.mjs";import"../../__chunks__/chunk-V4YC4AKQ.mjs";import"../../__chunks__/chunk-QX32V6TT.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-DNYE6AJI.mjs";import"../../__chunks__/chunk-HRVNGVC2.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-GMBSZ4AZ.mjs";import"../../__chunks__/chunk-O3F75VWG.mjs";import"../../__chunks__/chunk-QNYO7NI5.mjs";import"../../__chunks__/chunk-XKOORMTN.mjs";import"../../__chunks__/chunk-B72JAXSF.mjs";import"../../__chunks__/chunk-IHB7ALDL.mjs";import"../../__chunks__/chunk-HWJQUOPL.mjs";import"../../__chunks__/chunk-ZJ2WPN2K.mjs";import"../../__chunks__/chunk-HS34AFHY.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{o as TransactionsTableController};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransactionAgeType, TransactionIconInfoType, TransactionMethodType } from '
|
|
1
|
+
import { TransactionAgeType, TransactionIconInfoType, TransactionMethodType } from 'types/serverTransactions.types';
|
|
2
2
|
export type TransactionsRowType = {
|
|
3
3
|
age: TransactionAgeType;
|
|
4
4
|
direction?: string;
|
package/out/lib/sdkDappUi.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../__chunks__/chunk-
|
|
1
|
+
import{a}from"../__chunks__/chunk-UTAWL36Y.mjs";import"../__chunks__/chunk-YHNZS2AR.mjs";export{a as defineCustomElements};
|
|
2
2
|
//# sourceMappingURL=sdkDappUi.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var k=Object.create;var g=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var A=(o,t)=>{for(var e in t)g(o,e,{get:t[e],enumerable:!0})},S=(o,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of I(t))!W.call(o,n)&&n!==e&&g(o,n,{get:()=>t[n],enumerable:!(i=b(t,n))||i.enumerable});return o};var U=(o,t,e)=>(e=o!=null?k(N(o)):{},S(t||!o||!o.__esModule?g(e,"default",{value:o,enumerable:!0}):e,o)),C=o=>S(g({},"__esModule",{value:!0}),o);var K={};A(K,{LogoutManager:()=>s});module.exports=C(K);var c=U(require("bignumber.js")),T=require("
|
|
1
|
+
"use strict";var k=Object.create;var g=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var A=(o,t)=>{for(var e in t)g(o,e,{get:t[e],enumerable:!0})},S=(o,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of I(t))!W.call(o,n)&&n!==e&&g(o,n,{get:()=>t[n],enumerable:!(i=b(t,n))||i.enumerable});return o};var U=(o,t,e)=>(e=o!=null?k(N(o)):{},S(t||!o||!o.__esModule?g(e,"default",{value:o,enumerable:!0}):e,o)),C=o=>S(g({},"__esModule",{value:!0}),o);var K={};A(K,{LogoutManager:()=>s});module.exports=C(K);var c=U(require("bignumber.js")),T=require("managers/ToastManager"),f=require("providers/helpers/accountProvider"),w=require("providers/types/providerFactory.types"),m=require("services/nativeAuth/methods/getTokenExpiration"),p=require("store/selectors/accountSelectors"),y=require("store/selectors/configSelectors"),r=require("store/selectors/loginInfoSelectors"),x=require("store/store"),h=require("types/enums.types"),E=require("./helpers/getHumanReadableTokenExpirationTime");class s{constructor(){this.store=(0,x.getStore)();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;const t=this.store.getState(),e=(0,r.tokenLoginSelector)(t),{isExpired:i}=(0,m.getTokenExpiration)(e?.nativeAuthToken);i?(0,f.getAccountProvider)().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{const t=this.store.getState(),e=(0,r.tokenLoginSelector)(t),i=(0,p.isLoggedInSelector)(t);return!!(e?.nativeAuthToken&&i)};this.addPlannedLogout=()=>{const t=(0,f.getAccountProvider)(),e=(0,p.addressSelector)(this.store.getState()),i=t.getType()===w.ProviderTypeEnum.webview;if(!e||i)return;this.addLogoutWarning();const n=(0,r.tokenLoginSelector)(this.store.getState()),{secondsUntilExpires:u,expiresAt:L}=(0,m.getTokenExpiration)(n?.nativeAuthToken),l=new c.default(String(u)),a=`${e}_${L}`,d=this.plannedLogoutKey===a;if(!(u&&l.isGreaterThan(0))||d)return;this.plannedLogoutKey=a,clearTimeout(this.plannedLogoutTimeoutRef??0);const R=l.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{T.ToastManager.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:h.IconNamesEnum.close,message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},R.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{t.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},R.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;const t=(0,y.nativeAuthConfigSelector)(this.store.getState()),e=(0,r.tokenLoginSelector)(this.store.getState()),{secondsUntilExpires:i}=(0,m.getTokenExpiration)(e?.nativeAuthToken),n=new c.default(String(i)),u=n.times(1e3);if(!i||n.isLessThanOrEqualTo(0)||!t?.tokenExpirationToastWarningSeconds)return;const l=new c.default(t?.tokenExpirationToastWarningSeconds??0).times(1e3),a=n.times(1e3).minus(l),d=(0,E.getHumanReadableTokenExpirationTime)(u.toNumber()),v=a.isLessThanOrEqualTo(0)?0:a.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{T.ToastManager.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:h.IconNamesEnum.hourglass,message:`Your session will expire in ${d}!`}),this.warningLogoutTimeoutRef=null},v)}}static getInstance(){return s.instance||(s.instance=new s),s.instance}}0&&(module.exports={LogoutManager});
|
|
2
2
|
//# sourceMappingURL=LogoutManager.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-LTC4QYEN.mjs";import"../../__chunks__/chunk-5INSJWZL.mjs";import"../../__chunks__/chunk-SYPHPBGQ.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-GTPYIIWU.mjs";import"../../__chunks__/chunk-MUQOQKIZ.mjs";import"../../__chunks__/chunk-4J2LMCTY.mjs";import"../../__chunks__/chunk-6BYAL76L.mjs";import"../../__chunks__/chunk-I73AYO2H.mjs";import"../../__chunks__/chunk-DL3IGGZY.mjs";import"../../__chunks__/chunk-TWYGNEQS.mjs";import"../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../__chunks__/chunk-2VG3V3VD.mjs";import"../../__chunks__/chunk-5JAXD5EL.mjs";import"../../__chunks__/chunk-ABBDCZHP.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-7HY3BPVV.mjs";import"../../__chunks__/chunk-CAYG6NAN.mjs";import"../../__chunks__/chunk-MLKMTKLL.mjs";import"../../__chunks__/chunk-YWTOXRK4.mjs";import"../../__chunks__/chunk-H2PMISQX.mjs";import"../../__chunks__/chunk-KNVS3QDA.mjs";import"../../__chunks__/chunk-MM2JH6EX.mjs";import"../../__chunks__/chunk-ZJBFSQSD.mjs";import"../../__chunks__/chunk-YSR4MFX4.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-J7KIUM6S.mjs";import"../../__chunks__/chunk-OKQ2FJXI.mjs";import"../../__chunks__/chunk-AF473JVQ.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-DKLBYDPE.mjs";import"../../__chunks__/chunk-DSZFY4OR.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-HK2ZVZ7Q.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-CPFMWZM7.mjs";import"../../__chunks__/chunk-NUGBRIDR.mjs";import"../../__chunks__/chunk-IWP36NOU.mjs";import"../../__chunks__/chunk-LGGG3HW7.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-V5ZSFCKJ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-QYUVRE37.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-EFSOCX2U.mjs";import"../../__chunks__/chunk-BSA3IGL6.mjs";import"../../__chunks__/chunk-K3G4XKV7.mjs";import"../../__chunks__/chunk-ZG557J6T.mjs";import"../../__chunks__/chunk-OBIQ63DJ.mjs";import"../../__chunks__/chunk-NWRCQLFI.mjs";import"../../__chunks__/chunk-HSF3JATH.mjs";import"../../__chunks__/chunk-6TO3K77Y.mjs";import"../../__chunks__/chunk-ZVBRUJVV.mjs";import"../../__chunks__/chunk-HGGSGIJX.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-2AJ5KJ2V.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as LogoutManager};
|
|
2
2
|
//# sourceMappingURL=LogoutManager.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var F=Object.create;var p=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var y=(s,i)=>{for(var t in i)p(s,t,{get:i[t],enumerable:!0})},h=(s,i,t,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of O(i))!D.call(s,a)&&a!==t&&p(s,a,{get:()=>i[a],enumerable:!(e=b(i,a))||e.enumerable});return s};var C=(s,i,t)=>(t=s!=null?F(v(s)):{},h(i||!s||!s.__esModule?p(t,"default",{value:s,enumerable:!0}):t,s)),A=s=>h(p({},"__esModule",{value:!0}),s);var R={};y(R,{NotificationsFeedManager:()=>o});module.exports=A(R);var T=C(require("lodash.isequal")),f=require("
|
|
1
|
+
"use strict";var F=Object.create;var p=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var y=(s,i)=>{for(var t in i)p(s,t,{get:i[t],enumerable:!0})},h=(s,i,t,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of O(i))!D.call(s,a)&&a!==t&&p(s,a,{get:()=>i[a],enumerable:!(e=b(i,a))||e.enumerable});return s};var C=(s,i,t)=>(t=s!=null?F(v(s)):{},h(i||!s||!s.__esModule?p(t,"default",{value:s,enumerable:!0}):t,s)),A=s=>h(p({},"__esModule",{value:!0}),s);var R={};y(R,{NotificationsFeedManager:()=>o});module.exports=A(R);var T=C(require("lodash.isequal")),f=require("constants/UITags.enum"),m=require("controllers/TransactionsHistoryController"),I=require("store/actions/transactions/transactionsActions"),E=require("store/store"),N=require("types/enums.types"),S=require("types/enums.types"),n=require("./types"),l=require("../internal/SidePanelBaseManager/SidePanelBaseManager"),d=require("../ToastManager"),g=require("../ToastManager/helpers/createToastsFromTransactions");const B="NOTIFICATIONS_FEED_STORE_SUBSCRIBE";class o extends l.SidePanelBaseManager{constructor(t){super({uiDataUpdateEvent:n.NotificationsFeedEventsEnum.OPEN,uiTag:f.UITagsEnum.NOTIFICATIONS_FEED});this.initialData={pendingTransactions:[],historicTransactions:[]};this.store=t||(0,E.getStore)(),this.data={...this.initialData}}static getInstance(){return o.instance||(o.instance=new o),o.instance}isNotificationsFeedOpen(){return this.isOpen}async openNotificationsFeed(){d.ToastManager.getInstance().hideToasts(),await this.openUI(),await this.updateDataAndNotifications();const e=this.store.subscribe(async({toasts:a,transactions:c},{toasts:r,transactions:u})=>{(!(0,T.default)(r.transactionToasts,a.transactionToasts)||!(0,T.default)(u,c))&&await this.updateDataAndNotifications()});this.unsubscribeFunctions.set(B,[e]),this.eventBus?.publish(n.NotificationsFeedEventsEnum.OPEN),await this.updateDataAndNotifications()}async handleCloseUI(){const t=d.ToastManager.getInstance();this.closeUI(),await t.showToasts()}async setupEventListeners(){this.eventBus&&(this.subscribeToEventBus(n.NotificationsFeedEventsEnum.CLOSE,this.handleCloseUI.bind(this)),this.subscribeToEventBus(n.NotificationsFeedEventsEnum.CLEAR,this.handleClearNotificationsFeedHistory.bind(this)))}async updateDataAndNotifications(){const{transactions:t}=this.store.getState(),{pendingTransactionToasts:e}=await(0,g.createToastsFromTransactions)();this.data.pendingTransactions=e;const a=Object.keys(t).reduce((c,r)=>([S.TransactionBatchStatusesEnum.sent,`${N.TransactionServerStatusesEnum.pending}`].includes(String(t[r].status))||(c[r]=t[r]),c),{});this.data.historicTransactions=await m.TransactionsHistoryController.getTransactionsHistory({transactionsSessions:a}),await this.updateNotificationsFeed()}handleClearNotificationsFeedHistory(){(0,I.clearCompletedTransactions)(),this.resetData(),this.updateNotificationsFeed()}async updateNotificationsFeed(){this.eventBus&&(this.eventBus.publish(n.NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,this.data.pendingTransactions),this.eventBus.publish(n.NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,this.data.historicTransactions))}}0&&(module.exports={NotificationsFeedManager});
|
|
2
2
|
//# sourceMappingURL=NotificationsFeedManager.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ITransactionListItem, MvxNotificationsFeed } from '
|
|
2
|
-
import { getStore } from '
|
|
1
|
+
import { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';
|
|
2
|
+
import { getStore } from 'store/store';
|
|
3
3
|
import { NotificationsFeedEventsEnum } from './types';
|
|
4
4
|
import { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';
|
|
5
5
|
import { ITransactionToast } from '../ToastManager/types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as NotificationsFeedManager};
|
|
2
2
|
//# sourceMappingURL=NotificationsFeedManager.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as r}from"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import{a as o}from"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{o as NotificationsFeedEventsEnum,r as NotificationsFeedManager};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var w=Object.create;var u=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var S=(i,t)=>{for(var s in t)u(i,s,{get:t[s],enumerable:!0})},p=(i,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of L(t))!M.call(i,o)&&o!==s&&u(i,o,{get:()=>t[o],enumerable:!(a=y(t,o))||a.enumerable});return i};var I=(i,t,s)=>(s=i!=null?w(v(i)):{},p(t||!i||!i.__esModule?u(s,"default",{value:i,enumerable:!0}):s,i)),F=i=>p(u({},"__esModule",{value:!0}),i);var D={};S(D,{ToastManager:()=>n});module.exports=F(D);var m=I(require("lodash.isequal")),d=require("
|
|
1
|
+
"use strict";var w=Object.create;var u=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var S=(i,t)=>{for(var s in t)u(i,s,{get:t[s],enumerable:!0})},p=(i,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of L(t))!M.call(i,o)&&o!==s&&u(i,o,{get:()=>t[o],enumerable:!(a=y(t,o))||a.enumerable});return i};var I=(i,t,s)=>(s=i!=null?w(v(i)):{},p(t||!i||!i.__esModule?u(s,"default",{value:i,enumerable:!0}):s,i)),F=i=>p(u({},"__esModule",{value:!0}),i);var D={};S(D,{ToastManager:()=>n});module.exports=F(D);var m=I(require("lodash.isequal")),d=require("constants/transactions.constants"),e=require("store/actions/toasts/toastsActions"),r=require("store/actions/transactions/transactionStateByStatus"),f=require("store/store"),C=require("./helpers/createToastsFromTransactions"),g=require("./helpers/LifetimeManager"),b=require("./ToastUICoordinator");class n{constructor(t){this.transactionToasts=[];this.customToasts=[];this.unsubscribeFromStore=()=>null;this.uiCoordinator=null;this.destroy(),this.store=t?.store||(0,f.getStore)(),this.lifetimeManager=t?.lifetimeManager??new g.LifetimeManager,this.uiCoordinator=t?.uiCoordinator??new b.ToastUICoordinator({onCloseToast:this.closeToast.bind(this)})}async init({successfulToastLifetime:t=d.DEFAULT_TOAST_LIFETIME}={}){this.successfulToastLifetime=t,this.lifetimeManager.init({successfulToastLifetime:t}),await this.updateTransactionToastsList(),await this.updateCustomToastList(),await this.uiCoordinator?.init(),this.unsubscribeFromStore=this.store.subscribe(async({toasts:s,transactions:a},{toasts:o,transactions:c})=>{const l=!(0,m.default)(o.transactionToasts,s.transactionToasts),h=!(0,m.default)(c,a);(l||h)&&await this.updateTransactionToastsList(),!(0,m.default)(o.customToasts,s.customToasts)&&await this.updateCustomToastList()})}static getInstance(){return n.instance||(n.instance=new n),n.instance}handleCompletedTransaction(t){const{transactions:s}=this.store.getState(),a=s[t];if(!a)return!1;const{status:o}=a,c=(0,r.getIsTransactionTimedOut)(o),l=(0,r.getIsTransactionFailed)(o),h=(0,r.getIsTransactionSuccessful)(o),T=l||h||c;return T?(this.successfulToastLifetime&&this.lifetimeManager.start(t),T):(this.lifetimeManager.stop(t),T)}async createTransactionToast(t,s){const a=(0,e.addTransactionToast)({toastId:t,totalDuration:s});return this.handleCompletedTransaction(t),await this.updateTransactionToastsList(),a}async createCustomToast(t){const s=(0,e.createCustomToast)(t);return await this.updateCustomToastList(),s}async updateTransactionToastsList(){const t=this.store.getState(),{toasts:s}=t,{pendingTransactionToasts:a,completedTransactionToasts:o}=await(0,C.createToastsFromTransactions)({store:t});this.transactionToasts=[...a,...o];for(const c of s.transactionToasts)this.handleCompletedTransaction(c.toastId);await this.publishTransactionToasts()}async updateCustomToastList(){const{toasts:t}=this.store.getState();this.customToasts=[];for(const s of t.customToasts){const o="message"in s?{...s}:{...s,instantiateToastElement:e.customToastComponentDictionary[s.toastId]};this.customToasts.push(o),s.duration&&this.lifetimeManager.startWithCustomDuration(s.toastId,s.duration)}await this.uiCoordinator?.publishCustomToasts(this.customToasts)}handleTransactionToastClose(t){return this.handleCompletedTransaction(t)?((0,e.removeTransactionToast)(t),!0):!1}async showToasts(){this.uiCoordinator?.showToasts(),await this.updateCustomToastList(),await this.updateTransactionToastsList()}hideToasts(){this.uiCoordinator?.hideToasts()}closeToast(t){if(this.customToasts.find(a=>a.toastId===t)){this.lifetimeManager.stop(t);const a=e.customToastCloseHandlersDictionary[t];return a?.(),(0,e.removeCustomToast)(t),!0}return this.handleTransactionToastClose(t)}async publishTransactionToasts(){await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts)}destroy(){this.unsubscribeFromStore(),this.lifetimeManager?.destroy(),this.uiCoordinator?.destroy(),(0,e.removeAllCustomToasts)()}}0&&(module.exports={ToastManager});
|
|
2
2
|
//# sourceMappingURL=ToastManager.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomToastType } from '
|
|
2
|
-
import { getStore } from '
|
|
1
|
+
import { CustomToastType } from 'store/slices/toast/toastSlice.types';
|
|
2
|
+
import { getStore } from 'store/store';
|
|
3
3
|
import { LifetimeManager } from './helpers/LifetimeManager';
|
|
4
4
|
import { ToastUICoordinator } from './ToastUICoordinator';
|
|
5
5
|
interface IToastManager {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as a}from"../../__chunks__/chunk-
|
|
1
|
+
import{c as a}from"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as ToastManager};
|
|
2
2
|
//# sourceMappingURL=ToastManager.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var v=(s,t)=>{for(var i in t)o(s,i,{get:t[i],enumerable:!0})},b=(s,t,i,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of p(t))!m.call(s,n)&&n!==i&&o(s,n,{get:()=>t[n],enumerable:!(a=h(t,n))||a.enumerable});return s};var E=s=>b(o({},"__esModule",{value:!0}),s);var d={};v(d,{ToastUICoordinator:()=>f});module.exports=E(d);var r=require("
|
|
1
|
+
"use strict";var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var v=(s,t)=>{for(var i in t)o(s,i,{get:t[i],enumerable:!0})},b=(s,t,i,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of p(t))!m.call(s,n)&&n!==i&&o(s,n,{get:()=>t[n],enumerable:!(a=h(t,n))||a.enumerable});return s};var E=s=>b(o({},"__esModule",{value:!0}),s);var d={};v(d,{ToastUICoordinator:()=>f});module.exports=E(d);var r=require("constants/UITags.enum"),u=require("managers/NotificationsFeedManager/NotificationsFeedManager"),T=require("store/store"),c=require("types/provider.types"),l=require("utils/ComponentFactory"),e=require("./types");class f{constructor(t){this.toastsElement=null;this.eventBus=null;this.isCreatingElement=!1;this.eventBusUnsubscribeFunctions=[];this.onCloseToast=t.onCloseToast,this.store=t.store||(0,T.getStore)(),this.notificationsFeedManager=t.notificationsFeedManager||u.NotificationsFeedManager.getInstance()}async init(){await this.subscribeToEventBusNotifications()}showToasts(){this.eventBus?.publish(e.ToastEventsEnum.SHOW,null)}hideToasts(){this.eventBus?.publish(e.ToastEventsEnum.HIDE,null)}async publishTransactionToasts(t){if(this.notificationsFeedManager.isNotificationsFeedOpen()&&this.eventBus){this.eventBus.publish(e.ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,t),this.hideToasts();return}if(!this.eventBus){const i=await this.createToastListElement();if(!i)return;this.eventBus=await i.getEventBus()}this.eventBus?.publish(e.ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,t)}async publishCustomToasts(t){this.eventBus?.publish(e.ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,t)}handleOpenNotificationsFeed(){this.notificationsFeedManager.openNotificationsFeed()}destroy(){this.eventBusUnsubscribeFunctions.forEach(t=>t()),this.eventBusUnsubscribeFunctions=[],this.notificationsFeedManager?.destroy()}async createToastListElement(){return this.toastsElement?this.toastsElement:(this.isCreatingElement||(this.isCreatingElement=!0,this.toastsElement=await l.ComponentFactory.create({name:r.UITagsEnum.TOAST_LIST}),this.isCreatingElement=!1),this.toastsElement)}async subscribeToEventBusNotifications(){const t=await this.createToastListElement();if(t){if(this.eventBus=await t.getEventBus(),!this.eventBus)throw new Error(c.ProviderErrorsEnum.eventBusError);this.eventBus.subscribe(e.ToastEventsEnum.CLOSE,this.onCloseToast),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe(e.ToastEventsEnum.CLOSE,this.onCloseToast)}),this.eventBus.subscribe(e.ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,this.handleOpenNotificationsFeed.bind(this)),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe(e.ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,this.handleOpenNotificationsFeed.bind(this))})}}}0&&(module.exports={ToastUICoordinator});
|
|
2
2
|
//# sourceMappingURL=ToastUICoordinator.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NotificationsFeedManager } from '
|
|
2
|
-
import type { CustomToastType } from '
|
|
3
|
-
import { getStore } from '
|
|
1
|
+
import { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';
|
|
2
|
+
import type { CustomToastType } from 'store/slices/toast/toastSlice.types';
|
|
3
|
+
import { getStore } from 'store/store';
|
|
4
4
|
import type { ITransactionToast } from './types';
|
|
5
5
|
type OnCloseToastType = (toastId: string) => boolean;
|
|
6
6
|
type StoreObjectType = ReturnType<typeof getStore>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as a}from"../../__chunks__/chunk-
|
|
1
|
+
import{b as a}from"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as ToastUICoordinator};
|
|
2
2
|
//# sourceMappingURL=ToastUICoordinator.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(s,t)=>{for(var e in t)u(s,e,{get:t[e],enumerable:!0})},T=(s,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!c.call(s,i)&&i!==e&&u(s,i,{get:()=>t[i],enumerable:!(o=n(t,i))||o.enumerable});return s};var f=s=>T(u({},"__esModule",{value:!0}),s);var h={};l(h,{LifetimeManager:()=>p});module.exports=f(h);var r=require("
|
|
1
|
+
"use strict";var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(s,t)=>{for(var e in t)u(s,e,{get:t[e],enumerable:!0})},T=(s,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!c.call(s,i)&&i!==e&&u(s,i,{get:()=>t[i],enumerable:!(o=n(t,i))||o.enumerable});return s};var f=s=>T(u({},"__esModule",{value:!0}),s);var h={};l(h,{LifetimeManager:()=>p});module.exports=f(h);var r=require("store/actions/toasts/toastsActions");const a=1e4;class p{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=a;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;const e=setTimeout(()=>{(0,r.removeTransactionToast)(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;const o=setTimeout(()=>{(0,r.removeCustomToast)(t);const i=r.customToastCloseHandlersDictionary[t];i?.()},e);this.timeoutIntervals.set(t,o)};this.stop=t=>{const e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??a}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}}0&&(module.exports={LifetimeManager});
|
|
2
2
|
//# sourceMappingURL=LifetimeManager.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-4MHWEDD3.mjs";import"../../../__chunks__/chunk-EKL6AW56.mjs";import"../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../__chunks__/chunk-53K4VPO5.mjs";import"../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-GG53ZKY3.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../__chunks__/chunk-YHNZS2AR.mjs";export{a as LifetimeManager};
|
|
2
2
|
//# sourceMappingURL=LifetimeManager.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var c=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var k=(s,t)=>{for(var a in t)c(s,a,{get:t[a],enumerable:!0})},q=(s,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of b(t))!j.call(s,n)&&n!==a&&c(s,n,{get:()=>t[n],enumerable:!(r=D(t,n))||r.enumerable});return s};var z=s=>q(c({},"__esModule",{value:!0}),s);var B={};k(B,{createToastsFromTransactions:()=>A});module.exports=z(B);var o=require("
|
|
1
|
+
"use strict";var c=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var j=Object.prototype.hasOwnProperty;var k=(s,t)=>{for(var a in t)c(s,a,{get:t[a],enumerable:!0})},q=(s,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of b(t))!j.call(s,n)&&n!==a&&c(s,n,{get:()=>t[n],enumerable:!(r=D(t,n))||r.enumerable});return s};var z=s=>q(c({},"__esModule",{value:!0}),s);var B={};k(B,{createToastsFromTransactions:()=>A});module.exports=z(B);var o=require("store/actions/transactions/transactionStateByStatus"),d=require("store/selectors/accountSelectors"),f=require("store/selectors/toastsSelectors"),u=require("store/selectors/transactionsSelector"),I=require("store/store"),l=require("utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems"),S=require("./createTransactionToast");async function A(s){const t=s?.store??(0,I.getState)(),a=[],r=[],n=(0,f.toastsSliceSelector)(t),g=(0,u.transactionsSliceSelector)(t),y=(0,d.addressSelector)(t);for(const i of n.transactionToasts){const T=g[i.toastId];if(!T?.status)continue;const{status:e,transactions:F,transactionsDisplayInfo:C}=T,P=await(0,l.mapServerTransactionsToListItems)({transactions:F,store:t}),h=(0,o.getIsTransactionTimedOut)(e),L=(0,o.getIsTransactionFailed)(e),O=(0,o.getIsTransactionSuccessful)(e),m=h||L||O,R=(0,o.getIsTransactionPending)(e),{startTime:v,endTime:w}=i;if(m&&r.some(x=>x.toastId===i.toastId))continue;const p=(0,S.createTransactionToast)({toastId:i.toastId,address:y,status:e,transactions:P,transactionsDisplayInfo:C,startTime:v,endTime:w});m&&r.push(p),R&&a.push(p)}return{pendingTransactionToasts:a,completedTransactionToasts:r}}0&&(module.exports={createToastsFromTransactions});
|
|
2
2
|
//# sourceMappingURL=createToastsFromTransactions.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-EANUS544.mjs";import"../../../__chunks__/chunk-QFXS7HGL.mjs";import"../../../__chunks__/chunk-W3S6I34V.mjs";import"../../../__chunks__/chunk-DCLI63KS.mjs";import"../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../__chunks__/chunk-MNIHU2XC.mjs";import"../../../__chunks__/chunk-TOUR23UJ.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-F3AIHZES.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-4O27AVB7.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-ECDI66QL.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../__chunks__/chunk-53K4VPO5.mjs";import"../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-GG53ZKY3.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../__chunks__/chunk-OQURAWR4.mjs";import"../../../__chunks__/chunk-PWAP64SN.mjs";import"../../../__chunks__/chunk-O5PAMBB3.mjs";import"../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-YHNZS2AR.mjs";export{a as createToastsFromTransactions};
|
|
2
2
|
//# sourceMappingURL=createToastsFromTransactions.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var P=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},l=(a,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of g(t))!d.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(s=I(t,n))||s.enumerable});return a};var D=a=>l(o({},"__esModule",{value:!0}),a);var E={};P(E,{createTransactionToast:()=>v});module.exports=D(E);var e=require("
|
|
1
|
+
"use strict";var o=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var P=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},l=(a,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of g(t))!d.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(s=I(t,n))||s.enumerable});return a};var D=a=>l(o({},"__esModule",{value:!0}),a);var E={};P(E,{createTransactionToast:()=>v});module.exports=D(E);var e=require("store/actions/transactions/transactionStateByStatus"),i=require("./getToastDataStateByStatus"),T=require("./getToastTransactionsStatus");const v=({toastId:a,address:t,status:r,transactions:s,transactionsDisplayInfo:n,startTime:c,endTime:m})=>{const p=s.some(y=>(0,e.getIsTransactionPending)(y.status)),u=s[0]?.action?.name,S=(0,i.getToastDataStateByStatus)({address:t,sender:s[0]?.interactor??"",toastId:a,status:r,transactionsDisplayInfo:n,txActionName:u}),f=(0,T.getToastTransactionsStatus)(s);return{toastDataState:S,processedTransactionsStatus:f,transactionProgressState:p?{endTime:m,startTime:c}:null,toastId:a,transactions:s}};0&&(module.exports={createTransactionToast});
|
|
2
2
|
//# sourceMappingURL=createTransactionToast.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ITransactionListItem } from '
|
|
2
|
-
import { ServerTransactionType } from '
|
|
3
|
-
import { TransactionsDisplayInfoType } from '
|
|
1
|
+
import { ITransactionListItem } from 'lib/sdkDappUi';
|
|
2
|
+
import { ServerTransactionType } from 'types/serverTransactions.types';
|
|
3
|
+
import { TransactionsDisplayInfoType } from 'types/transactions.types';
|
|
4
4
|
import { ITransactionToast } from '../types/toast.types';
|
|
5
5
|
interface CreateTransactionToastParamsType {
|
|
6
6
|
toastId: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var S=(t,a)=>{for(var i in a)u(t,i,{get:a[i],enumerable:!0})},B=(t,a,i,c)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of h(a))!D.call(t,s)&&s!==i&&u(t,s,{get:()=>a[s],enumerable:!(c=C(a,s))||c.enumerable});return t};var v=t=>B(u({},"__esModule",{value:!0}),t);var p={};S(p,{getToastDataStateByStatus:()=>M});module.exports=v(p);var e=require("
|
|
1
|
+
"use strict";var u=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var S=(t,a)=>{for(var i in a)u(t,i,{get:a[i],enumerable:!0})},B=(t,a,i,c)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of h(a))!D.call(t,s)&&s!==i&&u(t,s,{get:()=>a[s],enumerable:!(c=C(a,s))||c.enumerable});return t};var v=t=>B(u({},"__esModule",{value:!0}),t);var p={};S(p,{getToastDataStateByStatus:()=>M});module.exports=v(p);var e=require("types/enums.types"),o=require("../types");const M=({address:t,sender:a,status:i,toastId:c,transactionsDisplayInfo:s,txActionName:n})=>{const r={id:c,icon:e.IconNamesEnum.check,hasCloseButton:!0,title:s?.successMessage??n??o.TransactionsDefaultTitles.success,iconClassName:"success"},l={id:c,icon:e.IconNamesEnum.check,hasCloseButton:!0,title:s?.receivedMessage??s?.successMessage??n??o.TransactionsDefaultTitles.received,iconClassName:"success"},T={id:c,icon:e.IconNamesEnum.hourglass,hasCloseButton:!1,title:s?.processingMessage??n??o.TransactionsDefaultTitles.pending,iconClassName:"warning"},d={id:c,icon:e.IconNamesEnum.close,title:s?.errorMessage??n??o.TransactionsDefaultTitles.failed,hasCloseButton:!0,iconClassName:"danger"},g={id:c,icon:e.IconNamesEnum.ban,title:s?.invalidMessage??n??o.TransactionsDefaultTitles.invalid,hasCloseButton:!0,iconClassName:"warning"},m={id:c,icon:e.IconNamesEnum.close,title:s?.timedOutMessage??n??o.TransactionsDefaultTitles.timedOut,hasCloseButton:!0,iconClassName:"warning"};switch(i){case e.TransactionBatchStatusesEnum.success:return a!==t?l:r;case e.TransactionBatchStatusesEnum.cancelled:case e.TransactionBatchStatusesEnum.fail:return d;case e.TransactionBatchStatusesEnum.timedOut:return m;case e.TransactionBatchStatusesEnum.invalid:return g;case e.TransactionBatchStatusesEnum.signed:case e.TransactionBatchStatusesEnum.sent:default:return T}};0&&(module.exports={getToastDataStateByStatus});
|
|
2
2
|
//# sourceMappingURL=getToastDataStateByStatus.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(s,t)=>{for(var r in t)e(s,r,{get:t[r],enumerable:!0})},T=(s,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of c(t))!m.call(s,n)&&n!==r&&e(s,n,{get:()=>t[n],enumerable:!(a=i(t,n))||a.enumerable});return s};var S=s=>T(e({},"__esModule",{value:!0}),s);var f={};u(f,{getToastTransactionsStatus:()=>p});module.exports=S(f);var o=require("
|
|
1
|
+
"use strict";var e=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(s,t)=>{for(var r in t)e(s,r,{get:t[r],enumerable:!0})},T=(s,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of c(t))!m.call(s,n)&&n!==r&&e(s,n,{get:()=>t[n],enumerable:!(a=i(t,n))||a.enumerable});return s};var S=s=>T(e({},"__esModule",{value:!0}),s);var f={};u(f,{getToastTransactionsStatus:()=>p});module.exports=S(f);var o=require("store/actions/transactions/transactionStateByStatus");const p=s=>{const t=s.filter(a=>!(0,o.isServerTransactionPending)(a.status)).length,r=s.length;return r===1&&t===1?(0,o.isServerTransactionPending)(s[0].status)?"Processing transaction":"Transaction processed":`${t} / ${r} transactions processed`};0&&(module.exports={getToastTransactionsStatus});
|
|
2
2
|
//# sourceMappingURL=getToastTransactionsStatus.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITransactionListItem } from '
|
|
1
|
+
import { ITransactionListItem } from 'lib/sdkDappUi';
|
|
2
2
|
export declare const getToastTransactionsStatus: (transactions: ITransactionListItem[]) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITransactionListItem } from '
|
|
1
|
+
import { ITransactionListItem } from 'lib/sdkDappUi';
|
|
2
2
|
export declare const baseTransactionMock: ITransactionListItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TransactionServerStatusesEnum } from '
|
|
2
|
-
import { SessionTransactionType, SignedTransactionType } from '
|
|
1
|
+
import { TransactionServerStatusesEnum } from 'types/enums.types';
|
|
2
|
+
import { SessionTransactionType, SignedTransactionType } from 'types/transactions.types';
|
|
3
3
|
export declare const mockTransactionSession: {
|
|
4
4
|
transactions: SignedTransactionType[];
|
|
5
5
|
status: TransactionServerStatusesEnum;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as a}from"../../__chunks__/chunk-
|
|
1
|
+
import{c as a}from"../../__chunks__/chunk-QOSLU3CY.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-3KXESRWK.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-EANUS544.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-4MHWEDD3.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-Z4XGT2PR.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-3WWZSW2J.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-EKL6AW56.mjs";import"../../__chunks__/chunk-GB33T2E4.mjs";import"../../__chunks__/chunk-E7EGETYN.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-PCGVSXBV.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-MNIHU2XC.mjs";import"../../__chunks__/chunk-TOUR23UJ.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-F3AIHZES.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-4O27AVB7.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-ECDI66QL.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-53K4VPO5.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-GG53ZKY3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-QNELH2S2.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-OQURAWR4.mjs";import"../../__chunks__/chunk-PWAP64SN.mjs";import"../../__chunks__/chunk-O5PAMBB3.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-URQCTYMX.mjs";import"../../__chunks__/chunk-YHNZS2AR.mjs";export{a as ToastManager};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { StoreApi } from '
|
|
1
|
+
import { StoreApi } from 'store/store';
|
|
2
2
|
export declare function createStoreStub(initialState: any): StoreApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ITransactionListItem } from '
|
|
2
|
-
import { ServerTransactionType } from '
|
|
3
|
-
import { TransactionsDisplayInfoType } from '
|
|
1
|
+
import { ITransactionListItem } from 'lib/sdkDappUi';
|
|
2
|
+
import { ServerTransactionType } from 'types/serverTransactions.types';
|
|
3
|
+
import { TransactionsDisplayInfoType } from 'types/transactions.types';
|
|
4
4
|
export declare enum TransactionsDefaultTitles {
|
|
5
5
|
success = "Transaction successful",
|
|
6
6
|
received = "Transaction received",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var x=Object.create;var m=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var R=(n,t)=>{for(var a in t)m(n,a,{get:t[a],enumerable:!0})},b=(n,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of C(t))!N.call(n,r)&&r!==a&&m(n,r,{get:()=>t[r],enumerable:!(s=O(t,r))||s.enumerable});return n};var $=(n,t,a)=>(a=n!=null?x(F(n)):{},b(t||!n||!n.__esModule?m(a,"default",{value:n,enumerable:!0}):a,n)),q=n=>b(m({},"__esModule",{value:!0}),n);var j={};R(j,{TransactionManager:()=>S});module.exports=q(j);var g=$(require("axios")),I=require("
|
|
1
|
+
"use strict";var x=Object.create;var m=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var R=(n,t)=>{for(var a in t)m(n,a,{get:t[a],enumerable:!0})},b=(n,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of C(t))!N.call(n,r)&&r!==a&&m(n,r,{get:()=>t[r],enumerable:!(s=O(t,r))||s.enumerable});return n};var $=(n,t,a)=>(a=n!=null?x(F(n)):{},b(t||!n||!n.__esModule?m(a,"default",{value:n,enumerable:!0}):a,n)),q=n=>b(m({},"__esModule",{value:!0}),n);var j={};R(j,{TransactionManager:()=>S});module.exports=q(j);var g=$(require("axios")),I=require("constants/transactions.constants"),A=require("methods/account/getAccount"),w=require("store/actions/toasts/toastsActions"),v=require("store/actions/transactions/transactionsActions"),f=require("store/selectors/networkSelectors"),y=require("store/store"),c=require("types/enums.types"),B=require("utils/transactions/isGuardianTx"),k=require("./helpers/getToastDuration"),D=require("./helpers/getTransactionsStatus"),E=require("./helpers/isBatchTransaction"),l=require("./helpers/sessionCallbacks");const o=class o{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{(0,l.registerCallbacks)({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!(0,E.isBatchTransaction)(t))return await this.sendSignedTransactions(t);const a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{const s=this.sequentialToFlatArray(t).map(i=>({...i,status:i.status??c.TransactionServerStatusesEnum.pending})),r=(0,D.getTransactionsSessionStatus)(s),e=(0,v.createTransactionsSession)({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:r??c.TransactionBatchStatusesEnum.sent,sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return e;a.onSuccess&&(0,l.registerCallbacks)({onSuccess:a.onSuccess,sessionId:e}),a.onFail&&(0,l.registerCallbacks)({onFail:a.onFail,sessionId:e});const d=(0,k.getToastDuration)(t);return(0,w.addTransactionToast)({toastId:e,totalDuration:d}),e};this.sendSignedTransactions=async t=>{const{apiAddress:a,apiTimeout:s}=(0,f.networkSelector)((0,y.getState)());return await Promise.all(t.map(async e=>{const d=await g.default.post(`${a}/transactions`,e.toPlainObject(),{timeout:Number(s)}),i=d.data.txHash;return{...e.toPlainObject(),...d.data,status:c.TransactionServerStatusesEnum.pending,hash:i}}))};this.sendSignedBatchTransactions=async t=>{const{address:a}=(0,A.getAccount)(),{apiAddress:s,apiTimeout:r}=(0,f.networkSelector)((0,y.getState)());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};const e=this.buildBatchId(a),i={transactions:t.map(u=>u.map(T=>T.toPlainObject())),id:e},{data:h}=await g.default.post(`${s}/batch`,i,{timeout:Number(r)}),P=h.transactions.map(u=>u.map(T=>{const p={...T,status:c.TransactionServerStatusesEnum.pending,hash:T.hash};return(0,B.isGuardianTx)({data:p.data})&&(delete p.senderUsername,delete p.receiverUsername),p}));return{data:{...h,transactions:P}}};this.buildBatchId=t=>`${Date.now().toString()}${I.BATCH_TRANSACTIONS_ID_SEPARATOR}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return o.instance||(o.instance=new o),o.instance}};o.instance=null;let S=o;0&&(module.exports={TransactionManager});
|
|
2
2
|
//# sourceMappingURL=TransactionManager.cjs.map
|