@multiversx/sdk-dapp 5.3.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/out/__chunks__/{chunk-MQJQMAW3.mjs → chunk-2ON3KLCT.mjs} +2 -2
- package/out/__chunks__/{chunk-J62UCITY.mjs → chunk-3RLAFHQ5.mjs} +2 -2
- package/out/__chunks__/chunk-3ZT74S43.mjs +2 -0
- package/out/__chunks__/{chunk-BSFYNH6O.mjs → chunk-4FXREOAU.mjs} +2 -2
- package/out/__chunks__/{chunk-TZTP57OK.mjs → chunk-4G7O2SEH.mjs} +2 -2
- package/out/__chunks__/{chunk-ONSO75O2.mjs → chunk-4Y3336TP.mjs} +2 -2
- package/out/__chunks__/{chunk-H24QGHAH.mjs → chunk-4YBGCRDP.mjs} +2 -2
- package/out/__chunks__/{chunk-W6M5WJ3V.mjs → chunk-4ZWPXO55.mjs} +2 -2
- package/out/__chunks__/{chunk-KQV57RV3.mjs → chunk-57EQXIYJ.mjs} +2 -2
- package/out/__chunks__/{chunk-C2FLFZOO.mjs → chunk-5FPUK3PA.mjs} +2 -2
- package/out/__chunks__/{chunk-QHXZ354C.mjs → chunk-6DHK4ZHY.mjs} +2 -2
- package/out/__chunks__/chunk-A5TUOLPV.mjs +2 -0
- package/out/__chunks__/chunk-A5TUOLPV.mjs.map +7 -0
- package/out/__chunks__/{chunk-7ZIJXDPY.mjs → chunk-ABMG4JL2.mjs} +2 -2
- package/out/__chunks__/{chunk-G5MRPRWI.mjs → chunk-BFNJ4VYH.mjs} +2 -2
- package/out/__chunks__/chunk-C2CYALD3.mjs +2 -0
- package/out/__chunks__/{chunk-YPV63DYG.mjs → chunk-C5SRSULA.mjs} +2 -2
- package/out/__chunks__/chunk-CA5CSAGL.mjs +2 -0
- package/out/__chunks__/{chunk-WXC5EE2F.mjs → chunk-CMIVBHXU.mjs} +2 -2
- package/out/__chunks__/{chunk-AAQCK4UU.mjs → chunk-D4UL2EWH.mjs} +2 -2
- package/out/__chunks__/{chunk-6WUHHOG2.mjs → chunk-DDLTXUQG.mjs} +2 -2
- package/out/__chunks__/{chunk-5JQ3V6QZ.mjs → chunk-DJXCXSJM.mjs} +2 -2
- package/out/__chunks__/{chunk-EGO5R7IZ.mjs → chunk-E7M6PNMF.mjs} +2 -2
- package/out/__chunks__/{chunk-VGO3VD5N.mjs → chunk-EBENRM2R.mjs} +2 -2
- package/out/__chunks__/{chunk-U24DHQDI.mjs → chunk-EDLHXC66.mjs} +2 -2
- package/out/__chunks__/{chunk-RUE5QYSG.mjs → chunk-EGNCDLPF.mjs} +2 -2
- package/out/__chunks__/{chunk-W4QMH63P.mjs → chunk-F6HFPLKF.mjs} +2 -2
- package/out/__chunks__/{chunk-PGAJUAPG.mjs → chunk-FGEC7ZXX.mjs} +2 -2
- package/out/__chunks__/{chunk-OEXP5D2Q.mjs → chunk-FUCA6PDM.mjs} +2 -2
- package/out/__chunks__/{chunk-WWYX7L4I.mjs → chunk-G2YMMIV4.mjs} +2 -2
- package/out/__chunks__/chunk-GAYDJQDV.mjs +1 -0
- package/out/__chunks__/{chunk-2JTLNZM3.mjs → chunk-GIRFQWT3.mjs} +2 -2
- package/out/__chunks__/{chunk-XG6DEDBU.mjs → chunk-GNNYBI7B.mjs} +2 -2
- package/out/__chunks__/{chunk-BJOEWWLZ.mjs → chunk-GQ4CPGZ3.mjs} +2 -2
- package/out/__chunks__/{chunk-AGO2Z4FM.mjs → chunk-GUIXE5XC.mjs} +2 -2
- package/out/__chunks__/chunk-H3NKXQQF.mjs +2 -0
- package/out/__chunks__/{chunk-7EWMP5BY.mjs.map → chunk-H3NKXQQF.mjs.map} +1 -1
- package/out/__chunks__/{chunk-WC6DHH2B.mjs → chunk-I4PVZY6G.mjs} +2 -2
- package/out/__chunks__/{chunk-3KFEBW7N.mjs → chunk-ICXBMZJS.mjs} +2 -2
- package/out/__chunks__/chunk-JNGJJQUL.mjs +2 -0
- package/out/__chunks__/{chunk-4POCTP6S.mjs → chunk-K272J46W.mjs} +2 -2
- package/out/__chunks__/{chunk-4YLN3MHG.mjs → chunk-K6FICN7B.mjs} +2 -2
- package/out/__chunks__/{chunk-BENZKRAG.mjs → chunk-KLLFGRPB.mjs} +2 -2
- package/out/__chunks__/{chunk-7MOSAB64.mjs → chunk-KPOZLV3Y.mjs} +2 -2
- package/out/__chunks__/chunk-L3EOHIBG.mjs +2 -0
- package/out/__chunks__/chunk-L3EOHIBG.mjs.map +7 -0
- package/out/__chunks__/chunk-L5XHA5J3.mjs +2 -0
- package/out/__chunks__/chunk-L6A73MU7.mjs +2 -0
- package/out/__chunks__/chunk-M65GJGER.mjs +2 -0
- package/out/__chunks__/chunk-M65GJGER.mjs.map +7 -0
- package/out/__chunks__/{chunk-QDX2JCQH.mjs → chunk-MDXLOX7I.mjs} +2 -2
- package/out/__chunks__/{chunk-PBXNAY2B.mjs → chunk-MJKL37SY.mjs} +2 -2
- package/out/__chunks__/{chunk-B6VRKK6A.mjs → chunk-MPGHQVDQ.mjs} +2 -2
- package/out/__chunks__/{chunk-F33ERG33.mjs → chunk-MSM6OHIC.mjs} +2 -2
- package/out/__chunks__/{chunk-CUQBPPWE.mjs → chunk-N42HH2XN.mjs} +2 -2
- package/out/__chunks__/{chunk-6MNQSWGO.mjs → chunk-NBHRZSLS.mjs} +2 -2
- package/out/__chunks__/{chunk-YLD26I5H.mjs → chunk-NT3OYOP5.mjs} +2 -2
- package/out/__chunks__/{chunk-4BOXOL6P.mjs → chunk-NZA7KOCG.mjs} +2 -2
- package/out/__chunks__/chunk-O4V2ADKJ.mjs +2 -0
- package/out/__chunks__/{chunk-GMQMFRLW.mjs → chunk-O7AQPRYI.mjs} +2 -2
- package/out/__chunks__/{chunk-LS425JKB.mjs → chunk-PJZO5KQR.mjs} +2 -2
- package/out/__chunks__/{chunk-MCXQTDAK.mjs → chunk-PX3TRYOX.mjs} +2 -2
- package/out/__chunks__/{chunk-PSJELFEY.mjs → chunk-PY6RWCON.mjs} +2 -2
- package/out/__chunks__/{chunk-SHNAULDW.mjs → chunk-Q6ALT7RT.mjs} +2 -2
- package/out/__chunks__/chunk-QFZ4YW5F.mjs +2 -0
- package/out/__chunks__/{chunk-ITZJPUDG.mjs → chunk-QLMVT5AQ.mjs} +2 -2
- package/out/__chunks__/{chunk-WBF6D374.mjs → chunk-QZQDLLQR.mjs} +2 -2
- package/out/__chunks__/{chunk-TKTDGTN7.mjs → chunk-R6F66MUM.mjs} +2 -2
- package/out/__chunks__/chunk-RFQ62EWT.mjs +2 -0
- package/out/__chunks__/{chunk-MBNRIXNQ.mjs → chunk-RHG5XPRM.mjs} +2 -2
- package/out/__chunks__/chunk-RNABCWXS.mjs +2 -0
- package/out/__chunks__/{chunk-AQNUGUG3.mjs → chunk-SFGNJYRD.mjs} +2 -2
- package/out/__chunks__/{chunk-MRIKSX32.mjs → chunk-STSC5Q3L.mjs} +2 -2
- package/out/__chunks__/{chunk-ZGMF4QYV.mjs → chunk-TYA2A7P3.mjs} +2 -2
- package/out/__chunks__/chunk-U4NSAQRJ.mjs +2 -0
- package/out/__chunks__/chunk-UCNKEHLJ.mjs +2 -0
- package/out/__chunks__/{chunk-JBZR35CW.mjs → chunk-UEKNE7II.mjs} +2 -2
- package/out/__chunks__/{chunk-SR7TVATV.mjs → chunk-UNSFOHDG.mjs} +2 -2
- package/out/__chunks__/{chunk-BT2J2GH4.mjs → chunk-VAJX46E4.mjs} +2 -2
- package/out/__chunks__/{chunk-STBF3KTB.mjs → chunk-VJLG26AF.mjs} +2 -2
- package/out/__chunks__/{chunk-SKBL5PDX.mjs → chunk-VWRNBA3H.mjs} +2 -2
- package/out/__chunks__/{chunk-UCI2LZF5.mjs → chunk-WBMIRF47.mjs} +2 -2
- package/out/__chunks__/chunk-XX6UOMVH.mjs +2 -0
- package/out/__chunks__/chunk-XX6UOMVH.mjs.map +7 -0
- package/out/__chunks__/{chunk-AWQZ56BT.mjs → chunk-Y5FXVEPD.mjs} +2 -2
- package/out/__chunks__/{chunk-P6HDK262.mjs → chunk-YZ6E6GLF.mjs} +2 -2
- package/out/__chunks__/{chunk-OILJUNFX.mjs → chunk-Z2XKLZOJ.mjs} +2 -2
- package/out/__chunks__/{chunk-J76GINM5.mjs → chunk-ZBQOFCLH.mjs} +2 -2
- package/out/__chunks__/chunk-ZFKTQNIP.mjs +2 -0
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/index.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/index.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +3 -3
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +3 -0
- 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/getAccountInfo.mjs.map +4 -4
- 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.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +16 -0
- package/out/providers/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/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/index.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/visual/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +3 -2
- package/out/__chunks__/chunk-6SC2DWV6.mjs +0 -2
- package/out/__chunks__/chunk-7EWMP5BY.mjs +0 -2
- package/out/__chunks__/chunk-ABNK74B7.mjs +0 -2
- package/out/__chunks__/chunk-ABNK74B7.mjs.map +0 -7
- package/out/__chunks__/chunk-AVXL7ZQK.mjs +0 -2
- package/out/__chunks__/chunk-B2RHOOA6.mjs +0 -2
- package/out/__chunks__/chunk-CJTGYQ5L.mjs +0 -2
- package/out/__chunks__/chunk-DBNPRNJV.mjs +0 -2
- package/out/__chunks__/chunk-DM3C2PPR.mjs +0 -2
- package/out/__chunks__/chunk-EG5H4QZV.mjs +0 -2
- package/out/__chunks__/chunk-EG5H4QZV.mjs.map +0 -7
- package/out/__chunks__/chunk-J7LJM36W.mjs +0 -2
- package/out/__chunks__/chunk-J7LJM36W.mjs.map +0 -7
- package/out/__chunks__/chunk-NZFUM3VC.mjs +0 -2
- package/out/__chunks__/chunk-O5MS2L3D.mjs +0 -2
- package/out/__chunks__/chunk-OCTCR7WH.mjs +0 -2
- package/out/__chunks__/chunk-OCTCR7WH.mjs.map +0 -7
- package/out/__chunks__/chunk-PDMEOQYV.mjs +0 -2
- package/out/__chunks__/chunk-PNSB4HHK.mjs +0 -2
- package/out/__chunks__/chunk-QA23TRYO.mjs +0 -2
- package/out/__chunks__/chunk-RSAYFMIM.mjs +0 -2
- package/out/__chunks__/chunk-SVR3TUOY.mjs +0 -1
- package/out/__chunks__/chunk-ZZ6Z3QEX.mjs +0 -2
- /package/out/__chunks__/{chunk-MQJQMAW3.mjs.map → chunk-2ON3KLCT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J62UCITY.mjs.map → chunk-3RLAFHQ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NZFUM3VC.mjs.map → chunk-3ZT74S43.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BSFYNH6O.mjs.map → chunk-4FXREOAU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TZTP57OK.mjs.map → chunk-4G7O2SEH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ONSO75O2.mjs.map → chunk-4Y3336TP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H24QGHAH.mjs.map → chunk-4YBGCRDP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W6M5WJ3V.mjs.map → chunk-4ZWPXO55.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KQV57RV3.mjs.map → chunk-57EQXIYJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C2FLFZOO.mjs.map → chunk-5FPUK3PA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QHXZ354C.mjs.map → chunk-6DHK4ZHY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ZIJXDPY.mjs.map → chunk-ABMG4JL2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5MRPRWI.mjs.map → chunk-BFNJ4VYH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O5MS2L3D.mjs.map → chunk-C2CYALD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YPV63DYG.mjs.map → chunk-C5SRSULA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CJTGYQ5L.mjs.map → chunk-CA5CSAGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WXC5EE2F.mjs.map → chunk-CMIVBHXU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAQCK4UU.mjs.map → chunk-D4UL2EWH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6WUHHOG2.mjs.map → chunk-DDLTXUQG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5JQ3V6QZ.mjs.map → chunk-DJXCXSJM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EGO5R7IZ.mjs.map → chunk-E7M6PNMF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VGO3VD5N.mjs.map → chunk-EBENRM2R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U24DHQDI.mjs.map → chunk-EDLHXC66.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RUE5QYSG.mjs.map → chunk-EGNCDLPF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W4QMH63P.mjs.map → chunk-F6HFPLKF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PGAJUAPG.mjs.map → chunk-FGEC7ZXX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OEXP5D2Q.mjs.map → chunk-FUCA6PDM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WWYX7L4I.mjs.map → chunk-G2YMMIV4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SVR3TUOY.mjs.map → chunk-GAYDJQDV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2JTLNZM3.mjs.map → chunk-GIRFQWT3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XG6DEDBU.mjs.map → chunk-GNNYBI7B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BJOEWWLZ.mjs.map → chunk-GQ4CPGZ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AGO2Z4FM.mjs.map → chunk-GUIXE5XC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WC6DHH2B.mjs.map → chunk-I4PVZY6G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3KFEBW7N.mjs.map → chunk-ICXBMZJS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AVXL7ZQK.mjs.map → chunk-JNGJJQUL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4POCTP6S.mjs.map → chunk-K272J46W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4YLN3MHG.mjs.map → chunk-K6FICN7B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BENZKRAG.mjs.map → chunk-KLLFGRPB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7MOSAB64.mjs.map → chunk-KPOZLV3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B2RHOOA6.mjs.map → chunk-L5XHA5J3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PNSB4HHK.mjs.map → chunk-L6A73MU7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QDX2JCQH.mjs.map → chunk-MDXLOX7I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PBXNAY2B.mjs.map → chunk-MJKL37SY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B6VRKK6A.mjs.map → chunk-MPGHQVDQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F33ERG33.mjs.map → chunk-MSM6OHIC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CUQBPPWE.mjs.map → chunk-N42HH2XN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6MNQSWGO.mjs.map → chunk-NBHRZSLS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YLD26I5H.mjs.map → chunk-NT3OYOP5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4BOXOL6P.mjs.map → chunk-NZA7KOCG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6SC2DWV6.mjs.map → chunk-O4V2ADKJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GMQMFRLW.mjs.map → chunk-O7AQPRYI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LS425JKB.mjs.map → chunk-PJZO5KQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MCXQTDAK.mjs.map → chunk-PX3TRYOX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PSJELFEY.mjs.map → chunk-PY6RWCON.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SHNAULDW.mjs.map → chunk-Q6ALT7RT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSAYFMIM.mjs.map → chunk-QFZ4YW5F.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ITZJPUDG.mjs.map → chunk-QLMVT5AQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WBF6D374.mjs.map → chunk-QZQDLLQR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TKTDGTN7.mjs.map → chunk-R6F66MUM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QA23TRYO.mjs.map → chunk-RFQ62EWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MBNRIXNQ.mjs.map → chunk-RHG5XPRM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZZ6Z3QEX.mjs.map → chunk-RNABCWXS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AQNUGUG3.mjs.map → chunk-SFGNJYRD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MRIKSX32.mjs.map → chunk-STSC5Q3L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZGMF4QYV.mjs.map → chunk-TYA2A7P3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DBNPRNJV.mjs.map → chunk-U4NSAQRJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DM3C2PPR.mjs.map → chunk-UCNKEHLJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JBZR35CW.mjs.map → chunk-UEKNE7II.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SR7TVATV.mjs.map → chunk-UNSFOHDG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BT2J2GH4.mjs.map → chunk-VAJX46E4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-STBF3KTB.mjs.map → chunk-VJLG26AF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKBL5PDX.mjs.map → chunk-VWRNBA3H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UCI2LZF5.mjs.map → chunk-WBMIRF47.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWQZ56BT.mjs.map → chunk-Y5FXVEPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P6HDK262.mjs.map → chunk-YZ6E6GLF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OILJUNFX.mjs.map → chunk-Z2XKLZOJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J76GINM5.mjs.map → chunk-ZBQOFCLH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PDMEOQYV.mjs.map → chunk-ZFKTQNIP.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import{a as q}from"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import{a as p}from"../../__chunks__/chunk-5DILKRFV.mjs";import{a as o}from"../../__chunks__/chunk-DZ2BIDRW.mjs";import{a as n}from"../../__chunks__/chunk-HZGRS7HG.mjs";import{a as m}from"../../__chunks__/chunk-NTPPBM7T.mjs";import{a as l}from"../../__chunks__/chunk-GUAXMODN.mjs";import{a as k}from"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-DRPJ3IFU.mjs";import{a as r}from"../../__chunks__/chunk-B3IKUIRK.mjs";import{a as j}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-TFZ46GCB.mjs";import"../../__chunks__/chunk-OL6LWUIJ.mjs";import{a as q}from"../../__chunks__/chunk-ZRSYQ3MT.mjs";import"../../__chunks__/chunk-M6MN4RXG.mjs";import"../../__chunks__/chunk-KIOUFP5Q.mjs";import{a as p}from"../../__chunks__/chunk-5DILKRFV.mjs";import{a as o}from"../../__chunks__/chunk-DZ2BIDRW.mjs";import{a as n}from"../../__chunks__/chunk-HZGRS7HG.mjs";import{a as m}from"../../__chunks__/chunk-NTPPBM7T.mjs";import{a as l}from"../../__chunks__/chunk-GUAXMODN.mjs";import{a as k}from"../../__chunks__/chunk-4VA2SULD.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-DRPJ3IFU.mjs";import{a as r}from"../../__chunks__/chunk-B3IKUIRK.mjs";import{a as j}from"../../__chunks__/chunk-O7AQPRYI.mjs";import"../../__chunks__/chunk-NGM3AVCY.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import{a as s}from"../../__chunks__/chunk-5FPUK3PA.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import{a as h}from"../../__chunks__/chunk-55W25Q35.mjs";import{a as i}from"../../__chunks__/chunk-MSM6OHIC.mjs";import"../../__chunks__/chunk-VJLG26AF.mjs";import"../../__chunks__/chunk-L6A73MU7.mjs";import{a as g}from"../../__chunks__/chunk-GNHD56P3.mjs";import{b as c}from"../../__chunks__/chunk-5OMQOYP7.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import{a as b}from"../../__chunks__/chunk-WZ2DNB3R.mjs";import{a as f}from"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import{a as e}from"../../__chunks__/chunk-ZKBKYLAP.mjs";import"../../__chunks__/chunk-6UMOECOW.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import{a as d}from"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-YJCTRUJT.mjs";import"../../__chunks__/chunk-E7M6PNMF.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-L5XHA5J3.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{a}from"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-7UA7QAEF.mjs";import"../../__chunks__/chunk-FTJF3Q3P.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-BTJWNUM6.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-H3NKXQQF.mjs";export{h as createTransactionsHistoryFromSessions,k as decodeByMethod,n as decodeHighlight,a as explorerUrlBuilder,j as getActiveTransactionsStatus,q as getDecodedDataField,m as getDecodedParts,p as getDisplayValueAndValidationWarnings,o as getHexValidationWarnings,r as getHumanReadableTimeFormat,b as getReceiverData,l as getSmartDecodedParts,d as getTransactionAmount,e as getTransactionAsset,s as getTransactionsHistory,i as mapServerTransactionsToListItems,g as mapTransactionToListItem,c as processTransactionAction,f as processTransactionAssets};
|
|
2
2
|
//# sourceMappingURL=index.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-N42HH2XN.mjs";import"../../__chunks__/chunk-H3NKXQQF.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-N42HH2XN.mjs";import"../../__chunks__/chunk-H3NKXQQF.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-ICXBMZJS.mjs";import"../../__chunks__/chunk-PX3TRYOX.mjs";import"../../__chunks__/chunk-H3NKXQQF.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";export{a as getIsInIframe};
|
|
2
2
|
//# sourceMappingURL=getIsInIframe.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-PX3TRYOX.mjs";import"../../__chunks__/chunk-H3NKXQQF.mjs";export{a as getWindowParentOrigin};
|
|
2
2
|
//# sourceMappingURL=getWindowParentOrigin.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-
|
|
1
|
+
import"../../__chunks__/chunk-DTQL3IDP.mjs";import{a as b}from"../../__chunks__/chunk-CKTFPRJS.mjs";import{a as f}from"../../__chunks__/chunk-ICXBMZJS.mjs";import"../../__chunks__/chunk-PX3TRYOX.mjs";import{a as e}from"../../__chunks__/chunk-EHDGJUEU.mjs";import{a as d}from"../../__chunks__/chunk-HOCSCRJF.mjs";import"../../__chunks__/chunk-H3NKXQQF.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.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"main": "out/index.cjs",
|
|
5
5
|
"module": "out/index.mjs",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"build-esbuild": "npm run clean-out && node esbuild.js",
|
|
34
34
|
"build": "npm run build-esbuild && npm run compile",
|
|
35
35
|
"test": "jest",
|
|
36
|
+
"test:coverage": "jest --coverage && node scripts/extract-coverage.js",
|
|
36
37
|
"lint": "eslint src",
|
|
37
38
|
"lint:fix": "eslint --fix src"
|
|
38
39
|
},
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
"protobufjs": "^7.2.6"
|
|
89
90
|
},
|
|
90
91
|
"optionalDependencies": {
|
|
91
|
-
"@multiversx/sdk-dapp-ui": ">=0.1.
|
|
92
|
+
"@multiversx/sdk-dapp-ui": ">=0.1.2 <0.2.0"
|
|
92
93
|
},
|
|
93
94
|
"resolutions": {
|
|
94
95
|
"strip-ansi": "6.0.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/methods/account/getAccountInfo.ts"],
|
|
4
|
-
"sourcesContent": ["import { accountInfoSelector } from 'store/selectors';\nimport { getState } from 'store/store';\n\nexport function getAccountInfo(state = getState()) {\n return accountInfoSelector(state);\n}\n"],
|
|
5
|
-
"mappings": "kFAGO,SAASA,EAAeC,EAAQC,EAAS,EAAG,CACjD,OAAOC,EAAoBF,CAAK,CAClC",
|
|
6
|
-
"names": ["getAccountInfo", "state", "getState", "accountInfoSelector"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-BJOEWWLZ.mjs";var a=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await s.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{a};
|
|
2
|
-
//# sourceMappingURL=chunk-EG5H4QZV.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/internal/UIBaseManager/UIBaseManager.ts"],
|
|
4
|
-
"sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { IEventBus } from 'lib/sdkDappUi';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport {\n ComponentFactory,\n CreateEventBusUIElementType\n} from 'utils/ComponentFactory';\n\nexport abstract class UIBaseManager<\n TElement extends CreateEventBusUIElementType,\n TData extends Record<string, any> | null,\n TEventEnum extends string\n> {\n protected eventBus: IEventBus | null = null;\n protected uiElement: TElement | null = null;\n protected isCreatingElement = false;\n protected anchor?: HTMLElement;\n protected uiTag: UITagsEnum;\n protected uiDataUpdateEvent: TEventEnum;\n protected unsubscribeFunctions: Map<TEventEnum, (() => void)[]> = new Map();\n protected abstract initialData: TData;\n protected data: TData;\n\n constructor({\n uiDataUpdateEvent,\n uiTag\n }: {\n uiTag: UITagsEnum;\n uiDataUpdateEvent: TEventEnum;\n }) {\n this.uiDataUpdateEvent = uiDataUpdateEvent;\n this.uiTag = uiTag;\n this.data = this.getInitialData();\n }\n\n public async init(anchor?: HTMLElement) {\n this.anchor = anchor;\n await this.createUIElement(anchor);\n await this.setupEventListeners();\n }\n\n public updateData(newData: Partial<TData>) {\n this.data = { ...this.data, ...newData };\n this.notifyDataUpdate();\n }\n\n public subscribeToEventBus(event: TEventEnum, callback: Function) {\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n const unsubscribe = this.eventBus?.subscribe(event, callback);\n if (unsubscribe) {\n const existing = this.unsubscribeFunctions.get(event) || [];\n existing.push(unsubscribe);\n this.unsubscribeFunctions.set(event, existing);\n }\n }\n\n public notifyDataUpdate() {\n this.eventBus?.publish(this.uiDataUpdateEvent, this.data);\n }\n\n public destroy() {\n this.unsubscribeFunctions.forEach((unsubList) =>\n unsubList.forEach((unsubscribe) => unsubscribe())\n );\n this.unsubscribeFunctions.clear();\n this.eventBus = null;\n this.uiElement?.remove?.();\n this.uiElement = null;\n }\n\n protected getInitialData(): TData {\n return this.initialData;\n }\n\n protected resetData() {\n this.data = this.getInitialData();\n }\n\n protected abstract setupEventListeners(): Promise<void>;\n\n private async createUIElement(\n anchor: HTMLElement | undefined = this.anchor\n ): Promise<TElement | null> {\n if (this.isCreatingElement || this.uiElement) {\n return this.uiElement;\n }\n\n this.isCreatingElement = true;\n\n this.uiElement = await ComponentFactory.create<TElement>({\n name: this.uiTag,\n anchor\n });\n\n this.isCreatingElement = false;\n\n if (!this.uiElement) {\n throw new Error(`Failed to create ${this.uiTag} element`);\n }\n\n if (!this.eventBus) {\n this.eventBus = await this.uiElement.getEventBus();\n }\n\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n return this.uiElement;\n }\n}\n"],
|
|
5
|
-
"mappings": "yCAQO,IAAeA,EAAf,KAIL,CAWA,YAAY,CACV,kBAAAC,EACA,MAAAC,CACF,EAGG,CAhBH,KAAU,SAA6B,KACvC,KAAU,UAA6B,KACvC,KAAU,kBAAoB,GAI9B,KAAU,qBAAwD,IAAI,IAWpE,KAAK,kBAAoBD,EACzB,KAAK,MAAQC,EACb,KAAK,KAAO,KAAK,eAAe,CAClC,CAEA,MAAa,KAAKC,EAAsB,CACtC,KAAK,OAASA,EACd,MAAM,KAAK,gBAAgBA,CAAM,EACjC,MAAM,KAAK,oBAAoB,CACjC,CAEO,WAAWC,EAAyB,CACzC,KAAK,KAAO,CAAE,GAAG,KAAK,KAAM,GAAGA,CAAQ,EACvC,KAAK,iBAAiB,CACxB,CAEO,oBAAoBC,EAAmBC,EAAoB,CAChE,GAAI,CAAC,KAAK,SACR,MAAM,IAAI,mCAAsC,EAGlD,IAAMC,EAAc,KAAK,UAAU,UAAUF,EAAOC,CAAQ,EAC5D,GAAIC,EAAa,CACf,IAAMC,EAAW,KAAK,qBAAqB,IAAIH,CAAK,GAAK,CAAC,EAC1DG,EAAS,KAAKD,CAAW,EACzB,KAAK,qBAAqB,IAAIF,EAAOG,CAAQ,CAC/C,CACF,CAEO,kBAAmB,CACxB,KAAK,UAAU,QAAQ,KAAK,kBAAmB,KAAK,IAAI,CAC1D,CAEO,SAAU,CACf,KAAK,qBAAqB,QAASC,GACjCA,EAAU,QAASF,GAAgBA,EAAY,CAAC,CAClD,EACA,KAAK,qBAAqB,MAAM,EAChC,KAAK,SAAW,KAChB,KAAK,WAAW,SAAS,EACzB,KAAK,UAAY,IACnB,CAEU,gBAAwB,CAChC,OAAO,KAAK,WACd,CAEU,WAAY,CACpB,KAAK,KAAO,KAAK,eAAe,CAClC,CAIA,MAAc,gBACZJ,EAAkC,KAAK,OACb,CAC1B,GAAI,KAAK,mBAAqB,KAAK,UACjC,OAAO,KAAK,UAYd,GATA,KAAK,kBAAoB,GAEzB,KAAK,UAAY,MAAMO,EAAiB,OAAiB,CACvD,KAAM,KAAK,MACX,OAAAP,CACF,CAAC,EAED,KAAK,kBAAoB,GAErB,CAAC,KAAK,UACR,MAAM,IAAI,MAAM,oBAAoB,KAAK,KAAK,UAAU,EAO1D,GAJK,KAAK,WACR,KAAK,SAAW,MAAM,KAAK,UAAU,YAAY,GAG/C,CAAC,KAAK,SACR,MAAM,IAAI,mCAAsC,EAGlD,OAAO,KAAK,SACd,CACF",
|
|
6
|
-
"names": ["UIBaseManager", "uiDataUpdateEvent", "uiTag", "anchor", "newData", "event", "callback", "unsubscribe", "existing", "unsubList", "ComponentFactory"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as x}from"./chunk-ABNK74B7.mjs";import{a as U}from"./chunk-B6VRKK6A.mjs";import{a as k}from"./chunk-DBNPRNJV.mjs";import{a as w}from"./chunk-4POCTP6S.mjs";import{a as v}from"./chunk-QXC4D3AC.mjs";import{a as I}from"./chunk-YPV63DYG.mjs";import{a as _}from"./chunk-WBF6D374.mjs";import{a as R}from"./chunk-WS2MTQIC.mjs";import{a as B}from"./chunk-5KCP7UJT.mjs";import{s as A}from"./chunk-EGO5R7IZ.mjs";import{b as O}from"./chunk-7VHTZYM2.mjs";import{a as G,c as N,f as M}from"./chunk-PJWJZHIS.mjs";import{a as b}from"./chunk-NTEMINYA.mjs";import{e as F}from"./chunk-LHEH7L4L.mjs";async function bn({transactions:j=[],handleSign:z,guardTransactions:H=_}){let{account:{address:y,shard:E,username:h}}=x(),d=O(A()),C=k(),{allTransactions:o,parsedTransactionsByDataField:D}=R(j),m=[],n=U.getInstance();if(await n.openUI(),!n)throw new Error("Unable to establish connection with sign screens");let K=async()=>{await w(),n.closeUI()};return n.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",K),new Promise(async(W,L)=>{let g=[],X=await v({baseURL:d.apiAddress});n.notifyDataUpdate(),n.initializeGasPriceMap(o.map(a=>a.transaction));let l=X?.price,t=0,T=async()=>{let r=o[t]?.transaction,i=Number(r.nonce);try{n.updateIsLoading(!0);let{commonData:e,tokenTransaction:s,fungibleTransaction:c}=await I({allTransactions:o,currentScreenIndex:t,egldLabel:C,network:d,gasPriceData:n.getGasPriceOptionMap[i],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:D});s&&n.updateTokenTransaction(s),c&&n.updateNonFungibleTransaction(c.type,c),n.updateCommonData(e)}catch(e){throw console.error(`Error fetching common data for transaction at index ${t}:`,e),e}finally{n.updateIsLoading(!1)}},$=()=>{t>0&&(t--,T())},q=(a=1e9)=>{let i=o[t].transaction,e=Number(i.nonce);n.updateGasPriceMap({nonce:e,gasPriceOption:a});let s=i.toPlainObject(),c=b.newFromPlainObject({...s,gasPrice:a}),p=B({transaction:c,price:l}),S=M({input:a.toString(),decimals:N,addCommas:!0,digits:G});n.updateCommonData({feeLimit:p.feeLimitFormatted,feeInFiatLimit:p.feeInFiatLimit,gasPrice:S,gasPriceOption:a})},J=async()=>{L(new Error("Transaction signing cancelled by user")),await w(),n.closeUI()},f=()=>{t<n.transactionsCount-1&&(t++,T())},Q=async()=>{let r=o[t].transaction,i=Number(r.nonce),{commonData:e}=await I({allTransactions:o,currentScreenIndex:t,egldLabel:C,network:d,gasPriceData:n.getGasPriceOptionMap[i],price:l,address:y,username:h,shard:E,signedIndexes:m,parsedTransactionsByDataField:D});if(!e.needsSigning)return m.push(t),f();let s=r.toPlainObject(),c=s.nonce,{gasPriceOption:p}=n.getGasPriceOptionMap[c],S=b.newFromPlainObject({...s,gasPrice:p});try{let u=await z([S]);u&&(m.push(t),g.push(u[0]));let Z=t===o.length-1,nn=o.filter(P=>P.needsSigning),tn=g.length===nn.length;if(Z&&tn){let P=await H(g);return n.closeUI(),W(P)}f()}catch(u){n.closeUI(),L(u)}},V=new Map([["NEXT_SIGN_TRANSACTIONS",f],["CONFIRM_SIGN_TRANSACTIONS",Q],["CLOSE_SIGN_TRANSACTIONS",J],["BACK_SIGN_TRANSACTIONS",$],["SET_GAS_PRICE_OPTION_SIGN_TRANSACTIONS",q]]);function Y(){for(let[a,r]of V)n.subscribeToEventBus(a,r)}Y(),await T()})}export{bn as a};
|
|
2
|
-
//# sourceMappingURL=chunk-J7LJM36W.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 { GAS_PRICE } from 'constants/mvx.constants';\nimport { Transaction } from 'lib/sdkCore';\nimport { DECIMALS, DIGITS, formatAmount } from 'lib/sdkDappUtils';\nimport { SignTransactionsStateManager } from 'managers/internal/SignTransactionsStateManager/SignTransactionsStateManager';\nimport { SignEventsEnum } 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 { 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 const signedIndexes: number[] = [];\n\n const manager = SignTransactionsStateManager.getInstance();\n await manager.openUI();\n\n if (!manager) {\n throw new Error('Unable to establish connection with sign screens');\n }\n\n const handleCancel = async () => {\n await cancelCrossWindowAction();\n manager.closeUI();\n };\n\n manager.subscribeToEventBus(SignEventsEnum.CLOSE, handleCancel);\n\n return new Promise<Transaction[]>(async (resolve, reject) => {\n const signedTransactions: Transaction[] = [];\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n manager.notifyDataUpdate();\n\n manager.initializeGasPriceMap(allTransactions.map((tx) => tx.transaction));\n const price = economics?.price;\n\n let currentScreenIndex = 0;\n\n const updateScreen = async () => {\n const currentTransaction = allTransactions[currentScreenIndex];\n const transaction = currentTransaction?.transaction;\n\n const currentNonce = Number(transaction.nonce);\n\n try {\n manager.updateIsLoading(true);\n\n const { commonData, tokenTransaction, fungibleTransaction } =\n await getCommonData({\n allTransactions,\n currentScreenIndex,\n egldLabel,\n network,\n gasPriceData: manager.getGasPriceOptionMap[currentNonce],\n price,\n address,\n username,\n shard,\n signedIndexes,\n parsedTransactionsByDataField\n });\n\n if (tokenTransaction) {\n manager.updateTokenTransaction(tokenTransaction);\n }\n\n if (fungibleTransaction) {\n manager.updateNonFungibleTransaction(\n fungibleTransaction.type,\n fungibleTransaction\n );\n }\n\n manager.updateCommonData(commonData);\n } catch (error) {\n console.error(\n `Error fetching common data for transaction at index ${currentScreenIndex}:`,\n error\n );\n\n throw error;\n } finally {\n manager.updateIsLoading(false);\n }\n };\n\n const onBack = () => {\n if (currentScreenIndex > 0) {\n currentScreenIndex--;\n updateScreen();\n }\n };\n\n const onSetGasPriceOption = (gasPriceOption: number = GAS_PRICE) => {\n const currentTransaction = allTransactions[currentScreenIndex];\n const transaction = currentTransaction.transaction;\n const currentNonce = Number(transaction.nonce);\n\n manager.updateGasPriceMap({\n nonce: currentNonce,\n gasPriceOption\n });\n\n const plainTransaction = transaction.toPlainObject();\n\n const newTransaction = Transaction.newFromPlainObject({\n ...plainTransaction,\n gasPrice: gasPriceOption\n });\n\n const feeData = getFeeData({\n transaction: newTransaction,\n price\n });\n\n const formattedGasPrice = formatAmount({\n input: gasPriceOption.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 gasPriceOption\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.getGasPriceOptionMap[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 { gasPriceOption } = manager.getGasPriceOptionMap[txNonce];\n\n const transactionToSign = Transaction.newFromPlainObject({\n ...plainTransaction,\n gasPrice: gasPriceOption\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_GAS_PRICE_OPTION, onSetGasPriceOption]\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": "4kBAuBA,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,EAEjCe,EAA0B,CAAC,EAE3BC,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,EAEpES,EAAQ,iBAAiB,EAEzBA,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,EAE7C,GAAI,CACFb,EAAQ,gBAAgB,EAAI,EAE5B,GAAM,CAAE,WAAAe,EAAY,iBAAAC,EAAkB,oBAAAC,CAAoB,EACxD,MAAMC,EAAc,CAClB,gBAAAtB,EACA,mBAAAe,EACA,UAAAjB,EACA,QAAAH,EACA,aAAcS,EAAQ,qBAAqBc,CAAY,EACvD,MAAAJ,EACA,QAAAvB,EACA,SAAAE,EACA,MAAAD,EACA,cAAAW,EACA,8BAAAF,CACF,CAAC,EAECmB,GACFhB,EAAQ,uBAAuBgB,CAAgB,EAG7CC,GACFjB,EAAQ,6BACNiB,EAAoB,KACpBA,CACF,EAGFjB,EAAQ,iBAAiBe,CAAU,CACrC,OAASI,EAAO,CACd,cAAQ,MACN,uDAAuDR,CAAkB,IACzEQ,CACF,EAEMA,CACR,QAAE,CACAnB,EAAQ,gBAAgB,EAAK,CAC/B,CACF,EAEMoB,EAAS,IAAM,CACfT,EAAqB,IACvBA,IACAC,EAAa,EAEjB,EAEMS,EAAsB,CAACC,EAAyB,MAAc,CAElE,IAAMT,EADqBjB,EAAgBe,CAAkB,EACtB,YACjCG,EAAe,OAAOD,EAAY,KAAK,EAE7Cb,EAAQ,kBAAkB,CACxB,MAAOc,EACP,eAAAQ,CACF,CAAC,EAED,IAAMC,EAAmBV,EAAY,cAAc,EAE7CW,EAAiBC,EAAY,mBAAmB,CACpD,GAAGF,EACH,SAAUD,CACZ,CAAC,EAEKI,EAAUC,EAAW,CACzB,YAAaH,EACb,MAAAd,CACF,CAAC,EAEKkB,EAAoBC,EAAa,CACrC,MAAOP,EAAe,SAAS,EAC/B,SAAUQ,EACV,UAAW,GACX,OAAQC,CACV,CAAC,EAED/B,EAAQ,iBAAiB,CACvB,SAAU0B,EAAQ,kBAClB,eAAgBA,EAAQ,eACxB,SAAUE,EACV,eAAAN,CACF,CAAC,CACH,EAEMU,EAAW,SAAY,CAC3B3B,EAAO,IAAI,MAAM,uCAAuC,CAAC,EACzD,MAAMF,EAAwB,EAC9BH,EAAQ,QAAQ,CAClB,EAEMiC,EAAS,IAAM,CACftB,EAAqBX,EAAQ,kBAAoB,IACnDW,IACAC,EAAa,EAEjB,EAEMsB,EAAS,SAAY,CAEzB,IAAMrB,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,qBAAqBc,CAAY,EACvD,MAAAJ,EACA,QAAAvB,EACA,SAAAE,EACA,MAAAD,EACA,cAAAW,EACA,8BAAAF,CACF,CAAC,EAED,GAAI,CAACkB,EAAW,aACd,OAAAhB,EAAc,KAAKY,CAAkB,EAC9BsB,EAAO,EAGhB,IAAMV,EAAmBV,EAAY,cAAc,EAC7CsB,EAAUZ,EAAiB,MAE3B,CAAE,eAAAD,CAAe,EAAItB,EAAQ,qBAAqBmC,CAAO,EAEzDC,EAAoBX,EAAY,mBAAmB,CACvD,GAAGF,EACH,SAAUD,CACZ,CAAC,EAED,GAAI,CACF,IAAMe,EAAY,MAAMpD,EAAW,CAACmD,CAAiB,CAAC,EAClDC,IACFtC,EAAc,KAAKY,CAAkB,EACrCL,EAAmB,KAAK+B,EAAU,CAAC,CAAC,GAGtC,IAAMC,EAAe3B,IAAuBf,EAAgB,OAAS,EAC/D2C,GAA0B3C,EAAgB,OAC7Ca,GAAOA,EAAG,YACb,EAEM+B,GACJlC,EAAmB,SAAWiC,GAAwB,OAExD,GAAID,GAAgBE,GAA0B,CAC5C,IAAMC,EACJ,MAAMvD,EAAkBoB,CAAkB,EAC5C,OAAAN,EAAQ,QAAQ,EACTI,EAAQqC,CAA6B,CAC9C,CAEAR,EAAO,CACT,OAASd,EAAO,CACdnB,EAAQ,QAAQ,EAChBK,EAAOc,CAAK,CACd,CACF,EAEMuB,EAAmB,IAAI,IAAI,CAC/B,0BAAsBT,CAAM,EAC5B,6BAAyBC,CAAM,EAC/B,2BAAuBF,CAAQ,EAC/B,0BAAsBZ,CAAM,EAC5B,0CAAsCC,CAAmB,CAC3D,CAAC,EAED,SAASsB,GAAsB,CAC7B,OAAW,CAACC,EAAOC,CAAO,IAAKH,EAC7B1C,EAAQ,oBAAoB4C,EAAOC,CAAO,CAE9C,CAEAF,EAAoB,EACpB,MAAM/B,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", "error", "onBack", "onSetGasPriceOption", "gasPriceOption", "plainTransaction", "newTransaction", "Transaction", "feeData", "getFeeData", "formattedGasPrice", "formatAmount", "DECIMALS", "DIGITS", "onCancel", "onNext", "onSign", "txNonce", "transactionToSign", "signedTxs", "isLastScreen", "allSignableTransactions", "areAllTransactionsSigned", "optionallyGuardedTransactions", "eventHandlersMap", "setupEventListeners", "event", "handler"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-PSJI2G34.mjs";import{a as d}from"./chunk-2CG6PNPJ.mjs";import{a as i}from"./chunk-FROSOADM.mjs";import{a as g}from"./chunk-VJBLHJYB.mjs";import{a}from"./chunk-RRK6GTWZ.mjs";import{a as p,b as e}from"./chunk-4VUMAG4J.mjs";import{a as r}from"./chunk-RWQNLK3I.mjs";import{a as o}from"./chunk-IPMSVHGJ.mjs";import{rest as t}from"msw";import{setupServer as u}from"msw/node";var s=m=>(R,f,n)=>f(n.status(200),n.json(m)),k=[t.get(`${e.apiAddress}/dapp/config`,s(i)),t.get(`${e.apiAddress}/network/config`,s(d)),t.get(`https://${o.url}/socket.io/`,s(c)),t.get(`${e.apiAddress}/websocket/config`,s(o)),t.get(`${e.apiAddress}/accounts/${p}`,s(a)),t.get(`${e.apiAddress}/accounts/${r.address}`,s(r)),t.get(`${e.apiAddress}/blocks`,s(g))],P=u(...k);export{t as a,s as b,P as c};
|
|
2
|
-
//# sourceMappingURL=chunk-OCTCR7WH.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/__mocks__/server.ts"],
|
|
4
|
-
"sourcesContent": ["import {\n DefaultBodyType,\n PathParams,\n ResponseComposition,\n rest,\n RestContext,\n RestRequest\n} from 'msw';\nimport { setupServer } from 'msw/node';\nimport { testAddress, testNetwork } from './accountConfig';\nimport {\n account,\n blocks,\n dappConfig,\n networkConfig,\n socketResponse,\n websocketConfig\n} from './data';\nimport { wrapEgldContract } from './data/wrapEgldContract';\n\nexport const mockResponse =\n <T extends DefaultBodyType>(body: T) =>\n (\n _req: RestRequest<never, PathParams<string>>,\n res: ResponseComposition<DefaultBodyType>,\n ctx: RestContext\n ) => {\n return res(ctx.status(200), ctx.json(body));\n };\n\nconst handlers = [\n rest.get(`${testNetwork.apiAddress}/dapp/config`, mockResponse(dappConfig)),\n\n rest.get(\n `${testNetwork.apiAddress}/network/config`,\n mockResponse(networkConfig)\n ),\n rest.get(\n `https://${websocketConfig.url}/socket.io/`,\n mockResponse(socketResponse)\n ),\n rest.get(\n `${testNetwork.apiAddress}/websocket/config`,\n mockResponse(websocketConfig)\n ),\n rest.get(\n `${testNetwork.apiAddress}/accounts/${testAddress}`,\n mockResponse(account)\n ),\n rest.get(\n `${testNetwork.apiAddress}/accounts/${wrapEgldContract.address}`,\n mockResponse(wrapEgldContract)\n ),\n rest.get(`${testNetwork.apiAddress}/blocks`, mockResponse(blocks))\n];\n\n// This configures a request mocking server with the given request handlers.\nconst server = setupServer(...handlers);\n\nexport { server, rest };\n"],
|
|
5
|
-
"mappings": "0UAAA,OAIE,QAAAA,MAGK,MACP,OAAS,eAAAC,MAAmB,WAYrB,IAAMC,EACiBC,GAC5B,CACEC,EACAC,EACAC,IAEOD,EAAIC,EAAI,OAAO,GAAG,EAAGA,EAAI,KAAKH,CAAI,CAAC,EAGxCI,EAAW,CACfC,EAAK,IAAI,GAAGC,EAAY,UAAU,eAAgBP,EAAaQ,CAAU,CAAC,EAE1EF,EAAK,IACH,GAAGC,EAAY,UAAU,kBACzBP,EAAaS,CAAa,CAC5B,EACAH,EAAK,IACH,WAAWI,EAAgB,GAAG,cAC9BV,EAAaW,CAAc,CAC7B,EACAL,EAAK,IACH,GAAGC,EAAY,UAAU,oBACzBP,EAAaU,CAAe,CAC9B,EACAJ,EAAK,IACH,GAAGC,EAAY,UAAU,aAAaK,CAAW,GACjDZ,EAAaa,CAAO,CACtB,EACAP,EAAK,IACH,GAAGC,EAAY,UAAU,aAAaO,EAAiB,OAAO,GAC9Dd,EAAac,CAAgB,CAC/B,EACAR,EAAK,IAAI,GAAGC,EAAY,UAAU,UAAWP,EAAae,CAAM,CAAC,CACnE,EAGMC,EAASC,EAAY,GAAGZ,CAAQ",
|
|
6
|
-
"names": ["rest", "setupServer", "mockResponse", "body", "_req", "res", "ctx", "handlers", "rest", "testNetwork", "dappConfig", "networkConfig", "websocketConfig", "socketResponse", "testAddress", "account", "wrapEgldContract", "blocks", "server", "setupServer"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-SVR3TUOY.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-U24DHQDI.mjs";import{c as n}from"./chunk-EGO5R7IZ.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-ZZ6Z3QEX.mjs.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|