@multiversx/sdk-dapp 5.0.11 → 5.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/chunk-2MP3RCTQ.mjs +2 -0
- package/out/__chunks__/{chunk-24XAM2VT.mjs → chunk-2WU7D7YG.mjs} +2 -2
- package/out/__chunks__/chunk-3M53H6YO.mjs +2 -0
- package/out/__chunks__/{chunk-EVS2OAVI.mjs → chunk-3UIE6BRQ.mjs} +2 -2
- package/out/__chunks__/{chunk-5HBROJL7.mjs → chunk-4GHUCWEP.mjs} +2 -2
- package/out/__chunks__/{chunk-B7VHGVIW.mjs → chunk-6BLI4FKK.mjs} +2 -2
- package/out/__chunks__/chunk-6J645SGW.mjs +2 -0
- package/out/__chunks__/{chunk-PAT5TWYK.mjs → chunk-6QSFQQMX.mjs} +2 -2
- package/out/__chunks__/{chunk-SGGAZCOK.mjs → chunk-7FSHP4H6.mjs} +2 -2
- package/out/__chunks__/chunk-7I2JJXOJ.mjs +2 -0
- package/out/__chunks__/{chunk-MFYHPHET.mjs.map → chunk-7I2JJXOJ.mjs.map} +2 -2
- package/out/__chunks__/{chunk-R7SGU5J2.mjs → chunk-7IQY3VO7.mjs} +2 -2
- package/out/__chunks__/{chunk-BNDFXYBM.mjs → chunk-A3KEMXOI.mjs} +2 -2
- package/out/__chunks__/chunk-AHXCPQRJ.mjs +2 -0
- package/out/__chunks__/{chunk-B5QFFY63.mjs → chunk-B47MW4MQ.mjs} +2 -2
- package/out/__chunks__/{chunk-QIBUEZS3.mjs → chunk-BJAN2AML.mjs} +2 -2
- package/out/__chunks__/chunk-BR6B7DF2.mjs +2 -0
- package/out/__chunks__/{chunk-SZOPMJSG.mjs → chunk-C5FEAEFQ.mjs} +2 -2
- package/out/__chunks__/chunk-CAM3ZPGJ.mjs +2 -0
- package/out/__chunks__/{chunk-M3S3XSZ7.mjs → chunk-CNVAG3VJ.mjs} +2 -2
- package/out/__chunks__/chunk-CP2FW52J.mjs +2 -0
- package/out/__chunks__/{chunk-RHZYJH4K.mjs → chunk-CWZPHB67.mjs} +2 -2
- package/out/__chunks__/{chunk-JJ23PMQB.mjs → chunk-D6PDBNSG.mjs} +2 -2
- package/out/__chunks__/{chunk-KU45KIR2.mjs → chunk-DIA7C6K4.mjs} +2 -2
- package/out/__chunks__/{chunk-YRUQIWQX.mjs → chunk-DX57OY4M.mjs} +2 -2
- package/out/__chunks__/{chunk-MD5HYIJO.mjs → chunk-EA5FRGGI.mjs} +2 -2
- package/out/__chunks__/{chunk-ZRKEA6YR.mjs → chunk-EQOLC6DK.mjs} +2 -2
- package/out/__chunks__/{chunk-2DS6LYYY.mjs → chunk-ERUJDTZY.mjs} +2 -2
- package/out/__chunks__/{chunk-YXC4NJUD.mjs → chunk-EZF55RCT.mjs} +2 -2
- package/out/__chunks__/{chunk-X5KTEL7F.mjs → chunk-G6XQTNAH.mjs} +2 -2
- package/out/__chunks__/chunk-HDET5UQE.mjs +2 -0
- package/out/__chunks__/{chunk-7RLXMK3R.mjs → chunk-HERYB4JY.mjs} +2 -2
- package/out/__chunks__/chunk-HHRXRHFC.mjs +2 -0
- package/out/__chunks__/{chunk-LST3XXIJ.mjs → chunk-HOWOZOK5.mjs} +2 -2
- package/out/__chunks__/{chunk-2ZU7DAXN.mjs → chunk-HPRIBTT7.mjs} +2 -2
- package/out/__chunks__/{chunk-YZZYAO7Z.mjs → chunk-HQLKZJ25.mjs} +2 -2
- package/out/__chunks__/{chunk-MMLP7K73.mjs → chunk-HU3AHMQJ.mjs} +2 -2
- package/out/__chunks__/{chunk-GJYL4HXE.mjs → chunk-IB7XJW3Z.mjs} +2 -2
- package/out/__chunks__/{chunk-RRRK4J56.mjs → chunk-IGJ5TMOT.mjs} +2 -2
- package/out/__chunks__/{chunk-6MXUKZB3.mjs → chunk-IHCYCTKF.mjs} +2 -2
- package/out/__chunks__/{chunk-F2UXV2DY.mjs → chunk-IRE3CPRO.mjs} +2 -2
- package/out/__chunks__/{chunk-ADE33SZY.mjs → chunk-JKDQLXRK.mjs} +2 -2
- package/out/__chunks__/{chunk-Z2M3TCDN.mjs → chunk-JUP4CZ2X.mjs} +2 -2
- package/out/__chunks__/chunk-KKTID7DD.mjs +2 -0
- package/out/__chunks__/{chunk-7CFPPCWC.mjs → chunk-KMIXMIDH.mjs} +2 -2
- package/out/__chunks__/{chunk-OEBWA3U7.mjs → chunk-KZPUZR2Y.mjs} +2 -2
- package/out/__chunks__/{chunk-IZMXB463.mjs → chunk-LSBFHWUY.mjs} +2 -2
- package/out/__chunks__/chunk-LTAJZBHP.mjs +2 -0
- package/out/__chunks__/{chunk-QET2OLJT.mjs.map → chunk-LTAJZBHP.mjs.map} +1 -1
- package/out/__chunks__/chunk-M7BM6QPB.mjs +2 -0
- package/out/__chunks__/{chunk-X4XULIVT.mjs.map → chunk-M7BM6QPB.mjs.map} +2 -2
- package/out/__chunks__/{chunk-66WRMAXV.mjs → chunk-MYCBTVET.mjs} +2 -2
- package/out/__chunks__/chunk-N24QHAHB.mjs +2 -0
- package/out/__chunks__/chunk-NMOXI6JM.mjs +2 -0
- package/out/__chunks__/{chunk-WDFZXGVF.mjs → chunk-NX27H6YQ.mjs} +2 -2
- package/out/__chunks__/{chunk-FE3NXNR6.mjs → chunk-OC6EUGTY.mjs} +2 -2
- package/out/__chunks__/{chunk-6WVBN32G.mjs → chunk-OIEXBS5U.mjs} +2 -2
- package/out/__chunks__/chunk-OOIVSS6B.mjs +2 -0
- package/out/__chunks__/chunk-OOIVSS6B.mjs.map +7 -0
- package/out/__chunks__/{chunk-FVHDVMP6.mjs → chunk-OTBCYYQJ.mjs} +2 -2
- package/out/__chunks__/chunk-PQ2NXYA5.mjs +2 -0
- package/out/__chunks__/{chunk-TAWCCADM.mjs → chunk-PXOF6KO2.mjs} +2 -2
- package/out/__chunks__/{chunk-TPKK34YE.mjs → chunk-QET2LPCN.mjs} +2 -2
- package/out/__chunks__/{chunk-DJY24BHS.mjs → chunk-QSUVTM4Q.mjs} +2 -2
- package/out/__chunks__/{chunk-JSFAGVXL.mjs → chunk-RCWWARI5.mjs} +2 -2
- package/out/__chunks__/{chunk-EHWT3WER.mjs → chunk-RWONERD2.mjs} +2 -2
- package/out/__chunks__/{chunk-EHWT3WER.mjs.map → chunk-RWONERD2.mjs.map} +2 -2
- package/out/__chunks__/{chunk-YU6ZFE62.mjs → chunk-RXEX2FW6.mjs} +2 -2
- package/out/__chunks__/chunk-S4ILNY2V.mjs +2 -0
- package/out/__chunks__/{chunk-KT6OP6QC.mjs → chunk-SCIZ57T6.mjs} +2 -2
- package/out/__chunks__/chunk-TP37QCFI.mjs +2 -0
- package/out/__chunks__/chunk-TP37QCFI.mjs.map +7 -0
- package/out/__chunks__/{chunk-3HNDMSWW.mjs → chunk-TVPUPQOT.mjs} +2 -2
- package/out/__chunks__/chunk-TWLXB65I.mjs +2 -0
- package/out/__chunks__/chunk-URDBQFRH.mjs +2 -0
- package/out/__chunks__/{chunk-WM2ARQV6.mjs.map → chunk-URDBQFRH.mjs.map} +2 -2
- package/out/__chunks__/chunk-V3W43G5K.mjs +2 -0
- package/out/__chunks__/{chunk-YKUDEXLD.mjs → chunk-VFWJ7ARF.mjs} +2 -2
- package/out/__chunks__/{chunk-YFO4VEZA.mjs → chunk-VH7LP5H3.mjs} +2 -2
- package/out/__chunks__/{chunk-PGY32PLX.mjs → chunk-W52HYKAU.mjs} +2 -2
- package/out/__chunks__/{chunk-RZNOYCZT.mjs → chunk-X3YODHAF.mjs} +2 -2
- package/out/__chunks__/{chunk-NA5BUERU.mjs → chunk-XDLAYQD5.mjs} +2 -2
- package/out/__chunks__/{chunk-TRQA733J.mjs → chunk-XHOEWGQ4.mjs} +2 -2
- package/out/__chunks__/{chunk-JPGDRR3A.mjs → chunk-Y3MZT7FL.mjs} +2 -2
- package/out/__chunks__/{chunk-ZWOEWFL2.mjs → chunk-Z5FBBXZT.mjs} +2 -2
- package/out/__chunks__/{chunk-QYUEIE7N.mjs → chunk-ZDBSG2BU.mjs} +2 -2
- package/out/__chunks__/{chunk-QEEQRZS6.mjs → chunk-ZGAD3U3E.mjs} +2 -2
- package/out/__chunks__/{chunk-QGUSK75W.mjs → chunk-ZO7UCTX4.mjs} +2 -2
- package/out/__chunks__/{chunk-23TMKZFJ.mjs → chunk-ZU6E3AQR.mjs} +2 -2
- package/out/__chunks__/chunk-ZYCDEAG7.mjs +2 -0
- package/out/__chunks__/{chunk-3BAZ5IKF.mjs.map → chunk-ZYCDEAG7.mjs.map} +3 -3
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +7 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.cjs +2 -1
- package/out/methods/account/getLatestNonce.cjs.map +2 -2
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.d.ts +0 -5
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -0
- 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.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.d.ts +0 -5
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.cjs +2 -20
- package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
- package/out/store/actions/loginInfo/loginInfoActions.d.ts +1 -3
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/slices/index.mjs +1 -1
- package/out/store/slices/loginInfo/index.mjs +1 -1
- package/out/store/slices/loginInfo/loginInfo.types.cjs.map +1 -1
- package/out/store/slices/loginInfo/loginInfo.types.d.ts +0 -9
- package/out/store/slices/loginInfo/loginInfoSlice.cjs +0 -4
- package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
- package/out/store/slices/loginInfo/loginInfoSlice.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/tests/getElementByDataTestIdDeep.jest.d.ts +9 -0
- package/out/utils/tests/getElementByDataTestIdDeep.playwright.d.ts +9 -0
- package/out/utils/tests/getElementByDataTestIdDeep.puppeteer.d.ts +9 -0
- package/out/utils/tests/shadowDomTraversal.d.ts +17 -0
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.cjs +5 -8
- package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
- package/out/utils/window/getWindowParentOrigin.d.ts +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +1 -1
- package/out/__chunks__/chunk-2AIOZ7AI.mjs +0 -2
- package/out/__chunks__/chunk-3BAZ5IKF.mjs +0 -2
- package/out/__chunks__/chunk-4IYHEFEY.mjs +0 -2
- package/out/__chunks__/chunk-4LT5LGQC.mjs +0 -2
- package/out/__chunks__/chunk-5MLAF3LT.mjs +0 -2
- package/out/__chunks__/chunk-6KY5GEWL.mjs +0 -2
- package/out/__chunks__/chunk-7KFLWTDT.mjs +0 -2
- package/out/__chunks__/chunk-BMFKD76W.mjs +0 -2
- package/out/__chunks__/chunk-BRWXITGZ.mjs +0 -2
- package/out/__chunks__/chunk-BRWXITGZ.mjs.map +0 -7
- package/out/__chunks__/chunk-CZYRFACG.mjs +0 -2
- package/out/__chunks__/chunk-HHGGPCIT.mjs +0 -2
- package/out/__chunks__/chunk-HRTYNOPV.mjs +0 -2
- package/out/__chunks__/chunk-IQNEWWWL.mjs +0 -2
- package/out/__chunks__/chunk-MFYHPHET.mjs +0 -2
- package/out/__chunks__/chunk-NSF7L6H7.mjs +0 -2
- package/out/__chunks__/chunk-OCT3B7SK.mjs +0 -2
- package/out/__chunks__/chunk-P6XFODV4.mjs +0 -2
- package/out/__chunks__/chunk-QET2OLJT.mjs +0 -2
- package/out/__chunks__/chunk-SBJ5SNMG.mjs +0 -2
- package/out/__chunks__/chunk-WEQQ52VT.mjs +0 -2
- package/out/__chunks__/chunk-WEQQ52VT.mjs.map +0 -7
- package/out/__chunks__/chunk-WM2ARQV6.mjs +0 -2
- package/out/__chunks__/chunk-WZLGCBPM.mjs +0 -2
- package/out/__chunks__/chunk-X4XULIVT.mjs +0 -2
- /package/out/__chunks__/{chunk-IQNEWWWL.mjs.map → chunk-2MP3RCTQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-24XAM2VT.mjs.map → chunk-2WU7D7YG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CZYRFACG.mjs.map → chunk-3M53H6YO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EVS2OAVI.mjs.map → chunk-3UIE6BRQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5HBROJL7.mjs.map → chunk-4GHUCWEP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B7VHGVIW.mjs.map → chunk-6BLI4FKK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BMFKD76W.mjs.map → chunk-6J645SGW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PAT5TWYK.mjs.map → chunk-6QSFQQMX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SGGAZCOK.mjs.map → chunk-7FSHP4H6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R7SGU5J2.mjs.map → chunk-7IQY3VO7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BNDFXYBM.mjs.map → chunk-A3KEMXOI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4LT5LGQC.mjs.map → chunk-AHXCPQRJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B5QFFY63.mjs.map → chunk-B47MW4MQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QIBUEZS3.mjs.map → chunk-BJAN2AML.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HHGGPCIT.mjs.map → chunk-BR6B7DF2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SZOPMJSG.mjs.map → chunk-C5FEAEFQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P6XFODV4.mjs.map → chunk-CAM3ZPGJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M3S3XSZ7.mjs.map → chunk-CNVAG3VJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5MLAF3LT.mjs.map → chunk-CP2FW52J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RHZYJH4K.mjs.map → chunk-CWZPHB67.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJ23PMQB.mjs.map → chunk-D6PDBNSG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KU45KIR2.mjs.map → chunk-DIA7C6K4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YRUQIWQX.mjs.map → chunk-DX57OY4M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MD5HYIJO.mjs.map → chunk-EA5FRGGI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZRKEA6YR.mjs.map → chunk-EQOLC6DK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2DS6LYYY.mjs.map → chunk-ERUJDTZY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YXC4NJUD.mjs.map → chunk-EZF55RCT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X5KTEL7F.mjs.map → chunk-G6XQTNAH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6KY5GEWL.mjs.map → chunk-HDET5UQE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7RLXMK3R.mjs.map → chunk-HERYB4JY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WZLGCBPM.mjs.map → chunk-HHRXRHFC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LST3XXIJ.mjs.map → chunk-HOWOZOK5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2ZU7DAXN.mjs.map → chunk-HPRIBTT7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YZZYAO7Z.mjs.map → chunk-HQLKZJ25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MMLP7K73.mjs.map → chunk-HU3AHMQJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GJYL4HXE.mjs.map → chunk-IB7XJW3Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RRRK4J56.mjs.map → chunk-IGJ5TMOT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6MXUKZB3.mjs.map → chunk-IHCYCTKF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F2UXV2DY.mjs.map → chunk-IRE3CPRO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ADE33SZY.mjs.map → chunk-JKDQLXRK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z2M3TCDN.mjs.map → chunk-JUP4CZ2X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4IYHEFEY.mjs.map → chunk-KKTID7DD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7CFPPCWC.mjs.map → chunk-KMIXMIDH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OEBWA3U7.mjs.map → chunk-KZPUZR2Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IZMXB463.mjs.map → chunk-LSBFHWUY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-66WRMAXV.mjs.map → chunk-MYCBTVET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OCT3B7SK.mjs.map → chunk-N24QHAHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7KFLWTDT.mjs.map → chunk-NMOXI6JM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WDFZXGVF.mjs.map → chunk-NX27H6YQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FE3NXNR6.mjs.map → chunk-OC6EUGTY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6WVBN32G.mjs.map → chunk-OIEXBS5U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FVHDVMP6.mjs.map → chunk-OTBCYYQJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SBJ5SNMG.mjs.map → chunk-PQ2NXYA5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TAWCCADM.mjs.map → chunk-PXOF6KO2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TPKK34YE.mjs.map → chunk-QET2LPCN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DJY24BHS.mjs.map → chunk-QSUVTM4Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JSFAGVXL.mjs.map → chunk-RCWWARI5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YU6ZFE62.mjs.map → chunk-RXEX2FW6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2AIOZ7AI.mjs.map → chunk-S4ILNY2V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KT6OP6QC.mjs.map → chunk-SCIZ57T6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3HNDMSWW.mjs.map → chunk-TVPUPQOT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HRTYNOPV.mjs.map → chunk-TWLXB65I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NSF7L6H7.mjs.map → chunk-V3W43G5K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YKUDEXLD.mjs.map → chunk-VFWJ7ARF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YFO4VEZA.mjs.map → chunk-VH7LP5H3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PGY32PLX.mjs.map → chunk-W52HYKAU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RZNOYCZT.mjs.map → chunk-X3YODHAF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NA5BUERU.mjs.map → chunk-XDLAYQD5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TRQA733J.mjs.map → chunk-XHOEWGQ4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JPGDRR3A.mjs.map → chunk-Y3MZT7FL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZWOEWFL2.mjs.map → chunk-Z5FBBXZT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QYUEIE7N.mjs.map → chunk-ZDBSG2BU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QEEQRZS6.mjs.map → chunk-ZGAD3U3E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QGUSK75W.mjs.map → chunk-ZO7UCTX4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-23TMKZFJ.mjs.map → chunk-ZU6E3AQR.mjs.map} +0 -0
|
@@ -22,24 +22,21 @@ __export(getWindowParentOrigin_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getWindowParentOrigin_exports);
|
|
24
24
|
var import_window = require("../../constants/window.constants");
|
|
25
|
-
|
|
25
|
+
const getWindowParentOrigin = () => {
|
|
26
26
|
if (!import_window.safeWindow) {
|
|
27
27
|
return "";
|
|
28
28
|
}
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
const ancestorOrigins = import_window.safeWindow.location.ancestorOrigins;
|
|
34
|
-
if (ancestorOrigins.length < 1) {
|
|
30
|
+
const referrer = import_window.safeWindow.document?.referrer;
|
|
31
|
+
if (!referrer) {
|
|
35
32
|
return "";
|
|
36
33
|
}
|
|
37
|
-
return new URL(
|
|
34
|
+
return new URL(referrer).origin;
|
|
38
35
|
} catch (e) {
|
|
39
36
|
console.error(e);
|
|
40
37
|
return "";
|
|
41
38
|
}
|
|
42
|
-
}
|
|
39
|
+
};
|
|
43
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
41
|
0 && (module.exports = {
|
|
45
42
|
getWindowParentOrigin
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/utils/window/getWindowParentOrigin.ts"],
|
|
4
|
-
"sourcesContent": ["import { safeWindow } from 'constants/window.constants';\n\nexport
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA2B;AAEpB,
|
|
4
|
+
"sourcesContent": ["import { safeWindow } from 'constants/window.constants';\n\nexport const getWindowParentOrigin = () => {\n if (!safeWindow) {\n return '';\n }\n\n try {\n const referrer = safeWindow.document?.referrer;\n\n if (!referrer) {\n return '';\n }\n\n return new URL(referrer).origin;\n } catch (e) {\n console.error(e);\n return '';\n }\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA2B;AAEpB,MAAM,wBAAwB,MAAM;AACzC,MAAI,CAAC,0BAAY;AACf,WAAO;AAAA,EACT;AAEA,MAAI;AACF,UAAM,WAAW,yBAAW,UAAU;AAEtC,QAAI,CAAC,UAAU;AACb,aAAO;AAAA,IACT;AAEA,WAAO,IAAI,IAAI,QAAQ,EAAE;AAAA,EAC3B,SAAS,GAAG;AACV,YAAQ,MAAM,CAAC;AACf,WAAO;AAAA,EACT;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare const getWindowParentOrigin: () => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-OOIVSS6B.mjs";import"../../__chunks__/chunk-LTAJZBHP.mjs";export{a as getWindowParentOrigin};
|
|
2
2
|
//# sourceMappingURL=getWindowParentOrigin.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-IHCYCTKF.mjs";import"../../__chunks__/chunk-OOIVSS6B.mjs";import{a as e}from"../../__chunks__/chunk-EHDGJUEU.mjs";import{a as d}from"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-LTAJZBHP.mjs";import{a as c}from"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import{a}from"../../__chunks__/chunk-B2UIPHJ3.mjs";export{d as buildUrlParams,e as getIsAuthRoute,f as getIsInIframe,b as getWindowLocation,a as isWindowAvailable,c as sanitizeCallbackUrl};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as s,f as l}from"./chunk-UERJ6AKK.mjs";import{f as a}from"./chunk-VNLGNNIL.mjs";import{a as d,b as L}from"./chunk-NLRDRI7Q.mjs";import{a as k}from"./chunk-IQNEWWWL.mjs";import{a as v}from"./chunk-KRWR77QE.mjs";import{b as y}from"./chunk-A7FTKX2A.mjs";import{a as g,b as c}from"./chunk-WZGG2YKQ.mjs";import{a as f,b as m}from"./chunk-X4XULIVT.mjs";import{a as T}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as I}from"./chunk-NB7A4C7L.mjs";import{c as p}from"./chunk-NTEMINYA.mjs";import{createJSONStorage as h,devtools as O,persist as V}from"zustand/middleware";import{immer as H}from"zustand/middleware/immer";import{createStore as N}from"zustand/vanilla";var A=e=>{e.account=g,e.loginInfo=f,e.transactions=d,e.toasts=S};function R(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=l(e),n=a(e),{address:i,publicKey:M}=s(e);if(i&&M!==new p(i).hex()&&A(e),!t)return;if(n==null){w(R());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=N(O(V(H((...n)=>({network:x(...n),account:c(...n),loginInfo:m(...n),config:T(...n),transactions:L(...n),toasts:u(...n),cache:y(...n),ui:I(...n)})),{name:"sdk-dapp-store",storage:h(e)})));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new v)),r),ae=(e=k)=>D(z(e)),pe=()=>o().getState();var fe=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,"setProviderType"),me=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,"setTokenLogin"),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,"setLoginToken"),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,"setTokenLoginSignature"),de=e=>o().setState(({loginInfo:t})=>{t.walletLogin=e},!1,"setWalletLogin"),Le=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,"setWalletConnectLogin"),xe=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,"setLedgerLogin"),Te=e=>o().setState(({loginInfo:t})=>{t.logoutRoute=e},!1,"setLogoutRoute"),ye=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,"setIsWalletConnectV2Initialized"),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,"removeLoginExpiresAt"),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,"addLoginExpiresAt");export{fe as a,me as b,Se as c,ue as d,de as e,Le as f,xe as g,Te as h,ye as i,E as j,b as k,A as l,R as m,w as n,C as o,W as p,z as q,D as r,o as s,ae as t,pe as u};
|
|
2
|
-
//# sourceMappingURL=chunk-3BAZ5IKF.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-2ZU7DAXN.mjs";import{b as s}from"./chunk-TQA3JDNV.mjs";import{u as n}from"./chunk-3BAZ5IKF.mjs";async function f(){let t=s(n());if(Object.keys(t).length>0)for(let[e,{transactions:c}]of Object.entries(t))await o({sessionId:e,transactionBatch:c})}export{f as a};
|
|
2
|
-
//# sourceMappingURL=chunk-7KFLWTDT.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk-P6XFODV4.mjs";import{a as b}from"./chunk-EVS2OAVI.mjs";import{a as k}from"./chunk-QXC4D3AC.mjs";import{a as R}from"./chunk-OD4ANAAQ.mjs";import{a as D}from"./chunk-NA5BUERU.mjs";import{a as I}from"./chunk-PHOF3Z5D.mjs";import{a as j}from"./chunk-URJQWHBM.mjs";import{a as _}from"./chunk-5HBROJL7.mjs";import{a as A}from"./chunk-6WVBN32G.mjs";import{a as O}from"./chunk-HHGGPCIT.mjs";import{u as x}from"./chunk-3BAZ5IKF.mjs";import{b as v}from"./chunk-SAAOQW7P.mjs";import{a as G,c as U,f as F}from"./chunk-PJWJZHIS.mjs";import{a as w}from"./chunk-NTEMINYA.mjs";import{c as N}from"./chunk-MGFIOCA4.mjs";async function Dn({transactions:z=[],handleSign:H,guardTransactions:K=_}){let{account:{address:y,shard:E,username:h}}=B(),g=v(x()),C=O(),{allTransactions:e,parsedTransactionsByDataField:L}=R(z),p=[],n=A.getInstance();if(await n.openUI(),!n)throw new Error("Unable to establish connection with sign screens");let W=async()=>{await b(),n.closeUI()};return n.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",W),new Promise(async(X,M)=>{let d=[],Y=await k({baseURL:g.apiAddress});n.notifyDataUpdate(),n.initializeGasPriceMap(e.map(t=>t.transaction));let l=Y?.price,a=0,T=async()=>{let c=e[a]?.transaction,i=Number(c.nonce);try{n.updateIsLoading(!0);let{commonData:r,tokenTransaction:o,fungibleTransaction:s}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:g,gasPriceData:n.ppuMap[i],price:l,address:y,username:h,shard:E,signedIndexes:p,parsedTransactionsByDataField:L});o&&n.updateTokenTransaction(o),s&&n.updateNonFungibleTransaction(s.type,s),n.updateCommonData(r)}catch(r){console.error(`Error fetching common data for transaction at index ${a}:`,r)}finally{n.updateIsLoading(!1)}},$=()=>{a>0&&(a--,T())},q=(t=0)=>{let i=e[a].transaction,r=Number(i.nonce);n.updateGasPriceMap({nonce:r,ppu:t}),n.updateCommonData({ppu:t});let o=i.toPlainObject(),s=I({transaction:o,gasPriceData:n.ppuMap[r]}),P=w.newFromPlainObject({...o,gasPrice:s}),u=j({transaction:P,price:l}),m=F({input:s.toString(),decimals:U,addCommas:!0,digits:G});n.updateCommonData({feeLimit:u.feeLimitFormatted,feeInFiatLimit:u.feeInFiatLimit,gasPrice:m,ppu:t})},J=async()=>{M(new Error("Transaction signing cancelled by user")),await b(),n.closeUI()},f=()=>{a<n.transactionsCount-1&&(a++,T())},Q=async()=>{let c=e[a].transaction,i=Number(c.nonce),{commonData:r}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:C,network:g,gasPriceData:n.ppuMap[i],price:l,address:y,username:h,shard:E,signedIndexes:p,parsedTransactionsByDataField:L});if(!r.needsSigning)return p.push(a),f();let o=c.toPlainObject(),s=o.nonce,P=I({transaction:o,gasPriceData:n.ppuMap[s]}),u=w.newFromPlainObject({...o,gasPrice:P});try{let m=await H([u]);m&&(p.push(a),d.push(m[0]));let nn=a===e.length-1,an=e.filter(S=>S.needsSigning),tn=d.length===an.length;if(nn&&tn){let S=await K(d);return n.closeUI(),X(S)}f()}catch(m){n.closeUI(),M(m)}},V=new Map([["NEXT_SIGN_TRANSACTIONS",f],["CONFIRM_SIGN_TRANSACTIONS",Q],["CLOSE_SIGN_TRANSACTIONS",J],["BACK_SIGN_TRANSACTIONS",$],["SET_PPU_SIGN_TRANSACTIONS",q]]);function Z(){for(let[t,c]of V)n.subscribeToEventBus(t,c)}Z(),await T()})}export{Dn as a};
|
|
2
|
-
//# sourceMappingURL=chunk-BRWXITGZ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/helpers/signTransactions/signTransactions.ts"],
|
|
4
|
-
"sourcesContent": ["import { getEconomics } from 'apiCalls/economics/getEconomics';\nimport { EMPTY_PPU } from 'constants/placeholders.constants';\nimport { Transaction } from 'lib/sdkCore';\nimport { DECIMALS, DIGITS, formatAmount } from 'lib/sdkDappUtils';\nimport { SignTransactionsStateManager } from 'managers/internal/SignTransactionsStateManager/SignTransactionsStateManager';\nimport {\n ISignTransactionsPanelCommonData,\n SignEventsEnum\n} from 'managers/internal/SignTransactionsStateManager/types';\nimport { getAccountInfo } from 'methods/account/getAccountInfo';\nimport { getEgldLabel } from 'methods/network/getEgldLabel';\nimport { cancelCrossWindowAction } from 'providers/helpers/cancelCrossWindowAction';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { getCommonData } from './helpers/getCommonData/getCommonData';\nimport { getRecommendedGasPrice } from './helpers/getCommonData/helpers/getRecommendedGasPrice';\nimport { getFeeData } from './helpers/getFeeData';\nimport { getMultiEsdtTransferData } from './helpers/getMultiEsdtTransferData/getMultiEsdtTransferData';\nimport { guardTransactions as getGuardedTransactions } from './helpers/guardTransactions/guardTransactions';\n\ntype SignTransactionsParamsType = {\n transactions?: Transaction[];\n handleSign: IProvider['signTransactions'];\n guardTransactions?: typeof getGuardedTransactions;\n};\n\nexport async function signTransactions({\n transactions = [],\n handleSign,\n guardTransactions = getGuardedTransactions\n}: SignTransactionsParamsType): Promise<Transaction[]> {\n const {\n account: { address, shard, username }\n } = getAccountInfo();\n const network = networkSelector(getState());\n\n const egldLabel = getEgldLabel();\n\n const { allTransactions, parsedTransactionsByDataField } =\n getMultiEsdtTransferData(transactions);\n\n let signedIndexes: number[] = [];\n\n const manager = SignTransactionsStateManager.getInstance();\n await manager.openUI();\n\n if (!manager) {\n throw new Error('Unable to establish connection with sign screens');\n }\n\n const handleCancel = async () => {\n await cancelCrossWindowAction();\n manager.closeUI();\n };\n\n manager.subscribeToEventBus(SignEventsEnum.CLOSE, handleCancel);\n\n return new Promise<Transaction[]>(async (resolve, reject) => {\n const signedTransactions: Transaction[] = [];\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n manager.notifyDataUpdate();\n\n manager.initializeGasPriceMap(allTransactions.map((tx) => tx.transaction));\n const price = economics?.price;\n\n let currentScreenIndex = 0;\n\n const updateScreen = async () => {\n const currentTransaction = allTransactions[currentScreenIndex];\n const transaction = currentTransaction?.transaction;\n\n const currentNonce = Number(transaction.nonce);\n\n try {\n manager.updateIsLoading(true);\n\n const { commonData, tokenTransaction, fungibleTransaction } =\n await getCommonData({\n allTransactions,\n currentScreenIndex,\n egldLabel,\n network,\n gasPriceData: manager.ppuMap[currentNonce],\n price,\n address,\n username,\n shard,\n signedIndexes,\n parsedTransactionsByDataField\n });\n\n if (tokenTransaction) {\n manager.updateTokenTransaction(tokenTransaction);\n }\n\n if (fungibleTransaction) {\n manager.updateNonFungibleTransaction(\n fungibleTransaction.type,\n fungibleTransaction\n );\n }\n\n manager.updateCommonData(commonData);\n } catch (error) {\n console.error(\n `Error fetching common data for transaction at index ${currentScreenIndex}:`,\n error\n );\n } finally {\n manager.updateIsLoading(false);\n }\n };\n\n const onBack = () => {\n if (currentScreenIndex > 0) {\n currentScreenIndex--;\n updateScreen();\n }\n };\n\n const onSetPpu = (\n ppu: ISignTransactionsPanelCommonData['ppu'] = EMPTY_PPU\n ) => {\n const currentTransaction = allTransactions[currentScreenIndex];\n const transaction = currentTransaction.transaction;\n const currentNonce = Number(transaction.nonce);\n\n manager.updateGasPriceMap({\n nonce: currentNonce,\n ppu\n });\n\n manager.updateCommonData({ ppu });\n\n const plainTransaction = transaction.toPlainObject();\n const newGasPrice = getRecommendedGasPrice({\n transaction: plainTransaction,\n gasPriceData: manager.ppuMap[currentNonce]\n });\n\n const newTransaction = Transaction.newFromPlainObject({\n ...plainTransaction,\n gasPrice: newGasPrice\n });\n\n const feeData = getFeeData({\n transaction: newTransaction,\n price\n });\n\n const formattedGasPrice = formatAmount({\n input: newGasPrice.toString(),\n decimals: DECIMALS,\n addCommas: true,\n digits: DIGITS\n });\n\n manager.updateCommonData({\n feeLimit: feeData.feeLimitFormatted,\n feeInFiatLimit: feeData.feeInFiatLimit,\n gasPrice: formattedGasPrice,\n ppu\n });\n };\n\n const onCancel = async () => {\n reject(new Error('Transaction signing cancelled by user'));\n await cancelCrossWindowAction();\n manager.closeUI();\n };\n\n const onNext = () => {\n if (currentScreenIndex < manager.transactionsCount - 1) {\n currentScreenIndex++;\n updateScreen();\n }\n };\n\n const onSign = async () => {\n const currentTransaction = allTransactions[currentScreenIndex];\n const transaction = currentTransaction.transaction;\n const currentNonce = Number(transaction.nonce);\n\n const { commonData } = await getCommonData({\n allTransactions,\n currentScreenIndex,\n egldLabel,\n network,\n gasPriceData: manager.ppuMap[currentNonce],\n price,\n address,\n username,\n shard,\n signedIndexes,\n parsedTransactionsByDataField\n });\n\n if (!commonData.needsSigning) {\n signedIndexes.push(currentScreenIndex);\n return onNext();\n }\n\n const plainTransaction = transaction.toPlainObject();\n const txNonce = plainTransaction.nonce;\n\n const newGasPrice = getRecommendedGasPrice({\n transaction: plainTransaction,\n gasPriceData: manager.ppuMap[txNonce]\n });\n\n const transactionToSign = Transaction.newFromPlainObject({\n ...plainTransaction,\n gasPrice: newGasPrice\n });\n\n try {\n const signedTxs = await handleSign([transactionToSign]);\n if (signedTxs) {\n signedIndexes.push(currentScreenIndex);\n signedTransactions.push(signedTxs[0]);\n }\n\n const isLastScreen = currentScreenIndex === allTransactions.length - 1;\n const allSignableTransactions = allTransactions.filter(\n (tx) => tx.needsSigning\n );\n\n const areAllTransactionsSigned =\n signedTransactions.length === allSignableTransactions.length;\n\n if (isLastScreen && areAllTransactionsSigned) {\n const optionallyGuardedTransactions =\n await guardTransactions(signedTransactions);\n manager.closeUI();\n return resolve(optionallyGuardedTransactions);\n }\n\n onNext();\n } catch (error) {\n manager.closeUI();\n reject(error);\n }\n };\n\n const eventHandlersMap = new Map([\n [SignEventsEnum.NEXT, onNext],\n [SignEventsEnum.CONFIRM, onSign],\n [SignEventsEnum.CLOSE, onCancel],\n [SignEventsEnum.BACK, onBack],\n [SignEventsEnum.SET_PPU, onSetPpu]\n ]);\n\n function setupEventListeners() {\n for (const [event, handler] of eventHandlersMap) {\n manager.subscribeToEventBus(event, handler);\n }\n }\n\n setupEventListeners();\n await updateScreen();\n });\n}\n"],
|
|
5
|
-
"mappings": "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",
|
|
6
|
-
"names": ["signTransactions", "transactions", "handleSign", "guardTransactions", "address", "shard", "username", "getAccountInfo", "network", "networkSelector", "getState", "egldLabel", "getEgldLabel", "allTransactions", "parsedTransactionsByDataField", "getMultiEsdtTransferData", "signedIndexes", "manager", "SignTransactionsStateManager", "handleCancel", "cancelCrossWindowAction", "resolve", "reject", "signedTransactions", "economics", "getEconomics", "tx", "price", "currentScreenIndex", "updateScreen", "transaction", "currentNonce", "commonData", "tokenTransaction", "fungibleTransaction", "getCommonData", "error", "onBack", "onSetPpu", "ppu", "plainTransaction", "newGasPrice", "getRecommendedGasPrice", "newTransaction", "Transaction", "feeData", "getFeeData", "formattedGasPrice", "formatAmount", "DECIMALS", "DIGITS", "onCancel", "onNext", "onSign", "txNonce", "transactionToSign", "signedTxs", "isLastScreen", "allSignableTransactions", "areAllTransactionsSigned", "optionallyGuardedTransactions", "eventHandlersMap", "setupEventListeners", "event", "handler"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-TQA3JDNV.mjs";import{u as s}from"./chunk-3BAZ5IKF.mjs";import{e as a}from"./chunk-UERJ6AKK.mjs";function x(n){let e=s(),o=u(e),c=a(e),t=Object.keys(o).map(Number).reduce((r,m)=>{let i=o[m]?.transactions||[];return Math.max(r,...i.map(l=>l.nonce),0)},0);return t>0&&(t+=1),n==null?Math.max(t,c):Math.max(t||n.nonce,c)}export{x as a};
|
|
2
|
-
//# sourceMappingURL=chunk-MFYHPHET.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-RZNOYCZT.mjs";import{c as n}from"./chunk-3BAZ5IKF.mjs";async function c({loginToken:r,extraInfoData:i,address:e}){let o=await t({originalLoginToken:r,extraInfoData:i,address:e});return o.modifiedLoginToken&&n(o.modifiedLoginToken),o.address}export{c as a};
|
|
2
|
-
//# sourceMappingURL=chunk-NSF7L6H7.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-QET2OLJT.mjs";function t(){if(!e)return"";try{if(e.document.referrer)return new URL(e.document.referrer).origin;let r=e.location.ancestorOrigins;return r.length<1?"":new URL(r[r.length-1]).origin}catch(r){return console.error(r),""}}export{t as a};
|
|
2
|
-
//# sourceMappingURL=chunk-WEQQ52VT.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/window/getWindowParentOrigin.ts"],
|
|
4
|
-
"sourcesContent": ["import { safeWindow } from 'constants/window.constants';\n\nexport function getWindowParentOrigin() {\n if (!safeWindow) {\n return '';\n }\n\n try {\n if (safeWindow.document.referrer) {\n return new URL(safeWindow.document.referrer).origin;\n }\n\n const ancestorOrigins = safeWindow.location.ancestorOrigins;\n\n if (ancestorOrigins.length < 1) {\n return '';\n }\n\n return new URL(ancestorOrigins[ancestorOrigins.length - 1]).origin;\n } catch (e) {\n console.error(e);\n return '';\n }\n}\n"],
|
|
5
|
-
"mappings": "yCAEO,SAASA,GAAwB,CACtC,GAAI,CAACC,EACH,MAAO,GAGT,GAAI,CACF,GAAIA,EAAW,SAAS,SACtB,OAAO,IAAI,IAAIA,EAAW,SAAS,QAAQ,EAAE,OAG/C,IAAMC,EAAkBD,EAAW,SAAS,gBAE5C,OAAIC,EAAgB,OAAS,EACpB,GAGF,IAAI,IAAIA,EAAgBA,EAAgB,OAAS,CAAC,CAAC,EAAE,MAC9D,OAASC,EAAG,CACV,eAAQ,MAAMA,CAAC,EACR,EACT,CACF",
|
|
6
|
-
"names": ["getWindowParentOrigin", "safeWindow", "ancestorOrigins", "e"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-EHWT3WER.mjs";import{a as t}from"./chunk-2AIOZ7AI.mjs";var s=class extends n{constructor({uiDataUpdateEvent:e,uiTag:i}){super({uiDataUpdateEvent:e,uiTag:i});this.isOpen=!1;this.data=this.getInitialData()}async openUI(){this.isOpen&&this.uiElement||(await super.init(),this.setIsSidePanelOpen(!0))}async destroy(){this.setIsSidePanelOpen(!1),await this.uiElement?.closeWithAnimation?.(),super.destroy()}closeUI(){this.resetData(),this.destroy()}setIsSidePanelOpen(e){this.isOpen=e,t(e)}};export{s as a};
|
|
2
|
-
//# sourceMappingURL=chunk-WM2ARQV6.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var o={providerType:null,walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,loginExpiresAt:null};function n(){return()=>o}var e=n();export{o as a,e as b};
|
|
2
|
-
//# sourceMappingURL=chunk-X4XULIVT.mjs.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|