@multiversx/sdk-dapp 5.2.4 → 5.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/{chunk-DVPFOACI.mjs → chunk-2K2QZVBC.mjs} +2 -2
- package/out/__chunks__/{chunk-TZDM7KH7.mjs → chunk-2NF5HX3H.mjs} +2 -2
- package/out/__chunks__/chunk-2TCIBFJT.mjs +2 -0
- package/out/__chunks__/chunk-2TCIBFJT.mjs.map +7 -0
- package/out/__chunks__/{chunk-VTNFUJCE.mjs → chunk-2VRRMEOY.mjs} +2 -2
- package/out/__chunks__/{chunk-7ZUH3TQ2.mjs → chunk-2Y66XRQK.mjs} +2 -2
- package/out/__chunks__/{chunk-E5H5BPFX.mjs → chunk-3OEO7IVT.mjs} +2 -2
- package/out/__chunks__/{chunk-LGAWIVRO.mjs → chunk-3QWTD55I.mjs} +2 -2
- package/out/__chunks__/chunk-4B3YTXMB.mjs +2 -0
- package/out/__chunks__/chunk-4B3YTXMB.mjs.map +7 -0
- package/out/__chunks__/chunk-4MWQKLVG.mjs +2 -0
- package/out/__chunks__/chunk-4MWQKLVG.mjs.map +7 -0
- package/out/__chunks__/{chunk-KWUIUJYQ.mjs → chunk-4QPWKBSQ.mjs} +2 -2
- package/out/__chunks__/{chunk-OOVV574D.mjs → chunk-4VA2SULD.mjs} +2 -2
- package/out/__chunks__/{chunk-HDRB2QL6.mjs → chunk-4VUMAG4J.mjs} +2 -2
- package/out/__chunks__/{chunk-DSVSX4ZT.mjs → chunk-5DILKRFV.mjs} +2 -2
- package/out/__chunks__/{chunk-6DWUEZO7.mjs → chunk-5KVNYLOM.mjs} +2 -2
- package/out/__chunks__/{chunk-KTOQBOOK.mjs → chunk-5O725H7M.mjs} +2 -2
- package/out/__chunks__/{chunk-52PGMMOM.mjs → chunk-5OMQOYP7.mjs} +2 -2
- package/out/__chunks__/chunk-5WVYRVED.mjs +2 -0
- package/out/__chunks__/chunk-5WVYRVED.mjs.map +7 -0
- package/out/__chunks__/{chunk-NOLOZJ37.mjs → chunk-67JAXZGA.mjs} +2 -2
- package/out/__chunks__/{chunk-HYHCFQ2X.mjs → chunk-6CUDZR72.mjs} +2 -2
- package/out/__chunks__/chunk-6LOIZTC6.mjs +2 -0
- package/out/__chunks__/chunk-6LOIZTC6.mjs.map +7 -0
- package/out/__chunks__/{chunk-PRIEU2AB.mjs → chunk-6ME6A43J.mjs} +2 -2
- package/out/__chunks__/chunk-6OIZTWJQ.mjs +2 -0
- package/out/__chunks__/chunk-6R2WFQ7U.mjs +2 -0
- package/out/__chunks__/{chunk-ZVIKYGX5.mjs.map → chunk-6R2WFQ7U.mjs.map} +3 -3
- package/out/__chunks__/{chunk-HMHP5DPL.mjs → chunk-6UMOECOW.mjs} +1 -1
- package/out/__chunks__/chunk-6UMOECOW.mjs.map +7 -0
- package/out/__chunks__/{chunk-SLOQOCEU.mjs → chunk-72VXBZOB.mjs} +2 -2
- package/out/__chunks__/{chunk-SRY5QN4N.mjs → chunk-74JXPSSX.mjs} +2 -2
- package/out/__chunks__/{chunk-IOTN5P72.mjs → chunk-775THAIS.mjs} +2 -2
- package/out/__chunks__/chunk-7C3DDRSK.mjs +2 -0
- package/out/__chunks__/chunk-7C3DDRSK.mjs.map +7 -0
- package/out/__chunks__/chunk-7GZRWUJQ.mjs +2 -0
- package/out/__chunks__/{chunk-3YSWYYBW.mjs → chunk-7QYO4UOP.mjs} +2 -2
- package/out/__chunks__/chunk-7UJCMFKV.mjs +2 -0
- package/out/__chunks__/chunk-7VHTZYM2.mjs +2 -0
- package/out/__chunks__/chunk-7VHTZYM2.mjs.map +7 -0
- package/out/__chunks__/{chunk-7ORWWRDO.mjs → chunk-7XASUTI2.mjs} +2 -2
- package/out/__chunks__/{chunk-ULL2LOGL.mjs → chunk-ANIJIRAY.mjs} +2 -2
- package/out/__chunks__/{chunk-OXYCJJ2S.mjs → chunk-BCODBYYR.mjs} +2 -2
- package/out/__chunks__/chunk-BMSWZIEX.mjs +2 -0
- package/out/__chunks__/{chunk-GB2K574L.mjs → chunk-CLUVDWX6.mjs} +2 -2
- package/out/__chunks__/chunk-CLUVDWX6.mjs.map +7 -0
- package/out/__chunks__/{chunk-RLHETJG2.mjs → chunk-CMJSKAR5.mjs} +2 -2
- package/out/__chunks__/{chunk-SMFNVU6B.mjs → chunk-CO23VS2O.mjs} +2 -2
- package/out/__chunks__/chunk-CUMJOJXJ.mjs +2 -0
- package/out/__chunks__/{chunk-O4E4JGDU.mjs.map → chunk-CUMJOJXJ.mjs.map} +3 -3
- package/out/__chunks__/chunk-DLCBEPEX.mjs +2 -0
- package/out/__chunks__/chunk-DLCBEPEX.mjs.map +7 -0
- package/out/__chunks__/chunk-DMF2DF5I.mjs +2 -0
- package/out/__chunks__/chunk-DOBSLHLX.mjs +2 -0
- package/out/__chunks__/{chunk-Q5Z34JFU.mjs → chunk-DRYIE3UL.mjs} +2 -2
- package/out/__chunks__/chunk-E2GGD7D4.mjs +2 -0
- package/out/__chunks__/chunk-E2GGD7D4.mjs.map +7 -0
- package/out/__chunks__/{chunk-XCVEFI4B.mjs → chunk-EAXWH64Z.mjs} +2 -2
- package/out/__chunks__/{chunk-BQX7MJR6.mjs → chunk-ELQR4QMU.mjs} +2 -2
- package/out/__chunks__/{chunk-I3KT7K7E.mjs → chunk-ET5L4CEA.mjs} +2 -2
- package/out/__chunks__/chunk-EUBOWXIH.mjs +2 -0
- package/out/__chunks__/chunk-EZKCZPIE.mjs +2 -0
- package/out/__chunks__/chunk-EZKCZPIE.mjs.map +7 -0
- package/out/__chunks__/chunk-FE5FK7I6.mjs +2 -0
- package/out/__chunks__/{chunk-GLWYAOLR.mjs → chunk-FULNMU6J.mjs} +2 -2
- package/out/__chunks__/chunk-G7GU37XI.mjs +2 -0
- package/out/__chunks__/{chunk-Z4KZH4G3.mjs → chunk-GMP2DZ26.mjs} +2 -2
- package/out/__chunks__/{chunk-EAH7XGM3.mjs → chunk-GUAXMODN.mjs} +2 -2
- package/out/__chunks__/chunk-HAPHEGVZ.mjs +2 -0
- package/out/__chunks__/{chunk-ZG5S2DYH.mjs → chunk-HOBCDZ2D.mjs} +2 -2
- package/out/__chunks__/chunk-HZGRS7HG.mjs +2 -0
- package/out/__chunks__/chunk-IE4SA26O.mjs +2 -0
- package/out/__chunks__/chunk-IHU6TBZQ.mjs +2 -0
- package/out/__chunks__/{chunk-HX3GPSEV.mjs → chunk-JDLVFGXF.mjs} +2 -2
- package/out/__chunks__/{chunk-DCYZQKT5.mjs → chunk-JDTTHSQL.mjs} +2 -2
- package/out/__chunks__/{chunk-UNBTFF6K.mjs → chunk-JSSRK6RP.mjs} +2 -2
- package/out/__chunks__/chunk-JTV664SG.mjs +2 -0
- package/out/__chunks__/chunk-JTV664SG.mjs.map +7 -0
- package/out/__chunks__/{chunk-PZHQ37I6.mjs → chunk-K373M2BG.mjs} +2 -2
- package/out/__chunks__/chunk-K3VVHPG3.mjs +2 -0
- package/out/__chunks__/{chunk-QFYMQSDX.mjs → chunk-KHBRO4FY.mjs} +2 -2
- package/out/__chunks__/chunk-LJX4MW7B.mjs +2 -0
- package/out/__chunks__/chunk-LJX4MW7B.mjs.map +7 -0
- package/out/__chunks__/chunk-M2KI5WFN.mjs +2 -0
- package/out/__chunks__/chunk-M2KI5WFN.mjs.map +7 -0
- package/out/__chunks__/{chunk-2IUBMLF4.mjs → chunk-M6MN4RXG.mjs} +1 -1
- package/out/__chunks__/{chunk-2IUBMLF4.mjs.map → chunk-M6MN4RXG.mjs.map} +2 -2
- package/out/__chunks__/{chunk-7AAHDJYY.mjs → chunk-MBBXTAA3.mjs} +2 -2
- package/out/__chunks__/{chunk-GULZHAFR.mjs → chunk-MXNCPIER.mjs} +2 -2
- package/out/__chunks__/{chunk-L3MWDI6J.mjs → chunk-N55JEIM6.mjs} +2 -2
- package/out/__chunks__/chunk-NGM3AVCY.mjs +2 -0
- package/out/__chunks__/chunk-NGM3AVCY.mjs.map +7 -0
- package/out/__chunks__/{chunk-BHAHZQVO.mjs → chunk-NTPPBM7T.mjs} +2 -2
- package/out/__chunks__/{chunk-WWV3ASWP.mjs → chunk-O3YM7WCC.mjs} +2 -2
- package/out/__chunks__/{chunk-WTHOSLUO.mjs → chunk-O7KFAU3B.mjs} +2 -2
- package/out/__chunks__/{chunk-TTSG76TF.mjs → chunk-OD6C4XKP.mjs} +2 -2
- package/out/__chunks__/chunk-OLPFN3HZ.mjs +2 -0
- package/out/__chunks__/{chunk-E5T25VDS.mjs → chunk-OU5Y3UTY.mjs} +2 -2
- package/out/__chunks__/chunk-OVBYKKMB.mjs +2 -0
- package/out/__chunks__/chunk-OVBYKKMB.mjs.map +7 -0
- package/out/__chunks__/{chunk-5UBTVBPC.mjs → chunk-OXC2IURR.mjs} +2 -2
- package/out/__chunks__/chunk-OYQAXY6H.mjs +2 -0
- package/out/__chunks__/chunk-PDKESLKC.mjs +2 -0
- package/out/__chunks__/chunk-PKDR5ERF.mjs +2 -0
- package/out/__chunks__/chunk-PKDR5ERF.mjs.map +7 -0
- package/out/__chunks__/{chunk-UAPKL5IP.mjs → chunk-PT2OF4QJ.mjs} +2 -2
- package/out/__chunks__/chunk-Q4OG6NMJ.mjs +2 -0
- package/out/__chunks__/{chunk-6NK63AU5.mjs.map → chunk-Q4OG6NMJ.mjs.map} +1 -1
- package/out/__chunks__/{chunk-T7LCG3ZL.mjs → chunk-QJZ5YIXI.mjs} +2 -2
- package/out/__chunks__/{chunk-6FKT2TIN.mjs → chunk-R3U4ONSV.mjs} +2 -2
- package/out/__chunks__/{chunk-D6TVFZA6.mjs → chunk-RCNZOLEM.mjs} +2 -2
- package/out/__chunks__/{chunk-RBSHB26S.mjs → chunk-RL2G66LY.mjs} +2 -2
- package/out/__chunks__/chunk-SKNUG6M5.mjs +2 -0
- package/out/__chunks__/{chunk-PGGS4CPP.mjs → chunk-SUHXBGYR.mjs} +2 -2
- package/out/__chunks__/{chunk-W3WUNRIB.mjs → chunk-SV4C4UPN.mjs} +2 -2
- package/out/__chunks__/{chunk-RS5NVDUR.mjs → chunk-SWZ5LDC3.mjs} +2 -2
- package/out/__chunks__/{chunk-OEPTRJEB.mjs → chunk-TCDMXBPB.mjs} +1 -1
- package/out/__chunks__/{chunk-OEPTRJEB.mjs.map → chunk-TCDMXBPB.mjs.map} +2 -2
- package/out/__chunks__/chunk-TFCXKUX5.mjs +2 -0
- package/out/__chunks__/{chunk-QXU7U2E2.mjs → chunk-TFDVHULP.mjs} +2 -2
- package/out/__chunks__/{chunk-DMLHCYO2.mjs → chunk-TQIB47S6.mjs} +2 -2
- package/out/__chunks__/chunk-U2IPYFJX.mjs +2 -0
- package/out/__chunks__/chunk-U2IPYFJX.mjs.map +7 -0
- package/out/__chunks__/{chunk-AJC3F2YT.mjs → chunk-U3MIDVR7.mjs} +2 -2
- package/out/__chunks__/chunk-U54BL4SU.mjs +2 -0
- package/out/__chunks__/{chunk-Q2J2GZXF.mjs.map → chunk-U54BL4SU.mjs.map} +2 -2
- package/out/__chunks__/{chunk-MMY7MLSC.mjs → chunk-UCCJLDG6.mjs} +2 -2
- package/out/__chunks__/{chunk-S6NHNEQK.mjs → chunk-UCRVRBTA.mjs} +2 -2
- package/out/__chunks__/chunk-UZTMRUVT.mjs +2 -0
- package/out/__chunks__/chunk-UZTMRUVT.mjs.map +7 -0
- package/out/__chunks__/{chunk-AXUYY4T7.mjs → chunk-VJGOUAZ2.mjs} +2 -2
- package/out/__chunks__/{chunk-BX2RQZG2.mjs → chunk-VQULIVGX.mjs} +2 -2
- package/out/__chunks__/chunk-VRLS225Q.mjs +2 -0
- package/out/__chunks__/{chunk-DDCSKHZU.mjs → chunk-VVZ2I6CL.mjs} +2 -2
- package/out/__chunks__/chunk-W37M2LIA.mjs +2 -0
- package/out/__chunks__/{chunk-LV5G3A3I.mjs → chunk-WK4PPAAJ.mjs} +2 -2
- package/out/__chunks__/chunk-WQZKREPI.mjs +2 -0
- package/out/__chunks__/{chunk-F2HEHTHJ.mjs → chunk-XA3AGZCX.mjs} +2 -2
- package/out/__chunks__/{chunk-NTTKKJIS.mjs → chunk-XHM77HFZ.mjs} +2 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +2 -0
- package/out/__chunks__/chunk-XXV6KGR4.mjs +2 -0
- package/out/__chunks__/chunk-XXV6KGR4.mjs.map +7 -0
- package/out/__chunks__/{chunk-QAZET2LQ.mjs → chunk-YHNOFYGM.mjs} +2 -2
- package/out/__chunks__/chunk-YSPLCVKY.mjs +2 -0
- package/out/__chunks__/chunk-YSPLCVKY.mjs.map +7 -0
- package/out/__chunks__/{chunk-UPBPNO3G.mjs → chunk-YTIAXTQR.mjs} +2 -2
- package/out/__chunks__/{chunk-KBKZR473.mjs → chunk-YX7TMA3N.mjs} +2 -2
- package/out/__chunks__/{chunk-ENQBQ3K2.mjs → chunk-Z5AFLXOE.mjs} +2 -2
- package/out/__chunks__/{chunk-IMB7RORC.mjs → chunk-ZDJN4F3W.mjs} +2 -2
- package/out/__chunks__/{chunk-N342XMFH.mjs → chunk-ZRSYQ3MT.mjs} +2 -2
- package/out/__chunks__/{chunk-2GG67TZD.mjs → chunk-ZS4EBCWC.mjs} +2 -2
- package/out/__chunks__/{chunk-5FTIQVXR.mjs → chunk-ZTUC7FCA.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/index.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +4 -3
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +3 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/network.constants.cjs +3 -3
- package/out/constants/network.constants.cjs.map +1 -1
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/providerFactory.constants.cjs +4 -0
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.d.ts +1 -0
- package/out/constants/providerFactory.constants.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +3 -3
- package/out/constants/transactions.constants.cjs.map +1 -1
- package/out/constants/transactions.constants.d.ts +1 -1
- package/out/constants/transactions.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +5 -12
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +2 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.cjs +28 -102
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.d.ts +13 -31
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +126 -0
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +7 -0
- package/out/managers/ToastManager/ToastUICoordinator.d.ts +30 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs +2 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs.map +7 -0
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +12 -14
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +3 -7
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +2 -3
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/tests/mocks/cache.d.ts +14 -0
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +34 -0
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.mjs +1 -1
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.d.ts +2 -2
- package/out/managers/ToastManager/types/toast.types.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +18 -9
- package/out/providers/ProviderFactory.cjs.map +3 -3
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
- package/out/providers/helpers/emptyProvider.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +1 -0
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/providers/types/providerFactory.types.d.ts +1 -0
- package/out/providers/types/providerFactory.types.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionStateByStatus.d.ts +23 -24
- package/out/store/actions/transactions/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +1 -3
- package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/index.mjs +1 -1
- package/out/store/selectors/networkSelectors.cjs +9 -0
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.d.ts +3 -0
- package/out/store/selectors/networkSelectors.mjs +1 -1
- package/out/store/selectors/toastsSelectors.mjs +1 -1
- package/out/store/selectors/toastsSelectors.mjs.map +4 -4
- package/out/store/selectors/transactionsSelector.cjs +3 -3
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/types/serverTransactions.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.d.ts +1 -1
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.d.ts +1 -6
- package/out/types/transaction-list-item.types.mjs +1 -1
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/transactions.types.d.ts +4 -4
- package/out/types/transactions.types.mjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +2 -8
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +2 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +15 -9
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +3 -4
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +5 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +2 -4
- package/out/__chunks__/chunk-2A6ODBDO.mjs +0 -2
- package/out/__chunks__/chunk-2A6ODBDO.mjs.map +0 -7
- package/out/__chunks__/chunk-344SJWHZ.mjs +0 -2
- package/out/__chunks__/chunk-344SJWHZ.mjs.map +0 -7
- package/out/__chunks__/chunk-34D6F2ZD.mjs +0 -2
- package/out/__chunks__/chunk-3L7HZ2SO.mjs +0 -2
- package/out/__chunks__/chunk-3L7HZ2SO.mjs.map +0 -7
- package/out/__chunks__/chunk-3MW2H273.mjs +0 -2
- package/out/__chunks__/chunk-3MW2H273.mjs.map +0 -7
- package/out/__chunks__/chunk-3TYENBPS.mjs +0 -2
- package/out/__chunks__/chunk-5NEP4WM3.mjs +0 -2
- package/out/__chunks__/chunk-5NEP4WM3.mjs.map +0 -7
- package/out/__chunks__/chunk-5Z3MOBIC.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs.map +0 -7
- package/out/__chunks__/chunk-6NK63AU5.mjs +0 -2
- package/out/__chunks__/chunk-7AIQVQRI.mjs +0 -2
- package/out/__chunks__/chunk-7NJ4ME6K.mjs +0 -2
- package/out/__chunks__/chunk-ALXGPWX7.mjs +0 -2
- package/out/__chunks__/chunk-AWHIX3FQ.mjs +0 -2
- package/out/__chunks__/chunk-GB2K574L.mjs.map +0 -7
- package/out/__chunks__/chunk-HMHP5DPL.mjs.map +0 -7
- package/out/__chunks__/chunk-IQ6TLUA6.mjs +0 -2
- package/out/__chunks__/chunk-KWAUHAGX.mjs +0 -2
- package/out/__chunks__/chunk-MFUQ5NBC.mjs +0 -2
- package/out/__chunks__/chunk-NZYB675D.mjs +0 -2
- package/out/__chunks__/chunk-O2CA5SYO.mjs +0 -2
- package/out/__chunks__/chunk-O2CA5SYO.mjs.map +0 -7
- package/out/__chunks__/chunk-O4E4JGDU.mjs +0 -2
- package/out/__chunks__/chunk-O5IYHOPF.mjs +0 -2
- package/out/__chunks__/chunk-O5IYHOPF.mjs.map +0 -7
- package/out/__chunks__/chunk-PLMCHSS6.mjs +0 -2
- package/out/__chunks__/chunk-Q2J2GZXF.mjs +0 -2
- package/out/__chunks__/chunk-RYPO7VR2.mjs +0 -2
- package/out/__chunks__/chunk-RYPO7VR2.mjs.map +0 -7
- package/out/__chunks__/chunk-SAAOQW7P.mjs +0 -2
- package/out/__chunks__/chunk-SAAOQW7P.mjs.map +0 -7
- package/out/__chunks__/chunk-SKXGLO3R.mjs +0 -2
- package/out/__chunks__/chunk-T7CVBDC6.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs.map +0 -7
- package/out/__chunks__/chunk-TTNGTT4H.mjs +0 -2
- package/out/__chunks__/chunk-ULUZWP2P.mjs +0 -2
- package/out/__chunks__/chunk-ULUZWP2P.mjs.map +0 -7
- package/out/__chunks__/chunk-V6VNRFXC.mjs +0 -2
- package/out/__chunks__/chunk-WIHUEHY3.mjs +0 -2
- package/out/__chunks__/chunk-WJQVMI33.mjs +0 -2
- package/out/__chunks__/chunk-XU34NXIS.mjs +0 -2
- package/out/__chunks__/chunk-YAONXG5V.mjs +0 -2
- package/out/__chunks__/chunk-YAONXG5V.mjs.map +0 -7
- package/out/__chunks__/chunk-YGT2XHMA.mjs +0 -2
- package/out/__chunks__/chunk-YSF6K5W7.mjs +0 -2
- package/out/__chunks__/chunk-ZEUNADU7.mjs +0 -2
- package/out/__chunks__/chunk-ZMTIF2D2.mjs +0 -2
- package/out/__chunks__/chunk-ZONHCECO.mjs +0 -2
- package/out/__chunks__/chunk-ZONHCECO.mjs.map +0 -7
- package/out/__chunks__/chunk-ZVIKYGX5.mjs +0 -2
- /package/out/__chunks__/{chunk-DVPFOACI.mjs.map → chunk-2K2QZVBC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TZDM7KH7.mjs.map → chunk-2NF5HX3H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VTNFUJCE.mjs.map → chunk-2VRRMEOY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ZUH3TQ2.mjs.map → chunk-2Y66XRQK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E5H5BPFX.mjs.map → chunk-3OEO7IVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LGAWIVRO.mjs.map → chunk-3QWTD55I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWUIUJYQ.mjs.map → chunk-4QPWKBSQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OOVV574D.mjs.map → chunk-4VA2SULD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HDRB2QL6.mjs.map → chunk-4VUMAG4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DSVSX4ZT.mjs.map → chunk-5DILKRFV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6DWUEZO7.mjs.map → chunk-5KVNYLOM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KTOQBOOK.mjs.map → chunk-5O725H7M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-52PGMMOM.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NOLOZJ37.mjs.map → chunk-67JAXZGA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HYHCFQ2X.mjs.map → chunk-6CUDZR72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PRIEU2AB.mjs.map → chunk-6ME6A43J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALXGPWX7.mjs.map → chunk-6OIZTWJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SLOQOCEU.mjs.map → chunk-72VXBZOB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SRY5QN4N.mjs.map → chunk-74JXPSSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IOTN5P72.mjs.map → chunk-775THAIS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-34D6F2ZD.mjs.map → chunk-7GZRWUJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3YSWYYBW.mjs.map → chunk-7QYO4UOP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZMTIF2D2.mjs.map → chunk-7UJCMFKV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ORWWRDO.mjs.map → chunk-7XASUTI2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ULL2LOGL.mjs.map → chunk-ANIJIRAY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OXYCJJ2S.mjs.map → chunk-BCODBYYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T7CVBDC6.mjs.map → chunk-BMSWZIEX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RLHETJG2.mjs.map → chunk-CMJSKAR5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SMFNVU6B.mjs.map → chunk-CO23VS2O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V6VNRFXC.mjs.map → chunk-DMF2DF5I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YGT2XHMA.mjs.map → chunk-DOBSLHLX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q5Z34JFU.mjs.map → chunk-DRYIE3UL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XCVEFI4B.mjs.map → chunk-EAXWH64Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BQX7MJR6.mjs.map → chunk-ELQR4QMU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I3KT7K7E.mjs.map → chunk-ET5L4CEA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7NJ4ME6K.mjs.map → chunk-EUBOWXIH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TTNGTT4H.mjs.map → chunk-FE5FK7I6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GLWYAOLR.mjs.map → chunk-FULNMU6J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NZYB675D.mjs.map → chunk-G7GU37XI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z4KZH4G3.mjs.map → chunk-GMP2DZ26.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EAH7XGM3.mjs.map → chunk-GUAXMODN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKXGLO3R.mjs.map → chunk-HAPHEGVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZG5S2DYH.mjs.map → chunk-HOBCDZ2D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WJQVMI33.mjs.map → chunk-HZGRS7HG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWHIX3FQ.mjs.map → chunk-IE4SA26O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWAUHAGX.mjs.map → chunk-IHU6TBZQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HX3GPSEV.mjs.map → chunk-JDLVFGXF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DCYZQKT5.mjs.map → chunk-JDTTHSQL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UNBTFF6K.mjs.map → chunk-JSSRK6RP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PZHQ37I6.mjs.map → chunk-K373M2BG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WIHUEHY3.mjs.map → chunk-K3VVHPG3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QFYMQSDX.mjs.map → chunk-KHBRO4FY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7AAHDJYY.mjs.map → chunk-MBBXTAA3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GULZHAFR.mjs.map → chunk-MXNCPIER.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L3MWDI6J.mjs.map → chunk-N55JEIM6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BHAHZQVO.mjs.map → chunk-NTPPBM7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WWV3ASWP.mjs.map → chunk-O3YM7WCC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WTHOSLUO.mjs.map → chunk-O7KFAU3B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TTSG76TF.mjs.map → chunk-OD6C4XKP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PLMCHSS6.mjs.map → chunk-OLPFN3HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E5T25VDS.mjs.map → chunk-OU5Y3UTY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5UBTVBPC.mjs.map → chunk-OXC2IURR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5Z3MOBIC.mjs.map → chunk-OYQAXY6H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YSF6K5W7.mjs.map → chunk-PDKESLKC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UAPKL5IP.mjs.map → chunk-PT2OF4QJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T7LCG3ZL.mjs.map → chunk-QJZ5YIXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6FKT2TIN.mjs.map → chunk-R3U4ONSV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D6TVFZA6.mjs.map → chunk-RCNZOLEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RBSHB26S.mjs.map → chunk-RL2G66LY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3TYENBPS.mjs.map → chunk-SKNUG6M5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PGGS4CPP.mjs.map → chunk-SUHXBGYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W3WUNRIB.mjs.map → chunk-SV4C4UPN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RS5NVDUR.mjs.map → chunk-SWZ5LDC3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XU34NXIS.mjs.map → chunk-TFCXKUX5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QXU7U2E2.mjs.map → chunk-TFDVHULP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMLHCYO2.mjs.map → chunk-TQIB47S6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AJC3F2YT.mjs.map → chunk-U3MIDVR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MMY7MLSC.mjs.map → chunk-UCCJLDG6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S6NHNEQK.mjs.map → chunk-UCRVRBTA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AXUYY4T7.mjs.map → chunk-VJGOUAZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BX2RQZG2.mjs.map → chunk-VQULIVGX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MFUQ5NBC.mjs.map → chunk-VRLS225Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDCSKHZU.mjs.map → chunk-VVZ2I6CL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IQ6TLUA6.mjs.map → chunk-W37M2LIA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LV5G3A3I.mjs.map → chunk-WK4PPAAJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7AIQVQRI.mjs.map → chunk-WQZKREPI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F2HEHTHJ.mjs.map → chunk-XA3AGZCX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTTKKJIS.mjs.map → chunk-XHM77HFZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZEUNADU7.mjs.map → chunk-XJPXTYIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QAZET2LQ.mjs.map → chunk-YHNOFYGM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UPBPNO3G.mjs.map → chunk-YTIAXTQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBKZR473.mjs.map → chunk-YX7TMA3N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ENQBQ3K2.mjs.map → chunk-Z5AFLXOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IMB7RORC.mjs.map → chunk-ZDJN4F3W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N342XMFH.mjs.map → chunk-ZRSYQ3MT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2GG67TZD.mjs.map → chunk-ZS4EBCWC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FTIQVXR.mjs.map → chunk-ZTUC7FCA.mjs.map} +0 -0
|
@@ -34,20 +34,14 @@ module.exports = __toCommonJS(getTransactionsHistory_exports);
|
|
|
34
34
|
var import_lodash = __toESM(require("lodash.isempty"));
|
|
35
35
|
var import_helpers = require("./helpers");
|
|
36
36
|
const getTransactionsHistory = async ({
|
|
37
|
-
transactionsSessions
|
|
38
|
-
address,
|
|
39
|
-
explorerAddress,
|
|
40
|
-
egldLabel
|
|
37
|
+
transactionsSessions
|
|
41
38
|
}) => {
|
|
42
39
|
if ((0, import_lodash.default)(transactionsSessions)) {
|
|
43
40
|
return [];
|
|
44
41
|
}
|
|
45
42
|
const signedTransactions = (0, import_helpers.createTransactionsHistoryFromSessions)(transactionsSessions);
|
|
46
43
|
return (0, import_helpers.mapServerTransactionsToListItems)({
|
|
47
|
-
transactions: signedTransactions
|
|
48
|
-
address,
|
|
49
|
-
explorerAddress,
|
|
50
|
-
egldLabel
|
|
44
|
+
transactions: signedTransactions
|
|
51
45
|
});
|
|
52
46
|
};
|
|
53
47
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/utils/transactions/getTransactionsHistory/getTransactionsHistory.ts"],
|
|
4
|
-
"sourcesContent": ["import isEmpty from 'lodash.isempty';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport type { IGetHistoricalTransactionsParams } from 'types/transaction-list-item.types';\nimport {\n createTransactionsHistoryFromSessions,\n mapServerTransactionsToListItems\n} from './helpers';\n\nexport const getTransactionsHistory = async ({\n transactionsSessions
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AAGpB,qBAGO;AAEA,MAAM,yBAAyB,OAAO;AAAA,EAC3C;
|
|
4
|
+
"sourcesContent": ["import isEmpty from 'lodash.isempty';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport type { IGetHistoricalTransactionsParams } from 'types/transaction-list-item.types';\nimport {\n createTransactionsHistoryFromSessions,\n mapServerTransactionsToListItems\n} from './helpers';\n\nexport const getTransactionsHistory = async ({\n transactionsSessions\n}: IGetHistoricalTransactionsParams): Promise<ITransactionListItem[]> => {\n if (isEmpty(transactionsSessions)) {\n return [];\n }\n\n const signedTransactions =\n createTransactionsHistoryFromSessions(transactionsSessions);\n\n return mapServerTransactionsToListItems({\n transactions: signedTransactions\n });\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoB;AAGpB,qBAGO;AAEA,MAAM,yBAAyB,OAAO;AAAA,EAC3C;AACF,MAAyE;AACvE,UAAI,cAAAA,SAAQ,oBAAoB,GAAG;AACjC,WAAO,CAAC;AAAA,EACV;AAEA,QAAM,yBACJ,sDAAsC,oBAAoB;AAE5D,aAAO,iDAAiC;AAAA,IACtC,cAAc;AAAA,EAChB,CAAC;AACH;",
|
|
6
6
|
"names": ["isEmpty"]
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITransactionListItem } from '../../../lib/sdkDappUi';
|
|
2
2
|
import type { IGetHistoricalTransactionsParams } from '../../../types/transaction-list-item.types';
|
|
3
|
-
export declare const getTransactionsHistory: ({ transactionsSessions
|
|
3
|
+
export declare const getTransactionsHistory: ({ transactionsSessions }: IGetHistoricalTransactionsParams) => Promise<ITransactionListItem[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-M2KI5WFN.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-OVBYKKMB.mjs";import"../../../__chunks__/chunk-4B3YTXMB.mjs";import"../../../__chunks__/chunk-7QYO4UOP.mjs";import"../../../__chunks__/chunk-7C3DDRSK.mjs";import"../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-RCNZOLEM.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as getTransactionsHistory};
|
|
2
2
|
//# sourceMappingURL=getTransactionsHistory.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs
CHANGED
|
@@ -23,10 +23,10 @@ __export(getCachedTransactionListItem_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(getCachedTransactionListItem_exports);
|
|
24
24
|
var import_cacheSelector = require("../../../../store/selectors/cacheSelector");
|
|
25
25
|
var import_store = require("../../../../store/store");
|
|
26
|
-
const getCachedTransactionListItem = (hash) => {
|
|
26
|
+
const getCachedTransactionListItem = (hash, store) => {
|
|
27
27
|
const cachedTransaction = (0, import_cacheSelector.getCachedItemSelector)(
|
|
28
28
|
`transaction-${hash}`
|
|
29
|
-
)((0, import_store.
|
|
29
|
+
)(store ?? (0, import_store.getState)());
|
|
30
30
|
return cachedTransaction ?? null;
|
|
31
31
|
};
|
|
32
32
|
// Annotate the CommonJS export names for ESM import in node:
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.ts"],
|
|
4
|
-
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,2BAAsC;AACtC,mBAAyB;
|
|
4
|
+
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\n\nexport const getCachedTransactionListItem = (\n hash: string,\n store?: StoreType\n): ITransactionListItem | null => {\n const cachedTransaction = getCachedItemSelector<ITransactionListItem>(\n `transaction-${hash}`\n )(store ?? getState());\n\n return cachedTransaction ?? null;\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,2BAAsC;AACtC,mBAAyB;AAGlB,MAAM,+BAA+B,CAC1C,MACA,UACgC;AAChC,QAAM,wBAAoB;AAAA,IACxB,eAAe,IAAI;AAAA,EACrB,EAAE,aAAS,uBAAS,CAAC;AAErB,SAAO,qBAAqB;AAC9B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { ITransactionListItem } from '../../../../lib/sdkDappUi';
|
|
2
|
-
|
|
2
|
+
import { StoreType } from '../../../../store/store.types';
|
|
3
|
+
export declare const getCachedTransactionListItem: (hash: string, store?: StoreType) => ITransactionListItem | null;
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-7C3DDRSK.mjs";import"../../../../__chunks__/chunk-RCNZOLEM.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as getCachedTransactionListItem};
|
|
2
2
|
//# sourceMappingURL=getCachedTransactionListItem.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a,b}from"../../../../__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-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";export{a as TransactionActionCategoryTypeEnum,b as getTransactionAction};
|
|
2
2
|
//# sourceMappingURL=getTransactionAction.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as getTransactionAsset};
|
|
2
2
|
//# sourceMappingURL=getTransactionAsset.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../../__chunks__/chunk-
|
|
1
|
+
import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../../__chunks__/chunk-OVBYKKMB.mjs";import"../../../../__chunks__/chunk-4B3YTXMB.mjs";import"../../../../__chunks__/chunk-7QYO4UOP.mjs";import"../../../../__chunks__/chunk-7C3DDRSK.mjs";import{a as f}from"../../../../__chunks__/chunk-4MWQKLVG.mjs";import{b}from"../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import{a}from"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as e}from"../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as d}from"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as c}from"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-RCNZOLEM.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-Q4OG6NMJ.mjs";export{g as createTransactionsHistoryFromSessions,a as getReceiverData,c as getTransactionAmount,d as getTransactionAsset,h as mapServerTransactionsToListItems,f as mapTransactionToListItem,b as processTransactionAction,e as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs
CHANGED
|
@@ -23,21 +23,25 @@ __export(mapServerTransactionsToListItems_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(mapServerTransactionsToListItems_exports);
|
|
24
24
|
var import_getServerTransactionsByHashes = require("../../../../apiCalls/transactions/getServerTransactionsByHashes");
|
|
25
25
|
var import_cacheActions = require("../../../../store/actions/cache/cacheActions");
|
|
26
|
+
var import_accountSelectors = require("../../../../store/selectors/accountSelectors");
|
|
27
|
+
var import_networkSelectors = require("../../../../store/selectors/networkSelectors");
|
|
28
|
+
var import_store = require("../../../../store/store");
|
|
26
29
|
var import_enums = require("../../../../types/enums.types");
|
|
27
30
|
var import_getCachedTransactionListItem = require("./getCachedTransactionListItem");
|
|
28
31
|
var import_mapTransactionToListItem = require("./mapTransactionToListItem");
|
|
29
32
|
const sortTransactionsByTimestamp = (transactions) => transactions.sort((a, b) => b.timestamp - a.timestamp);
|
|
30
33
|
const mapServerTransactionsToListItems = async ({
|
|
31
34
|
transactions,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
egldLabel,
|
|
35
|
-
skipFetchingTransactions = false
|
|
35
|
+
skipFetchingTransactions = false,
|
|
36
|
+
store = (0, import_store.getState)()
|
|
36
37
|
}) => {
|
|
37
38
|
const cachedTransactions = [];
|
|
38
39
|
const hashesToFetch = [];
|
|
39
40
|
transactions.forEach((transaction) => {
|
|
40
|
-
const cachedTransaction = (0, import_getCachedTransactionListItem.getCachedTransactionListItem)(
|
|
41
|
+
const cachedTransaction = (0, import_getCachedTransactionListItem.getCachedTransactionListItem)(
|
|
42
|
+
transaction.hash,
|
|
43
|
+
store
|
|
44
|
+
);
|
|
41
45
|
if (cachedTransaction) {
|
|
42
46
|
cachedTransactions.push(cachedTransaction);
|
|
43
47
|
} else {
|
|
@@ -51,7 +55,9 @@ const mapServerTransactionsToListItems = async ({
|
|
|
51
55
|
// casting is correct since store transaction was replaced with fetched server transaction
|
|
52
56
|
...tx,
|
|
53
57
|
txHash: tx.hash
|
|
54
|
-
})) : await (0, import_getServerTransactionsByHashes.getServerTransactionsByHashes)(hashesToFetch
|
|
58
|
+
})) : await (0, import_getServerTransactionsByHashes.getServerTransactionsByHashes)(hashesToFetch, {
|
|
59
|
+
apiAddress: (0, import_networkSelectors.apiAddressSelector)(store)
|
|
60
|
+
});
|
|
55
61
|
const retrievedHashes = newTransactions.map((tx) => tx.txHash);
|
|
56
62
|
const missingHashes = hashesToFetch.filter(
|
|
57
63
|
(hash) => !retrievedHashes.includes(hash)
|
|
@@ -87,9 +93,9 @@ const mapServerTransactionsToListItems = async ({
|
|
|
87
93
|
newTransactions.forEach((transaction) => {
|
|
88
94
|
const transactionListItem = (0, import_mapTransactionToListItem.mapTransactionToListItem)({
|
|
89
95
|
transaction,
|
|
90
|
-
address,
|
|
91
|
-
explorerAddress,
|
|
92
|
-
egldLabel
|
|
96
|
+
address: (0, import_accountSelectors.addressSelector)(store),
|
|
97
|
+
explorerAddress: (0, import_networkSelectors.explorerAddressSelector)(store),
|
|
98
|
+
egldLabel: (0, import_networkSelectors.egldLabelSelector)(store)
|
|
93
99
|
});
|
|
94
100
|
if (transactionListItem.status !== import_enums.TransactionServerStatusesEnum.pending) {
|
|
95
101
|
(0, import_cacheActions.saveToCache)({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.ts"],
|
|
4
|
-
"sourcesContent": ["import { getServerTransactionsByHashes } from 'apiCalls/transactions/getServerTransactionsByHashes';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport { saveToCache } from 'store/actions/cache/cacheActions';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { SignedTransactionType } from 'types/transactions.types';\nimport { getCachedTransactionListItem } from './getCachedTransactionListItem';\nimport { mapTransactionToListItem } from './mapTransactionToListItem';\n\ninterface IMapServerTransactionsToListItemsParams {\n transactions: SignedTransactionType[];\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2CAA8C;AAE9C,0BAA4B;AAC5B,mBAA8C;AAG9C,0CAA6C;AAC7C,sCAAyC;
|
|
4
|
+
"sourcesContent": ["import { getServerTransactionsByHashes } from 'apiCalls/transactions/getServerTransactionsByHashes';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport { saveToCache } from 'store/actions/cache/cacheActions';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport {\n apiAddressSelector,\n egldLabelSelector,\n explorerAddressSelector\n} from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { SignedTransactionType } from 'types/transactions.types';\nimport { getCachedTransactionListItem } from './getCachedTransactionListItem';\nimport { mapTransactionToListItem } from './mapTransactionToListItem';\n\ninterface IMapServerTransactionsToListItemsParams {\n transactions: SignedTransactionType[];\n skipFetchingTransactions?: boolean;\n store?: StoreType;\n}\n\nconst sortTransactionsByTimestamp = (transactions: ITransactionListItem[]) =>\n transactions.sort((a, b) => b.timestamp - a.timestamp);\n\nexport const mapServerTransactionsToListItems = async ({\n transactions,\n skipFetchingTransactions = false,\n store = getState()\n}: IMapServerTransactionsToListItemsParams): Promise<\n ITransactionListItem[]\n> => {\n const cachedTransactions: ITransactionListItem[] = [];\n const hashesToFetch: string[] = [];\n\n transactions.forEach((transaction) => {\n const cachedTransaction = getCachedTransactionListItem(\n transaction.hash,\n store\n );\n if (cachedTransaction) {\n cachedTransactions.push(cachedTransaction);\n } else {\n hashesToFetch.push(transaction.hash);\n }\n });\n\n if (hashesToFetch.length === 0) {\n return sortTransactionsByTimestamp(cachedTransactions);\n }\n\n const newTransactions: ServerTransactionType[] = skipFetchingTransactions\n ? transactions.map((tx) => ({\n // casting is correct since store transaction was replaced with fetched server transaction\n ...(tx as unknown as ServerTransactionType),\n txHash: tx.hash\n }))\n : await getServerTransactionsByHashes(hashesToFetch, {\n apiAddress: apiAddressSelector(store)\n });\n\n const retrievedHashes = newTransactions.map((tx) => tx.txHash);\n const missingHashes = hashesToFetch.filter(\n (hash) => !retrievedHashes.includes(hash)\n );\n\n if (missingHashes.length > 0) {\n const filteredTransactions = transactions.filter((transaction) =>\n missingHashes.includes(transaction.hash)\n );\n\n // In case the transactions were not found, we create a dummy transaction with the pending status\n // until all pending transactions are returned from the API\n const pendingDummyTransactions = filteredTransactions.map(\n (transaction) =>\n ({\n ...transaction,\n txHash: transaction.hash,\n price: 0,\n status: TransactionServerStatusesEnum.pending,\n gasUsed: 0,\n miniBlockHash: '',\n receiverShard: 0,\n round: 0,\n senderShard: 0,\n timestamp: Date.now()\n }) as ServerTransactionType\n );\n\n newTransactions.push(...pendingDummyTransactions);\n }\n\n const uniqueTransactionsMap = new Map<string, ITransactionListItem>();\n\n cachedTransactions.forEach((item) => {\n const key = item.hash;\n if (!key) {\n return;\n }\n uniqueTransactionsMap.set(String(key), item);\n });\n\n newTransactions.forEach((transaction) => {\n const transactionListItem = mapTransactionToListItem({\n transaction,\n address: addressSelector(store),\n explorerAddress: explorerAddressSelector(store),\n egldLabel: egldLabelSelector(store)\n });\n\n if (transactionListItem.status !== TransactionServerStatusesEnum.pending) {\n saveToCache({\n key: `transaction-${transaction.txHash}`,\n value: transactionListItem\n });\n }\n\n uniqueTransactionsMap.set(transaction.txHash, transactionListItem);\n });\n\n return sortTransactionsByTimestamp(\n Array.from(uniqueTransactionsMap.values())\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2CAA8C;AAE9C,0BAA4B;AAC5B,8BAAgC;AAChC,8BAIO;AACP,mBAAyB;AAEzB,mBAA8C;AAG9C,0CAA6C;AAC7C,sCAAyC;AAQzC,MAAM,8BAA8B,CAAC,iBACnC,aAAa,KAAK,CAAC,GAAG,MAAM,EAAE,YAAY,EAAE,SAAS;AAEhD,MAAM,mCAAmC,OAAO;AAAA,EACrD;AAAA,EACA,2BAA2B;AAAA,EAC3B,YAAQ,uBAAS;AACnB,MAEK;AACH,QAAM,qBAA6C,CAAC;AACpD,QAAM,gBAA0B,CAAC;AAEjC,eAAa,QAAQ,CAAC,gBAAgB;AACpC,UAAM,wBAAoB;AAAA,MACxB,YAAY;AAAA,MACZ;AAAA,IACF;AACA,QAAI,mBAAmB;AACrB,yBAAmB,KAAK,iBAAiB;AAAA,IAC3C,OAAO;AACL,oBAAc,KAAK,YAAY,IAAI;AAAA,IACrC;AAAA,EACF,CAAC;AAED,MAAI,cAAc,WAAW,GAAG;AAC9B,WAAO,4BAA4B,kBAAkB;AAAA,EACvD;AAEA,QAAM,kBAA2C,2BAC7C,aAAa,IAAI,CAAC,QAAQ;AAAA;AAAA,IAExB,GAAI;AAAA,IACJ,QAAQ,GAAG;AAAA,EACb,EAAE,IACF,UAAM,oEAA8B,eAAe;AAAA,IACjD,gBAAY,4CAAmB,KAAK;AAAA,EACtC,CAAC;AAEL,QAAM,kBAAkB,gBAAgB,IAAI,CAAC,OAAO,GAAG,MAAM;AAC7D,QAAM,gBAAgB,cAAc;AAAA,IAClC,CAAC,SAAS,CAAC,gBAAgB,SAAS,IAAI;AAAA,EAC1C;AAEA,MAAI,cAAc,SAAS,GAAG;AAC5B,UAAM,uBAAuB,aAAa;AAAA,MAAO,CAAC,gBAChD,cAAc,SAAS,YAAY,IAAI;AAAA,IACzC;AAIA,UAAM,2BAA2B,qBAAqB;AAAA,MACpD,CAAC,iBACE;AAAA,QACC,GAAG;AAAA,QACH,QAAQ,YAAY;AAAA,QACpB,OAAO;AAAA,QACP,QAAQ,2CAA8B;AAAA,QACtC,SAAS;AAAA,QACT,eAAe;AAAA,QACf,eAAe;AAAA,QACf,OAAO;AAAA,QACP,aAAa;AAAA,QACb,WAAW,KAAK,IAAI;AAAA,MACtB;AAAA,IACJ;AAEA,oBAAgB,KAAK,GAAG,wBAAwB;AAAA,EAClD;AAEA,QAAM,wBAAwB,oBAAI,IAAkC;AAEpE,qBAAmB,QAAQ,CAAC,SAAS;AACnC,UAAM,MAAM,KAAK;AACjB,QAAI,CAAC,KAAK;AACR;AAAA,IACF;AACA,0BAAsB,IAAI,OAAO,GAAG,GAAG,IAAI;AAAA,EAC7C,CAAC;AAED,kBAAgB,QAAQ,CAAC,gBAAgB;AACvC,UAAM,0BAAsB,0DAAyB;AAAA,MACnD;AAAA,MACA,aAAS,yCAAgB,KAAK;AAAA,MAC9B,qBAAiB,iDAAwB,KAAK;AAAA,MAC9C,eAAW,2CAAkB,KAAK;AAAA,IACpC,CAAC;AAED,QAAI,oBAAoB,WAAW,2CAA8B,SAAS;AACxE,2CAAY;AAAA,QACV,KAAK,eAAe,YAAY,MAAM;AAAA,QACtC,OAAO;AAAA,MACT,CAAC;AAAA,IACH;AAEA,0BAAsB,IAAI,YAAY,QAAQ,mBAAmB;AAAA,EACnE,CAAC;AAED,SAAO;AAAA,IACL,MAAM,KAAK,sBAAsB,OAAO,CAAC;AAAA,EAC3C;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ITransactionListItem } from '../../../../lib/sdkDappUi';
|
|
2
|
+
import { StoreType } from '../../../../store/store.types';
|
|
2
3
|
import { SignedTransactionType } from '../../../../types/transactions.types';
|
|
3
4
|
interface IMapServerTransactionsToListItemsParams {
|
|
4
5
|
transactions: SignedTransactionType[];
|
|
5
|
-
address: string;
|
|
6
|
-
explorerAddress: string;
|
|
7
|
-
egldLabel: string;
|
|
8
6
|
skipFetchingTransactions?: boolean;
|
|
7
|
+
store?: StoreType;
|
|
9
8
|
}
|
|
10
|
-
export declare const mapServerTransactionsToListItems: ({ transactions,
|
|
9
|
+
export declare const mapServerTransactionsToListItems: ({ transactions, skipFetchingTransactions, store }: IMapServerTransactionsToListItemsParams) => Promise<ITransactionListItem[]>;
|
|
11
10
|
export {};
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-OVBYKKMB.mjs";import"../../../../__chunks__/chunk-4B3YTXMB.mjs";import"../../../../__chunks__/chunk-7QYO4UOP.mjs";import"../../../../__chunks__/chunk-7C3DDRSK.mjs";import"../../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-RCNZOLEM.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as mapServerTransactionsToListItems};
|
|
2
2
|
//# sourceMappingURL=mapServerTransactionsToListItems.mjs.map
|
|
@@ -30,10 +30,10 @@ var import_getTransactionAsset = require("./getTransactionAsset");
|
|
|
30
30
|
var import_getTransactionAssets = require("./getTransactionAssets");
|
|
31
31
|
const mapTransactionToListItem = ({
|
|
32
32
|
transaction,
|
|
33
|
+
isPending = false,
|
|
33
34
|
address,
|
|
34
35
|
explorerAddress,
|
|
35
|
-
egldLabel
|
|
36
|
-
isPending = false
|
|
36
|
+
egldLabel
|
|
37
37
|
}) => {
|
|
38
38
|
const { receiver, receiverAssets } = (0, import_getReceiverData.getReceiverData)(transaction);
|
|
39
39
|
const isIncomingTransaction = address === receiver;
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.ts"],
|
|
4
|
-
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { explorerUrlBuilder } from 'utils/transactions/explorerUrlBuilder';\nimport { getExplorerLink } from 'utils/transactions/getExplorerLink';\nimport { getReceiverData } from 'utils/transactions/getTransactionsHistory/helpers/getReceiverData';\nimport { getTransactionAction } from './getTransactionAction';\nimport { getTransactionAmount } from './getTransactionAmount';\nimport { getTransactionAsset } from './getTransactionAsset';\nimport { getTransactionAssets } from './getTransactionAssets';\n\ninterface IMapTransactionToListItemParamsType {\n transaction: ServerTransactionType;\n isPending?: boolean;\n profileImages?: Record<string, string>;\n address: string;\n explorerAddress: string;\n egldLabel: string;\n}\n\nexport const mapTransactionToListItem = ({\n transaction,\n isPending = false,\n address,\n explorerAddress,\n egldLabel\n}: IMapTransactionToListItemParamsType): ITransactionListItem => {\n const { receiver, receiverAssets } = getReceiverData(transaction);\n const isIncomingTransaction = address === receiver;\n\n const action = getTransactionAction({\n transaction,\n currentUserAddress: address,\n egldLabel,\n isPending\n });\n\n const transactionAssets = getTransactionAssets({\n userIsReceiver: receiver === address,\n transaction,\n egldLabel\n });\n\n const hash = transaction.originalTxHash ?? transaction.txHash;\n\n const transactionListItem: ITransactionListItem = {\n asset: getTransactionAsset({\n ...transaction,\n transactionAssets,\n showDefaultState: isPending,\n status: transaction.status as TransactionServerStatusesEnum\n }),\n interactor: isIncomingTransaction ? transaction.sender : receiver,\n interactorAsset: isIncomingTransaction\n ? transaction.senderAssets?.iconSvg ?? transaction.senderAssets?.iconPng\n : receiverAssets?.iconSvg ?? receiverAssets?.iconPng,\n directionLabel: isIncomingTransaction ? 'From' : 'To',\n action,\n amount: getTransactionAmount({\n transactionAssets,\n isIncomingTransaction\n }),\n hash,\n status: transaction.status as TransactionServerStatusesEnum,\n timestamp: transaction.timestamp,\n link: getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.transactionDetails(hash)\n })\n };\n\n return transactionListItem;\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,gCAAmC;AACnC,6BAAgC;AAChC,6BAAgC;AAChC,kCAAqC;AACrC,kCAAqC;AACrC,iCAAoC;AACpC,kCAAqC;AAW9B,MAAM,2BAA2B,CAAC;AAAA,EACvC;AAAA,EACA,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AACF,MAAiE;AAC/D,QAAM,EAAE,UAAU,eAAe,QAAI,wCAAgB,WAAW;AAChE,QAAM,wBAAwB,YAAY;AAE1C,QAAM,aAAS,kDAAqB;AAAA,IAClC;AAAA,IACA,oBAAoB;AAAA,IACpB;AAAA,IACA;AAAA,EACF,CAAC;AAED,QAAM,wBAAoB,kDAAqB;AAAA,IAC7C,gBAAgB,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EACF,CAAC;AAED,QAAM,OAAO,YAAY,kBAAkB,YAAY;AAEvD,QAAM,sBAA4C;AAAA,IAChD,WAAO,gDAAoB;AAAA,MACzB,GAAG;AAAA,MACH;AAAA,MACA,kBAAkB;AAAA,MAClB,QAAQ,YAAY;AAAA,IACtB,CAAC;AAAA,IACD,YAAY,wBAAwB,YAAY,SAAS;AAAA,IACzD,iBAAiB,wBACb,YAAY,cAAc,WAAW,YAAY,cAAc,UAC/D,gBAAgB,WAAW,gBAAgB;AAAA,IAC/C,gBAAgB,wBAAwB,SAAS;AAAA,IACjD;AAAA,IACA,YAAQ,kDAAqB;AAAA,MAC3B;AAAA,MACA;AAAA,IACF,CAAC;AAAA,IACD;AAAA,IACA,QAAQ,YAAY;AAAA,IACpB,WAAW,YAAY;AAAA,IACvB,UAAM,wCAAgB;AAAA,MACpB;AAAA,MACA,IAAI,6CAAmB,mBAAmB,IAAI;AAAA,IAChD,CAAC;AAAA,EACH;AAEA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ITransactionListItem } from '../../../../lib/sdkDappUi';
|
|
2
2
|
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
3
|
-
|
|
4
|
-
interface IMapTransactionToListItemParamsType extends IBaseTransactionParams {
|
|
3
|
+
interface IMapTransactionToListItemParamsType {
|
|
5
4
|
transaction: ServerTransactionType;
|
|
6
5
|
isPending?: boolean;
|
|
7
6
|
profileImages?: Record<string, string>;
|
|
7
|
+
address: string;
|
|
8
|
+
explorerAddress: string;
|
|
9
|
+
egldLabel: string;
|
|
8
10
|
}
|
|
9
|
-
export declare const mapTransactionToListItem: ({ transaction, address, explorerAddress, egldLabel
|
|
11
|
+
export declare const mapTransactionToListItem: ({ transaction, isPending, address, explorerAddress, egldLabel }: IMapTransactionToListItemParamsType) => ITransactionListItem;
|
|
10
12
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-4MWQKLVG.mjs";import"../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as mapTransactionToListItem};
|
|
2
2
|
//# sourceMappingURL=mapTransactionToListItem.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../__chunks__/chunk-IXBWD6BF.mjs";import{a as i}from"../../../__chunks__/chunk-
|
|
1
|
+
import"../../../__chunks__/chunk-IXBWD6BF.mjs";import{a as i}from"../../../__chunks__/chunk-M2KI5WFN.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../__chunks__/chunk-OVBYKKMB.mjs";import"../../../__chunks__/chunk-4B3YTXMB.mjs";import"../../../__chunks__/chunk-7QYO4UOP.mjs";import"../../../__chunks__/chunk-7C3DDRSK.mjs";import{a as f}from"../../../__chunks__/chunk-4MWQKLVG.mjs";import{b}from"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import{a}from"../../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as e}from"../../../__chunks__/chunk-DFSBS3PX.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as d}from"../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as c}from"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-RCNZOLEM.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-Q4OG6NMJ.mjs";export{g as createTransactionsHistoryFromSessions,a as getReceiverData,c as getTransactionAmount,d as getTransactionAsset,i as getTransactionsHistory,h as mapServerTransactionsToListItems,f as mapTransactionToListItem,b as processTransactionAction,e as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import{a as
|
|
1
|
+
import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import{a as q}from"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import{a as p}from"../../__chunks__/chunk-5DILKRFV.mjs";import{a as o}from"../../__chunks__/chunk-DZ2BIDRW.mjs";import{a as n}from"../../__chunks__/chunk-HZGRS7HG.mjs";import{a as m}from"../../__chunks__/chunk-NTPPBM7T.mjs";import{a as l}from"../../__chunks__/chunk-GUAXMODN.mjs";import{a as k}from"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-TCDMXBPB.mjs";import{a as r}from"../../__chunks__/chunk-B3IKUIRK.mjs";import{a as j}from"../../__chunks__/chunk-FULNMU6J.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import{a as s}from"../../__chunks__/chunk-M2KI5WFN.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import{a as h}from"../../__chunks__/chunk-55W25Q35.mjs";import{a as i}from"../../__chunks__/chunk-OVBYKKMB.mjs";import"../../__chunks__/chunk-4B3YTXMB.mjs";import"../../__chunks__/chunk-7QYO4UOP.mjs";import"../../__chunks__/chunk-7C3DDRSK.mjs";import{a as g}from"../../__chunks__/chunk-4MWQKLVG.mjs";import{b as c}from"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import{a as b}from"../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as f}from"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as e}from"../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as d}from"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-RCNZOLEM.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-HAPHEGVZ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{a}from"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-7CELSV4S.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-BTJWNUM6.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";export{h as createTransactionsHistoryFromSessions,k as decodeByMethod,n as decodeHighlight,a as explorerUrlBuilder,j as getActiveTransactionsStatus,q as getDecodedDataField,m as getDecodedParts,p as getDisplayValueAndValidationWarnings,o as getHexValidationWarnings,r as getHumanReadableTimeFormat,b as getReceiverData,l as getSmartDecodedParts,d as getTransactionAmount,e as getTransactionAsset,s as getTransactionsHistory,i as mapServerTransactionsToListItems,g as mapTransactionToListItem,c as processTransactionAction,f as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-WHEXX3BD.mjs";import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-WHEXX3BD.mjs";import{a}from"../../__chunks__/chunk-TQIB47S6.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as switchTheme};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-TQIB47S6.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as switchTheme};
|
|
2
2
|
//# sourceMappingURL=switchTheme.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-WK4PPAAJ.mjs";import"../../__chunks__/chunk-O7KFAU3B.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getIsInIframe};
|
|
2
2
|
//# sourceMappingURL=getIsInIframe.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-O7KFAU3B.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";export{a as getWindowParentOrigin};
|
|
2
2
|
//# sourceMappingURL=getWindowParentOrigin.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-WK4PPAAJ.mjs";import"../../__chunks__/chunk-O7KFAU3B.mjs";import{a as e}from"../../__chunks__/chunk-EHDGJUEU.mjs";import{a as d}from"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-Q4OG6NMJ.mjs";import{a as c}from"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import{a}from"../../__chunks__/chunk-B2UIPHJ3.mjs";export{d as buildUrlParams,e as getIsAuthRoute,f as getIsInIframe,b as getWindowLocation,a as isWindowAvailable,c as sanitizeCallbackUrl};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiversx/sdk-dapp",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.6",
|
|
4
4
|
"main": "out/index.cjs",
|
|
5
5
|
"module": "out/index.mjs",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -63,9 +63,7 @@
|
|
|
63
63
|
"@lifeomic/axios-fetch": "3.0.1",
|
|
64
64
|
"@multiversx/sdk-extension-provider": "5.1.1",
|
|
65
65
|
"@multiversx/sdk-hw-provider": "8.1.1",
|
|
66
|
-
"@multiversx/sdk-metamask-provider": "3.0.0",
|
|
67
66
|
"@multiversx/sdk-native-auth-client": "2.0.1",
|
|
68
|
-
"@multiversx/sdk-wallet": "4.6.0",
|
|
69
67
|
"@multiversx/sdk-wallet-connect-provider": "6.1.2",
|
|
70
68
|
"@multiversx/sdk-web-wallet-cross-window-provider": "3.2.1",
|
|
71
69
|
"@multiversx/sdk-web-wallet-iframe-provider": "4.0.0",
|
|
@@ -90,7 +88,7 @@
|
|
|
90
88
|
"protobufjs": "^7.2.6"
|
|
91
89
|
},
|
|
92
90
|
"optionalDependencies": {
|
|
93
|
-
"@multiversx/sdk-dapp-ui": ">=0.0.
|
|
91
|
+
"@multiversx/sdk-dapp-ui": ">=0.0.35"
|
|
94
92
|
},
|
|
95
93
|
"resolutions": {
|
|
96
94
|
"strip-ansi": "6.0.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.ts"],
|
|
4
|
-
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getCachedItemSelector } from 'store/selectors/cacheSelector';\nimport { getStore } from 'store/store';\n\nexport const getCachedTransactionListItem = (\n hash: string\n): ITransactionListItem | null => {\n const cachedTransaction = getCachedItemSelector<ITransactionListItem>(\n `transaction-${hash}`\n )(getStore().getState());\n\n return cachedTransaction ?? null;\n};\n"],
|
|
5
|
-
"mappings": "kFAIO,IAAMA,EACXC,GAE0BC,EACxB,eAAeD,CAAI,EACrB,EAAEE,EAAS,EAAE,SAAS,CAAC,GAEK",
|
|
6
|
-
"names": ["getCachedTransactionListItem", "hash", "getCachedItemSelector", "getStore"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-L3MWDI6J.mjs";import{q as i}from"./chunk-D6TVFZA6.mjs";import{current as p}from"immer";var h=({transactions:s,transactionsDisplayInfo:r,status:e,sessionInformation:t})=>{let a=Date.now().toString();return i().setState(({transactions:n})=>{n[a]={transactions:s,status:e,transactionsDisplayInfo:r,interpretedTransactions:{},sessionInformation:t}},!1,"createTransactionsSession"),a},T=({sessionId:s,status:r,errorMessage:e})=>{i().setState(({transactions:t})=>{if(!t[s])return;let a=p(t[s]).transactionsDisplayInfo,n=e||a?.errorMessage;t[s].status=r,t[s].errorMessage=n,t[s].transactionsDisplayInfo={...a,errorMessage:n}},!1,"updateTransactionsSession")},E=({sessionId:s,transaction:r})=>{let e=null;return i().setState(({transactions:t})=>{let a=t[s]?.transactions;if(a!=null){t[s].transactions=a.map(o=>o.hash===r.hash?{...o,...r??{}}:o);let n=u([...t[s].transactions]);n&&(T({sessionId:s,status:n}),e=n)}},!1,"updateTransactionStatus"),e},D=()=>{i().setState(({transactions:s,toasts:r})=>{let t=Object.keys(s).filter(n=>{let o=s[n];if(!o)return!1;let{status:c}=o;return!(c==="pending"||c==="signed"||c==="sent")});t.forEach(n=>{delete s[n]});let a=r.transactionToasts.filter(n=>!t.includes(n.toastId));r.transactionToasts=a},!1,"clearCompletedTransactions")};export{h as a,T as b,E as c,D as d};
|
|
2
|
-
//# sourceMappingURL=chunk-344SJWHZ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/store/actions/transactions/transactionsActions.ts"],
|
|
4
|
-
"sourcesContent": ["import { current } from 'immer';\nimport { getTransactionsSessionStatus } from 'managers/TransactionManager/helpers/getTransactionsStatus';\nimport { getStore } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport {\n TransactionsDisplayInfoType,\n SignedTransactionType\n} from 'types/transactions.types';\n\nexport type CreateTransactionsSessionType = {\n transactions: SignedTransactionType[];\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n status: TransactionBatchStatusesEnum | TransactionServerStatusesEnum;\n sessionInformation?: any;\n};\n\nexport const createTransactionsSession = ({\n transactions,\n transactionsDisplayInfo,\n status,\n sessionInformation\n}: CreateTransactionsSessionType) => {\n const sessionId = Date.now().toString();\n getStore().setState(\n ({ transactions: state }) => {\n state[sessionId] = {\n transactions,\n status,\n transactionsDisplayInfo,\n interpretedTransactions: {},\n sessionInformation\n };\n },\n false,\n 'createTransactionsSession'\n );\n return sessionId;\n};\n\nexport const updateSessionStatus = ({\n sessionId,\n status,\n errorMessage\n}: {\n sessionId: string;\n status: TransactionBatchStatusesEnum;\n errorMessage?: string;\n}) => {\n getStore().setState(\n ({ transactions: state }) => {\n if (!state[sessionId]) {\n return;\n }\n const transactionsDisplayInfo = current(\n state[sessionId]\n ).transactionsDisplayInfo;\n\n const newErrorMessage =\n errorMessage || transactionsDisplayInfo?.errorMessage;\n\n state[sessionId].status = status;\n state[sessionId].errorMessage = newErrorMessage;\n state[sessionId].transactionsDisplayInfo = {\n ...transactionsDisplayInfo,\n errorMessage: newErrorMessage\n };\n },\n false,\n 'updateTransactionsSession'\n );\n};\n\nexport const updateTransactionStatus = ({\n sessionId,\n transaction: updatedTransaction\n}: {\n sessionId: string;\n transaction: SignedTransactionType;\n}): TransactionBatchStatusesEnum | null => {\n let newStatus: TransactionBatchStatusesEnum | null = null;\n getStore().setState(\n ({ transactions: state }) => {\n const transactions = state[sessionId]?.transactions;\n if (transactions != null) {\n state[sessionId].transactions = transactions.map((transaction) => {\n if (transaction.hash === updatedTransaction.hash) {\n return {\n ...transaction,\n ...(updatedTransaction ?? {})\n };\n }\n return transaction;\n });\n\n const status = getTransactionsSessionStatus([\n ...state[sessionId].transactions // Create a copy of the transactions array to avoid Proxy issues\n ]);\n\n if (status) {\n updateSessionStatus({\n sessionId,\n status\n });\n newStatus = status;\n }\n }\n },\n false,\n 'updateTransactionStatus'\n );\n\n return newStatus;\n};\n\nexport const clearCompletedTransactions = () => {\n getStore().setState(\n ({ transactions: state, toasts: toastsState }) => {\n const sessionIds = Object.keys(state);\n\n const completedSessionIds = sessionIds.filter((sessionId) => {\n const session = state[sessionId];\n if (!session) {\n return false;\n }\n\n const { status } = session;\n\n const isPending =\n status === TransactionServerStatusesEnum.pending ||\n status === TransactionBatchStatusesEnum.signed ||\n status === TransactionBatchStatusesEnum.sent;\n\n return !isPending;\n });\n\n completedSessionIds.forEach((sessionId) => {\n delete state[sessionId];\n });\n\n const filteredTransactionToasts = toastsState.transactionToasts.filter(\n (toast) => !completedSessionIds.includes(toast.toastId)\n );\n\n toastsState.transactionToasts = filteredTransactionToasts;\n },\n false,\n 'clearCompletedTransactions'\n );\n};\n"],
|
|
5
|
-
"mappings": "kFAAA,OAAS,WAAAA,MAAe,QAmBjB,IAAMC,EAA4B,CAAC,CACxC,aAAAC,EACA,wBAAAC,EACA,OAAAC,EACA,mBAAAC,CACF,IAAqC,CACnC,IAAMC,EAAY,KAAK,IAAI,EAAE,SAAS,EACtC,OAAAC,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3BA,EAAMF,CAAS,EAAI,CACjB,aAAAJ,EACA,OAAAE,EACA,wBAAAD,EACA,wBAAyB,CAAC,EAC1B,mBAAAE,CACF,CACF,EACA,GACA,2BACF,EACOC,CACT,EAEaG,EAAsB,CAAC,CAClC,UAAAH,EACA,OAAAF,EACA,aAAAM,CACF,IAIM,CACJH,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3B,GAAI,CAACA,EAAMF,CAAS,EAClB,OAEF,IAAMH,EAA0BQ,EAC9BH,EAAMF,CAAS,CACjB,EAAE,wBAEIM,EACJF,GAAgBP,GAAyB,aAE3CK,EAAMF,CAAS,EAAE,OAASF,EAC1BI,EAAMF,CAAS,EAAE,aAAeM,EAChCJ,EAAMF,CAAS,EAAE,wBAA0B,CACzC,GAAGH,EACH,aAAcS,CAChB,CACF,EACA,GACA,2BACF,CACF,EAEaC,EAA0B,CAAC,CACtC,UAAAP,EACA,YAAaQ,CACf,IAG2C,CACzC,IAAIC,EAAiD,KACrD,OAAAR,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3B,IAAMN,EAAeM,EAAMF,CAAS,GAAG,aACvC,GAAIJ,GAAgB,KAAM,CACxBM,EAAMF,CAAS,EAAE,aAAeJ,EAAa,IAAKc,GAC5CA,EAAY,OAASF,EAAmB,KACnC,CACL,GAAGE,EACH,GAAIF,GAAsB,CAAC,CAC7B,EAEKE,CACR,EAED,IAAMZ,EAASa,EAA6B,CAC1C,GAAGT,EAAMF,CAAS,EAAE,YACtB,CAAC,EAEGF,IACFK,EAAoB,CAClB,UAAAH,EACA,OAAAF,CACF,CAAC,EACDW,EAAYX,EAEhB,CACF,EACA,GACA,yBACF,EAEOW,CACT,EAEaG,EAA6B,IAAM,CAC9CX,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,EAAO,OAAQW,CAAY,IAAM,CAGhD,IAAMC,EAFa,OAAO,KAAKZ,CAAK,EAEG,OAAQF,GAAc,CAC3D,IAAMe,EAAUb,EAAMF,CAAS,EAC/B,GAAI,CAACe,EACH,MAAO,GAGT,GAAM,CAAE,OAAAjB,CAAO,EAAIiB,EAOnB,MAAO,EAJLjB,eACAA,cACAA,WAGJ,CAAC,EAEDgB,EAAoB,QAASd,GAAc,CACzC,OAAOE,EAAMF,CAAS,CACxB,CAAC,EAED,IAAMgB,EAA4BH,EAAY,kBAAkB,OAC7DI,GAAU,CAACH,EAAoB,SAASG,EAAM,OAAO,CACxD,EAEAJ,EAAY,kBAAoBG,CAClC,EACA,GACA,4BACF,CACF",
|
|
6
|
-
"names": ["current", "createTransactionsSession", "transactions", "transactionsDisplayInfo", "status", "sessionInformation", "sessionId", "getStore", "state", "updateSessionStatus", "errorMessage", "current", "newErrorMessage", "updateTransactionStatus", "updatedTransaction", "newStatus", "transaction", "getTransactionsSessionStatus", "clearCompletedTransactions", "toastsState", "completedSessionIds", "session", "filteredTransactionToasts", "toast"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as I}from"./chunk-52PGMMOM.mjs";import{a as p}from"./chunk-WZ2DNB3R.mjs";import{a as g}from"./chunk-DFSBS3PX.mjs";import{a as f}from"./chunk-NK5Y3RLY.mjs";import{a as u}from"./chunk-VDDXFGB2.mjs";import{a as T}from"./chunk-BRJNX4JF.mjs";import{a as c}from"./chunk-DBIIY2TX.mjs";var E=({transaction:t,address:e,explorerAddress:v,egldLabel:o,isPending:a=!1})=>{let{receiver:r,receiverAssets:n}=p(t),s=e===r,S=I({transaction:t,currentUserAddress:e,egldLabel:o,isPending:a}),i=g({userIsReceiver:r===e,transaction:t,egldLabel:o}),m=t.originalTxHash??t.txHash;return{asset:f({...t,transactionAssets:i,showDefaultState:a,status:t.status}),interactor:s?t.sender:r,interactorAsset:s?t.senderAssets?.iconSvg??t.senderAssets?.iconPng:n?.iconSvg??n?.iconPng,directionLabel:s?"From":"To",action:S,amount:u({transactionAssets:i,isIncomingTransaction:s}),hash:m,status:t.status,timestamp:t.timestamp,link:T({explorerAddress:v,to:c.transactionDetails(m)})}};export{E as a};
|
|
2
|
-
//# sourceMappingURL=chunk-3L7HZ2SO.mjs.map
|