@multiversx/sdk-dapp 5.2.5 → 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-2FU37PY5.mjs → chunk-2K2QZVBC.mjs} +2 -2
- package/out/__chunks__/{chunk-I4QHHCK6.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-GY6MHIOO.mjs → chunk-2VRRMEOY.mjs} +2 -2
- package/out/__chunks__/{chunk-7ZUH3TQ2.mjs → chunk-2Y66XRQK.mjs} +2 -2
- package/out/__chunks__/{chunk-ZXHMD677.mjs → chunk-3OEO7IVT.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-LDTECGMM.mjs → chunk-4QPWKBSQ.mjs} +2 -2
- package/out/__chunks__/{chunk-OOVV574D.mjs → chunk-4VA2SULD.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-3TJTXI66.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-FRIE2JPN.mjs → chunk-67JAXZGA.mjs} +2 -2
- package/out/__chunks__/{chunk-BZQSEPTC.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-OF4WULEW.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-GR362QNP.mjs → chunk-74JXPSSX.mjs} +2 -2
- package/out/__chunks__/{chunk-JIBYUZL4.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-XADBXKX5.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-6ST4KZLT.mjs → chunk-7XASUTI2.mjs} +2 -2
- package/out/__chunks__/{chunk-BUAVB6CL.mjs → chunk-ANIJIRAY.mjs} +2 -2
- package/out/__chunks__/{chunk-5YDUSQUN.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-CECXI5ZJ.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-NBQ7F24V.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-PNVMS2VO.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-X6SYH5RO.mjs → chunk-FULNMU6J.mjs} +2 -2
- package/out/__chunks__/{chunk-CFJZFKIS.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-EFD2PMLA.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-YNHWN4KZ.mjs → chunk-JDLVFGXF.mjs} +2 -2
- package/out/__chunks__/{chunk-GZL6GF6Z.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-JSKOWAZU.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-C3LAZHGD.mjs → chunk-MBBXTAA3.mjs} +2 -2
- package/out/__chunks__/{chunk-ZXNJFXKB.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-E5RLJTLP.mjs → chunk-O3YM7WCC.mjs} +2 -2
- package/out/__chunks__/{chunk-KD2K7HNK.mjs → chunk-O7KFAU3B.mjs} +2 -2
- package/out/__chunks__/{chunk-EYUQF6VD.mjs → chunk-OD6C4XKP.mjs} +2 -2
- package/out/__chunks__/chunk-OLPFN3HZ.mjs +2 -0
- package/out/__chunks__/{chunk-JSTWLAYX.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-LWCNB4VP.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-2JGSMQ3T.mjs → chunk-PT2OF4QJ.mjs} +2 -2
- package/out/__chunks__/chunk-Q4OG6NMJ.mjs +2 -0
- package/out/__chunks__/{chunk-ZZNPJF24.mjs.map → chunk-Q4OG6NMJ.mjs.map} +1 -1
- package/out/__chunks__/{chunk-F6QODHDC.mjs → chunk-QJZ5YIXI.mjs} +2 -2
- package/out/__chunks__/{chunk-3BVKYYHT.mjs → chunk-R3U4ONSV.mjs} +2 -2
- package/out/__chunks__/{chunk-QEE4T6UM.mjs → chunk-RCNZOLEM.mjs} +2 -2
- package/out/__chunks__/{chunk-LYNRBQNO.mjs → chunk-RL2G66LY.mjs} +2 -2
- package/out/__chunks__/chunk-SKNUG6M5.mjs +2 -0
- package/out/__chunks__/{chunk-SK2W4LXI.mjs → chunk-SUHXBGYR.mjs} +2 -2
- package/out/__chunks__/{chunk-WOZIHP5Q.mjs → chunk-SV4C4UPN.mjs} +2 -2
- package/out/__chunks__/{chunk-ZBJRLPCR.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-UPHBWFSY.mjs → chunk-TFDVHULP.mjs} +2 -2
- package/out/__chunks__/{chunk-UWGZQ6WZ.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-NIP6EFXI.mjs.map → chunk-U54BL4SU.mjs.map} +2 -2
- package/out/__chunks__/{chunk-6IDZ52FJ.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-CANC2FCH.mjs → chunk-VQULIVGX.mjs} +2 -2
- package/out/__chunks__/chunk-VRLS225Q.mjs +2 -0
- package/out/__chunks__/{chunk-JVI373HI.mjs → chunk-VVZ2I6CL.mjs} +2 -2
- package/out/__chunks__/chunk-W37M2LIA.mjs +2 -0
- package/out/__chunks__/{chunk-S22V4GGF.mjs → chunk-WK4PPAAJ.mjs} +2 -2
- package/out/__chunks__/chunk-WQZKREPI.mjs +2 -0
- package/out/__chunks__/{chunk-ARY5QEDY.mjs → chunk-XA3AGZCX.mjs} +2 -2
- package/out/__chunks__/{chunk-HJGZQFKX.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-LZPMMMJZ.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-X74ZW4SP.mjs → chunk-YTIAXTQR.mjs} +2 -2
- package/out/__chunks__/{chunk-RB6NB2UN.mjs → chunk-YX7TMA3N.mjs} +2 -2
- package/out/__chunks__/{chunk-3WHS4QZZ.mjs → chunk-Z5AFLXOE.mjs} +2 -2
- package/out/__chunks__/{chunk-HKKKOC5V.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-3D7VMEVL.mjs → chunk-ZTUC7FCA.mjs} +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/index.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.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/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/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-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-62XXIXTE.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs +0 -2
- package/out/__chunks__/chunk-65L5EBBL.mjs.map +0 -7
- package/out/__chunks__/chunk-7YKKU6UM.mjs +0 -2
- package/out/__chunks__/chunk-B6KBOAFE.mjs +0 -2
- package/out/__chunks__/chunk-BJEPGGTR.mjs +0 -2
- package/out/__chunks__/chunk-CUTW32BD.mjs +0 -2
- package/out/__chunks__/chunk-GB2K574L.mjs.map +0 -7
- package/out/__chunks__/chunk-GV2STE7J.mjs +0 -2
- package/out/__chunks__/chunk-GV2STE7J.mjs.map +0 -7
- package/out/__chunks__/chunk-GWUYYSBN.mjs +0 -2
- package/out/__chunks__/chunk-HMHP5DPL.mjs.map +0 -7
- package/out/__chunks__/chunk-I6WKWOAM.mjs +0 -2
- package/out/__chunks__/chunk-I7L5LOHR.mjs +0 -2
- package/out/__chunks__/chunk-IDJ7NXCI.mjs +0 -2
- package/out/__chunks__/chunk-IQ6JB5QS.mjs +0 -2
- package/out/__chunks__/chunk-IQ6JB5QS.mjs.map +0 -7
- package/out/__chunks__/chunk-IR4Y2GE5.mjs +0 -2
- package/out/__chunks__/chunk-K7FDXJZD.mjs +0 -2
- package/out/__chunks__/chunk-KRJLYFVI.mjs +0 -2
- package/out/__chunks__/chunk-MFUQ5NBC.mjs +0 -2
- package/out/__chunks__/chunk-N4XWVRRE.mjs +0 -2
- package/out/__chunks__/chunk-N4XWVRRE.mjs.map +0 -7
- package/out/__chunks__/chunk-NBQ7F24V.mjs +0 -2
- package/out/__chunks__/chunk-NIP6EFXI.mjs +0 -2
- package/out/__chunks__/chunk-NWQY6WSD.mjs +0 -2
- package/out/__chunks__/chunk-OTJAWUCX.mjs +0 -2
- package/out/__chunks__/chunk-OTJAWUCX.mjs.map +0 -7
- package/out/__chunks__/chunk-OXMMRCSH.mjs +0 -2
- package/out/__chunks__/chunk-P72TQUGN.mjs +0 -2
- package/out/__chunks__/chunk-P72TQUGN.mjs.map +0 -7
- package/out/__chunks__/chunk-PBFDXHTQ.mjs +0 -2
- package/out/__chunks__/chunk-PBFDXHTQ.mjs.map +0 -7
- package/out/__chunks__/chunk-PLMCHSS6.mjs +0 -2
- package/out/__chunks__/chunk-SAAOQW7P.mjs +0 -2
- package/out/__chunks__/chunk-SAAOQW7P.mjs.map +0 -7
- package/out/__chunks__/chunk-SJN2CPGB.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs +0 -2
- package/out/__chunks__/chunk-TQA3JDNV.mjs.map +0 -7
- package/out/__chunks__/chunk-WJQVMI33.mjs +0 -2
- package/out/__chunks__/chunk-WKPW72IW.mjs +0 -2
- package/out/__chunks__/chunk-X5QIDX7Z.mjs +0 -2
- package/out/__chunks__/chunk-YFUI3MRL.mjs +0 -2
- package/out/__chunks__/chunk-ZEUNADU7.mjs +0 -2
- package/out/__chunks__/chunk-ZNSKART2.mjs +0 -2
- package/out/__chunks__/chunk-ZNSKART2.mjs.map +0 -7
- 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-ZZNPJF24.mjs +0 -2
- /package/out/__chunks__/{chunk-2FU37PY5.mjs.map → chunk-2K2QZVBC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I4QHHCK6.mjs.map → chunk-2NF5HX3H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GY6MHIOO.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-ZXHMD677.mjs.map → chunk-3OEO7IVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LDTECGMM.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-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-3TJTXI66.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-FRIE2JPN.mjs.map → chunk-67JAXZGA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BZQSEPTC.mjs.map → chunk-6CUDZR72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OF4WULEW.mjs.map → chunk-6ME6A43J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CUTW32BD.mjs.map → chunk-6OIZTWJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GR362QNP.mjs.map → chunk-74JXPSSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JIBYUZL4.mjs.map → chunk-775THAIS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-62XXIXTE.mjs.map → chunk-7GZRWUJQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XADBXKX5.mjs.map → chunk-7QYO4UOP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I6WKWOAM.mjs.map → chunk-7UJCMFKV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ST4KZLT.mjs.map → chunk-7XASUTI2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BUAVB6CL.mjs.map → chunk-ANIJIRAY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5YDUSQUN.mjs.map → chunk-BCODBYYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IDJ7NXCI.mjs.map → chunk-BMSWZIEX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CECXI5ZJ.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-NWQY6WSD.mjs.map → chunk-DMF2DF5I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WKPW72IW.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-PNVMS2VO.mjs.map → chunk-ET5L4CEA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KRJLYFVI.mjs.map → chunk-EUBOWXIH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B6KBOAFE.mjs.map → chunk-FE5FK7I6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X6SYH5RO.mjs.map → chunk-FULNMU6J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CFJZFKIS.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-BJEPGGTR.mjs.map → chunk-HAPHEGVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EFD2PMLA.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-X5QIDX7Z.mjs.map → chunk-IE4SA26O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IR4Y2GE5.mjs.map → chunk-IHU6TBZQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YNHWN4KZ.mjs.map → chunk-JDLVFGXF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GZL6GF6Z.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-K7FDXJZD.mjs.map → chunk-K3VVHPG3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSKOWAZU.mjs.map → chunk-KHBRO4FY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C3LAZHGD.mjs.map → chunk-MBBXTAA3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZXNJFXKB.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-E5RLJTLP.mjs.map → chunk-O3YM7WCC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KD2K7HNK.mjs.map → chunk-O7KFAU3B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EYUQF6VD.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-JSTWLAYX.mjs.map → chunk-OU5Y3UTY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LWCNB4VP.mjs.map → chunk-OXC2IURR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7YKKU6UM.mjs.map → chunk-OYQAXY6H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GWUYYSBN.mjs.map → chunk-PDKESLKC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2JGSMQ3T.mjs.map → chunk-PT2OF4QJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F6QODHDC.mjs.map → chunk-QJZ5YIXI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3BVKYYHT.mjs.map → chunk-R3U4ONSV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QEE4T6UM.mjs.map → chunk-RCNZOLEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LYNRBQNO.mjs.map → chunk-RL2G66LY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I7L5LOHR.mjs.map → chunk-SKNUG6M5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SK2W4LXI.mjs.map → chunk-SUHXBGYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WOZIHP5Q.mjs.map → chunk-SV4C4UPN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZBJRLPCR.mjs.map → chunk-SWZ5LDC3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YFUI3MRL.mjs.map → chunk-TFCXKUX5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UPHBWFSY.mjs.map → chunk-TFDVHULP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UWGZQ6WZ.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-6IDZ52FJ.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-CANC2FCH.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-JVI373HI.mjs.map → chunk-VVZ2I6CL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SJN2CPGB.mjs.map → chunk-W37M2LIA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S22V4GGF.mjs.map → chunk-WK4PPAAJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OXMMRCSH.mjs.map → chunk-WQZKREPI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ARY5QEDY.mjs.map → chunk-XA3AGZCX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HJGZQFKX.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-LZPMMMJZ.mjs.map → chunk-YHNOFYGM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X74ZW4SP.mjs.map → chunk-YTIAXTQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RB6NB2UN.mjs.map → chunk-YX7TMA3N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3WHS4QZZ.mjs.map → chunk-Z5AFLXOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HKKKOC5V.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-3D7VMEVL.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,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
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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 { IBaseTransactionParams } from 'types/transaction-list-item.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 extends IBaseTransactionParams {\n transaction: ServerTransactionType;\n isPending?: boolean;\n profileImages?: Record<string, string>;\n}\n\nexport const mapTransactionToListItem = ({\n transaction,\n address,\n explorerAddress,\n egldLabel,\n isPending = false\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": "+RAkBO,IAAMA,EAA2B,CAAC,CACvC,YAAAC,EACA,QAAAC,EACA,gBAAAC,EACA,UAAAC,EACA,UAAAC,EAAY,EACd,IAAiE,CAC/D,GAAM,CAAE,SAAAC,EAAU,eAAAC,CAAe,EAAIC,EAAgBP,CAAW,EAC1DQ,EAAwBP,IAAYI,EAEpCI,EAASC,EAAqB,CAClC,YAAAV,EACA,mBAAoBC,EACpB,UAAAE,EACA,UAAAC,CACF,CAAC,EAEKO,EAAoBC,EAAqB,CAC7C,eAAgBP,IAAaJ,EAC7B,YAAAD,EACA,UAAAG,CACF,CAAC,EAEKU,EAAOb,EAAY,gBAAkBA,EAAY,OA4BvD,MA1BkD,CAChD,MAAOc,EAAoB,CACzB,GAAGd,EACH,kBAAAW,EACA,iBAAkBP,EAClB,OAAQJ,EAAY,MACtB,CAAC,EACD,WAAYQ,EAAwBR,EAAY,OAASK,EACzD,gBAAiBG,EACbR,EAAY,cAAc,SAAWA,EAAY,cAAc,QAC/DM,GAAgB,SAAWA,GAAgB,QAC/C,eAAgBE,EAAwB,OAAS,KACjD,OAAAC,EACA,OAAQM,EAAqB,CAC3B,kBAAAJ,EACA,sBAAAH,CACF,CAAC,EACD,KAAAK,EACA,OAAQb,EAAY,OACpB,UAAWA,EAAY,UACvB,KAAMgB,EAAgB,CACpB,gBAAAd,EACA,GAAIe,EAAmB,mBAAmBJ,CAAI,CAChD,CAAC,CACH,CAGF",
|
|
6
|
-
"names": ["mapTransactionToListItem", "transaction", "address", "explorerAddress", "egldLabel", "isPending", "receiver", "receiverAssets", "getReceiverData", "isIncomingTransaction", "action", "getTransactionAction", "transactionAssets", "getTransactionAssets", "hash", "getTransactionAsset", "getTransactionAmount", "getExplorerLink", "explorerUrlBuilder"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-AJC3F2YT.mjs";import{b as n}from"./chunk-DGMI66QS.mjs";import{j as s}from"./chunk-65L5EBBL.mjs";var l=({toastId:a,address:o,status:e,transactions:t,transactionsDisplayInfo:i,startTime:c,endTime:T})=>{let m=t.some(f=>s(f.status)),u=t[0]?.action?.name,p=n({address:o,sender:t[0]?.interactor??"",toastId:a,status:e,transactionsDisplayInfo:i,txActionName:u}),S=r(t);return{toastDataState:p,processedTransactionsStatus:S,transactionProgressState:m?{endTime:T,startTime:c}:null,toastId:a,transactions:t}};export{l as a};
|
|
2
|
-
//# sourceMappingURL=chunk-3MW2H273.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/ToastManager/helpers/createTransactionToast.ts"],
|
|
4
|
-
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { getIsTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { TransactionsDisplayInfoType } from 'types/transactions.types';\nimport { getToastDataStateByStatus } from './getToastDataStateByStatus';\nimport { getToastTransactionsStatus } from './getToastTransactionsStatus';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateTransactionToastParamsType {\n toastId: string;\n address: string;\n status: TransactionServerStatusesEnum | TransactionBatchStatusesEnum;\n transactions: ITransactionListItem[];\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n explorerAddress: string;\n startTime: number;\n endTime: number;\n}\n\nexport const createTransactionToast = ({\n toastId,\n address,\n status,\n transactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n}: CreateTransactionToastParamsType): ITransactionToast => {\n const hasPendingTransaction = transactions.some((tx) =>\n getIsTransactionPending(\n tx.status as TransactionServerStatusesEnum | TransactionBatchStatusesEnum\n )\n );\n // Extracts action name from the first transaction\n const txActionName = transactions[0]?.action?.name;\n\n const toastDataState = getToastDataStateByStatus({\n address,\n sender: transactions[0]?.interactor ?? '',\n toastId,\n status,\n transactionsDisplayInfo,\n txActionName\n });\n\n const processedTransactionsStatus = getToastTransactionsStatus(transactions);\n\n const transactionProgressState = hasPendingTransaction\n ? {\n endTime,\n startTime\n }\n : null;\n\n return {\n toastDataState,\n processedTransactionsStatus,\n transactionProgressState,\n toastId,\n transactions\n };\n};\n"],
|
|
5
|
-
"mappings": "2HAqBO,IAAMA,EAAyB,CAAC,CACrC,QAAAC,EACA,QAAAC,EACA,OAAAC,EACA,aAAAC,EACA,wBAAAC,EACA,UAAAC,EACA,QAAAC,CACF,IAA2D,CACzD,IAAMC,EAAwBJ,EAAa,KAAMK,GAC/CC,EACED,EAAG,MACL,CACF,EAEME,EAAeP,EAAa,CAAC,GAAG,QAAQ,KAExCQ,EAAiBC,EAA0B,CAC/C,QAAAX,EACA,OAAQE,EAAa,CAAC,GAAG,YAAc,GACvC,QAAAH,EACA,OAAAE,EACA,wBAAAE,EACA,aAAAM,CACF,CAAC,EAEKG,EAA8BC,EAA2BX,CAAY,EAS3E,MAAO,CACL,eAAAQ,EACA,4BAAAE,EACA,yBAV+BN,EAC7B,CACE,QAAAD,EACA,UAAAD,CACF,EACA,KAMF,QAAAL,EACA,aAAAG,CACF,CACF",
|
|
6
|
-
"names": ["createTransactionToast", "toastId", "address", "status", "transactions", "transactionsDisplayInfo", "startTime", "endTime", "hasPendingTransaction", "tx", "getIsTransactionPending", "txActionName", "toastDataState", "getToastDataStateByStatus", "processedTransactionsStatus", "getToastTransactionsStatus"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=["sent"],a=["success"],e=["fail","cancelled","timedOut"],s=["invalid"],r=["timedOut"],c=["pending"],u=["success"],i=["fail","invalid"],o=["not executed"];function g(n){return n!=null&&(S(n)||d(n))}function I(n){return n!=null&&(T(n)||p(n))}function O(n){return n!=null&&(l(n)||x(n))}function F(n){return n!=null&&(m(n)||h(n))}function P(n){return n!=null&&E(n)}function S(n){return n!=null&&t.includes(n)}function T(n){return n!=null&&a.includes(n)}function l(n){return n!=null&&e.includes(n)}function m(n){return n!=null&&s.includes(n)}function E(n){return n!=null&&r.includes(n)}function d(n){return n!=null&&c.includes(n)}function p(n){return n!=null&&u.includes(n)}function x(n){return n!=null&&i.includes(n)}function h(n){return n!=null&&o.includes(n)}export{t as a,a as b,e as c,s as d,r as e,c as f,u as g,i as h,o as i,g as j,I as k,O as l,F as m,P as n,S as o,T as p,l as q,m as r,E as s,d as t,p as u,x as v,h as w};
|
|
2
|
-
//# sourceMappingURL=chunk-65L5EBBL.mjs.map
|