@multiversx/sdk-dapp 5.3.0 → 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 +2 -0
- 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-F33ERG33.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-W6M5WJ3V.mjs → chunk-4QDHKULK.mjs} +2 -2
- package/out/__chunks__/{chunk-RUE5QYSG.mjs → chunk-55U3WK3C.mjs} +2 -2
- package/out/__chunks__/chunk-573JTRNC.mjs +2 -0
- package/out/__chunks__/{chunk-YPV63DYG.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-MBNRIXNQ.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-AQNUGUG3.mjs → chunk-6CLCXSHA.mjs} +2 -2
- package/out/__chunks__/chunk-6CQMLD25.mjs +1 -0
- package/out/__chunks__/{chunk-OEXP5D2Q.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-ZGMF4QYV.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-QDX2JCQH.mjs → chunk-ATLICLWT.mjs} +2 -2
- package/out/__chunks__/{chunk-WXC5EE2F.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-6MNQSWGO.mjs → chunk-C72ZHRFA.mjs} +2 -2
- package/out/__chunks__/{chunk-6MNQSWGO.mjs.map → chunk-C72ZHRFA.mjs.map} +2 -2
- package/out/__chunks__/chunk-CUDPQDXY.mjs +1 -0
- package/out/__chunks__/{chunk-C2FLFZOO.mjs → chunk-CVXQYCEE.mjs} +2 -2
- package/out/__chunks__/{chunk-ONSO75O2.mjs → chunk-CXAX5TAG.mjs} +2 -2
- package/out/__chunks__/chunk-CZ2S4XSL.mjs +2 -0
- package/out/__chunks__/{chunk-KQV57RV3.mjs → chunk-D3VRMBRS.mjs} +2 -2
- package/out/__chunks__/{chunk-G5MRPRWI.mjs → chunk-DW6RO5LJ.mjs} +2 -2
- package/out/__chunks__/{chunk-XG6DEDBU.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-WWYX7L4I.mjs → chunk-FF45FPD3.mjs} +2 -2
- package/out/__chunks__/{chunk-STBF3KTB.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-AAQCK4UU.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-MCXQTDAK.mjs → chunk-HUXPA4C2.mjs} +2 -2
- package/out/__chunks__/chunk-HYH55J3D.mjs +2 -0
- package/out/__chunks__/{chunk-WBF6D374.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-4POCTP6S.mjs → chunk-IYM4ZX72.mjs} +2 -2
- package/out/__chunks__/{chunk-MQJQMAW3.mjs → chunk-J5TLE6SA.mjs} +2 -2
- package/out/__chunks__/{chunk-ITZJPUDG.mjs → chunk-JDP24JPD.mjs} +2 -2
- package/out/__chunks__/{chunk-5JQ3V6QZ.mjs → chunk-JPSW3MCK.mjs} +2 -2
- package/out/__chunks__/{chunk-B6VRKK6A.mjs → chunk-JZ22ZC2D.mjs} +2 -2
- package/out/__chunks__/{chunk-AWQZ56BT.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-CUQBPPWE.mjs → chunk-KIMRQMXB.mjs} +2 -2
- package/out/__chunks__/{chunk-PGAJUAPG.mjs → chunk-KLI6N26E.mjs} +2 -2
- package/out/__chunks__/{chunk-PGAJUAPG.mjs.map → chunk-KLI6N26E.mjs.map} +1 -1
- package/out/__chunks__/chunk-L3EOHIBG.mjs +2 -0
- package/out/__chunks__/chunk-L3EOHIBG.mjs.map +7 -0
- package/out/__chunks__/chunk-LBPTOWPX.mjs +2 -0
- package/out/__chunks__/chunk-LBPTOWPX.mjs.map +7 -0
- 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-OILJUNFX.mjs → chunk-LKOWOTL2.mjs} +2 -2
- package/out/__chunks__/{chunk-YLD26I5H.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-2JTLNZM3.mjs → chunk-MLDUGECH.mjs} +2 -2
- package/out/__chunks__/{chunk-7ZIJXDPY.mjs → chunk-MS7BFY27.mjs} +2 -2
- package/out/__chunks__/{chunk-SKBL5PDX.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-U24DHQDI.mjs → chunk-N5VJJRWV.mjs} +2 -2
- package/out/__chunks__/{chunk-BT2J2GH4.mjs → chunk-NAYC2B72.mjs} +2 -2
- package/out/__chunks__/{chunk-H24QGHAH.mjs → chunk-NAYDJEWI.mjs} +2 -2
- package/out/__chunks__/{chunk-PBXNAY2B.mjs → chunk-NVBWPLR7.mjs} +2 -2
- package/out/__chunks__/{chunk-JBZR35CW.mjs → chunk-O65OBG5D.mjs} +2 -2
- package/out/__chunks__/{chunk-SR7TVATV.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-BENZKRAG.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-7MOSAB64.mjs → chunk-QO62QJ5H.mjs} +2 -2
- package/out/__chunks__/{chunk-3KFEBW7N.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-QHXZ354C.mjs → chunk-TFARIEZF.mjs} +2 -2
- package/out/__chunks__/{chunk-W4QMH63P.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-BJOEWWLZ.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-UPABDY55.mjs +2 -0
- package/out/__chunks__/chunk-UPABDY55.mjs.map +7 -0
- package/out/__chunks__/chunk-URTM5OGN.mjs +2 -0
- package/out/__chunks__/{chunk-7EWMP5BY.mjs.map → chunk-URTM5OGN.mjs.map} +1 -1
- package/out/__chunks__/{chunk-QXC4D3AC.mjs → chunk-UT4BWFQH.mjs} +2 -2
- package/out/__chunks__/{chunk-TZTP57OK.mjs → chunk-UY22M7WB.mjs} +2 -2
- package/out/__chunks__/{chunk-J62UCITY.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-J76GINM5.mjs → chunk-WEZV6U4A.mjs} +2 -2
- package/out/__chunks__/{chunk-MRIKSX32.mjs → chunk-WYVAFCPU.mjs} +2 -2
- package/out/__chunks__/chunk-XLLBREX7.mjs +2 -0
- package/out/__chunks__/{chunk-EGO5R7IZ.mjs → chunk-XNSSZDSU.mjs} +2 -2
- package/out/__chunks__/chunk-XSUHHPZ2.mjs +2 -0
- package/out/__chunks__/{chunk-P6HDK262.mjs → chunk-XTATC65P.mjs} +2 -2
- package/out/__chunks__/{chunk-VGO3VD5N.mjs → chunk-XV3H7VOE.mjs} +2 -2
- package/out/__chunks__/{chunk-TKTDGTN7.mjs → chunk-XXSANEEO.mjs} +2 -2
- package/out/__chunks__/{chunk-UCI2LZF5.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.cjs +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +3 -3
- package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +3 -0
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/index.mjs +1 -1
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs.map +4 -4
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/{gastStationMetadata → 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.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/tests/mocks.d.ts +16 -0
- package/out/providers/strategies/index.mjs +1 -1
- package/out/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/store/getReactStore.mjs +1 -1
- package/out/react/store/useSelector.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/services/index.mjs +1 -1
- package/out/services/nativeAuth/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 +4 -3
- package/out/__chunks__/chunk-33MSDZAP.mjs +0 -2
- package/out/__chunks__/chunk-4BOXOL6P.mjs +0 -2
- package/out/__chunks__/chunk-4BOXOL6P.mjs.map +0 -7
- package/out/__chunks__/chunk-4YLN3MHG.mjs +0 -2
- package/out/__chunks__/chunk-4YLN3MHG.mjs.map +0 -7
- package/out/__chunks__/chunk-6ET5BDZH.mjs +0 -1
- package/out/__chunks__/chunk-6SC2DWV6.mjs +0 -2
- package/out/__chunks__/chunk-6WUHHOG2.mjs +0 -2
- package/out/__chunks__/chunk-7EWMP5BY.mjs +0 -2
- package/out/__chunks__/chunk-ABNK74B7.mjs +0 -2
- package/out/__chunks__/chunk-ABNK74B7.mjs.map +0 -7
- package/out/__chunks__/chunk-AGO2Z4FM.mjs +0 -2
- package/out/__chunks__/chunk-AGO2Z4FM.mjs.map +0 -7
- package/out/__chunks__/chunk-AVXL7ZQK.mjs +0 -2
- package/out/__chunks__/chunk-B2RHOOA6.mjs +0 -2
- package/out/__chunks__/chunk-BSFYNH6O.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs +0 -2
- package/out/__chunks__/chunk-C4TBDJVT.mjs.map +0 -7
- package/out/__chunks__/chunk-CJTGYQ5L.mjs +0 -2
- package/out/__chunks__/chunk-D2ULWBRR.mjs +0 -2
- package/out/__chunks__/chunk-DBNPRNJV.mjs +0 -2
- package/out/__chunks__/chunk-DM3C2PPR.mjs +0 -2
- package/out/__chunks__/chunk-DXRSXWLQ.mjs +0 -1
- package/out/__chunks__/chunk-EG5H4QZV.mjs +0 -2
- package/out/__chunks__/chunk-EG5H4QZV.mjs.map +0 -7
- package/out/__chunks__/chunk-GMQMFRLW.mjs +0 -2
- package/out/__chunks__/chunk-GMQMFRLW.mjs.map +0 -7
- package/out/__chunks__/chunk-INRKVOET.mjs +0 -1
- package/out/__chunks__/chunk-J7LJM36W.mjs +0 -2
- package/out/__chunks__/chunk-J7LJM36W.mjs.map +0 -7
- package/out/__chunks__/chunk-JKR5DRPM.mjs +0 -1
- package/out/__chunks__/chunk-JMC7CMTU.mjs +0 -2
- package/out/__chunks__/chunk-K5MJ4FMD.mjs +0 -1
- package/out/__chunks__/chunk-KD2IQ32V.mjs +0 -2
- package/out/__chunks__/chunk-LS425JKB.mjs +0 -2
- package/out/__chunks__/chunk-LS425JKB.mjs.map +0 -7
- package/out/__chunks__/chunk-NZFUM3VC.mjs +0 -2
- package/out/__chunks__/chunk-O5MS2L3D.mjs +0 -2
- package/out/__chunks__/chunk-OCTCR7WH.mjs +0 -2
- package/out/__chunks__/chunk-OCTCR7WH.mjs.map +0 -7
- package/out/__chunks__/chunk-PDMEOQYV.mjs +0 -2
- package/out/__chunks__/chunk-PNSB4HHK.mjs +0 -2
- package/out/__chunks__/chunk-PQVNWTWJ.mjs.map +0 -7
- package/out/__chunks__/chunk-PSJELFEY.mjs +0 -2
- package/out/__chunks__/chunk-PSJELFEY.mjs.map +0 -7
- package/out/__chunks__/chunk-QA23TRYO.mjs +0 -2
- package/out/__chunks__/chunk-RSAYFMIM.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs +0 -2
- package/out/__chunks__/chunk-S2PZQQCM.mjs.map +0 -7
- package/out/__chunks__/chunk-SHNAULDW.mjs +0 -2
- package/out/__chunks__/chunk-SVR3TUOY.mjs +0 -1
- package/out/__chunks__/chunk-TFZ46GCB.mjs +0 -1
- package/out/__chunks__/chunk-UCI2LZF5.mjs.map +0 -7
- 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-WC6DHH2B.mjs +0 -2
- package/out/__chunks__/chunk-WG5ONYK4.mjs +0 -2
- package/out/__chunks__/chunk-WHEXX3BD.mjs +0 -1
- package/out/__chunks__/chunk-WXC5EE2F.mjs.map +0 -7
- package/out/__chunks__/chunk-YFPMAZOS.mjs +0 -1
- package/out/__chunks__/chunk-YPV63DYG.mjs.map +0 -7
- package/out/__chunks__/chunk-YV7ZJBAY.mjs +0 -1
- package/out/__chunks__/chunk-YV7ZJBAY.mjs.map +0 -7
- 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/__chunks__/chunk-ZZ6Z3QEX.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-DM3C2PPR.mjs.map → chunk-2RTOYKHB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-F33ERG33.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-DBNPRNJV.mjs.map → chunk-3S3EXLLM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6SC2DWV6.mjs.map → chunk-4GCIE2BM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W6M5WJ3V.mjs.map → chunk-4QDHKULK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RUE5QYSG.mjs.map → chunk-55U3WK3C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6WUHHOG2.mjs.map → chunk-573JTRNC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MBNRIXNQ.mjs.map → chunk-5KYXNO4J.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WC6DHH2B.mjs.map → chunk-6BOC75BF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AQNUGUG3.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-OEXP5D2Q.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-ZGMF4QYV.mjs.map → chunk-7WJMUTGI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O5MS2L3D.mjs.map → chunk-AFLCI6IF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B2RHOOA6.mjs.map → chunk-AGJVEK6I.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QDX2JCQH.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-INRKVOET.mjs.map → chunk-CUDPQDXY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-C2FLFZOO.mjs.map → chunk-CVXQYCEE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ONSO75O2.mjs.map → chunk-CXAX5TAG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PNSB4HHK.mjs.map → chunk-CZ2S4XSL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KQV57RV3.mjs.map → chunk-D3VRMBRS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5MRPRWI.mjs.map → chunk-DW6RO5LJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XG6DEDBU.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-WWYX7L4I.mjs.map → chunk-FF45FPD3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-STBF3KTB.mjs.map → chunk-FNHO66WN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SHNAULDW.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-JKR5DRPM.mjs.map → chunk-GBEJIZDR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K5MJ4FMD.mjs.map → chunk-GEB2W7CV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RSAYFMIM.mjs.map → chunk-H73D4VUZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AAQCK4UU.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-QA23TRYO.mjs.map → chunk-HKDRMMI5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MCXQTDAK.mjs.map → chunk-HUXPA4C2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AVXL7ZQK.mjs.map → chunk-HYH55J3D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WBF6D374.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-4POCTP6S.mjs.map → chunk-IYM4ZX72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MQJQMAW3.mjs.map → chunk-J5TLE6SA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ITZJPUDG.mjs.map → chunk-JDP24JPD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5JQ3V6QZ.mjs.map → chunk-JPSW3MCK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-B6VRKK6A.mjs.map → chunk-JZ22ZC2D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AWQZ56BT.mjs.map → chunk-K4JJZCL3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CJTGYQ5L.mjs.map → chunk-K5K2FVFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CUQBPPWE.mjs.map → chunk-KIMRQMXB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KMJMQEXI.mjs.map → chunk-LGGG3HW7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OILJUNFX.mjs.map → chunk-LKOWOTL2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-YLD26I5H.mjs.map → chunk-LYSI4URP.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2JTLNZM3.mjs.map → chunk-MLDUGECH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7ZIJXDPY.mjs.map → chunk-MS7BFY27.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SKBL5PDX.mjs.map → chunk-N4KX33RW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-U24DHQDI.mjs.map → chunk-N5VJJRWV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BT2J2GH4.mjs.map → chunk-NAYC2B72.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H24QGHAH.mjs.map → chunk-NAYDJEWI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PBXNAY2B.mjs.map → chunk-NVBWPLR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JBZR35CW.mjs.map → chunk-O65OBG5D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SR7TVATV.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-NZFUM3VC.mjs.map → chunk-ODHXJQOF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BENZKRAG.mjs.map → chunk-OSG4UY2Z.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZZ6Z3QEX.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-7MOSAB64.mjs.map → chunk-QO62QJ5H.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3KFEBW7N.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-BSFYNH6O.mjs.map → chunk-SAN5F2PW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QHXZ354C.mjs.map → chunk-TFARIEZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-W4QMH63P.mjs.map → chunk-TMRKN7VL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-BJOEWWLZ.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-SVR3TUOY.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-QXC4D3AC.mjs.map → chunk-UT4BWFQH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TZTP57OK.mjs.map → chunk-UY22M7WB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J62UCITY.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-J76GINM5.mjs.map → chunk-WEZV6U4A.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-MRIKSX32.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-EGO5R7IZ.mjs.map → chunk-XNSSZDSU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PDMEOQYV.mjs.map → chunk-XSUHHPZ2.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P6HDK262.mjs.map → chunk-XTATC65P.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VGO3VD5N.mjs.map → chunk-XV3H7VOE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TKTDGTN7.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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{d as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{d as t}from"./chunk-JPSW3MCK.mjs";import{a as l}from"./chunk-N4KX33RW.mjs";import{s as r}from"./chunk-XNSSZDSU.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=o(r()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(a){console.error(a),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TFARIEZF.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as e}from"./chunk-UPABDY55.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TMRKN7VL.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as s}from"./chunk-7WJMUTGI.mjs";import{a as p}from"./chunk-PW34EFS7.mjs";import{a as m}from"./chunk-YGMILCHH.mjs";import{a as g}from"./chunk-5W7PFHTT.mjs";import{a as c}from"./chunk-2RTOYKHB.mjs";import{b as a}from"./chunk-LYSI4URP.mjs";import{f as i}from"./chunk-XNSSZDSU.mjs";import{a as d}from"./chunk-LJX4MW7B.mjs";async function E({options:r,config:t,provider:o,login:l}){let n=s.getInstance(),L=c(),u=g({loginToken:r?.token,version:t.version});await m({manager:n,provider:o});let e=await p({manager:n,provider:o,login:l,token:r?.token,explorerAddress:L,authData:u}),{version:f,dataEnabled:T}=t;return i({index:e.addressIndex,loginType:d.ledger}),a({address:e.address,index:e.addressIndex,version:f,hasContractDataEnabled:T}),{address:e.address,signature:e.signature}}export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-TOZ7EGCZ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.ts"],
|
|
4
|
+
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { setLedgerAccount } from 'store/actions';\nimport { setLedgerLogin } from 'store/actions/loginInfo/loginInfoActions';\n\nimport { getAuthTokenText } from './helpers/getAuthTokenText';\nimport { updateAccountsList } from './helpers/updateAccountsList';\nimport { waitForLedgerSelection } from './helpers/waitForLedgerSelection';\nimport {\n LedgerConfigType,\n LedgerLoginType\n} from '../../types/ledgerProvider.types';\n\ninterface IGetLedgerLogin {\n options?: {\n callbackUrl?: string;\n token?: string;\n };\n config: LedgerConfigType;\n provider: HWProvider | null;\n login: LedgerLoginType | null;\n}\n\nexport async function authenticateLedgerAccount({\n options,\n config,\n provider,\n login\n}: IGetLedgerLogin) {\n const manager = LedgerConnectStateManager.getInstance();\n\n const explorerAddress = getExplorerAddress();\n\n const authData = getAuthTokenText({\n loginToken: options?.token,\n version: config.version\n });\n\n // refresh account list\n await updateAccountsList({ manager, provider });\n\n // cycle through accounts until user makes a choice\n const selectedAccount = await waitForLedgerSelection({\n manager,\n provider,\n login,\n token: options?.token,\n explorerAddress,\n authData\n });\n\n const { version, dataEnabled } = config;\n\n // login is finished, data can be persisted in the store\n setLedgerLogin({\n index: selectedAccount.addressIndex,\n loginType: ProviderTypeEnum.ledger\n });\n\n setLedgerAccount({\n address: selectedAccount.address,\n index: selectedAccount.addressIndex,\n version,\n hasContractDataEnabled: dataEnabled\n });\n\n return {\n address: selectedAccount.address,\n signature: selectedAccount.signature\n };\n}\n"],
|
|
5
|
+
"mappings": "wUAyBA,eAAsBA,EAA0B,CAC9C,QAAAC,EACA,OAAAC,EACA,SAAAC,EACA,MAAAC,CACF,EAAoB,CAClB,IAAMC,EAAUC,EAA0B,YAAY,EAEhDC,EAAkBC,EAAmB,EAErCC,EAAWC,EAAiB,CAChC,WAAYT,GAAS,MACrB,QAASC,EAAO,OAClB,CAAC,EAGD,MAAMS,EAAmB,CAAE,QAAAN,EAAS,SAAAF,CAAS,CAAC,EAG9C,IAAMS,EAAkB,MAAMC,EAAuB,CACnD,QAAAR,EACA,SAAAF,EACA,MAAAC,EACA,MAAOH,GAAS,MAChB,gBAAAM,EACA,SAAAE,CACF,CAAC,EAEK,CAAE,QAAAK,EAAS,YAAAC,CAAY,EAAIb,EAGjC,OAAAc,EAAe,CACb,MAAOJ,EAAgB,aACvB,UAAWK,EAAiB,MAC9B,CAAC,EAEDC,EAAiB,CACf,QAASN,EAAgB,QACzB,MAAOA,EAAgB,aACvB,QAAAE,EACA,uBAAwBC,CAC1B,CAAC,EAEM,CACL,QAASH,EAAgB,QACzB,UAAWA,EAAgB,SAC7B,CACF",
|
|
6
|
+
"names": ["authenticateLedgerAccount", "options", "config", "provider", "login", "manager", "LedgerConnectStateManager", "explorerAddress", "getExplorerAddress", "authData", "getAuthTokenText", "updateAccountsList", "selectedAccount", "waitForLedgerSelection", "version", "dataEnabled", "setLedgerLogin", "ProviderTypeEnum", "setLedgerAccount"]
|
|
7
|
+
}
|
|
@@ -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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/managers/internal/UIBaseManager/UIBaseManager.ts"],
|
|
4
|
+
"sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { IEventBus } from 'lib/sdkDappUi';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport {\n ComponentFactory,\n CreateEventBusUIElementType\n} from 'utils/ComponentFactory';\n\nexport abstract class UIBaseManager<\n TElement extends CreateEventBusUIElementType,\n TData extends Record<string, any> | null,\n TEventEnum extends string\n> {\n protected eventBus: IEventBus | null = null;\n protected uiElement: TElement | null = null;\n protected isCreatingElement = false;\n protected anchor?: HTMLElement;\n protected uiTag: UITagsEnum;\n protected uiDataUpdateEvent: TEventEnum;\n protected eventHandlers: Map<TEventEnum, Function[]> = new Map();\n protected unsubscribeFunctions: Map<TEventEnum, (() => void)[]> = new Map();\n protected abstract initialData: TData;\n protected data: TData;\n\n constructor({\n uiDataUpdateEvent,\n uiTag\n }: {\n uiTag: UITagsEnum;\n uiDataUpdateEvent: TEventEnum;\n }) {\n this.uiDataUpdateEvent = uiDataUpdateEvent;\n this.uiTag = uiTag;\n this.data = this.getInitialData();\n }\n\n public async init(anchor?: HTMLElement) {\n this.anchor = anchor;\n await this.createUIElement(anchor);\n await this.setupEventListeners();\n }\n\n public updateData(newData: Partial<TData>) {\n this.data = { ...this.data, ...newData };\n this.notifyDataUpdate();\n }\n\n public subscribeToEventBus(event: TEventEnum, callback: Function) {\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n const unsubscribe = this.eventBus?.subscribe(event, callback);\n if (unsubscribe) {\n const existing = this.unsubscribeFunctions.get(event) || [];\n existing.push(unsubscribe);\n this.unsubscribeFunctions.set(event, existing);\n\n // Store handler programatic access (e.g. for testing)\n const existingHandlers = this.eventHandlers.get(event) || [];\n existingHandlers.push(callback);\n this.eventHandlers.set(event, existingHandlers);\n }\n }\n\n public notifyDataUpdate() {\n this.eventBus?.publish(this.uiDataUpdateEvent, this.data);\n }\n\n public clearEventHandlers(\n events: TEventEnum[] = Array.from(this.unsubscribeFunctions.keys())\n ) {\n events.forEach((event) => {\n const unsubList = this.unsubscribeFunctions.get(event) || [];\n unsubList.forEach((unsubscribe) => unsubscribe());\n this.unsubscribeFunctions.delete(event);\n this.eventHandlers.delete(event);\n });\n }\n\n public destroy() {\n this.unsubscribeFunctions.forEach((unsubList) =>\n unsubList.forEach((unsubscribe) => unsubscribe())\n );\n this.unsubscribeFunctions.clear();\n this.eventHandlers.clear();\n this.eventBus = null;\n this.uiElement?.remove?.();\n this.uiElement = null;\n }\n\n protected getInitialData(): TData {\n return this.initialData;\n }\n\n public getEventHandlers(event: TEventEnum): Function[] {\n return this.eventHandlers.get(event) || [];\n }\n\n protected resetData() {\n this.data = this.getInitialData();\n }\n\n protected abstract setupEventListeners(): Promise<void>;\n\n private async createUIElement(\n anchor: HTMLElement | undefined = this.anchor\n ): Promise<TElement | null> {\n if (this.isCreatingElement || this.uiElement) {\n return this.uiElement;\n }\n\n this.isCreatingElement = true;\n\n this.uiElement = await ComponentFactory.create<TElement>({\n name: this.uiTag,\n anchor\n });\n\n this.isCreatingElement = false;\n\n if (!this.uiElement) {\n throw new Error(`Failed to create ${this.uiTag} element`);\n }\n\n if (!this.eventBus) {\n this.eventBus = await this.uiElement.getEventBus();\n }\n\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n return this.uiElement;\n }\n}\n"],
|
|
5
|
+
"mappings": "oCAQO,IAAeA,EAAf,KAIL,CAYA,YAAY,CACV,kBAAAC,EACA,MAAAC,CACF,EAGG,CAjBH,KAAU,SAA6B,KACvC,KAAU,UAA6B,KACvC,KAAU,kBAAoB,GAI9B,KAAU,cAA6C,IAAI,IAC3D,KAAU,qBAAwD,IAAI,IAWpE,KAAK,kBAAoBD,EACzB,KAAK,MAAQC,EACb,KAAK,KAAO,KAAK,eAAe,CAClC,CAEA,MAAa,KAAKC,EAAsB,CACtC,KAAK,OAASA,EACd,MAAM,KAAK,gBAAgBA,CAAM,EACjC,MAAM,KAAK,oBAAoB,CACjC,CAEO,WAAWC,EAAyB,CACzC,KAAK,KAAO,CAAE,GAAG,KAAK,KAAM,GAAGA,CAAQ,EACvC,KAAK,iBAAiB,CACxB,CAEO,oBAAoBC,EAAmBC,EAAoB,CAChE,GAAI,CAAC,KAAK,SACR,MAAM,IAAI,mCAAsC,EAGlD,IAAMC,EAAc,KAAK,UAAU,UAAUF,EAAOC,CAAQ,EAC5D,GAAIC,EAAa,CACf,IAAMC,EAAW,KAAK,qBAAqB,IAAIH,CAAK,GAAK,CAAC,EAC1DG,EAAS,KAAKD,CAAW,EACzB,KAAK,qBAAqB,IAAIF,EAAOG,CAAQ,EAG7C,IAAMC,EAAmB,KAAK,cAAc,IAAIJ,CAAK,GAAK,CAAC,EAC3DI,EAAiB,KAAKH,CAAQ,EAC9B,KAAK,cAAc,IAAID,EAAOI,CAAgB,CAChD,CACF,CAEO,kBAAmB,CACxB,KAAK,UAAU,QAAQ,KAAK,kBAAmB,KAAK,IAAI,CAC1D,CAEO,mBACLC,EAAuB,MAAM,KAAK,KAAK,qBAAqB,KAAK,CAAC,EAClE,CACAA,EAAO,QAASL,GAAU,EACN,KAAK,qBAAqB,IAAIA,CAAK,GAAK,CAAC,GACjD,QAASE,GAAgBA,EAAY,CAAC,EAChD,KAAK,qBAAqB,OAAOF,CAAK,EACtC,KAAK,cAAc,OAAOA,CAAK,CACjC,CAAC,CACH,CAEO,SAAU,CACf,KAAK,qBAAqB,QAASM,GACjCA,EAAU,QAASJ,GAAgBA,EAAY,CAAC,CAClD,EACA,KAAK,qBAAqB,MAAM,EAChC,KAAK,cAAc,MAAM,EACzB,KAAK,SAAW,KAChB,KAAK,WAAW,SAAS,EACzB,KAAK,UAAY,IACnB,CAEU,gBAAwB,CAChC,OAAO,KAAK,WACd,CAEO,iBAAiBF,EAA+B,CACrD,OAAO,KAAK,cAAc,IAAIA,CAAK,GAAK,CAAC,CAC3C,CAEU,WAAY,CACpB,KAAK,KAAO,KAAK,eAAe,CAClC,CAIA,MAAc,gBACZF,EAAkC,KAAK,OACb,CAC1B,GAAI,KAAK,mBAAqB,KAAK,UACjC,OAAO,KAAK,UAYd,GATA,KAAK,kBAAoB,GAEzB,KAAK,UAAY,MAAMS,EAAiB,OAAiB,CACvD,KAAM,KAAK,MACX,OAAAT,CACF,CAAC,EAED,KAAK,kBAAoB,GAErB,CAAC,KAAK,UACR,MAAM,IAAI,MAAM,oBAAoB,KAAK,KAAK,UAAU,EAO1D,GAJK,KAAK,WACR,KAAK,SAAW,MAAM,KAAK,UAAU,YAAY,GAG/C,CAAC,KAAK,SACR,MAAM,IAAI,mCAAsC,EAGlD,OAAO,KAAK,SACd,CACF",
|
|
6
|
+
"names": ["UIBaseManager", "uiDataUpdateEvent", "uiTag", "anchor", "newData", "event", "callback", "unsubscribe", "existing", "existingHandlers", "events", "unsubList", "ComponentFactory"]
|
|
7
|
+
}
|
|
@@ -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
|
}
|