@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,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
|
|
4
|
-
"sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
|
|
5
|
-
"mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOM,GAElC,CACA,CAACA,GAAS,iBAAmBR,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAS,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACV,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEW,EAAyBX,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAE,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBV,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAS,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAML,EAAgB,QAAQ,CAChC,EAxFE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKa,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAsEF,EA9Gab,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMc,EAANd",
|
|
6
|
-
"names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-7WJMUTGI.mjs";import{a as p}from"./chunk-PW34EFS7.mjs";import{a as m}from"./chunk-YGMILCHH.mjs";import{a as g}from"./chunk-5W7PFHTT.mjs";import{a as c}from"./chunk-2RTOYKHB.mjs";import{b as a}from"./chunk-LYSI4URP.mjs";import{f as i}from"./chunk-XNSSZDSU.mjs";import{a as d}from"./chunk-LJX4MW7B.mjs";async function E({options:r,config:t,provider:o,login:l}){let n=s.getInstance(),L=c(),u=g({loginToken:r?.token,version:t.version});await m({manager:n,provider:o});let e=await p({manager:n,provider:o,login:l,token:r?.token,explorerAddress:L,authData:u}),{version:f,dataEnabled:T}=t;return i({index:e.addressIndex,loginType:d.ledger}),a({address:e.address,index:e.addressIndex,version:f,hasContractDataEnabled:T}),{address:e.address,signature:e.signature}}export{E as a};
|
|
2
|
-
//# sourceMappingURL=chunk-TOZ7EGCZ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.ts"],
|
|
4
|
-
"sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { setLedgerAccount } from 'store/actions';\nimport { setLedgerLogin } from 'store/actions/loginInfo/loginInfoActions';\n\nimport { getAuthTokenText } from './helpers/getAuthTokenText';\nimport { updateAccountsList } from './helpers/updateAccountsList';\nimport { waitForLedgerSelection } from './helpers/waitForLedgerSelection';\nimport {\n LedgerConfigType,\n LedgerLoginType\n} from '../../types/ledgerProvider.types';\n\ninterface IGetLedgerLogin {\n options?: {\n callbackUrl?: string;\n token?: string;\n };\n config: LedgerConfigType;\n provider: HWProvider | null;\n login: LedgerLoginType | null;\n}\n\nexport async function authenticateLedgerAccount({\n options,\n config,\n provider,\n login\n}: IGetLedgerLogin) {\n const manager = LedgerConnectStateManager.getInstance();\n\n const explorerAddress = getExplorerAddress();\n\n const authData = getAuthTokenText({\n loginToken: options?.token,\n version: config.version\n });\n\n // refresh account list\n await updateAccountsList({ manager, provider });\n\n // cycle through accounts until user makes a choice\n const selectedAccount = await waitForLedgerSelection({\n manager,\n provider,\n login,\n token: options?.token,\n explorerAddress,\n authData\n });\n\n const { version, dataEnabled } = config;\n\n // login is finished, data can be persisted in the store\n setLedgerLogin({\n index: selectedAccount.addressIndex,\n loginType: ProviderTypeEnum.ledger\n });\n\n setLedgerAccount({\n address: selectedAccount.address,\n index: selectedAccount.addressIndex,\n version,\n hasContractDataEnabled: dataEnabled\n });\n\n return {\n address: selectedAccount.address,\n signature: selectedAccount.signature\n };\n}\n"],
|
|
5
|
-
"mappings": "wUAyBA,eAAsBA,EAA0B,CAC9C,QAAAC,EACA,OAAAC,EACA,SAAAC,EACA,MAAAC,CACF,EAAoB,CAClB,IAAMC,EAAUC,EAA0B,YAAY,EAEhDC,EAAkBC,EAAmB,EAErCC,EAAWC,EAAiB,CAChC,WAAYT,GAAS,MACrB,QAASC,EAAO,OAClB,CAAC,EAGD,MAAMS,EAAmB,CAAE,QAAAN,EAAS,SAAAF,CAAS,CAAC,EAG9C,IAAMS,EAAkB,MAAMC,EAAuB,CACnD,QAAAR,EACA,SAAAF,EACA,MAAAC,EACA,MAAOH,GAAS,MAChB,gBAAAM,EACA,SAAAE,CACF,CAAC,EAEK,CAAE,QAAAK,EAAS,YAAAC,CAAY,EAAIb,EAGjC,OAAAc,EAAe,CACb,MAAOJ,EAAgB,aACvB,UAAWK,EAAiB,MAC9B,CAAC,EAEDC,EAAiB,CACf,QAASN,EAAgB,QACzB,MAAOA,EAAgB,aACvB,QAAAE,EACA,uBAAwBC,CAC1B,CAAC,EAEM,CACL,QAASH,EAAgB,QACzB,UAAWA,EAAgB,SAC7B,CACF",
|
|
6
|
-
"names": ["authenticateLedgerAccount", "options", "config", "provider", "login", "manager", "LedgerConnectStateManager", "explorerAddress", "getExplorerAddress", "authData", "getAuthTokenText", "updateAccountsList", "selectedAccount", "waitForLedgerSelection", "version", "dataEnabled", "setLedgerLogin", "ProviderTypeEnum", "setLedgerAccount"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/ComponentFactory.ts"],
|
|
4
|
-
"sourcesContent": ["import { safeWindow } from 'constants/index';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport type { IEventBus } from 'lib/sdkDappUi';\n\nexport interface CreateEventBusUIElementType extends HTMLElement {\n getEventBus: () => Promise<IEventBus | null>;\n}\n\nexport type CreateComponentType = <T = CreateEventBusUIElementType>({\n name,\n anchor\n}: {\n name: `${UITagsEnum}`;\n anchor?: HTMLElement;\n}) => Promise<T>;\n\nexport class ComponentFactory {\n private static createComponent: CreateComponentType = async <\n T = CreateEventBusUIElementType\n >({\n name,\n anchor\n }: {\n name: `${UITagsEnum}`;\n anchor?: HTMLElement;\n }) => {\n const webComponent = safeWindow?.customElements?.get(name);\n\n if (!webComponent) {\n return null as T;\n }\n\n const element = safeWindow.document.createElement(name);\n const rootElement = anchor || safeWindow.document.body;\n rootElement.appendChild(element);\n await customElements.whenDefined(name);\n\n return element as T;\n };\n\n static get create() {\n return this.createComponent;\n }\n\n static set create(customCreateFunction: CreateComponentType) {\n this.createComponent = customCreateFunction;\n }\n}\n"],
|
|
5
|
-
"mappings": "yCAgBO,IAAMA,EAAN,KAAuB,CAwB5B,WAAW,QAAS,CAClB,OAAO,KAAK,eACd,CAEA,WAAW,OAAOC,EAA2C,CAC3D,KAAK,gBAAkBA,CACzB,CACF,EA/BaD,EACI,gBAAuC,MAEpD,CACA,KAAAE,EACA,OAAAC,CACF,IAGM,CAGJ,GAAI,CAFiBC,GAAY,gBAAgB,IAAIF,CAAI,EAGvD,OAAO,KAGT,IAAMG,EAAUD,EAAW,SAAS,cAAcF,CAAI,EAEtD,OADoBC,GAAUC,EAAW,SAAS,MACtC,YAAYC,CAAO,EAC/B,MAAM,eAAe,YAAYH,CAAI,EAE9BG,CACT",
|
|
6
|
-
"names": ["ComponentFactory", "customCreateFunction", "name", "anchor", "safeWindow", "element"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-TRMQFQOQ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/managers/ToastManager/helpers/getToastTransactionsStatus.ts"],
|
|
4
|
-
"sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { isServerTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types';\n\nexport const getToastTransactionsStatus = (\n transactions: ITransactionListItem[]\n) => {\n const processedTransactions = transactions.filter(\n (tx) =>\n !isServerTransactionPending(tx.status as TransactionServerStatusesEnum)\n ).length;\n\n const totalTransactions = transactions.length;\n\n if (totalTransactions === 1 && processedTransactions === 1) {\n return isServerTransactionPending(\n transactions[0].status as TransactionServerStatusesEnum\n )\n ? 'Processing transaction'\n : 'Transaction processed';\n }\n\n return `${processedTransactions} / ${totalTransactions} transactions processed`;\n};\n"],
|
|
5
|
-
"mappings": "yCAIO,IAAMA,EACXC,GACG,CACH,IAAMC,EAAwBD,EAAa,OACxCE,GACC,CAACC,EAA2BD,EAAG,MAAuC,CAC1E,EAAE,OAEIE,EAAoBJ,EAAa,OAEvC,OAAII,IAAsB,GAAKH,IAA0B,EAChDE,EACLH,EAAa,CAAC,EAAE,MAClB,EACI,yBACA,wBAGC,GAAGC,CAAqB,MAAMG,CAAiB,yBACxD",
|
|
6
|
-
"names": ["getToastTransactionsStatus", "transactions", "processedTransactions", "tx", "isServerTransactionPending", "totalTransactions"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.ts"],
|
|
4
|
-
"sourcesContent": ["import { IconNamesEnum } from 'types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { capitalize } from 'utils/operations/capitalize';\nimport { getTransactionMessages } from './getTransactionMessages';\nimport { getTransactionStatus } from './getTransactionStatus';\n\nexport const getTransactionIconInfo = (\n transaction: ServerTransactionType\n): { icon?: `${IconNamesEnum}`; tooltip: string } => {\n const transactionMessages = getTransactionMessages(transaction);\n\n const { failed, invalid, pending } = getTransactionStatus(transaction);\n\n const showErrorText = (failed || invalid) && transactionMessages.length > 0;\n const errorText = showErrorText ? transactionMessages.join(',') : '';\n const tooltip = `${capitalize(transaction.status)} ${errorText}`;\n\n if (failed) {\n return { icon: IconNamesEnum.close, tooltip };\n }\n\n if (invalid) {\n return { icon: IconNamesEnum.ban, tooltip };\n }\n\n if (pending) {\n return { icon: IconNamesEnum.hourglass, tooltip };\n }\n\n return { tooltip };\n};\n"],
|
|
5
|
-
"mappings": "sHAMO,IAAMA,EACXC,GACmD,CACnD,IAAMC,EAAsBC,EAAuBF,CAAW,EAExD,CAAE,OAAAG,EAAQ,QAAAC,EAAS,QAAAC,CAAQ,EAAIC,EAAqBN,CAAW,EAG/DO,GADiBJ,GAAUC,IAAYH,EAAoB,OAAS,EACxCA,EAAoB,KAAK,GAAG,EAAI,GAC5DO,EAAU,GAAGC,EAAWT,EAAY,MAAM,CAAC,IAAIO,CAAS,GAE9D,OAAIJ,EACK,CAAE,aAA2B,QAAAK,CAAQ,EAG1CJ,EACK,CAAE,WAAyB,QAAAI,CAAQ,EAGxCH,EACK,CAAE,iBAA+B,QAAAG,CAAQ,EAG3C,CAAE,QAAAA,CAAQ,CACnB",
|
|
6
|
-
"names": ["getTransactionIconInfo", "transaction", "transactionMessages", "getTransactionMessages", "failed", "invalid", "pending", "getTransactionStatus", "errorText", "tooltip", "capitalize"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-UD7MOR6P.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var c=(r,e=["address"])=>{let n=new URL(r),a=new URLSearchParams(n.search);e.forEach(o=>a.delete(o));let s=Array.from(a.values()).length>0?"?":"",t=n.pathname==="/"&&!r.endsWith("/")?"":n.pathname;return n.protocol==="vscode:"?r:`${n.origin}${t}${s}${a.toString()}${n.hash}`};export{c as a};
|
|
2
|
-
//# sourceMappingURL=chunk-UE3IBKCO.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/window/sanitizeCallbackUrl.ts"],
|
|
4
|
-
"sourcesContent": ["export const sanitizeCallbackUrl = (\n targetURL: string,\n vulnerableItems: string[] = ['address']\n) => {\n const url = new URL(targetURL);\n const params = new URLSearchParams(url.search);\n\n vulnerableItems.forEach((vulnerableItem) => params.delete(vulnerableItem));\n\n const questionMark = Array.from(params.values()).length > 0 ? '?' : '';\n\n const pathname =\n url.pathname === '/' && !targetURL.endsWith('/') ? '' : url.pathname;\n\n if (url.protocol === 'vscode:') {\n return targetURL;\n }\n\n return `${url.origin}${pathname}${questionMark}${params.toString()}${\n url.hash\n }`;\n};\n"],
|
|
5
|
-
"mappings": "AAAO,IAAMA,EAAsB,CACjCC,EACAC,EAA4B,CAAC,SAAS,IACnC,CACH,IAAMC,EAAM,IAAI,IAAIF,CAAS,EACvBG,EAAS,IAAI,gBAAgBD,EAAI,MAAM,EAE7CD,EAAgB,QAASG,GAAmBD,EAAO,OAAOC,CAAc,CAAC,EAEzE,IAAMC,EAAe,MAAM,KAAKF,EAAO,OAAO,CAAC,EAAE,OAAS,EAAI,IAAM,GAE9DG,EACJJ,EAAI,WAAa,KAAO,CAACF,EAAU,SAAS,GAAG,EAAI,GAAKE,EAAI,SAE9D,OAAIA,EAAI,WAAa,UACZF,EAGF,GAAGE,EAAI,MAAM,GAAGI,CAAQ,GAAGD,CAAY,GAAGF,EAAO,SAAS,CAAC,GAChED,EAAI,IACN,EACF",
|
|
6
|
-
"names": ["sanitizeCallbackUrl", "targetURL", "vulnerableItems", "url", "params", "vulnerableItem", "questionMark", "pathname"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/apiCalls/economics/getEconomics.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport { ECONOMICS_ENDPOINT } from 'apiCalls/endpoints';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\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 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-DLWDO7M6.mjs";import{d as v}from"./chunk-JPSW3MCK.mjs";import{y as a}from"./chunk-C72ZHRFA.mjs";import{s as n}from"./chunk-XNSSZDSU.mjs";import{d as s}from"./chunk-VNLGNNIL.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";import{a as d}from"./chunk-RV6SJMD7.mjs";async function S(){let t=c(),m=d(),e=s(n()),o=m||t?i.webview:e,p=Object.values(i).includes(e);if(e&&!p&&(o=e),!o)return;let r=await v.create({type:o});if(!r)throw new Error("Provider not found");if(t||o===i.webview&&r.isInitialized())try{await r.login()}catch(f){console.warn("Failed to login with provider",r.getType(),f)}a(r)}export{S as a};
|
|
2
|
-
//# sourceMappingURL=chunk-UY22M7WB.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/helpers/restoreProvider.ts"],
|
|
4
|
-
"sourcesContent": ["import { isMobileWebview } from 'lib/sdkWebviewProvider';\nimport {\n ProviderBaseType,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { providerTypeSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { getIsInIframe } from 'utils/window/getIsInIframe';\nimport { setAccountProvider } from './accountProvider';\nimport { ProviderFactory } from '../ProviderFactory';\n\nexport async function restoreProvider() {\n const isMobileView = isMobileWebview();\n const isInIframe = getIsInIframe();\n const providerType = providerTypeSelector(getState());\n\n let type =\n isInIframe || isMobileView ? ProviderTypeEnum.webview : providerType;\n\n const isBaseProvider = Object.values(ProviderTypeEnum).includes(\n providerType as ProviderBaseType\n );\n // Check if provider exist and is not base\n const isCustomProvider = providerType && !isBaseProvider;\n\n // Prioritize customProvider if it serves as a provider inside an iframe\n if (isCustomProvider) {\n type = providerType;\n }\n\n if (!type) {\n return;\n }\n\n const provider = await ProviderFactory.create({\n type\n });\n\n if (!provider) {\n throw new Error('Provider not found');\n }\n\n /*\n Check if the app is running in webview and the provider is already initialized.\n - true: the app is embedded within another dApp (e.g., inside an iframe) and perform login using the provider.\n - false: the parent is not a dApp and proceed with initializing the current app as a standalone iframe.\n */\n const shouldStartWebviewLogin =\n isMobileView ||\n (type === ProviderTypeEnum.webview && provider.isInitialized());\n\n if (shouldStartWebviewLogin) {\n try {\n await provider.login();\n } catch (error) {\n console.warn('Failed to login with provider', provider.getType(), error);\n }\n }\n\n setAccountProvider(provider);\n}\n"],
|
|
5
|
-
"mappings": "+RAWA,eAAsBA,GAAkB,CACtC,IAAMC,EAAeC,EAAgB,EAC/BC,EAAaC,EAAc,EAC3BC,EAAeC,EAAqBC,EAAS,CAAC,EAEhDC,EACFL,GAAcF,EAAeQ,EAAiB,QAAUJ,EAEpDK,EAAiB,OAAO,OAAOD,CAAgB,EAAE,SACrDJ,CACF,EASA,GAPyBA,GAAgB,CAACK,IAIxCF,EAAOH,GAGL,CAACG,EACH,OAGF,IAAMG,EAAW,MAAMC,EAAgB,OAAO,CAC5C,KAAAJ,CACF,CAAC,EAED,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,oBAAoB,EAYtC,GAHEV,GACCO,IAASC,EAAiB,SAAWE,EAAS,cAAc,EAG7D,GAAI,CACF,MAAMA,EAAS,MAAM,CACvB,OAASE,EAAO,CACd,QAAQ,KAAK,gCAAiCF,EAAS,QAAQ,EAAGE,CAAK,CACzE,CAGFC,EAAmBH,CAAQ,CAC7B",
|
|
6
|
-
"names": ["restoreProvider", "isMobileView", "isMobileWebview", "isInIframe", "getIsInIframe", "providerType", "providerTypeSelector", "getState", "type", "ProviderTypeEnum", "isBaseProvider", "provider", "ProviderFactory", "error", "setAccountProvider"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-VCAWVAO5.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.ts"],
|
|
4
|
-
"sourcesContent": ["import { safeWindow } from 'constants/index';\nimport { Address, Message, Transaction } from 'lib/sdkCore';\nimport {\n WindowProviderRequestEnums,\n WindowProviderResponseEnums,\n RequestMessageType,\n RequestPayloadType\n} from 'lib/sdkWebWalletCrossWindowProvider';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { accountSelector } from 'store/selectors';\nimport { getStore } from 'store/store';\n\ntype MessageHandler = (event: MessageEvent) => void;\n\ntype MessageEventType = {\n event: MessageEvent<MessageType>;\n};\n\ntype MessageType =\n | RequestMessageType\n | { type: 'cancelAction'; payload: null }\n | {\n type: WindowProviderResponseEnums.cancelResponse;\n payload: null;\n };\n\nexport class WebviewClient {\n private readonly handlers: Map<string, MessageHandler> = new Map();\n private readonly store = getStore();\n private isLoginInitiated = false;\n private readonly handleLoginCancelled: () => Promise<void>;\n\n constructor({ onLoginCancelled }: { onLoginCancelled: () => Promise<void> }) {\n this.handleMessage = this.handleMessage.bind(this);\n this.handleLoginCancelled = onLoginCancelled;\n }\n\n public startListening() {\n safeWindow.addEventListener('message', this.handleMessage);\n }\n\n public stopListening() {\n safeWindow.removeEventListener('message', this.handleMessage);\n }\n\n public registerEvent(type: string, handler: MessageHandler) {\n this.handlers.set(type, handler);\n }\n\n public unregisterEvent(type: string) {\n this.handlers.delete(type);\n }\n\n private async handleMessage(event: MessageEvent<MessageType>) {\n const type = event.data?.type;\n\n if (typeof type === 'string' && this.handlers.has(type)) {\n const handler = this.handlers.get(type);\n return handler?.(event);\n }\n\n switch (type) {\n case WindowProviderRequestEnums.finalizeHandshakeRequest:\n this.handshake({ event });\n break;\n case WindowProviderRequestEnums.signMessageRequest:\n this.signMessage({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.loginRequest:\n this.isLoginInitiated = true;\n this.login({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.signTransactionsRequest:\n this.signTransactions({ event });\n break;\n case WindowProviderResponseEnums.cancelResponse: // sent by web-wallet CrossWindow provider\n case 'cancelAction': // sent by Extension provider\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n }\n break;\n default:\n break;\n }\n }\n\n private async login({\n event,\n payload\n }: MessageEventType & { payload: RequestPayloadType['LOGIN_REQUEST'] }) {\n const loginToken = payload?.token;\n\n if (!loginToken) {\n return;\n }\n\n try {\n const { address } = accountSelector(this.store.getState());\n const provider = getAccountProvider();\n\n // Message format needed for token generation\n const message = `${address}${loginToken}`;\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.loginResponse,\n payload: {\n data: {\n address,\n signature: Buffer.from(signature).toString('hex')\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.cancelResponse,\n payload: null\n },\n { targetOrigin: event.origin }\n );\n }\n } finally {\n this.isLoginInitiated = false;\n }\n }\n\n private handshake({ event }: MessageEventType) {\n const handshakeSession = Date.now().toString();\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.finalizeHandshakeResponse,\n payload: { data: handshakeSession }\n },\n { targetOrigin: event.origin }\n );\n }\n\n private async signMessage({\n event,\n payload\n }: MessageEventType & {\n payload: RequestPayloadType['SIGN_MESSAGE_REQUEST'];\n }) {\n const { address } = accountSelector(this.store.getState());\n const { message } = payload;\n\n try {\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const provider = getAccountProvider();\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signMessageResponse,\n payload: {\n data: {\n signature: Buffer.from(signature).toString('hex'),\n status: 'signed'\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign message');\n }\n }\n\n private async signTransactions({ event }: MessageEventType) {\n const provider = getAccountProvider();\n const { payload } = event.data;\n\n if (!Array.isArray(payload)) {\n return;\n }\n\n try {\n const transactions = payload.map((plainTransactionObject) =>\n Transaction.newFromPlainObject(plainTransactionObject)\n );\n\n const signedTx = await provider.signTransactions(transactions);\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signTransactionsResponse,\n payload: {\n data: signedTx.map((tx) => tx.toPlainObject())\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign transactions');\n }\n }\n}\n"],
|
|
5
|
-
"mappings": "2QA0BO,IAAMA,EAAN,KAAoB,CAMzB,YAAY,CAAE,iBAAAC,CAAiB,EAA8C,CAL7E,KAAiB,SAAwC,IAAI,IAC7D,KAAiB,MAAQC,EAAS,EAClC,KAAQ,iBAAmB,GAIzB,KAAK,cAAgB,KAAK,cAAc,KAAK,IAAI,EACjD,KAAK,qBAAuBD,CAC9B,CAEO,gBAAiB,CACtBE,EAAW,iBAAiB,UAAW,KAAK,aAAa,CAC3D,CAEO,eAAgB,CACrBA,EAAW,oBAAoB,UAAW,KAAK,aAAa,CAC9D,CAEO,cAAcC,EAAcC,EAAyB,CAC1D,KAAK,SAAS,IAAID,EAAMC,CAAO,CACjC,CAEO,gBAAgBD,EAAc,CACnC,KAAK,SAAS,OAAOA,CAAI,CAC3B,CAEA,MAAc,cAAcE,EAAkC,CAC5D,IAAMF,EAAOE,EAAM,MAAM,KAEzB,GAAI,OAAOF,GAAS,UAAY,KAAK,SAAS,IAAIA,CAAI,EAEpD,OADgB,KAAK,SAAS,IAAIA,CAAI,IACrBE,CAAK,EAGxB,OAAQF,EAAM,CACZ,KAAKG,EAA2B,yBAC9B,KAAK,UAAU,CAAE,MAAAD,CAAM,CAAC,EACxB,MACF,KAAKC,EAA2B,mBAC9B,KAAK,YAAY,CAAE,MAAAD,EAAO,QAASA,EAAM,KAAK,OAAQ,CAAC,EACvD,MACF,KAAKC,EAA2B,aAC9B,KAAK,iBAAmB,GACxB,KAAK,MAAM,CAAE,MAAAD,EAAO,QAASA,EAAM,KAAK,OAAQ,CAAC,EACjD,MACF,KAAKC,EAA2B,wBAC9B,KAAK,iBAAiB,CAAE,MAAAD,CAAM,CAAC,EAC/B,MACF,KAAKE,EAA4B,eACjC,IAAK,eACC,KAAK,kBACP,MAAM,KAAK,qBAAqB,EAElC,MACF,QACE,KACJ,CACF,CAEA,MAAc,MAAM,CAClB,MAAAF,EACA,QAAAG,CACF,EAAwE,CACtE,IAAMC,EAAaD,GAAS,MAE5B,GAAKC,EAIL,GAAI,CACF,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAgB,KAAK,MAAM,SAAS,CAAC,EACnDC,EAAWC,EAAmB,EAG9BC,EAAU,GAAGJ,CAAO,GAAGD,CAAU,GACjCM,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQP,CAAO,EAC5B,KAAM,IAAI,WAAW,OAAO,KAAKI,CAAO,CAAC,CAC3C,CAAC,EAGKI,GADgB,MAAMN,EAAS,YAAYG,CAAa,IAC7B,WAAa,GAE9CV,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,cAClC,QAAS,CACP,KAAM,CACJ,QAAAG,EACA,UAAW,OAAO,KAAKQ,CAAS,EAAE,SAAS,KAAK,CAClD,CACF,CACF,EACA,CAAE,aAAcb,EAAM,MAAO,CAC/B,CACF,MAAQ,CACF,KAAK,mBACP,MAAM,KAAK,qBAAqB,EAChCA,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,eAClC,QAAS,IACX,EACA,CAAE,aAAcF,EAAM,MAAO,CAC/B,EAEJ,QAAE,CACA,KAAK,iBAAmB,EAC1B,CACF,CAEQ,UAAU,CAAE,MAAAA,CAAM,EAAqB,CAC7C,IAAMc,EAAmB,KAAK,IAAI,EAAE,SAAS,EAE7Cd,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,0BAClC,QAAS,CAAE,KAAMY,CAAiB,CACpC,EACA,CAAE,aAAcd,EAAM,MAAO,CAC/B,CACF,CAEA,MAAc,YAAY,CACxB,MAAAA,EACA,QAAAG,CACF,EAEG,CACD,GAAM,CAAE,QAAAE,CAAQ,EAAIC,EAAgB,KAAK,MAAM,SAAS,CAAC,EACnD,CAAE,QAAAG,CAAQ,EAAIN,EAEpB,GAAI,CACF,IAAMO,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQP,CAAO,EAC5B,KAAM,IAAI,WAAW,OAAO,KAAKI,CAAO,CAAC,CAC3C,CAAC,EAIKI,GADgB,MADLL,EAAmB,EACC,YAAYE,CAAa,IAC7B,WAAa,GAE9CV,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,oBAClC,QAAS,CACP,KAAM,CACJ,UAAW,OAAO,KAAKW,CAAS,EAAE,SAAS,KAAK,EAChD,OAAQ,QACV,CACF,CACF,EACA,CAAE,aAAcb,EAAM,MAAO,CAC/B,CACF,MAAQ,CACN,MAAM,IAAI,MAAM,wBAAwB,CAC1C,CACF,CAEA,MAAc,iBAAiB,CAAE,MAAAA,CAAM,EAAqB,CAC1D,IAAMO,EAAWC,EAAmB,EAC9B,CAAE,QAAAL,CAAQ,EAAIH,EAAM,KAE1B,GAAK,MAAM,QAAQG,CAAO,EAI1B,GAAI,CACF,IAAMY,EAAeZ,EAAQ,IAAKa,GAChCC,EAAY,mBAAmBD,CAAsB,CACvD,EAEME,EAAW,MAAMX,EAAS,iBAAiBQ,CAAY,EAC7Df,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,yBAClC,QAAS,CACP,KAAMgB,EAAS,IAAKC,GAAOA,EAAG,cAAc,CAAC,CAC/C,CACF,EACA,CAAE,aAAcnB,EAAM,MAAO,CAC/B,CACF,MAAQ,CACN,MAAM,IAAI,MAAM,6BAA6B,CAC/C,CACF,CACF",
|
|
6
|
-
"names": ["WebviewClient", "onLoginCancelled", "getStore", "safeWindow", "type", "handler", "event", "WindowProviderRequestEnums", "WindowProviderResponseEnums", "payload", "loginToken", "address", "accountSelector", "provider", "getAccountProvider", "message", "messageToSign", "Message", "Address", "signature", "handshakeSession", "transactions", "plainTransactionObject", "Transaction", "signedTx", "tx"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-3GGBXXXJ.mjs";import{a as r}from"./chunk-2JKCBTYK.mjs";import{k as o}from"./chunk-PKDR5ERF.mjs";import m from"axios";async function c({addressToVerify:s,baseURL:a}){let e=t(a),{data:i}=await m.get(`${e}/${r}/${s}`,{timeout:o});return i}export{c as a};
|
|
2
|
-
//# sourceMappingURL=chunk-VIQAOU2F.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/apiCalls/account/getScamAddressData.ts"],
|
|
4
|
-
"sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
|
|
5
|
-
"mappings": "2HAAA,OAAOA,MAAW,QAMlB,eAAsBC,EAAmB,CACvC,gBAAAC,EACA,QAAAC,CACF,EAGG,CACD,IAAMC,EAAaC,EAAmBF,CAAO,EAEvC,CAAE,KAAAG,CAAK,EAAI,MAAMC,EAAM,IAG1B,GAAGH,CAAU,IAAII,CAAiB,IAAIN,CAAe,GAAI,CAC1D,QAASO,CACX,CAAC,EAED,OAAOH,CACT",
|
|
6
|
-
"names": ["axios", "getScamAddressData", "addressToVerify", "baseURL", "apiAddress", "getCleanApiAddress", "data", "axios", "ACCOUNTS_ENDPOINT", "TIMEOUT"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-VOBUIF7F.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/transactions/getInterpretedTransaction/helpers/getShardText.ts"],
|
|
4
|
-
"sourcesContent": ["import { ALL_SHARDS_SHARD_ID, METACHAIN_SHARD_ID } from 'constants/index';\n\nexport const getShardText = (shard: number | string) => {\n let shardText = shard;\n\n if (typeof shardText === 'string' && shardText.includes('Shard')) {\n shardText = shardText.replace('Shard', '').replace(' ', '');\n }\n\n const isMetachain =\n METACHAIN_SHARD_ID.toString() === String(shardText).toString() ||\n String(shardText) === 'metachain';\n\n const isAllShards =\n ALL_SHARDS_SHARD_ID.toString() === String(shardText).toString();\n\n if (isMetachain) {\n return 'Metachain';\n }\n if (isAllShards) {\n return 'All Shards';\n }\n return `Shard ${shardText}`;\n};\n"],
|
|
5
|
-
"mappings": "gDAEO,IAAMA,EAAgBC,GAA2B,CACtD,IAAIC,EAAYD,EAEZ,OAAOC,GAAc,UAAYA,EAAU,SAAS,OAAO,IAC7DA,EAAYA,EAAU,QAAQ,QAAS,EAAE,EAAE,QAAQ,IAAK,EAAE,GAG5D,IAAMC,EACJ,YAAmB,SAAS,IAAM,OAAOD,CAAS,EAAE,SAAS,GAC7D,OAAOA,CAAS,IAAM,YAElBE,EACJ,YAAoB,SAAS,IAAM,OAAOF,CAAS,EAAE,SAAS,EAEhE,OAAIC,EACK,YAELC,EACK,aAEF,SAASF,CAAS,EAC3B",
|
|
6
|
-
"names": ["getShardText", "shard", "shardText", "isMetachain", "isAllShards"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as s}from"./chunk-NAYC2B72.mjs";import{a as e}from"./chunk-H73D4VUZ.mjs";import{a as i}from"./chunk-6R2WFQ7U.mjs";var a=class{constructor(o){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async o=>{if(!this._login)throw new Error("Provider is not initialized.");let r=await this._login(o);if(!r?.address)throw new Error("Provider is not initialized.");return{...r,address:r.address,signature:r.signature??""}};this.initializeAddress=()=>{if(this.address)return;let o=e();o&&(this.address=o)};this.cancelAction=void 0;this.address=o??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(o,r){throw new Error("Method not implemented.")}async login(o){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let r=new AbortController;this.loginAbortController=r;let t=r.signal;try{let n=new Promise((p,c)=>{t.addEventListener("abort",()=>{c(new Error("Login cancelled"))})}),l=await Promise.race([this.loginOperation(o),n]);return this.loginAbortController=null,l}catch(n){throw this.loginAbortController=null,n}}async initSignState(){let{onClose:o,manager:r}=await s({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return r.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),r.updateData({name:i[t],type:t}),{onClose:o,manager:r}}};export{a};
|
|
2
|
-
//# sourceMappingURL=chunk-WEZV6U4A.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.ts"],
|
|
4
|
-
"sourcesContent": ["import { IProviderAccount } from '@multiversx/sdk-wallet-connect-provider/out';\nimport { providerLabels } from 'constants/index';\nimport { Transaction, Message } from 'lib/sdkCore';\nimport { IDAppProviderOptions, IDAppProviderAccount } from 'lib/sdkDappUtils';\nimport { PendingTransactionsEventsEnum } from 'managers/internal/PendingTransactionsStateManager';\nimport { getAddress } from 'methods/account/getAddress';\nimport { IProvider, ProviderType } from 'providers/types/providerFactory.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { getPendingTransactionsHandlers } from '../helpers';\n\nexport type LoginOptionsTypes = {\n token?: string;\n};\n\nexport abstract class BaseProviderStrategy<\n T extends ProviderType = ProviderType\n> implements IProvider<T>\n{\n protected address?: string = '';\n protected _login:\n | ((options?: LoginOptionsTypes) => Promise<IProviderAccount | null>)\n | null = null;\n protected loginAbortController: AbortController | null = null;\n\n /*\n * Allow setting provider address without store login\n */\n constructor(address?: string) {\n this.address = address ?? '';\n }\n\n abstract init(): Promise<boolean>;\n abstract logout(): Promise<boolean>;\n abstract getType(): T;\n\n abstract getAddress(): Promise<string | undefined>;\n abstract setAccount(account: IDAppProviderAccount): void;\n abstract isInitialized(): boolean;\n\n isConnected?(): boolean;\n\n getAccount(): IDAppProviderAccount | null {\n throw new Error('Method not implemented.');\n }\n\n signTransaction(\n _transaction: Transaction,\n _options?: IDAppProviderOptions\n ): Promise<Transaction | null> {\n throw new Error('Method not implemented.');\n }\n\n abstract signTransactions(\n transactions: Transaction[],\n options?: IDAppProviderOptions\n ): Promise<Transaction[] | null>;\n\n abstract signMessage(\n messageToSign: Message,\n options?: IDAppProviderOptions\n ): Promise<Message | null>;\n\n public async login(\n options?: LoginOptionsTypes\n ): Promise<{ address: string; signature: string }> {\n if (!this._login) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n if (this.loginAbortController) {\n this.loginAbortController.abort();\n }\n\n const controller = new AbortController();\n this.loginAbortController = controller;\n\n const signal = controller.signal;\n\n try {\n const abortPromise = new Promise<never>((_, reject) => {\n signal.addEventListener('abort', () => {\n reject(new Error('Login cancelled'));\n });\n });\n\n const loginResult = await Promise.race([\n this.loginOperation(options),\n abortPromise\n ]);\n\n this.loginAbortController = null;\n\n return loginResult;\n } catch (error) {\n this.loginAbortController = null;\n throw error;\n }\n }\n\n public cancelLogin = () => {\n if (this.loginAbortController) {\n this.loginAbortController.abort();\n }\n\n this.cancelAction?.();\n this.loginAbortController = null;\n };\n\n protected loginOperation = async (\n options?: LoginOptionsTypes\n ): Promise<{ address: string; signature: string }> => {\n if (!this._login) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const result = await this._login(options);\n\n if (!result?.address) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n return {\n ...result,\n address: result.address,\n signature: result.signature ?? ''\n };\n };\n\n /**\n * Initializes the provider by setting the address if it is not already set.\n */\n protected initializeAddress = () => {\n if (this.address) {\n return;\n }\n\n const address = getAddress();\n\n if (!address) {\n return;\n }\n\n this.address = address;\n };\n\n cancelAction: (() => Promise<void>) | undefined = undefined;\n\n /**\n * This method should be overridden by subclasses to handle cancel login event.\n */\n // async cancelAction(): Promise<void> {\n // throw new Error('Method not implemented.');\n // }\n\n protected async initSignState() {\n const { onClose, manager } = await getPendingTransactionsHandlers({\n cancelAction: this.cancelAction?.bind(this)\n });\n\n const type = this.getType();\n manager.subscribeToEventBus(PendingTransactionsEventsEnum.CLOSE, onClose);\n\n manager.updateData({\n name: providerLabels[type],\n type\n });\n\n return { onClose, manager };\n }\n}\n"],
|
|
5
|
-
"mappings": "2HAcO,IAAeA,EAAf,KAGP,CAUE,YAAYC,EAAkB,CAT9B,KAAU,QAAmB,GAC7B,KAAU,OAEC,KACX,KAAU,qBAA+C,KA6EzD,KAAO,YAAc,IAAM,CACrB,KAAK,sBACP,KAAK,qBAAqB,MAAM,EAGlC,KAAK,eAAe,EACpB,KAAK,qBAAuB,IAC9B,EAEA,KAAU,eAAiB,MACzBC,GACoD,CACpD,GAAI,CAAC,KAAK,OACR,MAAM,IAAI,oCAAuC,EAGnD,IAAMC,EAAS,MAAM,KAAK,OAAOD,CAAO,EAExC,GAAI,CAACC,GAAQ,QACX,MAAM,IAAI,oCAAuC,EAGnD,MAAO,CACL,GAAGA,EACH,QAASA,EAAO,QAChB,UAAWA,EAAO,WAAa,EACjC,CACF,EAKA,KAAU,kBAAoB,IAAM,CAClC,GAAI,KAAK,QACP,OAGF,IAAMF,EAAUG,EAAW,EAEtBH,IAIL,KAAK,QAAUA,EACjB,EAEA,kBAAkD,OArHhD,KAAK,QAAUA,GAAW,EAC5B,CAYA,YAA0C,CACxC,MAAM,IAAI,MAAM,yBAAyB,CAC3C,CAEA,gBACEI,EACAC,EAC6B,CAC7B,MAAM,IAAI,MAAM,yBAAyB,CAC3C,CAYA,MAAa,MACXJ,EACiD,CACjD,GAAI,CAAC,KAAK,OACR,MAAM,IAAI,oCAAuC,EAG/C,KAAK,sBACP,KAAK,qBAAqB,MAAM,EAGlC,IAAMK,EAAa,IAAI,gBACvB,KAAK,qBAAuBA,EAE5B,IAAMC,EAASD,EAAW,OAE1B,GAAI,CACF,IAAME,EAAe,IAAI,QAAe,CAACC,EAAGC,IAAW,CACrDH,EAAO,iBAAiB,QAAS,IAAM,CACrCG,EAAO,IAAI,MAAM,iBAAiB,CAAC,CACrC,CAAC,CACH,CAAC,EAEKC,EAAc,MAAM,QAAQ,KAAK,CACrC,KAAK,eAAeV,CAAO,EAC3BO,CACF,CAAC,EAED,YAAK,qBAAuB,KAErBG,CACT,OAASC,EAAO,CACd,WAAK,qBAAuB,KACtBA,CACR,CACF,CAyDA,MAAgB,eAAgB,CAC9B,GAAM,CAAE,QAAAC,EAAS,QAAAC,CAAQ,EAAI,MAAMC,EAA+B,CAChE,aAAc,KAAK,cAAc,KAAK,IAAI,CAC5C,CAAC,EAEKC,EAAO,KAAK,QAAQ,EAC1B,OAAAF,EAAQ,iDAAyDD,CAAO,EAExEC,EAAQ,WAAW,CACjB,KAAMG,EAAeD,CAAI,EACzB,KAAAA,CACF,CAAC,EAEM,CAAE,QAAAH,EAAS,QAAAC,CAAQ,CAC5B,CACF",
|
|
6
|
-
"names": ["BaseProviderStrategy", "address", "options", "result", "getAddress", "_transaction", "_options", "controller", "signal", "abortPromise", "_", "reject", "loginResult", "error", "onClose", "manager", "getPendingTransactionsHandlers", "type", "providerLabels"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/decoders/stringContainsNumbers.ts"],
|
|
4
|
-
"sourcesContent": ["export const stringContainsNumbers = (str: string) => /\\d/.test(str);\n"],
|
|
5
|
-
"mappings": "AAAO,IAAMA,EAAyBC,GAAgB,KAAK,KAAKA,CAAG",
|
|
6
|
-
"names": ["stringContainsNumbers", "str"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/constants/browser.constants.ts"],
|
|
4
|
-
"sourcesContent": ["import { safeWindow } from './window.constants';\n\nconst userAgent = String(safeWindow?.navigator?.userAgent);\n\nexport const isSafari = /^((?!chrome|android).)*safari/i.test(userAgent);\n\nconst isFirefoxOnWindows =\n /firefox/i.test(userAgent) && /windows/i.test(userAgent);\n\nexport const isBrowserWithPopupConfirmation = isSafari || isFirefoxOnWindows;\n"],
|
|
5
|
-
"mappings": "yCAEA,IAAMA,EAAY,OAAOC,GAAY,WAAW,SAAS,EAE5CC,EAAW,iCAAiC,KAAKF,CAAS,EAEjEG,EACJ,WAAW,KAAKH,CAAS,GAAK,WAAW,KAAKA,CAAS,EAE5CI,EAAiCF,GAAYC",
|
|
6
|
-
"names": ["userAgent", "safeWindow", "isSafari", "isFirefoxOnWindows", "isBrowserWithPopupConfirmation"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-SNPF3BD2.mjs";import{a as i}from"./chunk-N56SMVGU.mjs";import{k as n}from"./chunk-PKDR5ERF.mjs";async function T(t){let r={timeout:n},o=await e.getItem(t);if(o)return o;let a=await i.get(t,r);return await e.setItem(t,a.data),a.data}export{T as a};
|
|
2
|
-
//# sourceMappingURL=chunk-XLLBREX7.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as a,f as p}from"./chunk-7MBSWJUD.mjs";import{f as l}from"./chunk-VNLGNNIL.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as I}from"./chunk-AGJVEK6I.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{b as T}from"./chunk-A7FTKX2A.mjs";import{a as c,b as g}from"./chunk-IVHD32VC.mjs";import{a as m,b as f}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{c as s}from"./chunk-NTEMINYA.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=c,e.loginInfo=m,e.transactions=d,e.toasts=S};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=p(e),n=l(e),{address:i,publicKey:M}=a(e);if(i&&M!==new s(i).toHex()&&A(e),!t)return;if(n==null){w(H());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=J(V(h(N((...n)=>({network:x(...n),account:g(...n),loginInfo:f(...n),config:L(...n),transactions:y(...n),toasts:u(...n),cache:T(...n),ui:v(...n)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new k)),r),le=(e=I)=>{let t=z(e);return D(t),t},se=()=>o().getState();var me=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),fe=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),de=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),ye=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),xe=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{me as a,fe as b,Se as c,ue as d,de as e,ye as f,xe as g,E as h,b as i,A as j,H as k,w as l,C as m,W as n,z as o,D as p,o as q,le as r,se as s};
|
|
2
|
-
//# sourceMappingURL=chunk-XNSSZDSU.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/store/store.ts", "../../src/store/middleware/logoutMiddleware.ts", "../../src/store/middleware/applyMiddlewares.ts", "../../src/store/actions/loginInfo/loginInfoActions.ts"],
|
|
4
|
-
"sourcesContent": ["import { createJSONStorage, devtools, persist } from 'zustand/middleware';\nimport { immer } from 'zustand/middleware/immer';\nimport { createStore } from 'zustand/vanilla';\nimport { applyMiddlewares } from './middleware';\nimport {\n networkSlice,\n accountSlice,\n loginInfoSlice,\n configSlice,\n toastSlice,\n cacheSlice,\n uiSlice\n} from './slices';\nimport { transactionsSlice } from './slices/transactions';\nimport {\n InMemoryStorage,\n defaultStorageCallback,\n StorageCallback\n} from './storage';\nimport { StoreType } from './store.types';\n\nexport type MutatorsIn = [\n ['zustand/devtools', never],\n ['zustand/persist', unknown],\n ['zustand/immer', never]\n];\n\nexport type MutatorsOut = [\n ['zustand/devtools', never],\n ['zustand/persist', StoreType],\n ['zustand/immer', never]\n];\n\nexport const createDAppStore = (getStorageCallback: StorageCallback) => {\n const store = createStore<StoreType, MutatorsOut>(\n devtools(\n persist(\n immer((...args) => ({\n network: networkSlice(...args),\n account: accountSlice(...args),\n loginInfo: loginInfoSlice(...args),\n config: configSlice(...args),\n transactions: transactionsSlice(...args),\n toasts: toastSlice(...args),\n cache: cacheSlice(...args),\n ui: uiSlice(...args)\n })),\n {\n name: 'sdk-dapp-store',\n storage: createJSONStorage(getStorageCallback)\n }\n ),\n {\n name: 'sdk-dapp'\n }\n )\n );\n store.subscribe(applyMiddlewares);\n return store;\n};\n\nexport type StoreApi = ReturnType<typeof createDAppStore>;\n\nlet store: StoreApi;\n\nexport const setDAppStore = (_store: StoreApi) => {\n store = _store;\n};\n\nexport const getStore = () => {\n if (!store) {\n setDAppStore(createDAppStore(() => new InMemoryStorage()));\n }\n return store;\n};\n\n/**\n * Initialize store with the preferred storage by passing a callback.\n * Default storage is localStorage.\n * You can pass your own storage.\n * Call this function before using store, ideally before app bootstrapping.\n * @param getStorageCallback\n * @default () => localStorage\n * @returns persistent store instance\n * @example\n * initStore(() => window.localStorage);\n * initStore(() => window.sessionStorage);\n * initStore(() => new InMemoryStorage());\n * */\nexport const initStore = (getStorageCallback = defaultStorageCallback) => {\n const dappStore = createDAppStore(getStorageCallback);\n setDAppStore(dappStore);\n return dappStore;\n};\n\nexport const getState = () => getStore().getState();\n", "import { WritableDraft } from 'immer';\nimport { Address } from 'lib/sdkCore';\nimport {\n addLoginExpiresAt,\n removeLoginExpiresAt\n} from 'store/actions/loginInfo/loginInfoActions';\nimport {\n accountInfoSelector,\n isLoggedInSelector,\n loginExpiresAtSelector\n} from 'store/selectors';\nimport { initialState as initialAccountState } from 'store/slices/account/accountSlice';\nimport { initialState as initialLoginInfoState } from 'store/slices/loginInfo/loginInfoSlice';\nimport { initialState as initialToastState } from 'store/slices/toast/toastSlice';\nimport { initialState as initialTransactionsState } from 'store/slices/transactions/transactionsSlice';\nimport { getStore } from 'store/store';\nimport { StoreType } from '../store.types';\n\nexport const resetStore = (store: WritableDraft<StoreType>) => {\n store.account = initialAccountState;\n store.loginInfo = initialLoginInfoState;\n store.transactions = initialTransactionsState;\n store.toasts = initialToastState;\n};\n\nexport function getNewLoginExpiresTimestamp() {\n return new Date().setHours(new Date().getHours() + 24);\n}\n\nexport function setLoginExpiresAt(expiresAt: number | null) {\n if (expiresAt == null) {\n removeLoginExpiresAt();\n return;\n }\n addLoginExpiresAt(expiresAt);\n}\n\nexport const logoutMiddleware = (state: StoreType) => {\n const isLoggedIn = isLoggedInSelector(state);\n const loginTimestamp = loginExpiresAtSelector(state);\n const { address, publicKey } = accountInfoSelector(state);\n\n if (address && publicKey !== new Address(address).toHex()) {\n resetStore(state);\n }\n\n if (!isLoggedIn) {\n return;\n }\n\n if (loginTimestamp == null) {\n setLoginExpiresAt(getNewLoginExpiresTimestamp());\n return;\n }\n\n const now = Date.now();\n const isExpired = loginTimestamp - now < 0;\n\n if (isExpired) {\n // logout\n setLoginExpiresAt(null);\n getStore().setState(resetStore);\n }\n};\n", "import { StoreType } from '../store.types';\nimport { logoutMiddleware } from './logoutMiddleware';\n\nexport const applyMiddlewares = (state: StoreType, _prevState: StoreType) => {\n logoutMiddleware(state);\n};\n", "import { ProviderType } from 'providers/types/providerFactory.types';\nimport {\n LedgerLoginType,\n WalletConnectLoginType\n} from 'store/slices/loginInfo/loginInfo.types';\nimport { getStore } from 'store/store';\nimport { TokenLoginType } from 'types/login.types';\n\nexport const setProviderType = <T extends ProviderType = ProviderType>(\n providerType: T\n) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.providerType = providerType;\n },\n false,\n {\n type: 'setProviderType',\n // @ts-ignore\n payload: {\n value: providerType\n }\n }\n );\n\nexport const setTokenLogin = (tokenLogin: TokenLoginType) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.tokenLogin = tokenLogin;\n },\n false,\n {\n type: 'setTokenLogin',\n // @ts-ignore\n payload: {\n value: tokenLogin\n }\n }\n );\n\nexport const setLoginToken = (loginToken: string) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n if (state.tokenLogin != null) {\n state.tokenLogin.loginToken = loginToken;\n return;\n }\n state.tokenLogin = {\n loginToken\n };\n },\n false,\n {\n type: 'setLoginToken',\n // @ts-ignore\n payload: {\n value: loginToken\n }\n }\n );\n\nexport const setTokenLoginSignature = (signature: string) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n if (state?.tokenLogin != null) {\n state.tokenLogin.signature = signature;\n }\n },\n false,\n {\n type: 'setTokenLoginSignature',\n // @ts-ignore\n payload: {\n value: signature\n }\n }\n );\n\nexport const setWalletConnectLogin = (\n walletConnectLogin: WalletConnectLoginType | null\n) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.walletConnectLogin = walletConnectLogin;\n },\n false,\n {\n type: 'setWalletConnectLogin',\n // @ts-ignore\n payload: {\n value: walletConnectLogin\n }\n }\n );\n\nexport const setLedgerLogin = (ledgerLogin: LedgerLoginType | null) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.ledgerLogin = ledgerLogin;\n },\n false,\n {\n type: 'setLedgerLogin',\n // @ts-ignore\n payload: {\n value: ledgerLogin\n }\n }\n );\n\nexport const setIsWalletConnectV2Initialized = (isInitialized: boolean) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.isWalletConnectV2Initialized = isInitialized;\n },\n false,\n {\n type: 'setIsWalletConnectV2Initialized',\n // @ts-ignore\n payload: {\n value: isInitialized\n }\n }\n );\n\nexport const removeLoginExpiresAt = () =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.loginExpiresAt = null;\n },\n false,\n {\n type: 'removeLoginExpiresAt',\n // @ts-ignore\n payload: {\n value: null\n }\n }\n );\n\nexport const addLoginExpiresAt = (expiresAt: number) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.loginExpiresAt = expiresAt;\n },\n false,\n {\n type: 'addLoginExpiresAt',\n // @ts-ignore\n payload: {\n value: expiresAt\n }\n }\n );\n"],
|
|
5
|
-
"mappings": "wjBAAA,OAAS,qBAAAA,EAAmB,YAAAC,EAAU,WAAAC,MAAe,qBACrD,OAAS,SAAAC,MAAa,2BACtB,OAAS,eAAAC,MAAmB,kBCgBrB,IAAMC,EAAcC,GAAoC,CAC7DA,EAAM,QAAUC,EAChBD,EAAM,UAAYC,EAClBD,EAAM,aAAeC,EACrBD,EAAM,OAASC,CACjB,EAEO,SAASC,GAA8B,CAC5C,OAAO,IAAI,KAAK,EAAE,SAAS,IAAI,KAAK,EAAE,SAAS,EAAI,EAAE,CACvD,CAEO,SAASC,EAAkBC,EAA0B,CAC1D,GAAIA,GAAa,KAAM,CACrBC,EAAqB,EACrB,MACF,CACAC,EAAkBF,CAAS,CAC7B,CAEO,IAAMG,EAAoBC,GAAqB,CACpD,IAAMC,EAAaC,EAAmBF,CAAK,EACrCG,EAAiBC,EAAuBJ,CAAK,EAC7C,CAAE,QAAAK,EAAS,UAAAC,CAAU,EAAIC,EAAoBP,CAAK,EAMxD,GAJIK,GAAWC,IAAc,IAAIE,EAAQH,CAAO,EAAE,MAAM,GACtDd,EAAWS,CAAK,EAGd,CAACC,EACH,OAGF,GAAIE,GAAkB,KAAM,CAC1BR,EAAkBD,EAA4B,CAAC,EAC/C,MACF,CAEA,IAAMe,EAAM,KAAK,IAAI,EACHN,EAAiBM,EAAM,IAIvCd,EAAkB,IAAI,EACtBe,EAAS,EAAE,SAASnB,CAAU,EAElC,EC5DO,IAAMoB,EAAmB,CAACC,EAAkBC,IAA0B,CAC3EC,EAAiBF,CAAK,CACxB,EF4BO,IAAMG,EAAmBC,GAAwC,CACtE,IAAMC,EAAQC,EACZC,EACEC,EACEC,EAAM,IAAIC,KAAU,CAClB,QAASC,EAAa,GAAGD,CAAI,EAC7B,QAASE,EAAa,GAAGF,CAAI,EAC7B,UAAWG,EAAe,GAAGH,CAAI,EACjC,OAAQI,EAAY,GAAGJ,CAAI,EAC3B,aAAcK,EAAkB,GAAGL,CAAI,EACvC,OAAQM,EAAW,GAAGN,CAAI,EAC1B,MAAOO,EAAW,GAAGP,CAAI,EACzB,GAAIQ,EAAQ,GAAGR,CAAI,CACrB,EAAE,EACF,CACE,KAAM,iBACN,QAASS,EAAkBf,CAAkB,CAC/C,CACF,EACA,CACE,KAAM,UACR,CACF,CACF,EACA,OAAAC,EAAM,UAAUe,CAAgB,EACzBf,CACT,EAIIA,EAESgB,EAAgBC,GAAqB,CAChDjB,EAAQiB,CACV,EAEaC,EAAW,KACjBlB,GACHgB,EAAalB,EAAgB,IAAM,IAAIqB,CAAiB,CAAC,EAEpDnB,GAgBIoB,GAAY,CAACrB,EAAqBsB,IAA2B,CACxE,IAAMC,EAAYxB,EAAgBC,CAAkB,EACpD,OAAAiB,EAAaM,CAAS,EACfA,CACT,EAEaC,GAAW,IAAML,EAAS,EAAE,SAAS,EGvF3C,IAAMM,GACXC,GAEAC,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,aAAeF,CACvB,EACA,GACA,CACE,KAAM,kBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWG,GAAiBC,GAC5BH,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,WAAaE,CACrB,EACA,GACA,CACE,KAAM,gBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAiBC,GAC5BL,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxB,GAAIA,EAAM,YAAc,KAAM,CAC5BA,EAAM,WAAW,WAAaI,EAC9B,MACF,CACAJ,EAAM,WAAa,CACjB,WAAAI,CACF,CACF,EACA,GACA,CACE,KAAM,gBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAA0BC,GACrCP,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACpBA,GAAO,YAAc,OACvBA,EAAM,WAAW,UAAYM,EAEjC,EACA,GACA,CACE,KAAM,yBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GACXC,GAEAT,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,mBAAqBQ,CAC7B,EACA,GACA,CACE,KAAM,wBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAkBC,GAC7BX,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,YAAcU,CACtB,EACA,GACA,CACE,KAAM,iBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAmCC,GAC9Cb,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,6BAA+BY,CACvC,EACA,GACA,CACE,KAAM,kCAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,EAAuB,IAClCd,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,eAAiB,IACzB,EACA,GACA,CACE,KAAM,uBAEN,QAAS,CACP,MAAO,IACT,CACF,CACF,EAEWc,EAAqBC,GAChChB,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,eAAiBe,CACzB,EACA,GACA,CACE,KAAM,oBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF",
|
|
6
|
-
"names": ["createJSONStorage", "devtools", "persist", "immer", "createStore", "resetStore", "store", "initialState", "getNewLoginExpiresTimestamp", "setLoginExpiresAt", "expiresAt", "removeLoginExpiresAt", "addLoginExpiresAt", "logoutMiddleware", "state", "isLoggedIn", "isLoggedInSelector", "loginTimestamp", "loginExpiresAtSelector", "address", "publicKey", "accountInfoSelector", "Address", "now", "getStore", "applyMiddlewares", "state", "_prevState", "logoutMiddleware", "createDAppStore", "getStorageCallback", "store", "createStore", "devtools", "persist", "immer", "args", "networkSlice", "accountSlice", "loginInfoSlice", "configSlice", "transactionsSlice", "toastSlice", "cacheSlice", "uiSlice", "createJSONStorage", "applyMiddlewares", "setDAppStore", "_store", "getStore", "InMemoryStorage", "initStore", "defaultStorageCallback", "dappStore", "getState", "setProviderType", "providerType", "getStore", "state", "setTokenLogin", "tokenLogin", "setLoginToken", "loginToken", "setTokenLoginSignature", "signature", "setWalletConnectLogin", "walletConnectLogin", "setLedgerLogin", "ledgerLogin", "setIsWalletConnectV2Initialized", "isInitialized", "removeLoginExpiresAt", "addLoginExpiresAt", "expiresAt"]
|
|
7
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk-4GCIE2BM.mjs";import{a as f}from"./chunk-DW6RO5LJ.mjs";import{a as g}from"./chunk-JDP24JPD.mjs";import{b as a}from"./chunk-XNSSZDSU.mjs";import{c as s,g as r}from"./chunk-NTEMINYA.mjs";var v=async({signMessageCallback:m,nativeAuthClientConfig:o})=>{let{address:t}=u(),c=g(),i=f(o||c),e=await i.initialize({noCache:!!o});if(!e)return null;let h=new r({address:new s(t),data:Buffer.from(`${t}${e}`)}),n=await m(h,{});if(!n?.signature)throw"Message not signed";return a({loginToken:e,signature:Buffer.from(n.signature).toString("hex")}),i.getToken({address:t,token:e,signature:Buffer.from(n.signature).toString("hex")})};export{v as a};
|
|
2
|
-
//# sourceMappingURL=chunk-XTATC65P.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils/account/refreshNativeAuthTokenLogin.ts"],
|
|
4
|
-
"sourcesContent": ["import { Address, Message } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\n\n/**\n * Use this function if you support multiple networks with network switching\n * @returns The native auth token\n */\nexport const refreshNativeAuthTokenLogin = async ({\n signMessageCallback,\n nativeAuthClientConfig\n}: {\n signMessageCallback: (\n messageToSign: Message,\n options: Record<any, any>\n ) => Promise<Message>;\n nativeAuthClientConfig?: NativeAuthConfigType;\n}): Promise<string | null> => {\n const { address } = getAccount();\n const defaultNativeAuthConfig = getDefaultNativeAuthConfig();\n\n const nativeAuthClient = nativeAuth(\n nativeAuthClientConfig || defaultNativeAuthConfig\n );\n\n const loginToken = await nativeAuthClient.initialize({\n noCache: Boolean(nativeAuthClientConfig)\n });\n\n if (!loginToken) {\n return null;\n }\n\n const messageToSign = new Message({\n address: new Address(address),\n data: Buffer.from(`${address}${loginToken}`)\n });\n\n const signedMessage = await signMessageCallback(messageToSign, {});\n\n if (!signedMessage?.signature) {\n throw 'Message not signed';\n }\n\n setTokenLogin({\n loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n\n return nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n};\n"],
|
|
5
|
-
"mappings": "oNAWO,IAAMA,EAA8B,MAAO,CAChD,oBAAAC,EACA,uBAAAC,CACF,IAM8B,CAC5B,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAW,EACzBC,EAA0BC,EAA2B,EAErDC,EAAmBC,EACvBN,GAA0BG,CAC5B,EAEMI,EAAa,MAAMF,EAAiB,WAAW,CACnD,QAAS,EAAQL,CACnB,CAAC,EAED,GAAI,CAACO,EACH,OAAO,KAGT,IAAMC,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQT,CAAO,EAC5B,KAAM,OAAO,KAAK,GAAGA,CAAO,GAAGM,CAAU,EAAE,CAC7C,CAAC,EAEKI,EAAgB,MAAMZ,EAAoBS,EAAe,CAAC,CAAC,EAEjE,GAAI,CAACG,GAAe,UAClB,KAAM,qBAGR,OAAAC,EAAc,CACZ,WAAAL,EACA,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,EAEMN,EAAiB,SAAS,CAC/B,QAAAJ,EACA,MAAOM,EACP,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,CACH",
|
|
6
|
-
"names": ["refreshNativeAuthTokenLogin", "signMessageCallback", "nativeAuthClientConfig", "address", "getAccount", "defaultNativeAuthConfig", "getDefaultNativeAuthConfig", "nativeAuthClient", "nativeAuth", "loginToken", "messageToSign", "Message", "Address", "signedMessage", "setTokenLogin"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.ts"],
|
|
4
|
-
"sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { getEconomics } from 'apiCalls/economics/getEconomics';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { ProviderErrorsEnum } from 'types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { getUsdValue } from 'utils/operations/getUsdValue';\n\nimport {\n IUpdateAccountsList,\n UpdateAccountObjectType\n} from './updateAccountsList.types';\nimport { ILedgerAccount } from '../../../../types/ledger.types';\n\n/**\n * Updates the list of accounts and fetches their balances.\n *\n * This function performs the following steps:\n * 1. Checks if the manager and provider are initialized; if not, throws an error.\n * 2. Retrieves the starting index for pagination and the current list of accounts.\n * 3. Checks if there is already data for the current page to avoid unnecessary fetching.\n * 4. If no data is present, it fetches the accounts from the wallet provider.\n * 5. Updates the state manager with the new account data and their balances.\n * 6. Handles errors by reverting to existing accounts and logging the error.\n */\nexport const updateAccountsList = async ({\n manager,\n provider\n}: IUpdateAccountsList) => {\n if (!manager || !provider) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const { network } = getNetworkConfig();\n const startIndex = manager.getAccountScreenData()?.startIndex || 0;\n const allAccounts = manager.getAllAccounts();\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n const filterByStartIndexRange = (account: ILedgerAccount) =>\n account.index >= startIndex &&\n account.index < startIndex + manager.addressesPerPage;\n\n const allAccountsObject = allAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.index]: account }),\n {}\n );\n\n const currentAccounts = allAccounts.filter(filterByStartIndexRange);\n const isStartIndexInAccounts = Boolean(allAccountsObject[startIndex]);\n\n manager.updateAccountScreen({\n isLoading: !isStartIndexInAccounts\n });\n\n if (currentAccounts.length > 0) {\n manager.updateAccountScreen({ accounts: currentAccounts });\n return;\n }\n\n try {\n const page = Math.floor(startIndex / manager.addressesPerPage);\n\n const accountsArray = await provider.getAccounts(\n page,\n manager.addressesPerPage\n );\n\n const accountsWithBalance = accountsArray.map(\n (address, accountIindex): ILedgerAccount => ({\n address,\n balance: '...',\n index: accountIindex + startIndex\n })\n );\n\n const newAllAccounts = [...allAccounts, ...accountsWithBalance];\n const balancePromises = accountsArray.map((address) =>\n fetchAccount({ address, baseURL: network.apiAddress })\n );\n\n const balances = await Promise.all(balancePromises);\n const newAllAccountsObject = newAllAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.address]: account }),\n {}\n );\n\n balances.forEach((account) => {\n if (!account || !economics || !economics.price) {\n return;\n }\n\n const balanceBigNumber = new BigNumber(account.balance);\n const formattedBalance = balanceBigNumber\n .dividedBy(BigNumber(10).pow(18))\n .toFormat(4)\n .toString();\n\n if (balanceBigNumber.isNaN()) {\n return;\n }\n\n const usdValue = getUsdValue({\n amount: formatAmount({ input: account.balance }),\n usd: economics?.price\n });\n\n newAllAccountsObject[account.address].balance = formattedBalance;\n newAllAccountsObject[account.address].usdValue = usdValue;\n });\n\n const newAllAccountsArray = Object.values(newAllAccountsObject).sort(\n (alpha, beta) => alpha.index - beta.index\n );\n\n const accountsScreenArray = newAllAccountsArray.filter(\n filterByStartIndexRange\n );\n\n manager.updateAllAccounts(newAllAccountsArray);\n manager.updateAccountScreen({\n accounts: accountsScreenArray,\n isLoading: false\n });\n } catch (error) {\n console.error('Failed to fetch accounts:', error);\n }\n};\n"],
|
|
5
|
-
"mappings": "wMAAA,OAAOA,MAAe,eA0Bf,IAAMC,EAAqB,MAAO,CACvC,QAAAC,EACA,SAAAC,CACF,IAA2B,CACzB,GAAI,CAACD,GAAW,CAACC,EACf,MAAM,IAAI,oCAAuC,EAGnD,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAiB,EAC/BC,EAAaJ,EAAQ,qBAAqB,GAAG,YAAc,EAC3DK,EAAcL,EAAQ,eAAe,EACrCM,EAAY,MAAMC,EAAa,CAAE,QAASL,EAAQ,UAAW,CAAC,EAE9DM,EAA2BC,GAC/BA,EAAQ,OAASL,GACjBK,EAAQ,MAAQL,EAAaJ,EAAQ,iBAEjCU,EAAoBL,EAAY,OACpC,CAACM,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,KAAK,EAAGA,CAAQ,CAAC,EAC5D,CAAC,CACH,EAEMG,EAAkBP,EAAY,OAAOG,CAAuB,EAC5DK,EAAyB,EAAQH,EAAkBN,CAAU,EAMnE,GAJAJ,EAAQ,oBAAoB,CAC1B,UAAW,CAACa,CACd,CAAC,EAEGD,EAAgB,OAAS,EAAG,CAC9BZ,EAAQ,oBAAoB,CAAE,SAAUY,CAAgB,CAAC,EACzD,MACF,CAEA,GAAI,CACF,IAAME,EAAO,KAAK,MAAMV,EAAaJ,EAAQ,gBAAgB,EAEvDe,EAAgB,MAAMd,EAAS,YACnCa,EACAd,EAAQ,gBACV,EAEMgB,EAAsBD,EAAc,IACxC,CAACE,EAASC,KAAmC,CAC3C,QAAAD,EACA,QAAS,MACT,MAAOC,EAAgBd,CACzB,EACF,EAEMe,EAAiB,CAAC,GAAGd,EAAa,GAAGW,CAAmB,EACxDI,EAAkBL,EAAc,IAAKE,GACzCI,EAAa,CAAE,QAAAJ,EAAS,QAASf,EAAQ,UAAW,CAAC,CACvD,EAEMoB,EAAW,MAAM,QAAQ,IAAIF,CAAe,EAC5CG,EAAuBJ,EAAe,OAC1C,CAACR,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,OAAO,EAAGA,CAAQ,CAAC,EAC9D,CAAC,CACH,EAEAa,EAAS,QAASb,GAAY,CAC5B,GAAI,CAACA,GAAW,CAACH,GAAa,CAACA,EAAU,MACvC,OAGF,IAAMkB,EAAmB,IAAIC,EAAUhB,EAAQ,OAAO,EAChDiB,EAAmBF,EACtB,UAAUC,EAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAC/B,SAAS,CAAC,EACV,SAAS,EAEZ,GAAID,EAAiB,MAAM,EACzB,OAGF,IAAMG,EAAWC,EAAY,CAC3B,OAAQC,EAAa,CAAE,MAAOpB,EAAQ,OAAQ,CAAC,EAC/C,IAAKH,GAAW,KAClB,CAAC,EAEDiB,EAAqBd,EAAQ,OAAO,EAAE,QAAUiB,EAChDH,EAAqBd,EAAQ,OAAO,EAAE,SAAWkB,CACnD,CAAC,EAED,IAAMG,EAAsB,OAAO,OAAOP,CAAoB,EAAE,KAC9D,CAACQ,EAAOC,IAASD,EAAM,MAAQC,EAAK,KACtC,EAEMC,EAAsBH,EAAoB,OAC9CtB,CACF,EAEAR,EAAQ,kBAAkB8B,CAAmB,EAC7C9B,EAAQ,oBAAoB,CAC1B,SAAUiC,EACV,UAAW,EACb,CAAC,CACH,OAASC,EAAO,CACd,QAAQ,MAAM,4BAA6BA,CAAK,CAClD,CACF",
|
|
6
|
-
"names": ["BigNumber", "updateAccountsList", "manager", "provider", "network", "getNetworkConfig", "startIndex", "allAccounts", "economics", "getEconomics", "filterByStartIndexRange", "account", "allAccountsObject", "accountsObject", "currentAccounts", "isStartIndexInAccounts", "page", "accountsArray", "accountsWithBalance", "address", "accountIindex", "newAllAccounts", "balancePromises", "fetchAccount", "balances", "newAllAccountsObject", "balanceBigNumber", "BigNumber", "formattedBalance", "usdValue", "getUsdValue", "formatAmount", "newAllAccountsArray", "alpha", "beta", "accountsScreenArray", "error"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-YJK5FPW4.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-YUITECZ5.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-Z4PL2VDB.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-ZAPRDHIW.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-ZC5QSQE4.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(t,e)=>{for(var r in e)c(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,g)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!o.call(t,n)&&n!==r&&c(t,n,{get:()=>e[n],enumerable:!(g=i(e,n))||g.enumerable});return t};var u=t=>h(c({},"__esModule",{value:!0}),t);var C={};s(C,{getCleanApiAddress:()=>x});module.exports=u(C);const x=t=>t.endsWith("/")?t.slice(0,-1):t;0&&(module.exports={getCleanApiAddress});
|
|
2
|
-
//# sourceMappingURL=getCleanApiAddress.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/apiCalls/utils/getCleanApiAddress.ts"],
|
|
4
|
-
"sourcesContent": ["export const getCleanApiAddress = (apiAddress: string) => {\n return apiAddress.endsWith('/') ? apiAddress.slice(0, -1) : apiAddress;\n};\n"],
|
|
5
|
-
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAO,MAAME,EAAsBE,GAC1BA,EAAW,SAAS,GAAG,EAAIA,EAAW,MAAM,EAAG,EAAE,EAAIA",
|
|
6
|
-
"names": ["getCleanApiAddress_exports", "__export", "getCleanApiAddress", "__toCommonJS", "apiAddress"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getCleanApiAddress: (apiAddress: string) => string;
|
package/out/constants/index.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,e,p,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of c(e))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>e[m],enumerable:!(x=b(e,m))||x.enumerable});return f},r=(f,e,p)=>(t(f,e,"default"),p&&t(p,e,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);r(o,require("./browser.constants"),module.exports);r(o,require("./ledger.constants"),module.exports);r(o,require("./mvx.constants"),module.exports);r(o,require("./network.constants"),module.exports);r(o,require("./placeholders.constants"),module.exports);r(o,require("./storage.constants"),module.exports);r(o,require("./webWalletProvider.constants"),module.exports);r(o,require("./window.constants"),module.exports);r(o,require("./websocket.constants"),module.exports);r(o,require("./providerFactory.constants"),module.exports);0&&(module.exports={...require("./browser.constants"),...require("./ledger.constants"),...require("./mvx.constants"),...require("./network.constants"),...require("./placeholders.constants"),...require("./storage.constants"),...require("./webWalletProvider.constants"),...require("./window.constants"),...require("./websocket.constants"),...require("./providerFactory.constants")});
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/constants/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './browser.constants';\nexport * from './ledger.constants';\nexport * from './mvx.constants';\nexport * from './network.constants';\nexport * from './placeholders.constants';\nexport * from './storage.constants';\nexport * from './webWalletProvider.constants';\nexport * from './window.constants';\nexport * from './websocket.constants';\nexport * from './providerFactory.constants';\n"],
|
|
5
|
-
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,+BAAd,gBACAE,EAAAF,EAAc,8BADd,gBAEAE,EAAAF,EAAc,2BAFd,gBAGAE,EAAAF,EAAc,+BAHd,gBAIAE,EAAAF,EAAc,oCAJd,gBAKAE,EAAAF,EAAc,+BALd,gBAMAE,EAAAF,EAAc,yCANd,gBAOAE,EAAAF,EAAc,8BAPd,gBAQAE,EAAAF,EAAc,iCARd,gBASAE,EAAAF,EAAc,uCATd",
|
|
6
|
-
"names": ["constants_exports", "__toCommonJS", "__reExport"]
|
|
7
|
-
}
|
package/out/constants/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './browser.constants';
|
|
2
|
-
export * from './ledger.constants';
|
|
3
|
-
export * from './mvx.constants';
|
|
4
|
-
export * from './network.constants';
|
|
5
|
-
export * from './placeholders.constants';
|
|
6
|
-
export * from './storage.constants';
|
|
7
|
-
export * from './webWalletProvider.constants';
|
|
8
|
-
export * from './window.constants';
|
|
9
|
-
export * from './websocket.constants';
|
|
10
|
-
export * from './providerFactory.constants';
|
package/out/constants/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../__chunks__/chunk-5Y2ZDPP6.mjs";import{a as c,b as d}from"../__chunks__/chunk-WYVAFCPU.mjs";import{a as O,b as P,c as Q,d as R,e as S,f as T,g as U,h as V,i as W,j as X}from"../__chunks__/chunk-EJV4VNJG.mjs";import{a as _,b as $}from"../__chunks__/chunk-6R2WFQ7U.mjs";import{a as K,b as L,c as M,d as N}from"../__chunks__/chunk-NAYDJEWI.mjs";import{a as e,b as f,c as g,d as h,e as i,f as j,g as k}from"../__chunks__/chunk-FI444OX3.mjs";import{a as l,b as m,c as n,d as o,e as p,f as q,g as r,h as s,i as t,j as u,k as v}from"../__chunks__/chunk-LHEH7L4L.mjs";import{a as w,b as x,c as y,d as z,e as A,f as B,g as C,h as D,i as E,j as F,k as G}from"../__chunks__/chunk-PKDR5ERF.mjs";import{a as H,b as I,c as J}from"../__chunks__/chunk-MGFIOCA4.mjs";import{a as Y,b as Z}from"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-NWJYEKI2.mjs";import"../__chunks__/chunk-LJX4MW7B.mjs";import{a,b}from"../__chunks__/chunk-URTM5OGN.mjs";export{t as ALL_SHARDS_SHARD_ID,x as DEVNET_CHAIN_ID,y as DEVNET_EGLD_LABEL,I as ELLIPSIS,J as EMPTY_PPU,o as EXTRA_GAS_LIMIT_GUARDED_TX,n as GAS_LIMIT,m as GAS_PER_DATA_BYTE,p as GAS_PRICE,l as GAS_PRICE_MODIFIER,r as LEDGER_CONTRACT_DATA_ENABLED_VALUE,f as LEDGER_HASH_SIGN_MINIMUM_VERSION,e as LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,g as LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,i as LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,j as LEDGER_WITH_USERNAMES_MINIMUM_VERSION,h as LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,B as MAINNET_CHAIN_ID,C as MAINNET_EGLD_LABEL,s as METACHAIN_SHARD_ID,F as MULTIVERSX_ORIGIN,v as MULTI_TRANSFER_EGLD_TOKEN,H as N_A,$ as PROVIDER_SEARCH_PARAM,u as REFUNDED_GAS,N as REHYDRATE_STORE_TIMEOUT,z as TESTNET_CHAIN_ID,A as TESTNET_EGLD_LABEL,G as TIMEOUT,q as VERSION,W as WALLET_PROVIDER_CALLBACK_PARAM,X as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,R as WALLET_PROVIDER_CONNECT_URL,P as WALLET_PROVIDER_DEVNET,S as WALLET_PROVIDER_DISCONNECT_URL,O as WALLET_PROVIDER_MAINNET,T as WALLET_PROVIDER_SEND_TRANSACTION_URL,V as WALLET_PROVIDER_SIGN_MESSAGE_URL,U as WALLET_PROVIDER_SIGN_TRANSACTION_URL,Q as WALLET_PROVIDER_TESTNET,Y as WebsocketConnectionStatusEnum,D as chainIdByEnvironment,E as chainIdToEnvironment,w as fallbackNetworkConfigurations,d as isBrowserWithPopupConfirmation,c as isSafari,k as ledgerErrorCodes,K as persistConfig,_ as providerLabels,a as safeWindow,L as storage,M as subscriptions,b as version,Z as websocketConnection};
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var T=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var O=Object.prototype.hasOwnProperty;var P=(L,E)=>{for(var A in E)T(L,A,{get:E[A],enumerable:!0})},V=(L,E,A,I)=>{if(E&&typeof E=="object"||typeof E=="function")for(let R of D(E))!O.call(L,R)&&R!==A&&T(L,R,{get:()=>E[R],enumerable:!(I=N(E,R))||I.enumerable});return L};var C=L=>V(T({},"__esModule",{value:!0}),L);var S={};P(S,{WALLET_PROVIDER_CALLBACK_PARAM:()=>_.WALLET_PROVIDER_CALLBACK_PARAM,WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED:()=>_.WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,WALLET_PROVIDER_CONNECT_URL:()=>_.WALLET_PROVIDER_CONNECT_URL,WALLET_PROVIDER_DEVNET:()=>_.WALLET_PROVIDER_DEVNET,WALLET_PROVIDER_DISCONNECT_URL:()=>_.WALLET_PROVIDER_DISCONNECT_URL,WALLET_PROVIDER_MAINNET:()=>_.WALLET_PROVIDER_MAINNET,WALLET_PROVIDER_SEND_TRANSACTION_URL:()=>_.WALLET_PROVIDER_SEND_TRANSACTION_URL,WALLET_PROVIDER_SIGN_MESSAGE_URL:()=>_.WALLET_PROVIDER_SIGN_MESSAGE_URL,WALLET_PROVIDER_SIGN_TRANSACTION_URL:()=>_.WALLET_PROVIDER_SIGN_TRANSACTION_URL,WALLET_PROVIDER_TESTNET:()=>_.WALLET_PROVIDER_TESTNET});module.exports=C(S);var _=require("@multiversx/sdk-web-wallet-provider");0&&(module.exports={WALLET_PROVIDER_CALLBACK_PARAM,WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,WALLET_PROVIDER_CONNECT_URL,WALLET_PROVIDER_DEVNET,WALLET_PROVIDER_DISCONNECT_URL,WALLET_PROVIDER_MAINNET,WALLET_PROVIDER_SEND_TRANSACTION_URL,WALLET_PROVIDER_SIGN_MESSAGE_URL,WALLET_PROVIDER_SIGN_TRANSACTION_URL,WALLET_PROVIDER_TESTNET});
|
|
2
|
-
//# sourceMappingURL=webWalletProvider.constants.cjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/constants/webWalletProvider.constants.ts"],
|
|
4
|
-
"sourcesContent": ["export {\n WALLET_PROVIDER_MAINNET,\n WALLET_PROVIDER_DEVNET,\n WALLET_PROVIDER_TESTNET,\n WALLET_PROVIDER_CONNECT_URL,\n WALLET_PROVIDER_DISCONNECT_URL,\n WALLET_PROVIDER_SEND_TRANSACTION_URL,\n WALLET_PROVIDER_SIGN_TRANSACTION_URL,\n WALLET_PROVIDER_SIGN_MESSAGE_URL,\n WALLET_PROVIDER_CALLBACK_PARAM,\n WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED\n} from '@multiversx/sdk-web-wallet-provider';\n"],
|
|
5
|
-
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wrBAAAE,EAAAF,GAAA,IAAAG,EAWO",
|
|
6
|
-
"names": ["webWalletProvider_constants_exports", "__export", "__toCommonJS", "import_sdk_web_wallet_provider"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WALLET_PROVIDER_MAINNET, WALLET_PROVIDER_DEVNET, WALLET_PROVIDER_TESTNET, WALLET_PROVIDER_CONNECT_URL, WALLET_PROVIDER_DISCONNECT_URL, WALLET_PROVIDER_SEND_TRANSACTION_URL, WALLET_PROVIDER_SIGN_TRANSACTION_URL, WALLET_PROVIDER_SIGN_MESSAGE_URL, WALLET_PROVIDER_CALLBACK_PARAM, WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED } from '@multiversx/sdk-web-wallet-provider';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"../__chunks__/chunk-EJV4VNJG.mjs";export{i as WALLET_PROVIDER_CALLBACK_PARAM,j as WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED,d as WALLET_PROVIDER_CONNECT_URL,b as WALLET_PROVIDER_DEVNET,e as WALLET_PROVIDER_DISCONNECT_URL,a as WALLET_PROVIDER_MAINNET,f as WALLET_PROVIDER_SEND_TRANSACTION_URL,h as WALLET_PROVIDER_SIGN_MESSAGE_URL,g as WALLET_PROVIDER_SIGN_TRANSACTION_URL,c as WALLET_PROVIDER_TESTNET};
|
|
2
|
-
//# sourceMappingURL=webWalletProvider.constants.mjs.map
|