@multiversx/sdk-dapp 5.0.2 → 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/README.md +21 -17
- package/out/__chunks__/chunk-2DFE24NA.mjs +2 -0
- package/out/__chunks__/chunk-2ONA7QPD.mjs +2 -0
- package/out/__chunks__/chunk-2S4GDHPC.mjs +2 -0
- package/out/__chunks__/chunk-2XGXXRSH.mjs +2 -0
- package/out/__chunks__/chunk-3AALZJXX.mjs +2 -0
- package/out/__chunks__/chunk-3C5GZ3BL.mjs +2 -0
- package/out/__chunks__/chunk-3IKGFPT3.mjs +2 -0
- package/out/__chunks__/chunk-3OZWOKL7.mjs +2 -0
- package/out/__chunks__/chunk-52PGMMOM.mjs +2 -0
- package/out/__chunks__/chunk-5AGNJNHL.mjs +2 -0
- package/out/__chunks__/chunk-5AITBRJM.mjs +2 -0
- package/out/__chunks__/chunk-5E32AO3E.mjs +2 -0
- package/out/__chunks__/chunk-5IKWP24U.mjs +2 -0
- package/out/__chunks__/chunk-5J6OW5XP.mjs +2 -0
- package/out/__chunks__/chunk-5P5FMYGA.mjs +2 -0
- package/out/__chunks__/chunk-66LM6A7E.mjs +2 -0
- package/out/__chunks__/chunk-6D53LH5J.mjs +2 -0
- package/out/__chunks__/chunk-6JIZDYQM.mjs +2 -0
- package/out/__chunks__/chunk-6K6VHJWQ.mjs +2 -0
- package/out/__chunks__/chunk-7FEQBPHA.mjs +2 -0
- package/out/__chunks__/chunk-7YHMRUFS.mjs +2 -0
- package/out/__chunks__/chunk-AGUGUYQS.mjs +2 -0
- package/out/__chunks__/chunk-AWVWVATR.mjs +2 -0
- package/out/__chunks__/chunk-BYJK2EOI.mjs +2 -0
- 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-D2ULWBRR.mjs +2 -0
- package/out/__chunks__/chunk-DF5ZV5BO.mjs +2 -0
- package/out/__chunks__/chunk-DFSBS3PX.mjs +2 -0
- package/out/__chunks__/chunk-DJWI5LZX.mjs +2 -0
- package/out/__chunks__/chunk-DLWDO7M6.mjs +2 -0
- package/out/__chunks__/chunk-DLWDO7M6.mjs.map +7 -0
- package/out/__chunks__/chunk-DOU66R4K.mjs +2 -0
- package/out/__chunks__/chunk-EJ2HUL6D.mjs +2 -0
- package/out/__chunks__/chunk-F5Q64A5W.mjs +2 -0
- package/out/__chunks__/chunk-FCIBGJDC.mjs +2 -0
- package/out/__chunks__/chunk-FKGDHZZJ.mjs +2 -0
- package/out/__chunks__/chunk-FNYBJAH3.mjs +2 -0
- package/out/__chunks__/chunk-GDF5AJ5S.mjs +2 -0
- package/out/__chunks__/chunk-GFR6K4DR.mjs +2 -0
- package/out/__chunks__/chunk-GMX4XDVR.mjs +2 -0
- package/out/__chunks__/chunk-GSMTFDRE.mjs +2 -0
- package/out/__chunks__/chunk-GUNYJMJE.mjs +2 -0
- package/out/__chunks__/chunk-GY2WKBFX.mjs +2 -0
- package/out/__chunks__/chunk-H33OUO77.mjs +2 -0
- package/out/__chunks__/chunk-H7E4BCEJ.mjs +2 -0
- package/out/__chunks__/chunk-HIKIVTTW.mjs +2 -0
- package/out/__chunks__/chunk-HLORMFN4.mjs +2 -0
- package/out/__chunks__/chunk-I5OYRIZC.mjs +2 -0
- package/out/__chunks__/chunk-IE3A2COQ.mjs +2 -0
- package/out/__chunks__/chunk-IFIL5YA5.mjs +2 -0
- package/out/__chunks__/chunk-IFIL5YA5.mjs.map +7 -0
- package/out/__chunks__/chunk-IINL5CEU.mjs +2 -0
- package/out/__chunks__/chunk-IVSP42IE.mjs +2 -0
- package/out/__chunks__/chunk-IWHUAAVD.mjs +2 -0
- package/out/__chunks__/chunk-IXGPMW52.mjs +2 -0
- package/out/__chunks__/chunk-J6N7KVXV.mjs +2 -0
- package/out/__chunks__/chunk-JAIA24ND.mjs +2 -0
- package/out/__chunks__/chunk-JIAKT3GI.mjs +2 -0
- package/out/__chunks__/chunk-JMC7CMTU.mjs +2 -0
- package/out/__chunks__/chunk-K4ITACAF.mjs +2 -0
- package/out/__chunks__/chunk-K7R2V5KX.mjs +2 -0
- package/out/__chunks__/chunk-KXK3FLN2.mjs +2 -0
- package/out/__chunks__/chunk-LM2GCQL5.mjs +2 -0
- package/out/__chunks__/chunk-LN5UXO64.mjs +2 -0
- package/out/__chunks__/chunk-LWDK4NX3.mjs +2 -0
- package/out/__chunks__/chunk-M2ZSNGPS.mjs +2 -0
- package/out/__chunks__/chunk-M5T2OACP.mjs +2 -0
- package/out/__chunks__/chunk-MDVI45IV.mjs +2 -0
- package/out/__chunks__/chunk-ML7FXWAD.mjs +2 -0
- package/out/__chunks__/chunk-MSQGMOCS.mjs +2 -0
- package/out/__chunks__/chunk-N5DIMOWZ.mjs +2 -0
- package/out/__chunks__/chunk-NEHR66XQ.mjs +2 -0
- package/out/__chunks__/chunk-NEHR66XQ.mjs.map +7 -0
- package/out/__chunks__/chunk-NKUK5GFB.mjs +2 -0
- package/out/__chunks__/chunk-NRXYSTRW.mjs +2 -0
- package/out/__chunks__/chunk-NRXYSTRW.mjs.map +7 -0
- package/out/__chunks__/chunk-NTEMINYA.mjs +2 -0
- package/out/__chunks__/chunk-NTEMINYA.mjs.map +7 -0
- package/out/__chunks__/chunk-NVE5YTZK.mjs +2 -0
- package/out/__chunks__/chunk-ODPJDT5F.mjs +2 -0
- package/out/__chunks__/chunk-ODPJDT5F.mjs.map +7 -0
- package/out/__chunks__/chunk-OLOCTHIE.mjs +2 -0
- package/out/__chunks__/chunk-OX6DILCF.mjs +2 -0
- 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-PHOF3Z5D.mjs +2 -0
- package/out/__chunks__/chunk-PJWJZHIS.mjs +2 -0
- package/out/__chunks__/chunk-PJWJZHIS.mjs.map +7 -0
- package/out/__chunks__/chunk-PWXGNRYT.mjs +2 -0
- package/out/__chunks__/chunk-PWXGNRYT.mjs.map +7 -0
- package/out/__chunks__/chunk-Q5Z34JFU.mjs +3 -0
- package/out/__chunks__/chunk-QAHFVBCD.mjs +2 -0
- package/out/__chunks__/chunk-QGNMCCFK.mjs +2 -0
- package/out/__chunks__/chunk-QQAW7UC2.mjs +2 -0
- package/out/__chunks__/chunk-QS2RBVTW.mjs +2 -0
- package/out/__chunks__/chunk-RD2EB7NA.mjs +2 -0
- package/out/__chunks__/chunk-RHCAOCW3.mjs +2 -0
- package/out/__chunks__/chunk-RPTQJKFR.mjs +2 -0
- package/out/__chunks__/chunk-RSVM3MZD.mjs +2 -0
- package/out/__chunks__/chunk-RU7UYXPW.mjs +2 -0
- package/out/__chunks__/chunk-S5VF4GWN.mjs +2 -0
- package/out/__chunks__/chunk-S6EACMBJ.mjs +2 -0
- package/out/__chunks__/chunk-SKCBMUQL.mjs +2 -0
- package/out/__chunks__/chunk-TRIPQLQM.mjs +2 -0
- package/out/__chunks__/chunk-TZ2EDK3R.mjs +2 -0
- package/out/__chunks__/chunk-U3UMCTU6.mjs +2 -0
- package/out/__chunks__/chunk-U4ZCGUVE.mjs +2 -0
- package/out/__chunks__/chunk-U7E2AVPF.mjs +2 -0
- package/out/__chunks__/chunk-UCJMQJM4.mjs +2 -0
- package/out/__chunks__/chunk-UCNS6KD5.mjs +2 -0
- package/out/__chunks__/chunk-UERJ6AKK.mjs +2 -0
- package/out/__chunks__/chunk-UK5MEKBE.mjs +2 -0
- package/out/__chunks__/chunk-UKGXMWHE.mjs +2 -0
- package/out/__chunks__/chunk-UO4CECP4.mjs +2 -0
- package/out/__chunks__/chunk-UTN4SJ54.mjs +2 -0
- package/out/__chunks__/chunk-UVN6CHEM.mjs +2 -0
- package/out/__chunks__/chunk-VG7UDG2S.mjs +2 -0
- package/out/__chunks__/chunk-WBPXPWSV.mjs +2 -0
- package/out/__chunks__/chunk-WIHG6SHO.mjs +2 -0
- package/out/__chunks__/chunk-WTBHS6AM.mjs +2 -0
- package/out/__chunks__/chunk-WZGG2YKQ.mjs +2 -0
- package/out/__chunks__/chunk-XCVEFI4B.mjs +2 -0
- package/out/__chunks__/chunk-XFYYVB6G.mjs +2 -0
- package/out/__chunks__/chunk-YNXPGS77.mjs +2 -0
- package/out/__chunks__/chunk-YTA6XGBJ.mjs +2 -0
- package/out/__chunks__/chunk-YVVAPGXF.mjs +2 -0
- package/out/__mocks__/data/index.mjs +1 -1
- package/out/__mocks__/index.mjs +1 -1
- package/out/__mocks__/server.mjs +1 -1
- 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/lib/sdkWebviewProvider.d.ts +1 -0
- package/out/lib/sdkWebviewProvider.mjs +2 -0
- package/out/lib/sdkWebviewProvider.mjs.map +7 -0
- 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-266T724O.mjs +0 -2
- package/out/__chunks__/chunk-2I4BJK55.mjs +0 -2
- package/out/__chunks__/chunk-2SOS3KAT.mjs +0 -2
- package/out/__chunks__/chunk-36VCBI2F.mjs +0 -2
- package/out/__chunks__/chunk-3MWXXTQQ.mjs +0 -2
- package/out/__chunks__/chunk-4X3GF5DF.mjs +0 -2
- package/out/__chunks__/chunk-54I7T2PP.mjs +0 -2
- package/out/__chunks__/chunk-5ECETGF7.mjs +0 -2
- package/out/__chunks__/chunk-62EX26PE.mjs +0 -2
- package/out/__chunks__/chunk-673M5M6E.mjs +0 -2
- package/out/__chunks__/chunk-6EBIYJLF.mjs +0 -2
- package/out/__chunks__/chunk-6IACSXVX.mjs +0 -2
- package/out/__chunks__/chunk-6JEPIISC.mjs +0 -2
- package/out/__chunks__/chunk-6RAMYSEC.mjs +0 -2
- package/out/__chunks__/chunk-6RJQVLIY.mjs +0 -2
- package/out/__chunks__/chunk-6TJVNG7O.mjs +0 -2
- package/out/__chunks__/chunk-6W67LK22.mjs +0 -2
- package/out/__chunks__/chunk-7BP53CXF.mjs +0 -2
- package/out/__chunks__/chunk-7D7CRUIW.mjs +0 -2
- package/out/__chunks__/chunk-7D7CRUIW.mjs.map +0 -7
- package/out/__chunks__/chunk-A4RNPJJW.mjs +0 -2
- package/out/__chunks__/chunk-A6IG4DO6.mjs +0 -2
- package/out/__chunks__/chunk-ABHYXD3U.mjs +0 -2
- package/out/__chunks__/chunk-AV4HSXYZ.mjs +0 -2
- package/out/__chunks__/chunk-AZMKY66I.mjs +0 -2
- package/out/__chunks__/chunk-BRBIUWAW.mjs +0 -2
- package/out/__chunks__/chunk-BSWV5MEC.mjs +0 -2
- package/out/__chunks__/chunk-BVKUZJNB.mjs +0 -2
- package/out/__chunks__/chunk-C5X7N2AN.mjs +0 -2
- package/out/__chunks__/chunk-C6NGX4MC.mjs +0 -2
- package/out/__chunks__/chunk-COZTBWPH.mjs +0 -2
- package/out/__chunks__/chunk-CQ5GZXM5.mjs +0 -2
- package/out/__chunks__/chunk-D5IP4ZG2.mjs +0 -2
- package/out/__chunks__/chunk-DHPD6E7P.mjs +0 -2
- package/out/__chunks__/chunk-DIV6ZH5K.mjs +0 -2
- package/out/__chunks__/chunk-DNHKXKYY.mjs +0 -2
- package/out/__chunks__/chunk-DPUWJW5E.mjs +0 -2
- package/out/__chunks__/chunk-DT6YLEPL.mjs +0 -2
- package/out/__chunks__/chunk-DV3XIKOX.mjs +0 -2
- package/out/__chunks__/chunk-EQEYL6AE.mjs +0 -2
- package/out/__chunks__/chunk-EVTERXBU.mjs +0 -2
- package/out/__chunks__/chunk-FEFZKA2B.mjs +0 -2
- package/out/__chunks__/chunk-FFHVVGYW.mjs +0 -2
- package/out/__chunks__/chunk-FFHVVGYW.mjs.map +0 -7
- package/out/__chunks__/chunk-FIVH6RKU.mjs +0 -2
- package/out/__chunks__/chunk-FZS7JL2U.mjs +0 -2
- package/out/__chunks__/chunk-HCAXI2LY.mjs +0 -2
- package/out/__chunks__/chunk-HVEI4BFC.mjs +0 -2
- package/out/__chunks__/chunk-HVEI4BFC.mjs.map +0 -7
- package/out/__chunks__/chunk-I6BAZCYU.mjs +0 -2
- package/out/__chunks__/chunk-I7NIOE4D.mjs +0 -2
- package/out/__chunks__/chunk-ICZ6YALG.mjs +0 -2
- package/out/__chunks__/chunk-IHKF4UNO.mjs +0 -2
- package/out/__chunks__/chunk-IP3MMHXY.mjs +0 -2
- package/out/__chunks__/chunk-ISPRIGOE.mjs +0 -2
- package/out/__chunks__/chunk-J4CPYFK6.mjs +0 -2
- package/out/__chunks__/chunk-J4CPYFK6.mjs.map +0 -7
- package/out/__chunks__/chunk-JESUVU73.mjs +0 -2
- package/out/__chunks__/chunk-JIJSBQEU.mjs +0 -2
- package/out/__chunks__/chunk-JQ47IJOB.mjs +0 -2
- package/out/__chunks__/chunk-JQTCROGW.mjs +0 -2
- package/out/__chunks__/chunk-KDCMWWIT.mjs +0 -2
- package/out/__chunks__/chunk-KGXIPD5I.mjs +0 -2
- package/out/__chunks__/chunk-KIQBMB2Y.mjs +0 -2
- package/out/__chunks__/chunk-KN7QMGWV.mjs +0 -2
- package/out/__chunks__/chunk-KO5KDKZ7.mjs +0 -2
- package/out/__chunks__/chunk-KSKOSHYV.mjs +0 -2
- package/out/__chunks__/chunk-KU74A6T3.mjs +0 -2
- package/out/__chunks__/chunk-KZC44J42.mjs +0 -2
- package/out/__chunks__/chunk-LIPGE2RA.mjs +0 -2
- package/out/__chunks__/chunk-LJ5JGAYL.mjs +0 -2
- package/out/__chunks__/chunk-LTHGO7JM.mjs +0 -2
- package/out/__chunks__/chunk-LUDF7ZUR.mjs +0 -2
- package/out/__chunks__/chunk-M7EUMCPG.mjs +0 -2
- package/out/__chunks__/chunk-MD7CSIXL.mjs +0 -2
- package/out/__chunks__/chunk-MELQLFCR.mjs +0 -2
- package/out/__chunks__/chunk-MFK6BEXF.mjs +0 -2
- package/out/__chunks__/chunk-MOOY3SNQ.mjs +0 -2
- package/out/__chunks__/chunk-MYSCFOXV.mjs +0 -2
- package/out/__chunks__/chunk-NO7YH2FT.mjs +0 -2
- package/out/__chunks__/chunk-O3V4TGXK.mjs +0 -2
- package/out/__chunks__/chunk-O4DQ3TWG.mjs +0 -2
- package/out/__chunks__/chunk-OZCEAS6L.mjs +0 -2
- package/out/__chunks__/chunk-P3BXXGQA.mjs +0 -2
- package/out/__chunks__/chunk-PFXB2A66.mjs +0 -2
- package/out/__chunks__/chunk-PFXB2A66.mjs.map +0 -7
- package/out/__chunks__/chunk-PO27JYMA.mjs +0 -2
- package/out/__chunks__/chunk-PQY2A63Y.mjs +0 -2
- package/out/__chunks__/chunk-PWEOLD6L.mjs +0 -2
- package/out/__chunks__/chunk-PWEOLD6L.mjs.map +0 -7
- package/out/__chunks__/chunk-QJSB5NX4.mjs +0 -2
- package/out/__chunks__/chunk-QSBLXZFC.mjs +0 -2
- package/out/__chunks__/chunk-QZGJ5DCM.mjs +0 -2
- package/out/__chunks__/chunk-R53MCZI6.mjs +0 -2
- package/out/__chunks__/chunk-R53MCZI6.mjs.map +0 -7
- package/out/__chunks__/chunk-R5SGFTE7.mjs +0 -2
- package/out/__chunks__/chunk-ROYSFSCI.mjs +0 -2
- package/out/__chunks__/chunk-RT44V62F.mjs +0 -2
- package/out/__chunks__/chunk-RU7LAHKK.mjs +0 -2
- package/out/__chunks__/chunk-RVEEVVOA.mjs +0 -2
- package/out/__chunks__/chunk-SRX2EMTG.mjs +0 -2
- package/out/__chunks__/chunk-SXECAH2A.mjs +0 -2
- package/out/__chunks__/chunk-T2BUXSZ5.mjs +0 -2
- package/out/__chunks__/chunk-T4BJTXVW.mjs +0 -2
- package/out/__chunks__/chunk-U22MXHMS.mjs +0 -2
- package/out/__chunks__/chunk-U7R4JK6U.mjs +0 -2
- package/out/__chunks__/chunk-UAW7SD6P.mjs +0 -2
- package/out/__chunks__/chunk-V4Z4FQJO.mjs +0 -2
- package/out/__chunks__/chunk-VJ2DAL5M.mjs +0 -2
- package/out/__chunks__/chunk-VMFJUT3G.mjs +0 -2
- package/out/__chunks__/chunk-VMFJUT3G.mjs.map +0 -7
- package/out/__chunks__/chunk-VTJUZ3TY.mjs +0 -2
- package/out/__chunks__/chunk-VWYDJFJH.mjs +0 -2
- package/out/__chunks__/chunk-XALHL7VA.mjs +0 -2
- package/out/__chunks__/chunk-XLVZQDL3.mjs +0 -2
- package/out/__chunks__/chunk-XTJQ2D6K.mjs +0 -2
- package/out/__chunks__/chunk-XVAA5JSP.mjs +0 -2
- package/out/__chunks__/chunk-XVFVG64Y.mjs +0 -2
- package/out/__chunks__/chunk-YB7AHPBR.mjs +0 -2
- package/out/__chunks__/chunk-YMNKYTXZ.mjs +0 -2
- package/out/__chunks__/chunk-YNEVRTJM.mjs +0 -2
- package/out/__chunks__/chunk-YRCMHPYS.mjs +0 -2
- package/out/__chunks__/chunk-YTFYVPZO.mjs +0 -2
- package/out/__chunks__/chunk-YUIJMELA.mjs +0 -2
- package/out/__chunks__/chunk-Z5CDCI3Y.mjs +0 -2
- package/out/__chunks__/chunk-ZU7V2CMU.mjs +0 -2
- package/out/__chunks__/chunk-ZXIBFH6X.mjs +0 -3
- 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/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 -35
- 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-LJ5JGAYL.mjs.map → chunk-2ONA7QPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-62EX26PE.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-6IACSXVX.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-KU74A6T3.mjs.map → chunk-3IKGFPT3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SRX2EMTG.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-PQY2A63Y.mjs.map → chunk-5AGNJNHL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O4DQ3TWG.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-ROYSFSCI.mjs.map → chunk-5IKWP24U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D5IP4ZG2.mjs.map → chunk-5J6OW5XP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6RAMYSEC.mjs.map → chunk-5P5FMYGA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C6NGX4MC.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-QZGJ5DCM.mjs.map → chunk-6JIZDYQM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZU7V2CMU.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-M7EUMCPG.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-MOOY3SNQ.mjs.map → chunk-AWVWVATR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-36VCBI2F.mjs.map → chunk-BYJK2EOI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XTJQ2D6K.mjs.map → chunk-C7NS47QA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MFK6BEXF.mjs.map → chunk-CC4DXLNZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YNEVRTJM.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-KZC44J42.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-C5X7N2AN.mjs.map → chunk-DJWI5LZX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MELQLFCR.mjs.map → chunk-DOU66R4K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T2BUXSZ5.mjs.map → chunk-EJ2HUL6D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-54I7T2PP.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-6TJVNG7O.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-673M5M6E.mjs.map → chunk-GMX4XDVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I7NIOE4D.mjs.map → chunk-GSMTFDRE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MYSCFOXV.mjs.map → chunk-GUNYJMJE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OZCEAS6L.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-YMNKYTXZ.mjs.map → chunk-H7E4BCEJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KIQBMB2Y.mjs.map → chunk-HIKIVTTW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BVKUZJNB.mjs.map → chunk-HLORMFN4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CQ5GZXM5.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-JESUVU73.mjs.map → chunk-IINL5CEU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A4RNPJJW.mjs.map → chunk-IVSP42IE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6JEPIISC.mjs.map → chunk-IWHUAAVD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KO5KDKZ7.mjs.map → chunk-IXGPMW52.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LTHGO7JM.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-ICZ6YALG.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-DIV6ZH5K.mjs.map → chunk-K7R2V5KX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KDCMWWIT.mjs.map → chunk-KXK3FLN2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5ECETGF7.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-VWYDJFJH.mjs.map → chunk-LWDK4NX3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VTJUZ3TY.mjs.map → chunk-M2ZSNGPS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SXECAH2A.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-U7R4JK6U.mjs.map → chunk-ML7FXWAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PO27JYMA.mjs.map → chunk-MSQGMOCS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RT44V62F.mjs.map → chunk-N5DIMOWZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JQ47IJOB.mjs.map → chunk-NKUK5GFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-COZTBWPH.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-6RJQVLIY.mjs.map → chunk-OX6DILCF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HCAXI2LY.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-XVFVG64Y.mjs.map → chunk-QAHFVBCD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6EBIYJLF.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-FZS7JL2U.mjs.map → chunk-QS2RBVTW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T4BJTXVW.mjs.map → chunk-RD2EB7NA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IP3MMHXY.mjs.map → chunk-RHCAOCW3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V4Z4FQJO.mjs.map → chunk-RPTQJKFR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6W67LK22.mjs.map → chunk-RSVM3MZD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4X3GF5DF.mjs.map → chunk-RU7UYXPW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R5SGFTE7.mjs.map → chunk-S5VF4GWN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RU7LAHKK.mjs.map → chunk-S6EACMBJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KGXIPD5I.mjs.map → chunk-SKCBMUQL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U22MXHMS.mjs.map → chunk-TRIPQLQM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EVTERXBU.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-XALHL7VA.mjs.map → chunk-U7E2AVPF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XLVZQDL3.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-JQTCROGW.mjs.map → chunk-UKGXMWHE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MD7CSIXL.mjs.map → chunk-UO4CECP4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A6IG4DO6.mjs.map → chunk-UTN4SJ54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YUIJMELA.mjs.map → chunk-UVN6CHEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RVEEVVOA.mjs.map → chunk-VG7UDG2S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I6BAZCYU.mjs.map → chunk-WBPXPWSV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DPUWJW5E.mjs.map → chunk-WIHG6SHO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AZMKY66I.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-YRCMHPYS.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-IHKF4UNO.mjs.map → chunk-YTA6XGBJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XVAA5JSP.mjs.map → chunk-YVVAPGXF.mjs.map} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const capitalize_1 = require("../capitalize");
|
|
4
|
-
describe('capitalize tests', () => {
|
|
5
|
-
const str = 'multiversX';
|
|
6
|
-
it('capitalizes the word correctly', () => {
|
|
7
|
-
expect((0, capitalize_1.capitalize)(str)).toStrictEqual('MultiversX');
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=capitalize.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capitalize.test.js","sourceRoot":"","sources":["../../../../src/utils/operations/tests/capitalize.test.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,MAAM,GAAG,GAAG,YAAY,CAAC;IAEzB,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACxC,MAAM,CAAC,IAAA,uBAAU,EAAC,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const getUsdValue_1 = require("../getUsdValue");
|
|
4
|
-
describe('getUsdValue tests', () => {
|
|
5
|
-
it('formats amount', () => {
|
|
6
|
-
expect((0, getUsdValue_1.getUsdValue)({
|
|
7
|
-
amount: '2',
|
|
8
|
-
usd: 40,
|
|
9
|
-
decimals: 4,
|
|
10
|
-
addEqualSign: true
|
|
11
|
-
})).toBe('≈ $80.0000');
|
|
12
|
-
});
|
|
13
|
-
it('shows = for 0', () => {
|
|
14
|
-
expect((0, getUsdValue_1.getUsdValue)({
|
|
15
|
-
amount: '0',
|
|
16
|
-
usd: 40,
|
|
17
|
-
addEqualSign: true
|
|
18
|
-
})).toBe('= $0.00');
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
//# sourceMappingURL=getUsdValue.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUsdValue.test.js","sourceRoot":"","sources":["../../../../src/utils/operations/tests/getUsdValue.test.ts"],"names":[],"mappings":";;AAAA,gDAA6C;AAE7C,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,gBAAgB,EAAE,GAAG,EAAE;QACxB,MAAM,CACJ,IAAA,yBAAW,EAAC;YACV,MAAM,EAAE,GAAG;YACX,GAAG,EAAE,EAAE;YACP,QAAQ,EAAE,CAAC;YACX,YAAY,EAAE,IAAI;SACnB,CAAC,CACH,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE;QACvB,MAAM,CACJ,IAAA,yBAAW,EAAC;YACV,MAAM,EAAE,GAAG;YACX,GAAG,EAAE,EAAE;YACP,YAAY,EAAE,IAAI;SACnB,CAAC,CACH,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const pluralize_1 = require("../pluralize");
|
|
4
|
-
describe('pluralize tests', () => {
|
|
5
|
-
const str = 'item';
|
|
6
|
-
it('pluralizes correctly when no items are present', () => {
|
|
7
|
-
const count = 0;
|
|
8
|
-
expect((0, pluralize_1.pluralize)(str, count)).toStrictEqual('items');
|
|
9
|
-
});
|
|
10
|
-
it('pluralizes correctly when 1 item is present', () => {
|
|
11
|
-
const count = 1;
|
|
12
|
-
expect((0, pluralize_1.pluralize)(str, count)).toStrictEqual('item');
|
|
13
|
-
});
|
|
14
|
-
it('pluralizes correctly when more items are present', () => {
|
|
15
|
-
const count = 2;
|
|
16
|
-
expect((0, pluralize_1.pluralize)(str, count)).toStrictEqual('items');
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=pluralize.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pluralize.spec.js","sourceRoot":"","sources":["../../../../src/utils/operations/tests/pluralize.spec.ts"],"names":[],"mappings":";;AAAA,4CAAyC;AAEzC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,MAAM,GAAG,GAAG,MAAM,CAAC;IAEnB,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;QACxD,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,CAAC,IAAA,qBAAS,EAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,CAAC,IAAA,qBAAS,EAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE;QAC1D,MAAM,KAAK,GAAG,CAAC,CAAC;QAChB,MAAM,CAAC,IAAA,qBAAS,EAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const timeRemaining_1 = require("../timeRemaining");
|
|
4
|
-
describe('timeRemaining tests - short time format', () => {
|
|
5
|
-
const entries = [
|
|
6
|
-
[1076, '17 min'],
|
|
7
|
-
[3976, '1 hr'],
|
|
8
|
-
[5286, '1 hr']
|
|
9
|
-
];
|
|
10
|
-
for (let i = 0; i < entries.length; i++) {
|
|
11
|
-
const [input, output] = entries[i];
|
|
12
|
-
test(`parse ${input} -> ${output}`, () => {
|
|
13
|
-
const result = (0, timeRemaining_1.timeRemaining)(input);
|
|
14
|
-
expect(result).toStrictEqual(output);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
describe('timeRemaining tests - long time format', () => {
|
|
19
|
-
const entries = [
|
|
20
|
-
[1076, '17 min 56 sec'],
|
|
21
|
-
[3976, '1 hr 6 min'],
|
|
22
|
-
[5286, '1 hr 28 min']
|
|
23
|
-
];
|
|
24
|
-
for (let i = 0; i < entries.length; i++) {
|
|
25
|
-
const [input, output] = entries[i];
|
|
26
|
-
test(`parse ${input} -> ${output}`, () => {
|
|
27
|
-
const result = (0, timeRemaining_1.timeRemaining)(input, false);
|
|
28
|
-
expect(result).toStrictEqual(output);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=timeRemaining.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timeRemaining.test.js","sourceRoot":"","sources":["../../../../src/utils/operations/tests/timeRemaining.test.ts"],"names":[],"mappings":";;AAAA,oDAAiD;AAEjD,QAAQ,CAAC,yCAAyC,EAAE,GAAG,EAAE;IACvD,MAAM,OAAO,GAAuB;QAClC,CAAC,IAAI,EAAE,QAAQ,CAAC;QAChB,CAAC,IAAI,EAAE,MAAM,CAAC;QACd,CAAC,IAAI,EAAE,MAAM,CAAC;KACf,CAAC;IAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACxC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,SAAS,KAAK,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE;YACvC,MAAM,MAAM,GAAG,IAAA,6BAAa,EAAC,KAAK,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,wCAAwC,EAAE,GAAG,EAAE;IACtD,MAAM,OAAO,GAAuB;QAClC,CAAC,IAAI,EAAE,eAAe,CAAC;QACvB,CAAC,IAAI,EAAE,YAAY,CAAC;QACpB,CAAC,IAAI,EAAE,aAAa,CAAC;KACtB,CAAC;IAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACxC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,SAAS,KAAK,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE;YACvC,MAAM,MAAM,GAAG,IAAA,6BAAa,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const sdkDappUtils_1 = require("../../../lib/sdkDappUtils");
|
|
4
|
-
const trimAmountDecimals_1 = require("../trimAmountDecimals");
|
|
5
|
-
describe('Test the trim function of the given price decimals.', () => {
|
|
6
|
-
test('a price that is zero, with no decimals.', () => {
|
|
7
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
8
|
-
minimumPositiveDecimals: 0,
|
|
9
|
-
amount: sdkDappUtils_1.ZERO
|
|
10
|
-
});
|
|
11
|
-
expect(actualResult).toBe(sdkDappUtils_1.ZERO);
|
|
12
|
-
});
|
|
13
|
-
test('a price that is zero, with three decimals.', () => {
|
|
14
|
-
const expectedResult = '0.355';
|
|
15
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
16
|
-
minimumPositiveDecimals: 0,
|
|
17
|
-
amount: '0.355'
|
|
18
|
-
});
|
|
19
|
-
expect(actualResult).toBe(expectedResult);
|
|
20
|
-
});
|
|
21
|
-
test('a price above zero, with three decimals.', () => {
|
|
22
|
-
const expectedResult = '45.355';
|
|
23
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
24
|
-
minimumPositiveDecimals: 0,
|
|
25
|
-
amount: '45.355'
|
|
26
|
-
});
|
|
27
|
-
expect(actualResult).toBe(expectedResult);
|
|
28
|
-
});
|
|
29
|
-
test('a price above zero, with no decimals.', () => {
|
|
30
|
-
const expectedResult = '456';
|
|
31
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
32
|
-
minimumPositiveDecimals: 0,
|
|
33
|
-
amount: '456'
|
|
34
|
-
});
|
|
35
|
-
expect(actualResult).toBe(expectedResult);
|
|
36
|
-
});
|
|
37
|
-
test('a price above zero, with minimum three decimals, but input has more that three decimals.', () => {
|
|
38
|
-
const expectedResult = '46.156';
|
|
39
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
40
|
-
minimumPositiveDecimals: 3,
|
|
41
|
-
amount: '46.1564'
|
|
42
|
-
});
|
|
43
|
-
expect(actualResult).toBe(expectedResult);
|
|
44
|
-
});
|
|
45
|
-
test('a price above zero, three decimals, but first three decimals are zero.', () => {
|
|
46
|
-
const expectedResult = '46.0003';
|
|
47
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
48
|
-
minimumPositiveDecimals: 3,
|
|
49
|
-
amount: '46.00036123'
|
|
50
|
-
});
|
|
51
|
-
expect(actualResult).toBe(expectedResult);
|
|
52
|
-
});
|
|
53
|
-
test('a large price, with two decimals, and input has exactly two decimals.', () => {
|
|
54
|
-
const expectedResult = '632,346.64';
|
|
55
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
56
|
-
minimumPositiveDecimals: 2,
|
|
57
|
-
amount: '632,346.64'
|
|
58
|
-
});
|
|
59
|
-
expect(actualResult).toBe(expectedResult);
|
|
60
|
-
});
|
|
61
|
-
test('a large price, with two decimals, and input has exactly two decimals, last one being zero.', () => {
|
|
62
|
-
const expectedResult = '632,346.60';
|
|
63
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
64
|
-
minimumPositiveDecimals: 2,
|
|
65
|
-
amount: '632,346.60'
|
|
66
|
-
});
|
|
67
|
-
expect(actualResult).toBe(expectedResult);
|
|
68
|
-
});
|
|
69
|
-
test('a large price, with two decimals, and input has twenty decimals, last one being above zero.', () => {
|
|
70
|
-
const expectedResult = '632,346.00000000000000000003';
|
|
71
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
72
|
-
minimumPositiveDecimals: 2,
|
|
73
|
-
amount: '632,346.00000000000000000003'
|
|
74
|
-
});
|
|
75
|
-
expect(actualResult).toBe(expectedResult);
|
|
76
|
-
});
|
|
77
|
-
test('a large price, with two decimals, and input has more than two decimals, last two being zero.', () => {
|
|
78
|
-
const expectedResult = '632,346.60';
|
|
79
|
-
const actualResult = (0, trimAmountDecimals_1.trimAmountDecimals)({
|
|
80
|
-
minimumPositiveDecimals: 2,
|
|
81
|
-
amount: '632,346.600'
|
|
82
|
-
});
|
|
83
|
-
expect(actualResult).toBe(expectedResult);
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
//# sourceMappingURL=trimAmountDecimals.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trimAmountDecimals.spec.js","sourceRoot":"","sources":["../../../../src/utils/operations/tests/trimAmountDecimals.spec.ts"],"names":[],"mappings":";;AAAA,mDAAwC;AACxC,8DAA2D;AAE3D,QAAQ,CAAC,qDAAqD,EAAE,GAAG,EAAE;IACnE,IAAI,CAAC,yCAAyC,EAAE,GAAG,EAAE;QACnD,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,mBAAI;SACb,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,mBAAI,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,4CAA4C,EAAE,GAAG,EAAE;QACtD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,OAAO;SAChB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,0CAA0C,EAAE,GAAG,EAAE;QACpD,MAAM,cAAc,GAAG,QAAQ,CAAC;QAChC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,QAAQ;SACjB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;QACjD,MAAM,cAAc,GAAG,KAAK,CAAC;QAC7B,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,KAAK;SACd,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,0FAA0F,EAAE,GAAG,EAAE;QACpG,MAAM,cAAc,GAAG,QAAQ,CAAC;QAChC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,SAAS;SAClB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,wEAAwE,EAAE,GAAG,EAAE;QAClF,MAAM,cAAc,GAAG,SAAS,CAAC;QACjC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,aAAa;SACtB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,uEAAuE,EAAE,GAAG,EAAE;QACjF,MAAM,cAAc,GAAG,YAAY,CAAC;QACpC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,YAAY;SACrB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,4FAA4F,EAAE,GAAG,EAAE;QACtG,MAAM,cAAc,GAAG,YAAY,CAAC;QACpC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,YAAY;SACrB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,6FAA6F,EAAE,GAAG,EAAE;QACvG,MAAM,cAAc,GAAG,8BAA8B,CAAC;QACtD,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,8BAA8B;SACvC,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,8FAA8F,EAAE,GAAG,EAAE;QACxG,MAAM,cAAc,GAAG,YAAY,CAAC;QACpC,MAAM,YAAY,GAAG,IAAA,uCAAkB,EAAC;YACtC,uBAAuB,EAAE,CAAC;YAC1B,MAAM,EAAE,aAAa;SACtB,CAAC,CAAC;QAEH,MAAM,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.timeAgo = exports.getDifferenceInMs = exports.timeRemaining = exports.getRemainingTime = void 0;
|
|
4
|
-
function getRemainingTime(ms) {
|
|
5
|
-
const days = Math.floor(ms / (24 * 60 * 60 * 1000));
|
|
6
|
-
const daysms = ms % (24 * 60 * 60 * 1000);
|
|
7
|
-
const hrs = Math.floor(daysms / (60 * 60 * 1000));
|
|
8
|
-
const hrsms = daysms % (60 * 60 * 1000);
|
|
9
|
-
const mins = Math.floor(hrsms / (60 * 1000));
|
|
10
|
-
const minsms = hrsms % (60 * 1000);
|
|
11
|
-
const secs = Math.floor(minsms / 1000);
|
|
12
|
-
let secsString = secs + ' sec';
|
|
13
|
-
let minsString = mins + ' min';
|
|
14
|
-
let hrsString = hrs + ' hr';
|
|
15
|
-
let daysString = days + ' day';
|
|
16
|
-
if (secs > 1) {
|
|
17
|
-
secsString = secs + ' sec';
|
|
18
|
-
}
|
|
19
|
-
if (mins > 1) {
|
|
20
|
-
minsString = mins + ' min';
|
|
21
|
-
}
|
|
22
|
-
if (hrs > 1) {
|
|
23
|
-
hrsString = hrs + ' hrs';
|
|
24
|
-
}
|
|
25
|
-
if (days > 1) {
|
|
26
|
-
daysString = days + ' days';
|
|
27
|
-
}
|
|
28
|
-
if (days >= 1) {
|
|
29
|
-
return daysString + ' ' + hrsString;
|
|
30
|
-
}
|
|
31
|
-
if (hrs >= 1) {
|
|
32
|
-
const minutesString = mins === 0 ? '' : ' ' + minsString;
|
|
33
|
-
return hrsString + minutesString;
|
|
34
|
-
}
|
|
35
|
-
if (mins >= 1) {
|
|
36
|
-
const secString = secs === 0 ? '' : ' ' + secsString;
|
|
37
|
-
return minsString + secString;
|
|
38
|
-
}
|
|
39
|
-
return secsString;
|
|
40
|
-
}
|
|
41
|
-
exports.getRemainingTime = getRemainingTime;
|
|
42
|
-
function getShortDateTimeFormat(datetime) {
|
|
43
|
-
const parts = datetime.split(' ');
|
|
44
|
-
if (parts.length > 1) {
|
|
45
|
-
return `${parts[0]} ${parts[1]}`;
|
|
46
|
-
}
|
|
47
|
-
return datetime;
|
|
48
|
-
}
|
|
49
|
-
const getUTCDateNow = (date = new Date(), extendedSeconds = 0) => Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds() + extendedSeconds, date.getUTCMilliseconds());
|
|
50
|
-
function getUTCdiffInMs(duration) {
|
|
51
|
-
const date = new Date();
|
|
52
|
-
const startDate = getUTCDateNow(date);
|
|
53
|
-
const endDate = getUTCDateNow(date, duration);
|
|
54
|
-
const diffInMs = Math.max(endDate - startDate, 0);
|
|
55
|
-
return diffInMs;
|
|
56
|
-
}
|
|
57
|
-
function timeRemaining(duration, short = true) {
|
|
58
|
-
const diffInMs = getUTCdiffInMs(duration);
|
|
59
|
-
const remaining = getRemainingTime(diffInMs);
|
|
60
|
-
return short ? getShortDateTimeFormat(remaining) : remaining;
|
|
61
|
-
}
|
|
62
|
-
exports.timeRemaining = timeRemaining;
|
|
63
|
-
function getDifferenceInMs(timestamp) {
|
|
64
|
-
const dateNow = new Date().getTime();
|
|
65
|
-
const difference = dateNow - timestamp;
|
|
66
|
-
const diffInMs = Math.max(difference, 0);
|
|
67
|
-
return diffInMs;
|
|
68
|
-
}
|
|
69
|
-
exports.getDifferenceInMs = getDifferenceInMs;
|
|
70
|
-
function timeAgo(timestamp, short = true) {
|
|
71
|
-
const diffInMs = getDifferenceInMs(timestamp);
|
|
72
|
-
const remaining = getRemainingTime(diffInMs);
|
|
73
|
-
return short ? getShortDateTimeFormat(remaining) : remaining;
|
|
74
|
-
}
|
|
75
|
-
exports.timeAgo = timeAgo;
|
|
76
|
-
//# sourceMappingURL=timeRemaining.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timeRemaining.js","sourceRoot":"","sources":["../../../src/utils/operations/timeRemaining.ts"],"names":[],"mappings":";;;AAAA,SAAgB,gBAAgB,CAAC,EAAU;IACzC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IACpD,MAAM,MAAM,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IAC1C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IAClD,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACxC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7C,MAAM,MAAM,GAAG,KAAK,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;IACnC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAEvC,IAAI,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC;IAC/B,IAAI,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC;IAC/B,IAAI,SAAS,GAAG,GAAG,GAAG,KAAK,CAAC;IAC5B,IAAI,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC;IAE/B,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACb,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC;IAC7B,CAAC;IACD,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACb,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC;IAC7B,CAAC;IACD,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;QACZ,SAAS,GAAG,GAAG,GAAG,MAAM,CAAC;IAC3B,CAAC;IACD,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACb,UAAU,GAAG,IAAI,GAAG,OAAO,CAAC;IAC9B,CAAC;IAED,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACd,OAAO,UAAU,GAAG,GAAG,GAAG,SAAS,CAAC;IACtC,CAAC;IACD,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;QACb,MAAM,aAAa,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,UAAU,CAAC;QACzD,OAAO,SAAS,GAAG,aAAa,CAAC;IACnC,CAAC;IACD,IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;QACd,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,UAAU,CAAC;QACrD,OAAO,UAAU,GAAG,SAAS,CAAC;IAChC,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC;AAxCD,4CAwCC;AAED,SAAS,sBAAsB,CAAC,QAAgB;IAC9C,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAClC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IACnC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,aAAa,GAAG,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,EAAE,eAAe,GAAG,CAAC,EAAE,EAAE,CAC/D,IAAI,CAAC,GAAG,CACN,IAAI,CAAC,cAAc,EAAE,EACrB,IAAI,CAAC,WAAW,EAAE,EAClB,IAAI,CAAC,UAAU,EAAE,EACjB,IAAI,CAAC,WAAW,EAAE,EAClB,IAAI,CAAC,aAAa,EAAE,EACpB,IAAI,CAAC,aAAa,EAAE,GAAG,eAAe,EACtC,IAAI,CAAC,kBAAkB,EAAE,CAC1B,CAAC;AAEJ,SAAS,cAAc,CAAC,QAAgB;IACtC,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IACxB,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;IACtC,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,SAAS,EAAE,CAAC,CAAC,CAAC;IAClD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAgB,aAAa,CAAC,QAAgB,EAAE,KAAK,GAAG,IAAI;IAC1D,MAAM,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;IAC1C,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7C,OAAO,KAAK,CAAC,CAAC,CAAC,sBAAsB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/D,CAAC;AAJD,sCAIC;AAED,SAAgB,iBAAiB,CAAC,SAAiB;IACjD,MAAM,OAAO,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACrC,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC;IACvC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAEzC,OAAO,QAAQ,CAAC;AAClB,CAAC;AAND,8CAMC;AAED,SAAgB,OAAO,CAAC,SAAiB,EAAE,KAAK,GAAG,IAAI;IACrD,MAAM,QAAQ,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAC9C,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAE7C,OAAO,KAAK,CAAC,CAAC,CAAC,sBAAsB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/D,CAAC;AALD,0BAKC"}
|
|
@@ -1,27 +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.trimAmountDecimals = void 0;
|
|
7
|
-
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
8
|
-
const sdkDappUtils_1 = require("../../lib/sdkDappUtils");
|
|
9
|
-
const trimAmountDecimals = ({ amount, minimumPositiveDecimals }) => {
|
|
10
|
-
const [mainPrice, decimalPrice] = amount.split('.');
|
|
11
|
-
const decimalPriceArray = decimalPrice ? decimalPrice.split('') : [];
|
|
12
|
-
const trimmedDecimals = decimalPriceArray.reduce((total, decimal, index) => {
|
|
13
|
-
const decimalAboveZero = new bignumber_js_1.default(total).isGreaterThan(sdkDappUtils_1.ZERO);
|
|
14
|
-
const minimumDecimalsReached = index > minimumPositiveDecimals - 1;
|
|
15
|
-
const shouldReturnTotal = decimalAboveZero && minimumDecimalsReached && minimumPositiveDecimals > 0;
|
|
16
|
-
if (shouldReturnTotal) {
|
|
17
|
-
return total;
|
|
18
|
-
}
|
|
19
|
-
return total.concat(decimal);
|
|
20
|
-
}, '');
|
|
21
|
-
if (!trimmedDecimals) {
|
|
22
|
-
return mainPrice;
|
|
23
|
-
}
|
|
24
|
-
return `${mainPrice}.${trimmedDecimals}`;
|
|
25
|
-
};
|
|
26
|
-
exports.trimAmountDecimals = trimAmountDecimals;
|
|
27
|
-
//# sourceMappingURL=trimAmountDecimals.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"trimAmountDecimals.js","sourceRoot":"","sources":["../../../src/utils/operations/trimAmountDecimals.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAErC,mDAAwC;AAOjC,MAAM,kBAAkB,GAAG,CAAC,EACjC,MAAM,EACN,uBAAuB,EACH,EAAU,EAAE;IAChC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEpD,MAAM,iBAAiB,GAAG,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACrE,MAAM,eAAe,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QACzE,MAAM,gBAAgB,GAAG,IAAI,sBAAS,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,mBAAI,CAAC,CAAC;QAClE,MAAM,sBAAsB,GAAG,KAAK,GAAG,uBAAuB,GAAG,CAAC,CAAC;QAEnE,MAAM,iBAAiB,GACrB,gBAAgB,IAAI,sBAAsB,IAAI,uBAAuB,GAAG,CAAC,CAAC;QAE5E,IAAI,iBAAiB,EAAE,CAAC;YACtB,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,SAAS,IAAI,eAAe,EAAE,CAAC;AAC3C,CAAC,CAAC;AA1BW,QAAA,kBAAkB,sBA0B7B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.retryMultipleTimes = void 0;
|
|
4
|
-
const asyncActions_1 = require("./asyncActions");
|
|
5
|
-
const executeAsyncCall = async (cb, options, args, retries = 0) => {
|
|
6
|
-
try {
|
|
7
|
-
return await cb(...args);
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
|
-
}
|
|
10
|
-
catch (error) {
|
|
11
|
-
if (retries < options.retries) {
|
|
12
|
-
if (options?.delay != null) {
|
|
13
|
-
await (0, asyncActions_1.sleep)(options.delay);
|
|
14
|
-
}
|
|
15
|
-
return await executeAsyncCall(cb, options, args, retries + 1);
|
|
16
|
-
}
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
const retryMultipleTimes = (cb, options = { retries: 5, delay: 500 }) => async (...args) => {
|
|
21
|
-
return await executeAsyncCall(cb, options, args);
|
|
22
|
-
};
|
|
23
|
-
exports.retryMultipleTimes = retryMultipleTimes;
|
|
24
|
-
//# sourceMappingURL=retryMultipleTimes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retryMultipleTimes.js","sourceRoot":"","sources":["../../src/utils/retryMultipleTimes.ts"],"names":[],"mappings":";;;AAAA,iDAAuC;AAOvC,MAAM,gBAAgB,GAAG,KAAK,EAC5B,EAA4B,EAC5B,OAAgB,EAChB,IAAW,EACX,OAAO,GAAG,CAAC,EACU,EAAE;IACvB,IAAI,CAAC;QACH,OAAO,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;QACzB,6DAA6D;IAC/D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;YAC9B,IAAI,OAAO,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC;gBAC3B,MAAM,IAAA,oBAAK,EAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC;YAED,OAAO,MAAM,gBAAgB,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEK,MAAM,kBAAkB,GAC7B,CACE,EAA4B,EAC5B,UAAmB,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAC7C,EAAE,CACJ,KAAK,EAAE,GAAG,IAAW,EAAE,EAAE;IACvB,OAAO,MAAM,gBAAgB,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;AACnD,CAAC,CAAC;AAPS,QAAA,kBAAkB,sBAO3B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.explorerUrlBuilder = void 0;
|
|
4
|
-
const endpoints_1 = require("../../apiCalls/endpoints");
|
|
5
|
-
exports.explorerUrlBuilder = {
|
|
6
|
-
shard: (shard) => `/${endpoints_1.BLOCKS_ENDPOINT}?shard=${shard}`,
|
|
7
|
-
receiverShard: (shard) => `/${endpoints_1.TRANSACTIONS_ENDPOINT}?receivershard=${shard}`,
|
|
8
|
-
senderShard: (shard) => `/${endpoints_1.TRANSACTIONS_ENDPOINT}?sendershard=${shard}`,
|
|
9
|
-
transactionDetails: (hash) => `/${endpoints_1.TRANSACTIONS_ENDPOINT}/${hash}`,
|
|
10
|
-
transactionDetailsScResults: (hash) => `/${endpoints_1.TRANSACTIONS_ENDPOINT}/${hash}/${endpoints_1.SC_RESULTS_ENDPOINT}`,
|
|
11
|
-
transactionDetailsLogs: (hash) => `/${endpoints_1.TRANSACTIONS_ENDPOINT}/${hash}/${endpoints_1.LOGS_ENDPOINT}`,
|
|
12
|
-
nodeDetails: (publicKey) => `/${endpoints_1.NODES_ENDPOINT}/${publicKey}`,
|
|
13
|
-
accountDetails: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}`,
|
|
14
|
-
accountDetailsContractCode: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}/${endpoints_1.CODE_ENDPOINT}`,
|
|
15
|
-
accountDetailsTokens: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}/${endpoints_1.TOKENS_ENDPOINT}`,
|
|
16
|
-
accountDetailsNfts: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}/${endpoints_1.NFTS_ENDPOINT}`,
|
|
17
|
-
accountDetailsScResults: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}/${endpoints_1.SC_RESULTS_ENDPOINT}`,
|
|
18
|
-
accountDetailsContracts: (address) => `/${endpoints_1.ACCOUNTS_ENDPOINT}/${address}/${endpoints_1.CONTRACTS_ENDPOINT}`,
|
|
19
|
-
identityDetails: (id) => `/${endpoints_1.IDENTITIES_ENDPOINT}/${id}`,
|
|
20
|
-
tokenDetails: (tokenId) => `/${endpoints_1.TOKENS_ENDPOINT}/${tokenId}`,
|
|
21
|
-
tokenDetailsAccounts: (tokenId) => `/${endpoints_1.TOKENS_ENDPOINT}/${tokenId}/${endpoints_1.ACCOUNTS_ENDPOINT}`,
|
|
22
|
-
tokenDetailsLockedAccounts: (tokenId) => `/${endpoints_1.TOKENS_ENDPOINT}/${tokenId}/${endpoints_1.LOCKED_ACCOUNTS_ENDPOINT}`,
|
|
23
|
-
tokenDetailsRoles: (tokenId) => `/${endpoints_1.TOKENS_ENDPOINT}/${tokenId}/${endpoints_1.ROLES_ENDPOINT}`,
|
|
24
|
-
collectionDetails: (identifier) => `/${endpoints_1.COLLECTIONS_ENDPOINT}/${identifier}`,
|
|
25
|
-
nftDetails: (identifier) => `/${endpoints_1.NFTS_ENDPOINT}/${identifier}`,
|
|
26
|
-
providerDetails: (address) => `/${endpoints_1.PROVIDERS_ENDPOINT}/${address}`,
|
|
27
|
-
providerDetailsTransactions: (address) => `/${endpoints_1.PROVIDERS_ENDPOINT}/${address}/${endpoints_1.TRANSACTIONS_ENDPOINT}`,
|
|
28
|
-
miniblockDetails: (hash) => `/${endpoints_1.MINIBLOCKS_ENDPOINT}/${hash}`
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=explorerUrlBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"explorerUrlBuilder.js","sourceRoot":"","sources":["../../../src/utils/transactions/explorerUrlBuilder.ts"],"names":[],"mappings":";;;AAAA,kDAiB4B;AAEf,QAAA,kBAAkB,GAAG;IAChC,KAAK,EAAE,CAAC,KAAsB,EAAE,EAAE,CAAC,IAAI,2BAAe,UAAU,KAAK,EAAE;IACvE,aAAa,EAAE,CAAC,KAAsB,EAAE,EAAE,CACxC,IAAI,iCAAqB,kBAAkB,KAAK,EAAE;IACpD,WAAW,EAAE,CAAC,KAAsB,EAAE,EAAE,CACtC,IAAI,iCAAqB,gBAAgB,KAAK,EAAE;IAClD,kBAAkB,EAAE,CAAC,IAAqB,EAAE,EAAE,CAC5C,IAAI,iCAAqB,IAAI,IAAI,EAAE;IACrC,2BAA2B,EAAE,CAAC,IAAY,EAAE,EAAE,CAC5C,IAAI,iCAAqB,IAAI,IAAI,IAAI,+BAAmB,EAAE;IAC5D,sBAAsB,EAAE,CAAC,IAAY,EAAE,EAAE,CACvC,IAAI,iCAAqB,IAAI,IAAI,IAAI,yBAAa,EAAE;IACtD,WAAW,EAAE,CAAC,SAAiB,EAAE,EAAE,CAAC,IAAI,0BAAc,IAAI,SAAS,EAAE;IACrE,cAAc,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,IAAI,6BAAiB,IAAI,OAAO,EAAE;IACvE,0BAA0B,EAAE,CAAC,OAAe,EAAE,EAAE,CAC9C,IAAI,6BAAiB,IAAI,OAAO,IAAI,yBAAa,EAAE;IACrD,oBAAoB,EAAE,CAAC,OAAe,EAAE,EAAE,CACxC,IAAI,6BAAiB,IAAI,OAAO,IAAI,2BAAe,EAAE;IACvD,kBAAkB,EAAE,CAAC,OAAe,EAAE,EAAE,CACtC,IAAI,6BAAiB,IAAI,OAAO,IAAI,yBAAa,EAAE;IACrD,uBAAuB,EAAE,CAAC,OAAe,EAAE,EAAE,CAC3C,IAAI,6BAAiB,IAAI,OAAO,IAAI,+BAAmB,EAAE;IAC3D,uBAAuB,EAAE,CAAC,OAAe,EAAE,EAAE,CAC3C,IAAI,6BAAiB,IAAI,OAAO,IAAI,8BAAkB,EAAE;IAC1D,eAAe,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,+BAAmB,IAAI,EAAE,EAAE;IAChE,YAAY,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,IAAI,2BAAe,IAAI,OAAO,EAAE;IACnE,oBAAoB,EAAE,CAAC,OAAe,EAAE,EAAE,CACxC,IAAI,2BAAe,IAAI,OAAO,IAAI,6BAAiB,EAAE;IACvD,0BAA0B,EAAE,CAAC,OAAe,EAAE,EAAE,CAC9C,IAAI,2BAAe,IAAI,OAAO,IAAI,oCAAwB,EAAE;IAC9D,iBAAiB,EAAE,CAAC,OAAe,EAAE,EAAE,CACrC,IAAI,2BAAe,IAAI,OAAO,IAAI,0BAAc,EAAE;IACpD,iBAAiB,EAAE,CAAC,UAAkB,EAAE,EAAE,CACxC,IAAI,gCAAoB,IAAI,UAAU,EAAE;IAC1C,UAAU,EAAE,CAAC,UAAkB,EAAE,EAAE,CAAC,IAAI,yBAAa,IAAI,UAAU,EAAE;IACrE,eAAe,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,IAAI,8BAAkB,IAAI,OAAO,EAAE;IACzE,2BAA2B,EAAE,CAAC,OAAe,EAAE,EAAE,CAC/C,IAAI,8BAAkB,IAAI,OAAO,IAAI,iCAAqB,EAAE;IAC9D,gBAAgB,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,+BAAmB,IAAI,IAAI,EAAE;CACtE,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getActiveTransactionsStatus = void 0;
|
|
4
|
-
const transactionsSelector_1 = require("../../store/selectors/transactionsSelector");
|
|
5
|
-
const store_1 = require("../../store/store");
|
|
6
|
-
function getActiveTransactionsStatus() {
|
|
7
|
-
const state = (0, store_1.getState)();
|
|
8
|
-
const timedOutTransactions = (0, transactionsSelector_1.timedOutTransactionsSelector)(state);
|
|
9
|
-
const failedTransactions = (0, transactionsSelector_1.failedTransactionsSelector)(state);
|
|
10
|
-
const successfulTransactions = (0, transactionsSelector_1.successfulTransactionsSelector)(state);
|
|
11
|
-
const pendingTransactions = (0, transactionsSelector_1.pendingTransactionsSelector)(state);
|
|
12
|
-
const pending = Object.keys(pendingTransactions)?.length > 0;
|
|
13
|
-
const timedOut = !pending && Object.keys(timedOutTransactions)?.length > 0;
|
|
14
|
-
const fail = !pending && !timedOut && Object.keys(failedTransactions)?.length > 0;
|
|
15
|
-
const success = !pending &&
|
|
16
|
-
!timedOut &&
|
|
17
|
-
!fail &&
|
|
18
|
-
Object.keys(successfulTransactions).length > 0;
|
|
19
|
-
return {
|
|
20
|
-
pending,
|
|
21
|
-
timedOut,
|
|
22
|
-
fail,
|
|
23
|
-
success
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.getActiveTransactionsStatus = getActiveTransactionsStatus;
|
|
27
|
-
//# sourceMappingURL=getActiveTransactionsStatus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getActiveTransactionsStatus.js","sourceRoot":"","sources":["../../../src/utils/transactions/getActiveTransactionsStatus.ts"],"names":[],"mappings":";;;AAAA,+EAK8C;AAC9C,uCAAuC;AASvC,SAAgB,2BAA2B;IACzC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IACzB,MAAM,oBAAoB,GAAG,IAAA,mDAA4B,EAAC,KAAK,CAAC,CAAC;IACjE,MAAM,kBAAkB,GAAG,IAAA,iDAA0B,EAAC,KAAK,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,IAAA,qDAA8B,EAAC,KAAK,CAAC,CAAC;IACrE,MAAM,mBAAmB,GAAG,IAAA,kDAA2B,EAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,QAAQ,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAE3E,MAAM,IAAI,GACR,CAAC,OAAO,IAAI,CAAC,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAEvE,MAAM,OAAO,GACX,CAAC,OAAO;QACR,CAAC,QAAQ;QACT,CAAC,IAAI;QACL,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAEjD,OAAO;QACL,OAAO;QACP,QAAQ;QACR,IAAI;QACJ,OAAO;KACR,CAAC;AACJ,CAAC;AAxBD,kEAwBC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getExplorerLink = void 0;
|
|
4
|
-
let errorMessageDisplayed = false;
|
|
5
|
-
function logError(error) {
|
|
6
|
-
if (!errorMessageDisplayed) {
|
|
7
|
-
console.error(error);
|
|
8
|
-
errorMessageDisplayed = true;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
function getExplorerLink({ explorerAddress, to }) {
|
|
12
|
-
try {
|
|
13
|
-
// if a valid url is sent, return the original url
|
|
14
|
-
const url = new URL(to);
|
|
15
|
-
return url.href;
|
|
16
|
-
}
|
|
17
|
-
catch {
|
|
18
|
-
if (!to.startsWith('/')) {
|
|
19
|
-
logError(`Link not prepended by / : ${to}`);
|
|
20
|
-
to = `/${to}`;
|
|
21
|
-
}
|
|
22
|
-
return explorerAddress ? `${explorerAddress}${to}` : to;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.getExplorerLink = getExplorerLink;
|
|
26
|
-
//# sourceMappingURL=getExplorerLink.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getExplorerLink.js","sourceRoot":"","sources":["../../../src/utils/transactions/getExplorerLink.ts"],"names":[],"mappings":";;;AAAA,IAAI,qBAAqB,GAAG,KAAK,CAAC;AAElC,SAAS,QAAQ,CAAC,KAAa;IAC7B,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC3B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACrB,qBAAqB,GAAG,IAAI,CAAC;IAC/B,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,EAC9B,eAAe,EACf,EAAE,EAIH;IACC,IAAI,CAAC;QACH,kDAAkD;QAClD,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC;QACxB,OAAO,GAAG,CAAC,IAAI,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YACxB,QAAQ,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;YAC5C,EAAE,GAAG,IAAI,EAAE,EAAE,CAAC;QAChB,CAAC;QACD,OAAO,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1D,CAAC;AACH,CAAC;AAlBD,0CAkBC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHumanReadableTimeFormat = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @param value - UNIX timestamp
|
|
6
|
-
* */
|
|
7
|
-
function getHumanReadableTimeFormat({ value, noSeconds, utc, meridiem = true }) {
|
|
8
|
-
const utcDate = new Date(value * 1000);
|
|
9
|
-
const [, AmPm] = utcDate
|
|
10
|
-
.toLocaleString('en-US', { hour: 'numeric', hour12: meridiem })
|
|
11
|
-
.split(' ');
|
|
12
|
-
const formatted = utcDate.toUTCString();
|
|
13
|
-
const [, date] = formatted.split(',');
|
|
14
|
-
const [day, month, year, time] = date.trim().split(' ');
|
|
15
|
-
const [hours, minutes, sec] = time.split(':');
|
|
16
|
-
const seconds = `:${sec}`;
|
|
17
|
-
const timeFormatted = `${hours}:${minutes}${noSeconds ? '' : seconds}`;
|
|
18
|
-
const utcSuffix = utc ? 'UTC' : '';
|
|
19
|
-
const meridiemSuffix = meridiem ? AmPm : '';
|
|
20
|
-
const suffix = `${meridiemSuffix} ${utcSuffix}`.trim();
|
|
21
|
-
return `${month} ${day}, ${year} ${timeFormatted} ${suffix}`.trim();
|
|
22
|
-
}
|
|
23
|
-
exports.getHumanReadableTimeFormat = getHumanReadableTimeFormat;
|
|
24
|
-
//# sourceMappingURL=getHumanReadableTimeFormat.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHumanReadableTimeFormat.js","sourceRoot":"","sources":["../../../src/utils/transactions/getHumanReadableTimeFormat.ts"],"names":[],"mappings":";;;AAOA;;KAEK;AACL,SAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,SAAS,EACT,GAAG,EACH,QAAQ,GAAG,IAAI,EACgB;IAC/B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,OAAO;SACrB,cAAc,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;SAC9D,KAAK,CAAC,GAAG,CAAC,CAAC;IACd,MAAM,SAAS,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACtC,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9C,MAAM,OAAO,GAAG,IAAI,GAAG,EAAE,CAAC;IAC1B,MAAM,aAAa,GAAG,GAAG,KAAK,IAAI,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACvE,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IACnC,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5C,MAAM,MAAM,GAAG,GAAG,cAAc,IAAI,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC;IAEvD,OAAO,GAAG,KAAK,IAAI,GAAG,KAAK,IAAI,IAAI,aAAa,IAAI,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;AACtE,CAAC;AArBD,gEAqBC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInterpretedTransaction = void 0;
|
|
4
|
-
const timeRemaining_1 = require("../../../utils/operations/timeRemaining");
|
|
5
|
-
const validation_1 = require("../../../utils/validation");
|
|
6
|
-
const explorerUrlBuilder_1 = require("../explorerUrlBuilder");
|
|
7
|
-
const getExplorerLink_1 = require("../getExplorerLink");
|
|
8
|
-
const getHumanReadableTimeFormat_1 = require("../getHumanReadableTimeFormat");
|
|
9
|
-
const getTokenFromData_1 = require("./helpers/getTokenFromData");
|
|
10
|
-
const getTransactionIconInfo_1 = require("./helpers/getTransactionIconInfo");
|
|
11
|
-
const getTransactionMethod_1 = require("./helpers/getTransactionMethod");
|
|
12
|
-
const getTransactionReceiver_1 = require("./helpers/getTransactionReceiver");
|
|
13
|
-
const getTransactionReceiverAssets_1 = require("./helpers/getTransactionReceiverAssets");
|
|
14
|
-
const getTransactionTokens_1 = require("./helpers/getTransactionTokens");
|
|
15
|
-
const getTransactionTransferType_1 = require("./helpers/getTransactionTransferType");
|
|
16
|
-
function getInterpretedTransaction({ transaction, address, explorerAddress }) {
|
|
17
|
-
const tokenIdentifier = transaction.tokenIdentifier ?? (0, getTokenFromData_1.getTokenFromData)(transaction.data).tokenId;
|
|
18
|
-
const receiver = (0, getTransactionReceiver_1.getTransactionReceiver)(transaction);
|
|
19
|
-
const receiverAssets = (0, getTransactionReceiverAssets_1.getTransactionReceiverAssets)(transaction);
|
|
20
|
-
const age = {
|
|
21
|
-
timeAgo: (0, timeRemaining_1.timeAgo)(transaction.timestamp * 1000, true),
|
|
22
|
-
tooltip: (0, getHumanReadableTimeFormat_1.getHumanReadableTimeFormat)({
|
|
23
|
-
value: transaction.timestamp,
|
|
24
|
-
noSeconds: false,
|
|
25
|
-
utc: true
|
|
26
|
-
})
|
|
27
|
-
};
|
|
28
|
-
const direction = (0, getTransactionTransferType_1.getTransactionTransferType)({
|
|
29
|
-
address,
|
|
30
|
-
transaction,
|
|
31
|
-
receiver
|
|
32
|
-
});
|
|
33
|
-
const method = {
|
|
34
|
-
actionDescription: transaction.action?.description,
|
|
35
|
-
name: (0, getTransactionMethod_1.getTransactionMethod)(transaction)
|
|
36
|
-
};
|
|
37
|
-
const transactionTokens = (0, getTransactionTokens_1.getTransactionTokens)(transaction);
|
|
38
|
-
const senderLink = (0, getExplorerLink_1.getExplorerLink)({
|
|
39
|
-
explorerAddress,
|
|
40
|
-
to: explorerUrlBuilder_1.explorerUrlBuilder.accountDetails(transaction.sender)
|
|
41
|
-
});
|
|
42
|
-
const receiverLink = (0, getExplorerLink_1.getExplorerLink)({
|
|
43
|
-
explorerAddress,
|
|
44
|
-
to: explorerUrlBuilder_1.explorerUrlBuilder.accountDetails(receiver)
|
|
45
|
-
});
|
|
46
|
-
const senderShardLink = (0, getExplorerLink_1.getExplorerLink)({
|
|
47
|
-
explorerAddress,
|
|
48
|
-
to: explorerUrlBuilder_1.explorerUrlBuilder.senderShard(transaction.senderShard)
|
|
49
|
-
});
|
|
50
|
-
const receiverShardLink = (0, getExplorerLink_1.getExplorerLink)({
|
|
51
|
-
explorerAddress,
|
|
52
|
-
to: explorerUrlBuilder_1.explorerUrlBuilder.receiverShard(transaction.receiverShard)
|
|
53
|
-
});
|
|
54
|
-
const transactionHash = transaction.originalTxHash || transaction.txHash;
|
|
55
|
-
const transactionLink = (0, getExplorerLink_1.getExplorerLink)({
|
|
56
|
-
explorerAddress,
|
|
57
|
-
to: explorerUrlBuilder_1.explorerUrlBuilder.transactionDetails(transactionHash)
|
|
58
|
-
});
|
|
59
|
-
return {
|
|
60
|
-
...transaction,
|
|
61
|
-
txHash: transactionHash,
|
|
62
|
-
tokenIdentifier,
|
|
63
|
-
receiver,
|
|
64
|
-
receiverAssets,
|
|
65
|
-
transactionDetails: {
|
|
66
|
-
age,
|
|
67
|
-
direction,
|
|
68
|
-
method,
|
|
69
|
-
iconInfo: (0, getTransactionIconInfo_1.getTransactionIconInfo)(transaction),
|
|
70
|
-
transactionTokens,
|
|
71
|
-
isContract: (0, validation_1.isContract)(transaction.sender)
|
|
72
|
-
},
|
|
73
|
-
links: {
|
|
74
|
-
senderLink,
|
|
75
|
-
receiverLink,
|
|
76
|
-
senderShardLink,
|
|
77
|
-
receiverShardLink,
|
|
78
|
-
transactionLink
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
exports.getInterpretedTransaction = getInterpretedTransaction;
|
|
83
|
-
//# sourceMappingURL=getInterpretedTransaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getInterpretedTransaction.js","sourceRoot":"","sources":["../../../../src/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.ts"],"names":[],"mappings":";;;AAOA,kEAAyD;AACzD,iDAA8C;AAC9C,8DAA2D;AAC3D,wDAAqD;AACrD,8EAA2E;AAC3E,iEAA8D;AAC9D,6EAA0E;AAC1E,yEAAsE;AACtE,6EAA0E;AAC1E,yFAAsF;AACtF,yEAAsE;AACtE,qFAAkF;AAQlF,SAAgB,yBAAyB,CAAC,EACxC,WAAW,EACX,OAAO,EACP,eAAe,EACe;IAC9B,MAAM,eAAe,GACnB,WAAW,CAAC,eAAe,IAAI,IAAA,mCAAgB,EAAC,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;IAE5E,MAAM,QAAQ,GAAG,IAAA,+CAAsB,EAAC,WAAW,CAAC,CAAC;IACrD,MAAM,cAAc,GAAG,IAAA,2DAA4B,EAAC,WAAW,CAAC,CAAC;IACjE,MAAM,GAAG,GAAuB;QAC9B,OAAO,EAAE,IAAA,uBAAO,EAAC,WAAW,CAAC,SAAS,GAAG,IAAI,EAAE,IAAI,CAAC;QACpD,OAAO,EAAE,IAAA,uDAA0B,EAAC;YAClC,KAAK,EAAE,WAAW,CAAC,SAAS;YAC5B,SAAS,EAAE,KAAK;YAChB,GAAG,EAAE,IAAI;SACV,CAAC;KACH,CAAC;IAEF,MAAM,SAAS,GAAG,IAAA,uDAA0B,EAAC;QAC3C,OAAO;QACP,WAAW;QACX,QAAQ;KACT,CAAC,CAAC;IAEH,MAAM,MAAM,GAA0B;QACpC,iBAAiB,EAAE,WAAW,CAAC,MAAM,EAAE,WAAW;QAClD,IAAI,EAAE,IAAA,2CAAoB,EAAC,WAAW,CAAC;KACxC,CAAC;IAEF,MAAM,iBAAiB,GACrB,IAAA,2CAAoB,EAAC,WAAW,CAAC,CAAC;IAEpC,MAAM,UAAU,GAAG,IAAA,iCAAe,EAAC;QACjC,eAAe;QACf,EAAE,EAAE,uCAAkB,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC;KAC1D,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC;QACnC,eAAe;QACf,EAAE,EAAE,uCAAkB,CAAC,cAAc,CAAC,QAAQ,CAAC;KAChD,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC;QACtC,eAAe;QACf,EAAE,EAAE,uCAAkB,CAAC,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC;KAC5D,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,IAAA,iCAAe,EAAC;QACxC,eAAe;QACf,EAAE,EAAE,uCAAkB,CAAC,aAAa,CAAC,WAAW,CAAC,aAAa,CAAC;KAChE,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,WAAW,CAAC,cAAc,IAAI,WAAW,CAAC,MAAM,CAAC;IAEzE,MAAM,eAAe,GAAG,IAAA,iCAAe,EAAC;QACtC,eAAe;QACf,EAAE,EAAE,uCAAkB,CAAC,kBAAkB,CAAC,eAAe,CAAC;KAC3D,CAAC,CAAC;IAEH,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe;QACvB,eAAe;QACf,QAAQ;QACR,cAAc;QACd,kBAAkB,EAAE;YAClB,GAAG;YACH,SAAS;YACT,MAAM;YACN,QAAQ,EAAE,IAAA,+CAAsB,EAAC,WAAW,CAAC;YAC7C,iBAAiB;YACjB,UAAU,EAAE,IAAA,uBAAU,EAAC,WAAW,CAAC,MAAM,CAAC;SAC3C;QACD,KAAK,EAAE;YACL,UAAU;YACV,YAAY;YACZ,eAAe;YACf,iBAAiB;YACjB,eAAe;SAChB;KACF,CAAC;AACJ,CAAC;AAlFD,8DAkFC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ACTIONS_WITH_VALUE_IN_ACTION_FIELD = exports.ACTIONS_WITH_VALUE_IN_DATA_FIELD = exports.ACTIONS_WITH_EGLD_VALUE = exports.ACTIONS_WITH_MANDATORY_OPERATIONS = void 0;
|
|
4
|
-
const serverTransactions_types_1 = require("../../../../types/serverTransactions.types");
|
|
5
|
-
/**
|
|
6
|
-
* If `action.name` or `function` is in `ACTIONS_WITH_MANDATORY_OPERATIONS[]`, transaction value will be computed based `operations` field
|
|
7
|
-
*/
|
|
8
|
-
exports.ACTIONS_WITH_MANDATORY_OPERATIONS = [
|
|
9
|
-
serverTransactions_types_1.TransactionActionsEnum.reDelegateRewards,
|
|
10
|
-
serverTransactions_types_1.TransactionActionsEnum.claimRewards,
|
|
11
|
-
serverTransactions_types_1.TransactionActionsEnum.unBond
|
|
12
|
-
];
|
|
13
|
-
/**
|
|
14
|
-
* If `action.name` is in `ACTIONS_WITH_EGLD_VALUE[]`, transaction value will be returned directly
|
|
15
|
-
*/
|
|
16
|
-
exports.ACTIONS_WITH_EGLD_VALUE = [
|
|
17
|
-
serverTransactions_types_1.TransactionActionsEnum.wrapEgld,
|
|
18
|
-
serverTransactions_types_1.TransactionActionsEnum.unwrapEgld
|
|
19
|
-
];
|
|
20
|
-
/**
|
|
21
|
-
* If `action.name` is in `ACTIONS_WITH_VALUE_IN_DATA_FIELD[]`, transaction value will be computed based `data` field
|
|
22
|
-
*/
|
|
23
|
-
exports.ACTIONS_WITH_VALUE_IN_DATA_FIELD = [
|
|
24
|
-
serverTransactions_types_1.TransactionActionsEnum.unStake
|
|
25
|
-
];
|
|
26
|
-
/**
|
|
27
|
-
* If `action.name` is in `ACTIONS_WITH_VALUE_IN_ACTION_FIELD[]`, transaction value will be computed based `action` field
|
|
28
|
-
*/
|
|
29
|
-
exports.ACTIONS_WITH_VALUE_IN_ACTION_FIELD = [
|
|
30
|
-
serverTransactions_types_1.TransactionActionsEnum.unDelegate
|
|
31
|
-
];
|
|
32
|
-
//# sourceMappingURL=constants.js.map
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC/C,iDAAsB,CAAC,iBAAiB;IACxC,iDAAsB,CAAC,YAAY;IACnC,iDAAsB,CAAC,MAAM;CAC9B,CAAC;AAEF;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACrC,iDAAsB,CAAC,QAAQ;IAC/B,iDAAsB,CAAC,UAAU;CAClC,CAAC;AAEF;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC9C,iDAAsB,CAAC,OAAO;CAC/B,CAAC;AAEF;;GAEG;AACU,QAAA,kCAAkC,GAAG;IAChD,iDAAsB,CAAC,UAAU;CAClC,CAAC"}
|