@multiversx/sdk-dapp 5.2.8-alpha.1 → 5.2.9
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-2KZRLV26.mjs +2 -0
- package/out/__chunks__/{chunk-7CELSV4S.mjs → chunk-2MRPKTZ3.mjs} +2 -2
- package/out/__chunks__/chunk-3HELNSCN.mjs +2 -0
- package/out/__chunks__/{chunk-ZUIVPDNY.mjs → chunk-42P7WSDZ.mjs} +2 -2
- package/out/__chunks__/chunk-4JSUKPMM.mjs +2 -0
- package/out/__chunks__/{chunk-VOJNL3IQ.mjs → chunk-4SNEBLCL.mjs} +2 -2
- package/out/__chunks__/{chunk-JOW3L3HD.mjs → chunk-52A7HOT5.mjs} +2 -2
- package/out/__chunks__/{chunk-EAXWH64Z.mjs → chunk-5AVHNKDZ.mjs} +2 -2
- package/out/__chunks__/chunk-5F4SUYA5.mjs +2 -0
- package/out/__chunks__/chunk-5JK6P55K.mjs +2 -0
- package/out/__chunks__/chunk-5QUMAPUC.mjs +2 -0
- package/out/__chunks__/{chunk-JC33WJRK.mjs.map → chunk-5QUMAPUC.mjs.map} +2 -2
- package/out/__chunks__/{chunk-4AX4KREP.mjs → chunk-6AC63JD5.mjs} +2 -2
- package/out/__chunks__/{chunk-3MFZNIVA.mjs → chunk-76YR7YQD.mjs} +2 -2
- package/out/__chunks__/{chunk-NRXYSTRW.mjs → chunk-7B7XIPV2.mjs} +1 -1
- package/out/__chunks__/{chunk-NRXYSTRW.mjs.map → chunk-7B7XIPV2.mjs.map} +1 -1
- package/out/__chunks__/{chunk-OBDXC5PA.mjs → chunk-7D6YECRB.mjs} +2 -2
- package/out/__chunks__/{chunk-HEDV65MF.mjs → chunk-7HH5AHJM.mjs} +2 -2
- package/out/__chunks__/chunk-7I3NCMED.mjs +2 -0
- package/out/__chunks__/{chunk-VQS22XW6.mjs → chunk-7KWGOZI4.mjs} +2 -2
- package/out/__chunks__/chunk-7NURHXG3.mjs +2 -0
- package/out/__chunks__/{chunk-5OKB7OJO.mjs → chunk-7W4P5SLS.mjs} +2 -2
- package/out/__chunks__/{chunk-4JMULQUT.mjs → chunk-7Y3FYVL4.mjs} +2 -2
- package/out/__chunks__/{chunk-R7JZ76EL.mjs → chunk-ACMDU3QF.mjs} +2 -2
- package/out/__chunks__/{chunk-WPAJCDKZ.mjs → chunk-ALOBJ2YK.mjs} +2 -2
- package/out/__chunks__/{chunk-GLXG5BES.mjs → chunk-B2YXNEOP.mjs} +2 -2
- package/out/__chunks__/{chunk-GLXG5BES.mjs.map → chunk-B2YXNEOP.mjs.map} +3 -3
- package/out/__chunks__/{chunk-NTOY6GTP.mjs → chunk-BC4ZQOAE.mjs} +2 -2
- package/out/__chunks__/{chunk-BOCVH7LE.mjs → chunk-BPOW3DAB.mjs} +2 -2
- package/out/__chunks__/{chunk-PGAZRXNE.mjs → chunk-CCBYPSXO.mjs} +2 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs +2 -0
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +7 -0
- package/out/__chunks__/{chunk-PE2UUWBT.mjs → chunk-D2CVYS4M.mjs} +2 -2
- package/out/__chunks__/{chunk-OUT4RJKC.mjs → chunk-DMI2O4KV.mjs} +2 -2
- package/out/__chunks__/chunk-DNFQGY4T.mjs +2 -0
- package/out/__chunks__/{chunk-DGESHOFR.mjs → chunk-DSPRERV6.mjs} +2 -2
- package/out/__chunks__/{chunk-VKDH4PYW.mjs → chunk-DVWQ3NWJ.mjs} +2 -2
- package/out/__chunks__/chunk-E7DBXV7R.mjs +2 -0
- package/out/__chunks__/{chunk-S7FF34CP.mjs → chunk-ERE5BVRC.mjs} +2 -2
- package/out/__chunks__/{chunk-KA5UARE7.mjs → chunk-F24X6WMA.mjs} +2 -2
- package/out/__chunks__/{chunk-TA5A4RZR.mjs → chunk-FLOLQ4JL.mjs} +2 -2
- package/out/__chunks__/chunk-FMU4NEUE.mjs +2 -0
- package/out/__chunks__/chunk-FRYGY7OL.mjs +2 -0
- package/out/__chunks__/chunk-FRYGY7OL.mjs.map +7 -0
- package/out/__chunks__/{chunk-M4QSM7JZ.mjs → chunk-FUCSXJMR.mjs} +2 -2
- package/out/__chunks__/{chunk-KVFGAX26.mjs → chunk-FUFSHVR2.mjs} +2 -2
- package/out/__chunks__/chunk-FXGVROUI.mjs +2 -0
- package/out/__chunks__/{chunk-RA6POCQX.mjs → chunk-G5TDTAQH.mjs} +2 -2
- package/out/__chunks__/{chunk-KI7U7TTV.mjs → chunk-GGXK3235.mjs} +2 -2
- package/out/__chunks__/{chunk-QIHYXPAQ.mjs → chunk-GHUX5LY3.mjs} +2 -2
- package/out/__chunks__/{chunk-SJ4J2X3Q.mjs → chunk-GRQOTJQA.mjs} +2 -2
- package/out/__chunks__/chunk-GWFOJPML.mjs +2 -0
- package/out/__chunks__/{chunk-FSRZBXEX.mjs.map → chunk-GWFOJPML.mjs.map} +1 -1
- package/out/__chunks__/{chunk-TAECVK2M.mjs → chunk-H6V6JDWW.mjs} +2 -2
- package/out/__chunks__/{chunk-TAECVK2M.mjs.map → chunk-H6V6JDWW.mjs.map} +1 -1
- package/out/__chunks__/chunk-HF4QPAWD.mjs +2 -0
- package/out/__chunks__/{chunk-54A3AEYY.mjs.map → chunk-HF4QPAWD.mjs.map} +3 -3
- package/out/__chunks__/{chunk-JRYLZOIG.mjs → chunk-HFY2UB7E.mjs} +2 -2
- package/out/__chunks__/{chunk-DRYIE3UL.mjs → chunk-HX72KRC4.mjs} +2 -2
- package/out/__chunks__/{chunk-46Q7GAGQ.mjs → chunk-IGA3PYLZ.mjs} +2 -2
- package/out/__chunks__/{chunk-IKJDNJBZ.mjs → chunk-IPVALLAK.mjs} +2 -2
- package/out/__chunks__/chunk-JJCS7HDI.mjs +2 -0
- package/out/__chunks__/{chunk-MKHRCP4S.mjs → chunk-KBTIQKEL.mjs} +2 -2
- package/out/__chunks__/{chunk-GXT4ECQX.mjs → chunk-KIBWVS7T.mjs} +2 -2
- package/out/__chunks__/{chunk-OLPFN3HZ.mjs → chunk-KWE3DU6Z.mjs} +2 -2
- package/out/__chunks__/chunk-KYW2F6YX.mjs +2 -0
- package/out/__chunks__/{chunk-YCND2MYJ.mjs → chunk-L2GQHTCM.mjs} +2 -2
- package/out/__chunks__/{chunk-LDOBY5TI.mjs → chunk-LJVBVKNW.mjs} +2 -2
- package/out/__chunks__/chunk-LRF2DQLC.mjs +2 -0
- package/out/__chunks__/{chunk-V57G6XBX.mjs → chunk-LRZTZ4MT.mjs} +2 -2
- package/out/__chunks__/chunk-LRZTZ4MT.mjs.map +7 -0
- package/out/__chunks__/{chunk-DPDIXMEZ.mjs → chunk-LUG3RRVN.mjs} +2 -2
- package/out/__chunks__/{chunk-URJQWHBM.mjs → chunk-LWRBWWET.mjs} +2 -2
- package/out/__chunks__/{chunk-X4KVARIH.mjs → chunk-M42UYGCH.mjs} +2 -2
- package/out/__chunks__/{chunk-URGEY6PS.mjs → chunk-MHF7JB3Y.mjs} +2 -2
- package/out/__chunks__/chunk-MJC6B645.mjs +2 -0
- package/out/__chunks__/{chunk-OUCGS3VX.mjs → chunk-MWVWSB7G.mjs} +2 -2
- package/out/__chunks__/chunk-NJL7IL6P.mjs +2 -0
- package/out/__chunks__/{chunk-MGCDGZ65.mjs → chunk-NJWQNAUZ.mjs} +2 -2
- package/out/__chunks__/{chunk-L6LOZYKR.mjs → chunk-PIFEYU34.mjs} +2 -2
- package/out/__chunks__/{chunk-655BRTJU.mjs → chunk-PJBXLDBG.mjs} +2 -2
- package/out/__chunks__/{chunk-T5FZS4TI.mjs → chunk-Q3DHKVPY.mjs} +2 -2
- package/out/__chunks__/{chunk-GUX5TQUF.mjs → chunk-QJ3Y35H5.mjs} +2 -2
- package/out/__chunks__/{chunk-UM33WRU6.mjs → chunk-QNBPNTH7.mjs} +2 -2
- package/out/__chunks__/{chunk-TCDMXBPB.mjs → chunk-QQIPTRF4.mjs} +2 -2
- package/out/__chunks__/chunk-QQIPTRF4.mjs.map +7 -0
- package/out/__chunks__/{chunk-OPTTKCAB.mjs → chunk-RN6VVJPM.mjs} +2 -2
- package/out/__chunks__/{chunk-BGDXQQ5S.mjs → chunk-S2PH3P53.mjs} +2 -2
- package/out/__chunks__/{chunk-S2S3PSTA.mjs → chunk-SBTMAYW7.mjs} +2 -2
- package/out/__chunks__/{chunk-QLSUEZBN.mjs → chunk-SNZWFOV6.mjs} +2 -2
- package/out/__chunks__/chunk-SNZWFOV6.mjs.map +7 -0
- package/out/__chunks__/{chunk-XOVAG77B.mjs → chunk-SORO3SMC.mjs} +2 -2
- package/out/__chunks__/{chunk-JRTS5QFV.mjs → chunk-SP4B7UYK.mjs} +2 -2
- package/out/__chunks__/{chunk-5N6XRB6X.mjs → chunk-T6GTSLQD.mjs} +2 -2
- package/out/__chunks__/{chunk-6DE2ILBM.mjs → chunk-TDUG36NZ.mjs} +2 -2
- package/out/__chunks__/{chunk-CNY5PSVG.mjs → chunk-TIJEFUI3.mjs} +2 -2
- package/out/__chunks__/{chunk-7DTSCLFH.mjs → chunk-TLSLNBIX.mjs} +2 -2
- package/out/__chunks__/{chunk-4UX2RGA3.mjs → chunk-U2TDA5B2.mjs} +2 -2
- package/out/__chunks__/{chunk-4MWQKLVG.mjs → chunk-UOD2UO27.mjs} +2 -2
- package/out/__chunks__/chunk-VJK5HQFF.mjs +2 -0
- package/out/__chunks__/chunk-VJK5HQFF.mjs.map +7 -0
- package/out/__chunks__/chunk-WRBX7MBT.mjs +2 -0
- package/out/__chunks__/{chunk-XQV7WLUX.mjs → chunk-XEGTQTFK.mjs} +2 -2
- package/out/__chunks__/{chunk-L3CWG4NY.mjs → chunk-XQESHZ2X.mjs} +2 -2
- package/out/__chunks__/{chunk-YYWIEBZG.mjs → chunk-YB5TSLJV.mjs} +2 -2
- package/out/__chunks__/{chunk-YQZQJ3XD.mjs → chunk-YHLBPZNN.mjs} +2 -2
- package/out/__chunks__/{chunk-UZTMRUVT.mjs → chunk-ZATPIKZ2.mjs} +2 -2
- package/out/__chunks__/chunk-ZC3VYZDT.mjs +2 -0
- package/out/__chunks__/{chunk-JSSRK6RP.mjs → chunk-ZGMIL4MG.mjs} +2 -2
- package/out/__chunks__/{chunk-5QNV3N3Y.mjs → chunk-ZVFOG6LB.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -59
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -51
- package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +1 -22
- package/out/apiCalls/account/index.cjs.map +2 -2
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -34
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -64
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +1 -61
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
- package/out/apiCalls/configuration/getServerConfiguration.cjs +1 -65
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
- package/out/apiCalls/configuration/index.cjs +1 -24
- package/out/apiCalls/configuration/index.cjs.map +2 -2
- package/out/apiCalls/economics/getEconomics.cjs +1 -54
- package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
- package/out/apiCalls/endpoints.cjs +1 -100
- package/out/apiCalls/endpoints.cjs.map +2 -2
- package/out/apiCalls/index.cjs +1 -32
- package/out/apiCalls/index.cjs.map +2 -2
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +1 -42
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -72
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -74
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +1 -22
- package/out/apiCalls/tokens/index.cjs.map +2 -2
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +1 -58
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -55
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -51
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -76
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +1 -47
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +1 -29
- package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
- package/out/apiCalls/utils/axiosInstance.cjs +1 -105
- package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs +1 -30
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/utils/index.cjs +1 -26
- package/out/apiCalls/utils/index.cjs.map +2 -2
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +1 -49
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
- package/out/apiCalls/websocket/index.cjs +1 -22
- package/out/apiCalls/websocket/index.cjs.map +2 -2
- package/out/constants/UITags.enum.cjs +1 -37
- package/out/constants/UITags.enum.cjs.map +2 -2
- package/out/constants/browser.constants.cjs +1 -34
- package/out/constants/browser.constants.cjs.map +2 -2
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +1 -40
- package/out/constants/index.cjs.map +2 -2
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +1 -131
- package/out/constants/ledger.constants.cjs.map +2 -2
- package/out/constants/mvx.constants.cjs +1 -58
- package/out/constants/mvx.constants.cjs.map +2 -2
- package/out/constants/network.constants.cjs +1 -113
- package/out/constants/network.constants.cjs.map +2 -2
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/placeholders.constants.cjs +1 -34
- package/out/constants/placeholders.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.cjs +1 -41
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/storage.constants.cjs +1 -43
- package/out/constants/storage.constants.cjs.map +2 -2
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +1 -64
- package/out/constants/transactions.constants.cjs.map +2 -2
- package/out/constants/walletConnect.constants.cjs +1 -32
- package/out/constants/walletConnect.constants.cjs.map +2 -2
- package/out/constants/webWalletProvider.constants.cjs +1 -46
- package/out/constants/webWalletProvider.constants.cjs.map +2 -2
- package/out/constants/websocket.constants.cjs +1 -39
- package/out/constants/websocket.constants.cjs.map +2 -2
- package/out/constants/window.constants.cjs +1 -31
- package/out/constants/window.constants.cjs.map +3 -3
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -57
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/index.cjs +1 -22
- package/out/controllers/FormatAmountController/index.cjs.map +2 -2
- package/out/controllers/FormatAmountController/types.cjs +1 -16
- package/out/controllers/FormatAmountController/types.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -34
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +1 -22
- package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -133
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +1 -22
- package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +1 -16
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
- package/out/controllers/index.cjs +1 -22
- package/out/controllers/index.cjs.map +2 -2
- package/out/index.cjs +1 -32
- package/out/index.cjs.map +2 -2
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +1 -46
- package/out/lib/sdkCore.cjs.map +2 -2
- package/out/lib/sdkDappUi.cjs +1 -53
- package/out/lib/sdkDappUi.cjs.map +2 -2
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +1 -44
- package/out/lib/sdkDappUtils.cjs.map +2 -2
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +1 -33
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
- package/out/lib/sdkWebWalletIframeProvider.cjs +1 -28
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
- package/out/lib/sdkWebviewProvider.cjs +1 -28
- package/out/lib/sdkWebviewProvider.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -167
- package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +1 -56
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -139
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +1 -24
- package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +1 -22
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +1 -35
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.cjs +1 -203
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -125
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -71
- 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 +1 -88
- 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 +1 -66
- 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 +1 -104
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +0 -6
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -40
- 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 +1 -22
- package/out/managers/ToastManager/index.cjs.map +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.cjs +1 -22
- package/out/managers/ToastManager/types/index.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.cjs +1 -47
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -229
- package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +1 -16
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -50
- 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 +1 -52
- 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 +1 -53
- 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 +1 -30
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -47
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +1 -54
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
- package/out/managers/TransactionManager/index.cjs +1 -22
- package/out/managers/TransactionManager/index.cjs.map +2 -2
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -165
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +1 -36
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.cjs +1 -22
- package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +1 -24
- package/out/managers/index.cjs.map +2 -2
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -214
- 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 +1 -24
- 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 +1 -22
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +1 -36
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -124
- 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 +1 -58
- 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 +1 -24
- 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 +1 -22
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +1 -32
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -67
- 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 +1 -22
- 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 +1 -138
- 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 +1 -22
- 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 +1 -22
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +1 -36
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -102
- 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 +1 -78
- 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 +1 -22
- 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 +1 -34
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -32
- package/out/methods/account/getAccount.cjs.map +2 -2
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -32
- package/out/methods/account/getAccountInfo.cjs.map +2 -2
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +1 -32
- package/out/methods/account/getAddress.cjs.map +2 -2
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +1 -32
- package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +1 -55
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +1 -61
- 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 +1 -136
- package/out/methods/initApp/initApp.cjs.map +2 -2
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.cjs +1 -16
- 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 +1 -126
- 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 +1 -37
- 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 +1 -36
- package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +1 -32
- package/out/methods/network/getEgldLabel.cjs.map +2 -2
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +1 -32
- package/out/methods/network/getExplorerAddress.cjs.map +2 -2
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +1 -32
- 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 +1 -159
- 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 +1 -43
- 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 +1 -40
- 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 +1 -22
- 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 +1 -67
- 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 +1 -49
- 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 +1 -49
- 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 +1 -37
- 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 +1 -117
- package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +1 -32
- package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +1 -32
- package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -32
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -32
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +1 -32
- package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +1 -112
- 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 +1 -36
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +1 -46
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -66
- 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 +1 -44
- 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 +1 -44
- 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 +1 -55
- 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 +1 -121
- 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 +1 -63
- 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 +1 -78
- 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 +1 -32
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -42
- 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 +1 -60
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -58
- 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 +1 -22
- package/out/providers/DappProvider/index.cjs.map +2 -2
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -127
- package/out/providers/ProviderFactory.cjs.map +2 -2
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +1 -38
- package/out/providers/helpers/accountProvider.cjs.map +2 -2
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +1 -37
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +1 -48
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
- package/out/providers/helpers/emptyProvider.cjs +1 -106
- package/out/providers/helpers/emptyProvider.cjs.map +2 -2
- package/out/providers/helpers/restoreProvider.cjs +1 -60
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +1 -31
- package/out/providers/index.cjs.map +2 -2
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -129
- 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 +1 -106
- 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 +1 -22
- 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 +1 -96
- 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 +1 -22
- 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 +1 -118
- 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 +1 -24
- 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 +1 -16
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +1 -22
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -181
- 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 +1 -124
- 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 +1 -68
- 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 +1 -37
- 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 +1 -47
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +1 -80
- 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 +1 -82
- 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 +1 -32
- 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 +1 -65
- 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 +1 -61
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -46
- 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 +1 -22
- 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 +1 -122
- 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 +1 -16
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +1 -24
- 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 +1 -22
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +1 -37
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +1 -16
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -280
- 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 +1 -24
- 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 +1 -22
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +1 -48
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -186
- 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 +1 -22
- 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 +1 -97
- 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 +1 -22
- 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 +1 -41
- 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 +1 -28
- 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 +1 -83
- 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 +1 -50
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -84
- 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 +1 -180
- 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 +1 -38
- 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 +1 -46
- 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 +1 -93
- 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 +1 -33
- 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 +1 -92
- 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 +1 -43
- 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 +1 -39
- 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 +1 -38
- 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 +1 -50
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -56
- 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 +1 -35
- 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 +1 -36
- 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 +1 -126
- 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 +1 -118
- 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 +1 -86
- 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 +1 -46
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +1 -39
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -50
- 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 +1 -33
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -232
- 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 +1 -30
- package/out/providers/strategies/index.cjs.map +2 -2
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +1 -37
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/react/account/useGetAccount.cjs +1 -32
- package/out/react/account/useGetAccount.cjs.map +2 -2
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +1 -32
- package/out/react/account/useGetAccountInfo.cjs.map +2 -2
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +1 -33
- package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +1 -34
- package/out/react/account/useGetLatestNonce.cjs.map +2 -2
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +1 -22
- package/out/react/index.cjs.map +2 -2
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +1 -35
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +1 -32
- package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +1 -29
- package/out/react/store/createBoundedStore.cjs.map +2 -2
- package/out/react/store/getReactStore.cjs +1 -30
- package/out/react/store/getReactStore.cjs.map +2 -2
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +1 -32
- package/out/react/store/useSelector.cjs.map +2 -2
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +1 -33
- package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +1 -33
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +1 -33
- package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +1 -33
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +1 -33
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +1 -35
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +1 -33
- package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +1 -22
- package/out/services/index.cjs.map +2 -2
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -62
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -72
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -100
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/index.cjs +1 -26
- package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.cjs +1 -22
- package/out/services/nativeAuth/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +1 -41
- 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 +1 -42
- 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 +1 -51
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.cjs +1 -24
- 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 +1 -81
- package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +1 -16
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
- package/out/store/actions/account/accountActions.cjs +1 -130
- 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 +1 -22
- 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 +1 -73
- 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 +1 -22
- 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 +1 -78
- 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 +1 -22
- 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 +1 -34
- package/out/store/actions/index.cjs.map +2 -2
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -169
- 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 +1 -22
- 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 +1 -70
- 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 +1 -47
- 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 +1 -22
- 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 +1 -55
- 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 +1 -22
- 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 +1 -195
- 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 +1 -144
- 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 +1 -158
- 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 +1 -22
- 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 +1 -41
- 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 +1 -31
- package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +1 -22
- package/out/store/middleware/index.cjs.map +2 -2
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +1 -78
- package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +1 -60
- package/out/store/selectors/accountSelectors.cjs.map +2 -2
- package/out/store/selectors/cacheSelector.cjs +1 -31
- package/out/store/selectors/cacheSelector.cjs.map +2 -2
- package/out/store/selectors/configSelectors.cjs +1 -36
- package/out/store/selectors/configSelectors.cjs.map +2 -2
- package/out/store/selectors/index.cjs +1 -32
- package/out/store/selectors/index.cjs.map +2 -2
- package/out/store/selectors/loginInfoSelectors.cjs +1 -43
- package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.cjs +1 -51
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/storeSelector.cjs +1 -28
- package/out/store/selectors/storeSelector.cjs.map +2 -2
- package/out/store/selectors/toastsSelectors.cjs +1 -34
- package/out/store/selectors/toastsSelectors.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.cjs +1 -150
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/selectors/uiSelectors.cjs +1 -31
- package/out/store/selectors/uiSelectors.cjs.map +2 -2
- package/out/store/slices/account/account.types.cjs +1 -16
- package/out/store/slices/account/account.types.cjs.map +2 -2
- package/out/store/slices/account/accountSlice.cjs +1 -43
- package/out/store/slices/account/accountSlice.cjs.map +2 -2
- package/out/store/slices/account/emptyAccount.cjs +1 -38
- package/out/store/slices/account/emptyAccount.cjs.map +2 -2
- package/out/store/slices/account/index.cjs +1 -28
- package/out/store/slices/account/index.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.cjs +1 -34
- package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.types.cjs +1 -16
- package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
- package/out/store/slices/cache/index.cjs +1 -28
- package/out/store/slices/cache/index.cjs.map +2 -2
- package/out/store/slices/config/config.types.cjs +1 -16
- package/out/store/slices/config/config.types.cjs.map +2 -2
- package/out/store/slices/config/configSlice.cjs +1 -37
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/index.cjs +1 -28
- package/out/store/slices/config/index.cjs.map +2 -2
- package/out/store/slices/index.cjs +1 -34
- package/out/store/slices/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/index.cjs +1 -28
- package/out/store/slices/loginInfo/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfo.types.cjs +1 -16
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +1 -40
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/network/emptyNetwork.cjs +1 -41
- package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
- package/out/store/slices/network/index.cjs +1 -28
- package/out/store/slices/network/index.cjs.map +2 -2
- package/out/store/slices/network/network.types.cjs +1 -16
- package/out/store/slices/network/network.types.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.cjs +1 -35
- package/out/store/slices/network/networkSlice.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.types.cjs +1 -16
- package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
- package/out/store/slices/toast/index.cjs +1 -28
- package/out/store/slices/toast/index.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.cjs +1 -37
- package/out/store/slices/toast/toastSlice.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.types.cjs +1 -16
- package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
- package/out/store/slices/transactions/index.cjs +1 -28
- package/out/store/slices/transactions/index.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.cjs +1 -34
- package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.types.cjs +1 -16
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
- package/out/store/slices/ui/index.cjs +1 -28
- package/out/store/slices/ui/index.cjs.map +2 -2
- package/out/store/slices/ui/ui.types.cjs +1 -16
- package/out/store/slices/ui/ui.types.cjs.map +2 -2
- package/out/store/slices/ui/uiSlice.cjs +1 -34
- package/out/store/slices/ui/uiSlice.cjs.map +2 -2
- package/out/store/storage/inMemoryStorage.cjs +1 -51
- package/out/store/storage/inMemoryStorage.cjs.map +2 -2
- package/out/store/storage/index.cjs +1 -24
- package/out/store/storage/index.cjs.map +2 -2
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +1 -29
- package/out/store/storage/storageCallback.cjs.map +2 -2
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +1 -85
- package/out/store/store.cjs.map +2 -2
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +1 -16
- package/out/store/store.types.cjs.map +2 -2
- package/out/types/account.types.cjs +1 -16
- package/out/types/account.types.cjs.map +2 -2
- package/out/types/enums.types.cjs +1 -119
- package/out/types/enums.types.cjs.map +3 -3
- package/out/types/enums.types.d.ts +7 -0
- package/out/types/enums.types.mjs +1 -1
- package/out/types/index.cjs +1 -34
- package/out/types/index.cjs.map +2 -2
- package/out/types/index.mjs +1 -1
- package/out/types/login.types.cjs +1 -16
- package/out/types/login.types.cjs.map +2 -2
- package/out/types/manager.types.cjs +1 -16
- package/out/types/manager.types.cjs.map +2 -2
- package/out/types/network.types.cjs +1 -16
- package/out/types/network.types.cjs.map +2 -2
- package/out/types/provider.types.cjs +1 -34
- package/out/types/provider.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.cjs +1 -154
- 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 +1 -33
- package/out/types/subscriptions.type.cjs.map +2 -2
- package/out/types/suspiciousLink.types.cjs +1 -16
- package/out/types/suspiciousLink.types.cjs.map +2 -2
- package/out/types/theme.types.cjs +1 -33
- package/out/types/theme.types.cjs.map +2 -2
- package/out/types/tokens.types.cjs +1 -39
- package/out/types/tokens.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.cjs +1 -114
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transactions.types.cjs +1 -34
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/websocket.types.cjs +1 -16
- package/out/types/websocket.types.cjs.map +2 -2
- package/out/utils/ComponentFactory.cjs +1 -50
- package/out/utils/ComponentFactory.cjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +1 -29
- package/out/utils/account/fetchAccount.cjs.map +2 -2
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.cjs +1 -28
- package/out/utils/account/index.cjs.map +2 -2
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -80
- package/out/utils/account/refreshAccount.cjs.map +2 -2
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -65
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +1 -35
- package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
- package/out/utils/asyncActions/index.cjs +1 -22
- package/out/utils/asyncActions/index.cjs.map +2 -2
- package/out/utils/asyncActions/sleep.cjs +1 -35
- package/out/utils/asyncActions/sleep.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestamp.cjs +1 -30
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +1 -32
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +1 -30
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
- package/out/utils/dateTime/index.cjs +1 -26
- package/out/utils/dateTime/index.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.cjs +1 -57
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/decodePart.cjs +1 -39
- package/out/utils/decoders/decodePart.cjs.map +2 -2
- package/out/utils/decoders/index.cjs +1 -30
- package/out/utils/decoders/index.cjs.map +2 -2
- package/out/utils/decoders/isAscii.cjs +1 -28
- package/out/utils/decoders/isAscii.cjs.map +2 -2
- package/out/utils/decoders/isUtf8.cjs +1 -35
- package/out/utils/decoders/isUtf8.cjs.map +2 -2
- package/out/utils/decoders/stringContainsNumbers.cjs +1 -28
- package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
- package/out/utils/index.cjs +1 -40
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +1 -22
- package/out/utils/network/index.cjs.map +2 -2
- package/out/utils/network/setAxiosInterceptors.cjs +1 -66
- package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
- package/out/utils/operations/capitalize.cjs +1 -28
- package/out/utils/operations/capitalize.cjs.map +2 -2
- package/out/utils/operations/getUsdValue.cjs +1 -45
- package/out/utils/operations/getUsdValue.cjs.map +2 -2
- package/out/utils/operations/pluralize.cjs +1 -28
- package/out/utils/operations/pluralize.cjs.map +2 -2
- package/out/utils/operations/timeRemaining.cjs +1 -109
- package/out/utils/operations/timeRemaining.cjs.map +2 -2
- package/out/utils/operations/trimAmountDecimals.cjs +1 -59
- package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
- package/out/utils/retryMultipleTimes.cjs +1 -44
- package/out/utils/retryMultipleTimes.cjs.map +2 -2
- package/out/utils/transactions/explorerUrlBuilder.cjs +1 -53
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -46
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +5 -110
- 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 +1 -89
- 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 +1 -47
- 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 +1 -44
- 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 +1 -60
- 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 +1 -38
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -51
- 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 +1 -32
- 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 +1 -24
- 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 +1 -49
- package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +1 -46
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -109
- 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 +1 -49
- 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 +1 -106
- 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 +1 -35
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -54
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -70
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +1 -40
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +1 -53
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -59
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +2 -52
- 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 +1 -36
- 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 +1 -32
- 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 +1 -22
- 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 +1 -16
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -82
- 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 +1 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -65
- 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 +1 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -43
- 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 +1 -121
- 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 +1 -46
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +2 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +1 -39
- 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 +1 -43
- 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 +1 -34
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +1 -32
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -41
- 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 +1 -40
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -49
- 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 +1 -46
- 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 +1 -24
- 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 +1 -87
- package/out/utils/transactions/getScamFlag.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -50
- 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 +1 -39
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -63
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -52
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -35
- 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 +1 -38
- 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 +1 -36
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -112
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -58
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -74
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +1 -62
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -90
- 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 +1 -65
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +1 -37
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +1 -49
- 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 +1 -37
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -115
- 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 +1 -80
- 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 +1 -24
- 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 +1 -30
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +1 -42
- package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
- package/out/utils/transactions/isGuardianTx.mjs +1 -1
- package/out/utils/validation/addressIsValid.cjs +1 -39
- package/out/utils/validation/addressIsValid.cjs.map +2 -2
- package/out/utils/validation/getIdentifierType.cjs +1 -53
- package/out/utils/validation/getIdentifierType.cjs.map +2 -2
- package/out/utils/validation/hex.cjs +1 -35
- package/out/utils/validation/hex.cjs.map +2 -2
- package/out/utils/validation/index.cjs +1 -30
- package/out/utils/validation/index.cjs.map +2 -2
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +1 -95
- package/out/utils/validation/isContract.cjs.map +2 -2
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.cjs +1 -33
- package/out/utils/validation/maxDecimals.cjs.map +2 -2
- package/out/utils/visual/index.cjs +1 -22
- package/out/utils/visual/index.cjs.map +2 -2
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +1 -38
- package/out/utils/visual/switchTheme.cjs.map +2 -2
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +1 -33
- 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 +1 -36
- package/out/utils/window/buildUrlParams.cjs.map +2 -2
- package/out/utils/window/getIsAuthRoute.cjs +1 -37
- package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.cjs +1 -43
- package/out/utils/window/getIsInIframe.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +1 -55
- package/out/utils/window/getWindowLocation.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.cjs +1 -43
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +1 -32
- package/out/utils/window/index.cjs.map +2 -2
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +1 -28
- package/out/utils/window/isWindowAvailable.cjs.map +2 -2
- package/out/utils/window/matchPath.cjs +1 -113
- package/out/utils/window/matchPath.cjs.map +2 -2
- package/out/utils/window/sanitizeCallbackUrl.cjs +1 -38
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
- package/package.json +4 -4
- package/out/__chunks__/chunk-2FLZIC6T.mjs +0 -2
- package/out/__chunks__/chunk-3WVYWVBO.mjs +0 -2
- package/out/__chunks__/chunk-54A3AEYY.mjs +0 -2
- package/out/__chunks__/chunk-6JYFAXYV.mjs +0 -2
- package/out/__chunks__/chunk-7DANVXEC.mjs +0 -2
- package/out/__chunks__/chunk-AK2C7BRV.mjs +0 -2
- package/out/__chunks__/chunk-B5FGXPIB.mjs +0 -2
- package/out/__chunks__/chunk-CN6OY7S3.mjs +0 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs +0 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +0 -7
- package/out/__chunks__/chunk-FSRZBXEX.mjs +0 -2
- package/out/__chunks__/chunk-IYDCYLCH.mjs +0 -2
- package/out/__chunks__/chunk-JC33WJRK.mjs +0 -2
- package/out/__chunks__/chunk-KUX3SSFI.mjs +0 -2
- package/out/__chunks__/chunk-NK5Y3RLY.mjs +0 -2
- package/out/__chunks__/chunk-NK5Y3RLY.mjs.map +0 -7
- package/out/__chunks__/chunk-O4T46OZT.mjs +0 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs +0 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs.map +0 -7
- package/out/__chunks__/chunk-Q7FSG7W5.mjs +0 -2
- package/out/__chunks__/chunk-QLSUEZBN.mjs.map +0 -7
- package/out/__chunks__/chunk-QSD35D6R.mjs +0 -2
- package/out/__chunks__/chunk-R2HTOWVS.mjs +0 -2
- package/out/__chunks__/chunk-RDTOLMUB.mjs +0 -2
- package/out/__chunks__/chunk-TCDMXBPB.mjs.map +0 -7
- package/out/__chunks__/chunk-UYPJFAL4.mjs +0 -2
- package/out/__chunks__/chunk-UZUNMI2K.mjs +0 -2
- package/out/__chunks__/chunk-V57G6XBX.mjs.map +0 -7
- package/out/__chunks__/chunk-XJPXTYIE.mjs +0 -2
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +0 -2
- /package/out/__chunks__/{chunk-3WVYWVBO.mjs.map → chunk-2KZRLV26.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7CELSV4S.mjs.map → chunk-2MRPKTZ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UZUNMI2K.mjs.map → chunk-3HELNSCN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZUIVPDNY.mjs.map → chunk-42P7WSDZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3BNMQFP.mjs.map → chunk-4JSUKPMM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VOJNL3IQ.mjs.map → chunk-4SNEBLCL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JOW3L3HD.mjs.map → chunk-52A7HOT5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EAXWH64Z.mjs.map → chunk-5AVHNKDZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2FLZIC6T.mjs.map → chunk-5F4SUYA5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RDTOLMUB.mjs.map → chunk-5JK6P55K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4AX4KREP.mjs.map → chunk-6AC63JD5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3MFZNIVA.mjs.map → chunk-76YR7YQD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OBDXC5PA.mjs.map → chunk-7D6YECRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HEDV65MF.mjs.map → chunk-7HH5AHJM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B5FGXPIB.mjs.map → chunk-7I3NCMED.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VQS22XW6.mjs.map → chunk-7KWGOZI4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6JYFAXYV.mjs.map → chunk-7NURHXG3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5OKB7OJO.mjs.map → chunk-7W4P5SLS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4JMULQUT.mjs.map → chunk-7Y3FYVL4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R7JZ76EL.mjs.map → chunk-ACMDU3QF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WPAJCDKZ.mjs.map → chunk-ALOBJ2YK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTOY6GTP.mjs.map → chunk-BC4ZQOAE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BOCVH7LE.mjs.map → chunk-BPOW3DAB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PGAZRXNE.mjs.map → chunk-CCBYPSXO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PE2UUWBT.mjs.map → chunk-D2CVYS4M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OUT4RJKC.mjs.map → chunk-DMI2O4KV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QSD35D6R.mjs.map → chunk-DNFQGY4T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DGESHOFR.mjs.map → chunk-DSPRERV6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VKDH4PYW.mjs.map → chunk-DVWQ3NWJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R2HTOWVS.mjs.map → chunk-E7DBXV7R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S7FF34CP.mjs.map → chunk-ERE5BVRC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KA5UARE7.mjs.map → chunk-F24X6WMA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TA5A4RZR.mjs.map → chunk-FLOLQ4JL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7DANVXEC.mjs.map → chunk-FMU4NEUE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M4QSM7JZ.mjs.map → chunk-FUCSXJMR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KVFGAX26.mjs.map → chunk-FUFSHVR2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UYPJFAL4.mjs.map → chunk-FXGVROUI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RA6POCQX.mjs.map → chunk-G5TDTAQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KI7U7TTV.mjs.map → chunk-GGXK3235.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QIHYXPAQ.mjs.map → chunk-GHUX5LY3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SJ4J2X3Q.mjs.map → chunk-GRQOTJQA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JRYLZOIG.mjs.map → chunk-HFY2UB7E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DRYIE3UL.mjs.map → chunk-HX72KRC4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-46Q7GAGQ.mjs.map → chunk-IGA3PYLZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IKJDNJBZ.mjs.map → chunk-IPVALLAK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CN6OY7S3.mjs.map → chunk-JJCS7HDI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MKHRCP4S.mjs.map → chunk-KBTIQKEL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GXT4ECQX.mjs.map → chunk-KIBWVS7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OLPFN3HZ.mjs.map → chunk-KWE3DU6Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q7FSG7W5.mjs.map → chunk-KYW2F6YX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YCND2MYJ.mjs.map → chunk-L2GQHTCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LDOBY5TI.mjs.map → chunk-LJVBVKNW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XJPXTYIE.mjs.map → chunk-LRF2DQLC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DPDIXMEZ.mjs.map → chunk-LUG3RRVN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-URJQWHBM.mjs.map → chunk-LWRBWWET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X4KVARIH.mjs.map → chunk-M42UYGCH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-URGEY6PS.mjs.map → chunk-MHF7JB3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KUX3SSFI.mjs.map → chunk-MJC6B645.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OUCGS3VX.mjs.map → chunk-MWVWSB7G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AK2C7BRV.mjs.map → chunk-NJL7IL6P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MGCDGZ65.mjs.map → chunk-NJWQNAUZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L6LOZYKR.mjs.map → chunk-PIFEYU34.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-655BRTJU.mjs.map → chunk-PJBXLDBG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T5FZS4TI.mjs.map → chunk-Q3DHKVPY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GUX5TQUF.mjs.map → chunk-QJ3Y35H5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UM33WRU6.mjs.map → chunk-QNBPNTH7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OPTTKCAB.mjs.map → chunk-RN6VVJPM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BGDXQQ5S.mjs.map → chunk-S2PH3P53.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S2S3PSTA.mjs.map → chunk-SBTMAYW7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XOVAG77B.mjs.map → chunk-SORO3SMC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JRTS5QFV.mjs.map → chunk-SP4B7UYK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5N6XRB6X.mjs.map → chunk-T6GTSLQD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6DE2ILBM.mjs.map → chunk-TDUG36NZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CNY5PSVG.mjs.map → chunk-TIJEFUI3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7DTSCLFH.mjs.map → chunk-TLSLNBIX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4UX2RGA3.mjs.map → chunk-U2TDA5B2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4MWQKLVG.mjs.map → chunk-UOD2UO27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IYDCYLCH.mjs.map → chunk-WRBX7MBT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQV7WLUX.mjs.map → chunk-XEGTQTFK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L3CWG4NY.mjs.map → chunk-XQESHZ2X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YYWIEBZG.mjs.map → chunk-YB5TSLJV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YQZQJ3XD.mjs.map → chunk-YHLBPZNN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UZTMRUVT.mjs.map → chunk-ZATPIKZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O4T46OZT.mjs.map → chunk-ZC3VYZDT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSSRK6RP.mjs.map → chunk-ZGMIL4MG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5QNV3N3Y.mjs.map → chunk-ZVFOG6LB.mjs.map} +0 -0
|
@@ -1,50 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var constants_exports = {};
|
|
20
|
-
__export(constants_exports, {
|
|
21
|
-
ACTIONS_WITH_EGLD_VALUE: () => ACTIONS_WITH_EGLD_VALUE,
|
|
22
|
-
ACTIONS_WITH_MANDATORY_OPERATIONS: () => ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
23
|
-
ACTIONS_WITH_VALUE_IN_ACTION_FIELD: () => ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
24
|
-
ACTIONS_WITH_VALUE_IN_DATA_FIELD: () => ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(constants_exports);
|
|
27
|
-
var import_serverTransactions = require("../../../../types/serverTransactions.types");
|
|
28
|
-
const ACTIONS_WITH_MANDATORY_OPERATIONS = [
|
|
29
|
-
import_serverTransactions.TransactionActionsEnum.reDelegateRewards,
|
|
30
|
-
import_serverTransactions.TransactionActionsEnum.claimRewards,
|
|
31
|
-
import_serverTransactions.TransactionActionsEnum.unBond
|
|
32
|
-
];
|
|
33
|
-
const ACTIONS_WITH_EGLD_VALUE = [
|
|
34
|
-
import_serverTransactions.TransactionActionsEnum.wrapEgld,
|
|
35
|
-
import_serverTransactions.TransactionActionsEnum.unwrapEgld
|
|
36
|
-
];
|
|
37
|
-
const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [
|
|
38
|
-
import_serverTransactions.TransactionActionsEnum.unStake
|
|
39
|
-
];
|
|
40
|
-
const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [
|
|
41
|
-
import_serverTransactions.TransactionActionsEnum.unDelegate
|
|
42
|
-
];
|
|
43
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
-
0 && (module.exports = {
|
|
45
|
-
ACTIONS_WITH_EGLD_VALUE,
|
|
46
|
-
ACTIONS_WITH_MANDATORY_OPERATIONS,
|
|
47
|
-
ACTIONS_WITH_VALUE_IN_ACTION_FIELD,
|
|
48
|
-
ACTIONS_WITH_VALUE_IN_DATA_FIELD
|
|
49
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var E=(t,_)=>{for(var I in _)n(t,I,{get:_[I],enumerable:!0})},N=(t,_,I,o)=>{if(_&&typeof _=="object"||typeof _=="function")for(let A of r(_))!a.call(t,A)&&A!==I&&n(t,A,{get:()=>_[A],enumerable:!(o=T(_,A))||o.enumerable});return t};var s=t=>N(n({},"__esModule",{value:!0}),t);var L={};E(L,{ACTIONS_WITH_EGLD_VALUE:()=>c,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>O,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>D,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>p});module.exports=s(L);var e=require("../../../../types/serverTransactions.types");const O=[e.TransactionActionsEnum.reDelegateRewards,e.TransactionActionsEnum.claimRewards,e.TransactionActionsEnum.unBond],c=[e.TransactionActionsEnum.wrapEgld,e.TransactionActionsEnum.unwrapEgld],p=[e.TransactionActionsEnum.unStake],D=[e.TransactionActionsEnum.unDelegate];0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD});
|
|
50
2
|
//# sourceMappingURL=constants.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.ts"],
|
|
4
4
|
"sourcesContent": ["import { TransactionActionsEnum } from 'types/serverTransactions.types';\n\n/**\n * If `action.name` or `function` is in `ACTIONS_WITH_MANDATORY_OPERATIONS[]`, transaction value will be computed based `operations` field\n */\nexport const ACTIONS_WITH_MANDATORY_OPERATIONS = [\n TransactionActionsEnum.reDelegateRewards,\n TransactionActionsEnum.claimRewards,\n TransactionActionsEnum.unBond\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_EGLD_VALUE[]`, transaction value will be returned directly\n */\nexport const ACTIONS_WITH_EGLD_VALUE = [\n TransactionActionsEnum.wrapEgld,\n TransactionActionsEnum.unwrapEgld\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_DATA_FIELD[]`, transaction value will be computed based `data` field\n */\nexport const ACTIONS_WITH_VALUE_IN_DATA_FIELD = [\n TransactionActionsEnum.unStake\n];\n\n/**\n * If `action.name` is in `ACTIONS_WITH_VALUE_IN_ACTION_FIELD[]`, transaction value will be computed based `action` field\n */\nexport const ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [\n TransactionActionsEnum.unDelegate\n];\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,6BAAAE,EAAA,sCAAAC,EAAA,uCAAAC,EAAA,qCAAAC,IAAA,eAAAC,EAAAN,GAAA,IAAAO,EAAuC,0CAKhC,MAAMJ,EAAoC,CAC/C,yBAAuB,kBACvB,yBAAuB,aACvB,yBAAuB,MACzB,EAKaD,EAA0B,CACrC,yBAAuB,SACvB,yBAAuB,UACzB,EAKaG,EAAmC,CAC9C,yBAAuB,OACzB,EAKaD,EAAqC,CAChD,yBAAuB,UACzB",
|
|
6
|
+
"names": ["constants_exports", "__export", "ACTIONS_WITH_EGLD_VALUE", "ACTIONS_WITH_MANDATORY_OPERATIONS", "ACTIONS_WITH_VALUE_IN_ACTION_FIELD", "ACTIONS_WITH_VALUE_IN_DATA_FIELD", "__toCommonJS", "import_serverTransactions"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a,b,c,d}from"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-QQIPTRF4.mjs";export{b as ACTIONS_WITH_EGLD_VALUE,a as ACTIONS_WITH_MANDATORY_OPERATIONS,d as ACTIONS_WITH_VALUE_IN_ACTION_FIELD,c as ACTIONS_WITH_VALUE_IN_DATA_FIELD};
|
|
2
2
|
//# sourceMappingURL=constants.mjs.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs
CHANGED
|
@@ -1,107 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getTransactionValue_exports = {};
|
|
20
|
-
__export(getTransactionValue_exports, {
|
|
21
|
-
getTransactionValue: () => getTransactionValue
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionValue_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../lib/sdkDappUtils");
|
|
25
|
-
var import_tokens = require("../../../../types/tokens.types");
|
|
26
|
-
var import_constants = require("./constants");
|
|
27
|
-
var import_helpers = require("./helpers");
|
|
28
|
-
var import_getTransactionActionNftText = require("./helpers/getTransactionActionNftText");
|
|
29
|
-
var import_getTransactionTokens = require("./helpers/getTransactionTokens");
|
|
30
|
-
var import_explorerUrlBuilder = require("../../explorerUrlBuilder");
|
|
31
|
-
const getTransactionValue = ({
|
|
32
|
-
transaction,
|
|
33
|
-
hideMultipleBadge
|
|
34
|
-
}) => {
|
|
35
|
-
if (transaction.action) {
|
|
36
|
-
if (import_constants.ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {
|
|
37
|
-
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
38
|
-
}
|
|
39
|
-
if (import_constants.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {
|
|
40
|
-
return (0, import_helpers.getValueFromDataField)(transaction);
|
|
41
|
-
}
|
|
42
|
-
if (import_constants.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {
|
|
43
|
-
return (0, import_helpers.getValueFromOperations)(transaction);
|
|
44
|
-
}
|
|
45
|
-
if (import_constants.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {
|
|
46
|
-
return (0, import_helpers.getValueFromActions)(transaction);
|
|
47
|
-
}
|
|
48
|
-
const transactionTokens = (0, import_getTransactionTokens.getTransactionTokens)(transaction);
|
|
49
|
-
if (transactionTokens.length) {
|
|
50
|
-
const txToken = transactionTokens[0];
|
|
51
|
-
const isNft = Object.values(import_tokens.NftEnumType).includes(
|
|
52
|
-
txToken.type
|
|
53
|
-
);
|
|
54
|
-
const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;
|
|
55
|
-
const titleText = hasTitleText ? (0, import_helpers.getTitleText)(transactionTokens) : "";
|
|
56
|
-
if (isNft) {
|
|
57
|
-
const {
|
|
58
|
-
badgeText,
|
|
59
|
-
tokenFormattedAmount: tokenFormattedAmount2,
|
|
60
|
-
tokenExplorerLink: tokenExplorerLink2,
|
|
61
|
-
tokenLinkText
|
|
62
|
-
} = (0, import_getTransactionActionNftText.getTransactionActionNftText)({ token: txToken });
|
|
63
|
-
return {
|
|
64
|
-
nftValueData: {
|
|
65
|
-
badgeText,
|
|
66
|
-
tokenFormattedAmount: tokenFormattedAmount2,
|
|
67
|
-
tokenExplorerLink: tokenExplorerLink2,
|
|
68
|
-
tokenLinkText,
|
|
69
|
-
transactionTokens,
|
|
70
|
-
token: txToken,
|
|
71
|
-
value: tokenFormattedAmount2 != null ? txToken.value : null,
|
|
72
|
-
decimals: tokenFormattedAmount2 != null ? txToken.decimals : null,
|
|
73
|
-
titleText
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
const tokenFormattedAmount = txToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
78
|
-
input: txToken.value,
|
|
79
|
-
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
80
|
-
digits: 2,
|
|
81
|
-
addCommas: true
|
|
82
|
-
}) : null;
|
|
83
|
-
const tokenExplorerLink = import_explorerUrlBuilder.explorerUrlBuilder.tokenDetails(
|
|
84
|
-
String(txToken.token)
|
|
85
|
-
);
|
|
86
|
-
return {
|
|
87
|
-
tokenValueData: {
|
|
88
|
-
tokenExplorerLink,
|
|
89
|
-
showFormattedAmount: false,
|
|
90
|
-
tokenFormattedAmount,
|
|
91
|
-
tokenLinkText: txToken.ticker,
|
|
92
|
-
transactionTokens,
|
|
93
|
-
token: txToken,
|
|
94
|
-
value: txToken.value,
|
|
95
|
-
decimals: txToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
96
|
-
titleText
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return (0, import_helpers.getEgldValueData)(transaction.value);
|
|
102
|
-
};
|
|
103
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
-
0 && (module.exports = {
|
|
105
|
-
getTransactionValue
|
|
106
|
-
});
|
|
1
|
+
"use strict";var T=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var x=(e,a)=>{for(var n in a)T(e,n,{get:a[n],enumerable:!0})},E=(e,a,n,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of g(a))!I.call(e,r)&&r!==n&&T(e,r,{get:()=>a[r],enumerable:!(t=D(a,r))||t.enumerable});return e};var _=e=>E(T({},"__esModule",{value:!0}),e);var N={};x(N,{getTransactionValue:()=>y});module.exports=_(N);var i=require("../../../../lib/sdkDappUtils"),p=require("../../../../types/tokens.types"),l=require("./constants"),o=require("./helpers"),s=require("./helpers/getTransactionActionNftText"),c=require("./helpers/getTransactionTokens"),d=require("../../explorerUrlBuilder");const y=({transaction:e,hideMultipleBadge:a})=>{if(e.action){if(l.ACTIONS_WITH_EGLD_VALUE.includes(e.action.name))return(0,o.getEgldValueData)(e.value);if(l.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(e.action.name))return(0,o.getValueFromDataField)(e);if(l.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(e.action.name))return(0,o.getValueFromOperations)(e);if(l.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(e.action.name))return(0,o.getValueFromActions)(e);const n=(0,c.getTransactionTokens)(e);if(n.length){const t=n[0],r=Object.values(p.NftEnumType).includes(t.type),m=!a&&n.length>1?(0,o.getTitleText)(n):"";if(r){const{badgeText:k,tokenFormattedAmount:u,tokenExplorerLink:V,tokenLinkText:A}=(0,s.getTransactionActionNftText)({token:t});return{nftValueData:{badgeText:k,tokenFormattedAmount:u,tokenExplorerLink:V,tokenLinkText:A,transactionTokens:n,token:t,value:u!=null?t.value:null,decimals:u!=null?t.decimals:null,titleText:m}}}const f=t.value?(0,i.formatAmount)({input:t.value,decimals:t.decimals??i.DECIMALS,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:d.explorerUrlBuilder.tokenDetails(String(t.token)),showFormattedAmount:!1,tokenFormattedAmount:f,tokenLinkText:t.ticker,transactionTokens:n,token:t,value:t.value,decimals:t.decimals??i.DECIMALS,titleText:m}}}}return(0,o.getEgldValueData)(e.value)};0&&(module.exports={getTransactionValue});
|
|
107
2
|
//# sourceMappingURL=getTransactionValue.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\n\nimport {\n ACTIONS_WITH_EGLD_VALUE,\n ACTIONS_WITH_MANDATORY_OPERATIONS,\n ACTIONS_WITH_VALUE_IN_ACTION_FIELD,\n ACTIONS_WITH_VALUE_IN_DATA_FIELD\n} from './constants';\n\nimport {\n getEgldValueData,\n getTitleText,\n getValueFromActions,\n getValueFromDataField,\n getValueFromOperations\n} from './helpers';\nimport { getTransactionActionNftText } from './helpers/getTransactionActionNftText';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from './types';\nimport { explorerUrlBuilder } from '../../explorerUrlBuilder';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport interface GetTransactionValueType {\n hideMultipleBadge?: boolean;\n transaction: InterpretedTransactionType;\n}\n\nexport const getTransactionValue = ({\n transaction,\n hideMultipleBadge\n}: GetTransactionValueType): GetTransactionValueReturnType => {\n if (transaction.action) {\n if (ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {\n return getEgldValueData(transaction.value);\n }\n\n if (ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {\n return getValueFromDataField(transaction);\n }\n\n if (ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {\n return getValueFromOperations(transaction);\n }\n\n if (ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {\n return getValueFromActions(transaction);\n }\n\n const transactionTokens = getTransactionTokens(transaction);\n\n if (transactionTokens.length) {\n const txToken = transactionTokens[0];\n const isNft = Object.values(NftEnumType).includes(\n txToken.type as NftEnumType\n );\n\n const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;\n const titleText = hasTitleText ? getTitleText(transactionTokens) : '';\n\n if (isNft) {\n const {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText\n } = getTransactionActionNftText({ token: txToken });\n\n return {\n nftValueData: {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText,\n transactionTokens,\n token: txToken,\n value: tokenFormattedAmount != null ? txToken.value : null,\n decimals: tokenFormattedAmount != null ? txToken.decimals : null,\n titleText\n }\n };\n }\n\n const tokenFormattedAmount = txToken.value\n ? formatAmount({\n input: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const tokenExplorerLink = explorerUrlBuilder.tokenDetails(\n String(txToken.token)\n );\n\n return {\n tokenValueData: {\n tokenExplorerLink,\n showFormattedAmount: false,\n tokenFormattedAmount,\n tokenLinkText: txToken.ticker,\n transactionTokens,\n token: txToken,\n value: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n titleText\n }\n };\n }\n }\n\n return getEgldValueData(transaction.value);\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["tokenFormattedAmount", "tokenExplorerLink"]
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuC,4BAEvCC,EAA4B,8BAE5BC,EAKO,uBAEPC,EAMO,qBACPC,EAA4C,iDAC5CC,EAAqC,0CAMrCC,EAAmC,oCAa5B,MAAMR,EAAsB,CAAC,CAClC,YAAAS,EACA,kBAAAC,CACF,IAA8D,CAC5D,GAAID,EAAY,OAAQ,CACtB,GAAI,0BAAwB,SAASA,EAAY,OAAO,IAAI,EAC1D,SAAO,oBAAiBA,EAAY,KAAK,EAG3C,GAAI,mCAAiC,SAASA,EAAY,OAAO,IAAI,EACnE,SAAO,yBAAsBA,CAAW,EAG1C,GAAI,oCAAkC,SAASA,EAAY,OAAO,IAAI,EACpE,SAAO,0BAAuBA,CAAW,EAG3C,GAAI,qCAAmC,SAASA,EAAY,OAAO,IAAI,EACrE,SAAO,uBAAoBA,CAAW,EAGxC,MAAME,KAAoB,wBAAqBF,CAAW,EAE1D,GAAIE,EAAkB,OAAQ,CAC5B,MAAMC,EAAUD,EAAkB,CAAC,EAC7BE,EAAQ,OAAO,OAAO,aAAW,EAAE,SACvCD,EAAQ,IACV,EAGME,EADe,CAACJ,GAAqBC,EAAkB,OAAS,KACrC,gBAAaA,CAAiB,EAAI,GAEnE,GAAIE,EAAO,CACT,KAAM,CACJ,UAAAE,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,CACF,KAAI,+BAA4B,CAAE,MAAON,CAAQ,CAAC,EAElD,MAAO,CACL,aAAc,CACZ,UAAAG,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,EACA,kBAAAP,EACA,MAAOC,EACP,MAAOI,GAAwB,KAAOJ,EAAQ,MAAQ,KACtD,SAAUI,GAAwB,KAAOJ,EAAQ,SAAW,KAC5D,UAAAE,CACF,CACF,CACF,CAEA,MAAME,EAAuBJ,EAAQ,SACjC,gBAAa,CACX,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAY,WAC9B,OAAQ,EACR,UAAW,EACb,CAAC,EACD,KAMJ,MAAO,CACL,eAAgB,CACd,kBANsB,qBAAmB,aAC3C,OAAOA,EAAQ,KAAK,CACtB,EAKI,oBAAqB,GACrB,qBAAAI,EACA,cAAeJ,EAAQ,OACvB,kBAAAD,EACA,MAAOC,EACP,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAY,WAC9B,UAAAE,CACF,CACF,CACF,CACF,CAEA,SAAO,oBAAiBL,EAAY,KAAK,CAC3C",
|
|
6
|
+
"names": ["getTransactionValue_exports", "__export", "getTransactionValue", "__toCommonJS", "import_sdkDappUtils", "import_tokens", "import_constants", "import_helpers", "import_getTransactionActionNftText", "import_getTransactionTokens", "import_explorerUrlBuilder", "transaction", "hideMultipleBadge", "transactionTokens", "txToken", "isNft", "titleText", "badgeText", "tokenFormattedAmount", "tokenExplorerLink", "tokenLinkText"]
|
|
7
7
|
}
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-5AVHNKDZ.mjs";import"../../../../__chunks__/chunk-O6VPG7AF.mjs";import"../../../../__chunks__/chunk-I2YHVWIX.mjs";import"../../../../__chunks__/chunk-BKKXLEQ6.mjs";import"../../../../__chunks__/chunk-HX72KRC4.mjs";import"../../../../__chunks__/chunk-7FEQBPHA.mjs";import"../../../../__chunks__/chunk-FCIBGJDC.mjs";import"../../../../__chunks__/chunk-2XGXXRSH.mjs";import"../../../../__chunks__/chunk-IE3A2COQ.mjs";import"../../../../__chunks__/chunk-FKGDHZZJ.mjs";import"../../../../__chunks__/chunk-LRF2DQLC.mjs";import"../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../__chunks__/chunk-QQIPTRF4.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";export{a as getTransactionValue};
|
|
2
2
|
//# sourceMappingURL=getTransactionValue.mjs.map
|
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getEgldValueData_exports = {};
|
|
20
|
-
__export(getEgldValueData_exports, {
|
|
21
|
-
getEgldValueData: () => getEgldValueData
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getEgldValueData_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
-
const getEgldValueData = (value) => ({
|
|
26
|
-
egldValueData: {
|
|
27
|
-
value,
|
|
28
|
-
formattedValue: (0, import_sdkDappUtils.formatAmount)({ input: value }),
|
|
29
|
-
decimals: import_sdkDappUtils.DECIMALS
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
getEgldValueData
|
|
35
|
-
});
|
|
1
|
+
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var n=(t,a)=>{for(var o in a)r(t,o,{get:a[o],enumerable:!0})},u=(t,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!i.call(t,e)&&e!==o&&r(t,e,{get:()=>a[e],enumerable:!(l=d(a,e))||l.enumerable});return t};var f=t=>u(r({},"__esModule",{value:!0}),t);var s={};n(s,{getEgldValueData:()=>p});module.exports=f(s);var m=require("../../../../../lib/sdkDappUtils");const p=t=>({egldValueData:{value:t,formattedValue:(0,m.formatAmount)({input:t}),decimals:m.DECIMALS}});0&&(module.exports={getEgldValueData});
|
|
36
2
|
//# sourceMappingURL=getEgldValueData.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\n\nexport const getEgldValueData = (value: string) => ({\n egldValueData: {\n value,\n formattedValue: formatAmount({ input: value }),\n decimals: DECIMALS\n }\n});\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuC,4BAEhC,MAAMF,EAAoBG,IAAmB,CAClD,cAAe,CACb,MAAAA,EACA,kBAAgB,gBAAa,CAAE,MAAOA,CAAM,CAAC,EAC7C,SAAU,UACZ,CACF",
|
|
6
|
+
"names": ["getEgldValueData_exports", "__export", "getEgldValueData", "__toCommonJS", "import_sdkDappUtils", "value"]
|
|
7
7
|
}
|
|
@@ -1,55 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getTitleText_exports = {};
|
|
20
|
-
__export(getTitleText_exports, {
|
|
21
|
-
getTitleText: () => getTitleText
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTitleText_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
-
var import_getIdentifierType = require("../../../../../utils/validation/getIdentifierType");
|
|
26
|
-
var import_getTransactionActionNftText = require("./getTransactionActionNftText");
|
|
27
|
-
const getTitleText = (transactionTokens) => {
|
|
28
|
-
const tokensArray = transactionTokens.map((transactionToken) => {
|
|
29
|
-
const { isNft } = (0, import_getIdentifierType.getIdentifierType)(transactionToken.type);
|
|
30
|
-
if (isNft) {
|
|
31
|
-
const { badgeText, tokenFormattedAmount: tokenFormattedAmount2, tokenLinkText } = (0, import_getTransactionActionNftText.getTransactionActionNftText)({
|
|
32
|
-
token: transactionToken
|
|
33
|
-
});
|
|
34
|
-
const badge = badgeText != null ? `(${badgeText}) ` : "";
|
|
35
|
-
const value2 = `${badge}${tokenFormattedAmount2} ${tokenLinkText}`;
|
|
36
|
-
return value2;
|
|
37
|
-
}
|
|
38
|
-
const tokenFormattedAmount = transactionToken.value ? (0, import_sdkDappUtils.formatAmount)({
|
|
39
|
-
input: transactionToken.value,
|
|
40
|
-
decimals: transactionToken.decimals ?? import_sdkDappUtils.DECIMALS,
|
|
41
|
-
digits: 2,
|
|
42
|
-
addCommas: true
|
|
43
|
-
}) : null;
|
|
44
|
-
const identifier = transactionToken.collection ? transactionToken.identifier : transactionToken.token;
|
|
45
|
-
const value = `${tokenFormattedAmount} ${transactionToken.ticker} (${identifier})`;
|
|
46
|
-
return value;
|
|
47
|
-
});
|
|
48
|
-
const joinedTokensWithLineBreak = decodeURI(tokensArray.join("%0A"));
|
|
49
|
-
return joinedTokensWithLineBreak;
|
|
50
|
-
};
|
|
51
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
-
0 && (module.exports = {
|
|
53
|
-
getTitleText
|
|
54
|
-
});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var y=(a,t)=>{for(var n in t)u(a,n,{get:t[n],enumerable:!0})},D=(a,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!c.call(a,o)&&o!==n&&u(a,o,{get:()=>t[o],enumerable:!(e=g(t,o))||e.enumerable});return a};var V=a=>D(u({},"__esModule",{value:!0}),a);var A={};y(A,{getTitleText:()=>k});module.exports=V(A);var r=require("../../../../../lib/sdkDappUtils"),l=require("../../../../../utils/validation/getIdentifierType"),m=require("./getTransactionActionNftText");const k=a=>{const t=a.map(e=>{const{isNft:o}=(0,l.getIdentifierType)(e.type);if(o){const{badgeText:i,tokenFormattedAmount:T,tokenLinkText:f}=(0,m.getTransactionActionNftText)({token:e});return`${i!=null?`(${i}) `:""}${T} ${f}`}const d=e.value?(0,r.formatAmount)({input:e.value,decimals:e.decimals??r.DECIMALS,digits:2,addCommas:!0}):null,p=e.collection?e.identifier:e.token;return`${d} ${e.ticker} (${p})`});return decodeURI(t.join("%0A"))};0&&(module.exports={getTitleText});
|
|
55
2
|
//# sourceMappingURL=getTitleText.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.ts"],
|
|
4
4
|
"sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\nimport { getTransactionActionNftText } from './getTransactionActionNftText';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from '../types';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport const getTitleText = (\n transactionTokens: TokenArgumentType[]\n): string => {\n const tokensArray = transactionTokens.map((transactionToken) => {\n const { isNft } = getIdentifierType(transactionToken.type);\n if (isNft) {\n const { badgeText, tokenFormattedAmount, tokenLinkText } =\n getTransactionActionNftText({\n token: transactionToken\n });\n\n const badge = badgeText != null ? `(${badgeText}) ` : '';\n\n const value = `${badge}${tokenFormattedAmount} ${tokenLinkText}`;\n return value;\n }\n\n const tokenFormattedAmount = transactionToken.value\n ? formatAmount({\n input: transactionToken.value,\n decimals: transactionToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const identifier = transactionToken.collection\n ? transactionToken.identifier\n : transactionToken.token;\n\n const value = `${tokenFormattedAmount} ${transactionToken.ticker} (${identifier})`;\n return value;\n });\n\n const joinedTokensWithLineBreak = decodeURI(tokensArray.join('%0A'));\n return joinedTokensWithLineBreak;\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["tokenFormattedAmount", "
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuC,4BAEvCC,EAAkC,8CAClCC,EAA4C,yCAarC,MAAMJ,EACXK,GACW,CACX,MAAMC,EAAcD,EAAkB,IAAKE,GAAqB,CAC9D,KAAM,CAAE,MAAAC,CAAM,KAAI,qBAAkBD,EAAiB,IAAI,EACzD,GAAIC,EAAO,CACT,KAAM,CAAE,UAAAC,EAAW,qBAAAC,EAAsB,cAAAC,CAAc,KACrD,+BAA4B,CAC1B,MAAOJ,CACT,CAAC,EAKH,MADc,GAFAE,GAAa,KAAO,IAAIA,CAAS,KAAO,EAEhC,GAAGC,CAAoB,IAAIC,CAAa,EAEhE,CAEA,MAAMD,EAAuBH,EAAiB,SAC1C,gBAAa,CACX,MAAOA,EAAiB,MACxB,SAAUA,EAAiB,UAAY,WACvC,OAAQ,EACR,UAAW,EACb,CAAC,EACD,KAEEK,EAAaL,EAAiB,WAChCA,EAAiB,WACjBA,EAAiB,MAGrB,MADc,GAAGG,CAAoB,IAAIH,EAAiB,MAAM,KAAKK,CAAU,GAEjF,CAAC,EAGD,OADkC,UAAUN,EAAY,KAAK,KAAK,CAAC,CAErE",
|
|
6
|
+
"names": ["getTitleText_exports", "__export", "getTitleText", "__toCommonJS", "import_sdkDappUtils", "import_getIdentifierType", "import_getTransactionActionNftText", "transactionTokens", "tokensArray", "transactionToken", "isNft", "badgeText", "tokenFormattedAmount", "tokenLinkText", "identifier"]
|
|
7
7
|
}
|
|
@@ -1,71 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getTransactionActionNftText_exports = {};
|
|
20
|
-
__export(getTransactionActionNftText_exports, {
|
|
21
|
-
getTransactionActionNftText: () => getTransactionActionNftText
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionActionNftText_exports);
|
|
24
|
-
var import_sdkDappUtils = require("../../../../../lib/sdkDappUtils");
|
|
25
|
-
var import_tokens = require("../../../../../types/tokens.types");
|
|
26
|
-
var import_explorerUrlBuilder = require("../../../explorerUrlBuilder");
|
|
27
|
-
function getTransactionActionNftText({
|
|
28
|
-
token,
|
|
29
|
-
noValue,
|
|
30
|
-
showLastNonZeroDecimal
|
|
31
|
-
}) {
|
|
32
|
-
const isTokenAmountVisible = !noValue && token.value && token.type !== import_tokens.NftEnumType.NonFungibleESDT;
|
|
33
|
-
const canShowFormattedAmount = token.decimals != null;
|
|
34
|
-
let badgeText = "";
|
|
35
|
-
if (token.type === import_tokens.NftEnumType.NonFungibleESDT) {
|
|
36
|
-
badgeText = "NFT";
|
|
37
|
-
}
|
|
38
|
-
if (token.type === import_tokens.NftEnumType.SemiFungibleESDT) {
|
|
39
|
-
badgeText = "SFT";
|
|
40
|
-
}
|
|
41
|
-
if (token.type === import_tokens.NftEnumType.MetaESDT) {
|
|
42
|
-
badgeText = "Meta-ESDT";
|
|
43
|
-
}
|
|
44
|
-
let tokenFormattedAmount = "";
|
|
45
|
-
if (isTokenAmountVisible && canShowFormattedAmount) {
|
|
46
|
-
tokenFormattedAmount = canShowFormattedAmount ? (0, import_sdkDappUtils.formatAmount)({
|
|
47
|
-
input: token.value,
|
|
48
|
-
decimals: token.decimals,
|
|
49
|
-
digits: 2,
|
|
50
|
-
showLastNonZeroDecimal
|
|
51
|
-
}) : Number(token.value).toLocaleString("en");
|
|
52
|
-
}
|
|
53
|
-
const tokenExplorerLink = import_explorerUrlBuilder.explorerUrlBuilder.nftDetails(
|
|
54
|
-
String(token.identifier)
|
|
55
|
-
);
|
|
56
|
-
const tokenLinkText = token.ticker === token.collection ? token.identifier ?? token.ticker : token.ticker;
|
|
57
|
-
return {
|
|
58
|
-
badgeText,
|
|
59
|
-
tokenFormattedAmount: isTokenAmountVisible ? tokenFormattedAmount : null,
|
|
60
|
-
tokenExplorerLink,
|
|
61
|
-
tokenLinkText,
|
|
62
|
-
token,
|
|
63
|
-
noValue,
|
|
64
|
-
showLastNonZeroDecimal
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
68
|
-
0 && (module.exports = {
|
|
69
|
-
getTransactionActionNftText
|
|
70
|
-
});
|
|
1
|
+
"use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var i in e)l(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of f(e))!g.call(t,n)&&n!==i&&l(t,n,{get:()=>e[n],enumerable:!(o=s(e,n))||o.enumerable});return t};var y=t=>d(l({},"__esModule",{value:!0}),t);var x={};A(x,{getTransactionActionNftText:()=>b});module.exports=y(x);var T=require("../../../../../lib/sdkDappUtils"),r=require("../../../../../types/tokens.types"),c=require("../../../explorerUrlBuilder");function b({token:t,noValue:e,showLastNonZeroDecimal:i}){const o=!e&&t.value&&t.type!==r.NftEnumType.NonFungibleESDT,n=t.decimals!=null;let a="";t.type===r.NftEnumType.NonFungibleESDT&&(a="NFT"),t.type===r.NftEnumType.SemiFungibleESDT&&(a="SFT"),t.type===r.NftEnumType.MetaESDT&&(a="Meta-ESDT");let m="";o&&n&&(m=n?(0,T.formatAmount)({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:i}):Number(t.value).toLocaleString("en"));const u=c.explorerUrlBuilder.nftDetails(String(t.identifier)),p=t.ticker===t.collection?t.identifier??t.ticker:t.ticker;return{badgeText:a,tokenFormattedAmount:o?m:null,tokenExplorerLink:u,tokenLinkText:p,token:t,noValue:e,showLastNonZeroDecimal:i}}0&&(module.exports={getTransactionActionNftText});
|
|
71
2
|
//# sourceMappingURL=getTransactionActionNftText.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.ts"],
|
|
4
4
|
"sourcesContent": ["import { formatAmount } from 'lib/sdkDappUtils';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\nimport { explorerUrlBuilder } from '../../../explorerUrlBuilder';\n\nexport interface TransactionActionNftType {\n token: TokenArgumentType;\n noValue?: boolean;\n showLastNonZeroDecimal?: boolean;\n}\nexport interface TransactionActionNftReturnType {\n badgeText: string | null;\n tokenFormattedAmount: string | null;\n tokenExplorerLink: string;\n tokenLinkText: string;\n token: TokenArgumentType;\n showLastNonZeroDecimal?: boolean;\n noValue?: boolean;\n}\n\nexport function getTransactionActionNftText({\n token,\n noValue,\n showLastNonZeroDecimal\n}: TransactionActionNftType): TransactionActionNftReturnType {\n const isTokenAmountVisible =\n !noValue && token.value && token.type !== NftEnumType.NonFungibleESDT;\n\n const canShowFormattedAmount = token.decimals != null;\n\n let badgeText = '';\n if (token.type === NftEnumType.NonFungibleESDT) {\n badgeText = 'NFT';\n }\n if (token.type === NftEnumType.SemiFungibleESDT) {\n badgeText = 'SFT';\n }\n if (token.type === NftEnumType.MetaESDT) {\n badgeText = 'Meta-ESDT';\n }\n\n let tokenFormattedAmount = '';\n if (isTokenAmountVisible && canShowFormattedAmount) {\n tokenFormattedAmount = canShowFormattedAmount\n ? formatAmount({\n input: token.value,\n decimals: token.decimals,\n digits: 2,\n showLastNonZeroDecimal\n })\n : Number(token.value).toLocaleString('en');\n }\n\n const tokenExplorerLink = explorerUrlBuilder.nftDetails(\n String(token.identifier)\n );\n\n const tokenLinkText =\n token.ticker === token.collection\n ? token.identifier ?? token.ticker\n : token.ticker;\n\n return {\n badgeText,\n tokenFormattedAmount: isTokenAmountVisible ? tokenFormattedAmount : null,\n tokenExplorerLink,\n tokenLinkText,\n token,\n noValue,\n showLastNonZeroDecimal\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA6B,4BAE7BC,EAA4B,8BAC5BC,EAAmC,uCAiB5B,SAASJ,EAA4B,CAC1C,MAAAK,EACA,QAAAC,EACA,uBAAAC,CACF,EAA6D,CAC3D,MAAMC,EACJ,CAACF,GAAWD,EAAM,OAASA,EAAM,OAAS,cAAY,gBAElDI,EAAyBJ,EAAM,UAAY,KAEjD,IAAIK,EAAY,GACZL,EAAM,OAAS,cAAY,kBAC7BK,EAAY,OAEVL,EAAM,OAAS,cAAY,mBAC7BK,EAAY,OAEVL,EAAM,OAAS,cAAY,WAC7BK,EAAY,aAGd,IAAIC,EAAuB,GACvBH,GAAwBC,IAC1BE,EAAuBF,KACnB,gBAAa,CACX,MAAOJ,EAAM,MACb,SAAUA,EAAM,SAChB,OAAQ,EACR,uBAAAE,CACF,CAAC,EACD,OAAOF,EAAM,KAAK,EAAE,eAAe,IAAI,GAG7C,MAAMO,EAAoB,qBAAmB,WAC3C,OAAOP,EAAM,UAAU,CACzB,EAEMQ,EACJR,EAAM,SAAWA,EAAM,WACnBA,EAAM,YAAcA,EAAM,OAC1BA,EAAM,OAEZ,MAAO,CACL,UAAAK,EACA,qBAAsBF,EAAuBG,EAAuB,KACpE,kBAAAC,EACA,cAAAC,EACA,MAAAR,EACA,QAAAC,EACA,uBAAAC,CACF,CACF",
|
|
6
|
+
"names": ["getTransactionActionNftText_exports", "__export", "getTransactionActionNftText", "__toCommonJS", "import_sdkDappUtils", "import_tokens", "import_explorerUrlBuilder", "token", "noValue", "showLastNonZeroDecimal", "isTokenAmountVisible", "canShowFormattedAmount", "badgeText", "tokenFormattedAmount", "tokenExplorerLink", "tokenLinkText"]
|
|
7
7
|
}
|
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getTransactionTokens_exports = {};
|
|
20
|
-
__export(getTransactionTokens_exports, {
|
|
21
|
-
getTransactionTokens: () => getTransactionTokens
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getTransactionTokens_exports);
|
|
24
|
-
const getTransactionTokens = (transaction) => {
|
|
25
|
-
if (transaction.action) {
|
|
26
|
-
const merged = [
|
|
27
|
-
transaction.action.arguments?.token,
|
|
28
|
-
transaction.action.arguments?.token1,
|
|
29
|
-
transaction.action.arguments?.token2,
|
|
30
|
-
transaction.action.arguments?.transfers
|
|
31
|
-
// array of tokens
|
|
32
|
-
].filter((x) => x != null);
|
|
33
|
-
return [].concat(...merged);
|
|
34
|
-
}
|
|
35
|
-
return [];
|
|
36
|
-
};
|
|
37
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
-
0 && (module.exports = {
|
|
39
|
-
getTransactionTokens
|
|
40
|
-
});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var c=(e,n)=>{for(var r in n)o(e,r,{get:n[r],enumerable:!0})},g=(e,n,r,T)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of m(n))!u.call(e,t)&&t!==r&&o(e,t,{get:()=>n[t],enumerable:!(T=a(n,t))||T.enumerable});return e};var s=e=>g(o({},"__esModule",{value:!0}),e);var k={};c(k,{getTransactionTokens:()=>i});module.exports=s(k);const i=e=>{if(e.action){const n=[e.action.arguments?.token,e.action.arguments?.token1,e.action.arguments?.token2,e.action.arguments?.transfers].filter(r=>r!=null);return[].concat(...n)}return[]};0&&(module.exports={getTransactionTokens});
|
|
41
2
|
//# sourceMappingURL=getTransactionTokens.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n ServerTransactionType,\n TokenArgumentType\n} from 'types/serverTransactions.types';\n\nexport const getTransactionTokens = (\n transaction: ServerTransactionType\n): TokenArgumentType[] => {\n if (transaction.action) {\n const merged = [\n transaction.action.arguments?.token,\n transaction.action.arguments?.token1,\n transaction.action.arguments?.token2,\n transaction.action.arguments?.transfers // array of tokens\n ].filter((x) => x != null);\n\n return [].concat(...merged);\n }\n\n return [];\n};\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAKO,MAAME,EACXE,GACwB,CACxB,GAAIA,EAAY,OAAQ,CACtB,MAAMC,EAAS,CACbD,EAAY,OAAO,WAAW,MAC9BA,EAAY,OAAO,WAAW,OAC9BA,EAAY,OAAO,WAAW,OAC9BA,EAAY,OAAO,WAAW,SAChC,EAAE,OAAQE,GAAMA,GAAK,IAAI,EAEzB,MAAO,CAAC,EAAE,OAAO,GAAGD,CAAM,CAC5B,CAEA,MAAO,CAAC,CACV",
|
|
6
|
+
"names": ["getTransactionTokens_exports", "__export", "getTransactionTokens", "__toCommonJS", "transaction", "merged", "x"]
|
|
7
7
|
}
|
|
@@ -1,54 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getValueFromActions_exports = {};
|
|
30
|
-
__export(getValueFromActions_exports, {
|
|
31
|
-
getValueFromActions: () => getValueFromActions
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getValueFromActions_exports);
|
|
34
|
-
var import_bignumber = __toESM(require("bignumber.js"));
|
|
35
|
-
var import_getEgldValueData = require("./getEgldValueData");
|
|
36
|
-
let warningLogged = false;
|
|
37
|
-
function getValueFromActions(transaction) {
|
|
38
|
-
const value = new import_bignumber.default(transaction.action?.arguments?.value);
|
|
39
|
-
if (!value.isNaN()) {
|
|
40
|
-
return (0, import_getEgldValueData.getEgldValueData)(transaction.action?.arguments?.value);
|
|
41
|
-
}
|
|
42
|
-
if (!warningLogged) {
|
|
43
|
-
console.error(
|
|
44
|
-
`Unable to interpret ${transaction.action?.name} data for txHash: ${transaction.txHash}`
|
|
45
|
-
);
|
|
46
|
-
warningLogged = true;
|
|
47
|
-
}
|
|
48
|
-
return (0, import_getEgldValueData.getEgldValueData)(transaction.value);
|
|
49
|
-
}
|
|
50
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
-
0 && (module.exports = {
|
|
52
|
-
getValueFromActions
|
|
53
|
-
});
|
|
1
|
+
"use strict";var g=Object.create;var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var d=(e,r)=>{for(var t in r)o(e,t,{get:r[t],enumerable:!0})},i=(e,r,t,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of f(r))!c.call(e,a)&&a!==t&&o(e,a,{get:()=>r[a],enumerable:!(u=p(r,a))||u.enumerable});return e};var v=(e,r,t)=>(t=e!=null?g(s(e)):{},i(r||!e||!e.__esModule?o(t,"default",{value:e,enumerable:!0}):t,e)),T=e=>i(o({},"__esModule",{value:!0}),e);var N={};d(N,{getValueFromActions:()=>x});module.exports=T(N);var m=v(require("bignumber.js")),n=require("./getEgldValueData");let l=!1;function x(e){return new m.default(e.action?.arguments?.value).isNaN()?(l||(console.error(`Unable to interpret ${e.action?.name} data for txHash: ${e.txHash}`),l=!0),(0,n.getEgldValueData)(e.value)):(0,n.getEgldValueData)(e.action?.arguments?.value)}0&&(module.exports={getValueFromActions});
|
|
54
2
|
//# sourceMappingURL=getValueFromActions.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.ts"],
|
|
4
4
|
"sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { getEgldValueData } from './getEgldValueData';\n\nlet warningLogged = false;\n\nexport function getValueFromActions(transaction: InterpretedTransactionType) {\n const value = new BigNumber(transaction.action?.arguments?.value);\n\n if (!value.isNaN()) {\n return getEgldValueData(transaction.action?.arguments?.value);\n }\n\n if (!warningLogged) {\n console.error(\n `Unable to interpret ${transaction.action?.name} data for txHash: ${transaction.txHash}`\n );\n warningLogged = true;\n }\n\n // fallback on transaction value\n return getEgldValueData(transaction.value);\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["BigNumber"]
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,yBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BAEtBC,EAAiC,8BAEjC,IAAIC,EAAgB,GAEb,SAASJ,EAAoBK,EAAyC,CAG3E,OAFc,IAAI,EAAAC,QAAUD,EAAY,QAAQ,WAAW,KAAK,EAErD,MAAM,GAIZD,IACH,QAAQ,MACN,uBAAuBC,EAAY,QAAQ,IAAI,qBAAqBA,EAAY,MAAM,EACxF,EACAD,EAAgB,OAIX,oBAAiBC,EAAY,KAAK,MAXhC,oBAAiBA,EAAY,QAAQ,WAAW,KAAK,CAYhE",
|
|
6
|
+
"names": ["getValueFromActions_exports", "__export", "getValueFromActions", "__toCommonJS", "import_bignumber", "import_getEgldValueData", "warningLogged", "transaction", "BigNumber"]
|
|
7
7
|
}
|