@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
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getFeeData.ts"],
|
|
4
4
|
"sourcesContent": ["import { GAS_PER_DATA_BYTE, GAS_PRICE_MODIFIER } from 'constants/mvx.constants';\nimport { Transaction } from 'lib/sdkCore';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { calculateFeeInFiat } from './calculateFeeInFiat';\nimport { calculateFeeLimit } from './calculateFeeLimit';\n\nexport const getFeeData = ({\n transaction,\n price\n}: {\n transaction: Transaction;\n price?: number;\n}) => {\n const feeLimit = calculateFeeLimit({\n from: transaction.sender.toBech32(),\n to: transaction.receiver.toBech32(),\n gasPerDataByte: String(GAS_PER_DATA_BYTE),\n gasPriceModifier: String(GAS_PRICE_MODIFIER),\n gasLimit: transaction.gasLimit.valueOf().toString(),\n gasPrice: transaction.gasPrice.valueOf().toString(),\n data: transaction.data.toString(),\n chainId: transaction.chainID.valueOf().toString()\n });\n\n const feeLimitFormatted = formatAmount({\n input: feeLimit,\n showLastNonZeroDecimal: true\n });\n\n const feeInFiatLimit = price\n ? calculateFeeInFiat({\n feeLimit,\n egldPriceInUsd: price,\n hideEqualSign: true\n })\n : null;\n\n return { feeLimitFormatted, feeInFiatLimit, feeLimit };\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAsD;AAEtD,0BAA6B;AAC7B,gCAAmC;AACnC,+BAAkC;AAE3B,MAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AACF,MAGM;AACJ,QAAM,eAAW,4CAAkB;AAAA,IACjC,MAAM,YAAY,OAAO,SAAS;AAAA,IAClC,IAAI,YAAY,SAAS,SAAS;AAAA,IAClC,gBAAgB,OAAO,4BAAiB;AAAA,IACxC,kBAAkB,OAAO,6BAAkB;AAAA,IAC3C,UAAU,YAAY,SAAS,QAAQ,EAAE,SAAS;AAAA,IAClD,UAAU,YAAY,SAAS,QAAQ,EAAE,SAAS;AAAA,IAClD,MAAM,YAAY,KAAK,SAAS;AAAA,IAChC,SAAS,YAAY,QAAQ,QAAQ,EAAE,SAAS;AAAA,EAClD,CAAC;AAED,QAAM,wBAAoB,kCAAa;AAAA,IACrC,OAAO;AAAA,IACP,wBAAwB;AAAA,EAC1B,CAAC;AAED,QAAM,iBAAiB,YACnB,8CAAmB;AAAA,IACjB;AAAA,IACA,gBAAgB;AAAA,IAChB,eAAe;AAAA,EACjB,CAAC,IACD;AAEJ,SAAO,EAAE,mBAAmB,gBAAgB,SAAS;AACvD;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-URJQWHBM.mjs";import"../../../../../__chunks__/chunk-VKDH4PYW.mjs";import"../../../../../__chunks__/chunk-K4ITACAF.mjs";import"../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../__chunks__/chunk-Y3BNMQFP.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-YYVGE2ZU.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-4ZAZCOJD.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-G43Z243B.mjs";export{a as getFeeData};
|
|
2
2
|
//# sourceMappingURL=getFeeData.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 getMultiEsdtTransferData_exports = {};
|
|
20
|
+
__export(getMultiEsdtTransferData_exports, {
|
|
21
|
+
getMultiEsdtTransferData: () => getMultiEsdtTransferData
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getMultiEsdtTransferData_exports);
|
|
24
|
+
var import_parseMultiEsdtTransferDataForMultipleTransactions = require("./helpers/parseMultiEsdtTransferDataForMultipleTransactions");
|
|
25
|
+
function getMultiEsdtTransferData(transactions) {
|
|
26
|
+
const { allTransactions, parsedTransactionsByDataField } = (0, import_parseMultiEsdtTransferDataForMultipleTransactions.parseMultiEsdtTransferDataForMultipleTransactions)({ transactions });
|
|
27
|
+
return {
|
|
28
|
+
parsedTransactionsByDataField,
|
|
29
|
+
allTransactions
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
getMultiEsdtTransferData
|
|
35
|
+
});
|
|
2
36
|
//# sourceMappingURL=getMultiEsdtTransferData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.ts"],
|
|
4
4
|
"sourcesContent": ["import { Transaction } from '@multiversx/sdk-core';\nimport {\n MultiSignTransactionType,\n TransactionDataTokenType\n} from 'types/transactions.types';\nimport { parseMultiEsdtTransferDataForMultipleTransactions } from './helpers/parseMultiEsdtTransferDataForMultipleTransactions';\n\nexport type MultiEsdtTransferDataReturnType = ReturnType<\n typeof getMultiEsdtTransferData\n>;\n\nexport function getMultiEsdtTransferData(transactions?: Transaction[]): {\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n allTransactions: MultiSignTransactionType[];\n} {\n const { allTransactions, parsedTransactionsByDataField } =\n parseMultiEsdtTransferDataForMultipleTransactions({ transactions });\n\n return {\n parsedTransactionsByDataField,\n allTransactions\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,+DAAkE;AAM3D,SAAS,yBAAyB,cAGvC;AACA,QAAM,EAAE,iBAAiB,8BAA8B,QACrD,4GAAkD,EAAE,aAAa,CAAC;AAEpE,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../__chunks__/chunk-K373M2BG.mjs";import"../../../../../../__chunks__/chunk-CO23VS2O.mjs";import"../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-K373M2BG.mjs";import"../../../../../../__chunks__/chunk-CO23VS2O.mjs";import"../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as getMultiEsdtTransferData};
|
|
2
2
|
//# sourceMappingURL=getMultiEsdtTransferData.mjs.map
|
|
@@ -1,2 +1,37 @@
|
|
|
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 getAllStringOccurrences_exports = {};
|
|
20
|
+
__export(getAllStringOccurrences_exports, {
|
|
21
|
+
getAllStringOccurrences: () => getAllStringOccurrences
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getAllStringOccurrences_exports);
|
|
24
|
+
const getAllStringOccurrences = (sourceStr, searchStr) => {
|
|
25
|
+
const startingIndices = [];
|
|
26
|
+
let indexOccurence = sourceStr.indexOf(searchStr, 0);
|
|
27
|
+
while (indexOccurence >= 0) {
|
|
28
|
+
startingIndices.push(indexOccurence);
|
|
29
|
+
indexOccurence = sourceStr.indexOf(searchStr, indexOccurence + 1);
|
|
30
|
+
}
|
|
31
|
+
return startingIndices;
|
|
32
|
+
};
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
getAllStringOccurrences
|
|
36
|
+
});
|
|
2
37
|
//# sourceMappingURL=getAllStringOccurrences.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.ts"],
|
|
4
4
|
"sourcesContent": ["export const getAllStringOccurrences = (\n sourceStr: string,\n searchStr: string\n) => {\n const startingIndices = [];\n\n let indexOccurence = sourceStr.indexOf(searchStr, 0);\n\n while (indexOccurence >= 0) {\n startingIndices.push(indexOccurence);\n indexOccurence = sourceStr.indexOf(searchStr, indexOccurence + 1);\n }\n\n return startingIndices;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,0BAA0B,CACrC,WACA,cACG;AACH,QAAM,kBAAkB,CAAC;AAEzB,MAAI,iBAAiB,UAAU,QAAQ,WAAW,CAAC;AAEnD,SAAO,kBAAkB,GAAG;AAC1B,oBAAgB,KAAK,cAAc;AACnC,qBAAiB,UAAU,QAAQ,WAAW,iBAAiB,CAAC;AAAA,EAClE;AAEA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,127 @@
|
|
|
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 getTokenFromData_exports = {};
|
|
30
|
+
__export(getTokenFromData_exports, {
|
|
31
|
+
decodeData: () => decodeData,
|
|
32
|
+
getTokenFromData: () => getTokenFromData
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(getTokenFromData_exports);
|
|
35
|
+
var import_sdk_core = require("@multiversx/sdk-core");
|
|
36
|
+
var import_bignumber = __toESM(require("bignumber.js"));
|
|
37
|
+
var import_enums = require("../../../../../../../types/enums.types");
|
|
38
|
+
var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
|
|
39
|
+
var import_addressIsValid = require("../../../../../../../utils/validation/addressIsValid");
|
|
40
|
+
const noData = {
|
|
41
|
+
tokenId: "",
|
|
42
|
+
amount: ""
|
|
43
|
+
};
|
|
44
|
+
const decodeData = (data) => {
|
|
45
|
+
const nonceIndex = 2;
|
|
46
|
+
const amountIndex = 3;
|
|
47
|
+
const parts = data.split("@");
|
|
48
|
+
const decodedParts = parts.map(
|
|
49
|
+
(part, i) => [nonceIndex, amountIndex].includes(i) ? part : (0, import_decodePart.decodePart)(part)
|
|
50
|
+
);
|
|
51
|
+
return decodedParts;
|
|
52
|
+
};
|
|
53
|
+
function getTokenFromData(data) {
|
|
54
|
+
if (!data) {
|
|
55
|
+
return noData;
|
|
56
|
+
}
|
|
57
|
+
const isTokenTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTTransfer);
|
|
58
|
+
const isNftTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTTransfer) && data.includes("@");
|
|
59
|
+
const isNftBurn = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTBurn) && data.includes("@");
|
|
60
|
+
if (isTokenTransfer) {
|
|
61
|
+
const [, encodedToken, encodedAmount] = data.split("@");
|
|
62
|
+
try {
|
|
63
|
+
const tokenId = Buffer.from(encodedToken, "hex").toString("ascii");
|
|
64
|
+
if (!tokenId) {
|
|
65
|
+
return noData;
|
|
66
|
+
}
|
|
67
|
+
const amount = new import_bignumber.default(
|
|
68
|
+
"0x" + encodedAmount.replace("0x", "")
|
|
69
|
+
).toString(10);
|
|
70
|
+
return {
|
|
71
|
+
tokenId,
|
|
72
|
+
amount
|
|
73
|
+
};
|
|
74
|
+
} catch (e) {
|
|
75
|
+
console.error("Error getting token from transaction data", e);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (isNftTransfer) {
|
|
79
|
+
try {
|
|
80
|
+
const [
|
|
81
|
+
,
|
|
82
|
+
/*ESDTNFTTransfer*/
|
|
83
|
+
collection,
|
|
84
|
+
nonce,
|
|
85
|
+
quantity,
|
|
86
|
+
receiver
|
|
87
|
+
] = decodeData(data);
|
|
88
|
+
if ([collection, nonce, quantity, receiver].every((el) => Boolean(el)) && (0, import_addressIsValid.addressIsValid)(new import_sdk_core.Address(receiver).toBech32())) {
|
|
89
|
+
return {
|
|
90
|
+
tokenId: `${collection}-${nonce}`,
|
|
91
|
+
amount: new import_bignumber.default(quantity, 16).toString(10),
|
|
92
|
+
collection,
|
|
93
|
+
nonce,
|
|
94
|
+
receiver: new import_sdk_core.Address(receiver).toBech32()
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
} catch (_err) {
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
if (isNftBurn) {
|
|
101
|
+
try {
|
|
102
|
+
const [
|
|
103
|
+
,
|
|
104
|
+
/*ESDTNFTBurn*/
|
|
105
|
+
collection,
|
|
106
|
+
nonce,
|
|
107
|
+
quantity
|
|
108
|
+
] = decodeData(data);
|
|
109
|
+
if ([collection, nonce, quantity].every((el) => Boolean(el))) {
|
|
110
|
+
return {
|
|
111
|
+
tokenId: `${collection}-${nonce}`,
|
|
112
|
+
amount: new import_bignumber.default(quantity, 16).toString(10),
|
|
113
|
+
collection,
|
|
114
|
+
nonce
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
} catch (_err) {
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return noData;
|
|
121
|
+
}
|
|
122
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
123
|
+
0 && (module.exports = {
|
|
124
|
+
decodeData,
|
|
125
|
+
getTokenFromData
|
|
126
|
+
});
|
|
2
127
|
//# sourceMappingURL=getTokenFromData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.ts"],
|
|
4
4
|
"sourcesContent": ["import { Address } from '@multiversx/sdk-core';\nimport BigNumber from 'bignumber.js';\nimport { TransactionTypesEnum } from 'types/enums.types';\nimport { decodePart } from 'utils/decoders/decodePart';\nimport { addressIsValid } from 'utils/validation/addressIsValid';\n\nconst noData = {\n tokenId: '',\n amount: ''\n};\n\nexport const decodeData = (data: string) => {\n const nonceIndex = 2;\n const amountIndex = 3;\n const parts = data.split('@');\n const decodedParts = parts.map((part, i) =>\n [nonceIndex, amountIndex].includes(i) ? part : decodePart(part)\n );\n return decodedParts;\n};\n\nexport function getTokenFromData(data?: string): {\n tokenId: string;\n amount: string;\n collection?: string;\n nonce?: string;\n receiver?: string;\n} {\n if (!data) {\n return noData;\n }\n\n const isTokenTransfer = data.startsWith(TransactionTypesEnum.ESDTTransfer);\n const isNftTransfer =\n data.startsWith(TransactionTypesEnum.ESDTNFTTransfer) && data.includes('@');\n const isNftBurn =\n data.startsWith(TransactionTypesEnum.ESDTNFTBurn) && data.includes('@');\n\n if (isTokenTransfer) {\n const [, encodedToken, encodedAmount] = data.split('@');\n try {\n const tokenId = Buffer.from(encodedToken, 'hex').toString('ascii');\n\n if (!tokenId) {\n return noData;\n }\n\n const amount = new BigNumber(\n '0x' + encodedAmount.replace('0x', '')\n ).toString(10);\n\n return {\n tokenId,\n amount\n };\n } catch (e) {\n console.error('Error getting token from transaction data', e);\n }\n }\n\n if (isNftTransfer) {\n try {\n const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] =\n decodeData(data);\n if (\n [collection, nonce, quantity, receiver].every((el) => Boolean(el)) &&\n addressIsValid(new Address(receiver).toBech32())\n ) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce,\n receiver: new Address(receiver).toBech32()\n };\n }\n } catch (_err) {\n /* empty */\n }\n }\n\n if (isNftBurn) {\n try {\n const [, /*ESDTNFTBurn*/ collection, nonce, quantity] = decodeData(data);\n if ([collection, nonce, quantity].every((el) => Boolean(el))) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce\n };\n }\n } catch (_err) {\n /* empty */\n }\n }\n\n return noData;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwB;AACxB,uBAAsB;AACtB,mBAAqC;AACrC,wBAA2B;AAC3B,4BAA+B;AAE/B,MAAM,SAAS;AAAA,EACb,SAAS;AAAA,EACT,QAAQ;AACV;AAEO,MAAM,aAAa,CAAC,SAAiB;AAC1C,QAAM,aAAa;AACnB,QAAM,cAAc;AACpB,QAAM,QAAQ,KAAK,MAAM,GAAG;AAC5B,QAAM,eAAe,MAAM;AAAA,IAAI,CAAC,MAAM,MACpC,CAAC,YAAY,WAAW,EAAE,SAAS,CAAC,IAAI,WAAO,8BAAW,IAAI;AAAA,EAChE;AACA,SAAO;AACT;AAEO,SAAS,iBAAiB,MAM/B;AACA,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AAEA,QAAM,kBAAkB,KAAK,WAAW,kCAAqB,YAAY;AACzE,QAAM,gBACJ,KAAK,WAAW,kCAAqB,eAAe,KAAK,KAAK,SAAS,GAAG;AAC5E,QAAM,YACJ,KAAK,WAAW,kCAAqB,WAAW,KAAK,KAAK,SAAS,GAAG;AAExE,MAAI,iBAAiB;AACnB,UAAM,CAAC,EAAE,cAAc,aAAa,IAAI,KAAK,MAAM,GAAG;AACtD,QAAI;AACF,YAAM,UAAU,OAAO,KAAK,cAAc,KAAK,EAAE,SAAS,OAAO;AAEjE,UAAI,CAAC,SAAS;AACZ,eAAO;AAAA,MACT;AAEA,YAAM,SAAS,IAAI,iBAAAA;AAAA,QACjB,OAAO,cAAc,QAAQ,MAAM,EAAE;AAAA,MACvC,EAAE,SAAS,EAAE;AAEb,aAAO;AAAA,QACL;AAAA,QACA;AAAA,MACF;AAAA,IACF,SAAS,GAAG;AACV,cAAQ,MAAM,6CAA6C,CAAC;AAAA,IAC9D;AAAA,EACF;AAEA,MAAI,eAAe;AACjB,QAAI;AACF,YAAM;AAAA,QAAC;AAAA;AAAA,QAAsB;AAAA,QAAY;AAAA,QAAO;AAAA,QAAU;AAAA,MAAQ,IAChE,WAAW,IAAI;AACjB,UACE,CAAC,YAAY,OAAO,UAAU,QAAQ,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE,CAAC,SACjE,sCAAe,IAAI,wBAAQ,QAAQ,EAAE,SAAS,CAAC,GAC/C;AACA,eAAO;AAAA,UACL,SAAS,GAAG,UAAU,IAAI,KAAK;AAAA,UAC/B,QAAQ,IAAI,iBAAAA,QAAU,UAAU,EAAE,EAAE,SAAS,EAAE;AAAA,UAC/C;AAAA,UACA;AAAA,UACA,UAAU,IAAI,wBAAQ,QAAQ,EAAE,SAAS;AAAA,QAC3C;AAAA,MACF;AAAA,IACF,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AAEA,MAAI,WAAW;AACb,QAAI;AACF,YAAM;AAAA,QAAC;AAAA;AAAA,QAAkB;AAAA,QAAY;AAAA,QAAO;AAAA,MAAQ,IAAI,WAAW,IAAI;AACvE,UAAI,CAAC,YAAY,OAAO,QAAQ,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE,CAAC,GAAG;AAC5D,eAAO;AAAA,UACL,SAAS,GAAG,UAAU,IAAI,KAAK;AAAA,UAC/B,QAAQ,IAAI,iBAAAA,QAAU,UAAU,EAAE,EAAE,SAAS,EAAE;AAAA,UAC/C;AAAA,UACA;AAAA,QACF;AAAA,MACF;AAAA,IACF,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AAEA,SAAO;AACT;",
|
|
6
|
+
"names": ["BigNumber"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a,b}from"../../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as decodeData,b as getTokenFromData};
|
|
2
2
|
//# sourceMappingURL=getTokenFromData.mjs.map
|
|
@@ -1,2 +1,119 @@
|
|
|
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 parseMultiEsdtTransferData_exports = {};
|
|
30
|
+
__export(parseMultiEsdtTransferData_exports, {
|
|
31
|
+
parseMultiEsdtTransferData: () => parseMultiEsdtTransferData
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(parseMultiEsdtTransferData_exports);
|
|
34
|
+
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
+
var import_enums = require("../../../../../../../types/enums.types");
|
|
36
|
+
var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
|
|
37
|
+
var import_getAllStringOccurrences = require("./getAllStringOccurrences");
|
|
38
|
+
function parseMultiEsdtTransferData(data) {
|
|
39
|
+
const transactions = [];
|
|
40
|
+
let contractCallDataIndex = 0;
|
|
41
|
+
try {
|
|
42
|
+
if (data?.startsWith(import_enums.TransactionTypesEnum.MultiESDTNFTTransfer) && data?.includes("@")) {
|
|
43
|
+
const [, receiver, encodedTxCount, ...rest] = data.split("@");
|
|
44
|
+
if (receiver) {
|
|
45
|
+
const txCount = new import_bignumber.default(encodedTxCount, 16).toNumber();
|
|
46
|
+
if (txCount >= Number.MAX_SAFE_INTEGER) {
|
|
47
|
+
return [];
|
|
48
|
+
}
|
|
49
|
+
let itemIndex = 0;
|
|
50
|
+
for (let txIndex = 0; txIndex < txCount; txIndex++) {
|
|
51
|
+
const transaction = {
|
|
52
|
+
type: import_enums.TransactionTypesEnum.nftTransaction,
|
|
53
|
+
data: "",
|
|
54
|
+
receiver
|
|
55
|
+
};
|
|
56
|
+
for (let index = 0; index < 3; index++) {
|
|
57
|
+
switch (index) {
|
|
58
|
+
case 0:
|
|
59
|
+
transaction.token = (0, import_decodePart.decodePart)(rest[itemIndex]);
|
|
60
|
+
transaction.data = rest[itemIndex];
|
|
61
|
+
break;
|
|
62
|
+
case 1: {
|
|
63
|
+
const encodedNonce = rest[itemIndex] && rest[itemIndex].length ? rest[itemIndex] : "";
|
|
64
|
+
if (encodedNonce && encodedNonce !== "00") {
|
|
65
|
+
transaction.nonce = encodedNonce;
|
|
66
|
+
} else {
|
|
67
|
+
transaction.type = import_enums.TransactionTypesEnum.esdtTransaction;
|
|
68
|
+
}
|
|
69
|
+
transaction.data = `${transaction.data}@${rest[itemIndex]}`;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
case 2:
|
|
73
|
+
transaction.amount = new import_bignumber.default(
|
|
74
|
+
rest[itemIndex],
|
|
75
|
+
16
|
|
76
|
+
).toString(10);
|
|
77
|
+
transaction.data = `${transaction.data}@${rest[itemIndex]}`;
|
|
78
|
+
break;
|
|
79
|
+
default:
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
contractCallDataIndex = itemIndex + 1;
|
|
83
|
+
itemIndex++;
|
|
84
|
+
}
|
|
85
|
+
transactions[txIndex] = transaction;
|
|
86
|
+
}
|
|
87
|
+
const isDifferentFromTxCount = transactions.length !== txCount;
|
|
88
|
+
const hasInvalidNoOfAdSigns = transactions.some((tx) => {
|
|
89
|
+
const adSignOccurences = (0, import_getAllStringOccurrences.getAllStringOccurrences)(tx.data, "@").length;
|
|
90
|
+
return adSignOccurences !== 2;
|
|
91
|
+
});
|
|
92
|
+
const hasAdStart = transactions.some((tx) => tx.data.startsWith("@"));
|
|
93
|
+
if (isDifferentFromTxCount || hasInvalidNoOfAdSigns || hasAdStart) {
|
|
94
|
+
return [];
|
|
95
|
+
}
|
|
96
|
+
if (rest[contractCallDataIndex]) {
|
|
97
|
+
let scCallData = rest[contractCallDataIndex];
|
|
98
|
+
for (let i = contractCallDataIndex + 1; i < rest.length; i++) {
|
|
99
|
+
scCallData += "@" + rest[i];
|
|
100
|
+
}
|
|
101
|
+
transactions[txCount] = {
|
|
102
|
+
type: import_enums.TransactionTypesEnum.scCall,
|
|
103
|
+
data: scCallData,
|
|
104
|
+
receiver
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
} catch (err) {
|
|
110
|
+
console.error("failed parsing tx", err);
|
|
111
|
+
return transactions;
|
|
112
|
+
}
|
|
113
|
+
return transactions;
|
|
114
|
+
}
|
|
115
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
116
|
+
0 && (module.exports = {
|
|
117
|
+
parseMultiEsdtTransferData
|
|
118
|
+
});
|
|
2
119
|
//# sourceMappingURL=parseMultiEsdtTransferData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { TransactionTypesEnum } from 'types/enums.types';\nimport { MultiEsdtTransactionType } from 'types/transactions.types';\nimport { decodePart } from 'utils/decoders/decodePart';\nimport { getAllStringOccurrences } from './getAllStringOccurrences';\n\n// TODO: add tests\nexport function parseMultiEsdtTransferData(data?: string) {\n const transactions: MultiEsdtTransactionType[] = [];\n let contractCallDataIndex = 0;\n try {\n if (\n data?.startsWith(TransactionTypesEnum.MultiESDTNFTTransfer) &&\n data?.includes('@')\n ) {\n const [, receiver, encodedTxCount, ...rest] = data.split('@');\n\n if (receiver) {\n const txCount = new BigNumber(encodedTxCount, 16).toNumber();\n\n if (txCount >= Number.MAX_SAFE_INTEGER) {\n return [];\n }\n\n let itemIndex = 0;\n\n for (let txIndex = 0; txIndex < txCount; txIndex++) {\n const transaction: MultiEsdtTransactionType = {\n type: TransactionTypesEnum.nftTransaction,\n data: '',\n receiver\n };\n\n for (let index = 0; index < 3; index++) {\n switch (index) {\n case 0:\n transaction.token = decodePart(rest[itemIndex]);\n transaction.data = rest[itemIndex];\n break;\n case 1: {\n const encodedNonce =\n rest[itemIndex] && rest[itemIndex].length\n ? rest[itemIndex]\n : '';\n if (encodedNonce && encodedNonce !== '00') {\n transaction.nonce = encodedNonce;\n } else {\n transaction.type = TransactionTypesEnum.esdtTransaction;\n }\n transaction.data = `${transaction.data}@${rest[itemIndex]}`;\n break;\n }\n case 2:\n transaction.amount = new BigNumber(\n rest[itemIndex],\n 16\n ).toString(10);\n transaction.data = `${transaction.data}@${rest[itemIndex]}`;\n break;\n default:\n break;\n }\n contractCallDataIndex = itemIndex + 1;\n itemIndex++;\n }\n transactions[txIndex] = transaction;\n }\n\n const isDifferentFromTxCount = transactions.length !== txCount;\n const hasInvalidNoOfAdSigns = transactions.some((tx) => {\n const adSignOccurences = getAllStringOccurrences(tx.data, '@').length;\n return adSignOccurences !== 2;\n });\n\n const hasAdStart = transactions.some((tx) => tx.data.startsWith('@'));\n if (isDifferentFromTxCount || hasInvalidNoOfAdSigns || hasAdStart) {\n return [];\n }\n\n if (rest[contractCallDataIndex]) {\n let scCallData = rest[contractCallDataIndex];\n for (let i = contractCallDataIndex + 1; i < rest.length; i++) {\n scCallData += '@' + rest[i];\n }\n transactions[txCount] = {\n type: TransactionTypesEnum.scCall,\n data: scCallData,\n receiver\n };\n }\n }\n }\n } catch (err) {\n console.error('failed parsing tx', err);\n return transactions;\n }\n return transactions;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AACtB,mBAAqC;AAErC,wBAA2B;AAC3B,qCAAwC;AAGjC,SAAS,2BAA2B,MAAe;AACxD,QAAM,eAA2C,CAAC;AAClD,MAAI,wBAAwB;AAC5B,MAAI;AACF,QACE,MAAM,WAAW,kCAAqB,oBAAoB,KAC1D,MAAM,SAAS,GAAG,GAClB;AACA,YAAM,CAAC,EAAE,UAAU,gBAAgB,GAAG,IAAI,IAAI,KAAK,MAAM,GAAG;AAE5D,UAAI,UAAU;AACZ,cAAM,UAAU,IAAI,iBAAAA,QAAU,gBAAgB,EAAE,EAAE,SAAS;AAE3D,YAAI,WAAW,OAAO,kBAAkB;AACtC,iBAAO,CAAC;AAAA,QACV;AAEA,YAAI,YAAY;AAEhB,iBAAS,UAAU,GAAG,UAAU,SAAS,WAAW;AAClD,gBAAM,cAAwC;AAAA,YAC5C,MAAM,kCAAqB;AAAA,YAC3B,MAAM;AAAA,YACN;AAAA,UACF;AAEA,mBAAS,QAAQ,GAAG,QAAQ,GAAG,SAAS;AACtC,oBAAQ,OAAO;AAAA,cACb,KAAK;AACH,4BAAY,YAAQ,8BAAW,KAAK,SAAS,CAAC;AAC9C,4BAAY,OAAO,KAAK,SAAS;AACjC;AAAA,cACF,KAAK,GAAG;AACN,sBAAM,eACJ,KAAK,SAAS,KAAK,KAAK,SAAS,EAAE,SAC/B,KAAK,SAAS,IACd;AACN,oBAAI,gBAAgB,iBAAiB,MAAM;AACzC,8BAAY,QAAQ;AAAA,gBACtB,OAAO;AACL,8BAAY,OAAO,kCAAqB;AAAA,gBAC1C;AACA,4BAAY,OAAO,GAAG,YAAY,IAAI,IAAI,KAAK,SAAS,CAAC;AACzD;AAAA,cACF;AAAA,cACA,KAAK;AACH,4BAAY,SAAS,IAAI,iBAAAA;AAAA,kBACvB,KAAK,SAAS;AAAA,kBACd;AAAA,gBACF,EAAE,SAAS,EAAE;AACb,4BAAY,OAAO,GAAG,YAAY,IAAI,IAAI,KAAK,SAAS,CAAC;AACzD;AAAA,cACF;AACE;AAAA,YACJ;AACA,oCAAwB,YAAY;AACpC;AAAA,UACF;AACA,uBAAa,OAAO,IAAI;AAAA,QAC1B;AAEA,cAAM,yBAAyB,aAAa,WAAW;AACvD,cAAM,wBAAwB,aAAa,KAAK,CAAC,OAAO;AACtD,gBAAM,uBAAmB,wDAAwB,GAAG,MAAM,GAAG,EAAE;AAC/D,iBAAO,qBAAqB;AAAA,QAC9B,CAAC;AAED,cAAM,aAAa,aAAa,KAAK,CAAC,OAAO,GAAG,KAAK,WAAW,GAAG,CAAC;AACpE,YAAI,0BAA0B,yBAAyB,YAAY;AACjE,iBAAO,CAAC;AAAA,QACV;AAEA,YAAI,KAAK,qBAAqB,GAAG;AAC/B,cAAI,aAAa,KAAK,qBAAqB;AAC3C,mBAAS,IAAI,wBAAwB,GAAG,IAAI,KAAK,QAAQ,KAAK;AAC5D,0BAAc,MAAM,KAAK,CAAC;AAAA,UAC5B;AACA,uBAAa,OAAO,IAAI;AAAA,YACtB,MAAM,kCAAqB;AAAA,YAC3B,MAAM;AAAA,YACN;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF,SAAS,KAAK;AACZ,YAAQ,MAAM,qBAAqB,GAAG;AACtC,WAAO;AAAA,EACT;AACA,SAAO;AACT;",
|
|
6
|
+
"names": ["BigNumber"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as parseMultiEsdtTransferData};
|
|
2
2
|
//# sourceMappingURL=parseMultiEsdtTransferData.mjs.map
|
|
@@ -1,2 +1,87 @@
|
|
|
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 parseMultiEsdtTransferDataForMultipleTransactions_exports = {};
|
|
20
|
+
__export(parseMultiEsdtTransferDataForMultipleTransactions_exports, {
|
|
21
|
+
parseMultiEsdtTransferDataForMultipleTransactions: () => parseMultiEsdtTransferDataForMultipleTransactions
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(parseMultiEsdtTransferDataForMultipleTransactions_exports);
|
|
24
|
+
var import_base64Utils = require("../../../../../../../utils/decoders/base64Utils");
|
|
25
|
+
var import_getTokenFromData = require("./getTokenFromData");
|
|
26
|
+
var import_parseMultiEsdtTransferData = require("./parseMultiEsdtTransferData");
|
|
27
|
+
function parseMultiEsdtTransferDataForMultipleTransactions({
|
|
28
|
+
transactions
|
|
29
|
+
}) {
|
|
30
|
+
const allTransactions = [];
|
|
31
|
+
const parsedTransactionsByDataField = {};
|
|
32
|
+
if (!transactions || transactions.length === 0) {
|
|
33
|
+
return {
|
|
34
|
+
allTransactions,
|
|
35
|
+
parsedTransactionsByDataField
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
transactions.forEach((transaction, transactionIndex) => {
|
|
39
|
+
const plainTransaction = transaction.toPlainObject();
|
|
40
|
+
const txData = (0, import_base64Utils.decodeBase64)(plainTransaction?.data ?? "");
|
|
41
|
+
const multiTxs = (0, import_parseMultiEsdtTransferData.parseMultiEsdtTransferData)(txData);
|
|
42
|
+
if (multiTxs.length > 0) {
|
|
43
|
+
multiTxs.forEach((trx, idx) => {
|
|
44
|
+
const isLastView = idx === multiTxs.length - 1;
|
|
45
|
+
const newTx = {
|
|
46
|
+
transaction,
|
|
47
|
+
multiTxData: trx.data,
|
|
48
|
+
transactionIndex: idx,
|
|
49
|
+
needsSigning: isLastView
|
|
50
|
+
};
|
|
51
|
+
parsedTransactionsByDataField[trx.data] = {
|
|
52
|
+
tokenId: trx.token ? trx.token : "",
|
|
53
|
+
amount: trx.amount ? trx.amount : "",
|
|
54
|
+
type: trx.type,
|
|
55
|
+
nonce: trx.nonce ? trx.nonce : "",
|
|
56
|
+
multiTxData: trx.data,
|
|
57
|
+
receiver: trx.receiver
|
|
58
|
+
};
|
|
59
|
+
allTransactions.push(newTx);
|
|
60
|
+
});
|
|
61
|
+
} else {
|
|
62
|
+
const { tokenId, amount } = (0, import_getTokenFromData.getTokenFromData)(txData);
|
|
63
|
+
if (tokenId) {
|
|
64
|
+
parsedTransactionsByDataField[txData] = {
|
|
65
|
+
tokenId,
|
|
66
|
+
amount,
|
|
67
|
+
receiver: transaction.receiver.toBech32()
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
allTransactions.push({
|
|
71
|
+
transaction,
|
|
72
|
+
transactionIndex,
|
|
73
|
+
multiTxData: txData,
|
|
74
|
+
needsSigning: true
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
return {
|
|
79
|
+
allTransactions,
|
|
80
|
+
parsedTransactionsByDataField
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
parseMultiEsdtTransferDataForMultipleTransactions
|
|
86
|
+
});
|
|
2
87
|
//# sourceMappingURL=parseMultiEsdtTransferDataForMultipleTransactions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.ts"],
|
|
4
4
|
"sourcesContent": ["import type { Transaction } from '@multiversx/sdk-core';\n\nimport {\n MultiSignTransactionType,\n TransactionsDataTokensType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { getTokenFromData } from './getTokenFromData';\nimport { parseMultiEsdtTransferData } from './parseMultiEsdtTransferData';\n\nexport function parseMultiEsdtTransferDataForMultipleTransactions({\n transactions\n}: {\n transactions?: Transaction[];\n}) {\n const allTransactions: MultiSignTransactionType[] = [];\n const parsedTransactionsByDataField: TransactionsDataTokensType = {};\n\n if (!transactions || transactions.length === 0) {\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n }\n\n transactions.forEach((transaction, transactionIndex) => {\n const plainTransaction = transaction.toPlainObject();\n const txData = decodeBase64(plainTransaction?.data ?? '');\n const multiTxs = parseMultiEsdtTransferData(txData);\n\n if (multiTxs.length > 0) {\n multiTxs.forEach((trx, idx) => {\n const isLastView = idx === multiTxs.length - 1;\n\n const newTx: MultiSignTransactionType = {\n transaction,\n multiTxData: trx.data,\n transactionIndex: idx,\n needsSigning: isLastView\n };\n\n parsedTransactionsByDataField[trx.data] = {\n tokenId: trx.token ? trx.token : '',\n amount: trx.amount ? trx.amount : '',\n type: trx.type,\n nonce: trx.nonce ? trx.nonce : '',\n multiTxData: trx.data,\n receiver: trx.receiver\n };\n\n allTransactions.push(newTx);\n });\n } else {\n const { tokenId, amount } = getTokenFromData(txData);\n\n if (tokenId) {\n parsedTransactionsByDataField[txData] = {\n tokenId,\n amount,\n receiver: transaction.receiver.toBech32()\n };\n }\n allTransactions.push({\n transaction,\n transactionIndex,\n multiTxData: txData,\n needsSigning: true\n });\n }\n });\n\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAA6B;AAC7B,8BAAiC;AACjC,wCAA2C;AAEpC,SAAS,kDAAkD;AAAA,EAChE;AACF,GAEG;AACD,QAAM,kBAA8C,CAAC;AACrD,QAAM,gCAA4D,CAAC;AAEnE,MAAI,CAAC,gBAAgB,aAAa,WAAW,GAAG;AAC9C,WAAO;AAAA,MACL;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAEA,eAAa,QAAQ,CAAC,aAAa,qBAAqB;AACtD,UAAM,mBAAmB,YAAY,cAAc;AACnD,UAAM,aAAS,iCAAa,kBAAkB,QAAQ,EAAE;AACxD,UAAM,eAAW,8DAA2B,MAAM;AAElD,QAAI,SAAS,SAAS,GAAG;AACvB,eAAS,QAAQ,CAAC,KAAK,QAAQ;AAC7B,cAAM,aAAa,QAAQ,SAAS,SAAS;AAE7C,cAAM,QAAkC;AAAA,UACtC;AAAA,UACA,aAAa,IAAI;AAAA,UACjB,kBAAkB;AAAA,UAClB,cAAc;AAAA,QAChB;AAEA,sCAA8B,IAAI,IAAI,IAAI;AAAA,UACxC,SAAS,IAAI,QAAQ,IAAI,QAAQ;AAAA,UACjC,QAAQ,IAAI,SAAS,IAAI,SAAS;AAAA,UAClC,MAAM,IAAI;AAAA,UACV,OAAO,IAAI,QAAQ,IAAI,QAAQ;AAAA,UAC/B,aAAa,IAAI;AAAA,UACjB,UAAU,IAAI;AAAA,QAChB;AAEA,wBAAgB,KAAK,KAAK;AAAA,MAC5B,CAAC;AAAA,IACH,OAAO;AACL,YAAM,EAAE,SAAS,OAAO,QAAI,0CAAiB,MAAM;AAEnD,UAAI,SAAS;AACX,sCAA8B,MAAM,IAAI;AAAA,UACtC;AAAA,UACA;AAAA,UACA,UAAU,YAAY,SAAS,SAAS;AAAA,QAC1C;AAAA,MACF;AACA,sBAAgB,KAAK;AAAA,QACnB;AAAA,QACA;AAAA,QACA,aAAa;AAAA,QACb,cAAc;AAAA,MAChB,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../../__chunks__/chunk-CO23VS2O.mjs";import"../../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-CO23VS2O.mjs";import"../../../../../../../__chunks__/chunk-7CA6UKPK.mjs";import"../../../../../../../__chunks__/chunk-5KVNYLOM.mjs";import"../../../../../../../__chunks__/chunk-COKCHJ2B.mjs";import"../../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as parseMultiEsdtTransferDataForMultipleTransactions};
|
|
2
2
|
//# sourceMappingURL=parseMultiEsdtTransferDataForMultipleTransactions.mjs.map
|