@multiversx/sdk-dapp 5.6.11 → 5.6.12
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 +1 -1
- 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 f=Object.create;var s=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var N=(m,t)=>{for(var r in t)s(m,r,{get:t[r],enumerable:!0})},u=(m,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of g(t))!S.call(m,e)&&e!==r&&s(m,e,{get:()=>t[e],enumerable:!(i=A(t,e))||i.enumerable});return m};var n=(m,t,r)=>(r=m!=null?f(D(m)):{},u(t||!m||!m.__esModule?s(r,"default",{value:m,enumerable:!0}):r,m)),v=m=>u(s({},"__esModule",{value:!0}),m);var I={};N(I,{getAssetAmount:()=>E});module.exports=v(I);var a=n(require("bignumber.js")),c=n(require("lodash.trimend")),o=require("lib/sdkDappUtils"),l=require("utils/operations/trimAmountDecimals"),d=require("./isTransferNftOrSft");const E=m=>{if((0,d.isTransferNftOrSft)(m))return parseFloat(m.value).toLocaleString();const t=(0,o.formatAmount)({input:String(m.value??o.ZERO),decimals:Number(m.decimals??o.DECIMALS),showLastNonZeroDecimal:!0,addCommas:!0}),r=(0,l.trimAmountDecimals)({minimumPositiveDecimals:o.DIGITS,amount:t}),[i,e]=r.split("."),p=(0,c.default)(e,o.ZERO);return e&&new a.default(e).isGreaterThan(o.ZERO)?`${i}.${p}`:r};0&&(module.exports={getAssetAmount});
|
|
1
|
+
"use strict";var f=Object.create;var s=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var N=(m,t)=>{for(var r in t)s(m,r,{get:t[r],enumerable:!0})},u=(m,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of g(t))!S.call(m,e)&&e!==r&&s(m,e,{get:()=>t[e],enumerable:!(i=A(t,e))||i.enumerable});return m};var n=(m,t,r)=>(r=m!=null?f(D(m)):{},u(t||!m||!m.__esModule?s(r,"default",{value:m,enumerable:!0}):r,m)),v=m=>u(s({},"__esModule",{value:!0}),m);var I={};N(I,{getAssetAmount:()=>E});module.exports=v(I);var a=n(require("bignumber.js")),c=n(require("lodash.trimend")),o=require("../../../../lib/sdkDappUtils"),l=require("../../../../utils/operations/trimAmountDecimals"),d=require("./isTransferNftOrSft");const E=m=>{if((0,d.isTransferNftOrSft)(m))return parseFloat(m.value).toLocaleString();const t=(0,o.formatAmount)({input:String(m.value??o.ZERO),decimals:Number(m.decimals??o.DECIMALS),showLastNonZeroDecimal:!0,addCommas:!0}),r=(0,l.trimAmountDecimals)({minimumPositiveDecimals:o.DIGITS,amount:t}),[i,e]=r.split("."),p=(0,c.default)(e,o.ZERO);return e&&new a.default(e).isGreaterThan(o.ZERO)?`${i}.${p}`:r};0&&(module.exports={getAssetAmount});
|
|
2
2
|
//# sourceMappingURL=getAssetAmount.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAssetAmount: (transactionTransfer: Record<string, string>) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var g=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of d(e))!l.call(t,m)&&m!==r&&o(t,m,{get:()=>e[m],enumerable:!(s=n(e,m))||s.enumerable});return t};var N=(t,e,r)=>(r=t!=null?g(p(t)):{},u(e||!t||!t.__esModule?o(r,"default",{value:t,enumerable:!0}):r,t)),P=t=>u(o({},"__esModule",{value:!0}),t);var b={};A(b,{getAssetPrice:()=>S});module.exports=P(b);var c=N(require("bignumber.js")),i=require("lib/sdkDappUtils"),f=require("./isTransferNftOrSft");const S=t=>{if((0,f.isTransferNftOrSft)(t))return;const e=(0,i.formatAmount)({input:String(t.value??i.ZERO),decimals:Number(t.decimals??i.DECIMALS),showLastNonZeroDecimal:!0});return new c.default(t.usdPrice??"1").times(e).toString()};0&&(module.exports={getAssetPrice});
|
|
1
|
+
"use strict";var g=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var A=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},u=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of d(e))!l.call(t,m)&&m!==r&&o(t,m,{get:()=>e[m],enumerable:!(s=n(e,m))||s.enumerable});return t};var N=(t,e,r)=>(r=t!=null?g(p(t)):{},u(e||!t||!t.__esModule?o(r,"default",{value:t,enumerable:!0}):r,t)),P=t=>u(o({},"__esModule",{value:!0}),t);var b={};A(b,{getAssetPrice:()=>S});module.exports=P(b);var c=N(require("bignumber.js")),i=require("../../../../lib/sdkDappUtils"),f=require("./isTransferNftOrSft");const S=t=>{if((0,f.isTransferNftOrSft)(t))return;const e=(0,i.formatAmount)({input:String(t.value??i.ZERO),decimals:Number(t.decimals??i.DECIMALS),showLastNonZeroDecimal:!0});return new c.default(t.usdPrice??"1").times(e).toString()};0&&(module.exports={getAssetPrice});
|
|
2
2
|
//# sourceMappingURL=getAssetPrice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAssetPrice: (transactionTransfer: Record<string, string>) => string | undefined;
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(r,t)=>{for(var e in t)n(r,e,{get:t[e],enumerable:!0})},p=(r,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m(t))!I.call(r,o)&&o!==e&&n(r,o,{get:()=>t[o],enumerable:!(a=s(t,o))||a.enumerable});return r};var l=r=>p(n({},"__esModule",{value:!0}),r);var f={};T(f,{getCachedTransactionListItem:()=>d});module.exports=l(f);var c=require("store/selectors/cacheSelector"),i=require("store/store");const d=(r,t)=>(0,c.getCachedItemSelector)(`transaction-${r}`)(t??(0,i.getState)())??null;0&&(module.exports={getCachedTransactionListItem});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(r,t)=>{for(var e in t)n(r,e,{get:t[e],enumerable:!0})},p=(r,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of m(t))!I.call(r,o)&&o!==e&&n(r,o,{get:()=>t[o],enumerable:!(a=s(t,o))||a.enumerable});return r};var l=r=>p(n({},"__esModule",{value:!0}),r);var f={};T(f,{getCachedTransactionListItem:()=>d});module.exports=l(f);var c=require("../../../../store/selectors/cacheSelector"),i=require("../../../../store/store");const d=(r,t)=>(0,c.getCachedItemSelector)(`transaction-${r}`)(t??(0,i.getState)())??null;0&&(module.exports={getCachedTransactionListItem});
|
|
2
2
|
//# sourceMappingURL=getCachedTransactionListItem.cjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-22F6NHUW.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.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 getCachedTransactionListItem};
|
|
2
2
|
//# sourceMappingURL=getCachedTransactionListItem.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var s in a)t(n,s,{get:a[s],enumerable:!0})},u=(n,a,s,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of l(a))!c.call(n,i)&&i!==s&&t(n,i,{get:()=>a[i],enumerable:!(e=o(a,i))||e.enumerable});return n};var v=n=>u(t({},"__esModule",{value:!0}),n);var T={};d(T,{getIsTransactionInvalidOrFailed:()=>S});module.exports=v(T);var r=require("types/enums.types");const S=n=>[r.TransactionServerStatusesEnum.fail,r.TransactionServerStatusesEnum.invalid].includes(n);0&&(module.exports={getIsTransactionInvalidOrFailed});
|
|
1
|
+
"use strict";var t=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(n,a)=>{for(var s in a)t(n,s,{get:a[s],enumerable:!0})},u=(n,a,s,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of l(a))!c.call(n,i)&&i!==s&&t(n,i,{get:()=>a[i],enumerable:!(e=o(a,i))||e.enumerable});return n};var v=n=>u(t({},"__esModule",{value:!0}),n);var T={};d(T,{getIsTransactionInvalidOrFailed:()=>S});module.exports=v(T);var r=require("../../../../types/enums.types");const S=n=>[r.TransactionServerStatusesEnum.fail,r.TransactionServerStatusesEnum.invalid].includes(n);0&&(module.exports={getIsTransactionInvalidOrFailed});
|
|
2
2
|
//# sourceMappingURL=getIsTransactionInvalidOrFailed.cjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AssetType } from '../../../../types/account.types';
|
|
2
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
3
|
+
export declare const getReceiverData: (transaction: ServerTransactionType) => {
|
|
4
|
+
receiver: string;
|
|
5
|
+
receiverAssets: AssetType;
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var k=Object.create;var a=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var r in n)a(t,r,{get:n[r],enumerable:!0})},A=(t,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of G(n))!R.call(t,o)&&o!==r&&a(t,o,{get:()=>n[o],enumerable:!(i=v(n,o))||i.enumerable});return t};var l=(t,n,r)=>(r=t!=null?k(O(t)):{},A(n||!t||!t.__esModule?a(r,"default",{value:t,enumerable:!0}):r,t)),q=t=>A(a({},"__esModule",{value:!0}),t);var U={};S(U,{TransactionActionCategoryTypeEnum:()=>x,getTransactionAction:()=>w});module.exports=q(U);var y=l(require("lodash.startcase")),b=l(require("lodash.uniq")),L=require("types/transaction-list-item.types"),E=require("./getTransactionActionDirectionLabel"),h=require("./getTransactionActionTransferLabel"),x=(r=>(r.mex="mex",r.stake="stake",r))(x||{});const w=({currentUserAddress:t,transaction:n,egldLabel:r,isPending:i=!1})=>{if(i)return{name:"Pending..."};const o={},D=Object.entries(L.TransactionActionMethodTypeEnum).reduce((m,[$,j])=>Object.assign(m,{[$]:j}),o),e=n.action,s=e&&e.arguments,p=e&&e.category?e.category:null,I=s&&e.name==="transfer",f=s&&Array.isArray(s.transfers)?s.transfers:[],T=f.map(m=>m.type),[d]=(0,b.default)(T),C=r??"EGLD",u=(0,E.getTransactionActionDirectionLabel)({transaction:n,transferType:d,currentUserAddress:t}),M=(0,h.getTransactionActionTransferLabel)({allTransferTypes:T,transferType:d,transactionTransfers:f}),P=p&&["mex","stake"].includes(p),c=e&&P?e.description:void 0,g=n.function&&n.function!=="transfer"?D[n.function]??(0,y.default)(n.function):null;return I&&s?{name:`${u} ${M}`,description:c}:g?{name:g,description:c}:{name:`${u} ${C}`,description:c}};0&&(module.exports={TransactionActionCategoryTypeEnum,getTransactionAction});
|
|
1
|
+
"use strict";var k=Object.create;var a=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var G=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var S=(t,n)=>{for(var r in n)a(t,r,{get:n[r],enumerable:!0})},A=(t,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of G(n))!R.call(t,o)&&o!==r&&a(t,o,{get:()=>n[o],enumerable:!(i=v(n,o))||i.enumerable});return t};var l=(t,n,r)=>(r=t!=null?k(O(t)):{},A(n||!t||!t.__esModule?a(r,"default",{value:t,enumerable:!0}):r,t)),q=t=>A(a({},"__esModule",{value:!0}),t);var U={};S(U,{TransactionActionCategoryTypeEnum:()=>x,getTransactionAction:()=>w});module.exports=q(U);var y=l(require("lodash.startcase")),b=l(require("lodash.uniq")),L=require("../../../../types/transaction-list-item.types"),E=require("./getTransactionActionDirectionLabel"),h=require("./getTransactionActionTransferLabel"),x=(r=>(r.mex="mex",r.stake="stake",r))(x||{});const w=({currentUserAddress:t,transaction:n,egldLabel:r,isPending:i=!1})=>{if(i)return{name:"Pending..."};const o={},D=Object.entries(L.TransactionActionMethodTypeEnum).reduce((m,[$,j])=>Object.assign(m,{[$]:j}),o),e=n.action,s=e&&e.arguments,p=e&&e.category?e.category:null,I=s&&e.name==="transfer",f=s&&Array.isArray(s.transfers)?s.transfers:[],T=f.map(m=>m.type),[d]=(0,b.default)(T),C=r??"EGLD",u=(0,E.getTransactionActionDirectionLabel)({transaction:n,transferType:d,currentUserAddress:t}),M=(0,h.getTransactionActionTransferLabel)({allTransferTypes:T,transferType:d,transactionTransfers:f}),P=p&&["mex","stake"].includes(p),c=e&&P?e.description:void 0,g=n.function&&n.function!=="transfer"?D[n.function]??(0,y.default)(n.function):null;return I&&s?{name:`${u} ${M}`,description:c}:g?{name:g,description:c}:{name:`${u} ${C}`,description:c}};0&&(module.exports={TransactionActionCategoryTypeEnum,getTransactionAction});
|
|
2
2
|
//# sourceMappingURL=getTransactionAction.cjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ITransactionListItemAction } from '../../../../lib/sdkDappUi';
|
|
2
|
+
import type { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
3
|
+
export declare enum TransactionActionCategoryTypeEnum {
|
|
4
|
+
mex = "mex",
|
|
5
|
+
stake = "stake"
|
|
6
|
+
}
|
|
7
|
+
export interface IGetTransactionActionParams {
|
|
8
|
+
currentUserAddress: string;
|
|
9
|
+
transaction: ServerTransactionType;
|
|
10
|
+
egldLabel?: string;
|
|
11
|
+
isPending?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const getTransactionAction: ({ currentUserAddress, transaction, egldLabel, isPending }: IGetTransactionActionParams) => ITransactionListItemAction;
|
package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(n,e)=>{for(var t in e)a(n,t,{get:e[t],enumerable:!0})},y=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!m.call(n,r)&&r!==t&&a(n,r,{get:()=>e[r],enumerable:!(s=p(e,r))||s.enumerable});return n};var d=n=>y(a({},"__esModule",{value:!0}),n);var g={};u(g,{getTransactionActionDirectionLabel:()=>D});module.exports=d(g);var i=require("types/tokens.types"),T=require("./getReceiverData");const D=({transaction:n,transferType:e,currentUserAddress:t})=>{const{receiver:s}=(0,T.getReceiverData)(n),r=s===n.sender,o=s===t,f=!r&&!o,S=e,c=[i.NftEnumType.SemiFungibleESDT,i.NftEnumType.NonFungibleESDT,i.NftEnumType.MetaESDT].includes(S);return r&&c||o?"Received":r&&!c?"Self Sent":f?"Sent":"Self"};0&&(module.exports={getTransactionActionDirectionLabel});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(n,e)=>{for(var t in e)a(n,t,{get:e[t],enumerable:!0})},y=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!m.call(n,r)&&r!==t&&a(n,r,{get:()=>e[r],enumerable:!(s=p(e,r))||s.enumerable});return n};var d=n=>y(a({},"__esModule",{value:!0}),n);var g={};u(g,{getTransactionActionDirectionLabel:()=>D});module.exports=d(g);var i=require("../../../../types/tokens.types"),T=require("./getReceiverData");const D=({transaction:n,transferType:e,currentUserAddress:t})=>{const{receiver:s}=(0,T.getReceiverData)(n),r=s===n.sender,o=s===t,f=!r&&!o,S=e,c=[i.NftEnumType.SemiFungibleESDT,i.NftEnumType.NonFungibleESDT,i.NftEnumType.MetaESDT].includes(S);return r&&c||o?"Received":r&&!c?"Self Sent":f?"Sent":"Self"};0&&(module.exports={getTransactionActionDirectionLabel});
|
|
2
2
|
//# sourceMappingURL=getTransactionActionDirectionLabel.cjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
interface IGetTransactionActionDirectionLabelParams {
|
|
3
|
+
transaction: ServerTransactionType;
|
|
4
|
+
currentUserAddress: string;
|
|
5
|
+
transferType?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getTransactionActionDirectionLabel: ({ transaction, transferType, currentUserAddress }: IGetTransactionActionDirectionLabelParams) => "Self" | "Received" | "Self Sent" | "Sent";
|
|
8
|
+
export {};
|
package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var b=Object.create;var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var k=(e,r)=>{for(var t in r)s(e,t,{get:r[t],enumerable:!0})},c=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of A(r))!h.call(e,n)&&n!==t&&s(e,n,{get:()=>r[n],enumerable:!(a=d(r,n))||a.enumerable});return e};var E=(e,r,t)=>(t=e!=null?b(N(e)):{},c(r||!e||!e.__esModule?s(t,"default",{value:e,enumerable:!0}):t,e)),F=e=>c(s({},"__esModule",{value:!0}),e);var z={};k(z,{getTransactionActionTransferLabel:()=>w});module.exports=F(z);var f=E(require("bignumber.js")),u=require("lib/sdkDappUtils"),l=require("lib/sdkDappUtils"),m=require("types/tokens.types"),o=require("utils/operations/pluralize");const w=({transactionTransfers:e,allTransferTypes:r,transferType:t})=>{const[a]=e,n=e.map(i=>i.ticker),T=new Set(r).size===1,p=new Set(n).size===1,g=e.map(i=>(0,u.formatAmount)({input:String(i.value??l.ZERO),decimals:Number(i.decimals??l.ZERO)})).reduce((i,S)=>i.plus(S),new f.default(e.length-1));return!T||!p?"Multiple Assets":t===m.NftEnumType.SemiFungibleESDT?(0,o.pluralize)("SFT",g.toNumber()):t===m.NftEnumType.NonFungibleESDT?(0,o.pluralize)("NFT",e.length):a.ticker};0&&(module.exports={getTransactionActionTransferLabel});
|
|
1
|
+
"use strict";var b=Object.create;var s=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var N=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var k=(e,r)=>{for(var t in r)s(e,t,{get:r[t],enumerable:!0})},c=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of A(r))!h.call(e,n)&&n!==t&&s(e,n,{get:()=>r[n],enumerable:!(a=d(r,n))||a.enumerable});return e};var E=(e,r,t)=>(t=e!=null?b(N(e)):{},c(r||!e||!e.__esModule?s(t,"default",{value:e,enumerable:!0}):t,e)),F=e=>c(s({},"__esModule",{value:!0}),e);var z={};k(z,{getTransactionActionTransferLabel:()=>w});module.exports=F(z);var f=E(require("bignumber.js")),u=require("../../../../lib/sdkDappUtils"),l=require("../../../../lib/sdkDappUtils"),m=require("../../../../types/tokens.types"),o=require("../../../../utils/operations/pluralize");const w=({transactionTransfers:e,allTransferTypes:r,transferType:t})=>{const[a]=e,n=e.map(i=>i.ticker),T=new Set(r).size===1,p=new Set(n).size===1,g=e.map(i=>(0,u.formatAmount)({input:String(i.value??l.ZERO),decimals:Number(i.decimals??l.ZERO)})).reduce((i,S)=>i.plus(S),new f.default(e.length-1));return!T||!p?"Multiple Assets":t===m.NftEnumType.SemiFungibleESDT?(0,o.pluralize)("SFT",g.toNumber()):t===m.NftEnumType.NonFungibleESDT?(0,o.pluralize)("NFT",e.length):a.ticker};0&&(module.exports={getTransactionActionTransferLabel});
|
|
2
2
|
//# sourceMappingURL=getTransactionActionTransferLabel.cjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface IGetTransactionActionTransferLabelParams {
|
|
2
|
+
allTransferTypes: string[];
|
|
3
|
+
transferType?: string;
|
|
4
|
+
transactionTransfers: Record<string, string>[];
|
|
5
|
+
}
|
|
6
|
+
export declare const getTransactionActionTransferLabel: ({ transactionTransfers, allTransferTypes, transferType }: IGetTransactionActionTransferLabelParams) => string;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ITransactionAsset } from './getTransactionAssets';
|
|
2
|
+
interface IGetTransactionAmountParams {
|
|
3
|
+
transactionAssets: ITransactionAsset[];
|
|
4
|
+
isIncomingTransaction: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const getTransactionAmount: ({ transactionAssets, isIncomingTransaction }: IGetTransactionAmountParams) => string;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var h=(t,s)=>{for(var e in s)o(t,e,{get:s[e],enumerable:!0})},w=(t,s,e,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(let n of b(s))!N.call(t,n)&&n!==e&&o(t,n,{get:()=>s[n],enumerable:!(i=y(s,n))||i.enumerable});return t};var P=t=>w(o({},"__esModule",{value:!0}),t);var C={};h(C,{getTransactionAsset:()=>x});module.exports=P(C);var a=require("types/enums.types"),c=require("types/transaction-list-item.types"),m=require("utils/validation/isContract"),I=require("./getIsTransactionInvalidOrFailed"),g=require("./getTransactionAvatar"),k=(e=>(e.NonFungibleESDT="NonFungibleESDT",e.SemiFungibleESDT="SemiFungibleESDT",e))(k||{});const x=({receiver:t,sender:s,senderAssets:e,receiverAssets:i,transactionAssets:n,showDefaultState:p=!1,status:T})=>{const l=t===s,S=l?(0,m.isContract)(s):(0,m.isContract)(t),A=(0,g.getTransactionAvatar)({senderAssets:e,receiverAssets:i,userIsReceiver:l}),[r]=n??[],E=n.length>1,F=r?.type==="NonFungibleESDT",u=r?.type==="SemiFungibleESDT",d=n?.every(D=>r&&D.assetTicker===r.assetTicker)??!1,v=(0,I.getIsTransactionInvalidOrFailed)(T),f=T===a.TransactionServerStatusesEnum.pending;return(f||v)&&!p?{icon:f?a.IconNamesEnum.hourglass:a.IconNamesEnum.close}:E&&!d?{icon:a.IconNamesEnum.coins}:r?.assetImage?{imageUrl:r.assetImage}:F||u?{text:u?c.TransactionIconTypeEnum.SFT:c.TransactionIconTypeEnum.NFT}:S?{imageUrl:A||void 0}:null};0&&(module.exports={getTransactionAsset});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var h=(t,s)=>{for(var e in s)o(t,e,{get:s[e],enumerable:!0})},w=(t,s,e,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(let n of b(s))!N.call(t,n)&&n!==e&&o(t,n,{get:()=>s[n],enumerable:!(i=y(s,n))||i.enumerable});return t};var P=t=>w(o({},"__esModule",{value:!0}),t);var C={};h(C,{getTransactionAsset:()=>x});module.exports=P(C);var a=require("../../../../types/enums.types"),c=require("../../../../types/transaction-list-item.types"),m=require("../../../../utils/validation/isContract"),I=require("./getIsTransactionInvalidOrFailed"),g=require("./getTransactionAvatar"),k=(e=>(e.NonFungibleESDT="NonFungibleESDT",e.SemiFungibleESDT="SemiFungibleESDT",e))(k||{});const x=({receiver:t,sender:s,senderAssets:e,receiverAssets:i,transactionAssets:n,showDefaultState:p=!1,status:T})=>{const l=t===s,S=l?(0,m.isContract)(s):(0,m.isContract)(t),A=(0,g.getTransactionAvatar)({senderAssets:e,receiverAssets:i,userIsReceiver:l}),[r]=n??[],E=n.length>1,F=r?.type==="NonFungibleESDT",u=r?.type==="SemiFungibleESDT",d=n?.every(D=>r&&D.assetTicker===r.assetTicker)??!1,v=(0,I.getIsTransactionInvalidOrFailed)(T),f=T===a.TransactionServerStatusesEnum.pending;return(f||v)&&!p?{icon:f?a.IconNamesEnum.hourglass:a.IconNamesEnum.close}:E&&!d?{icon:a.IconNamesEnum.coins}:r?.assetImage?{imageUrl:r.assetImage}:F||u?{text:u?c.TransactionIconTypeEnum.SFT:c.TransactionIconTypeEnum.NFT}:S?{imageUrl:A||void 0}:null};0&&(module.exports={getTransactionAsset});
|
|
2
2
|
//# sourceMappingURL=getTransactionAsset.cjs.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ITransactionListItemAsset } from '../../../../lib/sdkDappUi';
|
|
2
|
+
import { AssetType } from '../../../../types/account.types';
|
|
3
|
+
import { TransactionServerStatusesEnum } from '../../../../types/enums.types';
|
|
4
|
+
import { ITransactionAsset } from './getTransactionAssets';
|
|
5
|
+
interface IGetTransactionAssetParams {
|
|
6
|
+
receiver: string;
|
|
7
|
+
sender: string;
|
|
8
|
+
receiverAssets?: AssetType;
|
|
9
|
+
senderAssets?: AssetType;
|
|
10
|
+
transactionAssets: ITransactionAsset[];
|
|
11
|
+
showDefaultState?: boolean;
|
|
12
|
+
status: TransactionServerStatusesEnum;
|
|
13
|
+
}
|
|
14
|
+
export declare const getTransactionAsset: ({ receiver, sender, senderAssets, receiverAssets, transactionAssets, showDefaultState, status }: IGetTransactionAssetParams) => ITransactionListItemAsset | null;
|
|
15
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var d=(t,s)=>{for(var r in s)i(t,r,{get:s[r],enumerable:!0})},P=(t,s,r,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let e of I(s))!y.call(t,e)&&e!==r&&i(t,e,{get:()=>s[e],enumerable:!(n=u(s,e))||n.enumerable});return t};var v=t=>P(i({},"__esModule",{value:!0}),t);var x={};d(x,{getTransactionAssets:()=>k});module.exports=v(x);var A=require("lib/sdkDappUtils"),o=require("./getAssetAmount"),p=require("./getAssetPrice");const k=({transaction:t,userIsReceiver:s,egldLabel:r})=>{const n=t.action,e=n&&n.arguments,c=e&&Array.isArray(e.transfers)?e.transfers:[],T=c.length===0,g=r??"EGLD",m=s?"+":"-",l={assetPrefix:m,type:g,assetTicker:g,assetAmount:(0,o.getAssetAmount)({value:t.value,decimals:String(A.DECIMALS)})},f=c.map(a=>({assetPrefix:m,type:a.type,assetTicker:a.ticker,assetImage:a.svgUrl,assetAmount:(0,o.getAssetAmount)(a),assetPrice:(0,p.getAssetPrice)(a)}));return T?[l]:f};0&&(module.exports={getTransactionAssets});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var d=(t,s)=>{for(var r in s)i(t,r,{get:s[r],enumerable:!0})},P=(t,s,r,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let e of I(s))!y.call(t,e)&&e!==r&&i(t,e,{get:()=>s[e],enumerable:!(n=u(s,e))||n.enumerable});return t};var v=t=>P(i({},"__esModule",{value:!0}),t);var x={};d(x,{getTransactionAssets:()=>k});module.exports=v(x);var A=require("../../../../lib/sdkDappUtils"),o=require("./getAssetAmount"),p=require("./getAssetPrice");const k=({transaction:t,userIsReceiver:s,egldLabel:r})=>{const n=t.action,e=n&&n.arguments,c=e&&Array.isArray(e.transfers)?e.transfers:[],T=c.length===0,g=r??"EGLD",m=s?"+":"-",l={assetPrefix:m,type:g,assetTicker:g,assetAmount:(0,o.getAssetAmount)({value:t.value,decimals:String(A.DECIMALS)})},f=c.map(a=>({assetPrefix:m,type:a.type,assetTicker:a.ticker,assetImage:a.svgUrl,assetAmount:(0,o.getAssetAmount)(a),assetPrice:(0,p.getAssetPrice)(a)}));return T?[l]:f};0&&(module.exports={getTransactionAssets});
|
|
2
2
|
//# sourceMappingURL=getTransactionAssets.cjs.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
2
|
+
interface IGetTransactionAssetsParams {
|
|
3
|
+
transaction: ServerTransactionType;
|
|
4
|
+
userIsReceiver: boolean;
|
|
5
|
+
egldLabel?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ITransactionAsset {
|
|
8
|
+
assetPrefix: string;
|
|
9
|
+
assetTicker: string;
|
|
10
|
+
assetAmount: string;
|
|
11
|
+
assetImage?: string;
|
|
12
|
+
assetPrice?: string;
|
|
13
|
+
type: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const getTransactionAssets: ({ transaction, userIsReceiver, egldLabel }: IGetTransactionAssetsParams) => ITransactionAsset[];
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface IGetTransactionAvatarParams {
|
|
2
|
+
senderAssets?: IAsset;
|
|
3
|
+
receiverAssets?: IAsset;
|
|
4
|
+
userIsReceiver: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface IAsset {
|
|
7
|
+
svgUrl?: string;
|
|
8
|
+
iconSvg?: string;
|
|
9
|
+
iconPng?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const getTransactionAvatar: ({ senderAssets, receiverAssets, userIsReceiver }: IGetTransactionAvatarParams) => string | null;
|
|
12
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var a=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of T(t))!p.call(e,r)&&r!==n&&i(e,r,{get:()=>t[r],enumerable:!(s=f(t,r))||s.enumerable});return e};var y=e=>u(i({},"__esModule",{value:!0}),e);var m={};a(m,{isTransferNftOrSft:()=>c});module.exports=y(m);var o=require("types/tokens.types");const c=e=>{const t=[o.NftEnumType.SemiFungibleESDT,o.NftEnumType.NonFungibleESDT],n=e.type;return t.includes(n)};0&&(module.exports={isTransferNftOrSft});
|
|
1
|
+
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var a=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of T(t))!p.call(e,r)&&r!==n&&i(e,r,{get:()=>t[r],enumerable:!(s=f(t,r))||s.enumerable});return e};var y=e=>u(i({},"__esModule",{value:!0}),e);var m={};a(m,{isTransferNftOrSft:()=>c});module.exports=y(m);var o=require("../../../../types/tokens.types");const c=e=>{const t=[o.NftEnumType.SemiFungibleESDT,o.NftEnumType.NonFungibleESDT],n=e.type;return t.includes(n)};0&&(module.exports={isTransferNftOrSft});
|
|
2
2
|
//# sourceMappingURL=isTransferNftOrSft.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isTransferNftOrSft: (transactionTransfer: Record<string, string>) => boolean;
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var T=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var H=Object.prototype.hasOwnProperty;var x=(e,t)=>{for(var r in t)T(e,r,{get:t[r],enumerable:!0})},k=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of L(t))!H.call(e,n)&&n!==r&&T(e,n,{get:()=>t[n],enumerable:!(o=v(t,n))||o.enumerable});return e};var w=e=>k(T({},"__esModule",{value:!0}),e);var M={};x(M,{mapServerTransactionsToListItems:()=>E});module.exports=w(M);var l=require("store/actions/cache/cacheActions"),S=require("store/selectors/accountSelectors"),c=require("store/selectors/networkSelectors"),u=require("store/store"),h=require("types/enums.types"),I=require("./getCachedTransactionListItem"),g=require("./mapTransactionToListItem");const f=e=>e.sort((t,r)=>r.timestamp-t.timestamp),E=async({transactions:e,...t})=>{const r=t.store??(0,u.getState)(),o=[],n=[];if(e.forEach(s=>{const a=(0,I.getCachedTransactionListItem)(s.hash,r);a?o.push(a):n.push(s.hash)}),n.length===0)return f(o);const m=e.map(s=>({...s,txHash:s.hash})),y=m.map(s=>s.txHash),d=n.filter(s=>!y.includes(s));if(d.length>0){const a=e.filter(i=>d.includes(i.hash)).map(i=>({...i,txHash:i.hash,price:0,status:h.TransactionServerStatusesEnum.pending,gasUsed:0,miniBlockHash:"",receiverShard:0,round:0,senderShard:0,timestamp:Date.now()}));m.push(...a)}const p=new Map;return o.forEach(s=>{const a=s.hash;a&&p.set(String(a),s)}),m.forEach(s=>{const a=(0,g.mapTransactionToListItem)({transaction:s,address:(0,S.addressSelector)(r),explorerAddress:(0,c.explorerAddressSelector)(r),egldLabel:(0,c.egldLabelSelector)(r)});a.status!==h.TransactionServerStatusesEnum.pending&&(0,l.saveToCache)({key:`transaction-${s.txHash}`,value:a}),p.set(s.txHash,a)}),f(Array.from(p.values()))};0&&(module.exports={mapServerTransactionsToListItems});
|
|
1
|
+
"use strict";var T=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var H=Object.prototype.hasOwnProperty;var x=(e,t)=>{for(var r in t)T(e,r,{get:t[r],enumerable:!0})},k=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of L(t))!H.call(e,n)&&n!==r&&T(e,n,{get:()=>t[n],enumerable:!(o=v(t,n))||o.enumerable});return e};var w=e=>k(T({},"__esModule",{value:!0}),e);var M={};x(M,{mapServerTransactionsToListItems:()=>E});module.exports=w(M);var l=require("../../../../store/actions/cache/cacheActions"),S=require("../../../../store/selectors/accountSelectors"),c=require("../../../../store/selectors/networkSelectors"),u=require("../../../../store/store"),h=require("../../../../types/enums.types"),I=require("./getCachedTransactionListItem"),g=require("./mapTransactionToListItem");const f=e=>e.sort((t,r)=>r.timestamp-t.timestamp),E=async({transactions:e,...t})=>{const r=t.store??(0,u.getState)(),o=[],n=[];if(e.forEach(s=>{const a=(0,I.getCachedTransactionListItem)(s.hash,r);a?o.push(a):n.push(s.hash)}),n.length===0)return f(o);const m=e.map(s=>({...s,txHash:s.hash})),y=m.map(s=>s.txHash),d=n.filter(s=>!y.includes(s));if(d.length>0){const a=e.filter(i=>d.includes(i.hash)).map(i=>({...i,txHash:i.hash,price:0,status:h.TransactionServerStatusesEnum.pending,gasUsed:0,miniBlockHash:"",receiverShard:0,round:0,senderShard:0,timestamp:Date.now()}));m.push(...a)}const p=new Map;return o.forEach(s=>{const a=s.hash;a&&p.set(String(a),s)}),m.forEach(s=>{const a=(0,g.mapTransactionToListItem)({transaction:s,address:(0,S.addressSelector)(r),explorerAddress:(0,c.explorerAddressSelector)(r),egldLabel:(0,c.egldLabelSelector)(r)});a.status!==h.TransactionServerStatusesEnum.pending&&(0,l.saveToCache)({key:`transaction-${s.txHash}`,value:a}),p.set(s.txHash,a)}),f(Array.from(p.values()))};0&&(module.exports={mapServerTransactionsToListItems});
|
|
2
2
|
//# sourceMappingURL=mapServerTransactionsToListItems.cjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ITransactionListItem } from '../../../../lib/sdkDappUi';
|
|
2
|
+
import { StoreType } from '../../../../store/store.types';
|
|
3
|
+
import { SignedTransactionType } from '../../../../types/transactions.types';
|
|
4
|
+
interface IMapServerTransactionsToListItemsParams {
|
|
5
|
+
transactions: SignedTransactionType[];
|
|
6
|
+
store?: StoreType;
|
|
7
|
+
}
|
|
8
|
+
export declare const mapServerTransactionsToListItems: ({ transactions, ...props }: IMapServerTransactionsToListItemsParams) => Promise<ITransactionListItem[]>;
|
|
9
|
+
export {};
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-L7HC5J53.mjs";import"../../../../__chunks__/chunk-TWDQUDRP.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-22F6NHUW.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-4O27AVB7.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-ECDI66QL.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../../__chunks__/chunk-VSOHM56Y.mjs";import"../../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-LLVSK2AG.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../../__chunks__/chunk-OQURAWR4.mjs";import"../../../../__chunks__/chunk-PWAP64SN.mjs";import"../../../../__chunks__/chunk-O5PAMBB3.mjs";import"../../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-YDR33UBM.mjs";export{a as mapServerTransactionsToListItems};
|
|
2
2
|
//# sourceMappingURL=mapServerTransactionsToListItems.mjs.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 x=(t,s)=>{for(var e in s)a(t,e,{get:s[e],enumerable:!0})},h=(t,s,e,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of L(s))!d.call(t,r)&&r!==e&&a(t,r,{get:()=>s[r],enumerable:!(o=S(s,r))||o.enumerable});return t};var y=t=>h(a({},"__esModule",{value:!0}),t);var P={};x(P,{mapTransactionToListItem:()=>E});module.exports=y(P);var p=require("utils/transactions/explorerUrlBuilder"),g=require("utils/transactions/getExplorerLink"),u=require("utils/transactions/getTransactionsHistory/helpers/getReceiverData"),I=require("./getTransactionAction"),f=require("./getTransactionAmount"),l=require("./getTransactionAsset"),v=require("./getTransactionAssets");const E=({transaction:t,isPending:s=!1,address:e,explorerAddress:o,egldLabel:r})=>{const{receiver:i,receiverAssets:m}=(0,u.getReceiverData)(t),n=e===i,A=(0,I.getTransactionAction)({transaction:t,currentUserAddress:e,egldLabel:r,isPending:s}),c=(0,v.getTransactionAssets)({userIsReceiver:i===e,transaction:t,egldLabel:r}),T=t.originalTxHash??t.txHash;return{asset:(0,l.getTransactionAsset)({...t,transactionAssets:c,showDefaultState:s,status:t.status}),interactor:n?t.sender:i,interactorAsset:n?t.senderAssets?.iconSvg??t.senderAssets?.iconPng:m?.iconSvg??m?.iconPng,directionLabel:n?"From":"To",action:A,amount:(0,f.getTransactionAmount)({transactionAssets:c,isIncomingTransaction:n}),hash:T,status:t.status,timestamp:t.timestamp,link:(0,g.getExplorerLink)({explorerAddress:o,to:p.explorerUrlBuilder.transactionDetails(T)})}};0&&(module.exports={mapTransactionToListItem});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var x=(t,s)=>{for(var e in s)a(t,e,{get:s[e],enumerable:!0})},h=(t,s,e,o)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of L(s))!d.call(t,r)&&r!==e&&a(t,r,{get:()=>s[r],enumerable:!(o=S(s,r))||o.enumerable});return t};var y=t=>h(a({},"__esModule",{value:!0}),t);var P={};x(P,{mapTransactionToListItem:()=>E});module.exports=y(P);var p=require("../../../../utils/transactions/explorerUrlBuilder"),g=require("../../../../utils/transactions/getExplorerLink"),u=require("../../../../utils/transactions/getTransactionsHistory/helpers/getReceiverData"),I=require("./getTransactionAction"),f=require("./getTransactionAmount"),l=require("./getTransactionAsset"),v=require("./getTransactionAssets");const E=({transaction:t,isPending:s=!1,address:e,explorerAddress:o,egldLabel:r})=>{const{receiver:i,receiverAssets:m}=(0,u.getReceiverData)(t),n=e===i,A=(0,I.getTransactionAction)({transaction:t,currentUserAddress:e,egldLabel:r,isPending:s}),c=(0,v.getTransactionAssets)({userIsReceiver:i===e,transaction:t,egldLabel:r}),T=t.originalTxHash??t.txHash;return{asset:(0,l.getTransactionAsset)({...t,transactionAssets:c,showDefaultState:s,status:t.status}),interactor:n?t.sender:i,interactorAsset:n?t.senderAssets?.iconSvg??t.senderAssets?.iconPng:m?.iconSvg??m?.iconPng,directionLabel:n?"From":"To",action:A,amount:(0,f.getTransactionAmount)({transactionAssets:c,isIncomingTransaction:n}),hash:T,status:t.status,timestamp:t.timestamp,link:(0,g.getExplorerLink)({explorerAddress:o,to:p.explorerUrlBuilder.transactionDetails(T)})}};0&&(module.exports={mapTransactionToListItem});
|
|
2
2
|
//# sourceMappingURL=mapTransactionToListItem.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ITransactionListItem } from '../../../../lib/sdkDappUi';
|
|
2
|
+
import { ServerTransactionType } from '../../../../types/serverTransactions.types';
|
|
3
|
+
interface IMapTransactionToListItemParamsType {
|
|
4
|
+
transaction: ServerTransactionType;
|
|
5
|
+
isPending?: boolean;
|
|
6
|
+
profileImages?: Record<string, string>;
|
|
7
|
+
address: string;
|
|
8
|
+
explorerAddress: string;
|
|
9
|
+
egldLabel: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const mapTransactionToListItem: ({ transaction, isPending, address, explorerAddress, egldLabel }: IMapTransactionToListItemParamsType) => ITransactionListItem;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getTransactionsHistory';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../__chunks__/chunk-BFD5ZJOK.mjs";import{a}from"../../../__chunks__/chunk-
|
|
1
|
+
import"../../../__chunks__/chunk-BFD5ZJOK.mjs";import{a}from"../../../__chunks__/chunk-C23VOAOY.mjs";import"../../../__chunks__/chunk-55W25Q35.mjs";import"../../../__chunks__/chunk-L7HC5J53.mjs";import"../../../__chunks__/chunk-TWDQUDRP.mjs";import"../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../__chunks__/chunk-22F6NHUW.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-4O27AVB7.mjs";import"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-5OMQOYP7.mjs";import"../../../__chunks__/chunk-UCNS6KD5.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../__chunks__/chunk-BHWSBAMZ.mjs";import"../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../__chunks__/chunk-H33OUO77.mjs";import"../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../__chunks__/chunk-ECDI66QL.mjs";import"../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../__chunks__/chunk-YJCTRUJT.mjs";import"../../../__chunks__/chunk-VSOHM56Y.mjs";import"../../../__chunks__/chunk-FK6DWWZF.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-RIPIZH54.mjs";import"../../../__chunks__/chunk-APCGI2A5.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-ONT6BGYB.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-LLVSK2AG.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-QNELH2S2.mjs";import"../../../__chunks__/chunk-2JKCBTYK.mjs";import"../../../__chunks__/chunk-OQURAWR4.mjs";import"../../../__chunks__/chunk-PWAP64SN.mjs";import"../../../__chunks__/chunk-O5PAMBB3.mjs";import"../../../__chunks__/chunk-DA76AK4I.mjs";import"../../../__chunks__/chunk-NWJYEKI2.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-YDR33UBM.mjs";export{a as getTransactionsHistory};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},m=(r,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of u(t))!f.call(r,i)&&i!==n&&a(r,i,{get:()=>t[i],enumerable:!(s=o(t,i))||s.enumerable});return r};var G=r=>m(a({},"__esModule",{value:!0}),r);var d={};l(d,{isGuardianTx:()=>c});module.exports=G(d);var e=require("types/enums.types");const c=({data:r,onlySetGuardian:t})=>r?t?r.startsWith(e.GuardianActionsEnum.SetGuardian):Object.values(e.GuardianActionsEnum).some(n=>r.startsWith(n)):!1;0&&(module.exports={isGuardianTx});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var n in t)a(r,n,{get:t[n],enumerable:!0})},m=(r,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of u(t))!f.call(r,i)&&i!==n&&a(r,i,{get:()=>t[i],enumerable:!(s=o(t,i))||s.enumerable});return r};var G=r=>m(a({},"__esModule",{value:!0}),r);var d={};l(d,{isGuardianTx:()=>c});module.exports=G(d);var e=require("../../types/enums.types");const c=({data:r,onlySetGuardian:t})=>r?t?r.startsWith(e.GuardianActionsEnum.SetGuardian):Object.values(e.GuardianActionsEnum).some(n=>r.startsWith(n)):!1;0&&(module.exports={isGuardianTx});
|
|
2
2
|
//# sourceMappingURL=isGuardianTx.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var e=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var u=(r,t)=>{for(var n in t)s(r,n,{get:t[n],enumerable:!0})},d=(r,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of o(t))!l.call(r,i)&&i!==n&&s(r,i,{get:()=>t[i],enumerable:!(a=e(t,i))||a.enumerable});return r};var f=r=>d(s({},"__esModule",{value:!0}),r);var m={};u(m,{addressIsValid:()=>V});module.exports=f(m);var c=require("lib/sdkCore");function g(r){try{return c.Address.isValid(r)}catch{return!1}}function V(r){return/^\w+$/.test(r)&&g(r)}0&&(module.exports={addressIsValid});
|
|
1
|
+
"use strict";var s=Object.defineProperty;var e=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var u=(r,t)=>{for(var n in t)s(r,n,{get:t[n],enumerable:!0})},d=(r,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of o(t))!l.call(r,i)&&i!==n&&s(r,i,{get:()=>t[i],enumerable:!(a=e(t,i))||a.enumerable});return r};var f=r=>d(s({},"__esModule",{value:!0}),r);var m={};u(m,{addressIsValid:()=>V});module.exports=f(m);var c=require("../../lib/sdkCore");function g(r){try{return c.Address.isValid(r)}catch{return!1}}function V(r){return/^\w+$/.test(r)&&g(r)}0&&(module.exports={addressIsValid});
|
|
2
2
|
//# sourceMappingURL=addressIsValid.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addressIsValid(destinationAddress: string): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var D=(t,r)=>{for(var s in r)l(t,s,{get:r[s],enumerable:!0})},A=(t,r,s,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of E(r))!x.call(t,n)&&n!==s&&l(t,n,{get:()=>r[n],enumerable:!(e=S(r,n))||e.enumerable});return t};var y=t=>A(l({},"__esModule",{value:!0}),t);var h={};D(h,{getAddressFromDataField:()=>T,isContract:()=>V,isSelfESDTContract:()=>p});module.exports=y(h);var d=require("lib/sdkCore"),i=require("types/enums.types"),a=require("utils/decoders/base64Utils"),m=require("./addressIsValid"),c=require("./hex");function V(t,r,s=""){if(!(0,m.addressIsValid)(t))return!1;if(new d.Address(t).isSmartContract())return!0;const o=T({receiver:t,data:s});return o?new d.Address(o).isSmartContract()||p(t,r,s):!1}function p(t,r,s){const e=s?.split("@");if(e==null)return!1;const[n,...o]=e,u=r!=null&&t!=null&&t===r,C=Object.values(i.ESDTTransferTypesEnum).includes(n),g=o.every(f=>(0,c.isHexValidCharacters)(f)&&(0,c.isHexValidLength)(f));return u&&C&&g}function T({receiver:t,data:r}){try{if(!r)return t;const s=(0,a.isStringBase64)(r)?(0,a.decodeBase64)(r):r,e=F(s),n=s.split("@");return e>-1?n[e]:t}catch(s){console.log(s);return}}function F(t){return t.includes(i.TypesOfSmartContractCallsEnum.MultiESDTNFTTransfer)?1:t.includes(i.TypesOfSmartContractCallsEnum.ESDTNFTTransfer)?4:-1}0&&(module.exports={getAddressFromDataField,isContract,isSelfESDTContract});
|
|
1
|
+
"use strict";var l=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var D=(t,r)=>{for(var s in r)l(t,s,{get:r[s],enumerable:!0})},A=(t,r,s,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of E(r))!x.call(t,n)&&n!==s&&l(t,n,{get:()=>r[n],enumerable:!(e=S(r,n))||e.enumerable});return t};var y=t=>A(l({},"__esModule",{value:!0}),t);var h={};D(h,{getAddressFromDataField:()=>T,isContract:()=>V,isSelfESDTContract:()=>p});module.exports=y(h);var d=require("../../lib/sdkCore"),i=require("../../types/enums.types"),a=require("../../utils/decoders/base64Utils"),m=require("./addressIsValid"),c=require("./hex");function V(t,r,s=""){if(!(0,m.addressIsValid)(t))return!1;if(new d.Address(t).isSmartContract())return!0;const o=T({receiver:t,data:s});return o?new d.Address(o).isSmartContract()||p(t,r,s):!1}function p(t,r,s){const e=s?.split("@");if(e==null)return!1;const[n,...o]=e,u=r!=null&&t!=null&&t===r,C=Object.values(i.ESDTTransferTypesEnum).includes(n),g=o.every(f=>(0,c.isHexValidCharacters)(f)&&(0,c.isHexValidLength)(f));return u&&C&&g}function T({receiver:t,data:r}){try{if(!r)return t;const s=(0,a.isStringBase64)(r)?(0,a.decodeBase64)(r):r,e=F(s),n=s.split("@");return e>-1?n[e]:t}catch(s){console.log(s);return}}function F(t){return t.includes(i.TypesOfSmartContractCallsEnum.MultiESDTNFTTransfer)?1:t.includes(i.TypesOfSmartContractCallsEnum.ESDTNFTTransfer)?4:-1}0&&(module.exports={getAddressFromDataField,isContract,isSelfESDTContract});
|
|
2
2
|
//# sourceMappingURL=isContract.cjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function isContract(receiver: string, sender?: string, data?: string): boolean;
|
|
2
|
+
export declare function isSelfESDTContract(receiver: string, sender?: string, data?: string): boolean;
|
|
3
|
+
export declare function getAddressFromDataField({ receiver, data }: {
|
|
4
|
+
receiver: string;
|
|
5
|
+
data: string;
|
|
6
|
+
}): string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const maxDecimals: (amount: string, decimals?: number) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},f=(t,e,o,h)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of i(e))!s.call(t,m)&&m!==o&&r(t,m,{get:()=>e[m],enumerable:!(h=c(e,m))||h.enumerable});return t};var a=t=>f(r({},"__esModule",{value:!0}),t);var E={};u(E,{switchTheme:()=>d});module.exports=a(E);var n=require("constants/window.constants");function d(t){try{if(!n.safeWindow)return;n.safeWindow.document.documentElement.dataset.mvxTheme=t}catch{console.log("Error switching the theme!")}}0&&(module.exports={switchTheme});
|
|
1
|
+
"use strict";var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},f=(t,e,o,h)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of i(e))!s.call(t,m)&&m!==o&&r(t,m,{get:()=>e[m],enumerable:!(h=c(e,m))||h.enumerable});return t};var a=t=>f(r({},"__esModule",{value:!0}),t);var E={};u(E,{switchTheme:()=>d});module.exports=a(E);var n=require("../../constants/window.constants");function d(t){try{if(!n.safeWindow)return;n.safeWindow.document.documentElement.dataset.mvxTheme=t}catch{console.log("Error switching the theme!")}}0&&(module.exports={switchTheme});
|
|
2
2
|
//# sourceMappingURL=switchTheme.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-JL6BHC7T.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as switchTheme};
|
|
2
2
|
//# sourceMappingURL=switchTheme.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SessionEventTypes, PairingTypes, EngineTypes } from '@multiversx/sdk-wallet-connect-provider';
|
|
2
|
+
import { Operation as WalletConnectMethodsEnum, OptionalOperation as WalletConnectOptionalMethodsEnum } from '@multiversx/sdk-wallet-connect-provider/out/operation';
|
|
3
|
+
import { WalletConnectV2Provider } from '@multiversx/sdk-wallet-connect-provider/out/walletConnectV2Provider';
|
|
4
|
+
/**
|
|
5
|
+
* These members are ignored when compiling to commonJS
|
|
6
|
+
*/
|
|
7
|
+
export type { EngineTypes, PairingTypes, SessionEventTypes };
|
|
8
|
+
export { WalletConnectMethodsEnum, WalletConnectOptionalMethodsEnum, WalletConnectV2Provider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Allow detecting authenticated routes with pattern parameters
|
|
3
|
+
* @example
|
|
4
|
+
* routes = [
|
|
5
|
+
* {
|
|
6
|
+
path: "/users/:id",
|
|
7
|
+
component: () => <></>,
|
|
8
|
+
authenticatedRoute: true
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
*/
|
|
12
|
+
export declare const getIsAuthRoute: <T extends {
|
|
13
|
+
authenticatedRoute: boolean;
|
|
14
|
+
path: string;
|
|
15
|
+
}>(routes: Array<T>, pathname: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIsInIframe: () => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-CYA7ED2N.mjs";import"../../__chunks__/chunk-VCU3YP4J.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getIsInIframe};
|
|
2
2
|
//# sourceMappingURL=getIsInIframe.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var a=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:!0})},d=(r,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of u(e))!s.call(r,n)&&n!==t&&o(r,n,{get:()=>e[n],enumerable:!(c=f(e,n))||c.enumerable});return r};var g=r=>d(o({},"__esModule",{value:!0}),r);var w={};a(w,{getWindowParentOrigin:()=>m});module.exports=g(w);var i=require("constants/window.constants");const m=()=>{if(!i.safeWindow)return"";try{const r=i.safeWindow.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};0&&(module.exports={getWindowParentOrigin});
|
|
1
|
+
"use strict";var o=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var a=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:!0})},d=(r,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of u(e))!s.call(r,n)&&n!==t&&o(r,n,{get:()=>e[n],enumerable:!(c=f(e,n))||c.enumerable});return r};var g=r=>d(o({},"__esModule",{value:!0}),r);var w={};a(w,{getWindowParentOrigin:()=>m});module.exports=g(w);var i=require("../../constants/window.constants");const m=()=>{if(!i.safeWindow)return"";try{const r=i.safeWindow.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};0&&(module.exports={getWindowParentOrigin});
|
|
2
2
|
//# sourceMappingURL=getWindowParentOrigin.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getWindowParentOrigin: () => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-VCU3YP4J.mjs";import"../../__chunks__/chunk-YDR33UBM.mjs";export{a as getWindowParentOrigin};
|
|
2
2
|
//# sourceMappingURL=getWindowParentOrigin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isWindowAvailable: () => boolean;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
type ParamParseFailed = {
|
|
2
|
+
failed: true;
|
|
3
|
+
};
|
|
4
|
+
type ParamParseSegment<Segment extends string> = Segment extends `${infer LeftSegment}/${infer RightSegment}` ? ParamParseSegment<LeftSegment> extends infer LeftResult ? ParamParseSegment<RightSegment> extends infer RightResult ? LeftResult extends string ? RightResult extends string ? LeftResult | RightResult : LeftResult : RightResult extends string ? RightResult : ParamParseFailed : ParamParseFailed : ParamParseSegment<RightSegment> extends infer RightResult ? RightResult extends string ? RightResult : ParamParseFailed : ParamParseFailed : Segment extends `:${infer Remaining}` ? Remaining : ParamParseFailed;
|
|
5
|
+
type ParamParseKey<Segment extends string> = ParamParseSegment<Segment> extends string ? ParamParseSegment<Segment> : string;
|
|
6
|
+
/**
|
|
7
|
+
* The parameters that were parsed from the URL path.
|
|
8
|
+
*/
|
|
9
|
+
type Params<Key extends string = string> = {
|
|
10
|
+
readonly [_key in Key]: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* A PathPattern is used to match on some portion of a URL pathname.
|
|
14
|
+
*/
|
|
15
|
+
interface PathPattern<Path extends string = string> {
|
|
16
|
+
/**
|
|
17
|
+
* A string to match against a URL pathname. May contain `:id`-style segments
|
|
18
|
+
* to indicate placeholders for dynamic parameters. May also end with `/*` to
|
|
19
|
+
* indicate matching the rest of the URL pathname.
|
|
20
|
+
*/
|
|
21
|
+
path: Path;
|
|
22
|
+
/**
|
|
23
|
+
* Should be `true` if the static portions of the `path` should be matched in
|
|
24
|
+
* the same case.
|
|
25
|
+
*/
|
|
26
|
+
caseSensitive?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Should be `true` if this pattern should match the entire URL pathname.
|
|
29
|
+
*/
|
|
30
|
+
end?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A PathMatch contains info about how a PathPattern matched on a URL pathname.
|
|
34
|
+
*/
|
|
35
|
+
interface PathMatch<ParamKey extends string = string> {
|
|
36
|
+
/**
|
|
37
|
+
* The names and values of dynamic parameters in the URL.
|
|
38
|
+
*/
|
|
39
|
+
params: Params<ParamKey>;
|
|
40
|
+
/**
|
|
41
|
+
* The portion of the URL pathname that was matched.
|
|
42
|
+
*/
|
|
43
|
+
pathname: string;
|
|
44
|
+
/**
|
|
45
|
+
* The portion of the URL pathname that was matched before child routes.
|
|
46
|
+
*/
|
|
47
|
+
pathnameBase: string;
|
|
48
|
+
/**
|
|
49
|
+
* The pattern that was used to match.
|
|
50
|
+
*/
|
|
51
|
+
pattern: PathPattern;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Performs pattern matching on a URL pathname and returns information about
|
|
55
|
+
* the match.
|
|
56
|
+
*
|
|
57
|
+
* @see https://reactrouter.com/docs/en/v6/utils/match-path
|
|
58
|
+
*/
|
|
59
|
+
export declare function matchPath<ParamKey extends ParamParseKey<Path>, Path extends string>(pattern: PathPattern<Path> | Path, pathname: string): PathMatch<ParamKey> | null;
|
|
60
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sanitizeCallbackUrl: (targetURL: string, vulnerableItems?: string[]) => string;
|
package/package.json
CHANGED