@multiversx/sdk-dapp 5.6.11 → 5.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/chunk-22F6NHUW.mjs +2 -0
- package/out/__chunks__/chunk-365NUVE7.mjs +2 -0
- package/out/__chunks__/{chunk-JO3KLBXS.mjs → chunk-3VPAVTVL.mjs} +2 -2
- package/out/__chunks__/chunk-4FBGOTSX.mjs +2 -0
- package/out/__chunks__/{chunk-QGUQTBVR.mjs → chunk-4IM7MMSB.mjs} +2 -2
- package/out/__chunks__/{chunk-EETA2QXV.mjs → chunk-5NRAQWO4.mjs} +2 -2
- package/out/__chunks__/{chunk-EH3QXINF.mjs → chunk-6ECOAQX4.mjs} +2 -2
- package/out/__chunks__/{chunk-OSGTEMH4.mjs → chunk-6MBRTWME.mjs} +2 -2
- package/out/__chunks__/{chunk-HKZTCRSV.mjs → chunk-6UTLNODT.mjs} +2 -2
- package/out/__chunks__/{chunk-UGY4JSP3.mjs → chunk-AIBBSVXP.mjs} +2 -2
- package/out/__chunks__/{chunk-AAIKQGPN.mjs → chunk-AQIZZ6YU.mjs} +2 -2
- package/out/__chunks__/{chunk-TRICXIPQ.mjs → chunk-AU2YBHNW.mjs} +2 -2
- package/out/__chunks__/{chunk-P6OHY6KU.mjs → chunk-B4WJMVF6.mjs} +2 -2
- package/out/__chunks__/{chunk-RSNSPKZ3.mjs → chunk-BI2PJ5FS.mjs} +2 -2
- package/out/__chunks__/{chunk-DY53O4ED.mjs → chunk-C23VOAOY.mjs} +2 -2
- package/out/__chunks__/{chunk-Q6SV22DH.mjs → chunk-CDU3ZELH.mjs} +2 -2
- package/out/__chunks__/{chunk-AHORDOF4.mjs → chunk-CPGY3DQJ.mjs} +2 -2
- package/out/__chunks__/{chunk-CDHVNNSM.mjs → chunk-CVW52D7K.mjs} +2 -2
- package/out/__chunks__/{chunk-OWYOEUPL.mjs → chunk-CYA7ED2N.mjs} +2 -2
- package/out/__chunks__/{chunk-UWCHOJH4.mjs → chunk-DDRH6O3X.mjs} +2 -2
- package/out/__chunks__/chunk-DDS3DY4B.mjs +2 -0
- package/out/__chunks__/{chunk-ICJ5ZWS4.mjs → chunk-DKBOH236.mjs} +2 -2
- package/out/__chunks__/{chunk-YVOZYFMU.mjs → chunk-EIUQFHRY.mjs} +2 -2
- package/out/__chunks__/{chunk-XZ2BAC7C.mjs → chunk-EJ4TUIIU.mjs} +2 -2
- package/out/__chunks__/{chunk-P4H53TTI.mjs → chunk-F3PJPNGU.mjs} +2 -2
- package/out/__chunks__/{chunk-QMSYQJAU.mjs → chunk-FLFZN2T6.mjs} +2 -2
- package/out/__chunks__/{chunk-3C4QWHTF.mjs → chunk-G2WU3X6R.mjs} +2 -2
- package/out/__chunks__/chunk-GJSAN3GO.mjs +2 -0
- package/out/__chunks__/{chunk-AJBGY6A5.mjs → chunk-GOUIWTTC.mjs} +2 -2
- package/out/__chunks__/{chunk-W4F3YI3F.mjs → chunk-GP6W6RR7.mjs} +2 -2
- package/out/__chunks__/{chunk-I5NDCPU2.mjs → chunk-GPKU7JO2.mjs} +2 -2
- package/out/__chunks__/{chunk-L7AC35OO.mjs → chunk-HPY6UNFO.mjs} +2 -2
- package/out/__chunks__/{chunk-COA54JTE.mjs → chunk-HY5I67W7.mjs} +2 -2
- package/out/__chunks__/{chunk-6BA2NDJT.mjs → chunk-IPGIVRGN.mjs} +2 -2
- package/out/__chunks__/chunk-JAXSTKEJ.mjs +2 -0
- package/out/__chunks__/{chunk-H3TSHWUD.mjs → chunk-JL6BHC7T.mjs} +2 -2
- package/out/__chunks__/{chunk-OKO3GIXC.mjs → chunk-KAY6QD6V.mjs} +2 -2
- package/out/__chunks__/{chunk-2NE75KNA.mjs → chunk-L6SBIHCZ.mjs} +2 -2
- package/out/__chunks__/{chunk-T6I7XQHS.mjs → chunk-L7HC5J53.mjs} +2 -2
- package/out/__chunks__/{chunk-R7Y4IM2T.mjs → chunk-LJ5RLWEK.mjs} +2 -2
- package/out/__chunks__/chunk-LLVSK2AG.mjs +2 -0
- package/out/__chunks__/{chunk-PKNPUHFQ.mjs → chunk-LT4RXTTQ.mjs} +2 -2
- package/out/__chunks__/{chunk-H3MXIVR4.mjs → chunk-LXSGLYGV.mjs} +2 -2
- package/out/__chunks__/{chunk-DDB4KRVV.mjs → chunk-LYUGR2FR.mjs} +2 -2
- package/out/__chunks__/{chunk-QHANP3XT.mjs → chunk-MFGDF3HI.mjs} +2 -2
- package/out/__chunks__/{chunk-LNRVNBRB.mjs → chunk-N6G3CMSC.mjs} +2 -2
- package/out/__chunks__/{chunk-LUVMM57Y.mjs → chunk-NK2JTYOC.mjs} +2 -2
- package/out/__chunks__/{chunk-CNE5LY2X.mjs → chunk-OGL4HN2P.mjs} +2 -2
- package/out/__chunks__/{chunk-CMN37YZP.mjs → chunk-QDUNEKJW.mjs} +2 -2
- package/out/__chunks__/{chunk-JJ6B2ZYX.mjs → chunk-QNXBITGY.mjs} +2 -2
- package/out/__chunks__/{chunk-X7XFHGOE.mjs → chunk-QRPH4JCL.mjs} +2 -2
- package/out/__chunks__/{chunk-RGDZMPES.mjs → chunk-QWBFB3BL.mjs} +2 -2
- package/out/__chunks__/{chunk-IWQH426N.mjs → chunk-QWVZ4NTR.mjs} +2 -2
- package/out/__chunks__/{chunk-VLJXRHVE.mjs → chunk-RC4ZBXFJ.mjs} +2 -2
- package/out/__chunks__/chunk-RFGBMNFA.mjs +2 -0
- package/out/__chunks__/{chunk-CYKK4HPZ.mjs → chunk-RNK62S6X.mjs} +2 -2
- package/out/__chunks__/{chunk-JBPJL3B7.mjs → chunk-RVW6Z4XY.mjs} +2 -2
- package/out/__chunks__/{chunk-3Z7CLSDP.mjs → chunk-S72I2KYP.mjs} +2 -2
- package/out/__chunks__/chunk-SML7WOGP.mjs +2 -0
- package/out/__chunks__/chunk-SVG75M4S.mjs +2 -0
- package/out/__chunks__/{chunk-TU6TE5PG.mjs → chunk-SWIPPQAS.mjs} +2 -2
- package/out/__chunks__/{chunk-3MWPYDLA.mjs → chunk-TIX7PAYC.mjs} +2 -2
- package/out/__chunks__/{chunk-OAFYVJLF.mjs → chunk-TWDQUDRP.mjs} +2 -2
- package/out/__chunks__/{chunk-6VJXXSIS.mjs → chunk-UDWPAR25.mjs} +2 -2
- package/out/__chunks__/chunk-UJA73JSW.mjs +2 -0
- package/out/__chunks__/{chunk-IZVWRQDU.mjs → chunk-UUFVP7SB.mjs} +2 -2
- package/out/__chunks__/chunk-UWBYA2GM.mjs +2 -0
- package/out/__chunks__/{chunk-J7DUP7GC.mjs → chunk-UY2X77BA.mjs} +2 -2
- package/out/__chunks__/{chunk-L5RYEWHO.mjs → chunk-V6HSYMMG.mjs} +2 -2
- package/out/__chunks__/chunk-VA7KLP35.mjs +2 -0
- package/out/__chunks__/{chunk-JMJ7OMSW.mjs → chunk-VCU3YP4J.mjs} +2 -2
- package/out/__chunks__/{chunk-S4GXN3R7.mjs → chunk-VLRP4JQW.mjs} +2 -2
- package/out/__chunks__/{chunk-KTSYT4CA.mjs → chunk-VOCZMUMV.mjs} +2 -2
- package/out/__chunks__/{chunk-DY3P72D3.mjs → chunk-VSOHM56Y.mjs} +2 -2
- package/out/__chunks__/{chunk-6BNZ4EJC.mjs → chunk-WDL6SFHR.mjs} +2 -2
- package/out/__chunks__/{chunk-YEBGEZ5L.mjs → chunk-XEDB2GXW.mjs} +2 -2
- package/out/__chunks__/chunk-XELB2AVG.mjs +2 -0
- package/out/__chunks__/{chunk-PENSR33H.mjs → chunk-YAVOCSOD.mjs} +2 -2
- package/out/__chunks__/{chunk-FRIOQMD3.mjs → chunk-YDH26OGG.mjs} +2 -2
- package/out/__chunks__/chunk-YDR33UBM.mjs +2 -0
- package/out/__chunks__/{chunk-R3IH76PW.mjs.map → chunk-YDR33UBM.mjs.map} +1 -1
- package/out/__chunks__/{chunk-MNN7JOCV.mjs → chunk-YG6SFLZY.mjs} +2 -2
- package/out/__chunks__/{chunk-YJQR63IW.mjs → chunk-YHON33YS.mjs} +2 -2
- package/out/__chunks__/{chunk-RQOU5LG4.mjs → chunk-YKYYWL4B.mjs} +2 -2
- package/out/__chunks__/{chunk-FRREO5DY.mjs → chunk-YTKDRPWM.mjs} +2 -2
- package/out/__chunks__/{chunk-RMMIR3MN.mjs → chunk-YXKQJKZV.mjs} +2 -2
- package/out/__chunks__/{chunk-O65UD2QD.mjs → chunk-Z72NFBTZ.mjs} +2 -2
- package/out/__chunks__/{chunk-CG6BZB2U.mjs → chunk-ZLGDFBX7.mjs} +2 -2
- package/out/__chunks__/{chunk-QACFOFUG.mjs → chunk-ZMZXHLYM.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
- package/out/apiCalls/account/getAccountFromApi.d.ts +9 -0
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -1
- package/out/apiCalls/account/getScamAddressData.d.ts +8 -0
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.d.ts +1 -0
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.d.ts +2 -0
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.d.ts +2 -0
- package/out/apiCalls/configuration/getServerConfiguration.d.ts +2 -0
- package/out/apiCalls/economics/getEconomics.cjs +1 -1
- package/out/apiCalls/economics/getEconomics.d.ts +13 -0
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/endpoints.d.ts +26 -0
- package/out/apiCalls/tokens/getPersistedToken.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.d.ts +1 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.d.ts +35 -0
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.d.ts +4 -0
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.d.ts +5 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.d.ts +4 -0
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.d.ts +2 -0
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +1 -1
- package/out/apiCalls/transactions/getTransactions.d.ts +21 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.d.ts +2 -0
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.d.ts +1 -0
- package/out/apiCalls/utils/axiosInstance.d.ts +2 -0
- package/out/apiCalls/websocket/getWebsocketUrl.d.ts +1 -0
- package/out/constants/UITags.enum.d.ts +9 -0
- package/out/constants/browser.constants.d.ts +2 -0
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/ledger.constants.d.ts +92 -0
- package/out/constants/mvx.constants.d.ts +15 -0
- package/out/constants/network.constants.cjs +1 -1
- package/out/constants/network.constants.d.ts +11 -0
- package/out/constants/placeholders.constants.d.ts +7 -0
- package/out/constants/providerFactory.constants.cjs +1 -1
- package/out/constants/providerFactory.constants.d.ts +3 -0
- package/out/constants/storage.constants.d.ts +7 -0
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.d.ts +13 -0
- package/out/constants/walletConnect.constants.d.ts +2 -0
- package/out/constants/websocket.constants.d.ts +10 -0
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.d.ts +2 -0
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.d.ts +6 -0
- package/out/controllers/FormatAmountController/index.d.ts +1 -0
- package/out/controllers/FormatAmountController/types.d.ts +11 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.d.ts +4 -0
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.d.ts +1 -0
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +12 -0
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.d.ts +1 -0
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +38 -0
- package/out/lib/sdkCore.d.ts +7 -0
- package/out/lib/sdkDappUI.components.d.ts +1 -0
- package/out/lib/sdkDappUi.d.ts +9 -0
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.d.ts +6 -0
- package/out/lib/sdkWebWalletCrossWindowProvider.d.ts +3 -0
- package/out/lib/sdkWebWalletIframeProvider.d.ts +1 -0
- package/out/lib/sdkWebviewProvider.d.ts +1 -0
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.d.ts +15 -0
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.d.ts +1 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +31 -0
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.d.ts +2 -0
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.d.ts +1 -0
- package/out/managers/NotificationsFeedManager/types/notifications.types.d.ts +7 -0
- package/out/managers/ToastManager/ToastManager.cjs +1 -1
- package/out/managers/ToastManager/ToastManager.d.ts +36 -0
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.d.ts +30 -0
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.d.ts +14 -0
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.d.ts +11 -0
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.d.ts +15 -0
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +2 -0
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.d.ts +2 -0
- package/out/managers/ToastManager/helpers/tests/baseTransactionMock.d.ts +2 -0
- package/out/managers/ToastManager/helpers/tests/mocks/cache.d.ts +14 -0
- package/out/managers/ToastManager/helpers/tests/mocks/transactions.d.ts +14 -0
- package/out/managers/ToastManager/index.d.ts +1 -0
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/tests/helpers/createStoreStub.d.ts +2 -0
- package/out/managers/ToastManager/types/index.d.ts +1 -0
- package/out/managers/ToastManager/types/toast.types.d.ts +50 -0
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.d.ts +55 -0
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.d.ts +21 -0
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.d.ts +2 -0
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.d.ts +2 -0
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +3 -0
- package/out/managers/TransactionManager/helpers/isBatchTransaction.d.ts +1 -0
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +1 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.d.ts +6 -0
- package/out/managers/TransactionManager/helpers/sessionCallbacks.d.ts +8 -0
- package/out/managers/TransactionManager/index.d.ts +1 -0
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +27 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +86 -0
- package/out/managers/UnlockPanelManager/helpers/getIsSimpleLoginCallback.d.ts +7 -0
- package/out/managers/UnlockPanelManager/helpers/getProviderList.cjs +1 -1
- package/out/managers/UnlockPanelManager/helpers/getProviderList.d.ts +2 -0
- package/out/managers/UnlockPanelManager/index.d.ts +1 -0
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +46 -0
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.d.ts +2 -0
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.d.ts +8 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.d.ts +13 -0
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +12 -0
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.d.ts +2 -0
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.d.ts +4 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +18 -0
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.d.ts +1 -0
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.d.ts +29 -0
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.d.ts +1 -0
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.d.ts +1 -0
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.d.ts +63 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +30 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +14 -0
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.d.ts +1 -0
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -1
- package/out/methods/account/getAccount.d.ts +1 -0
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -1
- package/out/methods/account/getAccountInfo.d.ts +15 -0
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +1 -1
- package/out/methods/account/getAddress.d.ts +1 -0
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +1 -1
- package/out/methods/account/getIsLoggedIn.d.ts +1 -0
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.d.ts +2 -0
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.d.ts +6 -0
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +6 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.d.ts +19 -0
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.d.ts +126 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.d.ts +3 -0
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.d.ts +19 -0
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.d.ts +9 -0
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +1 -1
- package/out/methods/network/getEgldLabel.d.ts +1 -0
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +1 -1
- package/out/methods/network/getExplorerAddress.d.ts +1 -0
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +1 -1
- package/out/methods/network/getNetworkConfig.d.ts +1 -0
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.d.ts +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runSessionCallbacks.d.ts +7 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.d.ts +5 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.d.ts +13 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.d.ts +3 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/getPendingTransactions.d.ts +2 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.d.ts +1 -0
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.d.ts +7 -0
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactions.d.ts +1 -0
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactions.d.ts +1 -0
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.d.ts +1 -0
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.d.ts +1 -0
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +1 -1
- package/out/methods/transactions/getTransactionSessions.d.ts +1 -0
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +1 -1
- package/out/providers/DappProvider/DappProvider.d.ts +29 -0
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.d.ts +8 -0
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.d.ts +5 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.d.ts +8 -0
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.d.ts +10 -0
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.d.ts +13 -0
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.d.ts +8 -0
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.d.ts +7 -0
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.d.ts +10 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.d.ts +4 -0
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.d.ts +7 -0
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.d.ts +12 -0
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.d.ts +1 -0
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.d.ts +7 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +10 -0
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.d.ts +6 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.d.ts +13 -0
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.d.ts +1 -0
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -1
- package/out/providers/ProviderFactory.d.ts +9 -0
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.d.ts +5 -0
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.d.ts +1 -0
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.d.ts +4 -0
- package/out/providers/helpers/emptyProvider.cjs +1 -1
- package/out/providers/helpers/emptyProvider.d.ts +35 -0
- package/out/providers/helpers/restoreProvider.cjs +1 -1
- package/out/providers/helpers/restoreProvider.d.ts +1 -0
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +51 -0
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +25 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.d.ts +1 -0
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +19 -0
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.d.ts +1 -0
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +22 -0
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.d.ts +4 -0
- package/out/providers/strategies/IframeProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +38 -0
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.d.ts +16 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.d.ts +8 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts +9 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.d.ts +13 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.d.ts +8 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.d.ts +4 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.d.ts +8 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.d.ts +5 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +10 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.d.ts +5 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.d.ts +40 -0
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.d.ts +8 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +37 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.d.ts +2 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.d.ts +1 -0
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.d.ts +29 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.d.ts +20 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.d.ts +1 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +23 -0
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.d.ts +1 -0
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.d.ts +9 -0
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.d.ts +1 -0
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.d.ts +9 -0
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.d.ts +6 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.d.ts +13 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts +31 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.d.ts +6 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.d.ts +18 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.d.ts +13 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.d.ts +10 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.d.ts +6 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/mockGetCommonDataInput.d.ts +73 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.d.ts +9 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.d.ts +7 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.d.ts +1 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.d.ts +8 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.d.ts +5 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.d.ts +5 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.d.ts +2 -0
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.d.ts +4 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.d.ts +12 -0
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +16 -0
- package/out/providers/types/providerFactory.types.d.ts +51 -0
- package/out/react/account/useGetAccount.d.ts +1 -0
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.d.ts +15 -0
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.d.ts +1 -0
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.d.ts +1 -0
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.d.ts +1 -0
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.d.ts +9 -0
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.d.ts +1 -0
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.d.ts +14 -0
- package/out/react/store/getReactStore.d.ts +4 -0
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.d.ts +6 -0
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.d.ts +1 -0
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.d.ts +1 -0
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.d.ts +1 -0
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.d.ts +1 -0
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.d.ts +1 -0
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.d.ts +9 -0
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +1 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.d.ts +8 -0
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +1 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.d.ts +12 -0
- package/out/services/nativeAuth/helpers/index.d.ts +3 -0
- package/out/services/nativeAuth/index.d.ts +1 -0
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.d.ts +15 -0
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.d.ts +7 -0
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.d.ts +6 -0
- package/out/services/nativeAuth/nativeAuth.d.ts +19 -0
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.d.ts +19 -0
- package/out/store/actions/account/accountActions.cjs +1 -1
- package/out/store/actions/account/accountActions.d.ts +9 -0
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.d.ts +1 -0
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +1 -1
- package/out/store/actions/cache/cacheActions.d.ts +6 -0
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.d.ts +1 -0
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +1 -1
- package/out/store/actions/config/configActions.d.ts +9 -0
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.d.ts +1 -0
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.d.ts +12 -0
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.d.ts +1 -0
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +1 -1
- package/out/store/actions/network/initializeNetwork.d.ts +7 -0
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.d.ts +3 -0
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.d.ts +1 -0
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.d.ts +7 -0
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.d.ts +1 -0
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +1 -1
- package/out/store/actions/toasts/toastsActions.d.ts +13 -0
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.d.ts +23 -0
- package/out/store/actions/transactions/transactionsActions.cjs +1 -1
- package/out/store/actions/transactions/transactionsActions.d.ts +20 -0
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.d.ts +1 -0
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +1 -1
- package/out/store/actions/ui/uiActions.d.ts +1 -0
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.d.ts +2 -0
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.d.ts +1 -0
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +1 -1
- package/out/store/middleware/logoutMiddleware.d.ts +6 -0
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +1 -1
- package/out/store/selectors/accountSelectors.d.ts +25 -0
- package/out/store/selectors/cacheSelector.d.ts +3 -0
- package/out/store/selectors/configSelectors.d.ts +5 -0
- package/out/store/selectors/loginInfoSelectors.d.ts +7 -0
- package/out/store/selectors/networkSelectors.d.ts +9 -0
- package/out/store/selectors/storeSelector.d.ts +2 -0
- package/out/store/selectors/toastsSelectors.d.ts +4 -0
- package/out/store/selectors/transactionsSelector.cjs +1 -1
- package/out/store/selectors/transactionsSelector.d.ts +10 -0
- package/out/store/selectors/uiSelectors.d.ts +3 -0
- package/out/store/slices/account/account.types.d.ts +25 -0
- package/out/store/slices/account/accountSlice.d.ts +5 -0
- package/out/store/slices/account/emptyAccount.cjs +1 -1
- package/out/store/slices/account/emptyAccount.d.ts +2 -0
- package/out/store/slices/account/index.d.ts +1 -0
- package/out/store/slices/cache/cacheSlice.d.ts +5 -0
- package/out/store/slices/cache/cacheSlice.types.d.ts +3 -0
- package/out/store/slices/cache/index.d.ts +1 -0
- package/out/store/slices/config/config.types.d.ts +16 -0
- package/out/store/slices/config/configSlice.cjs +1 -1
- package/out/store/slices/config/configSlice.d.ts +4 -0
- package/out/store/slices/config/index.d.ts +1 -0
- package/out/store/slices/loginInfo/index.d.ts +1 -0
- package/out/store/slices/loginInfo/loginInfo.types.d.ts +19 -0
- package/out/store/slices/loginInfo/loginInfoSlice.d.ts +5 -0
- package/out/store/slices/network/emptyNetwork.d.ts +2 -0
- package/out/store/slices/network/index.d.ts +1 -0
- package/out/store/slices/network/network.types.d.ts +5 -0
- package/out/store/slices/network/networkSlice.d.ts +4 -0
- package/out/store/slices/network/networkSlice.types.d.ts +4 -0
- package/out/store/slices/toast/index.d.ts +1 -0
- package/out/store/slices/toast/toastSlice.d.ts +5 -0
- package/out/store/slices/toast/toastSlice.types.d.ts +50 -0
- package/out/store/slices/transactions/index.d.ts +1 -0
- package/out/store/slices/transactions/transactionsSlice.d.ts +5 -0
- package/out/store/slices/transactions/transactionsSlice.types.d.ts +4 -0
- package/out/store/slices/ui/index.d.ts +1 -0
- package/out/store/slices/ui/ui.types.d.ts +3 -0
- package/out/store/slices/ui/uiSlice.d.ts +4 -0
- package/out/store/storage/inMemoryStorage.d.ts +9 -0
- package/out/store/storage/index.d.ts +2 -0
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +1 -1
- package/out/store/storage/storageCallback.d.ts +3 -0
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.d.ts +103 -0
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.d.ts +46 -0
- package/out/types/account.types.d.ts +38 -0
- package/out/types/enums.types.d.ts +74 -0
- package/out/types/login.types.d.ts +13 -0
- package/out/types/manager.types.d.ts +5 -0
- package/out/types/network.types.d.ts +51 -0
- package/out/types/provider.types.d.ts +6 -0
- package/out/types/serverTransactions.types.d.ts +316 -0
- package/out/types/subscriptions.type.d.ts +5 -0
- package/out/types/suspiciousLink.types.d.ts +17 -0
- package/out/types/theme.types.d.ts +5 -0
- package/out/types/tokens.types.d.ts +173 -0
- package/out/types/transaction-list-item.types.d.ts +87 -0
- package/out/types/transactions.types.d.ts +108 -0
- package/out/types/websocket.types.d.ts +4 -0
- package/out/utils/ComponentFactory.cjs +1 -1
- package/out/utils/ComponentFactory.d.ts +14 -0
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +1 -1
- package/out/utils/account/fetchAccount.d.ts +4 -0
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -1
- package/out/utils/account/refreshAccount.d.ts +27 -0
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.d.ts +10 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.d.ts +1 -0
- package/out/utils/asyncActions/index.d.ts +1 -0
- package/out/utils/asyncActions/sleep.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestamp.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.d.ts +1 -0
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.d.ts +1 -0
- package/out/utils/dateTime/index.d.ts +3 -0
- package/out/utils/decoders/base64Utils.d.ts +22 -0
- package/out/utils/decoders/decodePart.d.ts +1 -0
- package/out/utils/decoders/isAscii.d.ts +1 -0
- package/out/utils/decoders/isUtf8.d.ts +1 -0
- package/out/utils/decoders/stringContainsNumbers.d.ts +1 -0
- package/out/utils/network/index.d.ts +1 -0
- package/out/utils/network/setAxiosInterceptors.d.ts +6 -0
- package/out/utils/operations/capitalize.d.ts +1 -0
- package/out/utils/operations/getUsdValue.d.ts +6 -0
- package/out/utils/operations/pluralize.d.ts +1 -0
- package/out/utils/operations/tests/pluralize.spec.d.ts +1 -0
- package/out/utils/operations/tests/trimAmountDecimals.spec.d.ts +1 -0
- package/out/utils/operations/timeRemaining.d.ts +4 -0
- package/out/utils/operations/trimAmountDecimals.cjs +1 -1
- package/out/utils/operations/trimAmountDecimals.d.ts +6 -0
- package/out/utils/retryMultipleTimes.d.ts +6 -0
- package/out/utils/tests/shadowDomTraversal.d.ts +17 -0
- package/out/utils/transactions/explorerUrlBuilder.cjs +1 -1
- package/out/utils/transactions/explorerUrlBuilder.d.ts +25 -0
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.d.ts +7 -0
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.d.ts +8 -0
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts +9 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.d.ts +1 -0
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.d.ts +7 -0
- package/out/utils/transactions/getDecodedDataField/index.d.ts +1 -0
- package/out/utils/transactions/getExplorerLink.d.ts +4 -0
- package/out/utils/transactions/getHumanReadableTimeFormat.d.ts +10 -0
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.d.ts +17 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.d.ts +12 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.d.ts +16 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.d.ts +1 -0
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.d.ts +22 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.d.ts +10 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.d.ts +1 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +6 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts +5 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.d.ts +7 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts +8 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/index.d.ts +1 -0
- package/out/utils/transactions/getScamFlag.d.ts +8 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.d.ts +3 -0
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.d.ts +2 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.d.ts +3 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.d.ts +2 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.d.ts +6 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.d.ts +13 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.d.ts +8 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.d.ts +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.d.ts +7 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.d.ts +15 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.d.ts +16 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.d.ts +12 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts +9 -0
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.d.ts +12 -0
- package/out/utils/transactions/getTransactionsHistory/index.d.ts +1 -0
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +1 -1
- package/out/utils/transactions/isGuardianTx.d.ts +4 -0
- package/out/utils/validation/addressIsValid.cjs +1 -1
- package/out/utils/validation/addressIsValid.d.ts +1 -0
- package/out/utils/validation/getIdentifierType.d.ts +5 -0
- package/out/utils/validation/hex.d.ts +2 -0
- package/out/utils/validation/isContract.cjs +1 -1
- package/out/utils/validation/isContract.d.ts +6 -0
- package/out/utils/validation/maxDecimals.d.ts +1 -0
- package/out/utils/visual/switchTheme.cjs +1 -1
- package/out/utils/visual/switchTheme.d.ts +2 -0
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +8 -0
- package/out/utils/window/buildUrlParams.d.ts +8 -0
- package/out/utils/window/getIsAuthRoute.d.ts +15 -0
- package/out/utils/window/getIsInIframe.d.ts +1 -0
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.d.ts +9 -0
- package/out/utils/window/getWindowParentOrigin.cjs +1 -1
- package/out/utils/window/getWindowParentOrigin.d.ts +1 -0
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/isWindowAvailable.d.ts +1 -0
- package/out/utils/window/matchPath.d.ts +60 -0
- package/out/utils/window/sanitizeCallbackUrl.d.ts +1 -0
- package/package.json +2 -2
- package/out/__chunks__/chunk-2WUOBFRV.mjs +0 -2
- package/out/__chunks__/chunk-422ZUBTP.mjs +0 -2
- package/out/__chunks__/chunk-6ZU2IBDO.mjs +0 -2
- package/out/__chunks__/chunk-BFVULVAD.mjs +0 -2
- package/out/__chunks__/chunk-BZLQ6QLQ.mjs +0 -2
- package/out/__chunks__/chunk-CKY2HBH6.mjs +0 -2
- package/out/__chunks__/chunk-EOAIKG7U.mjs +0 -2
- package/out/__chunks__/chunk-MJXIB64Q.mjs +0 -2
- package/out/__chunks__/chunk-PI76AQ3J.mjs +0 -2
- package/out/__chunks__/chunk-PZI62JRY.mjs +0 -2
- package/out/__chunks__/chunk-R3IH76PW.mjs +0 -2
- package/out/__chunks__/chunk-V5ZA5MQV.mjs +0 -2
- package/out/__chunks__/chunk-VMUOJEUV.mjs +0 -2
- package/out/__chunks__/chunk-WXTELBRA.mjs +0 -2
- package/out/__chunks__/chunk-WZSA2EE5.mjs +0 -2
- /package/out/__chunks__/{chunk-VMUOJEUV.mjs.map → chunk-22F6NHUW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BZLQ6QLQ.mjs.map → chunk-365NUVE7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JO3KLBXS.mjs.map → chunk-3VPAVTVL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V5ZA5MQV.mjs.map → chunk-4FBGOTSX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QGUQTBVR.mjs.map → chunk-4IM7MMSB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EETA2QXV.mjs.map → chunk-5NRAQWO4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EH3QXINF.mjs.map → chunk-6ECOAQX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OSGTEMH4.mjs.map → chunk-6MBRTWME.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HKZTCRSV.mjs.map → chunk-6UTLNODT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UGY4JSP3.mjs.map → chunk-AIBBSVXP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAIKQGPN.mjs.map → chunk-AQIZZ6YU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TRICXIPQ.mjs.map → chunk-AU2YBHNW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P6OHY6KU.mjs.map → chunk-B4WJMVF6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSNSPKZ3.mjs.map → chunk-BI2PJ5FS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DY53O4ED.mjs.map → chunk-C23VOAOY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q6SV22DH.mjs.map → chunk-CDU3ZELH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AHORDOF4.mjs.map → chunk-CPGY3DQJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CDHVNNSM.mjs.map → chunk-CVW52D7K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OWYOEUPL.mjs.map → chunk-CYA7ED2N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UWCHOJH4.mjs.map → chunk-DDRH6O3X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CKY2HBH6.mjs.map → chunk-DDS3DY4B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICJ5ZWS4.mjs.map → chunk-DKBOH236.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YVOZYFMU.mjs.map → chunk-EIUQFHRY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XZ2BAC7C.mjs.map → chunk-EJ4TUIIU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P4H53TTI.mjs.map → chunk-F3PJPNGU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QMSYQJAU.mjs.map → chunk-FLFZN2T6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3C4QWHTF.mjs.map → chunk-G2WU3X6R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BFVULVAD.mjs.map → chunk-GJSAN3GO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AJBGY6A5.mjs.map → chunk-GOUIWTTC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W4F3YI3F.mjs.map → chunk-GP6W6RR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I5NDCPU2.mjs.map → chunk-GPKU7JO2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L7AC35OO.mjs.map → chunk-HPY6UNFO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-COA54JTE.mjs.map → chunk-HY5I67W7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6BA2NDJT.mjs.map → chunk-IPGIVRGN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJXIB64Q.mjs.map → chunk-JAXSTKEJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H3TSHWUD.mjs.map → chunk-JL6BHC7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OKO3GIXC.mjs.map → chunk-KAY6QD6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2NE75KNA.mjs.map → chunk-L6SBIHCZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T6I7XQHS.mjs.map → chunk-L7HC5J53.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R7Y4IM2T.mjs.map → chunk-LJ5RLWEK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ZU2IBDO.mjs.map → chunk-LLVSK2AG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PKNPUHFQ.mjs.map → chunk-LT4RXTTQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H3MXIVR4.mjs.map → chunk-LXSGLYGV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDB4KRVV.mjs.map → chunk-LYUGR2FR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QHANP3XT.mjs.map → chunk-MFGDF3HI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LNRVNBRB.mjs.map → chunk-N6G3CMSC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUVMM57Y.mjs.map → chunk-NK2JTYOC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CNE5LY2X.mjs.map → chunk-OGL4HN2P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CMN37YZP.mjs.map → chunk-QDUNEKJW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJ6B2ZYX.mjs.map → chunk-QNXBITGY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X7XFHGOE.mjs.map → chunk-QRPH4JCL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RGDZMPES.mjs.map → chunk-QWBFB3BL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IWQH426N.mjs.map → chunk-QWVZ4NTR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VLJXRHVE.mjs.map → chunk-RC4ZBXFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WXTELBRA.mjs.map → chunk-RFGBMNFA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CYKK4HPZ.mjs.map → chunk-RNK62S6X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JBPJL3B7.mjs.map → chunk-RVW6Z4XY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3Z7CLSDP.mjs.map → chunk-S72I2KYP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WZSA2EE5.mjs.map → chunk-SML7WOGP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PI76AQ3J.mjs.map → chunk-SVG75M4S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TU6TE5PG.mjs.map → chunk-SWIPPQAS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3MWPYDLA.mjs.map → chunk-TIX7PAYC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OAFYVJLF.mjs.map → chunk-TWDQUDRP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6VJXXSIS.mjs.map → chunk-UDWPAR25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PZI62JRY.mjs.map → chunk-UJA73JSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IZVWRQDU.mjs.map → chunk-UUFVP7SB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EOAIKG7U.mjs.map → chunk-UWBYA2GM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J7DUP7GC.mjs.map → chunk-UY2X77BA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L5RYEWHO.mjs.map → chunk-V6HSYMMG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-422ZUBTP.mjs.map → chunk-VA7KLP35.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JMJ7OMSW.mjs.map → chunk-VCU3YP4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S4GXN3R7.mjs.map → chunk-VLRP4JQW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KTSYT4CA.mjs.map → chunk-VOCZMUMV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DY3P72D3.mjs.map → chunk-VSOHM56Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6BNZ4EJC.mjs.map → chunk-WDL6SFHR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YEBGEZ5L.mjs.map → chunk-XEDB2GXW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2WUOBFRV.mjs.map → chunk-XELB2AVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PENSR33H.mjs.map → chunk-YAVOCSOD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FRIOQMD3.mjs.map → chunk-YDH26OGG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MNN7JOCV.mjs.map → chunk-YG6SFLZY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YJQR63IW.mjs.map → chunk-YHON33YS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RQOU5LG4.mjs.map → chunk-YKYYWL4B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FRREO5DY.mjs.map → chunk-YTKDRPWM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RMMIR3MN.mjs.map → chunk-YXKQJKZV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O65UD2QD.mjs.map → chunk-Z72NFBTZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CG6BZB2U.mjs.map → chunk-ZLGDFBX7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QACFOFUG.mjs.map → chunk-ZMZXHLYM.mjs.map} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DecodeMethodEnum } from '../../../../types/serverTransactions.types';
|
|
2
|
+
interface IGetDecodedParts {
|
|
3
|
+
parts: string[];
|
|
4
|
+
decodeMethod: DecodeMethodEnum;
|
|
5
|
+
initialDecodedParts: string[];
|
|
6
|
+
identifier?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const getDecodedParts: ({ parts, decodeMethod, identifier, initialDecodedParts }: IGetDecodedParts) => string[];
|
|
9
|
+
export {};
|
package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(n,e)=>{for(var a in e)o(n,a,{get:e[a],enumerable:!0})},V=(n,e,a,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of u(e))!y.call(n,i)&&i!==a&&o(n,i,{get:()=>e[i],enumerable:!(d=D(e,i))||d.enumerable});return n};var p=n=>V(o({},"__esModule",{value:!0}),n);var h={};f(h,{getDisplayValueAndValidationWarnings:()=>W});module.exports=p(h);var c=require("types/serverTransactions.types"),r=require("./decodeByMethod"),g=require("./getHexValidationWarnings"),m=require("./getSmartDecodedParts");const W=({parts:n,decodeMethod:e,decodedData:a,identifier:d})=>{const i=n.map((t,s)=>{if(n.length>=2&&(s===0&&t.length<64||s===1&&!n[0]))return/[^a-z0-9]/gi.test(t)?(0,r.decodeByMethod)({data:t,decodeMethod:e}):t;const l=(0,g.getHexValidationWarnings)(t);return l?.length&&(a.validationWarnings=Array.from(new Set([...a.validationWarnings,...l]))),(0,r.decodeByMethod)({data:t,decodeMethod:e})});return e===c.DecodeMethodEnum.smart?(0,m.getSmartDecodedParts)({parts:n,decodedParts:i,identifier:d}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(n,e)=>{for(var a in e)o(n,a,{get:e[a],enumerable:!0})},V=(n,e,a,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of u(e))!y.call(n,i)&&i!==a&&o(n,i,{get:()=>e[i],enumerable:!(d=D(e,i))||d.enumerable});return n};var p=n=>V(o({},"__esModule",{value:!0}),n);var h={};f(h,{getDisplayValueAndValidationWarnings:()=>W});module.exports=p(h);var c=require("../../../../types/serverTransactions.types"),r=require("./decodeByMethod"),g=require("./getHexValidationWarnings"),m=require("./getSmartDecodedParts");const W=({parts:n,decodeMethod:e,decodedData:a,identifier:d})=>{const i=n.map((t,s)=>{if(n.length>=2&&(s===0&&t.length<64||s===1&&!n[0]))return/[^a-z0-9]/gi.test(t)?(0,r.decodeByMethod)({data:t,decodeMethod:e}):t;const l=(0,g.getHexValidationWarnings)(t);return l?.length&&(a.validationWarnings=Array.from(new Set([...a.validationWarnings,...l]))),(0,r.decodeByMethod)({data:t,decodeMethod:e})});return e===c.DecodeMethodEnum.smart?(0,m.getSmartDecodedParts)({parts:n,decodedParts:i,identifier:d}):i};0&&(module.exports={getDisplayValueAndValidationWarnings});
|
|
2
2
|
//# sourceMappingURL=getDisplayValueAndValidationWarnings.cjs.map
|
package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DecodeMethodEnum, DecodedDisplayType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
interface IGetDisplayValueAndValidationWarnings {
|
|
3
|
+
parts: string[];
|
|
4
|
+
decodeMethod: DecodeMethodEnum;
|
|
5
|
+
decodedData: DecodedDisplayType;
|
|
6
|
+
identifier?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const getDisplayValueAndValidationWarnings: ({ parts, decodeMethod, decodedData, identifier }: IGetDisplayValueAndValidationWarnings) => string[];
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var i in a)o(n,i,{get:a[i],enumerable:!0})},h=(n,a,i,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!s.call(n,e)&&e!==i&&o(n,e,{get:()=>a[e],enumerable:!(t=c(a,e))||t.enumerable});return n};var u=n=>h(o({},"__esModule",{value:!0}),n);var m={};d(m,{getHexValidationWarnings:()=>x});module.exports=u(m);var r=require("utils/validation/hex");const x=n=>{const a=[];return n&&!(0,r.isHexValidCharacters)(n)&&a.push(`Invalid Hex characters on argument @${n}`),n&&!(0,r.isHexValidLength)(n)&&a.push(`Odd number of Hex characters on argument @${n}`),a};0&&(module.exports={getHexValidationWarnings});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var i in a)o(n,i,{get:a[i],enumerable:!0})},h=(n,a,i,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!s.call(n,e)&&e!==i&&o(n,e,{get:()=>a[e],enumerable:!(t=c(a,e))||t.enumerable});return n};var u=n=>h(o({},"__esModule",{value:!0}),n);var m={};d(m,{getHexValidationWarnings:()=>x});module.exports=u(m);var r=require("../../../../utils/validation/hex");const x=n=>{const a=[];return n&&!(0,r.isHexValidCharacters)(n)&&a.push(`Invalid Hex characters on argument @${n}`),n&&!(0,r.isHexValidLength)(n)&&a.push(`Odd number of Hex characters on argument @${n}`),a};0&&(module.exports={getHexValidationWarnings});
|
|
2
2
|
//# sourceMappingURL=getHexValidationWarnings.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHexValidationWarnings: (str: string) => string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var T=(e,r)=>{for(var d in r)a(e,d,{get:r[d],enumerable:!0})},D=(e,r,d,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of s(r))!f.call(e,t)&&t!==d&&a(e,t,{get:()=>r[t],enumerable:!(o=m(r,t))||o.enumerable});return e};var S=e=>D(a({},"__esModule",{value:!0}),e);var h={};T(h,{getSmartDecodedParts:()=>g});module.exports=S(h);var i=require("types/enums.types"),n=require("types/serverTransactions.types"),c=require("./decodeByMethod");const g=({parts:e,decodedParts:r,identifier:d})=>{const o=[...r];if(e[0]===i.TransactionTypesEnum.ESDTNFTTransfer&&e[2]&&(o[2]=(0,c.decodeByMethod)({data:e[2],decodeMethod:n.DecodeMethodEnum.decimal})),d===i.TransactionTypesEnum.ESDTNFTTransfer&&e[1]){const t=Buffer.from(String(e[1]),"base64");o[1]=(0,c.decodeByMethod)({data:t.toString("hex"),decodeMethod:n.DecodeMethodEnum.decimal})}return o};0&&(module.exports={getSmartDecodedParts});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var T=(e,r)=>{for(var d in r)a(e,d,{get:r[d],enumerable:!0})},D=(e,r,d,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of s(r))!f.call(e,t)&&t!==d&&a(e,t,{get:()=>r[t],enumerable:!(o=m(r,t))||o.enumerable});return e};var S=e=>D(a({},"__esModule",{value:!0}),e);var h={};T(h,{getSmartDecodedParts:()=>g});module.exports=S(h);var i=require("../../../../types/enums.types"),n=require("../../../../types/serverTransactions.types"),c=require("./decodeByMethod");const g=({parts:e,decodedParts:r,identifier:d})=>{const o=[...r];if(e[0]===i.TransactionTypesEnum.ESDTNFTTransfer&&e[2]&&(o[2]=(0,c.decodeByMethod)({data:e[2],decodeMethod:n.DecodeMethodEnum.decimal})),d===i.TransactionTypesEnum.ESDTNFTTransfer&&e[1]){const t=Buffer.from(String(e[1]),"base64");o[1]=(0,c.decodeByMethod)({data:t.toString("hex"),decodeMethod:n.DecodeMethodEnum.decimal})}return o};0&&(module.exports={getSmartDecodedParts});
|
|
2
2
|
//# sourceMappingURL=getSmartDecodedParts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getDecodedDataField';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface GetHumanReadableTimeFormatType {
|
|
2
|
+
value: number;
|
|
3
|
+
noSeconds?: boolean;
|
|
4
|
+
utc?: boolean;
|
|
5
|
+
meridiem?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @param value - UNIX timestamp
|
|
9
|
+
* */
|
|
10
|
+
export declare function getHumanReadableTimeFormat({ value, noSeconds, utc, meridiem }: GetHumanReadableTimeFormatType): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var G=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},b=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of C(t))!F.call(e,o)&&o!==r&&s(e,o,{get:()=>t[o],enumerable:!(a=R(t,o))||a.enumerable});return e};var B=e=>b(s({},"__esModule",{value:!0}),e);var U={};G(U,{getInterpretedTransaction:()=>E});module.exports=B(U);var m=require("utils/operations/timeRemaining"),p=require("utils/validation/isContract"),n=require("../explorerUrlBuilder"),i=require("../getExplorerLink"),T=require("../getHumanReadableTimeFormat"),d=require("./getTransactionValue/helpers/getTransactionTokens"),f=require("./helpers/getTokenFromData"),g=require("./helpers/getTransactionIconInfo"),k=require("./helpers/getTransactionMethod"),h=require("./helpers/getTransactionReceiver"),y=require("./helpers/getTransactionReceiverAssets"),u=require("./helpers/getTransactionTransferType");function E({transaction:e,address:t,explorerAddress:r}){const a=e.tokenIdentifier??(0,f.getTokenFromData)(e.data).tokenId,o=(0,h.getTransactionReceiver)(e),l=(0,y.getTransactionReceiverAssets)(e),v={timeAgo:(0,m.timeAgo)(e.timestamp*1e3,!0),tooltip:(0,T.getHumanReadableTimeFormat)({value:e.timestamp,noSeconds:!1,utc:!0})},I=(0,u.getTransactionTransferType)({address:t,transaction:e,receiver:o}),S={actionDescription:e.action?.description,name:(0,k.getTransactionMethod)(e)},D=(0,d.getTransactionTokens)(e),L=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(e.sender)}),A=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(o)}),H=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.senderShard(e.senderShard)}),x=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.receiverShard(e.receiverShard)}),c=e.originalTxHash||e.txHash,M=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.transactionDetails(c)});return{...e,txHash:c,tokenIdentifier:a,receiver:o,receiverAssets:l,transactionDetails:{age:v,direction:I,method:S,iconInfo:(0,g.getTransactionIconInfo)(e),transactionTokens:D,isContract:(0,p.isContract)(e.sender)},links:{senderLink:L,receiverLink:A,senderShardLink:H,receiverShardLink:x,transactionLink:M}}}0&&(module.exports={getInterpretedTransaction});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var G=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},b=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of C(t))!F.call(e,o)&&o!==r&&s(e,o,{get:()=>t[o],enumerable:!(a=R(t,o))||a.enumerable});return e};var B=e=>b(s({},"__esModule",{value:!0}),e);var U={};G(U,{getInterpretedTransaction:()=>E});module.exports=B(U);var m=require("../../../utils/operations/timeRemaining"),p=require("../../../utils/validation/isContract"),n=require("../explorerUrlBuilder"),i=require("../getExplorerLink"),T=require("../getHumanReadableTimeFormat"),d=require("./getTransactionValue/helpers/getTransactionTokens"),f=require("./helpers/getTokenFromData"),g=require("./helpers/getTransactionIconInfo"),k=require("./helpers/getTransactionMethod"),h=require("./helpers/getTransactionReceiver"),y=require("./helpers/getTransactionReceiverAssets"),u=require("./helpers/getTransactionTransferType");function E({transaction:e,address:t,explorerAddress:r}){const a=e.tokenIdentifier??(0,f.getTokenFromData)(e.data).tokenId,o=(0,h.getTransactionReceiver)(e),l=(0,y.getTransactionReceiverAssets)(e),v={timeAgo:(0,m.timeAgo)(e.timestamp*1e3,!0),tooltip:(0,T.getHumanReadableTimeFormat)({value:e.timestamp,noSeconds:!1,utc:!0})},I=(0,u.getTransactionTransferType)({address:t,transaction:e,receiver:o}),S={actionDescription:e.action?.description,name:(0,k.getTransactionMethod)(e)},D=(0,d.getTransactionTokens)(e),L=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(e.sender)}),A=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.accountDetails(o)}),H=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.senderShard(e.senderShard)}),x=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.receiverShard(e.receiverShard)}),c=e.originalTxHash||e.txHash,M=(0,i.getExplorerLink)({explorerAddress:r,to:n.explorerUrlBuilder.transactionDetails(c)});return{...e,txHash:c,tokenIdentifier:a,receiver:o,receiverAssets:l,transactionDetails:{age:v,direction:I,method:S,iconInfo:(0,g.getTransactionIconInfo)(e),transactionTokens:D,isContract:(0,p.isContract)(e.sender)},links:{senderLink:L,receiverLink:A,senderShardLink:H,receiverShardLink:x,transactionLink:M}}}0&&(module.exports={getInterpretedTransaction});
|
|
2
2
|
//# sourceMappingURL=getInterpretedTransaction.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InterpretedTransactionType, ServerTransactionType } from '../../../types/serverTransactions.types';
|
|
2
|
+
export interface GetInterpretedTransactionType {
|
|
3
|
+
address: string;
|
|
4
|
+
explorerAddress: string;
|
|
5
|
+
transaction: ServerTransactionType;
|
|
6
|
+
}
|
|
7
|
+
export declare function getInterpretedTransaction({ transaction, address, explorerAddress }: GetInterpretedTransactionType): InterpretedTransactionType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var E=(t,_)=>{for(var I in _)n(t,I,{get:_[I],enumerable:!0})},N=(t,_,I,o)=>{if(_&&typeof _=="object"||typeof _=="function")for(let A of r(_))!a.call(t,A)&&A!==I&&n(t,A,{get:()=>_[A],enumerable:!(o=T(_,A))||o.enumerable});return t};var s=t=>N(n({},"__esModule",{value:!0}),t);var L={};E(L,{ACTIONS_WITH_EGLD_VALUE:()=>c,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>O,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>D,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>p});module.exports=s(L);var e=require("types/serverTransactions.types");const O=[e.TransactionActionsEnum.reDelegateRewards,e.TransactionActionsEnum.claimRewards,e.TransactionActionsEnum.unBond],c=[e.TransactionActionsEnum.wrapEgld,e.TransactionActionsEnum.unwrapEgld],p=[e.TransactionActionsEnum.unStake],D=[e.TransactionActionsEnum.unDelegate];0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var E=(t,_)=>{for(var I in _)n(t,I,{get:_[I],enumerable:!0})},N=(t,_,I,o)=>{if(_&&typeof _=="object"||typeof _=="function")for(let A of r(_))!a.call(t,A)&&A!==I&&n(t,A,{get:()=>_[A],enumerable:!(o=T(_,A))||o.enumerable});return t};var s=t=>N(n({},"__esModule",{value:!0}),t);var L={};E(L,{ACTIONS_WITH_EGLD_VALUE:()=>c,ACTIONS_WITH_MANDATORY_OPERATIONS:()=>O,ACTIONS_WITH_VALUE_IN_ACTION_FIELD:()=>D,ACTIONS_WITH_VALUE_IN_DATA_FIELD:()=>p});module.exports=s(L);var e=require("../../../../types/serverTransactions.types");const O=[e.TransactionActionsEnum.reDelegateRewards,e.TransactionActionsEnum.claimRewards,e.TransactionActionsEnum.unBond],c=[e.TransactionActionsEnum.wrapEgld,e.TransactionActionsEnum.unwrapEgld],p=[e.TransactionActionsEnum.unStake],D=[e.TransactionActionsEnum.unDelegate];0&&(module.exports={ACTIONS_WITH_EGLD_VALUE,ACTIONS_WITH_MANDATORY_OPERATIONS,ACTIONS_WITH_VALUE_IN_ACTION_FIELD,ACTIONS_WITH_VALUE_IN_DATA_FIELD});
|
|
2
2
|
//# sourceMappingURL=constants.cjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TransactionActionsEnum } from '../../../../types/serverTransactions.types';
|
|
2
|
+
/**
|
|
3
|
+
* If `action.name` or `function` is in `ACTIONS_WITH_MANDATORY_OPERATIONS[]`, transaction value will be computed based `operations` field
|
|
4
|
+
*/
|
|
5
|
+
export declare const ACTIONS_WITH_MANDATORY_OPERATIONS: TransactionActionsEnum[];
|
|
6
|
+
/**
|
|
7
|
+
* If `action.name` is in `ACTIONS_WITH_EGLD_VALUE[]`, transaction value will be returned directly
|
|
8
|
+
*/
|
|
9
|
+
export declare const ACTIONS_WITH_EGLD_VALUE: TransactionActionsEnum[];
|
|
10
|
+
/**
|
|
11
|
+
* If `action.name` is in `ACTIONS_WITH_VALUE_IN_DATA_FIELD[]`, transaction value will be computed based on `data` field
|
|
12
|
+
*/
|
|
13
|
+
export declare const ACTIONS_WITH_VALUE_IN_DATA_FIELD: TransactionActionsEnum[];
|
|
14
|
+
/**
|
|
15
|
+
* If `action.name` is in `ACTIONS_WITH_VALUE_IN_ACTION_FIELD[]`, transaction value will be computed based on `action` field
|
|
16
|
+
*/
|
|
17
|
+
export declare const ACTIONS_WITH_VALUE_IN_ACTION_FIELD: TransactionActionsEnum[];
|
package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var N=(e,a)=>{for(var o in a)u(e,o,{get:a[o],enumerable:!0})},L=(e,a,o,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of _(a))!y.call(e,r)&&r!==o&&u(e,r,{get:()=>a[r],enumerable:!(t=E(a,r))||t.enumerable});return e};var F=e=>L(u({},"__esModule",{value:!0}),e);var v={};N(v,{getTransactionValue:()=>O});module.exports=F(v);var l=require("lib/sdkDappUtils"),p=require("types/tokens.types"),n=require("./constants"),T=require("./helpers/getEgldValueData"),s=require("./helpers/getTitleText"),c=require("./helpers/getTransactionActionNftText"),f=require("./helpers/getTransactionTokens"),d=require("./helpers/getValueFromActions"),k=require("./helpers/getValueFromDataField"),V=require("./helpers/getValueFromOperations"),A=require("../../explorerUrlBuilder");const O=({transaction:e,hideMultipleBadge:a})=>{if(e.action){if(n.ACTIONS_WITH_EGLD_VALUE.includes(e.action.name))return(0,T.getEgldValueData)(e.value);if(n.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(e.action.name))return(0,k.getValueFromDataField)(e);if(n.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(e.action.name))return(0,V.getValueFromOperations)(e);if(n.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(e.action.name))return(0,d.getValueFromActions)(e);const o=(0,f.getTransactionTokens)(e);if(o.length){const t=o[0],r=Object.values(p.NftEnumType).includes(t.type),m=!a&&o.length>1?(0,s.getTitleText)(o):"";if(r){const{badgeText:g,tokenFormattedAmount:i,tokenExplorerLink:I,tokenLinkText:x}=(0,c.getTransactionActionNftText)({token:t});return{nftValueData:{badgeText:g,tokenFormattedAmount:i,tokenExplorerLink:I,tokenLinkText:x,transactionTokens:o,token:t,value:i!=null?t.value:null,decimals:i!=null?t.decimals:null,titleText:m}}}const D=t.value?(0,l.formatAmount)({input:t.value,decimals:t.decimals??l.DECIMALS,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:A.explorerUrlBuilder.tokenDetails(String(t.token)),showFormattedAmount:!1,tokenFormattedAmount:D,tokenLinkText:t.ticker,transactionTokens:o,token:t,value:t.value,decimals:t.decimals??l.DECIMALS,titleText:m}}}}return(0,T.getEgldValueData)(e.value)};0&&(module.exports={getTransactionValue});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var N=(e,a)=>{for(var o in a)u(e,o,{get:a[o],enumerable:!0})},L=(e,a,o,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of _(a))!y.call(e,r)&&r!==o&&u(e,r,{get:()=>a[r],enumerable:!(t=E(a,r))||t.enumerable});return e};var F=e=>L(u({},"__esModule",{value:!0}),e);var v={};N(v,{getTransactionValue:()=>O});module.exports=F(v);var l=require("../../../../lib/sdkDappUtils"),p=require("../../../../types/tokens.types"),n=require("./constants"),T=require("./helpers/getEgldValueData"),s=require("./helpers/getTitleText"),c=require("./helpers/getTransactionActionNftText"),f=require("./helpers/getTransactionTokens"),d=require("./helpers/getValueFromActions"),k=require("./helpers/getValueFromDataField"),V=require("./helpers/getValueFromOperations"),A=require("../../explorerUrlBuilder");const O=({transaction:e,hideMultipleBadge:a})=>{if(e.action){if(n.ACTIONS_WITH_EGLD_VALUE.includes(e.action.name))return(0,T.getEgldValueData)(e.value);if(n.ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(e.action.name))return(0,k.getValueFromDataField)(e);if(n.ACTIONS_WITH_MANDATORY_OPERATIONS.includes(e.action.name))return(0,V.getValueFromOperations)(e);if(n.ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(e.action.name))return(0,d.getValueFromActions)(e);const o=(0,f.getTransactionTokens)(e);if(o.length){const t=o[0],r=Object.values(p.NftEnumType).includes(t.type),m=!a&&o.length>1?(0,s.getTitleText)(o):"";if(r){const{badgeText:g,tokenFormattedAmount:i,tokenExplorerLink:I,tokenLinkText:x}=(0,c.getTransactionActionNftText)({token:t});return{nftValueData:{badgeText:g,tokenFormattedAmount:i,tokenExplorerLink:I,tokenLinkText:x,transactionTokens:o,token:t,value:i!=null?t.value:null,decimals:i!=null?t.decimals:null,titleText:m}}}const D=t.value?(0,l.formatAmount)({input:t.value,decimals:t.decimals??l.DECIMALS,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:A.explorerUrlBuilder.tokenDetails(String(t.token)),showFormattedAmount:!1,tokenFormattedAmount:D,tokenLinkText:t.ticker,transactionTokens:o,token:t,value:t.value,decimals:t.decimals??l.DECIMALS,titleText:m}}}}return(0,T.getEgldValueData)(e.value)};0&&(module.exports={getTransactionValue});
|
|
2
2
|
//# sourceMappingURL=getTransactionValue.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InterpretedTransactionType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
import { EgldValueDataType, NFTValueDataType, TokenValueDataType } from './types';
|
|
3
|
+
export interface GetTransactionValueReturnType {
|
|
4
|
+
egldValueData?: EgldValueDataType;
|
|
5
|
+
tokenValueData?: TokenValueDataType;
|
|
6
|
+
nftValueData?: NFTValueDataType;
|
|
7
|
+
}
|
|
8
|
+
export interface GetTransactionValueType {
|
|
9
|
+
hideMultipleBadge?: boolean;
|
|
10
|
+
transaction: InterpretedTransactionType;
|
|
11
|
+
}
|
|
12
|
+
export declare const getTransactionValue: ({ transaction, hideMultipleBadge }: GetTransactionValueType) => GetTransactionValueReturnType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var n=(t,a)=>{for(var o in a)r(t,o,{get:a[o],enumerable:!0})},u=(t,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!i.call(t,e)&&e!==o&&r(t,e,{get:()=>a[e],enumerable:!(l=d(a,e))||l.enumerable});return t};var f=t=>u(r({},"__esModule",{value:!0}),t);var s={};n(s,{getEgldValueData:()=>p});module.exports=f(s);var m=require("lib/sdkDappUtils");const p=t=>({egldValueData:{value:t,formattedValue:(0,m.formatAmount)({input:t}),decimals:m.DECIMALS}});0&&(module.exports={getEgldValueData});
|
|
1
|
+
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var n=(t,a)=>{for(var o in a)r(t,o,{get:a[o],enumerable:!0})},u=(t,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of g(a))!i.call(t,e)&&e!==o&&r(t,e,{get:()=>a[e],enumerable:!(l=d(a,e))||l.enumerable});return t};var f=t=>u(r({},"__esModule",{value:!0}),t);var s={};n(s,{getEgldValueData:()=>p});module.exports=f(s);var m=require("../../../../../lib/sdkDappUtils");const p=t=>({egldValueData:{value:t,formattedValue:(0,m.formatAmount)({input:t}),decimals:m.DECIMALS}});0&&(module.exports={getEgldValueData});
|
|
2
2
|
//# sourceMappingURL=getEgldValueData.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var y=(a,t)=>{for(var n in t)u(a,n,{get:t[n],enumerable:!0})},D=(a,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!c.call(a,o)&&o!==n&&u(a,o,{get:()=>t[o],enumerable:!(e=g(t,o))||e.enumerable});return a};var V=a=>D(u({},"__esModule",{value:!0}),a);var A={};y(A,{getTitleText:()=>k});module.exports=V(A);var r=require("lib/sdkDappUtils"),l=require("utils/validation/getIdentifierType"),m=require("./getTransactionActionNftText");const k=a=>{const t=a.map(e=>{const{isNft:o}=(0,l.getIdentifierType)(e.type);if(o){const{badgeText:i,tokenFormattedAmount:T,tokenLinkText:f}=(0,m.getTransactionActionNftText)({token:e});return`${i!=null?`(${i}) `:""}${T} ${f}`}const d=e.value?(0,r.formatAmount)({input:e.value,decimals:e.decimals??r.DECIMALS,digits:2,addCommas:!0}):null,p=e.collection?e.identifier:e.token;return`${d} ${e.ticker} (${p})`});return decodeURI(t.join("%0A"))};0&&(module.exports={getTitleText});
|
|
1
|
+
"use strict";var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var y=(a,t)=>{for(var n in t)u(a,n,{get:t[n],enumerable:!0})},D=(a,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!c.call(a,o)&&o!==n&&u(a,o,{get:()=>t[o],enumerable:!(e=g(t,o))||e.enumerable});return a};var V=a=>D(u({},"__esModule",{value:!0}),a);var A={};y(A,{getTitleText:()=>k});module.exports=V(A);var r=require("../../../../../lib/sdkDappUtils"),l=require("../../../../../utils/validation/getIdentifierType"),m=require("./getTransactionActionNftText");const k=a=>{const t=a.map(e=>{const{isNft:o}=(0,l.getIdentifierType)(e.type);if(o){const{badgeText:i,tokenFormattedAmount:T,tokenLinkText:f}=(0,m.getTransactionActionNftText)({token:e});return`${i!=null?`(${i}) `:""}${T} ${f}`}const d=e.value?(0,r.formatAmount)({input:e.value,decimals:e.decimals??r.DECIMALS,digits:2,addCommas:!0}):null,p=e.collection?e.identifier:e.token;return`${d} ${e.ticker} (${p})`});return decodeURI(t.join("%0A"))};0&&(module.exports={getTitleText});
|
|
2
2
|
//# sourceMappingURL=getTitleText.cjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TokenArgumentType } from '../../../../../types/serverTransactions.types';
|
|
2
|
+
import { EgldValueDataType, NFTValueDataType, TokenValueDataType } from '../types';
|
|
3
|
+
export interface GetTransactionValueReturnType {
|
|
4
|
+
egldValueData?: EgldValueDataType;
|
|
5
|
+
tokenValueData?: TokenValueDataType;
|
|
6
|
+
nftValueData?: NFTValueDataType;
|
|
7
|
+
}
|
|
8
|
+
export declare const getTitleText: (transactionTokens: TokenArgumentType[]) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var i in e)l(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of f(e))!g.call(t,n)&&n!==i&&l(t,n,{get:()=>e[n],enumerable:!(o=s(e,n))||o.enumerable});return t};var y=t=>d(l({},"__esModule",{value:!0}),t);var x={};A(x,{getTransactionActionNftText:()=>b});module.exports=y(x);var T=require("lib/sdkDappUtils"),r=require("types/tokens.types"),c=require("../../../explorerUrlBuilder");function b({token:t,noValue:e,showLastNonZeroDecimal:i}){const o=!e&&t.value&&t.type!==r.NftEnumType.NonFungibleESDT,n=t.decimals!=null;let a="";t.type===r.NftEnumType.NonFungibleESDT&&(a="NFT"),t.type===r.NftEnumType.SemiFungibleESDT&&(a="SFT"),t.type===r.NftEnumType.MetaESDT&&(a="Meta-ESDT");let m="";o&&n&&(m=n?(0,T.formatAmount)({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:i}):Number(t.value).toLocaleString("en"));const u=c.explorerUrlBuilder.nftDetails(String(t.identifier)),p=t.ticker===t.collection?t.identifier??t.ticker:t.ticker;return{badgeText:a,tokenFormattedAmount:o?m:null,tokenExplorerLink:u,tokenLinkText:p,token:t,noValue:e,showLastNonZeroDecimal:i}}0&&(module.exports={getTransactionActionNftText});
|
|
1
|
+
"use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var i in e)l(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of f(e))!g.call(t,n)&&n!==i&&l(t,n,{get:()=>e[n],enumerable:!(o=s(e,n))||o.enumerable});return t};var y=t=>d(l({},"__esModule",{value:!0}),t);var x={};A(x,{getTransactionActionNftText:()=>b});module.exports=y(x);var T=require("../../../../../lib/sdkDappUtils"),r=require("../../../../../types/tokens.types"),c=require("../../../explorerUrlBuilder");function b({token:t,noValue:e,showLastNonZeroDecimal:i}){const o=!e&&t.value&&t.type!==r.NftEnumType.NonFungibleESDT,n=t.decimals!=null;let a="";t.type===r.NftEnumType.NonFungibleESDT&&(a="NFT"),t.type===r.NftEnumType.SemiFungibleESDT&&(a="SFT"),t.type===r.NftEnumType.MetaESDT&&(a="Meta-ESDT");let m="";o&&n&&(m=n?(0,T.formatAmount)({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:i}):Number(t.value).toLocaleString("en"));const u=c.explorerUrlBuilder.nftDetails(String(t.identifier)),p=t.ticker===t.collection?t.identifier??t.ticker:t.ticker;return{badgeText:a,tokenFormattedAmount:o?m:null,tokenExplorerLink:u,tokenLinkText:p,token:t,noValue:e,showLastNonZeroDecimal:i}}0&&(module.exports={getTransactionActionNftText});
|
|
2
2
|
//# sourceMappingURL=getTransactionActionNftText.cjs.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TokenArgumentType } from '../../../../../types/serverTransactions.types';
|
|
2
|
+
export interface TransactionActionNftType {
|
|
3
|
+
token: TokenArgumentType;
|
|
4
|
+
noValue?: boolean;
|
|
5
|
+
showLastNonZeroDecimal?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface TransactionActionNftReturnType {
|
|
8
|
+
badgeText: string | null;
|
|
9
|
+
tokenFormattedAmount: string | null;
|
|
10
|
+
tokenExplorerLink: string;
|
|
11
|
+
tokenLinkText: string;
|
|
12
|
+
token: TokenArgumentType;
|
|
13
|
+
showLastNonZeroDecimal?: boolean;
|
|
14
|
+
noValue?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function getTransactionActionNftText({ token, noValue, showLastNonZeroDecimal }: TransactionActionNftType): TransactionActionNftReturnType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InterpretedTransactionType } from '../../../../../types/serverTransactions.types';
|
|
2
|
+
export declare function getValueFromActions(transaction: InterpretedTransactionType): {
|
|
3
|
+
egldValueData: {
|
|
4
|
+
value: string;
|
|
5
|
+
formattedValue: string;
|
|
6
|
+
decimals: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var u=Object.create;var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var x=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},d=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of f(t))!s.call(e,o)&&o!==r&&n(e,o,{get:()=>t[o],enumerable:!(a=p(t,o))||a.enumerable});return e};var T=(e,t,r)=>(r=e!=null?u(g(e)):{},d(t||!e||!e.__esModule?n(r,"default",{value:e,enumerable:!0}):r,e)),h=e=>d(n({},"__esModule",{value:!0}),e);var y={};x(y,{getValueFromDataField:()=>v});module.exports=h(y);var c=T(require("bignumber.js")),m=require("utils/decoders/base64Utils"),l=require("./getEgldValueData");let i=!1;function v(e){try{const r=(0,m.decodeBase64)(e.data).replace(`${e.action?.name}@`,""),a=new c.default(r,16);if(!a.isNaN())return(0,l.getEgldValueData)(a.toString(10))}catch{i||(console.error(`Unable to extract value for txHash: ${e.txHash}`),i=!0)}return(0,l.getEgldValueData)(e.value)}0&&(module.exports={getValueFromDataField});
|
|
1
|
+
"use strict";var u=Object.create;var n=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var x=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},d=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of f(t))!s.call(e,o)&&o!==r&&n(e,o,{get:()=>t[o],enumerable:!(a=p(t,o))||a.enumerable});return e};var T=(e,t,r)=>(r=e!=null?u(g(e)):{},d(t||!e||!e.__esModule?n(r,"default",{value:e,enumerable:!0}):r,e)),h=e=>d(n({},"__esModule",{value:!0}),e);var y={};x(y,{getValueFromDataField:()=>v});module.exports=h(y);var c=T(require("bignumber.js")),m=require("../../../../../utils/decoders/base64Utils"),l=require("./getEgldValueData");let i=!1;function v(e){try{const r=(0,m.decodeBase64)(e.data).replace(`${e.action?.name}@`,""),a=new c.default(r,16);if(!a.isNaN())return(0,l.getEgldValueData)(a.toString(10))}catch{i||(console.error(`Unable to extract value for txHash: ${e.txHash}`),i=!0)}return(0,l.getEgldValueData)(e.value)}0&&(module.exports={getValueFromDataField});
|
|
2
2
|
//# sourceMappingURL=getValueFromDataField.cjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InterpretedTransactionType } from '../../../../../types/serverTransactions.types';
|
|
2
|
+
export declare function getValueFromDataField(transaction: InterpretedTransactionType): {
|
|
3
|
+
egldValueData: {
|
|
4
|
+
value: string;
|
|
5
|
+
formattedValue: string;
|
|
6
|
+
decimals: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InterpretedTransactionType } from '../../../../../types/serverTransactions.types';
|
|
2
|
+
export declare function getValueFromOperations(transaction: InterpretedTransactionType): {
|
|
3
|
+
egldValueData: {
|
|
4
|
+
value: string;
|
|
5
|
+
formattedValue: string;
|
|
6
|
+
decimals: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var T=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},l=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==r&&i(t,n,{get:()=>e[n],enumerable:!(o=p(e,n))||o.enumerable});return t};var y=t=>l(i({},"__esModule",{value:!0}),t);var d={};T(d,{getVisibleOperations:()=>b});module.exports=y(d);var s=require("types/serverTransactions.types");const b=t=>t?.operations?.filter(r=>Object.values(s.VisibleTransactionOperationType).includes(r.type))??[];0&&(module.exports={getVisibleOperations});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var T=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},l=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==r&&i(t,n,{get:()=>e[n],enumerable:!(o=p(e,n))||o.enumerable});return t};var y=t=>l(i({},"__esModule",{value:!0}),t);var d={};T(d,{getVisibleOperations:()=>b});module.exports=y(d);var s=require("../../../../../types/serverTransactions.types");const b=t=>t?.operations?.filter(r=>Object.values(s.VisibleTransactionOperationType).includes(r.type))??[];0&&(module.exports={getVisibleOperations});
|
|
2
2
|
//# sourceMappingURL=getVisibleOperations.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getTransactionValue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TokenArgumentType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
export interface ESDTValueDataType {
|
|
3
|
+
tokenFormattedAmount: string | null;
|
|
4
|
+
tokenExplorerLink: string;
|
|
5
|
+
tokenLinkText: string;
|
|
6
|
+
transactionTokens: TokenArgumentType[];
|
|
7
|
+
token: TokenArgumentType;
|
|
8
|
+
value: string | null;
|
|
9
|
+
decimals: number | null;
|
|
10
|
+
titleText: string;
|
|
11
|
+
}
|
|
12
|
+
export interface NFTValueDataType extends ESDTValueDataType {
|
|
13
|
+
badgeText: string | null;
|
|
14
|
+
}
|
|
15
|
+
export interface TokenValueDataType extends ESDTValueDataType {
|
|
16
|
+
showFormattedAmount: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface EgldValueDataType {
|
|
19
|
+
value: string;
|
|
20
|
+
formattedValue: string;
|
|
21
|
+
decimals: number;
|
|
22
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var m=(r,t)=>{for(var n in t)i(r,n,{get:t[n],enumerable:!0})},g=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of l(t))!k.call(r,e)&&e!==n&&i(r,e,{get:()=>t[e],enumerable:!(o=f(t,e))||o.enumerable});return r};var A=r=>g(i({},"__esModule",{value:!0}),r);var p={};m(p,{getLockedAccountName:()=>L});module.exports=A(p);var d=require("apiCalls/tokens/getPersistedTokenDetails"),a=require("utils/validation/addressIsValid");const L=async({receiver:r,sender:t,tokenId:n})=>{let o=null,e=null;if(!n)return{senderLockedAccount:o,receiverLockedAccount:e};try{const s=(await(0,d.getPersistedTokenDetails)({tokenId:n}))?.assets?.lockedAccounts;if(!s)return{senderLockedAccount:o,receiverLockedAccount:e};for(const c in s)if((0,a.addressIsValid)(c)&&(t===c&&(o=c),r===c&&(e=c)),(0,a.addressIsValid)(s[c])&&(t===s[c]&&(o=s[c]),r===s[c]&&(e=s[c])),o&&e)return{senderLockedAccount:o,receiverLockedAccount:e}}catch(u){console.error("Error getting token details",u)}return{senderLockedAccount:o,receiverLockedAccount:e}};0&&(module.exports={getLockedAccountName});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var m=(r,t)=>{for(var n in t)i(r,n,{get:t[n],enumerable:!0})},g=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of l(t))!k.call(r,e)&&e!==n&&i(r,e,{get:()=>t[e],enumerable:!(o=f(t,e))||o.enumerable});return r};var A=r=>g(i({},"__esModule",{value:!0}),r);var p={};m(p,{getLockedAccountName:()=>L});module.exports=A(p);var d=require("../../../../apiCalls/tokens/getPersistedTokenDetails"),a=require("../../../../utils/validation/addressIsValid");const L=async({receiver:r,sender:t,tokenId:n})=>{let o=null,e=null;if(!n)return{senderLockedAccount:o,receiverLockedAccount:e};try{const s=(await(0,d.getPersistedTokenDetails)({tokenId:n}))?.assets?.lockedAccounts;if(!s)return{senderLockedAccount:o,receiverLockedAccount:e};for(const c in s)if((0,a.addressIsValid)(c)&&(t===c&&(o=c),r===c&&(e=c)),(0,a.addressIsValid)(s[c])&&(t===s[c]&&(o=s[c]),r===s[c]&&(e=s[c])),o&&e)return{senderLockedAccount:o,receiverLockedAccount:e}}catch(u){console.error("Error getting token details",u)}return{senderLockedAccount:o,receiverLockedAccount:e}};0&&(module.exports={getLockedAccountName});
|
|
2
2
|
//# sourceMappingURL=getLockedAccountName.cjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface IGetLockedAccountNameParams {
|
|
2
|
+
receiver: string;
|
|
3
|
+
sender: string;
|
|
4
|
+
tokenId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const getLockedAccountName: ({ receiver, sender, tokenId }: IGetLockedAccountNameParams) => Promise<{
|
|
7
|
+
senderLockedAccount: string | null;
|
|
8
|
+
receiverLockedAccount: string | null;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-YDH26OGG.mjs";import"../../../../__chunks__/chunk-AIBBSVXP.mjs";import"../../../../__chunks__/chunk-NYZ726DG.mjs";import"../../../../__chunks__/chunk-SNPF3BD2.mjs";import"../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../__chunks__/chunk-VSOHM56Y.mjs";import"../../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-LLVSK2AG.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../__chunks__/chunk-O5PAMBB3.mjs";import"../../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../__chunks__/chunk-YDR33UBM.mjs";export{a as getLockedAccountName};
|
|
2
2
|
//# sourceMappingURL=getLockedAccountName.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var c=Object.create;var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var l=(e,r)=>{for(var t in r)u(e,t,{get:r[t],enumerable:!0})},a=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of f(r))!g.call(e,o)&&o!==t&&u(e,o,{get:()=>r[o],enumerable:!(s=n(r,o))||s.enumerable});return e};var v=(e,r,t)=>(t=e!=null?c(d(e)):{},a(r||!e||!e.__esModule?u(t,"default",{value:e,enumerable:!0}):t,e)),T=e=>a(u({},"__esModule",{value:!0}),e);var R={};l(R,{getReceiptMessage:()=>D});module.exports=T(R);var m=v(require("bignumber.js")),p=require("constants/mvx.constants"),i=require("lib/sdkDappUtils");const S=e=>{if(!e.receipt?.value)return"";if(e.receipt?.data===p.REFUNDED_GAS){const r=(0,i.formatAmount)({input:e.receipt.value,decimals:i.DECIMALS,digits:i.DIGITS,showLastNonZeroDecimal:!0});return new m.default(r).times(e.gasPrice).times(100).toFixed()}return e.receipt.value};function D(e){const r=e.receipt?.data;if(!r)return"";const t=S(e),s=t?`: ${t}`:"";return`${r}${s}`}0&&(module.exports={getReceiptMessage});
|
|
1
|
+
"use strict";var c=Object.create;var u=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var l=(e,r)=>{for(var t in r)u(e,t,{get:r[t],enumerable:!0})},a=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of f(r))!g.call(e,o)&&o!==t&&u(e,o,{get:()=>r[o],enumerable:!(s=n(r,o))||s.enumerable});return e};var v=(e,r,t)=>(t=e!=null?c(d(e)):{},a(r||!e||!e.__esModule?u(t,"default",{value:e,enumerable:!0}):t,e)),T=e=>a(u({},"__esModule",{value:!0}),e);var R={};l(R,{getReceiptMessage:()=>D});module.exports=T(R);var m=v(require("bignumber.js")),p=require("../../../../constants/mvx.constants"),i=require("../../../../lib/sdkDappUtils");const S=e=>{if(!e.receipt?.value)return"";if(e.receipt?.data===p.REFUNDED_GAS){const r=(0,i.formatAmount)({input:e.receipt.value,decimals:i.DECIMALS,digits:i.DIGITS,showLastNonZeroDecimal:!0});return new m.default(r).times(e.gasPrice).times(100).toFixed()}return e.receipt.value};function D(e){const r=e.receipt?.data;if(!r)return"";const t=S(e),s=t?`: ${t}`:"";return`${r}${s}`}0&&(module.exports={getReceiptMessage});
|
|
2
2
|
//# sourceMappingURL=getReceiptMessage.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},c=(r,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of s(t))!g.call(r,i)&&i!==n&&a(r,i,{get:()=>t[i],enumerable:!(e=o(t,i))||e.enumerable});return r};var d=r=>c(a({},"__esModule",{value:!0}),r);var A={};h(A,{getShardText:()=>l});module.exports=d(A);var S=require("constants/mvx.constants");const l=r=>{let t=r;typeof t=="string"&&t.includes("Shard")&&(t=t.replace("Shard","").replace(" ",""));const n=S.METACHAIN_SHARD_ID.toString()===String(t).toString()||String(t)==="metachain",e=S.ALL_SHARDS_SHARD_ID.toString()===String(t).toString();return n?"Metachain":e?"All Shards":`Shard ${t}`};0&&(module.exports={getShardText});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var h=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},c=(r,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of s(t))!g.call(r,i)&&i!==n&&a(r,i,{get:()=>t[i],enumerable:!(e=o(t,i))||e.enumerable});return r};var d=r=>c(a({},"__esModule",{value:!0}),r);var A={};h(A,{getShardText:()=>l});module.exports=d(A);var S=require("../../../../constants/mvx.constants");const l=r=>{let t=r;typeof t=="string"&&t.includes("Shard")&&(t=t.replace("Shard","").replace(" ",""));const n=S.METACHAIN_SHARD_ID.toString()===String(t).toString()||String(t)==="metachain",e=S.ALL_SHARDS_SHARD_ID.toString()===String(t).toString();return n?"Metachain":e?"All Shards":`Shard ${t}`};0&&(module.exports={getShardText});
|
|
2
2
|
//# sourceMappingURL=getShardText.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getShardText: (shard: number | string) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var k=Object.create;var u=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var y=(n,t)=>{for(var o in t)u(n,o,{get:t[o],enumerable:!0})},T=(n,t,o,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of h(t))!S.call(n,s)&&s!==o&&u(n,s,{get:()=>t[s],enumerable:!(d=B(t,s))||d.enumerable});return n};var v=(n,t,o)=>(o=n!=null?k(D(n)):{},T(t||!n||!n.__esModule?u(o,"default",{value:n,enumerable:!0}):o,n)),w=n=>T(u({},"__esModule",{value:!0}),n);var E={};y(E,{decodeData:()=>I,getTokenFromData:()=>N});module.exports=w(E);var m=v(require("bignumber.js")),l=require("lib/sdkCore"),f=require("types/enums.types"),g=require("utils/decoders/decodePart"),p=require("utils/validation/addressIsValid");const a={tokenId:"",amount:""},I=n=>n.split("@").map((e,r)=>[2,3].includes(r)?e:(0,g.decodePart)(e));function N(n){if(!n)return a;const t=n.startsWith(f.TransactionTypesEnum.ESDTTransfer),o=n.startsWith(f.TransactionTypesEnum.ESDTNFTTransfer)&&n.includes("@"),d=n.startsWith(f.TransactionTypesEnum.ESDTNFTBurn)&&n.includes("@");try{if(t){const[,e,r]=n.split("@"),i=Buffer.from(e,"hex").toString("ascii");if(!i)return a;const c=new m.default("0x"+r.replace("0x","")).toString(10);return{tokenId:i,amount:c}}const s=I(n);if(o){const[,e,r,i,c]=s;if([e,r,i,c].every(x=>!!x)&&(0,p.addressIsValid)(new l.Address(c).toBech32()))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r,receiver:new l.Address(c).toBech32()}}if(d){const[,e,r,i]=s;if([e,r,i].every(c=>!!c))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r}}}catch{return a}return a}0&&(module.exports={decodeData,getTokenFromData});
|
|
1
|
+
"use strict";var k=Object.create;var u=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var y=(n,t)=>{for(var o in t)u(n,o,{get:t[o],enumerable:!0})},T=(n,t,o,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of h(t))!S.call(n,s)&&s!==o&&u(n,s,{get:()=>t[s],enumerable:!(d=B(t,s))||d.enumerable});return n};var v=(n,t,o)=>(o=n!=null?k(D(n)):{},T(t||!n||!n.__esModule?u(o,"default",{value:n,enumerable:!0}):o,n)),w=n=>T(u({},"__esModule",{value:!0}),n);var E={};y(E,{decodeData:()=>I,getTokenFromData:()=>N});module.exports=w(E);var m=v(require("bignumber.js")),l=require("../../../../lib/sdkCore"),f=require("../../../../types/enums.types"),g=require("../../../../utils/decoders/decodePart"),p=require("../../../../utils/validation/addressIsValid");const a={tokenId:"",amount:""},I=n=>n.split("@").map((e,r)=>[2,3].includes(r)?e:(0,g.decodePart)(e));function N(n){if(!n)return a;const t=n.startsWith(f.TransactionTypesEnum.ESDTTransfer),o=n.startsWith(f.TransactionTypesEnum.ESDTNFTTransfer)&&n.includes("@"),d=n.startsWith(f.TransactionTypesEnum.ESDTNFTBurn)&&n.includes("@");try{if(t){const[,e,r]=n.split("@"),i=Buffer.from(e,"hex").toString("ascii");if(!i)return a;const c=new m.default("0x"+r.replace("0x","")).toString(10);return{tokenId:i,amount:c}}const s=I(n);if(o){const[,e,r,i,c]=s;if([e,r,i,c].every(x=>!!x)&&(0,p.addressIsValid)(new l.Address(c).toBech32()))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r,receiver:new l.Address(c).toBech32()}}if(d){const[,e,r,i]=s;if([e,r,i].every(c=>!!c))return{tokenId:`${e}-${r}`,amount:new m.default(i,16).toString(10),collection:e,nonce:r}}}catch{return a}return a}0&&(module.exports={decodeData,getTokenFromData});
|
|
2
2
|
//# sourceMappingURL=getTokenFromData.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var l=(r,o)=>{for(var t in o)a(r,t,{get:o[t],enumerable:!0})},h=(r,o,t,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of g(o))!u.call(r,n)&&n!==t&&a(r,n,{get:()=>o[n],enumerable:!(e=T(o,n))||e.enumerable});return r};var x=r=>h(a({},"__esModule",{value:!0}),r);var I={};l(I,{getTransactionIconInfo:()=>E});module.exports=x(I);var i=require("types/enums.types"),c=require("utils/operations/capitalize"),m=require("./getTransactionMessages"),p=require("./getTransactionStatus");const E=r=>{const o=(0,m.getTransactionMessages)(r),{failed:t,invalid:e,pending:n}=(0,p.getTransactionStatus)(r),f=(t||e)&&o.length>0?o.join(","):"",s=`${(0,c.capitalize)(r.status)} ${f}`;return t?{icon:i.IconNamesEnum.close,tooltip:s}:e?{icon:i.IconNamesEnum.ban,tooltip:s}:n?{icon:i.IconNamesEnum.hourglass,tooltip:s}:{tooltip:s}};0&&(module.exports={getTransactionIconInfo});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var l=(r,o)=>{for(var t in o)a(r,t,{get:o[t],enumerable:!0})},h=(r,o,t,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of g(o))!u.call(r,n)&&n!==t&&a(r,n,{get:()=>o[n],enumerable:!(e=T(o,n))||e.enumerable});return r};var x=r=>h(a({},"__esModule",{value:!0}),r);var I={};l(I,{getTransactionIconInfo:()=>E});module.exports=x(I);var i=require("../../../../types/enums.types"),c=require("../../../../utils/operations/capitalize"),m=require("./getTransactionMessages"),p=require("./getTransactionStatus");const E=r=>{const o=(0,m.getTransactionMessages)(r),{failed:t,invalid:e,pending:n}=(0,p.getTransactionStatus)(r),f=(t||e)&&o.length>0?o.join(","):"",s=`${(0,c.capitalize)(r.status)} ${f}`;return t?{icon:i.IconNamesEnum.close,tooltip:s}:e?{icon:i.IconNamesEnum.ban,tooltip:s}:n?{icon:i.IconNamesEnum.hourglass,tooltip:s}:{tooltip:s}};0&&(module.exports={getTransactionIconInfo});
|
|
2
2
|
//# sourceMappingURL=getTransactionIconInfo.cjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IconNamesEnum } from '../../../../types/enums.types';
|
|
2
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
3
|
+
export declare const getTransactionIconInfo: (transaction: ServerTransactionType) => {
|
|
4
|
+
icon?: `${IconNamesEnum}`;
|
|
5
|
+
tooltip: string;
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(n,t)=>{for(var a in t)i(n,a,{get:t[a],enumerable:!0})},T=(n,t,a,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!m.call(n,o)&&o!==a&&i(n,o,{get:()=>t[o],enumerable:!(c=r(t,o))||c.enumerable});return n};var u=n=>T(i({},"__esModule",{value:!0}),n);var y={};f(y,{getTransactionMethod:()=>g});module.exports=u(y);var e=require("types/serverTransactions.types");const g=n=>{let t="Transaction";return n.action?.name&&n.action?.category&&(n.action?.category===e.TransactionActionCategoryEnum.esdtNft&&n.action?.name===e.TransactionActionsEnum.transfer?t="Transaction":n.action&&(t=n.action.name),n.action?.arguments?.functionName&&(t=n.action.arguments.functionName)),t};0&&(module.exports={getTransactionMethod});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var f=(n,t)=>{for(var a in t)i(n,a,{get:t[a],enumerable:!0})},T=(n,t,a,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of s(t))!m.call(n,o)&&o!==a&&i(n,o,{get:()=>t[o],enumerable:!(c=r(t,o))||c.enumerable});return n};var u=n=>T(i({},"__esModule",{value:!0}),n);var y={};f(y,{getTransactionMethod:()=>g});module.exports=u(y);var e=require("../../../../types/serverTransactions.types");const g=n=>{let t="Transaction";return n.action?.name&&n.action?.category&&(n.action?.category===e.TransactionActionCategoryEnum.esdtNft&&n.action?.name===e.TransactionActionsEnum.transfer?t="Transaction":n.action&&(t=n.action.name),n.action?.arguments?.functionName&&(t=n.action.arguments.functionName)),t};0&&(module.exports={getTransactionMethod});
|
|
2
2
|
//# sourceMappingURL=getTransactionMethod.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
/**
|
|
3
|
+
* The information about an account like name, icon, etc...
|
|
4
|
+
* */
|
|
5
|
+
export declare function getTransactionReceiverAssets(transaction: ServerTransactionType): import("../../../../types/account.types").AssetType | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var v=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},T=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of d(e))!p.call(t,s)&&s!==r&&a(t,s,{get:()=>e[s],enumerable:!(o=u(e,s))||o.enumerable});return t};var f=t=>T(a({},"__esModule",{value:!0}),t);var l={};v(l,{getTransactionStatus:()=>g});module.exports=f(l);var n=require("types/enums.types");function g(t){const e=c=>t.status.toLowerCase()===c.toLowerCase(),r=e(n.TransactionServerStatusesEnum.fail)||e(n.TransactionServerStatusesEnum.rewardReverted),o=e(n.TransactionServerStatusesEnum.success),s=e(n.TransactionServerStatusesEnum.notExecuted)||e(n.TransactionServerStatusesEnum.invalid),i=e(n.TransactionServerStatusesEnum.pending)||t.pendingResults;return{failed:r,success:o,invalid:s,pending:i}}0&&(module.exports={getTransactionStatus});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var v=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},T=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of d(e))!p.call(t,s)&&s!==r&&a(t,s,{get:()=>e[s],enumerable:!(o=u(e,s))||o.enumerable});return t};var f=t=>T(a({},"__esModule",{value:!0}),t);var l={};v(l,{getTransactionStatus:()=>g});module.exports=f(l);var n=require("../../../../types/enums.types");function g(t){const e=c=>t.status.toLowerCase()===c.toLowerCase(),r=e(n.TransactionServerStatusesEnum.fail)||e(n.TransactionServerStatusesEnum.rewardReverted),o=e(n.TransactionServerStatusesEnum.success),s=e(n.TransactionServerStatusesEnum.notExecuted)||e(n.TransactionServerStatusesEnum.invalid),i=e(n.TransactionServerStatusesEnum.pending)||t.pendingResults;return{failed:r,success:o,invalid:s,pending:i}}0&&(module.exports={getTransactionStatus});
|
|
2
2
|
//# sourceMappingURL=getTransactionStatus.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var c=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var p=(e,r)=>{for(var a in r)c(e,a,{get:r[a],enumerable:!0})},m=(e,r,a,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of u(r))!f.call(e,n)&&n!==a&&c(e,n,{get:()=>r[n],enumerable:!(s=T(r,n))||s.enumerable});return e};var y=e=>m(c({},"__esModule",{value:!0}),e);var d={};p(d,{getTransactionTransferType:()=>S});module.exports=y(d);var t=require("types/serverTransactions.types");function S({address:e,transaction:r,receiver:a}){const s=e===r.sender,n=e===a,i=s&&n,o=r?.type===t.TransferTypeEnum.SmartContractResult;switch(!0){case o:return t.TransactionDirectionEnum.INTERNAL;case i:return t.TransactionDirectionEnum.SELF;case n:return t.TransactionDirectionEnum.IN;case s:default:return t.TransactionDirectionEnum.OUT}}0&&(module.exports={getTransactionTransferType});
|
|
1
|
+
"use strict";var c=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var p=(e,r)=>{for(var a in r)c(e,a,{get:r[a],enumerable:!0})},m=(e,r,a,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of u(r))!f.call(e,n)&&n!==a&&c(e,n,{get:()=>r[n],enumerable:!(s=T(r,n))||s.enumerable});return e};var y=e=>m(c({},"__esModule",{value:!0}),e);var d={};p(d,{getTransactionTransferType:()=>S});module.exports=y(d);var t=require("../../../../types/serverTransactions.types");function S({address:e,transaction:r,receiver:a}){const s=e===r.sender,n=e===a,i=s&&n,o=r?.type===t.TransferTypeEnum.SmartContractResult;switch(!0){case o:return t.TransactionDirectionEnum.INTERNAL;case i:return t.TransactionDirectionEnum.SELF;case n:return t.TransactionDirectionEnum.IN;case s:default:return t.TransactionDirectionEnum.OUT}}0&&(module.exports={getTransactionTransferType});
|
|
2
2
|
//# sourceMappingURL=getTransactionTransferType.cjs.map
|
package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TransactionDirectionEnum, ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
interface IGetTransactionTransferTypeParams {
|
|
3
|
+
address: string;
|
|
4
|
+
transaction: ServerTransactionType;
|
|
5
|
+
receiver: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function getTransactionTransferType({ address, transaction, receiver }: IGetTransactionTransferTypeParams): TransactionDirectionEnum;
|
|
8
|
+
export {};
|
package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TransactionServerStatusesEnum } from '../../../../../types/enums.types';
|
|
2
|
+
import { TransactionActionsEnum } from '../../../../../types/serverTransactions.types';
|
|
3
|
+
export declare const baseTransactionMock: {
|
|
4
|
+
blockHash: string;
|
|
5
|
+
price: number;
|
|
6
|
+
txHash: string;
|
|
7
|
+
gasLimit: number;
|
|
8
|
+
gasPrice: number;
|
|
9
|
+
gasUsed: number;
|
|
10
|
+
miniBlockHash: string;
|
|
11
|
+
nonce: number;
|
|
12
|
+
receiver: string;
|
|
13
|
+
receiverShard: number;
|
|
14
|
+
round: number;
|
|
15
|
+
sender: string;
|
|
16
|
+
senderShard: number;
|
|
17
|
+
signature: string;
|
|
18
|
+
status: TransactionServerStatusesEnum;
|
|
19
|
+
value: string;
|
|
20
|
+
fee: string;
|
|
21
|
+
timestamp: number;
|
|
22
|
+
data: string;
|
|
23
|
+
action: {
|
|
24
|
+
category: string;
|
|
25
|
+
name: TransactionActionsEnum;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getInterpretedTransaction';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SuspiciousLinkType, SuspiciousLinkPropsType, TextWithLinksType } from '../../types/suspiciousLink.types';
|
|
2
|
+
export declare const getTextWithLinks: (text: string) => TextWithLinksType;
|
|
3
|
+
/**
|
|
4
|
+
* @description It checks if an asset contains suspicious info
|
|
5
|
+
* If it contains text with links inside, it contains scam info, or it is marked as NSFW,
|
|
6
|
+
* then it has suspicious info and may be a scam
|
|
7
|
+
*/
|
|
8
|
+
export declare const getScamFlag: ({ message, scamInfo, isNsfw, verified, messagePrefix }: SuspiciousLinkPropsType) => SuspiciousLinkType;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ITransactionListItem } from '../../../lib/sdkDappUi';
|
|
2
|
+
import type { IGetHistoricalTransactionsParams } from '../../../types/transaction-list-item.types';
|
|
3
|
+
export declare const getTransactionsHistory: ({ transactionsSessions }: IGetHistoricalTransactionsParams) => Promise<ITransactionListItem[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../__chunks__/chunk-C23VOAOY.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-L7HC5J53.mjs";import"../../../__chunks__/chunk-TWDQUDRP.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-22F6NHUW.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-4O27AVB7.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-ECDI66QL.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../__chunks__/chunk-VSOHM56Y.mjs";import"../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-LLVSK2AG.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../__chunks__/chunk-OQURAWR4.mjs";import"../../../__chunks__/chunk-PWAP64SN.mjs";import"../../../__chunks__/chunk-O5PAMBB3.mjs";import"../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-YDR33UBM.mjs";export{a as getTransactionsHistory};
|
|
2
2
|
//# sourceMappingURL=getTransactionsHistory.mjs.map
|