@multiversx/sdk-dapp 5.2.9 → 5.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/chunk-25G6565D.mjs +2 -0
- package/out/__chunks__/{chunk-D2CVYS4M.mjs → chunk-2UPWFRCA.mjs} +2 -2
- package/out/__chunks__/{chunk-ERE5BVRC.mjs → chunk-2WAT3RZ3.mjs} +2 -2
- package/out/__chunks__/{chunk-ZVFOG6LB.mjs → chunk-2ZW4LVVR.mjs} +2 -2
- package/out/__chunks__/{chunk-RN6VVJPM.mjs → chunk-32DICVUK.mjs} +2 -2
- package/out/__chunks__/{chunk-UOD2UO27.mjs → chunk-4MWQKLVG.mjs} +2 -2
- package/out/__chunks__/{chunk-7HH5AHJM.mjs → chunk-4ZAZCOJD.mjs} +2 -2
- package/out/__chunks__/{chunk-DMI2O4KV.mjs → chunk-5DUIQBPR.mjs} +2 -2
- package/out/__chunks__/chunk-5F53ZQDO.mjs +2 -0
- package/out/__chunks__/{chunk-FUFSHVR2.mjs → chunk-5KY3OIFD.mjs} +2 -2
- package/out/__chunks__/chunk-5VQOOZQV.mjs +2 -0
- package/out/__chunks__/{chunk-SORO3SMC.mjs → chunk-5WR632LR.mjs} +2 -2
- package/out/__chunks__/{chunk-52A7HOT5.mjs → chunk-643FDBLR.mjs} +2 -2
- package/out/__chunks__/chunk-6C26F7JZ.mjs +2 -0
- package/out/__chunks__/chunk-6FRXGPOE.mjs +2 -0
- package/out/__chunks__/{chunk-GGXK3235.mjs → chunk-6VPMVY56.mjs} +2 -2
- package/out/__chunks__/chunk-73E7X7HK.mjs +2 -0
- package/out/__chunks__/chunk-7BZQYV6D.mjs +2 -0
- package/out/__chunks__/{chunk-2MRPKTZ3.mjs → chunk-7CELSV4S.mjs} +2 -2
- package/out/__chunks__/{chunk-S2PH3P53.mjs → chunk-7UUDW64Y.mjs} +2 -2
- package/out/__chunks__/{chunk-42P7WSDZ.mjs → chunk-A63UAQRB.mjs} +2 -2
- package/out/__chunks__/{chunk-SBTMAYW7.mjs → chunk-AGBY3WIQ.mjs} +2 -2
- package/out/__chunks__/{chunk-BPOW3DAB.mjs → chunk-ALBBGYHS.mjs} +2 -2
- package/out/__chunks__/{chunk-MHF7JB3Y.mjs → chunk-ALT4OKHK.mjs} +2 -2
- package/out/__chunks__/{chunk-FUCSXJMR.mjs → chunk-AN4TQZVZ.mjs} +2 -2
- package/out/__chunks__/{chunk-M42UYGCH.mjs → chunk-AVEMKF6Z.mjs} +2 -2
- package/out/__chunks__/{chunk-PJBXLDBG.mjs → chunk-B5YOJH7H.mjs} +2 -2
- package/out/__chunks__/{chunk-6AC63JD5.mjs → chunk-BC5MT6WS.mjs} +2 -2
- package/out/__chunks__/chunk-BEXC6NB5.mjs +2 -0
- package/out/__chunks__/{chunk-5QUMAPUC.mjs.map → chunk-BEXC6NB5.mjs.map} +2 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs +2 -0
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +7 -0
- package/out/__chunks__/{chunk-HX72KRC4.mjs → chunk-DRYIE3UL.mjs} +2 -2
- package/out/__chunks__/chunk-E5OMXZT7.mjs +2 -0
- package/out/__chunks__/{chunk-5AVHNKDZ.mjs → chunk-EAXWH64Z.mjs} +2 -2
- package/out/__chunks__/{chunk-XQESHZ2X.mjs → chunk-ELCWJYQ7.mjs} +2 -2
- package/out/__chunks__/{chunk-DSPRERV6.mjs → chunk-ET6MYYOM.mjs} +2 -2
- package/out/__chunks__/{chunk-XEGTQTFK.mjs → chunk-ETH6P454.mjs} +2 -2
- package/out/__chunks__/{chunk-CCBYPSXO.mjs → chunk-FFGJMR4Q.mjs} +2 -2
- package/out/__chunks__/chunk-G43Z243B.mjs +2 -0
- package/out/__chunks__/{chunk-GWFOJPML.mjs.map → chunk-G43Z243B.mjs.map} +1 -1
- package/out/__chunks__/{chunk-76YR7YQD.mjs → chunk-GDMANS7S.mjs} +2 -2
- package/out/__chunks__/{chunk-NJWQNAUZ.mjs → chunk-GJ64B4SS.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs → chunk-GLXG5BES.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs.map → chunk-GLXG5BES.mjs.map} +3 -3
- package/out/__chunks__/{chunk-7KWGOZI4.mjs → chunk-GPUXJWA3.mjs} +2 -2
- package/out/__chunks__/{chunk-TLSLNBIX.mjs → chunk-GWXW3E7L.mjs} +2 -2
- package/out/__chunks__/{chunk-F24X6WMA.mjs → chunk-H7YY4BCM.mjs} +2 -2
- package/out/__chunks__/{chunk-KIBWVS7T.mjs → chunk-HBZ2RP7A.mjs} +2 -2
- package/out/__chunks__/chunk-HKVAAOC4.mjs +2 -0
- package/out/__chunks__/{chunk-IGA3PYLZ.mjs → chunk-I2CW2O7M.mjs} +2 -2
- package/out/__chunks__/chunk-ILR4U7Q3.mjs +2 -0
- package/out/__chunks__/{chunk-LJVBVKNW.mjs → chunk-IXO75QXR.mjs} +2 -2
- package/out/__chunks__/{chunk-SNZWFOV6.mjs → chunk-J6MUGECP.mjs} +2 -2
- package/out/__chunks__/chunk-J6MUGECP.mjs.map +7 -0
- package/out/__chunks__/chunk-JFIQXGJ5.mjs +2 -0
- package/out/__chunks__/{chunk-7D6YECRB.mjs → chunk-JHYKMKMK.mjs} +2 -2
- package/out/__chunks__/{chunk-QJ3Y35H5.mjs → chunk-JKFZERMM.mjs} +2 -2
- package/out/__chunks__/chunk-JM3JEGRV.mjs +2 -0
- package/out/__chunks__/chunk-JOPPHD4R.mjs +2 -0
- package/out/__chunks__/{chunk-ZGMIL4MG.mjs → chunk-JSSRK6RP.mjs} +2 -2
- package/out/__chunks__/{chunk-FLOLQ4JL.mjs → chunk-KTQD4DTE.mjs} +2 -2
- package/out/__chunks__/{chunk-IPVALLAK.mjs → chunk-KZUPCFEG.mjs} +2 -2
- package/out/__chunks__/{chunk-7Y3FYVL4.mjs → chunk-MNIS55JL.mjs} +2 -2
- package/out/__chunks__/chunk-NK5Y3RLY.mjs +2 -0
- package/out/__chunks__/chunk-NK5Y3RLY.mjs.map +7 -0
- package/out/__chunks__/{chunk-7W4P5SLS.mjs → chunk-NO4FZ4M3.mjs} +2 -2
- package/out/__chunks__/{chunk-7B7XIPV2.mjs → chunk-NRXYSTRW.mjs} +1 -1
- package/out/__chunks__/{chunk-7B7XIPV2.mjs.map → chunk-NRXYSTRW.mjs.map} +1 -1
- package/out/__chunks__/{chunk-BC4ZQOAE.mjs → chunk-NTOY6GTP.mjs} +2 -2
- package/out/__chunks__/{chunk-ACMDU3QF.mjs → chunk-O462QL7Q.mjs} +2 -2
- package/out/__chunks__/{chunk-TIJEFUI3.mjs → chunk-OI2AXS22.mjs} +2 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs +2 -0
- package/out/__chunks__/chunk-OLOCTHIE.mjs.map +7 -0
- package/out/__chunks__/{chunk-KWE3DU6Z.mjs → chunk-OLPFN3HZ.mjs} +2 -2
- package/out/__chunks__/{chunk-MWVWSB7G.mjs → chunk-PCGP4VVW.mjs} +2 -2
- package/out/__chunks__/{chunk-HFY2UB7E.mjs → chunk-PUCCTEN7.mjs} +2 -2
- package/out/__chunks__/{chunk-LUG3RRVN.mjs → chunk-QJ6YLLBK.mjs} +2 -2
- package/out/__chunks__/{chunk-Q3DHKVPY.mjs → chunk-QMFEYMZI.mjs} +2 -2
- package/out/__chunks__/chunk-QZDVKNF4.mjs +2 -0
- package/out/__chunks__/{chunk-KBTIQKEL.mjs → chunk-RXE5QIE3.mjs} +2 -2
- package/out/__chunks__/chunk-SJLTVGKD.mjs +2 -0
- package/out/__chunks__/{chunk-YHLBPZNN.mjs → chunk-SLG55PDO.mjs} +2 -2
- package/out/__chunks__/{chunk-GRQOTJQA.mjs → chunk-T3RXRYP5.mjs} +2 -2
- package/out/__chunks__/{chunk-QQIPTRF4.mjs → chunk-TCDMXBPB.mjs} +2 -2
- package/out/__chunks__/chunk-TCDMXBPB.mjs.map +7 -0
- package/out/__chunks__/{chunk-T6GTSLQD.mjs → chunk-TKIYJDS2.mjs} +2 -2
- package/out/__chunks__/chunk-TT7J5V3M.mjs +2 -0
- package/out/__chunks__/{chunk-HF4QPAWD.mjs.map → chunk-TT7J5V3M.mjs.map} +3 -3
- package/out/__chunks__/{chunk-U2TDA5B2.mjs → chunk-UF2Y4P6U.mjs} +2 -2
- package/out/__chunks__/{chunk-LWRBWWET.mjs → chunk-URJQWHBM.mjs} +2 -2
- package/out/__chunks__/{chunk-4SNEBLCL.mjs → chunk-UUPS4KLW.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs → chunk-UXBKGTA5.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs.map → chunk-UXBKGTA5.mjs.map} +1 -1
- package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-UZTMRUVT.mjs} +2 -2
- package/out/__chunks__/{chunk-YB5TSLJV.mjs → chunk-V322LMVG.mjs} +2 -2
- package/out/__chunks__/{chunk-GHUX5LY3.mjs → chunk-V3GRSQIB.mjs} +2 -2
- package/out/__chunks__/{chunk-PIFEYU34.mjs → chunk-VDAYN2HT.mjs} +2 -2
- package/out/__chunks__/{chunk-DVWQ3NWJ.mjs → chunk-VKDH4PYW.mjs} +2 -2
- package/out/__chunks__/{chunk-G5TDTAQH.mjs → chunk-VY62CH5W.mjs} +2 -2
- package/out/__chunks__/chunk-WJJTA23D.mjs +2 -0
- package/out/__chunks__/{chunk-TDUG36NZ.mjs → chunk-X3AX4PFE.mjs} +2 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +2 -0
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +2 -0
- package/out/__chunks__/{chunk-SP4B7UYK.mjs → chunk-YYVGE2ZU.mjs} +2 -2
- package/out/__chunks__/{chunk-L2GQHTCM.mjs → chunk-ZAY5O7DE.mjs} +2 -2
- package/out/__chunks__/{chunk-ALOBJ2YK.mjs → chunk-ZG6EULI2.mjs} +2 -2
- package/out/__chunks__/{chunk-QNBPNTH7.mjs → chunk-ZJM5FGLA.mjs} +2 -2
- package/out/__chunks__/{chunk-LRZTZ4MT.mjs → chunk-ZM77AGP5.mjs} +2 -2
- package/out/__chunks__/chunk-ZM77AGP5.mjs.map +7 -0
- package/out/apiCalls/account/getAccountFromApi.cjs +59 -1
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +51 -1
- package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +22 -1
- package/out/apiCalls/account/index.cjs.map +2 -2
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +34 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +64 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +61 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
- package/out/apiCalls/configuration/getServerConfiguration.cjs +65 -1
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
- package/out/apiCalls/configuration/index.cjs +24 -1
- package/out/apiCalls/configuration/index.cjs.map +2 -2
- package/out/apiCalls/economics/getEconomics.cjs +54 -1
- package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
- package/out/apiCalls/endpoints.cjs +100 -1
- package/out/apiCalls/endpoints.cjs.map +2 -2
- package/out/apiCalls/index.cjs +32 -1
- package/out/apiCalls/index.cjs.map +2 -2
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +42 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +72 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +74 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +22 -1
- package/out/apiCalls/tokens/index.cjs.map +2 -2
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +58 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +51 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +76 -1
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +47 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +29 -1
- package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
- package/out/apiCalls/utils/axiosInstance.cjs +105 -1
- package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs +30 -1
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/utils/index.cjs +26 -1
- package/out/apiCalls/utils/index.cjs.map +2 -2
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +49 -1
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
- package/out/apiCalls/websocket/index.cjs +22 -1
- package/out/apiCalls/websocket/index.cjs.map +2 -2
- package/out/constants/UITags.enum.cjs +37 -1
- package/out/constants/UITags.enum.cjs.map +2 -2
- package/out/constants/browser.constants.cjs +34 -1
- package/out/constants/browser.constants.cjs.map +2 -2
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +40 -1
- package/out/constants/index.cjs.map +2 -2
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +131 -1
- package/out/constants/ledger.constants.cjs.map +2 -2
- package/out/constants/mvx.constants.cjs +58 -1
- package/out/constants/mvx.constants.cjs.map +2 -2
- package/out/constants/network.constants.cjs +113 -1
- package/out/constants/network.constants.cjs.map +2 -2
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/placeholders.constants.cjs +34 -1
- package/out/constants/placeholders.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.cjs +41 -1
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/storage.constants.cjs +43 -1
- package/out/constants/storage.constants.cjs.map +2 -2
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +64 -1
- package/out/constants/transactions.constants.cjs.map +2 -2
- package/out/constants/walletConnect.constants.cjs +32 -1
- package/out/constants/walletConnect.constants.cjs.map +2 -2
- package/out/constants/webWalletProvider.constants.cjs +46 -1
- package/out/constants/webWalletProvider.constants.cjs.map +2 -2
- package/out/constants/websocket.constants.cjs +39 -1
- package/out/constants/websocket.constants.cjs.map +2 -2
- package/out/constants/window.constants.cjs +31 -1
- package/out/constants/window.constants.cjs.map +3 -3
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +57 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/index.cjs +22 -1
- package/out/controllers/FormatAmountController/index.cjs.map +2 -2
- package/out/controllers/FormatAmountController/types.cjs +16 -1
- package/out/controllers/FormatAmountController/types.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +34 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +22 -1
- package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +133 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +22 -1
- package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +16 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
- package/out/controllers/index.cjs +22 -1
- package/out/controllers/index.cjs.map +2 -2
- package/out/index.cjs +32 -1
- package/out/index.cjs.map +2 -2
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +46 -1
- package/out/lib/sdkCore.cjs.map +2 -2
- package/out/lib/sdkDappUi.cjs +53 -1
- package/out/lib/sdkDappUi.cjs.map +2 -2
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +44 -1
- package/out/lib/sdkDappUtils.cjs.map +2 -2
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +33 -1
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
- package/out/lib/sdkWebWalletIframeProvider.cjs +28 -1
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
- package/out/lib/sdkWebviewProvider.cjs +28 -1
- package/out/lib/sdkWebviewProvider.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs +167 -1
- package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +56 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +139 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +24 -1
- package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +22 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +35 -1
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.cjs +203 -1
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +125 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +71 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +88 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +66 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +6 -0
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +40 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/index.cjs +22 -1
- package/out/managers/ToastManager/index.cjs.map +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.cjs +22 -1
- package/out/managers/ToastManager/types/index.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.cjs +47 -1
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.cjs +229 -1
- package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +16 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +50 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +52 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +53 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +30 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +47 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +54 -1
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
- package/out/managers/TransactionManager/index.cjs +22 -1
- package/out/managers/TransactionManager/index.cjs.map +2 -2
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +165 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +36 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.cjs +22 -1
- package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +24 -1
- package/out/managers/index.cjs.map +2 -2
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +214 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs +24 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +22 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +36 -1
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +124 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +58 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs +24 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +32 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +67 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs +22 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +138 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +36 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +102 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +78 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs +22 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.cjs +34 -1
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +32 -1
- package/out/methods/account/getAccount.cjs.map +2 -2
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +32 -1
- package/out/methods/account/getAccountInfo.cjs.map +2 -2
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +32 -1
- package/out/methods/account/getAddress.cjs.map +2 -2
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +32 -1
- package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +55 -1
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +61 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +2 -2
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +136 -1
- package/out/methods/initApp/initApp.cjs.map +2 -2
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.cjs +16 -1
- package/out/methods/initApp/initApp.types.cjs.map +3 -3
- package/out/methods/initApp/initApp.types.d.ts +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +126 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +2 -2
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs +37 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs.map +2 -2
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +36 -1
- package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +32 -1
- package/out/methods/network/getEgldLabel.cjs.map +2 -2
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +32 -1
- package/out/methods/network/getExplorerAddress.cjs.map +2 -2
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +32 -1
- package/out/methods/network/getNetworkConfig.cjs.map +2 -2
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +159 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +43 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +40 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +22 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +67 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +37 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +117 -1
- package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +32 -1
- package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +112 -1
- package/out/providers/DappProvider/DappProvider.cjs.map +2 -2
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +36 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +46 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +66 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +55 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +121 -1
- package/out/providers/DappProvider/helpers/login/login.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +63 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +78 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +32 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +42 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +60 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +58 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.cjs +22 -1
- package/out/providers/DappProvider/index.cjs.map +2 -2
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +127 -1
- package/out/providers/ProviderFactory.cjs.map +2 -2
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +38 -1
- package/out/providers/helpers/accountProvider.cjs.map +2 -2
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +37 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +48 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
- package/out/providers/helpers/emptyProvider.cjs +106 -1
- package/out/providers/helpers/emptyProvider.cjs.map +2 -2
- package/out/providers/helpers/restoreProvider.cjs +60 -1
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +31 -1
- package/out/providers/index.cjs.map +2 -2
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +129 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +106 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +96 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +118 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +16 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +181 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +124 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +68 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +47 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +80 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +82 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +32 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +65 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +61 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +46 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +280 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +48 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +97 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +41 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +2 -2
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.cjs +28 -1
- package/out/providers/strategies/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +83 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +2 -2
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +84 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +180 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +93 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +92 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +43 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +56 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +35 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +36 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +126 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +118 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +86 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.cjs +30 -1
- package/out/providers/strategies/index.cjs.map +2 -2
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +37 -1
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/react/account/useGetAccount.cjs +32 -1
- package/out/react/account/useGetAccount.cjs.map +2 -2
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +32 -1
- package/out/react/account/useGetAccountInfo.cjs.map +2 -2
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +33 -1
- package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +34 -1
- package/out/react/account/useGetLatestNonce.cjs.map +2 -2
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +22 -1
- package/out/react/index.cjs.map +2 -2
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +35 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +32 -1
- package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +29 -1
- package/out/react/store/createBoundedStore.cjs.map +2 -2
- package/out/react/store/getReactStore.cjs +30 -1
- package/out/react/store/getReactStore.cjs.map +2 -2
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +32 -1
- package/out/react/store/useSelector.cjs.map +2 -2
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +33 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +35 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +33 -1
- package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +22 -1
- package/out/services/index.cjs.map +2 -2
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +62 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +72 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +100 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/index.cjs +26 -1
- package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.cjs +22 -1
- package/out/services/nativeAuth/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +41 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +42 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +51 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.cjs +24 -1
- package/out/services/nativeAuth/methods/index.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +81 -1
- package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +16 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
- package/out/store/actions/account/accountActions.cjs +130 -1
- package/out/store/actions/account/accountActions.cjs.map +2 -2
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.cjs +22 -1
- package/out/store/actions/account/index.cjs.map +2 -2
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +73 -1
- package/out/store/actions/cache/cacheActions.cjs.map +2 -2
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.cjs +22 -1
- package/out/store/actions/cache/index.cjs.map +2 -2
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +78 -1
- package/out/store/actions/config/configActions.cjs.map +2 -2
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.cjs +22 -1
- package/out/store/actions/config/index.cjs.map +2 -2
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.cjs +34 -1
- package/out/store/actions/index.cjs.map +2 -2
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +169 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.cjs +22 -1
- package/out/store/actions/network/index.cjs.map +2 -2
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +70 -1
- package/out/store/actions/network/initializeNetwork.cjs.map +2 -2
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.cjs +47 -1
- package/out/store/actions/network/networkActions.cjs.map +2 -2
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.cjs +22 -1
- package/out/store/actions/sharedActions/index.cjs.map +2 -2
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +55 -1
- package/out/store/actions/sharedActions/sharedActions.cjs.map +2 -2
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.cjs +22 -1
- package/out/store/actions/toasts/index.cjs.map +2 -2
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +195 -1
- package/out/store/actions/toasts/toastsActions.cjs.map +2 -2
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +144 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +158 -1
- package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.cjs +22 -1
- package/out/store/actions/ui/index.cjs.map +2 -2
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +41 -1
- package/out/store/actions/ui/uiActions.cjs.map +2 -2
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.cjs +31 -1
- package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +22 -1
- package/out/store/middleware/index.cjs.map +2 -2
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +78 -1
- package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +60 -1
- package/out/store/selectors/accountSelectors.cjs.map +2 -2
- package/out/store/selectors/cacheSelector.cjs +31 -1
- package/out/store/selectors/cacheSelector.cjs.map +2 -2
- package/out/store/selectors/configSelectors.cjs +36 -1
- package/out/store/selectors/configSelectors.cjs.map +2 -2
- package/out/store/selectors/index.cjs +32 -1
- package/out/store/selectors/index.cjs.map +2 -2
- package/out/store/selectors/loginInfoSelectors.cjs +43 -1
- package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.cjs +51 -1
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/storeSelector.cjs +28 -1
- package/out/store/selectors/storeSelector.cjs.map +2 -2
- package/out/store/selectors/toastsSelectors.cjs +34 -1
- package/out/store/selectors/toastsSelectors.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.cjs +150 -1
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/selectors/uiSelectors.cjs +31 -1
- package/out/store/selectors/uiSelectors.cjs.map +2 -2
- package/out/store/slices/account/account.types.cjs +16 -1
- package/out/store/slices/account/account.types.cjs.map +2 -2
- package/out/store/slices/account/accountSlice.cjs +43 -1
- package/out/store/slices/account/accountSlice.cjs.map +2 -2
- package/out/store/slices/account/emptyAccount.cjs +38 -1
- package/out/store/slices/account/emptyAccount.cjs.map +2 -2
- package/out/store/slices/account/index.cjs +28 -1
- package/out/store/slices/account/index.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.cjs +34 -1
- package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.types.cjs +16 -1
- package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
- package/out/store/slices/cache/index.cjs +28 -1
- package/out/store/slices/cache/index.cjs.map +2 -2
- package/out/store/slices/config/config.types.cjs +16 -1
- package/out/store/slices/config/config.types.cjs.map +2 -2
- package/out/store/slices/config/configSlice.cjs +37 -1
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/index.cjs +28 -1
- package/out/store/slices/config/index.cjs.map +2 -2
- package/out/store/slices/index.cjs +34 -1
- package/out/store/slices/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/index.cjs +28 -1
- package/out/store/slices/loginInfo/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfo.types.cjs +16 -1
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +40 -1
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/network/emptyNetwork.cjs +41 -1
- package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
- package/out/store/slices/network/index.cjs +28 -1
- package/out/store/slices/network/index.cjs.map +2 -2
- package/out/store/slices/network/network.types.cjs +16 -1
- package/out/store/slices/network/network.types.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.cjs +35 -1
- package/out/store/slices/network/networkSlice.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.types.cjs +16 -1
- package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
- package/out/store/slices/toast/index.cjs +28 -1
- package/out/store/slices/toast/index.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.cjs +37 -1
- package/out/store/slices/toast/toastSlice.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.types.cjs +16 -1
- package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
- package/out/store/slices/transactions/index.cjs +28 -1
- package/out/store/slices/transactions/index.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.cjs +34 -1
- package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.types.cjs +16 -1
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
- package/out/store/slices/ui/index.cjs +28 -1
- package/out/store/slices/ui/index.cjs.map +2 -2
- package/out/store/slices/ui/ui.types.cjs +16 -1
- package/out/store/slices/ui/ui.types.cjs.map +2 -2
- package/out/store/slices/ui/uiSlice.cjs +34 -1
- package/out/store/slices/ui/uiSlice.cjs.map +2 -2
- package/out/store/storage/inMemoryStorage.cjs +51 -1
- package/out/store/storage/inMemoryStorage.cjs.map +2 -2
- package/out/store/storage/index.cjs +24 -1
- package/out/store/storage/index.cjs.map +2 -2
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +29 -1
- package/out/store/storage/storageCallback.cjs.map +2 -2
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +85 -1
- package/out/store/store.cjs.map +2 -2
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +16 -1
- package/out/store/store.types.cjs.map +2 -2
- package/out/types/account.types.cjs +16 -1
- package/out/types/account.types.cjs.map +2 -2
- package/out/types/enums.types.cjs +119 -1
- package/out/types/enums.types.cjs.map +3 -3
- package/out/types/enums.types.d.ts +0 -7
- package/out/types/enums.types.mjs +1 -1
- package/out/types/index.cjs +34 -1
- package/out/types/index.cjs.map +2 -2
- package/out/types/index.mjs +1 -1
- package/out/types/login.types.cjs +16 -1
- package/out/types/login.types.cjs.map +2 -2
- package/out/types/manager.types.cjs +16 -1
- package/out/types/manager.types.cjs.map +2 -2
- package/out/types/network.types.cjs +16 -1
- package/out/types/network.types.cjs.map +2 -2
- package/out/types/provider.types.cjs +34 -1
- package/out/types/provider.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.cjs +154 -1
- package/out/types/serverTransactions.types.cjs.map +3 -3
- package/out/types/serverTransactions.types.d.ts +2 -2
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/subscriptions.type.cjs +33 -1
- package/out/types/subscriptions.type.cjs.map +2 -2
- package/out/types/suspiciousLink.types.cjs +16 -1
- package/out/types/suspiciousLink.types.cjs.map +2 -2
- package/out/types/theme.types.cjs +33 -1
- package/out/types/theme.types.cjs.map +2 -2
- package/out/types/tokens.types.cjs +39 -1
- package/out/types/tokens.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.cjs +114 -1
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transactions.types.cjs +34 -1
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/websocket.types.cjs +16 -1
- package/out/types/websocket.types.cjs.map +2 -2
- package/out/utils/ComponentFactory.cjs +50 -1
- package/out/utils/ComponentFactory.cjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +29 -1
- package/out/utils/account/fetchAccount.cjs.map +2 -2
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.cjs +28 -1
- package/out/utils/account/index.cjs.map +2 -2
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +80 -1
- package/out/utils/account/refreshAccount.cjs.map +2 -2
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +65 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +35 -1
- package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
- package/out/utils/asyncActions/index.cjs +22 -1
- package/out/utils/asyncActions/index.cjs.map +2 -2
- package/out/utils/asyncActions/sleep.cjs +35 -1
- package/out/utils/asyncActions/sleep.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestamp.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +32 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
- package/out/utils/dateTime/index.cjs +26 -1
- package/out/utils/dateTime/index.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.cjs +57 -1
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/decodePart.cjs +39 -1
- package/out/utils/decoders/decodePart.cjs.map +2 -2
- package/out/utils/decoders/index.cjs +30 -1
- package/out/utils/decoders/index.cjs.map +2 -2
- package/out/utils/decoders/isAscii.cjs +28 -1
- package/out/utils/decoders/isAscii.cjs.map +2 -2
- package/out/utils/decoders/isUtf8.cjs +35 -1
- package/out/utils/decoders/isUtf8.cjs.map +2 -2
- package/out/utils/decoders/stringContainsNumbers.cjs +28 -1
- package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
- package/out/utils/index.cjs +40 -1
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +22 -1
- package/out/utils/network/index.cjs.map +2 -2
- package/out/utils/network/setAxiosInterceptors.cjs +66 -1
- package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
- package/out/utils/operations/capitalize.cjs +28 -1
- package/out/utils/operations/capitalize.cjs.map +2 -2
- package/out/utils/operations/getUsdValue.cjs +45 -1
- package/out/utils/operations/getUsdValue.cjs.map +2 -2
- package/out/utils/operations/pluralize.cjs +28 -1
- package/out/utils/operations/pluralize.cjs.map +2 -2
- package/out/utils/operations/timeRemaining.cjs +109 -1
- package/out/utils/operations/timeRemaining.cjs.map +2 -2
- package/out/utils/operations/trimAmountDecimals.cjs +59 -1
- package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
- package/out/utils/retryMultipleTimes.cjs +44 -1
- package/out/utils/retryMultipleTimes.cjs.map +2 -2
- package/out/utils/transactions/explorerUrlBuilder.cjs +53 -1
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +46 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +110 -5
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +89 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +47 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +44 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +60 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +38 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +51 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +32 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs +24 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getExplorerLink.cjs +49 -1
- package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +46 -1
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +109 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +106 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +35 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +54 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +70 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +53 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +59 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +52 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +36 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +22 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +16 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +82 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +65 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +121 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +39 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +34 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +41 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +24 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs +87 -1
- package/out/utils/transactions/getScamFlag.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +50 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +39 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +63 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +52 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +35 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +38 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +36 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +112 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +58 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +74 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +62 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +90 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +65 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +49 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +115 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +80 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs +24 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +30 -1
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +42 -1
- package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
- package/out/utils/transactions/isGuardianTx.mjs +1 -1
- package/out/utils/validation/addressIsValid.cjs +39 -1
- package/out/utils/validation/addressIsValid.cjs.map +2 -2
- package/out/utils/validation/getIdentifierType.cjs +53 -1
- package/out/utils/validation/getIdentifierType.cjs.map +2 -2
- package/out/utils/validation/hex.cjs +35 -1
- package/out/utils/validation/hex.cjs.map +2 -2
- package/out/utils/validation/index.cjs +30 -1
- package/out/utils/validation/index.cjs.map +2 -2
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +95 -1
- package/out/utils/validation/isContract.cjs.map +2 -2
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.cjs +33 -1
- package/out/utils/validation/maxDecimals.cjs.map +2 -2
- package/out/utils/visual/index.cjs +22 -1
- package/out/utils/visual/index.cjs.map +2 -2
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +38 -1
- package/out/utils/visual/switchTheme.cjs.map +2 -2
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +33 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +3 -3
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/window/buildUrlParams.cjs +36 -1
- package/out/utils/window/buildUrlParams.cjs.map +2 -2
- package/out/utils/window/getIsAuthRoute.cjs +37 -1
- package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.cjs +43 -1
- package/out/utils/window/getIsInIframe.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +55 -1
- package/out/utils/window/getWindowLocation.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.cjs +43 -1
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +32 -1
- package/out/utils/window/index.cjs.map +2 -2
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +28 -1
- package/out/utils/window/isWindowAvailable.cjs.map +2 -2
- package/out/utils/window/matchPath.cjs +113 -1
- package/out/utils/window/matchPath.cjs.map +2 -2
- package/out/utils/window/sanitizeCallbackUrl.cjs +38 -1
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
- package/package.json +4 -4
- package/out/__chunks__/chunk-2KZRLV26.mjs +0 -2
- package/out/__chunks__/chunk-3HELNSCN.mjs +0 -2
- package/out/__chunks__/chunk-4JSUKPMM.mjs +0 -2
- package/out/__chunks__/chunk-5F4SUYA5.mjs +0 -2
- package/out/__chunks__/chunk-5JK6P55K.mjs +0 -2
- package/out/__chunks__/chunk-5QUMAPUC.mjs +0 -2
- package/out/__chunks__/chunk-7I3NCMED.mjs +0 -2
- package/out/__chunks__/chunk-7NURHXG3.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
- package/out/__chunks__/chunk-DNFQGY4T.mjs +0 -2
- package/out/__chunks__/chunk-E7DBXV7R.mjs +0 -2
- package/out/__chunks__/chunk-FMU4NEUE.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs.map +0 -7
- package/out/__chunks__/chunk-FXGVROUI.mjs +0 -2
- package/out/__chunks__/chunk-GWFOJPML.mjs +0 -2
- package/out/__chunks__/chunk-HF4QPAWD.mjs +0 -2
- package/out/__chunks__/chunk-JJCS7HDI.mjs +0 -2
- package/out/__chunks__/chunk-KYW2F6YX.mjs +0 -2
- package/out/__chunks__/chunk-LRF2DQLC.mjs +0 -2
- package/out/__chunks__/chunk-LRZTZ4MT.mjs.map +0 -7
- package/out/__chunks__/chunk-MJC6B645.mjs +0 -2
- package/out/__chunks__/chunk-NJL7IL6P.mjs +0 -2
- package/out/__chunks__/chunk-QQIPTRF4.mjs.map +0 -7
- package/out/__chunks__/chunk-SNZWFOV6.mjs.map +0 -7
- package/out/__chunks__/chunk-VJK5HQFF.mjs +0 -2
- package/out/__chunks__/chunk-VJK5HQFF.mjs.map +0 -7
- package/out/__chunks__/chunk-WRBX7MBT.mjs +0 -2
- package/out/__chunks__/chunk-ZC3VYZDT.mjs +0 -2
- /package/out/__chunks__/{chunk-ZC3VYZDT.mjs.map → chunk-25G6565D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2CVYS4M.mjs.map → chunk-2UPWFRCA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ERE5BVRC.mjs.map → chunk-2WAT3RZ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZVFOG6LB.mjs.map → chunk-2ZW4LVVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RN6VVJPM.mjs.map → chunk-32DICVUK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UOD2UO27.mjs.map → chunk-4MWQKLVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7HH5AHJM.mjs.map → chunk-4ZAZCOJD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMI2O4KV.mjs.map → chunk-5DUIQBPR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJC6B645.mjs.map → chunk-5F53ZQDO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUFSHVR2.mjs.map → chunk-5KY3OIFD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7I3NCMED.mjs.map → chunk-5VQOOZQV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SORO3SMC.mjs.map → chunk-5WR632LR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-52A7HOT5.mjs.map → chunk-643FDBLR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FXGVROUI.mjs.map → chunk-6C26F7JZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2KZRLV26.mjs.map → chunk-6FRXGPOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GGXK3235.mjs.map → chunk-6VPMVY56.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WRBX7MBT.mjs.map → chunk-73E7X7HK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E7DBXV7R.mjs.map → chunk-7BZQYV6D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2MRPKTZ3.mjs.map → chunk-7CELSV4S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S2PH3P53.mjs.map → chunk-7UUDW64Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-42P7WSDZ.mjs.map → chunk-A63UAQRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SBTMAYW7.mjs.map → chunk-AGBY3WIQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BPOW3DAB.mjs.map → chunk-ALBBGYHS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MHF7JB3Y.mjs.map → chunk-ALT4OKHK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUCSXJMR.mjs.map → chunk-AN4TQZVZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M42UYGCH.mjs.map → chunk-AVEMKF6Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PJBXLDBG.mjs.map → chunk-B5YOJH7H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6AC63JD5.mjs.map → chunk-BC5MT6WS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HX72KRC4.mjs.map → chunk-DRYIE3UL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FMU4NEUE.mjs.map → chunk-E5OMXZT7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AVHNKDZ.mjs.map → chunk-EAXWH64Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQESHZ2X.mjs.map → chunk-ELCWJYQ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DSPRERV6.mjs.map → chunk-ET6MYYOM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XEGTQTFK.mjs.map → chunk-ETH6P454.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CCBYPSXO.mjs.map → chunk-FFGJMR4Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-76YR7YQD.mjs.map → chunk-GDMANS7S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJWQNAUZ.mjs.map → chunk-GJ64B4SS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7KWGOZI4.mjs.map → chunk-GPUXJWA3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TLSLNBIX.mjs.map → chunk-GWXW3E7L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F24X6WMA.mjs.map → chunk-H7YY4BCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KIBWVS7T.mjs.map → chunk-HBZ2RP7A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KYW2F6YX.mjs.map → chunk-HKVAAOC4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IGA3PYLZ.mjs.map → chunk-I2CW2O7M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HELNSCN.mjs.map → chunk-ILR4U7Q3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LJVBVKNW.mjs.map → chunk-IXO75QXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJCS7HDI.mjs.map → chunk-JFIQXGJ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7D6YECRB.mjs.map → chunk-JHYKMKMK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJ3Y35H5.mjs.map → chunk-JKFZERMM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7NURHXG3.mjs.map → chunk-JM3JEGRV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJL7IL6P.mjs.map → chunk-JOPPHD4R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZGMIL4MG.mjs.map → chunk-JSSRK6RP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FLOLQ4JL.mjs.map → chunk-KTQD4DTE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IPVALLAK.mjs.map → chunk-KZUPCFEG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7Y3FYVL4.mjs.map → chunk-MNIS55JL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7W4P5SLS.mjs.map → chunk-NO4FZ4M3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BC4ZQOAE.mjs.map → chunk-NTOY6GTP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ACMDU3QF.mjs.map → chunk-O462QL7Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TIJEFUI3.mjs.map → chunk-OI2AXS22.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWE3DU6Z.mjs.map → chunk-OLPFN3HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MWVWSB7G.mjs.map → chunk-PCGP4VVW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HFY2UB7E.mjs.map → chunk-PUCCTEN7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUG3RRVN.mjs.map → chunk-QJ6YLLBK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q3DHKVPY.mjs.map → chunk-QMFEYMZI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5F4SUYA5.mjs.map → chunk-QZDVKNF4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBTIQKEL.mjs.map → chunk-RXE5QIE3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5JK6P55K.mjs.map → chunk-SJLTVGKD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YHLBPZNN.mjs.map → chunk-SLG55PDO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GRQOTJQA.mjs.map → chunk-T3RXRYP5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T6GTSLQD.mjs.map → chunk-TKIYJDS2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U2TDA5B2.mjs.map → chunk-UF2Y4P6U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LWRBWWET.mjs.map → chunk-URJQWHBM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4SNEBLCL.mjs.map → chunk-UUPS4KLW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-UZTMRUVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YB5TSLJV.mjs.map → chunk-V322LMVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GHUX5LY3.mjs.map → chunk-V3GRSQIB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PIFEYU34.mjs.map → chunk-VDAYN2HT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DVWQ3NWJ.mjs.map → chunk-VKDH4PYW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5TDTAQH.mjs.map → chunk-VY62CH5W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DNFQGY4T.mjs.map → chunk-WJJTA23D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TDUG36NZ.mjs.map → chunk-X3AX4PFE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LRF2DQLC.mjs.map → chunk-XJPXTYIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4JSUKPMM.mjs.map → chunk-Y3BNMQFP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SP4B7UYK.mjs.map → chunk-YYVGE2ZU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L2GQHTCM.mjs.map → chunk-ZAY5O7DE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALOBJ2YK.mjs.map → chunk-ZG6EULI2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QNBPNTH7.mjs.map → chunk-ZJM5FGLA.mjs.map} +0 -0
|
@@ -1,2 +1,94 @@
|
|
|
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 getExtractTransactionsInfo_exports = {};
|
|
20
|
+
__export(getExtractTransactionsInfo_exports, {
|
|
21
|
+
getExtractTransactionsInfo: () => getExtractTransactionsInfo
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getExtractTransactionsInfo_exports);
|
|
24
|
+
var import_account = require("../../../../../../../apiCalls/account");
|
|
25
|
+
var import_getScamAddressData = require("../../../../../../../apiCalls/account/getScamAddressData");
|
|
26
|
+
var import_enums = require("../../../../../../../types/enums.types");
|
|
27
|
+
var import_base64Utils = require("../../../../../../../utils/decoders/base64Utils");
|
|
28
|
+
var import_checkIsValidSender = require("./checkIsValidSender");
|
|
29
|
+
var import_getTxInfoByDataField = require("./getTxInfoByDataField");
|
|
30
|
+
var import_isTokenTransfer = require("../../isTokenTransfer");
|
|
31
|
+
let verifiedAddresses = {};
|
|
32
|
+
function getExtractTransactionsInfo({
|
|
33
|
+
egldLabel,
|
|
34
|
+
apiAddress,
|
|
35
|
+
sender,
|
|
36
|
+
address,
|
|
37
|
+
parsedTransactionsByDataField
|
|
38
|
+
}) {
|
|
39
|
+
const extractTransactionsInfo = async (currentTx) => {
|
|
40
|
+
if (currentTx == null) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const senderAccount = !sender || sender === address ? null : await (0, import_account.getAccountFromApi)({
|
|
44
|
+
address: sender,
|
|
45
|
+
baseURL: apiAddress
|
|
46
|
+
});
|
|
47
|
+
const { transaction, multiTxData, transactionIndex } = currentTx;
|
|
48
|
+
const dataField = (0, import_base64Utils.decodeBase64)(transaction.data.toString() ?? "");
|
|
49
|
+
const transactionTokenInfo = (0, import_getTxInfoByDataField.getTxInfoByDataField)({
|
|
50
|
+
data: dataField,
|
|
51
|
+
multiTransactionData: multiTxData,
|
|
52
|
+
parsedTransactionsByDataField
|
|
53
|
+
});
|
|
54
|
+
const { tokenId } = transactionTokenInfo;
|
|
55
|
+
const receiver = transaction.receiver.toBech32();
|
|
56
|
+
if (sender && sender !== address) {
|
|
57
|
+
const isValidSender = (0, import_checkIsValidSender.checkIsValidSender)(senderAccount, address);
|
|
58
|
+
if (!isValidSender) {
|
|
59
|
+
console.error(import_enums.SigningErrorsEnum.senderDifferentThanLoggedInAddress);
|
|
60
|
+
throw import_enums.SigningErrorsEnum.senderDifferentThanLoggedInAddress;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
const notSender = address !== receiver;
|
|
64
|
+
const verified = receiver in verifiedAddresses;
|
|
65
|
+
if (receiver && notSender && !verified) {
|
|
66
|
+
const data = await (0, import_getScamAddressData.getScamAddressData)({
|
|
67
|
+
addressToVerify: receiver,
|
|
68
|
+
baseURL: apiAddress
|
|
69
|
+
});
|
|
70
|
+
verifiedAddresses = {
|
|
71
|
+
...verifiedAddresses,
|
|
72
|
+
...data?.scamInfo ? { [receiver]: data.scamInfo } : {}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
const isTokenTransaction = Boolean(
|
|
76
|
+
tokenId && (0, import_isTokenTransfer.isTokenTransfer)({ tokenId, egldLabel })
|
|
77
|
+
);
|
|
78
|
+
return {
|
|
79
|
+
transaction,
|
|
80
|
+
receiverScamInfo: verifiedAddresses[receiver]?.info || null,
|
|
81
|
+
transactionTokenInfo,
|
|
82
|
+
isTokenTransaction,
|
|
83
|
+
dataField,
|
|
84
|
+
transactionIndex,
|
|
85
|
+
needsSigning: currentTx.needsSigning
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
return extractTransactionsInfo;
|
|
89
|
+
}
|
|
90
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
91
|
+
0 && (module.exports = {
|
|
92
|
+
getExtractTransactionsInfo
|
|
93
|
+
});
|
|
2
94
|
//# sourceMappingURL=getExtractTransactionsInfo.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.ts"],
|
|
4
4
|
"sourcesContent": ["import { getAccountFromApi } from 'apiCalls/account';\nimport { getScamAddressData } from 'apiCalls/account/getScamAddressData';\nimport { SigningErrorsEnum } from 'types/enums.types';\n\nimport {\n MultiSignTransactionType,\n TransactionDataTokenType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { checkIsValidSender } from './checkIsValidSender';\nimport { getTxInfoByDataField } from './getTxInfoByDataField';\nimport { isTokenTransfer } from '../../isTokenTransfer';\n\ninterface VerifiedAddressesType {\n [address: string]: { type: string; info: string };\n}\nlet verifiedAddresses: VerifiedAddressesType = {};\n\ntype ExtractTransactionsInfoType = {\n sender: string;\n address: string;\n apiAddress: string;\n egldLabel: string;\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n};\n\nexport function getExtractTransactionsInfo({\n egldLabel,\n apiAddress,\n sender,\n address,\n parsedTransactionsByDataField\n}: ExtractTransactionsInfoType) {\n const extractTransactionsInfo = async (\n currentTx: MultiSignTransactionType\n ) => {\n if (currentTx == null) {\n return;\n }\n\n const senderAccount =\n !sender || sender === address\n ? null\n : await getAccountFromApi({\n address: sender,\n baseURL: apiAddress\n });\n\n const { transaction, multiTxData, transactionIndex } = currentTx;\n const dataField = decodeBase64(transaction.data.toString() ?? '');\n const transactionTokenInfo = getTxInfoByDataField({\n data: dataField,\n multiTransactionData: multiTxData,\n parsedTransactionsByDataField\n });\n\n const { tokenId } = transactionTokenInfo;\n const receiver = transaction.receiver.toBech32();\n\n if (sender && sender !== address) {\n const isValidSender = checkIsValidSender(senderAccount, address);\n\n if (!isValidSender) {\n console.error(SigningErrorsEnum.senderDifferentThanLoggedInAddress);\n throw SigningErrorsEnum.senderDifferentThanLoggedInAddress;\n }\n }\n\n const notSender = address !== receiver;\n const verified = receiver in verifiedAddresses;\n\n if (receiver && notSender && !verified) {\n const data = await getScamAddressData({\n addressToVerify: receiver,\n baseURL: apiAddress\n });\n verifiedAddresses = {\n ...verifiedAddresses,\n ...(data?.scamInfo ? { [receiver]: data.scamInfo } : {})\n };\n }\n\n const isTokenTransaction = Boolean(\n tokenId && isTokenTransfer({ tokenId, egldLabel })\n );\n\n return {\n transaction,\n receiverScamInfo: verifiedAddresses[receiver]?.info || null,\n transactionTokenInfo,\n isTokenTransaction,\n dataField,\n transactionIndex,\n needsSigning: currentTx.needsSigning\n };\n };\n return extractTransactionsInfo;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAkC;AAClC,gCAAmC;AACnC,mBAAkC;AAMlC,yBAA6B;AAC7B,gCAAmC;AACnC,kCAAqC;AACrC,6BAAgC;AAKhC,IAAI,oBAA2C,CAAC;AAUzC,SAAS,2BAA2B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAgC;AAC9B,QAAM,0BAA0B,OAC9B,cACG;AACH,QAAI,aAAa,MAAM;AACrB;AAAA,IACF;AAEA,UAAM,gBACJ,CAAC,UAAU,WAAW,UAClB,OACA,UAAM,kCAAkB;AAAA,MACtB,SAAS;AAAA,MACT,SAAS;AAAA,IACX,CAAC;AAEP,UAAM,EAAE,aAAa,aAAa,iBAAiB,IAAI;AACvD,UAAM,gBAAY,iCAAa,YAAY,KAAK,SAAS,KAAK,EAAE;AAChE,UAAM,2BAAuB,kDAAqB;AAAA,MAChD,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB;AAAA,IACF,CAAC;AAED,UAAM,EAAE,QAAQ,IAAI;AACpB,UAAM,WAAW,YAAY,SAAS,SAAS;AAE/C,QAAI,UAAU,WAAW,SAAS;AAChC,YAAM,oBAAgB,8CAAmB,eAAe,OAAO;AAE/D,UAAI,CAAC,eAAe;AAClB,gBAAQ,MAAM,+BAAkB,kCAAkC;AAClE,cAAM,+BAAkB;AAAA,MAC1B;AAAA,IACF;AAEA,UAAM,YAAY,YAAY;AAC9B,UAAM,WAAW,YAAY;AAE7B,QAAI,YAAY,aAAa,CAAC,UAAU;AACtC,YAAM,OAAO,UAAM,8CAAmB;AAAA,QACpC,iBAAiB;AAAA,QACjB,SAAS;AAAA,MACX,CAAC;AACD,0BAAoB;AAAA,QAClB,GAAG;AAAA,QACH,GAAI,MAAM,WAAW,EAAE,CAAC,QAAQ,GAAG,KAAK,SAAS,IAAI,CAAC;AAAA,MACxD;AAAA,IACF;AAEA,UAAM,qBAAqB;AAAA,MACzB,eAAW,wCAAgB,EAAE,SAAS,UAAU,CAAC;AAAA,IACnD;AAEA,WAAO;AAAA,MACL;AAAA,MACA,kBAAkB,kBAAkB,QAAQ,GAAG,QAAQ;AAAA,MACvD;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAc,UAAU;AAAA,IAC1B;AAAA,EACF;AACA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../../__chunks__/chunk-ELQR4QMU.mjs";import"../../../../../../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../../../../../../__chunks__/chunk-3KUTPB2M.mjs";import"../../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../../__chunks__/chunk-INRKVOET.mjs";import"../../../../../../../__chunks__/chunk-6ET5BDZH.mjs";import"../../../../../../../__chunks__/chunk-D2JYGLAC.mjs";import"../../../../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-ELQR4QMU.mjs";import"../../../../../../../__chunks__/chunk-VJGOUAZ2.mjs";import"../../../../../../../__chunks__/chunk-3KUTPB2M.mjs";import"../../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../../__chunks__/chunk-INRKVOET.mjs";import"../../../../../../../__chunks__/chunk-6ET5BDZH.mjs";import"../../../../../../../__chunks__/chunk-D2JYGLAC.mjs";import"../../../../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../../__chunks__/chunk-TI37DKBT.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 getExtractTransactionsInfo};
|
|
2
2
|
//# sourceMappingURL=getExtractTransactionsInfo.mjs.map
|
|
@@ -1,2 +1,34 @@
|
|
|
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 getHighlight_exports = {};
|
|
20
|
+
__export(getHighlight_exports, {
|
|
21
|
+
getHighlight: () => getHighlight
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getHighlight_exports);
|
|
24
|
+
const getHighlight = (txInfoToken) => {
|
|
25
|
+
if (!txInfoToken?.multiTxData) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return txInfoToken.multiTxData;
|
|
29
|
+
};
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
getHighlight
|
|
33
|
+
});
|
|
2
34
|
//# sourceMappingURL=getHighlight.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\n\nexport const getHighlight = (txInfoToken?: TransactionDataTokenType) => {\n if (!txInfoToken?.multiTxData) {\n return null;\n }\n\n return txInfoToken.multiTxData;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,eAAe,CAAC,gBAA2C;AACtE,MAAI,CAAC,aAAa,aAAa;AAC7B,WAAO;AAAA,EACT;AAEA,SAAO,YAAY;AACrB;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,93 @@
|
|
|
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 getPpuOptions_exports = {};
|
|
30
|
+
__export(getPpuOptions_exports, {
|
|
31
|
+
getPpuOptions: () => getPpuOptions
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(getPpuOptions_exports);
|
|
34
|
+
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
+
var import_placeholders = require("../../../../../../../constants/placeholders.constants");
|
|
36
|
+
var import_getRecommendedGasPrice = require("./getRecommendedGasPrice");
|
|
37
|
+
const getPpuOptions = ({
|
|
38
|
+
shard,
|
|
39
|
+
gasStationMetadata,
|
|
40
|
+
transaction,
|
|
41
|
+
initialGasPrice = 0
|
|
42
|
+
}) => {
|
|
43
|
+
const fastPpu = gasStationMetadata ? gasStationMetadata[Number(shard)]?.fast : import_placeholders.EMPTY_PPU;
|
|
44
|
+
const fasterPpu = gasStationMetadata ? gasStationMetadata[Number(shard)]?.faster : import_placeholders.EMPTY_PPU;
|
|
45
|
+
const fastGasPrice = (0, import_getRecommendedGasPrice.getRecommendedGasPrice)({
|
|
46
|
+
transaction,
|
|
47
|
+
gasPriceData: {
|
|
48
|
+
initialGasPrice,
|
|
49
|
+
ppu: fastPpu
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const fasterGasPrice = (0, import_getRecommendedGasPrice.getRecommendedGasPrice)({
|
|
53
|
+
transaction,
|
|
54
|
+
gasPriceData: {
|
|
55
|
+
initialGasPrice,
|
|
56
|
+
ppu: fasterPpu
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
const isFastGasPrice = new import_bignumber.default(fastGasPrice).isGreaterThan(
|
|
60
|
+
initialGasPrice || 0
|
|
61
|
+
);
|
|
62
|
+
const isFasterGasPrice = new import_bignumber.default(fasterGasPrice).isGreaterThan(
|
|
63
|
+
initialGasPrice || 0
|
|
64
|
+
);
|
|
65
|
+
const isEditingGasPriceEnabled = isFastGasPrice || isFasterGasPrice;
|
|
66
|
+
if (!isEditingGasPriceEnabled) {
|
|
67
|
+
return [];
|
|
68
|
+
}
|
|
69
|
+
const ppuOptions = [
|
|
70
|
+
{
|
|
71
|
+
label: "Standard",
|
|
72
|
+
value: import_placeholders.EMPTY_PPU
|
|
73
|
+
}
|
|
74
|
+
];
|
|
75
|
+
if (isFastGasPrice) {
|
|
76
|
+
ppuOptions.push({
|
|
77
|
+
label: "Fast",
|
|
78
|
+
value: fastPpu
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
if (isFasterGasPrice) {
|
|
82
|
+
ppuOptions.push({
|
|
83
|
+
label: "Faster",
|
|
84
|
+
value: fasterPpu
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
return ppuOptions;
|
|
88
|
+
};
|
|
89
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
90
|
+
0 && (module.exports = {
|
|
91
|
+
getPpuOptions
|
|
92
|
+
});
|
|
2
93
|
//# sourceMappingURL=getPpuOptions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { EMPTY_PPU } from 'constants/placeholders.constants';\nimport { IPlainTransactionObject } from 'lib/sdkCore';\nimport { NetworkType } from 'types/network.types';\nimport { getRecommendedGasPrice } from './getRecommendedGasPrice';\n\ntype GetGasPriceDetailsParamsType = {\n shard?: number;\n gasStationMetadata: NetworkType['gasStationMetadata'];\n transaction: IPlainTransactionObject;\n initialGasPrice?: number;\n};\n\nexport const getPpuOptions = ({\n shard,\n gasStationMetadata,\n transaction,\n initialGasPrice = 0\n}: GetGasPriceDetailsParamsType) => {\n const fastPpu = gasStationMetadata\n ? gasStationMetadata[Number(shard)]?.fast\n : EMPTY_PPU;\n\n const fasterPpu = gasStationMetadata\n ? gasStationMetadata[Number(shard)]?.faster\n : EMPTY_PPU;\n\n const fastGasPrice = getRecommendedGasPrice({\n transaction,\n gasPriceData: {\n initialGasPrice,\n ppu: fastPpu\n }\n });\n\n const fasterGasPrice = getRecommendedGasPrice({\n transaction,\n gasPriceData: {\n initialGasPrice,\n ppu: fasterPpu\n }\n });\n\n const isFastGasPrice = new BigNumber(fastGasPrice).isGreaterThan(\n initialGasPrice || 0\n );\n\n const isFasterGasPrice = new BigNumber(fasterGasPrice).isGreaterThan(\n initialGasPrice || 0\n );\n const isEditingGasPriceEnabled = isFastGasPrice || isFasterGasPrice;\n\n if (!isEditingGasPriceEnabled) {\n return [];\n }\n\n const ppuOptions = [\n {\n label: 'Standard',\n value: EMPTY_PPU\n }\n ];\n\n if (isFastGasPrice) {\n ppuOptions.push({\n label: 'Fast',\n value: fastPpu\n });\n }\n\n if (isFasterGasPrice) {\n ppuOptions.push({\n label: 'Faster',\n value: fasterPpu\n });\n }\n\n return ppuOptions;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AACtB,0BAA0B;AAG1B,oCAAuC;AAShC,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA,kBAAkB;AACpB,MAAoC;AAClC,QAAM,UAAU,qBACZ,mBAAmB,OAAO,KAAK,CAAC,GAAG,OACnC;AAEJ,QAAM,YAAY,qBACd,mBAAmB,OAAO,KAAK,CAAC,GAAG,SACnC;AAEJ,QAAM,mBAAe,sDAAuB;AAAA,IAC1C;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,MACA,KAAK;AAAA,IACP;AAAA,EACF,CAAC;AAED,QAAM,qBAAiB,sDAAuB;AAAA,IAC5C;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,MACA,KAAK;AAAA,IACP;AAAA,EACF,CAAC;AAED,QAAM,iBAAiB,IAAI,iBAAAA,QAAU,YAAY,EAAE;AAAA,IACjD,mBAAmB;AAAA,EACrB;AAEA,QAAM,mBAAmB,IAAI,iBAAAA,QAAU,cAAc,EAAE;AAAA,IACrD,mBAAmB;AAAA,EACrB;AACA,QAAM,2BAA2B,kBAAkB;AAEnD,MAAI,CAAC,0BAA0B;AAC7B,WAAO,CAAC;AAAA,EACV;AAEA,QAAM,aAAa;AAAA,IACjB;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IACT;AAAA,EACF;AAEA,MAAI,gBAAgB;AAClB,eAAW,KAAK;AAAA,MACd,OAAO;AAAA,MACP,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,MAAI,kBAAkB;AACpB,eAAW,KAAK;AAAA,MACd,OAAO;AAAA,MACP,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,SAAO;AACT;",
|
|
6
|
+
"names": ["BigNumber"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,44 @@
|
|
|
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 getRecommendedGasPrice_exports = {};
|
|
20
|
+
__export(getRecommendedGasPrice_exports, {
|
|
21
|
+
getRecommendedGasPrice: () => getRecommendedGasPrice
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getRecommendedGasPrice_exports);
|
|
24
|
+
var import_sdkDappUtils = require("../../../../../../../lib/sdkDappUtils");
|
|
25
|
+
function getRecommendedGasPrice({
|
|
26
|
+
transaction,
|
|
27
|
+
gasPriceData
|
|
28
|
+
}) {
|
|
29
|
+
if (!gasPriceData) {
|
|
30
|
+
throw new Error("Gas price not found for nonce: " + transaction.nonce);
|
|
31
|
+
}
|
|
32
|
+
const { initialGasPrice, ppu } = gasPriceData;
|
|
33
|
+
const newGasPrice = ppu ? (0, import_sdkDappUtils.recommendGasPrice)({
|
|
34
|
+
transactionDataLength: String(transaction?.data || "").length,
|
|
35
|
+
transactionGasLimit: transaction.gasLimit,
|
|
36
|
+
ppu
|
|
37
|
+
}) : initialGasPrice;
|
|
38
|
+
return newGasPrice;
|
|
39
|
+
}
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
getRecommendedGasPrice
|
|
43
|
+
});
|
|
2
44
|
//# sourceMappingURL=getRecommendedGasPrice.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.ts"],
|
|
4
4
|
"sourcesContent": ["import { IPlainTransactionObject } from 'lib/sdkCore';\nimport { recommendGasPrice } from 'lib/sdkDappUtils';\nimport { ISignTransactionsPanelCommonData } from 'managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types';\n\ninterface GetRecommendedGasPricePropsType {\n transaction: IPlainTransactionObject;\n gasPriceData?: {\n initialGasPrice: number;\n ppu: ISignTransactionsPanelCommonData['ppu'];\n };\n}\n\nexport function getRecommendedGasPrice({\n transaction,\n gasPriceData\n}: GetRecommendedGasPricePropsType) {\n if (!gasPriceData) {\n throw new Error('Gas price not found for nonce: ' + transaction.nonce);\n }\n\n const { initialGasPrice, ppu } = gasPriceData;\n\n const newGasPrice = ppu\n ? recommendGasPrice({\n transactionDataLength: String(transaction?.data || '').length,\n transactionGasLimit: transaction.gasLimit,\n ppu\n })\n : initialGasPrice;\n\n return newGasPrice;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAkC;AAW3B,SAAS,uBAAuB;AAAA,EACrC;AAAA,EACA;AACF,GAAoC;AAClC,MAAI,CAAC,cAAc;AACjB,UAAM,IAAI,MAAM,oCAAoC,YAAY,KAAK;AAAA,EACvE;AAEA,QAAM,EAAE,iBAAiB,IAAI,IAAI;AAEjC,QAAM,cAAc,UAChB,uCAAkB;AAAA,IAChB,uBAAuB,OAAO,aAAa,QAAQ,EAAE,EAAE;AAAA,IACvD,qBAAqB,YAAY;AAAA,IACjC;AAAA,EACF,CAAC,IACD;AAEJ,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,40 @@
|
|
|
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 getScCall_exports = {};
|
|
20
|
+
__export(getScCall_exports, {
|
|
21
|
+
getScCall: () => getScCall
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getScCall_exports);
|
|
24
|
+
var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
|
|
25
|
+
const getScCall = (txInfoToken) => {
|
|
26
|
+
if (!txInfoToken?.multiTxData) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
const { multiTxData, tokenId } = txInfoToken;
|
|
30
|
+
if (tokenId) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const scCall = (0, import_decodePart.decodePart)(multiTxData);
|
|
34
|
+
return scCall;
|
|
35
|
+
};
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
getScCall
|
|
39
|
+
});
|
|
2
40
|
//# sourceMappingURL=getScCall.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\nimport { decodePart } from 'utils/decoders/decodePart';\n\nexport const getScCall = (txInfoToken?: TransactionDataTokenType) => {\n if (!txInfoToken?.multiTxData) {\n return null;\n }\n\n const { multiTxData, tokenId } = txInfoToken;\n\n if (tokenId) {\n return null;\n }\n\n const scCall = decodePart(multiTxData);\n return scCall;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,wBAA2B;AAEpB,MAAM,YAAY,CAAC,gBAA2C;AACnE,MAAI,CAAC,aAAa,aAAa;AAC7B,WAAO;AAAA,EACT;AAEA,QAAM,EAAE,aAAa,QAAQ,IAAI;AAEjC,MAAI,SAAS;AACX,WAAO;AAAA,EACT;AAEA,QAAM,aAAS,8BAAW,WAAW;AACrC,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,39 @@
|
|
|
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 getTokenType_exports = {};
|
|
20
|
+
__export(getTokenType_exports, {
|
|
21
|
+
getTokenType: () => getTokenType
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTokenType_exports);
|
|
24
|
+
var import_tokens = require("../../../../../../../types/tokens.types");
|
|
25
|
+
const getTokenType = (type) => {
|
|
26
|
+
switch (type) {
|
|
27
|
+
case import_tokens.NftEnumType.NonFungibleESDT:
|
|
28
|
+
case import_tokens.NftEnumType.SemiFungibleESDT:
|
|
29
|
+
case import_tokens.NftEnumType.MetaESDT:
|
|
30
|
+
return type;
|
|
31
|
+
default:
|
|
32
|
+
return import_tokens.EsdtEnumType.FungibleESDT;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
36
|
+
0 && (module.exports = {
|
|
37
|
+
getTokenType
|
|
38
|
+
});
|
|
2
39
|
//# sourceMappingURL=getTokenType.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.ts"],
|
|
4
4
|
"sourcesContent": ["import { EsdtEnumType, NftEnumType } from 'types/tokens.types';\n\nexport const getTokenType = (type?: NftEnumType) => {\n switch (type) {\n case NftEnumType.NonFungibleESDT:\n case NftEnumType.SemiFungibleESDT:\n case NftEnumType.MetaESDT:\n return type;\n default:\n return EsdtEnumType.FungibleESDT;\n }\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA0C;AAEnC,MAAM,eAAe,CAAC,SAAuB;AAClD,UAAQ,MAAM;AAAA,IACZ,KAAK,0BAAY;AAAA,IACjB,KAAK,0BAAY;AAAA,IACjB,KAAK,0BAAY;AACf,aAAO;AAAA,IACT;AACE,aAAO,2BAAa;AAAA,EACxB;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,51 @@
|
|
|
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 getTxInfoByDataField_exports = {};
|
|
20
|
+
__export(getTxInfoByDataField_exports, {
|
|
21
|
+
getTxInfoByDataField: () => getTxInfoByDataField
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getTxInfoByDataField_exports);
|
|
24
|
+
const defaultTransactionInfo = {
|
|
25
|
+
tokenId: "",
|
|
26
|
+
amount: "",
|
|
27
|
+
type: "",
|
|
28
|
+
multiTxData: "",
|
|
29
|
+
receiver: ""
|
|
30
|
+
};
|
|
31
|
+
function getTxInfoByDataField({
|
|
32
|
+
data,
|
|
33
|
+
multiTransactionData,
|
|
34
|
+
parsedTransactionsByDataField
|
|
35
|
+
}) {
|
|
36
|
+
if (parsedTransactionsByDataField == null) {
|
|
37
|
+
return defaultTransactionInfo;
|
|
38
|
+
}
|
|
39
|
+
if (data in parsedTransactionsByDataField) {
|
|
40
|
+
return parsedTransactionsByDataField[data];
|
|
41
|
+
}
|
|
42
|
+
if (multiTransactionData != null && String(multiTransactionData) in parsedTransactionsByDataField) {
|
|
43
|
+
return parsedTransactionsByDataField[multiTransactionData];
|
|
44
|
+
}
|
|
45
|
+
return defaultTransactionInfo;
|
|
46
|
+
}
|
|
47
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
+
0 && (module.exports = {
|
|
49
|
+
getTxInfoByDataField
|
|
50
|
+
});
|
|
2
51
|
//# sourceMappingURL=getTxInfoByDataField.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionDataTokenType } from 'types/transactions.types';\nconst defaultTransactionInfo: TransactionDataTokenType = {\n tokenId: '',\n amount: '',\n type: '',\n multiTxData: '',\n receiver: ''\n};\n\nexport function getTxInfoByDataField({\n data,\n multiTransactionData,\n parsedTransactionsByDataField\n}: {\n data: string;\n multiTransactionData?: string;\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n}): TransactionDataTokenType {\n if (parsedTransactionsByDataField == null) {\n return defaultTransactionInfo;\n }\n\n if (data in parsedTransactionsByDataField) {\n return parsedTransactionsByDataField[data];\n }\n\n if (\n multiTransactionData != null &&\n String(multiTransactionData) in parsedTransactionsByDataField\n ) {\n return parsedTransactionsByDataField[multiTransactionData];\n }\n\n return defaultTransactionInfo;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,MAAM,yBAAmD;AAAA,EACvD,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,aAAa;AAAA,EACb,UAAU;AACZ;AAEO,SAAS,qBAAqB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AACF,GAI6B;AAC3B,MAAI,iCAAiC,MAAM;AACzC,WAAO;AAAA,EACT;AAEA,MAAI,QAAQ,+BAA+B;AACzC,WAAO,8BAA8B,IAAI;AAAA,EAC3C;AAEA,MACE,wBAAwB,QACxB,OAAO,oBAAoB,KAAK,+BAChC;AACA,WAAO,8BAA8B,oBAAoB;AAAA,EAC3D;AAEA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,57 @@
|
|
|
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 getFeeData_exports = {};
|
|
20
|
+
__export(getFeeData_exports, {
|
|
21
|
+
getFeeData: () => getFeeData
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getFeeData_exports);
|
|
24
|
+
var import_mvx = require("../../../../../constants/mvx.constants");
|
|
25
|
+
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
26
|
+
var import_calculateFeeInFiat = require("./calculateFeeInFiat");
|
|
27
|
+
var import_calculateFeeLimit = require("./calculateFeeLimit");
|
|
28
|
+
const getFeeData = ({
|
|
29
|
+
transaction,
|
|
30
|
+
price
|
|
31
|
+
}) => {
|
|
32
|
+
const feeLimit = (0, import_calculateFeeLimit.calculateFeeLimit)({
|
|
33
|
+
from: transaction.sender.toBech32(),
|
|
34
|
+
to: transaction.receiver.toBech32(),
|
|
35
|
+
gasPerDataByte: String(import_mvx.GAS_PER_DATA_BYTE),
|
|
36
|
+
gasPriceModifier: String(import_mvx.GAS_PRICE_MODIFIER),
|
|
37
|
+
gasLimit: transaction.gasLimit.valueOf().toString(),
|
|
38
|
+
gasPrice: transaction.gasPrice.valueOf().toString(),
|
|
39
|
+
data: transaction.data.toString(),
|
|
40
|
+
chainId: transaction.chainID.valueOf().toString()
|
|
41
|
+
});
|
|
42
|
+
const feeLimitFormatted = (0, import_sdkDappUtils.formatAmount)({
|
|
43
|
+
input: feeLimit,
|
|
44
|
+
showLastNonZeroDecimal: true
|
|
45
|
+
});
|
|
46
|
+
const feeInFiatLimit = price ? (0, import_calculateFeeInFiat.calculateFeeInFiat)({
|
|
47
|
+
feeLimit,
|
|
48
|
+
egldPriceInUsd: price,
|
|
49
|
+
hideEqualSign: true
|
|
50
|
+
}) : null;
|
|
51
|
+
return { feeLimitFormatted, feeInFiatLimit, feeLimit };
|
|
52
|
+
};
|
|
53
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
54
|
+
0 && (module.exports = {
|
|
55
|
+
getFeeData
|
|
56
|
+
});
|
|
2
57
|
//# sourceMappingURL=getFeeData.cjs.map
|