@multiversx/sdk-dapp 5.3.2 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/__chunks__/chunk-2GXPSWQ4.mjs +2 -0
- package/out/__chunks__/{chunk-4VUMAG4J.mjs → chunk-2JFN726G.mjs} +1 -1
- package/out/__chunks__/{chunk-4VUMAG4J.mjs.map → chunk-2JFN726G.mjs.map} +1 -1
- package/out/__chunks__/chunk-2UVDW2RQ.mjs +2 -0
- package/out/__chunks__/{chunk-K5K2FVFB.mjs.map → chunk-2UVDW2RQ.mjs.map} +1 -1
- package/out/__chunks__/{chunk-E77ZH5JT.mjs → chunk-32MEBSR7.mjs} +2 -2
- package/out/__chunks__/{chunk-YYH2GKPL.mjs → chunk-3GRRAVW4.mjs} +2 -2
- package/out/__chunks__/{chunk-YYH2GKPL.mjs.map → chunk-3GRRAVW4.mjs.map} +1 -1
- package/out/__chunks__/chunk-4D2LHSRB.mjs +2 -0
- package/out/__chunks__/chunk-4D2LHSRB.mjs.map +7 -0
- package/out/__chunks__/{chunk-KIMRQMXB.mjs → chunk-4EQCI4IY.mjs} +2 -2
- package/out/__chunks__/{chunk-KIMRQMXB.mjs.map → chunk-4EQCI4IY.mjs.map} +1 -1
- package/out/__chunks__/chunk-4KXXF3PV.mjs +2 -0
- package/out/__chunks__/{chunk-6CLCXSHA.mjs → chunk-5OAY4PWR.mjs} +2 -2
- package/out/__chunks__/chunk-5OAY4PWR.mjs.map +7 -0
- package/out/__chunks__/{chunk-G5N56FHJ.mjs → chunk-5OMQOYP7.mjs} +2 -2
- package/out/__chunks__/chunk-5P3UEE7C.mjs +1 -0
- package/out/__chunks__/chunk-5R7MHTVH.mjs +2 -0
- package/out/__chunks__/chunk-5R7MHTVH.mjs.map +7 -0
- package/out/__chunks__/{chunk-7WJMUTGI.mjs → chunk-66SV7PYL.mjs} +2 -2
- package/out/__chunks__/chunk-6KZ72DNU.mjs +2 -0
- package/out/__chunks__/chunk-6O5Y7U4C.mjs +2 -0
- package/out/__chunks__/chunk-6PMMPBFA.mjs +2 -0
- package/out/__chunks__/chunk-6PMMPBFA.mjs.map +7 -0
- package/out/__chunks__/{chunk-YGMILCHH.mjs → chunk-6R6TFHBS.mjs} +2 -2
- package/out/__chunks__/chunk-6R6TFHBS.mjs.map +7 -0
- package/out/__chunks__/chunk-766V4L43.mjs +2 -0
- package/out/__chunks__/chunk-766V4L43.mjs.map +7 -0
- package/out/__chunks__/chunk-7LMYILJF.mjs +2 -0
- package/out/__chunks__/{chunk-4GCIE2BM.mjs.map → chunk-7LMYILJF.mjs.map} +1 -1
- package/out/__chunks__/{chunk-PW34EFS7.mjs → chunk-7QPD5RSY.mjs} +2 -2
- package/out/__chunks__/{chunk-SAN5F2PW.mjs → chunk-7ZHH6AD4.mjs} +2 -2
- package/out/__chunks__/{chunk-XV3H7VOE.mjs → chunk-A4AC45BS.mjs} +2 -2
- package/out/__chunks__/{chunk-ZRSYQ3MT.mjs → chunk-AOLW46E4.mjs} +2 -2
- package/out/__chunks__/chunk-APCGI2A5.mjs +2 -0
- package/out/__chunks__/chunk-B353O452.mjs +2 -0
- package/out/__chunks__/chunk-BFD5ZJOK.mjs +1 -0
- package/out/__chunks__/{chunk-DFSBS3PX.mjs → chunk-BHWSBAMZ.mjs} +2 -2
- package/out/__chunks__/chunk-BODQ3QWR.mjs +2 -0
- package/out/__chunks__/chunk-BODQ3QWR.mjs.map +7 -0
- package/out/__chunks__/{chunk-XDBKPKTG.mjs → chunk-BSA3IGL6.mjs} +2 -2
- package/out/__chunks__/chunk-CL5IGYV5.mjs +2 -0
- package/out/__chunks__/chunk-CL5IGYV5.mjs.map +7 -0
- package/out/__chunks__/chunk-CQNJKGUF.mjs +2 -0
- package/out/__chunks__/chunk-CQNJKGUF.mjs.map +7 -0
- package/out/__chunks__/chunk-D5L63X7Y.mjs +2 -0
- package/out/__chunks__/{chunk-URTM5OGN.mjs.map → chunk-D5L63X7Y.mjs.map} +1 -1
- package/out/__chunks__/{chunk-CDWODCD7.mjs → chunk-DCLI63KS.mjs} +1 -1
- package/out/__chunks__/chunk-DCLI63KS.mjs.map +7 -0
- package/out/__chunks__/{chunk-PKLBZG2R.mjs → chunk-DNYE6AJI.mjs} +2 -2
- package/out/__chunks__/{chunk-LKOWOTL2.mjs → chunk-ENJAFJGK.mjs} +2 -2
- package/out/__chunks__/{chunk-ZKBKYLAP.mjs → chunk-ERDTZ52C.mjs} +2 -2
- package/out/__chunks__/{chunk-K4JJZCL3.mjs → chunk-ERZNNJ4M.mjs} +2 -2
- package/out/__chunks__/{chunk-DLCBEPEX.mjs → chunk-FE54XZXM.mjs} +2 -2
- package/out/__chunks__/{chunk-DLCBEPEX.mjs.map → chunk-FE54XZXM.mjs.map} +2 -2
- package/out/__chunks__/{chunk-7MBSWJUD.mjs → chunk-FK6DWWZF.mjs} +2 -2
- package/out/__chunks__/chunk-FOFGZVG5.mjs +2 -0
- package/out/__chunks__/chunk-FOFGZVG5.mjs.map +7 -0
- package/out/__chunks__/chunk-G2GZG32F.mjs +2 -0
- package/out/__chunks__/{chunk-FRUJEORM.mjs.map → chunk-G2GZG32F.mjs.map} +1 -1
- package/out/__chunks__/{chunk-3XTYIGW5.mjs → chunk-GBDHEWNQ.mjs} +2 -2
- package/out/__chunks__/chunk-GC5JRZOA.mjs +2 -0
- package/out/__chunks__/chunk-GC5JRZOA.mjs.map +7 -0
- package/out/__chunks__/chunk-GVAJPM5C.mjs +2 -0
- package/out/__chunks__/chunk-GVAJPM5C.mjs.map +7 -0
- package/out/__chunks__/{chunk-WS2MTQIC.mjs → chunk-GYYGYOIE.mjs} +2 -2
- package/out/__chunks__/{chunk-LG6Q3PRI.mjs → chunk-HDCJEKHM.mjs} +2 -2
- package/out/__chunks__/{chunk-M7B26JXO.mjs → chunk-HFY3MGS6.mjs} +2 -2
- package/out/__chunks__/{chunk-O65OBG5D.mjs → chunk-HP2XUCRI.mjs} +2 -2
- package/out/__chunks__/{chunk-PMATTOPD.mjs → chunk-HSF3JATH.mjs} +2 -2
- package/out/__chunks__/{chunk-5DILKRFV.mjs → chunk-HTT67LH3.mjs} +2 -2
- package/out/__chunks__/chunk-HUZZMMJX.mjs +2 -0
- package/out/__chunks__/chunk-HUZZMMJX.mjs.map +7 -0
- package/out/__chunks__/{chunk-RV6SJMD7.mjs → chunk-HZ4ZWMRW.mjs} +2 -2
- package/out/__chunks__/chunk-I36DD2FW.mjs +2 -0
- package/out/__chunks__/{chunk-NTPPBM7T.mjs → chunk-I3ILB737.mjs} +2 -2
- package/out/__chunks__/{chunk-TQ7T6ULY.mjs → chunk-IHAZNPKL.mjs} +2 -2
- package/out/__chunks__/{chunk-JTV664SG.mjs → chunk-IHSJITVR.mjs} +2 -2
- package/out/__chunks__/{chunk-MLDUGECH.mjs → chunk-IOQULDE4.mjs} +2 -2
- package/out/__chunks__/chunk-IOQULDE4.mjs.map +7 -0
- package/out/__chunks__/{chunk-TFARIEZF.mjs → chunk-J7BQ2H5Q.mjs} +2 -2
- package/out/__chunks__/chunk-J7BQ2H5Q.mjs.map +7 -0
- package/out/__chunks__/chunk-JA27GJYB.mjs +2 -0
- package/out/__chunks__/chunk-JA27GJYB.mjs.map +7 -0
- package/out/__chunks__/chunk-JBF3CPLK.mjs +2 -0
- package/out/__chunks__/chunk-JBF3CPLK.mjs.map +7 -0
- package/out/__chunks__/chunk-JI27YEKS.mjs +2 -0
- package/out/__chunks__/{chunk-2KGBHCEN.mjs → chunk-JILAZBMF.mjs} +2 -2
- package/out/__chunks__/chunk-JILAZBMF.mjs.map +7 -0
- package/out/__chunks__/{chunk-3PAZABVI.mjs → chunk-JQ3KV55D.mjs} +2 -2
- package/out/__chunks__/chunk-JXPL2SLD.mjs +2 -0
- package/out/__chunks__/chunk-K2FBVE6U.mjs +2 -0
- package/out/__chunks__/chunk-K7PXA7CN.mjs +2 -0
- package/out/__chunks__/chunk-K7PXA7CN.mjs.map +7 -0
- package/out/__chunks__/{chunk-N4KX33RW.mjs → chunk-KR2GUJDQ.mjs} +2 -2
- package/out/__chunks__/{chunk-GUAXMODN.mjs → chunk-KYQ5IP6W.mjs} +2 -2
- package/out/__chunks__/chunk-LFMHK4UE.mjs +2 -0
- package/out/__chunks__/{chunk-HFX5WAAI.mjs.map → chunk-LFMHK4UE.mjs.map} +1 -1
- package/out/__chunks__/{chunk-HUXPA4C2.mjs → chunk-LIDJNFTE.mjs} +2 -2
- package/out/__chunks__/chunk-LKC3E6AW.mjs +2 -0
- package/out/__chunks__/{chunk-NVBWPLR7.mjs → chunk-LL2IIBPG.mjs} +2 -2
- package/out/__chunks__/{chunk-LYSI4URP.mjs → chunk-LOPC75K6.mjs} +2 -2
- package/out/__chunks__/{chunk-O6ALDFLM.mjs → chunk-LWW4KDFK.mjs} +2 -2
- package/out/__chunks__/{chunk-W5MTQBQF.mjs → chunk-M3F2J3PW.mjs} +2 -2
- package/out/__chunks__/chunk-M3F2J3PW.mjs.map +7 -0
- package/out/__chunks__/chunk-M5EQGPV5.mjs +2 -0
- package/out/__chunks__/chunk-M5EQGPV5.mjs.map +7 -0
- package/out/__chunks__/{chunk-NAYDJEWI.mjs → chunk-NMK74PUW.mjs} +2 -2
- package/out/__chunks__/chunk-NMK74PUW.mjs.map +7 -0
- package/out/__chunks__/chunk-NPWS3TZS.mjs +2 -0
- package/out/__chunks__/chunk-NPWS3TZS.mjs.map +7 -0
- package/out/__chunks__/{chunk-H5NVCCUR.mjs → chunk-NWRCQLFI.mjs} +2 -2
- package/out/__chunks__/chunk-NYZ726DG.mjs +2 -0
- package/out/__chunks__/{chunk-5E32AO3E.mjs → chunk-O3F75VWG.mjs} +2 -2
- package/out/__chunks__/chunk-O3F75VWG.mjs.map +7 -0
- package/out/__chunks__/{chunk-OAPLU7UX.mjs → chunk-OBIQ63DJ.mjs} +2 -2
- package/out/__chunks__/chunk-OCLD2VI4.mjs +2 -0
- package/out/__chunks__/chunk-OCLD2VI4.mjs.map +7 -0
- package/out/__chunks__/chunk-ONT6BGYB.mjs +2 -0
- package/out/__chunks__/{chunk-CYCS3K6Q.mjs.map → chunk-ONT6BGYB.mjs.map} +2 -2
- package/out/__chunks__/{chunk-MS7BFY27.mjs → chunk-OTEIKKOW.mjs} +2 -2
- package/out/__chunks__/chunk-OTEIKKOW.mjs.map +7 -0
- package/out/__chunks__/{chunk-FNHO66WN.mjs → chunk-PDI722XH.mjs} +2 -2
- package/out/__chunks__/{chunk-TR2KNDCH.mjs → chunk-PFR5VSL2.mjs} +2 -2
- package/out/__chunks__/chunk-PFR5VSL2.mjs.map +7 -0
- package/out/__chunks__/{chunk-4SS6EY66.mjs → chunk-PN7JDWSZ.mjs} +2 -2
- package/out/__chunks__/chunk-PQ2OJ3JD.mjs +2 -0
- package/out/__chunks__/chunk-PQ2OJ3JD.mjs.map +7 -0
- package/out/__chunks__/chunk-PWAP64SN.mjs +2 -0
- package/out/__chunks__/chunk-PWAP64SN.mjs.map +7 -0
- package/out/__chunks__/{chunk-LNXZQGLV.mjs → chunk-Q7YFEWWK.mjs} +2 -2
- package/out/__chunks__/{chunk-LNXZQGLV.mjs.map → chunk-Q7YFEWWK.mjs.map} +1 -1
- package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-QFXS7HGL.mjs} +2 -2
- package/out/__chunks__/chunk-QHGCAYUB.mjs +2 -0
- package/out/__chunks__/{chunk-3CG4C7T4.mjs.map → chunk-QHGCAYUB.mjs.map} +1 -1
- package/out/__chunks__/{chunk-VGGJESXR.mjs → chunk-QJTWOZ3K.mjs} +2 -2
- package/out/__chunks__/chunk-QJTWOZ3K.mjs.map +7 -0
- package/out/__chunks__/chunk-QNYO7NI5.mjs +2 -0
- package/out/__chunks__/{chunk-LHEH7L4L.mjs.map → chunk-QNYO7NI5.mjs.map} +3 -3
- package/out/__chunks__/{chunk-UCFMVEOZ.mjs → chunk-QX32V6TT.mjs} +2 -2
- package/out/__chunks__/chunk-QX32V6TT.mjs.map +7 -0
- package/out/__chunks__/chunk-R4BNJI2F.mjs +2 -0
- package/out/__chunks__/{chunk-H73D4VUZ.mjs.map → chunk-R4BNJI2F.mjs.map} +1 -1
- package/out/__chunks__/{chunk-IVHD32VC.mjs → chunk-RIPIZH54.mjs} +2 -2
- package/out/__chunks__/{chunk-FPKFAJNW.mjs → chunk-RXRVBUAX.mjs} +2 -2
- package/out/__chunks__/{chunk-4MCQ27VQ.mjs → chunk-S4TJTINB.mjs} +2 -2
- package/out/__chunks__/chunk-S4TJTINB.mjs.map +7 -0
- package/out/__chunks__/{chunk-AZA2GNTR.mjs → chunk-SFGR74WM.mjs} +2 -2
- package/out/__chunks__/{chunk-SALLGAGD.mjs → chunk-SFXZJSEY.mjs} +2 -2
- package/out/__chunks__/{chunk-NAYC2B72.mjs → chunk-SMCI4JNY.mjs} +2 -2
- package/out/__chunks__/chunk-SMEKGCKH.mjs +2 -0
- package/out/__chunks__/{chunk-XXSANEEO.mjs → chunk-SOGQ76CF.mjs} +2 -2
- package/out/__chunks__/chunk-SQ7C3XLA.mjs +2 -0
- package/out/__chunks__/chunk-SQ7C3XLA.mjs.map +7 -0
- package/out/__chunks__/{chunk-6F4OKEUQ.mjs → chunk-SYHILLXA.mjs} +2 -2
- package/out/__chunks__/{chunk-OSG4UY2Z.mjs → chunk-SZNAMXXH.mjs} +2 -2
- package/out/__chunks__/{chunk-KDMYDO7R.mjs → chunk-TD26OL6Y.mjs} +2 -2
- package/out/__chunks__/chunk-TD26OL6Y.mjs.map +7 -0
- package/out/__chunks__/{chunk-TMRKN7VL.mjs → chunk-TJKB7YME.mjs} +2 -2
- package/out/__chunks__/{chunk-ATLICLWT.mjs → chunk-TPXNYEOT.mjs} +2 -2
- package/out/__chunks__/{chunk-N55JEIM6.mjs → chunk-TWYGNEQS.mjs} +1 -1
- package/out/__chunks__/chunk-TWYGNEQS.mjs.map +7 -0
- package/out/__chunks__/{chunk-ZNPHUPAP.mjs → chunk-UBP7VBFB.mjs} +2 -2
- package/out/__chunks__/chunk-UBQUZNLX.mjs +2 -0
- package/out/__chunks__/chunk-UBQUZNLX.mjs.map +7 -0
- package/out/__chunks__/{chunk-CXAX5TAG.mjs → chunk-UCWTYWB3.mjs} +2 -2
- package/out/__chunks__/chunk-UMJE36YK.mjs +2 -0
- package/out/__chunks__/chunk-UXP5UK2L.mjs +2 -0
- package/out/__chunks__/chunk-V5ZSFCKJ.mjs +2 -0
- package/out/__chunks__/{chunk-6JM4DPOH.mjs.map → chunk-V5ZSFCKJ.mjs.map} +3 -3
- package/out/__chunks__/chunk-VBNLRSKL.mjs +2 -0
- package/out/__chunks__/chunk-VBNLRSKL.mjs.map +7 -0
- package/out/__chunks__/chunk-VBWYZ6ZU.mjs +2 -0
- package/out/__chunks__/{chunk-BCSNXRMR.mjs → chunk-VCPH27TY.mjs} +1 -1
- package/out/__chunks__/chunk-VCPH27TY.mjs.map +7 -0
- package/out/__chunks__/chunk-VGDWWBLN.mjs +2 -0
- package/out/__chunks__/{chunk-5AGKFSA6.mjs → chunk-VLASN3TA.mjs} +2 -2
- package/out/__chunks__/chunk-VT6N4MFC.mjs +2 -0
- package/out/__chunks__/chunk-VT6N4MFC.mjs.map +7 -0
- package/out/__chunks__/{chunk-U3MIDVR7.mjs → chunk-W3S6I34V.mjs} +1 -1
- package/out/__chunks__/chunk-W3S6I34V.mjs.map +7 -0
- package/out/__chunks__/chunk-W6XNEY4N.mjs +2 -0
- package/out/__chunks__/{chunk-OIRXFS5Q.mjs → chunk-WDFIVLDW.mjs} +2 -2
- package/out/__chunks__/{chunk-5W7PFHTT.mjs → chunk-WFMBEYKX.mjs} +2 -2
- package/out/__chunks__/{chunk-UPABDY55.mjs → chunk-WGFZEQNT.mjs} +2 -2
- package/out/__chunks__/{chunk-UPABDY55.mjs.map → chunk-WGFZEQNT.mjs.map} +1 -1
- package/out/__chunks__/{chunk-N5VJJRWV.mjs → chunk-X4P6NIGX.mjs} +2 -2
- package/out/__chunks__/{chunk-4VA2SULD.mjs → chunk-XA6ZDGIQ.mjs} +1 -1
- package/out/__chunks__/chunk-XA6ZDGIQ.mjs.map +7 -0
- package/out/__chunks__/chunk-XAMG7OLZ.mjs +2 -0
- package/out/__chunks__/{chunk-7PE652LB.mjs → chunk-XBIX2QET.mjs} +2 -2
- package/out/__chunks__/{chunk-6EKK7AJE.mjs → chunk-XJY2BTDN.mjs} +2 -2
- package/out/__chunks__/{chunk-7JDTQFLQ.mjs → chunk-XLMQWFKS.mjs} +2 -2
- package/out/__chunks__/chunk-XLMQWFKS.mjs.map +7 -0
- package/out/__chunks__/{chunk-5KYXNO4J.mjs → chunk-XPASD5P4.mjs} +2 -2
- package/out/__chunks__/chunk-XXQ7FANC.mjs +2 -0
- package/out/__chunks__/chunk-YEY7YGZD.mjs +2 -0
- package/out/__chunks__/chunk-YEY7YGZD.mjs.map +7 -0
- package/out/__chunks__/{chunk-JZ22ZC2D.mjs → chunk-YKHYAKVW.mjs} +2 -2
- package/out/__chunks__/{chunk-UT4BWFQH.mjs → chunk-YPH67JEE.mjs} +2 -2
- package/out/__chunks__/chunk-YPH67JEE.mjs.map +7 -0
- package/out/__chunks__/{chunk-HBPQEY3L.mjs → chunk-YYZKVLX7.mjs} +2 -2
- package/out/__chunks__/{chunk-7UA7QAEF.mjs → chunk-Z6OAKBWP.mjs} +2 -2
- package/out/__chunks__/chunk-Z6OAKBWP.mjs.map +7 -0
- package/out/__chunks__/{chunk-IYM4ZX72.mjs → chunk-ZMC2BF4F.mjs} +2 -2
- package/out/__chunks__/chunk-ZOYJTXNI.mjs +2 -0
- package/out/__chunks__/chunk-ZOYJTXNI.mjs.map +7 -0
- package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
- package/out/apiCalls/account/getAccountFromApi.cjs.map +3 -3
- 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.mjs +1 -1
- package/out/apiCalls/economics/getEconomics.cjs +1 -1
- package/out/apiCalls/economics/getEconomics.cjs.map +3 -3
- package/out/apiCalls/economics/getEconomics.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
- package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.cjs.map +3 -3
- package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
- package/out/apiCalls/tokens/getTokenDetails.mjs.map +2 -2
- package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.cjs.map +3 -3
- package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
- package/out/apiCalls/transactions/getTransactionByHash.mjs.map +2 -2
- package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
- package/out/constants/browser.constants.mjs +1 -1
- package/out/constants/browser.constants.mjs.map +4 -4
- package/out/constants/mvx.constants.cjs +1 -1
- package/out/constants/mvx.constants.cjs.map +3 -3
- package/out/constants/mvx.constants.d.ts +1 -0
- package/out/constants/mvx.constants.mjs +1 -1
- package/out/constants/storage.constants.cjs.map +1 -1
- package/out/constants/storage.constants.d.ts +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.cjs +1 -1
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +3 -3
- package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
- package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
- package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +3 -3
- package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
- package/out/controllers/TransactionsTableController/index.mjs +1 -1
- package/out/lib/sdkDappUi.mjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
- package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
- package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
- package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +1 -1
- package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
- package/out/managers/ToastManager/index.mjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
- package/out/managers/TransactionManager/TransactionManager.cjs.map +3 -3
- package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +3 -3
- package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +3 -3
- package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +3 -3
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +1 -1
- package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
- package/out/managers/TransactionManager/index.mjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
- package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
- package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
- package/out/managers/UnlockPanelManager/index.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
- package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
- package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
- 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.map +1 -1
- package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
- package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
- package/out/methods/account/getAccount.cjs +1 -1
- package/out/methods/account/getAccount.cjs.map +3 -3
- package/out/methods/account/getAccount.mjs +1 -1
- package/out/methods/account/getAccountInfo.cjs +1 -1
- package/out/methods/account/getAccountInfo.cjs.map +3 -3
- package/out/methods/account/getAccountInfo.d.ts +1 -1
- package/out/methods/account/getAccountInfo.mjs +1 -1
- package/out/methods/account/getAccountInfo.mjs.map +2 -2
- package/out/methods/account/getAddress.cjs +1 -1
- package/out/methods/account/getAddress.cjs.map +3 -3
- package/out/methods/account/getAddress.mjs +1 -1
- package/out/methods/account/getIsLoggedIn.mjs +1 -1
- package/out/methods/account/getLatestNonce.mjs +1 -1
- package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
- package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +3 -3
- package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
- package/out/methods/initApp/initApp.cjs +1 -1
- package/out/methods/initApp/initApp.cjs.map +3 -3
- package/out/methods/initApp/initApp.mjs +1 -1
- package/out/methods/initApp/initApp.mjs.map +3 -3
- package/out/methods/initApp/initApp.types.cjs.map +1 -1
- package/out/methods/initApp/initApp.types.d.ts +2 -0
- 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/loginInfo/getLoginInfo.mjs.map +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.cjs +1 -1
- package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +3 -3
- 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/getFailedTransactions.mjs.map +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactions.mjs.map +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactions.mjs.map +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
- package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs +1 -1
- package/out/methods/transactions/getTransactionSessions.mjs.map +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 +3 -3
- 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.cjs +1 -1
- package/out/providers/DappProvider/helpers/login/login.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +3 -3
- package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
- package/out/providers/DappProvider/index.mjs +1 -1
- package/out/providers/ProviderFactory.cjs +1 -1
- package/out/providers/ProviderFactory.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/helpers/restoreProvider.cjs.map +3 -3
- package/out/providers/helpers/restoreProvider.mjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +3 -3
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +3 -0
- package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
- package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
- package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
- package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
- package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs.map +3 -3
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
- package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
- package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +3 -3
- package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +3 -3
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.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.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
- package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +3 -3
- 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/react/account/useGetAccount.mjs +1 -1
- package/out/react/account/useGetAccount.mjs.map +1 -1
- package/out/react/account/useGetAccountInfo.d.ts +1 -1
- package/out/react/account/useGetAccountInfo.mjs +1 -1
- package/out/react/account/useGetAccountInfo.mjs.map +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs +1 -1
- package/out/react/account/useGetIsLoggedIn.mjs.map +1 -1
- package/out/react/account/useGetLatestNonce.mjs +1 -1
- package/out/react/account/useGetLatestNonce.mjs.map +1 -1
- package/out/react/index.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
- package/out/react/loginInfo/useGetLoginInfo.mjs.map +1 -1
- package/out/react/network/useGetNetworkConfig.mjs +1 -1
- package/out/react/network/useGetNetworkConfig.mjs.map +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/useGetFailedTransactions.mjs.map +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetFailedTransactionsSessions.mjs.map +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactions.mjs.map +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
- package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
- package/out/react/transactions/useGetTransactionSessions.mjs.map +1 -1
- package/out/services/nativeAuth/helpers/decodeLoginToken.mjs +1 -1
- package/out/services/nativeAuth/helpers/decodeNativeAuthToken.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.cjs +1 -1
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +3 -3
- package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
- package/out/services/nativeAuth/methods/getTokenExpiration.mjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs +1 -1
- package/out/services/nativeAuth/nativeAuth.cjs.map +3 -3
- package/out/services/nativeAuth/nativeAuth.d.ts +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.cjs +1 -1
- package/out/store/actions/config/configActions.cjs.map +3 -3
- package/out/store/actions/config/configActions.d.ts +4 -2
- package/out/store/actions/config/configActions.mjs +1 -1
- package/out/store/actions/config/index.mjs +1 -1
- package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
- package/out/store/actions/network/index.mjs +1 -1
- package/out/store/actions/network/initializeNetwork.mjs +1 -1
- package/out/store/actions/network/networkActions.mjs +1 -1
- package/out/store/actions/sharedActions/index.mjs +1 -1
- package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
- package/out/store/actions/toasts/index.mjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs +1 -1
- package/out/store/actions/toasts/toastsActions.cjs.map +3 -3
- 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.cjs +1 -1
- package/out/store/middleware/logoutMiddleware.cjs.map +3 -3
- package/out/store/middleware/logoutMiddleware.mjs +1 -1
- package/out/store/selectors/accountSelectors.d.ts +1 -1
- package/out/store/selectors/accountSelectors.mjs +1 -1
- package/out/store/selectors/configSelectors.cjs +1 -1
- package/out/store/selectors/configSelectors.cjs.map +3 -3
- package/out/store/selectors/configSelectors.d.ts +2 -1
- package/out/store/selectors/configSelectors.mjs +1 -1
- package/out/store/selectors/networkSelectors.d.ts +1 -1
- package/out/store/selectors/storeSelector.mjs +1 -1
- package/out/store/selectors/storeSelector.mjs.map +4 -4
- 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/config/config.types.cjs +1 -1
- package/out/store/slices/config/config.types.cjs.map +1 -1
- package/out/store/slices/config/config.types.d.ts +8 -0
- package/out/store/slices/config/configSlice.cjs +1 -1
- package/out/store/slices/config/configSlice.cjs.map +2 -2
- package/out/store/slices/config/configSlice.mjs +1 -1
- package/out/store/slices/config/index.mjs +1 -1
- package/out/store/storage/index.mjs +1 -1
- package/out/store/storage/storageCallback.mjs +1 -1
- package/out/store/store.cjs +1 -1
- package/out/store/store.cjs.map +3 -3
- package/out/store/store.mjs +1 -1
- package/out/types/network.types.mjs +0 -1
- package/out/types/suspiciousLink.types.mjs +0 -1
- package/out/types/websocket.types.mjs +0 -1
- package/out/utils/ComponentFactory.cjs +1 -1
- package/out/utils/ComponentFactory.cjs.map +3 -3
- package/out/utils/ComponentFactory.mjs +1 -1
- package/out/utils/account/fetchAccount.mjs +1 -1
- package/out/utils/account/refreshAccount.cjs +1 -1
- package/out/utils/account/refreshAccount.cjs.map +3 -3
- package/out/utils/account/refreshAccount.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
- package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +4 -4
- package/out/utils/decoders/base64Utils.cjs +1 -1
- package/out/utils/decoders/base64Utils.cjs.map +2 -2
- package/out/utils/decoders/base64Utils.mjs +1 -1
- package/out/utils/decoders/isAscii.mjs +1 -1
- package/out/utils/decoders/isAscii.mjs.map +4 -4
- package/out/utils/decoders/stringContainsNumbers.mjs +1 -1
- package/out/utils/decoders/stringContainsNumbers.mjs.map +4 -4
- package/out/utils/network/index.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
- package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +1 -1
- package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +3 -3
- package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs +1 -1
- package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
- package/out/utils/transactions/getDecodedDataField/index.d.ts +0 -1
- package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +3 -3
- 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/getValueFromDataField.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +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/tests/baseTransactionMock.d.ts +27 -0
- package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
- package/out/utils/transactions/getInterpretedTransaction/index.cjs +1 -1
- package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
- package/out/utils/transactions/getInterpretedTransaction/index.d.ts +0 -1
- package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
- package/out/utils/transactions/getScamFlag.cjs.map +1 -1
- package/out/utils/transactions/getScamFlag.d.ts +1 -1
- package/out/utils/transactions/getScamFlag.mjs.map +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +3 -3
- 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/getTransactionAssets.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.cjs +1 -1
- package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
- package/out/utils/transactions/getTransactionsHistory/index.d.ts +0 -1
- package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
- package/out/utils/validation/isContract.cjs +1 -1
- package/out/utils/validation/isContract.cjs.map +3 -3
- package/out/utils/validation/isContract.mjs +1 -1
- package/out/utils/validation/maxDecimals.mjs +1 -1
- package/out/utils/validation/maxDecimals.mjs.map +4 -4
- package/out/utils/visual/switchTheme.cjs.map +1 -1
- package/out/utils/visual/switchTheme.d.ts +1 -1
- package/out/utils/visual/switchTheme.mjs +1 -1
- package/out/utils/window/buildUrlParams.mjs +1 -1
- package/out/utils/window/buildUrlParams.mjs.map +4 -4
- package/out/utils/window/getIsAuthRoute.mjs +1 -1
- package/out/utils/window/getIsAuthRoute.mjs.map +4 -4
- package/out/utils/window/getIsInIframe.mjs +1 -1
- package/out/utils/window/getWindowParentOrigin.mjs +1 -1
- package/out/utils/window/sanitizeCallbackUrl.mjs +1 -1
- package/out/utils/window/sanitizeCallbackUrl.mjs.map +4 -4
- package/package.json +8 -12
- package/out/__chunks__/chunk-2BSPSW6X.mjs +0 -1
- package/out/__chunks__/chunk-2KGBHCEN.mjs.map +0 -7
- package/out/__chunks__/chunk-2RAULLHL.mjs +0 -2
- package/out/__chunks__/chunk-2RAULLHL.mjs.map +0 -7
- package/out/__chunks__/chunk-2RTOYKHB.mjs +0 -2
- package/out/__chunks__/chunk-3CG4C7T4.mjs +0 -2
- package/out/__chunks__/chunk-3GGBXXXJ.mjs +0 -2
- package/out/__chunks__/chunk-3GGBXXXJ.mjs.map +0 -7
- package/out/__chunks__/chunk-3KUTPB2M.mjs +0 -2
- package/out/__chunks__/chunk-3KUTPB2M.mjs.map +0 -7
- package/out/__chunks__/chunk-3S3EXLLM.mjs +0 -2
- package/out/__chunks__/chunk-442O3UMZ.mjs +0 -1
- package/out/__chunks__/chunk-4GCIE2BM.mjs +0 -2
- package/out/__chunks__/chunk-4MCQ27VQ.mjs.map +0 -7
- package/out/__chunks__/chunk-4QDHKULK.mjs +0 -2
- package/out/__chunks__/chunk-4QDHKULK.mjs.map +0 -7
- package/out/__chunks__/chunk-4US7HVCR.mjs +0 -1
- package/out/__chunks__/chunk-4US7HVCR.mjs.map +0 -7
- package/out/__chunks__/chunk-4VA2SULD.mjs.map +0 -7
- package/out/__chunks__/chunk-55U3WK3C.mjs +0 -2
- package/out/__chunks__/chunk-573JTRNC.mjs +0 -2
- package/out/__chunks__/chunk-573JTRNC.mjs.map +0 -7
- package/out/__chunks__/chunk-5E32AO3E.mjs.map +0 -7
- package/out/__chunks__/chunk-5KVNYLOM.mjs +0 -2
- package/out/__chunks__/chunk-5KVNYLOM.mjs.map +0 -7
- package/out/__chunks__/chunk-5Y2ZDPP6.mjs +0 -1
- package/out/__chunks__/chunk-5Y2ZDPP6.mjs.map +0 -7
- package/out/__chunks__/chunk-6BOC75BF.mjs +0 -2
- package/out/__chunks__/chunk-6CLCXSHA.mjs.map +0 -7
- package/out/__chunks__/chunk-6CQMLD25.mjs +0 -1
- package/out/__chunks__/chunk-6CQMLD25.mjs.map +0 -7
- package/out/__chunks__/chunk-6GREKTLP.mjs +0 -2
- package/out/__chunks__/chunk-6GREKTLP.mjs.map +0 -7
- package/out/__chunks__/chunk-6JM4DPOH.mjs +0 -2
- package/out/__chunks__/chunk-7BRIA6SS.mjs +0 -1
- package/out/__chunks__/chunk-7BRIA6SS.mjs.map +0 -7
- package/out/__chunks__/chunk-7JDTQFLQ.mjs.map +0 -7
- package/out/__chunks__/chunk-7UA7QAEF.mjs.map +0 -7
- package/out/__chunks__/chunk-AFLCI6IF.mjs +0 -2
- package/out/__chunks__/chunk-AGJVEK6I.mjs +0 -2
- package/out/__chunks__/chunk-B7YCKWDU.mjs +0 -1
- package/out/__chunks__/chunk-B7YCKWDU.mjs.map +0 -7
- package/out/__chunks__/chunk-BCSNXRMR.mjs.map +0 -7
- package/out/__chunks__/chunk-BKKXLEQ6.mjs +0 -1
- package/out/__chunks__/chunk-BKKXLEQ6.mjs.map +0 -7
- package/out/__chunks__/chunk-BUJNOQZJ.mjs +0 -2
- package/out/__chunks__/chunk-BUJNOQZJ.mjs.map +0 -7
- package/out/__chunks__/chunk-C72ZHRFA.mjs +0 -2
- package/out/__chunks__/chunk-C72ZHRFA.mjs.map +0 -7
- package/out/__chunks__/chunk-CDTYHGXZ.mjs +0 -1
- package/out/__chunks__/chunk-CDTYHGXZ.mjs.map +0 -7
- package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
- package/out/__chunks__/chunk-CVXQYCEE.mjs +0 -2
- package/out/__chunks__/chunk-CVXQYCEE.mjs.map +0 -7
- package/out/__chunks__/chunk-CXE2WQJS.mjs +0 -1
- package/out/__chunks__/chunk-CXE2WQJS.mjs.map +0 -7
- package/out/__chunks__/chunk-CYCS3K6Q.mjs +0 -2
- package/out/__chunks__/chunk-CZ2S4XSL.mjs +0 -2
- package/out/__chunks__/chunk-D3VRMBRS.mjs +0 -2
- package/out/__chunks__/chunk-DTQL3IDP.mjs +0 -1
- package/out/__chunks__/chunk-DTQL3IDP.mjs.map +0 -7
- package/out/__chunks__/chunk-DW6RO5LJ.mjs +0 -2
- package/out/__chunks__/chunk-DW6RO5LJ.mjs.map +0 -7
- package/out/__chunks__/chunk-EHDGJUEU.mjs +0 -2
- package/out/__chunks__/chunk-EHDGJUEU.mjs.map +0 -7
- package/out/__chunks__/chunk-EJV4VNJG.mjs +0 -2
- package/out/__chunks__/chunk-EJV4VNJG.mjs.map +0 -7
- package/out/__chunks__/chunk-EKWN4V73.mjs +0 -2
- package/out/__chunks__/chunk-EKWN4V73.mjs.map +0 -7
- package/out/__chunks__/chunk-EPL2CHU6.mjs +0 -2
- package/out/__chunks__/chunk-EPL2CHU6.mjs.map +0 -7
- package/out/__chunks__/chunk-FF45FPD3.mjs +0 -2
- package/out/__chunks__/chunk-FF45FPD3.mjs.map +0 -7
- package/out/__chunks__/chunk-FRUJEORM.mjs +0 -2
- package/out/__chunks__/chunk-FTJF3Q3P.mjs +0 -2
- package/out/__chunks__/chunk-FTJF3Q3P.mjs.map +0 -7
- package/out/__chunks__/chunk-G5DKGX73.mjs +0 -1
- package/out/__chunks__/chunk-G5DKGX73.mjs.map +0 -7
- package/out/__chunks__/chunk-GBEJIZDR.mjs +0 -1
- package/out/__chunks__/chunk-GBEJIZDR.mjs.map +0 -7
- package/out/__chunks__/chunk-GIZSIYH4.mjs +0 -2
- package/out/__chunks__/chunk-GIZSIYH4.mjs.map +0 -7
- package/out/__chunks__/chunk-H73D4VUZ.mjs +0 -2
- package/out/__chunks__/chunk-HFX5WAAI.mjs +0 -2
- package/out/__chunks__/chunk-HKDRMMI5.mjs +0 -2
- package/out/__chunks__/chunk-HOCSCRJF.mjs +0 -2
- package/out/__chunks__/chunk-HOCSCRJF.mjs.map +0 -7
- package/out/__chunks__/chunk-HYH55J3D.mjs +0 -2
- package/out/__chunks__/chunk-HZGRS7HG.mjs +0 -2
- package/out/__chunks__/chunk-I424CDNL.mjs +0 -2
- package/out/__chunks__/chunk-I424CDNL.mjs.map +0 -7
- package/out/__chunks__/chunk-IXBWD6BF.mjs +0 -1
- package/out/__chunks__/chunk-IXBWD6BF.mjs.map +0 -7
- package/out/__chunks__/chunk-J32T6OAP.mjs +0 -1
- package/out/__chunks__/chunk-J32T6OAP.mjs.map +0 -7
- package/out/__chunks__/chunk-J5TLE6SA.mjs +0 -2
- package/out/__chunks__/chunk-JDP24JPD.mjs +0 -2
- package/out/__chunks__/chunk-JDP24JPD.mjs.map +0 -7
- package/out/__chunks__/chunk-JPSW3MCK.mjs +0 -2
- package/out/__chunks__/chunk-JPSW3MCK.mjs.map +0 -7
- package/out/__chunks__/chunk-K5K2FVFB.mjs +0 -2
- package/out/__chunks__/chunk-KDMYDO7R.mjs.map +0 -7
- package/out/__chunks__/chunk-KIOUFP5Q.mjs +0 -1
- package/out/__chunks__/chunk-KIOUFP5Q.mjs.map +0 -7
- package/out/__chunks__/chunk-KLI6N26E.mjs +0 -2
- package/out/__chunks__/chunk-KPK72MOE.mjs +0 -2
- package/out/__chunks__/chunk-KPK72MOE.mjs.map +0 -7
- package/out/__chunks__/chunk-L3YPAYXZ.mjs +0 -1
- package/out/__chunks__/chunk-L3YPAYXZ.mjs.map +0 -7
- package/out/__chunks__/chunk-LBPTOWPX.mjs +0 -2
- package/out/__chunks__/chunk-LBPTOWPX.mjs.map +0 -7
- package/out/__chunks__/chunk-LHEH7L4L.mjs +0 -2
- package/out/__chunks__/chunk-M3GFSV3G.mjs +0 -1
- package/out/__chunks__/chunk-M3GFSV3G.mjs.map +0 -7
- package/out/__chunks__/chunk-MLDUGECH.mjs.map +0 -7
- package/out/__chunks__/chunk-MS7BFY27.mjs.map +0 -7
- package/out/__chunks__/chunk-N55JEIM6.mjs.map +0 -7
- package/out/__chunks__/chunk-NAYDJEWI.mjs.map +0 -7
- package/out/__chunks__/chunk-ODHXJQOF.mjs +0 -2
- package/out/__chunks__/chunk-OJX2TSAZ.mjs +0 -1
- package/out/__chunks__/chunk-OJX2TSAZ.mjs.map +0 -7
- package/out/__chunks__/chunk-OL6LWUIJ.mjs +0 -1
- package/out/__chunks__/chunk-OL6LWUIJ.mjs.map +0 -7
- package/out/__chunks__/chunk-OVXVICF7.mjs +0 -1
- package/out/__chunks__/chunk-OVXVICF7.mjs.map +0 -7
- package/out/__chunks__/chunk-P2MHA65O.mjs +0 -2
- package/out/__chunks__/chunk-QJJEW7MB.mjs +0 -2
- package/out/__chunks__/chunk-QJJEW7MB.mjs.map +0 -7
- package/out/__chunks__/chunk-QO62QJ5H.mjs +0 -2
- package/out/__chunks__/chunk-T4FRQ4JG.mjs +0 -1
- package/out/__chunks__/chunk-T4FRQ4JG.mjs.map +0 -7
- package/out/__chunks__/chunk-TFARIEZF.mjs.map +0 -7
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs +0 -2
- package/out/__chunks__/chunk-TOZ7EGCZ.mjs.map +0 -7
- package/out/__chunks__/chunk-TR2KNDCH.mjs.map +0 -7
- package/out/__chunks__/chunk-TRMQFQOQ.mjs +0 -1
- package/out/__chunks__/chunk-TRMQFQOQ.mjs.map +0 -7
- package/out/__chunks__/chunk-TVXZBSUY.mjs +0 -2
- package/out/__chunks__/chunk-U3MIDVR7.mjs.map +0 -7
- package/out/__chunks__/chunk-UCFMVEOZ.mjs.map +0 -7
- package/out/__chunks__/chunk-UD7MOR6P.mjs +0 -1
- package/out/__chunks__/chunk-UD7MOR6P.mjs.map +0 -7
- package/out/__chunks__/chunk-UE3IBKCO.mjs +0 -2
- package/out/__chunks__/chunk-UE3IBKCO.mjs.map +0 -7
- package/out/__chunks__/chunk-URTM5OGN.mjs +0 -2
- package/out/__chunks__/chunk-UT4BWFQH.mjs.map +0 -7
- package/out/__chunks__/chunk-UY22M7WB.mjs +0 -2
- package/out/__chunks__/chunk-UY22M7WB.mjs.map +0 -7
- package/out/__chunks__/chunk-VCAWVAO5.mjs +0 -1
- package/out/__chunks__/chunk-VCAWVAO5.mjs.map +0 -7
- package/out/__chunks__/chunk-VGGJESXR.mjs.map +0 -7
- package/out/__chunks__/chunk-VIQAOU2F.mjs +0 -2
- package/out/__chunks__/chunk-VIQAOU2F.mjs.map +0 -7
- package/out/__chunks__/chunk-VOBUIF7F.mjs +0 -1
- package/out/__chunks__/chunk-VOBUIF7F.mjs.map +0 -7
- package/out/__chunks__/chunk-VTEOS2MM.mjs +0 -2
- package/out/__chunks__/chunk-W5MTQBQF.mjs.map +0 -7
- package/out/__chunks__/chunk-WEZV6U4A.mjs +0 -2
- package/out/__chunks__/chunk-WEZV6U4A.mjs.map +0 -7
- package/out/__chunks__/chunk-WVAP3V3E.mjs +0 -2
- package/out/__chunks__/chunk-WVAP3V3E.mjs.map +0 -7
- package/out/__chunks__/chunk-WYVAFCPU.mjs +0 -2
- package/out/__chunks__/chunk-WYVAFCPU.mjs.map +0 -7
- package/out/__chunks__/chunk-XLLBREX7.mjs +0 -2
- package/out/__chunks__/chunk-XNSSZDSU.mjs +0 -2
- package/out/__chunks__/chunk-XNSSZDSU.mjs.map +0 -7
- package/out/__chunks__/chunk-XSUHHPZ2.mjs +0 -2
- package/out/__chunks__/chunk-XTATC65P.mjs +0 -2
- package/out/__chunks__/chunk-XTATC65P.mjs.map +0 -7
- package/out/__chunks__/chunk-YGMILCHH.mjs.map +0 -7
- package/out/__chunks__/chunk-YJK5FPW4.mjs +0 -1
- package/out/__chunks__/chunk-YJK5FPW4.mjs.map +0 -7
- package/out/__chunks__/chunk-YUITECZ5.mjs +0 -1
- package/out/__chunks__/chunk-YUITECZ5.mjs.map +0 -7
- package/out/__chunks__/chunk-Z4PL2VDB.mjs +0 -1
- package/out/__chunks__/chunk-Z4PL2VDB.mjs.map +0 -7
- package/out/__chunks__/chunk-ZAPRDHIW.mjs +0 -1
- package/out/__chunks__/chunk-ZAPRDHIW.mjs.map +0 -7
- package/out/__chunks__/chunk-ZC5QSQE4.mjs +0 -1
- package/out/__chunks__/chunk-ZC5QSQE4.mjs.map +0 -7
- package/out/apiCalls/utils/getCleanApiAddress.cjs +0 -2
- package/out/apiCalls/utils/getCleanApiAddress.cjs.map +0 -7
- package/out/apiCalls/utils/getCleanApiAddress.d.ts +0 -1
- package/out/apiCalls/utils/getCleanApiAddress.mjs +0 -2
- package/out/apiCalls/utils/getCleanApiAddress.mjs.map +0 -7
- package/out/constants/index.cjs +0 -2
- package/out/constants/index.cjs.map +0 -7
- package/out/constants/index.d.ts +0 -10
- package/out/constants/index.mjs +0 -2
- package/out/constants/index.mjs.map +0 -7
- package/out/constants/webWalletProvider.constants.cjs +0 -2
- package/out/constants/webWalletProvider.constants.cjs.map +0 -7
- package/out/constants/webWalletProvider.constants.d.ts +0 -1
- package/out/constants/webWalletProvider.constants.mjs +0 -2
- package/out/constants/webWalletProvider.constants.mjs.map +0 -7
- package/out/controllers/index.cjs +0 -2
- package/out/controllers/index.cjs.map +0 -7
- package/out/controllers/index.d.ts +0 -1
- package/out/controllers/index.mjs +0 -2
- package/out/controllers/index.mjs.map +0 -7
- package/out/index.cjs +0 -2
- package/out/index.cjs.map +0 -7
- package/out/index.d.ts +0 -5
- package/out/index.mjs +0 -2
- package/out/index.mjs.map +0 -7
- package/out/managers/index.cjs +0 -2
- package/out/managers/index.cjs.map +0 -7
- package/out/managers/index.d.ts +0 -2
- package/out/managers/index.mjs +0 -2
- package/out/managers/index.mjs.map +0 -7
- package/out/managers/internal/index.cjs +0 -2
- package/out/managers/internal/index.cjs.map +0 -7
- package/out/managers/internal/index.d.ts +0 -3
- package/out/managers/internal/index.mjs +0 -2
- package/out/managers/internal/index.mjs.map +0 -7
- package/out/providers/index.cjs +0 -2
- package/out/providers/index.cjs.map +0 -7
- package/out/providers/index.d.ts +0 -2
- package/out/providers/index.mjs +0 -2
- package/out/providers/index.mjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +0 -7
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +0 -5
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +0 -2
- package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs.map +0 -7
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +0 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +0 -7
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.d.ts +0 -8
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +0 -2
- package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs.map +0 -7
- package/out/providers/strategies/index.cjs +0 -2
- package/out/providers/strategies/index.cjs.map +0 -7
- package/out/providers/strategies/index.d.ts +0 -5
- package/out/providers/strategies/index.mjs +0 -2
- package/out/providers/strategies/index.mjs.map +0 -7
- package/out/services/index.cjs +0 -2
- package/out/services/index.cjs.map +0 -7
- package/out/services/index.d.ts +0 -1
- package/out/services/index.mjs +0 -2
- package/out/services/index.mjs.map +0 -7
- package/out/services/nativeAuth/methods/index.cjs +0 -2
- package/out/services/nativeAuth/methods/index.cjs.map +0 -7
- package/out/services/nativeAuth/methods/index.d.ts +0 -2
- package/out/services/nativeAuth/methods/index.mjs +0 -2
- package/out/services/nativeAuth/methods/index.mjs.map +0 -7
- package/out/store/actions/index.cjs +0 -2
- package/out/store/actions/index.cjs.map +0 -7
- package/out/store/actions/index.d.ts +0 -7
- package/out/store/actions/index.mjs +0 -2
- package/out/store/actions/index.mjs.map +0 -7
- package/out/store/selectors/index.cjs +0 -2
- package/out/store/selectors/index.cjs.map +0 -7
- package/out/store/selectors/index.d.ts +0 -6
- package/out/store/selectors/index.mjs +0 -2
- package/out/store/selectors/index.mjs.map +0 -7
- package/out/store/slices/index.cjs +0 -2
- package/out/store/slices/index.cjs.map +0 -7
- package/out/store/slices/index.d.ts +0 -7
- package/out/store/slices/index.mjs +0 -2
- package/out/store/slices/index.mjs.map +0 -7
- package/out/types/index.cjs +0 -2
- package/out/types/index.cjs.map +0 -7
- package/out/types/index.d.ts +0 -7
- package/out/types/index.mjs +0 -2
- package/out/types/index.mjs.map +0 -7
- package/out/utils/account/index.cjs +0 -2
- package/out/utils/account/index.cjs.map +0 -7
- package/out/utils/account/index.d.ts +0 -4
- package/out/utils/account/index.mjs +0 -2
- package/out/utils/account/index.mjs.map +0 -7
- package/out/utils/decoders/index.cjs +0 -2
- package/out/utils/decoders/index.cjs.map +0 -7
- package/out/utils/decoders/index.d.ts +0 -5
- package/out/utils/decoders/index.mjs +0 -2
- package/out/utils/decoders/index.mjs.map +0 -7
- package/out/utils/index.cjs +0 -2
- package/out/utils/index.cjs.map +0 -7
- package/out/utils/index.d.ts +0 -9
- package/out/utils/index.mjs +0 -2
- package/out/utils/index.mjs.map +0 -7
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +0 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +0 -7
- package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +0 -6
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +0 -2
- package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.d.ts +0 -6
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.d.ts +0 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +0 -7
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.d.ts +0 -13
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +0 -2
- package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs.map +0 -7
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +0 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +0 -7
- package/out/utils/transactions/getTransactionsHistory/helpers/index.d.ts +0 -8
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +0 -2
- package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs.map +0 -7
- package/out/utils/transactions/index.cjs +0 -2
- package/out/utils/transactions/index.cjs.map +0 -7
- package/out/utils/transactions/index.d.ts +0 -4
- package/out/utils/transactions/index.mjs +0 -2
- package/out/utils/transactions/index.mjs.map +0 -7
- package/out/utils/validation/index.cjs +0 -2
- package/out/utils/validation/index.cjs.map +0 -7
- package/out/utils/validation/index.d.ts +0 -5
- package/out/utils/validation/index.mjs +0 -2
- package/out/utils/validation/index.mjs.map +0 -7
- package/out/utils/window/index.cjs +0 -2
- package/out/utils/window/index.cjs.map +0 -7
- package/out/utils/window/index.d.ts +0 -6
- package/out/utils/window/index.mjs +0 -2
- package/out/utils/window/index.mjs.map +0 -7
- /package/out/__chunks__/{chunk-CZ2S4XSL.mjs.map → chunk-2GXPSWQ4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-E77ZH5JT.mjs.map → chunk-32MEBSR7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XSUHHPZ2.mjs.map → chunk-4KXXF3PV.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-G5N56FHJ.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2BSPSW6X.mjs.map → chunk-5P3UEE7C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7WJMUTGI.mjs.map → chunk-66SV7PYL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-2RTOYKHB.mjs.map → chunk-6KZ72DNU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HKDRMMI5.mjs.map → chunk-6O5Y7U4C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PW34EFS7.mjs.map → chunk-7QPD5RSY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SAN5F2PW.mjs.map → chunk-7ZHH6AD4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XV3H7VOE.mjs.map → chunk-A4AC45BS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZRSYQ3MT.mjs.map → chunk-AOLW46E4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TVXZBSUY.mjs.map → chunk-APCGI2A5.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-55U3WK3C.mjs.map → chunk-B353O452.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-442O3UMZ.mjs.map → chunk-BFD5ZJOK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-DFSBS3PX.mjs.map → chunk-BHWSBAMZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XDBKPKTG.mjs.map → chunk-BSA3IGL6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PKLBZG2R.mjs.map → chunk-DNYE6AJI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LKOWOTL2.mjs.map → chunk-ENJAFJGK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZKBKYLAP.mjs.map → chunk-ERDTZ52C.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-K4JJZCL3.mjs.map → chunk-ERZNNJ4M.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7MBSWJUD.mjs.map → chunk-FK6DWWZF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3XTYIGW5.mjs.map → chunk-GBDHEWNQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-WS2MTQIC.mjs.map → chunk-GYYGYOIE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LG6Q3PRI.mjs.map → chunk-HDCJEKHM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-M7B26JXO.mjs.map → chunk-HFY3MGS6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O65OBG5D.mjs.map → chunk-HP2XUCRI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-PMATTOPD.mjs.map → chunk-HSF3JATH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5DILKRFV.mjs.map → chunk-HTT67LH3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-RV6SJMD7.mjs.map → chunk-HZ4ZWMRW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-KLI6N26E.mjs.map → chunk-I36DD2FW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NTPPBM7T.mjs.map → chunk-I3ILB737.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TQ7T6ULY.mjs.map → chunk-IHAZNPKL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JTV664SG.mjs.map → chunk-IHSJITVR.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3S3EXLLM.mjs.map → chunk-JI27YEKS.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-3PAZABVI.mjs.map → chunk-JQ3KV55D.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HYH55J3D.mjs.map → chunk-JXPL2SLD.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ODHXJQOF.mjs.map → chunk-K2FBVE6U.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N4KX33RW.mjs.map → chunk-KR2GUJDQ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-GUAXMODN.mjs.map → chunk-KYQ5IP6W.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HUXPA4C2.mjs.map → chunk-LIDJNFTE.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AGJVEK6I.mjs.map → chunk-LKC3E6AW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NVBWPLR7.mjs.map → chunk-LL2IIBPG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-LYSI4URP.mjs.map → chunk-LOPC75K6.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-O6ALDFLM.mjs.map → chunk-LWW4KDFK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-H5NVCCUR.mjs.map → chunk-NWRCQLFI.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XLLBREX7.mjs.map → chunk-NYZ726DG.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OAPLU7UX.mjs.map → chunk-OBIQ63DJ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FNHO66WN.mjs.map → chunk-PDI722XH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-4SS6EY66.mjs.map → chunk-PN7JDWSZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-QFXS7HGL.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IVHD32VC.mjs.map → chunk-RIPIZH54.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-FPKFAJNW.mjs.map → chunk-RXRVBUAX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AZA2GNTR.mjs.map → chunk-SFGR74WM.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-SALLGAGD.mjs.map → chunk-SFXZJSEY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-NAYC2B72.mjs.map → chunk-SMCI4JNY.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-QO62QJ5H.mjs.map → chunk-SMEKGCKH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-XXSANEEO.mjs.map → chunk-SOGQ76CF.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6F4OKEUQ.mjs.map → chunk-SYHILLXA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OSG4UY2Z.mjs.map → chunk-SZNAMXXH.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-TMRKN7VL.mjs.map → chunk-TJKB7YME.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ATLICLWT.mjs.map → chunk-TPXNYEOT.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-ZNPHUPAP.mjs.map → chunk-UBP7VBFB.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-CXAX5TAG.mjs.map → chunk-UCWTYWB3.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-VTEOS2MM.mjs.map → chunk-UMJE36YK.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-P2MHA65O.mjs.map → chunk-UXP5UK2L.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-J5TLE6SA.mjs.map → chunk-VBWYZ6ZU.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HZGRS7HG.mjs.map → chunk-VGDWWBLN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5AGKFSA6.mjs.map → chunk-VLASN3TA.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-D3VRMBRS.mjs.map → chunk-W6XNEY4N.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-OIRXFS5Q.mjs.map → chunk-WDFIVLDW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5W7PFHTT.mjs.map → chunk-WFMBEYKX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-N5VJJRWV.mjs.map → chunk-X4P6NIGX.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6BOC75BF.mjs.map → chunk-XAMG7OLZ.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-7PE652LB.mjs.map → chunk-XBIX2QET.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-6EKK7AJE.mjs.map → chunk-XJY2BTDN.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-5KYXNO4J.mjs.map → chunk-XPASD5P4.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-AFLCI6IF.mjs.map → chunk-XXQ7FANC.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-JZ22ZC2D.mjs.map → chunk-YKHYAKVW.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-HBPQEY3L.mjs.map → chunk-YYZKVLX7.mjs.map} +0 -0
- /package/out/__chunks__/{chunk-IYM4ZX72.mjs.map → chunk-ZMC2BF4F.mjs.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a}from"./chunk-PFR5VSL2.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-WGFZEQNT.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
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
|
|
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 programmatic 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
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
6
|
"names": ["UIBaseManager", "uiDataUpdateEvent", "uiTag", "anchor", "newData", "event", "callback", "unsubscribe", "existing", "existingHandlers", "events", "unsubList", "ComponentFactory"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-XJY2BTDN.mjs";async function g({originalLoginToken:i,extraInfoData:n,address:o}){let e=await t({loginToken:i,extraInfoData:n}),s=n.multisig||n.impersonate||o;return{address:e!=null?s:o,modifiedLoginToken:e}}export{g as a};
|
|
2
|
+
//# sourceMappingURL=chunk-X4P6NIGX.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{a as s}from"./chunk-HH5SA7BX.mjs";import{a as n}from"./chunk-I3MK6KZJ.mjs";import{Address as d}from"@multiversx/sdk-core";import c from"bignumber.js";var l=({data:e,decodeMethod:i,transactionTokens:t})=>{switch(i){case"text":try{return Buffer.from(e,"hex").toString("utf8")}catch{return e}case"decimal":return e!==""?new c(e,16).toString(10):"";case"smart":try{let r=d.newFromHex(e).toString();if(n(r))return r}catch{}try{let r=Buffer.from(e,"hex").toString("utf8");if(s(r))return r;{if(t&&[...t.esdts,...t.nfts].some(f=>r.includes(f)))return r;let o=new c(e,16);return o.isFinite()?o.toString(10):e}}catch{return e}case"raw":default:return e}};export{l as a};
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
//# sourceMappingURL=chunk-XA6ZDGIQ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/transactions/getDecodedDataField/helpers/decodeByMethod.ts"],
|
|
4
|
+
"sourcesContent": ["import { Address } from '@multiversx/sdk-core';\nimport BigNumber from 'bignumber.js';\n\nimport {\n DecodeMethodEnum,\n TransactionTokensType\n} from 'types/serverTransactions.types';\nimport { isUtf8 } from 'utils/decoders/isUtf8';\nimport { addressIsValid } from 'utils/validation/addressIsValid';\n\ninterface IDecodeByMethod {\n data: string;\n decodeMethod: DecodeMethodEnum | string;\n transactionTokens?: TransactionTokensType;\n}\n\nexport const decodeByMethod = ({\n data,\n decodeMethod,\n transactionTokens\n}: IDecodeByMethod) => {\n switch (decodeMethod) {\n case DecodeMethodEnum.text:\n try {\n return Buffer.from(data, 'hex').toString('utf8');\n } catch {\n return data;\n }\n\n case DecodeMethodEnum.decimal:\n return data !== '' ? new BigNumber(data, 16).toString(10) : '';\n case DecodeMethodEnum.smart:\n try {\n const bech32Encoded = Address.newFromHex(data).toString();\n\n if (addressIsValid(bech32Encoded)) {\n return bech32Encoded;\n }\n } catch {\n // skip\n }\n\n try {\n const decoded = Buffer.from(data, 'hex').toString('utf8');\n\n if (!isUtf8(decoded)) {\n if (transactionTokens) {\n const tokens = [\n ...transactionTokens.esdts,\n ...transactionTokens.nfts\n ];\n\n if (tokens.some((token) => decoded.includes(token))) {\n return decoded;\n }\n }\n\n const bigNumber = new BigNumber(data, 16);\n\n return bigNumber.isFinite() ? bigNumber.toString(10) : data;\n } else {\n return decoded;\n }\n } catch {\n return data;\n }\n\n case DecodeMethodEnum.raw:\n default:\n return data;\n }\n};\n"],
|
|
5
|
+
"mappings": "kFAAA,OAAS,WAAAA,MAAe,uBACxB,OAAOC,MAAe,eAef,IAAMC,EAAiB,CAAC,CAC7B,KAAAC,EACA,aAAAC,EACA,kBAAAC,CACF,IAAuB,CACrB,OAAQD,EAAc,CACpB,WACE,GAAI,CACF,OAAO,OAAO,KAAKD,EAAM,KAAK,EAAE,SAAS,MAAM,CACjD,MAAQ,CACN,OAAOA,CACT,CAEF,cACE,OAAOA,IAAS,GAAK,IAAIG,EAAUH,EAAM,EAAE,EAAE,SAAS,EAAE,EAAI,GAC9D,YACE,GAAI,CACF,IAAMI,EAAgBC,EAAQ,WAAWL,CAAI,EAAE,SAAS,EAExD,GAAIM,EAAeF,CAAa,EAC9B,OAAOA,CAEX,MAAQ,CAER,CAEA,GAAI,CACF,IAAMG,EAAU,OAAO,KAAKP,EAAM,KAAK,EAAE,SAAS,MAAM,EAExD,GAAKQ,EAAOD,CAAO,EAgBjB,OAAOA,EAhBa,CACpB,GAAIL,GACa,CACb,GAAGA,EAAkB,MACrB,GAAGA,EAAkB,IACvB,EAEW,KAAMO,GAAUF,EAAQ,SAASE,CAAK,CAAC,EAChD,OAAOF,EAIX,IAAMG,EAAY,IAAIP,EAAUH,EAAM,EAAE,EAExC,OAAOU,EAAU,SAAS,EAAIA,EAAU,SAAS,EAAE,EAAIV,CACzD,CAGF,MAAQ,CACN,OAAOA,CACT,CAEF,UACA,QACE,OAAOA,CACX,CACF",
|
|
6
|
+
"names": ["Address", "BigNumber", "decodeByMethod", "data", "decodeMethod", "transactionTokens", "BigNumber", "bech32Encoded", "Address", "addressIsValid", "decoded", "isUtf8", "token", "bigNumber"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as e}from"./chunk-B353O452.mjs";import{a as o}from"./chunk-PMHRZ5Y7.mjs";import{j as r}from"./chunk-E2GGD7D4.mjs";import{b as i}from"./chunk-HP2XUCRI.mjs";import{s as n}from"./chunk-4D2LHSRB.mjs";async function E({transaction:a,sessionId:s}){let c=a.results?.find(t=>t?.returnMessage!=="");e({sessionId:s,transaction:{...a,status:"fail",inTransit:!1}});let{transactions:m}=n();m?.[s]?.transactions?.some(t=>r(t.status))||(i({sessionId:s,status:"fail",errorMessage:c?.returnMessage}),await o({sessionId:s,status:"fail"}))}export{E as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XAMG7OLZ.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-HUZZMMJX.mjs";import{a as g}from"./chunk-XXQ7FANC.mjs";import{s as e}from"./chunk-4D2LHSRB.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XBIX2QET.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-YEY7YGZD.mjs";import{a as o}from"./chunk-HSF3JATH.mjs";async function p({loginToken:i,extraInfoData:n}){if(i==null||Object.keys(n).length===0)return null;let t=o(String(i)),{timestamp:e,...a}=t?.extraInfo||{};if(!(t&&e!=null))return null;let s={hash:String(t?.blockHash),timestamp:Number(e)};return await r({extraInfo:{...a,...n},expirySeconds:t?.ttl,origin:t?.origin}).initialize({latestBlockInfo:s})}export{p as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XJY2BTDN.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as t}from"./chunk-U4ZCGUVE.mjs";import{c as o}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as t}from"./chunk-U4ZCGUVE.mjs";import{c as o}from"./chunk-Z6OAKBWP.mjs";var u=(r,s=1)=>r?.length?r.reduce((e,{receiver:a,data:i})=>{let n=o({receiver:a,data:i??""});return n==null?e:e&&t({receiverAddress:n,senderShard:s})},!0):!0;export{u as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XLMQWFKS.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/managers/TransactionManager/helpers/getAreTransactionsCorssShards.ts"],
|
|
4
|
+
"sourcesContent": ["import { SignedTransactionType } from 'types/transactions.types';\nimport { getAddressFromDataField } from 'utils/validation/isContract';\nimport { isCrossShardTransaction } from './isCrossShardTransaction';\n\nexport const getAreTransactionsCrossShards = (\n transactions?: SignedTransactionType[],\n accountShard = 1\n): boolean => {\n if (!transactions?.length) {\n return true;\n }\n\n return transactions.reduce(\n (prevTxIsSameShard: boolean, { receiver, data }: SignedTransactionType) => {\n const receiverAddress = getAddressFromDataField({\n receiver,\n data: data ?? ''\n });\n if (receiverAddress == null) {\n return prevTxIsSameShard;\n }\n return (\n prevTxIsSameShard &&\n isCrossShardTransaction({\n receiverAddress,\n senderShard: accountShard\n })\n );\n },\n true\n );\n};\n"],
|
|
5
|
+
"mappings": "kFAIO,IAAMA,EAAgC,CAC3CC,EACAC,EAAe,IAEVD,GAAc,OAIZA,EAAa,OAClB,CAACE,EAA4B,CAAE,SAAAC,EAAU,KAAAC,CAAK,IAA6B,CACzE,IAAMC,EAAkBC,EAAwB,CAC9C,SAAAH,EACA,KAAMC,GAAQ,EAChB,CAAC,EACD,OAAIC,GAAmB,KACdH,EAGPA,GACAK,EAAwB,CACtB,gBAAAF,EACA,YAAaJ,CACf,CAAC,CAEL,EACA,EACF,EArBS",
|
|
6
|
+
"names": ["getAreTransactionsCrossShards", "transactions", "accountShard", "prevTxIsSameShard", "receiver", "data", "receiverAddress", "getAddressFromDataField", "isCrossShardTransaction"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as g}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as g}from"./chunk-NYZ726DG.mjs";import{b as c}from"./chunk-7VHTZYM2.mjs";import{a as s}from"./chunk-3FXHIV6O.mjs";import{s as o}from"./chunk-4D2LHSRB.mjs";import{o as a,u as m}from"./chunk-2JKCBTYK.mjs";async function I({tokenId:n}){let t=c(o()),r={tokenDecimals:Number(t.decimals),tokenLabel:"",tokenImageUrl:""},{isNft:k}=s(n),i=n,p=k?a:m;if(!i)return r;try{let e=await g(`${t.apiAddress}/${p}/${i}`),l=e?e?.decimals:Number(t.decimals),f=e?e?.name:"",T=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:l,tokenLabel:f,type:e?.type,tokenImageUrl:T,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{...r,error:`${e}`}}}export{I as a};
|
|
2
|
+
//# sourceMappingURL=chunk-XPASD5P4.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as f}from"./chunk-BSA3IGL6.mjs";import{a as l}from"./chunk-32MEBSR7.mjs";import{a as g}from"./chunk-OBIQ63DJ.mjs";import{NativeAuthClient as y}from"@multiversx/sdk-native-auth-client";var N=h=>{let{origin:o,apiAddress:i,expirySeconds:r,blockHashShard:s,extraInfo:u,gatewayUrl:d,extraRequestHeaders:k}=l(h),e=new y({origin:o,apiUrl:i,expirySeconds:r,blockHashShard:s,gatewayUrl:d,extraRequestHeaders:k});return{initialize:async t=>{if(!i||!o)return"";let a=()=>e.getCurrentBlockHash(),n=t?.latestBlockInfo;n??=await g({apiAddress:i,blockHashShard:s,getBlockHash:a,noCache:t?.noCache});let{hash:m,timestamp:c}=n,p=e.encodeValue(JSON.stringify({...t?.extraInfo??u,...c?{timestamp:c}:{}}));return`${e.encodeValue(o)}.${m}.${r}.${p}`},getToken:({address:t,token:a,signature:n})=>e.getToken(t,a,n),getTokenExpiration:f}};export{N as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YEY7YGZD.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/services/nativeAuth/nativeAuth.ts"],
|
|
4
|
+
"sourcesContent": ["import { NativeAuthClient } from '@multiversx/sdk-native-auth-client';\n\nimport {\n getLatestBlockHash,\n LatestBlockHashType\n} from './helpers/getLatestBlockHash';\n\nimport { buildNativeAuthConfig } from './methods/buildNativeAuthConfig';\nimport { getTokenExpiration } from './methods/getTokenExpiration';\nimport { NativeAuthConfigType } from './nativeAuth.types';\n\ninterface NativeAuthInitType {\n extraInfo?: { [key: string]: string };\n latestBlockInfo?: LatestBlockHashType;\n noCache?: boolean;\n}\n\nexport const nativeAuth = (config?: NativeAuthConfigType) => {\n const {\n origin,\n apiAddress,\n expirySeconds,\n blockHashShard,\n extraInfo: extraInfoFromConfig,\n gatewayUrl,\n extraRequestHeaders\n } = buildNativeAuthConfig(config);\n\n const nativeAuthClient = new NativeAuthClient({\n origin,\n apiUrl: apiAddress,\n expirySeconds,\n blockHashShard,\n gatewayUrl,\n extraRequestHeaders\n });\n\n const initialize = async (\n initProps?: NativeAuthInitType\n ): Promise<string> => {\n if (!apiAddress || !origin) {\n return '';\n }\n\n const getBlockHash = (): Promise<string> =>\n nativeAuthClient.getCurrentBlockHash();\n\n let latestBlockInfo = initProps?.latestBlockInfo;\n\n latestBlockInfo ??= await getLatestBlockHash({\n apiAddress,\n blockHashShard,\n getBlockHash,\n noCache: initProps?.noCache\n });\n\n const { hash, timestamp } = latestBlockInfo;\n const encodedExtraInfo = nativeAuthClient.encodeValue(\n JSON.stringify({\n ...(initProps?.extraInfo ?? extraInfoFromConfig),\n ...(timestamp ? { timestamp } : {})\n })\n );\n const encodedOrigin = nativeAuthClient.encodeValue(origin);\n\n return `${encodedOrigin}.${hash}.${expirySeconds}.${encodedExtraInfo}`;\n };\n\n const getToken = ({\n address,\n token,\n signature\n }: {\n address: string;\n token: string;\n signature: string;\n }): string => nativeAuthClient.getToken(address, token, signature);\n\n return {\n initialize,\n getToken,\n getTokenExpiration\n };\n};\n"],
|
|
5
|
+
"mappings": "2HAAA,OAAS,oBAAAA,MAAwB,qCAiB1B,IAAMC,EAAcC,GAAkC,CAC3D,GAAM,CACJ,OAAAC,EACA,WAAAC,EACA,cAAAC,EACA,eAAAC,EACA,UAAWC,EACX,WAAAC,EACA,oBAAAC,CACF,EAAIC,EAAsBR,CAAM,EAE1BS,EAAmB,IAAIC,EAAiB,CAC5C,OAAAT,EACA,OAAQC,EACR,cAAAC,EACA,eAAAC,EACA,WAAAE,EACA,oBAAAC,CACF,CAAC,EA2CD,MAAO,CACL,WA1CiB,MACjBI,GACoB,CACpB,GAAI,CAACT,GAAc,CAACD,EAClB,MAAO,GAGT,IAAMW,EAAe,IACnBH,EAAiB,oBAAoB,EAEnCI,EAAkBF,GAAW,gBAEjCE,IAAoB,MAAMC,EAAmB,CAC3C,WAAAZ,EACA,eAAAE,EACA,aAAAQ,EACA,QAASD,GAAW,OACtB,CAAC,EAED,GAAM,CAAE,KAAAI,EAAM,UAAAC,CAAU,EAAIH,EACtBI,EAAmBR,EAAiB,YACxC,KAAK,UAAU,CACb,GAAIE,GAAW,WAAaN,EAC5B,GAAIW,EAAY,CAAE,UAAAA,CAAU,EAAI,CAAC,CACnC,CAAC,CACH,EAGA,MAAO,GAFeP,EAAiB,YAAYR,CAAM,CAElC,IAAIc,CAAI,IAAIZ,CAAa,IAAIc,CAAgB,EACtE,EAcE,SAZe,CAAC,CAChB,QAAAC,EACA,MAAAC,EACA,UAAAC,CACF,IAIcX,EAAiB,SAASS,EAASC,EAAOC,CAAS,EAK/D,mBAAAC,CACF,CACF",
|
|
6
|
+
"names": ["NativeAuthClient", "nativeAuth", "config", "origin", "apiAddress", "expirySeconds", "blockHashShard", "extraInfoFromConfig", "gatewayUrl", "extraRequestHeaders", "buildNativeAuthConfig", "nativeAuthClient", "NativeAuthClient", "initProps", "getBlockHash", "latestBlockInfo", "getLatestBlockHash", "hash", "timestamp", "encodedExtraInfo", "address", "token", "signature", "getTokenExpiration"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as r}from"./chunk-KR2GUJDQ.mjs";import{e}from"./chunk-QNYO7NI5.mjs";var o=class i extends r{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_SIGN_TRANSACTIONS",uiTag:"mvx-sign-transactions-panel"});this.addressesPerPage=10;this._gasPriceOptionMap={};this.initialData={commonData:{transactionsCount:0,currentIndexToSign:0,egldLabel:"",currentIndex:0,gasPriceOption:0,gasPriceOptions:[],address:"",origin:""},tokenTransaction:null,nftTransaction:null,sftTransaction:null};this.data={...this.initialData}}static getInstance(){return i.instance||(i.instance=new i),i.instance}get transactionsCount(){return this.data.commonData.transactionsCount}initializeGasPriceMap(a){a.filter(t=>t!=null).forEach(t=>{let s=t?Number(t.gasPrice):1e9;this.updateGasPriceMap({nonce:Number(t.nonce),gasPriceOption:s,initialGasPrice:s})});let n=Number(a[0]?.gasPrice)||1e9;this.updateCommonData({gasPriceOption:n})}updateGasPriceMap({nonce:a,gasPriceOption:n,initialGasPrice:t}){this._gasPriceOptionMap[a]={...this._gasPriceOptionMap[a],gasPriceOption:n},t&&(this._gasPriceOptionMap[a].initialGasPrice=t)}updateCommonData(a){this.data.commonData={...this.data.commonData,...a},this.notifyDataUpdate()}updateIsLoading(a){this.data.isLoading=a,this.notifyDataUpdate()}updateTokenTransaction(a){this.data.tokenTransaction=a,this.data.sftTransaction=null,this.data.nftTransaction=null,this.notifyDataUpdate()}updateNonFungibleTransaction(a,n){switch(a){case"NonFungibleESDT":this.data.nftTransaction=n,this.data.tokenTransaction=null,this.data.sftTransaction=null;break;case"SemiFungibleESDT":this.data.sftTransaction=n,this.data.nftTransaction=null,this.data.tokenTransaction=null;break;default:break}this.notifyDataUpdate()}get currentScreenIndex(){return this.data.commonData.currentIndex}get getGasPriceOptionMap(){return this._gasPriceOptionMap}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",this.closeUI.bind(this))}};export{o as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YKHYAKVW.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as n}from"./chunk-W6XNEY4N.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-YPH67JEE.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/apiCalls/economics/getEconomics.ts"],
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { ECONOMICS_ENDPOINT } from 'apiCalls/endpoints';\n\nexport interface EconomicsInfoType {\n totalSupply: number;\n circulatingSupply: number;\n staked: number;\n price: number;\n marketCap: number;\n apr: number;\n topUpApr: number;\n}\n\nexport async function getEconomics({\n url = ECONOMICS_ENDPOINT,\n baseURL\n}: {\n url?: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n const configUrl = `${apiAddress}/${url}`;\n try {\n const { data } = await axios.get<EconomicsInfoType>(configUrl);\n return data;\n } catch (err) {\n console.error('err fetching economics info', err);\n return null;\n }\n}\n"],
|
|
5
|
+
"mappings": "kFAAA,OAAOA,MAAW,QAclB,eAAsBC,EAAa,CACjC,IAAAC,EAAMC,EACN,QAAAC,CACF,EAGG,CAED,IAAMC,EAAY,GADCC,EAAmBF,CAAO,CACd,IAAIF,CAAG,GACtC,GAAI,CACF,GAAM,CAAE,KAAAK,CAAK,EAAI,MAAMC,EAAM,IAAuBH,CAAS,EAC7D,OAAOE,CACT,OAASE,EAAK,CACZ,eAAQ,MAAM,8BAA+BA,CAAG,EACzC,IACT,CACF",
|
|
6
|
+
"names": ["axios", "getEconomics", "url", "ECONOMICS_ENDPOINT", "baseURL", "configUrl", "getCleanApiAddress", "data", "axios", "err"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as s}from"./chunk-766V4L43.mjs";import{a as o}from"./chunk-LJX4MW7B.mjs";import{a as e,b as t}from"./chunk-D5L63X7Y.mjs";import{WebviewProvider as a}from"@multiversx/sdk-webview-provider/out/WebviewProvider";var n=class extends s{constructor(r){super(r?.address);this.cancelAction=async()=>{this.provider.cancelAction()};this.signTransactions=async r=>{if(!this.provider)throw new Error("Provider is not initialized.");try{return await this.provider.signTransactions(r)||[]}catch(i){throw this.cancelAction(),i}};this.signMessage=async r=>{if(!this.provider)throw new Error("Provider is not initialized.");try{return await this.provider.signMessage(r)}catch(i){throw this.cancelAction(),i}};this.provider=a.getInstance({resetStateCallback:()=>{e.localStorage?.clear?.(),e.sessionStorage?.clear?.()}}),this._login=this.provider.login.bind(this.provider)}async init(){return this.initializeAddress(),this.initializeProvider()}logout(){return this.provider.logout()}getType(){return o.webview}getAddress(){throw new Error("Method not implemented.")}setAccount(r){return this.provider.setAccount(r)}isInitialized(){return this.provider.isInitialized()}async initializeProvider(){let r=await this.provider.init(t);return this.address&&this.setAccount({address:this.address}),r}};export{n as a};
|
|
2
|
+
//# sourceMappingURL=chunk-YYZKVLX7.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d,c as u}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as d,c as u}from"./chunk-PWAP64SN.mjs";import{a as f}from"./chunk-I3MK6KZJ.mjs";import{c as o}from"./chunk-NTEMINYA.mjs";import{f as l}from"./chunk-NWJYEKI2.mjs";import{a as m,b as p}from"./chunk-WRLZ5ICK.mjs";function h(t,r,s=""){if(!f(t))return!1;if(new o(t).isSmartContract())return!0;let i=S({receiver:t,data:s});return i?new o(i).isSmartContract()||g(t,r,s):!1}function g(t,r,s){let n=s?.split("@");if(n==null)return!1;let[e,...i]=n,a=r!=null&&t!=null&&t===r,T=Object.values(l).includes(e),C=i.every(c=>m(c)&&p(c));return a&&T&&C}function S({receiver:t,data:r}){try{if(!r)return t;let s=d(r)?u(r):r,n=E(s),e=s.split("@");return n>-1?e[n]:t}catch(s){console.log(s);return}}function E(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}export{h as a,g as b,S as c};
|
|
2
|
+
//# sourceMappingURL=chunk-Z6OAKBWP.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/validation/isContract.ts"],
|
|
4
|
+
"sourcesContent": ["import { Address } from 'lib/sdkCore';\nimport {\n ESDTTransferTypesEnum,\n TypesOfSmartContractCallsEnum\n} from 'types/enums.types';\nimport { decodeBase64, isStringBase64 } from 'utils/decoders/base64Utils';\nimport { addressIsValid } from './addressIsValid';\nimport { isHexValidCharacters, isHexValidLength } from './hex';\n\nexport function isContract(\n receiver: string,\n sender?: string,\n data = ''\n): boolean {\n const isValid = addressIsValid(receiver);\n\n if (!isValid) {\n return false;\n }\n\n const isContractAddress = new Address(receiver).isSmartContract();\n\n if (isContractAddress) {\n return true;\n }\n\n const extractedAddress = getAddressFromDataField({ receiver, data });\n\n if (!extractedAddress) {\n return false;\n }\n\n const isExtractedAddressContractCall = new Address(\n extractedAddress\n ).isSmartContract();\n\n return (\n isExtractedAddressContractCall || isSelfESDTContract(receiver, sender, data)\n );\n}\n\nexport function isSelfESDTContract(\n receiver: string,\n sender?: string,\n data?: string\n) {\n const parts = data?.split('@');\n if (parts == null) {\n return false;\n }\n const [type, ...restParts] = parts;\n const isSelfTransaction =\n sender != null && receiver != null && receiver === sender;\n const isCorrectESDTType = Object.values(ESDTTransferTypesEnum).includes(\n type as ESDTTransferTypesEnum\n );\n const areDataPartsValid = restParts.every(\n (part) => isHexValidCharacters(part) && isHexValidLength(part)\n );\n return isSelfTransaction && isCorrectESDTType && areDataPartsValid;\n}\n\nexport function getAddressFromDataField({\n receiver,\n data\n}: {\n receiver: string;\n data: string;\n}) {\n try {\n if (!data) {\n return receiver;\n }\n const parsedData = isStringBase64(data) ? decodeBase64(data) : data;\n\n const addressIndex = getAddressIndex(parsedData);\n\n const parts = parsedData.split('@');\n return addressIndex > -1 ? parts[addressIndex] : receiver;\n } catch (err) {\n console.log(err);\n return;\n }\n}\n\nfunction getAddressIndex(data: string) {\n if (data.includes(TypesOfSmartContractCallsEnum.MultiESDTNFTTransfer)) {\n return 1;\n }\n if (data.includes(TypesOfSmartContractCallsEnum.ESDTNFTTransfer)) {\n return 4;\n }\n return -1;\n}\n"],
|
|
5
|
+
"mappings": "2NASO,SAASA,EACdC,EACAC,EACAC,EAAO,GACE,CAGT,GAAI,CAFYC,EAAeH,CAAQ,EAGrC,MAAO,GAKT,GAF0B,IAAII,EAAQJ,CAAQ,EAAE,gBAAgB,EAG9D,MAAO,GAGT,IAAMK,EAAmBC,EAAwB,CAAE,SAAAN,EAAU,KAAAE,CAAK,CAAC,EAEnE,OAAKG,EAIkC,IAAID,EACzCC,CACF,EAAE,gBAAgB,GAGkBE,EAAmBP,EAAUC,EAAQC,CAAI,EARpE,EAUX,CAEO,SAASK,EACdP,EACAC,EACAC,EACA,CACA,IAAMM,EAAQN,GAAM,MAAM,GAAG,EAC7B,GAAIM,GAAS,KACX,MAAO,GAET,GAAM,CAACC,EAAM,GAAGC,CAAS,EAAIF,EACvBG,EACJV,GAAU,MAAQD,GAAY,MAAQA,IAAaC,EAC/CW,EAAoB,OAAO,OAAOC,CAAqB,EAAE,SAC7DJ,CACF,EACMK,EAAoBJ,EAAU,MACjCK,GAASC,EAAqBD,CAAI,GAAKE,EAAiBF,CAAI,CAC/D,EACA,OAAOJ,GAAqBC,GAAqBE,CACnD,CAEO,SAASR,EAAwB,CACtC,SAAAN,EACA,KAAAE,CACF,EAGG,CACD,GAAI,CACF,GAAI,CAACA,EACH,OAAOF,EAET,IAAMkB,EAAaC,EAAejB,CAAI,EAAIkB,EAAalB,CAAI,EAAIA,EAEzDmB,EAAeC,EAAgBJ,CAAU,EAEzCV,EAAQU,EAAW,MAAM,GAAG,EAClC,OAAOG,EAAe,GAAKb,EAAMa,CAAY,EAAIrB,CACnD,OAASuB,EAAK,CACZ,QAAQ,IAAIA,CAAG,EACf,MACF,CACF,CAEA,SAASD,EAAgBpB,EAAc,CACrC,OAAIA,EAAK,+BAA2D,EAC3D,EAELA,EAAK,0BAAsD,EACtD,EAEF,EACT",
|
|
6
|
+
"names": ["isContract", "receiver", "sender", "data", "addressIsValid", "Address", "extractedAddress", "getAddressFromDataField", "isSelfESDTContract", "parts", "type", "restParts", "isSelfTransaction", "isCorrectESDTType", "ESDTTransferTypesEnum", "areDataPartsValid", "part", "isHexValidCharacters", "isHexValidLength", "parsedData", "isStringBase64", "decodeBase64", "addressIndex", "getAddressIndex", "err"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{l as n}from"./chunk-HUZZMMJX.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";var e=async()=>{let o=n();if(o.getType()===i.crossWindow){let r=o;await r.cancelAction(),await r.dispose()}};export{e as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZMC2BF4F.mjs.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{d as c}from"./chunk-L7L56ZTG.mjs";import{a as m}from"./chunk-O6VPG7AF.mjs";import{a as d}from"./chunk-V4YC4AKQ.mjs";import{a as T}from"./chunk-QX32V6TT.mjs";import{b as p}from"./chunk-ZS4EBCWC.mjs";import{a as k}from"./chunk-B72JAXSF.mjs";import{a as g}from"./chunk-ZJ2WPN2K.mjs";import{a as f}from"./chunk-HS34AFHY.mjs";import{a as s}from"./chunk-B3IKUIRK.mjs";import{a as t}from"./chunk-YJCTRUJT.mjs";import{a as r}from"./chunk-QNELH2S2.mjs";import{a}from"./chunk-Z6OAKBWP.mjs";function z({transaction:e,address:h,explorerAddress:o}){let y=e.tokenIdentifier??p(e.data).tokenId,n=f(e),u=g(e),l={timeAgo:c(e.timestamp*1e3,!0),tooltip:s({value:e.timestamp,noSeconds:!1,utc:!0})},v=k({address:h,transaction:e,receiver:n}),I={actionDescription:e.action?.description,name:d(e)},S=m(e),D=t({explorerAddress:o,to:r.accountDetails(e.sender)}),L=t({explorerAddress:o,to:r.accountDetails(n)}),A=t({explorerAddress:o,to:r.senderShard(e.senderShard)}),H=t({explorerAddress:o,to:r.receiverShard(e.receiverShard)}),i=e.originalTxHash||e.txHash,x=t({explorerAddress:o,to:r.transactionDetails(i)});return{...e,txHash:i,tokenIdentifier:y,receiver:n,receiverAssets:u,transactionDetails:{age:l,direction:v,method:I,iconInfo:T(e),transactionTokens:S,isContract:a(e.sender)},links:{senderLink:D,receiverLink:L,senderShardLink:A,receiverShardLink:H,transactionLink:x}}}export{z as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ZOYJTXNI.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n InterpretedTransactionType,\n ServerTransactionType,\n TransactionAgeType,\n TransactionMethodType\n} from 'types/serverTransactions.types';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { timeAgo } from 'utils/operations/timeRemaining';\nimport { isContract } from 'utils/validation/isContract';\nimport { explorerUrlBuilder } from '../explorerUrlBuilder';\nimport { getExplorerLink } from '../getExplorerLink';\nimport { getHumanReadableTimeFormat } from '../getHumanReadableTimeFormat';\nimport { getTransactionTokens } from './getTransactionValue/helpers/getTransactionTokens';\nimport { getTokenFromData } from './helpers/getTokenFromData';\nimport { getTransactionIconInfo } from './helpers/getTransactionIconInfo';\nimport { getTransactionMethod } from './helpers/getTransactionMethod';\nimport { getTransactionReceiver } from './helpers/getTransactionReceiver';\nimport { getTransactionReceiverAssets } from './helpers/getTransactionReceiverAssets';\nimport { getTransactionTransferType } from './helpers/getTransactionTransferType';\n\nexport interface GetInterpretedTransactionType {\n address: string;\n explorerAddress: string;\n transaction: ServerTransactionType;\n}\n\nexport function getInterpretedTransaction({\n transaction,\n address,\n explorerAddress\n}: GetInterpretedTransactionType): InterpretedTransactionType {\n const tokenIdentifier =\n transaction.tokenIdentifier ?? getTokenFromData(transaction.data).tokenId;\n\n const receiver = getTransactionReceiver(transaction);\n const receiverAssets = getTransactionReceiverAssets(transaction);\n const age: TransactionAgeType = {\n timeAgo: timeAgo(transaction.timestamp * 1000, true),\n tooltip: getHumanReadableTimeFormat({\n value: transaction.timestamp,\n noSeconds: false,\n utc: true\n })\n };\n\n const direction = getTransactionTransferType({\n address,\n transaction,\n receiver\n });\n\n const method: TransactionMethodType = {\n actionDescription: transaction.action?.description,\n name: getTransactionMethod(transaction)\n };\n\n const transactionTokens: TokenArgumentType[] =\n getTransactionTokens(transaction);\n\n const senderLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(transaction.sender)\n });\n\n const receiverLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(receiver)\n });\n\n const senderShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.senderShard(transaction.senderShard)\n });\n\n const receiverShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.receiverShard(transaction.receiverShard)\n });\n\n const transactionHash = transaction.originalTxHash || transaction.txHash;\n\n const transactionLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.transactionDetails(transactionHash)\n });\n\n return {\n ...transaction,\n txHash: transactionHash,\n tokenIdentifier,\n receiver,\n receiverAssets,\n transactionDetails: {\n age,\n direction,\n method,\n iconInfo: getTransactionIconInfo(transaction),\n transactionTokens,\n isContract: isContract(transaction.sender)\n },\n links: {\n senderLink,\n receiverLink,\n senderShardLink,\n receiverShardLink,\n transactionLink\n }\n };\n}\n"],
|
|
5
|
+
"mappings": "ueA0BO,SAASA,EAA0B,CACxC,YAAAC,EACA,QAAAC,EACA,gBAAAC,CACF,EAA8D,CAC5D,IAAMC,EACJH,EAAY,iBAAmBI,EAAiBJ,EAAY,IAAI,EAAE,QAE9DK,EAAWC,EAAuBN,CAAW,EAC7CO,EAAiBC,EAA6BR,CAAW,EACzDS,EAA0B,CAC9B,QAASC,EAAQV,EAAY,UAAY,IAAM,EAAI,EACnD,QAASW,EAA2B,CAClC,MAAOX,EAAY,UACnB,UAAW,GACX,IAAK,EACP,CAAC,CACH,EAEMY,EAAYC,EAA2B,CAC3C,QAAAZ,EACA,YAAAD,EACA,SAAAK,CACF,CAAC,EAEKS,EAAgC,CACpC,kBAAmBd,EAAY,QAAQ,YACvC,KAAMe,EAAqBf,CAAW,CACxC,EAEMgB,EACJC,EAAqBjB,CAAW,EAE5BkB,EAAaC,EAAgB,CACjC,gBAAAjB,EACA,GAAIkB,EAAmB,eAAepB,EAAY,MAAM,CAC1D,CAAC,EAEKqB,EAAeF,EAAgB,CACnC,gBAAAjB,EACA,GAAIkB,EAAmB,eAAef,CAAQ,CAChD,CAAC,EAEKiB,EAAkBH,EAAgB,CACtC,gBAAAjB,EACA,GAAIkB,EAAmB,YAAYpB,EAAY,WAAW,CAC5D,CAAC,EAEKuB,EAAoBJ,EAAgB,CACxC,gBAAAjB,EACA,GAAIkB,EAAmB,cAAcpB,EAAY,aAAa,CAChE,CAAC,EAEKwB,EAAkBxB,EAAY,gBAAkBA,EAAY,OAE5DyB,EAAkBN,EAAgB,CACtC,gBAAAjB,EACA,GAAIkB,EAAmB,mBAAmBI,CAAe,CAC3D,CAAC,EAED,MAAO,CACL,GAAGxB,EACH,OAAQwB,EACR,gBAAArB,EACA,SAAAE,EACA,eAAAE,EACA,mBAAoB,CAClB,IAAAE,EACA,UAAAG,EACA,OAAAE,EACA,SAAUY,EAAuB1B,CAAW,EAC5C,kBAAAgB,EACA,WAAYW,EAAW3B,EAAY,MAAM,CAC3C,EACA,MAAO,CACL,WAAAkB,EACA,aAAAG,EACA,gBAAAC,EACA,kBAAAC,EACA,gBAAAE,CACF,CACF,CACF",
|
|
6
|
+
"names": ["getInterpretedTransaction", "transaction", "address", "explorerAddress", "tokenIdentifier", "getTokenFromData", "receiver", "getTransactionReceiver", "receiverAssets", "getTransactionReceiverAssets", "age", "timeAgo", "getHumanReadableTimeFormat", "direction", "getTransactionTransferType", "method", "getTransactionMethod", "transactionTokens", "getTransactionTokens", "senderLink", "getExplorerLink", "explorerUrlBuilder", "receiverLink", "senderShardLink", "receiverShardLink", "transactionHash", "transactionLink", "getTransactionIconInfo", "isContract"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/
|
|
1
|
+
"use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/configuration/getCleanApiAddress"),s=require("../../apiCalls/endpoints"),a=require("../../apiCalls/utils/axiosInstance"),u=require("../../constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
|
|
2
2
|
//# sourceMappingURL=getAccountFromApi.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/account/getAccountFromApi.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,EAAA,sBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAkC,8BAClCC,EAA8B,wCAC9BC,
|
|
6
|
-
"names": ["getAccountFromApi_exports", "__export", "accountFetcher", "getAccountFromApi", "__toCommonJS", "
|
|
4
|
+
"sourcesContent": ["import { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { ACCOUNTS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { TIMEOUT } from 'constants/network.constants';\nimport { AccountType } from 'types/account.types';\n\nexport const accountFetcher = ({\n address,\n baseURL\n}: {\n address: string | null;\n baseURL: string;\n}) => {\n const apiAddress = getCleanApiAddress(baseURL);\n const url = `${apiAddress}/${ACCOUNTS_ENDPOINT}/${address}?withGuardianInfo=true`;\n // we need to get it with an axios instance because of cross-window user interaction issues\n return axiosInstance.get(url, {\n baseURL: apiAddress,\n timeout: TIMEOUT\n });\n};\n\nexport const getAccountFromApi = async ({\n address,\n baseURL\n}: {\n address?: string;\n baseURL: string;\n}) => {\n if (!address) {\n return null;\n }\n\n try {\n const { data } = await accountFetcher({ address, baseURL });\n return data as AccountType;\n } catch (_err) {\n console.error('error fetching configuration for ', address);\n }\n\n return null;\n};\n"],
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,EAAA,sBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAmC,qDACnCC,EAAkC,8BAClCC,EAA8B,wCAC9BC,EAAwB,uCAGjB,MAAMN,EAAiB,CAAC,CAC7B,QAAAO,EACA,QAAAC,CACF,IAGM,CACJ,MAAMC,KAAa,sBAAmBD,CAAO,EACvCE,EAAM,GAAGD,CAAU,IAAI,mBAAiB,IAAIF,CAAO,yBAEzD,OAAO,gBAAc,IAAIG,EAAK,CAC5B,QAASD,EACT,QAAS,SACX,CAAC,CACH,EAEaR,EAAoB,MAAO,CACtC,QAAAM,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,EACH,OAAO,KAGT,GAAI,CACF,KAAM,CAAE,KAAAI,CAAK,EAAI,MAAMX,EAAe,CAAE,QAAAO,EAAS,QAAAC,CAAQ,CAAC,EAC1D,OAAOG,CACT,MAAe,CACb,QAAQ,MAAM,oCAAqCJ,CAAO,CAC5D,CAEA,OAAO,IACT",
|
|
6
|
+
"names": ["getAccountFromApi_exports", "__export", "accountFetcher", "getAccountFromApi", "__toCommonJS", "import_getCleanApiAddress", "import_endpoints", "import_axiosInstance", "import_network", "address", "baseURL", "apiAddress", "url", "data"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../../__chunks__/chunk-
|
|
1
|
+
import{a,b}from"../../__chunks__/chunk-GVAJPM5C.mjs";import"../../__chunks__/chunk-W6XNEY4N.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-D5L63X7Y.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/
|
|
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/configuration/getCleanApiAddress"),d=require("../../constants/network.constants"),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/
|
|
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", "import_getCleanApiAddress", "
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/network.constants';\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,qDACnCC,EAAwB,uCAExBC,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_network", "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-OCLD2VI4.mjs";import"../../__chunks__/chunk-W6XNEY4N.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-D5L63X7Y.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-W6XNEY4N.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";export{a as getCleanApiAddress};
|
|
2
2
|
//# sourceMappingURL=getCleanApiAddress.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-HDCJEKHM.mjs";import"../../__chunks__/chunk-W6XNEY4N.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";export{a as getGasStationMetadataFromApi};
|
|
2
2
|
//# sourceMappingURL=getGasStationMetadata.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/
|
|
1
|
+
"use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/configuration/getCleanApiAddress"),a=require("../../apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
|
|
2
2
|
//# sourceMappingURL=getEconomics.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/economics/getEconomics.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport {
|
|
5
|
-
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,
|
|
6
|
-
"names": ["getEconomics_exports", "__export", "getEconomics", "__toCommonJS", "import_axios", "
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { ECONOMICS_ENDPOINT } from 'apiCalls/endpoints';\n\nexport interface EconomicsInfoType {\n totalSupply: number;\n circulatingSupply: number;\n staked: number;\n price: number;\n marketCap: number;\n apr: number;\n topUpApr: number;\n}\n\nexport async function getEconomics({\n url = ECONOMICS_ENDPOINT,\n baseURL\n}: {\n url?: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n const configUrl = `${apiAddress}/${url}`;\n try {\n const { data } = await axios.get<EconomicsInfoType>(configUrl);\n return data;\n } catch (err) {\n console.error('err fetching economics info', err);\n return null;\n }\n}\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,qDACnCC,EAAmC,8BAYnC,eAAsBJ,EAAa,CACjC,IAAAK,EAAM,qBACN,QAAAC,CACF,EAGG,CAED,MAAMC,EAAY,MADC,sBAAmBD,CAAO,CACd,IAAID,CAAG,GACtC,GAAI,CACF,KAAM,CAAE,KAAAG,CAAK,EAAI,MAAM,EAAAC,QAAM,IAAuBF,CAAS,EAC7D,OAAOC,CACT,OAASE,EAAK,CACZ,eAAQ,MAAM,8BAA+BA,CAAG,EACzC,IACT,CACF",
|
|
6
|
+
"names": ["getEconomics_exports", "__export", "getEconomics", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_endpoints", "url", "baseURL", "configUrl", "data", "axios", "err"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-YPH67JEE.mjs";import"../../__chunks__/chunk-W6XNEY4N.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";export{a as getEconomics};
|
|
2
2
|
//# sourceMappingURL=getEconomics.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-NYZ726DG.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-XPASD5P4.mjs";import"../../__chunks__/chunk-NYZ726DG.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";export{a as getPersistedTokenDetails};
|
|
2
2
|
//# sourceMappingURL=getPersistedTokenDetails.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var u=(n,t)=>{for(var i in t)a(n,i,{get:t[i],enumerable:!0})},y=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of N(t))!g.call(n,r)&&r!==i&&a(n,r,{get:()=>t[r],enumerable:!(o=T(t,r))||o.enumerable});return n};var b=n=>y(a({},"__esModule",{value:!0}),n);var I={};u(I,{getTokenDetails:()=>D});module.exports=b(I);var s=require("../../apiCalls/endpoints"),m=require("../../apiCalls/utils/axiosInstance"),c=require("../../store/selectors"),k=require("../../store/store"),p=require("../../utils/validation/getIdentifierType");async function D({tokenId:n}){const t=(0,c.networkSelector)((0,k.getState)()),{isNft:i}=(0,p.getIdentifierType)(n),o=n,r=i?s.NFTS_ENDPOINT:s.TOKENS_ENDPOINT;if(!o)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{const{data:e}=await m.axiosInstance.get(`${t.apiAddress}/${r}/${o}`),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 ${o}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:o}}}0&&(module.exports={getTokenDetails});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var u=(n,t)=>{for(var i in t)a(n,i,{get:t[i],enumerable:!0})},y=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of N(t))!g.call(n,r)&&r!==i&&a(n,r,{get:()=>t[r],enumerable:!(o=T(t,r))||o.enumerable});return n};var b=n=>y(a({},"__esModule",{value:!0}),n);var I={};u(I,{getTokenDetails:()=>D});module.exports=b(I);var s=require("../../apiCalls/endpoints"),m=require("../../apiCalls/utils/axiosInstance"),c=require("../../store/selectors/networkSelectors"),k=require("../../store/store"),p=require("../../utils/validation/getIdentifierType");async function D({tokenId:n}){const t=(0,c.networkSelector)((0,k.getState)()),{isNft:i}=(0,p.getIdentifierType)(n),o=n,r=i?s.NFTS_ENDPOINT:s.TOKENS_ENDPOINT;if(!o)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{const{data:e}=await m.axiosInstance.get(`${t.apiAddress}/${r}/${o}`),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 ${o}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:o}}}0&&(module.exports={getTokenDetails});
|
|
2
2
|
//# sourceMappingURL=getTokenDetails.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
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": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+C,8BAC/CC,EAA8B,wCAC9BC,EAAgC,
|
|
6
|
-
"names": ["getTokenDetails_exports", "__export", "getTokenDetails", "__toCommonJS", "import_endpoints", "import_axiosInstance", "
|
|
4
|
+
"sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors/networkSelectors';\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": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+C,8BAC/CC,EAA8B,wCAC9BC,EAAgC,4CAChCC,EAAyB,uBAEzBC,EAAkC,8CAElC,eAAsBN,EAAgB,CACpC,QAAAO,CACF,EAE6B,CAC3B,MAAMC,KAAU,sBAAgB,YAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,KAAI,qBAAkBF,CAAO,EAErCG,EAAkBH,EAClBI,EAAgBF,EAAQ,gBAAgB,kBAE9C,GAAI,CAACC,EACH,MAAO,CACL,cAAe,OAAOF,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,KAAM,CAAE,KAAMI,CAAc,EAAI,MAAM,gBAAc,IAClD,GAAGJ,EAAQ,UAAU,IAAIG,CAAa,IAAID,CAAe,EAC3D,EAEMG,EAAgBD,EAClBA,GAAe,SACf,OAAOJ,EAAQ,QAAQ,EACrBM,EAAaF,EAAgBA,GAAe,KAAO,GACnDG,EAAcH,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeC,EACf,WAAAC,EACA,KAAMF,GAAe,KACrB,YAAAG,EACA,WAAYH,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASI,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBN,CAAe,KAAKM,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOR,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYE,CACd,CACF,CACF",
|
|
6
|
+
"names": ["getTokenDetails_exports", "__export", "getTokenDetails", "__toCommonJS", "import_endpoints", "import_axiosInstance", "import_networkSelectors", "import_store", "import_getIdentifierType", "tokenId", "network", "isNft", "tokenIdentifier", "tokenEndpoint", "selectedToken", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as c}from"../../__chunks__/chunk-N56SMVGU.mjs";import{b as m}from"../../__chunks__/chunk-7VHTZYM2.mjs";import{a as r}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as i}from"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{o as s,u as a}from"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";async function b({tokenId:o}){let t=m(i()),{isNft:k}=r(o),n=o,p=k?s:a;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await c.get(`${t.apiAddress}/${p}/${n}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${n}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:n}}}export{b as getTokenDetails};
|
|
2
2
|
//# sourceMappingURL=getTokenDetails.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
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": "
|
|
4
|
+
"sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors/networkSelectors';\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": "++CAOA,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
6
|
"names": ["getTokenDetails", "tokenId", "network", "networkSelector", "getState", "isNft", "getIdentifierType", "tokenIdentifier", "tokenEndpoint", "NFTS_ENDPOINT", "TOKENS_ENDPOINT", "selectedToken", "axiosInstance", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
|
|
7
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../../__chunks__/chunk-
|
|
1
|
+
import{a}from"../../__chunks__/chunk-SMEKGCKH.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-4D2LHSRB.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-LKC3E6AW.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-D5L63X7Y.mjs";export{a as getServerTransactionsByHashes};
|
|
2
2
|
//# sourceMappingURL=getServerTransactionsByHashes.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var c=Object.create;var i=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var y=(r,t)=>{for(var o in t)i(r,o,{get:t[o],enumerable:!0})},n=(r,t,o,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of f(t))!N.call(r,e)&&e!==o&&i(r,e,{get:()=>t[e],enumerable:!(m=S(t,e))||m.enumerable});return r};var A=(r,t,o)=>(o=r!=null?c(g(r)):{},n(t||!r||!r.__esModule?i(o,"default",{value:r,enumerable:!0}):o,r)),$=r=>n(i({},"__esModule",{value:!0}),r);var u={};y(u,{getTransactionByHash:()=>d});module.exports=$(u);var a=A(require("axios")),s=require("../../apiCalls/endpoints"),p=require("../../store/selectors"),T=require("../../store/store");const d=r=>{const{apiAddress:t}=(0,p.networkSelector)((0,T.getState)());return a.default.get(`${t}/${s.TRANSACTIONS_ENDPOINT}/${r}`,{timeout:1e4})};0&&(module.exports={getTransactionByHash});
|
|
1
|
+
"use strict";var c=Object.create;var i=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var y=(r,t)=>{for(var o in t)i(r,o,{get:t[o],enumerable:!0})},n=(r,t,o,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of f(t))!N.call(r,e)&&e!==o&&i(r,e,{get:()=>t[e],enumerable:!(m=S(t,e))||m.enumerable});return r};var A=(r,t,o)=>(o=r!=null?c(g(r)):{},n(t||!r||!r.__esModule?i(o,"default",{value:r,enumerable:!0}):o,r)),$=r=>n(i({},"__esModule",{value:!0}),r);var u={};y(u,{getTransactionByHash:()=>d});module.exports=$(u);var a=A(require("axios")),s=require("../../apiCalls/endpoints"),p=require("../../store/selectors/networkSelectors"),T=require("../../store/store");const d=r=>{const{apiAddress:t}=(0,p.networkSelector)((0,T.getState)());return a.default.get(`${t}/${s.TRANSACTIONS_ENDPOINT}/${r}`,{timeout:1e4})};0&&(module.exports={getTransactionByHash});
|
|
2
2
|
//# sourceMappingURL=getTransactionByHash.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/apiCalls/transactions/getTransactionByHash.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport { TRANSACTIONS_ENDPOINT } from 'apiCalls/endpoints';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport const getTransactionByHash = (hash: string) => {\n const { apiAddress } = networkSelector(getState());\n\n return axios.get<ServerTransactionType>(\n `${apiAddress}/${TRANSACTIONS_ENDPOINT}/${hash}`,\n {\n timeout: 10000 // 10sec\n }\n );\n};\n"],
|
|
5
|
-
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAsC,8BACtCC,EAAgC,
|
|
6
|
-
"names": ["getTransactionByHash_exports", "__export", "getTransactionByHash", "__toCommonJS", "import_axios", "import_endpoints", "
|
|
4
|
+
"sourcesContent": ["import axios from 'axios';\nimport { TRANSACTIONS_ENDPOINT } from 'apiCalls/endpoints';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\n\nexport const getTransactionByHash = (hash: string) => {\n const { apiAddress } = networkSelector(getState());\n\n return axios.get<ServerTransactionType>(\n `${apiAddress}/${TRANSACTIONS_ENDPOINT}/${hash}`,\n {\n timeout: 10000 // 10sec\n }\n );\n};\n"],
|
|
5
|
+
"mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,0BAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAsC,8BACtCC,EAAgC,4CAChCC,EAAyB,uBAGlB,MAAML,EAAwBM,GAAiB,CACpD,KAAM,CAAE,WAAAC,CAAW,KAAI,sBAAgB,YAAS,CAAC,EAEjD,OAAO,EAAAC,QAAM,IACX,GAAGD,CAAU,IAAI,uBAAqB,IAAID,CAAI,GAC9C,CACE,QAAS,GACX,CACF,CACF",
|
|
6
|
+
"names": ["getTransactionByHash_exports", "__export", "getTransactionByHash", "__toCommonJS", "import_axios", "import_endpoints", "import_networkSelectors", "import_store", "hash", "apiAddress", "axios"]
|
|
7
7
|
}
|