@multiversx/sdk-dapp 5.2.9 → 5.3.0-alpha.2
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-26N65762.mjs +2 -0
- package/out/__chunks__/{chunk-ZVFOG6LB.mjs → chunk-2EGSAA3Z.mjs} +2 -2
- package/out/__chunks__/{chunk-FUFSHVR2.mjs → chunk-2GHN5K7N.mjs} +2 -2
- package/out/__chunks__/{chunk-4SNEBLCL.mjs → chunk-2VFVLNXF.mjs} +2 -2
- package/out/__chunks__/{chunk-FUCSXJMR.mjs → chunk-3HHX2VYV.mjs} +2 -2
- package/out/__chunks__/{chunk-PIFEYU34.mjs → chunk-3HV7NSKE.mjs} +2 -2
- package/out/__chunks__/{chunk-7D6YECRB.mjs → chunk-3NBBN5ES.mjs} +2 -2
- package/out/__chunks__/{chunk-T6GTSLQD.mjs → chunk-4272WAHN.mjs} +2 -2
- package/out/__chunks__/{chunk-NJWQNAUZ.mjs → chunk-4HDUGICF.mjs} +2 -2
- package/out/__chunks__/chunk-4LULGQ77.mjs +2 -0
- package/out/__chunks__/{chunk-UOD2UO27.mjs → chunk-4MWQKLVG.mjs} +2 -2
- package/out/__chunks__/{chunk-BPOW3DAB.mjs → chunk-5AI7ZBQ5.mjs} +2 -2
- package/out/__chunks__/{chunk-ALOBJ2YK.mjs → chunk-67PAALEV.mjs} +2 -2
- package/out/__chunks__/{chunk-HFY2UB7E.mjs → chunk-6BQH2QKE.mjs} +2 -2
- package/out/__chunks__/{chunk-SP4B7UYK.mjs → chunk-6TVBPLPC.mjs} +2 -2
- package/out/__chunks__/{chunk-M42UYGCH.mjs → chunk-6YF7VKF2.mjs} +2 -2
- package/out/__chunks__/{chunk-DSPRERV6.mjs → chunk-6YXFRH3W.mjs} +2 -2
- package/out/__chunks__/{chunk-2MRPKTZ3.mjs → chunk-7CELSV4S.mjs} +2 -2
- package/out/__chunks__/chunk-APIYOYTG.mjs +2 -0
- package/out/__chunks__/{chunk-IGA3PYLZ.mjs → chunk-BLTIK7JF.mjs} +2 -2
- package/out/__chunks__/{chunk-FLOLQ4JL.mjs → chunk-BY3GVURF.mjs} +2 -2
- package/out/__chunks__/chunk-CWBECQEY.mjs +2 -0
- package/out/__chunks__/{chunk-KBTIQKEL.mjs → chunk-DA5DI7Z2.mjs} +2 -2
- package/out/__chunks__/{chunk-6AC63JD5.mjs → chunk-DDLSBIL3.mjs} +2 -2
- package/out/__chunks__/chunk-DGMI66QS.mjs +2 -0
- package/out/__chunks__/chunk-DGMI66QS.mjs.map +7 -0
- package/out/__chunks__/{chunk-7W4P5SLS.mjs → chunk-DJAONPNL.mjs} +2 -2
- package/out/__chunks__/{chunk-SNZWFOV6.mjs → chunk-DRCMZIYT.mjs} +2 -2
- package/out/__chunks__/chunk-DRCMZIYT.mjs.map +7 -0
- package/out/__chunks__/{chunk-HX72KRC4.mjs → chunk-DRYIE3UL.mjs} +2 -2
- package/out/__chunks__/{chunk-5AVHNKDZ.mjs → chunk-EAXWH64Z.mjs} +2 -2
- package/out/__chunks__/{chunk-S2PH3P53.mjs → chunk-EIQQDFQS.mjs} +2 -2
- package/out/__chunks__/{chunk-XQESHZ2X.mjs → chunk-ERQPDDHO.mjs} +2 -2
- package/out/__chunks__/{chunk-LRZTZ4MT.mjs → chunk-EYUQXPCB.mjs} +2 -2
- package/out/__chunks__/chunk-EYUQXPCB.mjs.map +7 -0
- package/out/__chunks__/{chunk-76YR7YQD.mjs → chunk-FMEC7LEU.mjs} +2 -2
- package/out/__chunks__/{chunk-TDUG36NZ.mjs → chunk-FT7PQFYY.mjs} +2 -2
- package/out/__chunks__/chunk-FZ6B646C.mjs +2 -0
- package/out/__chunks__/{chunk-ACMDU3QF.mjs → chunk-G6AICUIC.mjs} +2 -2
- package/out/__chunks__/chunk-GEB4VHTN.mjs +2 -0
- package/out/__chunks__/{chunk-YHLBPZNN.mjs → chunk-GEHX6WX2.mjs} +2 -2
- package/out/__chunks__/{chunk-7KWGOZI4.mjs → chunk-GFJFVWV5.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs → chunk-GLXG5BES.mjs} +2 -2
- package/out/__chunks__/{chunk-B2YXNEOP.mjs.map → chunk-GLXG5BES.mjs.map} +3 -3
- package/out/__chunks__/chunk-H5KMHLWL.mjs +2 -0
- package/out/__chunks__/{chunk-LUG3RRVN.mjs → chunk-H7SFJJL6.mjs} +2 -2
- package/out/__chunks__/{chunk-SBTMAYW7.mjs → chunk-HAD6KD4V.mjs} +2 -2
- package/out/__chunks__/{chunk-ERE5BVRC.mjs → chunk-HJAGGOLY.mjs} +2 -2
- package/out/__chunks__/chunk-HR2SURU6.mjs +2 -0
- package/out/__chunks__/{chunk-CCBYPSXO.mjs → chunk-HU5DHLOV.mjs} +2 -2
- package/out/__chunks__/chunk-IUQSTHCF.mjs +2 -0
- package/out/__chunks__/chunk-J27BRSLL.mjs +2 -0
- package/out/__chunks__/{chunk-ZGMIL4MG.mjs → chunk-JSSRK6RP.mjs} +2 -2
- package/out/__chunks__/chunk-KDIEM47U.mjs +2 -0
- package/out/__chunks__/chunk-LFIWIGR3.mjs +2 -0
- package/out/__chunks__/{chunk-GRQOTJQA.mjs → chunk-LFZNSKP4.mjs} +2 -2
- package/out/__chunks__/{chunk-QNBPNTH7.mjs → chunk-LOQI2FKT.mjs} +2 -2
- package/out/__chunks__/{chunk-RN6VVJPM.mjs → chunk-LRN3QFXR.mjs} +2 -2
- package/out/__chunks__/{chunk-LJVBVKNW.mjs → chunk-MB44B2VD.mjs} +2 -2
- package/out/__chunks__/{chunk-L2GQHTCM.mjs → chunk-MBL2SMPH.mjs} +2 -2
- package/out/__chunks__/{chunk-TIJEFUI3.mjs → chunk-MIDAGVE7.mjs} +2 -2
- package/out/__chunks__/{chunk-Q3DHKVPY.mjs → chunk-MKKMCI5C.mjs} +2 -2
- package/out/__chunks__/{chunk-GGXK3235.mjs → chunk-MLZIGIVD.mjs} +2 -2
- package/out/__chunks__/{chunk-XEGTQTFK.mjs → chunk-MPEAYRQ7.mjs} +2 -2
- package/out/__chunks__/{chunk-MWVWSB7G.mjs → chunk-MTELOBHN.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs → chunk-MV2P2LIM.mjs} +2 -2
- package/out/__chunks__/{chunk-H6V6JDWW.mjs.map → chunk-MV2P2LIM.mjs.map} +1 -1
- package/out/__chunks__/chunk-NHALZZT2.mjs +2 -0
- package/out/__chunks__/chunk-NK5Y3RLY.mjs +2 -0
- package/out/__chunks__/chunk-NK5Y3RLY.mjs.map +7 -0
- package/out/__chunks__/{chunk-7HH5AHJM.mjs → chunk-NMNZYGK7.mjs} +2 -2
- package/out/__chunks__/{chunk-7B7XIPV2.mjs → chunk-NRXYSTRW.mjs} +1 -1
- package/out/__chunks__/{chunk-7B7XIPV2.mjs.map → chunk-NRXYSTRW.mjs.map} +1 -1
- package/out/__chunks__/{chunk-BC4ZQOAE.mjs → chunk-NTOY6GTP.mjs} +2 -2
- package/out/__chunks__/{chunk-QJ3Y35H5.mjs → chunk-NV4HFS2C.mjs} +2 -2
- package/out/__chunks__/{chunk-52A7HOT5.mjs → chunk-OE6BHO2G.mjs} +2 -2
- package/out/__chunks__/chunk-OLOCTHIE.mjs +2 -0
- package/out/__chunks__/chunk-OLOCTHIE.mjs.map +7 -0
- package/out/__chunks__/{chunk-KWE3DU6Z.mjs → chunk-OLPFN3HZ.mjs} +2 -2
- package/out/__chunks__/{chunk-KIBWVS7T.mjs → chunk-OMJ2W7Q6.mjs} +2 -2
- package/out/__chunks__/{chunk-F24X6WMA.mjs → chunk-OX6JXWI4.mjs} +2 -2
- package/out/__chunks__/{chunk-G5TDTAQH.mjs → chunk-OY6YT36R.mjs} +2 -2
- package/out/__chunks__/{chunk-IPVALLAK.mjs → chunk-PKBE3QGG.mjs} +2 -2
- package/out/__chunks__/{chunk-42P7WSDZ.mjs → chunk-Q3ZV52DK.mjs} +2 -2
- package/out/__chunks__/chunk-QMGMGA2Q.mjs +2 -0
- package/out/__chunks__/chunk-QNONSTFE.mjs +2 -0
- package/out/__chunks__/{chunk-7Y3FYVL4.mjs → chunk-QRJ7LCAP.mjs} +2 -2
- package/out/__chunks__/{chunk-TLSLNBIX.mjs → chunk-RMJFY5IQ.mjs} +2 -2
- package/out/__chunks__/{chunk-DMI2O4KV.mjs → chunk-RSHZQFID.mjs} +2 -2
- package/out/__chunks__/{chunk-QQIPTRF4.mjs → chunk-TCDMXBPB.mjs} +2 -2
- package/out/__chunks__/chunk-TCDMXBPB.mjs.map +7 -0
- package/out/__chunks__/chunk-UDD74TMO.mjs +2 -0
- package/out/__chunks__/{chunk-GWFOJPML.mjs.map → chunk-UDD74TMO.mjs.map} +1 -1
- package/out/__chunks__/{chunk-LWRBWWET.mjs → chunk-URJQWHBM.mjs} +2 -2
- package/out/__chunks__/{chunk-PJBXLDBG.mjs → chunk-UXLYMCYP.mjs} +2 -2
- package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-UZTMRUVT.mjs} +2 -2
- package/out/__chunks__/{chunk-DVWQ3NWJ.mjs → chunk-VKDH4PYW.mjs} +2 -2
- package/out/__chunks__/{chunk-D2CVYS4M.mjs → chunk-VPTU4FYE.mjs} +2 -2
- package/out/__chunks__/chunk-VRFYFZSY.mjs +2 -0
- package/out/__chunks__/chunk-WRIY2QON.mjs +2 -0
- package/out/__chunks__/{chunk-HF4QPAWD.mjs.map → chunk-WRIY2QON.mjs.map} +3 -3
- package/out/__chunks__/{chunk-GHUX5LY3.mjs → chunk-X5XAS5LP.mjs} +2 -2
- package/out/__chunks__/{chunk-MHF7JB3Y.mjs → chunk-XG6M2FRF.mjs} +2 -2
- package/out/__chunks__/chunk-XJPXTYIE.mjs +2 -0
- package/out/__chunks__/chunk-Y3BNMQFP.mjs +2 -0
- package/out/__chunks__/{chunk-SORO3SMC.mjs → chunk-YXOPNTJA.mjs} +2 -2
- package/out/__chunks__/{chunk-U2TDA5B2.mjs → chunk-Z6SGIEGJ.mjs} +2 -2
- package/out/__chunks__/{chunk-YB5TSLJV.mjs → chunk-ZJ55WUB7.mjs} +2 -2
- package/out/__chunks__/chunk-ZZVF5NIV.mjs +2 -0
- package/out/__chunks__/{chunk-5QUMAPUC.mjs.map → chunk-ZZVF5NIV.mjs.map} +2 -2
- package/out/apiCalls/account/getAccountFromApi.cjs +59 -1
- package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +51 -1
- package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/account/index.cjs +22 -1
- package/out/apiCalls/account/index.cjs.map +2 -2
- package/out/apiCalls/account/index.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs +34 -1
- package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +64 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +61 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
- package/out/apiCalls/configuration/getServerConfiguration.cjs +65 -1
- package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
- package/out/apiCalls/configuration/index.cjs +24 -1
- package/out/apiCalls/configuration/index.cjs.map +2 -2
- package/out/apiCalls/economics/getEconomics.cjs +54 -1
- package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
- package/out/apiCalls/endpoints.cjs +100 -1
- package/out/apiCalls/endpoints.cjs.map +2 -2
- package/out/apiCalls/index.cjs +32 -1
- package/out/apiCalls/index.cjs.map +2 -2
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs +42 -1
- package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +72 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +74 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.cjs +22 -1
- package/out/apiCalls/tokens/index.cjs.map +2 -2
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs +58 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +51 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.cjs +76 -1
- package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs +47 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.cjs +29 -1
- package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
- package/out/apiCalls/utils/axiosInstance.cjs +105 -1
- package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs +30 -1
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
- package/out/apiCalls/utils/index.cjs +26 -1
- package/out/apiCalls/utils/index.cjs.map +2 -2
- package/out/apiCalls/websocket/getWebsocketUrl.cjs +49 -1
- package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
- package/out/apiCalls/websocket/index.cjs +22 -1
- package/out/apiCalls/websocket/index.cjs.map +2 -2
- package/out/constants/UITags.enum.cjs +37 -1
- package/out/constants/UITags.enum.cjs.map +2 -2
- package/out/constants/browser.constants.cjs +34 -1
- package/out/constants/browser.constants.cjs.map +2 -2
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.cjs +40 -1
- package/out/constants/index.cjs.map +2 -2
- package/out/constants/index.mjs +1 -1
- package/out/constants/ledger.constants.cjs +131 -1
- package/out/constants/ledger.constants.cjs.map +2 -2
- package/out/constants/mvx.constants.cjs +58 -1
- package/out/constants/mvx.constants.cjs.map +2 -2
- package/out/constants/network.constants.cjs +113 -1
- package/out/constants/network.constants.cjs.map +2 -2
- package/out/constants/network.constants.mjs +1 -1
- package/out/constants/placeholders.constants.cjs +34 -1
- package/out/constants/placeholders.constants.cjs.map +2 -2
- package/out/constants/providerFactory.constants.cjs +41 -1
- package/out/constants/providerFactory.constants.cjs.map +2 -2
- package/out/constants/storage.constants.cjs +43 -1
- package/out/constants/storage.constants.cjs.map +2 -2
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/transactions.constants.cjs +64 -1
- package/out/constants/transactions.constants.cjs.map +2 -2
- package/out/constants/walletConnect.constants.cjs +32 -1
- package/out/constants/walletConnect.constants.cjs.map +2 -2
- package/out/constants/webWalletProvider.constants.cjs +46 -1
- package/out/constants/webWalletProvider.constants.cjs.map +2 -2
- package/out/constants/websocket.constants.cjs +39 -1
- package/out/constants/websocket.constants.cjs.map +2 -2
- package/out/constants/window.constants.cjs +31 -1
- package/out/constants/window.constants.cjs.map +3 -3
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +57 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/index.cjs +22 -1
- package/out/controllers/FormatAmountController/index.cjs.map +2 -2
- package/out/controllers/FormatAmountController/types.cjs +16 -1
- package/out/controllers/FormatAmountController/types.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +34 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.cjs +22 -1
- package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +133 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.cjs +22 -1
- package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +16 -1
- package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
- package/out/controllers/index.cjs +22 -1
- package/out/controllers/index.cjs.map +2 -2
- package/out/index.cjs +32 -1
- package/out/index.cjs.map +2 -2
- package/out/index.mjs +1 -1
- package/out/lib/sdkCore.cjs +46 -1
- package/out/lib/sdkCore.cjs.map +2 -2
- package/out/lib/sdkDappUi.cjs +53 -1
- package/out/lib/sdkDappUi.cjs.map +2 -2
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/lib/sdkDappUtils.cjs +44 -1
- package/out/lib/sdkDappUtils.cjs.map +2 -2
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs +33 -1
- package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
- package/out/lib/sdkWebWalletIframeProvider.cjs +28 -1
- package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
- package/out/lib/sdkWebviewProvider.cjs +28 -1
- package/out/lib/sdkWebviewProvider.cjs.map +2 -2
- package/out/managers/LogoutManager/LogoutManager.cjs +167 -1
- package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +56 -1
- package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +139 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.cjs +24 -1
- package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs +22 -1
- package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +35 -1
- package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.cjs +203 -1
- package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs +125 -1
- package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs +71 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +88 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs +66 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.d.ts +6 -0
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +40 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/index.cjs +22 -1
- package/out/managers/ToastManager/index.cjs.map +2 -2
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/ToastManager/types/index.cjs +22 -1
- package/out/managers/ToastManager/types/index.cjs.map +2 -2
- package/out/managers/ToastManager/types/toast.types.cjs +47 -1
- package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.cjs +229 -1
- package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs +16 -1
- package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +50 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +52 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +53 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +30 -1
- package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +47 -1
- package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +54 -1
- package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
- package/out/managers/TransactionManager/index.cjs +22 -1
- package/out/managers/TransactionManager/index.cjs.map +2 -2
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +165 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +36 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.cjs +22 -1
- package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.cjs +24 -1
- package/out/managers/index.cjs.map +2 -2
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +214 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs +24 -1
- package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +22 -1
- package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +36 -1
- package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +124 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +58 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs +24 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +32 -1
- package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +67 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs +22 -1
- package/out/managers/internal/SidePanelBaseManager/index.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +138 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +22 -1
- package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +36 -1
- package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +102 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +78 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs +22 -1
- package/out/managers/internal/WalletConnectStateManager/index.cjs.map +2 -2
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.cjs +34 -1
- package/out/managers/internal/index.cjs.map +2 -2
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +32 -1
- package/out/methods/account/getAccount.cjs.map +2 -2
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +32 -1
- package/out/methods/account/getAccountInfo.cjs.map +2 -2
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.cjs +32 -1
- package/out/methods/account/getAddress.cjs.map +2 -2
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.cjs +32 -1
- package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +55 -1
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +61 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +2 -2
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +136 -1
- package/out/methods/initApp/initApp.cjs.map +2 -2
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.types.cjs +16 -1
- package/out/methods/initApp/initApp.types.cjs.map +3 -3
- package/out/methods/initApp/initApp.types.d.ts +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +126 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +2 -2
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs +37 -1
- package/out/methods/initApp/websocket/registerWebsocket.cjs.map +2 -2
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.cjs +36 -1
- package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.cjs +32 -1
- package/out/methods/network/getEgldLabel.cjs.map +2 -2
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.cjs +32 -1
- package/out/methods/network/getExplorerAddress.cjs.map +2 -2
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.cjs +32 -1
- package/out/methods/network/getNetworkConfig.cjs.map +2 -2
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +159 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +43 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +40 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +22 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +67 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +49 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +37 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +2 -2
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.cjs +117 -1
- package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +32 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.cjs +32 -1
- package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.cjs +112 -1
- package/out/providers/DappProvider/DappProvider.cjs.map +2 -2
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +36 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +46 -1
- package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +66 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +44 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +55 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs +121 -1
- package/out/providers/DappProvider/helpers/login/login.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs +63 -1
- package/out/providers/DappProvider/helpers/logout/logout.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +78 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +32 -1
- package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +42 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +60 -1
- package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +58 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.cjs +22 -1
- package/out/providers/DappProvider/index.cjs.map +2 -2
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +127 -1
- package/out/providers/ProviderFactory.cjs.map +2 -2
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.cjs +38 -1
- package/out/providers/helpers/accountProvider.cjs.map +2 -2
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs +37 -1
- package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs +48 -1
- package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
- package/out/providers/helpers/emptyProvider.cjs +106 -1
- package/out/providers/helpers/emptyProvider.cjs.map +2 -2
- package/out/providers/helpers/restoreProvider.cjs +60 -1
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.cjs +31 -1
- package/out/providers/index.cjs.map +2 -2
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +129 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +106 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +96 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +118 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +16 -1
- package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +181 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +124 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +68 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +47 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +80 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +82 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +32 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +65 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +61 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +46 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +37 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +16 -1
- package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +280 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +24 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +22 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +48 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +97 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs +22 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +2 -2
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +41 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +2 -2
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.cjs +28 -1
- package/out/providers/strategies/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs +83 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +2 -2
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +84 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +180 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +93 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +92 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +43 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +38 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +56 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +35 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +36 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +126 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +118 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +86 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +46 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +39 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +50 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +33 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/index.cjs +30 -1
- package/out/providers/strategies/index.cjs.map +2 -2
- package/out/providers/strategies/index.mjs +1 -1
- package/out/providers/types/providerFactory.types.cjs +37 -1
- package/out/providers/types/providerFactory.types.cjs.map +2 -2
- package/out/react/account/useGetAccount.cjs +32 -1
- package/out/react/account/useGetAccount.cjs.map +2 -2
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.cjs +32 -1
- package/out/react/account/useGetAccountInfo.cjs.map +2 -2
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.cjs +33 -1
- package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.cjs +34 -1
- package/out/react/account/useGetLatestNonce.cjs.map +2 -2
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.cjs +22 -1
- package/out/react/index.cjs.map +2 -2
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs +35 -1
- package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.cjs +32 -1
- package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/createBoundedStore.cjs +29 -1
- package/out/react/store/createBoundedStore.cjs.map +2 -2
- package/out/react/store/getReactStore.cjs +30 -1
- package/out/react/store/getReactStore.cjs.map +2 -2
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.cjs +32 -1
- package/out/react/store/useSelector.cjs.map +2 -2
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs +33 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs +33 -1
- package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +35 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.cjs +33 -1
- package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.cjs +22 -1
- package/out/services/index.cjs.map +2 -2
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +62 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +72 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +100 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
- package/out/services/nativeAuth/helpers/index.cjs +26 -1
- package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.cjs +22 -1
- package/out/services/nativeAuth/index.cjs.map +2 -2
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +41 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +42 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +2 -2
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs +51 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.cjs +24 -1
- package/out/services/nativeAuth/methods/index.cjs.map +2 -2
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +81 -1
- package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs +16 -1
- package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
- package/out/store/actions/account/accountActions.cjs +130 -1
- package/out/store/actions/account/accountActions.cjs.map +2 -2
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.cjs +22 -1
- package/out/store/actions/account/index.cjs.map +2 -2
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.cjs +73 -1
- package/out/store/actions/cache/cacheActions.cjs.map +2 -2
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.cjs +22 -1
- package/out/store/actions/cache/index.cjs.map +2 -2
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.cjs +78 -1
- package/out/store/actions/config/configActions.cjs.map +2 -2
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.cjs +22 -1
- package/out/store/actions/config/index.cjs.map +2 -2
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.cjs +34 -1
- package/out/store/actions/index.cjs.map +2 -2
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +169 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.cjs +22 -1
- package/out/store/actions/network/index.cjs.map +2 -2
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.cjs +70 -1
- package/out/store/actions/network/initializeNetwork.cjs.map +2 -2
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.cjs +47 -1
- package/out/store/actions/network/networkActions.cjs.map +2 -2
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.cjs +22 -1
- package/out/store/actions/sharedActions/index.cjs.map +2 -2
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.cjs +55 -1
- package/out/store/actions/sharedActions/sharedActions.cjs.map +2 -2
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.cjs +22 -1
- package/out/store/actions/toasts/index.cjs.map +2 -2
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +195 -1
- package/out/store/actions/toasts/toastsActions.cjs.map +2 -2
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs +144 -1
- package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
- package/out/store/actions/transactions/transactionStateByStatus.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.cjs +158 -1
- package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.cjs +22 -1
- package/out/store/actions/ui/index.cjs.map +2 -2
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.cjs +41 -1
- package/out/store/actions/ui/uiActions.cjs.map +2 -2
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.cjs +31 -1
- package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.cjs +22 -1
- package/out/store/middleware/index.cjs.map +2 -2
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs +78 -1
- package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.cjs +60 -1
- package/out/store/selectors/accountSelectors.cjs.map +2 -2
- package/out/store/selectors/cacheSelector.cjs +31 -1
- package/out/store/selectors/cacheSelector.cjs.map +2 -2
- package/out/store/selectors/configSelectors.cjs +36 -1
- package/out/store/selectors/configSelectors.cjs.map +2 -2
- package/out/store/selectors/index.cjs +32 -1
- package/out/store/selectors/index.cjs.map +2 -2
- package/out/store/selectors/loginInfoSelectors.cjs +43 -1
- package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
- package/out/store/selectors/networkSelectors.cjs +51 -1
- package/out/store/selectors/networkSelectors.cjs.map +2 -2
- package/out/store/selectors/storeSelector.cjs +28 -1
- package/out/store/selectors/storeSelector.cjs.map +2 -2
- package/out/store/selectors/toastsSelectors.cjs +34 -1
- package/out/store/selectors/toastsSelectors.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.cjs +150 -1
- package/out/store/selectors/transactionsSelector.cjs.map +2 -2
- package/out/store/selectors/transactionsSelector.mjs +1 -1
- package/out/store/selectors/uiSelectors.cjs +31 -1
- package/out/store/selectors/uiSelectors.cjs.map +2 -2
- package/out/store/slices/account/account.types.cjs +16 -1
- package/out/store/slices/account/account.types.cjs.map +2 -2
- package/out/store/slices/account/accountSlice.cjs +43 -1
- package/out/store/slices/account/accountSlice.cjs.map +2 -2
- package/out/store/slices/account/emptyAccount.cjs +38 -1
- package/out/store/slices/account/emptyAccount.cjs.map +2 -2
- package/out/store/slices/account/index.cjs +28 -1
- package/out/store/slices/account/index.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.cjs +34 -1
- package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
- package/out/store/slices/cache/cacheSlice.types.cjs +16 -1
- package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
- package/out/store/slices/cache/index.cjs +28 -1
- package/out/store/slices/cache/index.cjs.map +2 -2
- package/out/store/slices/config/config.types.cjs +16 -1
- package/out/store/slices/config/config.types.cjs.map +2 -2
- package/out/store/slices/config/configSlice.cjs +37 -1
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/index.cjs +28 -1
- package/out/store/slices/config/index.cjs.map +2 -2
- package/out/store/slices/index.cjs +34 -1
- package/out/store/slices/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/index.cjs +28 -1
- package/out/store/slices/loginInfo/index.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfo.types.cjs +16 -1
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +40 -1
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/network/emptyNetwork.cjs +41 -1
- package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
- package/out/store/slices/network/index.cjs +28 -1
- package/out/store/slices/network/index.cjs.map +2 -2
- package/out/store/slices/network/network.types.cjs +16 -1
- package/out/store/slices/network/network.types.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.cjs +35 -1
- package/out/store/slices/network/networkSlice.cjs.map +2 -2
- package/out/store/slices/network/networkSlice.types.cjs +16 -1
- package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
- package/out/store/slices/toast/index.cjs +28 -1
- package/out/store/slices/toast/index.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.cjs +37 -1
- package/out/store/slices/toast/toastSlice.cjs.map +2 -2
- package/out/store/slices/toast/toastSlice.types.cjs +16 -1
- package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
- package/out/store/slices/transactions/index.cjs +28 -1
- package/out/store/slices/transactions/index.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.cjs +34 -1
- package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
- package/out/store/slices/transactions/transactionsSlice.types.cjs +16 -1
- package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
- package/out/store/slices/ui/index.cjs +28 -1
- package/out/store/slices/ui/index.cjs.map +2 -2
- package/out/store/slices/ui/ui.types.cjs +16 -1
- package/out/store/slices/ui/ui.types.cjs.map +2 -2
- package/out/store/slices/ui/uiSlice.cjs +34 -1
- package/out/store/slices/ui/uiSlice.cjs.map +2 -2
- package/out/store/storage/inMemoryStorage.cjs +51 -1
- package/out/store/storage/inMemoryStorage.cjs.map +2 -2
- package/out/store/storage/index.cjs +24 -1
- package/out/store/storage/index.cjs.map +2 -2
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.cjs +29 -1
- package/out/store/storage/storageCallback.cjs.map +2 -2
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +85 -1
- package/out/store/store.cjs.map +2 -2
- package/out/store/store.mjs +1 -1
- package/out/store/store.types.cjs +16 -1
- package/out/store/store.types.cjs.map +2 -2
- package/out/types/account.types.cjs +16 -1
- package/out/types/account.types.cjs.map +2 -2
- package/out/types/enums.types.cjs +119 -1
- package/out/types/enums.types.cjs.map +3 -3
- package/out/types/enums.types.d.ts +0 -7
- package/out/types/enums.types.mjs +1 -1
- package/out/types/index.cjs +34 -1
- package/out/types/index.cjs.map +2 -2
- package/out/types/index.mjs +1 -1
- package/out/types/login.types.cjs +16 -1
- package/out/types/login.types.cjs.map +2 -2
- package/out/types/manager.types.cjs +16 -1
- package/out/types/manager.types.cjs.map +2 -2
- package/out/types/network.types.cjs +16 -1
- package/out/types/network.types.cjs.map +2 -2
- package/out/types/provider.types.cjs +34 -1
- package/out/types/provider.types.cjs.map +2 -2
- package/out/types/serverTransactions.types.cjs +154 -1
- package/out/types/serverTransactions.types.cjs.map +3 -3
- package/out/types/serverTransactions.types.d.ts +2 -2
- package/out/types/serverTransactions.types.mjs +1 -1
- package/out/types/subscriptions.type.cjs +33 -1
- package/out/types/subscriptions.type.cjs.map +2 -2
- package/out/types/suspiciousLink.types.cjs +16 -1
- package/out/types/suspiciousLink.types.cjs.map +2 -2
- package/out/types/theme.types.cjs +33 -1
- package/out/types/theme.types.cjs.map +2 -2
- package/out/types/tokens.types.cjs +39 -1
- package/out/types/tokens.types.cjs.map +2 -2
- package/out/types/transaction-list-item.types.cjs +114 -1
- package/out/types/transaction-list-item.types.cjs.map +2 -2
- package/out/types/transactions.types.cjs +34 -1
- package/out/types/transactions.types.cjs.map +2 -2
- package/out/types/websocket.types.cjs +16 -1
- package/out/types/websocket.types.cjs.map +2 -2
- package/out/utils/ComponentFactory.cjs +50 -1
- package/out/utils/ComponentFactory.cjs.map +2 -2
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.cjs +29 -1
- package/out/utils/account/fetchAccount.cjs.map +2 -2
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/index.cjs +28 -1
- package/out/utils/account/index.cjs.map +2 -2
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +80 -1
- package/out/utils/account/refreshAccount.cjs.map +2 -2
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs +65 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/trimUsernameDomain.cjs +35 -1
- package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
- package/out/utils/asyncActions/index.cjs +22 -1
- package/out/utils/asyncActions/index.cjs.map +2 -2
- package/out/utils/asyncActions/sleep.cjs +35 -1
- package/out/utils/asyncActions/sleep.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestamp.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +32 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +30 -1
- package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
- package/out/utils/dateTime/index.cjs +26 -1
- package/out/utils/dateTime/index.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.cjs +57 -1
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/decodePart.cjs +39 -1
- package/out/utils/decoders/decodePart.cjs.map +2 -2
- package/out/utils/decoders/index.cjs +30 -1
- package/out/utils/decoders/index.cjs.map +2 -2
- package/out/utils/decoders/isAscii.cjs +28 -1
- package/out/utils/decoders/isAscii.cjs.map +2 -2
- package/out/utils/decoders/isUtf8.cjs +35 -1
- package/out/utils/decoders/isUtf8.cjs.map +2 -2
- package/out/utils/decoders/stringContainsNumbers.cjs +28 -1
- package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
- package/out/utils/index.cjs +40 -1
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.mjs +1 -1
- package/out/utils/network/index.cjs +22 -1
- package/out/utils/network/index.cjs.map +2 -2
- package/out/utils/network/setAxiosInterceptors.cjs +66 -1
- package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
- package/out/utils/operations/capitalize.cjs +28 -1
- package/out/utils/operations/capitalize.cjs.map +2 -2
- package/out/utils/operations/getUsdValue.cjs +45 -1
- package/out/utils/operations/getUsdValue.cjs.map +2 -2
- package/out/utils/operations/pluralize.cjs +28 -1
- package/out/utils/operations/pluralize.cjs.map +2 -2
- package/out/utils/operations/timeRemaining.cjs +109 -1
- package/out/utils/operations/timeRemaining.cjs.map +2 -2
- package/out/utils/operations/trimAmountDecimals.cjs +59 -1
- package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
- package/out/utils/retryMultipleTimes.cjs +44 -1
- package/out/utils/retryMultipleTimes.cjs.map +2 -2
- package/out/utils/transactions/explorerUrlBuilder.cjs +53 -1
- package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.cjs +46 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +110 -5
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +89 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +47 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +44 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +60 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +38 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +51 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +32 -1
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs +24 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getExplorerLink.cjs +49 -1
- package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs +46 -1
- package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +109 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +106 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +35 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +54 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +70 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +53 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +59 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +52 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +36 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +22 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +16 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +82 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +65 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +30 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +121 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +39 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +43 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +34 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +32 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +41 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +40 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +49 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +46 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +24 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs +87 -1
- package/out/utils/transactions/getScamFlag.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +50 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +39 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +63 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +52 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +35 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +38 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +36 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +112 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +58 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +74 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +62 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +90 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +3 -3
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +65 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +49 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +37 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +115 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +80 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs +24 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +30 -1
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/transactions/isGuardianTx.cjs +42 -1
- package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
- package/out/utils/transactions/isGuardianTx.mjs +1 -1
- package/out/utils/validation/addressIsValid.cjs +39 -1
- package/out/utils/validation/addressIsValid.cjs.map +2 -2
- package/out/utils/validation/getIdentifierType.cjs +53 -1
- package/out/utils/validation/getIdentifierType.cjs.map +2 -2
- package/out/utils/validation/hex.cjs +35 -1
- package/out/utils/validation/hex.cjs.map +2 -2
- package/out/utils/validation/index.cjs +30 -1
- package/out/utils/validation/index.cjs.map +2 -2
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +95 -1
- package/out/utils/validation/isContract.cjs.map +2 -2
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.cjs +33 -1
- package/out/utils/validation/maxDecimals.cjs.map +2 -2
- package/out/utils/visual/index.cjs +22 -1
- package/out/utils/visual/index.cjs.map +2 -2
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.cjs +38 -1
- package/out/utils/visual/switchTheme.cjs.map +2 -2
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +33 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +3 -3
- package/out/utils/walletconnect/__sdkWalletconnectProvider.d.ts +1 -1
- package/out/utils/walletconnect/__sdkWalletconnectProvider.mjs +1 -1
- package/out/utils/window/buildUrlParams.cjs +36 -1
- package/out/utils/window/buildUrlParams.cjs.map +2 -2
- package/out/utils/window/getIsAuthRoute.cjs +37 -1
- package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.cjs +43 -1
- package/out/utils/window/getIsInIframe.cjs.map +2 -2
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowLocation.cjs +55 -1
- package/out/utils/window/getWindowLocation.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.cjs +43 -1
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.cjs +32 -1
- package/out/utils/window/index.cjs.map +2 -2
- package/out/utils/window/index.mjs +1 -1
- package/out/utils/window/isWindowAvailable.cjs +28 -1
- package/out/utils/window/isWindowAvailable.cjs.map +2 -2
- package/out/utils/window/matchPath.cjs +113 -1
- package/out/utils/window/matchPath.cjs.map +2 -2
- package/out/utils/window/sanitizeCallbackUrl.cjs +38 -1
- package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
- package/package.json +4 -4
- package/out/__chunks__/chunk-2KZRLV26.mjs +0 -2
- package/out/__chunks__/chunk-3HELNSCN.mjs +0 -2
- package/out/__chunks__/chunk-4JSUKPMM.mjs +0 -2
- package/out/__chunks__/chunk-5F4SUYA5.mjs +0 -2
- package/out/__chunks__/chunk-5JK6P55K.mjs +0 -2
- package/out/__chunks__/chunk-5QUMAPUC.mjs +0 -2
- package/out/__chunks__/chunk-7I3NCMED.mjs +0 -2
- package/out/__chunks__/chunk-7NURHXG3.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs +0 -2
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
- package/out/__chunks__/chunk-DNFQGY4T.mjs +0 -2
- package/out/__chunks__/chunk-E7DBXV7R.mjs +0 -2
- package/out/__chunks__/chunk-FMU4NEUE.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs +0 -2
- package/out/__chunks__/chunk-FRYGY7OL.mjs.map +0 -7
- package/out/__chunks__/chunk-FXGVROUI.mjs +0 -2
- package/out/__chunks__/chunk-GWFOJPML.mjs +0 -2
- package/out/__chunks__/chunk-HF4QPAWD.mjs +0 -2
- package/out/__chunks__/chunk-JJCS7HDI.mjs +0 -2
- package/out/__chunks__/chunk-KYW2F6YX.mjs +0 -2
- package/out/__chunks__/chunk-LRF2DQLC.mjs +0 -2
- package/out/__chunks__/chunk-LRZTZ4MT.mjs.map +0 -7
- package/out/__chunks__/chunk-MJC6B645.mjs +0 -2
- package/out/__chunks__/chunk-NJL7IL6P.mjs +0 -2
- package/out/__chunks__/chunk-QQIPTRF4.mjs.map +0 -7
- package/out/__chunks__/chunk-SNZWFOV6.mjs.map +0 -7
- package/out/__chunks__/chunk-VJK5HQFF.mjs +0 -2
- package/out/__chunks__/chunk-VJK5HQFF.mjs.map +0 -7
- package/out/__chunks__/chunk-WRBX7MBT.mjs +0 -2
- package/out/__chunks__/chunk-ZC3VYZDT.mjs +0 -2
- /package/out/__chunks__/{chunk-E7DBXV7R.mjs.map → chunk-26N65762.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZVFOG6LB.mjs.map → chunk-2EGSAA3Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUFSHVR2.mjs.map → chunk-2GHN5K7N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4SNEBLCL.mjs.map → chunk-2VFVLNXF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUCSXJMR.mjs.map → chunk-3HHX2VYV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PIFEYU34.mjs.map → chunk-3HV7NSKE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7D6YECRB.mjs.map → chunk-3NBBN5ES.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T6GTSLQD.mjs.map → chunk-4272WAHN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJWQNAUZ.mjs.map → chunk-4HDUGICF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HELNSCN.mjs.map → chunk-4LULGQ77.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UOD2UO27.mjs.map → chunk-4MWQKLVG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BPOW3DAB.mjs.map → chunk-5AI7ZBQ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALOBJ2YK.mjs.map → chunk-67PAALEV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HFY2UB7E.mjs.map → chunk-6BQH2QKE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SP4B7UYK.mjs.map → chunk-6TVBPLPC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M42UYGCH.mjs.map → chunk-6YF7VKF2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DSPRERV6.mjs.map → chunk-6YXFRH3W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2MRPKTZ3.mjs.map → chunk-7CELSV4S.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJCS7HDI.mjs.map → chunk-APIYOYTG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IGA3PYLZ.mjs.map → chunk-BLTIK7JF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FLOLQ4JL.mjs.map → chunk-BY3GVURF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7I3NCMED.mjs.map → chunk-CWBECQEY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBTIQKEL.mjs.map → chunk-DA5DI7Z2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6AC63JD5.mjs.map → chunk-DDLSBIL3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7W4P5SLS.mjs.map → chunk-DJAONPNL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HX72KRC4.mjs.map → chunk-DRYIE3UL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AVHNKDZ.mjs.map → chunk-EAXWH64Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S2PH3P53.mjs.map → chunk-EIQQDFQS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XQESHZ2X.mjs.map → chunk-ERQPDDHO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-76YR7YQD.mjs.map → chunk-FMEC7LEU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TDUG36NZ.mjs.map → chunk-FT7PQFYY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KYW2F6YX.mjs.map → chunk-FZ6B646C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ACMDU3QF.mjs.map → chunk-G6AICUIC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5F4SUYA5.mjs.map → chunk-GEB4VHTN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YHLBPZNN.mjs.map → chunk-GEHX6WX2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7KWGOZI4.mjs.map → chunk-GFJFVWV5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZC3VYZDT.mjs.map → chunk-H5KMHLWL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LUG3RRVN.mjs.map → chunk-H7SFJJL6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SBTMAYW7.mjs.map → chunk-HAD6KD4V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ERE5BVRC.mjs.map → chunk-HJAGGOLY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FMU4NEUE.mjs.map → chunk-HR2SURU6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CCBYPSXO.mjs.map → chunk-HU5DHLOV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7NURHXG3.mjs.map → chunk-IUQSTHCF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DNFQGY4T.mjs.map → chunk-J27BRSLL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZGMIL4MG.mjs.map → chunk-JSSRK6RP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJL7IL6P.mjs.map → chunk-KDIEM47U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WRBX7MBT.mjs.map → chunk-LFIWIGR3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GRQOTJQA.mjs.map → chunk-LFZNSKP4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QNBPNTH7.mjs.map → chunk-LOQI2FKT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RN6VVJPM.mjs.map → chunk-LRN3QFXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LJVBVKNW.mjs.map → chunk-MB44B2VD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L2GQHTCM.mjs.map → chunk-MBL2SMPH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TIJEFUI3.mjs.map → chunk-MIDAGVE7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q3DHKVPY.mjs.map → chunk-MKKMCI5C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GGXK3235.mjs.map → chunk-MLZIGIVD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XEGTQTFK.mjs.map → chunk-MPEAYRQ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MWVWSB7G.mjs.map → chunk-MTELOBHN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJC6B645.mjs.map → chunk-NHALZZT2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7HH5AHJM.mjs.map → chunk-NMNZYGK7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BC4ZQOAE.mjs.map → chunk-NTOY6GTP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QJ3Y35H5.mjs.map → chunk-NV4HFS2C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-52A7HOT5.mjs.map → chunk-OE6BHO2G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KWE3DU6Z.mjs.map → chunk-OLPFN3HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KIBWVS7T.mjs.map → chunk-OMJ2W7Q6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F24X6WMA.mjs.map → chunk-OX6JXWI4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5TDTAQH.mjs.map → chunk-OY6YT36R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IPVALLAK.mjs.map → chunk-PKBE3QGG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-42P7WSDZ.mjs.map → chunk-Q3ZV52DK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2KZRLV26.mjs.map → chunk-QMGMGA2Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5JK6P55K.mjs.map → chunk-QNONSTFE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7Y3FYVL4.mjs.map → chunk-QRJ7LCAP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TLSLNBIX.mjs.map → chunk-RMJFY5IQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DMI2O4KV.mjs.map → chunk-RSHZQFID.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LWRBWWET.mjs.map → chunk-URJQWHBM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PJBXLDBG.mjs.map → chunk-UXLYMCYP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-UZTMRUVT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DVWQ3NWJ.mjs.map → chunk-VKDH4PYW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2CVYS4M.mjs.map → chunk-VPTU4FYE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FXGVROUI.mjs.map → chunk-VRFYFZSY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GHUX5LY3.mjs.map → chunk-X5XAS5LP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MHF7JB3Y.mjs.map → chunk-XG6M2FRF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LRF2DQLC.mjs.map → chunk-XJPXTYIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4JSUKPMM.mjs.map → chunk-Y3BNMQFP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SORO3SMC.mjs.map → chunk-YXOPNTJA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U2TDA5B2.mjs.map → chunk-Z6SGIEGJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YB5TSLJV.mjs.map → chunk-ZJ55WUB7.mjs.map} +0 -0
|
@@ -1,2 +1,45 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var extractAddressFromToken_exports = {};
|
|
20
|
+
__export(extractAddressFromToken_exports, {
|
|
21
|
+
extractAddressFromToken: () => extractAddressFromToken
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(extractAddressFromToken_exports);
|
|
24
|
+
var import_loginInfoActions = require("../../../../../store/actions/loginInfo/loginInfoActions");
|
|
25
|
+
var import_getAccountFromToken = require("./getAccountFromToken");
|
|
26
|
+
async function extractAddressFromToken({
|
|
27
|
+
loginToken,
|
|
28
|
+
extraInfoData,
|
|
29
|
+
address
|
|
30
|
+
}) {
|
|
31
|
+
const accountDetails = await (0, import_getAccountFromToken.getAccountFromToken)({
|
|
32
|
+
originalLoginToken: loginToken,
|
|
33
|
+
extraInfoData,
|
|
34
|
+
address
|
|
35
|
+
});
|
|
36
|
+
if (accountDetails.modifiedLoginToken) {
|
|
37
|
+
(0, import_loginInfoActions.setLoginToken)(accountDetails.modifiedLoginToken);
|
|
38
|
+
}
|
|
39
|
+
return accountDetails.address;
|
|
40
|
+
}
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
extractAddressFromToken
|
|
44
|
+
});
|
|
2
45
|
//# sourceMappingURL=extractAddressFromToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { setLoginToken } from 'store/actions/loginInfo/loginInfoActions';\nimport { getAccountFromToken } from './getAccountFromToken';\n\ninterface IExtractAccountFromTokenProps {\n loginToken: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n address: string;\n}\n\nexport async function extractAddressFromToken({\n loginToken,\n extraInfoData,\n address\n}: IExtractAccountFromTokenProps): Promise<string> {\n const accountDetails = await getAccountFromToken({\n originalLoginToken: loginToken,\n extraInfoData,\n address\n });\n\n if (accountDetails.modifiedLoginToken) {\n setLoginToken(accountDetails.modifiedLoginToken);\n }\n\n return accountDetails.address;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAA8B;AAC9B,iCAAoC;AAWpC,eAAsB,wBAAwB;AAAA,EAC5C;AAAA,EACA;AAAA,EACA;AACF,GAAmD;AACjD,QAAM,iBAAiB,UAAM,gDAAoB;AAAA,IAC/C,oBAAoB;AAAA,IACpB;AAAA,IACA;AAAA,EACF,CAAC;AAED,MAAI,eAAe,oBAAoB;AACrC,+CAAc,eAAe,kBAAkB;AAAA,EACjD;AAEA,SAAO,eAAe;AACxB;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-26N65762.mjs";import"../../../../../__chunks__/chunk-4272WAHN.mjs";import"../../../../../__chunks__/chunk-Q3ZV52DK.mjs";import"../../../../../__chunks__/chunk-OE6BHO2G.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../__chunks__/chunk-LOQI2FKT.mjs";import"../../../../../__chunks__/chunk-67PAALEV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-RMJFY5IQ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-GEB4VHTN.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-UDD74TMO.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as extractAddressFromToken};
|
|
2
2
|
//# sourceMappingURL=extractAddressFromToken.mjs.map
|
|
@@ -1,2 +1,45 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getAccountFromToken_exports = {};
|
|
20
|
+
__export(getAccountFromToken_exports, {
|
|
21
|
+
getAccountFromToken: () => getAccountFromToken
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getAccountFromToken_exports);
|
|
24
|
+
var import_getModifiedLoginToken = require("./getModifiedLoginToken");
|
|
25
|
+
async function getAccountFromToken({
|
|
26
|
+
originalLoginToken,
|
|
27
|
+
extraInfoData,
|
|
28
|
+
address
|
|
29
|
+
}) {
|
|
30
|
+
const modifiedLoginToken = await (0, import_getModifiedLoginToken.getModifiedLoginToken)({
|
|
31
|
+
loginToken: originalLoginToken,
|
|
32
|
+
extraInfoData
|
|
33
|
+
});
|
|
34
|
+
const tokenAddress = extraInfoData.multisig || extraInfoData.impersonate || address;
|
|
35
|
+
const accountAddress = modifiedLoginToken != null ? tokenAddress : address;
|
|
36
|
+
return {
|
|
37
|
+
address: accountAddress,
|
|
38
|
+
modifiedLoginToken
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
getAccountFromToken
|
|
44
|
+
});
|
|
2
45
|
//# sourceMappingURL=getAccountFromToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/getAccountFromToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { getModifiedLoginToken } from './getModifiedLoginToken';\n\ninterface GetAccountFromTokenType {\n address: string;\n originalLoginToken?: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n}\n\nexport async function getAccountFromToken({\n originalLoginToken,\n extraInfoData,\n address\n}: GetAccountFromTokenType) {\n const modifiedLoginToken = await getModifiedLoginToken({\n loginToken: originalLoginToken,\n extraInfoData\n });\n\n const tokenAddress =\n extraInfoData.multisig || extraInfoData.impersonate || address;\n\n const accountAddress = modifiedLoginToken != null ? tokenAddress : address;\n\n return {\n address: accountAddress,\n modifiedLoginToken\n };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mCAAsC;AAWtC,eAAsB,oBAAoB;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AACF,GAA4B;AAC1B,QAAM,qBAAqB,UAAM,oDAAsB;AAAA,IACrD,YAAY;AAAA,IACZ;AAAA,EACF,CAAC;AAED,QAAM,eACJ,cAAc,YAAY,cAAc,eAAe;AAEzD,QAAM,iBAAiB,sBAAsB,OAAO,eAAe;AAEnE,SAAO;AAAA,IACL,SAAS;AAAA,IACT;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-4272WAHN.mjs";import"../../../../../__chunks__/chunk-Q3ZV52DK.mjs";import"../../../../../__chunks__/chunk-OE6BHO2G.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../__chunks__/chunk-LOQI2FKT.mjs";import"../../../../../__chunks__/chunk-67PAALEV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-RMJFY5IQ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-GEB4VHTN.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-UDD74TMO.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getAccountFromToken};
|
|
2
2
|
//# sourceMappingURL=getAccountFromToken.mjs.map
|
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var getModifiedLoginToken_exports = {};
|
|
20
|
+
__export(getModifiedLoginToken_exports, {
|
|
21
|
+
getModifiedLoginToken: () => getModifiedLoginToken
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(getModifiedLoginToken_exports);
|
|
24
|
+
var import_decodeLoginToken = require("../../../../../services/nativeAuth/helpers/decodeLoginToken");
|
|
25
|
+
var import_nativeAuth = require("../../../../../services/nativeAuth/nativeAuth");
|
|
26
|
+
async function getModifiedLoginToken({
|
|
27
|
+
loginToken,
|
|
28
|
+
extraInfoData
|
|
29
|
+
}) {
|
|
30
|
+
if (loginToken == null || Object.keys(extraInfoData).length === 0) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const data = (0, import_decodeLoginToken.decodeLoginToken)(String(loginToken));
|
|
34
|
+
const { timestamp, ...rest } = data?.extraInfo || {};
|
|
35
|
+
const isValidData = data && timestamp != null;
|
|
36
|
+
if (!isValidData) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
const latestBlockInfo = {
|
|
40
|
+
hash: String(data?.blockHash),
|
|
41
|
+
timestamp: Number(timestamp)
|
|
42
|
+
};
|
|
43
|
+
const tokenLogin = await (0, import_nativeAuth.nativeAuth)({
|
|
44
|
+
extraInfo: { ...rest, ...extraInfoData },
|
|
45
|
+
expirySeconds: data?.ttl,
|
|
46
|
+
origin: data?.origin
|
|
47
|
+
}).initialize({
|
|
48
|
+
latestBlockInfo
|
|
49
|
+
});
|
|
50
|
+
return tokenLogin;
|
|
51
|
+
}
|
|
52
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
53
|
+
0 && (module.exports = {
|
|
54
|
+
getModifiedLoginToken
|
|
55
|
+
});
|
|
2
56
|
//# sourceMappingURL=getModifiedLoginToken.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../src/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.ts"],
|
|
4
4
|
"sourcesContent": ["import { decodeLoginToken } from 'services/nativeAuth/helpers/decodeLoginToken';\nimport { LatestBlockHashType } from 'services/nativeAuth/helpers/getLatestBlockHash';\nimport { nativeAuth } from 'services/nativeAuth/nativeAuth';\n\nexport interface GetMultiSigLoginTokenType {\n loginToken?: string;\n extraInfoData: {\n multisig?: string;\n impersonate?: string;\n };\n}\n\nexport async function getModifiedLoginToken({\n loginToken,\n extraInfoData\n}: GetMultiSigLoginTokenType) {\n if (loginToken == null || Object.keys(extraInfoData).length === 0) {\n return null;\n }\n\n const data = decodeLoginToken(String(loginToken));\n const { timestamp, ...rest } = data?.extraInfo || {};\n\n const isValidData = data && timestamp != null;\n\n if (!isValidData) {\n return null;\n }\n const latestBlockInfo: LatestBlockHashType = {\n hash: String(data?.blockHash),\n timestamp: Number(timestamp)\n };\n\n const tokenLogin = await nativeAuth({\n extraInfo: { ...rest, ...extraInfoData },\n expirySeconds: data?.ttl,\n origin: data?.origin\n }).initialize({\n latestBlockInfo\n });\n\n return tokenLogin;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAiC;AAEjC,wBAA2B;AAU3B,eAAsB,sBAAsB;AAAA,EAC1C;AAAA,EACA;AACF,GAA8B;AAC5B,MAAI,cAAc,QAAQ,OAAO,KAAK,aAAa,EAAE,WAAW,GAAG;AACjE,WAAO;AAAA,EACT;AAEA,QAAM,WAAO,0CAAiB,OAAO,UAAU,CAAC;AAChD,QAAM,EAAE,WAAW,GAAG,KAAK,IAAI,MAAM,aAAa,CAAC;AAEnD,QAAM,cAAc,QAAQ,aAAa;AAEzC,MAAI,CAAC,aAAa;AAChB,WAAO;AAAA,EACT;AACA,QAAM,kBAAuC;AAAA,IAC3C,MAAM,OAAO,MAAM,SAAS;AAAA,IAC5B,WAAW,OAAO,SAAS;AAAA,EAC7B;AAEA,QAAM,aAAa,UAAM,8BAAW;AAAA,IAClC,WAAW,EAAE,GAAG,MAAM,GAAG,cAAc;AAAA,IACvC,eAAe,MAAM;AAAA,IACrB,QAAQ,MAAM;AAAA,EAChB,CAAC,EAAE,WAAW;AAAA,IACZ;AAAA,EACF,CAAC;AAED,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../../__chunks__/chunk-Q3ZV52DK.mjs";import"../../../../../__chunks__/chunk-OE6BHO2G.mjs";import"../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../__chunks__/chunk-LOQI2FKT.mjs";import"../../../../../__chunks__/chunk-67PAALEV.mjs";import"../../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../../__chunks__/chunk-RMJFY5IQ.mjs";import"../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../__chunks__/chunk-GEB4VHTN.mjs";import"../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../../__chunks__/chunk-UDD74TMO.mjs";import"../../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getModifiedLoginToken};
|
|
2
2
|
//# sourceMappingURL=getModifiedLoginToken.mjs.map
|
|
@@ -1,2 +1,122 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var login_exports = {};
|
|
20
|
+
__export(login_exports, {
|
|
21
|
+
login: () => login
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(login_exports);
|
|
24
|
+
var import_registerWebsocket = require("../../../../methods/initApp/websocket/registerWebsocket");
|
|
25
|
+
var import_getNetworkConfig = require("../../../../methods/network/getNetworkConfig");
|
|
26
|
+
var import_trackTransactions = require("../../../../methods/trackTransactions/trackTransactions");
|
|
27
|
+
var import_nativeAuth = require("../../../../services/nativeAuth");
|
|
28
|
+
var import_decodeNativeAuthToken = require("../../../../services/nativeAuth/helpers/decodeNativeAuthToken");
|
|
29
|
+
var import_loginInfoActions = require("../../../../store/actions/loginInfo/loginInfoActions");
|
|
30
|
+
var import_selectors = require("../../../../store/selectors");
|
|
31
|
+
var import_store = require("../../../../store/store");
|
|
32
|
+
var import_accountLogin = require("./helpers/accountLogin");
|
|
33
|
+
var import_extractAddressFromToken = require("./helpers/extractAddressFromToken");
|
|
34
|
+
async function loginWithoutNativeToken(provider) {
|
|
35
|
+
const {
|
|
36
|
+
network: { apiAddress }
|
|
37
|
+
} = (0, import_getNetworkConfig.getNetworkConfig)();
|
|
38
|
+
await provider.login();
|
|
39
|
+
const address = await provider.getAddress();
|
|
40
|
+
if (!address) {
|
|
41
|
+
throw new Error("Address not found");
|
|
42
|
+
}
|
|
43
|
+
await (0, import_accountLogin.accountLogin)({ address, provider, apiAddress });
|
|
44
|
+
return {
|
|
45
|
+
address
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async function loginWithNativeToken({
|
|
49
|
+
provider,
|
|
50
|
+
nativeAuthConfig,
|
|
51
|
+
token
|
|
52
|
+
}) {
|
|
53
|
+
const {
|
|
54
|
+
network: { apiAddress }
|
|
55
|
+
} = (0, import_getNetworkConfig.getNetworkConfig)();
|
|
56
|
+
const nativeAuthClient = (0, import_nativeAuth.nativeAuth)(nativeAuthConfig);
|
|
57
|
+
let loginToken = token;
|
|
58
|
+
if (!loginToken) {
|
|
59
|
+
loginToken = await nativeAuthClient.initialize({
|
|
60
|
+
noCache: true
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
const { address, signature, ...loginResult } = await provider.login({
|
|
64
|
+
token: loginToken
|
|
65
|
+
});
|
|
66
|
+
if (!address) {
|
|
67
|
+
console.warn("Login cancelled.");
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
if (!signature) {
|
|
71
|
+
console.error("Failed to sign login token");
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
const decodedToken = (0, import_decodeNativeAuthToken.decodeNativeAuthToken)(loginResult?.accessToken);
|
|
75
|
+
const nativeAuthToken = decodedToken ? loginResult.accessToken : nativeAuthClient.getToken({
|
|
76
|
+
address,
|
|
77
|
+
token: loginToken,
|
|
78
|
+
signature
|
|
79
|
+
});
|
|
80
|
+
(0, import_loginInfoActions.setTokenLogin)({
|
|
81
|
+
loginToken,
|
|
82
|
+
signature,
|
|
83
|
+
nativeAuthToken
|
|
84
|
+
});
|
|
85
|
+
const extractedAddress = await (0, import_extractAddressFromToken.extractAddressFromToken)({
|
|
86
|
+
loginToken,
|
|
87
|
+
extraInfoData: {
|
|
88
|
+
multisig: loginResult?.multisig,
|
|
89
|
+
impersonate: loginResult?.impersonate
|
|
90
|
+
},
|
|
91
|
+
address
|
|
92
|
+
});
|
|
93
|
+
await (0, import_accountLogin.accountLogin)({
|
|
94
|
+
address: extractedAddress,
|
|
95
|
+
provider,
|
|
96
|
+
apiAddress
|
|
97
|
+
});
|
|
98
|
+
return {
|
|
99
|
+
address: extractedAddress,
|
|
100
|
+
signature
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
async function login(provider, options) {
|
|
104
|
+
const nativeAuthConfig = (0, import_selectors.nativeAuthConfigSelector)((0, import_store.getState)());
|
|
105
|
+
if (nativeAuthConfig) {
|
|
106
|
+
const data = await loginWithNativeToken({
|
|
107
|
+
provider,
|
|
108
|
+
nativeAuthConfig,
|
|
109
|
+
token: options?.token
|
|
110
|
+
});
|
|
111
|
+
return data;
|
|
112
|
+
}
|
|
113
|
+
const { address } = await loginWithoutNativeToken(provider);
|
|
114
|
+
await (0, import_registerWebsocket.registerWebsocketListener)(address);
|
|
115
|
+
(0, import_trackTransactions.trackTransactions)();
|
|
116
|
+
return { address, signature: "" };
|
|
117
|
+
}
|
|
118
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
119
|
+
0 && (module.exports = {
|
|
120
|
+
login
|
|
121
|
+
});
|
|
2
122
|
//# sourceMappingURL=login.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/providers/DappProvider/helpers/login/login.ts"],
|
|
4
4
|
"sourcesContent": ["import { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { decodeNativeAuthToken } from 'services/nativeAuth/helpers/decodeNativeAuthToken';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { nativeAuthConfigSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { accountLogin } from './helpers/accountLogin';\nimport { extractAddressFromToken } from './helpers/extractAddressFromToken';\n\nasync function loginWithoutNativeToken(provider: IProvider) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n await provider.login();\n\n const address = await provider.getAddress();\n\n if (!address) {\n throw new Error('Address not found');\n }\n\n await accountLogin({ address, provider, apiAddress });\n\n return {\n address\n };\n}\n\nasync function loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token\n}: {\n provider: IProvider;\n nativeAuthConfig: NativeAuthConfigType;\n token?: string;\n}) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n const nativeAuthClient = nativeAuth(nativeAuthConfig);\n let loginToken = token;\n\n if (!loginToken) {\n loginToken = await nativeAuthClient.initialize({\n noCache: true\n });\n }\n\n const { address, signature, ...loginResult } = await provider.login({\n token: loginToken\n });\n\n if (!address) {\n console.warn('Login cancelled.');\n return null;\n }\n\n if (!signature) {\n console.error('Failed to sign login token');\n return null;\n }\n\n // nativeAuthToken received from hub login\n const decodedToken = decodeNativeAuthToken(loginResult?.accessToken);\n\n const nativeAuthToken = decodedToken\n ? loginResult.accessToken\n : nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature\n });\n\n setTokenLogin({\n loginToken,\n signature,\n nativeAuthToken\n });\n\n const extractedAddress = await extractAddressFromToken({\n loginToken,\n extraInfoData: {\n multisig: loginResult?.multisig,\n impersonate: loginResult?.impersonate\n },\n address\n });\n\n await accountLogin({\n address: extractedAddress,\n provider,\n apiAddress\n });\n\n return {\n address: extractedAddress,\n signature\n };\n}\n\nexport async function login(provider: IProvider, options?: { token?: string }) {\n const nativeAuthConfig = nativeAuthConfigSelector(getState());\n\n if (nativeAuthConfig) {\n const data = await loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token: options?.token\n });\n return data;\n }\n\n const { address } = await loginWithoutNativeToken(provider);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n return { address, signature: '' };\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+BAA0C;AAC1C,8BAAiC;AACjC,+BAAkC;AAElC,wBAA2B;AAC3B,mCAAsC;AAEtC,8BAA8B;AAC9B,uBAAyC;AACzC,mBAAyB;AACzB,0BAA6B;AAC7B,qCAAwC;AAExC,eAAe,wBAAwB,UAAqB;AAC1D,QAAM;AAAA,IACJ,SAAS,EAAE,WAAW;AAAA,EACxB,QAAI,0CAAiB;AAErB,QAAM,SAAS,MAAM;AAErB,QAAM,UAAU,MAAM,SAAS,WAAW;AAE1C,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI,MAAM,mBAAmB;AAAA,EACrC;AAEA,YAAM,kCAAa,EAAE,SAAS,UAAU,WAAW,CAAC;AAEpD,SAAO;AAAA,IACL;AAAA,EACF;AACF;AAEA,eAAe,qBAAqB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AACF,GAIG;AACD,QAAM;AAAA,IACJ,SAAS,EAAE,WAAW;AAAA,EACxB,QAAI,0CAAiB;AAErB,QAAM,uBAAmB,8BAAW,gBAAgB;AACpD,MAAI,aAAa;AAEjB,MAAI,CAAC,YAAY;AACf,iBAAa,MAAM,iBAAiB,WAAW;AAAA,MAC7C,SAAS;AAAA,IACX,CAAC;AAAA,EACH;AAEA,QAAM,EAAE,SAAS,WAAW,GAAG,YAAY,IAAI,MAAM,SAAS,MAAM;AAAA,IAClE,OAAO;AAAA,EACT,CAAC;AAED,MAAI,CAAC,SAAS;AACZ,YAAQ,KAAK,kBAAkB;AAC/B,WAAO;AAAA,EACT;AAEA,MAAI,CAAC,WAAW;AACd,YAAQ,MAAM,4BAA4B;AAC1C,WAAO;AAAA,EACT;AAGA,QAAM,mBAAe,oDAAsB,aAAa,WAAW;AAEnE,QAAM,kBAAkB,eACpB,YAAY,cACZ,iBAAiB,SAAS;AAAA,IACxB;AAAA,IACA,OAAO;AAAA,IACP;AAAA,EACF,CAAC;AAEL,6CAAc;AAAA,IACZ;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AAED,QAAM,mBAAmB,UAAM,wDAAwB;AAAA,IACrD;AAAA,IACA,eAAe;AAAA,MACb,UAAU,aAAa;AAAA,MACvB,aAAa,aAAa;AAAA,IAC5B;AAAA,IACA;AAAA,EACF,CAAC;AAED,YAAM,kCAAa;AAAA,IACjB,SAAS;AAAA,IACT;AAAA,IACA;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL,SAAS;AAAA,IACT;AAAA,EACF;AACF;AAEA,eAAsB,MAAM,UAAqB,SAA8B;AAC7E,QAAM,uBAAmB,+CAAyB,uBAAS,CAAC;AAE5D,MAAI,kBAAkB;AACpB,UAAM,OAAO,MAAM,qBAAqB;AAAA,MACtC;AAAA,MACA;AAAA,MACA,OAAO,SAAS;AAAA,IAClB,CAAC;AACD,WAAO;AAAA,EACT;AAEA,QAAM,EAAE,QAAQ,IAAI,MAAM,wBAAwB,QAAQ;AAE1D,YAAM,oDAA0B,OAAO;AACvC,kDAAkB;AAElB,SAAO,EAAE,SAAS,WAAW,GAAG;AAClC;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{s as a}from"../../../../__chunks__/chunk-LRZTZ4MT.mjs";import"../../../../__chunks__/chunk-CCBYPSXO.mjs";import"../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../__chunks__/chunk-KYW2F6YX.mjs";import"../../../../__chunks__/chunk-D2CVYS4M.mjs";import"../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../__chunks__/chunk-ZATPIKZ2.mjs";import"../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../__chunks__/chunk-CDWODCD7.mjs";import"../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../__chunks__/chunk-7W4P5SLS.mjs";import"../../../../__chunks__/chunk-YHLBPZNN.mjs";import"../../../../__chunks__/chunk-GGXK3235.mjs";import"../../../../__chunks__/chunk-FMU4NEUE.mjs";import"../../../../__chunks__/chunk-DNFQGY4T.mjs";import"../../../../__chunks__/chunk-7NURHXG3.mjs";import"../../../../__chunks__/chunk-TDUG36NZ.mjs";import"../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../__chunks__/chunk-VRLS225Q.mjs";import"../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../__chunks__/chunk-ZVFOG6LB.mjs";import"../../../../__chunks__/chunk-MWVWSB7G.mjs";import"../../../../__chunks__/chunk-4SNEBLCL.mjs";import"../../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../__chunks__/chunk-E7DBXV7R.mjs";import"../../../../__chunks__/chunk-T6GTSLQD.mjs";import"../../../../__chunks__/chunk-42P7WSDZ.mjs";import"../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../__chunks__/chunk-ERE5BVRC.mjs";import"../../../../__chunks__/chunk-2KZRLV26.mjs";import"../../../../__chunks__/chunk-JJCS7HDI.mjs";import"../../../../__chunks__/chunk-LJVBVKNW.mjs";import"../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../__chunks__/chunk-TIJEFUI3.mjs";import"../../../../__chunks__/chunk-76YR7YQD.mjs";import"../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../__chunks__/chunk-XEGTQTFK.mjs";import"../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../__chunks__/chunk-ACMDU3QF.mjs";import"../../../../__chunks__/chunk-PJBXLDBG.mjs";import"../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../__chunks__/chunk-7Y3FYVL4.mjs";import"../../../../__chunks__/chunk-SBTMAYW7.mjs";import"../../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../__chunks__/chunk-NJL7IL6P.mjs";import"../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../__chunks__/chunk-HFY2UB7E.mjs";import"../../../../__chunks__/chunk-5JK6P55K.mjs";import"../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../__chunks__/chunk-52A7HOT5.mjs";import"../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../__chunks__/chunk-QNBPNTH7.mjs";import"../../../../__chunks__/chunk-ALOBJ2YK.mjs";import"../../../../__chunks__/chunk-G7GU37XI.mjs";import"../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../__chunks__/chunk-TFZ46GCB.mjs";import"../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../__chunks__/chunk-QQIPTRF4.mjs";import"../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../__chunks__/chunk-NJWQNAUZ.mjs";import"../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../__chunks__/chunk-M42UYGCH.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-KIBWVS7T.mjs";import"../../../../__chunks__/chunk-SORO3SMC.mjs";import"../../../../__chunks__/chunk-F24X6WMA.mjs";import"../../../../__chunks__/chunk-3HELNSCN.mjs";import"../../../../__chunks__/chunk-UOD2UO27.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-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-VJK5HQFF.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-TLSLNBIX.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-5F4SUYA5.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-WHEXX3BD.mjs";import"../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../__chunks__/chunk-2MRPKTZ3.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../__chunks__/chunk-IPVALLAK.mjs";import"../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../__chunks__/chunk-S2PH3P53.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../__chunks__/chunk-SP4B7UYK.mjs";import"../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../__chunks__/chunk-7HH5AHJM.mjs";import"../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-B2YXNEOP.mjs";import"../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../__chunks__/chunk-FUFSHVR2.mjs";import"../../../../__chunks__/chunk-GRQOTJQA.mjs";import"../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../__chunks__/chunk-GWFOJPML.mjs";import"../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as login};
|
|
1
|
+
import{s as a}from"../../../../__chunks__/chunk-EYUQXPCB.mjs";import"../../../../__chunks__/chunk-HU5DHLOV.mjs";import"../../../../__chunks__/chunk-RUBOJOJP.mjs";import"../../../../__chunks__/chunk-FZ6B646C.mjs";import"../../../../__chunks__/chunk-VPTU4FYE.mjs";import"../../../../__chunks__/chunk-T7DVMF2K.mjs";import"../../../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../../../__chunks__/chunk-6UZHM5LW.mjs";import"../../../../__chunks__/chunk-UZTMRUVT.mjs";import"../../../../__chunks__/chunk-U3MIDVR7.mjs";import"../../../../__chunks__/chunk-DGMI66QS.mjs";import"../../../../__chunks__/chunk-PKD3AEXI.mjs";import"../../../../__chunks__/chunk-CLUVDWX6.mjs";import"../../../../__chunks__/chunk-DJAONPNL.mjs";import"../../../../__chunks__/chunk-GEHX6WX2.mjs";import"../../../../__chunks__/chunk-MLZIGIVD.mjs";import"../../../../__chunks__/chunk-HR2SURU6.mjs";import"../../../../__chunks__/chunk-J27BRSLL.mjs";import"../../../../__chunks__/chunk-IUQSTHCF.mjs";import"../../../../__chunks__/chunk-FT7PQFYY.mjs";import"../../../../__chunks__/chunk-N55JEIM6.mjs";import"../../../../__chunks__/chunk-KDWLSBQB.mjs";import"../../../../__chunks__/chunk-2VG3V3VD.mjs";import"../../../../__chunks__/chunk-VRLS225Q.mjs";import"../../../../__chunks__/chunk-4ODPAHHA.mjs";import"../../../../__chunks__/chunk-ECEWPZGA.mjs";import"../../../../__chunks__/chunk-2EGSAA3Z.mjs";import"../../../../__chunks__/chunk-MTELOBHN.mjs";import"../../../../__chunks__/chunk-2VFVLNXF.mjs";import"../../../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../../../__chunks__/chunk-26N65762.mjs";import"../../../../__chunks__/chunk-4272WAHN.mjs";import"../../../../__chunks__/chunk-Q3ZV52DK.mjs";import"../../../../__chunks__/chunk-MDVI45IV.mjs";import"../../../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../../../__chunks__/chunk-HJAGGOLY.mjs";import"../../../../__chunks__/chunk-QMGMGA2Q.mjs";import"../../../../__chunks__/chunk-APIYOYTG.mjs";import"../../../../__chunks__/chunk-MB44B2VD.mjs";import"../../../../__chunks__/chunk-55SACSMS.mjs";import"../../../../__chunks__/chunk-MIDAGVE7.mjs";import"../../../../__chunks__/chunk-FMEC7LEU.mjs";import"../../../../__chunks__/chunk-J32T6OAP.mjs";import"../../../../__chunks__/chunk-4US7HVCR.mjs";import"../../../../__chunks__/chunk-MPEAYRQ7.mjs";import"../../../../__chunks__/chunk-4TBVQD27.mjs";import"../../../../__chunks__/chunk-M3GFSV3G.mjs";import"../../../../__chunks__/chunk-WV5X6BXA.mjs";import"../../../../__chunks__/chunk-G6AICUIC.mjs";import"../../../../__chunks__/chunk-UXLYMCYP.mjs";import"../../../../__chunks__/chunk-E2GGD7D4.mjs";import"../../../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../../../__chunks__/chunk-QRJ7LCAP.mjs";import"../../../../__chunks__/chunk-HAD6KD4V.mjs";import"../../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../../__chunks__/chunk-G5DKGX73.mjs";import"../../../../__chunks__/chunk-KDIEM47U.mjs";import"../../../../__chunks__/chunk-XXV6KGR4.mjs";import"../../../../__chunks__/chunk-HORSXVIV.mjs";import"../../../../__chunks__/chunk-6BQH2QKE.mjs";import"../../../../__chunks__/chunk-QNONSTFE.mjs";import"../../../../__chunks__/chunk-NWEUIK3A.mjs";import"../../../../__chunks__/chunk-OE6BHO2G.mjs";import"../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../__chunks__/chunk-LOQI2FKT.mjs";import"../../../../__chunks__/chunk-67PAALEV.mjs";import"../../../../__chunks__/chunk-G7GU37XI.mjs";import"../../../../__chunks__/chunk-72VXBZOB.mjs";import"../../../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../../../__chunks__/chunk-RMW3YLGD.mjs";import"../../../../__chunks__/chunk-YSCND2MX.mjs";import"../../../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../../../__chunks__/chunk-NJN53MJV.mjs";import"../../../../__chunks__/chunk-YJK5FPW4.mjs";import"../../../../__chunks__/chunk-36XFDUXN.mjs";import"../../../../__chunks__/chunk-O7LCTC4K.mjs";import"../../../../__chunks__/chunk-TFZ46GCB.mjs";import"../../../../__chunks__/chunk-OL6LWUIJ.mjs";import"../../../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../../../__chunks__/chunk-M6MN4RXG.mjs";import"../../../../__chunks__/chunk-KIOUFP5Q.mjs";import"../../../../__chunks__/chunk-5DILKRFV.mjs";import"../../../../__chunks__/chunk-DZ2BIDRW.mjs";import"../../../../__chunks__/chunk-HZGRS7HG.mjs";import"../../../../__chunks__/chunk-NTPPBM7T.mjs";import"../../../../__chunks__/chunk-GUAXMODN.mjs";import"../../../../__chunks__/chunk-4VA2SULD.mjs";import"../../../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../../../__chunks__/chunk-GIZSIYH4.mjs";import"../../../../__chunks__/chunk-WVAP3V3E.mjs";import"../../../../__chunks__/chunk-XVX7N3JK.mjs";import"../../../../__chunks__/chunk-HH5SA7BX.mjs";import"../../../../__chunks__/chunk-TCDMXBPB.mjs";import"../../../../__chunks__/chunk-B3IKUIRK.mjs";import"../../../../__chunks__/chunk-4HDUGICF.mjs";import"../../../../__chunks__/chunk-NGM3AVCY.mjs";import"../../../../__chunks__/chunk-IXBWD6BF.mjs";import"../../../../__chunks__/chunk-6YF7VKF2.mjs";import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import"../../../../__chunks__/chunk-55W25Q35.mjs";import"../../../../__chunks__/chunk-OMJ2W7Q6.mjs";import"../../../../__chunks__/chunk-YXOPNTJA.mjs";import"../../../../__chunks__/chunk-OX6JXWI4.mjs";import"../../../../__chunks__/chunk-4LULGQ77.mjs";import"../../../../__chunks__/chunk-4MWQKLVG.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-DFSBS3PX.mjs";import"../../../../__chunks__/chunk-GFR6K4DR.mjs";import"../../../../__chunks__/chunk-6D53LH5J.mjs";import"../../../../__chunks__/chunk-H33OUO77.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-NK5Y3RLY.mjs";import"../../../../__chunks__/chunk-6UMOECOW.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-RMJFY5IQ.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-7VHTZYM2.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-GEB4VHTN.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-M7BM6QPB.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-WHEXX3BD.mjs";import"../../../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../../../__chunks__/chunk-2RAULLHL.mjs";import"../../../../__chunks__/chunk-7CELSV4S.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-BTJWNUM6.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-3FXHIV6O.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-UCRVRBTA.mjs";import"../../../../__chunks__/chunk-PKBE3QGG.mjs";import"../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../__chunks__/chunk-EIQQDFQS.mjs";import"../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../__chunks__/chunk-6TVBPLPC.mjs";import"../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../__chunks__/chunk-NMNZYGK7.mjs";import"../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../__chunks__/chunk-DTQL3IDP.mjs";import"../../../../__chunks__/chunk-CKTFPRJS.mjs";import"../../../../__chunks__/chunk-2GHN5K7N.mjs";import"../../../../__chunks__/chunk-LFZNSKP4.mjs";import"../../../../__chunks__/chunk-EHDGJUEU.mjs";import"../../../../__chunks__/chunk-HOCSCRJF.mjs";import"../../../../__chunks__/chunk-UDD74TMO.mjs";import"../../../../__chunks__/chunk-UE3IBKCO.mjs";import"../../../../__chunks__/chunk-H6IZMTJK.mjs";import"../../../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as login};
|
|
2
2
|
//# sourceMappingURL=login.mjs.map
|
|
@@ -1,2 +1,64 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var logout_exports = {};
|
|
20
|
+
__export(logout_exports, {
|
|
21
|
+
logout: () => logout
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(logout_exports);
|
|
24
|
+
var import_storage = require("../../../../constants/storage.constants");
|
|
25
|
+
var import_window = require("../../../../constants/window.constants");
|
|
26
|
+
var import_getAddress = require("../../../../methods/account/getAddress");
|
|
27
|
+
var import_registerWebsocket = require("../../../../methods/initApp/websocket/registerWebsocket");
|
|
28
|
+
var import_sharedActions = require("../../../../store/actions/sharedActions/sharedActions");
|
|
29
|
+
const broadcastLogoutAcrossTabs = (address, localStorage) => {
|
|
30
|
+
const logoutEventKey = `sdk-dapp-logout-event-${address}`;
|
|
31
|
+
const storedAddress = localStorage.getItem(logoutEventKey);
|
|
32
|
+
if (storedAddress && address !== storedAddress) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
localStorage.setItem(logoutEventKey, address);
|
|
36
|
+
localStorage.removeItem(logoutEventKey);
|
|
37
|
+
};
|
|
38
|
+
async function logout({
|
|
39
|
+
provider,
|
|
40
|
+
options = {
|
|
41
|
+
shouldBroadcastLogoutAcrossTabs: true
|
|
42
|
+
}
|
|
43
|
+
}) {
|
|
44
|
+
let address = (0, import_getAddress.getAddress)();
|
|
45
|
+
if (options.shouldBroadcastLogoutAcrossTabs && import_window.safeWindow.localStorage) {
|
|
46
|
+
broadcastLogoutAcrossTabs(address, import_window.safeWindow.localStorage);
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
(0, import_sharedActions.logoutAction)();
|
|
50
|
+
import_storage.subscriptions.forEach((unsubscribe) => unsubscribe());
|
|
51
|
+
import_storage.subscriptions.clear();
|
|
52
|
+
import_registerWebsocket.websocketManager.closeConnectionRef?.();
|
|
53
|
+
const isLoggedOut = await provider.logout();
|
|
54
|
+
return isLoggedOut;
|
|
55
|
+
} catch (err) {
|
|
56
|
+
console.error("Logging out error:", err);
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
logout
|
|
63
|
+
});
|
|
2
64
|
//# sourceMappingURL=logout.cjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/providers/DappProvider/helpers/logout/logout.ts"],
|
|
4
4
|
"sourcesContent": ["import { subscriptions } from 'constants/storage.constants';\nimport { safeWindow } from 'constants/window.constants';\nimport { getAddress } from 'methods/account/getAddress';\nimport { websocketManager } from 'methods/initApp/websocket/registerWebsocket';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { logoutAction } from 'store/actions/sharedActions/sharedActions';\n\nexport type LogoutPropsType = {\n shouldAttemptReLogin?: boolean;\n shouldBroadcastLogoutAcrossTabs?: boolean;\n /*\n * Only used for web-wallet crossWindow login\n */\n hasConsentPopup?: boolean;\n};\n\ninterface IProviderLogout {\n provider: IProvider;\n options?: LogoutPropsType;\n}\n\nconst broadcastLogoutAcrossTabs = (address: string, localStorage: Storage) => {\n const logoutEventKey = `sdk-dapp-logout-event-${address}`;\n const storedAddress = localStorage.getItem(logoutEventKey);\n\n if (storedAddress && address !== storedAddress) {\n return;\n }\n\n localStorage.setItem(logoutEventKey, address);\n localStorage.removeItem(logoutEventKey);\n};\n\nexport async function logout({\n provider,\n options = {\n shouldBroadcastLogoutAcrossTabs: true\n }\n}: IProviderLogout): Promise<boolean> {\n let address = getAddress();\n\n if (options.shouldBroadcastLogoutAcrossTabs && safeWindow.localStorage) {\n broadcastLogoutAcrossTabs(address, safeWindow.localStorage);\n }\n try {\n logoutAction();\n\n // Clear all active subscriptions on logout\n subscriptions.forEach((unsubscribe) => unsubscribe());\n subscriptions.clear();\n websocketManager.closeConnectionRef?.();\n const isLoggedOut = await provider.logout();\n return isLoggedOut;\n } catch (err) {\n console.error('Logging out error:', err);\n return false;\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAA8B;AAC9B,oBAA2B;AAC3B,wBAA2B;AAC3B,+BAAiC;AAEjC,2BAA6B;AAgB7B,MAAM,4BAA4B,CAAC,SAAiB,iBAA0B;AAC5E,QAAM,iBAAiB,yBAAyB,OAAO;AACvD,QAAM,gBAAgB,aAAa,QAAQ,cAAc;AAEzD,MAAI,iBAAiB,YAAY,eAAe;AAC9C;AAAA,EACF;AAEA,eAAa,QAAQ,gBAAgB,OAAO;AAC5C,eAAa,WAAW,cAAc;AACxC;AAEA,eAAsB,OAAO;AAAA,EAC3B;AAAA,EACA,UAAU;AAAA,IACR,iCAAiC;AAAA,EACnC;AACF,GAAsC;AACpC,MAAI,cAAU,8BAAW;AAEzB,MAAI,QAAQ,mCAAmC,yBAAW,cAAc;AACtE,8BAA0B,SAAS,yBAAW,YAAY;AAAA,EAC5D;AACA,MAAI;AACF,2CAAa;AAGb,iCAAc,QAAQ,CAAC,gBAAgB,YAAY,CAAC;AACpD,iCAAc,MAAM;AACpB,8CAAiB,qBAAqB;AACtC,UAAM,cAAc,MAAM,SAAS,OAAO;AAC1C,WAAO;AAAA,EACT,SAAS,KAAK;AACZ,YAAQ,MAAM,sBAAsB,GAAG;AACvC,WAAO;AAAA,EACT;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|