@multiversx/sdk-dapp 5.6.11 → 5.6.12
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-22F6NHUW.mjs +2 -0
- package/out/__chunks__/chunk-365NUVE7.mjs +2 -0
- package/out/__chunks__/{chunk-JO3KLBXS.mjs → chunk-3VPAVTVL.mjs} +2 -2
- package/out/__chunks__/chunk-4FBGOTSX.mjs +2 -0
- package/out/__chunks__/{chunk-QGUQTBVR.mjs → chunk-4IM7MMSB.mjs} +2 -2
- package/out/__chunks__/{chunk-EETA2QXV.mjs → chunk-5NRAQWO4.mjs} +2 -2
- package/out/__chunks__/{chunk-EH3QXINF.mjs → chunk-6ECOAQX4.mjs} +2 -2
- package/out/__chunks__/{chunk-OSGTEMH4.mjs → chunk-6MBRTWME.mjs} +2 -2
- package/out/__chunks__/{chunk-HKZTCRSV.mjs → chunk-6UTLNODT.mjs} +2 -2
- package/out/__chunks__/{chunk-UGY4JSP3.mjs → chunk-AIBBSVXP.mjs} +2 -2
- package/out/__chunks__/{chunk-AAIKQGPN.mjs → chunk-AQIZZ6YU.mjs} +2 -2
- package/out/__chunks__/{chunk-TRICXIPQ.mjs → chunk-AU2YBHNW.mjs} +2 -2
- package/out/__chunks__/{chunk-P6OHY6KU.mjs → chunk-B4WJMVF6.mjs} +2 -2
- package/out/__chunks__/{chunk-RSNSPKZ3.mjs → chunk-BI2PJ5FS.mjs} +2 -2
- package/out/__chunks__/{chunk-DY53O4ED.mjs → chunk-C23VOAOY.mjs} +2 -2
- package/out/__chunks__/{chunk-Q6SV22DH.mjs → chunk-CDU3ZELH.mjs} +2 -2
- package/out/__chunks__/{chunk-AHORDOF4.mjs → chunk-CPGY3DQJ.mjs} +2 -2
- package/out/__chunks__/{chunk-CDHVNNSM.mjs → chunk-CVW52D7K.mjs} +2 -2
- package/out/__chunks__/{chunk-OWYOEUPL.mjs → chunk-CYA7ED2N.mjs} +2 -2
- package/out/__chunks__/{chunk-UWCHOJH4.mjs → chunk-DDRH6O3X.mjs} +2 -2
- package/out/__chunks__/chunk-DDS3DY4B.mjs +2 -0
- package/out/__chunks__/{chunk-ICJ5ZWS4.mjs → chunk-DKBOH236.mjs} +2 -2
- package/out/__chunks__/{chunk-YVOZYFMU.mjs → chunk-EIUQFHRY.mjs} +2 -2
- package/out/__chunks__/{chunk-XZ2BAC7C.mjs → chunk-EJ4TUIIU.mjs} +2 -2
- package/out/__chunks__/{chunk-P4H53TTI.mjs → chunk-F3PJPNGU.mjs} +2 -2
- package/out/__chunks__/{chunk-QMSYQJAU.mjs → chunk-FLFZN2T6.mjs} +2 -2
- package/out/__chunks__/{chunk-3C4QWHTF.mjs → chunk-G2WU3X6R.mjs} +2 -2
- package/out/__chunks__/chunk-GJSAN3GO.mjs +2 -0
- package/out/__chunks__/{chunk-AJBGY6A5.mjs → chunk-GOUIWTTC.mjs} +2 -2
- package/out/__chunks__/{chunk-W4F3YI3F.mjs → chunk-GP6W6RR7.mjs} +2 -2
- package/out/__chunks__/{chunk-I5NDCPU2.mjs → chunk-GPKU7JO2.mjs} +2 -2
- package/out/__chunks__/{chunk-L7AC35OO.mjs → chunk-HPY6UNFO.mjs} +2 -2
- package/out/__chunks__/{chunk-COA54JTE.mjs → chunk-HY5I67W7.mjs} +2 -2
- package/out/__chunks__/{chunk-6BA2NDJT.mjs → chunk-IPGIVRGN.mjs} +2 -2
- package/out/__chunks__/chunk-JAXSTKEJ.mjs +2 -0
- package/out/__chunks__/{chunk-H3TSHWUD.mjs → chunk-JL6BHC7T.mjs} +2 -2
- package/out/__chunks__/{chunk-OKO3GIXC.mjs → chunk-KAY6QD6V.mjs} +2 -2
- package/out/__chunks__/{chunk-2NE75KNA.mjs → chunk-L6SBIHCZ.mjs} +2 -2
- package/out/__chunks__/{chunk-T6I7XQHS.mjs → chunk-L7HC5J53.mjs} +2 -2
- package/out/__chunks__/{chunk-R7Y4IM2T.mjs → chunk-LJ5RLWEK.mjs} +2 -2
- package/out/__chunks__/chunk-LLVSK2AG.mjs +2 -0
- package/out/__chunks__/{chunk-PKNPUHFQ.mjs → chunk-LT4RXTTQ.mjs} +2 -2
- package/out/__chunks__/{chunk-H3MXIVR4.mjs → chunk-LXSGLYGV.mjs} +2 -2
- package/out/__chunks__/{chunk-DDB4KRVV.mjs → chunk-LYUGR2FR.mjs} +2 -2
- package/out/__chunks__/{chunk-QHANP3XT.mjs → chunk-MFGDF3HI.mjs} +2 -2
- package/out/__chunks__/{chunk-LNRVNBRB.mjs → chunk-N6G3CMSC.mjs} +2 -2
- package/out/__chunks__/{chunk-LUVMM57Y.mjs → chunk-NK2JTYOC.mjs} +2 -2
- package/out/__chunks__/{chunk-CNE5LY2X.mjs → chunk-OGL4HN2P.mjs} +2 -2
- package/out/__chunks__/{chunk-CMN37YZP.mjs → chunk-QDUNEKJW.mjs} +2 -2
- package/out/__chunks__/{chunk-JJ6B2ZYX.mjs → chunk-QNXBITGY.mjs} +2 -2
- package/out/__chunks__/{chunk-X7XFHGOE.mjs → chunk-QRPH4JCL.mjs} +2 -2
- package/out/__chunks__/{chunk-RGDZMPES.mjs → chunk-QWBFB3BL.mjs} +2 -2
- package/out/__chunks__/{chunk-IWQH426N.mjs → chunk-QWVZ4NTR.mjs} +2 -2
- package/out/__chunks__/{chunk-VLJXRHVE.mjs → chunk-RC4ZBXFJ.mjs} +2 -2
- package/out/__chunks__/chunk-RFGBMNFA.mjs +2 -0
- package/out/__chunks__/{chunk-CYKK4HPZ.mjs → chunk-RNK62S6X.mjs} +2 -2
- package/out/__chunks__/{chunk-JBPJL3B7.mjs → chunk-RVW6Z4XY.mjs} +2 -2
- package/out/__chunks__/{chunk-3Z7CLSDP.mjs → chunk-S72I2KYP.mjs} +2 -2
- package/out/__chunks__/chunk-SML7WOGP.mjs +2 -0
- package/out/__chunks__/chunk-SVG75M4S.mjs +2 -0
- package/out/__chunks__/{chunk-TU6TE5PG.mjs → chunk-SWIPPQAS.mjs} +2 -2
- package/out/__chunks__/{chunk-3MWPYDLA.mjs → chunk-TIX7PAYC.mjs} +2 -2
- package/out/__chunks__/{chunk-OAFYVJLF.mjs → chunk-TWDQUDRP.mjs} +2 -2
- package/out/__chunks__/{chunk-6VJXXSIS.mjs → chunk-UDWPAR25.mjs} +2 -2
- package/out/__chunks__/chunk-UJA73JSW.mjs +2 -0
- package/out/__chunks__/{chunk-IZVWRQDU.mjs → chunk-UUFVP7SB.mjs} +2 -2
- package/out/__chunks__/chunk-UWBYA2GM.mjs +2 -0
- package/out/__chunks__/{chunk-J7DUP7GC.mjs → chunk-UY2X77BA.mjs} +2 -2
- package/out/__chunks__/{chunk-L5RYEWHO.mjs → chunk-V6HSYMMG.mjs} +2 -2
- package/out/__chunks__/chunk-VA7KLP35.mjs +2 -0
- package/out/__chunks__/{chunk-JMJ7OMSW.mjs → chunk-VCU3YP4J.mjs} +2 -2
- package/out/__chunks__/{chunk-S4GXN3R7.mjs → chunk-VLRP4JQW.mjs} +2 -2
- package/out/__chunks__/{chunk-KTSYT4CA.mjs → chunk-VOCZMUMV.mjs} +2 -2
- package/out/__chunks__/{chunk-DY3P72D3.mjs → chunk-VSOHM56Y.mjs} +2 -2
- package/out/__chunks__/{chunk-6BNZ4EJC.mjs → chunk-WDL6SFHR.mjs} +2 -2
- package/out/__chunks__/{chunk-YEBGEZ5L.mjs → chunk-XEDB2GXW.mjs} +2 -2
- package/out/__chunks__/chunk-XELB2AVG.mjs +2 -0
- package/out/__chunks__/{chunk-PENSR33H.mjs → chunk-YAVOCSOD.mjs} +2 -2
- package/out/__chunks__/{chunk-FRIOQMD3.mjs → chunk-YDH26OGG.mjs} +2 -2
- package/out/__chunks__/chunk-YDR33UBM.mjs +2 -0
- package/out/__chunks__/{chunk-R3IH76PW.mjs.map → chunk-YDR33UBM.mjs.map} +1 -1
- package/out/__chunks__/{chunk-MNN7JOCV.mjs → chunk-YG6SFLZY.mjs} +2 -2
- package/out/__chunks__/{chunk-YJQR63IW.mjs → chunk-YHON33YS.mjs} +2 -2
- package/out/__chunks__/{chunk-RQOU5LG4.mjs → chunk-YKYYWL4B.mjs} +2 -2
- package/out/__chunks__/{chunk-FRREO5DY.mjs → chunk-YTKDRPWM.mjs} +2 -2
- package/out/__chunks__/{chunk-RMMIR3MN.mjs → chunk-YXKQJKZV.mjs} +2 -2
- package/out/__chunks__/{chunk-O65UD2QD.mjs → chunk-Z72NFBTZ.mjs} +2 -2
- package/out/__chunks__/{chunk-CG6BZB2U.mjs → chunk-ZLGDFBX7.mjs} +2 -2
- package/out/__chunks__/{chunk-QACFOFUG.mjs → chunk-ZMZXHLYM.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
- package/out/apiCalls/account/getAccountFromApi.d.ts +9 -0
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -1
- package/out/apiCalls/account/getScamAddressData.d.ts +8 -0
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.d.ts +1 -0
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.d.ts +2 -0
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.d.ts +2 -0
- package/out/apiCalls/configuration/getServerConfiguration.d.ts +2 -0
- package/out/apiCalls/economics/getEconomics.cjs +1 -1
- package/out/apiCalls/economics/getEconomics.d.ts +13 -0
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/endpoints.d.ts +26 -0
- package/out/apiCalls/tokens/getPersistedToken.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.d.ts +1 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.d.ts +35 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.d.ts +4 -0
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.d.ts +5 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +4 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.d.ts +2 -0
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -1
- package/out/apiCalls/transactions/getTransactions.d.ts +21 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.d.ts +2 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.d.ts +1 -0
- package/out/apiCalls/utils/axiosInstance.d.ts +2 -0
- package/out/apiCalls/websocket/getWebsocketUrl.d.ts +1 -0
- package/out/constants/UITags.enum.d.ts +9 -0
- package/out/constants/browser.constants.d.ts +2 -0
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/ledger.constants.d.ts +92 -0
- package/out/constants/mvx.constants.d.ts +15 -0
- package/out/constants/network.constants.cjs +1 -1
- package/out/constants/network.constants.d.ts +11 -0
- package/out/constants/placeholders.constants.d.ts +7 -0
- package/out/constants/providerFactory.constants.cjs +1 -1
- package/out/constants/providerFactory.constants.d.ts +3 -0
- package/out/constants/storage.constants.d.ts +7 -0
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.d.ts +13 -0
- package/out/constants/walletConnect.constants.d.ts +2 -0
- package/out/constants/websocket.constants.d.ts +10 -0
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.d.ts +2 -0
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.d.ts +6 -0
- package/out/controllers/FormatAmountController/index.d.ts +1 -0
- package/out/controllers/FormatAmountController/types.d.ts +11 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +4 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.d.ts +1 -0
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +12 -0
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.d.ts +1 -0
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +38 -0
- package/out/lib/sdkCore.d.ts +7 -0
- package/out/lib/sdkDappUI.components.d.ts +1 -0
- package/out/lib/sdkDappUi.d.ts +9 -0
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.d.ts +6 -0
- package/out/lib/sdkWebWalletCrossWindowProvider.d.ts +3 -0
- package/out/lib/sdkWebWalletIframeProvider.d.ts +1 -0
- package/out/lib/sdkWebviewProvider.d.ts +1 -0
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.d.ts +15 -0
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.d.ts +1 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +31 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.d.ts +2 -0
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.d.ts +1 -0
- package/out/managers/NotificationsFeedManager/types/notifications.types.d.ts +7 -0
- package/out/managers/ToastManager/ToastManager.cjs +1 -1
- package/out/managers/ToastManager/ToastManager.d.ts +36 -0
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.d.ts +30 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.d.ts +14 -0
- 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 +11 -0
- 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 +15 -0
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +2 -0
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.d.ts +2 -0
- package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +2 -0
- package/out/managers/ToastManager/helpers/tests/mocks/cache.d.ts +14 -0
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +14 -0
- package/out/managers/ToastManager/index.d.ts +1 -0
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/tests/helpers/createStoreStub.d.ts +2 -0
- package/out/managers/ToastManager/types/index.d.ts +1 -0
- package/out/managers/ToastManager/types/toast.types.d.ts +50 -0
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.d.ts +55 -0
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.d.ts +21 -0
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.d.ts +2 -0
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.d.ts +2 -0
- 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 +3 -0
- package/out/managers/TransactionManager/helpers/isBatchTransaction.d.ts +1 -0
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.d.ts +6 -0
- package/out/managers/TransactionManager/helpers/sessionCallbacks.d.ts +8 -0
- package/out/managers/TransactionManager/index.d.ts +1 -0
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +27 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +86 -0
- package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.d.ts +7 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +1 -1
- package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +2 -0
- package/out/managers/UnlockPanelManager/index.d.ts +1 -0
- 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 +46 -0
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.d.ts +2 -0
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.d.ts +8 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.d.ts +13 -0
- 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 +12 -0
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.d.ts +2 -0
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.d.ts +4 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +18 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.d.ts +1 -0
- 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 +29 -0
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.d.ts +1 -0
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +63 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +30 -0
- 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 +14 -0
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.d.ts +1 -0
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -1
- package/out/methods/account/getAccount.d.ts +1 -0
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -1
- package/out/methods/account/getAccountInfo.d.ts +15 -0
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +1 -1
- package/out/methods/account/getAddress.d.ts +1 -0
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +1 -1
- package/out/methods/account/getIsLoggedIn.d.ts +1 -0
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.d.ts +2 -0
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.d.ts +6 -0
- 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 +6 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.d.ts +19 -0
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.d.ts +126 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.d.ts +3 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.d.ts +19 -0
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.d.ts +9 -0
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +1 -1
- package/out/methods/network/getEgldLabel.d.ts +1 -0
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +1 -1
- package/out/methods/network/getExplorerAddress.d.ts +1 -0
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +1 -1
- package/out/methods/network/getNetworkConfig.d.ts +1 -0
- 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.d.ts +1 -0
- 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 +7 -0
- 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 +7 -0
- 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 +5 -0
- 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 +13 -0
- 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 +3 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.d.ts +1 -0
- 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 +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.d.ts +1 -0
- 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.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.d.ts +7 -0
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactions.d.ts +1 -0
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactions.d.ts +1 -0
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.d.ts +1 -0
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +1 -1
- package/out/methods/transactions/getTransactionSessions.d.ts +1 -0
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +1 -1
- package/out/providers/DappProvider/DappProvider.d.ts +29 -0
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.d.ts +8 -0
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.d.ts +5 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.d.ts +8 -0
- 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.d.ts +10 -0
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.d.ts +13 -0
- 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.d.ts +8 -0
- 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 +7 -0
- 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 +10 -0
- 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 +4 -0
- 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 +7 -0
- 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 +12 -0
- 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.d.ts +1 -0
- 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/getVerifier.d.ts +7 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +10 -0
- 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/signMessage/verifyMessage.d.ts +6 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.d.ts +13 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.d.ts +1 -0
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -1
- package/out/providers/ProviderFactory.d.ts +9 -0
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.d.ts +5 -0
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.d.ts +1 -0
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.d.ts +4 -0
- package/out/providers/helpers/emptyProvider.cjs +1 -1
- package/out/providers/helpers/emptyProvider.d.ts +35 -0
- package/out/providers/helpers/restoreProvider.cjs +1 -1
- package/out/providers/helpers/restoreProvider.d.ts +1 -0
- 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 +51 -0
- 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 +25 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.d.ts +1 -0
- 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 +19 -0
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.d.ts +1 -0
- 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 +22 -0
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.d.ts +4 -0
- package/out/providers/strategies/IframeProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +38 -0
- 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.d.ts +16 -0
- 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/getAuthTokenText.d.ts +8 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts +9 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.d.ts +1 -0
- 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.d.ts +13 -0
- 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 +8 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
- 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/getLedgerErrorCodes.d.ts +4 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.d.ts +8 -0
- 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/getLedgerConfiguration.d.ts +5 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
- 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 +10 -0
- 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 +5 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.d.ts +40 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.d.ts +8 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +37 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.d.ts +29 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.d.ts +20 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.d.ts +1 -0
- 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 +23 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.d.ts +1 -0
- 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 +9 -0
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.d.ts +1 -0
- 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 +9 -0
- 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/calculateFeeInFiat.d.ts +6 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.d.ts +13 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +31 -0
- 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 +2 -0
- 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 +6 -0
- 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 +18 -0
- 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 +13 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.d.ts +2 -0
- 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 +10 -0
- 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 +2 -0
- 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 +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.d.ts +6 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.d.ts +73 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.d.ts +9 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.d.ts +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.d.ts +1 -0
- 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 +2 -0
- 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 +8 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.d.ts +5 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.d.ts +5 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.d.ts +4 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.d.ts +12 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +16 -0
- package/out/providers/types/providerFactory.types.d.ts +51 -0
- package/out/react/account/useGetAccount.d.ts +1 -0
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.d.ts +15 -0
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.d.ts +1 -0
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.d.ts +1 -0
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.d.ts +1 -0
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.d.ts +9 -0
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.d.ts +1 -0
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.d.ts +14 -0
- package/out/react/store/getReactStore.d.ts +4 -0
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.d.ts +6 -0
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.d.ts +1 -0
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.d.ts +1 -0
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.d.ts +1 -0
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.d.ts +1 -0
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.d.ts +9 -0
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.d.ts +8 -0
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.d.ts +12 -0
- package/out/services/nativeAuth/helpers/index.d.ts +3 -0
- package/out/services/nativeAuth/index.d.ts +1 -0
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.d.ts +15 -0
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.d.ts +7 -0
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.d.ts +6 -0
- package/out/services/nativeAuth/nativeAuth.d.ts +19 -0
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.d.ts +19 -0
- package/out/store/actions/account/accountActions.cjs +1 -1
- package/out/store/actions/account/accountActions.d.ts +9 -0
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.d.ts +1 -0
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +1 -1
- package/out/store/actions/cache/cacheActions.d.ts +6 -0
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.d.ts +1 -0
- 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 +9 -0
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.d.ts +1 -0
- 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 +12 -0
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.d.ts +1 -0
- 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 +7 -0
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.d.ts +3 -0
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.d.ts +1 -0
- 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 +7 -0
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.d.ts +1 -0
- 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 +13 -0
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.d.ts +23 -0
- package/out/store/actions/transactions/transactionsActions.cjs +1 -1
- package/out/store/actions/transactions/transactionsActions.d.ts +20 -0
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.d.ts +1 -0
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +1 -1
- package/out/store/actions/ui/uiActions.d.ts +1 -0
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.d.ts +2 -0
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.d.ts +1 -0
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +1 -1
- package/out/store/middleware/logoutMiddleware.d.ts +6 -0
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +1 -1
- package/out/store/selectors/accountSelectors.d.ts +25 -0
- package/out/store/selectors/cacheSelector.d.ts +3 -0
- package/out/store/selectors/configSelectors.d.ts +5 -0
- package/out/store/selectors/loginInfoSelectors.d.ts +7 -0
- package/out/store/selectors/networkSelectors.d.ts +9 -0
- package/out/store/selectors/storeSelector.d.ts +2 -0
- package/out/store/selectors/toastsSelectors.d.ts +4 -0
- package/out/store/selectors/transactionsSelector.cjs +1 -1
- package/out/store/selectors/transactionsSelector.d.ts +10 -0
- package/out/store/selectors/uiSelectors.d.ts +3 -0
- package/out/store/slices/account/account.types.d.ts +25 -0
- package/out/store/slices/account/accountSlice.d.ts +5 -0
- package/out/store/slices/account/emptyAccount.cjs +1 -1
- package/out/store/slices/account/emptyAccount.d.ts +2 -0
- package/out/store/slices/account/index.d.ts +1 -0
- package/out/store/slices/cache/cacheSlice.d.ts +5 -0
- package/out/store/slices/cache/cacheSlice.types.d.ts +3 -0
- package/out/store/slices/cache/index.d.ts +1 -0
- package/out/store/slices/config/config.types.d.ts +16 -0
- package/out/store/slices/config/configSlice.cjs +1 -1
- package/out/store/slices/config/configSlice.d.ts +4 -0
- package/out/store/slices/config/index.d.ts +1 -0
- package/out/store/slices/loginInfo/index.d.ts +1 -0
- package/out/store/slices/loginInfo/loginInfo.types.d.ts +19 -0
- package/out/store/slices/loginInfo/loginInfoSlice.d.ts +5 -0
- package/out/store/slices/network/emptyNetwork.d.ts +2 -0
- package/out/store/slices/network/index.d.ts +1 -0
- package/out/store/slices/network/network.types.d.ts +5 -0
- package/out/store/slices/network/networkSlice.d.ts +4 -0
- package/out/store/slices/network/networkSlice.types.d.ts +4 -0
- package/out/store/slices/toast/index.d.ts +1 -0
- package/out/store/slices/toast/toastSlice.d.ts +5 -0
- package/out/store/slices/toast/toastSlice.types.d.ts +50 -0
- package/out/store/slices/transactions/index.d.ts +1 -0
- package/out/store/slices/transactions/transactionsSlice.d.ts +5 -0
- package/out/store/slices/transactions/transactionsSlice.types.d.ts +4 -0
- package/out/store/slices/ui/index.d.ts +1 -0
- package/out/store/slices/ui/ui.types.d.ts +3 -0
- package/out/store/slices/ui/uiSlice.d.ts +4 -0
- package/out/store/storage/inMemoryStorage.d.ts +9 -0
- package/out/store/storage/index.d.ts +2 -0
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +1 -1
- package/out/store/storage/storageCallback.d.ts +3 -0
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.d.ts +103 -0
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.d.ts +46 -0
- package/out/types/account.types.d.ts +38 -0
- package/out/types/enums.types.d.ts +74 -0
- package/out/types/login.types.d.ts +13 -0
- package/out/types/manager.types.d.ts +5 -0
- package/out/types/network.types.d.ts +51 -0
- package/out/types/provider.types.d.ts +6 -0
- package/out/types/serverTransactions.types.d.ts +316 -0
- package/out/types/subscriptions.type.d.ts +5 -0
- package/out/types/suspiciousLink.types.d.ts +17 -0
- package/out/types/theme.types.d.ts +5 -0
- package/out/types/tokens.types.d.ts +173 -0
- package/out/types/transaction-list-item.types.d.ts +87 -0
- package/out/types/transactions.types.d.ts +108 -0
- package/out/types/websocket.types.d.ts +4 -0
- package/out/utils/ComponentFactory.cjs +1 -1
- package/out/utils/ComponentFactory.d.ts +14 -0
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +1 -1
- package/out/utils/account/fetchAccount.d.ts +4 -0
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -1
- package/out/utils/account/refreshAccount.d.ts +27 -0
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.d.ts +10 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.d.ts +1 -0
- package/out/utils/asyncActions/index.d.ts +1 -0
- package/out/utils/asyncActions/sleep.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestamp.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.d.ts +1 -0
- package/out/utils/dateTime/index.d.ts +3 -0
- package/out/utils/decoders/base64Utils.d.ts +22 -0
- package/out/utils/decoders/decodePart.d.ts +1 -0
- package/out/utils/decoders/isAscii.d.ts +1 -0
- package/out/utils/decoders/isUtf8.d.ts +1 -0
- package/out/utils/decoders/stringContainsNumbers.d.ts +1 -0
- package/out/utils/network/index.d.ts +1 -0
- package/out/utils/network/setAxiosInterceptors.d.ts +6 -0
- package/out/utils/operations/capitalize.d.ts +1 -0
- package/out/utils/operations/getUsdValue.d.ts +6 -0
- package/out/utils/operations/pluralize.d.ts +1 -0
- package/out/utils/operations/tests/pluralize.spec.d.ts +1 -0
- package/out/utils/operations/tests/trimAmountDecimals.spec.d.ts +1 -0
- package/out/utils/operations/timeRemaining.d.ts +4 -0
- package/out/utils/operations/trimAmountDecimals.cjs +1 -1
- package/out/utils/operations/trimAmountDecimals.d.ts +6 -0
- package/out/utils/retryMultipleTimes.d.ts +6 -0
- package/out/utils/tests/shadowDomTraversal.d.ts +17 -0
- package/out/utils/transactions/explorerUrlBuilder.cjs +1 -1
- package/out/utils/transactions/explorerUrlBuilder.d.ts +25 -0
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.d.ts +7 -0
- 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 +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +8 -0
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.d.ts +1 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.d.ts +7 -0
- package/out/utils/transactions/getDecodedDataField/index.d.ts +1 -0
- package/out/utils/transactions/getExplorerLink.d.ts +4 -0
- package/out/utils/transactions/getHumanReadableTimeFormat.d.ts +10 -0
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.d.ts +17 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.d.ts +12 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.d.ts +16 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.d.ts +1 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.d.ts +22 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.d.ts +10 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.d.ts +1 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +6 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts +5 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/index.d.ts +1 -0
- package/out/utils/transactions/getScamFlag.d.ts +8 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +3 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.d.ts +2 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +3 -0
- 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 +2 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.d.ts +6 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.d.ts +13 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.d.ts +8 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.d.ts +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.d.ts +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.d.ts +15 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.d.ts +16 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.d.ts +12 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +9 -0
- 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 +12 -0
- package/out/utils/transactions/getTransactionsHistory/index.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +1 -1
- package/out/utils/transactions/isGuardianTx.d.ts +4 -0
- package/out/utils/validation/addressIsValid.cjs +1 -1
- package/out/utils/validation/addressIsValid.d.ts +1 -0
- package/out/utils/validation/getIdentifierType.d.ts +5 -0
- package/out/utils/validation/hex.d.ts +2 -0
- package/out/utils/validation/isContract.cjs +1 -1
- package/out/utils/validation/isContract.d.ts +6 -0
- package/out/utils/validation/maxDecimals.d.ts +1 -0
- package/out/utils/visual/switchTheme.cjs +1 -1
- package/out/utils/visual/switchTheme.d.ts +2 -0
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +8 -0
- package/out/utils/window/buildUrlParams.d.ts +8 -0
- package/out/utils/window/getIsAuthRoute.d.ts +15 -0
- package/out/utils/window/getIsInIframe.d.ts +1 -0
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.d.ts +9 -0
- package/out/utils/window/getWindowParentOrigin.cjs +1 -1
- package/out/utils/window/getWindowParentOrigin.d.ts +1 -0
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/isWindowAvailable.d.ts +1 -0
- package/out/utils/window/matchPath.d.ts +60 -0
- package/out/utils/window/sanitizeCallbackUrl.d.ts +1 -0
- package/package.json +1 -1
- package/out/__chunks__/chunk-2WUOBFRV.mjs +0 -2
- package/out/__chunks__/chunk-422ZUBTP.mjs +0 -2
- package/out/__chunks__/chunk-6ZU2IBDO.mjs +0 -2
- package/out/__chunks__/chunk-BFVULVAD.mjs +0 -2
- package/out/__chunks__/chunk-BZLQ6QLQ.mjs +0 -2
- package/out/__chunks__/chunk-CKY2HBH6.mjs +0 -2
- package/out/__chunks__/chunk-EOAIKG7U.mjs +0 -2
- package/out/__chunks__/chunk-MJXIB64Q.mjs +0 -2
- package/out/__chunks__/chunk-PI76AQ3J.mjs +0 -2
- package/out/__chunks__/chunk-PZI62JRY.mjs +0 -2
- package/out/__chunks__/chunk-R3IH76PW.mjs +0 -2
- package/out/__chunks__/chunk-V5ZA5MQV.mjs +0 -2
- package/out/__chunks__/chunk-VMUOJEUV.mjs +0 -2
- package/out/__chunks__/chunk-WXTELBRA.mjs +0 -2
- package/out/__chunks__/chunk-WZSA2EE5.mjs +0 -2
- /package/out/__chunks__/{chunk-VMUOJEUV.mjs.map → chunk-22F6NHUW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BZLQ6QLQ.mjs.map → chunk-365NUVE7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JO3KLBXS.mjs.map → chunk-3VPAVTVL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V5ZA5MQV.mjs.map → chunk-4FBGOTSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QGUQTBVR.mjs.map → chunk-4IM7MMSB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EETA2QXV.mjs.map → chunk-5NRAQWO4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EH3QXINF.mjs.map → chunk-6ECOAQX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OSGTEMH4.mjs.map → chunk-6MBRTWME.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HKZTCRSV.mjs.map → chunk-6UTLNODT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UGY4JSP3.mjs.map → chunk-AIBBSVXP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAIKQGPN.mjs.map → chunk-AQIZZ6YU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TRICXIPQ.mjs.map → chunk-AU2YBHNW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P6OHY6KU.mjs.map → chunk-B4WJMVF6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSNSPKZ3.mjs.map → chunk-BI2PJ5FS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DY53O4ED.mjs.map → chunk-C23VOAOY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q6SV22DH.mjs.map → chunk-CDU3ZELH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AHORDOF4.mjs.map → chunk-CPGY3DQJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CDHVNNSM.mjs.map → chunk-CVW52D7K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OWYOEUPL.mjs.map → chunk-CYA7ED2N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UWCHOJH4.mjs.map → chunk-DDRH6O3X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CKY2HBH6.mjs.map → chunk-DDS3DY4B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICJ5ZWS4.mjs.map → chunk-DKBOH236.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YVOZYFMU.mjs.map → chunk-EIUQFHRY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XZ2BAC7C.mjs.map → chunk-EJ4TUIIU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P4H53TTI.mjs.map → chunk-F3PJPNGU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QMSYQJAU.mjs.map → chunk-FLFZN2T6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3C4QWHTF.mjs.map → chunk-G2WU3X6R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BFVULVAD.mjs.map → chunk-GJSAN3GO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AJBGY6A5.mjs.map → chunk-GOUIWTTC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W4F3YI3F.mjs.map → chunk-GP6W6RR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I5NDCPU2.mjs.map → chunk-GPKU7JO2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L7AC35OO.mjs.map → chunk-HPY6UNFO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-COA54JTE.mjs.map → chunk-HY5I67W7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6BA2NDJT.mjs.map → chunk-IPGIVRGN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJXIB64Q.mjs.map → chunk-JAXSTKEJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H3TSHWUD.mjs.map → chunk-JL6BHC7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OKO3GIXC.mjs.map → chunk-KAY6QD6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2NE75KNA.mjs.map → chunk-L6SBIHCZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T6I7XQHS.mjs.map → chunk-L7HC5J53.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R7Y4IM2T.mjs.map → chunk-LJ5RLWEK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ZU2IBDO.mjs.map → chunk-LLVSK2AG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PKNPUHFQ.mjs.map → chunk-LT4RXTTQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H3MXIVR4.mjs.map → chunk-LXSGLYGV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDB4KRVV.mjs.map → chunk-LYUGR2FR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QHANP3XT.mjs.map → chunk-MFGDF3HI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LNRVNBRB.mjs.map → chunk-N6G3CMSC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUVMM57Y.mjs.map → chunk-NK2JTYOC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CNE5LY2X.mjs.map → chunk-OGL4HN2P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CMN37YZP.mjs.map → chunk-QDUNEKJW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJ6B2ZYX.mjs.map → chunk-QNXBITGY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X7XFHGOE.mjs.map → chunk-QRPH4JCL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RGDZMPES.mjs.map → chunk-QWBFB3BL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IWQH426N.mjs.map → chunk-QWVZ4NTR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VLJXRHVE.mjs.map → chunk-RC4ZBXFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WXTELBRA.mjs.map → chunk-RFGBMNFA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CYKK4HPZ.mjs.map → chunk-RNK62S6X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JBPJL3B7.mjs.map → chunk-RVW6Z4XY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3Z7CLSDP.mjs.map → chunk-S72I2KYP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WZSA2EE5.mjs.map → chunk-SML7WOGP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PI76AQ3J.mjs.map → chunk-SVG75M4S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TU6TE5PG.mjs.map → chunk-SWIPPQAS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3MWPYDLA.mjs.map → chunk-TIX7PAYC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OAFYVJLF.mjs.map → chunk-TWDQUDRP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6VJXXSIS.mjs.map → chunk-UDWPAR25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PZI62JRY.mjs.map → chunk-UJA73JSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IZVWRQDU.mjs.map → chunk-UUFVP7SB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EOAIKG7U.mjs.map → chunk-UWBYA2GM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J7DUP7GC.mjs.map → chunk-UY2X77BA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L5RYEWHO.mjs.map → chunk-V6HSYMMG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-422ZUBTP.mjs.map → chunk-VA7KLP35.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JMJ7OMSW.mjs.map → chunk-VCU3YP4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S4GXN3R7.mjs.map → chunk-VLRP4JQW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KTSYT4CA.mjs.map → chunk-VOCZMUMV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DY3P72D3.mjs.map → chunk-VSOHM56Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6BNZ4EJC.mjs.map → chunk-WDL6SFHR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YEBGEZ5L.mjs.map → chunk-XEDB2GXW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2WUOBFRV.mjs.map → chunk-XELB2AVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PENSR33H.mjs.map → chunk-YAVOCSOD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FRIOQMD3.mjs.map → chunk-YDH26OGG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MNN7JOCV.mjs.map → chunk-YG6SFLZY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YJQR63IW.mjs.map → chunk-YHON33YS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RQOU5LG4.mjs.map → chunk-YKYYWL4B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FRREO5DY.mjs.map → chunk-YTKDRPWM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RMMIR3MN.mjs.map → chunk-YXKQJKZV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O65UD2QD.mjs.map → chunk-Z72NFBTZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CG6BZB2U.mjs.map → chunk-ZLGDFBX7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QACFOFUG.mjs.map → chunk-ZMZXHLYM.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-YDR33UBM.mjs";export{a as TransactionsHistoryController};
|
|
2
2
|
//# sourceMappingURL=TransactionsHistoryController.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TransactionsHistoryController';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-RUBOJOJP.mjs";import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-RUBOJOJP.mjs";import{a}from"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../__chunks__/chunk-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-YDR33UBM.mjs";export{a as TransactionsHistoryController};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var F=(t,n)=>{for(var a in n)l(t,a,{get:n[a],enumerable:!0})},P=(t,n,a,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of V(n))!C.call(t,i)&&i!==a&&l(t,i,{get:()=>n[i],enumerable:!(s=R(n,i))||s.enumerable});return t};var B=t=>P(l({},"__esModule",{value:!0}),t);var M={};F(M,{TransactionsTableController:()=>N});module.exports=B(M);var g=require("lib/sdkDappUtils"),d=require("types/serverTransactions.types"),v=require("types/tokens.types"),L=require("utils/transactions/getExplorerLink"),f=require("utils/transactions/getInterpretedTransaction/getInterpretedTransaction"),h=require("utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue"),D=require("utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName"),m=require("utils/transactions/getInterpretedTransaction/helpers/getShardText"),k=require("utils/validation/isContract"),x=require("../FormatAmountController");class N{static async processTransactions({address:n,egldLabel:a,explorerAddress:s,transactions:i}){const y=i.map(e=>(0,f.getInterpretedTransaction)({address:n,explorerAddress:s,transaction:e}));return await Promise.all(y.map(async e=>{const T=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),p=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:S,receiverLockedAccount:w}=await(0,D.getLockedAccountName)({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:c,tokenValueData:o,nftValueData:r}=(0,h.getTransactionValue)({transaction:e}),A=r?.token.type===v.NftEnumType.MetaESDT?void 0:r?.badgeText,u=x.FormatAmountController.getData({input:c?.value??o?.value??r?.value??"",decimals:c?.decimals??o?.decimals??r?.decimals??g.DECIMALS,digits:2}),E={badge:A??void 0,collection:o?.token.collection??r?.token.collection,egldLabel:c?a:"",link:(0,L.getExplorerLink)({explorerAddress:s,to:o?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:o?.tokenLinkText??r?.tokenLinkText,name:o?.token.name??r?.token.name,showFormattedAmount:!!(c||o?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:o?.token.svgUrl??r?.token.svgUrl,ticker:o?.token.ticker??r?.token.ticker,titleText:o?.titleText??r?.titleText,valueDecimal:u.valueDecimal,valueInteger:u.valueInteger},b=(0,m.getShardText)(e.receiverShard),I=(0,m.getShardText)(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:T??"",description:`${T??e.receiver} (${e.receiver})`,isContract:(0,k.isContract)(e.receiver),isTokenLocked:!!w,link:e.links.receiverLink??"",shard:b,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!==d.TransactionDirectionEnum.IN},sender:{address:e.sender,name:p??"",description:`${p??e.sender} (${e.sender})`,isContract:(0,k.isContract)(e.sender),isTokenLocked:!!S,link:e.links.senderLink??"",shard:I,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!==d.TransactionDirectionEnum.OUT},value:E}}))}}0&&(module.exports={TransactionsTableController});
|
|
1
|
+
"use strict";var l=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var F=(t,n)=>{for(var a in n)l(t,a,{get:n[a],enumerable:!0})},P=(t,n,a,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of V(n))!C.call(t,i)&&i!==a&&l(t,i,{get:()=>n[i],enumerable:!(s=R(n,i))||s.enumerable});return t};var B=t=>P(l({},"__esModule",{value:!0}),t);var M={};F(M,{TransactionsTableController:()=>N});module.exports=B(M);var g=require("../../lib/sdkDappUtils"),d=require("../../types/serverTransactions.types"),v=require("../../types/tokens.types"),L=require("../../utils/transactions/getExplorerLink"),f=require("../../utils/transactions/getInterpretedTransaction/getInterpretedTransaction"),h=require("../../utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue"),D=require("../../utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName"),m=require("../../utils/transactions/getInterpretedTransaction/helpers/getShardText"),k=require("../../utils/validation/isContract"),x=require("../FormatAmountController");class N{static async processTransactions({address:n,egldLabel:a,explorerAddress:s,transactions:i}){const y=i.map(e=>(0,f.getInterpretedTransaction)({address:n,explorerAddress:s,transaction:e}));return await Promise.all(y.map(async e=>{const T=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),p=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:S,receiverLockedAccount:w}=await(0,D.getLockedAccountName)({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:c,tokenValueData:o,nftValueData:r}=(0,h.getTransactionValue)({transaction:e}),A=r?.token.type===v.NftEnumType.MetaESDT?void 0:r?.badgeText,u=x.FormatAmountController.getData({input:c?.value??o?.value??r?.value??"",decimals:c?.decimals??o?.decimals??r?.decimals??g.DECIMALS,digits:2}),E={badge:A??void 0,collection:o?.token.collection??r?.token.collection,egldLabel:c?a:"",link:(0,L.getExplorerLink)({explorerAddress:s,to:o?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:o?.tokenLinkText??r?.tokenLinkText,name:o?.token.name??r?.token.name,showFormattedAmount:!!(c||o?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:o?.token.svgUrl??r?.token.svgUrl,ticker:o?.token.ticker??r?.token.ticker,titleText:o?.titleText??r?.titleText,valueDecimal:u.valueDecimal,valueInteger:u.valueInteger},b=(0,m.getShardText)(e.receiverShard),I=(0,m.getShardText)(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:T??"",description:`${T??e.receiver} (${e.receiver})`,isContract:(0,k.isContract)(e.receiver),isTokenLocked:!!w,link:e.links.receiverLink??"",shard:b,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!==d.TransactionDirectionEnum.IN},sender:{address:e.sender,name:p??"",description:`${p??e.sender} (${e.sender})`,isContract:(0,k.isContract)(e.sender),isTokenLocked:!!S,link:e.links.senderLink??"",shard:I,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!==d.TransactionDirectionEnum.OUT},value:E}}))}}0&&(module.exports={TransactionsTableController});
|
|
2
2
|
//# sourceMappingURL=TransactionsTableController.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ServerTransactionType } from '../../types/serverTransactions.types';
|
|
2
|
+
import { TransactionsRowType } from './transactionsTableController.types';
|
|
3
|
+
interface TransactionsTableProcessTransactionsParamsType {
|
|
4
|
+
address: string;
|
|
5
|
+
egldLabel: string;
|
|
6
|
+
explorerAddress: string;
|
|
7
|
+
transactions: ServerTransactionType[];
|
|
8
|
+
}
|
|
9
|
+
export declare class TransactionsTableController {
|
|
10
|
+
static processTransactions({ address, egldLabel, explorerAddress, transactions }: TransactionsTableProcessTransactionsParamsType): Promise<TransactionsRowType[]>;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-CVW52D7K.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-U3UMCTU6.mjs";import"../../__chunks__/chunk-YDH26OGG.mjs";import"../../__chunks__/chunk-AIBBSVXP.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-VSOHM56Y.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-LLVSK2AG.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-YDR33UBM.mjs";export{a as TransactionsTableController};
|
|
2
2
|
//# sourceMappingURL=TransactionsTableController.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TransactionsTableController';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as o}from"../../__chunks__/chunk-CVW52D7K.mjs";import"../../__chunks__/chunk-2IEOAR7H.mjs";import"../../__chunks__/chunk-U3UMCTU6.mjs";import"../../__chunks__/chunk-YDH26OGG.mjs";import"../../__chunks__/chunk-AIBBSVXP.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-VSOHM56Y.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-LLVSK2AG.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-YDR33UBM.mjs";export{o as TransactionsTableController};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TransactionAgeType, TransactionIconInfoType, TransactionMethodType } from '../../types/serverTransactions.types';
|
|
2
|
+
export type TransactionsRowType = {
|
|
3
|
+
age: TransactionAgeType;
|
|
4
|
+
direction?: string;
|
|
5
|
+
method: TransactionMethodType;
|
|
6
|
+
iconInfo: TransactionIconInfoType;
|
|
7
|
+
link: string;
|
|
8
|
+
receiver: TransactionAccountType;
|
|
9
|
+
sender: TransactionAccountType;
|
|
10
|
+
txHash: string;
|
|
11
|
+
value: TransactionValueType;
|
|
12
|
+
};
|
|
13
|
+
type TransactionAccountType = {
|
|
14
|
+
address: string;
|
|
15
|
+
description: string;
|
|
16
|
+
isContract: boolean;
|
|
17
|
+
isTokenLocked: boolean;
|
|
18
|
+
link: string;
|
|
19
|
+
name: string;
|
|
20
|
+
shard?: string;
|
|
21
|
+
shardLink?: string;
|
|
22
|
+
showLink: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type TransactionValueType = {
|
|
25
|
+
badge?: string;
|
|
26
|
+
collection?: string;
|
|
27
|
+
egldLabel: string;
|
|
28
|
+
link?: string;
|
|
29
|
+
linkText?: string;
|
|
30
|
+
name?: string;
|
|
31
|
+
showFormattedAmount?: boolean;
|
|
32
|
+
svgUrl?: string;
|
|
33
|
+
ticker?: string;
|
|
34
|
+
titleText?: string;
|
|
35
|
+
valueDecimal: string;
|
|
36
|
+
valueInteger: string;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { IPlainTransactionObject } from '@multiversx/sdk-core/out/core/interfaces';
|
|
2
|
+
export { AddressComputer } from '@multiversx/sdk-core/out/core/address';
|
|
3
|
+
export { TransactionVersion, TransactionOptions } from '@multiversx/sdk-core/out/core/networkParams';
|
|
4
|
+
export { Transaction } from '@multiversx/sdk-core/out/core/transaction';
|
|
5
|
+
export { TransactionComputer } from '@multiversx/sdk-core/out/core/transactionComputer';
|
|
6
|
+
export { Address } from '@multiversx/sdk-core/out/core/address';
|
|
7
|
+
export { Message, MessageComputer } from '@multiversx/sdk-core/out/core/message';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MvxLedgerConnect } from '@multiversx/sdk-dapp-ui/web-components/mvx-ledger-connect';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type { MvxSignTransactionsPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-sign-transactions-panel';
|
|
2
|
+
export type { MvxWalletConnect } from '@multiversx/sdk-dapp-ui/web-components/mvx-wallet-connect';
|
|
3
|
+
export type { MvxPendingTransactionsPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-pending-transactions-panel';
|
|
4
|
+
export type { MvxNotificationsFeed } from '@multiversx/sdk-dapp-ui/web-components/mvx-notifications-feed';
|
|
5
|
+
export type { MvxToastList } from '@multiversx/sdk-dapp-ui/web-components/mvx-toast-list';
|
|
6
|
+
export type { MvxUnlockPanel } from '@multiversx/sdk-dapp-ui/web-components/mvx-unlock-panel';
|
|
7
|
+
export type { IEventBus } from '@multiversx/sdk-dapp-ui/types/utils/EventBus';
|
|
8
|
+
export type { ITransactionListItem, ITransactionListItemAsset, ITransactionListItemAction } from '@multiversx/sdk-dapp-ui/types/components/visual/transaction-list-item/transaction-list-item.types';
|
|
9
|
+
export declare function defineCustomElements(opts?: any): Promise<void>;
|
package/out/lib/sdkDappUi.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../__chunks__/chunk-
|
|
1
|
+
import{a}from"../__chunks__/chunk-RNK62S6X.mjs";import"../__chunks__/chunk-YDR33UBM.mjs";export{a as defineCustomElements};
|
|
2
2
|
//# sourceMappingURL=sdkDappUi.mjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DIGITS, ZERO, DECIMALS } from '@multiversx/sdk-dapp-utils/out/constants';
|
|
2
|
+
export { stringIsInteger } from '@multiversx/sdk-dapp-utils/out/helpers/stringIsInteger';
|
|
3
|
+
export { stringIsFloat } from '@multiversx/sdk-dapp-utils/out/helpers/stringIsFloat';
|
|
4
|
+
export { formatAmount, type FormatAmountPropsType } from '@multiversx/sdk-dapp-utils/out/helpers/formatAmount';
|
|
5
|
+
export { recommendGasPrice } from '@multiversx/sdk-dapp-utils/out/helpers/recommendGasPrice';
|
|
6
|
+
export type { IDAppProviderOptions, IDAppProviderAccount } from '@multiversx/sdk-dapp-utils/out/models/dappProviderBase';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CrossWindowProvider } from '@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider';
|
|
2
|
+
export { WindowProviderRequestEnums, WindowProviderResponseEnums } from '@multiversx/sdk-web-wallet-cross-window-provider/out/enums';
|
|
3
|
+
export type { RequestMessageType, RequestPayloadType } from '@multiversx/sdk-web-wallet-cross-window-provider/out/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IframeProvider } from '@multiversx/sdk-web-wallet-iframe-provider/out';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { isMobileWebview } from '@multiversx/sdk-webview-provider/out/helpers/isMobileWebview';
|
|
@@ -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("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});
|
|
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
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class LogoutManager {
|
|
2
|
+
private static instance;
|
|
3
|
+
private store;
|
|
4
|
+
private warningLogoutTimeoutRef;
|
|
5
|
+
private actualLogoutTimeoutRef;
|
|
6
|
+
private plannedLogoutTimeoutRef;
|
|
7
|
+
private plannedLogoutKey;
|
|
8
|
+
static getInstance(): LogoutManager;
|
|
9
|
+
private constructor();
|
|
10
|
+
init: () => Promise<void>;
|
|
11
|
+
stop: () => void;
|
|
12
|
+
private readonly shouldStart;
|
|
13
|
+
private addPlannedLogout;
|
|
14
|
+
private readonly addLogoutWarning;
|
|
15
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-YHON33YS.mjs";import"../../__chunks__/chunk-YKYYWL4B.mjs";import"../../__chunks__/chunk-GOUIWTTC.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-AQIZZ6YU.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-MFGDF3HI.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-QWBFB3BL.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-AU2YBHNW.mjs";import"../../__chunks__/chunk-S72I2KYP.mjs";import"../../__chunks__/chunk-GJSAN3GO.mjs";import"../../__chunks__/chunk-YXKQJKZV.mjs";import"../../__chunks__/chunk-DDRH6O3X.mjs";import"../../__chunks__/chunk-UDWPAR25.mjs";import"../../__chunks__/chunk-TWYGNEQS.mjs";import"../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../__chunks__/chunk-2VG3V3VD.mjs";import"../../__chunks__/chunk-YAVOCSOD.mjs";import"../../__chunks__/chunk-ABBDCZHP.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-V6HSYMMG.mjs";import"../../__chunks__/chunk-JAXSTKEJ.mjs";import"../../__chunks__/chunk-LXSGLYGV.mjs";import"../../__chunks__/chunk-6MBRTWME.mjs";import"../../__chunks__/chunk-QRPH4JCL.mjs";import"../../__chunks__/chunk-QNXBITGY.mjs";import"../../__chunks__/chunk-LYUGR2FR.mjs";import"../../__chunks__/chunk-G2WU3X6R.mjs";import"../../__chunks__/chunk-SWIPPQAS.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-BI2PJ5FS.mjs";import"../../__chunks__/chunk-RFGBMNFA.mjs";import"../../__chunks__/chunk-DDS3DY4B.mjs";import"../../__chunks__/chunk-QDUNEKJW.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-RVW6Z4XY.mjs";import"../../__chunks__/chunk-LJ5RLWEK.mjs";import"../../__chunks__/chunk-3VPAVTVL.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-TIX7PAYC.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-DKBOH236.mjs";import"../../__chunks__/chunk-GP6W6RR7.mjs";import"../../__chunks__/chunk-YTKDRPWM.mjs";import"../../__chunks__/chunk-IWP36NOU.mjs";import"../../__chunks__/chunk-LGGG3HW7.mjs";import"../../__chunks__/chunk-SML7WOGP.mjs";import"../../__chunks__/chunk-FLFZN2T6.mjs";import"../../__chunks__/chunk-XXV6KGR4.mjs";import"../../__chunks__/chunk-V5ZSFCKJ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-XELB2AVG.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-UUFVP7SB.mjs";import"../../__chunks__/chunk-BSA3IGL6.mjs";import"../../__chunks__/chunk-LT4RXTTQ.mjs";import"../../__chunks__/chunk-L6SBIHCZ.mjs";import"../../__chunks__/chunk-OBIQ63DJ.mjs";import"../../__chunks__/chunk-NWRCQLFI.mjs";import"../../__chunks__/chunk-HSF3JATH.mjs";import"../../__chunks__/chunk-365NUVE7.mjs";import"../../__chunks__/chunk-HY5I67W7.mjs";import"../../__chunks__/chunk-HPY6UNFO.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-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-5NRAQWO4.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as LogoutManager};
|
|
2
2
|
//# sourceMappingURL=LogoutManager.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHumanReadableTokenExpirationTime: (milliseconds: number) => string;
|
|
@@ -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("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});
|
|
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
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ITransactionListItem, MvxNotificationsFeed } from '../../lib/sdkDappUi';
|
|
2
|
+
import { getStore } from '../../store/store';
|
|
3
|
+
import { NotificationsFeedEventsEnum } from './types';
|
|
4
|
+
import { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';
|
|
5
|
+
import { ITransactionToast } from '../ToastManager/types';
|
|
6
|
+
interface INotificationsFeedManagerData {
|
|
7
|
+
pendingTransactions: ITransactionToast[];
|
|
8
|
+
historicTransactions: ITransactionListItem[];
|
|
9
|
+
}
|
|
10
|
+
declare const NOTIFICATIONS_FEED_STORE_SUBSCRIBE = "NOTIFICATIONS_FEED_STORE_SUBSCRIBE";
|
|
11
|
+
export declare class NotificationsFeedManager extends SidePanelBaseManager<MvxNotificationsFeed, INotificationsFeedManagerData, NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE> {
|
|
12
|
+
private static instance;
|
|
13
|
+
private readonly store;
|
|
14
|
+
protected initialData: INotificationsFeedManagerData;
|
|
15
|
+
static getInstance(): NotificationsFeedManager;
|
|
16
|
+
constructor(store?: ReturnType<typeof getStore>);
|
|
17
|
+
isNotificationsFeedOpen(): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Open the notifications feed and toggle off the toast manager.
|
|
20
|
+
*/
|
|
21
|
+
openNotificationsFeed(): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Close the notifications feed and toggle on the toast manager.
|
|
24
|
+
*/
|
|
25
|
+
protected handleCloseUI(): Promise<void>;
|
|
26
|
+
protected setupEventListeners(): Promise<void>;
|
|
27
|
+
protected updateDataAndNotifications(): Promise<void>;
|
|
28
|
+
private handleClearNotificationsFeedHistory;
|
|
29
|
+
private updateNotificationsFeed;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-AQIZZ6YU.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-MFGDF3HI.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-QWBFB3BL.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-QDUNEKJW.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-RVW6Z4XY.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-DKBOH236.mjs";import"../../__chunks__/chunk-SML7WOGP.mjs";import"../../__chunks__/chunk-FLFZN2T6.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-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-5NRAQWO4.mjs";import"../../__chunks__/chunk-YDR33UBM.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-AQIZZ6YU.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-MFGDF3HI.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-QWBFB3BL.mjs";import{a as o}from"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-QDUNEKJW.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-RVW6Z4XY.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-DKBOH236.mjs";import"../../__chunks__/chunk-SML7WOGP.mjs";import"../../__chunks__/chunk-FLFZN2T6.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-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-5NRAQWO4.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{o as NotificationsFeedEventsEnum,r as NotificationsFeedManager};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './notifications.types';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare enum NotificationsFeedEventsEnum {
|
|
2
|
+
CLOSE = "CLOSE_NOTIFICATIONS_FEED",
|
|
3
|
+
CLEAR = "CLEAR_NOTIFICATIONS_FEED_HISTORY",
|
|
4
|
+
OPEN = "OPEN_NOTIFICATIONS_FEED",
|
|
5
|
+
PENDING_TRANSACTIONS_UPDATE = "PENDING_TRANSACTIONS_UPDATE",
|
|
6
|
+
TRANSACTIONS_HISTORY_UPDATE = "TRANSACTIONS_HISTORY_UPDATE"
|
|
7
|
+
}
|
|
@@ -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("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});
|
|
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
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CustomToastType } from '../../store/slices/toast/toastSlice.types';
|
|
2
|
+
import { getStore } from '../../store/store';
|
|
3
|
+
import { LifetimeManager } from './helpers/LifetimeManager';
|
|
4
|
+
import { ToastUICoordinator } from './ToastUICoordinator';
|
|
5
|
+
interface IToastManager {
|
|
6
|
+
successfulToastLifetime?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class ToastManager {
|
|
9
|
+
private readonly lifetimeManager;
|
|
10
|
+
private store;
|
|
11
|
+
private static instance;
|
|
12
|
+
private transactionToasts;
|
|
13
|
+
private customToasts;
|
|
14
|
+
private successfulToastLifetime?;
|
|
15
|
+
private unsubscribeFromStore;
|
|
16
|
+
private uiCoordinator;
|
|
17
|
+
constructor(props?: {
|
|
18
|
+
store?: ReturnType<typeof getStore>;
|
|
19
|
+
lifetimeManager?: LifetimeManager;
|
|
20
|
+
uiCoordinator?: ToastUICoordinator;
|
|
21
|
+
});
|
|
22
|
+
init({ successfulToastLifetime }?: IToastManager): Promise<void>;
|
|
23
|
+
static getInstance(): ToastManager;
|
|
24
|
+
private handleCompletedTransaction;
|
|
25
|
+
createTransactionToast(toastId: string, totalDuration: number): Promise<string>;
|
|
26
|
+
createCustomToast(toast: CustomToastType): Promise<string>;
|
|
27
|
+
private updateTransactionToastsList;
|
|
28
|
+
private updateCustomToastList;
|
|
29
|
+
private handleTransactionToastClose;
|
|
30
|
+
showToasts(): Promise<void>;
|
|
31
|
+
hideToasts(): void;
|
|
32
|
+
closeToast(toastId: string): boolean;
|
|
33
|
+
private publishTransactionToasts;
|
|
34
|
+
destroy(): void;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as a}from"../../__chunks__/chunk-
|
|
1
|
+
import{c as a}from"../../__chunks__/chunk-AQIZZ6YU.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-VA7KLP35.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-MFGDF3HI.mjs";import"../../__chunks__/chunk-QFXS7HGL.mjs";import"../../__chunks__/chunk-W3S6I34V.mjs";import"../../__chunks__/chunk-DCLI63KS.mjs";import"../../__chunks__/chunk-QWBFB3BL.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-PKD3AEXI.mjs";import"../../__chunks__/chunk-CLUVDWX6.mjs";import"../../__chunks__/chunk-QDUNEKJW.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-RVW6Z4XY.mjs";import"../../__chunks__/chunk-E2GGD7D4.mjs";import"../../__chunks__/chunk-DKBOH236.mjs";import"../../__chunks__/chunk-SML7WOGP.mjs";import"../../__chunks__/chunk-FLFZN2T6.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-C23VOAOY.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-L7HC5J53.mjs";import"../../__chunks__/chunk-TWDQUDRP.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-22F6NHUW.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-VSOHM56Y.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-LLVSK2AG.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-5NRAQWO4.mjs";import"../../__chunks__/chunk-YDR33UBM.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("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});
|
|
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
|