@multiversx/sdk-dapp 5.0.2-alpha.1 → 5.0.3
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-YTFYVPZO.mjs → chunk-2DFE24NA.mjs} +2 -2
- package/out/__chunks__/chunk-2S4GDHPC.mjs +2 -0
- package/out/__chunks__/{chunk-FIVH6RKU.mjs → chunk-2XGXXRSH.mjs} +2 -2
- package/out/__chunks__/{chunk-AK44E24X.mjs → chunk-3AALZJXX.mjs} +2 -2
- package/out/__chunks__/chunk-3C5GZ3BL.mjs +2 -0
- package/out/__chunks__/{chunk-KEE42WYL.mjs → chunk-3IKGFPT3.mjs} +2 -2
- package/out/__chunks__/{chunk-FAOTAY77.mjs → chunk-3OZWOKL7.mjs} +2 -2
- package/out/__chunks__/{chunk-LIPGE2RA.mjs → chunk-52PGMMOM.mjs} +2 -2
- package/out/__chunks__/chunk-5AGNJNHL.mjs +2 -0
- package/out/__chunks__/{chunk-5TVRGEID.mjs → chunk-5AITBRJM.mjs} +2 -2
- package/out/__chunks__/{chunk-2SOS3KAT.mjs → chunk-5E32AO3E.mjs} +2 -2
- package/out/__chunks__/{chunk-UBINPM6F.mjs → chunk-5IKWP24U.mjs} +2 -2
- package/out/__chunks__/chunk-5J6OW5XP.mjs +2 -0
- package/out/__chunks__/{chunk-APRKCU5W.mjs → chunk-5P5FMYGA.mjs} +2 -2
- package/out/__chunks__/chunk-66LM6A7E.mjs +2 -0
- package/out/__chunks__/{chunk-YB7AHPBR.mjs → chunk-6D53LH5J.mjs} +2 -2
- package/out/__chunks__/{chunk-NGHOVWEO.mjs → chunk-6JIZDYQM.mjs} +2 -2
- package/out/__chunks__/chunk-6K6VHJWQ.mjs +2 -0
- package/out/__chunks__/{chunk-DHPD6E7P.mjs → chunk-7FEQBPHA.mjs} +2 -2
- package/out/__chunks__/{chunk-UFRAVF3S.mjs → chunk-7YHMRUFS.mjs} +2 -2
- package/out/__chunks__/{chunk-ISPRIGOE.mjs → chunk-AGUGUYQS.mjs} +2 -2
- package/out/__chunks__/chunk-AWVWVATR.mjs +2 -0
- package/out/__chunks__/{chunk-6XOHFAL4.mjs → chunk-BYJK2EOI.mjs} +2 -2
- package/out/__chunks__/chunk-C7NS47QA.mjs +2 -0
- package/out/__chunks__/chunk-CC4DXLNZ.mjs +2 -0
- package/out/__chunks__/chunk-CETMI3F5.mjs +2 -0
- package/out/__chunks__/{chunk-UAW7SD6P.mjs → chunk-D2ULWBRR.mjs} +2 -2
- package/out/__chunks__/chunk-DF5ZV5BO.mjs +2 -0
- package/out/__chunks__/{chunk-3MWXXTQQ.mjs → chunk-DFSBS3PX.mjs} +2 -2
- package/out/__chunks__/chunk-DJWI5LZX.mjs +2 -0
- package/out/__chunks__/{chunk-UPZSSHAY.mjs → chunk-DOU66R4K.mjs} +2 -2
- package/out/__chunks__/{chunk-IKVKOGWF.mjs → chunk-EJ2HUL6D.mjs} +2 -2
- package/out/__chunks__/{chunk-OWBEAOLJ.mjs → chunk-F5Q64A5W.mjs} +2 -2
- package/out/__chunks__/{chunk-266T724O.mjs → chunk-FCIBGJDC.mjs} +2 -2
- package/out/__chunks__/chunk-FKGDHZZJ.mjs +2 -0
- package/out/__chunks__/{chunk-EQEYL6AE.mjs → chunk-FNYBJAH3.mjs} +2 -2
- package/out/__chunks__/{chunk-BU6PLF6D.mjs → chunk-GDF5AJ5S.mjs} +2 -2
- package/out/__chunks__/{chunk-KSKOSHYV.mjs → chunk-GFR6K4DR.mjs} +2 -2
- package/out/__chunks__/{chunk-PQUTSIC4.mjs → chunk-GMX4XDVR.mjs} +2 -2
- package/out/__chunks__/chunk-GSMTFDRE.mjs +2 -0
- package/out/__chunks__/{chunk-2D4DUCY4.mjs → chunk-GUNYJMJE.mjs} +2 -2
- package/out/__chunks__/{chunk-PL7G674F.mjs → chunk-GY2WKBFX.mjs} +2 -2
- package/out/__chunks__/{chunk-DNHKXKYY.mjs → chunk-H33OUO77.mjs} +2 -2
- package/out/__chunks__/chunk-H7E4BCEJ.mjs +2 -0
- package/out/__chunks__/{chunk-6FGDARXH.mjs → chunk-HIKIVTTW.mjs} +2 -2
- package/out/__chunks__/{chunk-E53QIC6C.mjs → chunk-HLORMFN4.mjs} +2 -2
- package/out/__chunks__/{chunk-CWENDDPJ.mjs → chunk-I5OYRIZC.mjs} +2 -2
- package/out/__chunks__/{chunk-JIJSBQEU.mjs → chunk-IE3A2COQ.mjs} +2 -2
- package/out/__chunks__/chunk-IFIL5YA5.mjs +2 -0
- package/out/__chunks__/chunk-IFIL5YA5.mjs.map +7 -0
- package/out/__chunks__/{chunk-UC4MBL7R.mjs → chunk-IINL5CEU.mjs} +2 -2
- package/out/__chunks__/{chunk-RGBXTDJ7.mjs → chunk-IVSP42IE.mjs} +2 -2
- package/out/__chunks__/chunk-IWHUAAVD.mjs +2 -0
- package/out/__chunks__/{chunk-NCVIHQO4.mjs → chunk-IXGPMW52.mjs} +2 -2
- package/out/__chunks__/{chunk-NXJJ2A6Q.mjs → chunk-J6N7KVXV.mjs} +2 -2
- package/out/__chunks__/{chunk-KN7QMGWV.mjs → chunk-JAIA24ND.mjs} +2 -2
- package/out/__chunks__/{chunk-ICDD7V53.mjs → chunk-JIAKT3GI.mjs} +2 -2
- package/out/__chunks__/{chunk-BRBIUWAW.mjs → chunk-JMC7CMTU.mjs} +2 -2
- package/out/__chunks__/{chunk-DV3XIKOX.mjs → chunk-K4ITACAF.mjs} +2 -2
- package/out/__chunks__/{chunk-XRBOH3AB.mjs → chunk-K7R2V5KX.mjs} +2 -2
- package/out/__chunks__/{chunk-EFUXCZER.mjs → chunk-KXK3FLN2.mjs} +2 -2
- package/out/__chunks__/{chunk-UFMXBWCD.mjs → chunk-LM2GCQL5.mjs} +2 -2
- package/out/__chunks__/{chunk-O3V4TGXK.mjs → chunk-LN5UXO64.mjs} +2 -2
- package/out/__chunks__/{chunk-K4O6NCSM.mjs → chunk-LWDK4NX3.mjs} +2 -2
- package/out/__chunks__/{chunk-33D26THL.mjs → chunk-M2ZSNGPS.mjs} +2 -2
- package/out/__chunks__/{chunk-5MC44CTJ.mjs → chunk-M5T2OACP.mjs} +2 -2
- package/out/__chunks__/{chunk-Z5CDCI3Y.mjs → chunk-MDVI45IV.mjs} +2 -2
- package/out/__chunks__/chunk-ML7FXWAD.mjs +2 -0
- package/out/__chunks__/chunk-MSQGMOCS.mjs +2 -0
- package/out/__chunks__/{chunk-JLVWBFTU.mjs → chunk-N5DIMOWZ.mjs} +2 -2
- package/out/__chunks__/{chunk-VO7TNUQ6.mjs → chunk-NEHR66XQ.mjs} +2 -2
- package/out/__chunks__/{chunk-MPLLWF75.mjs → chunk-NKUK5GFB.mjs} +2 -2
- package/out/__chunks__/chunk-NRXYSTRW.mjs +2 -0
- package/out/__chunks__/{chunk-FFHVVGYW.mjs.map → chunk-NRXYSTRW.mjs.map} +3 -3
- package/out/__chunks__/chunk-NTEMINYA.mjs +2 -0
- package/out/__chunks__/{chunk-R53MCZI6.mjs.map → chunk-NTEMINYA.mjs.map} +3 -3
- package/out/__chunks__/{chunk-FRPCFHSV.mjs → chunk-NVE5YTZK.mjs} +2 -2
- package/out/__chunks__/chunk-ODPJDT5F.mjs +2 -0
- package/out/__chunks__/chunk-ODPJDT5F.mjs.map +7 -0
- package/out/__chunks__/{chunk-ABHYXD3U.mjs → chunk-OLOCTHIE.mjs} +2 -2
- package/out/__chunks__/{chunk-MGF5WOBM.mjs → chunk-OX6DILCF.mjs} +2 -2
- package/out/__chunks__/chunk-P4QMB34E.mjs +2 -0
- package/out/__chunks__/chunk-P4QMB34E.mjs.map +7 -0
- package/out/__chunks__/chunk-PDEIJQWE.mjs +2 -0
- package/out/__chunks__/{chunk-AV4HSXYZ.mjs → chunk-PHOF3Z5D.mjs} +2 -2
- package/out/__chunks__/chunk-PJWJZHIS.mjs +2 -0
- package/out/__chunks__/{chunk-J4CPYFK6.mjs.map → chunk-PJWJZHIS.mjs.map} +3 -3
- package/out/__chunks__/chunk-PWXGNRYT.mjs +2 -0
- package/out/__chunks__/{chunk-R35LPX6Q.mjs.map → chunk-PWXGNRYT.mjs.map} +1 -1
- package/out/__chunks__/{chunk-ZXIBFH6X.mjs → chunk-Q5Z34JFU.mjs} +2 -2
- package/out/__chunks__/{chunk-5VEB2Q3E.mjs → chunk-QAHFVBCD.mjs} +2 -2
- package/out/__chunks__/{chunk-3HHV6IM7.mjs → chunk-QGNMCCFK.mjs} +2 -2
- package/out/__chunks__/{chunk-LUDF7ZUR.mjs → chunk-QQAW7UC2.mjs} +2 -2
- package/out/__chunks__/chunk-QS2RBVTW.mjs +2 -0
- package/out/__chunks__/{chunk-PYQHSRH3.mjs → chunk-RD2EB7NA.mjs} +2 -2
- package/out/__chunks__/{chunk-T5KTF5Z5.mjs → chunk-RHCAOCW3.mjs} +2 -2
- package/out/__chunks__/{chunk-VJJT22PO.mjs → chunk-RPTQJKFR.mjs} +2 -2
- package/out/__chunks__/{chunk-KT7RICHS.mjs → chunk-RSVM3MZD.mjs} +2 -2
- package/out/__chunks__/chunk-RU7UYXPW.mjs +2 -0
- package/out/__chunks__/{chunk-ZHAYVRGH.mjs → chunk-S5VF4GWN.mjs} +2 -2
- package/out/__chunks__/{chunk-YLJTXHF4.mjs → chunk-S6EACMBJ.mjs} +2 -2
- package/out/__chunks__/{chunk-JEB6OIJ7.mjs → chunk-SKCBMUQL.mjs} +2 -2
- package/out/__chunks__/{chunk-Y3FER7B6.mjs → chunk-TRIPQLQM.mjs} +2 -2
- package/out/__chunks__/{chunk-SCRYMTTV.mjs → chunk-TZ2EDK3R.mjs} +2 -2
- package/out/__chunks__/{chunk-VJ2DAL5M.mjs → chunk-U3UMCTU6.mjs} +2 -2
- package/out/__chunks__/{chunk-2I4BJK55.mjs → chunk-U4ZCGUVE.mjs} +2 -2
- package/out/__chunks__/{chunk-UGI3S542.mjs → chunk-U7E2AVPF.mjs} +2 -2
- package/out/__chunks__/chunk-UCJMQJM4.mjs +2 -0
- package/out/__chunks__/{chunk-QSBLXZFC.mjs → chunk-UCNS6KD5.mjs} +2 -2
- package/out/__chunks__/{chunk-QJSB5NX4.mjs → chunk-UERJ6AKK.mjs} +2 -2
- package/out/__chunks__/{chunk-BSWV5MEC.mjs → chunk-UK5MEKBE.mjs} +2 -2
- package/out/__chunks__/{chunk-KARM6PTO.mjs → chunk-UKGXMWHE.mjs} +2 -2
- package/out/__chunks__/{chunk-HCROEWHT.mjs → chunk-UO4CECP4.mjs} +2 -2
- package/out/__chunks__/{chunk-MC23BEFI.mjs → chunk-UTN4SJ54.mjs} +2 -2
- package/out/__chunks__/{chunk-B6UQJ7RN.mjs → chunk-UVN6CHEM.mjs} +2 -2
- package/out/__chunks__/{chunk-NEPD4C5Y.mjs → chunk-VG7UDG2S.mjs} +2 -2
- package/out/__chunks__/{chunk-MMJFQNPX.mjs → chunk-WBPXPWSV.mjs} +2 -2
- package/out/__chunks__/{chunk-VU3NDTLL.mjs → chunk-WIHG6SHO.mjs} +2 -2
- package/out/__chunks__/{chunk-W77E3MVG.mjs → chunk-WTBHS6AM.mjs} +2 -2
- package/out/__chunks__/{chunk-7BP53CXF.mjs → chunk-WZGG2YKQ.mjs} +2 -2
- package/out/__chunks__/{chunk-P3BXXGQA.mjs → chunk-XCVEFI4B.mjs} +2 -2
- package/out/__chunks__/{chunk-VN3A7GN4.mjs → chunk-XFYYVB6G.mjs} +2 -2
- package/out/__chunks__/chunk-YNXPGS77.mjs +2 -0
- package/out/__chunks__/{chunk-OWZ7T4JN.mjs → chunk-YTA6XGBJ.mjs} +2 -2
- package/out/__chunks__/{chunk-ATOIEDNS.mjs → chunk-YVVAPGXF.mjs} +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
- package/out/controllers/FormatAmountController/index.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/index.mjs +1 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.d.ts +2 -1
- package/out/lib/sdkCore.mjs +1 -1
- package/out/lib/sdkDappUi.d.ts +10 -11
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.d.ts +1 -1
- package/out/lib/sdkDappUtils.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +3 -3
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.mjs +1 -1
- package/out/store/selectors/index.mjs +1 -1
- package/out/store/slices/account/accountSlice.mjs +1 -1
- package/out/store/slices/account/emptyAccount.mjs +1 -1
- package/out/store/slices/account/index.mjs +1 -1
- package/out/store/slices/index.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/utils/ComponentFactory.d.ts +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/operations/trimAmountDecimals.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.d.ts +2 -1
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs.map +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +2 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +2 -2
- package/out/__chunks__/chunk-2HSERTN3.mjs +0 -2
- package/out/__chunks__/chunk-2RRXUGLI.mjs +0 -2
- package/out/__chunks__/chunk-3AC72XDZ.mjs +0 -2
- package/out/__chunks__/chunk-53X3CO6E.mjs +0 -2
- package/out/__chunks__/chunk-BT27ZSJC.mjs +0 -2
- package/out/__chunks__/chunk-C43MOZMC.mjs +0 -2
- package/out/__chunks__/chunk-C43MOZMC.mjs.map +0 -7
- package/out/__chunks__/chunk-CBKDKXYT.mjs +0 -2
- package/out/__chunks__/chunk-DRETVXSY.mjs +0 -2
- package/out/__chunks__/chunk-DT6YLEPL.mjs +0 -2
- package/out/__chunks__/chunk-FEFZKA2B.mjs +0 -2
- package/out/__chunks__/chunk-FFHVVGYW.mjs +0 -2
- package/out/__chunks__/chunk-HTG5MOLD.mjs +0 -2
- package/out/__chunks__/chunk-HTG5MOLD.mjs.map +0 -7
- package/out/__chunks__/chunk-J4CPYFK6.mjs +0 -2
- package/out/__chunks__/chunk-JHG3QIDR.mjs +0 -2
- package/out/__chunks__/chunk-LN5BGLT5.mjs +0 -2
- package/out/__chunks__/chunk-MFBGRZPB.mjs +0 -2
- package/out/__chunks__/chunk-NO7YH2FT.mjs +0 -2
- package/out/__chunks__/chunk-PBBTJFMG.mjs +0 -2
- package/out/__chunks__/chunk-PHEK22HL.mjs +0 -2
- package/out/__chunks__/chunk-QMEKXQAU.mjs +0 -2
- package/out/__chunks__/chunk-R35LPX6Q.mjs +0 -2
- package/out/__chunks__/chunk-R53MCZI6.mjs +0 -2
- package/out/__chunks__/chunk-R725UMBR.mjs +0 -2
- package/out/__chunks__/chunk-RWNPPIFD.mjs +0 -2
- package/out/__chunks__/chunk-UX6FJB7S.mjs +0 -2
- package/out/__chunks__/chunk-VMFJUT3G.mjs +0 -2
- package/out/__chunks__/chunk-VMFJUT3G.mjs.map +0 -7
- package/out/__chunks__/chunk-VSPA6MX4.mjs +0 -2
- package/out/__chunks__/chunk-WPFFITFH.mjs +0 -2
- package/out/__chunks__/chunk-XNPGQK42.mjs +0 -2
- package/out/__chunks__/chunk-YQEOOE3H.mjs +0 -2
- package/out/__mocks__/accountConfig.js +0 -9
- package/out/__mocks__/accountConfig.js.map +0 -1
- package/out/__mocks__/data/account.js +0 -14
- package/out/__mocks__/data/account.js.map +0 -1
- package/out/__mocks__/data/blocks.js +0 -10
- package/out/__mocks__/data/blocks.js.map +0 -1
- package/out/__mocks__/data/dappConfig.js +0 -19
- package/out/__mocks__/data/dappConfig.js.map +0 -1
- package/out/__mocks__/data/index.js +0 -24
- package/out/__mocks__/data/index.js.map +0 -1
- package/out/__mocks__/data/networkConfig.js +0 -32
- package/out/__mocks__/data/networkConfig.js.map +0 -1
- package/out/__mocks__/data/socketResponse.js +0 -11
- package/out/__mocks__/data/socketResponse.js.map +0 -1
- package/out/__mocks__/data/websocketConfig.js +0 -5
- package/out/__mocks__/data/websocketConfig.js.map +0 -1
- package/out/__mocks__/data/wrapEgldContract.js +0 -30
- package/out/__mocks__/data/wrapEgldContract.js.map +0 -1
- package/out/__mocks__/index.js +0 -20
- package/out/__mocks__/index.js.map +0 -1
- package/out/__mocks__/server.js +0 -26
- package/out/__mocks__/server.js.map +0 -1
- package/out/__mocks__/utils/index.js +0 -19
- package/out/__mocks__/utils/index.js.map +0 -1
- package/out/__mocks__/utils/mockWindowHistory.js +0 -21
- package/out/__mocks__/utils/mockWindowHistory.js.map +0 -1
- package/out/__mocks__/utils/mockWindowLocation.js +0 -21
- package/out/__mocks__/utils/mockWindowLocation.js.map +0 -1
- package/out/apiCalls/account/getAccountFromApi.js +0 -32
- package/out/apiCalls/account/getAccountFromApi.js.map +0 -1
- package/out/apiCalls/account/getScamAddressData.js +0 -19
- package/out/apiCalls/account/getScamAddressData.js.map +0 -1
- package/out/apiCalls/account/index.js +0 -18
- package/out/apiCalls/account/index.js.map +0 -1
- package/out/apiCalls/configuration/getCleanApiAddress.js +0 -12
- package/out/apiCalls/configuration/getCleanApiAddress.js.map +0 -1
- package/out/apiCalls/configuration/getGasStationMetadata.js +0 -32
- package/out/apiCalls/configuration/getGasStationMetadata.js.map +0 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.js +0 -34
- package/out/apiCalls/configuration/getNetworkConfigFromApi.js.map +0 -1
- package/out/apiCalls/configuration/getServerConfiguration.js +0 -34
- package/out/apiCalls/configuration/getServerConfiguration.js.map +0 -1
- package/out/apiCalls/configuration/index.js +0 -19
- package/out/apiCalls/configuration/index.js.map +0 -1
- package/out/apiCalls/economics/getEconomics.js +0 -23
- package/out/apiCalls/economics/getEconomics.js.map +0 -1
- package/out/apiCalls/endpoints.js +0 -29
- package/out/apiCalls/endpoints.js.map +0 -1
- package/out/apiCalls/index.js +0 -23
- package/out/apiCalls/index.js.map +0 -1
- package/out/apiCalls/tokens/getPersistedToken.js +0 -20
- package/out/apiCalls/tokens/getPersistedToken.js.map +0 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.js +0 -51
- package/out/apiCalls/tokens/getPersistedTokenDetails.js.map +0 -1
- package/out/apiCalls/tokens/getTokenDetails.js +0 -53
- package/out/apiCalls/tokens/getTokenDetails.js.map +0 -1
- package/out/apiCalls/tokens/index.js +0 -18
- package/out/apiCalls/tokens/index.js.map +0 -1
- package/out/apiCalls/tokens/tokenDataStorage.js +0 -36
- package/out/apiCalls/tokens/tokenDataStorage.js.map +0 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.js +0 -22
- package/out/apiCalls/transactions/getServerTransactionsByHashes.js.map +0 -1
- package/out/apiCalls/transactions/getTransactionByHash.js +0 -18
- package/out/apiCalls/transactions/getTransactionByHash.js.map +0 -1
- package/out/apiCalls/transactions/getTransactions.js +0 -30
- package/out/apiCalls/transactions/getTransactions.js.map +0 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.js +0 -21
- package/out/apiCalls/transactions/getTransactionsByHashes.js.map +0 -1
- package/out/apiCalls/utils/axiosFetcher.js +0 -7
- package/out/apiCalls/utils/axiosFetcher.js.map +0 -1
- package/out/apiCalls/utils/axiosInstance.js +0 -83
- package/out/apiCalls/utils/axiosInstance.js.map +0 -1
- package/out/apiCalls/utils/getCleanApiAddress.js +0 -8
- package/out/apiCalls/utils/getCleanApiAddress.js.map +0 -1
- package/out/apiCalls/utils/index.js +0 -20
- package/out/apiCalls/utils/index.js.map +0 -1
- package/out/apiCalls/websocket/getWebsocketUrl.js +0 -19
- package/out/apiCalls/websocket/getWebsocketUrl.js.map +0 -1
- package/out/apiCalls/websocket/index.js +0 -18
- package/out/apiCalls/websocket/index.js.map +0 -1
- package/out/constants/UITags.enum.js +0 -14
- package/out/constants/UITags.enum.js.map +0 -1
- package/out/constants/browser.constants.js +0 -9
- package/out/constants/browser.constants.js.map +0 -1
- package/out/constants/index.js +0 -27
- package/out/constants/index.js.map +0 -1
- package/out/constants/ledger.constants.js +0 -96
- package/out/constants/ledger.constants.js.map +0 -1
- package/out/constants/mvx.constants.js +0 -18
- package/out/constants/mvx.constants.js.map +0 -1
- package/out/constants/network.constants.js +0 -76
- package/out/constants/network.constants.js.map +0 -1
- package/out/constants/placeholders.constants.js +0 -11
- package/out/constants/placeholders.constants.js.map +0 -1
- package/out/constants/providerFactory.constants.js +0 -15
- package/out/constants/providerFactory.constants.js.map +0 -1
- package/out/constants/storage.constants.js +0 -13
- package/out/constants/storage.constants.js.map +0 -1
- package/out/constants/transactions.constants.js +0 -16
- package/out/constants/transactions.constants.js.map +0 -1
- package/out/constants/walletConnect.constants.js +0 -9
- package/out/constants/walletConnect.constants.js.map +0 -1
- package/out/constants/webWalletProvider.constants.js +0 -15
- package/out/constants/webWalletProvider.constants.js.map +0 -1
- package/out/constants/websocket.constants.js +0 -14
- package/out/constants/websocket.constants.js.map +0 -1
- package/out/constants/window.constants.js +0 -6
- package/out/constants/window.constants.js.map +0 -1
- package/out/controllers/FormatAmountController/FormatAmountController.js +0 -35
- package/out/controllers/FormatAmountController/FormatAmountController.js.map +0 -1
- package/out/controllers/FormatAmountController/index.js +0 -18
- package/out/controllers/FormatAmountController/index.js.map +0 -1
- package/out/controllers/FormatAmountController/tests/formatAmountController.test.js +0 -94
- package/out/controllers/FormatAmountController/tests/formatAmountController.test.js.map +0 -1
- package/out/controllers/FormatAmountController/types.js +0 -3
- package/out/controllers/FormatAmountController/types.js.map +0 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js +0 -12
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.js.map +0 -1
- package/out/controllers/TransactionsHistoryController/index.js +0 -18
- package/out/controllers/TransactionsHistoryController/index.js.map +0 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.js +0 -104
- package/out/controllers/TransactionsTableController/TransactionsTableController.js.map +0 -1
- package/out/controllers/TransactionsTableController/index.js +0 -18
- package/out/controllers/TransactionsTableController/index.js.map +0 -1
- package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js +0 -299
- package/out/controllers/TransactionsTableController/tests/transactionsTableController.test.js.map +0 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.js +0 -3
- package/out/controllers/TransactionsTableController/transactionsTableController.types.js.map +0 -1
- package/out/controllers/index.js +0 -18
- package/out/controllers/index.js.map +0 -1
- package/out/index.js +0 -23
- package/out/index.js.map +0 -1
- package/out/lib/sdkCore.js +0 -15
- package/out/lib/sdkCore.js.map +0 -1
- package/out/lib/sdkDappUi.js +0 -37
- package/out/lib/sdkDappUi.js.map +0 -1
- package/out/lib/sdkDappUtils.js +0 -16
- package/out/lib/sdkDappUtils.js.map +0 -1
- package/out/lib/sdkWebWalletCrossWindowProvider.js +0 -9
- package/out/lib/sdkWebWalletCrossWindowProvider.js.map +0 -1
- package/out/lib/sdkWebWalletIframeProvider.js +0 -6
- package/out/lib/sdkWebWalletIframeProvider.js.map +0 -1
- package/out/lib/sdkWebviewProvider.js +0 -6
- package/out/lib/sdkWebviewProvider.js.map +0 -1
- package/out/managers/LogoutManager/LogoutManager.js +0 -137
- package/out/managers/LogoutManager/LogoutManager.js.map +0 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js +0 -33
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js.map +0 -1
- package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js +0 -48
- package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js.map +0 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js +0 -115
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +0 -1
- package/out/managers/NotificationsFeedManager/index.js +0 -19
- package/out/managers/NotificationsFeedManager/index.js.map +0 -1
- package/out/managers/NotificationsFeedManager/types/index.js +0 -18
- package/out/managers/NotificationsFeedManager/types/index.js.map +0 -1
- package/out/managers/NotificationsFeedManager/types/notifications.types.js +0 -14
- package/out/managers/NotificationsFeedManager/types/notifications.types.js.map +0 -1
- package/out/managers/TransactionManager/TransactionManager.js +0 -154
- package/out/managers/TransactionManager/TransactionManager.js.map +0 -1
- package/out/managers/TransactionManager/TransactionManager.types.js +0 -3
- package/out/managers/TransactionManager/TransactionManager.types.js.map +0 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js +0 -26
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.js.map +0 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.js +0 -28
- package/out/managers/TransactionManager/helpers/getToastDuration.js.map +0 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.js +0 -25
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.js.map +0 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.js +0 -8
- package/out/managers/TransactionManager/helpers/isBatchTransaction.js.map +0 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js +0 -22
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js.map +0 -1
- package/out/managers/TransactionManager/helpers/sessionCallbacks.js +0 -14
- package/out/managers/TransactionManager/helpers/sessionCallbacks.js.map +0 -1
- package/out/managers/TransactionManager/index.js +0 -18
- package/out/managers/TransactionManager/index.js.map +0 -1
- package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js +0 -124
- package/out/managers/TransactionManager/tests/getAreTransactionsOnCrossShards.test.js.map +0 -1
- package/out/managers/TransactionManager/tests/getToastDuration.test.js +0 -61
- package/out/managers/TransactionManager/tests/getToastDuration.test.js.map +0 -1
- package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js +0 -79
- package/out/managers/TransactionManager/tests/getTransactionsStatus.test.js.map +0 -1
- package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js +0 -49
- package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js.map +0 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.js +0 -123
- package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +0 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js +0 -16
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js.map +0 -1
- package/out/managers/UnlockPanelManager/index.js +0 -18
- package/out/managers/UnlockPanelManager/index.js.map +0 -1
- package/out/managers/index.js +0 -19
- package/out/managers/index.js.map +0 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js +0 -153
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js.map +0 -1
- package/out/managers/internal/LedgerConnectStateManager/index.js +0 -19
- package/out/managers/internal/LedgerConnectStateManager/index.js.map +0 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.js +0 -18
- package/out/managers/internal/LedgerConnectStateManager/types/index.js.map +0 -1
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js +0 -13
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.js.map +0 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js +0 -101
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js.map +0 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js +0 -34
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js.map +0 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.js +0 -19
- package/out/managers/internal/PendingTransactionsStateManager/index.js.map +0 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.js +0 -18
- package/out/managers/internal/PendingTransactionsStateManager/types/index.js.map +0 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js +0 -10
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.js.map +0 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js +0 -38
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.js.map +0 -1
- package/out/managers/internal/SidePanelBaseManager/index.js +0 -18
- package/out/managers/internal/SidePanelBaseManager/index.js.map +0 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js +0 -115
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.js.map +0 -1
- package/out/managers/internal/SignTransactionsStateManager/index.js +0 -18
- package/out/managers/internal/SignTransactionsStateManager/index.js.map +0 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.js +0 -18
- package/out/managers/internal/SignTransactionsStateManager/types/index.js.map +0 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js +0 -13
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.js.map +0 -1
- package/out/managers/internal/ToastManager/ToastManager.js +0 -208
- package/out/managers/internal/ToastManager/ToastManager.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.js +0 -50
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js +0 -61
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.js +0 -32
- package/out/managers/internal/ToastManager/helpers/createTransactionToast.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js +0 -78
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js +0 -16
- package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js +0 -17
- package/out/managers/internal/ToastManager/helpers/tests/baseTransactionMock.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js +0 -164
- package/out/managers/internal/ToastManager/helpers/tests/createToastsFromTransactions.test.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js +0 -150
- package/out/managers/internal/ToastManager/helpers/tests/createTransactionToast.test.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js +0 -112
- package/out/managers/internal/ToastManager/helpers/tests/getToastDataStateByStatus.test.js.map +0 -1
- package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js +0 -60
- package/out/managers/internal/ToastManager/helpers/tests/getToastTransactionsStatus.test.js.map +0 -1
- package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js +0 -79
- package/out/managers/internal/ToastManager/tests/getToastProceededStatus.test.js.map +0 -1
- package/out/managers/internal/ToastManager/types/index.js +0 -18
- package/out/managers/internal/ToastManager/types/index.js.map +0 -1
- package/out/managers/internal/ToastManager/types/toast.types.js +0 -24
- package/out/managers/internal/ToastManager/types/toast.types.js.map +0 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.js +0 -75
- package/out/managers/internal/UIBaseManager/UIBaseManager.js.map +0 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js +0 -49
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js.map +0 -1
- package/out/managers/internal/WalletConnectStateManager/index.js +0 -18
- package/out/managers/internal/WalletConnectStateManager/index.js.map +0 -1
- package/out/managers/internal/index.js +0 -12
- package/out/managers/internal/index.js.map +0 -1
- package/out/methods/account/getAccount.js +0 -10
- package/out/methods/account/getAccount.js.map +0 -1
- package/out/methods/account/getAccountInfo.js +0 -10
- package/out/methods/account/getAccountInfo.js.map +0 -1
- package/out/methods/account/getAddress.js +0 -10
- package/out/methods/account/getAddress.js.map +0 -1
- package/out/methods/account/getIsLoggedIn.js +0 -10
- package/out/methods/account/getIsLoggedIn.js.map +0 -1
- package/out/methods/account/getLatestNonce.js +0 -29
- package/out/methods/account/getLatestNonce.js.map +0 -1
- package/out/methods/account/tests/getLatestNonce.test.js +0 -81
- package/out/methods/account/tests/getLatestNonce.test.js.map +0 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js +0 -37
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.js.map +0 -1
- package/out/methods/initApp/initApp.js +0 -101
- package/out/methods/initApp/initApp.js.map +0 -1
- package/out/methods/initApp/initApp.types.js +0 -3
- package/out/methods/initApp/initApp.types.js.map +0 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.js +0 -156
- package/out/methods/initApp/websocket/initializeWebsocketConnection.js.map +0 -1
- package/out/methods/initApp/websocket/registerWebsocket.js +0 -28
- package/out/methods/initApp/websocket/registerWebsocket.js.map +0 -1
- package/out/methods/loginInfo/getLoginInfo.js +0 -14
- package/out/methods/loginInfo/getLoginInfo.js.map +0 -1
- package/out/methods/network/getEgldLabel.js +0 -10
- package/out/methods/network/getEgldLabel.js.map +0 -1
- package/out/methods/network/getExplorerAddress.js +0 -10
- package/out/methods/network/getExplorerAddress.js.map +0 -1
- package/out/methods/network/getNetworkConfig.js +0 -10
- package/out/methods/network/getNetworkConfig.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js +0 -118
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js +0 -19
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js +0 -16
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js +0 -18
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js +0 -29
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js.map +0 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js +0 -24
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js.map +0 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.js +0 -16
- package/out/methods/trackTransactions/helpers/getPollingInterval.js.map +0 -1
- package/out/methods/trackTransactions/trackTransactions.js +0 -89
- package/out/methods/trackTransactions/trackTransactions.js.map +0 -1
- package/out/methods/transactions/getFailedTransactions.js +0 -10
- package/out/methods/transactions/getFailedTransactions.js.map +0 -1
- package/out/methods/transactions/getFailedTransactionsSessions.js +0 -10
- package/out/methods/transactions/getFailedTransactionsSessions.js.map +0 -1
- package/out/methods/transactions/getPendingTransactions.js +0 -10
- package/out/methods/transactions/getPendingTransactions.js.map +0 -1
- package/out/methods/transactions/getPendingTransactionsSessions.js +0 -10
- package/out/methods/transactions/getPendingTransactionsSessions.js.map +0 -1
- package/out/methods/transactions/getSuccessfulTransactions.js +0 -10
- package/out/methods/transactions/getSuccessfulTransactions.js.map +0 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.js +0 -10
- package/out/methods/transactions/getSuccessfulTransactionsSessions.js.map +0 -1
- package/out/methods/transactions/getTransactionSessions.js +0 -10
- package/out/methods/transactions/getTransactionSessions.js.map +0 -1
- package/out/providers/DappProvider/DappProvider.js +0 -92
- package/out/providers/DappProvider/DappProvider.js.map +0 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js +0 -15
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.js.map +0 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js +0 -22
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js +0 -40
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js +0 -18
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js +0 -18
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js +0 -30
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js +0 -35
- package/out/providers/DappProvider/helpers/login/helpers/tests/getModifiedLoginToken.test.js.map +0 -1
- package/out/providers/DappProvider/helpers/login/login.js +0 -89
- package/out/providers/DappProvider/helpers/login/login.js.map +0 -1
- package/out/providers/DappProvider/helpers/logout/logout.js +0 -40
- package/out/providers/DappProvider/helpers/logout/logout.js.map +0 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.js +0 -54
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.js.map +0 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.js +0 -10
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.js.map +0 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js +0 -16
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js.map +0 -1
- package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js +0 -18
- package/out/providers/DappProvider/helpers/signMessage/tests/verifyMessage.test.js.map +0 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js +0 -36
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.js.map +0 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js +0 -34
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.js.map +0 -1
- package/out/providers/DappProvider/index.js +0 -18
- package/out/providers/DappProvider/index.js.map +0 -1
- package/out/providers/ProviderFactory.js +0 -104
- package/out/providers/ProviderFactory.js.map +0 -1
- package/out/providers/helpers/accountProvider.js +0 -15
- package/out/providers/helpers/accountProvider.js.map +0 -1
- package/out/providers/helpers/cancelCrossWindowAction.js +0 -15
- package/out/providers/helpers/cancelCrossWindowAction.js.map +0 -1
- package/out/providers/helpers/clearInitiatedLogins.js +0 -36
- package/out/providers/helpers/clearInitiatedLogins.js.map +0 -1
- package/out/providers/helpers/emptyProvider.js +0 -57
- package/out/providers/helpers/emptyProvider.js.map +0 -1
- package/out/providers/helpers/restoreProvider.js +0 -38
- package/out/providers/helpers/restoreProvider.js.map +0 -1
- package/out/providers/index.js +0 -21
- package/out/providers/index.js.map +0 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js +0 -108
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js.map +0 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js +0 -86
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js.map +0 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.js +0 -18
- package/out/providers/strategies/CrossWindowProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js +0 -76
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js.map +0 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.js +0 -18
- package/out/providers/strategies/ExtensionProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js +0 -100
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js.map +0 -1
- package/out/providers/strategies/IframeProviderStrategy/index.js +0 -19
- package/out/providers/strategies/IframeProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js +0 -3
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.js.map +0 -1
- package/out/providers/strategies/IframeProviderStrategy/types/index.js +0 -18
- package/out/providers/strategies/IframeProviderStrategy/types/index.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js +0 -159
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js +0 -105
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js +0 -36
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js +0 -15
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js +0 -27
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js +0 -57
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js +0 -47
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js +0 -23
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js +0 -40
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js +0 -32
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js +0 -22
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js +0 -18
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js +0 -88
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js +0 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.js +0 -19
- package/out/providers/strategies/LedgerProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js +0 -89
- package/out/providers/strategies/LedgerProviderStrategy/tests/getLedgerVersionOptions.test.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js +0 -44
- package/out/providers/strategies/LedgerProviderStrategy/tests/secondsToTimeString.test.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.js +0 -18
- package/out/providers/strategies/LedgerProviderStrategy/types/index.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js +0 -15
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.js.map +0 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js +0 -3
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.js.map +0 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js +0 -235
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js.map +0 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.js +0 -19
- package/out/providers/strategies/WalletConnectProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js +0 -18
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.js.map +0 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js +0 -24
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.js.map +0 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js +0 -147
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js.map +0 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js +0 -18
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js.map +0 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js +0 -80
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js.map +0 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.js +0 -18
- package/out/providers/strategies/WebviewProviderStrategy/index.js.map +0 -1
- package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js +0 -93
- package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js.map +0 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js +0 -17
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.js.map +0 -1
- package/out/providers/strategies/helpers/index.js +0 -6
- package/out/providers/strategies/helpers/index.js.map +0 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.js +0 -52
- package/out/providers/strategies/helpers/signMessage/signMessage.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js +0 -24
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js +0 -52
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js +0 -151
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js +0 -18
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js +0 -212
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js +0 -65
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js +0 -11
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js +0 -58
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js +0 -20
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js +0 -17
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js +0 -16
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js +0 -25
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js +0 -72
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/decodeDataField.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js +0 -44
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/tests/getGasPriceDetails.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js +0 -262
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js +0 -125
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js +0 -31
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js +0 -13
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js +0 -14
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js +0 -85
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js +0 -92
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js +0 -63
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js +0 -11
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/tests/getMultiEsdtTransferData.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js +0 -23
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js +0 -12
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js +0 -31
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js +0 -8
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js +0 -13
- package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeInFiat.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js +0 -86
- package/out/providers/strategies/helpers/signTransactions/helpers/tests/calculateFeeLimit.test.js.map +0 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.js +0 -198
- package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +0 -1
- package/out/providers/strategies/index.js +0 -22
- package/out/providers/strategies/index.js.map +0 -1
- package/out/providers/types/providerFactory.types.js +0 -14
- package/out/providers/types/providerFactory.types.js.map +0 -1
- package/out/react/account/useGetAccount.js +0 -10
- package/out/react/account/useGetAccount.js.map +0 -1
- package/out/react/account/useGetAccountInfo.js +0 -10
- package/out/react/account/useGetAccountInfo.js.map +0 -1
- package/out/react/account/useGetIsLoggedIn.js +0 -11
- package/out/react/account/useGetIsLoggedIn.js.map +0 -1
- package/out/react/account/useGetLatestNonce.js +0 -12
- package/out/react/account/useGetLatestNonce.js.map +0 -1
- package/out/react/index.js +0 -18
- package/out/react/index.js.map +0 -1
- package/out/react/loginInfo/useGetLoginInfo.js +0 -13
- package/out/react/loginInfo/useGetLoginInfo.js.map +0 -1
- package/out/react/network/useGetNetworkConfig.js +0 -10
- package/out/react/network/useGetNetworkConfig.js.map +0 -1
- package/out/react/store/createBoundedStore.js +0 -11
- package/out/react/store/createBoundedStore.js.map +0 -1
- package/out/react/store/getReactStore.js +0 -8
- package/out/react/store/getReactStore.js.map +0 -1
- package/out/react/store/useSelector.js +0 -10
- package/out/react/store/useSelector.js.map +0 -1
- package/out/react/transactions/useGetFailedTransactions.js +0 -11
- package/out/react/transactions/useGetFailedTransactions.js.map +0 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.js +0 -11
- package/out/react/transactions/useGetFailedTransactionsSessions.js.map +0 -1
- package/out/react/transactions/useGetPendingTransactions.js +0 -11
- package/out/react/transactions/useGetPendingTransactions.js.map +0 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.js +0 -11
- package/out/react/transactions/useGetPendingTransactionsSessions.js.map +0 -1
- package/out/react/transactions/useGetSuccessfulTransactions.js +0 -11
- package/out/react/transactions/useGetSuccessfulTransactions.js.map +0 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.js +0 -11
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.js.map +0 -1
- package/out/react/transactions/useGetTransactionSessions.js +0 -11
- package/out/react/transactions/useGetTransactionSessions.js.map +0 -1
- package/out/services/index.js +0 -18
- package/out/services/index.js.map +0 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.js +0 -34
- package/out/services/nativeAuth/helpers/decodeLoginToken.js.map +0 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js +0 -50
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.js.map +0 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.js +0 -69
- package/out/services/nativeAuth/helpers/getLatestBlockHash.js.map +0 -1
- package/out/services/nativeAuth/helpers/index.js +0 -20
- package/out/services/nativeAuth/helpers/index.js.map +0 -1
- package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js +0 -26
- package/out/services/nativeAuth/helpers/tests/decodeLoginToken.test.js.map +0 -1
- package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js +0 -37
- package/out/services/nativeAuth/helpers/tests/decodeNativeAuthToken.test.js.map +0 -1
- package/out/services/nativeAuth/index.js +0 -18
- package/out/services/nativeAuth/index.js.map +0 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.js +0 -20
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.js.map +0 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js +0 -21
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js.map +0 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.js +0 -29
- package/out/services/nativeAuth/methods/getTokenExpiration.js.map +0 -1
- package/out/services/nativeAuth/methods/index.js +0 -19
- package/out/services/nativeAuth/methods/index.js.map +0 -1
- package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js +0 -55
- package/out/services/nativeAuth/methods/tests/getTokenExpiration.test.js.map +0 -1
- package/out/services/nativeAuth/nativeAuth.js +0 -45
- package/out/services/nativeAuth/nativeAuth.js.map +0 -1
- package/out/services/nativeAuth/nativeAuth.types.js +0 -3
- package/out/services/nativeAuth/nativeAuth.types.js.map +0 -1
- package/out/services/nativeAuth/tests/nativeAuth.test.js +0 -105
- package/out/services/nativeAuth/tests/nativeAuth.test.js.map +0 -1
- package/out/setupTests.d.ts +0 -1
- package/out/setupTests.js +0 -36
- package/out/setupTests.js.map +0 -1
- package/out/store/actions/account/accountActions.js +0 -43
- package/out/store/actions/account/accountActions.js.map +0 -1
- package/out/store/actions/account/index.js +0 -18
- package/out/store/actions/account/index.js.map +0 -1
- package/out/store/actions/cache/cacheActions.js +0 -25
- package/out/store/actions/cache/cacheActions.js.map +0 -1
- package/out/store/actions/cache/index.js +0 -18
- package/out/store/actions/cache/index.js.map +0 -1
- package/out/store/actions/config/configActions.js +0 -26
- package/out/store/actions/config/configActions.js.map +0 -1
- package/out/store/actions/config/index.js +0 -18
- package/out/store/actions/config/index.js.map +0 -1
- package/out/store/actions/index.js +0 -24
- package/out/store/actions/index.js.map +0 -1
- package/out/store/actions/loginInfo/loginInfoActions.js +0 -57
- package/out/store/actions/loginInfo/loginInfoActions.js.map +0 -1
- package/out/store/actions/network/index.js +0 -18
- package/out/store/actions/network/index.js.map +0 -1
- package/out/store/actions/network/initializeNetwork.js +0 -49
- package/out/store/actions/network/initializeNetwork.js.map +0 -1
- package/out/store/actions/network/networkActions.js +0 -14
- package/out/store/actions/network/networkActions.js.map +0 -1
- package/out/store/actions/sharedActions/index.js +0 -18
- package/out/store/actions/sharedActions/index.js.map +0 -1
- package/out/store/actions/sharedActions/sharedActions.js +0 -19
- package/out/store/actions/sharedActions/sharedActions.js.map +0 -1
- package/out/store/actions/toasts/index.js +0 -18
- package/out/store/actions/toasts/index.js.map +0 -1
- package/out/store/actions/toasts/toastsActions.js +0 -107
- package/out/store/actions/toasts/toastsActions.js.map +0 -1
- package/out/store/actions/transactions/transactionStateByStatus.js +0 -100
- package/out/store/actions/transactions/transactionStateByStatus.js.map +0 -1
- package/out/store/actions/transactions/transactionsActions.js +0 -79
- package/out/store/actions/transactions/transactionsActions.js.map +0 -1
- package/out/store/actions/ui/index.js +0 -18
- package/out/store/actions/ui/index.js.map +0 -1
- package/out/store/actions/ui/uiActions.js +0 -9
- package/out/store/actions/ui/uiActions.js.map +0 -1
- package/out/store/middleware/applyMiddlewares.js +0 -9
- package/out/store/middleware/applyMiddlewares.js.map +0 -1
- package/out/store/middleware/index.js +0 -18
- package/out/store/middleware/index.js.map +0 -1
- package/out/store/middleware/logoutMiddleware.js +0 -54
- package/out/store/middleware/logoutMiddleware.js.map +0 -1
- package/out/store/selectors/accountSelectors.js +0 -31
- package/out/store/selectors/accountSelectors.js.map +0 -1
- package/out/store/selectors/cacheSelector.js +0 -8
- package/out/store/selectors/cacheSelector.js.map +0 -1
- package/out/store/selectors/configSelectors.js +0 -12
- package/out/store/selectors/configSelectors.js.map +0 -1
- package/out/store/selectors/index.js +0 -23
- package/out/store/selectors/index.js.map +0 -1
- package/out/store/selectors/loginInfoSelectors.js +0 -16
- package/out/store/selectors/loginInfoSelectors.js.map +0 -1
- package/out/store/selectors/networkSelectors.js +0 -14
- package/out/store/selectors/networkSelectors.js.map +0 -1
- package/out/store/selectors/storeSelector.js +0 -6
- package/out/store/selectors/storeSelector.js.map +0 -1
- package/out/store/selectors/toastsSelectors.js +0 -10
- package/out/store/selectors/toastsSelectors.js.map +0 -1
- package/out/store/selectors/transactionsSelector.js +0 -104
- package/out/store/selectors/transactionsSelector.js.map +0 -1
- package/out/store/selectors/uiSelectors.js +0 -8
- package/out/store/selectors/uiSelectors.js.map +0 -1
- package/out/store/slices/account/account.types.js +0 -3
- package/out/store/slices/account/account.types.js.map +0 -1
- package/out/store/slices/account/accountSlice.js +0 -18
- package/out/store/slices/account/accountSlice.js.map +0 -1
- package/out/store/slices/account/emptyAccount.js +0 -15
- package/out/store/slices/account/emptyAccount.js.map +0 -1
- package/out/store/slices/account/index.js +0 -6
- package/out/store/slices/account/index.js.map +0 -1
- package/out/store/slices/cache/cacheSlice.js +0 -9
- package/out/store/slices/cache/cacheSlice.js.map +0 -1
- package/out/store/slices/cache/cacheSlice.types.js +0 -3
- package/out/store/slices/cache/cacheSlice.types.js.map +0 -1
- package/out/store/slices/cache/index.js +0 -6
- package/out/store/slices/cache/index.js.map +0 -1
- package/out/store/slices/config/config.types.js +0 -3
- package/out/store/slices/config/config.types.js.map +0 -1
- package/out/store/slices/config/configSlice.js +0 -18
- package/out/store/slices/config/configSlice.js.map +0 -1
- package/out/store/slices/config/index.js +0 -6
- package/out/store/slices/config/index.js.map +0 -1
- package/out/store/slices/index.js +0 -24
- package/out/store/slices/index.js.map +0 -1
- package/out/store/slices/loginInfo/index.js +0 -6
- package/out/store/slices/loginInfo/index.js.map +0 -1
- package/out/store/slices/loginInfo/loginInfo.types.js +0 -3
- package/out/store/slices/loginInfo/loginInfo.types.js.map +0 -1
- package/out/store/slices/loginInfo/loginInfoSlice.js +0 -19
- package/out/store/slices/loginInfo/loginInfoSlice.js.map +0 -1
- package/out/store/slices/network/emptyNetwork.js +0 -18
- package/out/store/slices/network/emptyNetwork.js.map +0 -1
- package/out/store/slices/network/index.js +0 -6
- package/out/store/slices/network/index.js.map +0 -1
- package/out/store/slices/network/network.types.js +0 -3
- package/out/store/slices/network/network.types.js.map +0 -1
- package/out/store/slices/network/networkSlice.js +0 -12
- package/out/store/slices/network/networkSlice.js.map +0 -1
- package/out/store/slices/network/networkSlice.types.js +0 -3
- package/out/store/slices/network/networkSlice.types.js.map +0 -1
- package/out/store/slices/toast/index.js +0 -6
- package/out/store/slices/toast/index.js.map +0 -1
- package/out/store/slices/toast/toastSlice.js +0 -12
- package/out/store/slices/toast/toastSlice.js.map +0 -1
- package/out/store/slices/toast/toastSlice.types.js +0 -3
- package/out/store/slices/toast/toastSlice.types.js.map +0 -1
- package/out/store/slices/transactions/index.js +0 -6
- package/out/store/slices/transactions/index.js.map +0 -1
- package/out/store/slices/transactions/transactionsSlice.js +0 -9
- package/out/store/slices/transactions/transactionsSlice.js.map +0 -1
- package/out/store/slices/transactions/transactionsSlice.types.js +0 -3
- package/out/store/slices/transactions/transactionsSlice.types.js.map +0 -1
- package/out/store/slices/ui/index.js +0 -6
- package/out/store/slices/ui/index.js.map +0 -1
- package/out/store/slices/ui/ui.types.js +0 -3
- package/out/store/slices/ui/ui.types.js.map +0 -1
- package/out/store/slices/ui/uiSlice.js +0 -11
- package/out/store/slices/ui/uiSlice.js.map +0 -1
- package/out/store/storage/inMemoryStorage.js +0 -29
- package/out/store/storage/inMemoryStorage.js.map +0 -1
- package/out/store/storage/index.js +0 -19
- package/out/store/storage/index.js.map +0 -1
- package/out/store/storage/storageCallback.js +0 -7
- package/out/store/storage/storageCallback.js.map +0 -1
- package/out/store/store.js +0 -60
- package/out/store/store.js.map +0 -1
- package/out/store/store.types.js +0 -3
- package/out/store/store.types.js.map +0 -1
- package/out/types/account.types.js +0 -3
- package/out/types/account.types.js.map +0 -1
- package/out/types/enums.types.js +0 -80
- package/out/types/enums.types.js.map +0 -1
- package/out/types/index.js +0 -24
- package/out/types/index.js.map +0 -1
- package/out/types/login.types.js +0 -3
- package/out/types/login.types.js.map +0 -1
- package/out/types/manager.types.js +0 -3
- package/out/types/manager.types.js.map +0 -1
- package/out/types/network.types.js +0 -3
- package/out/types/network.types.js.map +0 -1
- package/out/types/provider.types.js +0 -11
- package/out/types/provider.types.js.map +0 -1
- package/out/types/serverTransactions.types.js +0 -123
- package/out/types/serverTransactions.types.js.map +0 -1
- package/out/types/subscriptions.type.js +0 -10
- package/out/types/subscriptions.type.js.map +0 -1
- package/out/types/suspiciousLink.types.js +0 -3
- package/out/types/suspiciousLink.types.js.map +0 -1
- package/out/types/theme.types.js +0 -9
- package/out/types/theme.types.js.map +0 -1
- package/out/types/tokens.types.js +0 -14
- package/out/types/tokens.types.js.map +0 -1
- package/out/types/transaction-list-item.types.js +0 -89
- package/out/types/transaction-list-item.types.js.map +0 -1
- package/out/types/transactions.types.js +0 -11
- package/out/types/transactions.types.js.map +0 -1
- package/out/types/websocket.types.js +0 -3
- package/out/types/websocket.types.js.map +0 -1
- package/out/utils/ComponentFactory.js +0 -28
- package/out/utils/ComponentFactory.js.map +0 -1
- package/out/utils/account/fetchAccount.js +0 -7
- package/out/utils/account/fetchAccount.js.map +0 -1
- package/out/utils/account/index.js +0 -21
- package/out/utils/account/index.js.map +0 -1
- package/out/utils/account/refreshAccount.js +0 -60
- package/out/utils/account/refreshAccount.js.map +0 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.js +0 -42
- package/out/utils/account/refreshNativeAuthTokenLogin.js.map +0 -1
- package/out/utils/account/trimUsernameDomain.js +0 -15
- package/out/utils/account/trimUsernameDomain.js.map +0 -1
- package/out/utils/asyncActions/index.js +0 -18
- package/out/utils/asyncActions/index.js.map +0 -1
- package/out/utils/asyncActions/sleep.js +0 -15
- package/out/utils/asyncActions/sleep.js.map +0 -1
- package/out/utils/dateTime/getUnixTimestamp.js +0 -8
- package/out/utils/dateTime/getUnixTimestamp.js.map +0 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js +0 -8
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.js.map +0 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js +0 -8
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.js.map +0 -1
- package/out/utils/dateTime/index.js +0 -20
- package/out/utils/dateTime/index.js.map +0 -1
- package/out/utils/decoders/base64Utils.js +0 -56
- package/out/utils/decoders/base64Utils.js.map +0 -1
- package/out/utils/decoders/decodePart.js +0 -19
- package/out/utils/decoders/decodePart.js.map +0 -1
- package/out/utils/decoders/index.js +0 -22
- package/out/utils/decoders/index.js.map +0 -1
- package/out/utils/decoders/isAscii.js +0 -7
- package/out/utils/decoders/isAscii.js.map +0 -1
- package/out/utils/decoders/isUtf8.js +0 -13
- package/out/utils/decoders/isUtf8.js.map +0 -1
- package/out/utils/decoders/stringContainsNumbers.js +0 -6
- package/out/utils/decoders/stringContainsNumbers.js.map +0 -1
- package/out/utils/decoders/tests/base64Utils.test.js +0 -58
- package/out/utils/decoders/tests/base64Utils.test.js.map +0 -1
- package/out/utils/decoders/tests/decodePart.test.js +0 -14
- package/out/utils/decoders/tests/decodePart.test.js.map +0 -1
- package/out/utils/decoders/tests/isAscii.test.js +0 -22
- package/out/utils/decoders/tests/isAscii.test.js.map +0 -1
- package/out/utils/decoders/tests/isUtf8.test.js +0 -22
- package/out/utils/decoders/tests/isUtf8.test.js.map +0 -1
- package/out/utils/index.js +0 -27
- package/out/utils/index.js.map +0 -1
- package/out/utils/network/index.js +0 -18
- package/out/utils/network/index.js.map +0 -1
- package/out/utils/network/setAxiosInterceptors.js +0 -29
- package/out/utils/network/setAxiosInterceptors.js.map +0 -1
- package/out/utils/operations/capitalize.js +0 -6
- package/out/utils/operations/capitalize.js.map +0 -1
- package/out/utils/operations/getUsdValue.js +0 -18
- package/out/utils/operations/getUsdValue.js.map +0 -1
- package/out/utils/operations/pluralize.js +0 -6
- package/out/utils/operations/pluralize.js.map +0 -1
- package/out/utils/operations/tests/capitalize.test.js +0 -10
- package/out/utils/operations/tests/capitalize.test.js.map +0 -1
- package/out/utils/operations/tests/getUsdValue.test.js +0 -21
- package/out/utils/operations/tests/getUsdValue.test.js.map +0 -1
- package/out/utils/operations/tests/pluralize.spec.js +0 -19
- package/out/utils/operations/tests/pluralize.spec.js.map +0 -1
- package/out/utils/operations/tests/timeRemaining.test.js +0 -32
- package/out/utils/operations/tests/timeRemaining.test.js.map +0 -1
- package/out/utils/operations/tests/trimAmountDecimals.spec.js +0 -86
- package/out/utils/operations/tests/trimAmountDecimals.spec.js.map +0 -1
- package/out/utils/operations/timeRemaining.js +0 -76
- package/out/utils/operations/timeRemaining.js.map +0 -1
- package/out/utils/operations/trimAmountDecimals.js +0 -27
- package/out/utils/operations/trimAmountDecimals.js.map +0 -1
- package/out/utils/retryMultipleTimes.js +0 -24
- package/out/utils/retryMultipleTimes.js.map +0 -1
- package/out/utils/transactions/explorerUrlBuilder.js +0 -30
- package/out/utils/transactions/explorerUrlBuilder.js.map +0 -1
- package/out/utils/transactions/getActiveTransactionsStatus.js +0 -27
- package/out/utils/transactions/getActiveTransactionsStatus.js.map +0 -1
- package/out/utils/transactions/getExplorerLink.js +0 -26
- package/out/utils/transactions/getExplorerLink.js.map +0 -1
- package/out/utils/transactions/getHumanReadableTimeFormat.js +0 -24
- package/out/utils/transactions/getHumanReadableTimeFormat.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +0 -83
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js +0 -32
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js +0 -74
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js +0 -13
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js +0 -36
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js +0 -46
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js +0 -17
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js +0 -23
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js +0 -30
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js +0 -30
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js +0 -10
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js +0 -23
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js +0 -50
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/tests/getTransactionTokens.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js +0 -18
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js +0 -3
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js +0 -57
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js +0 -10
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +0 -38
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js +0 -10
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js +0 -22
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js +0 -76
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js +0 -26
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js +0 -15
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js +0 -23
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js +0 -12
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js +0 -15
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js +0 -22
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js +0 -17
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js +0 -23
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.js +0 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js +0 -31
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js +0 -86
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js +0 -40
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js +0 -54
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js +0 -39
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js +0 -15
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js +0 -39
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTokenFromData.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js +0 -131
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionIconInfo.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js +0 -52
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionMethod.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js +0 -30
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiver.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js +0 -45
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionReceiverAssets.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js +0 -50
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTokens.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js +0 -60
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getTransactionTransferType.test.js.map +0 -1
- package/out/utils/transactions/getInterpretedTransaction/index.js +0 -19
- package/out/utils/transactions/getInterpretedTransaction/index.js.map +0 -1
- package/out/utils/transactions/getScamFlag.js +0 -78
- package/out/utils/transactions/getScamFlag.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js +0 -22
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js +0 -12
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js +0 -34
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js +0 -25
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js +0 -11
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js +0 -14
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js +0 -21
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js +0 -79
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js +0 -31
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js +0 -34
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js +0 -28
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js +0 -62
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js +0 -39
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js +0 -17
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.js +0 -20
- package/out/utils/transactions/getTransactionsHistory/helpers/index.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js +0 -15
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js +0 -64
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js +0 -54
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js +0 -44
- package/out/utils/transactions/getTransactionsHistory/helpers/tests/createTransactionsHistoryFromSessions.test.js.map +0 -1
- package/out/utils/transactions/getTransactionsHistory/index.js +0 -19
- package/out/utils/transactions/getTransactionsHistory/index.js.map +0 -1
- package/out/utils/transactions/index.js +0 -21
- package/out/utils/transactions/index.js.map +0 -1
- package/out/utils/transactions/isGuardianTx.js +0 -15
- package/out/utils/transactions/isGuardianTx.js.map +0 -1
- package/out/utils/transactions/tests/getExplorerkLink.test.js +0 -23
- package/out/utils/transactions/tests/getExplorerkLink.test.js.map +0 -1
- package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js +0 -118
- package/out/utils/transactions/tests/getHumanReadableTimeFormat.test.js.map +0 -1
- package/out/utils/validation/addressIsValid.js +0 -18
- package/out/utils/validation/addressIsValid.js.map +0 -1
- package/out/utils/validation/getIdentifierType.js +0 -31
- package/out/utils/validation/getIdentifierType.js.map +0 -1
- package/out/utils/validation/hex.js +0 -12
- package/out/utils/validation/hex.js.map +0 -1
- package/out/utils/validation/index.js +0 -22
- package/out/utils/validation/index.js.map +0 -1
- package/out/utils/validation/isContract.js +0 -65
- package/out/utils/validation/isContract.js.map +0 -1
- package/out/utils/validation/maxDecimals.js +0 -13
- package/out/utils/validation/maxDecimals.js.map +0 -1
- package/out/utils/validation/tests/isContract.test.js +0 -24
- package/out/utils/validation/tests/isContract.test.js.map +0 -1
- package/out/utils/visual/index.js +0 -18
- package/out/utils/visual/index.js.map +0 -1
- package/out/utils/visual/switchTheme.js +0 -15
- package/out/utils/visual/switchTheme.js.map +0 -1
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +0 -11
- package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js.map +0 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.js +0 -9
- package/out/utils/walletconnect/__sdkWalletconnectProvider.js.map +0 -1
- package/out/utils/window/buildUrlParams.js +0 -14
- package/out/utils/window/buildUrlParams.js.map +0 -1
- package/out/utils/window/getIsAuthRoute.js +0 -22
- package/out/utils/window/getIsAuthRoute.js.map +0 -1
- package/out/utils/window/getIsInIframe.js +0 -26
- package/out/utils/window/getIsInIframe.js.map +0 -1
- package/out/utils/window/getWindowLocation.js +0 -32
- package/out/utils/window/getWindowLocation.js.map +0 -1
- package/out/utils/window/getWindowParentOrigin.js +0 -25
- package/out/utils/window/getWindowParentOrigin.js.map +0 -1
- package/out/utils/window/index.js +0 -23
- package/out/utils/window/index.js.map +0 -1
- package/out/utils/window/isWindowAvailable.js +0 -6
- package/out/utils/window/isWindowAvailable.js.map +0 -1
- package/out/utils/window/matchPath.js +0 -108
- package/out/utils/window/matchPath.js.map +0 -1
- package/out/utils/window/sanitizeCallbackUrl.js +0 -16
- package/out/utils/window/sanitizeCallbackUrl.js.map +0 -1
- package/out/utils/window/tests/buildUrlParams.test.js +0 -60
- package/out/utils/window/tests/buildUrlParams.test.js.map +0 -1
- package/out/utils/window/tests/getIsAuthRoute.test.js +0 -29
- package/out/utils/window/tests/getIsAuthRoute.test.js.map +0 -1
- package/out/utils/window/tests/getIsInIframe.test.js +0 -54
- package/out/utils/window/tests/getIsInIframe.test.js.map +0 -1
- package/out/utils/window/tests/getWindowLocation.test.js +0 -68
- package/out/utils/window/tests/getWindowLocation.test.js.map +0 -1
- package/out/utils/window/tests/getWindowParentOrigin.test.js +0 -88
- package/out/utils/window/tests/getWindowParentOrigin.test.js.map +0 -1
- package/out/utils/window/tests/sanitizeCallbackUrl.test.js +0 -30
- package/out/utils/window/tests/sanitizeCallbackUrl.test.js.map +0 -1
- /package/out/__chunks__/{chunk-YTFYVPZO.mjs.map → chunk-2DFE24NA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UX6FJB7S.mjs.map → chunk-2S4GDHPC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FIVH6RKU.mjs.map → chunk-2XGXXRSH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AK44E24X.mjs.map → chunk-3AALZJXX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NO7YH2FT.mjs.map → chunk-3C5GZ3BL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KEE42WYL.mjs.map → chunk-3IKGFPT3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FAOTAY77.mjs.map → chunk-3OZWOKL7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LIPGE2RA.mjs.map → chunk-52PGMMOM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R725UMBR.mjs.map → chunk-5AGNJNHL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5TVRGEID.mjs.map → chunk-5AITBRJM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2SOS3KAT.mjs.map → chunk-5E32AO3E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UBINPM6F.mjs.map → chunk-5IKWP24U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WPFFITFH.mjs.map → chunk-5J6OW5XP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-APRKCU5W.mjs.map → chunk-5P5FMYGA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RWNPPIFD.mjs.map → chunk-66LM6A7E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YB7AHPBR.mjs.map → chunk-6D53LH5J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NGHOVWEO.mjs.map → chunk-6JIZDYQM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2HSERTN3.mjs.map → chunk-6K6VHJWQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DHPD6E7P.mjs.map → chunk-7FEQBPHA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UFRAVF3S.mjs.map → chunk-7YHMRUFS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ISPRIGOE.mjs.map → chunk-AGUGUYQS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CBKDKXYT.mjs.map → chunk-AWVWVATR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6XOHFAL4.mjs.map → chunk-BYJK2EOI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BT27ZSJC.mjs.map → chunk-C7NS47QA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3AC72XDZ.mjs.map → chunk-CC4DXLNZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-53X3CO6E.mjs.map → chunk-CETMI3F5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UAW7SD6P.mjs.map → chunk-D2ULWBRR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MFBGRZPB.mjs.map → chunk-DF5ZV5BO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3MWXXTQQ.mjs.map → chunk-DFSBS3PX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XNPGQK42.mjs.map → chunk-DJWI5LZX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UPZSSHAY.mjs.map → chunk-DOU66R4K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IKVKOGWF.mjs.map → chunk-EJ2HUL6D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OWBEAOLJ.mjs.map → chunk-F5Q64A5W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-266T724O.mjs.map → chunk-FCIBGJDC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FEFZKA2B.mjs.map → chunk-FKGDHZZJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EQEYL6AE.mjs.map → chunk-FNYBJAH3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BU6PLF6D.mjs.map → chunk-GDF5AJ5S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KSKOSHYV.mjs.map → chunk-GFR6K4DR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PQUTSIC4.mjs.map → chunk-GMX4XDVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LN5BGLT5.mjs.map → chunk-GSMTFDRE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2D4DUCY4.mjs.map → chunk-GUNYJMJE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PL7G674F.mjs.map → chunk-GY2WKBFX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DNHKXKYY.mjs.map → chunk-H33OUO77.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PBBTJFMG.mjs.map → chunk-H7E4BCEJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6FGDARXH.mjs.map → chunk-HIKIVTTW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E53QIC6C.mjs.map → chunk-HLORMFN4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CWENDDPJ.mjs.map → chunk-I5OYRIZC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JIJSBQEU.mjs.map → chunk-IE3A2COQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UC4MBL7R.mjs.map → chunk-IINL5CEU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RGBXTDJ7.mjs.map → chunk-IVSP42IE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2RRXUGLI.mjs.map → chunk-IWHUAAVD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NCVIHQO4.mjs.map → chunk-IXGPMW52.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NXJJ2A6Q.mjs.map → chunk-J6N7KVXV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KN7QMGWV.mjs.map → chunk-JAIA24ND.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICDD7V53.mjs.map → chunk-JIAKT3GI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BRBIUWAW.mjs.map → chunk-JMC7CMTU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DV3XIKOX.mjs.map → chunk-K4ITACAF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XRBOH3AB.mjs.map → chunk-K7R2V5KX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EFUXCZER.mjs.map → chunk-KXK3FLN2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UFMXBWCD.mjs.map → chunk-LM2GCQL5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O3V4TGXK.mjs.map → chunk-LN5UXO64.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K4O6NCSM.mjs.map → chunk-LWDK4NX3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-33D26THL.mjs.map → chunk-M2ZSNGPS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5MC44CTJ.mjs.map → chunk-M5T2OACP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z5CDCI3Y.mjs.map → chunk-MDVI45IV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VSPA6MX4.mjs.map → chunk-ML7FXWAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JHG3QIDR.mjs.map → chunk-MSQGMOCS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JLVWBFTU.mjs.map → chunk-N5DIMOWZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VO7TNUQ6.mjs.map → chunk-NEHR66XQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MPLLWF75.mjs.map → chunk-NKUK5GFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FRPCFHSV.mjs.map → chunk-NVE5YTZK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ABHYXD3U.mjs.map → chunk-OLOCTHIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MGF5WOBM.mjs.map → chunk-OX6DILCF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YQEOOE3H.mjs.map → chunk-PDEIJQWE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AV4HSXYZ.mjs.map → chunk-PHOF3Z5D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZXIBFH6X.mjs.map → chunk-Q5Z34JFU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5VEB2Q3E.mjs.map → chunk-QAHFVBCD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HHV6IM7.mjs.map → chunk-QGNMCCFK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUDF7ZUR.mjs.map → chunk-QQAW7UC2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QMEKXQAU.mjs.map → chunk-QS2RBVTW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PYQHSRH3.mjs.map → chunk-RD2EB7NA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T5KTF5Z5.mjs.map → chunk-RHCAOCW3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJJT22PO.mjs.map → chunk-RPTQJKFR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KT7RICHS.mjs.map → chunk-RSVM3MZD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PHEK22HL.mjs.map → chunk-RU7UYXPW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZHAYVRGH.mjs.map → chunk-S5VF4GWN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YLJTXHF4.mjs.map → chunk-S6EACMBJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JEB6OIJ7.mjs.map → chunk-SKCBMUQL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y3FER7B6.mjs.map → chunk-TRIPQLQM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SCRYMTTV.mjs.map → chunk-TZ2EDK3R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJ2DAL5M.mjs.map → chunk-U3UMCTU6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2I4BJK55.mjs.map → chunk-U4ZCGUVE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UGI3S542.mjs.map → chunk-U7E2AVPF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DRETVXSY.mjs.map → chunk-UCJMQJM4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QSBLXZFC.mjs.map → chunk-UCNS6KD5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJSB5NX4.mjs.map → chunk-UERJ6AKK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BSWV5MEC.mjs.map → chunk-UK5MEKBE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KARM6PTO.mjs.map → chunk-UKGXMWHE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HCROEWHT.mjs.map → chunk-UO4CECP4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MC23BEFI.mjs.map → chunk-UTN4SJ54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B6UQJ7RN.mjs.map → chunk-UVN6CHEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NEPD4C5Y.mjs.map → chunk-VG7UDG2S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MMJFQNPX.mjs.map → chunk-WBPXPWSV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VU3NDTLL.mjs.map → chunk-WIHG6SHO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W77E3MVG.mjs.map → chunk-WTBHS6AM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7BP53CXF.mjs.map → chunk-WZGG2YKQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P3BXXGQA.mjs.map → chunk-XCVEFI4B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VN3A7GN4.mjs.map → chunk-XFYYVB6G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DT6YLEPL.mjs.map → chunk-YNXPGS77.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OWZ7T4JN.mjs.map → chunk-YTA6XGBJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ATOIEDNS.mjs.map → chunk-YVVAPGXF.mjs.map} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getTokenFromData = exports.decodeData = void 0;
|
|
7
|
-
const sdk_core_1 = require("@multiversx/sdk-core");
|
|
8
|
-
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
9
|
-
const enums_types_1 = require("../../../../types/enums.types");
|
|
10
|
-
const decodePart_1 = require("../../../../utils/decoders/decodePart");
|
|
11
|
-
const addressIsValid_1 = require("../../../../utils/validation/addressIsValid");
|
|
12
|
-
const noData = {
|
|
13
|
-
tokenId: '',
|
|
14
|
-
amount: ''
|
|
15
|
-
};
|
|
16
|
-
const decodeData = (data) => {
|
|
17
|
-
const nonceIndex = 2;
|
|
18
|
-
const amountIndex = 3;
|
|
19
|
-
const parts = data.split('@');
|
|
20
|
-
const decodedParts = parts.map((part, i) => [nonceIndex, amountIndex].includes(i) ? part : (0, decodePart_1.decodePart)(part));
|
|
21
|
-
return decodedParts;
|
|
22
|
-
};
|
|
23
|
-
exports.decodeData = decodeData;
|
|
24
|
-
function getTokenFromData(data) {
|
|
25
|
-
if (!data) {
|
|
26
|
-
return noData;
|
|
27
|
-
}
|
|
28
|
-
const isTokenTransfer = data.startsWith(enums_types_1.TransactionTypesEnum.ESDTTransfer);
|
|
29
|
-
const isNftTransfer = data.startsWith(enums_types_1.TransactionTypesEnum.ESDTNFTTransfer) && data.includes('@');
|
|
30
|
-
const isNftBurn = data.startsWith(enums_types_1.TransactionTypesEnum.ESDTNFTBurn) && data.includes('@');
|
|
31
|
-
try {
|
|
32
|
-
if (isTokenTransfer) {
|
|
33
|
-
const [, encodedToken, encodedAmount] = data.split('@');
|
|
34
|
-
const tokenId = Buffer.from(encodedToken, 'hex').toString('ascii');
|
|
35
|
-
if (!tokenId) {
|
|
36
|
-
return noData;
|
|
37
|
-
}
|
|
38
|
-
const amount = new bignumber_js_1.default('0x' + encodedAmount.replace('0x', '')).toString(10);
|
|
39
|
-
return {
|
|
40
|
-
tokenId,
|
|
41
|
-
amount
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
const decodedData = (0, exports.decodeData)(data);
|
|
45
|
-
if (isNftTransfer) {
|
|
46
|
-
const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] = decodedData;
|
|
47
|
-
if ([collection, nonce, quantity, receiver].every((el) => Boolean(el)) &&
|
|
48
|
-
(0, addressIsValid_1.addressIsValid)(new sdk_core_1.Address(receiver).bech32())) {
|
|
49
|
-
return {
|
|
50
|
-
tokenId: `${collection}-${nonce}`,
|
|
51
|
-
amount: new bignumber_js_1.default(quantity, 16).toString(10),
|
|
52
|
-
collection,
|
|
53
|
-
nonce,
|
|
54
|
-
receiver: new sdk_core_1.Address(receiver).bech32()
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
if (isNftBurn) {
|
|
59
|
-
const [, /*ESDTNFTBurn*/ collection, nonce, quantity] = decodedData;
|
|
60
|
-
if ([collection, nonce, quantity].every((el) => Boolean(el))) {
|
|
61
|
-
return {
|
|
62
|
-
tokenId: `${collection}-${nonce}`,
|
|
63
|
-
amount: new bignumber_js_1.default(quantity, 16).toString(10),
|
|
64
|
-
collection,
|
|
65
|
-
nonce
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
catch {
|
|
71
|
-
return noData;
|
|
72
|
-
}
|
|
73
|
-
return noData;
|
|
74
|
-
}
|
|
75
|
-
exports.getTokenFromData = getTokenFromData;
|
|
76
|
-
//# sourceMappingURL=getTokenFromData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTokenFromData.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.ts"],"names":[],"mappings":";;;;;;AAAA,mDAA+C;AAC/C,gEAAqC;AACrC,mDAAyD;AACzD,0DAAuD;AACvD,oEAAiE;AAEjE,MAAM,MAAM,GAAG;IACb,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,EAAE;CACX,CAAC;AAEK,MAAM,UAAU,GAAG,CAAC,IAAY,EAAE,EAAE;IACzC,MAAM,UAAU,GAAG,CAAC,CAAC;IACrB,MAAM,WAAW,GAAG,CAAC,CAAC;IACtB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,MAAM,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CACzC,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAA,uBAAU,EAAC,IAAI,CAAC,CAChE,CAAC;IACF,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AARW,QAAA,UAAU,cAQrB;AAEF,SAAgB,gBAAgB,CAAC,IAAa;IAO5C,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,kCAAoB,CAAC,YAAY,CAAC,CAAC;IAC3E,MAAM,aAAa,GACjB,IAAI,CAAC,UAAU,CAAC,kCAAoB,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC9E,MAAM,SAAS,GACb,IAAI,CAAC,UAAU,CAAC,kCAAoB,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE1E,IAAI,CAAC;QACH,IAAI,eAAe,EAAE,CAAC;YACpB,MAAM,CAAC,EAAE,YAAY,EAAE,aAAa,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACxD,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;YAEnE,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,OAAO,MAAM,CAAC;YAChB,CAAC;YAED,MAAM,MAAM,GAAG,IAAI,sBAAS,CAC1B,IAAI,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CACvC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;YAEf,OAAO;gBACL,OAAO;gBACP,MAAM;aACP,CAAC;QACJ,CAAC;QAED,MAAM,WAAW,GAAG,IAAA,kBAAU,EAAC,IAAI,CAAC,CAAC;QAErC,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,CAAC,EAAE,mBAAmB,CAAC,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,GACjE,WAAW,CAAC;YAEd,IACE,CAAC,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAClE,IAAA,+BAAc,EAAC,IAAI,kBAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC,EAC9C,CAAC;gBACD,OAAO;oBACL,OAAO,EAAE,GAAG,UAAU,IAAI,KAAK,EAAE;oBACjC,MAAM,EAAE,IAAI,sBAAS,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAChD,UAAU;oBACV,KAAK;oBACL,QAAQ,EAAE,IAAI,kBAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE;iBACzC,CAAC;YACJ,CAAC;QACH,CAAC;QAED,IAAI,SAAS,EAAE,CAAC;YACd,MAAM,CAAC,EAAE,eAAe,CAAC,UAAU,EAAE,KAAK,EAAE,QAAQ,CAAC,GAAG,WAAW,CAAC;YAEpE,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;gBAC7D,OAAO;oBACL,OAAO,EAAE,GAAG,UAAU,IAAI,KAAK,EAAE;oBACjC,MAAM,EAAE,IAAI,sBAAS,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAChD,UAAU;oBACV,KAAK;iBACN,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAzED,4CAyEC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionIconInfo = void 0;
|
|
4
|
-
const capitalize_1 = require("../../../../utils/operations/capitalize");
|
|
5
|
-
const getTransactionMessages_1 = require("./getTransactionMessages");
|
|
6
|
-
const getTransactionStatus_1 = require("./getTransactionStatus");
|
|
7
|
-
const getTransactionIconInfo = (transaction) => {
|
|
8
|
-
const transactionMessages = (0, getTransactionMessages_1.getTransactionMessages)(transaction);
|
|
9
|
-
const { failed, invalid, pending } = (0, getTransactionStatus_1.getTransactionStatus)(transaction);
|
|
10
|
-
let icon = '';
|
|
11
|
-
if (failed) {
|
|
12
|
-
icon = 'faTimes';
|
|
13
|
-
}
|
|
14
|
-
else if (invalid) {
|
|
15
|
-
icon = 'faBan';
|
|
16
|
-
}
|
|
17
|
-
else if (pending) {
|
|
18
|
-
icon = 'faHourglass';
|
|
19
|
-
}
|
|
20
|
-
const showErrorText = (failed || invalid) && transactionMessages.length > 0;
|
|
21
|
-
const errorText = showErrorText ? transactionMessages.join(',') : '';
|
|
22
|
-
const tooltip = `${(0, capitalize_1.capitalize)(transaction.status)} ${errorText}`;
|
|
23
|
-
return { icon, tooltip };
|
|
24
|
-
};
|
|
25
|
-
exports.getTransactionIconInfo = getTransactionIconInfo;
|
|
26
|
-
//# sourceMappingURL=getTransactionIconInfo.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionIconInfo.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.ts"],"names":[],"mappings":";;;AACA,4DAAyD;AACzD,qEAAkE;AAClE,iEAA8D;AAEvD,MAAM,sBAAsB,GAAG,CAAC,WAAkC,EAAE,EAAE;IAC3E,MAAM,mBAAmB,GAAG,IAAA,+CAAsB,EAAC,WAAW,CAAC,CAAC;IAEhE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAA,2CAAoB,EAAC,WAAW,CAAC,CAAC;IAEvE,IAAI,IAAI,GAAW,EAAE,CAAC;IAEtB,IAAI,MAAM,EAAE,CAAC;QACX,IAAI,GAAG,SAAS,CAAC;IACnB,CAAC;SAAM,IAAI,OAAO,EAAE,CAAC;QACnB,IAAI,GAAG,OAAO,CAAC;IACjB,CAAC;SAAM,IAAI,OAAO,EAAE,CAAC;QACnB,IAAI,GAAG,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,MAAM,IAAI,OAAO,CAAC,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,CAAC;IAC5E,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAErE,MAAM,OAAO,GAAG,GAAG,IAAA,uBAAU,EAAC,WAAW,CAAC,MAAM,CAAC,IAAI,SAAS,EAAE,CAAC;IAEjE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC,CAAC;AArBW,QAAA,sBAAsB,0BAqBjC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionMessages = void 0;
|
|
4
|
-
const getOperationsMessages_1 = require("./getOperationsMessages");
|
|
5
|
-
const getReceiptMessage_1 = require("./getReceiptMessage");
|
|
6
|
-
const getScResultsMessages_1 = require("./getScResultsMessages");
|
|
7
|
-
function getTransactionMessages(transaction) {
|
|
8
|
-
return Array.from(new Set([
|
|
9
|
-
...(0, getScResultsMessages_1.getScResultsMessages)(transaction),
|
|
10
|
-
...(0, getOperationsMessages_1.getOperationsMessages)(transaction),
|
|
11
|
-
(0, getReceiptMessage_1.getReceiptMessage)(transaction)
|
|
12
|
-
])).filter((el) => Boolean(el));
|
|
13
|
-
}
|
|
14
|
-
exports.getTransactionMessages = getTransactionMessages;
|
|
15
|
-
//# sourceMappingURL=getTransactionMessages.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionMessages.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAChE,2DAAwD;AACxD,iEAA8D;AAE9D,SAAgB,sBAAsB,CAAC,WAAkC;IACvE,OAAO,KAAK,CAAC,IAAI,CACf,IAAI,GAAG,CAAC;QACN,GAAG,IAAA,2CAAoB,EAAC,WAAW,CAAC;QACpC,GAAG,IAAA,6CAAqB,EAAC,WAAW,CAAC;QACrC,IAAA,qCAAiB,EAAC,WAAW,CAAC;KAC/B,CAAC,CACH,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;AAChC,CAAC;AARD,wDAQC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionMethod = void 0;
|
|
4
|
-
const serverTransactions_types_1 = require("../../../../types/serverTransactions.types");
|
|
5
|
-
const getTransactionMethod = (transaction) => {
|
|
6
|
-
let transactionAction = 'Transaction';
|
|
7
|
-
const transactionHasAction = transaction.action?.name && transaction.action?.category;
|
|
8
|
-
if (transactionHasAction) {
|
|
9
|
-
if (transaction.action?.category === serverTransactions_types_1.TransactionActionCategoryEnum.esdtNft &&
|
|
10
|
-
transaction.action?.name === serverTransactions_types_1.TransactionActionsEnum.transfer) {
|
|
11
|
-
transactionAction = 'Transaction';
|
|
12
|
-
}
|
|
13
|
-
else if (transaction.action) {
|
|
14
|
-
transactionAction = transaction.action.name;
|
|
15
|
-
}
|
|
16
|
-
if (transaction.action?.arguments?.functionName) {
|
|
17
|
-
transactionAction = transaction.action.arguments.functionName;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return transactionAction;
|
|
21
|
-
};
|
|
22
|
-
exports.getTransactionMethod = getTransactionMethod;
|
|
23
|
-
//# sourceMappingURL=getTransactionMethod.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionMethod.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.ts"],"names":[],"mappings":";;;AAAA,6EAIwC;AAEjC,MAAM,oBAAoB,GAAG,CAAC,WAAkC,EAAE,EAAE;IACzE,IAAI,iBAAiB,GAAG,aAAa,CAAC;IACtC,MAAM,oBAAoB,GACxB,WAAW,CAAC,MAAM,EAAE,IAAI,IAAI,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;IAE3D,IAAI,oBAAoB,EAAE,CAAC;QACzB,IACE,WAAW,CAAC,MAAM,EAAE,QAAQ,KAAK,wDAA6B,CAAC,OAAO;YACtE,WAAW,CAAC,MAAM,EAAE,IAAI,KAAK,iDAAsB,CAAC,QAAQ,EAC5D,CAAC;YACD,iBAAiB,GAAG,aAAa,CAAC;QACpC,CAAC;aAAM,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;YAC9B,iBAAiB,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;QAC9C,CAAC;QAED,IAAI,WAAW,CAAC,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;YAChD,iBAAiB,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC;QAChE,CAAC;IACH,CAAC;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC;AArBW,QAAA,oBAAoB,wBAqB/B"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionReceiver = void 0;
|
|
4
|
-
function getTransactionReceiver(transaction) {
|
|
5
|
-
let receiver = transaction.receiver;
|
|
6
|
-
if (transaction.action?.arguments?.receiver) {
|
|
7
|
-
receiver = transaction.action.arguments.receiver;
|
|
8
|
-
}
|
|
9
|
-
return receiver;
|
|
10
|
-
}
|
|
11
|
-
exports.getTransactionReceiver = getTransactionReceiver;
|
|
12
|
-
//# sourceMappingURL=getTransactionReceiver.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionReceiver.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.ts"],"names":[],"mappings":";;;AAEA,SAAgB,sBAAsB,CAAC,WAAkC;IACvE,IAAI,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IACpC,IAAI,WAAW,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;QAC5C,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;IACnD,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAPD,wDAOC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionReceiverAssets = void 0;
|
|
4
|
-
const getTransactionReceiver_1 = require("./getTransactionReceiver");
|
|
5
|
-
/**
|
|
6
|
-
* The information about an account like name, icon, etc...
|
|
7
|
-
* */
|
|
8
|
-
function getTransactionReceiverAssets(transaction) {
|
|
9
|
-
const receiver = (0, getTransactionReceiver_1.getTransactionReceiver)(transaction);
|
|
10
|
-
return transaction.receiver === receiver
|
|
11
|
-
? transaction.receiverAssets
|
|
12
|
-
: undefined;
|
|
13
|
-
}
|
|
14
|
-
exports.getTransactionReceiverAssets = getTransactionReceiverAssets;
|
|
15
|
-
//# sourceMappingURL=getTransactionReceiverAssets.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionReceiverAssets.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.ts"],"names":[],"mappings":";;;AACA,qEAAkE;AAElE;;KAEK;AACL,SAAgB,4BAA4B,CAC1C,WAAkC;IAElC,MAAM,QAAQ,GAAG,IAAA,+CAAsB,EAAC,WAAW,CAAC,CAAC;IAErD,OAAO,WAAW,CAAC,QAAQ,KAAK,QAAQ;QACtC,CAAC,CAAC,WAAW,CAAC,cAAc;QAC5B,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AARD,oEAQC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionStatus = void 0;
|
|
4
|
-
const enums_types_1 = require("../../../../types/enums.types");
|
|
5
|
-
function getTransactionStatus(transaction) {
|
|
6
|
-
const statusIs = (compareTo) => transaction.status.toLowerCase() === compareTo.toLowerCase();
|
|
7
|
-
const failed = statusIs(enums_types_1.TransactionServerStatusesEnum.fail) ||
|
|
8
|
-
statusIs(enums_types_1.TransactionServerStatusesEnum.rewardReverted);
|
|
9
|
-
const success = statusIs(enums_types_1.TransactionServerStatusesEnum.success);
|
|
10
|
-
const invalid = statusIs(enums_types_1.TransactionServerStatusesEnum.notExecuted) ||
|
|
11
|
-
statusIs(enums_types_1.TransactionServerStatusesEnum.invalid);
|
|
12
|
-
const pending = statusIs(enums_types_1.TransactionServerStatusesEnum.pending) ||
|
|
13
|
-
transaction.pendingResults;
|
|
14
|
-
return {
|
|
15
|
-
failed,
|
|
16
|
-
success,
|
|
17
|
-
invalid,
|
|
18
|
-
pending
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
exports.getTransactionStatus = getTransactionStatus;
|
|
22
|
-
//# sourceMappingURL=getTransactionStatus.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionStatus.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.ts"],"names":[],"mappings":";;;AAAA,mDAAkE;AAGlE,SAAgB,oBAAoB,CAAC,WAAkC;IACrE,MAAM,QAAQ,GAAG,CAAC,SAAiB,EAAE,EAAE,CACrC,WAAW,CAAC,MAAM,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAAC;IAE/D,MAAM,MAAM,GACV,QAAQ,CAAC,2CAA6B,CAAC,IAAI,CAAC;QAC5C,QAAQ,CAAC,2CAA6B,CAAC,cAAc,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,QAAQ,CAAC,2CAA6B,CAAC,OAAO,CAAC,CAAC;IAChE,MAAM,OAAO,GACX,QAAQ,CAAC,2CAA6B,CAAC,WAAW,CAAC;QACnD,QAAQ,CAAC,2CAA6B,CAAC,OAAO,CAAC,CAAC;IAClD,MAAM,OAAO,GACX,QAAQ,CAAC,2CAA6B,CAAC,OAAO,CAAC;QAC/C,WAAW,CAAC,cAAc,CAAC;IAC7B,OAAO;QACL,MAAM;QACN,OAAO;QACP,OAAO;QACP,OAAO;KACR,CAAC;AACJ,CAAC;AApBD,oDAoBC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionTokens = void 0;
|
|
4
|
-
const getTransactionTokens = (transaction) => {
|
|
5
|
-
if (transaction.action) {
|
|
6
|
-
const merged = [
|
|
7
|
-
transaction.action.arguments?.token,
|
|
8
|
-
transaction.action.arguments?.token1,
|
|
9
|
-
transaction.action.arguments?.token2,
|
|
10
|
-
transaction.action.arguments?.transfers // array of tokens
|
|
11
|
-
].filter((x) => x != null);
|
|
12
|
-
return [].concat(...merged);
|
|
13
|
-
}
|
|
14
|
-
return [];
|
|
15
|
-
};
|
|
16
|
-
exports.getTransactionTokens = getTransactionTokens;
|
|
17
|
-
//# sourceMappingURL=getTransactionTokens.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionTokens.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.ts"],"names":[],"mappings":";;;AAKO,MAAM,oBAAoB,GAAG,CAClC,WAAkC,EACb,EAAE;IACvB,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;QACvB,MAAM,MAAM,GAAG;YACb,WAAW,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK;YACnC,WAAW,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM;YACpC,WAAW,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM;YACpC,WAAW,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,kBAAkB;SAC3D,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;QAE3B,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAfW,QAAA,oBAAoB,wBAe/B"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTransactionTransferType = void 0;
|
|
4
|
-
const serverTransactions_types_1 = require("../../../../types/serverTransactions.types");
|
|
5
|
-
function getTransactionTransferType({ address, transaction, receiver }) {
|
|
6
|
-
const directionOut = address === transaction.sender;
|
|
7
|
-
const directionIn = address === receiver;
|
|
8
|
-
const directionSelf = directionOut && directionIn;
|
|
9
|
-
const isScResult = transaction?.type === serverTransactions_types_1.TransferTypeEnum.SmartContractResult;
|
|
10
|
-
switch (true) {
|
|
11
|
-
case isScResult:
|
|
12
|
-
return serverTransactions_types_1.TransactionDirectionEnum.INTERNAL;
|
|
13
|
-
case directionSelf:
|
|
14
|
-
return serverTransactions_types_1.TransactionDirectionEnum.SELF;
|
|
15
|
-
case directionIn:
|
|
16
|
-
return serverTransactions_types_1.TransactionDirectionEnum.IN;
|
|
17
|
-
case directionOut:
|
|
18
|
-
default:
|
|
19
|
-
return serverTransactions_types_1.TransactionDirectionEnum.OUT;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.getTransactionTransferType = getTransactionTransferType;
|
|
23
|
-
//# sourceMappingURL=getTransactionTransferType.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getTransactionTransferType.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.ts"],"names":[],"mappings":";;;AAAA,6EAIwC;AAQxC,SAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,WAAW,EACX,QAAQ,EAC0B;IAClC,MAAM,YAAY,GAAG,OAAO,KAAK,WAAW,CAAC,MAAM,CAAC;IACpD,MAAM,WAAW,GAAG,OAAO,KAAK,QAAQ,CAAC;IACzC,MAAM,aAAa,GAAG,YAAY,IAAI,WAAW,CAAC;IAClD,MAAM,UAAU,GAAG,WAAW,EAAE,IAAI,KAAK,2CAAgB,CAAC,mBAAmB,CAAC;IAE9E,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,UAAU;YACb,OAAO,mDAAwB,CAAC,QAAQ,CAAC;QAC3C,KAAK,aAAa;YAChB,OAAO,mDAAwB,CAAC,IAAI,CAAC;QACvC,KAAK,WAAW;YACd,OAAO,mDAAwB,CAAC,EAAE,CAAC;QACrC,KAAK,YAAY,CAAC;QAClB;YACE,OAAO,mDAAwB,CAAC,GAAG,CAAC;IACxC,CAAC;AACH,CAAC;AArBD,gEAqBC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../../getExplorerLink"), exports);
|
|
18
|
-
__exportStar(require("./getTokenFromData"), exports);
|
|
19
|
-
__exportStar(require("./getTransactionMethod"), exports);
|
|
20
|
-
__exportStar(require("./getTransactionReceiver"), exports);
|
|
21
|
-
__exportStar(require("./getTransactionReceiverAssets"), exports);
|
|
22
|
-
__exportStar(require("./getTransactionTokens"), exports);
|
|
23
|
-
__exportStar(require("./getTransactionTransferType"), exports);
|
|
24
|
-
__exportStar(require("./getTransactionIconInfo"), exports);
|
|
25
|
-
__exportStar(require("./getTransactionMessages"), exports);
|
|
26
|
-
__exportStar(require("./getTransactionStatus"), exports);
|
|
27
|
-
__exportStar(require("./getReceiptMessage"), exports);
|
|
28
|
-
__exportStar(require("./getOperationsMessages"), exports);
|
|
29
|
-
__exportStar(require("./getScResultsMessages"), exports);
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qDAAmC;AACnC,yDAAuC;AACvC,2DAAyC;AACzC,iEAA+C;AAC/C,yDAAuC;AACvC,+DAA6C;AAC7C,2DAAyC;AACzC,2DAAyC;AACzC,yDAAuC;AACvC,sDAAoC;AACpC,0DAAwC;AACxC,yDAAuC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.baseTransactionMock = void 0;
|
|
4
|
-
const types_1 = require("../../../../../types");
|
|
5
|
-
const serverTransactions_types_1 = require("../../../../../types/serverTransactions.types");
|
|
6
|
-
exports.baseTransactionMock = {
|
|
7
|
-
blockHash: '',
|
|
8
|
-
price: 60,
|
|
9
|
-
txHash: 'c747f6ea467fb68e2f152a5baa57edbc7e04d297954878084363cbdb961eed7e',
|
|
10
|
-
gasLimit: 60000000,
|
|
11
|
-
gasPrice: 1000000000,
|
|
12
|
-
gasUsed: 60000000,
|
|
13
|
-
miniBlockHash: 'd7ad7c1f8f57e3a370b12092604c42157cb5228ab598e9bbca641ee2e4ee7bd2',
|
|
14
|
-
nonce: 965,
|
|
15
|
-
receiver: 'erd1qqqqqqqqqqqqqpgq4gdcg0k83u7lpv4s4532w3au9y9h0vm70eqq6m8qk2',
|
|
16
|
-
receiverShard: 0,
|
|
17
|
-
round: 2044988,
|
|
18
|
-
sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv',
|
|
19
|
-
senderShard: 0,
|
|
20
|
-
signature: 'transaction-signature-hash',
|
|
21
|
-
status: types_1.TransactionServerStatusesEnum.fail,
|
|
22
|
-
value: '1234',
|
|
23
|
-
fee: '655440000000000',
|
|
24
|
-
timestamp: 1660821528,
|
|
25
|
-
data: 'cGluZw==',
|
|
26
|
-
action: {
|
|
27
|
-
category: 'scCall',
|
|
28
|
-
name: serverTransactions_types_1.TransactionActionsEnum.ping
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=base-transaction-mock.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-transaction-mock.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/base-transaction-mock.ts"],"names":[],"mappings":";;;AAAA,iCAAsD;AACtD,6EAAwE;AAE3D,QAAA,mBAAmB,GAAG;IACjC,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,kEAAkE;IAC1E,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,QAAQ;IACjB,aAAa,EACX,kEAAkE;IACpE,KAAK,EAAE,GAAG;IACV,QAAQ,EAAE,gEAAgE;IAC1E,aAAa,EAAE,CAAC;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,gEAAgE;IACxE,WAAW,EAAE,CAAC;IACd,SAAS,EAAE,4BAA4B;IACvC,MAAM,EAAE,qCAA6B,CAAC,IAAI;IAC1C,KAAK,EAAE,MAAM;IACb,GAAG,EAAE,iBAAiB;IACtB,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,iDAAsB,CAAC,IAAI;KAClC;CACF,CAAC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.js
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transactionMock = void 0;
|
|
4
|
-
const serverTransactions_types_1 = require("../../../../../types/serverTransactions.types");
|
|
5
|
-
const tokens_types_1 = require("../../../../../types/tokens.types");
|
|
6
|
-
const base_transaction_mock_1 = require("./base-transaction-mock");
|
|
7
|
-
exports.transactionMock = {
|
|
8
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
9
|
-
action: {
|
|
10
|
-
name: serverTransactions_types_1.TransactionActionsEnum.transfer,
|
|
11
|
-
category: serverTransactions_types_1.TransactionActionCategoryEnum.scCall,
|
|
12
|
-
arguments: {
|
|
13
|
-
token: 'token',
|
|
14
|
-
token1: 'token1',
|
|
15
|
-
token2: 'token2',
|
|
16
|
-
transfers: 'transfers',
|
|
17
|
-
null: null,
|
|
18
|
-
undefined: undefined
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
receiverAssets: {
|
|
22
|
-
name: 'john doe',
|
|
23
|
-
description: 'description',
|
|
24
|
-
iconPng: 'icon.png',
|
|
25
|
-
iconSvg: 'icon.svg',
|
|
26
|
-
tags: ['@tag1', '@tag2']
|
|
27
|
-
},
|
|
28
|
-
operations: [
|
|
29
|
-
{
|
|
30
|
-
name: 'send',
|
|
31
|
-
type: serverTransactions_types_1.VisibleTransactionOperationType.egld,
|
|
32
|
-
action: serverTransactions_types_1.TransactionOperationActionTypeEnum.transfer,
|
|
33
|
-
esdtType: tokens_types_1.EsdtEnumType.FungibleESDT,
|
|
34
|
-
receiver: 'erd1qqqqqqqqqqqqqpgq4gdcg0k83u7lpv4s4532w3au9y9h0vm70eqq6m8qk2',
|
|
35
|
-
sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv',
|
|
36
|
-
value: '1',
|
|
37
|
-
decimals: 4,
|
|
38
|
-
identifier: 'EGLD',
|
|
39
|
-
message: 'message 0'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
name: 'send',
|
|
43
|
-
type: serverTransactions_types_1.VisibleTransactionOperationType.egld,
|
|
44
|
-
action: serverTransactions_types_1.TransactionOperationActionTypeEnum.transfer,
|
|
45
|
-
esdtType: tokens_types_1.EsdtEnumType.FungibleESDT,
|
|
46
|
-
receiver: 'erd1qqqqqqqqqqqqqpgq4gdcg0k83u7lpv4s4532w3au9y9h0vm70eqq6m8qk2',
|
|
47
|
-
sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv',
|
|
48
|
-
value: '1',
|
|
49
|
-
decimals: 4,
|
|
50
|
-
identifier: 'EGLD',
|
|
51
|
-
message: 'message 1'
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
results: [
|
|
55
|
-
{
|
|
56
|
-
callType: '',
|
|
57
|
-
value: '1',
|
|
58
|
-
gasLimit: 100,
|
|
59
|
-
gasPrice: 0.001,
|
|
60
|
-
hash: 'tx-hash',
|
|
61
|
-
nonce: 0,
|
|
62
|
-
sender: 'sender-hash',
|
|
63
|
-
originalTxHash: 'original-tx-hash',
|
|
64
|
-
prevTxHash: 'prev-tx-hash',
|
|
65
|
-
returnMessage: 'message 0'
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
callType: '',
|
|
69
|
-
value: '1',
|
|
70
|
-
gasLimit: 100,
|
|
71
|
-
gasPrice: 0.001,
|
|
72
|
-
hash: 'tx-hash',
|
|
73
|
-
nonce: 0,
|
|
74
|
-
sender: 'sender-hash',
|
|
75
|
-
originalTxHash: 'original-tx-hash',
|
|
76
|
-
prevTxHash: 'prev-tx-hash',
|
|
77
|
-
returnMessage: 'message 1'
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
receipt: {
|
|
81
|
-
data: '@some-data',
|
|
82
|
-
value: '1000',
|
|
83
|
-
sender: 'sender-hash'
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
//# sourceMappingURL=extended-transaction-mock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extended-transaction-mock.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/extended-transaction-mock.ts"],"names":[],"mappings":";;;AAAA,6EAMwC;AACxC,qDAAkD;AAClD,mEAA8D;AAEjD,QAAA,eAAe,GAA0B;IACpD,GAAG,2CAAmB;IACtB,MAAM,EAAE;QACN,IAAI,EAAE,iDAAsB,CAAC,QAAQ;QACrC,QAAQ,EAAE,wDAA6B,CAAC,MAAM;QAC9C,SAAS,EAAE;YACT,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,IAAI;YACV,SAAS,EAAE,SAAS;SACrB;KACF;IACD,cAAc,EAAE;QACd,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,UAAU;QACnB,OAAO,EAAE,UAAU;QACnB,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KACzB;IACD,UAAU,EAAE;QACV;YACE,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,0DAA+B,CAAC,IAAI;YAC1C,MAAM,EAAE,6DAAkC,CAAC,QAAQ;YACnD,QAAQ,EAAE,2BAAY,CAAC,YAAY;YACnC,QAAQ,EACN,gEAAgE;YAClE,MAAM,EAAE,gEAAgE;YACxE,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,MAAM;YAClB,OAAO,EAAE,WAAW;SACrB;QACD;YACE,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,0DAA+B,CAAC,IAAI;YAC1C,MAAM,EAAE,6DAAkC,CAAC,QAAQ;YACnD,QAAQ,EAAE,2BAAY,CAAC,YAAY;YACnC,QAAQ,EACN,gEAAgE;YAClE,MAAM,EAAE,gEAAgE;YACxE,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,MAAM;YAClB,OAAO,EAAE,WAAW;SACrB;KACF;IACD,OAAO,EAAE;QACP;YACE,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,GAAG;YACb,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,aAAa;YACrB,cAAc,EAAE,kBAAkB;YAClC,UAAU,EAAE,cAAc;YAC1B,aAAa,EAAE,WAAW;SAC3B;QACD;YACE,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,GAAG;YACb,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,aAAa;YACrB,cAAc,EAAE,kBAAkB;YAClC,UAAU,EAAE,cAAc;YAC1B,aAAa,EAAE,WAAW;SAC3B;KACF;IACD,OAAO,EAAE;QACP,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,aAAa;KACtB;CACF,CAAC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const serverTransactions_types_1 = require("../../../../../types/serverTransactions.types");
|
|
4
|
-
const getOperationsMessages_1 = require("../getOperationsMessages");
|
|
5
|
-
const base_transaction_mock_1 = require("./base-transaction-mock");
|
|
6
|
-
describe('getOperationsMessages', () => {
|
|
7
|
-
it('receive empty array if no operations messages exists on the transaction', () => {
|
|
8
|
-
const result = (0, getOperationsMessages_1.getOperationsMessages)(base_transaction_mock_1.baseTransactionMock);
|
|
9
|
-
expect(result).toEqual([]);
|
|
10
|
-
});
|
|
11
|
-
it('receive an array with all operations messages', () => {
|
|
12
|
-
const baseTransactionOperation = {
|
|
13
|
-
name: 'send',
|
|
14
|
-
type: serverTransactions_types_1.VisibleTransactionOperationType.egld,
|
|
15
|
-
action: serverTransactions_types_1.TransactionOperationActionTypeEnum.transfer,
|
|
16
|
-
esdtType: 'FungibleESDT',
|
|
17
|
-
receiver: 'erd1qqqqqqqqqqqqqpgq4gdcg0k83u7lpv4s4532w3au9y9h0vm70eqq6m8qk2',
|
|
18
|
-
sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv',
|
|
19
|
-
value: '1',
|
|
20
|
-
decimals: 4,
|
|
21
|
-
identifier: 'EGLD'
|
|
22
|
-
};
|
|
23
|
-
const transaction = {
|
|
24
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
25
|
-
operations: [
|
|
26
|
-
{
|
|
27
|
-
...baseTransactionOperation,
|
|
28
|
-
message: 'message 0'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
...baseTransactionOperation,
|
|
32
|
-
message: 'message 1'
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
};
|
|
36
|
-
const result = (0, getOperationsMessages_1.getOperationsMessages)(transaction);
|
|
37
|
-
expect(result).toEqual(['message 0', 'message 1']);
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
//# sourceMappingURL=getOperationsMessages.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getOperationsMessages.test.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/getOperationsMessages.test.ts"],"names":[],"mappings":";;AAAA,6EAIwC;AACxC,oEAAiE;AACjE,mEAA8D;AAE9D,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,yEAAyE,EAAE,GAAG,EAAE;QACjF,MAAM,MAAM,GAAG,IAAA,6CAAqB,EAAC,2CAAmB,CAAC,CAAC;QAE1D,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,wBAAwB,GAAG;YAC/B,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,0DAA+B,CAAC,IAAI;YAC1C,MAAM,EAAE,6DAAkC,CAAC,QAAQ;YACnD,QAAQ,EAAE,cAAc;YACxB,QAAQ,EACN,gEAAgE;YAClE,MAAM,EAAE,gEAAgE;YACxE,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,MAAM;SACnB,CAAC;QAEF,MAAM,WAAW,GAAG;YAClB,GAAG,2CAAmB;YACtB,UAAU,EAAE;gBACV;oBACE,GAAG,wBAAwB;oBAC3B,OAAO,EAAE,WAAW;iBACrB;gBACD;oBACE,GAAG,wBAAwB;oBAC3B,OAAO,EAAE,WAAW;iBACrB;aACiB;SACrB,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,6CAAqB,EAAC,WAAW,CAAC,CAAC;QAElD,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
7
|
-
const index_1 = require("../../../../../constants/index");
|
|
8
|
-
const sdkDappUtils_1 = require("../../../../../lib/sdkDappUtils");
|
|
9
|
-
const getReceiptMessage_1 = require("../getReceiptMessage");
|
|
10
|
-
const base_transaction_mock_1 = require("./base-transaction-mock");
|
|
11
|
-
describe('getReceiptMessage', () => {
|
|
12
|
-
it('returns empty string if no data exists on the transaction receipt field', () => {
|
|
13
|
-
const transaction = {
|
|
14
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
15
|
-
receipt: undefined
|
|
16
|
-
};
|
|
17
|
-
const result = (0, getReceiptMessage_1.getReceiptMessage)(transaction);
|
|
18
|
-
expect(result).toEqual('');
|
|
19
|
-
});
|
|
20
|
-
it(`returns a message that contains the refunded gas value if the receipt data field contains ${index_1.REFUNDED_GAS}`, () => {
|
|
21
|
-
const transaction = {
|
|
22
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
23
|
-
receipt: {
|
|
24
|
-
data: index_1.REFUNDED_GAS,
|
|
25
|
-
value: '1000',
|
|
26
|
-
sender: ''
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const result = (0, getReceiptMessage_1.getReceiptMessage)(transaction);
|
|
30
|
-
const formattedGas = (0, sdkDappUtils_1.formatAmount)({
|
|
31
|
-
input: transaction.receipt.value,
|
|
32
|
-
decimals: sdkDappUtils_1.DECIMALS,
|
|
33
|
-
digits: sdkDappUtils_1.DIGITS,
|
|
34
|
-
showLastNonZeroDecimal: true
|
|
35
|
-
});
|
|
36
|
-
const gasRefunded = new bignumber_js_1.default(formattedGas)
|
|
37
|
-
.times(transaction.gasPrice)
|
|
38
|
-
.times(100);
|
|
39
|
-
expect(result).toEqual(`${transaction.receipt.data}: ${gasRefunded}`);
|
|
40
|
-
});
|
|
41
|
-
it(`returns a message that contains the receipt data field value and the receipt value if the receipt data field does not contains ${index_1.REFUNDED_GAS}`, () => {
|
|
42
|
-
const transaction = {
|
|
43
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
44
|
-
receipt: {
|
|
45
|
-
data: '@some-data',
|
|
46
|
-
value: '1000',
|
|
47
|
-
sender: 'sender-hash'
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const result = (0, getReceiptMessage_1.getReceiptMessage)(transaction);
|
|
51
|
-
expect(result).toEqual(`${transaction.receipt.data}: ${transaction.receipt.value}`);
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=getReceiptMessage.test.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getReceiptMessage.test.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/getReceiptMessage.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAqC;AACrC,2CAA+C;AAC/C,mDAAkE;AAClE,4DAAyD;AACzD,mEAA8D;AAE9D,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,yEAAyE,EAAE,GAAG,EAAE;QACjF,MAAM,WAAW,GAAG;YAClB,GAAG,2CAAmB;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;QACF,MAAM,MAAM,GAAG,IAAA,qCAAiB,EAAC,WAAW,CAAC,CAAC;QAE9C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6FAA6F,oBAAY,EAAE,EAAE,GAAG,EAAE;QACnH,MAAM,WAAW,GAAG;YAClB,GAAG,2CAAmB;YACtB,OAAO,EAAE;gBACP,IAAI,EAAE,oBAAY;gBAClB,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,EAAE;aACX;SACF,CAAC;QACF,MAAM,MAAM,GAAG,IAAA,qCAAiB,EAAC,WAAW,CAAC,CAAC;QAC9C,MAAM,YAAY,GAAG,IAAA,2BAAY,EAAC;YAChC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK;YAChC,QAAQ,EAAE,uBAAQ;YAClB,MAAM,EAAE,qBAAM;YACd,sBAAsB,EAAE,IAAI;SAC7B,CAAC,CAAC;QACH,MAAM,WAAW,GAAG,IAAI,sBAAS,CAAC,YAAY,CAAC;aAC5C,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;aAC3B,KAAK,CAAC,GAAG,CAAC,CAAC;QAEd,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kIAAkI,oBAAY,EAAE,EAAE,GAAG,EAAE;QACxJ,MAAM,WAAW,GAAG;YAClB,GAAG,2CAAmB;YACtB,OAAO,EAAE;gBACP,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,aAAa;aACtB;SACF,CAAC;QACF,MAAM,MAAM,GAAG,IAAA,qCAAiB,EAAC,WAAW,CAAC,CAAC;QAE9C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CACpB,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,CAC5D,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const getScResultsMessages_1 = require("../getScResultsMessages");
|
|
4
|
-
const base_transaction_mock_1 = require("./base-transaction-mock");
|
|
5
|
-
describe('getScResultsMessages', () => {
|
|
6
|
-
it('receive empty array if no results exists on the transaction', () => {
|
|
7
|
-
const result = (0, getScResultsMessages_1.getScResultsMessages)(base_transaction_mock_1.baseTransactionMock);
|
|
8
|
-
expect(result).toEqual([]);
|
|
9
|
-
});
|
|
10
|
-
it('receive an array with all results messages', () => {
|
|
11
|
-
const baseTransactionResult = {
|
|
12
|
-
callType: '',
|
|
13
|
-
value: '1',
|
|
14
|
-
gasLimit: 100,
|
|
15
|
-
gasPrice: 0.001,
|
|
16
|
-
hash: 'tx-hash',
|
|
17
|
-
nonce: 0,
|
|
18
|
-
sender: 'sender-hash',
|
|
19
|
-
originalTxHash: 'original-tx-hash',
|
|
20
|
-
prevTxHash: 'prev-tx-hash'
|
|
21
|
-
};
|
|
22
|
-
const transaction = {
|
|
23
|
-
...base_transaction_mock_1.baseTransactionMock,
|
|
24
|
-
results: [
|
|
25
|
-
{
|
|
26
|
-
...baseTransactionResult,
|
|
27
|
-
returnMessage: 'message 0'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
...baseTransactionResult,
|
|
31
|
-
returnMessage: 'message 1'
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
};
|
|
35
|
-
const result = (0, getScResultsMessages_1.getScResultsMessages)(transaction);
|
|
36
|
-
expect(result).toEqual(['message 0', 'message 1']);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=getScResultsMessages.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getScResultsMessages.test.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/getScResultsMessages.test.ts"],"names":[],"mappings":";;AAIA,kEAA+D;AAC/D,mEAA8D;AAE9D,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,EAAE,CAAC,6DAA6D,EAAE,GAAG,EAAE;QACrE,MAAM,MAAM,GAAG,IAAA,2CAAoB,EAAC,2CAAmB,CAAC,CAAC;QAEzD,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,GAAG,EAAE;QACpD,MAAM,qBAAqB,GAAG;YAC5B,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE,GAAG;YACb,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,aAAa;YACrB,cAAc,EAAE,kBAAkB;YAClC,UAAU,EAAE,cAAc;SACb,CAAC;QAEhB,MAAM,WAAW,GAA0B;YACzC,GAAG,2CAAmB;YACtB,OAAO,EAAE;gBACP;oBACE,GAAG,qBAAqB;oBACxB,aAAa,EAAE,WAAW;iBAC3B;gBACD;oBACE,GAAG,qBAAqB;oBACxB,aAAa,EAAE,WAAW;iBAC3B;aACc;SAClB,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,2CAAoB,EAAC,WAAW,CAAC,CAAC;QAEjD,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const getShardText_1 = require("../getShardText");
|
|
4
|
-
describe('getShardText tests', () => {
|
|
5
|
-
it('formats metachain', () => {
|
|
6
|
-
expect((0, getShardText_1.getShardText)(4294967295)).toBe('Metachain');
|
|
7
|
-
});
|
|
8
|
-
it('formats Shard 1', () => {
|
|
9
|
-
expect((0, getShardText_1.getShardText)(1)).toBe('Shard 1');
|
|
10
|
-
});
|
|
11
|
-
it('formats Shard 2', () => {
|
|
12
|
-
expect((0, getShardText_1.getShardText)('Shard 2')).toBe('Shard 2');
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=getShardText.test.js.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getShardText.test.js","sourceRoot":"","sources":["../../../../../../src/utils/transactions/getInterpretedTransaction/helpers/tests/getShardText.test.ts"],"names":[],"mappings":";;AAAA,kDAA+C;AAE/C,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,IAAA,2BAAY,EAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACzB,MAAM,CAAC,IAAA,2BAAY,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,iBAAiB,EAAE,GAAG,EAAE;QACzB,MAAM,CAAC,IAAA,2BAAY,EAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|