@multiversx/sdk-dapp 5.0.0-alpha.14 → 5.0.0-alpha.16
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 +24 -22
- package/out/__chunks__/{chunk-EZTYSZGL.mjs → chunk-22WRFZHZ.mjs} +2 -2
- package/out/__chunks__/{chunk-YXNXSK5J.mjs → chunk-27VTB7II.mjs} +2 -2
- package/out/__chunks__/{chunk-YXNXSK5J.mjs.map → chunk-27VTB7II.mjs.map} +2 -2
- package/out/__chunks__/{chunk-O7FXZNDF.mjs → chunk-2FKKBSB4.mjs} +2 -2
- package/out/__chunks__/{chunk-JN4ENKZ6.mjs → chunk-33NGD6LW.mjs} +2 -2
- package/out/__chunks__/{chunk-K66JLLVW.mjs → chunk-3EEDALSW.mjs} +2 -2
- package/out/__chunks__/{chunk-QY5O4PX2.mjs → chunk-3LZAM52Q.mjs} +2 -2
- package/out/__chunks__/chunk-45SUU3H5.mjs +2 -0
- package/out/__chunks__/{chunk-ISQDJSDA.mjs → chunk-465RHWQ5.mjs} +2 -2
- package/out/__chunks__/{chunk-FEBWXMEQ.mjs → chunk-4VFF2EHB.mjs} +2 -2
- package/out/__chunks__/{chunk-K6K2SOWR.mjs → chunk-52VQSACM.mjs} +2 -2
- package/out/__chunks__/{chunk-6IQVZPSC.mjs → chunk-5CDLB7VW.mjs} +2 -2
- package/out/__chunks__/{chunk-5AFXH6GE.mjs → chunk-5JZI77YI.mjs} +2 -2
- package/out/__chunks__/{chunk-SPVT5OQ4.mjs → chunk-5R3VZX6E.mjs} +2 -2
- package/out/__chunks__/{chunk-LZW6D5GQ.mjs → chunk-5SUSXTTZ.mjs} +2 -2
- package/out/__chunks__/{chunk-EWT7FW5B.mjs → chunk-5V3N4MOZ.mjs} +2 -2
- package/out/__chunks__/{chunk-Z6RETW2C.mjs → chunk-5VAGLG3Y.mjs} +2 -2
- package/out/__chunks__/{chunk-2E7KLTVM.mjs → chunk-6FIRQBP7.mjs} +2 -2
- package/out/__chunks__/chunk-6J4LMQ4Z.mjs +2 -0
- package/out/__chunks__/{chunk-RWZQKTSO.mjs → chunk-6KI6UL6C.mjs} +2 -2
- package/out/__chunks__/chunk-6MDV4CER.mjs +2 -0
- package/out/__chunks__/{chunk-GYUFALJV.mjs → chunk-6NRL7OLL.mjs} +2 -2
- package/out/__chunks__/{chunk-K6KK466Z.mjs → chunk-72VJ6ESJ.mjs} +2 -2
- package/out/__chunks__/chunk-ARJZ4W7T.mjs +2 -0
- package/out/__chunks__/{chunk-EGTBRUST.mjs → chunk-ATEXXLUV.mjs} +2 -2
- package/out/__chunks__/chunk-B4RZU4FG.mjs +2 -0
- package/out/__chunks__/chunk-BKGXNJT5.mjs +2 -0
- package/out/__chunks__/{chunk-RIQNG4I7.mjs → chunk-BNVOP5SM.mjs} +2 -2
- package/out/__chunks__/{chunk-FO3JMB6I.mjs → chunk-C5VJMWLU.mjs} +2 -2
- package/out/__chunks__/chunk-CKTFPRJS.mjs +2 -0
- package/out/__chunks__/chunk-CKTFPRJS.mjs.map +7 -0
- package/out/__chunks__/chunk-CUBNX4ZT.mjs +2 -0
- package/out/__chunks__/{chunk-AIDEMTSX.mjs.map → chunk-CUBNX4ZT.mjs.map} +1 -1
- package/out/__chunks__/{chunk-PFCHZJJO.mjs → chunk-EBWZONUV.mjs} +2 -2
- package/out/__chunks__/{chunk-5FEICWMB.mjs → chunk-ECZH2TNF.mjs} +2 -2
- package/out/__chunks__/{chunk-LNZQ2M65.mjs → chunk-ESC2Z53Z.mjs} +2 -2
- package/out/__chunks__/{chunk-7UYT6KTI.mjs → chunk-EXMSBG6B.mjs} +2 -2
- package/out/__chunks__/{chunk-HYRRZX3A.mjs → chunk-F7YJNEFJ.mjs} +2 -2
- package/out/__chunks__/{chunk-SQ4KCFCC.mjs → chunk-FXVMPOC7.mjs} +2 -2
- package/out/__chunks__/chunk-GLDB2NRB.mjs +2 -0
- package/out/__chunks__/chunk-GWVYPYNB.mjs +2 -0
- package/out/__chunks__/{chunk-445KR45K.mjs → chunk-GZUFMNUL.mjs} +2 -2
- package/out/__chunks__/{chunk-HUQ6AJBO.mjs → chunk-H6SRZM4T.mjs} +2 -2
- package/out/__chunks__/{chunk-ZTSHJT5H.mjs → chunk-I4KPP4PH.mjs} +2 -2
- package/out/__chunks__/{chunk-BVKXSTQF.mjs → chunk-ID6KUNJA.mjs} +2 -2
- package/out/__chunks__/chunk-IQADSDGP.mjs +2 -0
- package/out/__chunks__/chunk-JPOJ7DHM.mjs +2 -0
- package/out/__chunks__/chunk-JPOJ7DHM.mjs.map +7 -0
- package/out/__chunks__/{chunk-PXMPUIUL.mjs → chunk-KCP2UWHU.mjs} +2 -2
- package/out/__chunks__/{chunk-PZLVK2W5.mjs → chunk-KDIJXWH3.mjs} +2 -2
- package/out/__chunks__/chunk-KYWMUINZ.mjs +2 -0
- package/out/__chunks__/{chunk-KYJF7WU3.mjs → chunk-LDM4KVJG.mjs} +2 -2
- package/out/__chunks__/{chunk-XKQ7QLV3.mjs → chunk-LDUJ24G3.mjs} +2 -2
- package/out/__chunks__/{chunk-A77C5T7Q.mjs → chunk-LO6RI4RO.mjs} +2 -2
- package/out/__chunks__/chunk-MAY7DC6U.mjs +2 -0
- package/out/__chunks__/chunk-MAY7DC6U.mjs.map +7 -0
- package/out/__chunks__/{chunk-ZB22PQZV.mjs → chunk-NAVK4GNG.mjs} +2 -2
- package/out/__chunks__/{chunk-TKORCVYO.mjs → chunk-NJ276HWT.mjs} +2 -2
- package/out/__chunks__/{chunk-RJZOP6PK.mjs → chunk-NQMOKUJK.mjs} +2 -2
- package/out/__chunks__/{chunk-4DI7PQFP.mjs → chunk-P5OSWL4G.mjs} +2 -2
- package/out/__chunks__/{chunk-WR5VO5DQ.mjs → chunk-PE4P3KI6.mjs} +2 -2
- package/out/__chunks__/chunk-PNPUIES4.mjs +2 -0
- package/out/__chunks__/{chunk-SXXJRX5W.mjs → chunk-QCXQJ5YM.mjs} +2 -2
- package/out/__chunks__/{chunk-2MRUGIDM.mjs → chunk-ROLT7YVP.mjs} +2 -2
- package/out/__chunks__/{chunk-5YVI2NQR.mjs → chunk-RTTFUTCM.mjs} +2 -2
- package/out/__chunks__/chunk-RVO7H26H.mjs +2 -0
- package/out/__chunks__/chunk-RVO7H26H.mjs.map +7 -0
- package/out/__chunks__/chunk-S4ZDWFIY.mjs +2 -0
- package/out/__chunks__/{chunk-32BLYKZG.mjs → chunk-S7TUDNXQ.mjs} +2 -2
- package/out/__chunks__/{chunk-MTBXLPH7.mjs → chunk-SRHVF3CF.mjs} +2 -2
- package/out/__chunks__/{chunk-IBIFKTAD.mjs → chunk-T3EPK6N7.mjs} +2 -2
- package/out/__chunks__/{chunk-WLQ2BIPH.mjs → chunk-TJN2VTAD.mjs} +2 -2
- package/out/__chunks__/chunk-TUDSXSJ7.mjs +2 -0
- package/out/__chunks__/chunk-UK4SUJCE.mjs +2 -0
- package/out/__chunks__/{chunk-INLU2YOE.mjs → chunk-URLVAGF2.mjs} +2 -2
- package/out/__chunks__/{chunk-OB6ULJEV.mjs → chunk-V63MHRY7.mjs} +2 -2
- package/out/__chunks__/chunk-VEXXDADK.mjs +2 -0
- package/out/__chunks__/chunk-VHZCEPGZ.mjs +2 -0
- package/out/__chunks__/chunk-VHZCEPGZ.mjs.map +7 -0
- package/out/__chunks__/{chunk-X4TJQCRA.mjs → chunk-X5E2DC6M.mjs} +2 -2
- package/out/__chunks__/{chunk-JTE52R3D.mjs → chunk-X5JDKLIV.mjs} +2 -2
- package/out/__chunks__/chunk-XFV5VRHE.mjs +2 -0
- package/out/__chunks__/chunk-XFV5VRHE.mjs.map +7 -0
- package/out/__chunks__/{chunk-SS6PDIDN.mjs → chunk-XO3OXUDH.mjs} +2 -2
- package/out/__chunks__/chunk-XSEV6HR5.mjs +2 -0
- package/out/__chunks__/{chunk-HL3U3QQR.mjs → chunk-Y7BIC4GU.mjs} +2 -2
- package/out/__chunks__/chunk-YYW6XBAT.mjs +2 -0
- package/out/__chunks__/{chunk-NCH5TP7V.mjs → chunk-YZKMFI3Y.mjs} +2 -2
- package/out/__chunks__/{chunk-SJEC4QGU.mjs → chunk-ZCMSJEI4.mjs} +2 -2
- package/out/__chunks__/chunk-ZCNHQY2S.mjs +2 -0
- package/out/__mocks__/accountConfig.mjs +1 -1
- package/out/__mocks__/index.mjs +1 -1
- package/out/__mocks__/server.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/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.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/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/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.js +1 -3
- package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +12 -5
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js.map +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.types.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.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/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.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/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.mjs +1 -1
- package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/initApp.js +2 -2
- package/out/methods/initApp/initApp.js.map +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +2 -2
- 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/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/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/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.js +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js.map +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.js +27 -20
- package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +1 -1
- 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.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/helpers/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.d.ts +2 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js +12 -5
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js.map +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.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/selectors/index.mjs +1 -1
- package/out/store/slices/index.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/types/index.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/index.d.ts +1 -0
- package/out/utils/account/index.js +1 -0
- package/out/utils/account/index.js.map +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/{core/providers/DappProvider/helpers/login/helpers → utils/account}/refreshNativeAuthTokenLogin.d.ts +2 -2
- package/out/{core/providers/DappProvider/helpers/login/helpers → utils/account}/refreshNativeAuthTokenLogin.js +6 -9
- package/out/utils/account/refreshNativeAuthTokenLogin.js.map +1 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +2 -0
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +7 -0
- package/out/utils/index.mjs +1 -1
- 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/getTransactionAsset.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/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.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/getWindowLocation.js +7 -1
- package/out/utils/window/getWindowLocation.js.map +1 -1
- package/out/utils/window/getWindowLocation.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +2 -2
- package/out/__chunks__/chunk-26OSAWCY.mjs +0 -2
- package/out/__chunks__/chunk-2AK3JMSZ.mjs +0 -2
- package/out/__chunks__/chunk-2HVZ5F32.mjs +0 -2
- package/out/__chunks__/chunk-2HVZ5F32.mjs.map +0 -7
- package/out/__chunks__/chunk-4F4TBUGV.mjs +0 -2
- package/out/__chunks__/chunk-6JD2RV7R.mjs +0 -2
- package/out/__chunks__/chunk-AIDEMTSX.mjs +0 -2
- package/out/__chunks__/chunk-DZYZMEIP.mjs +0 -2
- package/out/__chunks__/chunk-EEPC4DL4.mjs +0 -2
- package/out/__chunks__/chunk-GYKOIGBE.mjs +0 -2
- package/out/__chunks__/chunk-HQSRSRDM.mjs +0 -2
- package/out/__chunks__/chunk-HQSRSRDM.mjs.map +0 -7
- package/out/__chunks__/chunk-I6KLJQ6O.mjs +0 -2
- package/out/__chunks__/chunk-IMGZJVC6.mjs +0 -2
- package/out/__chunks__/chunk-IMGZJVC6.mjs.map +0 -7
- package/out/__chunks__/chunk-JHDJG624.mjs +0 -2
- package/out/__chunks__/chunk-JWW3XX4N.mjs +0 -2
- package/out/__chunks__/chunk-LRHRFWQ4.mjs +0 -2
- package/out/__chunks__/chunk-LRHRFWQ4.mjs.map +0 -7
- package/out/__chunks__/chunk-MMTACNKE.mjs +0 -2
- package/out/__chunks__/chunk-NJQKLGPR.mjs +0 -2
- package/out/__chunks__/chunk-QVJFFSJF.mjs +0 -2
- package/out/__chunks__/chunk-SJ34PIXB.mjs +0 -2
- package/out/__chunks__/chunk-SKITNSPD.mjs +0 -2
- package/out/__chunks__/chunk-V4SLVI67.mjs +0 -2
- package/out/__chunks__/chunk-XIOTX2GI.mjs +0 -2
- package/out/__chunks__/chunk-YB2E5WOO.mjs +0 -2
- package/out/__chunks__/chunk-YB2E5WOO.mjs.map +0 -7
- package/out/__chunks__/chunk-ZRPLCZ4L.mjs +0 -2
- package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.js.map +0 -1
- package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs +0 -2
- package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs.map +0 -7
- /package/out/__chunks__/{chunk-EZTYSZGL.mjs.map → chunk-22WRFZHZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O7FXZNDF.mjs.map → chunk-2FKKBSB4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JN4ENKZ6.mjs.map → chunk-33NGD6LW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K66JLLVW.mjs.map → chunk-3EEDALSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QY5O4PX2.mjs.map → chunk-3LZAM52Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2AK3JMSZ.mjs.map → chunk-45SUU3H5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ISQDJSDA.mjs.map → chunk-465RHWQ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FEBWXMEQ.mjs.map → chunk-4VFF2EHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K6K2SOWR.mjs.map → chunk-52VQSACM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6IQVZPSC.mjs.map → chunk-5CDLB7VW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AFXH6GE.mjs.map → chunk-5JZI77YI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SPVT5OQ4.mjs.map → chunk-5R3VZX6E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LZW6D5GQ.mjs.map → chunk-5SUSXTTZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EWT7FW5B.mjs.map → chunk-5V3N4MOZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z6RETW2C.mjs.map → chunk-5VAGLG3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2E7KLTVM.mjs.map → chunk-6FIRQBP7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZRPLCZ4L.mjs.map → chunk-6J4LMQ4Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RWZQKTSO.mjs.map → chunk-6KI6UL6C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GYKOIGBE.mjs.map → chunk-6MDV4CER.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GYUFALJV.mjs.map → chunk-6NRL7OLL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K6KK466Z.mjs.map → chunk-72VJ6ESJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6JD2RV7R.mjs.map → chunk-ARJZ4W7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EGTBRUST.mjs.map → chunk-ATEXXLUV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SJ34PIXB.mjs.map → chunk-B4RZU4FG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EEPC4DL4.mjs.map → chunk-BKGXNJT5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RIQNG4I7.mjs.map → chunk-BNVOP5SM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FO3JMB6I.mjs.map → chunk-C5VJMWLU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PFCHZJJO.mjs.map → chunk-EBWZONUV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FEICWMB.mjs.map → chunk-ECZH2TNF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LNZQ2M65.mjs.map → chunk-ESC2Z53Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7UYT6KTI.mjs.map → chunk-EXMSBG6B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HYRRZX3A.mjs.map → chunk-F7YJNEFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SQ4KCFCC.mjs.map → chunk-FXVMPOC7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JHDJG624.mjs.map → chunk-GLDB2NRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QVJFFSJF.mjs.map → chunk-GWVYPYNB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-445KR45K.mjs.map → chunk-GZUFMNUL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HUQ6AJBO.mjs.map → chunk-H6SRZM4T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZTSHJT5H.mjs.map → chunk-I4KPP4PH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BVKXSTQF.mjs.map → chunk-ID6KUNJA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V4SLVI67.mjs.map → chunk-IQADSDGP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PXMPUIUL.mjs.map → chunk-KCP2UWHU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PZLVK2W5.mjs.map → chunk-KDIJXWH3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MMTACNKE.mjs.map → chunk-KYWMUINZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KYJF7WU3.mjs.map → chunk-LDM4KVJG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XKQ7QLV3.mjs.map → chunk-LDUJ24G3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A77C5T7Q.mjs.map → chunk-LO6RI4RO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZB22PQZV.mjs.map → chunk-NAVK4GNG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TKORCVYO.mjs.map → chunk-NJ276HWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RJZOP6PK.mjs.map → chunk-NQMOKUJK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4DI7PQFP.mjs.map → chunk-P5OSWL4G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WR5VO5DQ.mjs.map → chunk-PE4P3KI6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JWW3XX4N.mjs.map → chunk-PNPUIES4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SXXJRX5W.mjs.map → chunk-QCXQJ5YM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2MRUGIDM.mjs.map → chunk-ROLT7YVP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5YVI2NQR.mjs.map → chunk-RTTFUTCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I6KLJQ6O.mjs.map → chunk-S4ZDWFIY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-32BLYKZG.mjs.map → chunk-S7TUDNXQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MTBXLPH7.mjs.map → chunk-SRHVF3CF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IBIFKTAD.mjs.map → chunk-T3EPK6N7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WLQ2BIPH.mjs.map → chunk-TJN2VTAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4F4TBUGV.mjs.map → chunk-TUDSXSJ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NJQKLGPR.mjs.map → chunk-UK4SUJCE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-INLU2YOE.mjs.map → chunk-URLVAGF2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OB6ULJEV.mjs.map → chunk-V63MHRY7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XIOTX2GI.mjs.map → chunk-VEXXDADK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-X4TJQCRA.mjs.map → chunk-X5E2DC6M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JTE52R3D.mjs.map → chunk-X5JDKLIV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SS6PDIDN.mjs.map → chunk-XO3OXUDH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-26OSAWCY.mjs.map → chunk-XSEV6HR5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HL3U3QQR.mjs.map → chunk-Y7BIC4GU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKITNSPD.mjs.map → chunk-YYW6XBAT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NCH5TP7V.mjs.map → chunk-YZKMFI3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SJEC4QGU.mjs.map → chunk-ZCMSJEI4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DZYZMEIP.mjs.map → chunk-ZCNHQY2S.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../../__chunks__/chunk-
|
|
1
|
+
import"../../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../../__chunks__/chunk-YZKMFI3Y.mjs";import"../../../../__chunks__/chunk-5R3VZX6E.mjs";import"../../../../__chunks__/chunk-NQMOKUJK.mjs";import"../../../../__chunks__/chunk-BKGXNJT5.mjs";import{a as f}from"../../../../__chunks__/chunk-LUDF7ZUR.mjs";import{b}from"../../../../__chunks__/chunk-LIPGE2RA.mjs";import"../../../../__chunks__/chunk-QSBLXZFC.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import{a}from"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as e}from"../../../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../../../__chunks__/chunk-KSKOSHYV.mjs";import"../../../../__chunks__/chunk-YB7AHPBR.mjs";import"../../../../__chunks__/chunk-DNHKXKYY.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as d}from"../../../../__chunks__/chunk-ISPRIGOE.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as c}from"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-6NRL7OLL.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-QJSB5NX4.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-IEJTMYFW.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-IQADSDGP.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-7BP53CXF.mjs";import"../../../../__chunks__/chunk-BRBIUWAW.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-BSWV5MEC.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-JR23TXKP.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-CUBNX4ZT.mjs";export{g as createTransactionsHistoryFromSessions,a as getReceiverData,c as getTransactionAmount,d as getTransactionAsset,h as mapServerTransactionsToListItems,f as mapTransactionToListItem,b as processTransactionAction,e as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-YZKMFI3Y.mjs";import"../../../../__chunks__/chunk-5R3VZX6E.mjs";import"../../../../__chunks__/chunk-NQMOKUJK.mjs";import"../../../../__chunks__/chunk-BKGXNJT5.mjs";import"../../../../__chunks__/chunk-LUDF7ZUR.mjs";import"../../../../__chunks__/chunk-LIPGE2RA.mjs";import"../../../../__chunks__/chunk-QSBLXZFC.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../../../__chunks__/chunk-KSKOSHYV.mjs";import"../../../../__chunks__/chunk-YB7AHPBR.mjs";import"../../../../__chunks__/chunk-DNHKXKYY.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-ISPRIGOE.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-6NRL7OLL.mjs";import"../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../__chunks__/chunk-QJSB5NX4.mjs";import"../../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../__chunks__/chunk-IEJTMYFW.mjs";import"../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../__chunks__/chunk-IQADSDGP.mjs";import"../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../__chunks__/chunk-7BP53CXF.mjs";import"../../../../__chunks__/chunk-BRBIUWAW.mjs";import"../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-BSWV5MEC.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-JR23TXKP.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../__chunks__/chunk-CUBNX4ZT.mjs";export{a as mapServerTransactionsToListItems};
|
|
2
2
|
//# sourceMappingURL=mapServerTransactionsToListItems.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../../../__chunks__/chunk-LUDF7ZUR.mjs";import"../../../../__chunks__/chunk-LIPGE2RA.mjs";import"../../../../__chunks__/chunk-QSBLXZFC.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../../../__chunks__/chunk-KSKOSHYV.mjs";import"../../../../__chunks__/chunk-YB7AHPBR.mjs";import"../../../../__chunks__/chunk-DNHKXKYY.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-ISPRIGOE.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-BSWV5MEC.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../../../__chunks__/chunk-LUDF7ZUR.mjs";import"../../../../__chunks__/chunk-LIPGE2RA.mjs";import"../../../../__chunks__/chunk-QSBLXZFC.mjs";import"../../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../../__chunks__/chunk-TX7PTLVP.mjs";import"../../../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../../../__chunks__/chunk-KSKOSHYV.mjs";import"../../../../__chunks__/chunk-YB7AHPBR.mjs";import"../../../../__chunks__/chunk-DNHKXKYY.mjs";import"../../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../../../__chunks__/chunk-ISPRIGOE.mjs";import"../../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../__chunks__/chunk-BSWV5MEC.mjs";import"../../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../../__chunks__/chunk-JR23TXKP.mjs";import"../../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../../__chunks__/chunk-GLXG5BES.mjs";export{a as mapTransactionToListItem};
|
|
2
2
|
//# sourceMappingURL=mapTransactionToListItem.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../../__chunks__/chunk-IXBWD6BF.mjs";import{a as i}from"../../../__chunks__/chunk-
|
|
1
|
+
import"../../../__chunks__/chunk-IXBWD6BF.mjs";import{a as i}from"../../../__chunks__/chunk-T3EPK6N7.mjs";import"../../../__chunks__/chunk-VCAWVAO5.mjs";import{a as g}from"../../../__chunks__/chunk-55W25Q35.mjs";import{a as h}from"../../../__chunks__/chunk-YZKMFI3Y.mjs";import"../../../__chunks__/chunk-5R3VZX6E.mjs";import"../../../__chunks__/chunk-NQMOKUJK.mjs";import"../../../__chunks__/chunk-BKGXNJT5.mjs";import{a as f}from"../../../__chunks__/chunk-LUDF7ZUR.mjs";import{b}from"../../../__chunks__/chunk-LIPGE2RA.mjs";import"../../../__chunks__/chunk-QSBLXZFC.mjs";import"../../../__chunks__/chunk-35MNP3LA.mjs";import"../../../__chunks__/chunk-TX7PTLVP.mjs";import{a}from"../../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as e}from"../../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../../__chunks__/chunk-KSKOSHYV.mjs";import"../../../__chunks__/chunk-YB7AHPBR.mjs";import"../../../__chunks__/chunk-DNHKXKYY.mjs";import"../../../__chunks__/chunk-HQQMSHTW.mjs";import"../../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as d}from"../../../__chunks__/chunk-ISPRIGOE.mjs";import"../../../__chunks__/chunk-HMHP5DPL.mjs";import"../../../__chunks__/chunk-54B3EIZC.mjs";import"../../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as c}from"../../../__chunks__/chunk-VDDXFGB2.mjs";import"../../../__chunks__/chunk-BRJNX4JF.mjs";import"../../../__chunks__/chunk-6NRL7OLL.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-QJSB5NX4.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-IEJTMYFW.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-IQADSDGP.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-7BP53CXF.mjs";import"../../../__chunks__/chunk-BRBIUWAW.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../__chunks__/chunk-DBIIY2TX.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-BSWV5MEC.mjs";import"../../../__chunks__/chunk-YUITECZ5.mjs";import"../../../__chunks__/chunk-2BSPSW6X.mjs";import"../../../__chunks__/chunk-JR23TXKP.mjs";import"../../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../../__chunks__/chunk-WZI2I6NX.mjs";import"../../../__chunks__/chunk-TVELGQIH.mjs";import"../../../__chunks__/chunk-OVXVICF7.mjs";import"../../../__chunks__/chunk-TI37DKBT.mjs";import"../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-CUBNX4ZT.mjs";export{g as createTransactionsHistoryFromSessions,a as getReceiverData,c as getTransactionAmount,d as getTransactionAsset,i as getTransactionsHistory,h as mapServerTransactionsToListItems,f as mapTransactionToListItem,b as processTransactionAction,e as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-6CQMLD25.mjs";import{a as c}from"../../__chunks__/chunk-B3IKUIRK.mjs";import{a as b}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-6CQMLD25.mjs";import{a as c}from"../../__chunks__/chunk-B3IKUIRK.mjs";import{a as b}from"../../__chunks__/chunk-ROLT7YVP.mjs";import"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import{a as l}from"../../__chunks__/chunk-T3EPK6N7.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import{a as j}from"../../__chunks__/chunk-55W25Q35.mjs";import{a as k}from"../../__chunks__/chunk-YZKMFI3Y.mjs";import"../../__chunks__/chunk-5R3VZX6E.mjs";import"../../__chunks__/chunk-NQMOKUJK.mjs";import"../../__chunks__/chunk-BKGXNJT5.mjs";import{a as i}from"../../__chunks__/chunk-LUDF7ZUR.mjs";import{b as e}from"../../__chunks__/chunk-LIPGE2RA.mjs";import"../../__chunks__/chunk-QSBLXZFC.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import{a as d}from"../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as h}from"../../__chunks__/chunk-3MWXXTQQ.mjs";import"../../__chunks__/chunk-KSKOSHYV.mjs";import"../../__chunks__/chunk-YB7AHPBR.mjs";import"../../__chunks__/chunk-DNHKXKYY.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as g}from"../../__chunks__/chunk-ISPRIGOE.mjs";import"../../__chunks__/chunk-HMHP5DPL.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as f}from"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import"../../__chunks__/chunk-6NRL7OLL.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-QJSB5NX4.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-IEJTMYFW.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-IQADSDGP.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-7BP53CXF.mjs";import"../../__chunks__/chunk-BRBIUWAW.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-J4CPYFK6.mjs";import{a}from"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-BSWV5MEC.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-JR23TXKP.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-R53MCZI6.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-CUBNX4ZT.mjs";export{j as createTransactionsHistoryFromSessions,a as explorerUrlBuilder,b as getActiveTransactionsStatus,c as getHumanReadableTimeFormat,d as getReceiverData,f as getTransactionAmount,g as getTransactionAsset,l as getTransactionsHistory,k as mapServerTransactionsToListItems,i as mapTransactionToListItem,e as processTransactionAction,h as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-CDTYHGXZ.mjs";import{a as h}from"../../__chunks__/chunk-2RAULLHL.mjs";import{a as e,b as f,c as g}from"../../__chunks__/chunk-BSWV5MEC.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-CDTYHGXZ.mjs";import{a as h}from"../../__chunks__/chunk-2RAULLHL.mjs";import{a as e,b as f,c as g}from"../../__chunks__/chunk-BSWV5MEC.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-JR23TXKP.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-R53MCZI6.mjs";import{a as c,b as d}from"../../__chunks__/chunk-WRLZ5ICK.mjs";import{a}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{a as b}from"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";export{b as addressIsValid,g as getAddressFromDataField,a as getIdentifierType,e as isContract,c as isHexValidCharacters,d as isHexValidLength,f as isSelfESDTContract,h as maxDecimals};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../../__chunks__/chunk-BSWV5MEC.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-
|
|
1
|
+
import{a,b,c}from"../../__chunks__/chunk-BSWV5MEC.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-JR23TXKP.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-R53MCZI6.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";export{c as getAddressFromDataField,a as isContract,b as isSelfESDTContract};
|
|
2
2
|
//# sourceMappingURL=isContract.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-WHEXX3BD.mjs";import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-WHEXX3BD.mjs";import{a}from"../../__chunks__/chunk-TUDSXSJ7.mjs";import"../../__chunks__/chunk-CUBNX4ZT.mjs";export{a as switchTheme};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-TUDSXSJ7.mjs";import"../../__chunks__/chunk-CUBNX4ZT.mjs";export{a as switchTheme};
|
|
2
2
|
//# sourceMappingURL=switchTheme.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-H6SRZM4T.mjs";import"../../__chunks__/chunk-P5OSWL4G.mjs";import"../../__chunks__/chunk-CUBNX4ZT.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getIsInIframe};
|
|
2
2
|
//# sourceMappingURL=getIsInIframe.mjs.map
|
|
@@ -3,7 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getWindowLocation = void 0;
|
|
4
4
|
const isWindowAvailable_1 = require("./isWindowAvailable");
|
|
5
5
|
const getWindowLocation = () => {
|
|
6
|
-
|
|
6
|
+
let isAvailable;
|
|
7
|
+
try {
|
|
8
|
+
isAvailable = (0, isWindowAvailable_1.isWindowAvailable)();
|
|
9
|
+
}
|
|
10
|
+
catch (_error) {
|
|
11
|
+
isAvailable = false;
|
|
12
|
+
}
|
|
7
13
|
if (!isAvailable) {
|
|
8
14
|
return {
|
|
9
15
|
pathname: '',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWindowLocation.js","sourceRoot":"","sources":["../../../src/utils/window/getWindowLocation.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAUjD,MAAM,iBAAiB,GAAG,GAA0B,EAAE;IAC3D,
|
|
1
|
+
{"version":3,"file":"getWindowLocation.js","sourceRoot":"","sources":["../../../src/utils/window/getWindowLocation.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAUjD,MAAM,iBAAiB,GAAG,GAA0B,EAAE;IAC3D,IAAI,WAAoB,CAAC;IAEzB,IAAI,CAAC;QACH,WAAW,GAAG,IAAA,qCAAiB,GAAE,CAAC;IACpC,CAAC;IAAC,OAAO,MAAM,EAAE,CAAC;QAChB,WAAW,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO;YACL,QAAQ,EAAE,EAAE;YACZ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE;SACX,CAAC;IACJ,CAAC;IAED,MAAM,EACJ,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EACnD,GAAG,MAAM,CAAC;IAEX,OAAO;QACL,QAAQ;QACR,IAAI;QACJ,MAAM;QACN,IAAI;QACJ,MAAM;KACP,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,iBAAiB,qBA8B5B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getWindowLocation};
|
|
2
2
|
//# sourceMappingURL=getWindowLocation.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-P5OSWL4G.mjs";import"../../__chunks__/chunk-CUBNX4ZT.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-
|
|
1
|
+
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-H6SRZM4T.mjs";import"../../__chunks__/chunk-P5OSWL4G.mjs";import{a as e}from"../../__chunks__/chunk-EHDGJUEU.mjs";import{a as d}from"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-CUBNX4ZT.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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiversx/sdk-dapp",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.16",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"module": "out/index.mjs",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"bignumber.js": "9.x"
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
|
-
"@multiversx/sdk-dapp-ui": ">=0.0.
|
|
65
|
+
"@multiversx/sdk-dapp-ui": ">=0.0.9"
|
|
66
66
|
},
|
|
67
67
|
"resolutions": {
|
|
68
68
|
"strip-ansi": "6.0.1",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk-NJQKLGPR.mjs";import{a as b}from"./chunk-KYJF7WU3.mjs";import{a as k}from"./chunk-QXC4D3AC.mjs";import{a as R}from"./chunk-OD4ANAAQ.mjs";import{a as D}from"./chunk-YXNXSK5J.mjs";import{a as I}from"./chunk-AV4HSXYZ.mjs";import{a as j}from"./chunk-YTFYVPZO.mjs";import{a as _}from"./chunk-HL3U3QQR.mjs";import{a as O}from"./chunk-A77C5T7Q.mjs";import{a as x}from"./chunk-QVJFFSJF.mjs";import{u as A}from"./chunk-GYUFALJV.mjs";import{b as v}from"./chunk-SAAOQW7P.mjs";import{a as G,c as U,f as F}from"./chunk-J4CPYFK6.mjs";import{a as w}from"./chunk-R53MCZI6.mjs";import{c as N}from"./chunk-MGFIOCA4.mjs";async function Dn({transactions:z=[],handleSign:H,guardTransactions:K=_}){let{account:{address:y,shard:C,username:E}}=B(),g=v(A()),h=x(),{allTransactions:e,parsedTransactionsByDataField:L}=R(z),p=[],n=O.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 r=e[a]?.transaction,i=Number(r.nonce);n.updateIsLoading(!0);let{commonData:c,tokenTransaction:o,fungibleTransaction:s}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:h,network:g,gasPriceData:n.ppuMap[i],price:l,address:y,username:E,shard:C,signedIndexes:p,parsedTransactionsByDataField:L});n.updateIsLoading(!1),o&&n.updateTokenTransaction(o),s&&n.updateNonFungibleTransaction(s.type,s),n.updateCommonData(c)},q=()=>{a>0&&(a--,T())},J=(t=0)=>{let i=e[a].transaction,c=Number(i.nonce);n.updateGasPriceMap({nonce:c,ppu:t}),n.updateCommonData({ppu:t});let o=i.toPlainObject(),s=I({transaction:o,gasPriceData:n.ppuMap[c]}),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})},Q=async()=>{M(new Error("Transaction signing cancelled by user")),await b(),n.closeUI()},f=()=>{a<n.transactionsCount-1&&(a++,T())},V=async()=>{let r=e[a].transaction,i=Number(r.nonce),{commonData:c}=await D({allTransactions:e,currentScreenIndex:a,egldLabel:h,network:g,gasPriceData:n.ppuMap[i],price:l,address:y,username:E,shard:C,signedIndexes:p,parsedTransactionsByDataField:L});if(!c.needsSigning)return p.push(a),f();let o=r.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)}},Z=new Map([["NEXT_SIGN_TRANSACTIONS",f],["CONFIRM_SIGN_TRANSACTIONS",V],["CLOSE_SIGN_TRANSACTIONS",Q],["BACK_SIGN_TRANSACTIONS",q],["SET_PPU_SIGN_TRANSACTIONS",J]]);function $(){for(let[t,r]of Z)n.subscribeToEventBus(t,r)}$(),await T()})}export{Dn as a};
|
|
2
|
-
//# sourceMappingURL=chunk-2HVZ5F32.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 manager.notifyDataUpdate();\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 manager.updateIsLoading(true);\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 manager.updateIsLoading(false);\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 };\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": "qnBA2BA,eAAsBA,GAAiB,CACrC,aAAAC,EAAe,CAAC,EAChB,WAAAC,EACA,kBAAAC,EAAoBA,CACtB,EAAuD,CACrD,GAAM,CACJ,QAAS,CAAE,QAAAC,EAAS,MAAAC,EAAO,SAAAC,CAAS,CACtC,EAAIC,EAAe,EACbC,EAAUC,EAAgBC,EAAS,CAAC,EAEpCC,EAAYC,EAAa,EAEzB,CAAE,gBAAAC,EAAiB,8BAAAC,CAA8B,EACrDC,EAAyBd,CAAY,EAEnCe,EAA0B,CAAC,EAEzBC,EAAUC,EAA6B,YAAY,EAGzD,GAFA,MAAMD,EAAQ,OAAO,EAEjB,CAACA,EACH,MAAM,IAAI,MAAM,kDAAkD,EAGpE,IAAME,EAAe,SAAY,CAC/B,MAAMC,EAAwB,EAC9BH,EAAQ,QAAQ,CAClB,EAEA,OAAAA,EAAQ,8CAA0CE,CAAY,EAEvD,IAAI,QAAuB,MAAOE,EAASC,IAAW,CAC3D,IAAMC,EAAoC,CAAC,EACrCC,EAAY,MAAMC,EAAa,CAAE,QAASjB,EAAQ,UAAW,CAAC,EACpES,EAAQ,iBAAiB,EACzBA,EAAQ,sBAAsBJ,EAAgB,IAAKa,GAAOA,EAAG,WAAW,CAAC,EACzE,IAAMC,EAAQH,GAAW,MAErBI,EAAqB,EAEnBC,EAAe,SAAY,CAE/B,IAAMC,EADqBjB,EAAgBe,CAAkB,GACrB,YAElCG,EAAe,OAAOD,EAAY,KAAK,EAE7Cb,EAAQ,gBAAgB,EAAI,EAC5B,GAAM,CAAE,WAAAe,EAAY,iBAAAC,EAAkB,oBAAAC,CAAoB,EACxD,MAAMC,EAAc,CAClB,gBAAAtB,EACA,mBAAAe,EACA,UAAAjB,EACA,QAAAH,EACA,aAAcS,EAAQ,OAAOc,CAAY,EACzC,MAAAJ,EACA,QAAAvB,EACA,SAAAE,EACA,MAAAD,EACA,cAAAW,EACA,8BAAAF,CACF,CAAC,EAEHG,EAAQ,gBAAgB,EAAK,EAEzBgB,GACFhB,EAAQ,uBAAuBgB,CAAgB,EAG7CC,GACFjB,EAAQ,6BACNiB,EAAoB,KACpBA,CACF,EAGFjB,EAAQ,iBAAiBe,CAAU,CACrC,EAEMI,EAAS,IAAM,CACfR,EAAqB,IACvBA,IACAC,EAAa,EAEjB,EAEMQ,EAAW,CACfC,EAA+C,IAC5C,CAEH,IAAMR,EADqBjB,EAAgBe,CAAkB,EACtB,YACjCG,EAAe,OAAOD,EAAY,KAAK,EAE7Cb,EAAQ,kBAAkB,CACxB,MAAOc,EACP,IAAAO,CACF,CAAC,EAEDrB,EAAQ,iBAAiB,CAAE,IAAAqB,CAAI,CAAC,EAEhC,IAAMC,EAAmBT,EAAY,cAAc,EAC7CU,EAAcC,EAAuB,CACzC,YAAaF,EACb,aAActB,EAAQ,OAAOc,CAAY,CAC3C,CAAC,EAEKW,EAAiBC,EAAY,mBAAmB,CACpD,GAAGJ,EACH,SAAUC,CACZ,CAAC,EAEKI,EAAUC,EAAW,CACzB,YAAaH,EACb,MAAAf,CACF,CAAC,EAEKmB,EAAoBC,EAAa,CACrC,MAAOP,EAAY,SAAS,EAC5B,SAAUQ,EACV,UAAW,GACX,OAAQC,CACV,CAAC,EAEDhC,EAAQ,iBAAiB,CACvB,SAAU2B,EAAQ,kBAClB,eAAgBA,EAAQ,eACxB,SAAUE,EACV,IAAAR,CACF,CAAC,CACH,EAEMY,EAAW,SAAY,CAC3B5B,EAAO,IAAI,MAAM,uCAAuC,CAAC,EACzD,MAAMF,EAAwB,EAC9BH,EAAQ,QAAQ,CAClB,EAEMkC,EAAS,IAAM,CACfvB,EAAqBX,EAAQ,kBAAoB,IACnDW,IACAC,EAAa,EAEjB,EAEMuB,EAAS,SAAY,CAEzB,IAAMtB,EADqBjB,EAAgBe,CAAkB,EACtB,YACjCG,EAAe,OAAOD,EAAY,KAAK,EAEvC,CAAE,WAAAE,CAAW,EAAI,MAAMG,EAAc,CACzC,gBAAAtB,EACA,mBAAAe,EACA,UAAAjB,EACA,QAAAH,EACA,aAAcS,EAAQ,OAAOc,CAAY,EACzC,MAAAJ,EACA,QAAAvB,EACA,SAAAE,EACA,MAAAD,EACA,cAAAW,EACA,8BAAAF,CACF,CAAC,EAED,GAAI,CAACkB,EAAW,aACd,OAAAhB,EAAc,KAAKY,CAAkB,EAC9BuB,EAAO,EAGhB,IAAMZ,EAAmBT,EAAY,cAAc,EAC7CuB,EAAUd,EAAiB,MAE3BC,EAAcC,EAAuB,CACzC,YAAaF,EACb,aAActB,EAAQ,OAAOoC,CAAO,CACtC,CAAC,EAEKC,EAAoBX,EAAY,mBAAmB,CACvD,GAAGJ,EACH,SAAUC,CACZ,CAAC,EAED,GAAI,CACF,IAAMe,EAAY,MAAMrD,EAAW,CAACoD,CAAiB,CAAC,EAClDC,IACFvC,EAAc,KAAKY,CAAkB,EACrCL,EAAmB,KAAKgC,EAAU,CAAC,CAAC,GAGtC,IAAMC,GAAe5B,IAAuBf,EAAgB,OAAS,EAC/D4C,GAA0B5C,EAAgB,OAC7Ca,GAAOA,EAAG,YACb,EAEMgC,GACJnC,EAAmB,SAAWkC,GAAwB,OAExD,GAAID,IAAgBE,GAA0B,CAC5C,IAAMC,EACJ,MAAMxD,EAAkBoB,CAAkB,EAC5C,OAAAN,EAAQ,QAAQ,EACTI,EAAQsC,CAA6B,CAC9C,CAEAR,EAAO,CACT,OAASS,EAAO,CACd3C,EAAQ,QAAQ,EAChBK,EAAOsC,CAAK,CACd,CACF,EAEMC,EAAmB,IAAI,IAAI,CAC/B,0BAAsBV,CAAM,EAC5B,6BAAyBC,CAAM,EAC/B,2BAAuBF,CAAQ,EAC/B,0BAAsBd,CAAM,EAC5B,6BAAyBC,CAAQ,CACnC,CAAC,EAED,SAASyB,GAAsB,CAC7B,OAAW,CAACC,EAAOC,CAAO,IAAKH,EAC7B5C,EAAQ,oBAAoB8C,EAAOC,CAAO,CAE9C,CAEAF,EAAoB,EACpB,MAAMjC,EAAa,CACrB,CAAC,CACH",
|
|
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", "onBack", "onSetPpu", "ppu", "plainTransaction", "newGasPrice", "getRecommendedGasPrice", "newTransaction", "Transaction", "feeData", "getFeeData", "formattedGasPrice", "formatAmount", "DECIMALS", "DIGITS", "onCancel", "onNext", "onSign", "txNonce", "transactionToSign", "signedTxs", "isLastScreen", "allSignableTransactions", "areAllTransactionsSigned", "optionallyGuardedTransactions", "error", "eventHandlersMap", "setupEventListeners", "event", "handler"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as s}from"./chunk-SXXJRX5W.mjs";import{a as p}from"./chunk-SQ4KCFCC.mjs";import{u as c}from"./chunk-GYUFALJV.mjs";import{b as d}from"./chunk-SAAOQW7P.mjs";import{a as v}from"./chunk-REI3WYXH.mjs";import{a}from"./chunk-OJV6XRG5.mjs";var n=class n extends p{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:e}=d(c());this.data={providers:this.getProvidersList(),walletAddress:e},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async e=>{!e?.isLoginFinished&&n.onClose&&n.onClose(),this.closeUI()};this.handleLogin=async({type:e,anchor:o})=>{if(!n.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{this.isSimpleLoginCallback(n.loginHandler)?(await(await s.create({type:e,anchor:o})).login(),n.loginHandler()):n.loginHandler({type:e,anchor:o}),await this.handleCloseUI({isLoginFinished:!0})}catch(r){console.error(r),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await s.destroy()};this.isSimpleLoginCallback=e=>e.length===0;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}static init(e){return this.loginHandler=e.loginHandler,this.allowedProviders=e.allowedProviders,e.onClose&&(this.onClose=e.onClose),this.getInstance()}getProvidersList(){let e=s.customProviders,r=[...Object.values(a).filter(i=>i!==a.none&&i!==a.webview),...e.map(i=>i.type)],P=e.reduce((i,t)=>(i[t.type]=t.name,i),{}),l={...v,...P};return(n.allowedProviders?n?.allowedProviders.map(i=>i.type).filter(i=>r.includes(i)):r).map(i=>{let t=e.find(g=>g.type===i);return t||{name:i in l?l[i]:i,type:i}})}};n.loginHandler=null,n.onClose=null,n.allowedProviders=null;var u=n;export{u as a};
|
|
2
|
-
//# sourceMappingURL=chunk-HQSRSRDM.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
|
|
4
|
-
"sourcesContent": ["import { providerLabels } from 'constants/providerFactory.constants';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ICustomProvider,\n ProviderTypeEnum,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\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?: ICustomProvider[] | 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 this.data = {\n providers: this.getProvidersList(),\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\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 (this.isSimpleLoginCallback(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 private readonly isSimpleLoginCallback = (\n login: LoginHandlerType\n ): login is () => void => {\n const takesZeroArguments = login.length === 0;\n return takesZeroArguments;\n };\n\n private getProvidersList(): IProviderBase[] {\n const customProviders = ProviderFactory.customProviders;\n\n const defaultProviderTypes = Object.values(ProviderTypeEnum).filter(\n (type) =>\n type !== ProviderTypeEnum.none && type !== ProviderTypeEnum.webview\n );\n\n const allAvailableProviderTypes = [\n ...defaultProviderTypes,\n ...customProviders.map((p) => p.type)\n ];\n\n const customProviderLabels = customProviders.reduce(\n (acc, provider) => {\n acc[provider.type] = provider.name;\n return acc;\n },\n {} as Record<ProviderType, string>\n );\n\n const allAvailableLabels = {\n ...providerLabels,\n ...customProviderLabels\n };\n\n const allowedProviderTypes = UnlockPanelManager.allowedProviders\n ? UnlockPanelManager?.allowedProviders\n .map((p) => p.type)\n .filter((type) => allAvailableProviderTypes.includes(type))\n : allAvailableProviderTypes;\n\n const providerList = allowedProviderTypes.map((type) => {\n const custom = customProviders.find(\n (customProvider) => customProvider.type === type\n );\n if (custom) {\n return custom;\n }\n\n return {\n name: type in allAvailableLabels ? allAvailableLabels[type] : type,\n type\n };\n });\n\n return providerList;\n }\n}\n"],
|
|
5
|
-
"mappings": "iPA0BO,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,EAEpD,KAAK,KAAO,CACV,UAAW,KAAK,iBAAiB,EACjC,cAAAF,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,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,MAAOG,GAElC,CACA,CAACA,GAAS,iBAAmBL,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAM,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACP,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACE,KAAK,sBAAsBA,EAAmB,YAAY,GAE5D,MADiB,MAAMQ,EAAgB,OAAO,CAAE,KAAAF,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBP,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAM,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,MAAMD,EAAgB,QAAQ,CAChC,EAEA,KAAiB,sBACfE,GAE2BA,EAAM,SAAW,EAxF5C,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKV,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKW,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAyEQ,kBAAoC,CAC1C,IAAMC,EAAkBJ,EAAgB,gBAOlCK,EAA4B,CAChC,GAN2B,OAAO,OAAOC,CAAgB,EAAE,OAC1DR,GACCA,IAASQ,EAAiB,MAAQR,IAASQ,EAAiB,OAChE,EAIE,GAAGF,EAAgB,IAAKG,GAAMA,EAAE,IAAI,CACtC,EAEMC,EAAuBJ,EAAgB,OAC3C,CAACK,EAAKC,KACJD,EAAIC,EAAS,IAAI,EAAIA,EAAS,KACvBD,GAET,CAAC,CACH,EAEME,EAAqB,CACzB,GAAGC,EACH,GAAGJ,CACL,EAsBA,OApB6BhB,EAAmB,iBAC5CA,GAAoB,iBACjB,IAAKe,GAAMA,EAAE,IAAI,EACjB,OAAQT,GAASO,EAA0B,SAASP,CAAI,CAAC,EAC5DO,GAEsC,IAAKP,GAAS,CACtD,IAAMe,EAAST,EAAgB,KAC5BU,GAAmBA,EAAe,OAAShB,CAC9C,EACA,OAAIe,GAIG,CACL,KAAMf,KAAQa,EAAqBA,EAAmBb,CAAI,EAAIA,EAC9D,KAAAA,CACF,CACF,CAAC,CAGH,CACF,EAjKaN,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA8C,KAbxD,IAAMuB,EAANvB",
|
|
6
|
-
"names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "options", "type", "anchor", "ProviderFactory", "error", "login", "params", "customProviders", "allAvailableProviderTypes", "ProviderTypeEnum", "p", "customProviderLabels", "acc", "provider", "allAvailableLabels", "providerLabels", "custom", "customProvider", "UnlockPanelManager"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-Z6RETW2C.mjs";import{b as s}from"./chunk-TQA3JDNV.mjs";import{u as n}from"./chunk-GYUFALJV.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-I6KLJQ6O.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/services/nativeAuth/methods/getDefaultNativeAuthConfig.ts"],
|
|
4
|
-
"sourcesContent": ["import { getWindowLocation } from 'utils/window/getWindowLocation';\n\nexport const getDefaultNativeAuthConfig = (\n apiAddress = 'https://api.multiversx.com'\n) => {\n return {\n origin: getWindowLocation().origin,\n apiAddress,\n expirySeconds: 60 * 60 * 24, // one day\n tokenExpirationToastWarningSeconds: 5 * 60 // five minutes\n };\n};\n"],
|
|
5
|
-
"mappings": "yCAEO,IAAMA,EAA6B,CACxCC,EAAa,gCAEN,CACL,OAAQC,EAAkB,EAAE,OAC5B,WAAAD,EACA,cAAe,GAAK,GAAK,GACzB,mCAAoC,EAAI,EAC1C",
|
|
6
|
-
"names": ["getDefaultNativeAuthConfig", "apiAddress", "getWindowLocation"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-B2UIPHJ3.mjs";var h=()=>{if(!i())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:n,hash:t,origin:a,href:o,search:e}}=window;return{pathname:n,hash:t,origin:a,href:o,search:e}};export{h as a};
|
|
2
|
-
//# sourceMappingURL=chunk-LRHRFWQ4.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/window/getWindowLocation.ts"],
|
|
4
|
-
"sourcesContent": ["import { isWindowAvailable } from './isWindowAvailable';\n\ntype GetWindowLocationType = {\n pathname: string;\n hash: string;\n origin: string;\n href: string;\n search: string;\n};\n\nexport const getWindowLocation = (): GetWindowLocationType => {\n const isAvailable = isWindowAvailable();\n\n if (!isAvailable) {\n return {\n pathname: '',\n hash: '',\n origin: '',\n href: '',\n search: ''\n };\n }\n\n const {\n location: { pathname, hash, origin, href, search }\n } = window;\n\n return {\n pathname,\n hash,\n origin,\n href,\n search\n };\n};\n"],
|
|
5
|
-
"mappings": "yCAUO,IAAMA,EAAoB,IAA6B,CAG5D,GAAI,CAFgBC,EAAkB,EAGpC,MAAO,CACL,SAAU,GACV,KAAM,GACN,OAAQ,GACR,KAAM,GACN,OAAQ,EACV,EAGF,GAAM,CACJ,SAAU,CAAE,SAAAC,EAAU,KAAAC,EAAM,OAAAC,EAAQ,KAAAC,EAAM,OAAAC,CAAO,CACnD,EAAI,OAEJ,MAAO,CACL,SAAAJ,EACA,KAAAC,EACA,OAAAC,EACA,KAAAC,EACA,OAAAC,CACF,CACF",
|
|
6
|
-
"names": ["getWindowLocation", "isWindowAvailable", "pathname", "hash", "origin", "href", "search"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as p}from"./chunk-SXXJRX5W.mjs";import{a as f}from"./chunk-GYKOIGBE.mjs";import{s as n}from"./chunk-PFCHZJJO.mjs";import{u as i}from"./chunk-GYUFALJV.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";import{a as e}from"./chunk-OJV6XRG5.mjs";import{a as m}from"./chunk-HUQ6AJBO.mjs";async function y(){let c=m(),s=f(),r=c?e.webview:t(i());if(!r)return;let o=await p.create({type:r});if(!o)throw new Error("Provider not found");!s&&r===e.webview&&await o.login(),n(o)}export{y as a};
|
|
2
|
-
//# sourceMappingURL=chunk-MMTACNKE.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-PXMPUIUL.mjs";import{c as n}from"./chunk-GYUFALJV.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-SJ34PIXB.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.types.ts"],
|
|
4
|
-
"sourcesContent": ["import {\n ICustomProvider,\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 /**\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 CustomProviderViewType<T extends ProviderType = ProviderType> =\n Omit<ICustomProvider<T>, 'constructor'>;\n\nexport type LoginCallbackType = () => void;\n\nexport type LoginHandlerType = LoginFunctonType | LoginCallbackType;\nexport type OnCloseUnlockPanelType = () => void;\n\nexport type UnlockPanelManagerInitParamsType<\n T extends ProviderType = ProviderType\n> = {\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 * List of allowed providers\n */\n allowedProviders?: ICustomProvider<T>[] | null;\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": "AAMO,IAAKA,OACVA,EAAA,KAAO,OACPA,EAAA,MAAQ,QACRA,EAAA,MAAQ,QACRA,EAAA,aAAe,eACfA,EAAA,mBAAqB,qBAIrBA,EAAA,aAAe,eATLA,OAAA",
|
|
6
|
-
"names": ["UnlockPanelEventsEnum"]
|
|
7
|
-
}
|
package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refreshNativeAuthTokenLogin.js","sourceRoot":"","sources":["../../../../../../../src/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.ts"],"names":[],"mappings":";;;AAAA,yCAA+C;AAC/C,2DAAwD;AACxD,oDAAiD;AACjD,uGAAoG;AAEpG,+EAAyE;AACzE,uEAAmE;AACnE,uCAAuC;AAEvC;;;GAGG;AACI,MAAM,2BAA2B,GAAG,KAAK,EAAE,EAChD,mBAAmB,EACnB,sBAAsB,EAOvB,EAA0B,EAAE;IAC3B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,kCAAe,EAAC,IAAA,gBAAQ,GAAE,CAAC,CAAC;IAC5C,MAAM,uBAAuB,GAAG,IAAA,uDAA0B,EACxD,OAAO,CAAC,UAAU,CACnB,CAAC;IAEF,MAAM,gBAAgB,GAAG,IAAA,uBAAU,EACjC,sBAAsB,IAAI,uBAAuB,CAClD,CAAC;IAEF,MAAM,UAAU,GAAG,MAAM,gBAAgB,CAAC,UAAU,CAAC;QACnD,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC;KACzC,CAAC,CAAC;IAEH,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,iBAAO,CAAC;QAChC,OAAO,EAAE,IAAI,iBAAO,CAAC,OAAO,CAAC;QAC7B,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,GAAG,UAAU,EAAE,CAAC;KAC7C,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,MAAM,mBAAmB,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;IAEnE,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,CAAC;QAC9B,MAAM,oBAAoB,CAAC;IAC7B,CAAC;IAED,IAAA,gCAAa,EAAC;QACZ,UAAU;QACV,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;KAChE,CAAC,CAAC;IAEH,OAAO,gBAAgB,CAAC,QAAQ,CAAC;QAC/B,OAAO;QACP,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;KAChE,CAAC,CAAC;AACL,CAAC,CAAC;AAjDW,QAAA,2BAA2B,+BAiDtC"}
|
package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as c}from"../../../../../../__chunks__/chunk-6JD2RV7R.mjs";import"../../../../../../__chunks__/chunk-NWEUIK3A.mjs";import{a as u}from"../../../../../../__chunks__/chunk-K66JLLVW.mjs";import"../../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../../__chunks__/chunk-RIQNG4I7.mjs";import{a as m}from"../../../../../../__chunks__/chunk-IMGZJVC6.mjs";import"../../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../../__chunks__/chunk-YSCND2MX.mjs";import{b as g,u as f}from"../../../../../../__chunks__/chunk-GYUFALJV.mjs";import"../../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../../__chunks__/chunk-KPK72MOE.mjs";import{b as r}from"../../../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../../__chunks__/chunk-IEJTMYFW.mjs";import"../../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../../__chunks__/chunk-QJSB5NX4.mjs";import"../../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../../__chunks__/chunk-7BP53CXF.mjs";import"../../../../../../__chunks__/chunk-BRBIUWAW.mjs";import"../../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../../__chunks__/chunk-V4SLVI67.mjs";import"../../../../../../__chunks__/chunk-J4CPYFK6.mjs";import"../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../__chunks__/chunk-TI37DKBT.mjs";import{c as s,g as a}from"../../../../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-LRHRFWQ4.mjs";import"../../../../../../__chunks__/chunk-AIDEMTSX.mjs";import"../../../../../../__chunks__/chunk-B2UIPHJ3.mjs";var S=async({signMessageCallback:d,nativeAuthClientConfig:n})=>{let{address:t}=c(),l=r(f()),p=m(l.apiAddress),i=u(n||p),e=await i.initialize({noCache:!!n});if(!e)return null;let h=new a({address:new s(t),data:Buffer.from(`${t}${e}`)}),o=await d(h,{});if(!o?.signature)throw"Message not signed";return g({loginToken:e,signature:Buffer.from(o.signature).toString("hex")}),i.getToken({address:t,token:e,signature:Buffer.from(o.signature).toString("hex")})};export{S as refreshNativeAuthTokenLogin};
|
|
2
|
-
//# sourceMappingURL=refreshNativeAuthTokenLogin.mjs.map
|
package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../src/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.ts"],
|
|
4
|
-
"sourcesContent": ["import { Address, Message } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\n\n/**\n * Use this function if you support multiple networks with network switching\n * @returns The native auth token\n */\nexport const refreshNativeAuthTokenLogin = async ({\n signMessageCallback,\n nativeAuthClientConfig\n}: {\n signMessageCallback: (\n messageToSign: Message,\n options: Record<any, any>\n ) => Promise<Message>;\n nativeAuthClientConfig?: NativeAuthConfigType;\n}): Promise<string | null> => {\n const { address } = getAccount();\n const network = networkSelector(getState());\n const defaultNativeAuthConfig = getDefaultNativeAuthConfig(\n network.apiAddress\n );\n\n const nativeAuthClient = nativeAuth(\n nativeAuthClientConfig || defaultNativeAuthConfig\n );\n\n const loginToken = await nativeAuthClient.initialize({\n noCache: Boolean(nativeAuthClientConfig)\n });\n\n if (!loginToken) {\n return null;\n }\n\n const messageToSign = new Message({\n address: new Address(address),\n data: Buffer.from(`${address}${loginToken}`)\n });\n\n const signedMessage = await signMessageCallback(messageToSign, {});\n\n if (!signedMessage?.signature) {\n throw 'Message not signed';\n }\n\n setTokenLogin({\n loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n\n return nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n};\n"],
|
|
5
|
-
"mappings": "8+FAaO,IAAMA,EAA8B,MAAO,CAChD,oBAAAC,EACA,uBAAAC,CACF,IAM8B,CAC5B,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAW,EACzBC,EAAUC,EAAgBC,EAAS,CAAC,EACpCC,EAA0BC,EAC9BJ,EAAQ,UACV,EAEMK,EAAmBC,EACvBT,GAA0BM,CAC5B,EAEMI,EAAa,MAAMF,EAAiB,WAAW,CACnD,QAAS,EAAQR,CACnB,CAAC,EAED,GAAI,CAACU,EACH,OAAO,KAGT,IAAMC,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQZ,CAAO,EAC5B,KAAM,OAAO,KAAK,GAAGA,CAAO,GAAGS,CAAU,EAAE,CAC7C,CAAC,EAEKI,EAAgB,MAAMf,EAAoBY,EAAe,CAAC,CAAC,EAEjE,GAAI,CAACG,GAAe,UAClB,KAAM,qBAGR,OAAAC,EAAc,CACZ,WAAAL,EACA,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,EAEMN,EAAiB,SAAS,CAC/B,QAAAP,EACA,MAAOS,EACP,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,CACH",
|
|
6
|
-
"names": ["refreshNativeAuthTokenLogin", "signMessageCallback", "nativeAuthClientConfig", "address", "getAccount", "network", "networkSelector", "getState", "defaultNativeAuthConfig", "getDefaultNativeAuthConfig", "nativeAuthClient", "nativeAuth", "loginToken", "messageToSign", "Message", "Address", "signedMessage", "setTokenLogin"]
|
|
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
|