@multiversx/sdk-dapp 5.5.2 → 5.6.1
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/README.md +3 -0
- package/out/__chunks__/{chunk-5MYF4FXA.mjs → chunk-2DW7TQJ7.mjs} +2 -2
- package/out/__chunks__/{chunk-XTMUHTQL.mjs → chunk-2NIE3WNK.mjs} +2 -2
- package/out/__chunks__/{chunk-HAASOAIF.mjs → chunk-2PJP3H72.mjs} +2 -2
- package/out/__chunks__/{chunk-GXQ2T4I6.mjs → chunk-2S5WHIFT.mjs} +2 -2
- package/out/__chunks__/{chunk-F3BH7APK.mjs → chunk-2XGFPNHN.mjs} +2 -2
- package/out/__chunks__/{chunk-M4UKLRRZ.mjs → chunk-3AYP4TKJ.mjs} +2 -2
- package/out/__chunks__/{chunk-PUJ6U5VY.mjs → chunk-3VJNYMSP.mjs} +2 -2
- package/out/__chunks__/{chunk-CN7Q4PAK.mjs → chunk-3XGEELWS.mjs} +2 -2
- package/out/__chunks__/{chunk-PSVVUUWE.mjs → chunk-4KA3OVFJ.mjs} +2 -2
- package/out/__chunks__/chunk-4U4NN2BV.mjs +2 -0
- package/out/__chunks__/{chunk-56LVHY6G.mjs → chunk-57EKOYML.mjs} +2 -2
- package/out/__chunks__/{chunk-LXOBPUVH.mjs → chunk-5CTCDH76.mjs} +2 -2
- package/out/__chunks__/{chunk-6P4UYDEH.mjs → chunk-5ETHXOLQ.mjs} +2 -2
- package/out/__chunks__/{chunk-PBMBPWBN.mjs → chunk-5MF4CGC2.mjs} +2 -2
- package/out/__chunks__/{chunk-4HRP3IO5.mjs → chunk-5MIUR7TV.mjs} +2 -2
- package/out/__chunks__/chunk-5UOXJCVE.mjs +2 -0
- package/out/__chunks__/{chunk-NXT4VIRT.mjs.map → chunk-5UOXJCVE.mjs.map} +1 -1
- package/out/__chunks__/{chunk-6NXXKXQD.mjs → chunk-75FZNOHX.mjs} +2 -2
- package/out/__chunks__/chunk-7KZRDBRD.mjs +2 -0
- package/out/__chunks__/{chunk-JKJQPTXA.mjs → chunk-AUUO3J3I.mjs} +2 -2
- package/out/__chunks__/{chunk-MHQ5LO3X.mjs → chunk-B2YN2K4Y.mjs} +2 -2
- package/out/__chunks__/{chunk-XII5X5WW.mjs → chunk-B7W4YLNC.mjs} +2 -2
- package/out/__chunks__/{chunk-AWBM2UZB.mjs → chunk-C7JC6X43.mjs} +2 -2
- package/out/__chunks__/{chunk-DBCUOZVQ.mjs → chunk-CEEQLHQZ.mjs} +2 -2
- package/out/__chunks__/{chunk-CWU7HLWJ.mjs → chunk-CSBQZF3J.mjs} +2 -2
- package/out/__chunks__/chunk-D4TXTRNG.mjs +2 -0
- package/out/__chunks__/chunk-D4TXTRNG.mjs.map +7 -0
- package/out/__chunks__/chunk-D7EX7MUQ.mjs +2 -0
- package/out/__chunks__/chunk-DIRAY5XU.mjs +2 -0
- package/out/__chunks__/{chunk-AMO7KAHJ.mjs → chunk-EKYWBNA4.mjs} +2 -2
- package/out/__chunks__/{chunk-ODZVKBRI.mjs → chunk-FE7JVDOF.mjs} +2 -2
- package/out/__chunks__/chunk-GI2BXTON.mjs +2 -0
- package/out/__chunks__/chunk-GNBEFY25.mjs +2 -0
- package/out/__chunks__/{chunk-AT3CRFXK.mjs → chunk-GYT3GRW7.mjs} +2 -2
- package/out/__chunks__/{chunk-UIHLSCDT.mjs → chunk-H7BMGYSW.mjs} +2 -2
- package/out/__chunks__/{chunk-VVYGAKV2.mjs → chunk-HCPI3NQP.mjs} +2 -2
- package/out/__chunks__/{chunk-AUNVKFIH.mjs → chunk-HQKLV6UC.mjs} +2 -2
- package/out/__chunks__/{chunk-N4ERTSXN.mjs → chunk-HSBPXEYO.mjs} +2 -2
- package/out/__chunks__/chunk-HX4LWMG4.mjs +2 -0
- package/out/__chunks__/{chunk-WF6WR5Q6.mjs → chunk-HZS3BVBK.mjs} +2 -2
- package/out/__chunks__/{chunk-SDXVVQQO.mjs → chunk-IBNTHQ5J.mjs} +2 -2
- package/out/__chunks__/chunk-IC7LTFNH.mjs +2 -0
- package/out/__chunks__/{chunk-E6HRB4NY.mjs → chunk-IE7KB5QA.mjs} +2 -2
- package/out/__chunks__/{chunk-JYGTD4Z6.mjs → chunk-JRQIDKAA.mjs} +1 -1
- package/out/__chunks__/chunk-JRQIDKAA.mjs.map +7 -0
- package/out/__chunks__/{chunk-PH4CXCVB.mjs → chunk-KSZ6KLOV.mjs} +2 -2
- package/out/__chunks__/{chunk-R5HLHBSG.mjs → chunk-KV2IW2CT.mjs} +2 -2
- package/out/__chunks__/chunk-KWVOWN7D.mjs +2 -0
- package/out/__chunks__/{chunk-X5WGNXA6.mjs → chunk-KX6CNV2K.mjs} +2 -2
- package/out/__chunks__/{chunk-D57AI24E.mjs → chunk-L53UGE2V.mjs} +2 -2
- package/out/__chunks__/{chunk-4RI5BDTQ.mjs → chunk-LLP256EY.mjs} +2 -2
- package/out/__chunks__/{chunk-7GT77JV3.mjs → chunk-M2CIC466.mjs} +2 -2
- package/out/__chunks__/{chunk-OHDFIRJV.mjs → chunk-M46Q3HDT.mjs} +2 -2
- package/out/__chunks__/{chunk-6GI4GJJM.mjs → chunk-MS4HJKFQ.mjs} +2 -2
- package/out/__chunks__/{chunk-3Q7KW43M.mjs → chunk-OEVIK4XL.mjs} +2 -2
- package/out/__chunks__/{chunk-HB272ZMK.mjs → chunk-OFCQKFNJ.mjs} +2 -2
- package/out/__chunks__/{chunk-YOYBYWNH.mjs → chunk-OQ7JOMPY.mjs} +2 -2
- package/out/__chunks__/{chunk-ERZNTTM4.mjs → chunk-OZHVKT7L.mjs} +2 -2
- package/out/__chunks__/{chunk-XG6USU6W.mjs → chunk-PSMZAY5L.mjs} +2 -2
- package/out/__chunks__/{chunk-SUY52XEJ.mjs → chunk-Q55HCS7B.mjs} +2 -2
- package/out/__chunks__/chunk-QVSS57NF.mjs +2 -0
- package/out/__chunks__/{chunk-IDX37YNY.mjs → chunk-R4PQZ3KR.mjs} +2 -2
- package/out/__chunks__/{chunk-JFZRSL4X.mjs → chunk-RQA4GYJ2.mjs} +2 -2
- package/out/__chunks__/{chunk-TGXFOUA3.mjs → chunk-RVNLIKEM.mjs} +2 -2
- package/out/__chunks__/{chunk-FS7DIHGE.mjs → chunk-S56636YA.mjs} +2 -2
- package/out/__chunks__/{chunk-FBEZG2HT.mjs → chunk-S6Z7SK4I.mjs} +2 -2
- package/out/__chunks__/{chunk-RO4EUTX6.mjs → chunk-SIS54TKT.mjs} +2 -2
- package/out/__chunks__/{chunk-2M2GV2W7.mjs → chunk-T4B7EPFP.mjs} +2 -2
- package/out/__chunks__/{chunk-ALXWQ4AW.mjs → chunk-THWJWM3U.mjs} +2 -2
- package/out/__chunks__/chunk-TOTEIAZR.mjs +2 -0
- package/out/__chunks__/{chunk-QPFZOAPW.mjs → chunk-TRTXNUSR.mjs} +2 -2
- package/out/__chunks__/{chunk-KOLUKI2M.mjs → chunk-TSXYRZYR.mjs} +2 -2
- package/out/__chunks__/{chunk-WQ2UDBF5.mjs → chunk-TUY5CCZR.mjs} +2 -2
- package/out/__chunks__/{chunk-OM4WELDA.mjs → chunk-UGOYRSVR.mjs} +2 -2
- package/out/__chunks__/{chunk-FEH7HYZ7.mjs → chunk-UPPVQNFF.mjs} +2 -2
- package/out/__chunks__/{chunk-7KLR4KNT.mjs → chunk-UUT43IJZ.mjs} +2 -2
- package/out/__chunks__/chunk-VCFLLUN2.mjs +2 -0
- package/out/__chunks__/{chunk-THMOVML2.mjs → chunk-VNO3UPYV.mjs} +2 -2
- package/out/__chunks__/{chunk-7YPNGNL4.mjs → chunk-VQCBZHSJ.mjs} +2 -2
- package/out/__chunks__/{chunk-55IS6LOB.mjs → chunk-W4PB2EPE.mjs} +2 -2
- package/out/__chunks__/{chunk-DFFL2BRF.mjs → chunk-WDKKHXUY.mjs} +2 -2
- package/out/__chunks__/{chunk-JMAPPHO2.mjs → chunk-WO45TI6N.mjs} +2 -2
- package/out/__chunks__/chunk-XDV6WH5M.mjs +2 -0
- package/out/__chunks__/{chunk-VPPZKEMN.mjs → chunk-XMZ5CAST.mjs} +2 -2
- package/out/__chunks__/chunk-XPRJTAQX.mjs +2 -0
- package/out/__chunks__/{chunk-XN7FWSH5.mjs → chunk-YEBTFFUW.mjs} +2 -2
- package/out/__chunks__/{chunk-NJNDC4GE.mjs → chunk-YKGVZIZL.mjs} +2 -2
- package/out/__chunks__/{chunk-7UQUNW33.mjs → chunk-YSJOMOP6.mjs} +2 -2
- package/out/__chunks__/{chunk-ANNRMKCC.mjs → chunk-YZ4QKLL4.mjs} +2 -2
- package/out/__chunks__/{chunk-YTNNUNXA.mjs → chunk-Z7OIZBTP.mjs} +2 -2
- package/out/__chunks__/{chunk-5GSVYADK.mjs → chunk-ZG72FAAC.mjs} +2 -2
- package/out/__chunks__/{chunk-EFUAR4GY.mjs → chunk-ZHLQ6ML2.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- 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/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.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/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/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/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.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.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +1 -0
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +12 -2
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
- package/out/managers/UnlockPanelManager/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.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/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/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.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.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.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/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.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/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/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.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/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/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/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/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/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/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.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.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/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/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/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/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/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.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/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/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.mjs +1 -1
- package/package.json +1 -1
- package/out/__chunks__/chunk-3CO6LABA.mjs +0 -2
- package/out/__chunks__/chunk-3OH4D5BR.mjs +0 -2
- package/out/__chunks__/chunk-4BOBCAS4.mjs +0 -2
- package/out/__chunks__/chunk-5TP23QQT.mjs +0 -2
- package/out/__chunks__/chunk-ABH5J67J.mjs +0 -2
- package/out/__chunks__/chunk-AN2Y2R26.mjs +0 -2
- package/out/__chunks__/chunk-CFERWTQA.mjs +0 -2
- package/out/__chunks__/chunk-HC6I7WWS.mjs +0 -2
- package/out/__chunks__/chunk-HOW7OPIZ.mjs +0 -2
- package/out/__chunks__/chunk-IODERSYI.mjs +0 -2
- package/out/__chunks__/chunk-JYGTD4Z6.mjs.map +0 -7
- package/out/__chunks__/chunk-L2CFZJIP.mjs +0 -2
- package/out/__chunks__/chunk-NXT4VIRT.mjs +0 -2
- package/out/__chunks__/chunk-PF5D2RX6.mjs +0 -2
- package/out/__chunks__/chunk-PF5D2RX6.mjs.map +0 -7
- package/out/__chunks__/chunk-T37IWTKY.mjs +0 -2
- package/out/__chunks__/chunk-TMSAOTEB.mjs +0 -2
- package/out/__chunks__/chunk-WIE353OP.mjs +0 -2
- /package/out/__chunks__/{chunk-5MYF4FXA.mjs.map → chunk-2DW7TQJ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XTMUHTQL.mjs.map → chunk-2NIE3WNK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HAASOAIF.mjs.map → chunk-2PJP3H72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GXQ2T4I6.mjs.map → chunk-2S5WHIFT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F3BH7APK.mjs.map → chunk-2XGFPNHN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M4UKLRRZ.mjs.map → chunk-3AYP4TKJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PUJ6U5VY.mjs.map → chunk-3VJNYMSP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CN7Q4PAK.mjs.map → chunk-3XGEELWS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PSVVUUWE.mjs.map → chunk-4KA3OVFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WIE353OP.mjs.map → chunk-4U4NN2BV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-56LVHY6G.mjs.map → chunk-57EKOYML.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LXOBPUVH.mjs.map → chunk-5CTCDH76.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6P4UYDEH.mjs.map → chunk-5ETHXOLQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PBMBPWBN.mjs.map → chunk-5MF4CGC2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4HRP3IO5.mjs.map → chunk-5MIUR7TV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6NXXKXQD.mjs.map → chunk-75FZNOHX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ABH5J67J.mjs.map → chunk-7KZRDBRD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JKJQPTXA.mjs.map → chunk-AUUO3J3I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MHQ5LO3X.mjs.map → chunk-B2YN2K4Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XII5X5WW.mjs.map → chunk-B7W4YLNC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWBM2UZB.mjs.map → chunk-C7JC6X43.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DBCUOZVQ.mjs.map → chunk-CEEQLHQZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CWU7HLWJ.mjs.map → chunk-CSBQZF3J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4BOBCAS4.mjs.map → chunk-D7EX7MUQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AN2Y2R26.mjs.map → chunk-DIRAY5XU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AMO7KAHJ.mjs.map → chunk-EKYWBNA4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ODZVKBRI.mjs.map → chunk-FE7JVDOF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HC6I7WWS.mjs.map → chunk-GI2BXTON.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IODERSYI.mjs.map → chunk-GNBEFY25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AT3CRFXK.mjs.map → chunk-GYT3GRW7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UIHLSCDT.mjs.map → chunk-H7BMGYSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VVYGAKV2.mjs.map → chunk-HCPI3NQP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AUNVKFIH.mjs.map → chunk-HQKLV6UC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N4ERTSXN.mjs.map → chunk-HSBPXEYO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TMSAOTEB.mjs.map → chunk-HX4LWMG4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WF6WR5Q6.mjs.map → chunk-HZS3BVBK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SDXVVQQO.mjs.map → chunk-IBNTHQ5J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CFERWTQA.mjs.map → chunk-IC7LTFNH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E6HRB4NY.mjs.map → chunk-IE7KB5QA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PH4CXCVB.mjs.map → chunk-KSZ6KLOV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R5HLHBSG.mjs.map → chunk-KV2IW2CT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L2CFZJIP.mjs.map → chunk-KWVOWN7D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X5WGNXA6.mjs.map → chunk-KX6CNV2K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D57AI24E.mjs.map → chunk-L53UGE2V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4RI5BDTQ.mjs.map → chunk-LLP256EY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7GT77JV3.mjs.map → chunk-M2CIC466.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OHDFIRJV.mjs.map → chunk-M46Q3HDT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6GI4GJJM.mjs.map → chunk-MS4HJKFQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3Q7KW43M.mjs.map → chunk-OEVIK4XL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HB272ZMK.mjs.map → chunk-OFCQKFNJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YOYBYWNH.mjs.map → chunk-OQ7JOMPY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ERZNTTM4.mjs.map → chunk-OZHVKT7L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XG6USU6W.mjs.map → chunk-PSMZAY5L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SUY52XEJ.mjs.map → chunk-Q55HCS7B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HOW7OPIZ.mjs.map → chunk-QVSS57NF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IDX37YNY.mjs.map → chunk-R4PQZ3KR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JFZRSL4X.mjs.map → chunk-RQA4GYJ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TGXFOUA3.mjs.map → chunk-RVNLIKEM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FS7DIHGE.mjs.map → chunk-S56636YA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FBEZG2HT.mjs.map → chunk-S6Z7SK4I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RO4EUTX6.mjs.map → chunk-SIS54TKT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2M2GV2W7.mjs.map → chunk-T4B7EPFP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ALXWQ4AW.mjs.map → chunk-THWJWM3U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3CO6LABA.mjs.map → chunk-TOTEIAZR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QPFZOAPW.mjs.map → chunk-TRTXNUSR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KOLUKI2M.mjs.map → chunk-TSXYRZYR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WQ2UDBF5.mjs.map → chunk-TUY5CCZR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OM4WELDA.mjs.map → chunk-UGOYRSVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FEH7HYZ7.mjs.map → chunk-UPPVQNFF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7KLR4KNT.mjs.map → chunk-UUT43IJZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T37IWTKY.mjs.map → chunk-VCFLLUN2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-THMOVML2.mjs.map → chunk-VNO3UPYV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7YPNGNL4.mjs.map → chunk-VQCBZHSJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-55IS6LOB.mjs.map → chunk-W4PB2EPE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DFFL2BRF.mjs.map → chunk-WDKKHXUY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JMAPPHO2.mjs.map → chunk-WO45TI6N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5TP23QQT.mjs.map → chunk-XDV6WH5M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VPPZKEMN.mjs.map → chunk-XMZ5CAST.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3OH4D5BR.mjs.map → chunk-XPRJTAQX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XN7FWSH5.mjs.map → chunk-YEBTFFUW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJNDC4GE.mjs.map → chunk-YKGVZIZL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7UQUNW33.mjs.map → chunk-YSJOMOP6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ANNRMKCC.mjs.map → chunk-YZ4QKLL4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YTNNUNXA.mjs.map → chunk-Z7OIZBTP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5GSVYADK.mjs.map → chunk-ZG72FAAC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EFUAR4GY.mjs.map → chunk-ZHLQ6ML2.mjs.map} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-YOYBYWNH.mjs";import{c as n}from"./chunk-56LVHY6G.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-5TP23QQT.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.types.ts"],
|
|
4
|
-
"sourcesContent": ["import {\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\n\nexport enum UnlockPanelEventsEnum {\n OPEN = 'OPEN',\n CLOSE = 'CLOSE',\n LOGIN = 'LOGIN',\n CANCEL_LOGIN = 'CANCEL_LOGIN',\n CANCEL_IN_PROVIDER = 'CANCEL_IN_PROVIDER',\n SELECT_PROVIDER = 'SELECT_PROVIDER',\n /**\n * User clicks Close button inside mounted provider\n */\n ANCHOR_CLOSE = 'ANCHOR_CLOSE'\n}\n\nexport type LoginFunctonType = ({\n type,\n anchor\n}: IProviderFactory) => Promise<void>;\n\nexport type LoginCallbackType = () => void;\n\nexport type LoginHandlerType = LoginFunctonType | LoginCallbackType;\nexport type OnCloseUnlockPanelType = () => void;\n\nexport type UnlockPanelManagerInitParamsType = {\n /**\n * Accepts:\n * - 1\uFE0F\u20E3 a `callback` that is executed after login is performed\n * - 2\uFE0F\u20E3 a `function` that handles the full login process\n * @example\n * ```ts\n * // 1\uFE0F\u20E3 callback\n () => {\n navigate('/dashboard');\n };\n // 2\uFE0F\u20E3 login handler function\n async ({ type, anchor }: IProviderFactory) => {\n const provider = await ProviderFactory.create({\n type,\n anchor\n });\n await provider?.login();\n navigate('/dashboard');\n };\n * ```\n */\n loginHandler: LoginHandlerType;\n /**\n * Controls which providers are shown in the unlock panel. By default, all providers are shown.\n * Editing this property will allow you to:\n * - Hide specific providers\n * - Show only specific providers\n * - Reorder the providers\n * @example\n * ```ts\n * allowedProviders: [ProviderTypeEnum.walletConnect, 'inMemoryProvider']\n * ```\n */\n allowedProviders?: ProviderType[];\n /**\n * Callback function to handle UI behavior when the unlock panel is closed\n * without completing the login process.\n *\n * Common use case: redirecting the user away from the `/unlock` route\n * (e.g., back to the homepage or a previous screen) when login is cancelled or skipped.\n * \n * @example\n * ```ts\n onClose: () => {\n navigate('/');\n }\n * ```\n */\n onClose?: OnCloseUnlockPanelType;\n};\n"],
|
|
5
|
-
"mappings": "AAKO,IAAKA,OACVA,EAAA,KAAO,OACPA,EAAA,MAAQ,QACRA,EAAA,MAAQ,QACRA,EAAA,aAAe,eACfA,EAAA,mBAAqB,qBACrBA,EAAA,gBAAkB,kBAIlBA,EAAA,aAAe,eAVLA,OAAA",
|
|
6
|
-
"names": ["UnlockPanelEventsEnum"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-EFUAR4GY.mjs";import{a as l}from"./chunk-TGXFOUA3.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-56LVHY6G.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
|
|
2
|
-
//# sourceMappingURL=chunk-PF5D2RX6.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
|
|
4
|
-
"sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n public selectProvider = (providerType: ProviderType) => {\n if (!this.eventBus) {\n throw new Error('Panel not initialized. Call openUnlockPanel() first.');\n }\n\n this.eventBus.publish(UnlockPanelEventsEnum.SELECT_PROVIDER, {\n providerType\n });\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
|
|
5
|
-
"mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAO,eAAkBM,GAA+B,CACtD,GAAI,CAAC,KAAK,SACR,MAAM,IAAI,MAAM,sDAAsD,EAGxE,KAAK,SAAS,0BAA+C,CAC3D,aAAAA,CACF,CAAC,CACH,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOC,GAElC,CACA,CAACA,GAAS,iBAAmBT,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAU,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACX,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEY,EAAyBZ,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAG,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBX,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAU,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAMN,EAAgB,QAAQ,CAChC,EAlGE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKc,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAgFF,EAxHad,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMe,EAANf",
|
|
6
|
-
"names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "providerType", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
|
|
7
|
-
}
|
|
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
|
|
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
|