@multiversx/sdk-dapp 5.3.1 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/out/__chunks__/chunk-2JKCBTYK.mjs +2 -0
- package/out/__chunks__/{chunk-KD2IQ32V.mjs.map → chunk-2JKCBTYK.mjs.map} +3 -3
- package/out/__chunks__/chunk-2KGBHCEN.mjs +2 -0
- package/out/__chunks__/chunk-2KGBHCEN.mjs.map +7 -0
- package/out/__chunks__/chunk-2RTOYKHB.mjs +2 -0
- package/out/__chunks__/{chunk-MSM6OHIC.mjs → chunk-3CG4C7T4.mjs} +2 -2
- package/out/__chunks__/{chunk-IE3A2COQ.mjs → chunk-3IYTFWEN.mjs} +2 -2
- package/out/__chunks__/chunk-3S3EXLLM.mjs +2 -0
- package/out/__chunks__/chunk-4GCIE2BM.mjs +2 -0
- package/out/__chunks__/chunk-4MCQ27VQ.mjs +2 -0
- package/out/__chunks__/chunk-4MCQ27VQ.mjs.map +7 -0
- package/out/__chunks__/{chunk-4ZWPXO55.mjs → chunk-4QDHKULK.mjs} +2 -2
- package/out/__chunks__/{chunk-EGNCDLPF.mjs → chunk-55U3WK3C.mjs} +2 -2
- package/out/__chunks__/chunk-573JTRNC.mjs +2 -0
- package/out/__chunks__/{chunk-C5SRSULA.mjs → chunk-5AGKFSA6.mjs} +2 -2
- package/out/__chunks__/chunk-5AGKFSA6.mjs.map +7 -0
- package/out/__chunks__/chunk-5HEWN34K.mjs +2 -0
- package/out/__chunks__/chunk-5HEWN34K.mjs.map +7 -0
- package/out/__chunks__/{chunk-RHG5XPRM.mjs → chunk-5KYXNO4J.mjs} +2 -2
- package/out/__chunks__/{chunk-MH3RDOC5.mjs → chunk-5W7PFHTT.mjs} +2 -2
- package/out/__chunks__/{chunk-MH3RDOC5.mjs.map → chunk-5W7PFHTT.mjs.map} +1 -1
- package/out/__chunks__/chunk-6BOC75BF.mjs +2 -0
- package/out/__chunks__/{chunk-SFGNJYRD.mjs → chunk-6CLCXSHA.mjs} +2 -2
- package/out/__chunks__/chunk-6CQMLD25.mjs +1 -0
- package/out/__chunks__/{chunk-FUCA6PDM.mjs → chunk-6EKK7AJE.mjs} +2 -2
- package/out/__chunks__/{chunk-5KCP7UJT.mjs → chunk-6F4OKEUQ.mjs} +2 -2
- package/out/__chunks__/{chunk-UERJ6AKK.mjs → chunk-7MBSWJUD.mjs} +2 -2
- package/out/__chunks__/chunk-7PE652LB.mjs +2 -0
- package/out/__chunks__/chunk-7PE652LB.mjs.map +7 -0
- package/out/__chunks__/{chunk-TYA2A7P3.mjs → chunk-7WJMUTGI.mjs} +2 -2
- package/out/__chunks__/chunk-AFLCI6IF.mjs +2 -0
- package/out/__chunks__/chunk-AGJVEK6I.mjs +2 -0
- package/out/__chunks__/{chunk-MDXLOX7I.mjs → chunk-ATLICLWT.mjs} +2 -2
- package/out/__chunks__/{chunk-CMIVBHXU.mjs → chunk-AZA2GNTR.mjs} +2 -2
- package/out/__chunks__/chunk-AZA2GNTR.mjs.map +7 -0
- package/out/__chunks__/{chunk-6UIF2KFV.mjs → chunk-BCSNXRMR.mjs} +1 -1
- package/out/__chunks__/{chunk-6UIF2KFV.mjs.map → chunk-BCSNXRMR.mjs.map} +1 -1
- package/out/__chunks__/{chunk-MODSKR2X.mjs → chunk-BUJNOQZJ.mjs} +2 -2
- package/out/__chunks__/chunk-C4SERLP4.mjs +1 -0
- package/out/__chunks__/{chunk-NBHRZSLS.mjs → chunk-C72ZHRFA.mjs} +2 -2
- package/out/__chunks__/{chunk-NBHRZSLS.mjs.map → chunk-C72ZHRFA.mjs.map} +2 -2
- package/out/__chunks__/chunk-CUDPQDXY.mjs +1 -0
- package/out/__chunks__/{chunk-5FPUK3PA.mjs → chunk-CVXQYCEE.mjs} +2 -2
- package/out/__chunks__/{chunk-4Y3336TP.mjs → chunk-CXAX5TAG.mjs} +2 -2
- package/out/__chunks__/chunk-CZ2S4XSL.mjs +2 -0
- package/out/__chunks__/{chunk-57EQXIYJ.mjs → chunk-D3VRMBRS.mjs} +2 -2
- package/out/__chunks__/{chunk-BFNJ4VYH.mjs → chunk-DW6RO5LJ.mjs} +2 -2
- package/out/__chunks__/{chunk-GNNYBI7B.mjs → chunk-E77ZH5JT.mjs} +2 -2
- package/out/__chunks__/{chunk-OFVUWY2K.mjs → chunk-EKWN4V73.mjs} +2 -2
- package/out/__chunks__/chunk-EPL2CHU6.mjs +2 -0
- package/out/__chunks__/{chunk-G2YMMIV4.mjs → chunk-FF45FPD3.mjs} +2 -2
- package/out/__chunks__/{chunk-VJLG26AF.mjs → chunk-FNHO66WN.mjs} +2 -2
- package/out/__chunks__/chunk-FRUJEORM.mjs +2 -0
- package/out/__chunks__/{chunk-5OMQOYP7.mjs → chunk-G5N56FHJ.mjs} +2 -2
- package/out/__chunks__/chunk-GBEJIZDR.mjs +1 -0
- package/out/__chunks__/chunk-GEB2W7CV.mjs +1 -0
- package/out/__chunks__/chunk-H73D4VUZ.mjs +2 -0
- package/out/__chunks__/{chunk-D4UL2EWH.mjs → chunk-HBPQEY3L.mjs} +2 -2
- package/out/__chunks__/{chunk-2XGXXRSH.mjs → chunk-HFX5WAAI.mjs} +2 -2
- package/out/__chunks__/chunk-HKDRMMI5.mjs +2 -0
- package/out/__chunks__/{chunk-PX3TRYOX.mjs → chunk-HUXPA4C2.mjs} +2 -2
- package/out/__chunks__/chunk-HYH55J3D.mjs +2 -0
- package/out/__chunks__/{chunk-QZQDLLQR.mjs → chunk-I424CDNL.mjs} +2 -2
- package/out/__chunks__/{chunk-WZGG2YKQ.mjs → chunk-IVHD32VC.mjs} +2 -2
- package/out/__chunks__/{chunk-YK7T6MBD.mjs → chunk-IWP36NOU.mjs} +2 -2
- package/out/__chunks__/{chunk-K272J46W.mjs → chunk-IYM4ZX72.mjs} +2 -2
- package/out/__chunks__/{chunk-2ON3KLCT.mjs → chunk-J5TLE6SA.mjs} +2 -2
- package/out/__chunks__/{chunk-QLMVT5AQ.mjs → chunk-JDP24JPD.mjs} +2 -2
- package/out/__chunks__/{chunk-DJXCXSJM.mjs → chunk-JPSW3MCK.mjs} +2 -2
- package/out/__chunks__/{chunk-MPGHQVDQ.mjs → chunk-JZ22ZC2D.mjs} +2 -2
- package/out/__chunks__/{chunk-Y5FXVEPD.mjs → chunk-K4JJZCL3.mjs} +2 -2
- package/out/__chunks__/chunk-K5K2FVFB.mjs +2 -0
- package/out/__chunks__/{chunk-OA5BWGGO.mjs → chunk-KDTDQL52.mjs} +1 -1
- package/out/__chunks__/{chunk-OA5BWGGO.mjs.map → chunk-KDTDQL52.mjs.map} +1 -1
- package/out/__chunks__/{chunk-N42HH2XN.mjs → chunk-KIMRQMXB.mjs} +2 -2
- package/out/__chunks__/{chunk-FGEC7ZXX.mjs → chunk-KLI6N26E.mjs} +2 -2
- package/out/__chunks__/{chunk-FGEC7ZXX.mjs.map → chunk-KLI6N26E.mjs.map} +1 -1
- package/out/__chunks__/{chunk-A5TUOLPV.mjs → chunk-LBPTOWPX.mjs} +2 -2
- package/out/__chunks__/chunk-LG6Q3PRI.mjs +2 -0
- package/out/__chunks__/chunk-LG6Q3PRI.mjs.map +7 -0
- package/out/__chunks__/{chunk-KMJMQEXI.mjs → chunk-LGGG3HW7.mjs} +2 -2
- package/out/__chunks__/{chunk-Z2XKLZOJ.mjs → chunk-LKOWOTL2.mjs} +2 -2
- package/out/__chunks__/{chunk-NT3OYOP5.mjs → chunk-LYSI4URP.mjs} +2 -2
- package/out/__chunks__/chunk-M7B26JXO.mjs +2 -0
- package/out/__chunks__/chunk-M7B26JXO.mjs.map +7 -0
- package/out/__chunks__/{chunk-GIRFQWT3.mjs → chunk-MLDUGECH.mjs} +2 -2
- package/out/__chunks__/{chunk-ABMG4JL2.mjs → chunk-MS7BFY27.mjs} +2 -2
- package/out/__chunks__/{chunk-VWRNBA3H.mjs → chunk-N4KX33RW.mjs} +2 -2
- package/out/__chunks__/chunk-N56SMVGU.mjs +2 -0
- package/out/__chunks__/chunk-N56SMVGU.mjs.map +7 -0
- package/out/__chunks__/{chunk-EDLHXC66.mjs → chunk-N5VJJRWV.mjs} +2 -2
- package/out/__chunks__/{chunk-VAJX46E4.mjs → chunk-NAYC2B72.mjs} +2 -2
- package/out/__chunks__/{chunk-4YBGCRDP.mjs → chunk-NAYDJEWI.mjs} +2 -2
- package/out/__chunks__/{chunk-MJKL37SY.mjs → chunk-NVBWPLR7.mjs} +2 -2
- package/out/__chunks__/{chunk-UEKNE7II.mjs → chunk-O65OBG5D.mjs} +2 -2
- package/out/__chunks__/{chunk-UNSFOHDG.mjs → chunk-O6ALDFLM.mjs} +2 -2
- package/out/__chunks__/{chunk-3S57OP4Z.mjs → chunk-OAPLU7UX.mjs} +2 -2
- package/out/__chunks__/chunk-ODHXJQOF.mjs +2 -0
- package/out/__chunks__/{chunk-PQVNWTWJ.mjs → chunk-OIRXFS5Q.mjs} +2 -2
- package/out/__chunks__/chunk-OIRXFS5Q.mjs.map +7 -0
- package/out/__chunks__/{chunk-KLLFGRPB.mjs → chunk-OSG4UY2Z.mjs} +2 -2
- package/out/__chunks__/chunk-P2MHA65O.mjs +2 -0
- package/out/__chunks__/chunk-PKLBZG2R.mjs +2 -0
- package/out/__chunks__/chunk-PW34EFS7.mjs +2 -0
- package/out/__chunks__/chunk-PW34EFS7.mjs.map +7 -0
- package/out/__chunks__/{chunk-IS3TZ43F.mjs → chunk-QJJEW7MB.mjs} +2 -2
- package/out/__chunks__/{chunk-DBIIY2TX.mjs → chunk-QNELH2S2.mjs} +2 -2
- package/out/__chunks__/{chunk-KPOZLV3Y.mjs → chunk-QO62QJ5H.mjs} +2 -2
- package/out/__chunks__/{chunk-ICXBMZJS.mjs → chunk-RV6SJMD7.mjs} +2 -2
- package/out/__chunks__/{chunk-GNHD56P3.mjs → chunk-SALLGAGD.mjs} +2 -2
- package/out/__chunks__/chunk-SAN5F2PW.mjs +2 -0
- package/out/__chunks__/chunk-SNPF3BD2.mjs +2 -0
- package/out/__chunks__/chunk-SNPF3BD2.mjs.map +7 -0
- package/out/__chunks__/{chunk-6DHK4ZHY.mjs → chunk-TFARIEZF.mjs} +2 -2
- package/out/__chunks__/{chunk-F6HFPLKF.mjs → chunk-TMRKN7VL.mjs} +2 -2
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs +2 -0
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs.map +7 -0
- package/out/__chunks__/chunk-TQ7T6ULY.mjs +2 -0
- package/out/__chunks__/chunk-TQ7T6ULY.mjs.map +7 -0
- package/out/__chunks__/{chunk-GQ4CPGZ3.mjs → chunk-TR2KNDCH.mjs} +2 -2
- package/out/__chunks__/chunk-TVXZBSUY.mjs +2 -0
- package/out/__chunks__/chunk-U6RAWQXO.mjs +1 -0
- package/out/__chunks__/{chunk-22ELCCFJ.mjs → chunk-UCFMVEOZ.mjs} +2 -2
- package/out/__chunks__/{chunk-M65GJGER.mjs → chunk-UPABDY55.mjs} +2 -2
- package/out/__chunks__/chunk-URTM5OGN.mjs +2 -0
- package/out/__chunks__/{chunk-H3NKXQQF.mjs.map → chunk-URTM5OGN.mjs.map} +1 -1
- package/out/__chunks__/{chunk-QXC4D3AC.mjs → chunk-UT4BWFQH.mjs} +2 -2
- package/out/__chunks__/{chunk-4G7O2SEH.mjs → chunk-UY22M7WB.mjs} +2 -2
- package/out/__chunks__/{chunk-3RLAFHQ5.mjs → chunk-VGGJESXR.mjs} +2 -2
- package/out/__chunks__/chunk-VIQAOU2F.mjs +2 -0
- package/out/__chunks__/chunk-VIQAOU2F.mjs.map +7 -0
- package/out/__chunks__/chunk-VTEOS2MM.mjs +2 -0
- package/out/__chunks__/{chunk-ZBQOFCLH.mjs → chunk-WEZV6U4A.mjs} +2 -2
- package/out/__chunks__/{chunk-STSC5Q3L.mjs → chunk-WYVAFCPU.mjs} +2 -2
- package/out/__chunks__/chunk-XLLBREX7.mjs +2 -0
- package/out/__chunks__/{chunk-E7M6PNMF.mjs → chunk-XNSSZDSU.mjs} +2 -2
- package/out/__chunks__/chunk-XSUHHPZ2.mjs +2 -0
- package/out/__chunks__/{chunk-YZ6E6GLF.mjs → chunk-XTATC65P.mjs} +2 -2
- package/out/__chunks__/{chunk-EBENRM2R.mjs → chunk-XV3H7VOE.mjs} +2 -2
- package/out/__chunks__/{chunk-R6F66MUM.mjs → chunk-XXSANEEO.mjs} +2 -2
- package/out/__chunks__/{chunk-WBMIRF47.mjs → chunk-YGMILCHH.mjs} +2 -2
- package/out/__chunks__/chunk-YGMILCHH.mjs.map +7 -0
- package/out/__chunks__/{chunk-FRDR4A7Z.mjs → chunk-YYH2GKPL.mjs} +1 -1
- package/out/__chunks__/{chunk-FRDR4A7Z.mjs.map → chunk-YYH2GKPL.mjs.map} +1 -1
- package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs +1 -1
- package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
- package/out/apiCalls/account/getScamAddressData.mjs +1 -1
- package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
- package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +3 -3
- package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
- package/out/apiCalls/configuration/getNetworkConfigFromApi.mjs +1 -1
- package/out/apiCalls/configuration/getServerConfiguration.mjs +1 -1
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/endpoints.cjs +1 -1
- package/out/apiCalls/endpoints.cjs.map +3 -3
- package/out/apiCalls/endpoints.d.ts +1 -0
- package/out/apiCalls/endpoints.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs.map +4 -4
- package/out/apiCalls/tokens/tokenDataStorage.cjs +1 -1
- package/out/apiCalls/tokens/tokenDataStorage.cjs.map +3 -3
- package/out/apiCalls/tokens/tokenDataStorage.d.ts +1 -3
- package/out/apiCalls/tokens/tokenDataStorage.mjs +1 -1
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactions.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.mjs +1 -1
- package/out/apiCalls/utils/axiosFetcher.mjs.map +4 -4
- package/out/apiCalls/utils/axiosInstance.cjs +1 -1
- package/out/apiCalls/utils/axiosInstance.cjs.map +3 -3
- package/out/apiCalls/utils/axiosInstance.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/index.mjs +1 -1
- package/out/constants/storage.constants.mjs +1 -1
- package/out/constants/window.constants.cjs +1 -1
- package/out/constants/window.constants.cjs.map +1 -1
- package/out/constants/window.constants.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/index.cjs +1 -1
- package/out/index.cjs.map +2 -2
- package/out/index.d.ts +0 -1
- package/out/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
- package/out/managers/NotificationsFeedManager/index.mjs +1 -1
- package/out/managers/ToastManager/ToastManager.mjs +1 -1
- package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
- package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
- package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
- package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.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 → gasStationMetadata}/setGasStationMetadata.cjs.map +1 -1
- package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +2 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +7 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +6 -0
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +2 -0
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.cjs.map +3 -3
- package/out/methods/initApp/initApp.d.ts +5 -0
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +3 -3
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
- package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
- package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
- package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
- package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.mjs +1 -1
- package/out/providers/helpers/accountProvider.mjs +1 -1
- package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/index.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{authenticateLedgerAccount.d.ts → authenticateLedgerAccount/authenticateLedgerAccount.d.ts} +1 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.cjs → authenticateLedgerAccount/helpers/getAuthTokenText.cjs} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.cjs.map → authenticateLedgerAccount/helpers/getAuthTokenText.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.cjs.map → authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.cjs.map → authenticateLedgerAccount/helpers/secondsToTimeString.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.cjs.map +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.d.ts +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +2 -0
- package/out/{apiCalls/configuration → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount}/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerProvider.d.ts → getLedgerProvider/getLedgerProvider.d.ts} +2 -4
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.cjs → getLedgerProvider/helpers/getLedgerConfiguration.cjs} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.cjs.map → getLedgerProvider/helpers/getLedgerConfiguration.cjs.map} +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs +2 -0
- package/out/{apiCalls/account → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider}/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.cjs.map +7 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +2 -0
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +3 -4
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +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/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +3 -3
- 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.mjs +1 -1
- package/out/providers/strategies/index.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/helpers/getLatestBlockHash.mjs +1 -1
- package/out/services/nativeAuth/helpers/index.mjs +1 -1
- package/out/services/nativeAuth/index.mjs +1 -1
- package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/index.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.mjs +1 -1
- package/out/store/actions/account/accountActions.mjs +1 -1
- package/out/store/actions/account/index.mjs +1 -1
- package/out/store/actions/cache/cacheActions.mjs +1 -1
- package/out/store/actions/cache/index.mjs +1 -1
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.mjs +1 -1
- package/out/store/actions/transactions/transactionsActions.mjs +1 -1
- package/out/store/actions/ui/index.mjs +1 -1
- package/out/store/actions/ui/uiActions.mjs +1 -1
- package/out/store/middleware/applyMiddlewares.mjs +1 -1
- package/out/store/middleware/index.mjs +1 -1
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.mjs +1 -1
- package/out/store/selectors/index.mjs +1 -1
- package/out/store/slices/account/accountSlice.mjs +1 -1
- package/out/store/slices/account/emptyAccount.mjs +1 -1
- package/out/store/slices/account/index.mjs +1 -1
- package/out/store/slices/index.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.mjs +1 -1
- package/out/types/index.mjs +1 -1
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.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/dateTime/index.mjs +1 -1
- package/out/utils/index.cjs +1 -1
- package/out/utils/index.cjs.map +2 -2
- package/out/utils/index.d.ts +0 -1
- package/out/utils/index.mjs +1 -1
- package/out/utils/transactions/explorerUrlBuilder.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +4 -4
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.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/getTransactionAction.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/transactions/index.cjs +1 -1
- package/out/utils/transactions/index.cjs.map +2 -2
- package/out/utils/transactions/index.d.ts +0 -1
- package/out/utils/transactions/index.mjs +1 -1
- package/out/utils/validation/index.mjs +1 -1
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/index.mjs +1 -1
- package/package.json +3 -3
- package/out/__chunks__/chunk-33MSDZAP.mjs +0 -2
- package/out/__chunks__/chunk-3ZT74S43.mjs +0 -2
- package/out/__chunks__/chunk-4FXREOAU.mjs +0 -2
- package/out/__chunks__/chunk-6ET5BDZH.mjs +0 -1
- package/out/__chunks__/chunk-C2CYALD3.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs.map +0 -7
- package/out/__chunks__/chunk-C5SRSULA.mjs.map +0 -7
- package/out/__chunks__/chunk-CA5CSAGL.mjs +0 -2
- package/out/__chunks__/chunk-CMIVBHXU.mjs.map +0 -7
- package/out/__chunks__/chunk-D2ULWBRR.mjs +0 -2
- package/out/__chunks__/chunk-DDLTXUQG.mjs +0 -2
- package/out/__chunks__/chunk-DXRSXWLQ.mjs +0 -1
- package/out/__chunks__/chunk-GAYDJQDV.mjs +0 -1
- package/out/__chunks__/chunk-GUIXE5XC.mjs +0 -2
- package/out/__chunks__/chunk-GUIXE5XC.mjs.map +0 -7
- package/out/__chunks__/chunk-H3NKXQQF.mjs +0 -2
- package/out/__chunks__/chunk-I4PVZY6G.mjs +0 -2
- package/out/__chunks__/chunk-INRKVOET.mjs +0 -1
- package/out/__chunks__/chunk-JKR5DRPM.mjs +0 -1
- package/out/__chunks__/chunk-JMC7CMTU.mjs +0 -2
- package/out/__chunks__/chunk-JNGJJQUL.mjs +0 -2
- package/out/__chunks__/chunk-K5MJ4FMD.mjs +0 -1
- package/out/__chunks__/chunk-K6FICN7B.mjs +0 -2
- package/out/__chunks__/chunk-K6FICN7B.mjs.map +0 -7
- package/out/__chunks__/chunk-KD2IQ32V.mjs +0 -2
- package/out/__chunks__/chunk-L5XHA5J3.mjs +0 -2
- package/out/__chunks__/chunk-L6A73MU7.mjs +0 -2
- package/out/__chunks__/chunk-NZA7KOCG.mjs +0 -2
- package/out/__chunks__/chunk-NZA7KOCG.mjs.map +0 -7
- package/out/__chunks__/chunk-O4V2ADKJ.mjs +0 -2
- package/out/__chunks__/chunk-O7AQPRYI.mjs +0 -2
- package/out/__chunks__/chunk-O7AQPRYI.mjs.map +0 -7
- package/out/__chunks__/chunk-PJZO5KQR.mjs +0 -2
- package/out/__chunks__/chunk-PJZO5KQR.mjs.map +0 -7
- package/out/__chunks__/chunk-PQVNWTWJ.mjs.map +0 -7
- package/out/__chunks__/chunk-PY6RWCON.mjs +0 -2
- package/out/__chunks__/chunk-PY6RWCON.mjs.map +0 -7
- package/out/__chunks__/chunk-Q6ALT7RT.mjs +0 -2
- package/out/__chunks__/chunk-QFZ4YW5F.mjs +0 -2
- package/out/__chunks__/chunk-RFQ62EWT.mjs +0 -2
- package/out/__chunks__/chunk-RNABCWXS.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs.map +0 -7
- package/out/__chunks__/chunk-TFZ46GCB.mjs +0 -1
- package/out/__chunks__/chunk-U4NSAQRJ.mjs +0 -2
- package/out/__chunks__/chunk-UCNKEHLJ.mjs +0 -2
- package/out/__chunks__/chunk-UFDELD3B.mjs +0 -2
- package/out/__chunks__/chunk-UFDELD3B.mjs.map +0 -7
- package/out/__chunks__/chunk-VJGOUAZ2.mjs +0 -2
- package/out/__chunks__/chunk-VJGOUAZ2.mjs.map +0 -7
- package/out/__chunks__/chunk-WBMIRF47.mjs.map +0 -7
- package/out/__chunks__/chunk-WG5ONYK4.mjs +0 -2
- package/out/__chunks__/chunk-WHEXX3BD.mjs +0 -1
- package/out/__chunks__/chunk-XX6UOMVH.mjs +0 -2
- package/out/__chunks__/chunk-XX6UOMVH.mjs.map +0 -7
- package/out/__chunks__/chunk-YFPMAZOS.mjs +0 -1
- package/out/__chunks__/chunk-YV7ZJBAY.mjs +0 -1
- package/out/__chunks__/chunk-YV7ZJBAY.mjs.map +0 -7
- package/out/__chunks__/chunk-ZFKTQNIP.mjs +0 -2
- package/out/__chunks__/chunk-ZFXAT6MD.mjs +0 -1
- package/out/__chunks__/chunk-ZFXAT6MD.mjs.map +0 -7
- package/out/__chunks__/chunk-ZNYD34VT.mjs +0 -2
- package/out/apiCalls/account/index.cjs.map +0 -7
- package/out/apiCalls/account/index.d.ts +0 -1
- package/out/apiCalls/account/index.mjs +0 -2
- package/out/apiCalls/configuration/index.cjs.map +0 -7
- package/out/apiCalls/configuration/index.d.ts +0 -2
- package/out/apiCalls/configuration/index.mjs +0 -2
- package/out/apiCalls/index.cjs +0 -2
- package/out/apiCalls/index.cjs.map +0 -7
- package/out/apiCalls/index.d.ts +0 -6
- package/out/apiCalls/index.mjs +0 -2
- package/out/apiCalls/tokens/index.cjs +0 -2
- package/out/apiCalls/tokens/index.cjs.map +0 -7
- package/out/apiCalls/tokens/index.d.ts +0 -1
- package/out/apiCalls/tokens/index.mjs +0 -2
- package/out/apiCalls/tokens/index.mjs.map +0 -7
- package/out/apiCalls/utils/index.cjs +0 -2
- package/out/apiCalls/utils/index.cjs.map +0 -7
- package/out/apiCalls/utils/index.d.ts +0 -3
- package/out/apiCalls/utils/index.mjs +0 -2
- package/out/apiCalls/utils/index.mjs.map +0 -7
- package/out/apiCalls/websocket/index.cjs +0 -2
- package/out/apiCalls/websocket/index.cjs.map +0 -7
- package/out/apiCalls/websocket/index.d.ts +0 -1
- package/out/apiCalls/websocket/index.mjs +0 -2
- package/out/apiCalls/websocket/index.mjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +0 -7
- package/out/utils/visual/index.cjs +0 -2
- package/out/utils/visual/index.cjs.map +0 -7
- package/out/utils/visual/index.d.ts +0 -1
- package/out/utils/visual/index.mjs +0 -2
- package/out/utils/visual/index.mjs.map +0 -7
- /package/out/__chunks__/{chunk-UCNKEHLJ.mjs.map → chunk-2RTOYKHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MSM6OHIC.mjs.map → chunk-3CG4C7T4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IE3A2COQ.mjs.map → chunk-3IYTFWEN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U4NSAQRJ.mjs.map → chunk-3S3EXLLM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O4V2ADKJ.mjs.map → chunk-4GCIE2BM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4ZWPXO55.mjs.map → chunk-4QDHKULK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EGNCDLPF.mjs.map → chunk-55U3WK3C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DDLTXUQG.mjs.map → chunk-573JTRNC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RHG5XPRM.mjs.map → chunk-5KYXNO4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-I4PVZY6G.mjs.map → chunk-6BOC75BF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SFGNJYRD.mjs.map → chunk-6CLCXSHA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6ET5BDZH.mjs.map → chunk-6CQMLD25.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FUCA6PDM.mjs.map → chunk-6EKK7AJE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5KCP7UJT.mjs.map → chunk-6F4OKEUQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UERJ6AKK.mjs.map → chunk-7MBSWJUD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TYA2A7P3.mjs.map → chunk-7WJMUTGI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C2CYALD3.mjs.map → chunk-AFLCI6IF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L5XHA5J3.mjs.map → chunk-AGJVEK6I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MDXLOX7I.mjs.map → chunk-ATLICLWT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MODSKR2X.mjs.map → chunk-BUJNOQZJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DXRSXWLQ.mjs.map → chunk-C4SERLP4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GAYDJQDV.mjs.map → chunk-CUDPQDXY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5FPUK3PA.mjs.map → chunk-CVXQYCEE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4Y3336TP.mjs.map → chunk-CXAX5TAG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-L6A73MU7.mjs.map → chunk-CZ2S4XSL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-57EQXIYJ.mjs.map → chunk-D3VRMBRS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BFNJ4VYH.mjs.map → chunk-DW6RO5LJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GNNYBI7B.mjs.map → chunk-E77ZH5JT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OFVUWY2K.mjs.map → chunk-EKWN4V73.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-33MSDZAP.mjs.map → chunk-EPL2CHU6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G2YMMIV4.mjs.map → chunk-FF45FPD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VJLG26AF.mjs.map → chunk-FNHO66WN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Q6ALT7RT.mjs.map → chunk-FRUJEORM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5OMQOYP7.mjs.map → chunk-G5N56FHJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-INRKVOET.mjs.map → chunk-GBEJIZDR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JKR5DRPM.mjs.map → chunk-GEB2W7CV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QFZ4YW5F.mjs.map → chunk-H73D4VUZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D4UL2EWH.mjs.map → chunk-HBPQEY3L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2XGXXRSH.mjs.map → chunk-HFX5WAAI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RFQ62EWT.mjs.map → chunk-HKDRMMI5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PX3TRYOX.mjs.map → chunk-HUXPA4C2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JNGJJQUL.mjs.map → chunk-HYH55J3D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QZQDLLQR.mjs.map → chunk-I424CDNL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WZGG2YKQ.mjs.map → chunk-IVHD32VC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YK7T6MBD.mjs.map → chunk-IWP36NOU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K272J46W.mjs.map → chunk-IYM4ZX72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2ON3KLCT.mjs.map → chunk-J5TLE6SA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QLMVT5AQ.mjs.map → chunk-JDP24JPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DJXCXSJM.mjs.map → chunk-JPSW3MCK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MPGHQVDQ.mjs.map → chunk-JZ22ZC2D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Y5FXVEPD.mjs.map → chunk-K4JJZCL3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CA5CSAGL.mjs.map → chunk-K5K2FVFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N42HH2XN.mjs.map → chunk-KIMRQMXB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-A5TUOLPV.mjs.map → chunk-LBPTOWPX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KMJMQEXI.mjs.map → chunk-LGGG3HW7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-Z2XKLZOJ.mjs.map → chunk-LKOWOTL2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NT3OYOP5.mjs.map → chunk-LYSI4URP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GIRFQWT3.mjs.map → chunk-MLDUGECH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ABMG4JL2.mjs.map → chunk-MS7BFY27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VWRNBA3H.mjs.map → chunk-N4KX33RW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EDLHXC66.mjs.map → chunk-N5VJJRWV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VAJX46E4.mjs.map → chunk-NAYC2B72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4YBGCRDP.mjs.map → chunk-NAYDJEWI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MJKL37SY.mjs.map → chunk-NVBWPLR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UEKNE7II.mjs.map → chunk-O65OBG5D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-UNSFOHDG.mjs.map → chunk-O6ALDFLM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3S57OP4Z.mjs.map → chunk-OAPLU7UX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3ZT74S43.mjs.map → chunk-ODHXJQOF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KLLFGRPB.mjs.map → chunk-OSG4UY2Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RNABCWXS.mjs.map → chunk-P2MHA65O.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D2ULWBRR.mjs.map → chunk-PKLBZG2R.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IS3TZ43F.mjs.map → chunk-QJJEW7MB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DBIIY2TX.mjs.map → chunk-QNELH2S2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KPOZLV3Y.mjs.map → chunk-QO62QJ5H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ICXBMZJS.mjs.map → chunk-RV6SJMD7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GNHD56P3.mjs.map → chunk-SALLGAGD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4FXREOAU.mjs.map → chunk-SAN5F2PW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6DHK4ZHY.mjs.map → chunk-TFARIEZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F6HFPLKF.mjs.map → chunk-TMRKN7VL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GQ4CPGZ3.mjs.map → chunk-TR2KNDCH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JMC7CMTU.mjs.map → chunk-TVXZBSUY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K5MJ4FMD.mjs.map → chunk-U6RAWQXO.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-22ELCCFJ.mjs.map → chunk-UCFMVEOZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M65GJGER.mjs.map → chunk-UPABDY55.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QXC4D3AC.mjs.map → chunk-UT4BWFQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4G7O2SEH.mjs.map → chunk-UY22M7WB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3RLAFHQ5.mjs.map → chunk-VGGJESXR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZNYD34VT.mjs.map → chunk-VTEOS2MM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZBQOFCLH.mjs.map → chunk-WEZV6U4A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-STSC5Q3L.mjs.map → chunk-WYVAFCPU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WG5ONYK4.mjs.map → chunk-XLLBREX7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E7M6PNMF.mjs.map → chunk-XNSSZDSU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZFKTQNIP.mjs.map → chunk-XSUHHPZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YZ6E6GLF.mjs.map → chunk-XTATC65P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-EBENRM2R.mjs.map → chunk-XV3H7VOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-R6F66MUM.mjs.map → chunk-XXSANEEO.mjs.map} +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.cjs +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.d.ts +0 -0
- /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.mjs.map +0 -0
- /package/out/{__chunks__/chunk-TFZ46GCB.mjs.map → methods/initApp/helpers/waitForStoreRehydration.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{authenticateLedgerAccount.mjs.map → authenticateLedgerAccount/authenticateLedgerAccount.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.d.ts → authenticateLedgerAccount/helpers/getAuthTokenText.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.mjs.map → authenticateLedgerAccount/helpers/getAuthTokenText.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.d.ts → authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.mjs.map → authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.cjs → authenticateLedgerAccount/helpers/secondsToTimeString.cjs} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.d.ts → authenticateLedgerAccount/helpers/secondsToTimeString.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.mjs.map → authenticateLedgerAccount/helpers/secondsToTimeString.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.cjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.d.ts +0 -0
- /package/out/{apiCalls/account → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList}/index.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.d.ts +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.cjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs.map +0 -0
- /package/out/{__chunks__/chunk-WHEXX3BD.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs.map} +0 -0
- /package/out/{apiCalls/configuration → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount}/index.mjs.map +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerProvider.mjs.map → getLedgerProvider/getLedgerProvider.mjs.map} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.d.ts → getLedgerProvider/helpers/getLedgerConfiguration.d.ts} +0 -0
- /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.mjs.map → getLedgerProvider/helpers/getLedgerConfiguration.mjs.map} +0 -0
- /package/out/{__chunks__/chunk-YFPMAZOS.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs.map} +0 -0
- /package/out/{apiCalls → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider}/index.mjs.map +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-4VUMAG4J.mjs";var s={type:"FungibleESDT",identifier:"TEST-e3d1b7",name:"TEST",ticker:"TEST",owner:e,minted:"0",burnt:"0",initialMinted:"1000000000000000000000000000",decimals:18,isPaused:!1,assets:{website:"https://test.io",description:"Test token is a test token for testing the token details.",status:"active",pngUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.png",svgUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.svg",lockedAccounts:{[e]:"Locked Account #1"},extraTokens:["TEST-e3d1b7","TEST-e3d1b7"],ledgerSignature:"30450221009c58ae35af3a770221bd6e1fd8ad023d23e49e52cbca64f1a225c497935ee30402203fc97dae339a44872bc0415e684c35e0990720ba977ce6dabebfe72e6dc37591",social:{email:"hello@test.io",blog:"https://medium.com/@test",twitter:"https://twitter.com/test",telegram:"https://t.me/test",discord:"https://discord.gg/test"}},transactions:1754,transactionsLastUpdatedAt:1762511057,transfers:40882,transfersLastUpdatedAt:1762511183,accounts:416,accountsLastUpdatedAt:1762513938,canUpgrade:!0,canMint:!1,canBurn:!1,canChangeOwner:!0,canAddSpecialRoles:!0,canPause:!0,canFreeze:!0,canWipe:!0,price:3.114724747645395,marketCap:31147247476453953e-7,supply:"1000000000",circulatingSupply:"1000000000",mexPairType:"core",totalLiquidity:1963.9864633925347,totalVolume24h:0,isLowLiquidity:!0,lowLiquidityThresholdPercent:.5,tradesCount:8273,balance:"663088410050705591065",valueUsd:2065.3378806617707};export{s as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TQ7T6ULY.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/__mocks__/data/testToken.ts"],
|
|
4
|
+
"sourcesContent": ["import { testAddress } from '__mocks__/accountConfig';\n\nexport const testToken = {\n type: 'FungibleESDT',\n identifier: 'TEST-e3d1b7',\n name: 'TEST',\n ticker: 'TEST',\n owner: testAddress,\n minted: '0',\n burnt: '0',\n initialMinted: '1000000000000000000000000000',\n decimals: 18,\n isPaused: false,\n assets: {\n website: 'https://test.io',\n description: 'Test token is a test token for testing the token details.',\n status: 'active',\n pngUrl:\n 'https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.png',\n svgUrl:\n 'https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.svg',\n lockedAccounts: {\n [testAddress]: 'Locked Account #1'\n },\n extraTokens: ['TEST-e3d1b7', 'TEST-e3d1b7'],\n ledgerSignature:\n '30450221009c58ae35af3a770221bd6e1fd8ad023d23e49e52cbca64f1a225c497935ee30402203fc97dae339a44872bc0415e684c35e0990720ba977ce6dabebfe72e6dc37591',\n social: {\n email: 'hello@test.io',\n blog: 'https://medium.com/@test',\n twitter: 'https://twitter.com/test',\n telegram: 'https://t.me/test',\n discord: 'https://discord.gg/test'\n }\n },\n transactions: 1754,\n transactionsLastUpdatedAt: 1762511057,\n transfers: 40882,\n transfersLastUpdatedAt: 1762511183,\n accounts: 416,\n accountsLastUpdatedAt: 1762513938,\n canUpgrade: true,\n canMint: false,\n canBurn: false,\n canChangeOwner: true,\n canAddSpecialRoles: true,\n canPause: true,\n canFreeze: true,\n canWipe: true,\n price: 3.114724747645395,\n marketCap: 3114724747.6453953,\n supply: '1000000000',\n circulatingSupply: '1000000000',\n mexPairType: 'core',\n totalLiquidity: 1963.9864633925347,\n totalVolume24h: 0,\n isLowLiquidity: true,\n lowLiquidityThresholdPercent: 0.5,\n tradesCount: 8273,\n balance: '663088410050705591065',\n valueUsd: 2065.3378806617707\n};\n"],
|
|
5
|
+
"mappings": "yCAEO,IAAMA,EAAY,CACvB,KAAM,eACN,WAAY,cACZ,KAAM,OACN,OAAQ,OACR,MAAOC,EACP,OAAQ,IACR,MAAO,IACP,cAAe,+BACf,SAAU,GACV,SAAU,GACV,OAAQ,CACN,QAAS,kBACT,YAAa,4DACb,OAAQ,SACR,OACE,6EACF,OACE,6EACF,eAAgB,CACd,CAACA,CAAW,EAAG,mBACjB,EACA,YAAa,CAAC,cAAe,aAAa,EAC1C,gBACE,iJACF,OAAQ,CACN,MAAO,gBACP,KAAM,2BACN,QAAS,2BACT,SAAU,oBACV,QAAS,yBACX,CACF,EACA,aAAc,KACd,0BAA2B,WAC3B,UAAW,MACX,uBAAwB,WACxB,SAAU,IACV,sBAAuB,WACvB,WAAY,GACZ,QAAS,GACT,QAAS,GACT,eAAgB,GAChB,mBAAoB,GACpB,SAAU,GACV,UAAW,GACX,QAAS,GACT,MAAO,kBACP,UAAW,qBACX,OAAQ,aACR,kBAAmB,aACnB,YAAa,OACb,eAAgB,mBAChB,eAAgB,EAChB,eAAgB,GAChB,6BAA8B,GAC9B,YAAa,KACb,QAAS,wBACT,SAAU,kBACZ",
|
|
6
|
+
"names": ["testToken", "testAddress"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-URTM5OGN.mjs";var n=class{static get create(){return this.createComponent}static set create(e){this.createComponent=e}};n.createComponent=async({name:e,anchor:m})=>{if(!t?.customElements?.get(e))return null;let o=t.document.createElement(e);return(m||t.document.body).appendChild(o),await customElements.whenDefined(e),o};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TR2KNDCH.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-U6RAWQXO.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-RYIJWGFA.mjs";import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-RYIJWGFA.mjs";import{a as i}from"./chunk-PKLBZG2R.mjs";import{a}from"./chunk-HWJQUOPL.mjs";var h=r=>{let t=i(r),{failed:n,invalid:e,pending:c}=a(r),m=(n||e)&&t.length>0?t.join(","):"",o=`${s(r.status)} ${m}`;return n?{icon:"close",tooltip:o}:e?{icon:"ban",tooltip:o}:c?{icon:"hourglass",tooltip:o}:{tooltip:o}};export{h as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UCFMVEOZ.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-TR2KNDCH.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UPABDY55.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.3.
|
|
4
|
+
"sourcesContent": ["export const safeWindow: Window =\n typeof window !== 'undefined' ? window : ({} as Window);\n\nexport const version = '5.3.2'; // 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 n}from"./chunk-3GGBXXXJ.mjs";import{h as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-3GGBXXXJ.mjs";import{h as e}from"./chunk-2JKCBTYK.mjs";import i from"axios";async function u({url:o=e,baseURL:t}){let c=`${n(t)}/${o}`;try{let{data:r}=await i.get(c);return r}catch(r){return console.error("err fetching economics info",r),null}}export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UT4BWFQH.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"./chunk-DLWDO7M6.mjs";import{d as v}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as c}from"./chunk-DLWDO7M6.mjs";import{d as v}from"./chunk-JPSW3MCK.mjs";import{y as a}from"./chunk-C72ZHRFA.mjs";import{s as n}from"./chunk-XNSSZDSU.mjs";import{d as s}from"./chunk-VNLGNNIL.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";import{a as d}from"./chunk-RV6SJMD7.mjs";async function S(){let t=c(),m=d(),e=s(n()),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)}a(r)}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-UY22M7WB.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{z as g}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{z as g}from"./chunk-C72ZHRFA.mjs";import{q as M}from"./chunk-XNSSZDSU.mjs";import{a as p}from"./chunk-7MBSWJUD.mjs";import{a as u,c as l,g as c}from"./chunk-NTEMINYA.mjs";import{a as d}from"./chunk-URTM5OGN.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=p(this.store.getState()),o=g(),i=`${t}${a}`,y=new c({address:new l(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=p(this.store.getState()),{message:t}=s;try{let o=new c({address:new l(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VGGJESXR.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as t}from"./chunk-3GGBXXXJ.mjs";import{a as r}from"./chunk-2JKCBTYK.mjs";import{k as o}from"./chunk-PKDR5ERF.mjs";import m from"axios";async function c({addressToVerify:s,baseURL:a}){let e=t(a),{data:i}=await m.get(`${e}/${r}/${s}`,{timeout:o});return i}export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-VIQAOU2F.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/apiCalls/account/getScamAddressData.ts"],
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
|
|
5
|
+
"mappings": "2HAAA,OAAOA,MAAW,QAMlB,eAAsBC,EAAmB,CACvC,gBAAAC,EACA,QAAAC,CACF,EAGG,CACD,IAAMC,EAAaC,EAAmBF,CAAO,EAEvC,CAAE,KAAAG,CAAK,EAAI,MAAMC,EAAM,IAG1B,GAAGH,CAAU,IAAII,CAAiB,IAAIN,CAAe,GAAI,CAC1D,QAASO,CACX,CAAC,EAED,OAAOH,CACT",
|
|
6
|
+
"names": ["axios", "getScamAddressData", "addressToVerify", "baseURL", "apiAddress", "getCleanApiAddress", "data", "axios", "ACCOUNTS_ENDPOINT", "TIMEOUT"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-NAYC2B72.mjs";import{a as e}from"./chunk-H73D4VUZ.mjs";import{a as i}from"./chunk-6R2WFQ7U.mjs";var a=class{constructor(o){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async o=>{if(!this._login)throw new Error("Provider is not initialized.");let r=await this._login(o);if(!r?.address)throw new Error("Provider is not initialized.");return{...r,address:r.address,signature:r.signature??""}};this.initializeAddress=()=>{if(this.address)return;let o=e();o&&(this.address=o)};this.cancelAction=void 0;this.address=o??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(o,r){throw new Error("Method not implemented.")}async login(o){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let r=new AbortController;this.loginAbortController=r;let t=r.signal;try{let n=new Promise((p,c)=>{t.addEventListener("abort",()=>{c(new Error("Login cancelled"))})}),l=await Promise.race([this.loginOperation(o),n]);return this.loginAbortController=null,l}catch(n){throw this.loginAbortController=null,n}}async initSignState(){let{onClose:o,manager:r}=await s({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return r.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),r.updateData({name:i[t],type:t}),{onClose:o,manager:r}}};export{a};
|
|
2
|
+
//# sourceMappingURL=chunk-WEZV6U4A.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as o}from"./chunk-URTM5OGN.mjs";var i=String(o?.navigator?.userAgent),t=/^((?!chrome|android).)*safari/i.test(i),r=/firefox/i.test(i)&&/windows/i.test(i),n=t||r;export{t as a,n as b};
|
|
2
|
+
//# sourceMappingURL=chunk-WYVAFCPU.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-SNPF3BD2.mjs";import{a as i}from"./chunk-N56SMVGU.mjs";import{k as n}from"./chunk-PKDR5ERF.mjs";async function T(t){let r={timeout:n},o=await e.getItem(t);if(o)return o;let a=await i.get(t,r);return await e.setItem(t,a.data),a.data}export{T as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XLLBREX7.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as a,f as p}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{b as a,f as p}from"./chunk-7MBSWJUD.mjs";import{f as l}from"./chunk-VNLGNNIL.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as I}from"./chunk-AGJVEK6I.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{b as T}from"./chunk-A7FTKX2A.mjs";import{a as c,b as g}from"./chunk-IVHD32VC.mjs";import{a as m,b as f}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{c as s}from"./chunk-NTEMINYA.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=c,e.loginInfo=m,e.transactions=d,e.toasts=S};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=p(e),n=l(e),{address:i,publicKey:M}=a(e);if(i&&M!==new s(i).toHex()&&A(e),!t)return;if(n==null){w(H());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=J(V(h(N((...n)=>({network:x(...n),account:g(...n),loginInfo:f(...n),config:L(...n),transactions:y(...n),toasts:u(...n),cache:T(...n),ui:v(...n)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new k)),r),le=(e=I)=>{let t=z(e);return D(t),t},se=()=>o().getState();var me=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),fe=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),de=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),ye=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),xe=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{me as a,fe as b,Se as c,ue as d,de as e,ye as f,xe as g,E as h,b as i,A as j,H as k,w as l,C as m,W as n,z as o,D as p,o as q,le as r,se as s};
|
|
2
|
+
//# sourceMappingURL=chunk-XNSSZDSU.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u}from"./chunk-4GCIE2BM.mjs";import{a as f}from"./chunk-DW6RO5LJ.mjs";import{a as g}from"./chunk-JDP24JPD.mjs";import{b as a}from"./chunk-XNSSZDSU.mjs";import{c as s,g as r}from"./chunk-NTEMINYA.mjs";var v=async({signMessageCallback:m,nativeAuthClientConfig:o})=>{let{address:t}=u(),c=g(),i=f(o||c),e=await i.initialize({noCache:!!o});if(!e)return null;let h=new r({address:new s(t),data:Buffer.from(`${t}${e}`)}),n=await m(h,{});if(!n?.signature)throw"Message not signed";return a({loginToken:e,signature:Buffer.from(n.signature).toString("hex")}),i.getToken({address:t,token:e,signature:Buffer.from(n.signature).toString("hex")})};export{v as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XTATC65P.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as u}from"./chunk-DW6RO5LJ.mjs";import{a as g}from"./chunk-PMATTOPD.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-XV3H7VOE.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-URTM5OGN.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-XXSANEEO.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as w}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as w}from"./chunk-UT4BWFQH.mjs";import{a as g}from"./chunk-YGI3KXMZ.mjs";import{a as b}from"./chunk-XSUHHPZ2.mjs";import{a as m}from"./chunk-VTEOS2MM.mjs";import{f}from"./chunk-PJWJZHIS.mjs";import x from"bignumber.js";var F=async({manager:e,provider:d})=>{if(!e||!d)throw new Error("Provider is not initialized.");let{network:u}=b(),s=e.getAccountScreenData()?.startIndex||0,r=e.getAllAccounts(),a=await w({baseURL:u.apiAddress}),l=o=>o.index>=s&&o.index<s+e.addressesPerPage,I=r.reduce((o,n)=>Object.assign(o,{[n.index]:n}),{}),A=r.filter(l),y=!!I[s];if(e.updateAccountScreen({isLoading:!y}),A.length>0){e.updateAccountScreen({accounts:A});return}try{let o=Math.floor(s/e.addressesPerPage),n=await d.getAccounts(o,e.addressesPerPage),L=n.map((t,c)=>({address:t,balance:"...",index:c+s})),P=[...r,...L],h=n.map(t=>m({address:t,baseURL:u.apiAddress})),j=await Promise.all(h),i=P.reduce((t,c)=>Object.assign(t,{[c.address]:c}),{});j.forEach(t=>{if(!t||!a||!a.price)return;let c=new x(t.balance),S=c.dividedBy(x(10).pow(18)).toFormat(4).toString();if(c.isNaN())return;let U=g({amount:f({input:t.balance}),usd:a?.price});i[t.address].balance=S,i[t.address].usdValue=U});let p=Object.values(i).sort((t,c)=>t.index-c.index),O=p.filter(l);e.updateAllAccounts(p),e.updateAccountScreen({accounts:O,isLoading:!1})}catch(o){console.error("Failed to fetch accounts:",o)}};export{F as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YGMILCHH.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.ts"],
|
|
4
|
+
"sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { getEconomics } from 'apiCalls/economics/getEconomics';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { ProviderErrorsEnum } from 'types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { getUsdValue } from 'utils/operations/getUsdValue';\n\nimport {\n IUpdateAccountsList,\n UpdateAccountObjectType\n} from './updateAccountsList.types';\nimport { ILedgerAccount } from '../../../../types/ledger.types';\n\n/**\n * Updates the list of accounts and fetches their balances.\n *\n * This function performs the following steps:\n * 1. Checks if the manager and provider are initialized; if not, throws an error.\n * 2. Retrieves the starting index for pagination and the current list of accounts.\n * 3. Checks if there is already data for the current page to avoid unnecessary fetching.\n * 4. If no data is present, it fetches the accounts from the wallet provider.\n * 5. Updates the state manager with the new account data and their balances.\n * 6. Handles errors by reverting to existing accounts and logging the error.\n */\nexport const updateAccountsList = async ({\n manager,\n provider\n}: IUpdateAccountsList) => {\n if (!manager || !provider) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const { network } = getNetworkConfig();\n const startIndex = manager.getAccountScreenData()?.startIndex || 0;\n const allAccounts = manager.getAllAccounts();\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n const filterByStartIndexRange = (account: ILedgerAccount) =>\n account.index >= startIndex &&\n account.index < startIndex + manager.addressesPerPage;\n\n const allAccountsObject = allAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.index]: account }),\n {}\n );\n\n const currentAccounts = allAccounts.filter(filterByStartIndexRange);\n const isStartIndexInAccounts = Boolean(allAccountsObject[startIndex]);\n\n manager.updateAccountScreen({\n isLoading: !isStartIndexInAccounts\n });\n\n if (currentAccounts.length > 0) {\n manager.updateAccountScreen({ accounts: currentAccounts });\n return;\n }\n\n try {\n const page = Math.floor(startIndex / manager.addressesPerPage);\n\n const accountsArray = await provider.getAccounts(\n page,\n manager.addressesPerPage\n );\n\n const accountsWithBalance = accountsArray.map(\n (address, accountIindex): ILedgerAccount => ({\n address,\n balance: '...',\n index: accountIindex + startIndex\n })\n );\n\n const newAllAccounts = [...allAccounts, ...accountsWithBalance];\n const balancePromises = accountsArray.map((address) =>\n fetchAccount({ address, baseURL: network.apiAddress })\n );\n\n const balances = await Promise.all(balancePromises);\n const newAllAccountsObject = newAllAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.address]: account }),\n {}\n );\n\n balances.forEach((account) => {\n if (!account || !economics || !economics.price) {\n return;\n }\n\n const balanceBigNumber = new BigNumber(account.balance);\n const formattedBalance = balanceBigNumber\n .dividedBy(BigNumber(10).pow(18))\n .toFormat(4)\n .toString();\n\n if (balanceBigNumber.isNaN()) {\n return;\n }\n\n const usdValue = getUsdValue({\n amount: formatAmount({ input: account.balance }),\n usd: economics?.price\n });\n\n newAllAccountsObject[account.address].balance = formattedBalance;\n newAllAccountsObject[account.address].usdValue = usdValue;\n });\n\n const newAllAccountsArray = Object.values(newAllAccountsObject).sort(\n (alpha, beta) => alpha.index - beta.index\n );\n\n const accountsScreenArray = newAllAccountsArray.filter(\n filterByStartIndexRange\n );\n\n manager.updateAllAccounts(newAllAccountsArray);\n manager.updateAccountScreen({\n accounts: accountsScreenArray,\n isLoading: false\n });\n } catch (error) {\n console.error('Failed to fetch accounts:', error);\n }\n};\n"],
|
|
5
|
+
"mappings": "wMAAA,OAAOA,MAAe,eA0Bf,IAAMC,EAAqB,MAAO,CACvC,QAAAC,EACA,SAAAC,CACF,IAA2B,CACzB,GAAI,CAACD,GAAW,CAACC,EACf,MAAM,IAAI,oCAAuC,EAGnD,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAiB,EAC/BC,EAAaJ,EAAQ,qBAAqB,GAAG,YAAc,EAC3DK,EAAcL,EAAQ,eAAe,EACrCM,EAAY,MAAMC,EAAa,CAAE,QAASL,EAAQ,UAAW,CAAC,EAE9DM,EAA2BC,GAC/BA,EAAQ,OAASL,GACjBK,EAAQ,MAAQL,EAAaJ,EAAQ,iBAEjCU,EAAoBL,EAAY,OACpC,CAACM,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,KAAK,EAAGA,CAAQ,CAAC,EAC5D,CAAC,CACH,EAEMG,EAAkBP,EAAY,OAAOG,CAAuB,EAC5DK,EAAyB,EAAQH,EAAkBN,CAAU,EAMnE,GAJAJ,EAAQ,oBAAoB,CAC1B,UAAW,CAACa,CACd,CAAC,EAEGD,EAAgB,OAAS,EAAG,CAC9BZ,EAAQ,oBAAoB,CAAE,SAAUY,CAAgB,CAAC,EACzD,MACF,CAEA,GAAI,CACF,IAAME,EAAO,KAAK,MAAMV,EAAaJ,EAAQ,gBAAgB,EAEvDe,EAAgB,MAAMd,EAAS,YACnCa,EACAd,EAAQ,gBACV,EAEMgB,EAAsBD,EAAc,IACxC,CAACE,EAASC,KAAmC,CAC3C,QAAAD,EACA,QAAS,MACT,MAAOC,EAAgBd,CACzB,EACF,EAEMe,EAAiB,CAAC,GAAGd,EAAa,GAAGW,CAAmB,EACxDI,EAAkBL,EAAc,IAAKE,GACzCI,EAAa,CAAE,QAAAJ,EAAS,QAASf,EAAQ,UAAW,CAAC,CACvD,EAEMoB,EAAW,MAAM,QAAQ,IAAIF,CAAe,EAC5CG,EAAuBJ,EAAe,OAC1C,CAACR,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,OAAO,EAAGA,CAAQ,CAAC,EAC9D,CAAC,CACH,EAEAa,EAAS,QAASb,GAAY,CAC5B,GAAI,CAACA,GAAW,CAACH,GAAa,CAACA,EAAU,MACvC,OAGF,IAAMkB,EAAmB,IAAIC,EAAUhB,EAAQ,OAAO,EAChDiB,EAAmBF,EACtB,UAAUC,EAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAC/B,SAAS,CAAC,EACV,SAAS,EAEZ,GAAID,EAAiB,MAAM,EACzB,OAGF,IAAMG,EAAWC,EAAY,CAC3B,OAAQC,EAAa,CAAE,MAAOpB,EAAQ,OAAQ,CAAC,EAC/C,IAAKH,GAAW,KAClB,CAAC,EAEDiB,EAAqBd,EAAQ,OAAO,EAAE,QAAUiB,EAChDH,EAAqBd,EAAQ,OAAO,EAAE,SAAWkB,CACnD,CAAC,EAED,IAAMG,EAAsB,OAAO,OAAOP,CAAoB,EAAE,KAC9D,CAACQ,EAAOC,IAASD,EAAM,MAAQC,EAAK,KACtC,EAEMC,EAAsBH,EAAoB,OAC9CtB,CACF,EAEAR,EAAQ,kBAAkB8B,CAAmB,EAC7C9B,EAAQ,oBAAoB,CAC1B,SAAUiC,EACV,UAAW,EACb,CAAC,CACH,OAASC,EAAO,CACd,QAAQ,MAAM,4BAA6BA,CAAK,CAClD,CACF",
|
|
6
|
+
"names": ["BigNumber", "updateAccountsList", "manager", "provider", "network", "getNetworkConfig", "startIndex", "allAccounts", "economics", "getEconomics", "filterByStartIndexRange", "account", "allAccountsObject", "accountsObject", "currentAccounts", "isStartIndexInAccounts", "page", "accountsArray", "accountsWithBalance", "address", "accountIindex", "newAllAccounts", "balancePromises", "fetchAccount", "balances", "newAllAccountsObject", "balanceBigNumber", "BigNumber", "formattedBalance", "usdValue", "getUsdValue", "formatAmount", "newAllAccountsArray", "alpha", "beta", "accountsScreenArray", "error"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{g as r}from"./chunk-LHEH7L4L.mjs";async function p(o){if(!o.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=o.hwApp,{contractData:n,version:a}=await t.getAppConfiguration();return{version:a,dataEnabled:n===1}}export{p as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
//# sourceMappingURL=chunk-YYH2GKPL.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.ts"],
|
|
3
|
+
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.ts"],
|
|
4
4
|
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider';\nimport { IHWWalletApp } from '@multiversx/sdk-hw-provider/out/interface';\n\nimport { LEDGER_CONTRACT_DATA_ENABLED_VALUE } from 'constants/index';\n\nexport async function getLedgerConfiguration(initializedHwWalletP: HWProvider) {\n if (!initializedHwWalletP.isInitialized()) {\n throw new Error('Unable to get version. Provider not initialized');\n }\n const hwApp: IHWWalletApp = (initializedHwWalletP as any).hwApp;\n const { contractData, version } = await hwApp.getAppConfiguration();\n const dataEnabled = contractData === LEDGER_CONTRACT_DATA_ENABLED_VALUE;\n return { version, dataEnabled };\n}\n"],
|
|
5
5
|
"mappings": "yCAKA,eAAsBA,EAAuBC,EAAkC,CAC7E,GAAI,CAACA,EAAqB,cAAc,EACtC,MAAM,IAAI,MAAM,iDAAiD,EAEnE,IAAMC,EAAuBD,EAA6B,MACpD,CAAE,aAAAE,EAAc,QAAAC,CAAQ,EAAI,MAAMF,EAAM,oBAAoB,EAElE,MAAO,CAAE,QAAAE,EAAS,YADED,IAAiB,CACP,CAChC",
|
|
6
6
|
"names": ["getLedgerConfiguration", "initializedHwWalletP", "hwApp", "contractData", "version"]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../__chunks__/chunk-
|
|
1
|
+
import{a,b}from"../../__chunks__/chunk-EPL2CHU6.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";export{a as accountFetcher,b as getAccountFromApi};
|
|
2
2
|
//# sourceMappingURL=getAccountFromApi.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/utils"),d=require("../../constants/index"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
|
|
1
|
+
"use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/utils/getCleanApiAddress"),d=require("../../constants/index"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
|
|
2
2
|
//# sourceMappingURL=getScamAddressData.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/account/getScamAddressData.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
|
|
5
|
-
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,
|
|
6
|
-
"names": ["getScamAddressData_exports", "__export", "getScamAddressData", "__toCommonJS", "import_axios", "
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,6CACnCC,EAAwB,2BAExBC,EAAkC,wBAElC,eAAsBL,EAAmB,CACvC,gBAAAM,EACA,QAAAC,CACF,EAGG,CACD,MAAMC,KAAa,sBAAmBD,CAAO,EAEvC,CAAE,KAAAE,CAAK,EAAI,MAAM,EAAAC,QAAM,IAG1B,GAAGF,CAAU,IAAI,mBAAiB,IAAIF,CAAe,GAAI,CAC1D,QAAS,SACX,CAAC,EAED,OAAOG,CACT",
|
|
6
|
+
"names": ["getScamAddressData_exports", "__export", "getScamAddressData", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_constants", "import_endpoints", "addressToVerify", "baseURL", "apiAddress", "data", "axios"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-VIQAOU2F.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-WYVAFCPU.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-NAYDJEWI.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-URTM5OGN.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-D3VRMBRS.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getCleanApiAddress};
|
|
2
2
|
//# sourceMappingURL=getCleanApiAddress.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var l=Object.create;var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var A=(t,r)=>{for(var e in r)s(t,e,{get:r[e],enumerable:!0})},n=(t,r,e,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of c(r))!d.call(t,a)&&a!==e&&s(t,a,{get:()=>r[a],enumerable:!(o=p(r,a))||o.enumerable});return t};var g=(t,r,e)=>(e=t!=null?l(u(t)):{},n(r||!t||!t.__esModule?s(e,"default",{value:t,enumerable:!0}):e,t)),S=t=>n(s({},"__esModule",{value:!0}),t);var N={};A(N,{getGasStationMetadataFromApi:()=>k});module.exports=S(N);var i=g(require("axios")),m=require("../../apiCalls/configuration/getCleanApiAddress"),f=require("../../apiCalls/endpoints");async function k(t,r){const o=`${(0,m.getCleanApiAddress)(r)}/${f.GAS_STATION_ENDPOINT}/${t}`;try{const{data:a}=await i.default.get(o);return a?{[t]:{lastBlock:a.lastBlock,fast:a.fast,faster:a.faster}}:null}catch(a){return console.error("Error fetching gas station metadata from:",o,a),null}}0&&(module.exports={getGasStationMetadataFromApi});
|
|
2
2
|
//# sourceMappingURL=getGasStationMetadata.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/configuration/getGasStationMetadata.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { NetworkType } from 'types/network.types';\n\ninterface IGasStationApiResponse {\n lastBlock: number;\n fast: number;\n faster: number;\n}\n\
|
|
5
|
-
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,
|
|
6
|
-
"names": ["getGasStationMetadata_exports", "__export", "getGasStationMetadataFromApi", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { GAS_STATION_ENDPOINT } from 'apiCalls/endpoints';\nimport { NetworkType } from 'types/network.types';\n\ninterface IGasStationApiResponse {\n lastBlock: number;\n fast: number;\n faster: number;\n}\n\nexport async function getGasStationMetadataFromApi(\n shard: number,\n customApiAddress?: string\n): Promise<NetworkType['gasStationMetadata'] | null> {\n const apiAddress = getCleanApiAddress(customApiAddress);\n const gasStationUrl = `${apiAddress}/${GAS_STATION_ENDPOINT}/${shard}`;\n\n try {\n const { data } = await axios.get<IGasStationApiResponse>(gasStationUrl);\n\n if (data) {\n return {\n [shard]: {\n lastBlock: data.lastBlock,\n fast: data.fast,\n faster: data.faster\n }\n };\n }\n return null;\n } catch (err) {\n console.error(\n 'Error fetching gas station metadata from:',\n gasStationUrl,\n err\n );\n return null;\n }\n}\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,qDACnCC,EAAqC,8BASrC,eAAsBJ,EACpBK,EACAC,EACmD,CAEnD,MAAMC,EAAgB,MADH,sBAAmBD,CAAgB,CACnB,IAAI,sBAAoB,IAAID,CAAK,GAEpE,GAAI,CACF,KAAM,CAAE,KAAAG,CAAK,EAAI,MAAM,EAAAC,QAAM,IAA4BF,CAAa,EAEtE,OAAIC,EACK,CACL,CAACH,CAAK,EAAG,CACP,UAAWG,EAAK,UAChB,KAAMA,EAAK,KACX,OAAQA,EAAK,MACf,CACF,EAEK,IACT,OAASE,EAAK,CACZ,eAAQ,MACN,4CACAH,EACAG,CACF,EACO,IACT,CACF",
|
|
6
|
+
"names": ["getGasStationMetadata_exports", "__export", "getGasStationMetadataFromApi", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_endpoints", "shard", "customApiAddress", "gasStationUrl", "data", "axios", "err"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-LG6Q3PRI.mjs";import"../../__chunks__/chunk-D3VRMBRS.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.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-LGGG3HW7.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";export{a as getNetworkConfigFromApi};
|
|
2
2
|
//# sourceMappingURL=getNetworkConfigFromApi.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-IWP36NOU.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";export{a as getServerConfiguration};
|
|
2
2
|
//# sourceMappingURL=getServerConfiguration.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-UT4BWFQH.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";export{a as getEconomics};
|
|
2
2
|
//# sourceMappingURL=getEconomics.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var O=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var e=Object.prototype.hasOwnProperty;var E=(t,o)=>{for(var s in o)O(t,s,{get:o[s],enumerable:!0})},I=(t,o,s,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let N of n(o))!e.call(t,N)&&N!==s&&O(t,N,{get:()=>o[N],enumerable:!(c=T(o,N))||c.enumerable});return t};var r=t=>I(O({},"__esModule",{value:!0}),t);var
|
|
1
|
+
"use strict";var O=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var e=Object.prototype.hasOwnProperty;var E=(t,o)=>{for(var s in o)O(t,s,{get:o[s],enumerable:!0})},I=(t,o,s,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let N of n(o))!e.call(t,N)&&N!==s&&O(t,N,{get:()=>o[N],enumerable:!(c=T(o,N))||c.enumerable});return t};var r=t=>I(O({},"__esModule",{value:!0}),t);var h={};E(h,{ACCOUNTS_ENDPOINT:()=>D,ADDRESS_ENDPOINT:()=>p,BLOCKS_ENDPOINT:()=>S,CODE_ENDPOINT:()=>_,COLLECTIONS_ENDPOINT:()=>x,CONFIG_ENDPOINT:()=>P,CONTRACTS_ENDPOINT:()=>C,ECONOMICS_ENDPOINT:()=>A,GAS_STATION_ENDPOINT:()=>b,IDENTITIES_ENDPOINT:()=>a,KEYS_ENDPOINT:()=>i,LOCKED_ACCOUNTS_ENDPOINT:()=>R,LOGS_ENDPOINT:()=>d,MINIBLOCKS_ENDPOINT:()=>l,NETWORK_CONFIG_ENDPOINT:()=>L,NFTS_ENDPOINT:()=>k,NODES_ENDPOINT:()=>K,PROVIDERS_ENDPOINT:()=>u,ROLES_ENDPOINT:()=>f,SC_RESULTS_ENDPOINT:()=>F,STAKE_ENDPOINT:()=>G,TOKENS_ENDPOINT:()=>U,TRANSACTIONS_BATCH:()=>B,TRANSACTIONS_COUNT_ENDPOINT:()=>g,TRANSACTIONS_ENDPOINT:()=>m,TRANSFERS_ENDPOINT:()=>M});module.exports=r(h);const D="accounts",p="address",S="blocks",_="code",x="collections",P="dapp/config",C="contracts",A="economics",a="identities",i="keys",R="locked-accounts",d="logs",l="miniblocks",L="network/config",k="nfts",K="nodes",u="providers",f="roles",F="sc-results",G="stake",U="tokens",b="transactions/ppu",g="transactions/count",B="batch",m="transactions",M="transfers";0&&(module.exports={ACCOUNTS_ENDPOINT,ADDRESS_ENDPOINT,BLOCKS_ENDPOINT,CODE_ENDPOINT,COLLECTIONS_ENDPOINT,CONFIG_ENDPOINT,CONTRACTS_ENDPOINT,ECONOMICS_ENDPOINT,GAS_STATION_ENDPOINT,IDENTITIES_ENDPOINT,KEYS_ENDPOINT,LOCKED_ACCOUNTS_ENDPOINT,LOGS_ENDPOINT,MINIBLOCKS_ENDPOINT,NETWORK_CONFIG_ENDPOINT,NFTS_ENDPOINT,NODES_ENDPOINT,PROVIDERS_ENDPOINT,ROLES_ENDPOINT,SC_RESULTS_ENDPOINT,STAKE_ENDPOINT,TOKENS_ENDPOINT,TRANSACTIONS_BATCH,TRANSACTIONS_COUNT_ENDPOINT,TRANSACTIONS_ENDPOINT,TRANSFERS_ENDPOINT});
|
|
2
2
|
//# sourceMappingURL=endpoints.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/apiCalls/endpoints.ts"],
|
|
4
|
-
"sourcesContent": ["export const ACCOUNTS_ENDPOINT = 'accounts';\nexport const ADDRESS_ENDPOINT = 'address';\nexport const BLOCKS_ENDPOINT = 'blocks';\nexport const CODE_ENDPOINT = 'code';\nexport const COLLECTIONS_ENDPOINT = 'collections';\nexport const CONFIG_ENDPOINT = 'dapp/config';\nexport const CONTRACTS_ENDPOINT = 'contracts';\nexport const ECONOMICS_ENDPOINT = 'economics';\nexport const IDENTITIES_ENDPOINT = 'identities';\nexport const KEYS_ENDPOINT = 'keys';\nexport const LOCKED_ACCOUNTS_ENDPOINT = 'locked-accounts';\nexport const LOGS_ENDPOINT = 'logs';\nexport const MINIBLOCKS_ENDPOINT = 'miniblocks';\nexport const NETWORK_CONFIG_ENDPOINT = 'network/config';\nexport const NFTS_ENDPOINT = 'nfts';\nexport const NODES_ENDPOINT = 'nodes';\nexport const PROVIDERS_ENDPOINT = 'providers';\nexport const ROLES_ENDPOINT = 'roles';\nexport const SC_RESULTS_ENDPOINT = 'sc-results';\nexport const STAKE_ENDPOINT = 'stake';\nexport const TOKENS_ENDPOINT = 'tokens';\nexport const TRANSACTIONS_COUNT_ENDPOINT = 'transactions/count';\nexport const TRANSACTIONS_BATCH = 'batch';\nexport const TRANSACTIONS_ENDPOINT = 'transactions';\nexport const TRANSFERS_ENDPOINT = 'transfers';\n"],
|
|
5
|
-
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uBAAAE,EAAA,qBAAAC,EAAA,oBAAAC,EAAA,kBAAAC,EAAA,yBAAAC,EAAA,oBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAAAC,EAAA,kBAAAC,EAAA,6BAAAC,EAAA,kBAAAC,EAAA,wBAAAC,EAAA,4BAAAC,EAAA,kBAAAC,EAAA,mBAAAC,EAAA,uBAAAC,EAAA,mBAAAC,EAAA,wBAAAC,EAAA,mBAAAC,EAAA,oBAAAC,EAAA,uBAAAC,EAAA,gCAAAC,EAAA,0BAAAC,EAAA,uBAAAC,IAAA,eAAAC,
|
|
6
|
-
"names": ["endpoints_exports", "__export", "ACCOUNTS_ENDPOINT", "ADDRESS_ENDPOINT", "BLOCKS_ENDPOINT", "CODE_ENDPOINT", "COLLECTIONS_ENDPOINT", "CONFIG_ENDPOINT", "CONTRACTS_ENDPOINT", "ECONOMICS_ENDPOINT", "IDENTITIES_ENDPOINT", "KEYS_ENDPOINT", "LOCKED_ACCOUNTS_ENDPOINT", "LOGS_ENDPOINT", "MINIBLOCKS_ENDPOINT", "NETWORK_CONFIG_ENDPOINT", "NFTS_ENDPOINT", "NODES_ENDPOINT", "PROVIDERS_ENDPOINT", "ROLES_ENDPOINT", "SC_RESULTS_ENDPOINT", "STAKE_ENDPOINT", "TOKENS_ENDPOINT", "TRANSACTIONS_BATCH", "TRANSACTIONS_COUNT_ENDPOINT", "TRANSACTIONS_ENDPOINT", "TRANSFERS_ENDPOINT", "__toCommonJS"]
|
|
4
|
+
"sourcesContent": ["export const ACCOUNTS_ENDPOINT = 'accounts';\nexport const ADDRESS_ENDPOINT = 'address';\nexport const BLOCKS_ENDPOINT = 'blocks';\nexport const CODE_ENDPOINT = 'code';\nexport const COLLECTIONS_ENDPOINT = 'collections';\nexport const CONFIG_ENDPOINT = 'dapp/config';\nexport const CONTRACTS_ENDPOINT = 'contracts';\nexport const ECONOMICS_ENDPOINT = 'economics';\nexport const IDENTITIES_ENDPOINT = 'identities';\nexport const KEYS_ENDPOINT = 'keys';\nexport const LOCKED_ACCOUNTS_ENDPOINT = 'locked-accounts';\nexport const LOGS_ENDPOINT = 'logs';\nexport const MINIBLOCKS_ENDPOINT = 'miniblocks';\nexport const NETWORK_CONFIG_ENDPOINT = 'network/config';\nexport const NFTS_ENDPOINT = 'nfts';\nexport const NODES_ENDPOINT = 'nodes';\nexport const PROVIDERS_ENDPOINT = 'providers';\nexport const ROLES_ENDPOINT = 'roles';\nexport const SC_RESULTS_ENDPOINT = 'sc-results';\nexport const STAKE_ENDPOINT = 'stake';\nexport const TOKENS_ENDPOINT = 'tokens';\nexport const GAS_STATION_ENDPOINT = 'transactions/ppu';\nexport const TRANSACTIONS_COUNT_ENDPOINT = 'transactions/count';\nexport const TRANSACTIONS_BATCH = 'batch';\nexport const TRANSACTIONS_ENDPOINT = 'transactions';\nexport const TRANSFERS_ENDPOINT = 'transfers';\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uBAAAE,EAAA,qBAAAC,EAAA,oBAAAC,EAAA,kBAAAC,EAAA,yBAAAC,EAAA,oBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,yBAAAC,EAAA,wBAAAC,EAAA,kBAAAC,EAAA,6BAAAC,EAAA,kBAAAC,EAAA,wBAAAC,EAAA,4BAAAC,EAAA,kBAAAC,EAAA,mBAAAC,EAAA,uBAAAC,EAAA,mBAAAC,EAAA,wBAAAC,EAAA,mBAAAC,EAAA,oBAAAC,EAAA,uBAAAC,EAAA,gCAAAC,EAAA,0BAAAC,EAAA,uBAAAC,IAAA,eAAAC,EAAA5B,GAAO,MAAME,EAAoB,WACpBC,EAAmB,UACnBC,EAAkB,SAClBC,EAAgB,OAChBC,EAAuB,cACvBC,EAAkB,cAClBC,EAAqB,YACrBC,EAAqB,YACrBE,EAAsB,aACtBC,EAAgB,OAChBC,EAA2B,kBAC3BC,EAAgB,OAChBC,EAAsB,aACtBC,EAA0B,iBAC1BC,EAAgB,OAChBC,EAAiB,QACjBC,EAAqB,YACrBC,EAAiB,QACjBC,EAAsB,aACtBC,EAAiB,QACjBC,EAAkB,SAClBb,EAAuB,mBACvBe,EAA8B,qBAC9BD,EAAqB,QACrBE,EAAwB,eACxBC,EAAqB",
|
|
6
|
+
"names": ["endpoints_exports", "__export", "ACCOUNTS_ENDPOINT", "ADDRESS_ENDPOINT", "BLOCKS_ENDPOINT", "CODE_ENDPOINT", "COLLECTIONS_ENDPOINT", "CONFIG_ENDPOINT", "CONTRACTS_ENDPOINT", "ECONOMICS_ENDPOINT", "GAS_STATION_ENDPOINT", "IDENTITIES_ENDPOINT", "KEYS_ENDPOINT", "LOCKED_ACCOUNTS_ENDPOINT", "LOGS_ENDPOINT", "MINIBLOCKS_ENDPOINT", "NETWORK_CONFIG_ENDPOINT", "NFTS_ENDPOINT", "NODES_ENDPOINT", "PROVIDERS_ENDPOINT", "ROLES_ENDPOINT", "SC_RESULTS_ENDPOINT", "STAKE_ENDPOINT", "TOKENS_ENDPOINT", "TRANSACTIONS_BATCH", "TRANSACTIONS_COUNT_ENDPOINT", "TRANSACTIONS_ENDPOINT", "TRANSFERS_ENDPOINT", "__toCommonJS"]
|
|
7
7
|
}
|
|
@@ -19,6 +19,7 @@ export declare const ROLES_ENDPOINT = "roles";
|
|
|
19
19
|
export declare const SC_RESULTS_ENDPOINT = "sc-results";
|
|
20
20
|
export declare const STAKE_ENDPOINT = "stake";
|
|
21
21
|
export declare const TOKENS_ENDPOINT = "tokens";
|
|
22
|
+
export declare const GAS_STATION_ENDPOINT = "transactions/ppu";
|
|
22
23
|
export declare const TRANSACTIONS_COUNT_ENDPOINT = "transactions/count";
|
|
23
24
|
export declare const TRANSACTIONS_BATCH = "batch";
|
|
24
25
|
export declare const TRANSACTIONS_ENDPOINT = "transactions";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../__chunks__/chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../__chunks__/chunk-2JKCBTYK.mjs";export{a as ACCOUNTS_ENDPOINT,b as ADDRESS_ENDPOINT,c as BLOCKS_ENDPOINT,d as CODE_ENDPOINT,e as COLLECTIONS_ENDPOINT,f as CONFIG_ENDPOINT,g as CONTRACTS_ENDPOINT,h as ECONOMICS_ENDPOINT,v as GAS_STATION_ENDPOINT,i as IDENTITIES_ENDPOINT,j as KEYS_ENDPOINT,k as LOCKED_ACCOUNTS_ENDPOINT,l as LOGS_ENDPOINT,m as MINIBLOCKS_ENDPOINT,n as NETWORK_CONFIG_ENDPOINT,o as NFTS_ENDPOINT,p as NODES_ENDPOINT,q as PROVIDERS_ENDPOINT,r as ROLES_ENDPOINT,s as SC_RESULTS_ENDPOINT,t as STAKE_ENDPOINT,u as TOKENS_ENDPOINT,x as TRANSACTIONS_BATCH,w as TRANSACTIONS_COUNT_ENDPOINT,y as TRANSACTIONS_ENDPOINT,z as TRANSFERS_ENDPOINT};
|
|
2
2
|
//# sourceMappingURL=endpoints.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-XLLBREX7.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";export{a as getPersistedToken};
|
|
2
2
|
//# sourceMappingURL=getPersistedToken.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-5KYXNO4J.mjs";import"../../__chunks__/chunk-XLLBREX7.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getPersistedTokenDetails};
|
|
2
2
|
//# sourceMappingURL=getPersistedTokenDetails.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a as m}from"../../__chunks__/chunk-N56SMVGU.mjs";import{a as c}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as a}from"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import{b as s}from"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.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-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{o as r,u as i}from"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";async function b({tokenId:o}){let t=s(a()),{isNft:k}=c(o),n=o,p=k?r:i;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await m.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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
3
|
+
"sources": ["../../../src/apiCalls/tokens/getTokenDetails.ts"],
|
|
4
|
+
"sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
|
|
5
|
+
"mappings": "2sDAOA,eAAsBA,EAAgB,CACpC,QAAAC,CACF,EAE6B,CAC3B,IAAMC,EAAUC,EAAgBC,EAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,EAAIC,EAAkBL,CAAO,EAErCM,EAAkBN,EAClBO,EAAgBH,EAAQI,EAAgBC,EAE9C,GAAI,CAACH,EACH,MAAO,CACL,cAAe,OAAOL,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,GAAM,CAAE,KAAMS,CAAc,EAAI,MAAMC,EAAc,IAClD,GAAGV,EAAQ,UAAU,IAAIM,CAAa,IAAID,CAAe,EAC3D,EAEMM,EAAgBF,EAClBA,GAAe,SACf,OAAOT,EAAQ,QAAQ,EACrBY,EAAaH,EAAgBA,GAAe,KAAO,GACnDI,EAAcJ,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeE,EACf,WAAAC,EACA,KAAMH,GAAe,KACrB,YAAAI,EACA,WAAYJ,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASK,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBT,CAAe,KAAKS,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOd,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYK,CACd,CACF,CACF",
|
|
6
|
+
"names": ["getTokenDetails", "tokenId", "network", "networkSelector", "getState", "isNft", "getIdentifierType", "tokenIdentifier", "tokenEndpoint", "NFTS_ENDPOINT", "TOKENS_ENDPOINT", "selectedToken", "axiosInstance", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},y=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of g(e))!i.call(t,a)&&a!==r&&o(t,a,{get:()=>e[a],enumerable:!(s=c(e,a))||s.enumerable});return t};var u=t=>y(o({},"__esModule",{value:!0}),t);var m={};l(m,{tokenDataStorage:()=>S});module.exports=u(m);let n={};const S={setItem:async(t,e)=>{try{n[t]=JSON.stringify(e)}catch(r){console.error("tokenDataStorage unable to serialize",r)}},getItem:async t=>{if(!n[t])return null;try{return JSON.parse(n[t])}catch(e){console.error("tokenDataStorage unable to parse",e)}},clear:async()=>{n={}}};0&&(module.exports={tokenDataStorage});
|
|
2
2
|
//# sourceMappingURL=tokenDataStorage.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/tokens/tokenDataStorage.ts"],
|
|
4
|
-
"sourcesContent": ["let memoryCache: Record<string, string> = {};\n\nexport
|
|
5
|
-
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,
|
|
6
|
-
"names": ["tokenDataStorage_exports", "__export", "
|
|
4
|
+
"sourcesContent": ["let memoryCache: Record<string, string> = {};\n\nexport const tokenDataStorage = {\n setItem: async <T>(key: string, tokenData: T) => {\n try {\n memoryCache[key] = JSON.stringify(tokenData);\n } catch (e) {\n console.error('tokenDataStorage unable to serialize', e);\n }\n },\n getItem: async (key: string) => {\n if (!memoryCache[key]) {\n return null;\n }\n try {\n return JSON.parse(memoryCache[key]);\n } catch (e) {\n console.error('tokenDataStorage unable to parse', e);\n }\n },\n clear: async () => {\n memoryCache = {};\n }\n};\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAII,EAAsC,CAAC,EAEpC,MAAMF,EAAmB,CAC9B,QAAS,MAAUG,EAAaC,IAAiB,CAC/C,GAAI,CACFF,EAAYC,CAAG,EAAI,KAAK,UAAUC,CAAS,CAC7C,OAASC,EAAG,CACV,QAAQ,MAAM,uCAAwCA,CAAC,CACzD,CACF,EACA,QAAS,MAAOF,GAAgB,CAC9B,GAAI,CAACD,EAAYC,CAAG,EAClB,OAAO,KAET,GAAI,CACF,OAAO,KAAK,MAAMD,EAAYC,CAAG,CAAC,CACpC,OAAS,EAAG,CACV,QAAQ,MAAM,mCAAoC,CAAC,CACrD,CACF,EACA,MAAO,SAAY,CACjBD,EAAc,CAAC,CACjB,CACF",
|
|
6
|
+
"names": ["tokenDataStorage_exports", "__export", "tokenDataStorage", "__toCommonJS", "memoryCache", "key", "tokenData", "e"]
|
|
7
7
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare const tokenDataStorage: {
|
|
2
2
|
setItem: <T>(key: string, tokenData: T) => Promise<void>;
|
|
3
3
|
getItem: (key: string) => Promise<any>;
|
|
4
4
|
clear: () => Promise<void>;
|
|
5
|
-
removeItem: (key: string) => Promise<void>;
|
|
6
5
|
};
|
|
7
|
-
export declare const setTokenDataStorage: (tokenDataCacheStorage: typeof tokenDataStorage) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"../../__chunks__/chunk-SNPF3BD2.mjs";export{a as tokenDataStorage};
|
|
2
2
|
//# sourceMappingURL=tokenDataStorage.mjs.map
|