@multiversx/sdk-dapp 5.0.0-alpha.15 → 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/out/__chunks__/{chunk-JMXZ4XDT.mjs → chunk-22WRFZHZ.mjs} +2 -2
- package/out/__chunks__/{chunk-PTLBE2H2.mjs → chunk-27VTB7II.mjs} +2 -2
- package/out/__chunks__/{chunk-PTLBE2H2.mjs.map → chunk-27VTB7II.mjs.map} +2 -2
- package/out/__chunks__/{chunk-ODIVUD2L.mjs → chunk-2FKKBSB4.mjs} +2 -2
- package/out/__chunks__/{chunk-Y4OUAJSG.mjs → chunk-33NGD6LW.mjs} +2 -2
- package/out/__chunks__/{chunk-7H2PZVSJ.mjs → chunk-3EEDALSW.mjs} +2 -2
- package/out/__chunks__/{chunk-AI7LYKBU.mjs → chunk-3LZAM52Q.mjs} +2 -2
- package/out/__chunks__/chunk-45SUU3H5.mjs +2 -0
- package/out/__chunks__/{chunk-F4W3N3JZ.mjs → chunk-465RHWQ5.mjs} +2 -2
- package/out/__chunks__/{chunk-IQVVCXXL.mjs → chunk-4VFF2EHB.mjs} +2 -2
- package/out/__chunks__/{chunk-KNRIU7GR.mjs → chunk-52VQSACM.mjs} +2 -2
- package/out/__chunks__/{chunk-RPBH7EFR.mjs → chunk-5CDLB7VW.mjs} +2 -2
- package/out/__chunks__/{chunk-PH2YVVEA.mjs → chunk-5JZI77YI.mjs} +2 -2
- package/out/__chunks__/{chunk-R6QXUFY4.mjs → chunk-5R3VZX6E.mjs} +2 -2
- package/out/__chunks__/{chunk-VML7BRY5.mjs → chunk-5SUSXTTZ.mjs} +2 -2
- package/out/__chunks__/{chunk-MXLRZPMK.mjs → chunk-5V3N4MOZ.mjs} +2 -2
- package/out/__chunks__/{chunk-33V2XBND.mjs → chunk-5VAGLG3Y.mjs} +2 -2
- package/out/__chunks__/{chunk-4MNCFSUO.mjs → chunk-6FIRQBP7.mjs} +2 -2
- package/out/__chunks__/chunk-6J4LMQ4Z.mjs +2 -0
- package/out/__chunks__/{chunk-CRHPVNRL.mjs → chunk-6KI6UL6C.mjs} +2 -2
- package/out/__chunks__/chunk-6MDV4CER.mjs +2 -0
- package/out/__chunks__/{chunk-GZTGHNVI.mjs → chunk-6NRL7OLL.mjs} +2 -2
- package/out/__chunks__/{chunk-T5GA3FRJ.mjs → chunk-72VJ6ESJ.mjs} +2 -2
- package/out/__chunks__/chunk-ARJZ4W7T.mjs +2 -0
- package/out/__chunks__/{chunk-I2XLXOU2.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-Z6VA2J3J.mjs → chunk-BNVOP5SM.mjs} +2 -2
- package/out/__chunks__/{chunk-CBH7E57H.mjs → chunk-C5VJMWLU.mjs} +2 -2
- package/out/__chunks__/chunk-CUBNX4ZT.mjs +2 -0
- package/out/__chunks__/{chunk-BHXGUN5H.mjs.map → chunk-CUBNX4ZT.mjs.map} +1 -1
- package/out/__chunks__/{chunk-BTXVE2KE.mjs → chunk-EBWZONUV.mjs} +2 -2
- package/out/__chunks__/{chunk-SFZJXI7K.mjs → chunk-ECZH2TNF.mjs} +2 -2
- package/out/__chunks__/{chunk-532QQEN4.mjs → chunk-ESC2Z53Z.mjs} +2 -2
- package/out/__chunks__/{chunk-YIWTWMQF.mjs → chunk-EXMSBG6B.mjs} +2 -2
- package/out/__chunks__/{chunk-MAK5NFYN.mjs → chunk-F7YJNEFJ.mjs} +2 -2
- package/out/__chunks__/{chunk-AZGVI4QW.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-YMSRWWNA.mjs → chunk-GZUFMNUL.mjs} +2 -2
- package/out/__chunks__/{chunk-EO6CD6VO.mjs → chunk-H6SRZM4T.mjs} +2 -2
- package/out/__chunks__/{chunk-QZ27VHW6.mjs → chunk-I4KPP4PH.mjs} +2 -2
- package/out/__chunks__/{chunk-5MDDPC5M.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-MH42KJTU.mjs → chunk-KCP2UWHU.mjs} +2 -2
- package/out/__chunks__/{chunk-4USFY3DC.mjs → chunk-KDIJXWH3.mjs} +2 -2
- package/out/__chunks__/chunk-KYWMUINZ.mjs +2 -0
- package/out/__chunks__/{chunk-ES6E2HM6.mjs → chunk-LDM4KVJG.mjs} +2 -2
- package/out/__chunks__/{chunk-MYCXIA5W.mjs → chunk-LDUJ24G3.mjs} +2 -2
- package/out/__chunks__/{chunk-7RFUEHZX.mjs → chunk-LO6RI4RO.mjs} +2 -2
- package/out/__chunks__/{chunk-JJ2NEPU5.mjs → chunk-MAY7DC6U.mjs} +2 -2
- package/out/__chunks__/{chunk-TEYO3CV4.mjs → chunk-NAVK4GNG.mjs} +2 -2
- package/out/__chunks__/{chunk-AZ2KOM5R.mjs → chunk-NJ276HWT.mjs} +2 -2
- package/out/__chunks__/{chunk-PLO67H6R.mjs → chunk-NQMOKUJK.mjs} +2 -2
- package/out/__chunks__/{chunk-CUABBK2P.mjs → chunk-P5OSWL4G.mjs} +2 -2
- package/out/__chunks__/{chunk-JYZ5XXJG.mjs → chunk-PE4P3KI6.mjs} +2 -2
- package/out/__chunks__/chunk-PNPUIES4.mjs +2 -0
- package/out/__chunks__/{chunk-C3F3EPNZ.mjs → chunk-QCXQJ5YM.mjs} +2 -2
- package/out/__chunks__/{chunk-MUYF2CWM.mjs → chunk-ROLT7YVP.mjs} +2 -2
- package/out/__chunks__/{chunk-LV2BL56O.mjs → chunk-RTTFUTCM.mjs} +2 -2
- package/out/__chunks__/chunk-S4ZDWFIY.mjs +2 -0
- package/out/__chunks__/{chunk-GRD5MWEG.mjs → chunk-S7TUDNXQ.mjs} +2 -2
- package/out/__chunks__/{chunk-RCRWI3XT.mjs → chunk-SRHVF3CF.mjs} +2 -2
- package/out/__chunks__/{chunk-OYY5ZF7L.mjs → chunk-T3EPK6N7.mjs} +2 -2
- package/out/__chunks__/{chunk-RG72LHS3.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-GFK4E7GU.mjs → chunk-URLVAGF2.mjs} +2 -2
- package/out/__chunks__/{chunk-SLBB2BEP.mjs → chunk-V63MHRY7.mjs} +2 -2
- package/out/__chunks__/chunk-VEXXDADK.mjs +2 -0
- package/out/__chunks__/{chunk-I2BU6ZOQ.mjs → chunk-VHZCEPGZ.mjs} +2 -2
- package/out/__chunks__/{chunk-RLVN434K.mjs → chunk-X5E2DC6M.mjs} +2 -2
- package/out/__chunks__/{chunk-QCJMV6NU.mjs → chunk-X5JDKLIV.mjs} +2 -2
- package/out/__chunks__/{chunk-TDUKMRJX.mjs → chunk-XFV5VRHE.mjs} +2 -2
- package/out/__chunks__/{chunk-EBQZQA2Q.mjs → chunk-XO3OXUDH.mjs} +2 -2
- package/out/__chunks__/chunk-XSEV6HR5.mjs +2 -0
- package/out/__chunks__/{chunk-F4WQOPSX.mjs → chunk-Y7BIC4GU.mjs} +2 -2
- package/out/__chunks__/chunk-YYW6XBAT.mjs +2 -0
- package/out/__chunks__/{chunk-SZHXVDHF.mjs → chunk-YZKMFI3Y.mjs} +2 -2
- package/out/__chunks__/{chunk-O67WFDS3.mjs → chunk-ZCMSJEI4.mjs} +2 -2
- package/out/__chunks__/chunk-ZCNHQY2S.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.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/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/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.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.mjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/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/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 +1 -1
- package/out/__chunks__/chunk-4KABQZJU.mjs +0 -2
- package/out/__chunks__/chunk-4NXTT4UR.mjs +0 -2
- package/out/__chunks__/chunk-BHXGUN5H.mjs +0 -2
- package/out/__chunks__/chunk-BLUKJJTY.mjs +0 -2
- package/out/__chunks__/chunk-CMEBBADF.mjs +0 -2
- package/out/__chunks__/chunk-FGRMMCGF.mjs +0 -2
- package/out/__chunks__/chunk-GXMIT5JQ.mjs +0 -2
- package/out/__chunks__/chunk-GXMIT5JQ.mjs.map +0 -7
- package/out/__chunks__/chunk-GZAAD3TR.mjs +0 -2
- package/out/__chunks__/chunk-HACVN4R6.mjs +0 -2
- package/out/__chunks__/chunk-JGWGDO7E.mjs +0 -2
- package/out/__chunks__/chunk-KOALRMAA.mjs +0 -2
- package/out/__chunks__/chunk-O67FZOYR.mjs +0 -2
- package/out/__chunks__/chunk-QYV4JQI5.mjs +0 -2
- package/out/__chunks__/chunk-S2FAYMW2.mjs +0 -2
- package/out/__chunks__/chunk-TGCPDWQK.mjs +0 -2
- package/out/__chunks__/chunk-VOZWABCM.mjs +0 -2
- package/out/__chunks__/chunk-VTL2OSUK.mjs +0 -2
- package/out/__chunks__/chunk-YDGXPL33.mjs +0 -2
- package/out/__chunks__/chunk-YVH7ZJXA.mjs +0 -2
- package/out/__chunks__/chunk-ZSHUGRGA.mjs +0 -2
- /package/out/__chunks__/{chunk-JMXZ4XDT.mjs.map → chunk-22WRFZHZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ODIVUD2L.mjs.map → chunk-2FKKBSB4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y4OUAJSG.mjs.map → chunk-33NGD6LW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7H2PZVSJ.mjs.map → chunk-3EEDALSW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AI7LYKBU.mjs.map → chunk-3LZAM52Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KOALRMAA.mjs.map → chunk-45SUU3H5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F4W3N3JZ.mjs.map → chunk-465RHWQ5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IQVVCXXL.mjs.map → chunk-4VFF2EHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KNRIU7GR.mjs.map → chunk-52VQSACM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RPBH7EFR.mjs.map → chunk-5CDLB7VW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PH2YVVEA.mjs.map → chunk-5JZI77YI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R6QXUFY4.mjs.map → chunk-5R3VZX6E.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VML7BRY5.mjs.map → chunk-5SUSXTTZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MXLRZPMK.mjs.map → chunk-5V3N4MOZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-33V2XBND.mjs.map → chunk-5VAGLG3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4MNCFSUO.mjs.map → chunk-6FIRQBP7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YVH7ZJXA.mjs.map → chunk-6J4LMQ4Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CRHPVNRL.mjs.map → chunk-6KI6UL6C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CMEBBADF.mjs.map → chunk-6MDV4CER.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GZTGHNVI.mjs.map → chunk-6NRL7OLL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-T5GA3FRJ.mjs.map → chunk-72VJ6ESJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GZAAD3TR.mjs.map → chunk-ARJZ4W7T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I2XLXOU2.mjs.map → chunk-ATEXXLUV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O67FZOYR.mjs.map → chunk-B4RZU4FG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4NXTT4UR.mjs.map → chunk-BKGXNJT5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z6VA2J3J.mjs.map → chunk-BNVOP5SM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CBH7E57H.mjs.map → chunk-C5VJMWLU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BTXVE2KE.mjs.map → chunk-EBWZONUV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SFZJXI7K.mjs.map → chunk-ECZH2TNF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-532QQEN4.mjs.map → chunk-ESC2Z53Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YIWTWMQF.mjs.map → chunk-EXMSBG6B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MAK5NFYN.mjs.map → chunk-F7YJNEFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AZGVI4QW.mjs.map → chunk-FXVMPOC7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QYV4JQI5.mjs.map → chunk-GLDB2NRB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-S2FAYMW2.mjs.map → chunk-GWVYPYNB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YMSRWWNA.mjs.map → chunk-GZUFMNUL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EO6CD6VO.mjs.map → chunk-H6SRZM4T.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QZ27VHW6.mjs.map → chunk-I4KPP4PH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5MDDPC5M.mjs.map → chunk-ID6KUNJA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZSHUGRGA.mjs.map → chunk-IQADSDGP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MH42KJTU.mjs.map → chunk-KCP2UWHU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4USFY3DC.mjs.map → chunk-KDIJXWH3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VTL2OSUK.mjs.map → chunk-KYWMUINZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ES6E2HM6.mjs.map → chunk-LDM4KVJG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MYCXIA5W.mjs.map → chunk-LDUJ24G3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7RFUEHZX.mjs.map → chunk-LO6RI4RO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JJ2NEPU5.mjs.map → chunk-MAY7DC6U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TEYO3CV4.mjs.map → chunk-NAVK4GNG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AZ2KOM5R.mjs.map → chunk-NJ276HWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PLO67H6R.mjs.map → chunk-NQMOKUJK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CUABBK2P.mjs.map → chunk-P5OSWL4G.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JYZ5XXJG.mjs.map → chunk-PE4P3KI6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BLUKJJTY.mjs.map → chunk-PNPUIES4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C3F3EPNZ.mjs.map → chunk-QCXQJ5YM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MUYF2CWM.mjs.map → chunk-ROLT7YVP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LV2BL56O.mjs.map → chunk-RTTFUTCM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TGCPDWQK.mjs.map → chunk-S4ZDWFIY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GRD5MWEG.mjs.map → chunk-S7TUDNXQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RCRWI3XT.mjs.map → chunk-SRHVF3CF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OYY5ZF7L.mjs.map → chunk-T3EPK6N7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RG72LHS3.mjs.map → chunk-TJN2VTAD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VOZWABCM.mjs.map → chunk-TUDSXSJ7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FGRMMCGF.mjs.map → chunk-UK4SUJCE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GFK4E7GU.mjs.map → chunk-URLVAGF2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SLBB2BEP.mjs.map → chunk-V63MHRY7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HACVN4R6.mjs.map → chunk-VEXXDADK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I2BU6ZOQ.mjs.map → chunk-VHZCEPGZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RLVN434K.mjs.map → chunk-X5E2DC6M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QCJMV6NU.mjs.map → chunk-X5JDKLIV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TDUKMRJX.mjs.map → chunk-XFV5VRHE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EBQZQA2Q.mjs.map → chunk-XO3OXUDH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JGWGDO7E.mjs.map → chunk-XSEV6HR5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F4WQOPSX.mjs.map → chunk-Y7BIC4GU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YDGXPL33.mjs.map → chunk-YYW6XBAT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SZHXVDHF.mjs.map → chunk-YZKMFI3Y.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O67WFDS3.mjs.map → chunk-ZCMSJEI4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4KABQZJU.mjs.map → chunk-ZCNHQY2S.mjs.map} +0 -0
|
@@ -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-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
|
|
@@ -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-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-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,2 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk-FGRMMCGF.mjs";import{a as b}from"./chunk-ES6E2HM6.mjs";import{a as k}from"./chunk-QXC4D3AC.mjs";import{a as R}from"./chunk-OD4ANAAQ.mjs";import{a as D}from"./chunk-PTLBE2H2.mjs";import{a as I}from"./chunk-AV4HSXYZ.mjs";import{a as j}from"./chunk-YTFYVPZO.mjs";import{a as _}from"./chunk-F4WQOPSX.mjs";import{a as O}from"./chunk-7RFUEHZX.mjs";import{a as x}from"./chunk-S2FAYMW2.mjs";import{u as A}from"./chunk-GZTGHNVI.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-GXMIT5JQ.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{a as t}from"./chunk-MH42KJTU.mjs";import{c as n}from"./chunk-GZTGHNVI.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-O67FZOYR.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-33V2XBND.mjs";import{b as s}from"./chunk-TQA3JDNV.mjs";import{u as n}from"./chunk-GZTGHNVI.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-TGCPDWQK.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as p}from"./chunk-C3F3EPNZ.mjs";import{a as f}from"./chunk-CMEBBADF.mjs";import{s as n}from"./chunk-BTXVE2KE.mjs";import{u as i}from"./chunk-GZTGHNVI.mjs";import{d as t}from"./chunk-VNLGNNIL.mjs";import{a as e}from"./chunk-OJV6XRG5.mjs";import{a as m}from"./chunk-EO6CD6VO.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-VTL2OSUK.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
|