@multiversx/sdk-dapp 5.2.9 → 5.3.0-alpha.1
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-25G6565D.mjs +2 -0
- package/out/__chunks__/{chunk-D2CVYS4M.mjs → chunk-2UPWFRCA.mjs} +2 -2
- package/out/__chunks__/{chunk-ERE5BVRC.mjs → chunk-2WAT3RZ3.mjs} +2 -2
- package/out/__chunks__/{chunk-ZVFOG6LB.mjs → chunk-2ZW4LVVR.mjs} +2 -2
- package/out/__chunks__/{chunk-RN6VVJPM.mjs → chunk-32DICVUK.mjs} +2 -2
- package/out/__chunks__/{chunk-UOD2UO27.mjs → chunk-4MWQKLVG.mjs} +2 -2
- package/out/__chunks__/{chunk-7HH5AHJM.mjs → chunk-4ZAZCOJD.mjs} +2 -2
- package/out/__chunks__/{chunk-DMI2O4KV.mjs → chunk-5DUIQBPR.mjs} +2 -2
- package/out/__chunks__/chunk-5F53ZQDO.mjs +2 -0
- package/out/__chunks__/{chunk-FUFSHVR2.mjs → chunk-5KY3OIFD.mjs} +2 -2
- package/out/__chunks__/chunk-5VQOOZQV.mjs +2 -0
- package/out/__chunks__/{chunk-SORO3SMC.mjs → chunk-5WR632LR.mjs} +2 -2
- package/out/__chunks__/{chunk-52A7HOT5.mjs → chunk-643FDBLR.mjs} +2 -2
- package/out/__chunks__/chunk-6C26F7JZ.mjs +2 -0
- package/out/__chunks__/chunk-6FRXGPOE.mjs +2 -0
- package/out/__chunks__/{chunk-GGXK3235.mjs → chunk-6VPMVY56.mjs} +2 -2
- package/out/__chunks__/chunk-73E7X7HK.mjs +2 -0
- package/out/__chunks__/chunk-7BZQYV6D.mjs +2 -0
- package/out/__chunks__/{chunk-2MRPKTZ3.mjs → chunk-7CELSV4S.mjs} +2 -2
- package/out/__chunks__/{chunk-S2PH3P53.mjs → chunk-7UUDW64Y.mjs} +2 -2
- package/out/__chunks__/{chunk-42P7WSDZ.mjs → chunk-A63UAQRB.mjs} +2 -2
- package/out/__chunks__/{chunk-SBTMAYW7.mjs → chunk-AGBY3WIQ.mjs} +2 -2
- package/out/__chunks__/{chunk-BPOW3DAB.mjs → chunk-ALBBGYHS.mjs} +2 -2
- package/out/__chunks__/{chunk-MHF7JB3Y.mjs → chunk-ALT4OKHK.mjs} +2 -2
- package/out/__chunks__/{chunk-FUCSXJMR.mjs → chunk-AN4TQZVZ.mjs} +2 -2
- package/out/__chunks__/{chunk-M42UYGCH.mjs → chunk-AVEMKF6Z.mjs} +2 -2
- package/out/__chunks__/{chunk-PJBXLDBG.mjs → chunk-B5YOJH7H.mjs} +2 -2
- package/out/__chunks__/{chunk-6AC63JD5.mjs → chunk-BC5MT6WS.mjs} +2 -2
- package/out/__chunks__/chunk-BEXC6NB5.mjs +2 -0
- package/out/__chunks__/{chunk-5QUMAPUC.mjs.map → chunk-BEXC6NB5.mjs.map} +2 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs +2 -0
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +7 -0
- package/out/__chunks__/{chunk-HX72KRC4.mjs → chunk-DRYIE3UL.mjs} +2 -2
- package/out/__chunks__/chunk-E5OMXZT7.mjs +2 -0
- package/out/__chunks__/{chunk-5AVHNKDZ.mjs → chunk-EAXWH64Z.mjs} +2 -2
- package/out/__chunks__/{chunk-XQESHZ2X.mjs → chunk-ELCWJYQ7.mjs} +2 -2
- package/out/__chunks__/{chunk-DSPRERV6.mjs → chunk-ET6MYYOM.mjs} +2 -2
- package/out/__chunks__/{chunk-XEGTQTFK.mjs → chunk-ETH6P454.mjs} +2 -2
- package/out/__chunks__/{chunk-CCBYPSXO.mjs → chunk-FFGJMR4Q.mjs} +2 -2
- package/out/__chunks__/chunk-G43Z243B.mjs +2 -0
- package/out/__chunks__/{chunk-GWFOJPML.mjs.map → chunk-G43Z243B.mjs.map} +1 -1
- package/out/__chunks__/{chunk-76YR7YQD.mjs → chunk-GDMANS7S.mjs} +2 -2
- package/out/__chunks__/{chunk-NJWQNAUZ.mjs → chunk-GJ64B4SS.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs → chunk-GLXG5BES.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs.map → chunk-GLXG5BES.mjs.map} +3 -3
- package/out/__chunks__/{chunk-7KWGOZI4.mjs → chunk-GPUXJWA3.mjs} +2 -2
- package/out/__chunks__/{chunk-TLSLNBIX.mjs → chunk-GWXW3E7L.mjs} +2 -2
- package/out/__chunks__/{chunk-F24X6WMA.mjs → chunk-H7YY4BCM.mjs} +2 -2
- package/out/__chunks__/{chunk-KIBWVS7T.mjs → chunk-HBZ2RP7A.mjs} +2 -2
- package/out/__chunks__/chunk-HKVAAOC4.mjs +2 -0
- package/out/__chunks__/{chunk-IGA3PYLZ.mjs → chunk-I2CW2O7M.mjs} +2 -2
- package/out/__chunks__/chunk-ILR4U7Q3.mjs +2 -0
- package/out/__chunks__/{chunk-LJVBVKNW.mjs → chunk-IXO75QXR.mjs} +2 -2
- package/out/__chunks__/{chunk-SNZWFOV6.mjs → chunk-J6MUGECP.mjs} +2 -2
- package/out/__chunks__/chunk-J6MUGECP.mjs.map +7 -0
- package/out/__chunks__/chunk-JFIQXGJ5.mjs +2 -0
- package/out/__chunks__/{chunk-7D6YECRB.mjs → chunk-JHYKMKMK.mjs} +2 -2
- package/out/__chunks__/{chunk-QJ3Y35H5.mjs → chunk-JKFZERMM.mjs} +2 -2
- package/out/__chunks__/chunk-JM3JEGRV.mjs +2 -0
- package/out/__chunks__/chunk-JOPPHD4R.mjs +2 -0
- package/out/__chunks__/{chunk-ZGMIL4MG.mjs → chunk-JSSRK6RP.mjs} +2 -2
- package/out/__chunks__/{chunk-FLOLQ4JL.mjs → chunk-KTQD4DTE.mjs} +2 -2
- package/out/__chunks__/{chunk-IPVALLAK.mjs → chunk-KZUPCFEG.mjs} +2 -2
- package/out/__chunks__/{chunk-7Y3FYVL4.mjs → chunk-MNIS55JL.mjs} +2 -2
- package/out/__chunks__/chunk-NK5Y3RLY.mjs +2 -0
- package/out/__chunks__/chunk-NK5Y3RLY.mjs.map +7 -0
- package/out/__chunks__/{chunk-7W4P5SLS.mjs → chunk-NO4FZ4M3.mjs} +2 -2
- package/out/__chunks__/{chunk-7B7XIPV2.mjs → chunk-NRXYSTRW.mjs} +1 -1
- package/out/__chunks__/{chunk-7B7XIPV2.mjs.map → chunk-NRXYSTRW.mjs.map} +1 -1
- package/out/__chunks__/{chunk-BC4ZQOAE.mjs → chunk-NTOY6GTP.mjs} +2 -2
- package/out/__chunks__/{chunk-ACMDU3QF.mjs → chunk-O462QL7Q.mjs} +2 -2
- package/out/__chunks__/{chunk-TIJEFUI3.mjs → chunk-OI2AXS22.mjs} +2 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs +2 -0
- package/out/__chunks__/chunk-OLOCTHIE.mjs.map +7 -0
- package/out/__chunks__/{chunk-KWE3DU6Z.mjs → chunk-OLPFN3HZ.mjs} +2 -2
- package/out/__chunks__/{chunk-MWVWSB7G.mjs → chunk-PCGP4VVW.mjs} +2 -2
- package/out/__chunks__/{chunk-HFY2UB7E.mjs → chunk-PUCCTEN7.mjs} +2 -2
- package/out/__chunks__/{chunk-LUG3RRVN.mjs → chunk-QJ6YLLBK.mjs} +2 -2
- package/out/__chunks__/{chunk-Q3DHKVPY.mjs → chunk-QMFEYMZI.mjs} +2 -2
- package/out/__chunks__/chunk-QZDVKNF4.mjs +2 -0
- package/out/__chunks__/{chunk-KBTIQKEL.mjs → chunk-RXE5QIE3.mjs} +2 -2
- package/out/__chunks__/chunk-SJLTVGKD.mjs +2 -0
- package/out/__chunks__/{chunk-YHLBPZNN.mjs → chunk-SLG55PDO.mjs} +2 -2
- package/out/__chunks__/{chunk-GRQOTJQA.mjs → chunk-T3RXRYP5.mjs} +2 -2
- package/out/__chunks__/{chunk-QQIPTRF4.mjs → chunk-TCDMXBPB.mjs} +2 -2
- package/out/__chunks__/chunk-TCDMXBPB.mjs.map +7 -0
- package/out/__chunks__/{chunk-T6GTSLQD.mjs → chunk-TKIYJDS2.mjs} +2 -2
- package/out/__chunks__/chunk-TT7J5V3M.mjs +2 -0
- package/out/__chunks__/{chunk-HF4QPAWD.mjs.map → chunk-TT7J5V3M.mjs.map} +3 -3
- package/out/__chunks__/{chunk-U2TDA5B2.mjs → chunk-UF2Y4P6U.mjs} +2 -2
- package/out/__chunks__/{chunk-LWRBWWET.mjs → chunk-URJQWHBM.mjs} +2 -2
- package/out/__chunks__/{chunk-4SNEBLCL.mjs → chunk-UUPS4KLW.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs → chunk-UXBKGTA5.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs.map → chunk-UXBKGTA5.mjs.map} +1 -1
- package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-UZTMRUVT.mjs} +2 -2
- package/out/__chunks__/{chunk-YB5TSLJV.mjs → chunk-V322LMVG.mjs} +2 -2
- package/out/__chunks__/{chunk-GHUX5LY3.mjs → chunk-V3GRSQIB.mjs} +2 -2
- package/out/__chunks__/{chunk-PIFEYU34.mjs → chunk-VDAYN2HT.mjs} +2 -2
- package/out/__chunks__/{chunk-DVWQ3NWJ.mjs → chunk-VKDH4PYW.mjs} +2 -2
- package/out/__chunks__/{chunk-G5TDTAQH.mjs → chunk-VY62CH5W.mjs} +2 -2
- package/out/__chunks__/chunk-WJJTA23D.mjs +2 -0
- package/out/__chunks__/{chunk-TDUG36NZ.mjs → chunk-X3AX4PFE.mjs} +2 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +2 -0
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +2 -0
- package/out/__chunks__/{chunk-SP4B7UYK.mjs → chunk-YYVGE2ZU.mjs} +2 -2
- package/out/__chunks__/{chunk-L2GQHTCM.mjs → chunk-ZAY5O7DE.mjs} +2 -2
- package/out/__chunks__/{chunk-ALOBJ2YK.mjs → chunk-ZG6EULI2.mjs} +2 -2
- package/out/__chunks__/{chunk-QNBPNTH7.mjs → chunk-ZJM5FGLA.mjs} +2 -2
- package/out/__chunks__/{chunk-LRZTZ4MT.mjs → chunk-ZM77AGP5.mjs} +2 -2
- package/out/__chunks__/chunk-ZM77AGP5.mjs.map +7 -0
- package/out/apiCalls/account/getAccountFromApi.cjs +59 -1
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +51 -1
- package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +22 -1
- package/out/apiCalls/account/index.cjs.map +2 -2
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +34 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +64 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +61 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
- package/out/apiCalls/configuration/getServerConfiguration.cjs +65 -1
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
- package/out/apiCalls/configuration/index.cjs +24 -1
- package/out/apiCalls/configuration/index.cjs.map +2 -2
- package/out/apiCalls/economics/getEconomics.cjs +54 -1
- package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
- package/out/apiCalls/endpoints.cjs +100 -1
- package/out/apiCalls/endpoints.cjs.map +2 -2
- package/out/apiCalls/index.cjs +32 -1
- package/out/apiCalls/index.cjs.map +2 -2
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +42 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +72 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +74 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +22 -1
- package/out/apiCalls/tokens/index.cjs.map +2 -2
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +58 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +51 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +76 -1
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +47 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +29 -1
- package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
- package/out/apiCalls/utils/axiosInstance.cjs +105 -1
- package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs +30 -1
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/utils/index.cjs +26 -1
- package/out/apiCalls/utils/index.cjs.map +2 -2
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +49 -1
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
- package/out/apiCalls/websocket/index.cjs +22 -1
- package/out/apiCalls/websocket/index.cjs.map +2 -2
- package/out/constants/UITags.enum.cjs +37 -1
- package/out/constants/UITags.enum.cjs.map +2 -2
- package/out/constants/browser.constants.cjs +34 -1
- package/out/constants/browser.constants.cjs.map +2 -2
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +40 -1
- package/out/constants/index.cjs.map +2 -2
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +131 -1
- package/out/constants/ledger.constants.cjs.map +2 -2
- package/out/constants/mvx.constants.cjs +58 -1
- package/out/constants/mvx.constants.cjs.map +2 -2
- package/out/constants/network.constants.cjs +113 -1
- package/out/constants/network.constants.cjs.map +2 -2
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/placeholders.constants.cjs +34 -1
- package/out/constants/placeholders.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.cjs +41 -1
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/storage.constants.cjs +43 -1
- package/out/constants/storage.constants.cjs.map +2 -2
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +64 -1
- package/out/constants/transactions.constants.cjs.map +2 -2
- package/out/constants/walletConnect.constants.cjs +32 -1
- package/out/constants/walletConnect.constants.cjs.map +2 -2
- package/out/constants/webWalletProvider.constants.cjs +46 -1
- package/out/constants/webWalletProvider.constants.cjs.map +2 -2
- package/out/constants/websocket.constants.cjs +39 -1
- package/out/constants/websocket.constants.cjs.map +2 -2
- package/out/constants/window.constants.cjs +31 -1
- package/out/constants/window.constants.cjs.map +3 -3
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +57 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/index.cjs +22 -1
- package/out/controllers/FormatAmountController/index.cjs.map +2 -2
- package/out/controllers/FormatAmountController/types.cjs +16 -1
- package/out/controllers/FormatAmountController/types.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +34 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +22 -1
- package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +133 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +22 -1
- package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +16 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
- package/out/controllers/index.cjs +22 -1
- package/out/controllers/index.cjs.map +2 -2
- package/out/index.cjs +32 -1
- package/out/index.cjs.map +2 -2
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +46 -1
- package/out/lib/sdkCore.cjs.map +2 -2
- package/out/lib/sdkDappUi.cjs +53 -1
- package/out/lib/sdkDappUi.cjs.map +2 -2
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +44 -1
- package/out/lib/sdkDappUtils.cjs.map +2 -2
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +33 -1
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
- package/out/lib/sdkWebWalletIframeProvider.cjs +28 -1
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
- package/out/lib/sdkWebviewProvider.cjs +28 -1
- package/out/lib/sdkWebviewProvider.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs +167 -1
- package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +56 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +139 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +24 -1
- package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +22 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +35 -1
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.cjs +203 -1
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +125 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +71 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +88 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +66 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +6 -0
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +40 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/index.cjs +22 -1
- package/out/managers/ToastManager/index.cjs.map +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.cjs +22 -1
- package/out/managers/ToastManager/types/index.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.cjs +47 -1
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.cjs +229 -1
- package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +16 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +50 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +52 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +53 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +30 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +47 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +54 -1
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
- package/out/managers/TransactionManager/index.cjs +22 -1
- package/out/managers/TransactionManager/index.cjs.map +2 -2
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +165 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +36 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.cjs +22 -1
- package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +24 -1
- package/out/managers/index.cjs.map +2 -2
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +214 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs +24 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +22 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +36 -1
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +124 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +58 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs +24 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +32 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +67 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs +22 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +138 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +36 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +102 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +78 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs +22 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.cjs +34 -1
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +32 -1
- package/out/methods/account/getAccount.cjs.map +2 -2
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +32 -1
- package/out/methods/account/getAccountInfo.cjs.map +2 -2
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +32 -1
- package/out/methods/account/getAddress.cjs.map +2 -2
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +32 -1
- package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +55 -1
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +61 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +2 -2
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +136 -1
- package/out/methods/initApp/initApp.cjs.map +2 -2
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.cjs +16 -1
- package/out/methods/initApp/initApp.types.cjs.map +3 -3
- package/out/methods/initApp/initApp.types.d.ts +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +126 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +2 -2
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs +37 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs.map +2 -2
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +36 -1
- package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +32 -1
- package/out/methods/network/getEgldLabel.cjs.map +2 -2
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +32 -1
- package/out/methods/network/getExplorerAddress.cjs.map +2 -2
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +32 -1
- package/out/methods/network/getNetworkConfig.cjs.map +2 -2
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +159 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +43 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +40 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +22 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +67 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +37 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +117 -1
- package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +32 -1
- package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +112 -1
- package/out/providers/DappProvider/DappProvider.cjs.map +2 -2
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +36 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +46 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +66 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +55 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +121 -1
- package/out/providers/DappProvider/helpers/login/login.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +63 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +78 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +32 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +42 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +60 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +58 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.cjs +22 -1
- package/out/providers/DappProvider/index.cjs.map +2 -2
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +127 -1
- package/out/providers/ProviderFactory.cjs.map +2 -2
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +38 -1
- package/out/providers/helpers/accountProvider.cjs.map +2 -2
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +37 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +48 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
- package/out/providers/helpers/emptyProvider.cjs +106 -1
- package/out/providers/helpers/emptyProvider.cjs.map +2 -2
- package/out/providers/helpers/restoreProvider.cjs +60 -1
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +31 -1
- package/out/providers/index.cjs.map +2 -2
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +129 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +106 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +96 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +118 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +16 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +181 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +124 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +68 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +47 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +80 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +82 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +32 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +65 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +61 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +46 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +280 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +48 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +97 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +41 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +2 -2
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.cjs +28 -1
- package/out/providers/strategies/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +83 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +2 -2
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +84 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +180 -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/checkIsValidSender.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +93 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +92 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +43 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +56 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +35 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +36 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +126 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +118 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +86 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.cjs +30 -1
- package/out/providers/strategies/index.cjs.map +2 -2
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +37 -1
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/react/account/useGetAccount.cjs +32 -1
- package/out/react/account/useGetAccount.cjs.map +2 -2
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +32 -1
- package/out/react/account/useGetAccountInfo.cjs.map +2 -2
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +33 -1
- package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +34 -1
- package/out/react/account/useGetLatestNonce.cjs.map +2 -2
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +22 -1
- package/out/react/index.cjs.map +2 -2
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +35 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +32 -1
- package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +29 -1
- package/out/react/store/createBoundedStore.cjs.map +2 -2
- package/out/react/store/getReactStore.cjs +30 -1
- package/out/react/store/getReactStore.cjs.map +2 -2
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +32 -1
- package/out/react/store/useSelector.cjs.map +2 -2
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +33 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +35 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +33 -1
- package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +22 -1
- package/out/services/index.cjs.map +2 -2
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +62 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +72 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +100 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/index.cjs +26 -1
- package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.cjs +22 -1
- package/out/services/nativeAuth/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +41 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +42 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +51 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.cjs +24 -1
- package/out/services/nativeAuth/methods/index.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +81 -1
- package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +16 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
- package/out/store/actions/account/accountActions.cjs +130 -1
- package/out/store/actions/account/accountActions.cjs.map +2 -2
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.cjs +22 -1
- package/out/store/actions/account/index.cjs.map +2 -2
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +73 -1
- package/out/store/actions/cache/cacheActions.cjs.map +2 -2
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.cjs +22 -1
- package/out/store/actions/cache/index.cjs.map +2 -2
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +78 -1
- package/out/store/actions/config/configActions.cjs.map +2 -2
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.cjs +22 -1
- package/out/store/actions/config/index.cjs.map +2 -2
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.cjs +34 -1
- package/out/store/actions/index.cjs.map +2 -2
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +169 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.cjs +22 -1
- package/out/store/actions/network/index.cjs.map +2 -2
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +70 -1
- package/out/store/actions/network/initializeNetwork.cjs.map +2 -2
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.cjs +47 -1
- package/out/store/actions/network/networkActions.cjs.map +2 -2
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.cjs +22 -1
- package/out/store/actions/sharedActions/index.cjs.map +2 -2
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +55 -1
- package/out/store/actions/sharedActions/sharedActions.cjs.map +2 -2
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.cjs +22 -1
- package/out/store/actions/toasts/index.cjs.map +2 -2
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +195 -1
- package/out/store/actions/toasts/toastsActions.cjs.map +2 -2
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +144 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +158 -1
- 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.cjs +22 -1
- package/out/store/actions/ui/index.cjs.map +2 -2
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +41 -1
- package/out/store/actions/ui/uiActions.cjs.map +2 -2
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.cjs +31 -1
- package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +22 -1
- package/out/store/middleware/index.cjs.map +2 -2
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +78 -1
- package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +60 -1
- package/out/store/selectors/accountSelectors.cjs.map +2 -2
- package/out/store/selectors/cacheSelector.cjs +31 -1
- package/out/store/selectors/cacheSelector.cjs.map +2 -2
- package/out/store/selectors/configSelectors.cjs +36 -1
- package/out/store/selectors/configSelectors.cjs.map +2 -2
- package/out/store/selectors/index.cjs +32 -1
- package/out/store/selectors/index.cjs.map +2 -2
- package/out/store/selectors/loginInfoSelectors.cjs +43 -1
- package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.cjs +51 -1
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/storeSelector.cjs +28 -1
- package/out/store/selectors/storeSelector.cjs.map +2 -2
- package/out/store/selectors/toastsSelectors.cjs +34 -1
- package/out/store/selectors/toastsSelectors.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.cjs +150 -1
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/selectors/uiSelectors.cjs +31 -1
- package/out/store/selectors/uiSelectors.cjs.map +2 -2
- package/out/store/slices/account/account.types.cjs +16 -1
- package/out/store/slices/account/account.types.cjs.map +2 -2
- package/out/store/slices/account/accountSlice.cjs +43 -1
- package/out/store/slices/account/accountSlice.cjs.map +2 -2
- package/out/store/slices/account/emptyAccount.cjs +38 -1
- package/out/store/slices/account/emptyAccount.cjs.map +2 -2
- package/out/store/slices/account/index.cjs +28 -1
- package/out/store/slices/account/index.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.cjs +34 -1
- package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.types.cjs +16 -1
- package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
- package/out/store/slices/cache/index.cjs +28 -1
- package/out/store/slices/cache/index.cjs.map +2 -2
- package/out/store/slices/config/config.types.cjs +16 -1
- package/out/store/slices/config/config.types.cjs.map +2 -2
- package/out/store/slices/config/configSlice.cjs +37 -1
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/index.cjs +28 -1
- package/out/store/slices/config/index.cjs.map +2 -2
- package/out/store/slices/index.cjs +34 -1
- package/out/store/slices/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/index.cjs +28 -1
- package/out/store/slices/loginInfo/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfo.types.cjs +16 -1
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +40 -1
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/network/emptyNetwork.cjs +41 -1
- package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
- package/out/store/slices/network/index.cjs +28 -1
- package/out/store/slices/network/index.cjs.map +2 -2
- package/out/store/slices/network/network.types.cjs +16 -1
- package/out/store/slices/network/network.types.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.cjs +35 -1
- package/out/store/slices/network/networkSlice.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.types.cjs +16 -1
- package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
- package/out/store/slices/toast/index.cjs +28 -1
- package/out/store/slices/toast/index.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.cjs +37 -1
- package/out/store/slices/toast/toastSlice.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.types.cjs +16 -1
- package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
- package/out/store/slices/transactions/index.cjs +28 -1
- package/out/store/slices/transactions/index.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.cjs +34 -1
- package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.types.cjs +16 -1
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
- package/out/store/slices/ui/index.cjs +28 -1
- package/out/store/slices/ui/index.cjs.map +2 -2
- package/out/store/slices/ui/ui.types.cjs +16 -1
- package/out/store/slices/ui/ui.types.cjs.map +2 -2
- package/out/store/slices/ui/uiSlice.cjs +34 -1
- package/out/store/slices/ui/uiSlice.cjs.map +2 -2
- package/out/store/storage/inMemoryStorage.cjs +51 -1
- package/out/store/storage/inMemoryStorage.cjs.map +2 -2
- package/out/store/storage/index.cjs +24 -1
- package/out/store/storage/index.cjs.map +2 -2
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +29 -1
- package/out/store/storage/storageCallback.cjs.map +2 -2
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +85 -1
- package/out/store/store.cjs.map +2 -2
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +16 -1
- package/out/store/store.types.cjs.map +2 -2
- package/out/types/account.types.cjs +16 -1
- package/out/types/account.types.cjs.map +2 -2
- package/out/types/enums.types.cjs +119 -1
- package/out/types/enums.types.cjs.map +3 -3
- package/out/types/enums.types.d.ts +0 -7
- package/out/types/enums.types.mjs +1 -1
- package/out/types/index.cjs +34 -1
- package/out/types/index.cjs.map +2 -2
- package/out/types/index.mjs +1 -1
- package/out/types/login.types.cjs +16 -1
- package/out/types/login.types.cjs.map +2 -2
- package/out/types/manager.types.cjs +16 -1
- package/out/types/manager.types.cjs.map +2 -2
- package/out/types/network.types.cjs +16 -1
- package/out/types/network.types.cjs.map +2 -2
- package/out/types/provider.types.cjs +34 -1
- package/out/types/provider.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.cjs +154 -1
- package/out/types/serverTransactions.types.cjs.map +3 -3
- package/out/types/serverTransactions.types.d.ts +2 -2
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/subscriptions.type.cjs +33 -1
- package/out/types/subscriptions.type.cjs.map +2 -2
- package/out/types/suspiciousLink.types.cjs +16 -1
- package/out/types/suspiciousLink.types.cjs.map +2 -2
- package/out/types/theme.types.cjs +33 -1
- package/out/types/theme.types.cjs.map +2 -2
- package/out/types/tokens.types.cjs +39 -1
- package/out/types/tokens.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.cjs +114 -1
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transactions.types.cjs +34 -1
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/websocket.types.cjs +16 -1
- package/out/types/websocket.types.cjs.map +2 -2
- package/out/utils/ComponentFactory.cjs +50 -1
- package/out/utils/ComponentFactory.cjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +29 -1
- package/out/utils/account/fetchAccount.cjs.map +2 -2
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.cjs +28 -1
- package/out/utils/account/index.cjs.map +2 -2
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +80 -1
- package/out/utils/account/refreshAccount.cjs.map +2 -2
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +65 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +35 -1
- package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
- package/out/utils/asyncActions/index.cjs +22 -1
- package/out/utils/asyncActions/index.cjs.map +2 -2
- package/out/utils/asyncActions/sleep.cjs +35 -1
- package/out/utils/asyncActions/sleep.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestamp.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +32 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
- package/out/utils/dateTime/index.cjs +26 -1
- package/out/utils/dateTime/index.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.cjs +57 -1
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/decodePart.cjs +39 -1
- package/out/utils/decoders/decodePart.cjs.map +2 -2
- package/out/utils/decoders/index.cjs +30 -1
- package/out/utils/decoders/index.cjs.map +2 -2
- package/out/utils/decoders/isAscii.cjs +28 -1
- package/out/utils/decoders/isAscii.cjs.map +2 -2
- package/out/utils/decoders/isUtf8.cjs +35 -1
- package/out/utils/decoders/isUtf8.cjs.map +2 -2
- package/out/utils/decoders/stringContainsNumbers.cjs +28 -1
- package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
- package/out/utils/index.cjs +40 -1
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +22 -1
- package/out/utils/network/index.cjs.map +2 -2
- package/out/utils/network/setAxiosInterceptors.cjs +66 -1
- package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
- package/out/utils/operations/capitalize.cjs +28 -1
- package/out/utils/operations/capitalize.cjs.map +2 -2
- package/out/utils/operations/getUsdValue.cjs +45 -1
- package/out/utils/operations/getUsdValue.cjs.map +2 -2
- package/out/utils/operations/pluralize.cjs +28 -1
- package/out/utils/operations/pluralize.cjs.map +2 -2
- package/out/utils/operations/timeRemaining.cjs +109 -1
- package/out/utils/operations/timeRemaining.cjs.map +2 -2
- package/out/utils/operations/trimAmountDecimals.cjs +59 -1
- package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
- package/out/utils/retryMultipleTimes.cjs +44 -1
- package/out/utils/retryMultipleTimes.cjs.map +2 -2
- package/out/utils/transactions/explorerUrlBuilder.cjs +53 -1
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +46 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +110 -5
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +89 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +47 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +44 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +60 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +38 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +51 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +32 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs +24 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getExplorerLink.cjs +49 -1
- package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +46 -1
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +109 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +106 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +35 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +54 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +70 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +53 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +59 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +52 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +36 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +22 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +16 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +82 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +65 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +121 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +39 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +34 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +41 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +24 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs +87 -1
- package/out/utils/transactions/getScamFlag.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +50 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +39 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +63 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +52 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +35 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +38 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +36 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +112 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +58 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +74 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +62 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +90 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +65 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +49 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +115 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +80 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs +24 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +30 -1
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +42 -1
- package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
- package/out/utils/transactions/isGuardianTx.mjs +1 -1
- package/out/utils/validation/addressIsValid.cjs +39 -1
- package/out/utils/validation/addressIsValid.cjs.map +2 -2
- package/out/utils/validation/getIdentifierType.cjs +53 -1
- package/out/utils/validation/getIdentifierType.cjs.map +2 -2
- package/out/utils/validation/hex.cjs +35 -1
- package/out/utils/validation/hex.cjs.map +2 -2
- package/out/utils/validation/index.cjs +30 -1
- package/out/utils/validation/index.cjs.map +2 -2
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +95 -1
- package/out/utils/validation/isContract.cjs.map +2 -2
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.cjs +33 -1
- package/out/utils/validation/maxDecimals.cjs.map +2 -2
- package/out/utils/visual/index.cjs +22 -1
- package/out/utils/visual/index.cjs.map +2 -2
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +38 -1
- package/out/utils/visual/switchTheme.cjs.map +2 -2
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +33 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +3 -3
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/window/buildUrlParams.cjs +36 -1
- package/out/utils/window/buildUrlParams.cjs.map +2 -2
- package/out/utils/window/getIsAuthRoute.cjs +37 -1
- package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.cjs +43 -1
- package/out/utils/window/getIsInIframe.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +55 -1
- package/out/utils/window/getWindowLocation.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.cjs +43 -1
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +32 -1
- package/out/utils/window/index.cjs.map +2 -2
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +28 -1
- package/out/utils/window/isWindowAvailable.cjs.map +2 -2
- package/out/utils/window/matchPath.cjs +113 -1
- package/out/utils/window/matchPath.cjs.map +2 -2
- package/out/utils/window/sanitizeCallbackUrl.cjs +38 -1
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
- package/package.json +4 -4
- package/out/__chunks__/chunk-2KZRLV26.mjs +0 -2
- package/out/__chunks__/chunk-3HELNSCN.mjs +0 -2
- package/out/__chunks__/chunk-4JSUKPMM.mjs +0 -2
- package/out/__chunks__/chunk-5F4SUYA5.mjs +0 -2
- package/out/__chunks__/chunk-5JK6P55K.mjs +0 -2
- package/out/__chunks__/chunk-5QUMAPUC.mjs +0 -2
- package/out/__chunks__/chunk-7I3NCMED.mjs +0 -2
- package/out/__chunks__/chunk-7NURHXG3.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
- package/out/__chunks__/chunk-DNFQGY4T.mjs +0 -2
- package/out/__chunks__/chunk-E7DBXV7R.mjs +0 -2
- package/out/__chunks__/chunk-FMU4NEUE.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs.map +0 -7
- package/out/__chunks__/chunk-FXGVROUI.mjs +0 -2
- package/out/__chunks__/chunk-GWFOJPML.mjs +0 -2
- package/out/__chunks__/chunk-HF4QPAWD.mjs +0 -2
- package/out/__chunks__/chunk-JJCS7HDI.mjs +0 -2
- package/out/__chunks__/chunk-KYW2F6YX.mjs +0 -2
- package/out/__chunks__/chunk-LRF2DQLC.mjs +0 -2
- package/out/__chunks__/chunk-LRZTZ4MT.mjs.map +0 -7
- package/out/__chunks__/chunk-MJC6B645.mjs +0 -2
- package/out/__chunks__/chunk-NJL7IL6P.mjs +0 -2
- package/out/__chunks__/chunk-QQIPTRF4.mjs.map +0 -7
- package/out/__chunks__/chunk-SNZWFOV6.mjs.map +0 -7
- package/out/__chunks__/chunk-VJK5HQFF.mjs +0 -2
- package/out/__chunks__/chunk-VJK5HQFF.mjs.map +0 -7
- package/out/__chunks__/chunk-WRBX7MBT.mjs +0 -2
- package/out/__chunks__/chunk-ZC3VYZDT.mjs +0 -2
- /package/out/__chunks__/{chunk-ZC3VYZDT.mjs.map → chunk-25G6565D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2CVYS4M.mjs.map → chunk-2UPWFRCA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ERE5BVRC.mjs.map → chunk-2WAT3RZ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZVFOG6LB.mjs.map → chunk-2ZW4LVVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RN6VVJPM.mjs.map → chunk-32DICVUK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UOD2UO27.mjs.map → chunk-4MWQKLVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7HH5AHJM.mjs.map → chunk-4ZAZCOJD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMI2O4KV.mjs.map → chunk-5DUIQBPR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJC6B645.mjs.map → chunk-5F53ZQDO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUFSHVR2.mjs.map → chunk-5KY3OIFD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7I3NCMED.mjs.map → chunk-5VQOOZQV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SORO3SMC.mjs.map → chunk-5WR632LR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-52A7HOT5.mjs.map → chunk-643FDBLR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FXGVROUI.mjs.map → chunk-6C26F7JZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2KZRLV26.mjs.map → chunk-6FRXGPOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GGXK3235.mjs.map → chunk-6VPMVY56.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WRBX7MBT.mjs.map → chunk-73E7X7HK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E7DBXV7R.mjs.map → chunk-7BZQYV6D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2MRPKTZ3.mjs.map → chunk-7CELSV4S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S2PH3P53.mjs.map → chunk-7UUDW64Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-42P7WSDZ.mjs.map → chunk-A63UAQRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SBTMAYW7.mjs.map → chunk-AGBY3WIQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BPOW3DAB.mjs.map → chunk-ALBBGYHS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MHF7JB3Y.mjs.map → chunk-ALT4OKHK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUCSXJMR.mjs.map → chunk-AN4TQZVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M42UYGCH.mjs.map → chunk-AVEMKF6Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PJBXLDBG.mjs.map → chunk-B5YOJH7H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6AC63JD5.mjs.map → chunk-BC5MT6WS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HX72KRC4.mjs.map → chunk-DRYIE3UL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FMU4NEUE.mjs.map → chunk-E5OMXZT7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AVHNKDZ.mjs.map → chunk-EAXWH64Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQESHZ2X.mjs.map → chunk-ELCWJYQ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DSPRERV6.mjs.map → chunk-ET6MYYOM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XEGTQTFK.mjs.map → chunk-ETH6P454.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CCBYPSXO.mjs.map → chunk-FFGJMR4Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-76YR7YQD.mjs.map → chunk-GDMANS7S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJWQNAUZ.mjs.map → chunk-GJ64B4SS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7KWGOZI4.mjs.map → chunk-GPUXJWA3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TLSLNBIX.mjs.map → chunk-GWXW3E7L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F24X6WMA.mjs.map → chunk-H7YY4BCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KIBWVS7T.mjs.map → chunk-HBZ2RP7A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KYW2F6YX.mjs.map → chunk-HKVAAOC4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IGA3PYLZ.mjs.map → chunk-I2CW2O7M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HELNSCN.mjs.map → chunk-ILR4U7Q3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LJVBVKNW.mjs.map → chunk-IXO75QXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJCS7HDI.mjs.map → chunk-JFIQXGJ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7D6YECRB.mjs.map → chunk-JHYKMKMK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJ3Y35H5.mjs.map → chunk-JKFZERMM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7NURHXG3.mjs.map → chunk-JM3JEGRV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJL7IL6P.mjs.map → chunk-JOPPHD4R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZGMIL4MG.mjs.map → chunk-JSSRK6RP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FLOLQ4JL.mjs.map → chunk-KTQD4DTE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IPVALLAK.mjs.map → chunk-KZUPCFEG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7Y3FYVL4.mjs.map → chunk-MNIS55JL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7W4P5SLS.mjs.map → chunk-NO4FZ4M3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BC4ZQOAE.mjs.map → chunk-NTOY6GTP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ACMDU3QF.mjs.map → chunk-O462QL7Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TIJEFUI3.mjs.map → chunk-OI2AXS22.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWE3DU6Z.mjs.map → chunk-OLPFN3HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MWVWSB7G.mjs.map → chunk-PCGP4VVW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HFY2UB7E.mjs.map → chunk-PUCCTEN7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUG3RRVN.mjs.map → chunk-QJ6YLLBK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q3DHKVPY.mjs.map → chunk-QMFEYMZI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5F4SUYA5.mjs.map → chunk-QZDVKNF4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBTIQKEL.mjs.map → chunk-RXE5QIE3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5JK6P55K.mjs.map → chunk-SJLTVGKD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YHLBPZNN.mjs.map → chunk-SLG55PDO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GRQOTJQA.mjs.map → chunk-T3RXRYP5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T6GTSLQD.mjs.map → chunk-TKIYJDS2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U2TDA5B2.mjs.map → chunk-UF2Y4P6U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LWRBWWET.mjs.map → chunk-URJQWHBM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4SNEBLCL.mjs.map → chunk-UUPS4KLW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-UZTMRUVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YB5TSLJV.mjs.map → chunk-V322LMVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GHUX5LY3.mjs.map → chunk-V3GRSQIB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PIFEYU34.mjs.map → chunk-VDAYN2HT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DVWQ3NWJ.mjs.map → chunk-VKDH4PYW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5TDTAQH.mjs.map → chunk-VY62CH5W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DNFQGY4T.mjs.map → chunk-WJJTA23D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TDUG36NZ.mjs.map → chunk-X3AX4PFE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LRF2DQLC.mjs.map → chunk-XJPXTYIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4JSUKPMM.mjs.map → chunk-Y3BNMQFP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SP4B7UYK.mjs.map → chunk-YYVGE2ZU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L2GQHTCM.mjs.map → chunk-ZAY5O7DE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALOBJ2YK.mjs.map → chunk-ZG6EULI2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QNBPNTH7.mjs.map → chunk-ZJM5FGLA.mjs.map} +0 -0
|
@@ -1,2 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var constants_exports = {};
|
|
20
|
+
__export(constants_exports, {
|
|
21
|
+
ACTIONS_WITH_EGLD_VALUE: () => ACTIONS_WITH_EGLD_VALUE,
|
|
22
|
+
ACTIONS_WITH_MANDATORY_OPERATIONS: () => ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
23
|
+
ACTIONS_WITH_VALUE_IN_ACTION_FIELD: () => ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
24
|
+
ACTIONS_WITH_VALUE_IN_DATA_FIELD: () => ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(constants_exports);
|
|
27
|
+
var import_serverTransactions = require("../../../../types/serverTransactions.types");
|
|
28
|
+
const ACTIONS_WITH_MANDATORY_OPERATIONS = [
|
|
29
|
+
import_serverTransactions.TransactionActionsEnum.reDelegateRewards,
|
|
30
|
+
import_serverTransactions.TransactionActionsEnum.claimRewards,
|
|
31
|
+
import_serverTransactions.TransactionActionsEnum.unBond
|
|
32
|
+
];
|
|
33
|
+
const ACTIONS_WITH_EGLD_VALUE = [
|
|
34
|
+
import_serverTransactions.TransactionActionsEnum.wrapEgld,
|
|
35
|
+
import_serverTransactions.TransactionActionsEnum.unwrapEgld
|
|
36
|
+
];
|
|
37
|
+
const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [
|
|
38
|
+
import_serverTransactions.TransactionActionsEnum.unStake
|
|
39
|
+
];
|
|
40
|
+
const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [
|
|
41
|
+
import_serverTransactions.TransactionActionsEnum.unDelegate
|
|
42
|
+
];
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
ACTIONS_WITH_EGLD_VALUE,
|
|
46
|
+
ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
47
|
+
ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
48
|
+
ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
49
|
+
});
|
|
2
50
|
//# sourceMappingURL=constants.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionActionsEnum } from 'types/serverTransactions.types';\n\n/**\n * If `action.name` or `function` is in `ACTIONS_WITH_MANDATORY_OPERATIONS[]`, transaction value will be computed based `operations` field\n */\nexport const ACTIONS_WITH_MANDATORY_OPERATIONS = [\n TransactionActionsEnum.reDelegateRewards,\n TransactionActionsEnum.claimRewards,\n TransactionActionsEnum.unBond\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_EGLD_VALUE[]`, transaction value will be returned directly\n */\nexport const ACTIONS_WITH_EGLD_VALUE = [\n TransactionActionsEnum.wrapEgld,\n TransactionActionsEnum.unwrapEgld\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_DATA_FIELD[]`, transaction value will be computed based `data` field\n */\nexport const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [\n TransactionActionsEnum.unStake\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_ACTION_FIELD[]`, transaction value will be computed based `action` field\n */\nexport const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [\n TransactionActionsEnum.unDelegate\n];\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAuC;AAKhC,MAAM,oCAAoC;AAAA,EAC/C,iDAAuB;AAAA,EACvB,iDAAuB;AAAA,EACvB,iDAAuB;AACzB;AAKO,MAAM,0BAA0B;AAAA,EACrC,iDAAuB;AAAA,EACvB,iDAAuB;AACzB;AAKO,MAAM,mCAAmC;AAAA,EAC9C,iDAAuB;AACzB;AAKO,MAAM,qCAAqC;AAAA,EAChD,iDAAuB;AACzB;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a,b,c,d}from"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-TCDMXBPB.mjs";export{b as ACTIONS_WITH_EGLD_VALUE,a as ACTIONS_WITH_MANDATORY_OPERATIONS,d as ACTIONS_WITH_VALUE_IN_ACTION_FIELD,c as ACTIONS_WITH_VALUE_IN_DATA_FIELD};
|
|
2
2
|
//# sourceMappingURL=constants.mjs.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs
CHANGED
|
@@ -1,2 +1,107 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getTransactionValue_exports = {};
|
|
20
|
+
__export(getTransactionValue_exports, {
|
|
21
|
+
getTransactionValue: () => getTransactionValue
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTransactionValue_exports);
|
|
24
|
+
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
25
|
+
var import_tokens = require("../../../../types/tokens.types");
|
|
26
|
+
var import_constants = require("./constants");
|
|
27
|
+
var import_helpers = require("./helpers");
|
|
28
|
+
var import_getTransactionActionNftText = require("./helpers/getTransactionActionNftText");
|
|
29
|
+
var import_getTransactionTokens = require("./helpers/getTransactionTokens");
|
|
30
|
+
var import_explorerUrlBuilder = require("../../explorerUrlBuilder");
|
|
31
|
+
const getTransactionValue = ({
|
|
32
|
+
transaction,
|
|
33
|
+
hideMultipleBadge
|
|
34
|
+
}) => {
|
|
35
|
+
if (transaction.action) {
|
|
36
|
+
if (import_constants.ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {
|
|
37
|
+
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
38
|
+
}
|
|
39
|
+
if (import_constants.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {
|
|
40
|
+
return (0, import_helpers.getValueFromDataField)(transaction);
|
|
41
|
+
}
|
|
42
|
+
if (import_constants.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {
|
|
43
|
+
return (0, import_helpers.getValueFromOperations)(transaction);
|
|
44
|
+
}
|
|
45
|
+
if (import_constants.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {
|
|
46
|
+
return (0, import_helpers.getValueFromActions)(transaction);
|
|
47
|
+
}
|
|
48
|
+
const transactionTokens = (0, import_getTransactionTokens.getTransactionTokens)(transaction);
|
|
49
|
+
if (transactionTokens.length) {
|
|
50
|
+
const txToken = transactionTokens[0];
|
|
51
|
+
const isNft = Object.values(import_tokens.NftEnumType).includes(
|
|
52
|
+
txToken.type
|
|
53
|
+
);
|
|
54
|
+
const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;
|
|
55
|
+
const titleText = hasTitleText ? (0, import_helpers.getTitleText)(transactionTokens) : "";
|
|
56
|
+
if (isNft) {
|
|
57
|
+
const {
|
|
58
|
+
badgeText,
|
|
59
|
+
tokenFormattedAmount: tokenFormattedAmount2,
|
|
60
|
+
tokenExplorerLink: tokenExplorerLink2,
|
|
61
|
+
tokenLinkText
|
|
62
|
+
} = (0, import_getTransactionActionNftText.getTransactionActionNftText)({ token: txToken });
|
|
63
|
+
return {
|
|
64
|
+
nftValueData: {
|
|
65
|
+
badgeText,
|
|
66
|
+
tokenFormattedAmount: tokenFormattedAmount2,
|
|
67
|
+
tokenExplorerLink: tokenExplorerLink2,
|
|
68
|
+
tokenLinkText,
|
|
69
|
+
transactionTokens,
|
|
70
|
+
token: txToken,
|
|
71
|
+
value: tokenFormattedAmount2 != null ? txToken.value : null,
|
|
72
|
+
decimals: tokenFormattedAmount2 != null ? txToken.decimals : null,
|
|
73
|
+
titleText
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
const tokenFormattedAmount = txToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
78
|
+
input: txToken.value,
|
|
79
|
+
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
80
|
+
digits: 2,
|
|
81
|
+
addCommas: true
|
|
82
|
+
}) : null;
|
|
83
|
+
const tokenExplorerLink = import_explorerUrlBuilder.explorerUrlBuilder.tokenDetails(
|
|
84
|
+
String(txToken.token)
|
|
85
|
+
);
|
|
86
|
+
return {
|
|
87
|
+
tokenValueData: {
|
|
88
|
+
tokenExplorerLink,
|
|
89
|
+
showFormattedAmount: false,
|
|
90
|
+
tokenFormattedAmount,
|
|
91
|
+
tokenLinkText: txToken.ticker,
|
|
92
|
+
transactionTokens,
|
|
93
|
+
token: txToken,
|
|
94
|
+
value: txToken.value,
|
|
95
|
+
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
96
|
+
titleText
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
102
|
+
};
|
|
103
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
+
0 && (module.exports = {
|
|
105
|
+
getTransactionValue
|
|
106
|
+
});
|
|
2
107
|
//# sourceMappingURL=getTransactionValue.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\n\nimport {\n ACTIONS_WITH_EGLD_VALUE,\n ACTIONS_WITH_MANDATORY_OPERATIONS,\n ACTIONS_WITH_VALUE_IN_ACTION_FIELD,\n ACTIONS_WITH_VALUE_IN_DATA_FIELD\n} from './constants';\n\nimport {\n getEgldValueData,\n getTitleText,\n getValueFromActions,\n getValueFromDataField,\n getValueFromOperations\n} from './helpers';\nimport { getTransactionActionNftText } from './helpers/getTransactionActionNftText';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from './types';\nimport { explorerUrlBuilder } from '../../explorerUrlBuilder';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport interface GetTransactionValueType {\n hideMultipleBadge?: boolean;\n transaction: InterpretedTransactionType;\n}\n\nexport const getTransactionValue = ({\n transaction,\n hideMultipleBadge\n}: GetTransactionValueType): GetTransactionValueReturnType => {\n if (transaction.action) {\n if (ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {\n return getEgldValueData(transaction.value);\n }\n\n if (ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {\n return getValueFromDataField(transaction);\n }\n\n if (ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {\n return getValueFromOperations(transaction);\n }\n\n if (ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {\n return getValueFromActions(transaction);\n }\n\n const transactionTokens = getTransactionTokens(transaction);\n\n if (transactionTokens.length) {\n const txToken = transactionTokens[0];\n const isNft = Object.values(NftEnumType).includes(\n txToken.type as NftEnumType\n );\n\n const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;\n const titleText = hasTitleText ? getTitleText(transactionTokens) : '';\n\n if (isNft) {\n const {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText\n } = getTransactionActionNftText({ token: txToken });\n\n return {\n nftValueData: {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText,\n transactionTokens,\n token: txToken,\n value: tokenFormattedAmount != null ? txToken.value : null,\n decimals: tokenFormattedAmount != null ? txToken.decimals : null,\n titleText\n }\n };\n }\n\n const tokenFormattedAmount = txToken.value\n ? formatAmount({\n input: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const tokenExplorerLink = explorerUrlBuilder.tokenDetails(\n String(txToken.token)\n );\n\n return {\n tokenValueData: {\n tokenExplorerLink,\n showFormattedAmount: false,\n tokenFormattedAmount,\n tokenLinkText: txToken.ticker,\n transactionTokens,\n token: txToken,\n value: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n titleText\n }\n };\n }\n }\n\n return getEgldValueData(transaction.value);\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAuC;AAEvC,oBAA4B;AAE5B,uBAKO;AAEP,qBAMO;AACP,yCAA4C;AAC5C,kCAAqC;AAMrC,gCAAmC;AAa5B,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AACF,MAA8D;AAC5D,MAAI,YAAY,QAAQ;AACtB,QAAI,yCAAwB,SAAS,YAAY,OAAO,IAAI,GAAG;AAC7D,iBAAO,iCAAiB,YAAY,KAAK;AAAA,IAC3C;AAEA,QAAI,kDAAiC,SAAS,YAAY,OAAO,IAAI,GAAG;AACtE,iBAAO,sCAAsB,WAAW;AAAA,IAC1C;AAEA,QAAI,mDAAkC,SAAS,YAAY,OAAO,IAAI,GAAG;AACvE,iBAAO,uCAAuB,WAAW;AAAA,IAC3C;AAEA,QAAI,oDAAmC,SAAS,YAAY,OAAO,IAAI,GAAG;AACxE,iBAAO,oCAAoB,WAAW;AAAA,IACxC;AAEA,UAAM,wBAAoB,kDAAqB,WAAW;AAE1D,QAAI,kBAAkB,QAAQ;AAC5B,YAAM,UAAU,kBAAkB,CAAC;AACnC,YAAM,QAAQ,OAAO,OAAO,yBAAW,EAAE;AAAA,QACvC,QAAQ;AAAA,MACV;AAEA,YAAM,eAAe,CAAC,qBAAqB,kBAAkB,SAAS;AACtE,YAAM,YAAY,mBAAe,6BAAa,iBAAiB,IAAI;AAEnE,UAAI,OAAO;AACT,cAAM;AAAA,UACJ;AAAA,UACA,sBAAAA;AAAA,UACA,mBAAAC;AAAA,UACA;AAAA,QACF,QAAI,gEAA4B,EAAE,OAAO,QAAQ,CAAC;AAElD,eAAO;AAAA,UACL,cAAc;AAAA,YACZ;AAAA,YACA,sBAAAD;AAAA,YACA,mBAAAC;AAAA,YACA;AAAA,YACA;AAAA,YACA,OAAO;AAAA,YACP,OAAOD,yBAAwB,OAAO,QAAQ,QAAQ;AAAA,YACtD,UAAUA,yBAAwB,OAAO,QAAQ,WAAW;AAAA,YAC5D;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAEA,YAAM,uBAAuB,QAAQ,YACjC,kCAAa;AAAA,QACX,OAAO,QAAQ;AAAA,QACf,UAAU,QAAQ,YAAY;AAAA,QAC9B,QAAQ;AAAA,QACR,WAAW;AAAA,MACb,CAAC,IACD;AAEJ,YAAM,oBAAoB,6CAAmB;AAAA,QAC3C,OAAO,QAAQ,KAAK;AAAA,MACtB;AAEA,aAAO;AAAA,QACL,gBAAgB;AAAA,UACd;AAAA,UACA,qBAAqB;AAAA,UACrB;AAAA,UACA,eAAe,QAAQ;AAAA,UACvB;AAAA,UACA,OAAO;AAAA,UACP,OAAO,QAAQ;AAAA,UACf,UAAU,QAAQ,YAAY;AAAA,UAC9B;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCAAiB,YAAY,KAAK;AAC3C;",
|
|
6
|
+
"names": ["tokenFormattedAmount", "tokenExplorerLink"]
|
|
7
7
|
}
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-EAXWH64Z.mjs";import"../../../../__chunks__/chunk-O6VPG7AF.mjs";import"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../../../__chunks__/chunk-DRYIE3UL.mjs";import"../../../../__chunks__/chunk-7FEQBPHA.mjs";import"../../../../__chunks__/chunk-FCIBGJDC.mjs";import"../../../../__chunks__/chunk-2XGXXRSH.mjs";import"../../../../__chunks__/chunk-IE3A2COQ.mjs";import"../../../../__chunks__/chunk-FKGDHZZJ.mjs";import"../../../../__chunks__/chunk-XJPXTYIE.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"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";export{a as getTransactionValue};
|
|
2
2
|
//# sourceMappingURL=getTransactionValue.mjs.map
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getEgldValueData_exports = {};
|
|
20
|
+
__export(getEgldValueData_exports, {
|
|
21
|
+
getEgldValueData: () => getEgldValueData
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getEgldValueData_exports);
|
|
24
|
+
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
+
const getEgldValueData = (value) => ({
|
|
26
|
+
egldValueData: {
|
|
27
|
+
value,
|
|
28
|
+
formattedValue: (0, import_sdkDappUtils.formatAmount)({ input: value }),
|
|
29
|
+
decimals: import_sdkDappUtils.DECIMALS
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
getEgldValueData
|
|
35
|
+
});
|
|
2
36
|
//# sourceMappingURL=getEgldValueData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\n\nexport const getEgldValueData = (value: string) => ({\n egldValueData: {\n value,\n formattedValue: formatAmount({ input: value }),\n decimals: DECIMALS\n }\n});\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAuC;AAEhC,MAAM,mBAAmB,CAAC,WAAmB;AAAA,EAClD,eAAe;AAAA,IACb;AAAA,IACA,oBAAgB,kCAAa,EAAE,OAAO,MAAM,CAAC;AAAA,IAC7C,UAAU;AAAA,EACZ;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,55 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getTitleText_exports = {};
|
|
20
|
+
__export(getTitleText_exports, {
|
|
21
|
+
getTitleText: () => getTitleText
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTitleText_exports);
|
|
24
|
+
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
+
var import_getIdentifierType = require("../../../../../utils/validation/getIdentifierType");
|
|
26
|
+
var import_getTransactionActionNftText = require("./getTransactionActionNftText");
|
|
27
|
+
const getTitleText = (transactionTokens) => {
|
|
28
|
+
const tokensArray = transactionTokens.map((transactionToken) => {
|
|
29
|
+
const { isNft } = (0, import_getIdentifierType.getIdentifierType)(transactionToken.type);
|
|
30
|
+
if (isNft) {
|
|
31
|
+
const { badgeText, tokenFormattedAmount: tokenFormattedAmount2, tokenLinkText } = (0, import_getTransactionActionNftText.getTransactionActionNftText)({
|
|
32
|
+
token: transactionToken
|
|
33
|
+
});
|
|
34
|
+
const badge = badgeText != null ? `(${badgeText}) ` : "";
|
|
35
|
+
const value2 = `${badge}${tokenFormattedAmount2} ${tokenLinkText}`;
|
|
36
|
+
return value2;
|
|
37
|
+
}
|
|
38
|
+
const tokenFormattedAmount = transactionToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
39
|
+
input: transactionToken.value,
|
|
40
|
+
decimals: transactionToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
41
|
+
digits: 2,
|
|
42
|
+
addCommas: true
|
|
43
|
+
}) : null;
|
|
44
|
+
const identifier = transactionToken.collection ? transactionToken.identifier : transactionToken.token;
|
|
45
|
+
const value = `${tokenFormattedAmount} ${transactionToken.ticker} (${identifier})`;
|
|
46
|
+
return value;
|
|
47
|
+
});
|
|
48
|
+
const joinedTokensWithLineBreak = decodeURI(tokensArray.join("%0A"));
|
|
49
|
+
return joinedTokensWithLineBreak;
|
|
50
|
+
};
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
getTitleText
|
|
54
|
+
});
|
|
2
55
|
//# sourceMappingURL=getTitleText.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\nimport { getTransactionActionNftText } from './getTransactionActionNftText';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from '../types';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport const getTitleText = (\n transactionTokens: TokenArgumentType[]\n): string => {\n const tokensArray = transactionTokens.map((transactionToken) => {\n const { isNft } = getIdentifierType(transactionToken.type);\n if (isNft) {\n const { badgeText, tokenFormattedAmount, tokenLinkText } =\n getTransactionActionNftText({\n token: transactionToken\n });\n\n const badge = badgeText != null ? `(${badgeText}) ` : '';\n\n const value = `${badge}${tokenFormattedAmount} ${tokenLinkText}`;\n return value;\n }\n\n const tokenFormattedAmount = transactionToken.value\n ? formatAmount({\n input: transactionToken.value,\n decimals: transactionToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const identifier = transactionToken.collection\n ? transactionToken.identifier\n : transactionToken.token;\n\n const value = `${tokenFormattedAmount} ${transactionToken.ticker} (${identifier})`;\n return value;\n });\n\n const joinedTokensWithLineBreak = decodeURI(tokensArray.join('%0A'));\n return joinedTokensWithLineBreak;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAuC;AAEvC,+BAAkC;AAClC,yCAA4C;AAarC,MAAM,eAAe,CAC1B,sBACW;AACX,QAAM,cAAc,kBAAkB,IAAI,CAAC,qBAAqB;AAC9D,UAAM,EAAE,MAAM,QAAI,4CAAkB,iBAAiB,IAAI;AACzD,QAAI,OAAO;AACT,YAAM,EAAE,WAAW,sBAAAA,uBAAsB,cAAc,QACrD,gEAA4B;AAAA,QAC1B,OAAO;AAAA,MACT,CAAC;AAEH,YAAM,QAAQ,aAAa,OAAO,IAAI,SAAS,OAAO;AAEtD,YAAMC,SAAQ,GAAG,KAAK,GAAGD,qBAAoB,IAAI,aAAa;AAC9D,aAAOC;AAAA,IACT;AAEA,UAAM,uBAAuB,iBAAiB,YAC1C,kCAAa;AAAA,MACX,OAAO,iBAAiB;AAAA,MACxB,UAAU,iBAAiB,YAAY;AAAA,MACvC,QAAQ;AAAA,MACR,WAAW;AAAA,IACb,CAAC,IACD;AAEJ,UAAM,aAAa,iBAAiB,aAChC,iBAAiB,aACjB,iBAAiB;AAErB,UAAM,QAAQ,GAAG,oBAAoB,IAAI,iBAAiB,MAAM,KAAK,UAAU;AAC/E,WAAO;AAAA,EACT,CAAC;AAED,QAAM,4BAA4B,UAAU,YAAY,KAAK,KAAK,CAAC;AACnE,SAAO;AACT;",
|
|
6
|
+
"names": ["tokenFormattedAmount", "value"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,71 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getTransactionActionNftText_exports = {};
|
|
20
|
+
__export(getTransactionActionNftText_exports, {
|
|
21
|
+
getTransactionActionNftText: () => getTransactionActionNftText
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTransactionActionNftText_exports);
|
|
24
|
+
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
+
var import_tokens = require("../../../../../types/tokens.types");
|
|
26
|
+
var import_explorerUrlBuilder = require("../../../explorerUrlBuilder");
|
|
27
|
+
function getTransactionActionNftText({
|
|
28
|
+
token,
|
|
29
|
+
noValue,
|
|
30
|
+
showLastNonZeroDecimal
|
|
31
|
+
}) {
|
|
32
|
+
const isTokenAmountVisible = !noValue && token.value && token.type !== import_tokens.NftEnumType.NonFungibleESDT;
|
|
33
|
+
const canShowFormattedAmount = token.decimals != null;
|
|
34
|
+
let badgeText = "";
|
|
35
|
+
if (token.type === import_tokens.NftEnumType.NonFungibleESDT) {
|
|
36
|
+
badgeText = "NFT";
|
|
37
|
+
}
|
|
38
|
+
if (token.type === import_tokens.NftEnumType.SemiFungibleESDT) {
|
|
39
|
+
badgeText = "SFT";
|
|
40
|
+
}
|
|
41
|
+
if (token.type === import_tokens.NftEnumType.MetaESDT) {
|
|
42
|
+
badgeText = "Meta-ESDT";
|
|
43
|
+
}
|
|
44
|
+
let tokenFormattedAmount = "";
|
|
45
|
+
if (isTokenAmountVisible && canShowFormattedAmount) {
|
|
46
|
+
tokenFormattedAmount = canShowFormattedAmount ? (0, import_sdkDappUtils.formatAmount)({
|
|
47
|
+
input: token.value,
|
|
48
|
+
decimals: token.decimals,
|
|
49
|
+
digits: 2,
|
|
50
|
+
showLastNonZeroDecimal
|
|
51
|
+
}) : Number(token.value).toLocaleString("en");
|
|
52
|
+
}
|
|
53
|
+
const tokenExplorerLink = import_explorerUrlBuilder.explorerUrlBuilder.nftDetails(
|
|
54
|
+
String(token.identifier)
|
|
55
|
+
);
|
|
56
|
+
const tokenLinkText = token.ticker === token.collection ? token.identifier ?? token.ticker : token.ticker;
|
|
57
|
+
return {
|
|
58
|
+
badgeText,
|
|
59
|
+
tokenFormattedAmount: isTokenAmountVisible ? tokenFormattedAmount : null,
|
|
60
|
+
tokenExplorerLink,
|
|
61
|
+
tokenLinkText,
|
|
62
|
+
token,
|
|
63
|
+
noValue,
|
|
64
|
+
showLastNonZeroDecimal
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
68
|
+
0 && (module.exports = {
|
|
69
|
+
getTransactionActionNftText
|
|
70
|
+
});
|
|
2
71
|
//# sourceMappingURL=getTransactionActionNftText.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.ts"],
|
|
4
4
|
"sourcesContent": ["import { formatAmount } from 'lib/sdkDappUtils';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\nimport { explorerUrlBuilder } from '../../../explorerUrlBuilder';\n\nexport interface TransactionActionNftType {\n token: TokenArgumentType;\n noValue?: boolean;\n showLastNonZeroDecimal?: boolean;\n}\nexport interface TransactionActionNftReturnType {\n badgeText: string | null;\n tokenFormattedAmount: string | null;\n tokenExplorerLink: string;\n tokenLinkText: string;\n token: TokenArgumentType;\n showLastNonZeroDecimal?: boolean;\n noValue?: boolean;\n}\n\nexport function getTransactionActionNftText({\n token,\n noValue,\n showLastNonZeroDecimal\n}: TransactionActionNftType): TransactionActionNftReturnType {\n const isTokenAmountVisible =\n !noValue && token.value && token.type !== NftEnumType.NonFungibleESDT;\n\n const canShowFormattedAmount = token.decimals != null;\n\n let badgeText = '';\n if (token.type === NftEnumType.NonFungibleESDT) {\n badgeText = 'NFT';\n }\n if (token.type === NftEnumType.SemiFungibleESDT) {\n badgeText = 'SFT';\n }\n if (token.type === NftEnumType.MetaESDT) {\n badgeText = 'Meta-ESDT';\n }\n\n let tokenFormattedAmount = '';\n if (isTokenAmountVisible && canShowFormattedAmount) {\n tokenFormattedAmount = canShowFormattedAmount\n ? formatAmount({\n input: token.value,\n decimals: token.decimals,\n digits: 2,\n showLastNonZeroDecimal\n })\n : Number(token.value).toLocaleString('en');\n }\n\n const tokenExplorerLink = explorerUrlBuilder.nftDetails(\n String(token.identifier)\n );\n\n const tokenLinkText =\n token.ticker === token.collection\n ? token.identifier ?? token.ticker\n : token.ticker;\n\n return {\n badgeText,\n tokenFormattedAmount: isTokenAmountVisible ? tokenFormattedAmount : null,\n tokenExplorerLink,\n tokenLinkText,\n token,\n noValue,\n showLastNonZeroDecimal\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAE7B,oBAA4B;AAC5B,gCAAmC;AAiB5B,SAAS,4BAA4B;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AACF,GAA6D;AAC3D,QAAM,uBACJ,CAAC,WAAW,MAAM,SAAS,MAAM,SAAS,0BAAY;AAExD,QAAM,yBAAyB,MAAM,YAAY;AAEjD,MAAI,YAAY;AAChB,MAAI,MAAM,SAAS,0BAAY,iBAAiB;AAC9C,gBAAY;AAAA,EACd;AACA,MAAI,MAAM,SAAS,0BAAY,kBAAkB;AAC/C,gBAAY;AAAA,EACd;AACA,MAAI,MAAM,SAAS,0BAAY,UAAU;AACvC,gBAAY;AAAA,EACd;AAEA,MAAI,uBAAuB;AAC3B,MAAI,wBAAwB,wBAAwB;AAClD,2BAAuB,6BACnB,kCAAa;AAAA,MACX,OAAO,MAAM;AAAA,MACb,UAAU,MAAM;AAAA,MAChB,QAAQ;AAAA,MACR;AAAA,IACF,CAAC,IACD,OAAO,MAAM,KAAK,EAAE,eAAe,IAAI;AAAA,EAC7C;AAEA,QAAM,oBAAoB,6CAAmB;AAAA,IAC3C,OAAO,MAAM,UAAU;AAAA,EACzB;AAEA,QAAM,gBACJ,MAAM,WAAW,MAAM,aACnB,MAAM,cAAc,MAAM,SAC1B,MAAM;AAEZ,SAAO;AAAA,IACL;AAAA,IACA,sBAAsB,uBAAuB,uBAAuB;AAAA,IACpE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getTransactionTokens_exports = {};
|
|
20
|
+
__export(getTransactionTokens_exports, {
|
|
21
|
+
getTransactionTokens: () => getTransactionTokens
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTransactionTokens_exports);
|
|
24
|
+
const getTransactionTokens = (transaction) => {
|
|
25
|
+
if (transaction.action) {
|
|
26
|
+
const merged = [
|
|
27
|
+
transaction.action.arguments?.token,
|
|
28
|
+
transaction.action.arguments?.token1,
|
|
29
|
+
transaction.action.arguments?.token2,
|
|
30
|
+
transaction.action.arguments?.transfers
|
|
31
|
+
// array of tokens
|
|
32
|
+
].filter((x) => x != null);
|
|
33
|
+
return [].concat(...merged);
|
|
34
|
+
}
|
|
35
|
+
return [];
|
|
36
|
+
};
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
getTransactionTokens
|
|
40
|
+
});
|
|
2
41
|
//# sourceMappingURL=getTransactionTokens.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n ServerTransactionType,\n TokenArgumentType\n} from 'types/serverTransactions.types';\n\nexport const getTransactionTokens = (\n transaction: ServerTransactionType\n): TokenArgumentType[] => {\n if (transaction.action) {\n const merged = [\n transaction.action.arguments?.token,\n transaction.action.arguments?.token1,\n transaction.action.arguments?.token2,\n transaction.action.arguments?.transfers // array of tokens\n ].filter((x) => x != null);\n\n return [].concat(...merged);\n }\n\n return [];\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,MAAM,uBAAuB,CAClC,gBACwB;AACxB,MAAI,YAAY,QAAQ;AACtB,UAAM,SAAS;AAAA,MACb,YAAY,OAAO,WAAW;AAAA,MAC9B,YAAY,OAAO,WAAW;AAAA,MAC9B,YAAY,OAAO,WAAW;AAAA,MAC9B,YAAY,OAAO,WAAW;AAAA;AAAA,IAChC,EAAE,OAAO,CAAC,MAAM,KAAK,IAAI;AAEzB,WAAO,CAAC,EAAE,OAAO,GAAG,MAAM;AAAA,EAC5B;AAEA,SAAO,CAAC;AACV;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,54 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var getValueFromActions_exports = {};
|
|
30
|
+
__export(getValueFromActions_exports, {
|
|
31
|
+
getValueFromActions: () => getValueFromActions
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(getValueFromActions_exports);
|
|
34
|
+
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
+
var import_getEgldValueData = require("./getEgldValueData");
|
|
36
|
+
let warningLogged = false;
|
|
37
|
+
function getValueFromActions(transaction) {
|
|
38
|
+
const value = new import_bignumber.default(transaction.action?.arguments?.value);
|
|
39
|
+
if (!value.isNaN()) {
|
|
40
|
+
return (0, import_getEgldValueData.getEgldValueData)(transaction.action?.arguments?.value);
|
|
41
|
+
}
|
|
42
|
+
if (!warningLogged) {
|
|
43
|
+
console.error(
|
|
44
|
+
`Unable to interpret ${transaction.action?.name} data for txHash: ${transaction.txHash}`
|
|
45
|
+
);
|
|
46
|
+
warningLogged = true;
|
|
47
|
+
}
|
|
48
|
+
return (0, import_getEgldValueData.getEgldValueData)(transaction.value);
|
|
49
|
+
}
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
getValueFromActions
|
|
53
|
+
});
|
|
2
54
|
//# sourceMappingURL=getValueFromActions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { getEgldValueData } from './getEgldValueData';\n\nlet warningLogged = false;\n\nexport function getValueFromActions(transaction: InterpretedTransactionType) {\n const value = new BigNumber(transaction.action?.arguments?.value);\n\n if (!value.isNaN()) {\n return getEgldValueData(transaction.action?.arguments?.value);\n }\n\n if (!warningLogged) {\n console.error(\n `Unable to interpret ${transaction.action?.name} data for txHash: ${transaction.txHash}`\n );\n warningLogged = true;\n }\n\n // fallback on transaction value\n return getEgldValueData(transaction.value);\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AAEtB,8BAAiC;AAEjC,IAAI,gBAAgB;AAEb,SAAS,oBAAoB,aAAyC;AAC3E,QAAM,QAAQ,IAAI,iBAAAA,QAAU,YAAY,QAAQ,WAAW,KAAK;AAEhE,MAAI,CAAC,MAAM,MAAM,GAAG;AAClB,eAAO,0CAAiB,YAAY,QAAQ,WAAW,KAAK;AAAA,EAC9D;AAEA,MAAI,CAAC,eAAe;AAClB,YAAQ;AAAA,MACN,uBAAuB,YAAY,QAAQ,IAAI,qBAAqB,YAAY,MAAM;AAAA,IACxF;AACA,oBAAgB;AAAA,EAClB;AAGA,aAAO,0CAAiB,YAAY,KAAK;AAC3C;",
|
|
6
|
+
"names": ["BigNumber"]
|
|
7
7
|
}
|