@multiversx/sdk-dapp 5.6.18 → 5.6.19
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-IYSSPSVB.mjs → chunk-26ZLUW5U.mjs} +2 -2
- package/out/__chunks__/{chunk-7HZE5WEG.mjs → chunk-2PBAIYAS.mjs} +2 -2
- package/out/__chunks__/{chunk-LLQX4NJE.mjs → chunk-2X7TEBKV.mjs} +2 -2
- package/out/__chunks__/{chunk-QRNPEDC4.mjs → chunk-34IU5RID.mjs} +2 -2
- package/out/__chunks__/{chunk-3OOEFQUC.mjs → chunk-3JLH6JA5.mjs} +2 -2
- package/out/__chunks__/{chunk-XZIQUMYI.mjs → chunk-3X725MWM.mjs} +2 -2
- package/out/__chunks__/{chunk-E4YZV652.mjs → chunk-4MYOHPWQ.mjs} +2 -2
- package/out/__chunks__/chunk-4NDAFTCP.mjs +2 -0
- package/out/__chunks__/{chunk-B2B2TDUL.mjs → chunk-4ZSQXL6B.mjs} +2 -2
- package/out/__chunks__/{chunk-JPUDVVZY.mjs → chunk-5BSNRCSS.mjs} +2 -2
- package/out/__chunks__/{chunk-47AYFELF.mjs → chunk-5JG4D2EM.mjs} +2 -2
- package/out/__chunks__/{chunk-VIQEU6ZA.mjs → chunk-6OZQESGL.mjs} +2 -2
- package/out/__chunks__/{chunk-CIEMKL2O.mjs → chunk-6WGV7MIT.mjs} +2 -2
- package/out/__chunks__/{chunk-BCZWHACO.mjs → chunk-7CHZZTO6.mjs} +2 -2
- package/out/__chunks__/{chunk-GG4GZJTT.mjs → chunk-7PJNMRIW.mjs} +2 -2
- package/out/__chunks__/{chunk-KBMUH73C.mjs → chunk-AJN4AGEU.mjs} +2 -2
- package/out/__chunks__/{chunk-TBB5SD2F.mjs → chunk-AVXFQLR7.mjs} +2 -2
- package/out/__chunks__/{chunk-4L7KZTJE.mjs → chunk-BV4E5563.mjs} +2 -2
- package/out/__chunks__/{chunk-KLKVV2YX.mjs → chunk-BVITCHFC.mjs} +2 -2
- package/out/__chunks__/{chunk-ZCTSX5A6.mjs → chunk-C5BDHCBB.mjs} +2 -2
- package/out/__chunks__/{chunk-BBIFIN3W.mjs → chunk-CAGA6FMV.mjs} +2 -2
- package/out/__chunks__/{chunk-ZHWSTQEI.mjs → chunk-CH2AZ774.mjs} +2 -2
- package/out/__chunks__/{chunk-JG44VGD5.mjs → chunk-CVTAFDQT.mjs} +2 -2
- package/out/__chunks__/{chunk-L7VHBKZV.mjs → chunk-DD7OHHU6.mjs} +2 -2
- package/out/__chunks__/{chunk-DJEEPI7Q.mjs → chunk-DDCXPWTR.mjs} +2 -2
- package/out/__chunks__/{chunk-RJU2PPYB.mjs → chunk-DX5MVIR3.mjs} +2 -2
- package/out/__chunks__/{chunk-5OI5GIVQ.mjs → chunk-ERD4AYVX.mjs} +2 -2
- package/out/__chunks__/{chunk-IP5UKLWO.mjs → chunk-EW2TPN2K.mjs} +2 -2
- package/out/__chunks__/{chunk-PES47F5C.mjs → chunk-EW7WIQXR.mjs} +2 -2
- package/out/__chunks__/{chunk-MFSHDWXD.mjs → chunk-FBNLZTZP.mjs} +2 -2
- package/out/__chunks__/{chunk-DNNIE76H.mjs → chunk-H3FKLSHF.mjs} +2 -2
- package/out/__chunks__/{chunk-UCOMADXM.mjs → chunk-H3SHS5LR.mjs} +2 -2
- package/out/__chunks__/{chunk-VRVJA2UC.mjs → chunk-HQ3ABBZC.mjs} +2 -2
- package/out/__chunks__/{chunk-QBZAZ6WB.mjs → chunk-I6FJCY4J.mjs} +2 -2
- package/out/__chunks__/{chunk-IMKE7N5T.mjs → chunk-IDQ64TF3.mjs} +2 -2
- package/out/__chunks__/chunk-IFSWMSRG.mjs +2 -0
- package/out/__chunks__/{chunk-6ISK5EQR.mjs → chunk-JWU5PA25.mjs} +2 -2
- package/out/__chunks__/{chunk-MORBVWN4.mjs → chunk-JX4HMTB3.mjs} +2 -2
- package/out/__chunks__/chunk-K6AQV35Z.mjs +2 -0
- package/out/__chunks__/{chunk-5E5P6CWQ.mjs → chunk-KDLIYFBX.mjs} +2 -2
- package/out/__chunks__/{chunk-H3ASBOLT.mjs → chunk-KNL2POIB.mjs} +2 -2
- package/out/__chunks__/chunk-KQSMID7X.mjs +2 -0
- package/out/__chunks__/{chunk-JKM3XYCF.mjs → chunk-KREXZ6T5.mjs} +2 -2
- package/out/__chunks__/{chunk-YNPRZVAK.mjs → chunk-L2LBKHHC.mjs} +2 -2
- package/out/__chunks__/{chunk-P5XJESSE.mjs → chunk-LXSL75K2.mjs} +2 -2
- package/out/__chunks__/chunk-MOLCAQOX.mjs +2 -0
- package/out/__chunks__/{chunk-JNW3DEA3.mjs → chunk-MR3GEQHS.mjs} +2 -2
- package/out/__chunks__/{chunk-TFJT3FQL.mjs → chunk-NINI4NYS.mjs} +2 -2
- package/out/__chunks__/chunk-NJNH75KC.mjs +2 -0
- package/out/__chunks__/{chunk-NUZA2DSN.mjs → chunk-NOG3CT7C.mjs} +2 -2
- package/out/__chunks__/{chunk-676S3ZXO.mjs → chunk-OVETVY3W.mjs} +2 -2
- package/out/__chunks__/{chunk-L34PPMTI.mjs → chunk-OVL2E7SE.mjs} +2 -2
- package/out/__chunks__/{chunk-I2C5F23X.mjs → chunk-OXRMSAFJ.mjs} +2 -2
- package/out/__chunks__/chunk-PD22EGXF.mjs +2 -0
- package/out/__chunks__/{chunk-UC5L5622.mjs → chunk-PMKTA4V7.mjs} +2 -2
- package/out/__chunks__/{chunk-CY6KN5YG.mjs → chunk-PNBBLEZ2.mjs} +2 -2
- package/out/__chunks__/chunk-PVEBIM2W.mjs +2 -0
- package/out/__chunks__/{chunk-U3UMCTU6.mjs.map → chunk-PVEBIM2W.mjs.map} +2 -2
- package/out/__chunks__/{chunk-TMIEU2IG.mjs → chunk-Q233S6HZ.mjs} +2 -2
- package/out/__chunks__/{chunk-NXOMGRWS.mjs → chunk-Q43FHU3P.mjs} +2 -2
- package/out/__chunks__/{chunk-V2A5JSZZ.mjs → chunk-Q7SCF37V.mjs} +2 -2
- package/out/__chunks__/{chunk-3RXJSE37.mjs → chunk-QP2HSZ6V.mjs} +2 -2
- package/out/__chunks__/chunk-QSDCXYIC.mjs +2 -0
- package/out/__chunks__/chunk-R34N7ET2.mjs +2 -0
- package/out/__chunks__/{chunk-64HF66JN.mjs → chunk-RBTJKNRA.mjs} +2 -2
- package/out/__chunks__/{chunk-OJ4YA7YX.mjs → chunk-RLIUGEQ3.mjs} +2 -2
- package/out/__chunks__/{chunk-5J4IWE7Q.mjs → chunk-RUYA6SXC.mjs} +2 -2
- package/out/__chunks__/chunk-RVOMGG2G.mjs +2 -0
- package/out/__chunks__/{chunk-WKWRP3PH.mjs.map → chunk-RVOMGG2G.mjs.map} +1 -1
- package/out/__chunks__/chunk-SXEWT77H.mjs +2 -0
- package/out/__chunks__/chunk-SZX5MGAQ.mjs +2 -0
- package/out/__chunks__/chunk-TYL3V64Q.mjs +2 -0
- package/out/__chunks__/{chunk-TQIR4R7A.mjs → chunk-TYOOTHZD.mjs} +2 -2
- package/out/__chunks__/{chunk-GSUU2PBX.mjs → chunk-UFL3GGET.mjs} +2 -2
- package/out/__chunks__/{chunk-R25SH3F4.mjs → chunk-UP6JVQ74.mjs} +2 -2
- package/out/__chunks__/chunk-UQUKDEWT.mjs +2 -0
- package/out/__chunks__/chunk-VBHWYYE5.mjs +2 -0
- package/out/__chunks__/{chunk-IBJVJ7HA.mjs → chunk-VHEZTNOT.mjs} +2 -2
- package/out/__chunks__/{chunk-ARGJ3V72.mjs → chunk-WMIOEAIT.mjs} +2 -2
- package/out/__chunks__/{chunk-XY2LABQZ.mjs → chunk-WMM5K654.mjs} +2 -2
- package/out/__chunks__/{chunk-UMPEMJY4.mjs → chunk-XAU4VOHW.mjs} +2 -2
- package/out/__chunks__/{chunk-C5FVAJRJ.mjs → chunk-XHGVRUTM.mjs} +2 -2
- package/out/__chunks__/{chunk-RSJBTSUT.mjs → chunk-XZ5SGRYM.mjs} +2 -2
- package/out/__chunks__/{chunk-UWO2OMPK.mjs → chunk-YFPLRVTS.mjs} +2 -2
- package/out/__chunks__/{chunk-D5EZPRUN.mjs → chunk-YJLJDVM5.mjs} +2 -2
- package/out/__chunks__/{chunk-5FC73VMP.mjs → chunk-YKABI5OE.mjs} +2 -2
- package/out/__chunks__/{chunk-DKSNT5LJ.mjs → chunk-YNUFS4JI.mjs} +2 -2
- package/out/__chunks__/{chunk-VBOB5XLW.mjs → chunk-ZAAROKGI.mjs} +2 -2
- package/out/__chunks__/{chunk-2GMLC2DS.mjs → chunk-ZQ447NAW.mjs} +2 -2
- package/out/__chunks__/{chunk-YPWANG47.mjs → chunk-ZQNTERBI.mjs} +2 -2
- package/out/__chunks__/{chunk-ZTVEY37I.mjs → chunk-ZXDB6Q24.mjs} +2 -2
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs +1 -1
- package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
- package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
- package/out/controllers/FormatAmountController/index.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
- package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
- package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
- package/out/methods/network/getEgldLabel.mjs +1 -1
- package/out/methods/network/getExplorerAddress.mjs +1 -1
- package/out/methods/network/getNetworkConfig.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
- package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/providers/DappProvider/DappProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
- package/out/providers/strategies/helpers/index.mjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/package.json +1 -1
- package/out/__chunks__/chunk-264QHLQ6.mjs +0 -2
- package/out/__chunks__/chunk-2YFKORNQ.mjs +0 -2
- package/out/__chunks__/chunk-37XA46ZD.mjs +0 -2
- package/out/__chunks__/chunk-4SG5GRKG.mjs +0 -2
- package/out/__chunks__/chunk-64MTSCFM.mjs +0 -2
- package/out/__chunks__/chunk-A6ZFXHEW.mjs +0 -2
- package/out/__chunks__/chunk-G4EDYHSU.mjs +0 -2
- package/out/__chunks__/chunk-IRBY2LR6.mjs +0 -2
- package/out/__chunks__/chunk-KME5MTYJ.mjs +0 -2
- package/out/__chunks__/chunk-RQCJMSAJ.mjs +0 -2
- package/out/__chunks__/chunk-U3UMCTU6.mjs +0 -2
- package/out/__chunks__/chunk-VI5FQEZN.mjs +0 -2
- package/out/__chunks__/chunk-VKA6F7QH.mjs +0 -2
- package/out/__chunks__/chunk-WKWRP3PH.mjs +0 -2
- package/out/__chunks__/chunk-YANGTW26.mjs +0 -2
- package/out/__chunks__/chunk-ZTQ2OP6M.mjs +0 -2
- /package/out/__chunks__/{chunk-IYSSPSVB.mjs.map → chunk-26ZLUW5U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7HZE5WEG.mjs.map → chunk-2PBAIYAS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LLQX4NJE.mjs.map → chunk-2X7TEBKV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QRNPEDC4.mjs.map → chunk-34IU5RID.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3OOEFQUC.mjs.map → chunk-3JLH6JA5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XZIQUMYI.mjs.map → chunk-3X725MWM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E4YZV652.mjs.map → chunk-4MYOHPWQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2YFKORNQ.mjs.map → chunk-4NDAFTCP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B2B2TDUL.mjs.map → chunk-4ZSQXL6B.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JPUDVVZY.mjs.map → chunk-5BSNRCSS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-47AYFELF.mjs.map → chunk-5JG4D2EM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VIQEU6ZA.mjs.map → chunk-6OZQESGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CIEMKL2O.mjs.map → chunk-6WGV7MIT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BCZWHACO.mjs.map → chunk-7CHZZTO6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GG4GZJTT.mjs.map → chunk-7PJNMRIW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KBMUH73C.mjs.map → chunk-AJN4AGEU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TBB5SD2F.mjs.map → chunk-AVXFQLR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4L7KZTJE.mjs.map → chunk-BV4E5563.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KLKVV2YX.mjs.map → chunk-BVITCHFC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZCTSX5A6.mjs.map → chunk-C5BDHCBB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BBIFIN3W.mjs.map → chunk-CAGA6FMV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZHWSTQEI.mjs.map → chunk-CH2AZ774.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JG44VGD5.mjs.map → chunk-CVTAFDQT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L7VHBKZV.mjs.map → chunk-DD7OHHU6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DJEEPI7Q.mjs.map → chunk-DDCXPWTR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RJU2PPYB.mjs.map → chunk-DX5MVIR3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5OI5GIVQ.mjs.map → chunk-ERD4AYVX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IP5UKLWO.mjs.map → chunk-EW2TPN2K.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PES47F5C.mjs.map → chunk-EW7WIQXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MFSHDWXD.mjs.map → chunk-FBNLZTZP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DNNIE76H.mjs.map → chunk-H3FKLSHF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UCOMADXM.mjs.map → chunk-H3SHS5LR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VRVJA2UC.mjs.map → chunk-HQ3ABBZC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QBZAZ6WB.mjs.map → chunk-I6FJCY4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IMKE7N5T.mjs.map → chunk-IDQ64TF3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-37XA46ZD.mjs.map → chunk-IFSWMSRG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ISK5EQR.mjs.map → chunk-JWU5PA25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MORBVWN4.mjs.map → chunk-JX4HMTB3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-64MTSCFM.mjs.map → chunk-K6AQV35Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5E5P6CWQ.mjs.map → chunk-KDLIYFBX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H3ASBOLT.mjs.map → chunk-KNL2POIB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G4EDYHSU.mjs.map → chunk-KQSMID7X.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JKM3XYCF.mjs.map → chunk-KREXZ6T5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YNPRZVAK.mjs.map → chunk-L2LBKHHC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P5XJESSE.mjs.map → chunk-LXSL75K2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-264QHLQ6.mjs.map → chunk-MOLCAQOX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JNW3DEA3.mjs.map → chunk-MR3GEQHS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TFJT3FQL.mjs.map → chunk-NINI4NYS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZTQ2OP6M.mjs.map → chunk-NJNH75KC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NUZA2DSN.mjs.map → chunk-NOG3CT7C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-676S3ZXO.mjs.map → chunk-OVETVY3W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L34PPMTI.mjs.map → chunk-OVL2E7SE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I2C5F23X.mjs.map → chunk-OXRMSAFJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VKA6F7QH.mjs.map → chunk-PD22EGXF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UC5L5622.mjs.map → chunk-PMKTA4V7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CY6KN5YG.mjs.map → chunk-PNBBLEZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TMIEU2IG.mjs.map → chunk-Q233S6HZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NXOMGRWS.mjs.map → chunk-Q43FHU3P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-V2A5JSZZ.mjs.map → chunk-Q7SCF37V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3RXJSE37.mjs.map → chunk-QP2HSZ6V.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IRBY2LR6.mjs.map → chunk-QSDCXYIC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RQCJMSAJ.mjs.map → chunk-R34N7ET2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-64HF66JN.mjs.map → chunk-RBTJKNRA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OJ4YA7YX.mjs.map → chunk-RLIUGEQ3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5J4IWE7Q.mjs.map → chunk-RUYA6SXC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KME5MTYJ.mjs.map → chunk-SXEWT77H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4SG5GRKG.mjs.map → chunk-SZX5MGAQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YANGTW26.mjs.map → chunk-TYL3V64Q.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TQIR4R7A.mjs.map → chunk-TYOOTHZD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GSUU2PBX.mjs.map → chunk-UFL3GGET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R25SH3F4.mjs.map → chunk-UP6JVQ74.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A6ZFXHEW.mjs.map → chunk-UQUKDEWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VI5FQEZN.mjs.map → chunk-VBHWYYE5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IBJVJ7HA.mjs.map → chunk-VHEZTNOT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ARGJ3V72.mjs.map → chunk-WMIOEAIT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XY2LABQZ.mjs.map → chunk-WMM5K654.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UMPEMJY4.mjs.map → chunk-XAU4VOHW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C5FVAJRJ.mjs.map → chunk-XHGVRUTM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSJBTSUT.mjs.map → chunk-XZ5SGRYM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UWO2OMPK.mjs.map → chunk-YFPLRVTS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D5EZPRUN.mjs.map → chunk-YJLJDVM5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FC73VMP.mjs.map → chunk-YKABI5OE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DKSNT5LJ.mjs.map → chunk-YNUFS4JI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VBOB5XLW.mjs.map → chunk-ZAAROKGI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2GMLC2DS.mjs.map → chunk-ZQ447NAW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YPWANG47.mjs.map → chunk-ZQNTERBI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZTVEY37I.mjs.map → chunk-ZXDB6Q24.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as m}from"./chunk-OVL2E7SE.mjs";import{a as l}from"./chunk-AIQMA75E.mjs";import{a as p}from"./chunk-OMT62YRR.mjs";import{a as I}from"./chunk-S5XV2COC.mjs";import{b as g}from"./chunk-OXRMSAFJ.mjs";import{c as T}from"./chunk-PWAP64SN.mjs";var r={};function M({egldLabel:y,apiAddress:s,sender:t,address:e,parsedTransactionsByDataField:u}){return async o=>{if(o==null)return;let S=!t||t===e?null:await g({address:t,baseURL:s}),{transaction:a,multiTxData:A,transactionIndex:D}=o,c=T(a.data.toString()??""),d=p({data:c,multiTransactionData:A,parsedTransactionsByDataField:u}),{tokenId:f}=d,n=a.receiver.toBech32();if(t&&t!==e&&!l(S,e))throw console.error("You cannot sign transactions from a different account"),"You cannot sign transactions from a different account";let k=e!==n,x=n in r;if(n&&k&&!x){let i=await m({addressToVerify:n,baseURL:s});r={...r,...i?.scamInfo?{[n]:i.scamInfo}:{}}}let V=!!(f&&I({tokenId:f,egldLabel:y}));return{transaction:a,receiverScamInfo:r[n]?.info||null,transactionTokenInfo:d,isTokenTransaction:V,dataField:c,transactionIndex:D,needsSigning:o.needsSigning}}}export{M as a};
|
|
2
|
+
//# sourceMappingURL=chunk-NINI4NYS.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-RVOMGG2G.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-NOG3CT7C.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-UFL3GGET.mjs";import{a as p}from"./chunk-AJN4AGEU.mjs";import{a as m}from"./chunk-JWU5PA25.mjs";import{a as c}from"./chunk-WFMBEYKX.mjs";import{a as g}from"./chunk-UQUKDEWT.mjs";import{b as a}from"./chunk-MR3GEQHS.mjs";import{f as i}from"./chunk-BVITCHFC.mjs";import{a as d}from"./chunk-LJX4MW7B.mjs";async function E({options:r,config:t,provider:o,login:l}){let n=s.getInstance(),L=g(),u=c({loginToken:r?.token,version:t.version});await m({manager:n,provider:o});let e=await p({manager:n,provider:o,login:l,token:r?.token,explorerAddress:L,authData:u}),{version:f,dataEnabled:T}=t;return i({index:e.addressIndex,loginType:d.ledger}),a({address:e.address,index:e.addressIndex,version:f,hasContractDataEnabled:T}),{address:e.address,signature:e.signature}}export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OVETVY3W.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-RLIUGEQ3.mjs";import{k as r}from"./chunk-PKDR5ERF.mjs";import{a as o}from"./chunk-2JKCBTYK.mjs";import m from"axios";async function c({addressToVerify:s,baseURL:a}){let e=t(a),{data:i}=await m.get(`${e}/${o}/${s}`,{timeout:r});return i}export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OVL2E7SE.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-RLIUGEQ3.mjs";import{a as e}from"./chunk-N56SMVGU.mjs";import{k as c}from"./chunk-PKDR5ERF.mjs";import{a as n}from"./chunk-2JKCBTYK.mjs";var a=({address:r,baseURL:o})=>{let t=i(o),s=`${t}/${n}/${r}?withGuardianInfo=true`;return e.get(s,{baseURL:t,timeout:c})},g=async({address:r,baseURL:o})=>{if(!r)return null;try{let{data:t}=await a({address:r,baseURL:o});return t}catch{console.error("error fetching configuration for ",r)}return null};export{a,g as b};
|
|
2
|
+
//# sourceMappingURL=chunk-OXRMSAFJ.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d as t}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{d as t}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-BVITCHFC.mjs";import{y as e}from"./chunk-2JKCBTYK.mjs";import i from"axios";var c=async(s,a={apiAddress:""})=>{let{data:o}=await i.get(`${a.apiAddress||t(r())}/${e}`,{params:{hashes:s.join(","),withScResults:!0}});return o};export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PMKTA4V7.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Z}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as Z}from"./chunk-H3SHS5LR.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-H3FKLSHF.mjs";import{a as rt}from"./chunk-EW2TPN2K.mjs";import{a as tt}from"./chunk-SZX5MGAQ.mjs";import{a as et}from"./chunk-I6FJCY4J.mjs";import{a as nt}from"./chunk-AVXFQLR7.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as mt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-Q7SCF37V.mjs";import{a as st}from"./chunk-R34N7ET2.mjs";import{a as ut}from"./chunk-RBTJKNRA.mjs";import{a as M}from"./chunk-6OZQESGL.mjs";import{a as ct}from"./chunk-Q43FHU3P.mjs";import{b as A}from"./chunk-34IU5RID.mjs";import{c as O}from"./chunk-QP2HSZ6V.mjs";import{a as d}from"./chunk-KQSMID7X.mjs";import{a as J}from"./chunk-K6AQV35Z.mjs";import{a as w}from"./chunk-WMM5K654.mjs";import{a as P,f as X}from"./chunk-MR3GEQHS.mjs";import{b as it}from"./chunk-5JG4D2EM.mjs";import{b as k}from"./chunk-DDCXPWTR.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-PD22EGXF.mjs";import{a as _}from"./chunk-YFPLRVTS.mjs";import{a as y}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-QSDCXYIC.mjs";import{a as L}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as q,q as v,s as l}from"./chunk-BVITCHFC.mjs";import{c as V,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-2AJ5KJ2V.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-DA76AK4I.mjs";import U from"bignumber.js";var Lt=async()=>{try{let o=J(),{network:e}=d();try{let t=await b({address:o,baseURL:e.apiAddress});if(t!=null){let n={...t,username:L(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(o){console.error("Failed getting address ",o)}return null};async function I(){let o=T();if(o==null)throw"Provider not initialized";try{if(!o.init)throw"Current provider does not have init() function";return await o.init()?await Lt():void 0}catch(e){console.error("Failed initializing provider ",e)}}async function gt({sessionId:o,transactionBatch:e,isSequential:t}){try{if(e==null)return;let n=tt(),r=ot(e),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:o,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[o];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:o,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:o,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:o,status:"invalid"})}catch(n){console.error(n)}}async function pt(){let o=G(l()),e=Object.entries(o);e.length!==0&&await Promise.all(e.map(([t,{transactions:n}])=>gt({sessionId:t,transactionBatch:n})))}async function x(){let o=v(),e=nt(),t=null,n=$(o.getState())?.timestamp??null,r=async()=>{try{await pt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,e))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=o.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});O.set("websocketEventReceived",a)};r();let s=()=>{p()},u=o.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return O.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:o,provider:e,apiAddress:t}){let n=await b({address:o,baseURL:t});if(!n)throw new Error("Account not found");it({address:o,providerType:e.getType()});let r={...n,username:L(n.username),nonce:w(n)};P(r),await A(o),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function lt({provider:o,nativeAuthConfig:e,token:t}){let{network:{apiAddress:n}}=d(),r=_(e),i=t;i||(i=await r.initialize({noCache:!0}));let p=await o.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:e,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});q({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:o,apiAddress:n}),{address:C,signature:s}}async function dt(o){let{network:{apiAddress:e}}=d();await o.login();let t=await o.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:o,apiAddress:e}),{address:t}}async function ft(o,e){let t=S(l());if(t)return await lt({provider:o,nativeAuthConfig:t,token:e?.token});let{address:n}=await dt(o);return await A(n),x(),{address:n,signature:""}}async function Tt({provider:o,transactions:e,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=o.getType()===h.ledger,c=mt({latestNonce:i,transactions:e}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=F.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=z.newFromBech32(r),a)):c,u=await o.signTransactions(s,t)??[];return X(i+u.length),u}var E=class{constructor(e){this._isLoggingOut=!1;this.provider=e}init(){return this.provider.init()}async login(e){let t=await ft(this.provider,e);return K(this.provider.getType()),ht(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(e={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:e});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(e,t){try{return await Tt({provider:this.provider,transactions:e,options:t})}catch(n){let r=M(n);throw new Error(r)}}async signMessage(e,t){try{return await ut({provider:this.provider,message:e,options:t})}catch(n){let r=M(n,"warning");throw new Error(r)}}cancelLogin(){this.provider.cancelLogin?.()}};var vt=null;function ht(o){vt=o}function T(){return vt||new E(B)}var R=class o{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let e=this.store.getState(),t=f(e),{isExpired:n}=y(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let e=this.store.getState(),t=f(e),n=H(e);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let e=T(),t=V(this.store.getState()),n=e.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=y(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{e.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let e=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=y(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!e?.tokenExpirationToastWarningSeconds)return;let c=new U(e?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return o.instance||(o.instance=new o),o.instance}};export{R as a,gt as b,pt as c,x as d,N as e,lt as f,dt as g,ft as h,Tt as i,E as j,ht as k,T as l,I as m};
|
|
2
|
+
//# sourceMappingURL=chunk-PNBBLEZ2.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as r,e as l,f as i}from"./chunk-PJWJZHIS.mjs";var n=class{static getData(t){let{input:e}=t;if(!e||!r(e))return{isValid:!1,label:this.getLabel(t),valueInteger:"0",valueDecimal:this.formatDecimalPart("0",t.digits)};let a=i(t),o=l(a.replaceAll(",","")),[m,s]=a.split(".");return{isValid:o,label:this.getLabel(t),valueInteger:m||"0",valueDecimal:this.formatDecimalPart(s,t.digits)}}static getLabel(t){return` ${t.token??t.egldLabel??""}`.trimEnd()}static formatDecimalPart(t="",e=2){return`.${t.padEnd(e,"0").slice(0,e)||"0".repeat(e)}`}};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-PVEBIM2W.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/controllers/FormatAmountController/FormatAmountController.ts"],
|
|
4
|
-
"sourcesContent": ["import { stringIsInteger, stringIsFloat, formatAmount } from 'lib/sdkDappUtils';\nimport { FormatAmountControllerPropsType, FormatedAmountType } from './types';\n\nexport class FormatAmountController {\n public static getData(\n props: FormatAmountControllerPropsType\n ): FormatedAmountType {\n const { input } = props;\n\n if (!input || !stringIsInteger(input)) {\n return {\n isValid: false,\n label: this.getLabel(props),\n valueInteger: '0',\n valueDecimal: this.formatDecimalPart('0', props.digits)\n };\n }\n\n const formattedAmount = formatAmount(props);\n const isValid = stringIsFloat(formattedAmount);\n const [valueInteger, valueDecimal] = formattedAmount.split('.');\n\n return {\n isValid,\n label: this.getLabel(props),\n valueInteger: valueInteger || '0',\n valueDecimal: this.formatDecimalPart(valueDecimal, props.digits)\n };\n }\n\n private static getLabel(props: FormatAmountControllerPropsType): string {\n return ` ${props.token ?? props.egldLabel ?? ''}`.trimEnd();\n }\n\n private static formatDecimalPart(decimalPart = '', digits = 2): string {\n const padded = decimalPart.padEnd(digits, '0').slice(0, digits);\n return `.${padded || '0'.repeat(digits)}`;\n }\n}\n"],
|
|
5
|
-
"mappings": "uDAGO,IAAMA,EAAN,KAA6B,CAClC,OAAc,QACZC,EACoB,CACpB,GAAM,CAAE,MAAAC,CAAM,EAAID,EAElB,GAAI,CAACC,GAAS,CAACC,EAAgBD,CAAK,EAClC,MAAO,CACL,QAAS,GACT,MAAO,KAAK,SAASD,CAAK,EAC1B,aAAc,IACd,aAAc,KAAK,kBAAkB,IAAKA,EAAM,MAAM,CACxD,EAGF,IAAMG,EAAkBC,EAAaJ,CAAK,EACpCK,EAAUC,EAAcH,
|
|
4
|
+
"sourcesContent": ["import { stringIsInteger, stringIsFloat, formatAmount } from 'lib/sdkDappUtils';\nimport { FormatAmountControllerPropsType, FormatedAmountType } from './types';\n\nexport class FormatAmountController {\n public static getData(\n props: FormatAmountControllerPropsType\n ): FormatedAmountType {\n const { input } = props;\n\n if (!input || !stringIsInteger(input)) {\n return {\n isValid: false,\n label: this.getLabel(props),\n valueInteger: '0',\n valueDecimal: this.formatDecimalPart('0', props.digits)\n };\n }\n\n const formattedAmount = formatAmount(props);\n const isValid = stringIsFloat(formattedAmount.replaceAll(',', ''));\n const [valueInteger, valueDecimal] = formattedAmount.split('.');\n\n return {\n isValid,\n label: this.getLabel(props),\n valueInteger: valueInteger || '0',\n valueDecimal: this.formatDecimalPart(valueDecimal, props.digits)\n };\n }\n\n private static getLabel(props: FormatAmountControllerPropsType): string {\n return ` ${props.token ?? props.egldLabel ?? ''}`.trimEnd();\n }\n\n private static formatDecimalPart(decimalPart = '', digits = 2): string {\n const padded = decimalPart.padEnd(digits, '0').slice(0, digits);\n return `.${padded || '0'.repeat(digits)}`;\n }\n}\n"],
|
|
5
|
+
"mappings": "uDAGO,IAAMA,EAAN,KAA6B,CAClC,OAAc,QACZC,EACoB,CACpB,GAAM,CAAE,MAAAC,CAAM,EAAID,EAElB,GAAI,CAACC,GAAS,CAACC,EAAgBD,CAAK,EAClC,MAAO,CACL,QAAS,GACT,MAAO,KAAK,SAASD,CAAK,EAC1B,aAAc,IACd,aAAc,KAAK,kBAAkB,IAAKA,EAAM,MAAM,CACxD,EAGF,IAAMG,EAAkBC,EAAaJ,CAAK,EACpCK,EAAUC,EAAcH,EAAgB,WAAW,IAAK,EAAE,CAAC,EAC3D,CAACI,EAAcC,CAAY,EAAIL,EAAgB,MAAM,GAAG,EAE9D,MAAO,CACL,QAAAE,EACA,MAAO,KAAK,SAASL,CAAK,EAC1B,aAAcO,GAAgB,IAC9B,aAAc,KAAK,kBAAkBC,EAAcR,EAAM,MAAM,CACjE,CACF,CAEA,OAAe,SAASA,EAAgD,CACtE,MAAO,IAAIA,EAAM,OAASA,EAAM,WAAa,EAAE,GAAG,QAAQ,CAC5D,CAEA,OAAe,kBAAkBS,EAAc,GAAIC,EAAS,EAAW,CAErE,MAAO,IADQD,EAAY,OAAOC,EAAQ,GAAG,EAAE,MAAM,EAAGA,CAAM,GACzC,IAAI,OAAOA,CAAM,CAAC,EACzC,CACF",
|
|
6
6
|
"names": ["FormatAmountController", "props", "input", "stringIsInteger", "formattedAmount", "formatAmount", "isValid", "stringIsFloat", "valueInteger", "valueDecimal", "decimalPart", "digits"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-KNL2POIB.mjs";async function g({originalLoginToken:i,extraInfoData:n,address:o}){let e=await t({loginToken:i,extraInfoData:n}),s=n.multisig||n.impersonate||o;return{address:e!=null?s:o,modifiedLoginToken:e}}export{g as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q233S6HZ.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-34IU5RID.mjs";import{c as n}from"./chunk-QP2HSZ6V.mjs";import{a}from"./chunk-K6AQV35Z.mjs";import{a as u}from"./chunk-5JG4D2EM.mjs";import{a as s}from"./chunk-RVOMGG2G.mjs";var g=(o,t)=>{let r=`sdk-dapp-logout-event-${o}`,e=t.getItem(r);e&&o!==e||(t.setItem(r,o),t.removeItem(r))};async function L({provider:o,options:t={shouldBroadcastLogoutAcrossTabs:!0}}){let r=a();t.shouldBroadcastLogoutAcrossTabs&&s.localStorage&&g(r,s.localStorage);try{return u(),n.forEach(c=>c()),n.clear(),i.closeConnectionRef?.(),await o.logout()}catch(e){return console.error("Logging out error:",e),!1}}export{L as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q43FHU3P.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u}from"./chunk-YFPLRVTS.mjs";import{a as g}from"./chunk-HSF3JATH.mjs";import l from"lodash.isequal";async function C({loginData:f,nativeAuthConfig:r,loginToken:s}){let{address:m,signature:d,...n}=f,a=Object.keys(n).reduce((i,t)=>{let o=["multisig","impersonate"].includes(t)&&n[t]!=null?String(n[t]):null;return o!=null&&(i[t]=o.toString()),i},{}),e={...r};if(Object.keys(a).length>0&&(e.extraInfo=a),!l(r,e)){let i=g(s);return await u(e).initialize({noCache:!0,latestBlockInfo:{hash:i?.blockHash??"",timestamp:i?.extraInfo?.timestamp??0}})}return s}export{C as a};
|
|
2
|
+
//# sourceMappingURL=chunk-Q7SCF37V.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-RVOMGG2G.mjs";import{createJSONStorage as o}from"zustand/middleware";var r={persistReducersStorageType:"localStorage"},i=e?o(()=>e[r.persistReducersStorageType]):void 0,p=new Map,n=3e3;export{r as a,i as b,p as c,n as d};
|
|
2
|
+
//# sourceMappingURL=chunk-QP2HSZ6V.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as t}from"./chunk-Q233S6HZ.mjs";import{c as n}from"./chunk-BVITCHFC.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-R34N7ET2.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o}from"./chunk-K6AQV35Z.mjs";import{f as e,g as s}from"./chunk-DA76AK4I.mjs";async function m({message:r,provider:a,options:n}){let g=o(),i=new s({address:new e(g),data:r.data});return await a.signMessage(i,n)}export{m as a};
|
|
2
|
+
//# sourceMappingURL=chunk-RBTJKNRA.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-BVITCHFC.mjs";var d=s=>{let o=r(e()),t=s??o.apiAddress;return t.endsWith("/")?t.slice(0,-1):t};export{d as a};
|
|
2
|
+
//# sourceMappingURL=chunk-RLIUGEQ3.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-4MYOHPWQ.mjs";var i=e=>{let t=a();return{origin:e?.origin??t.origin,blockHashShard:e?.blockHashShard,expirySeconds:e?.expirySeconds??t.expirySeconds,apiAddress:e?.apiAddress??t.apiAddress,tokenExpirationToastWarningSeconds:e?.tokenExpirationToastWarningSeconds??t.tokenExpirationToastWarningSeconds,extraInfo:e?.extraInfo??{},gatewayUrl:e?.gatewayUrl,extraRequestHeaders:e?.extraRequestHeaders??{}}};export{i as a};
|
|
2
|
+
//# sourceMappingURL=chunk-RUYA6SXC.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/constants/window.constants.ts"],
|
|
4
|
-
"sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.
|
|
4
|
+
"sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.6.19'; // will be replaced at build time\n"],
|
|
5
5
|
"mappings": "AAAO,IAAMA,EACX,OAAO,OAAW,IAAc,OAAU,CAAC,EAEhCC,EAAU",
|
|
6
6
|
"names": ["safeWindow", "version"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as c}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-L2LBKHHC.mjs";import{a as s}from"./chunk-3X725MWM.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as a}from"./chunk-BVITCHFC.mjs";var e=class e extends s{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(a()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.selectProvider=n=>{if(!this.eventBus)throw new Error("Panel not initialized. Call openUnlockPanel() first.");this.eventBus.publish("SELECT_PROVIDER",{providerType:n})};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&await e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{if(c(e.loginHandler)){let o=await t.create({type:n,anchor:i}),l=e.token;await o.login(l?{token:l}:void 0),e.loginHandler()}else e.loginHandler({type:n,anchor:i});await this.handleCloseUI({isLoginFinished:!0})}catch(o){console.error(o),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy(),e.onCancelLogin&&await e.onCancelLogin()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),n.onCancelLogin&&(this.onCancelLogin=n.onCancelLogin),n.token&&(this.token=n.token),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null,e.onCancelLogin=null,e.token=null;var u=e;export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TYOOTHZD.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-3JLH6JA5.mjs";var c=class n extends i{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-ledger-connect"});this.addressesPerPage=10;this.allAccounts=[];this.initialConnectScreenData={};this.connectScreenData={...this.initialConnectScreenData};this.initialAccountScreenData={accounts:this.allAccounts,startIndex:0,addressesPerPage:this.addressesPerPage,isLoading:!0};this.accountScreenData={...this.initialAccountScreenData};this.initialConfirmScreenData={selectedAddress:"",explorerLink:""};this.confirmScreenData={...this.initialConfirmScreenData};this.initialData={connectScreenData:this.initialConnectScreenData,accountScreenData:this.initialAccountScreenData,confirmScreenData:this.initialConfirmScreenData};this.data=this.getInitialData()}static getInstance(){return n.instance||(n.instance=new n),n.instance}updateAllAccounts(e){this.allAccounts=e,this.accountScreenData.accounts=e}updateStartIndex(e){this.accountScreenData.startIndex=e}updateConnectScreen(e){this.connectScreenData={...this.connectScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=null,this.data.connectScreenData=this.connectScreenData,this.notifyDataUpdate()}updateAccountScreen(e){this.accountScreenData={...this.accountScreenData,...e},this.data.confirmScreenData=null,this.data.accountScreenData=this.accountScreenData,this.notifyDataUpdate()}updateConfirmScreen(e){this.confirmScreenData={...this.confirmScreenData,...e},this.data.accountScreenData=null,this.data.confirmScreenData=this.confirmScreenData,this.notifyDataUpdate()}getAccountScreenData(){return this.data.accountScreenData}getConfirmScreenData(){return this.data.confirmScreenData}getAllAccounts(){return this.allAccounts}subscribeToProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.subscribe("CONNECT_DEVICE",e),this.eventBus.subscribe("CLOSE",t),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}unsubscribeFromProviderInit({handleRetry:e,handleCancel:t}){this.eventBus&&(this.eventBus.unsubscribe("CONNECT_DEVICE",e),this.eventBus.unsubscribe("CLOSE",t),this.eventBus.unsubscribe("UI_DISCONNECTED",this.destroy.bind(this)))}subscribeToAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.subscribe("CLOSE",e),this.eventBus.subscribe("ACCESS_WALLET",t),this.eventBus.subscribe("GO_TO_PAGE",a))}unsubscribeFromAuthEvents({handleCancel:e,handleAccessWallet:t,handleGoToPage:a}){this.eventBus&&(this.eventBus.unsubscribe("CLOSE",e),this.eventBus.unsubscribe("ACCESS_WALLET",t),this.eventBus.unsubscribe("GO_TO_PAGE",a),this.resetData())}handleClose(){this.anchor?this.anchor?.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy()}resetData(){this.accountScreenData={...this.initialAccountScreenData},this.confirmScreenData={...this.initialConfirmScreenData},this.connectScreenData={...this.initialConnectScreenData},this.allAccounts=[],super.resetData()}async setupEventListeners(){this.eventBus&&this.eventBus.subscribe("CLOSE",this.handleClose.bind(this))}};export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UFL3GGET.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as S}from"./chunk-QFXS7HGL.mjs";import{j as d,k as f,l as u,n as I}from"./chunk-E2GGD7D4.mjs";import{a as l}from"./chunk-XXV6KGR4.mjs";import{a as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as S}from"./chunk-QFXS7HGL.mjs";import{j as d,k as f,l as u,n as I}from"./chunk-E2GGD7D4.mjs";import{a as l}from"./chunk-XXV6KGR4.mjs";import{a as p}from"./chunk-CVTAFDQT.mjs";import{a as c}from"./chunk-NGM3AVCY.mjs";import{s as m}from"./chunk-BVITCHFC.mjs";import{c as T}from"./chunk-FK6DWWZF.mjs";async function G(g){let s=g?.store??m(),n=[],a=[],y=l(s),F=c(s),C=T(s);for(let o of y.transactionToasts){let r=F[o.toastId];if(!r?.status)continue;let{status:t,transactions:P,transactionsDisplayInfo:h}=r,L=await p({transactions:P,store:s}),O=I(t),R=u(t),v=f(t),e=O||R||v,w=d(t),{startTime:x,endTime:D}=o;if(e&&a.some(b=>b.toastId===o.toastId))continue;let i=S({toastId:o.toastId,address:C,status:t,transactions:L,transactionsDisplayInfo:h,startTime:x,endTime:D});e&&a.push(i),w&&n.push(i)}return{pendingTransactionToasts:n,completedTransactionToasts:a}}export{G as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UP6JVQ74.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-RVOMGG2G.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VHEZTNOT.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l}from"./chunk-YUFPUG5O.mjs";import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-YUFPUG5O.mjs";import{a}from"./chunk-ZXDB6Q24.mjs";import{a as c}from"./chunk-SZX5MGAQ.mjs";var p="Check if the MultiversX App is open on Ledger";async function v({manager:e,resolve:n,reject:d,shouldInitProvider:s}){let i=!c(),t=()=>v({manager:e,resolve:n,reject:d,shouldInitProvider:s}),o=()=>d("Device unavailable");try{e?.updateAccountScreen({isLoading:!0}),e&&i&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o});let r=await a({shouldInitProvider:s});e&&i&&e.unsubscribeFromProviderInit({handleRetry:t,handleCancel:o}),n(r)}catch(r){if(!i)throw r;let{errorMessage:u,defaultErrorMessage:g}=l(r);e?.updateConnectScreen({error:u??g??p}),e&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o})}}export{v as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WMIOEAIT.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-NGM3AVCY.mjs";import{s as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-NGM3AVCY.mjs";import{s as u}from"./chunk-BVITCHFC.mjs";import{e as s}from"./chunk-FK6DWWZF.mjs";function x(n){let e=u(),o=a(e),c=s(e),t=Object.keys(o).map(Number).reduce((r,m)=>{let i=o[m]?.transactions||[];return Math.max(r,...i.map(l=>l.nonce),0)},0);return t>0&&(t+=1),n==null?Math.max(t,c):Math.max(t,n.nonce,c)}export{x as a};
|
|
2
|
+
//# sourceMappingURL=chunk-WMM5K654.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as A}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as A}from"./chunk-CAGA6FMV.mjs";import{a as I}from"./chunk-EAJBSX6Y.mjs";import{a as b}from"./chunk-TWYGNEQS.mjs";import{b as T}from"./chunk-2VG3V3VD.mjs";import{g as S}from"./chunk-XZ5SGRYM.mjs";import{a as h}from"./chunk-DDCXPWTR.mjs";import{a as y}from"./chunk-PD22EGXF.mjs";import{h as f}from"./chunk-M6MN4RXG.mjs";import{b as l}from"./chunk-7VHTZYM2.mjs";import{a as g}from"./chunk-NI7XCWV5.mjs";import{s as m}from"./chunk-BVITCHFC.mjs";import w from"axios";var r=class r{constructor(){this.setCallbacks=({onSuccess:t,onFail:a})=>{T({onSuccess:t,onFail:a})};this.send=async t=>{if(t.length===0)throw new Error("No transactions to send");try{if(!I(t))return await this.sendSignedTransactions(t);let a=await this.sendSignedBatchTransactions(t);if(!a.data||a.data.error)throw new Error(a.data?.error??"Failed to send transactions");return a.data.transactions}catch(a){throw a.response?.data?.message??a.message}};this.track=async(t,a={disableToasts:!1})=>{let s=this.sequentialToFlatArray(t).map(e=>({...e,status:e.status??"pending"})),o=b(s),n=h({transactions:s,transactionsDisplayInfo:a.transactionsDisplayInfo,status:o??"sent",sessionInformation:a.sessionInformation});if(a.disableToasts===!0)return n;a.onSuccess&&T({onSuccess:a.onSuccess,sessionId:n}),a.onFail&&T({onFail:a.onFail,sessionId:n});let i=A(t);return S({toastId:n,totalDuration:i}),n};this.sendSignedTransactions=async t=>{let{apiAddress:a,apiTimeout:s}=l(m());return await Promise.all(t.map(async n=>{let i=await w.post(`${a}/transactions`,n.toPlainObject(),{timeout:Number(s)}),e=i.data.txHash;return{...n.toPlainObject(),...i.data,status:"pending",hash:e}}))};this.sendSignedBatchTransactions=async t=>{let{address:a}=y(),{apiAddress:s,apiTimeout:o}=l(m());if(!a)return{error:"Invalid address provided. You need to be logged in to send transactions"};let n=this.buildBatchId(a),e={transactions:t.map(p=>p.map(c=>c.toPlainObject())),id:n},{data:u}=await w.post(`${s}/batch`,e,{timeout:Number(o)}),B=u.transactions.map(p=>p.map(c=>{let d={...c,status:"pending",hash:c.hash};return g({data:d.data})&&(delete d.senderUsername,delete d.receiverUsername),d}));return{data:{...u,transactions:B}}};this.buildBatchId=t=>`${Date.now().toString()}${f}${t}`;this.sequentialToFlatArray=(t=[])=>this.getIsSequential(t)?t.flat():t;this.getIsSequential=t=>t?.every(a=>Array.isArray(a))}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var v=r;export{v as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XAU4VOHW.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-55W25Q35.mjs";import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-55W25Q35.mjs";import{a as s}from"./chunk-CVTAFDQT.mjs";import o from"lodash.isempty";var e=async({transactionsSessions:t})=>{if(o(t))return[];let i=r(t);return s({transactions:i})};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XHGVRUTM.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-NJN53MJV.mjs";import{a as l}from"./chunk-YSCND2MX.mjs";import{q as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-NJN53MJV.mjs";import{a as l}from"./chunk-YSCND2MX.mjs";import{q as n}from"./chunk-BVITCHFC.mjs";var c={},u={},p=(t,o)=>{n().setState(({toasts:s})=>{let a=s.customToasts.length>0?Math.max(...s.customToasts.map(m=>parseInt(m.toastId.split("-").pop()??"0"))):0,e=o??`custom-toast-${a+1}`,T=s.customToasts.findIndex(m=>m.toastId===e),i={...t,toastId:e};if(T!==-1){s.customToasts[T]=i;return}s.customToasts.push({...i,toastId:e})},!1,{type:"addCustomToast",payload:{value:{customToast:t,currentToastId:o}}})},C=t=>{n().setState(({toasts:o})=>{o.customToasts=o.customToasts.filter(s=>s.toastId!==t)},!1,{type:"removeCustomToast",payload:{value:t}})},I=()=>{n().setState(({toasts:t})=>{t.customToasts=[]},!1,{type:"removeAllCustomToasts",payload:{value:null}})},f=()=>{n().setState(({toasts:t})=>{t.transactionToasts=[]},!1,{type:"removeAllTransactionToasts",payload:{value:null}})},g=({toastId:t,totalDuration:o})=>{let s="";return n().setState(({toasts:a})=>{let e=a.transactionToasts.length>0?Math.max(...a.transactionToasts.map(T=>parseInt(T.toastId.split("-").pop()??"0"))):0;s=t??`transaction-toast-${e+1}`,a.transactionToasts.push({startTime:l(),endTime:r(o),toastId:s})},!1,{type:"addTransactionToast",payload:{value:{toastId:t,totalDuration:o}}}),s},v=t=>{n().setState(({toasts:o})=>{o.transactionToasts=o.transactionToasts.filter(s=>s.toastId!==t)},!1,{type:"removeTransactionToast",payload:{value:t}}),delete u[t],delete c[t]},h=t=>{let{toasts:o}=n().getState(),s=o.customToasts.length>0?Math.max(...o.customToasts.map(e=>parseInt(e.toastId.split("-").pop()??"0"))):0,a=t.toastId||`custom-toast-${s+1}`;return t.onClose&&(u[a]=t.onClose),t.instantiateToastElement?(c[a]=t.instantiateToastElement,n().setState(({toasts:e})=>{let T=e.customToasts.findIndex(m=>m.toastId===a),i={...t,instantiateToastElement:null,toastId:a};T!==-1?e.customToasts[T]=i:e.customToasts.push(i)},!1,{type:"createCustomToast",payload:{value:t}}),a):(p(t,a),a)};export{c as a,u as b,p as c,C as d,I as e,f,g,v as h,h as i};
|
|
2
|
+
//# sourceMappingURL=chunk-XZ5SGRYM.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-RUYA6SXC.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YFPLRVTS.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-JX4HMTB3.mjs";import{a as s}from"./chunk-LJX4MW7B.mjs";import{a as e,b as o}from"./chunk-RVOMGG2G.mjs";import{WebviewProvider as d}from"@multiversx/sdk-webview-provider/out/WebviewProvider";var a=class extends n{constructor(r){super(r?.address);this.cancelAction=async()=>{this.provider.cancelAction()};this.signTransactions=async(r,i)=>{if(!this.provider)throw new Error("Provider is not initialized.");try{return await this.provider.signTransactions(r)||[]}catch(t){throw this.cancelAction(),t}};this.signMessage=async r=>{if(!this.provider)throw new Error("Provider is not initialized.");try{return await this.provider.signMessage(r)}catch(i){throw this.cancelAction(),i}};this.provider=d.getInstance({resetStateCallback:()=>{e.localStorage?.clear?.(),e.sessionStorage?.clear?.()}}),this._login=this.provider.login.bind(this.provider)}async init(){return this.initializeAddress(),this.initializeProvider()}logout(){return this.provider.logout()}getType(){return s.webview}getAddress(){throw new Error("Method not implemented.")}setAccount(r){return this.provider.setAccount(r)}isInitialized(){return this.provider.isInitialized()}async initializeProvider(){let r=await this.provider.init(o);return this.address&&this.setAccount({address:this.address}),r}};export{a};
|
|
2
|
+
//# sourceMappingURL=chunk-YJLJDVM5.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u}from"./chunk-FBNLZTZP.mjs";import{a as c}from"./chunk-O5PAMBB3.mjs";var l=async({receiver:n,sender:s,tokenId:i})=>{let t=null,r=null;if(!i)return{senderLockedAccount:t,receiverLockedAccount:r};try{let o=(await u({tokenId:i}))?.assets?.lockedAccounts;if(!o)return{senderLockedAccount:t,receiverLockedAccount:r};for(let e in o)if(c(e)&&(s===e&&(t=e),n===e&&(r=e)),c(o[e])&&(s===o[e]&&(t=o[e]),n===o[e]&&(r=o[e])),t&&r)return{senderLockedAccount:t,receiverLockedAccount:r}}catch(a){console.error("Error getting token details",a)}return{senderLockedAccount:t,receiverLockedAccount:r}};export{l as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YKABI5OE.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as s,d as i,h as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as s,d as i,h as o}from"./chunk-XZ5SGRYM.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YNUFS4JI.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-C5BDHCBB.mjs";import{d as l,e as m}from"./chunk-MR3GEQHS.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-BVITCHFC.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZAAROKGI.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-PD22EGXF.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-BVITCHFC.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZQ447NAW.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"./chunk-DLWDO7M6.mjs";import{i as v}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as c}from"./chunk-DLWDO7M6.mjs";import{i as v}from"./chunk-L2LBKHHC.mjs";import{k as d}from"./chunk-PNBBLEZ2.mjs";import{s as a}from"./chunk-BVITCHFC.mjs";import{d as n}from"./chunk-VNLGNNIL.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";import{a as s}from"./chunk-CH2AZ774.mjs";async function S(){let t=c(),m=s(),e=n(a()),o=m||t?i.webview:e,p=Object.values(i).includes(e);if(e&&!p&&(o=e),!o)return;let r=await v.create({type:o});if(!r)throw new Error("Provider not found");if(t||o===i.webview&&r.isInitialized())try{await r.login()}catch(f){console.warn("Failed to login with provider",r.getType(),f)}d(r)}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZQNTERBI.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-PNBBLEZ2.mjs";import{a as g}from"./chunk-SZX5MGAQ.mjs";import{s as e}from"./chunk-BVITCHFC.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZXDB6Q24.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../__chunks__/chunk-
|
|
1
|
+
import{a,b}from"../../__chunks__/chunk-OXRMSAFJ.mjs";import"../../__chunks__/chunk-RLIUGEQ3.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as accountFetcher,b as getAccountFromApi};
|
|
2
2
|
//# sourceMappingURL=getAccountFromApi.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-OVL2E7SE.mjs";import"../../__chunks__/chunk-RLIUGEQ3.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getScamAddressData};
|
|
2
2
|
//# sourceMappingURL=getScamAddressData.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-RLIUGEQ3.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getCleanApiAddress};
|
|
2
2
|
//# sourceMappingURL=getCleanApiAddress.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-KDLIYFBX.mjs";import"../../__chunks__/chunk-RLIUGEQ3.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getGasStationMetadataFromApi};
|
|
2
2
|
//# sourceMappingURL=getGasStationMetadata.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-26ZLUW5U.mjs";import"../../__chunks__/chunk-RLIUGEQ3.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getEconomics};
|
|
2
2
|
//# sourceMappingURL=getEconomics.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-FBNLZTZP.mjs";import"../../__chunks__/chunk-NYZ726DG.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getPersistedTokenDetails};
|
|
2
2
|
//# sourceMappingURL=getPersistedTokenDetails.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"../../__chunks__/chunk-N56SMVGU.mjs";import{b as m}from"../../__chunks__/chunk-7VHTZYM2.mjs";import{a as r}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as i}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as c}from"../../__chunks__/chunk-N56SMVGU.mjs";import{b as m}from"../../__chunks__/chunk-7VHTZYM2.mjs";import{a as r}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as i}from"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{o as s,u as a}from"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";async function b({tokenId:o}){let t=m(i()),{isNft:k}=r(o),n=o,p=k?s:a;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await c.get(`${t.apiAddress}/${p}/${n}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${n}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:n}}}export{b as getTokenDetails};
|
|
2
2
|
//# sourceMappingURL=getTokenDetails.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-PMKTA4V7.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-BVITCHFC.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-NJNH75KC.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-DA76AK4I.mjs";import"../../__chunks__/chunk-RVOMGG2G.mjs";export{a as getServerTransactionsByHashes};
|
|
2
2
|
//# sourceMappingURL=getServerTransactionsByHashes.mjs.map
|