@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var D=Object.create;var c=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var _=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var w=(t,r)=>{for(var i in r)c(t,i,{get:r[i],enumerable:!0})},f=(t,r,i,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of S(r))!v.call(t,e)&&e!==i&&c(t,e,{get:()=>r[e],enumerable:!(o=F(r,e))||o.enumerable});return t};var y=(t,r,i)=>(i=t!=null?D(_(t)):{},f(r||!t||!t.__esModule?c(i,"default",{value:t,enumerable:!0}):i,t)),b=t=>f(c({},"__esModule",{value:!0}),t);var E={};w(E,{calculateFeeLimit:()=>x});module.exports=b(E);var I=y(require("bignumber.js")),a=require("constants/mvx.constants"),n=require("lib/sdkCore"),s=require("lib/sdkDappUtils"),p=require("utils/transactions/isGuardianTx");function x({from:t,to:r,minGasLimit:i=String(a.GAS_LIMIT),gasLimit:o,gasPrice:e,data:d,gasPerDataByte:l,gasPriceModifier:G,defaultGasPrice:B=String(a.GAS_PRICE),chainId:g}){const m=d||"",L=(0,s.stringIsInteger)(o)?o:i,T=(0,p.isGuardianTx)({data:m})?a.EXTRA_GAS_LIMIT_GUARDED_TX:0,P=new I.default(L).plus(T).toNumber(),A=(0,s.stringIsFloat)(e)?e:B,C=new n.Transaction({nonce:BigInt(0),value:BigInt(0),receiver:new n.Address(r),sender:new n.Address(t),gasPrice:BigInt(A),gasLimit:BigInt(P),data:Buffer.from(m.trim()),chainID:g,version:1});try{return new n.TransactionComputer().computeTransactionFee(C,{gasPerDataByte:BigInt(l),minGasLimit:BigInt(i),gasPriceModifier:parseFloat(G),chainID:g}).toString(10)}catch(u){return console.error(u),s.ZERO}}0&&(module.exports={calculateFeeLimit});
|
|
1
|
+
"use strict";var D=Object.create;var c=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var _=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var w=(t,r)=>{for(var i in r)c(t,i,{get:r[i],enumerable:!0})},f=(t,r,i,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of S(r))!v.call(t,e)&&e!==i&&c(t,e,{get:()=>r[e],enumerable:!(o=F(r,e))||o.enumerable});return t};var y=(t,r,i)=>(i=t!=null?D(_(t)):{},f(r||!t||!t.__esModule?c(i,"default",{value:t,enumerable:!0}):i,t)),b=t=>f(c({},"__esModule",{value:!0}),t);var E={};w(E,{calculateFeeLimit:()=>x});module.exports=b(E);var I=y(require("bignumber.js")),a=require("../../../../../constants/mvx.constants"),n=require("../../../../../lib/sdkCore"),s=require("../../../../../lib/sdkDappUtils"),p=require("../../../../../utils/transactions/isGuardianTx");function x({from:t,to:r,minGasLimit:i=String(a.GAS_LIMIT),gasLimit:o,gasPrice:e,data:d,gasPerDataByte:l,gasPriceModifier:G,defaultGasPrice:B=String(a.GAS_PRICE),chainId:g}){const m=d||"",L=(0,s.stringIsInteger)(o)?o:i,T=(0,p.isGuardianTx)({data:m})?a.EXTRA_GAS_LIMIT_GUARDED_TX:0,P=new I.default(L).plus(T).toNumber(),A=(0,s.stringIsFloat)(e)?e:B,C=new n.Transaction({nonce:BigInt(0),value:BigInt(0),receiver:new n.Address(r),sender:new n.Address(t),gasPrice:BigInt(A),gasLimit:BigInt(P),data:Buffer.from(m.trim()),chainID:g,version:1});try{return new n.TransactionComputer().computeTransactionFee(C,{gasPerDataByte:BigInt(l),minGasLimit:BigInt(i),gasPriceModifier:parseFloat(G),chainID:g}).toString(10)}catch(u){return console.error(u),s.ZERO}}0&&(module.exports={calculateFeeLimit});
|
|
2
2
|
//# sourceMappingURL=calculateFeeLimit.cjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface CalculateFeeLimitType {
|
|
2
|
+
gasLimit: string;
|
|
3
|
+
gasPrice: string;
|
|
4
|
+
data: string;
|
|
5
|
+
gasPerDataByte: string;
|
|
6
|
+
gasPriceModifier: string;
|
|
7
|
+
chainId: string;
|
|
8
|
+
minGasLimit?: string;
|
|
9
|
+
defaultGasPrice?: string;
|
|
10
|
+
from: string;
|
|
11
|
+
to: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function calculateFeeLimit({ from, to, minGasLimit, gasLimit, gasPrice, data: inputData, gasPerDataByte, gasPriceModifier, defaultGasPrice, chainId }: CalculateFeeLimitType): string;
|
package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var S=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var It=Object.prototype.hasOwnProperty;var kt=(n,t)=>{for(var o in t)S(n,o,{get:t[o],enumerable:!0})},Nt=(n,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of yt(t))!It.call(n,e)&&e!==o&&S(n,e,{get:()=>t[e],enumerable:!(i=Dt(t,e))||i.enumerable});return n};var Pt=n=>Nt(S({},"__esModule",{value:!0}),n);var Et={};kt(Et,{getCommonData:()=>bt});module.exports=Pt(Et);var A=require("bignumber.js"),h=require("apiCalls/endpoints"),G=require("apiCalls/tokens/getPersistedTokenDetails"),L=require("constants/mvx.constants"),O=require("constants/window.constants"),r=require("lib/sdkDappUtils"),x=require("methods/network/getExplorerAddress"),v=require("providers/helpers/accountProvider"),D=require("types/tokens.types"),M=require("utils/decoders/base64Utils"),w=require("utils/operations/capitalize"),U=require("utils/operations/getUsdValue"),R=require("utils/transactions/getExplorerLink"),_=require("../getFeeData"),$=require("./helpers/decodeDataField"),B=require("./helpers/getExtractTransactionsInfo"),V=require("./helpers/getGasPriceOptions"),z=require("./helpers/getHighlight"),j=require("./helpers/getScCall"),q=require("./helpers/getTokenType");async function bt({allTransactions:n,currentScreenIndex:t,egldLabel:o,network:i,gasPriceData:e,price:y,address:d,username:H,shard:K,signedIndexes:s,parsedTransactionsByDataField:W}){const g=n[t],J=g?.transaction?.sender.toString(),l=g?.transaction,m=l?.toPlainObject();let I=null,k=null;const a=await(0,B.getExtractTransactionsInfo)({egldLabel:o,sender:J,apiAddress:i.apiAddress,address:d,parsedTransactionsByDataField:W})(g),f=!a?.transactionTokenInfo?.tokenId,{tokenId:u,nonce:T,amount:N=""}=a?.transactionTokenInfo??{},Q=u&&T&&T.length>0?`${u}-${T}`:u,X=await(0,G.getPersistedTokenDetails)({tokenId:Q}),{esdtPrice:Y,tokenDecimals:Z,type:c,identifier:p,tokenImageUrl:tt}=X;if(c===D.NftEnumType.SemiFungibleESDT||c===D.NftEnumType.NonFungibleESDT)k={type:c,identifier:p,amount:N,imageURL:tt};else{const F=({addCommas:St})=>(0,r.formatAmount)({input:f?l.value.toString():N,decimals:f?Number(i.decimals):Z,digits:Number(i.digits),addCommas:St}),lt=F({addCommas:!0}),ft=F({addCommas:!1}),ut=Number(f?y:Y),Tt=(0,U.getUsdValue)({amount:ft,usd:ut,addEqualSign:!0});I={identifier:(p===L.MULTI_TRANSFER_EGLD_TOKEN?o:p)??o,amount:lt,usdValue:Tt}}const{feeLimitFormatted:nt,feeInFiatLimit:ot}=(0,_.getFeeData)({transaction:l,price:y}),et=(0,V.getGasPriceOptions)({shard:K,initialGasPrice:e.initialGasPrice,transaction:m,gasStationMetadata:i.gasStationMetadata}),{gasPriceOption:P}=e,it=(0,v.getAccountProvider)().getType(),rt=(0,w.capitalize)(it),b=n.length,at=s.length>0?s[s.length-1]+1:0,E=(0,M.decodeBase64)(m?.data??""),C=(0,z.getHighlight)(a?.transactionTokenInfo),st=(0,$.getAllDecodedFormats)({data:E,identifier:p,highlight:C}),mt=(0,x.getExplorerAddress)(),ct=(0,R.getExplorerLink)({to:`/${h.ACCOUNTS_ENDPOINT}/${d}`,explorerAddress:mt}),pt=b===1||a?.needsSigning&&!s.includes(t),dt=(0,r.formatAmount)({input:P.toString(),decimals:r.DECIMALS,addCommas:!0,digits:r.DIGITS}),gt=new A.BigNumber(m.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:m.receiver.toString(),data:E,decodedData:st,gasPrice:dt,gasLimit:gt,explorerLink:ct,gasPriceOption:P,gasPriceOptions:et,egldLabel:o,tokenType:(0,q.getTokenType)(c),feeLimit:nt,feeInFiatLimit:ot,transactionsCount:b,currentIndex:t,currentIndexToSign:at,highlight:C,scCall:(0,j.getScCall)(a?.transactionTokenInfo),needsSigning:pt,isEditable:a?.needsSigning,providerName:rt,address:d,username:H,origin:O.safeWindow.location?.origin},tokenTransaction:I,fungibleTransaction:k}}0&&(module.exports={getCommonData});
|
|
1
|
+
"use strict";var S=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var It=Object.prototype.hasOwnProperty;var kt=(n,t)=>{for(var o in t)S(n,o,{get:t[o],enumerable:!0})},Nt=(n,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of yt(t))!It.call(n,e)&&e!==o&&S(n,e,{get:()=>t[e],enumerable:!(i=Dt(t,e))||i.enumerable});return n};var Pt=n=>Nt(S({},"__esModule",{value:!0}),n);var Et={};kt(Et,{getCommonData:()=>bt});module.exports=Pt(Et);var A=require("bignumber.js"),h=require("../../../../../../apiCalls/endpoints"),G=require("../../../../../../apiCalls/tokens/getPersistedTokenDetails"),L=require("../../../../../../constants/mvx.constants"),O=require("../../../../../../constants/window.constants"),r=require("../../../../../../lib/sdkDappUtils"),x=require("../../../../../../methods/network/getExplorerAddress"),v=require("../../../../../../providers/helpers/accountProvider"),D=require("../../../../../../types/tokens.types"),M=require("../../../../../../utils/decoders/base64Utils"),w=require("../../../../../../utils/operations/capitalize"),U=require("../../../../../../utils/operations/getUsdValue"),R=require("../../../../../../utils/transactions/getExplorerLink"),_=require("../getFeeData"),$=require("./helpers/decodeDataField"),B=require("./helpers/getExtractTransactionsInfo"),V=require("./helpers/getGasPriceOptions"),z=require("./helpers/getHighlight"),j=require("./helpers/getScCall"),q=require("./helpers/getTokenType");async function bt({allTransactions:n,currentScreenIndex:t,egldLabel:o,network:i,gasPriceData:e,price:y,address:d,username:H,shard:K,signedIndexes:s,parsedTransactionsByDataField:W}){const g=n[t],J=g?.transaction?.sender.toString(),l=g?.transaction,m=l?.toPlainObject();let I=null,k=null;const a=await(0,B.getExtractTransactionsInfo)({egldLabel:o,sender:J,apiAddress:i.apiAddress,address:d,parsedTransactionsByDataField:W})(g),f=!a?.transactionTokenInfo?.tokenId,{tokenId:u,nonce:T,amount:N=""}=a?.transactionTokenInfo??{},Q=u&&T&&T.length>0?`${u}-${T}`:u,X=await(0,G.getPersistedTokenDetails)({tokenId:Q}),{esdtPrice:Y,tokenDecimals:Z,type:c,identifier:p,tokenImageUrl:tt}=X;if(c===D.NftEnumType.SemiFungibleESDT||c===D.NftEnumType.NonFungibleESDT)k={type:c,identifier:p,amount:N,imageURL:tt};else{const F=({addCommas:St})=>(0,r.formatAmount)({input:f?l.value.toString():N,decimals:f?Number(i.decimals):Z,digits:Number(i.digits),addCommas:St}),lt=F({addCommas:!0}),ft=F({addCommas:!1}),ut=Number(f?y:Y),Tt=(0,U.getUsdValue)({amount:ft,usd:ut,addEqualSign:!0});I={identifier:(p===L.MULTI_TRANSFER_EGLD_TOKEN?o:p)??o,amount:lt,usdValue:Tt}}const{feeLimitFormatted:nt,feeInFiatLimit:ot}=(0,_.getFeeData)({transaction:l,price:y}),et=(0,V.getGasPriceOptions)({shard:K,initialGasPrice:e.initialGasPrice,transaction:m,gasStationMetadata:i.gasStationMetadata}),{gasPriceOption:P}=e,it=(0,v.getAccountProvider)().getType(),rt=(0,w.capitalize)(it),b=n.length,at=s.length>0?s[s.length-1]+1:0,E=(0,M.decodeBase64)(m?.data??""),C=(0,z.getHighlight)(a?.transactionTokenInfo),st=(0,$.getAllDecodedFormats)({data:E,identifier:p,highlight:C}),mt=(0,x.getExplorerAddress)(),ct=(0,R.getExplorerLink)({to:`/${h.ACCOUNTS_ENDPOINT}/${d}`,explorerAddress:mt}),pt=b===1||a?.needsSigning&&!s.includes(t),dt=(0,r.formatAmount)({input:P.toString(),decimals:r.DECIMALS,addCommas:!0,digits:r.DIGITS}),gt=new A.BigNumber(m.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:m.receiver.toString(),data:E,decodedData:st,gasPrice:dt,gasLimit:gt,explorerLink:ct,gasPriceOption:P,gasPriceOptions:et,egldLabel:o,tokenType:(0,q.getTokenType)(c),feeLimit:nt,feeInFiatLimit:ot,transactionsCount:b,currentIndex:t,currentIndexToSign:at,highlight:C,scCall:(0,j.getScCall)(a?.transactionTokenInfo),needsSigning:pt,isEditable:a?.needsSigning,providerName:rt,address:d,username:H,origin:O.safeWindow.location?.origin},tokenTransaction:I,fungibleTransaction:k}}0&&(module.exports={getCommonData});
|
|
2
2
|
//# sourceMappingURL=getCommonData.cjs.map
|
package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FungibleTransactionType, ISignTransactionsPanelCommonData } from '../../../../../../managers/internal/SignTransactionsStateManager/types';
|
|
2
|
+
import { NetworkType } from '../../../../../../types/network.types';
|
|
3
|
+
import { NftEnumType } from '../../../../../../types/tokens.types';
|
|
4
|
+
import { MultiSignTransactionType, TransactionDataTokenType } from '../../../../../../types/transactions.types';
|
|
5
|
+
export type GetCommonDataPropsType = {
|
|
6
|
+
allTransactions: MultiSignTransactionType[];
|
|
7
|
+
currentScreenIndex: number;
|
|
8
|
+
price?: number;
|
|
9
|
+
network: NetworkType;
|
|
10
|
+
signedIndexes: number[];
|
|
11
|
+
egldLabel: string;
|
|
12
|
+
address: string;
|
|
13
|
+
shard?: number;
|
|
14
|
+
username?: string;
|
|
15
|
+
parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;
|
|
16
|
+
gasPriceData: {
|
|
17
|
+
initialGasPrice: number;
|
|
18
|
+
gasPriceOption: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare function getCommonData({ allTransactions, currentScreenIndex, egldLabel, network, gasPriceData, price, address, username, shard, signedIndexes, parsedTransactionsByDataField }: GetCommonDataPropsType): Promise<{
|
|
22
|
+
commonData: ISignTransactionsPanelCommonData;
|
|
23
|
+
tokenTransaction: {
|
|
24
|
+
identifier?: string | undefined;
|
|
25
|
+
amount: string;
|
|
26
|
+
usdValue: string;
|
|
27
|
+
} | null;
|
|
28
|
+
fungibleTransaction: (FungibleTransactionType & {
|
|
29
|
+
type: NftEnumType.NonFungibleESDT | NftEnumType.SemiFungibleESDT;
|
|
30
|
+
}) | null;
|
|
31
|
+
}>;
|
package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../__chunks__/chunk-S4GXN3R7.mjs";import"../../../../../../__chunks__/chunk-EOAIKG7U.mjs";import"../../../../../../__chunks__/chunk-GBDHEWNQ.mjs";import"../../../../../../__chunks__/chunk-XZ2BAC7C.mjs";import"../../../../../../__chunks__/chunk-P4H53TTI.mjs";import"../../../../../../__chunks__/chunk-AC3N236P.mjs";import"../../../../../../__chunks__/chunk-AIQMA75E.mjs";import"../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../__chunks__/chunk-7Z7IX367.mjs";import"../../../../../../__chunks__/chunk-VCQBYNNS.mjs";import"../../../../../../__chunks__/chunk-QBLEV36D.mjs";import"../../../../../../__chunks__/chunk-RBZC4PEU.mjs";import"../../../../../../__chunks__/chunk-OMBZCVQZ.mjs";import"../../../../../../__chunks__/chunk-4QDQSEN7.mjs";import"../../../../../../__chunks__/chunk-K4ITACAF.mjs";import"../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../__chunks__/chunk-YJQR63IW.mjs";import"../../../../../../__chunks__/chunk-RQOU5LG4.mjs";import"../../../../../../__chunks__/chunk-AJBGY6A5.mjs";import"../../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../../__chunks__/chunk-AAIKQGPN.mjs";import"../../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../../__chunks__/chunk-422ZUBTP.mjs";import"../../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../../__chunks__/chunk-QHANP3XT.mjs";import"../../../../../../__chunks__/chunk-QFXS7HGL.mjs";import"../../../../../../__chunks__/chunk-W3S6I34V.mjs";import"../../../../../../__chunks__/chunk-DCLI63KS.mjs";import"../../../../../../__chunks__/chunk-RGDZMPES.mjs";import"../../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../../__chunks__/chunk-TRICXIPQ.mjs";import"../../../../../../__chunks__/chunk-3Z7CLSDP.mjs";import"../../../../../../__chunks__/chunk-BFVULVAD.mjs";import"../../../../../../__chunks__/chunk-RMMIR3MN.mjs";import"../../../../../../__chunks__/chunk-UWCHOJH4.mjs";import"../../../../../../__chunks__/chunk-6VJXXSIS.mjs";import"../../../../../../__chunks__/chunk-TWYGNEQS.mjs";import"../../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../../__chunks__/chunk-PENSR33H.mjs";import"../../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../../__chunks__/chunk-L5RYEWHO.mjs";import"../../../../../../__chunks__/chunk-MJXIB64Q.mjs";import"../../../../../../__chunks__/chunk-H3MXIVR4.mjs";import"../../../../../../__chunks__/chunk-OSGTEMH4.mjs";import"../../../../../../__chunks__/chunk-X7XFHGOE.mjs";import"../../../../../../__chunks__/chunk-JJ6B2ZYX.mjs";import"../../../../../../__chunks__/chunk-DDB4KRVV.mjs";import"../../../../../../__chunks__/chunk-3C4QWHTF.mjs";import"../../../../../../__chunks__/chunk-TU6TE5PG.mjs";import"../../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../../__chunks__/chunk-RSNSPKZ3.mjs";import"../../../../../../__chunks__/chunk-WXTELBRA.mjs";import"../../../../../../__chunks__/chunk-CKY2HBH6.mjs";import"../../../../../../__chunks__/chunk-CMN37YZP.mjs";import"../../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../../__chunks__/chunk-JBPJL3B7.mjs";import"../../../../../../__chunks__/chunk-R7Y4IM2T.mjs";import"../../../../../../__chunks__/chunk-JO3KLBXS.mjs";import"../../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../../__chunks__/chunk-3MWPYDLA.mjs";import"../../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../../__chunks__/chunk-ICJ5ZWS4.mjs";import"../../../../../../__chunks__/chunk-W4F3YI3F.mjs";import"../../../../../../__chunks__/chunk-FRREO5DY.mjs";import"../../../../../../__chunks__/chunk-IWP36NOU.mjs";import"../../../../../../__chunks__/chunk-LGGG3HW7.mjs";import"../../../../../../__chunks__/chunk-WZSA2EE5.mjs";import"../../../../../../__chunks__/chunk-QMSYQJAU.mjs";import"../../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../../__chunks__/chunk-V5ZSFCKJ.mjs";import"../../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../../__chunks__/chunk-2WUOBFRV.mjs";import"../../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../../__chunks__/chunk-IZVWRQDU.mjs";import"../../../../../../__chunks__/chunk-BSA3IGL6.mjs";import"../../../../../../__chunks__/chunk-PKNPUHFQ.mjs";import"../../../../../../__chunks__/chunk-2NE75KNA.mjs";import"../../../../../../__chunks__/chunk-OBIQ63DJ.mjs";import"../../../../../../__chunks__/chunk-NWRCQLFI.mjs";import"../../../../../../__chunks__/chunk-HSF3JATH.mjs";import"../../../../../../__chunks__/chunk-BZLQ6QLQ.mjs";import"../../../../../../__chunks__/chunk-COA54JTE.mjs";import"../../../../../../__chunks__/chunk-L7AC35OO.mjs";import"../../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../../__chunks__/chunk-5P3UEE7C.mjs";import"../../../../../../__chunks__/chunk-OVZEW7XD.mjs";import"../../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../../__chunks__/chunk-RTLNUOX6.mjs";import"../../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../../__chunks__/chunk-TY3B64SM.mjs";import"../../../../../../__chunks__/chunk-QT6QIC4U.mjs";import"../../../../../../__chunks__/chunk-STN2J2XX.mjs";import"../../../../../../__chunks__/chunk-RUJVGJOT.mjs";import"../../../../../../__chunks__/chunk-UGY4JSP3.mjs";import"../../../../../../__chunks__/chunk-NYZ726DG.mjs";import"../../../../../../__chunks__/chunk-SNPF3BD2.mjs";import"../../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../__chunks__/chunk-RYIJWGFA.mjs";import"../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../__chunks__/chunk-QNYO7NI5.mjs";import"../../../../../../__chunks__/chunk-IHB7ALDL.mjs";import"../../../../../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../../../../../__chunks__/chunk-DY53O4ED.mjs";import"../../../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../../../__chunks__/chunk-T6I7XQHS.mjs";import"../../../../../../__chunks__/chunk-OAFYVJLF.mjs";import"../../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../../__chunks__/chunk-VMUOJEUV.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-3FXHIV6O.mjs";import"../../../../../../__chunks__/chunk-NI7XCWV5.mjs";import"../../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../../../__chunks__/chunk-DY3P72D3.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-6ZU2IBDO.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-2AJ5KJ2V.mjs";import"../../../../../../__chunks__/chunk-LJX4MW7B.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-MGQ373AO.mjs";import"../../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../../__chunks__/chunk-EETA2QXV.mjs";import"../../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../../__chunks__/chunk-R3IH76PW.mjs";import"../../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getCommonData};
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-VLRP4JQW.mjs";import"../../../../../../__chunks__/chunk-UWBYA2GM.mjs";import"../../../../../../__chunks__/chunk-GBDHEWNQ.mjs";import"../../../../../../__chunks__/chunk-EJ4TUIIU.mjs";import"../../../../../../__chunks__/chunk-F3PJPNGU.mjs";import"../../../../../../__chunks__/chunk-AC3N236P.mjs";import"../../../../../../__chunks__/chunk-AIQMA75E.mjs";import"../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../__chunks__/chunk-7Z7IX367.mjs";import"../../../../../../__chunks__/chunk-VCQBYNNS.mjs";import"../../../../../../__chunks__/chunk-QBLEV36D.mjs";import"../../../../../../__chunks__/chunk-RBZC4PEU.mjs";import"../../../../../../__chunks__/chunk-OMBZCVQZ.mjs";import"../../../../../../__chunks__/chunk-4QDQSEN7.mjs";import"../../../../../../__chunks__/chunk-K4ITACAF.mjs";import"../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../__chunks__/chunk-YHON33YS.mjs";import"../../../../../../__chunks__/chunk-YKYYWL4B.mjs";import"../../../../../../__chunks__/chunk-GOUIWTTC.mjs";import"../../../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../../../__chunks__/chunk-AQIZZ6YU.mjs";import"../../../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../../../__chunks__/chunk-VA7KLP35.mjs";import"../../../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../../../__chunks__/chunk-MFGDF3HI.mjs";import"../../../../../../__chunks__/chunk-QFXS7HGL.mjs";import"../../../../../../__chunks__/chunk-W3S6I34V.mjs";import"../../../../../../__chunks__/chunk-DCLI63KS.mjs";import"../../../../../../__chunks__/chunk-QWBFB3BL.mjs";import"../../../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../../../__chunks__/chunk-AU2YBHNW.mjs";import"../../../../../../__chunks__/chunk-S72I2KYP.mjs";import"../../../../../../__chunks__/chunk-GJSAN3GO.mjs";import"../../../../../../__chunks__/chunk-YXKQJKZV.mjs";import"../../../../../../__chunks__/chunk-DDRH6O3X.mjs";import"../../../../../../__chunks__/chunk-UDWPAR25.mjs";import"../../../../../../__chunks__/chunk-TWYGNEQS.mjs";import"../../../../../../__chunks__/chunk-PMHRZ5Y7.mjs";import"../../../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../../../__chunks__/chunk-YAVOCSOD.mjs";import"../../../../../../__chunks__/chunk-ABBDCZHP.mjs";import"../../../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../../../__chunks__/chunk-V6HSYMMG.mjs";import"../../../../../../__chunks__/chunk-JAXSTKEJ.mjs";import"../../../../../../__chunks__/chunk-LXSGLYGV.mjs";import"../../../../../../__chunks__/chunk-6MBRTWME.mjs";import"../../../../../../__chunks__/chunk-QRPH4JCL.mjs";import"../../../../../../__chunks__/chunk-QNXBITGY.mjs";import"../../../../../../__chunks__/chunk-LYUGR2FR.mjs";import"../../../../../../__chunks__/chunk-G2WU3X6R.mjs";import"../../../../../../__chunks__/chunk-SWIPPQAS.mjs";import"../../../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../../../__chunks__/chunk-BI2PJ5FS.mjs";import"../../../../../../__chunks__/chunk-RFGBMNFA.mjs";import"../../../../../../__chunks__/chunk-DDS3DY4B.mjs";import"../../../../../../__chunks__/chunk-QDUNEKJW.mjs";import"../../../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../../../__chunks__/chunk-RVW6Z4XY.mjs";import"../../../../../../__chunks__/chunk-LJ5RLWEK.mjs";import"../../../../../../__chunks__/chunk-3VPAVTVL.mjs";import"../../../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../../../__chunks__/chunk-TIX7PAYC.mjs";import"../../../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../../../__chunks__/chunk-DKBOH236.mjs";import"../../../../../../__chunks__/chunk-GP6W6RR7.mjs";import"../../../../../../__chunks__/chunk-YTKDRPWM.mjs";import"../../../../../../__chunks__/chunk-IWP36NOU.mjs";import"../../../../../../__chunks__/chunk-LGGG3HW7.mjs";import"../../../../../../__chunks__/chunk-SML7WOGP.mjs";import"../../../../../../__chunks__/chunk-FLFZN2T6.mjs";import"../../../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../../../__chunks__/chunk-V5ZSFCKJ.mjs";import"../../../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../../../__chunks__/chunk-XELB2AVG.mjs";import"../../../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../../../__chunks__/chunk-UUFVP7SB.mjs";import"../../../../../../__chunks__/chunk-BSA3IGL6.mjs";import"../../../../../../__chunks__/chunk-LT4RXTTQ.mjs";import"../../../../../../__chunks__/chunk-L6SBIHCZ.mjs";import"../../../../../../__chunks__/chunk-OBIQ63DJ.mjs";import"../../../../../../__chunks__/chunk-NWRCQLFI.mjs";import"../../../../../../__chunks__/chunk-HSF3JATH.mjs";import"../../../../../../__chunks__/chunk-365NUVE7.mjs";import"../../../../../../__chunks__/chunk-HY5I67W7.mjs";import"../../../../../../__chunks__/chunk-HPY6UNFO.mjs";import"../../../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../../__chunks__/chunk-5P3UEE7C.mjs";import"../../../../../../__chunks__/chunk-OVZEW7XD.mjs";import"../../../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../../../__chunks__/chunk-RTLNUOX6.mjs";import"../../../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../../../__chunks__/chunk-TY3B64SM.mjs";import"../../../../../../__chunks__/chunk-QT6QIC4U.mjs";import"../../../../../../__chunks__/chunk-STN2J2XX.mjs";import"../../../../../../__chunks__/chunk-RUJVGJOT.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-RYIJWGFA.mjs";import"../../../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../../../__chunks__/chunk-QNYO7NI5.mjs";import"../../../../../../__chunks__/chunk-IHB7ALDL.mjs";import"../../../../../../__chunks__/chunk-BFD5ZJOK.mjs";import"../../../../../../__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-3FXHIV6O.mjs";import"../../../../../../__chunks__/chunk-NI7XCWV5.mjs";import"../../../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../../../__chunks__/chunk-NGM3AVCY.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-2AJ5KJ2V.mjs";import"../../../../../../__chunks__/chunk-LJX4MW7B.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-MGQ373AO.mjs";import"../../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../../__chunks__/chunk-5NRAQWO4.mjs";import"../../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../../__chunks__/chunk-YDR33UBM.mjs";import"../../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getCommonData};
|
|
2
2
|
//# sourceMappingURL=getCommonData.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var u=(r,i)=>{for(var a in i)s(r,a,{get:i[a],enumerable:!0})},d=(r,i,a,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of l(i))!p.call(r,t)&&t!==a&&s(r,t,{get:()=>i[t],enumerable:!(o=f(i,t))||o.enumerable});return r};var g=r=>d(s({},"__esModule",{value:!0}),r);var I={};u(I,{checkIsValidSender:()=>y});module.exports=g(I);var e=require("constants/mvx.constants"),n=require("utils/validation/isContract"),m=require("utils/window/getWindowLocation");const y=(r,i)=>{if(!r||!r.address)return!0;const a=(0,m.getWindowLocation)()?.origin?.endsWith(e.MULTIVERSX_WALLET_ORIGIN),o=(0,n.isContract)(r.address);return a||o?!0:Array.isArray(i)?i.some(t=>r.address===t||r.activeGuardianAddress===t):r.address===i||r.activeGuardianAddress===i};0&&(module.exports={checkIsValidSender});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var u=(r,i)=>{for(var a in i)s(r,a,{get:i[a],enumerable:!0})},d=(r,i,a,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of l(i))!p.call(r,t)&&t!==a&&s(r,t,{get:()=>i[t],enumerable:!(o=f(i,t))||o.enumerable});return r};var g=r=>d(s({},"__esModule",{value:!0}),r);var I={};u(I,{checkIsValidSender:()=>y});module.exports=g(I);var e=require("../../../../../../../constants/mvx.constants"),n=require("../../../../../../../utils/validation/isContract"),m=require("../../../../../../../utils/window/getWindowLocation");const y=(r,i)=>{if(!r||!r.address)return!0;const a=(0,m.getWindowLocation)()?.origin?.endsWith(e.MULTIVERSX_WALLET_ORIGIN),o=(0,n.isContract)(r.address);return a||o?!0:Array.isArray(i)?i.some(t=>r.address===t||r.activeGuardianAddress===t):r.address===i||r.activeGuardianAddress===i};0&&(module.exports={checkIsValidSender});
|
|
2
2
|
//# sourceMappingURL=checkIsValidSender.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var m=(t,e)=>{for(var d in e)a(t,d,{get:e[d],enumerable:!0})},g=(t,e,d,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of l(e))!D.call(t,o)&&o!==d&&a(t,o,{get:()=>e[o],enumerable:!(r=s(e,o))||r.enumerable});return t};var p=t=>g(a({},"__esModule",{value:!0}),t);var u={};m(u,{getAllDecodedFormats:()=>h});module.exports=p(u);var i=require("types/serverTransactions.types"),c=require("utils/transactions/getDecodedDataField");const h=({data:t,highlight:e,identifier:d})=>{const r={};return Object.values(i.DecodeMethodEnum).forEach(o=>{const n=(0,c.getDecodedDataField)({data:t,identifier:d,decodeMethod:o,highlight:e});r[o]=n}),r};0&&(module.exports={getAllDecodedFormats});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var m=(t,e)=>{for(var d in e)a(t,d,{get:e[d],enumerable:!0})},g=(t,e,d,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of l(e))!D.call(t,o)&&o!==d&&a(t,o,{get:()=>e[o],enumerable:!(r=s(e,o))||r.enumerable});return t};var p=t=>g(a({},"__esModule",{value:!0}),t);var u={};m(u,{getAllDecodedFormats:()=>h});module.exports=p(u);var i=require("../../../../../../../types/serverTransactions.types"),c=require("../../../../../../../utils/transactions/getDecodedDataField");const h=({data:t,highlight:e,identifier:d})=>{const r={};return Object.values(i.DecodeMethodEnum).forEach(o=>{const n=(0,c.getDecodedDataField)({data:t,identifier:d,decodeMethod:o,highlight:e});r[o]=n}),r};0&&(module.exports={getAllDecodedFormats});
|
|
2
2
|
//# sourceMappingURL=decodeDataField.cjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DecodeMethodEnum, DecodedDisplayType } from '../../../../../../../types/serverTransactions.types';
|
|
2
|
+
export declare const getAllDecodedFormats: ({ data, highlight, identifier }: {
|
|
3
|
+
data: string;
|
|
4
|
+
highlight: string | null;
|
|
5
|
+
identifier?: string;
|
|
6
|
+
}) => Partial<Record<DecodeMethodEnum, DecodedDisplayType>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var f=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var F=(e,n)=>{for(var t in n)f(e,t,{get:n[t],enumerable:!0})},b=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of E(n))!L.call(e,o)&&o!==t&&f(e,o,{get:()=>n[o],enumerable:!(r=B(n,o))||r.enumerable});return e};var w=e=>b(f({},"__esModule",{value:!0}),e);var M={};F(M,{getExtractTransactionsInfo:()=>R});module.exports=w(M);var p=require("apiCalls/account/getAccountFromApi"),I=require("apiCalls/account/getScamAddressData"),T=require("types/enums.types"),y=require("utils/decoders/base64Utils"),u=require("./checkIsValidSender"),S=require("./getTxInfoByDataField"),A=require("../../isTokenTransfer");let i={};function R({egldLabel:e,apiAddress:n,sender:t,address:r,parsedTransactionsByDataField:o}){return async s=>{if(s==null)return;const D=!t||t===r?null:await(0,p.getAccountFromApi)({address:t,baseURL:n}),{transaction:c,multiTxData:k,transactionIndex:x}=s,g=(0,y.decodeBase64)(c.data.toString()??""),m=(0,S.getTxInfoByDataField)({data:g,multiTransactionData:k,parsedTransactionsByDataField:o}),{tokenId:l}=m,a=c.receiver.toBech32();if(t&&t!==r&&!(0,u.checkIsValidSender)(D,r))throw console.error(T.SigningErrorsEnum.senderDifferentThanLoggedInAddress),T.SigningErrorsEnum.senderDifferentThanLoggedInAddress;const V=r!==a,h=a in i;if(a&&V&&!h){const d=await(0,I.getScamAddressData)({addressToVerify:a,baseURL:n});i={...i,...d?.scamInfo?{[a]:d.scamInfo}:{}}}const v=!!(l&&(0,A.isTokenTransfer)({tokenId:l,egldLabel:e}));return{transaction:c,receiverScamInfo:i[a]?.info||null,transactionTokenInfo:m,isTokenTransaction:v,dataField:g,transactionIndex:x,needsSigning:s.needsSigning}}}0&&(module.exports={getExtractTransactionsInfo});
|
|
1
|
+
"use strict";var f=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var F=(e,n)=>{for(var t in n)f(e,t,{get:n[t],enumerable:!0})},b=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of E(n))!L.call(e,o)&&o!==t&&f(e,o,{get:()=>n[o],enumerable:!(r=B(n,o))||r.enumerable});return e};var w=e=>b(f({},"__esModule",{value:!0}),e);var M={};F(M,{getExtractTransactionsInfo:()=>R});module.exports=w(M);var p=require("../../../../../../../apiCalls/account/getAccountFromApi"),I=require("../../../../../../../apiCalls/account/getScamAddressData"),T=require("../../../../../../../types/enums.types"),y=require("../../../../../../../utils/decoders/base64Utils"),u=require("./checkIsValidSender"),S=require("./getTxInfoByDataField"),A=require("../../isTokenTransfer");let i={};function R({egldLabel:e,apiAddress:n,sender:t,address:r,parsedTransactionsByDataField:o}){return async s=>{if(s==null)return;const D=!t||t===r?null:await(0,p.getAccountFromApi)({address:t,baseURL:n}),{transaction:c,multiTxData:k,transactionIndex:x}=s,g=(0,y.decodeBase64)(c.data.toString()??""),m=(0,S.getTxInfoByDataField)({data:g,multiTransactionData:k,parsedTransactionsByDataField:o}),{tokenId:l}=m,a=c.receiver.toBech32();if(t&&t!==r&&!(0,u.checkIsValidSender)(D,r))throw console.error(T.SigningErrorsEnum.senderDifferentThanLoggedInAddress),T.SigningErrorsEnum.senderDifferentThanLoggedInAddress;const V=r!==a,h=a in i;if(a&&V&&!h){const d=await(0,I.getScamAddressData)({addressToVerify:a,baseURL:n});i={...i,...d?.scamInfo?{[a]:d.scamInfo}:{}}}const v=!!(l&&(0,A.isTokenTransfer)({tokenId:l,egldLabel:e}));return{transaction:c,receiverScamInfo:i[a]?.info||null,transactionTokenInfo:m,isTokenTransaction:v,dataField:g,transactionIndex:x,needsSigning:s.needsSigning}}}0&&(module.exports={getExtractTransactionsInfo});
|
|
2
2
|
//# sourceMappingURL=getExtractTransactionsInfo.cjs.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MultiSignTransactionType, TransactionDataTokenType } from '../../../../../../../types/transactions.types';
|
|
2
|
+
type ExtractTransactionsInfoType = {
|
|
3
|
+
sender: string;
|
|
4
|
+
address: string;
|
|
5
|
+
apiAddress: string;
|
|
6
|
+
egldLabel: string;
|
|
7
|
+
parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;
|
|
8
|
+
};
|
|
9
|
+
export declare function getExtractTransactionsInfo({ egldLabel, apiAddress, sender, address, parsedTransactionsByDataField }: ExtractTransactionsInfoType): (currentTx: MultiSignTransactionType) => Promise<{
|
|
10
|
+
transaction: import("@multiversx/sdk-core/out").Transaction;
|
|
11
|
+
receiverScamInfo: string | null;
|
|
12
|
+
transactionTokenInfo: TransactionDataTokenType;
|
|
13
|
+
isTokenTransaction: boolean;
|
|
14
|
+
dataField: string;
|
|
15
|
+
transactionIndex: number;
|
|
16
|
+
needsSigning: boolean;
|
|
17
|
+
} | undefined>;
|
|
18
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../../__chunks__/chunk-EJ4TUIIU.mjs";import"../../../../../../../__chunks__/chunk-F3PJPNGU.mjs";import"../../../../../../../__chunks__/chunk-AIQMA75E.mjs";import"../../../../../../../__chunks__/chunk-OMT62YRR.mjs";import"../../../../../../../__chunks__/chunk-S5XV2COC.mjs";import"../../../../../../../__chunks__/chunk-HY5I67W7.mjs";import"../../../../../../../__chunks__/chunk-HPY6UNFO.mjs";import"../../../../../../../__chunks__/chunk-N56SMVGU.mjs";import"../../../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../../../__chunks__/chunk-QNYO7NI5.mjs";import"../../../../../../../__chunks__/chunk-7VHTZYM2.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-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-CKTFPRJS.mjs";import"../../../../../../../__chunks__/chunk-YDR33UBM.mjs";import"../../../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getExtractTransactionsInfo};
|
|
2
2
|
//# sourceMappingURL=getExtractTransactionsInfo.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var d=Object.create;var m=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var w=(e,r)=>{for(var t in r)m(e,t,{get:r[t],enumerable:!0})},u=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of g(r))!y.call(e,a)&&a!==t&&m(e,a,{get:()=>r[a],enumerable:!(s=T(r,a))||s.enumerable});return e};var F=(e,r,t)=>(t=e!=null?d(O(e)):{},u(r||!e||!e.__esModule?m(t,"default",{value:e,enumerable:!0}):t,e)),v=e=>u(m({},"__esModule",{value:!0}),e);var D={};w(D,{getGasPriceOptions:()=>x});module.exports=v(D);var o=F(require("bignumber.js")),P=require("constants/mvx.constants"),p=require("constants/placeholders.constants"),c=require("./getRecommendedGasPrice");const x=({shard:e,gasStationMetadata:r,transaction:t,initialGasPrice:s=P.GAS_PRICE})=>{const a=r?r[Number(e)]?.fast:p.EMPTY_PPU,b=r?r[Number(e)]?.faster:p.EMPTY_PPU,i=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:p.EMPTY_PPU}}),f=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:a}}),l=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:b}}),n=[{label:"Standard",value:i}],G=new o.default(i).times(1.05).toNumber();n.push({label:"Fast",value:o.default.max(f,G).toNumber()});const N=new o.default(i).times(1.1).toNumber();return n.push({label:"Faster",value:o.default.max(l,N).toNumber()}),n};0&&(module.exports={getGasPriceOptions});
|
|
1
|
+
"use strict";var d=Object.create;var m=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var w=(e,r)=>{for(var t in r)m(e,t,{get:r[t],enumerable:!0})},u=(e,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of g(r))!y.call(e,a)&&a!==t&&m(e,a,{get:()=>r[a],enumerable:!(s=T(r,a))||s.enumerable});return e};var F=(e,r,t)=>(t=e!=null?d(O(e)):{},u(r||!e||!e.__esModule?m(t,"default",{value:e,enumerable:!0}):t,e)),v=e=>u(m({},"__esModule",{value:!0}),e);var D={};w(D,{getGasPriceOptions:()=>x});module.exports=v(D);var o=F(require("bignumber.js")),P=require("../../../../../../../constants/mvx.constants"),p=require("../../../../../../../constants/placeholders.constants"),c=require("./getRecommendedGasPrice");const x=({shard:e,gasStationMetadata:r,transaction:t,initialGasPrice:s=P.GAS_PRICE})=>{const a=r?r[Number(e)]?.fast:p.EMPTY_PPU,b=r?r[Number(e)]?.faster:p.EMPTY_PPU,i=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:p.EMPTY_PPU}}),f=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:a}}),l=(0,c.getRecommendedGasPrice)({transaction:t,gasPriceData:{initialGasPrice:s,ppu:b}}),n=[{label:"Standard",value:i}],G=new o.default(i).times(1.05).toNumber();n.push({label:"Fast",value:o.default.max(f,G).toNumber()});const N=new o.default(i).times(1.1).toNumber();return n.push({label:"Faster",value:o.default.max(l,N).toNumber()}),n};0&&(module.exports={getGasPriceOptions});
|
|
2
2
|
//# sourceMappingURL=getGasPriceOptions.cjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPlainTransactionObject } from '../../../../../../../lib/sdkCore';
|
|
2
|
+
import { NetworkType } from '../../../../../../../types/network.types';
|
|
3
|
+
type GetGasPriceOptionsParamsType = {
|
|
4
|
+
shard?: number;
|
|
5
|
+
gasStationMetadata: NetworkType['gasStationMetadata'];
|
|
6
|
+
transaction: IPlainTransactionObject;
|
|
7
|
+
initialGasPrice?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const getGasPriceOptions: ({ shard, gasStationMetadata, transaction, initialGasPrice }: GetGasPriceOptionsParamsType) => {
|
|
10
|
+
label: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}[];
|
|
13
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(n,e)=>{for(var r in e)a(n,r,{get:e[r],enumerable:!0})},G=(n,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!m.call(n,i)&&i!==r&&a(n,i,{get:()=>e[i],enumerable:!(t=o(e,i))||t.enumerable});return n};var P=n=>G(a({},"__esModule",{value:!0}),n);var f={};p(f,{getRecommendedGasPrice:()=>d});module.exports=P(f);var c=require("lib/sdkDappUtils");function d({transaction:n,gasPriceData:e}){if(!e)throw new Error("Gas price not found for nonce: "+n.nonce);const{initialGasPrice:r,ppu:t}=e;return t?(0,c.recommendGasPrice)({transactionDataLength:String(n?.data||"").length,transactionGasLimit:n.gasLimit,ppu:t}):r}0&&(module.exports={getRecommendedGasPrice});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(n,e)=>{for(var r in e)a(n,r,{get:e[r],enumerable:!0})},G=(n,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!m.call(n,i)&&i!==r&&a(n,i,{get:()=>e[i],enumerable:!(t=o(e,i))||t.enumerable});return n};var P=n=>G(a({},"__esModule",{value:!0}),n);var f={};p(f,{getRecommendedGasPrice:()=>d});module.exports=P(f);var c=require("../../../../../../../lib/sdkDappUtils");function d({transaction:n,gasPriceData:e}){if(!e)throw new Error("Gas price not found for nonce: "+n.nonce);const{initialGasPrice:r,ppu:t}=e;return t?(0,c.recommendGasPrice)({transactionDataLength:String(n?.data||"").length,transactionGasLimit:n.gasLimit,ppu:t}):r}0&&(module.exports={getRecommendedGasPrice});
|
|
2
2
|
//# sourceMappingURL=getRecommendedGasPrice.cjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPlainTransactionObject } from '../../../../../../../lib/sdkCore';
|
|
2
|
+
interface GetRecommendedGasPricePropsType {
|
|
3
|
+
transaction: IPlainTransactionObject;
|
|
4
|
+
gasPriceData?: {
|
|
5
|
+
initialGasPrice: number;
|
|
6
|
+
ppu: number;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function getRecommendedGasPrice({ transaction, gasPriceData }: GetRecommendedGasPricePropsType): number;
|
|
10
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},T=(a,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of i(t))!s.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(l=c(t,n))||l.enumerable});return a};var m=a=>T(o({},"__esModule",{value:!0}),a);var D={};u(D,{getScCall:()=>p});module.exports=m(D);var e=require("utils/decoders/decodePart");const p=a=>{if(!a?.multiTxData)return null;const{multiTxData:t,tokenId:r}=a;return r?null:(0,e.decodePart)(t)};0&&(module.exports={getScCall});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(a,t)=>{for(var r in t)o(a,r,{get:t[r],enumerable:!0})},T=(a,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of i(t))!s.call(a,n)&&n!==r&&o(a,n,{get:()=>t[n],enumerable:!(l=c(t,n))||l.enumerable});return a};var m=a=>T(o({},"__esModule",{value:!0}),a);var D={};u(D,{getScCall:()=>p});module.exports=m(D);var e=require("../../../../../../../utils/decoders/decodePart");const p=a=>{if(!a?.multiTxData)return null;const{multiTxData:t,tokenId:r}=a;return r?null:(0,e.decodePart)(t)};0&&(module.exports={getScCall});
|
|
2
2
|
//# sourceMappingURL=getScCall.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var E=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(e,n)=>{for(var T in n)E(e,T,{get:n[T],enumerable:!0})},a=(e,n,T,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of m(n))!o.call(e,u)&&u!==T&&E(e,u,{get:()=>n[u],enumerable:!(r=i(n,u))||r.enumerable});return e};var c=e=>a(E({},"__esModule",{value:!0}),e);var S={};s(S,{getTokenType:()=>p});module.exports=c(S);var t=require("types/tokens.types");const p=e=>{switch(e){case t.NftEnumType.NonFungibleESDT:case t.NftEnumType.SemiFungibleESDT:case t.NftEnumType.MetaESDT:return e;default:return t.EsdtEnumType.FungibleESDT}};0&&(module.exports={getTokenType});
|
|
1
|
+
"use strict";var E=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(e,n)=>{for(var T in n)E(e,T,{get:n[T],enumerable:!0})},a=(e,n,T,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of m(n))!o.call(e,u)&&u!==T&&E(e,u,{get:()=>n[u],enumerable:!(r=i(n,u))||r.enumerable});return e};var c=e=>a(E({},"__esModule",{value:!0}),e);var S={};s(S,{getTokenType:()=>p});module.exports=c(S);var t=require("../../../../../../../types/tokens.types");const p=e=>{switch(e){case t.NftEnumType.NonFungibleESDT:case t.NftEnumType.SemiFungibleESDT:case t.NftEnumType.MetaESDT:return e;default:return t.EsdtEnumType.FungibleESDT}};0&&(module.exports={getTokenType});
|
|
2
2
|
//# sourceMappingURL=getTokenType.cjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TransactionDataTokenType } from '../../../../../../../types/transactions.types';
|
|
2
|
+
export declare function getTxInfoByDataField({ data, multiTransactionData, parsedTransactionsByDataField }: {
|
|
3
|
+
data: string;
|
|
4
|
+
multiTransactionData?: string;
|
|
5
|
+
parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;
|
|
6
|
+
}): TransactionDataTokenType;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const mockGetCommonDataInput: {
|
|
2
|
+
allTransactions: {
|
|
3
|
+
transaction: {
|
|
4
|
+
nonce: number;
|
|
5
|
+
value: string;
|
|
6
|
+
receiver: string;
|
|
7
|
+
sender: string;
|
|
8
|
+
gasPrice: number;
|
|
9
|
+
gasLimit: number;
|
|
10
|
+
data: string;
|
|
11
|
+
chainID: string;
|
|
12
|
+
version: number;
|
|
13
|
+
};
|
|
14
|
+
transactionIndex: number;
|
|
15
|
+
multiTxData: string;
|
|
16
|
+
needsSigning: boolean;
|
|
17
|
+
}[];
|
|
18
|
+
currentScreenIndex: number;
|
|
19
|
+
egldLabel: string;
|
|
20
|
+
network: {
|
|
21
|
+
id: string;
|
|
22
|
+
chainId: string;
|
|
23
|
+
name: string;
|
|
24
|
+
egldLabel: string;
|
|
25
|
+
decimals: string;
|
|
26
|
+
digits: string;
|
|
27
|
+
gasPerDataByte: string;
|
|
28
|
+
walletAddress: string;
|
|
29
|
+
apiAddress: string;
|
|
30
|
+
explorerAddress: string;
|
|
31
|
+
apiTimeout: string;
|
|
32
|
+
roundDuration: number;
|
|
33
|
+
iframeWalletAddress: string;
|
|
34
|
+
xAliasAddress: string;
|
|
35
|
+
};
|
|
36
|
+
gasStationMetadata: {
|
|
37
|
+
'0': {
|
|
38
|
+
lastBlock: number;
|
|
39
|
+
fast: number;
|
|
40
|
+
faster: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
price: number;
|
|
44
|
+
address: string;
|
|
45
|
+
shard: number;
|
|
46
|
+
signedIndexes: never[];
|
|
47
|
+
parsedTransactionsByDataField: {
|
|
48
|
+
'5745474c442d613238633539@@0de0b6b3a7640000': {
|
|
49
|
+
tokenId: string;
|
|
50
|
+
amount: string;
|
|
51
|
+
type: string;
|
|
52
|
+
nonce: string;
|
|
53
|
+
multiTxData: string;
|
|
54
|
+
receiver: string;
|
|
55
|
+
};
|
|
56
|
+
'4d45582d613635396430@@e177704bc43f9bee3106': {
|
|
57
|
+
tokenId: string;
|
|
58
|
+
amount: string;
|
|
59
|
+
type: string;
|
|
60
|
+
nonce: string;
|
|
61
|
+
multiTxData: string;
|
|
62
|
+
receiver: string;
|
|
63
|
+
};
|
|
64
|
+
'6164644c6971756964697479@0dbd2fc137a30000@df363e8872ed0d9235a7': {
|
|
65
|
+
tokenId: string;
|
|
66
|
+
amount: string;
|
|
67
|
+
type: string;
|
|
68
|
+
nonce: string;
|
|
69
|
+
multiTxData: string;
|
|
70
|
+
receiver: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(e,t)=>{for(var i in t)m(e,i,{get:t[i],enumerable:!0})},d=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!l.call(e,r)&&r!==i&&m(e,r,{get:()=>t[r],enumerable:!(o=f(t,r))||o.enumerable});return e};var S=e=>d(m({},"__esModule",{value:!0}),e);var p={};s(p,{getFeeData:()=>I});module.exports=S(p);var a=require("constants/mvx.constants"),n=require("lib/sdkDappUtils"),c=require("./calculateFeeInFiat"),g=require("./calculateFeeLimit");const I=({transaction:e,price:t})=>{const i=(0,g.calculateFeeLimit)({from:e.sender.toBech32(),to:e.receiver.toBech32(),gasPerDataByte:String(a.GAS_PER_DATA_BYTE),gasPriceModifier:String(a.GAS_PRICE_MODIFIER),gasLimit:e.gasLimit.valueOf().toString(),gasPrice:e.gasPrice.valueOf().toString(),data:e.data.toString(),chainId:e.chainID.valueOf().toString()}),o=(0,n.formatAmount)({input:i,showLastNonZeroDecimal:!0}),r=t?(0,c.calculateFeeInFiat)({feeLimit:i,egldPriceInUsd:t,hideEqualSign:!0}):null;return{feeLimitFormatted:o,feeInFiatLimit:r,feeLimit:i}};0&&(module.exports={getFeeData});
|
|
1
|
+
"use strict";var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var s=(e,t)=>{for(var i in t)m(e,i,{get:t[i],enumerable:!0})},d=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!l.call(e,r)&&r!==i&&m(e,r,{get:()=>t[r],enumerable:!(o=f(t,r))||o.enumerable});return e};var S=e=>d(m({},"__esModule",{value:!0}),e);var p={};s(p,{getFeeData:()=>I});module.exports=S(p);var a=require("../../../../../constants/mvx.constants"),n=require("../../../../../lib/sdkDappUtils"),c=require("./calculateFeeInFiat"),g=require("./calculateFeeLimit");const I=({transaction:e,price:t})=>{const i=(0,g.calculateFeeLimit)({from:e.sender.toBech32(),to:e.receiver.toBech32(),gasPerDataByte:String(a.GAS_PER_DATA_BYTE),gasPriceModifier:String(a.GAS_PRICE_MODIFIER),gasLimit:e.gasLimit.valueOf().toString(),gasPrice:e.gasPrice.valueOf().toString(),data:e.data.toString(),chainId:e.chainID.valueOf().toString()}),o=(0,n.formatAmount)({input:i,showLastNonZeroDecimal:!0}),r=t?(0,c.calculateFeeInFiat)({feeLimit:i,egldPriceInUsd:t,hideEqualSign:!0}):null;return{feeLimitFormatted:o,feeInFiatLimit:r,feeLimit:i}};0&&(module.exports={getFeeData});
|
|
2
2
|
//# sourceMappingURL=getFeeData.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Transaction } from '../../../../../../lib/sdkCore';
|
|
2
|
+
import { MultiSignTransactionType, TransactionDataTokenType } from '../../../../../../types/transactions.types';
|
|
3
|
+
export type MultiEsdtTransferDataReturnType = ReturnType<typeof getMultiEsdtTransferData>;
|
|
4
|
+
export declare function getMultiEsdtTransferData(transactions?: Transaction[]): {
|
|
5
|
+
parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;
|
|
6
|
+
allTransactions: MultiSignTransactionType[];
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAllStringOccurrences: (sourceStr: string, searchStr: string) => number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var S=Object.create;var u=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var k=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},p=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of N(t))!M.call(e,c)&&c!==r&&u(e,c,{get:()=>t[c],enumerable:!(i=b(t,c))||i.enumerable});return e};var A=(e,t,r)=>(r=e!=null?S(C(e)):{},p(t||!e||!e.__esModule?u(r,"default",{value:e,enumerable:!0}):r,e)),D=e=>p(u({},"__esModule",{value:!0}),e);var O={};k(O,{parseMultiEsdtTransferData:()=>I});module.exports=D(O);var T=A(require("bignumber.js")),d=require("types/enums.types"),g=require("utils/decoders/decodePart"),h=require("./getAllStringOccurrences");function I(e){const t=[];let r=0;try{if(e?.startsWith(d.TransactionTypesEnum.MultiESDTNFTTransfer)&&e?.includes("@")){const[,i,c,...a]=e.split("@");if(i){const l=new T.default(c,16).toNumber();if(l>=Number.MAX_SAFE_INTEGER)return[];let s=0;for(let o=0;o<l;o++){const n={type:d.TransactionTypesEnum.nftTransaction,data:"",receiver:i};for(let f=0;f<3;f++){switch(f){case 0:n.token=(0,g.decodePart)(a[s]),n.data=a[s];break;case 1:{const m=a[s]&&a[s].length?a[s]:"";m&&m!=="00"?n.nonce=m:n.type=d.TransactionTypesEnum.esdtTransaction,n.data=`${n.data}@${a[s]}`;break}case 2:n.amount=new T.default(a[s],16).toString(10),n.data=`${n.data}@${a[s]}`;break;default:break}r=s+1,s++}t[o]=n}const x=t.length!==l,E=t.some(o=>(0,h.getAllStringOccurrences)(o.data,"@").length!==2),y=t.some(o=>o.data.startsWith("@"));if(x||E||y)return[];if(a[r]){let o=a[r];for(let n=r+1;n<a.length;n++)o+="@"+a[n];t[l]={type:d.TransactionTypesEnum.scCall,data:o,receiver:i}}}}}catch(i){return console.error("failed parsing tx",i),t}return t}0&&(module.exports={parseMultiEsdtTransferData});
|
|
1
|
+
"use strict";var S=Object.create;var u=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var k=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},p=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of N(t))!M.call(e,c)&&c!==r&&u(e,c,{get:()=>t[c],enumerable:!(i=b(t,c))||i.enumerable});return e};var A=(e,t,r)=>(r=e!=null?S(C(e)):{},p(t||!e||!e.__esModule?u(r,"default",{value:e,enumerable:!0}):r,e)),D=e=>p(u({},"__esModule",{value:!0}),e);var O={};k(O,{parseMultiEsdtTransferData:()=>I});module.exports=D(O);var T=A(require("bignumber.js")),d=require("../../../../../../../types/enums.types"),g=require("../../../../../../../utils/decoders/decodePart"),h=require("./getAllStringOccurrences");function I(e){const t=[];let r=0;try{if(e?.startsWith(d.TransactionTypesEnum.MultiESDTNFTTransfer)&&e?.includes("@")){const[,i,c,...a]=e.split("@");if(i){const l=new T.default(c,16).toNumber();if(l>=Number.MAX_SAFE_INTEGER)return[];let s=0;for(let o=0;o<l;o++){const n={type:d.TransactionTypesEnum.nftTransaction,data:"",receiver:i};for(let f=0;f<3;f++){switch(f){case 0:n.token=(0,g.decodePart)(a[s]),n.data=a[s];break;case 1:{const m=a[s]&&a[s].length?a[s]:"";m&&m!=="00"?n.nonce=m:n.type=d.TransactionTypesEnum.esdtTransaction,n.data=`${n.data}@${a[s]}`;break}case 2:n.amount=new T.default(a[s],16).toString(10),n.data=`${n.data}@${a[s]}`;break;default:break}r=s+1,s++}t[o]=n}const x=t.length!==l,E=t.some(o=>(0,h.getAllStringOccurrences)(o.data,"@").length!==2),y=t.some(o=>o.data.startsWith("@"));if(x||E||y)return[];if(a[r]){let o=a[r];for(let n=r+1;n<a.length;n++)o+="@"+a[n];t[l]={type:d.TransactionTypesEnum.scCall,data:o,receiver:i}}}}}catch(i){return console.error("failed parsing tx",i),t}return t}0&&(module.exports={parseMultiEsdtTransferData});
|
|
2
2
|
//# sourceMappingURL=parseMultiEsdtTransferData.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var T=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(e,n)=>{for(var t in n)T(e,t,{get:n[t],enumerable:!0})},k=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of D(n))!y.call(e,i)&&i!==t&&T(e,i,{get:()=>n[i],enumerable:!(o=g(n,i))||o.enumerable});return e};var M=e=>k(T({},"__esModule",{value:!0}),e);var v={};h(v,{parseMultiEsdtTransferDataForMultipleTransactions:()=>S});module.exports=M(v);var l=require("utils/decoders/base64Utils"),p=require("utils/transactions/getInterpretedTransaction/helpers/getTokenFromData"),u=require("./parseMultiEsdtTransferData");function S({transactions:e}){const n=[],t={};return!e||e.length===0?{allTransactions:n,parsedTransactionsByDataField:t}:(e.forEach((o,i)=>{const m=o.toPlainObject(),s=(0,l.decodeBase64)(m?.data??""),c=(0,u.parseMultiEsdtTransferData)(s);if(c.length>0)c.forEach((a,r)=>{const d=r===c.length-1,f={transaction:o,multiTxData:a.data,transactionIndex:r,needsSigning:d};t[a.data]={tokenId:a.token?a.token:"",amount:a.amount?a.amount:"",type:a.type,nonce:a.nonce?a.nonce:"",multiTxData:a.data,receiver:a.receiver},n.push(f)});else{const{tokenId:a,amount:r}=(0,p.getTokenFromData)(s);a&&(t[s]={tokenId:a,amount:r,receiver:o.receiver.toBech32()}),n.push({transaction:o,transactionIndex:i,multiTxData:s,needsSigning:!0})}}),{allTransactions:n,parsedTransactionsByDataField:t})}0&&(module.exports={parseMultiEsdtTransferDataForMultipleTransactions});
|
|
1
|
+
"use strict";var T=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(e,n)=>{for(var t in n)T(e,t,{get:n[t],enumerable:!0})},k=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of D(n))!y.call(e,i)&&i!==t&&T(e,i,{get:()=>n[i],enumerable:!(o=g(n,i))||o.enumerable});return e};var M=e=>k(T({},"__esModule",{value:!0}),e);var v={};h(v,{parseMultiEsdtTransferDataForMultipleTransactions:()=>S});module.exports=M(v);var l=require("../../../../../../../utils/decoders/base64Utils"),p=require("../../../../../../../utils/transactions/getInterpretedTransaction/helpers/getTokenFromData"),u=require("./parseMultiEsdtTransferData");function S({transactions:e}){const n=[],t={};return!e||e.length===0?{allTransactions:n,parsedTransactionsByDataField:t}:(e.forEach((o,i)=>{const m=o.toPlainObject(),s=(0,l.decodeBase64)(m?.data??""),c=(0,u.parseMultiEsdtTransferData)(s);if(c.length>0)c.forEach((a,r)=>{const d=r===c.length-1,f={transaction:o,multiTxData:a.data,transactionIndex:r,needsSigning:d};t[a.data]={tokenId:a.token?a.token:"",amount:a.amount?a.amount:"",type:a.type,nonce:a.nonce?a.nonce:"",multiTxData:a.data,receiver:a.receiver},n.push(f)});else{const{tokenId:a,amount:r}=(0,p.getTokenFromData)(s);a&&(t[s]={tokenId:a,amount:r,receiver:o.receiver.toBech32()}),n.push({transaction:o,transactionIndex:i,multiTxData:s,needsSigning:!0})}}),{allTransactions:n,parsedTransactionsByDataField:t})}0&&(module.exports={parseMultiEsdtTransferDataForMultipleTransactions});
|
|
2
2
|
//# sourceMappingURL=parseMultiEsdtTransferDataForMultipleTransactions.cjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Transaction } from '../../../../../../../lib/sdkCore';
|
|
2
|
+
import { MultiSignTransactionType } from '../../../../../../../types/transactions.types';
|
|
3
|
+
export declare function parseMultiEsdtTransferDataForMultipleTransactions({ transactions }: {
|
|
4
|
+
transactions?: Transaction[];
|
|
5
|
+
}): {
|
|
6
|
+
allTransactions: MultiSignTransactionType[];
|
|
7
|
+
parsedTransactionsByDataField: Record<string, import("../../../../../../../types/transactions.types").TransactionDataTokenType>;
|
|
8
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var c=(e,r)=>{for(var o in r)n(e,o,{get:r[o],enumerable:!0})},W=(e,r,o,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of d(r))!a.call(e,s)&&s!==o&&n(e,s,{get:()=>r[s],enumerable:!(t=l(r,s))||t.enumerable});return e};var u=e=>W(n({},"__esModule",{value:!0}),e);var g={};c(g,{getCrossWindowProvider:()=>w});module.exports=u(g);var i=require("lib/sdkWebWalletCrossWindowProvider");async function w({address:e,walletUrl:r}){try{const o=i.CrossWindowProvider.getInstance(),t=await o.init();if(o.setAddress(e).setWalletUrl(r),t)return o;console.error("Could not initialize CrossWindowWallet Provider")}catch(o){console.error("Unable to login to CrossWindowWallet Provider",o)}return null}0&&(module.exports={getCrossWindowProvider});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var c=(e,r)=>{for(var o in r)n(e,o,{get:r[o],enumerable:!0})},W=(e,r,o,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of d(r))!a.call(e,s)&&s!==o&&n(e,s,{get:()=>r[s],enumerable:!(t=l(r,s))||t.enumerable});return e};var u=e=>W(n({},"__esModule",{value:!0}),e);var g={};c(g,{getCrossWindowProvider:()=>w});module.exports=u(g);var i=require("../../../../../../lib/sdkWebWalletCrossWindowProvider");async function w({address:e,walletUrl:r}){try{const o=i.CrossWindowProvider.getInstance(),t=await o.init();if(o.setAddress(e).setWalletUrl(r),t)return o;console.error("Could not initialize CrossWindowWallet Provider")}catch(o){console.error("Unable to login to CrossWindowWallet Provider",o)}return null}0&&(module.exports={getCrossWindowProvider});
|
|
2
2
|
//# sourceMappingURL=getCrossWindowProvider.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=(r,o)=>{for(var n in o)s(r,n,{get:o[n],enumerable:!0})},T=(r,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of p(o))!u.call(r,e)&&e!==n&&s(r,e,{get:()=>o[e],enumerable:!(t=m(o,e))||t.enumerable});return r};var l=r=>T(s({},"__esModule",{value:!0}),r);var A={};f(A,{guardTransactions:()=>w});module.exports=l(A);var i=require("methods/account/getAccount"),a=require("store/selectors/networkSelectors"),d=require("store/store"),c=require("./getCrossWindowProvider"),g=require("./getTransactionsNeedGuardianSigning");const w=async r=>{const{isGuarded:o}=(0,i.getAccount)();if(!(0,g.getTransactionsNeedGuardianSigning)({isGuarded:o,transactions:r}))return r;const t=r[0].sender.toBech32(),{walletAddress:e}=(0,a.networkSelector)((0,d.getState)());return await(await(0,c.getCrossWindowProvider)({address:t,walletUrl:e}))?.guardTransactions(r)||[]};0&&(module.exports={guardTransactions});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=(r,o)=>{for(var n in o)s(r,n,{get:o[n],enumerable:!0})},T=(r,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of p(o))!u.call(r,e)&&e!==n&&s(r,e,{get:()=>o[e],enumerable:!(t=m(o,e))||t.enumerable});return r};var l=r=>T(s({},"__esModule",{value:!0}),r);var A={};f(A,{guardTransactions:()=>w});module.exports=l(A);var i=require("../../../../../../methods/account/getAccount"),a=require("../../../../../../store/selectors/networkSelectors"),d=require("../../../../../../store/store"),c=require("./getCrossWindowProvider"),g=require("./getTransactionsNeedGuardianSigning");const w=async r=>{const{isGuarded:o}=(0,i.getAccount)();if(!(0,g.getTransactionsNeedGuardianSigning)({isGuarded:o,transactions:r}))return r;const t=r[0].sender.toBech32(),{walletAddress:e}=(0,a.networkSelector)((0,d.getState)());return await(await(0,c.getCrossWindowProvider)({address:t,walletUrl:e}))?.guardTransactions(r)||[]};0&&(module.exports={guardTransactions});
|
|
2
2
|
//# sourceMappingURL=guardTransactions.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../../__chunks__/chunk-YG6SFLZY.mjs";import"../../../../../../__chunks__/chunk-SUBC3H4J.mjs";import"../../../../../../__chunks__/chunk-U64LDJTG.mjs";import"../../../../../../__chunks__/chunk-QJGFIK7H.mjs";import"../../../../../../__chunks__/chunk-XELB2AVG.mjs";import"../../../../../../__chunks__/chunk-7VHTZYM2.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-DA76AK4I.mjs";import"../../../../../../__chunks__/chunk-YDR33UBM.mjs";export{a as guardTransactions};
|
|
2
2
|
//# sourceMappingURL=guardTransactions.mjs.map
|