@multiversx/sdk-dapp 5.3.2 → 5.3.3

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.
Files changed (1059) hide show
  1. package/out/__chunks__/{chunk-4VUMAG4J.mjs → chunk-2JFN726G.mjs} +1 -1
  2. package/out/__chunks__/{chunk-4VUMAG4J.mjs.map → chunk-2JFN726G.mjs.map} +1 -1
  3. package/out/__chunks__/chunk-2QIUCSYX.mjs +2 -0
  4. package/out/__chunks__/chunk-2QIUCSYX.mjs.map +7 -0
  5. package/out/__chunks__/chunk-2XIBNXVY.mjs +2 -0
  6. package/out/__chunks__/chunk-3EKM2Y4K.mjs +2 -0
  7. package/out/__chunks__/chunk-3EKM2Y4K.mjs.map +7 -0
  8. package/out/__chunks__/{chunk-XV3H7VOE.mjs → chunk-3G2Q2LCB.mjs} +2 -2
  9. package/out/__chunks__/{chunk-YYH2GKPL.mjs → chunk-3GRRAVW4.mjs} +2 -2
  10. package/out/__chunks__/{chunk-YYH2GKPL.mjs.map → chunk-3GRRAVW4.mjs.map} +1 -1
  11. package/out/__chunks__/chunk-3KJMEECV.mjs +2 -0
  12. package/out/__chunks__/{chunk-IYM4ZX72.mjs → chunk-3NSS3FT6.mjs} +2 -2
  13. package/out/__chunks__/{chunk-M7B26JXO.mjs → chunk-3VIMQHXJ.mjs} +2 -2
  14. package/out/__chunks__/{chunk-KIMRQMXB.mjs → chunk-4PRJNNSH.mjs} +2 -2
  15. package/out/__chunks__/{chunk-KIMRQMXB.mjs.map → chunk-4PRJNNSH.mjs.map} +1 -1
  16. package/out/__chunks__/{chunk-TR2KNDCH.mjs → chunk-53NQH7NR.mjs} +2 -2
  17. package/out/__chunks__/chunk-53NQH7NR.mjs.map +7 -0
  18. package/out/__chunks__/{chunk-G5N56FHJ.mjs → chunk-5OMQOYP7.mjs} +2 -2
  19. package/out/__chunks__/chunk-5P3UEE7C.mjs +1 -0
  20. package/out/__chunks__/chunk-5R7MHTVH.mjs +2 -0
  21. package/out/__chunks__/chunk-5R7MHTVH.mjs.map +7 -0
  22. package/out/__chunks__/{chunk-6EKK7AJE.mjs → chunk-5WJQ2KWS.mjs} +2 -2
  23. package/out/__chunks__/chunk-65F23E3Q.mjs +2 -0
  24. package/out/__chunks__/chunk-6M3IQXQF.mjs +2 -0
  25. package/out/__chunks__/{chunk-LYSI4URP.mjs → chunk-6PCK2RPQ.mjs} +2 -2
  26. package/out/__chunks__/{chunk-K4JJZCL3.mjs → chunk-6QPOPWIN.mjs} +2 -2
  27. package/out/__chunks__/{chunk-LG6Q3PRI.mjs → chunk-6RCSIT2P.mjs} +2 -2
  28. package/out/__chunks__/chunk-6RYKBAUE.mjs +2 -0
  29. package/out/__chunks__/chunk-7BESPSVI.mjs +2 -0
  30. package/out/__chunks__/chunk-7BESPSVI.mjs.map +7 -0
  31. package/out/__chunks__/{chunk-5KYXNO4J.mjs → chunk-7FV6DEQX.mjs} +2 -2
  32. package/out/__chunks__/chunk-7GWD5XR7.mjs +2 -0
  33. package/out/__chunks__/chunk-7GWD5XR7.mjs.map +7 -0
  34. package/out/__chunks__/{chunk-5AGKFSA6.mjs → chunk-7TH3QSCV.mjs} +2 -2
  35. package/out/__chunks__/{chunk-CXAX5TAG.mjs → chunk-AFOS3Q4N.mjs} +2 -2
  36. package/out/__chunks__/chunk-AIQTIXFV.mjs +2 -0
  37. package/out/__chunks__/chunk-AMXCV2YT.mjs +2 -0
  38. package/out/__chunks__/{chunk-4GCIE2BM.mjs.map → chunk-AMXCV2YT.mjs.map} +1 -1
  39. package/out/__chunks__/{chunk-ZRSYQ3MT.mjs → chunk-AOLW46E4.mjs} +2 -2
  40. package/out/__chunks__/chunk-APCGI2A5.mjs +2 -0
  41. package/out/__chunks__/{chunk-LKOWOTL2.mjs → chunk-AWH3CO5C.mjs} +2 -2
  42. package/out/__chunks__/{chunk-MS7BFY27.mjs → chunk-BE5OKL3L.mjs} +2 -2
  43. package/out/__chunks__/chunk-BE5OKL3L.mjs.map +7 -0
  44. package/out/__chunks__/chunk-BFD5ZJOK.mjs +1 -0
  45. package/out/__chunks__/{chunk-DFSBS3PX.mjs → chunk-BHWSBAMZ.mjs} +2 -2
  46. package/out/__chunks__/chunk-BJSQMG6V.mjs +2 -0
  47. package/out/__chunks__/chunk-BJSQMG6V.mjs.map +7 -0
  48. package/out/__chunks__/chunk-BODQ3QWR.mjs +2 -0
  49. package/out/__chunks__/chunk-BODQ3QWR.mjs.map +7 -0
  50. package/out/__chunks__/{chunk-XDBKPKTG.mjs → chunk-BSA3IGL6.mjs} +2 -2
  51. package/out/__chunks__/chunk-C4FY7JBD.mjs +2 -0
  52. package/out/__chunks__/chunk-C4FY7JBD.mjs.map +7 -0
  53. package/out/__chunks__/chunk-CAOL6XLD.mjs +2 -0
  54. package/out/__chunks__/{chunk-RV6SJMD7.mjs → chunk-CMERGCP7.mjs} +2 -2
  55. package/out/__chunks__/chunk-D27ZK232.mjs +2 -0
  56. package/out/__chunks__/chunk-D4JFV2LM.mjs +2 -0
  57. package/out/__chunks__/chunk-D6CXZV4Y.mjs +2 -0
  58. package/out/__chunks__/{chunk-H73D4VUZ.mjs.map → chunk-D6CXZV4Y.mjs.map} +1 -1
  59. package/out/__chunks__/{chunk-CDWODCD7.mjs → chunk-DCLI63KS.mjs} +1 -1
  60. package/out/__chunks__/chunk-DCLI63KS.mjs.map +7 -0
  61. package/out/__chunks__/{chunk-6CLCXSHA.mjs → chunk-DIHGGV4M.mjs} +2 -2
  62. package/out/__chunks__/chunk-DIHGGV4M.mjs.map +7 -0
  63. package/out/__chunks__/{chunk-PKLBZG2R.mjs → chunk-DNYE6AJI.mjs} +2 -2
  64. package/out/__chunks__/chunk-EPB4JKWX.mjs +2 -0
  65. package/out/__chunks__/{chunk-K5K2FVFB.mjs.map → chunk-EPB4JKWX.mjs.map} +1 -1
  66. package/out/__chunks__/{chunk-ZKBKYLAP.mjs → chunk-ERDTZ52C.mjs} +2 -2
  67. package/out/__chunks__/chunk-F2W755EK.mjs +2 -0
  68. package/out/__chunks__/{chunk-NVBWPLR7.mjs → chunk-FDR5TTUS.mjs} +2 -2
  69. package/out/__chunks__/{chunk-DLCBEPEX.mjs → chunk-FE54XZXM.mjs} +2 -2
  70. package/out/__chunks__/{chunk-DLCBEPEX.mjs.map → chunk-FE54XZXM.mjs.map} +2 -2
  71. package/out/__chunks__/{chunk-7MBSWJUD.mjs → chunk-FK6DWWZF.mjs} +2 -2
  72. package/out/__chunks__/{chunk-NAYC2B72.mjs → chunk-FKUMHDP5.mjs} +2 -2
  73. package/out/__chunks__/{chunk-TFARIEZF.mjs → chunk-FNEL7WRG.mjs} +2 -2
  74. package/out/__chunks__/chunk-FNEL7WRG.mjs.map +7 -0
  75. package/out/__chunks__/{chunk-3XTYIGW5.mjs → chunk-GBDHEWNQ.mjs} +2 -2
  76. package/out/__chunks__/{chunk-WS2MTQIC.mjs → chunk-GYYGYOIE.mjs} +2 -2
  77. package/out/__chunks__/{chunk-PMATTOPD.mjs → chunk-HSF3JATH.mjs} +2 -2
  78. package/out/__chunks__/{chunk-5DILKRFV.mjs → chunk-HTT67LH3.mjs} +2 -2
  79. package/out/__chunks__/chunk-HX3JKALT.mjs +2 -0
  80. package/out/__chunks__/chunk-HX3JKALT.mjs.map +7 -0
  81. package/out/__chunks__/{chunk-NTPPBM7T.mjs → chunk-I3ILB737.mjs} +2 -2
  82. package/out/__chunks__/{chunk-N4KX33RW.mjs → chunk-IAN3XFXS.mjs} +2 -2
  83. package/out/__chunks__/{chunk-TQ7T6ULY.mjs → chunk-IHAZNPKL.mjs} +2 -2
  84. package/out/__chunks__/{chunk-JTV664SG.mjs → chunk-IHSJITVR.mjs} +2 -2
  85. package/out/__chunks__/chunk-IRFXPRDX.mjs +2 -0
  86. package/out/__chunks__/chunk-IRFXPRDX.mjs.map +7 -0
  87. package/out/__chunks__/chunk-IVMRBKXP.mjs +2 -0
  88. package/out/__chunks__/chunk-IVMRBKXP.mjs.map +7 -0
  89. package/out/__chunks__/{chunk-YGMILCHH.mjs → chunk-IZTW4MG5.mjs} +2 -2
  90. package/out/__chunks__/chunk-IZTW4MG5.mjs.map +7 -0
  91. package/out/__chunks__/chunk-JA27GJYB.mjs +2 -0
  92. package/out/__chunks__/chunk-JA27GJYB.mjs.map +7 -0
  93. package/out/__chunks__/chunk-JJUR63EV.mjs +2 -0
  94. package/out/__chunks__/{chunk-E77ZH5JT.mjs → chunk-JMK6YN6B.mjs} +2 -2
  95. package/out/__chunks__/{chunk-JZ22ZC2D.mjs → chunk-JO7KFAZC.mjs} +2 -2
  96. package/out/__chunks__/{chunk-3PAZABVI.mjs → chunk-JQ3KV55D.mjs} +2 -2
  97. package/out/__chunks__/chunk-K4E7GCWI.mjs +2 -0
  98. package/out/__chunks__/chunk-KKQKER7U.mjs +2 -0
  99. package/out/__chunks__/chunk-KKQKER7U.mjs.map +7 -0
  100. package/out/__chunks__/chunk-KLI5H35D.mjs +2 -0
  101. package/out/__chunks__/chunk-KMITMS2L.mjs +2 -0
  102. package/out/__chunks__/chunk-KMITMS2L.mjs.map +7 -0
  103. package/out/__chunks__/chunk-KOUT2Y7O.mjs +2 -0
  104. package/out/__chunks__/chunk-KOUT2Y7O.mjs.map +7 -0
  105. package/out/__chunks__/{chunk-GUAXMODN.mjs → chunk-KYQ5IP6W.mjs} +2 -2
  106. package/out/__chunks__/chunk-LASOW7GT.mjs +2 -0
  107. package/out/__chunks__/chunk-LASOW7GT.mjs.map +7 -0
  108. package/out/__chunks__/chunk-LFMHK4UE.mjs +2 -0
  109. package/out/__chunks__/{chunk-HFX5WAAI.mjs.map → chunk-LFMHK4UE.mjs.map} +1 -1
  110. package/out/__chunks__/{chunk-N5VJJRWV.mjs → chunk-LQAAQV3I.mjs} +2 -2
  111. package/out/__chunks__/chunk-LW6KBFPA.mjs +2 -0
  112. package/out/__chunks__/chunk-LW6KBFPA.mjs.map +7 -0
  113. package/out/__chunks__/{chunk-PW34EFS7.mjs → chunk-LZWEL473.mjs} +2 -2
  114. package/out/__chunks__/{chunk-W5MTQBQF.mjs → chunk-M3F2J3PW.mjs} +2 -2
  115. package/out/__chunks__/chunk-M3F2J3PW.mjs.map +7 -0
  116. package/out/__chunks__/chunk-MTGS435F.mjs +2 -0
  117. package/out/__chunks__/{chunk-OSG4UY2Z.mjs → chunk-NGJIMP5Y.mjs} +2 -2
  118. package/out/__chunks__/{chunk-7WJMUTGI.mjs → chunk-NQE5YCZP.mjs} +2 -2
  119. package/out/__chunks__/{chunk-H5NVCCUR.mjs → chunk-NWRCQLFI.mjs} +2 -2
  120. package/out/__chunks__/chunk-NYZ726DG.mjs +2 -0
  121. package/out/__chunks__/{chunk-5E32AO3E.mjs → chunk-O3F75VWG.mjs} +2 -2
  122. package/out/__chunks__/chunk-O3F75VWG.mjs.map +7 -0
  123. package/out/__chunks__/{chunk-OAPLU7UX.mjs → chunk-OBIQ63DJ.mjs} +2 -2
  124. package/out/__chunks__/chunk-ONT6BGYB.mjs +2 -0
  125. package/out/__chunks__/{chunk-CYCS3K6Q.mjs.map → chunk-ONT6BGYB.mjs.map} +2 -2
  126. package/out/__chunks__/chunk-OSV2GCKV.mjs +2 -0
  127. package/out/__chunks__/chunk-PCPUKFTJ.mjs +2 -0
  128. package/out/__chunks__/{chunk-URTM5OGN.mjs.map → chunk-PCPUKFTJ.mjs.map} +1 -1
  129. package/out/__chunks__/chunk-PGPTO2Q4.mjs +2 -0
  130. package/out/__chunks__/{chunk-3CG4C7T4.mjs.map → chunk-PGPTO2Q4.mjs.map} +1 -1
  131. package/out/__chunks__/{chunk-FNHO66WN.mjs → chunk-PIFCCIF3.mjs} +2 -2
  132. package/out/__chunks__/chunk-PJ5TKZD5.mjs +2 -0
  133. package/out/__chunks__/{chunk-4SS6EY66.mjs → chunk-PN7JDWSZ.mjs} +2 -2
  134. package/out/__chunks__/chunk-PS3SWN5M.mjs +2 -0
  135. package/out/__chunks__/chunk-PS3SWN5M.mjs.map +7 -0
  136. package/out/__chunks__/chunk-PWAP64SN.mjs +2 -0
  137. package/out/__chunks__/chunk-PWAP64SN.mjs.map +7 -0
  138. package/out/__chunks__/{chunk-2KGBHCEN.mjs → chunk-PWOYKKUY.mjs} +2 -2
  139. package/out/__chunks__/chunk-PWOYKKUY.mjs.map +7 -0
  140. package/out/__chunks__/{chunk-UT4BWFQH.mjs → chunk-PYRTFEMB.mjs} +2 -2
  141. package/out/__chunks__/chunk-PYRTFEMB.mjs.map +7 -0
  142. package/out/__chunks__/{chunk-LNXZQGLV.mjs → chunk-Q7YFEWWK.mjs} +2 -2
  143. package/out/__chunks__/{chunk-LNXZQGLV.mjs.map → chunk-Q7YFEWWK.mjs.map} +1 -1
  144. package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-QFXS7HGL.mjs} +2 -2
  145. package/out/__chunks__/chunk-QMZJNNU4.mjs +2 -0
  146. package/out/__chunks__/chunk-QMZJNNU4.mjs.map +7 -0
  147. package/out/__chunks__/chunk-QNYO7NI5.mjs +2 -0
  148. package/out/__chunks__/{chunk-LHEH7L4L.mjs.map → chunk-QNYO7NI5.mjs.map} +3 -3
  149. package/out/__chunks__/{chunk-UCFMVEOZ.mjs → chunk-QX32V6TT.mjs} +2 -2
  150. package/out/__chunks__/chunk-QX32V6TT.mjs.map +7 -0
  151. package/out/__chunks__/{chunk-O65OBG5D.mjs → chunk-QZC64RDG.mjs} +2 -2
  152. package/out/__chunks__/{chunk-AZA2GNTR.mjs → chunk-RDEVBV56.mjs} +2 -2
  153. package/out/__chunks__/{chunk-IVHD32VC.mjs → chunk-RIPIZH54.mjs} +2 -2
  154. package/out/__chunks__/chunk-RMLVJDCQ.mjs +2 -0
  155. package/out/__chunks__/chunk-RVBZZQS2.mjs +2 -0
  156. package/out/__chunks__/{chunk-FPKFAJNW.mjs → chunk-RXRVBUAX.mjs} +2 -2
  157. package/out/__chunks__/{chunk-VGGJESXR.mjs → chunk-SBCXU7OA.mjs} +2 -2
  158. package/out/__chunks__/chunk-SBCXU7OA.mjs.map +7 -0
  159. package/out/__chunks__/{chunk-SALLGAGD.mjs → chunk-SFXZJSEY.mjs} +2 -2
  160. package/out/__chunks__/{chunk-6F4OKEUQ.mjs → chunk-SYHILLXA.mjs} +2 -2
  161. package/out/__chunks__/{chunk-KDMYDO7R.mjs → chunk-TD26OL6Y.mjs} +2 -2
  162. package/out/__chunks__/chunk-TD26OL6Y.mjs.map +7 -0
  163. package/out/__chunks__/{chunk-HBPQEY3L.mjs → chunk-TRUOISVH.mjs} +2 -2
  164. package/out/__chunks__/chunk-TWLO2IAN.mjs +2 -0
  165. package/out/__chunks__/chunk-TWLO2IAN.mjs.map +7 -0
  166. package/out/__chunks__/{chunk-N55JEIM6.mjs → chunk-TWYGNEQS.mjs} +1 -1
  167. package/out/__chunks__/chunk-TWYGNEQS.mjs.map +7 -0
  168. package/out/__chunks__/{chunk-OIRXFS5Q.mjs → chunk-UJTYOT5N.mjs} +2 -2
  169. package/out/__chunks__/{chunk-SAN5F2PW.mjs → chunk-UWWAVJFM.mjs} +2 -2
  170. package/out/__chunks__/chunk-V5ZSFCKJ.mjs +2 -0
  171. package/out/__chunks__/{chunk-6JM4DPOH.mjs.map → chunk-V5ZSFCKJ.mjs.map} +3 -3
  172. package/out/__chunks__/{chunk-ATLICLWT.mjs → chunk-V7K77GSE.mjs} +2 -2
  173. package/out/__chunks__/{chunk-UPABDY55.mjs → chunk-VC74WYUB.mjs} +2 -2
  174. package/out/__chunks__/{chunk-BCSNXRMR.mjs → chunk-VCPH27TY.mjs} +1 -1
  175. package/out/__chunks__/chunk-VCPH27TY.mjs.map +7 -0
  176. package/out/__chunks__/chunk-VGDWWBLN.mjs +2 -0
  177. package/out/__chunks__/{chunk-NAYDJEWI.mjs → chunk-VSMFXZJI.mjs} +2 -2
  178. package/out/__chunks__/chunk-VSMFXZJI.mjs.map +7 -0
  179. package/out/__chunks__/{chunk-XXSANEEO.mjs → chunk-W2A2N772.mjs} +2 -2
  180. package/out/__chunks__/{chunk-U3MIDVR7.mjs → chunk-W3S6I34V.mjs} +1 -1
  181. package/out/__chunks__/chunk-W3S6I34V.mjs.map +7 -0
  182. package/out/__chunks__/{chunk-5W7PFHTT.mjs → chunk-WFMBEYKX.mjs} +2 -2
  183. package/out/__chunks__/{chunk-MLDUGECH.mjs → chunk-WMRVRNAI.mjs} +2 -2
  184. package/out/__chunks__/chunk-WMRVRNAI.mjs.map +7 -0
  185. package/out/__chunks__/chunk-WYE5FJIJ.mjs +2 -0
  186. package/out/__chunks__/chunk-WYE5FJIJ.mjs.map +7 -0
  187. package/out/__chunks__/{chunk-O6ALDFLM.mjs → chunk-WZEDZF3Q.mjs} +2 -2
  188. package/out/__chunks__/chunk-X6D2T4UF.mjs +2 -0
  189. package/out/__chunks__/{chunk-FRUJEORM.mjs.map → chunk-X6D2T4UF.mjs.map} +1 -1
  190. package/out/__chunks__/chunk-XA4YS4GK.mjs +2 -0
  191. package/out/__chunks__/chunk-XA4YS4GK.mjs.map +7 -0
  192. package/out/__chunks__/{chunk-4VA2SULD.mjs → chunk-XA6ZDGIQ.mjs} +1 -1
  193. package/out/__chunks__/chunk-XA6ZDGIQ.mjs.map +7 -0
  194. package/out/__chunks__/{chunk-4MCQ27VQ.mjs → chunk-XHCLYR42.mjs} +2 -2
  195. package/out/__chunks__/chunk-XHCLYR42.mjs.map +7 -0
  196. package/out/__chunks__/{chunk-7JDTQFLQ.mjs → chunk-XLMQWFKS.mjs} +2 -2
  197. package/out/__chunks__/chunk-XLMQWFKS.mjs.map +7 -0
  198. package/out/__chunks__/{chunk-HUXPA4C2.mjs → chunk-Y6QPE6SZ.mjs} +2 -2
  199. package/out/__chunks__/{chunk-7PE652LB.mjs → chunk-YGHJRPPY.mjs} +2 -2
  200. package/out/__chunks__/chunk-YMDS57T6.mjs +2 -0
  201. package/out/__chunks__/chunk-YMDS57T6.mjs.map +7 -0
  202. package/out/__chunks__/{chunk-TMRKN7VL.mjs → chunk-YXNJS4KL.mjs} +2 -2
  203. package/out/__chunks__/{chunk-7UA7QAEF.mjs → chunk-Z6OAKBWP.mjs} +2 -2
  204. package/out/__chunks__/chunk-Z6OAKBWP.mjs.map +7 -0
  205. package/out/__chunks__/chunk-ZOYJTXNI.mjs +2 -0
  206. package/out/__chunks__/chunk-ZOYJTXNI.mjs.map +7 -0
  207. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  208. package/out/apiCalls/account/getAccountFromApi.cjs.map +3 -3
  209. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  210. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  211. package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
  212. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  213. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  214. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  215. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  216. package/out/apiCalls/economics/getEconomics.cjs.map +3 -3
  217. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  218. package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
  219. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  220. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  221. package/out/apiCalls/tokens/getTokenDetails.cjs.map +3 -3
  222. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  223. package/out/apiCalls/tokens/getTokenDetails.mjs.map +2 -2
  224. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  225. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  226. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +3 -3
  227. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  228. package/out/apiCalls/transactions/getTransactionByHash.mjs.map +2 -2
  229. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  230. package/out/constants/browser.constants.mjs +1 -1
  231. package/out/constants/browser.constants.mjs.map +4 -4
  232. package/out/constants/mvx.constants.cjs +1 -1
  233. package/out/constants/mvx.constants.cjs.map +3 -3
  234. package/out/constants/mvx.constants.d.ts +1 -0
  235. package/out/constants/mvx.constants.mjs +1 -1
  236. package/out/constants/storage.constants.cjs.map +1 -1
  237. package/out/constants/storage.constants.d.ts +1 -1
  238. package/out/constants/storage.constants.mjs +1 -1
  239. package/out/constants/webWalletProvider.constants.mjs +1 -1
  240. package/out/constants/webWalletProvider.constants.mjs.map +4 -4
  241. package/out/constants/window.constants.cjs +1 -1
  242. package/out/constants/window.constants.cjs.map +1 -1
  243. package/out/constants/window.constants.mjs +1 -1
  244. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  245. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +3 -3
  246. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  247. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  248. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  249. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +3 -3
  250. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  251. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  252. package/out/lib/sdkDappUi.mjs +1 -1
  253. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  254. package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
  255. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  256. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  257. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  258. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  259. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  260. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  261. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  262. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
  263. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  264. package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
  265. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  266. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
  267. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  268. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +1 -1
  269. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
  270. package/out/managers/ToastManager/index.mjs +1 -1
  271. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  272. package/out/managers/TransactionManager/TransactionManager.cjs.map +3 -3
  273. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  274. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  275. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +3 -3
  276. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  277. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  278. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +3 -3
  279. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  280. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  281. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +3 -3
  282. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +1 -1
  283. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  284. package/out/managers/TransactionManager/index.mjs +1 -1
  285. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  286. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
  287. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  288. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  289. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  290. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  291. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  292. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
  293. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  294. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  295. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  296. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  297. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  298. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  299. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  300. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  301. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  302. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  303. package/out/methods/account/getAccount.cjs +1 -1
  304. package/out/methods/account/getAccount.cjs.map +3 -3
  305. package/out/methods/account/getAccount.mjs +1 -1
  306. package/out/methods/account/getAccountInfo.cjs +1 -1
  307. package/out/methods/account/getAccountInfo.cjs.map +3 -3
  308. package/out/methods/account/getAccountInfo.d.ts +1 -1
  309. package/out/methods/account/getAccountInfo.mjs +1 -1
  310. package/out/methods/account/getAccountInfo.mjs.map +2 -2
  311. package/out/methods/account/getAddress.cjs +1 -1
  312. package/out/methods/account/getAddress.cjs.map +3 -3
  313. package/out/methods/account/getAddress.mjs +1 -1
  314. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  315. package/out/methods/account/getLatestNonce.mjs +1 -1
  316. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  317. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
  318. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +3 -3
  319. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  320. package/out/methods/initApp/initApp.cjs +1 -1
  321. package/out/methods/initApp/initApp.cjs.map +3 -3
  322. package/out/methods/initApp/initApp.mjs +1 -1
  323. package/out/methods/initApp/initApp.mjs.map +3 -3
  324. package/out/methods/initApp/initApp.types.cjs.map +1 -1
  325. package/out/methods/initApp/initApp.types.d.ts +2 -0
  326. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
  327. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +3 -3
  328. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  329. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  330. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  331. package/out/methods/loginInfo/getLoginInfo.mjs.map +1 -1
  332. package/out/methods/network/getEgldLabel.mjs +1 -1
  333. package/out/methods/network/getExplorerAddress.mjs +1 -1
  334. package/out/methods/network/getNetworkConfig.mjs +1 -1
  335. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  336. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
  337. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs.map +3 -3
  338. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  339. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  340. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  341. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  342. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  343. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  344. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
  345. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +3 -3
  346. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  347. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  348. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  349. package/out/methods/transactions/getFailedTransactions.mjs.map +1 -1
  350. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  351. package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +1 -1
  352. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  353. package/out/methods/transactions/getPendingTransactions.mjs.map +1 -1
  354. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  355. package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +1 -1
  356. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  357. package/out/methods/transactions/getSuccessfulTransactions.mjs.map +1 -1
  358. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  359. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +1 -1
  360. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  361. package/out/methods/transactions/getTransactionSessions.mjs.map +1 -1
  362. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  363. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
  364. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +3 -3
  365. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  366. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  367. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  368. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  369. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  370. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  371. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  372. package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
  373. package/out/providers/DappProvider/helpers/login/login.cjs.map +3 -3
  374. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  375. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  376. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
  377. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
  378. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  379. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  380. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
  381. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +3 -3
  382. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  383. package/out/providers/DappProvider/index.mjs +1 -1
  384. package/out/providers/ProviderFactory.cjs +1 -1
  385. package/out/providers/ProviderFactory.cjs.map +3 -3
  386. package/out/providers/ProviderFactory.mjs +1 -1
  387. package/out/providers/helpers/accountProvider.mjs +1 -1
  388. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  389. package/out/providers/helpers/restoreProvider.cjs +1 -1
  390. package/out/providers/helpers/restoreProvider.cjs.map +3 -3
  391. package/out/providers/helpers/restoreProvider.mjs +1 -1
  392. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
  393. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +3 -3
  394. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +3 -0
  395. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  396. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
  397. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
  398. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  399. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  400. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
  401. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
  402. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  403. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  404. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
  405. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
  406. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  407. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  408. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
  409. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
  410. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  411. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
  412. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +3 -3
  413. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  414. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +1 -1
  415. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
  416. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map +3 -3
  417. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +1 -1
  418. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  419. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
  420. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +3 -3
  421. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  422. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  423. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  424. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  425. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
  426. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs.map +3 -3
  427. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +1 -1
  428. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  429. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  430. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  431. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  432. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
  433. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +3 -3
  434. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  435. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  436. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
  437. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
  438. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  439. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  440. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  441. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  442. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  443. package/out/providers/strategies/helpers/index.mjs +1 -1
  444. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
  445. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +3 -3
  446. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  447. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
  448. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +3 -3
  449. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  450. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  451. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
  452. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +3 -3
  453. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.mjs +1 -1
  454. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
  455. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  456. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs +1 -1
  457. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  458. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
  459. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
  460. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
  461. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
  462. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
  463. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +3 -3
  464. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  465. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
  466. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +3 -3
  467. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  468. package/out/react/account/useGetAccount.mjs +1 -1
  469. package/out/react/account/useGetAccount.mjs.map +1 -1
  470. package/out/react/account/useGetAccountInfo.d.ts +1 -1
  471. package/out/react/account/useGetAccountInfo.mjs +1 -1
  472. package/out/react/account/useGetAccountInfo.mjs.map +1 -1
  473. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  474. package/out/react/account/useGetIsLoggedIn.mjs.map +1 -1
  475. package/out/react/account/useGetLatestNonce.mjs +1 -1
  476. package/out/react/account/useGetLatestNonce.mjs.map +1 -1
  477. package/out/react/index.mjs +1 -1
  478. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  479. package/out/react/loginInfo/useGetLoginInfo.mjs.map +1 -1
  480. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  481. package/out/react/network/useGetNetworkConfig.mjs.map +1 -1
  482. package/out/react/store/getReactStore.mjs +1 -1
  483. package/out/react/store/useSelector.mjs +1 -1
  484. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  485. package/out/react/transactions/useGetFailedTransactions.mjs.map +1 -1
  486. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  487. package/out/react/transactions/useGetFailedTransactionsSessions.mjs.map +1 -1
  488. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  489. package/out/react/transactions/useGetPendingTransactions.mjs.map +1 -1
  490. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  491. package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +1 -1
  492. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  493. package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +1 -1
  494. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  495. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +1 -1
  496. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  497. package/out/react/transactions/useGetTransactionSessions.mjs.map +1 -1
  498. package/out/services/nativeAuth/helpers/decodeLoginToken.mjs +1 -1
  499. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.mjs +1 -1
  500. package/out/services/nativeAuth/helpers/getLatestBlockHash.mjs +1 -1
  501. package/out/services/nativeAuth/helpers/index.mjs +1 -1
  502. package/out/services/nativeAuth/index.mjs +1 -1
  503. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  504. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
  505. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +3 -3
  506. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  507. package/out/services/nativeAuth/methods/getTokenExpiration.mjs +1 -1
  508. package/out/services/nativeAuth/nativeAuth.cjs +1 -1
  509. package/out/services/nativeAuth/nativeAuth.cjs.map +3 -3
  510. package/out/services/nativeAuth/nativeAuth.d.ts +1 -1
  511. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  512. package/out/store/actions/account/accountActions.mjs +1 -1
  513. package/out/store/actions/account/index.mjs +1 -1
  514. package/out/store/actions/cache/cacheActions.mjs +1 -1
  515. package/out/store/actions/cache/index.mjs +1 -1
  516. package/out/store/actions/config/configActions.cjs +1 -1
  517. package/out/store/actions/config/configActions.cjs.map +3 -3
  518. package/out/store/actions/config/configActions.d.ts +4 -2
  519. package/out/store/actions/config/configActions.mjs +1 -1
  520. package/out/store/actions/config/index.mjs +1 -1
  521. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  522. package/out/store/actions/network/index.mjs +1 -1
  523. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  524. package/out/store/actions/network/networkActions.mjs +1 -1
  525. package/out/store/actions/sharedActions/index.mjs +1 -1
  526. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  527. package/out/store/actions/toasts/index.mjs +1 -1
  528. package/out/store/actions/toasts/toastsActions.cjs +1 -1
  529. package/out/store/actions/toasts/toastsActions.cjs.map +3 -3
  530. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  531. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  532. package/out/store/actions/ui/index.mjs +1 -1
  533. package/out/store/actions/ui/uiActions.mjs +1 -1
  534. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  535. package/out/store/middleware/index.mjs +1 -1
  536. package/out/store/middleware/logoutMiddleware.cjs +1 -1
  537. package/out/store/middleware/logoutMiddleware.cjs.map +3 -3
  538. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  539. package/out/store/selectors/accountSelectors.d.ts +1 -1
  540. package/out/store/selectors/accountSelectors.mjs +1 -1
  541. package/out/store/selectors/configSelectors.cjs +1 -1
  542. package/out/store/selectors/configSelectors.cjs.map +3 -3
  543. package/out/store/selectors/configSelectors.d.ts +2 -1
  544. package/out/store/selectors/configSelectors.mjs +1 -1
  545. package/out/store/selectors/networkSelectors.d.ts +1 -1
  546. package/out/store/selectors/storeSelector.mjs +1 -1
  547. package/out/store/selectors/storeSelector.mjs.map +4 -4
  548. package/out/store/slices/account/accountSlice.mjs +1 -1
  549. package/out/store/slices/account/emptyAccount.mjs +1 -1
  550. package/out/store/slices/account/index.mjs +1 -1
  551. package/out/store/slices/config/config.types.cjs +1 -1
  552. package/out/store/slices/config/config.types.cjs.map +1 -1
  553. package/out/store/slices/config/config.types.d.ts +8 -0
  554. package/out/store/slices/config/configSlice.cjs +1 -1
  555. package/out/store/slices/config/configSlice.cjs.map +2 -2
  556. package/out/store/slices/config/configSlice.mjs +1 -1
  557. package/out/store/slices/config/index.mjs +1 -1
  558. package/out/store/storage/index.mjs +1 -1
  559. package/out/store/storage/storageCallback.mjs +1 -1
  560. package/out/store/store.cjs +1 -1
  561. package/out/store/store.cjs.map +3 -3
  562. package/out/store/store.mjs +1 -1
  563. package/out/types/network.types.mjs +0 -1
  564. package/out/types/suspiciousLink.types.mjs +0 -1
  565. package/out/types/websocket.types.mjs +0 -1
  566. package/out/utils/ComponentFactory.cjs +1 -1
  567. package/out/utils/ComponentFactory.cjs.map +3 -3
  568. package/out/utils/ComponentFactory.mjs +1 -1
  569. package/out/utils/account/fetchAccount.mjs +1 -1
  570. package/out/utils/account/refreshAccount.cjs +1 -1
  571. package/out/utils/account/refreshAccount.cjs.map +3 -3
  572. package/out/utils/account/refreshAccount.mjs +1 -1
  573. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  574. package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +4 -4
  575. package/out/utils/decoders/base64Utils.cjs +1 -1
  576. package/out/utils/decoders/base64Utils.cjs.map +2 -2
  577. package/out/utils/decoders/base64Utils.mjs +1 -1
  578. package/out/utils/decoders/isAscii.mjs +1 -1
  579. package/out/utils/decoders/isAscii.mjs.map +4 -4
  580. package/out/utils/decoders/stringContainsNumbers.mjs +1 -1
  581. package/out/utils/decoders/stringContainsNumbers.mjs.map +4 -4
  582. package/out/utils/network/index.mjs +1 -1
  583. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  584. package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +1 -1
  585. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
  586. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
  587. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +3 -3
  588. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
  589. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
  590. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
  591. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
  592. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
  593. package/out/utils/transactions/getDecodedDataField/index.cjs +1 -1
  594. package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
  595. package/out/utils/transactions/getDecodedDataField/index.d.ts +0 -1
  596. package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
  597. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
  598. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +3 -3
  599. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  600. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
  601. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +3 -3
  602. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  603. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  604. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
  605. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +3 -3
  606. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  607. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  608. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  609. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
  610. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +3 -3
  611. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  612. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
  613. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +3 -3
  614. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  615. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
  616. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +3 -3
  617. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  618. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
  619. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
  620. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -1
  621. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  622. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  623. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
  624. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
  625. package/out/utils/transactions/getInterpretedTransaction/index.cjs +1 -1
  626. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
  627. package/out/utils/transactions/getInterpretedTransaction/index.d.ts +0 -1
  628. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  629. package/out/utils/transactions/getScamFlag.cjs.map +1 -1
  630. package/out/utils/transactions/getScamFlag.d.ts +1 -1
  631. package/out/utils/transactions/getScamFlag.mjs.map +1 -1
  632. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -1
  633. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +3 -3
  634. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  635. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  636. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  637. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  638. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  639. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  640. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  641. package/out/utils/transactions/getTransactionsHistory/index.cjs +1 -1
  642. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
  643. package/out/utils/transactions/getTransactionsHistory/index.d.ts +0 -1
  644. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  645. package/out/utils/validation/isContract.cjs +1 -1
  646. package/out/utils/validation/isContract.cjs.map +3 -3
  647. package/out/utils/validation/isContract.mjs +1 -1
  648. package/out/utils/validation/maxDecimals.mjs +1 -1
  649. package/out/utils/validation/maxDecimals.mjs.map +4 -4
  650. package/out/utils/visual/switchTheme.cjs.map +1 -1
  651. package/out/utils/visual/switchTheme.d.ts +1 -1
  652. package/out/utils/visual/switchTheme.mjs +1 -1
  653. package/out/utils/window/buildUrlParams.mjs +1 -1
  654. package/out/utils/window/buildUrlParams.mjs.map +4 -4
  655. package/out/utils/window/getIsAuthRoute.mjs +1 -1
  656. package/out/utils/window/getIsAuthRoute.mjs.map +4 -4
  657. package/out/utils/window/getIsInIframe.mjs +1 -1
  658. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  659. package/out/utils/window/sanitizeCallbackUrl.mjs +1 -1
  660. package/out/utils/window/sanitizeCallbackUrl.mjs.map +4 -4
  661. package/package.json +2 -5
  662. package/out/__chunks__/chunk-2BSPSW6X.mjs +0 -1
  663. package/out/__chunks__/chunk-2KGBHCEN.mjs.map +0 -7
  664. package/out/__chunks__/chunk-2RAULLHL.mjs +0 -2
  665. package/out/__chunks__/chunk-2RAULLHL.mjs.map +0 -7
  666. package/out/__chunks__/chunk-2RTOYKHB.mjs +0 -2
  667. package/out/__chunks__/chunk-3CG4C7T4.mjs +0 -2
  668. package/out/__chunks__/chunk-3GGBXXXJ.mjs +0 -2
  669. package/out/__chunks__/chunk-3GGBXXXJ.mjs.map +0 -7
  670. package/out/__chunks__/chunk-3KUTPB2M.mjs +0 -2
  671. package/out/__chunks__/chunk-3KUTPB2M.mjs.map +0 -7
  672. package/out/__chunks__/chunk-3S3EXLLM.mjs +0 -2
  673. package/out/__chunks__/chunk-442O3UMZ.mjs +0 -1
  674. package/out/__chunks__/chunk-4GCIE2BM.mjs +0 -2
  675. package/out/__chunks__/chunk-4MCQ27VQ.mjs.map +0 -7
  676. package/out/__chunks__/chunk-4QDHKULK.mjs +0 -2
  677. package/out/__chunks__/chunk-4QDHKULK.mjs.map +0 -7
  678. package/out/__chunks__/chunk-4US7HVCR.mjs +0 -1
  679. package/out/__chunks__/chunk-4US7HVCR.mjs.map +0 -7
  680. package/out/__chunks__/chunk-4VA2SULD.mjs.map +0 -7
  681. package/out/__chunks__/chunk-55U3WK3C.mjs +0 -2
  682. package/out/__chunks__/chunk-573JTRNC.mjs +0 -2
  683. package/out/__chunks__/chunk-573JTRNC.mjs.map +0 -7
  684. package/out/__chunks__/chunk-5E32AO3E.mjs.map +0 -7
  685. package/out/__chunks__/chunk-5KVNYLOM.mjs +0 -2
  686. package/out/__chunks__/chunk-5KVNYLOM.mjs.map +0 -7
  687. package/out/__chunks__/chunk-5Y2ZDPP6.mjs +0 -1
  688. package/out/__chunks__/chunk-5Y2ZDPP6.mjs.map +0 -7
  689. package/out/__chunks__/chunk-6BOC75BF.mjs +0 -2
  690. package/out/__chunks__/chunk-6CLCXSHA.mjs.map +0 -7
  691. package/out/__chunks__/chunk-6CQMLD25.mjs +0 -1
  692. package/out/__chunks__/chunk-6CQMLD25.mjs.map +0 -7
  693. package/out/__chunks__/chunk-6GREKTLP.mjs +0 -2
  694. package/out/__chunks__/chunk-6GREKTLP.mjs.map +0 -7
  695. package/out/__chunks__/chunk-6JM4DPOH.mjs +0 -2
  696. package/out/__chunks__/chunk-7BRIA6SS.mjs +0 -1
  697. package/out/__chunks__/chunk-7BRIA6SS.mjs.map +0 -7
  698. package/out/__chunks__/chunk-7JDTQFLQ.mjs.map +0 -7
  699. package/out/__chunks__/chunk-7UA7QAEF.mjs.map +0 -7
  700. package/out/__chunks__/chunk-AFLCI6IF.mjs +0 -2
  701. package/out/__chunks__/chunk-AGJVEK6I.mjs +0 -2
  702. package/out/__chunks__/chunk-B7YCKWDU.mjs +0 -1
  703. package/out/__chunks__/chunk-B7YCKWDU.mjs.map +0 -7
  704. package/out/__chunks__/chunk-BCSNXRMR.mjs.map +0 -7
  705. package/out/__chunks__/chunk-BKKXLEQ6.mjs +0 -1
  706. package/out/__chunks__/chunk-BKKXLEQ6.mjs.map +0 -7
  707. package/out/__chunks__/chunk-BUJNOQZJ.mjs +0 -2
  708. package/out/__chunks__/chunk-BUJNOQZJ.mjs.map +0 -7
  709. package/out/__chunks__/chunk-C72ZHRFA.mjs +0 -2
  710. package/out/__chunks__/chunk-C72ZHRFA.mjs.map +0 -7
  711. package/out/__chunks__/chunk-CDTYHGXZ.mjs +0 -1
  712. package/out/__chunks__/chunk-CDTYHGXZ.mjs.map +0 -7
  713. package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
  714. package/out/__chunks__/chunk-CVXQYCEE.mjs +0 -2
  715. package/out/__chunks__/chunk-CVXQYCEE.mjs.map +0 -7
  716. package/out/__chunks__/chunk-CXE2WQJS.mjs +0 -1
  717. package/out/__chunks__/chunk-CXE2WQJS.mjs.map +0 -7
  718. package/out/__chunks__/chunk-CYCS3K6Q.mjs +0 -2
  719. package/out/__chunks__/chunk-CZ2S4XSL.mjs +0 -2
  720. package/out/__chunks__/chunk-D3VRMBRS.mjs +0 -2
  721. package/out/__chunks__/chunk-DTQL3IDP.mjs +0 -1
  722. package/out/__chunks__/chunk-DTQL3IDP.mjs.map +0 -7
  723. package/out/__chunks__/chunk-DW6RO5LJ.mjs +0 -2
  724. package/out/__chunks__/chunk-DW6RO5LJ.mjs.map +0 -7
  725. package/out/__chunks__/chunk-EHDGJUEU.mjs +0 -2
  726. package/out/__chunks__/chunk-EHDGJUEU.mjs.map +0 -7
  727. package/out/__chunks__/chunk-EJV4VNJG.mjs +0 -2
  728. package/out/__chunks__/chunk-EJV4VNJG.mjs.map +0 -7
  729. package/out/__chunks__/chunk-EKWN4V73.mjs +0 -2
  730. package/out/__chunks__/chunk-EKWN4V73.mjs.map +0 -7
  731. package/out/__chunks__/chunk-EPL2CHU6.mjs +0 -2
  732. package/out/__chunks__/chunk-EPL2CHU6.mjs.map +0 -7
  733. package/out/__chunks__/chunk-FF45FPD3.mjs +0 -2
  734. package/out/__chunks__/chunk-FF45FPD3.mjs.map +0 -7
  735. package/out/__chunks__/chunk-FRUJEORM.mjs +0 -2
  736. package/out/__chunks__/chunk-FTJF3Q3P.mjs +0 -2
  737. package/out/__chunks__/chunk-FTJF3Q3P.mjs.map +0 -7
  738. package/out/__chunks__/chunk-G5DKGX73.mjs +0 -1
  739. package/out/__chunks__/chunk-G5DKGX73.mjs.map +0 -7
  740. package/out/__chunks__/chunk-GBEJIZDR.mjs +0 -1
  741. package/out/__chunks__/chunk-GBEJIZDR.mjs.map +0 -7
  742. package/out/__chunks__/chunk-GIZSIYH4.mjs +0 -2
  743. package/out/__chunks__/chunk-GIZSIYH4.mjs.map +0 -7
  744. package/out/__chunks__/chunk-H73D4VUZ.mjs +0 -2
  745. package/out/__chunks__/chunk-HFX5WAAI.mjs +0 -2
  746. package/out/__chunks__/chunk-HKDRMMI5.mjs +0 -2
  747. package/out/__chunks__/chunk-HOCSCRJF.mjs +0 -2
  748. package/out/__chunks__/chunk-HOCSCRJF.mjs.map +0 -7
  749. package/out/__chunks__/chunk-HYH55J3D.mjs +0 -2
  750. package/out/__chunks__/chunk-HZGRS7HG.mjs +0 -2
  751. package/out/__chunks__/chunk-I424CDNL.mjs +0 -2
  752. package/out/__chunks__/chunk-I424CDNL.mjs.map +0 -7
  753. package/out/__chunks__/chunk-IXBWD6BF.mjs +0 -1
  754. package/out/__chunks__/chunk-IXBWD6BF.mjs.map +0 -7
  755. package/out/__chunks__/chunk-J32T6OAP.mjs +0 -1
  756. package/out/__chunks__/chunk-J32T6OAP.mjs.map +0 -7
  757. package/out/__chunks__/chunk-J5TLE6SA.mjs +0 -2
  758. package/out/__chunks__/chunk-JDP24JPD.mjs +0 -2
  759. package/out/__chunks__/chunk-JDP24JPD.mjs.map +0 -7
  760. package/out/__chunks__/chunk-JPSW3MCK.mjs +0 -2
  761. package/out/__chunks__/chunk-JPSW3MCK.mjs.map +0 -7
  762. package/out/__chunks__/chunk-K5K2FVFB.mjs +0 -2
  763. package/out/__chunks__/chunk-KDMYDO7R.mjs.map +0 -7
  764. package/out/__chunks__/chunk-KIOUFP5Q.mjs +0 -1
  765. package/out/__chunks__/chunk-KIOUFP5Q.mjs.map +0 -7
  766. package/out/__chunks__/chunk-KLI6N26E.mjs +0 -2
  767. package/out/__chunks__/chunk-KPK72MOE.mjs +0 -2
  768. package/out/__chunks__/chunk-KPK72MOE.mjs.map +0 -7
  769. package/out/__chunks__/chunk-L3YPAYXZ.mjs +0 -1
  770. package/out/__chunks__/chunk-L3YPAYXZ.mjs.map +0 -7
  771. package/out/__chunks__/chunk-LBPTOWPX.mjs +0 -2
  772. package/out/__chunks__/chunk-LBPTOWPX.mjs.map +0 -7
  773. package/out/__chunks__/chunk-LHEH7L4L.mjs +0 -2
  774. package/out/__chunks__/chunk-M3GFSV3G.mjs +0 -1
  775. package/out/__chunks__/chunk-M3GFSV3G.mjs.map +0 -7
  776. package/out/__chunks__/chunk-MLDUGECH.mjs.map +0 -7
  777. package/out/__chunks__/chunk-MS7BFY27.mjs.map +0 -7
  778. package/out/__chunks__/chunk-N55JEIM6.mjs.map +0 -7
  779. package/out/__chunks__/chunk-NAYDJEWI.mjs.map +0 -7
  780. package/out/__chunks__/chunk-ODHXJQOF.mjs +0 -2
  781. package/out/__chunks__/chunk-OJX2TSAZ.mjs +0 -1
  782. package/out/__chunks__/chunk-OJX2TSAZ.mjs.map +0 -7
  783. package/out/__chunks__/chunk-OL6LWUIJ.mjs +0 -1
  784. package/out/__chunks__/chunk-OL6LWUIJ.mjs.map +0 -7
  785. package/out/__chunks__/chunk-OVXVICF7.mjs +0 -1
  786. package/out/__chunks__/chunk-OVXVICF7.mjs.map +0 -7
  787. package/out/__chunks__/chunk-P2MHA65O.mjs +0 -2
  788. package/out/__chunks__/chunk-QJJEW7MB.mjs +0 -2
  789. package/out/__chunks__/chunk-QJJEW7MB.mjs.map +0 -7
  790. package/out/__chunks__/chunk-QO62QJ5H.mjs +0 -2
  791. package/out/__chunks__/chunk-T4FRQ4JG.mjs +0 -1
  792. package/out/__chunks__/chunk-T4FRQ4JG.mjs.map +0 -7
  793. package/out/__chunks__/chunk-TFARIEZF.mjs.map +0 -7
  794. package/out/__chunks__/chunk-TOZ7EGCZ.mjs +0 -2
  795. package/out/__chunks__/chunk-TOZ7EGCZ.mjs.map +0 -7
  796. package/out/__chunks__/chunk-TR2KNDCH.mjs.map +0 -7
  797. package/out/__chunks__/chunk-TRMQFQOQ.mjs +0 -1
  798. package/out/__chunks__/chunk-TRMQFQOQ.mjs.map +0 -7
  799. package/out/__chunks__/chunk-TVXZBSUY.mjs +0 -2
  800. package/out/__chunks__/chunk-U3MIDVR7.mjs.map +0 -7
  801. package/out/__chunks__/chunk-UCFMVEOZ.mjs.map +0 -7
  802. package/out/__chunks__/chunk-UD7MOR6P.mjs +0 -1
  803. package/out/__chunks__/chunk-UD7MOR6P.mjs.map +0 -7
  804. package/out/__chunks__/chunk-UE3IBKCO.mjs +0 -2
  805. package/out/__chunks__/chunk-UE3IBKCO.mjs.map +0 -7
  806. package/out/__chunks__/chunk-URTM5OGN.mjs +0 -2
  807. package/out/__chunks__/chunk-UT4BWFQH.mjs.map +0 -7
  808. package/out/__chunks__/chunk-UY22M7WB.mjs +0 -2
  809. package/out/__chunks__/chunk-UY22M7WB.mjs.map +0 -7
  810. package/out/__chunks__/chunk-VCAWVAO5.mjs +0 -1
  811. package/out/__chunks__/chunk-VCAWVAO5.mjs.map +0 -7
  812. package/out/__chunks__/chunk-VGGJESXR.mjs.map +0 -7
  813. package/out/__chunks__/chunk-VIQAOU2F.mjs +0 -2
  814. package/out/__chunks__/chunk-VIQAOU2F.mjs.map +0 -7
  815. package/out/__chunks__/chunk-VOBUIF7F.mjs +0 -1
  816. package/out/__chunks__/chunk-VOBUIF7F.mjs.map +0 -7
  817. package/out/__chunks__/chunk-VTEOS2MM.mjs +0 -2
  818. package/out/__chunks__/chunk-W5MTQBQF.mjs.map +0 -7
  819. package/out/__chunks__/chunk-WEZV6U4A.mjs +0 -2
  820. package/out/__chunks__/chunk-WEZV6U4A.mjs.map +0 -7
  821. package/out/__chunks__/chunk-WVAP3V3E.mjs +0 -2
  822. package/out/__chunks__/chunk-WVAP3V3E.mjs.map +0 -7
  823. package/out/__chunks__/chunk-WYVAFCPU.mjs +0 -2
  824. package/out/__chunks__/chunk-WYVAFCPU.mjs.map +0 -7
  825. package/out/__chunks__/chunk-XLLBREX7.mjs +0 -2
  826. package/out/__chunks__/chunk-XNSSZDSU.mjs +0 -2
  827. package/out/__chunks__/chunk-XNSSZDSU.mjs.map +0 -7
  828. package/out/__chunks__/chunk-XSUHHPZ2.mjs +0 -2
  829. package/out/__chunks__/chunk-XTATC65P.mjs +0 -2
  830. package/out/__chunks__/chunk-XTATC65P.mjs.map +0 -7
  831. package/out/__chunks__/chunk-YGMILCHH.mjs.map +0 -7
  832. package/out/__chunks__/chunk-YJK5FPW4.mjs +0 -1
  833. package/out/__chunks__/chunk-YJK5FPW4.mjs.map +0 -7
  834. package/out/__chunks__/chunk-YUITECZ5.mjs +0 -1
  835. package/out/__chunks__/chunk-YUITECZ5.mjs.map +0 -7
  836. package/out/__chunks__/chunk-Z4PL2VDB.mjs +0 -1
  837. package/out/__chunks__/chunk-Z4PL2VDB.mjs.map +0 -7
  838. package/out/__chunks__/chunk-ZAPRDHIW.mjs +0 -1
  839. package/out/__chunks__/chunk-ZAPRDHIW.mjs.map +0 -7
  840. package/out/__chunks__/chunk-ZC5QSQE4.mjs +0 -1
  841. package/out/__chunks__/chunk-ZC5QSQE4.mjs.map +0 -7
  842. package/out/__chunks__/chunk-ZNPHUPAP.mjs +0 -2
  843. package/out/apiCalls/utils/getCleanApiAddress.cjs +0 -2
  844. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +0 -7
  845. package/out/apiCalls/utils/getCleanApiAddress.d.ts +0 -1
  846. package/out/apiCalls/utils/getCleanApiAddress.mjs +0 -2
  847. package/out/apiCalls/utils/getCleanApiAddress.mjs.map +0 -7
  848. package/out/constants/index.cjs +0 -2
  849. package/out/constants/index.cjs.map +0 -7
  850. package/out/constants/index.d.ts +0 -10
  851. package/out/constants/index.mjs +0 -2
  852. package/out/constants/index.mjs.map +0 -7
  853. package/out/controllers/index.cjs +0 -2
  854. package/out/controllers/index.cjs.map +0 -7
  855. package/out/controllers/index.d.ts +0 -1
  856. package/out/controllers/index.mjs +0 -2
  857. package/out/controllers/index.mjs.map +0 -7
  858. package/out/index.cjs +0 -2
  859. package/out/index.cjs.map +0 -7
  860. package/out/index.d.ts +0 -5
  861. package/out/index.mjs +0 -2
  862. package/out/index.mjs.map +0 -7
  863. package/out/managers/index.cjs +0 -2
  864. package/out/managers/index.cjs.map +0 -7
  865. package/out/managers/index.d.ts +0 -2
  866. package/out/managers/index.mjs +0 -2
  867. package/out/managers/index.mjs.map +0 -7
  868. package/out/managers/internal/index.cjs +0 -2
  869. package/out/managers/internal/index.cjs.map +0 -7
  870. package/out/managers/internal/index.d.ts +0 -3
  871. package/out/managers/internal/index.mjs +0 -2
  872. package/out/managers/internal/index.mjs.map +0 -7
  873. package/out/providers/index.cjs +0 -2
  874. package/out/providers/index.cjs.map +0 -7
  875. package/out/providers/index.d.ts +0 -2
  876. package/out/providers/index.mjs +0 -2
  877. package/out/providers/index.mjs.map +0 -7
  878. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +0 -2
  879. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +0 -7
  880. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +0 -5
  881. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +0 -2
  882. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs.map +0 -7
  883. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +0 -2
  884. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +0 -7
  885. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.d.ts +0 -8
  886. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +0 -2
  887. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs.map +0 -7
  888. package/out/providers/strategies/index.cjs +0 -2
  889. package/out/providers/strategies/index.cjs.map +0 -7
  890. package/out/providers/strategies/index.d.ts +0 -5
  891. package/out/providers/strategies/index.mjs +0 -2
  892. package/out/providers/strategies/index.mjs.map +0 -7
  893. package/out/services/index.cjs +0 -2
  894. package/out/services/index.cjs.map +0 -7
  895. package/out/services/index.d.ts +0 -1
  896. package/out/services/index.mjs +0 -2
  897. package/out/services/index.mjs.map +0 -7
  898. package/out/services/nativeAuth/methods/index.cjs +0 -2
  899. package/out/services/nativeAuth/methods/index.cjs.map +0 -7
  900. package/out/services/nativeAuth/methods/index.d.ts +0 -2
  901. package/out/services/nativeAuth/methods/index.mjs +0 -2
  902. package/out/services/nativeAuth/methods/index.mjs.map +0 -7
  903. package/out/store/actions/index.cjs +0 -2
  904. package/out/store/actions/index.cjs.map +0 -7
  905. package/out/store/actions/index.d.ts +0 -7
  906. package/out/store/actions/index.mjs +0 -2
  907. package/out/store/actions/index.mjs.map +0 -7
  908. package/out/store/selectors/index.cjs +0 -2
  909. package/out/store/selectors/index.cjs.map +0 -7
  910. package/out/store/selectors/index.d.ts +0 -6
  911. package/out/store/selectors/index.mjs +0 -2
  912. package/out/store/selectors/index.mjs.map +0 -7
  913. package/out/store/slices/index.cjs +0 -2
  914. package/out/store/slices/index.cjs.map +0 -7
  915. package/out/store/slices/index.d.ts +0 -7
  916. package/out/store/slices/index.mjs +0 -2
  917. package/out/store/slices/index.mjs.map +0 -7
  918. package/out/types/index.cjs +0 -2
  919. package/out/types/index.cjs.map +0 -7
  920. package/out/types/index.d.ts +0 -7
  921. package/out/types/index.mjs +0 -2
  922. package/out/types/index.mjs.map +0 -7
  923. package/out/utils/account/index.cjs +0 -2
  924. package/out/utils/account/index.cjs.map +0 -7
  925. package/out/utils/account/index.d.ts +0 -4
  926. package/out/utils/account/index.mjs +0 -2
  927. package/out/utils/account/index.mjs.map +0 -7
  928. package/out/utils/decoders/index.cjs +0 -2
  929. package/out/utils/decoders/index.cjs.map +0 -7
  930. package/out/utils/decoders/index.d.ts +0 -5
  931. package/out/utils/decoders/index.mjs +0 -2
  932. package/out/utils/decoders/index.mjs.map +0 -7
  933. package/out/utils/index.cjs +0 -2
  934. package/out/utils/index.cjs.map +0 -7
  935. package/out/utils/index.d.ts +0 -9
  936. package/out/utils/index.mjs +0 -2
  937. package/out/utils/index.mjs.map +0 -7
  938. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +0 -2
  939. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +0 -7
  940. package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +0 -6
  941. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +0 -2
  942. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +0 -7
  943. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +0 -2
  944. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +0 -7
  945. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.d.ts +0 -6
  946. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +0 -2
  947. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs.map +0 -7
  948. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +0 -2
  949. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +0 -7
  950. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.d.ts +0 -2
  951. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs +0 -2
  952. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs.map +0 -7
  953. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +0 -2
  954. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +0 -7
  955. package/out/utils/transactions/getInterpretedTransaction/helpers/index.d.ts +0 -13
  956. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +0 -2
  957. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs.map +0 -7
  958. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +0 -2
  959. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +0 -7
  960. package/out/utils/transactions/getTransactionsHistory/helpers/index.d.ts +0 -8
  961. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +0 -2
  962. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs.map +0 -7
  963. package/out/utils/transactions/index.cjs +0 -2
  964. package/out/utils/transactions/index.cjs.map +0 -7
  965. package/out/utils/transactions/index.d.ts +0 -4
  966. package/out/utils/transactions/index.mjs +0 -2
  967. package/out/utils/transactions/index.mjs.map +0 -7
  968. package/out/utils/validation/index.cjs +0 -2
  969. package/out/utils/validation/index.cjs.map +0 -7
  970. package/out/utils/validation/index.d.ts +0 -5
  971. package/out/utils/validation/index.mjs +0 -2
  972. package/out/utils/validation/index.mjs.map +0 -7
  973. package/out/utils/window/index.cjs +0 -2
  974. package/out/utils/window/index.cjs.map +0 -7
  975. package/out/utils/window/index.d.ts +0 -6
  976. package/out/utils/window/index.mjs +0 -2
  977. package/out/utils/window/index.mjs.map +0 -7
  978. /package/out/__chunks__/{chunk-KLI6N26E.mjs.map → chunk-2XIBNXVY.mjs.map} +0 -0
  979. /package/out/__chunks__/{chunk-XV3H7VOE.mjs.map → chunk-3G2Q2LCB.mjs.map} +0 -0
  980. /package/out/__chunks__/{chunk-ZNPHUPAP.mjs.map → chunk-3KJMEECV.mjs.map} +0 -0
  981. /package/out/__chunks__/{chunk-IYM4ZX72.mjs.map → chunk-3NSS3FT6.mjs.map} +0 -0
  982. /package/out/__chunks__/{chunk-M7B26JXO.mjs.map → chunk-3VIMQHXJ.mjs.map} +0 -0
  983. /package/out/__chunks__/{chunk-G5N56FHJ.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
  984. /package/out/__chunks__/{chunk-2BSPSW6X.mjs.map → chunk-5P3UEE7C.mjs.map} +0 -0
  985. /package/out/__chunks__/{chunk-6EKK7AJE.mjs.map → chunk-5WJQ2KWS.mjs.map} +0 -0
  986. /package/out/__chunks__/{chunk-HYH55J3D.mjs.map → chunk-65F23E3Q.mjs.map} +0 -0
  987. /package/out/__chunks__/{chunk-AFLCI6IF.mjs.map → chunk-6M3IQXQF.mjs.map} +0 -0
  988. /package/out/__chunks__/{chunk-LYSI4URP.mjs.map → chunk-6PCK2RPQ.mjs.map} +0 -0
  989. /package/out/__chunks__/{chunk-K4JJZCL3.mjs.map → chunk-6QPOPWIN.mjs.map} +0 -0
  990. /package/out/__chunks__/{chunk-LG6Q3PRI.mjs.map → chunk-6RCSIT2P.mjs.map} +0 -0
  991. /package/out/__chunks__/{chunk-J5TLE6SA.mjs.map → chunk-6RYKBAUE.mjs.map} +0 -0
  992. /package/out/__chunks__/{chunk-5KYXNO4J.mjs.map → chunk-7FV6DEQX.mjs.map} +0 -0
  993. /package/out/__chunks__/{chunk-5AGKFSA6.mjs.map → chunk-7TH3QSCV.mjs.map} +0 -0
  994. /package/out/__chunks__/{chunk-CXAX5TAG.mjs.map → chunk-AFOS3Q4N.mjs.map} +0 -0
  995. /package/out/__chunks__/{chunk-CZ2S4XSL.mjs.map → chunk-AIQTIXFV.mjs.map} +0 -0
  996. /package/out/__chunks__/{chunk-ZRSYQ3MT.mjs.map → chunk-AOLW46E4.mjs.map} +0 -0
  997. /package/out/__chunks__/{chunk-TVXZBSUY.mjs.map → chunk-APCGI2A5.mjs.map} +0 -0
  998. /package/out/__chunks__/{chunk-LKOWOTL2.mjs.map → chunk-AWH3CO5C.mjs.map} +0 -0
  999. /package/out/__chunks__/{chunk-442O3UMZ.mjs.map → chunk-BFD5ZJOK.mjs.map} +0 -0
  1000. /package/out/__chunks__/{chunk-DFSBS3PX.mjs.map → chunk-BHWSBAMZ.mjs.map} +0 -0
  1001. /package/out/__chunks__/{chunk-XDBKPKTG.mjs.map → chunk-BSA3IGL6.mjs.map} +0 -0
  1002. /package/out/__chunks__/{chunk-QO62QJ5H.mjs.map → chunk-CAOL6XLD.mjs.map} +0 -0
  1003. /package/out/__chunks__/{chunk-RV6SJMD7.mjs.map → chunk-CMERGCP7.mjs.map} +0 -0
  1004. /package/out/__chunks__/{chunk-55U3WK3C.mjs.map → chunk-D27ZK232.mjs.map} +0 -0
  1005. /package/out/__chunks__/{chunk-D3VRMBRS.mjs.map → chunk-D4JFV2LM.mjs.map} +0 -0
  1006. /package/out/__chunks__/{chunk-PKLBZG2R.mjs.map → chunk-DNYE6AJI.mjs.map} +0 -0
  1007. /package/out/__chunks__/{chunk-ZKBKYLAP.mjs.map → chunk-ERDTZ52C.mjs.map} +0 -0
  1008. /package/out/__chunks__/{chunk-AGJVEK6I.mjs.map → chunk-F2W755EK.mjs.map} +0 -0
  1009. /package/out/__chunks__/{chunk-NVBWPLR7.mjs.map → chunk-FDR5TTUS.mjs.map} +0 -0
  1010. /package/out/__chunks__/{chunk-7MBSWJUD.mjs.map → chunk-FK6DWWZF.mjs.map} +0 -0
  1011. /package/out/__chunks__/{chunk-NAYC2B72.mjs.map → chunk-FKUMHDP5.mjs.map} +0 -0
  1012. /package/out/__chunks__/{chunk-3XTYIGW5.mjs.map → chunk-GBDHEWNQ.mjs.map} +0 -0
  1013. /package/out/__chunks__/{chunk-WS2MTQIC.mjs.map → chunk-GYYGYOIE.mjs.map} +0 -0
  1014. /package/out/__chunks__/{chunk-PMATTOPD.mjs.map → chunk-HSF3JATH.mjs.map} +0 -0
  1015. /package/out/__chunks__/{chunk-5DILKRFV.mjs.map → chunk-HTT67LH3.mjs.map} +0 -0
  1016. /package/out/__chunks__/{chunk-NTPPBM7T.mjs.map → chunk-I3ILB737.mjs.map} +0 -0
  1017. /package/out/__chunks__/{chunk-N4KX33RW.mjs.map → chunk-IAN3XFXS.mjs.map} +0 -0
  1018. /package/out/__chunks__/{chunk-TQ7T6ULY.mjs.map → chunk-IHAZNPKL.mjs.map} +0 -0
  1019. /package/out/__chunks__/{chunk-JTV664SG.mjs.map → chunk-IHSJITVR.mjs.map} +0 -0
  1020. /package/out/__chunks__/{chunk-VTEOS2MM.mjs.map → chunk-JJUR63EV.mjs.map} +0 -0
  1021. /package/out/__chunks__/{chunk-E77ZH5JT.mjs.map → chunk-JMK6YN6B.mjs.map} +0 -0
  1022. /package/out/__chunks__/{chunk-JZ22ZC2D.mjs.map → chunk-JO7KFAZC.mjs.map} +0 -0
  1023. /package/out/__chunks__/{chunk-3PAZABVI.mjs.map → chunk-JQ3KV55D.mjs.map} +0 -0
  1024. /package/out/__chunks__/{chunk-6BOC75BF.mjs.map → chunk-K4E7GCWI.mjs.map} +0 -0
  1025. /package/out/__chunks__/{chunk-ODHXJQOF.mjs.map → chunk-KLI5H35D.mjs.map} +0 -0
  1026. /package/out/__chunks__/{chunk-GUAXMODN.mjs.map → chunk-KYQ5IP6W.mjs.map} +0 -0
  1027. /package/out/__chunks__/{chunk-N5VJJRWV.mjs.map → chunk-LQAAQV3I.mjs.map} +0 -0
  1028. /package/out/__chunks__/{chunk-PW34EFS7.mjs.map → chunk-LZWEL473.mjs.map} +0 -0
  1029. /package/out/__chunks__/{chunk-XSUHHPZ2.mjs.map → chunk-MTGS435F.mjs.map} +0 -0
  1030. /package/out/__chunks__/{chunk-OSG4UY2Z.mjs.map → chunk-NGJIMP5Y.mjs.map} +0 -0
  1031. /package/out/__chunks__/{chunk-7WJMUTGI.mjs.map → chunk-NQE5YCZP.mjs.map} +0 -0
  1032. /package/out/__chunks__/{chunk-H5NVCCUR.mjs.map → chunk-NWRCQLFI.mjs.map} +0 -0
  1033. /package/out/__chunks__/{chunk-XLLBREX7.mjs.map → chunk-NYZ726DG.mjs.map} +0 -0
  1034. /package/out/__chunks__/{chunk-OAPLU7UX.mjs.map → chunk-OBIQ63DJ.mjs.map} +0 -0
  1035. /package/out/__chunks__/{chunk-HKDRMMI5.mjs.map → chunk-OSV2GCKV.mjs.map} +0 -0
  1036. /package/out/__chunks__/{chunk-FNHO66WN.mjs.map → chunk-PIFCCIF3.mjs.map} +0 -0
  1037. /package/out/__chunks__/{chunk-P2MHA65O.mjs.map → chunk-PJ5TKZD5.mjs.map} +0 -0
  1038. /package/out/__chunks__/{chunk-4SS6EY66.mjs.map → chunk-PN7JDWSZ.mjs.map} +0 -0
  1039. /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-QFXS7HGL.mjs.map} +0 -0
  1040. /package/out/__chunks__/{chunk-O65OBG5D.mjs.map → chunk-QZC64RDG.mjs.map} +0 -0
  1041. /package/out/__chunks__/{chunk-AZA2GNTR.mjs.map → chunk-RDEVBV56.mjs.map} +0 -0
  1042. /package/out/__chunks__/{chunk-IVHD32VC.mjs.map → chunk-RIPIZH54.mjs.map} +0 -0
  1043. /package/out/__chunks__/{chunk-2RTOYKHB.mjs.map → chunk-RMLVJDCQ.mjs.map} +0 -0
  1044. /package/out/__chunks__/{chunk-3S3EXLLM.mjs.map → chunk-RVBZZQS2.mjs.map} +0 -0
  1045. /package/out/__chunks__/{chunk-FPKFAJNW.mjs.map → chunk-RXRVBUAX.mjs.map} +0 -0
  1046. /package/out/__chunks__/{chunk-SALLGAGD.mjs.map → chunk-SFXZJSEY.mjs.map} +0 -0
  1047. /package/out/__chunks__/{chunk-6F4OKEUQ.mjs.map → chunk-SYHILLXA.mjs.map} +0 -0
  1048. /package/out/__chunks__/{chunk-HBPQEY3L.mjs.map → chunk-TRUOISVH.mjs.map} +0 -0
  1049. /package/out/__chunks__/{chunk-OIRXFS5Q.mjs.map → chunk-UJTYOT5N.mjs.map} +0 -0
  1050. /package/out/__chunks__/{chunk-SAN5F2PW.mjs.map → chunk-UWWAVJFM.mjs.map} +0 -0
  1051. /package/out/__chunks__/{chunk-ATLICLWT.mjs.map → chunk-V7K77GSE.mjs.map} +0 -0
  1052. /package/out/__chunks__/{chunk-UPABDY55.mjs.map → chunk-VC74WYUB.mjs.map} +0 -0
  1053. /package/out/__chunks__/{chunk-HZGRS7HG.mjs.map → chunk-VGDWWBLN.mjs.map} +0 -0
  1054. /package/out/__chunks__/{chunk-XXSANEEO.mjs.map → chunk-W2A2N772.mjs.map} +0 -0
  1055. /package/out/__chunks__/{chunk-5W7PFHTT.mjs.map → chunk-WFMBEYKX.mjs.map} +0 -0
  1056. /package/out/__chunks__/{chunk-O6ALDFLM.mjs.map → chunk-WZEDZF3Q.mjs.map} +0 -0
  1057. /package/out/__chunks__/{chunk-HUXPA4C2.mjs.map → chunk-Y6QPE6SZ.mjs.map} +0 -0
  1058. /package/out/__chunks__/{chunk-7PE652LB.mjs.map → chunk-YGHJRPPY.mjs.map} +0 -0
  1059. /package/out/__chunks__/{chunk-TMRKN7VL.mjs.map → chunk-YXNJS4KL.mjs.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/LogoutManager/LogoutManager.ts", "../../src/utils/account/refreshAccount.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.ts", "../../src/methods/trackTransactions/trackTransactions.ts", "../../src/providers/DappProvider/helpers/login/helpers/accountLogin.ts", "../../src/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.ts", "../../src/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.ts", "../../src/providers/DappProvider/helpers/login/login.ts", "../../src/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.ts", "../../src/providers/DappProvider/DappProvider.ts", "../../src/providers/helpers/accountProvider.ts"],
4
+ "sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { ToastManager } from 'managers/ToastManager';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { getTokenExpiration } from 'services/nativeAuth/methods/getTokenExpiration';\nimport {\n addressSelector,\n isLoggedInSelector\n} from 'store/selectors/accountSelectors';\nimport { nativeAuthConfigSelector } from 'store/selectors/configSelectors';\nimport { tokenLoginSelector } from 'store/selectors/loginInfoSelectors';\nimport { getStore } from 'store/store';\nimport { IconNamesEnum } from 'types/enums.types';\nimport { getHumanReadableTokenExpirationTime } from './helpers/getHumanReadableTokenExpirationTime';\n\nexport class LogoutManager {\n private static instance: LogoutManager;\n private store = getStore();\n private warningLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private actualLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutKey: string | null = null;\n\n public static getInstance(): LogoutManager {\n if (!LogoutManager.instance) {\n LogoutManager.instance = new LogoutManager();\n }\n return LogoutManager.instance;\n }\n\n private constructor() {}\n\n public init = async () => {\n if (!this.shouldStart()) {\n return;\n }\n\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n\n const { isExpired: isNativeAuthTokenExpired } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n if (isNativeAuthTokenExpired) {\n const provider = getAccountProvider();\n provider.logout();\n } else {\n this.addPlannedLogout();\n }\n };\n\n public stop = () => {\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n clearTimeout(this.actualLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = null;\n this.plannedLogoutTimeoutRef = null;\n this.actualLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n };\n\n private readonly shouldStart = (): boolean => {\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n const isLoggedIn = isLoggedInSelector(state);\n return Boolean(tokenLogin?.nativeAuthToken && isLoggedIn);\n };\n\n private addPlannedLogout = () => {\n const provider = getAccountProvider();\n const address = addressSelector(this.store.getState());\n const isWebviewLogin = provider.getType() === ProviderTypeEnum.webview;\n\n // prevent unexpected logout if webview login\n if (!address || isWebviewLogin) {\n return;\n }\n\n this.addLogoutWarning();\n\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires, expiresAt } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n // Handle the actual logout functionality.\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const plannedLogoutKey = `${address}_${expiresAt}`;\n const plannedLogoutSet = this.plannedLogoutKey === plannedLogoutKey;\n\n const isValidInterval =\n secondsUntilExpires && secondsUntilExpiresBN.isGreaterThan(0);\n\n if (!isValidInterval || plannedLogoutSet) {\n return;\n }\n\n this.plannedLogoutKey = plannedLogoutKey;\n\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n this.actualLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-logout',\n iconClassName: 'warning',\n title: 'Logging out',\n icon: IconNamesEnum.close,\n message: 'Your session has expired!'\n });\n this.actualLogoutTimeoutRef = null;\n }, millisecondsUntilLogout.toNumber() - 3000);\n\n this.plannedLogoutTimeoutRef = setTimeout(() => {\n provider.logout();\n this.plannedLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n }, millisecondsUntilLogout.toNumber());\n };\n\n private readonly addLogoutWarning = () => {\n if (this.warningLogoutTimeoutRef) {\n return;\n }\n\n const nativeAuthConfig = nativeAuthConfigSelector(this.store.getState());\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n if (\n !secondsUntilExpires ||\n secondsUntilExpiresBN.isLessThanOrEqualTo(0) ||\n !nativeAuthConfig?.tokenExpirationToastWarningSeconds\n ) {\n return;\n }\n\n const logoutWarningOffsetSeconds = new BigNumber(\n nativeAuthConfig?.tokenExpirationToastWarningSeconds ?? 0\n );\n\n const logoutWarningOffsetMilliseconds =\n logoutWarningOffsetSeconds.times(1000);\n\n const millisecondsUntilLogoutWarning = secondsUntilExpiresBN\n .times(1000)\n .minus(logoutWarningOffsetMilliseconds);\n\n const readableMinutesUntilLogout = getHumanReadableTokenExpirationTime(\n millisecondsUntilLogout.toNumber()\n );\n\n const timeoutUntilLogoutWarning =\n millisecondsUntilLogoutWarning.isLessThanOrEqualTo(0)\n ? 0\n : millisecondsUntilLogoutWarning.toNumber();\n\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-expired',\n iconClassName: 'warning',\n title: 'Session Expiration Warning',\n icon: IconNamesEnum.hourglass,\n message: `Your session will expire in ${readableMinutesUntilLogout}!`\n });\n this.warningLogoutTimeoutRef = null;\n }, timeoutUntilLogoutWarning);\n };\n}\n", "import { getAddress } from 'methods/account/getAddress';\nimport { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { setAccount } from 'store/actions/account/accountActions';\nimport { fetchAccount } from './fetchAccount';\nimport { trimUsernameDomain } from './trimUsernameDomain';\n\nconst setNewAccount = async () => {\n try {\n const address = getAddress();\n const { network } = getNetworkConfig();\n\n try {\n const account = await fetchAccount({\n address,\n baseURL: network.apiAddress\n });\n\n if (account != null) {\n const accountData = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(accountData);\n\n return accountData;\n }\n } catch (e) {\n console.error('Failed getting account ', e);\n }\n } catch (e) {\n console.error('Failed getting address ', e);\n }\n\n return null;\n};\n\nexport async function refreshAccount() {\n const provider = getAccountProvider();\n\n if (provider == null) {\n throw 'Provider not initialized';\n }\n\n try {\n if (!provider.init) {\n throw 'Current provider does not have init() function';\n }\n\n const initialized = await provider.init();\n\n if (!initialized) {\n return;\n }\n\n const account = await setNewAccount();\n\n return account;\n } catch (e) {\n console.error('Failed initializing provider ', e);\n }\n\n return undefined;\n}\n", "import { getTransactionsByHashes } from 'apiCalls/transactions/getTransactionsByHashes';\nimport { getIsLoggedIn } from 'methods/account/getIsLoggedIn';\nimport { updateSessionStatus } from 'store/actions/transactions/transactionsActions';\nimport { getState } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { SignedTransactionType } from 'types/transactions.types';\n\nimport { refreshAccount } from 'utils/account/refreshAccount';\nimport { getPendingTransactions } from '../getPendingTransactions';\nimport { runTransactionStatusUpdate } from './helpers/runTransactionStatusUpdate';\n\nexport interface TransactionStatusTrackerPropsType {\n sessionId: string;\n transactionBatch: SignedTransactionType[];\n isSequential?: boolean;\n}\n\nexport async function checkBatch({\n sessionId,\n transactionBatch: transactions,\n isSequential\n}: TransactionStatusTrackerPropsType) {\n try {\n if (transactions == null) {\n return;\n }\n\n const isLoggedIn = getIsLoggedIn();\n\n const pendingTransactions = getPendingTransactions(transactions);\n\n const serverTransactions =\n await getTransactionsByHashes(pendingTransactions);\n\n for (const serverTransaction of serverTransactions) {\n await runTransactionStatusUpdate({\n serverTransaction,\n sessionId,\n isSequential\n });\n }\n\n const hasCompleted = serverTransactions.every(\n (tx) => tx.status !== TransactionServerStatusesEnum.pending\n );\n\n if (!hasCompleted) {\n return;\n }\n\n if (isLoggedIn) {\n await refreshAccount();\n }\n\n // Call the onSuccess or onFail callback only if the transactions are sent normally (not using batch transactions mechanism).\n // The batch transactions mechanism will call the callbacks separately.\n\n const { transactions: sessions } = getState();\n const session = sessions?.[sessionId];\n\n const isSuccessful = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.success\n );\n\n if (isSuccessful) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.success\n });\n }\n\n const isFailed = session.transactions.some(\n (tx) => tx.status === TransactionServerStatusesEnum.fail\n );\n\n if (isFailed) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.fail\n });\n }\n\n const isInvalid = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.notExecuted\n );\n\n if (isInvalid) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.invalid\n });\n }\n } catch (error) {\n console.error(error);\n }\n}\n", "import { pendingTransactionsSessionsSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { checkBatch } from './helpers/checkBatch';\n\nexport async function checkTransactionStatus() {\n const pendingSessions = pendingTransactionsSessionsSelector(getState());\n\n const entries = Object.entries(pendingSessions);\n if (entries.length === 0) {\n return;\n }\n\n await Promise.all(\n entries.map(([sessionId, { transactions }]) =>\n checkBatch({\n sessionId,\n transactionBatch: transactions\n })\n )\n );\n}\n", "import { subscriptions } from 'constants/storage.constants';\nimport { WebsocketConnectionStatusEnum } from 'constants/websocket.constants';\nimport { websocketEventSelector } from 'store/selectors/accountSelectors';\nimport { getStore } from 'store/store';\nimport { SubscriptionsEnum } from 'types/subscriptions.type';\nimport { checkTransactionStatus } from './helpers/checkTransactionStatus';\nimport { getPollingInterval } from './helpers/getPollingInterval';\n\n/**\n * Tracks transactions using websocket or polling\n * @returns stopTransactionsTracking function\n */\nexport async function trackTransactions(): Promise<{\n stopTransactionsTracking: () => void;\n}> {\n const store = getStore();\n const pollingInterval = getPollingInterval();\n let pollingIntervalRef: ReturnType<typeof setTimeout> | null = null;\n let timestamp = websocketEventSelector(store.getState())?.timestamp ?? null;\n\n const recheckStatus = async (): Promise<void> => {\n try {\n await checkTransactionStatus();\n } catch (error) {\n console.error(\n '[trackTransactions] Error checking transaction status:',\n error\n );\n }\n };\n\n const startPolling = (): void => {\n // Prevent multiple polling intervals\n if (pollingIntervalRef) {\n return;\n }\n pollingIntervalRef = setInterval(recheckStatus, pollingInterval);\n };\n\n const stopPolling = (): void => {\n if (pollingIntervalRef) {\n clearInterval(pollingIntervalRef);\n pollingIntervalRef = null;\n }\n };\n\n const setupWebSocketTracking = (): void => {\n stopPolling();\n const unsubscribeWebsocketEvent = store.subscribe(\n ({ account: { websocketEvent } }) => {\n if (\n websocketEvent?.message &&\n websocketEvent.timestamp != null &&\n timestamp !== websocketEvent.timestamp\n ) {\n timestamp = websocketEvent.timestamp;\n recheckStatus();\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketEventReceived,\n unsubscribeWebsocketEvent\n );\n };\n\n // Initial execution\n recheckStatus();\n\n const stopTransactionsTracking = (): void => {\n stopPolling();\n };\n\n const unsubscribeWebsocketStatus = store.subscribe(\n ({ account: { address }, config: { websocketStatus } }, prevState) => {\n const hasStatusChange =\n prevState.config.websocketStatus !== websocketStatus;\n\n if (!hasStatusChange) {\n return;\n }\n\n switch (websocketStatus) {\n case WebsocketConnectionStatusEnum.COMPLETED:\n setupWebSocketTracking();\n break;\n case WebsocketConnectionStatusEnum.PENDING:\n startPolling();\n break;\n default:\n address ? startPolling() : stopTransactionsTracking();\n break;\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketStatusChanged,\n unsubscribeWebsocketStatus\n );\n return { stopTransactionsTracking };\n}\n", "import { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { setGasStationMetadata } from 'methods/initApp/gasStationMetadata/setGasStationMetadata';\nimport { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { setAccount } from 'store/actions/account';\nimport { loginAction } from 'store/actions/sharedActions/sharedActions';\nimport { AccountType } from 'types/account.types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { trimUsernameDomain } from 'utils/account/trimUsernameDomain';\n\ninterface IAccountLoginProps {\n address: string;\n provider: IProvider;\n apiAddress: string;\n}\n\nexport async function accountLogin({\n address,\n provider,\n apiAddress\n}: IAccountLoginProps) {\n const account = await fetchAccount({\n address,\n baseURL: apiAddress\n });\n\n if (!account) {\n throw new Error('Account not found');\n }\n\n loginAction({\n address,\n providerType: provider.getType()\n });\n\n const newAccount: AccountType = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(newAccount);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n}\n", "import { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { decodeNativeAuthToken } from 'services/nativeAuth/helpers/decodeNativeAuthToken';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { accountLogin } from './accountLogin';\nimport { extractAddressFromToken } from './extractAddressFromToken';\nimport { getMultisigLoginToken } from './getMultisigLoginToken';\n\nexport async function loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token\n}: {\n provider: IProvider;\n nativeAuthConfig: NativeAuthConfigType;\n token?: string;\n}) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n const nativeAuthClient = nativeAuth(nativeAuthConfig);\n let loginToken = token;\n\n if (!loginToken) {\n loginToken = await nativeAuthClient.initialize({\n noCache: true\n });\n }\n\n const loginData = await provider.login({\n token: loginToken\n });\n\n const { address, signature, ...loginResult } = loginData;\n\n if (!address) {\n console.warn('Login cancelled.');\n return null;\n }\n\n if (!signature) {\n console.error('Failed to sign login token');\n return null;\n }\n\n // nativeAuthToken received from hub login\n const decodedToken = decodeNativeAuthToken(loginResult?.accessToken);\n\n const usedLoginToken = await getMultisigLoginToken({\n loginData,\n nativeAuthConfig,\n loginToken\n });\n\n const nativeAuthToken = decodedToken\n ? loginResult.accessToken\n : nativeAuthClient.getToken({\n address,\n token: usedLoginToken,\n signature\n });\n\n setTokenLogin({\n loginToken,\n signature,\n nativeAuthToken\n });\n\n const extractedAddress = await extractAddressFromToken({\n loginToken,\n extraInfoData: {\n multisig: loginResult?.multisig,\n impersonate: loginResult?.impersonate\n },\n address\n });\n\n await accountLogin({\n address: extractedAddress,\n provider,\n apiAddress\n });\n\n return {\n address: extractedAddress,\n signature\n };\n}\n", "import { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { accountLogin } from './accountLogin';\n\nexport async function loginWithoutNativeToken(provider: IProvider) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n await provider.login();\n\n const address = await provider.getAddress();\n\n if (!address) {\n throw new Error('Address not found');\n }\n\n await accountLogin({ address, provider, apiAddress });\n\n return {\n address\n };\n}\n", "import { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuthConfigSelector } from 'store/selectors/configSelectors';\nimport { getState } from 'store/store';\nimport { loginWithNativeToken } from './helpers/loginWithNativeToken';\nimport { loginWithoutNativeToken } from './helpers/loginWithoutNativeToken';\n\nexport async function login(\n provider: IProvider,\n options?: { token?: string }\n): Promise<{\n address: string;\n signature: string;\n} | null> {\n const nativeAuthConfig = nativeAuthConfigSelector(getState());\n\n if (nativeAuthConfig) {\n const data = await loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token: options?.token\n });\n return data;\n }\n\n const { address } = await loginWithoutNativeToken(provider);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n return { address, signature: '' };\n}\n", "import {\n Address,\n Transaction,\n TransactionOptions,\n TransactionVersion\n} from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport {\n IProvider,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { setAccountNonce } from 'store/actions/account/accountActions';\nimport { refreshAccount } from 'utils/account/refreshAccount';\nimport { computeNonces } from '../computeNonces/computeNonces';\n\nexport type SignTransactionsOptionsType = {\n skipGuardian?: boolean;\n};\n\ntype SignTransactionsType = {\n provider: IProvider;\n transactions: Transaction[];\n options?: SignTransactionsOptionsType;\n};\n\nexport async function signTransactionsWithProvider({\n provider,\n transactions,\n options = {}\n}: SignTransactionsType): Promise<Transaction[]> {\n await refreshAccount();\n const { isGuarded, activeGuardianAddress, nonce } = getAccount();\n const isLedger = provider.getType() === ProviderTypeEnum.ledger;\n\n const transactionsWithComputedNonce = computeNonces({\n latestNonce: nonce,\n transactions\n });\n\n const transactionsToSign =\n activeGuardianAddress && isGuarded && !options.skipGuardian\n ? transactionsWithComputedNonce?.map((transaction) => {\n transaction.version = TransactionVersion.withTxOptions().valueOf();\n transaction.options = TransactionOptions.withOptions({\n guarded: true,\n ...(isLedger ? { hashSign: true } : {})\n }).valueOf();\n\n transaction.guardian = Address.newFromBech32(activeGuardianAddress);\n\n return transaction;\n })\n : transactionsWithComputedNonce;\n\n const signedTransactions: Transaction[] =\n (await provider.signTransactions(transactionsToSign)) ?? [];\n\n setAccountNonce(nonce + signedTransactions.length);\n\n return signedTransactions;\n}\n", "import { Message, Transaction } from 'lib/sdkCore';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { setAccountProvider } from 'providers/helpers/accountProvider';\nimport { setProviderType } from 'store/actions/loginInfo/loginInfoActions';\nimport { IProvider } from '../types/providerFactory.types';\nimport { login } from './helpers/login/login';\nimport { logout } from './helpers/logout/logout';\nimport { handleSignError } from './helpers/signErrors/handleSignError';\nimport { signMessageWithProvider } from './helpers/signMessage/signMessageWithProvider';\nimport {\n verifyMessage,\n VerifyMessageReturnType\n} from './helpers/signMessage/verifyMessage';\nimport {\n signTransactionsWithProvider,\n SignTransactionsOptionsType\n} from './helpers/signTransactions/signTransactionsWithProvider';\n\nexport class DappProvider {\n private provider: IProvider;\n private _isLoggingOut = false;\n\n constructor(provider: IProvider) {\n this.provider = provider;\n }\n\n init(): Promise<boolean> {\n return this.provider.init();\n }\n\n async login(options?: { token?: string }) {\n const data = await login(this.provider, options);\n setProviderType(this.provider.getType());\n setAccountProvider(this);\n LogoutManager.getInstance().init();\n return data;\n }\n\n isInitialized(): boolean {\n return this.provider.isInitialized();\n }\n\n async logout(\n options = {\n shouldBroadcastLogoutAcrossTabs: true\n }\n ): Promise<boolean> {\n if (this._isLoggingOut) {\n console.warn('Logout already in progress');\n return false;\n }\n\n this._isLoggingOut = true;\n\n const isLoggedOut = await logout({ provider: this.provider, options });\n\n this._isLoggingOut = false;\n\n return isLoggedOut;\n }\n\n getType() {\n return this.provider.getType();\n }\n\n /**\n * @returns The original provider instance.\n */\n getProvider() {\n return this.provider;\n }\n\n async signTransactions(\n transactions: Transaction[],\n options?: SignTransactionsOptionsType\n ): Promise<Transaction[]> {\n try {\n const signedTransactions = await signTransactionsWithProvider({\n provider: this.provider,\n transactions,\n options\n });\n return signedTransactions;\n } catch (error) {\n const errorMessage = handleSignError(error);\n throw new Error(errorMessage);\n }\n }\n\n async signMessage(\n message: Message,\n options?: {\n hasConsentPopup?: boolean;\n }\n ): Promise<Message | null> {\n try {\n const signedMessage = await signMessageWithProvider({\n provider: this.provider,\n message,\n options\n });\n return signedMessage;\n } catch (error) {\n const errorMessage = handleSignError(error, 'warning');\n throw new Error(errorMessage);\n }\n }\n\n /**\n * @param signedMessage - The signed message to verify in form of a JSON string with `address`, `message` and `signature` properties.\n * @returns The verification result with `isVerified`, `message` and `address` properties.\n */\n async verifyMessage(signedMessage: string): Promise<VerifyMessageReturnType> {\n return await verifyMessage(signedMessage);\n }\n\n cancelLogin(): void {\n this.provider.cancelLogin?.();\n }\n}\n", "import { IProvider } from 'providers/types/providerFactory.types';\nimport { DappProvider } from '../DappProvider';\nimport { emptyProvider } from './emptyProvider';\n\nexport type ProvidersType = IProvider;\n\nlet accountProvider: DappProvider | null = null;\n\nexport function setAccountProvider<TProvider extends DappProvider | null>(\n provider: TProvider\n) {\n accountProvider = provider;\n}\n\nexport function getAccountProvider(): DappProvider {\n return accountProvider || new DappProvider(emptyProvider);\n}\n"],
5
+ "mappings": "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",
6
+ "names": ["BigNumber", "setNewAccount", "address", "getAddress", "network", "getNetworkConfig", "account", "fetchAccount", "accountData", "trimUsernameDomain", "getLatestNonce", "setAccount", "e", "refreshAccount", "provider", "getAccountProvider", "checkBatch", "sessionId", "transactions", "isSequential", "isLoggedIn", "getIsLoggedIn", "pendingTransactions", "getPendingTransactions", "serverTransactions", "getTransactionsByHashes", "serverTransaction", "runTransactionStatusUpdate", "tx", "refreshAccount", "sessions", "getState", "session", "updateSessionStatus", "error", "checkTransactionStatus", "pendingSessions", "pendingTransactionsSessionsSelector", "getState", "entries", "sessionId", "transactions", "checkBatch", "trackTransactions", "store", "getStore", "pollingInterval", "getPollingInterval", "pollingIntervalRef", "timestamp", "websocketEventSelector", "recheckStatus", "checkTransactionStatus", "error", "startPolling", "stopPolling", "setupWebSocketTracking", "unsubscribeWebsocketEvent", "websocketEvent", "subscriptions", "stopTransactionsTracking", "unsubscribeWebsocketStatus", "address", "websocketStatus", "prevState", "accountLogin", "address", "provider", "apiAddress", "account", "fetchAccount", "loginAction", "newAccount", "trimUsernameDomain", "getLatestNonce", "setAccount", "registerWebsocketListener", "trackTransactions", "setGasStationMetadata", "loginWithNativeToken", "provider", "nativeAuthConfig", "token", "apiAddress", "getNetworkConfig", "nativeAuthClient", "nativeAuth", "loginToken", "loginData", "address", "signature", "loginResult", "decodedToken", "decodeNativeAuthToken", "usedLoginToken", "getMultisigLoginToken", "nativeAuthToken", "setTokenLogin", "extractedAddress", "extractAddressFromToken", "accountLogin", "loginWithoutNativeToken", "provider", "apiAddress", "getNetworkConfig", "address", "accountLogin", "login", "provider", "options", "nativeAuthConfig", "nativeAuthConfigSelector", "getState", "loginWithNativeToken", "address", "loginWithoutNativeToken", "registerWebsocketListener", "trackTransactions", "signTransactionsWithProvider", "provider", "transactions", "options", "refreshAccount", "isGuarded", "activeGuardianAddress", "nonce", "getAccount", "isLedger", "ProviderTypeEnum", "transactionsWithComputedNonce", "computeNonces", "transactionsToSign", "transaction", "TransactionVersion", "TransactionOptions", "Address", "signedTransactions", "setAccountNonce", "DappProvider", "provider", "options", "data", "login", "setProviderType", "setAccountProvider", "LogoutManager", "isLoggedOut", "logout", "transactions", "signTransactionsWithProvider", "error", "errorMessage", "handleSignError", "message", "signMessageWithProvider", "signedMessage", "verifyMessage", "accountProvider", "setAccountProvider", "provider", "getAccountProvider", "DappProvider", "emptyProvider", "LogoutManager", "_LogoutManager", "getStore", "state", "tokenLogin", "tokenLoginSelector", "isNativeAuthTokenExpired", "getTokenExpiration", "getAccountProvider", "isLoggedIn", "isLoggedInSelector", "provider", "address", "addressSelector", "isWebviewLogin", "ProviderTypeEnum", "secondsUntilExpires", "expiresAt", "secondsUntilExpiresBN", "BigNumber", "plannedLogoutKey", "plannedLogoutSet", "millisecondsUntilLogout", "ToastManager", "nativeAuthConfig", "nativeAuthConfigSelector", "logoutWarningOffsetMilliseconds", "millisecondsUntilLogoutWarning", "readableMinutesUntilLogout", "getHumanReadableTokenExpirationTime", "timeoutUntilLogoutWarning"]
7
+ }
@@ -1,2 +1,2 @@
1
1
  import{a as s}from"./chunk-HH5SA7BX.mjs";import{a as n}from"./chunk-I3MK6KZJ.mjs";import{Address as d}from"@multiversx/sdk-core";import c from"bignumber.js";var l=({data:e,decodeMethod:i,transactionTokens:t})=>{switch(i){case"text":try{return Buffer.from(e,"hex").toString("utf8")}catch{return e}case"decimal":return e!==""?new c(e,16).toString(10):"";case"smart":try{let r=d.newFromHex(e).toString();if(n(r))return r}catch{}try{let r=Buffer.from(e,"hex").toString("utf8");if(s(r))return r;{if(t&&[...t.esdts,...t.nfts].some(f=>r.includes(f)))return r;let o=new c(e,16);return o.isFinite()?o.toString(10):e}}catch{return e}case"raw":default:return e}};export{l as a};
2
- //# sourceMappingURL=chunk-4VA2SULD.mjs.map
2
+ //# sourceMappingURL=chunk-XA6ZDGIQ.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getDecodedDataField/helpers/decodeByMethod.ts"],
4
+ "sourcesContent": ["import { Address } from '@multiversx/sdk-core';\nimport BigNumber from 'bignumber.js';\n\nimport {\n DecodeMethodEnum,\n TransactionTokensType\n} from 'types/serverTransactions.types';\nimport { isUtf8 } from 'utils/decoders/isUtf8';\nimport { addressIsValid } from 'utils/validation/addressIsValid';\n\ninterface IDecodeByMethod {\n data: string;\n decodeMethod: DecodeMethodEnum | string;\n transactionTokens?: TransactionTokensType;\n}\n\nexport const decodeByMethod = ({\n data,\n decodeMethod,\n transactionTokens\n}: IDecodeByMethod) => {\n switch (decodeMethod) {\n case DecodeMethodEnum.text:\n try {\n return Buffer.from(data, 'hex').toString('utf8');\n } catch {\n return data;\n }\n\n case DecodeMethodEnum.decimal:\n return data !== '' ? new BigNumber(data, 16).toString(10) : '';\n case DecodeMethodEnum.smart:\n try {\n const bech32Encoded = Address.newFromHex(data).toString();\n\n if (addressIsValid(bech32Encoded)) {\n return bech32Encoded;\n }\n } catch {\n // skip\n }\n\n try {\n const decoded = Buffer.from(data, 'hex').toString('utf8');\n\n if (!isUtf8(decoded)) {\n if (transactionTokens) {\n const tokens = [\n ...transactionTokens.esdts,\n ...transactionTokens.nfts\n ];\n\n if (tokens.some((token) => decoded.includes(token))) {\n return decoded;\n }\n }\n\n const bigNumber = new BigNumber(data, 16);\n\n return bigNumber.isFinite() ? bigNumber.toString(10) : data;\n } else {\n return decoded;\n }\n } catch {\n return data;\n }\n\n case DecodeMethodEnum.raw:\n default:\n return data;\n }\n};\n"],
5
+ "mappings": "kFAAA,OAAS,WAAAA,MAAe,uBACxB,OAAOC,MAAe,eAef,IAAMC,EAAiB,CAAC,CAC7B,KAAAC,EACA,aAAAC,EACA,kBAAAC,CACF,IAAuB,CACrB,OAAQD,EAAc,CACpB,WACE,GAAI,CACF,OAAO,OAAO,KAAKD,EAAM,KAAK,EAAE,SAAS,MAAM,CACjD,MAAQ,CACN,OAAOA,CACT,CAEF,cACE,OAAOA,IAAS,GAAK,IAAIG,EAAUH,EAAM,EAAE,EAAE,SAAS,EAAE,EAAI,GAC9D,YACE,GAAI,CACF,IAAMI,EAAgBC,EAAQ,WAAWL,CAAI,EAAE,SAAS,EAExD,GAAIM,EAAeF,CAAa,EAC9B,OAAOA,CAEX,MAAQ,CAER,CAEA,GAAI,CACF,IAAMG,EAAU,OAAO,KAAKP,EAAM,KAAK,EAAE,SAAS,MAAM,EAExD,GAAKQ,EAAOD,CAAO,EAgBjB,OAAOA,EAhBa,CACpB,GAAIL,GACa,CACb,GAAGA,EAAkB,MACrB,GAAGA,EAAkB,IACvB,EAEW,KAAMO,GAAUF,EAAQ,SAASE,CAAK,CAAC,EAChD,OAAOF,EAIX,IAAMG,EAAY,IAAIP,EAAUH,EAAM,EAAE,EAExC,OAAOU,EAAU,SAAS,EAAIA,EAAU,SAAS,EAAE,EAAIV,CACzD,CAGF,MAAQ,CACN,OAAOA,CACT,CAEF,UACA,QACE,OAAOA,CACX,CACF",
6
+ "names": ["Address", "BigNumber", "decodeByMethod", "data", "decodeMethod", "transactionTokens", "BigNumber", "bech32Encoded", "Address", "addressIsValid", "decoded", "isUtf8", "token", "bigNumber"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-4QDHKULK.mjs";import{d as l,e as m}from"./chunk-LYSI4URP.mjs";import{q as a}from"./chunk-XNSSZDSU.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=r(a().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
- //# sourceMappingURL=chunk-4MCQ27VQ.mjs.map
1
+ import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-YMDS57T6.mjs";import{d as l,e as m}from"./chunk-6PCK2RPQ.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-2QIUCSYX.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
+ //# sourceMappingURL=chunk-XHCLYR42.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/methods/initApp/websocket/initializeWebsocketConnection.ts"],
4
+ "sourcesContent": ["import { io } from 'socket.io-client';\nimport { getWebsocketUrl } from 'apiCalls/websocket/getWebsocketUrl';\nimport {\n WebsocketConnectionStatusEnum,\n websocketConnection\n} from 'constants/websocket.constants';\nimport {\n setWebsocketBatchEvent,\n setWebsocketEvent\n} from 'store/actions/account/accountActions';\nimport { setWebsocketStatus } from 'store/actions/config/configActions';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getStore } from 'store/store';\nimport { BatchTransactionsWSResponseType } from 'types/websocket.types';\n\nconst TIMEOUT = 3_000;\nconst RECONNECTION_ATTEMPTS = 3;\nconst RETRY_INTERVAL = 500;\nconst MESSAGE_DELAY = 500;\nconst BATCH_UPDATED_EVENT = 'batchUpdated';\nconst CONNECT = 'connect';\nconst CONNECT_ERROR = 'connect_error';\nconst DISCONNECT = 'disconnect';\n\ntype TimeoutType = ReturnType<typeof setTimeout> | null;\n\nexport async function initializeWebsocketConnection(address: string) {\n const { apiAddress, websocketUrl: customWebsocketUrl } = networkSelector(\n getStore().getState()\n );\n\n if (!address) {\n throw new Error('Websocket could not be initialized: address missing');\n }\n\n let messageTimeout: TimeoutType = null;\n let batchTimeout: TimeoutType = null;\n\n // Update socket status in store for status subscription\n const updateSocketStatus = (status: WebsocketConnectionStatusEnum) => {\n websocketConnection.status = status;\n setWebsocketStatus(status);\n };\n\n const handleMessageReceived = (message: string) => {\n if (messageTimeout) {\n clearTimeout(messageTimeout);\n }\n messageTimeout = setTimeout(() => {\n setWebsocketEvent(message);\n }, MESSAGE_DELAY);\n };\n\n const handleBatchUpdate = (data: BatchTransactionsWSResponseType) => {\n if (batchTimeout) {\n clearTimeout(batchTimeout);\n }\n batchTimeout = setTimeout(() => {\n setWebsocketBatchEvent(data);\n }, MESSAGE_DELAY);\n };\n\n const closeConnection = () => {\n const instance = websocketConnection.instance;\n if (instance) {\n instance.off(CONNECT_ERROR);\n instance.off(CONNECT);\n instance.off(BATCH_UPDATED_EVENT);\n instance.off(DISCONNECT);\n instance.close();\n console.log('Websocket disconnected.');\n }\n\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n websocketConnection.instance = null;\n\n if (messageTimeout) {\n clearTimeout(messageTimeout);\n }\n\n if (batchTimeout) {\n clearTimeout(batchTimeout);\n }\n };\n\n const initializeConnection = async () => {\n updateSocketStatus(WebsocketConnectionStatusEnum.PENDING);\n\n let websocketUrl = '';\n try {\n websocketUrl = customWebsocketUrl ?? (await getWebsocketUrl(apiAddress));\n } catch (error) {\n console.error('Failed to get websocket url:', error);\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n throw error;\n }\n\n if (!websocketUrl) {\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n return;\n }\n\n websocketConnection.instance = io(websocketUrl, {\n forceNew: true,\n reconnection: true,\n reconnectionAttempts: RECONNECTION_ATTEMPTS,\n reconnectionDelay: RETRY_INTERVAL,\n timeout: TIMEOUT,\n query: { address }\n });\n\n websocketConnection.instance.onAny(handleMessageReceived);\n\n websocketConnection.instance.on(BATCH_UPDATED_EVENT, handleBatchUpdate);\n\n websocketConnection.instance.on(CONNECT, () => {\n console.log('Websocket connected.');\n updateSocketStatus(WebsocketConnectionStatusEnum.COMPLETED);\n });\n\n websocketConnection.instance.on(CONNECT_ERROR, (error) => {\n console.warn('Websocket connect error: ', error.message);\n });\n\n websocketConnection.instance.on(DISCONNECT, (reason) => {\n console.warn('Websocket disconnected: ', reason);\n updateSocketStatus(WebsocketConnectionStatusEnum.PENDING);\n });\n };\n\n if (\n websocketConnection.status ===\n WebsocketConnectionStatusEnum.NOT_INITIALIZED &&\n !websocketConnection.instance?.active\n ) {\n await initializeConnection();\n }\n\n return {\n closeConnection\n };\n}\n"],
5
+ "mappings": "6PAAA,OAAS,MAAAA,MAAU,mBAenB,IAAMC,EAAU,IACVC,EAAwB,EACxBC,EAAiB,IACjBC,EAAgB,IAChBC,EAAsB,eACtBC,EAAU,UACVC,EAAgB,gBAChBC,EAAa,aAInB,eAAsBC,EAA8BC,EAAiB,CACnE,GAAM,CAAE,WAAAC,EAAY,aAAcC,CAAmB,EAAIC,EACvDC,EAAS,EAAE,SAAS,CACtB,EAEA,GAAI,CAACJ,EACH,MAAM,IAAI,MAAM,qDAAqD,EAGvE,IAAIK,EAA8B,KAC9BC,EAA4B,KAG1BC,EAAsBC,GAA0C,CACpEC,EAAoB,OAASD,EAC7BE,EAAmBF,CAAM,CAC3B,EAEMG,EAAyBC,GAAoB,CAC7CP,GACF,aAAaA,CAAc,EAE7BA,EAAiB,WAAW,IAAM,CAChCQ,EAAkBD,CAAO,CAC3B,EAAGlB,CAAa,CAClB,EAEMoB,EAAqBC,GAA0C,CAC/DT,GACF,aAAaA,CAAY,EAE3BA,EAAe,WAAW,IAAM,CAC9BU,EAAuBD,CAAI,CAC7B,EAAGrB,CAAa,CAClB,EAEMuB,EAAkB,IAAM,CAC5B,IAAMC,EAAWT,EAAoB,SACjCS,IACFA,EAAS,IAAIrB,CAAa,EAC1BqB,EAAS,IAAItB,CAAO,EACpBsB,EAAS,IAAIvB,CAAmB,EAChCuB,EAAS,IAAIpB,CAAU,EACvBoB,EAAS,MAAM,EACf,QAAQ,IAAI,yBAAyB,GAGvCX,mBAAgE,EAChEE,EAAoB,SAAW,KAE3BJ,GACF,aAAaA,CAAc,EAGzBC,GACF,aAAaA,CAAY,CAE7B,EAEMa,EAAuB,SAAY,CACvCZ,WAAwD,EAExD,IAAIa,EAAe,GACnB,GAAI,CACFA,EAAelB,GAAuB,MAAMmB,EAAgBpB,CAAU,CACxE,OAASqB,EAAO,CACd,cAAQ,MAAM,+BAAgCA,CAAK,EACnDf,mBAAgE,EAC1De,CACR,CAEA,GAAI,CAACF,EAAc,CACjBb,mBAAgE,EAChE,MACF,CAEAE,EAAoB,SAAWc,EAAGH,EAAc,CAC9C,SAAU,GACV,aAAc,GACd,qBAAsB5B,EACtB,kBAAmBC,EACnB,QAASF,EACT,MAAO,CAAE,QAAAS,CAAQ,CACnB,CAAC,EAEDS,EAAoB,SAAS,MAAME,CAAqB,EAExDF,EAAoB,SAAS,GAAGd,EAAqBmB,CAAiB,EAEtEL,EAAoB,SAAS,GAAGb,EAAS,IAAM,CAC7C,QAAQ,IAAI,sBAAsB,EAClCW,aAA0D,CAC5D,CAAC,EAEDE,EAAoB,SAAS,GAAGZ,EAAgByB,GAAU,CACxD,QAAQ,KAAK,4BAA6BA,EAAM,OAAO,CACzD,CAAC,EAEDb,EAAoB,SAAS,GAAGX,EAAa0B,GAAW,CACtD,QAAQ,KAAK,2BAA4BA,CAAM,EAC/CjB,WAAwD,CAC1D,CAAC,CACH,EAEA,OACEE,EAAoB,4BAEpB,CAACA,EAAoB,UAAU,QAE/B,MAAMU,EAAqB,EAGtB,CACL,gBAAAF,CACF,CACF",
6
+ "names": ["io", "TIMEOUT", "RECONNECTION_ATTEMPTS", "RETRY_INTERVAL", "MESSAGE_DELAY", "BATCH_UPDATED_EVENT", "CONNECT", "CONNECT_ERROR", "DISCONNECT", "initializeWebsocketConnection", "address", "apiAddress", "customWebsocketUrl", "networkSelector", "getStore", "messageTimeout", "batchTimeout", "updateSocketStatus", "status", "websocketConnection", "setWebsocketStatus", "handleMessageReceived", "message", "setWebsocketEvent", "handleBatchUpdate", "data", "setWebsocketBatchEvent", "closeConnection", "instance", "initializeConnection", "websocketUrl", "getWebsocketUrl", "error", "io", "reason"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-U4ZCGUVE.mjs";import{c as o}from"./chunk-7UA7QAEF.mjs";var u=(r,s=1)=>r?.length?r.reduce((e,{receiver:a,data:i})=>{let n=o({receiver:a,data:i??""});return n==null?e:e&&t({receiverAddress:n,senderShard:s})},!0):!0;export{u as a};
2
- //# sourceMappingURL=chunk-7JDTQFLQ.mjs.map
1
+ import{a as t}from"./chunk-U4ZCGUVE.mjs";import{c as o}from"./chunk-Z6OAKBWP.mjs";var u=(r,s=1)=>r?.length?r.reduce((e,{receiver:a,data:i})=>{let n=o({receiver:a,data:i??""});return n==null?e:e&&t({receiverAddress:n,senderShard:s})},!0):!0;export{u as a};
2
+ //# sourceMappingURL=chunk-XLMQWFKS.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/TransactionManager/helpers/getAreTransactionsCorssShards.ts"],
4
+ "sourcesContent": ["import { SignedTransactionType } from 'types/transactions.types';\nimport { getAddressFromDataField } from 'utils/validation/isContract';\nimport { isCrossShardTransaction } from './isCrossShardTransaction';\n\nexport const getAreTransactionsCrossShards = (\n transactions?: SignedTransactionType[],\n accountShard = 1\n): boolean => {\n if (!transactions?.length) {\n return true;\n }\n\n return transactions.reduce(\n (prevTxIsSameShard: boolean, { receiver, data }: SignedTransactionType) => {\n const receiverAddress = getAddressFromDataField({\n receiver,\n data: data ?? ''\n });\n if (receiverAddress == null) {\n return prevTxIsSameShard;\n }\n return (\n prevTxIsSameShard &&\n isCrossShardTransaction({\n receiverAddress,\n senderShard: accountShard\n })\n );\n },\n true\n );\n};\n"],
5
+ "mappings": "kFAIO,IAAMA,EAAgC,CAC3CC,EACAC,EAAe,IAEVD,GAAc,OAIZA,EAAa,OAClB,CAACE,EAA4B,CAAE,SAAAC,EAAU,KAAAC,CAAK,IAA6B,CACzE,IAAMC,EAAkBC,EAAwB,CAC9C,SAAAH,EACA,KAAMC,GAAQ,EAChB,CAAC,EACD,OAAIC,GAAmB,KACdH,EAGPA,GACAK,EAAwB,CACtB,gBAAAF,EACA,YAAaJ,CACf,CAAC,CAEL,EACA,EACF,EArBS",
6
+ "names": ["getAreTransactionsCrossShards", "transactions", "accountShard", "prevTxIsSameShard", "receiver", "data", "receiverAddress", "getAddressFromDataField", "isCrossShardTransaction"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-URTM5OGN.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
2
- //# sourceMappingURL=chunk-HUXPA4C2.mjs.map
1
+ import{a as e}from"./chunk-PCPUKFTJ.mjs";var t=()=>{if(!e)return"";try{let r=e.document?.referrer;return r?new URL(r).origin:""}catch(r){return console.error(r),""}};export{t as a};
2
+ //# sourceMappingURL=chunk-Y6QPE6SZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-5HEWN34K.mjs";import{a as l}from"./chunk-YYH2GKPL.mjs";import{z as c}from"./chunk-C72ZHRFA.mjs";import{a as g}from"./chunk-AFLCI6IF.mjs";import{s as e}from"./chunk-XNSSZDSU.mjs";import{g as n}from"./chunk-7MBSWJUD.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
- //# sourceMappingURL=chunk-7PE652LB.mjs.map
1
+ import{a as l}from"./chunk-3GRRAVW4.mjs";import{a}from"./chunk-5HEWN34K.mjs";import{l as c}from"./chunk-XA4YS4GK.mjs";import{a as g}from"./chunk-6M3IQXQF.mjs";import{s as e}from"./chunk-2QIUCSYX.mjs";import{g as n}from"./chunk-FK6DWWZF.mjs";import{e as d}from"./chunk-VNLGNNIL.mjs";import{HWProvider as P}from"@multiversx/sdk-hw-provider";async function S(s){let m=g(),t=s?.shouldInitProvider||!m,f=d(e()),o=n(e()),p=c(),i=new P;try{if(!t&&o){let u={version:o.version,dataEnabled:o.hasContractDataEnabled};return{ledgerProvider:i,ledgerConfig:u}}let r=await a({provider:p,ledgerProvider:i,ledgerLogin:f,shouldInitProvider:t}),v=await l(r);return{ledgerProvider:r,ledgerConfig:v}}catch(r){throw console.error("Could not initialize ledger app",r),r}}export{S as a};
2
+ //# sourceMappingURL=chunk-YGHJRPPY.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-2QIUCSYX.mjs";var r=e=>o().setState(({config:t})=>{t.nativeAuthConfig=e},!1,{type:"setNativeAuthConfig",payload:{value:e}}),C=e=>o().setState(({config:t})=>{t.websocketStatus=e},!1,{type:"setWebsocketStatus",payload:{value:e}}),c=e=>o().setState(({config:t})=>{if(e){let l=e.walletConnectV2RelayAddress||n.walletConnectV2RelayAddress,a=e.walletConnectDeepLink||n.walletConnectDeepLink;t.walletConnectConfig={...e,walletConnectDeepLink:a,walletConnectV2RelayAddress:l}}else t.walletConnectConfig=null},!1,{type:"setWalletConnectConfig",payload:{value:e}}),f=e=>o().setState(({config:t})=>{t.settings=e},!1,{type:"setProviderSettings",payload:{value:e}});export{r as a,C as b,c,f as d};
2
+ //# sourceMappingURL=chunk-YMDS57T6.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/store/actions/config/configActions.ts"],
4
+ "sourcesContent": ["import { fallbackWalletConnectConfigurations } from 'constants/walletConnect.constants';\nimport { WebsocketConnectionStatusEnum } from 'constants/websocket.constants';\nimport { WalletConnectConfig } from 'providers/strategies/WalletConnectProviderStrategy/types';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { IProviderSettings } from 'store/slices/config/config.types';\nimport { getStore } from 'store/store';\n\nexport const setNativeAuthConfig = (config: NativeAuthConfigType | null) =>\n getStore().setState(\n ({ config: state }) => {\n state.nativeAuthConfig = config;\n },\n false,\n {\n type: 'setNativeAuthConfig',\n // @ts-ignore\n payload: {\n value: config\n }\n }\n );\n\nexport const setWebsocketStatus = (status: WebsocketConnectionStatusEnum) =>\n getStore().setState(\n ({ config: state }) => {\n state.websocketStatus = status;\n },\n false,\n {\n type: 'setWebsocketStatus',\n // @ts-ignore\n payload: {\n value: status\n }\n }\n );\n\nexport const setWalletConnectConfig = (config: WalletConnectConfig | null) =>\n getStore().setState(\n ({ config: state }) => {\n if (config) {\n const walletConnectV2RelayAddress =\n config.walletConnectV2RelayAddress ||\n fallbackWalletConnectConfigurations.walletConnectV2RelayAddress;\n const walletConnectDeepLink =\n config.walletConnectDeepLink ||\n fallbackWalletConnectConfigurations.walletConnectDeepLink;\n\n state.walletConnectConfig = {\n ...config,\n walletConnectDeepLink,\n walletConnectV2RelayAddress\n };\n } else {\n state.walletConnectConfig = null;\n }\n },\n false,\n {\n type: 'setWalletConnectConfig',\n // @ts-ignore\n payload: {\n value: config\n }\n }\n );\n\nexport const setProviderSettings = (settings: IProviderSettings | null) =>\n getStore().setState(\n ({ config: state }) => {\n state.settings = settings;\n },\n false,\n {\n type: 'setProviderSettings',\n // @ts-ignore\n payload: {\n value: settings\n }\n }\n );\n"],
5
+ "mappings": "kFAOO,IAAMA,EAAuBC,GAClCC,EAAS,EAAE,SACT,CAAC,CAAE,OAAQC,CAAM,IAAM,CACrBA,EAAM,iBAAmBF,CAC3B,EACA,GACA,CACE,KAAM,sBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWG,EAAsBC,GACjCH,EAAS,EAAE,SACT,CAAC,CAAE,OAAQC,CAAM,IAAM,CACrBA,EAAM,gBAAkBE,CAC1B,EACA,GACA,CACE,KAAM,qBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,EAA0BL,GACrCC,EAAS,EAAE,SACT,CAAC,CAAE,OAAQC,CAAM,IAAM,CACrB,GAAIF,EAAQ,CACV,IAAMM,EACJN,EAAO,6BACPO,EAAoC,4BAChCC,EACJR,EAAO,uBACPO,EAAoC,sBAEtCL,EAAM,oBAAsB,CAC1B,GAAGF,EACH,sBAAAQ,EACA,4BAAAF,CACF,CACF,MACEJ,EAAM,oBAAsB,IAEhC,EACA,GACA,CACE,KAAM,yBAEN,QAAS,CACP,MAAOF,CACT,CACF,CACF,EAEWS,EAAuBC,GAClCT,EAAS,EAAE,SACT,CAAC,CAAE,OAAQC,CAAM,IAAM,CACrBA,EAAM,SAAWQ,CACnB,EACA,GACA,CACE,KAAM,sBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF",
6
+ "names": ["setNativeAuthConfig", "config", "getStore", "state", "setWebsocketStatus", "status", "setWalletConnectConfig", "walletConnectV2RelayAddress", "fallbackWalletConnectConfigurations", "walletConnectDeepLink", "setProviderSettings", "settings"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-UPABDY55.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
- //# sourceMappingURL=chunk-TMRKN7VL.mjs.map
1
+ import{a as e}from"./chunk-VC74WYUB.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
+ //# sourceMappingURL=chunk-YXNJS4KL.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as d,c as u}from"./chunk-FTJF3Q3P.mjs";import{c as o}from"./chunk-NTEMINYA.mjs";import{a as m,b as p}from"./chunk-WRLZ5ICK.mjs";import{a as f}from"./chunk-I3MK6KZJ.mjs";import{f as l}from"./chunk-NWJYEKI2.mjs";function h(t,r,s=""){if(!f(t))return!1;if(new o(t).isSmartContract())return!0;let i=S({receiver:t,data:s});return i?new o(i).isSmartContract()||g(t,r,s):!1}function g(t,r,s){let n=s?.split("@");if(n==null)return!1;let[e,...i]=n,a=r!=null&&t!=null&&t===r,T=Object.values(l).includes(e),C=i.every(c=>m(c)&&p(c));return a&&T&&C}function S({receiver:t,data:r}){try{if(!r)return t;let s=d(r)?u(r):r,n=E(s),e=s.split("@");return n>-1?e[n]:t}catch(s){console.log(s);return}}function E(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}export{h as a,g as b,S as c};
2
- //# sourceMappingURL=chunk-7UA7QAEF.mjs.map
1
+ import{a as d,c as u}from"./chunk-PWAP64SN.mjs";import{a as f}from"./chunk-I3MK6KZJ.mjs";import{c as o}from"./chunk-NTEMINYA.mjs";import{f as l}from"./chunk-NWJYEKI2.mjs";import{a as m,b as p}from"./chunk-WRLZ5ICK.mjs";function h(t,r,s=""){if(!f(t))return!1;if(new o(t).isSmartContract())return!0;let i=S({receiver:t,data:s});return i?new o(i).isSmartContract()||g(t,r,s):!1}function g(t,r,s){let n=s?.split("@");if(n==null)return!1;let[e,...i]=n,a=r!=null&&t!=null&&t===r,T=Object.values(l).includes(e),C=i.every(c=>m(c)&&p(c));return a&&T&&C}function S({receiver:t,data:r}){try{if(!r)return t;let s=d(r)?u(r):r,n=E(s),e=s.split("@");return n>-1?e[n]:t}catch(s){console.log(s);return}}function E(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}export{h as a,g as b,S as c};
2
+ //# sourceMappingURL=chunk-Z6OAKBWP.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/validation/isContract.ts"],
4
+ "sourcesContent": ["import { Address } from 'lib/sdkCore';\nimport {\n ESDTTransferTypesEnum,\n TypesOfSmartContractCallsEnum\n} from 'types/enums.types';\nimport { decodeBase64, isStringBase64 } from 'utils/decoders/base64Utils';\nimport { addressIsValid } from './addressIsValid';\nimport { isHexValidCharacters, isHexValidLength } from './hex';\n\nexport function isContract(\n receiver: string,\n sender?: string,\n data = ''\n): boolean {\n const isValid = addressIsValid(receiver);\n\n if (!isValid) {\n return false;\n }\n\n const isContractAddress = new Address(receiver).isSmartContract();\n\n if (isContractAddress) {\n return true;\n }\n\n const extractedAddress = getAddressFromDataField({ receiver, data });\n\n if (!extractedAddress) {\n return false;\n }\n\n const isExtractedAddressContractCall = new Address(\n extractedAddress\n ).isSmartContract();\n\n return (\n isExtractedAddressContractCall || isSelfESDTContract(receiver, sender, data)\n );\n}\n\nexport function isSelfESDTContract(\n receiver: string,\n sender?: string,\n data?: string\n) {\n const parts = data?.split('@');\n if (parts == null) {\n return false;\n }\n const [type, ...restParts] = parts;\n const isSelfTransaction =\n sender != null && receiver != null && receiver === sender;\n const isCorrectESDTType = Object.values(ESDTTransferTypesEnum).includes(\n type as ESDTTransferTypesEnum\n );\n const areDataPartsValid = restParts.every(\n (part) => isHexValidCharacters(part) && isHexValidLength(part)\n );\n return isSelfTransaction && isCorrectESDTType && areDataPartsValid;\n}\n\nexport function getAddressFromDataField({\n receiver,\n data\n}: {\n receiver: string;\n data: string;\n}) {\n try {\n if (!data) {\n return receiver;\n }\n const parsedData = isStringBase64(data) ? decodeBase64(data) : data;\n\n const addressIndex = getAddressIndex(parsedData);\n\n const parts = parsedData.split('@');\n return addressIndex > -1 ? parts[addressIndex] : receiver;\n } catch (err) {\n console.log(err);\n return;\n }\n}\n\nfunction getAddressIndex(data: string) {\n if (data.includes(TypesOfSmartContractCallsEnum.MultiESDTNFTTransfer)) {\n return 1;\n }\n if (data.includes(TypesOfSmartContractCallsEnum.ESDTNFTTransfer)) {\n return 4;\n }\n return -1;\n}\n"],
5
+ "mappings": "2NASO,SAASA,EACdC,EACAC,EACAC,EAAO,GACE,CAGT,GAAI,CAFYC,EAAeH,CAAQ,EAGrC,MAAO,GAKT,GAF0B,IAAII,EAAQJ,CAAQ,EAAE,gBAAgB,EAG9D,MAAO,GAGT,IAAMK,EAAmBC,EAAwB,CAAE,SAAAN,EAAU,KAAAE,CAAK,CAAC,EAEnE,OAAKG,EAIkC,IAAID,EACzCC,CACF,EAAE,gBAAgB,GAGkBE,EAAmBP,EAAUC,EAAQC,CAAI,EARpE,EAUX,CAEO,SAASK,EACdP,EACAC,EACAC,EACA,CACA,IAAMM,EAAQN,GAAM,MAAM,GAAG,EAC7B,GAAIM,GAAS,KACX,MAAO,GAET,GAAM,CAACC,EAAM,GAAGC,CAAS,EAAIF,EACvBG,EACJV,GAAU,MAAQD,GAAY,MAAQA,IAAaC,EAC/CW,EAAoB,OAAO,OAAOC,CAAqB,EAAE,SAC7DJ,CACF,EACMK,EAAoBJ,EAAU,MACjCK,GAASC,EAAqBD,CAAI,GAAKE,EAAiBF,CAAI,CAC/D,EACA,OAAOJ,GAAqBC,GAAqBE,CACnD,CAEO,SAASR,EAAwB,CACtC,SAAAN,EACA,KAAAE,CACF,EAGG,CACD,GAAI,CACF,GAAI,CAACA,EACH,OAAOF,EAET,IAAMkB,EAAaC,EAAejB,CAAI,EAAIkB,EAAalB,CAAI,EAAIA,EAEzDmB,EAAeC,EAAgBJ,CAAU,EAEzCV,EAAQU,EAAW,MAAM,GAAG,EAClC,OAAOG,EAAe,GAAKb,EAAMa,CAAY,EAAIrB,CACnD,OAASuB,EAAK,CACZ,QAAQ,IAAIA,CAAG,EACf,MACF,CACF,CAEA,SAASD,EAAgBpB,EAAc,CACrC,OAAIA,EAAK,+BAA2D,EAC3D,EAELA,EAAK,0BAAsD,EACtD,EAEF,EACT",
6
+ "names": ["isContract", "receiver", "sender", "data", "addressIsValid", "Address", "extractedAddress", "getAddressFromDataField", "isSelfESDTContract", "parts", "type", "restParts", "isSelfTransaction", "isCorrectESDTType", "ESDTTransferTypesEnum", "areDataPartsValid", "part", "isHexValidCharacters", "isHexValidLength", "parsedData", "isStringBase64", "decodeBase64", "addressIndex", "getAddressIndex", "err"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{d as c}from"./chunk-L7L56ZTG.mjs";import{a as m}from"./chunk-O6VPG7AF.mjs";import{a as d}from"./chunk-V4YC4AKQ.mjs";import{a as T}from"./chunk-QX32V6TT.mjs";import{b as p}from"./chunk-ZS4EBCWC.mjs";import{a as k}from"./chunk-B72JAXSF.mjs";import{a as g}from"./chunk-ZJ2WPN2K.mjs";import{a as f}from"./chunk-HS34AFHY.mjs";import{a as s}from"./chunk-B3IKUIRK.mjs";import{a as t}from"./chunk-YJCTRUJT.mjs";import{a as r}from"./chunk-QNELH2S2.mjs";import{a}from"./chunk-Z6OAKBWP.mjs";function z({transaction:e,address:h,explorerAddress:o}){let y=e.tokenIdentifier??p(e.data).tokenId,n=f(e),u=g(e),l={timeAgo:c(e.timestamp*1e3,!0),tooltip:s({value:e.timestamp,noSeconds:!1,utc:!0})},v=k({address:h,transaction:e,receiver:n}),I={actionDescription:e.action?.description,name:d(e)},S=m(e),D=t({explorerAddress:o,to:r.accountDetails(e.sender)}),L=t({explorerAddress:o,to:r.accountDetails(n)}),A=t({explorerAddress:o,to:r.senderShard(e.senderShard)}),H=t({explorerAddress:o,to:r.receiverShard(e.receiverShard)}),i=e.originalTxHash||e.txHash,x=t({explorerAddress:o,to:r.transactionDetails(i)});return{...e,txHash:i,tokenIdentifier:y,receiver:n,receiverAssets:u,transactionDetails:{age:l,direction:v,method:I,iconInfo:T(e),transactionTokens:S,isContract:a(e.sender)},links:{senderLink:D,receiverLink:L,senderShardLink:A,receiverShardLink:H,transactionLink:x}}}export{z as a};
2
+ //# sourceMappingURL=chunk-ZOYJTXNI.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.ts"],
4
+ "sourcesContent": ["import {\n InterpretedTransactionType,\n ServerTransactionType,\n TransactionAgeType,\n TransactionMethodType\n} from 'types/serverTransactions.types';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { timeAgo } from 'utils/operations/timeRemaining';\nimport { isContract } from 'utils/validation/isContract';\nimport { explorerUrlBuilder } from '../explorerUrlBuilder';\nimport { getExplorerLink } from '../getExplorerLink';\nimport { getHumanReadableTimeFormat } from '../getHumanReadableTimeFormat';\nimport { getTransactionTokens } from './getTransactionValue/helpers/getTransactionTokens';\nimport { getTokenFromData } from './helpers/getTokenFromData';\nimport { getTransactionIconInfo } from './helpers/getTransactionIconInfo';\nimport { getTransactionMethod } from './helpers/getTransactionMethod';\nimport { getTransactionReceiver } from './helpers/getTransactionReceiver';\nimport { getTransactionReceiverAssets } from './helpers/getTransactionReceiverAssets';\nimport { getTransactionTransferType } from './helpers/getTransactionTransferType';\n\nexport interface GetInterpretedTransactionType {\n address: string;\n explorerAddress: string;\n transaction: ServerTransactionType;\n}\n\nexport function getInterpretedTransaction({\n transaction,\n address,\n explorerAddress\n}: GetInterpretedTransactionType): InterpretedTransactionType {\n const tokenIdentifier =\n transaction.tokenIdentifier ?? getTokenFromData(transaction.data).tokenId;\n\n const receiver = getTransactionReceiver(transaction);\n const receiverAssets = getTransactionReceiverAssets(transaction);\n const age: TransactionAgeType = {\n timeAgo: timeAgo(transaction.timestamp * 1000, true),\n tooltip: getHumanReadableTimeFormat({\n value: transaction.timestamp,\n noSeconds: false,\n utc: true\n })\n };\n\n const direction = getTransactionTransferType({\n address,\n transaction,\n receiver\n });\n\n const method: TransactionMethodType = {\n actionDescription: transaction.action?.description,\n name: getTransactionMethod(transaction)\n };\n\n const transactionTokens: TokenArgumentType[] =\n getTransactionTokens(transaction);\n\n const senderLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(transaction.sender)\n });\n\n const receiverLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(receiver)\n });\n\n const senderShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.senderShard(transaction.senderShard)\n });\n\n const receiverShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.receiverShard(transaction.receiverShard)\n });\n\n const transactionHash = transaction.originalTxHash || transaction.txHash;\n\n const transactionLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.transactionDetails(transactionHash)\n });\n\n return {\n ...transaction,\n txHash: transactionHash,\n tokenIdentifier,\n receiver,\n receiverAssets,\n transactionDetails: {\n age,\n direction,\n method,\n iconInfo: getTransactionIconInfo(transaction),\n transactionTokens,\n isContract: isContract(transaction.sender)\n },\n links: {\n senderLink,\n receiverLink,\n senderShardLink,\n receiverShardLink,\n transactionLink\n }\n };\n}\n"],
5
+ "mappings": "ueA0BO,SAASA,EAA0B,CACxC,YAAAC,EACA,QAAAC,EACA,gBAAAC,CACF,EAA8D,CAC5D,IAAMC,EACJH,EAAY,iBAAmBI,EAAiBJ,EAAY,IAAI,EAAE,QAE9DK,EAAWC,EAAuBN,CAAW,EAC7CO,EAAiBC,EAA6BR,CAAW,EACzDS,EAA0B,CAC9B,QAASC,EAAQV,EAAY,UAAY,IAAM,EAAI,EACnD,QAASW,EAA2B,CAClC,MAAOX,EAAY,UACnB,UAAW,GACX,IAAK,EACP,CAAC,CACH,EAEMY,EAAYC,EAA2B,CAC3C,QAAAZ,EACA,YAAAD,EACA,SAAAK,CACF,CAAC,EAEKS,EAAgC,CACpC,kBAAmBd,EAAY,QAAQ,YACvC,KAAMe,EAAqBf,CAAW,CACxC,EAEMgB,EACJC,EAAqBjB,CAAW,EAE5BkB,EAAaC,EAAgB,CACjC,gBAAAjB,EACA,GAAIkB,EAAmB,eAAepB,EAAY,MAAM,CAC1D,CAAC,EAEKqB,EAAeF,EAAgB,CACnC,gBAAAjB,EACA,GAAIkB,EAAmB,eAAef,CAAQ,CAChD,CAAC,EAEKiB,EAAkBH,EAAgB,CACtC,gBAAAjB,EACA,GAAIkB,EAAmB,YAAYpB,EAAY,WAAW,CAC5D,CAAC,EAEKuB,EAAoBJ,EAAgB,CACxC,gBAAAjB,EACA,GAAIkB,EAAmB,cAAcpB,EAAY,aAAa,CAChE,CAAC,EAEKwB,EAAkBxB,EAAY,gBAAkBA,EAAY,OAE5DyB,EAAkBN,EAAgB,CACtC,gBAAAjB,EACA,GAAIkB,EAAmB,mBAAmBI,CAAe,CAC3D,CAAC,EAED,MAAO,CACL,GAAGxB,EACH,OAAQwB,EACR,gBAAArB,EACA,SAAAE,EACA,eAAAE,EACA,mBAAoB,CAClB,IAAAE,EACA,UAAAG,EACA,OAAAE,EACA,SAAUY,EAAuB1B,CAAW,EAC5C,kBAAAgB,EACA,WAAYW,EAAW3B,EAAY,MAAM,CAC3C,EACA,MAAO,CACL,WAAAkB,EACA,aAAAG,EACA,gBAAAC,EACA,kBAAAC,EACA,gBAAAE,CACF,CACF,CACF",
6
+ "names": ["getInterpretedTransaction", "transaction", "address", "explorerAddress", "tokenIdentifier", "getTokenFromData", "receiver", "getTransactionReceiver", "receiverAssets", "getTransactionReceiverAssets", "age", "timeAgo", "getHumanReadableTimeFormat", "direction", "getTransactionTransferType", "method", "getTransactionMethod", "transactionTokens", "getTransactionTokens", "senderLink", "getExplorerLink", "explorerUrlBuilder", "receiverLink", "senderShardLink", "receiverShardLink", "transactionHash", "transactionLink", "getTransactionIconInfo", "isContract"]
7
+ }
@@ -1,2 +1,2 @@
1
- "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/endpoints"),s=require("../../apiCalls/utils/axiosInstance"),a=require("../../apiCalls/utils/getCleanApiAddress"),u=require("../../constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,a.getCleanApiAddress)(t),e=`${o}/${i.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return s.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
1
+ "use strict";var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(r,t)=>{for(var o in t)c(r,o,{get:t[o],enumerable:!0})},A=(r,t,o,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of f(t))!g.call(r,n)&&n!==o&&c(r,n,{get:()=>t[n],enumerable:!(e=p(t,n))||e.enumerable});return r};var d=r=>A(c({},"__esModule",{value:!0}),r);var U={};l(U,{accountFetcher:()=>m,getAccountFromApi:()=>T});module.exports=d(U);var i=require("../../apiCalls/configuration/getCleanApiAddress"),s=require("../../apiCalls/endpoints"),a=require("../../apiCalls/utils/axiosInstance"),u=require("../../constants/network.constants");const m=({address:r,baseURL:t})=>{const o=(0,i.getCleanApiAddress)(t),e=`${o}/${s.ACCOUNTS_ENDPOINT}/${r}?withGuardianInfo=true`;return a.axiosInstance.get(e,{baseURL:o,timeout:u.TIMEOUT})},T=async({address:r,baseURL:t})=>{if(!r)return null;try{const{data:o}=await m({address:r,baseURL:t});return o}catch{console.error("error fetching configuration for ",r)}return null};0&&(module.exports={accountFetcher,getAccountFromApi});
2
2
  //# sourceMappingURL=getAccountFromApi.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/apiCalls/account/getAccountFromApi.ts"],
4
- "sourcesContent": ["import { ACCOUNTS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/network.constants';\nimport { AccountType } from 'types/account.types';\n\nexport const accountFetcher = ({\n address,\n baseURL\n}: {\n address: string | null;\n baseURL: string;\n}) => {\n const apiAddress = getCleanApiAddress(baseURL);\n const url = `${apiAddress}/${ACCOUNTS_ENDPOINT}/${address}?withGuardianInfo=true`;\n // we need to get it with an axios instance because of cross-window user interaction issues\n return axiosInstance.get(url, {\n baseURL: apiAddress,\n timeout: TIMEOUT\n });\n};\n\nexport const getAccountFromApi = async ({\n address,\n baseURL\n}: {\n address?: string;\n baseURL: string;\n}) => {\n if (!address) {\n return null;\n }\n\n try {\n const { data } = await accountFetcher({ address, baseURL });\n return data as AccountType;\n } catch (_err) {\n console.error('error fetching configuration for ', address);\n }\n\n return null;\n};\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,EAAA,sBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAkC,8BAClCC,EAA8B,wCAC9BC,EAAmC,6CACnCC,EAAwB,uCAGjB,MAAMN,EAAiB,CAAC,CAC7B,QAAAO,EACA,QAAAC,CACF,IAGM,CACJ,MAAMC,KAAa,sBAAmBD,CAAO,EACvCE,EAAM,GAAGD,CAAU,IAAI,mBAAiB,IAAIF,CAAO,yBAEzD,OAAO,gBAAc,IAAIG,EAAK,CAC5B,QAASD,EACT,QAAS,SACX,CAAC,CACH,EAEaR,EAAoB,MAAO,CACtC,QAAAM,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,EACH,OAAO,KAGT,GAAI,CACF,KAAM,CAAE,KAAAI,CAAK,EAAI,MAAMX,EAAe,CAAE,QAAAO,EAAS,QAAAC,CAAQ,CAAC,EAC1D,OAAOG,CACT,MAAe,CACb,QAAQ,MAAM,oCAAqCJ,CAAO,CAC5D,CAEA,OAAO,IACT",
6
- "names": ["getAccountFromApi_exports", "__export", "accountFetcher", "getAccountFromApi", "__toCommonJS", "import_endpoints", "import_axiosInstance", "import_getCleanApiAddress", "import_network", "address", "baseURL", "apiAddress", "url", "data"]
4
+ "sourcesContent": ["import { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { ACCOUNTS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { TIMEOUT } from 'constants/network.constants';\nimport { AccountType } from 'types/account.types';\n\nexport const accountFetcher = ({\n address,\n baseURL\n}: {\n address: string | null;\n baseURL: string;\n}) => {\n const apiAddress = getCleanApiAddress(baseURL);\n const url = `${apiAddress}/${ACCOUNTS_ENDPOINT}/${address}?withGuardianInfo=true`;\n // we need to get it with an axios instance because of cross-window user interaction issues\n return axiosInstance.get(url, {\n baseURL: apiAddress,\n timeout: TIMEOUT\n });\n};\n\nexport const getAccountFromApi = async ({\n address,\n baseURL\n}: {\n address?: string;\n baseURL: string;\n}) => {\n if (!address) {\n return null;\n }\n\n try {\n const { data } = await accountFetcher({ address, baseURL });\n return data as AccountType;\n } catch (_err) {\n console.error('error fetching configuration for ', address);\n }\n\n return null;\n};\n"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,oBAAAE,EAAA,sBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAmC,qDACnCC,EAAkC,8BAClCC,EAA8B,wCAC9BC,EAAwB,uCAGjB,MAAMN,EAAiB,CAAC,CAC7B,QAAAO,EACA,QAAAC,CACF,IAGM,CACJ,MAAMC,KAAa,sBAAmBD,CAAO,EACvCE,EAAM,GAAGD,CAAU,IAAI,mBAAiB,IAAIF,CAAO,yBAEzD,OAAO,gBAAc,IAAIG,EAAK,CAC5B,QAASD,EACT,QAAS,SACX,CAAC,CACH,EAEaR,EAAoB,MAAO,CACtC,QAAAM,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,EACH,OAAO,KAGT,GAAI,CACF,KAAM,CAAE,KAAAI,CAAK,EAAI,MAAMX,EAAe,CAAE,QAAAO,EAAS,QAAAC,CAAQ,CAAC,EAC1D,OAAOG,CACT,MAAe,CACb,QAAQ,MAAM,oCAAqCJ,CAAO,CAC5D,CAEA,OAAO,IACT",
6
+ "names": ["getAccountFromApi_exports", "__export", "accountFetcher", "getAccountFromApi", "__toCommonJS", "import_getCleanApiAddress", "import_endpoints", "import_axiosInstance", "import_network", "address", "baseURL", "apiAddress", "url", "data"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../__chunks__/chunk-EPL2CHU6.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";export{a as accountFetcher,b as getAccountFromApi};
1
+ import{a,b}from"../../__chunks__/chunk-KOUT2Y7O.mjs";import"../../__chunks__/chunk-D4JFV2LM.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as accountFetcher,b as getAccountFromApi};
2
2
  //# sourceMappingURL=getAccountFromApi.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/utils/getCleanApiAddress"),d=require("../../constants/index"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
1
+ "use strict";var p=Object.create;var e=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty;var I=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of T(r))!A.call(o,s)&&s!==t&&e(o,s,{get:()=>r[s],enumerable:!(a=c(r,s))||a.enumerable});return o};var y=(o,r,t)=>(t=o!=null?p(g(o)):{},i(r||!o||!o.__esModule?e(t,"default",{value:o,enumerable:!0}):t,o)),S=o=>i(e({},"__esModule",{value:!0}),o);var C={};I(C,{getScamAddressData:()=>u});module.exports=S(C);var m=y(require("axios")),n=require("../../apiCalls/configuration/getCleanApiAddress"),d=require("../../constants/network.constants"),f=require("../endpoints");async function u({addressToVerify:o,baseURL:r}){const t=(0,n.getCleanApiAddress)(r),{data:a}=await m.default.get(`${t}/${f.ACCOUNTS_ENDPOINT}/${o}`,{timeout:d.TIMEOUT});return a}0&&(module.exports={getScamAddressData});
2
2
  //# sourceMappingURL=getScamAddressData.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/apiCalls/account/getScamAddressData.ts"],
4
- "sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,6CACnCC,EAAwB,2BAExBC,EAAkC,wBAElC,eAAsBL,EAAmB,CACvC,gBAAAM,EACA,QAAAC,CACF,EAGG,CACD,MAAMC,KAAa,sBAAmBD,CAAO,EAEvC,CAAE,KAAAE,CAAK,EAAI,MAAM,EAAAC,QAAM,IAG1B,GAAGF,CAAU,IAAI,mBAAiB,IAAIF,CAAe,GAAI,CAC1D,QAAS,SACX,CAAC,EAED,OAAOG,CACT",
6
- "names": ["getScamAddressData_exports", "__export", "getScamAddressData", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_constants", "import_endpoints", "addressToVerify", "baseURL", "apiAddress", "data", "axios"]
4
+ "sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/network.constants';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
5
+ "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,qDACnCC,EAAwB,uCAExBC,EAAkC,wBAElC,eAAsBL,EAAmB,CACvC,gBAAAM,EACA,QAAAC,CACF,EAGG,CACD,MAAMC,KAAa,sBAAmBD,CAAO,EAEvC,CAAE,KAAAE,CAAK,EAAI,MAAM,EAAAC,QAAM,IAG1B,GAAGF,CAAU,IAAI,mBAAiB,IAAIF,CAAe,GAAI,CAC1D,QAAS,SACX,CAAC,EAED,OAAOG,CACT",
6
+ "names": ["getScamAddressData_exports", "__export", "getScamAddressData", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_network", "import_endpoints", "addressToVerify", "baseURL", "apiAddress", "data", "axios"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-VIQAOU2F.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-WYVAFCPU.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../__chunks__/chunk-NAYDJEWI.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-LJX4MW7B.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getScamAddressData};
1
+ import{a}from"../../__chunks__/chunk-KMITMS2L.mjs";import"../../__chunks__/chunk-D4JFV2LM.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getScamAddressData};
2
2
  //# sourceMappingURL=getScamAddressData.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-D3VRMBRS.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getCleanApiAddress};
1
+ import{a}from"../../__chunks__/chunk-D4JFV2LM.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getCleanApiAddress};
2
2
  //# sourceMappingURL=getCleanApiAddress.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-LG6Q3PRI.mjs";import"../../__chunks__/chunk-D3VRMBRS.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getGasStationMetadataFromApi};
1
+ import{a}from"../../__chunks__/chunk-6RCSIT2P.mjs";import"../../__chunks__/chunk-D4JFV2LM.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getGasStationMetadataFromApi};
2
2
  //# sourceMappingURL=getGasStationMetadata.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/endpoints"),a=require("../../apiCalls/utils/getCleanApiAddress");async function A({url:r=s.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,a.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
1
+ "use strict";var m=Object.create;var c=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var d=(r,e)=>{for(var n in e)c(r,n,{get:e[n],enumerable:!0})},i=(r,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!b.call(r,o)&&o!==n&&c(r,o,{get:()=>e[o],enumerable:!(t=u(e,o))||t.enumerable});return r};var g=(r,e,n)=>(n=r!=null?m(l(r)):{},i(e||!r||!r.__esModule?c(n,"default",{value:r,enumerable:!0}):n,r)),y=r=>i(c({},"__esModule",{value:!0}),r);var E={};d(E,{getEconomics:()=>A});module.exports=y(E);var p=g(require("axios")),s=require("../../apiCalls/configuration/getCleanApiAddress"),a=require("../../apiCalls/endpoints");async function A({url:r=a.ECONOMICS_ENDPOINT,baseURL:e}){const t=`${(0,s.getCleanApiAddress)(e)}/${r}`;try{const{data:o}=await p.default.get(t);return o}catch(o){return console.error("err fetching economics info",o),null}}0&&(module.exports={getEconomics});
2
2
  //# sourceMappingURL=getEconomics.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/apiCalls/economics/getEconomics.ts"],
4
- "sourcesContent": ["import axios from 'axios';\nimport { 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": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,8BACnCC,EAAmC,6CAYnC,eAAsBJ,EAAa,CACjC,IAAAK,EAAM,qBACN,QAAAC,CACF,EAGG,CAED,MAAMC,EAAY,MADC,sBAAmBD,CAAO,CACd,IAAID,CAAG,GACtC,GAAI,CACF,KAAM,CAAE,KAAAG,CAAK,EAAI,MAAM,EAAAC,QAAM,IAAuBF,CAAS,EAC7D,OAAOC,CACT,OAASE,EAAK,CACZ,eAAQ,MAAM,8BAA+BA,CAAG,EACzC,IACT,CACF",
6
- "names": ["getEconomics_exports", "__export", "getEconomics", "__toCommonJS", "import_axios", "import_endpoints", "import_getCleanApiAddress", "url", "baseURL", "configUrl", "data", "axios", "err"]
4
+ "sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/configuration/getCleanApiAddress';\nimport { ECONOMICS_ENDPOINT } from 'apiCalls/endpoints';\n\nexport interface EconomicsInfoType {\n totalSupply: number;\n circulatingSupply: number;\n staked: number;\n price: number;\n marketCap: number;\n apr: number;\n topUpApr: number;\n}\n\nexport async function getEconomics({\n url = ECONOMICS_ENDPOINT,\n baseURL\n}: {\n url?: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n const configUrl = `${apiAddress}/${url}`;\n try {\n const { data } = await axios.get<EconomicsInfoType>(configUrl);\n return data;\n } catch (err) {\n console.error('err fetching economics info', err);\n return null;\n }\n}\n"],
5
+ "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAkB,oBAClBC,EAAmC,qDACnCC,EAAmC,8BAYnC,eAAsBJ,EAAa,CACjC,IAAAK,EAAM,qBACN,QAAAC,CACF,EAGG,CAED,MAAMC,EAAY,MADC,sBAAmBD,CAAO,CACd,IAAID,CAAG,GACtC,GAAI,CACF,KAAM,CAAE,KAAAG,CAAK,EAAI,MAAM,EAAAC,QAAM,IAAuBF,CAAS,EAC7D,OAAOC,CACT,OAASE,EAAK,CACZ,eAAQ,MAAM,8BAA+BA,CAAG,EACzC,IACT,CACF",
6
+ "names": ["getEconomics_exports", "__export", "getEconomics", "__toCommonJS", "import_axios", "import_getCleanApiAddress", "import_endpoints", "url", "baseURL", "configUrl", "data", "axios", "err"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-UT4BWFQH.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";export{a as getEconomics};
1
+ import{a}from"../../__chunks__/chunk-PYRTFEMB.mjs";import"../../__chunks__/chunk-D4JFV2LM.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getEconomics};
2
2
  //# sourceMappingURL=getEconomics.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-XLLBREX7.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";export{a as getPersistedToken};
1
+ import{a}from"../../__chunks__/chunk-NYZ726DG.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";export{a as getPersistedToken};
2
2
  //# sourceMappingURL=getPersistedToken.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-5KYXNO4J.mjs";import"../../__chunks__/chunk-XLLBREX7.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getPersistedTokenDetails};
1
+ import{a}from"../../__chunks__/chunk-7FV6DEQX.mjs";import"../../__chunks__/chunk-NYZ726DG.mjs";import"../../__chunks__/chunk-SNPF3BD2.mjs";import"../../__chunks__/chunk-N56SMVGU.mjs";import"../../__chunks__/chunk-PKDR5ERF.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-NWJYEKI2.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getPersistedTokenDetails};
2
2
  //# sourceMappingURL=getPersistedTokenDetails.mjs.map
@@ -1,2 +1,2 @@
1
- "use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var u=(n,t)=>{for(var i in t)a(n,i,{get:t[i],enumerable:!0})},y=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of N(t))!g.call(n,r)&&r!==i&&a(n,r,{get:()=>t[r],enumerable:!(o=T(t,r))||o.enumerable});return n};var b=n=>y(a({},"__esModule",{value:!0}),n);var I={};u(I,{getTokenDetails:()=>D});module.exports=b(I);var s=require("../../apiCalls/endpoints"),m=require("../../apiCalls/utils/axiosInstance"),c=require("../../store/selectors"),k=require("../../store/store"),p=require("../../utils/validation/getIdentifierType");async function D({tokenId:n}){const t=(0,c.networkSelector)((0,k.getState)()),{isNft:i}=(0,p.getIdentifierType)(n),o=n,r=i?s.NFTS_ENDPOINT:s.TOKENS_ENDPOINT;if(!o)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{const{data:e}=await m.axiosInstance.get(`${t.apiAddress}/${r}/${o}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${o}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:o}}}0&&(module.exports={getTokenDetails});
1
+ "use strict";var a=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var u=(n,t)=>{for(var i in t)a(n,i,{get:t[i],enumerable:!0})},y=(n,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of N(t))!g.call(n,r)&&r!==i&&a(n,r,{get:()=>t[r],enumerable:!(o=T(t,r))||o.enumerable});return n};var b=n=>y(a({},"__esModule",{value:!0}),n);var I={};u(I,{getTokenDetails:()=>D});module.exports=b(I);var s=require("../../apiCalls/endpoints"),m=require("../../apiCalls/utils/axiosInstance"),c=require("../../store/selectors/networkSelectors"),k=require("../../store/store"),p=require("../../utils/validation/getIdentifierType");async function D({tokenId:n}){const t=(0,c.networkSelector)((0,k.getState)()),{isNft:i}=(0,p.getIdentifierType)(n),o=n,r=i?s.NFTS_ENDPOINT:s.TOKENS_ENDPOINT;if(!o)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{const{data:e}=await m.axiosInstance.get(`${t.apiAddress}/${r}/${o}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${o}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:o}}}0&&(module.exports={getTokenDetails});
2
2
  //# sourceMappingURL=getTokenDetails.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/apiCalls/tokens/getTokenDetails.ts"],
4
- "sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+C,8BAC/CC,EAA8B,wCAC9BC,EAAgC,2BAChCC,EAAyB,uBAEzBC,EAAkC,8CAElC,eAAsBN,EAAgB,CACpC,QAAAO,CACF,EAE6B,CAC3B,MAAMC,KAAU,sBAAgB,YAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,KAAI,qBAAkBF,CAAO,EAErCG,EAAkBH,EAClBI,EAAgBF,EAAQ,gBAAgB,kBAE9C,GAAI,CAACC,EACH,MAAO,CACL,cAAe,OAAOF,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,KAAM,CAAE,KAAMI,CAAc,EAAI,MAAM,gBAAc,IAClD,GAAGJ,EAAQ,UAAU,IAAIG,CAAa,IAAID,CAAe,EAC3D,EAEMG,EAAgBD,EAClBA,GAAe,SACf,OAAOJ,EAAQ,QAAQ,EACrBM,EAAaF,EAAgBA,GAAe,KAAO,GACnDG,EAAcH,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeC,EACf,WAAAC,EACA,KAAMF,GAAe,KACrB,YAAAG,EACA,WAAYH,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASI,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBN,CAAe,KAAKM,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOR,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYE,CACd,CACF,CACF",
6
- "names": ["getTokenDetails_exports", "__export", "getTokenDetails", "__toCommonJS", "import_endpoints", "import_axiosInstance", "import_selectors", "import_store", "import_getIdentifierType", "tokenId", "network", "isNft", "tokenIdentifier", "tokenEndpoint", "selectedToken", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
4
+ "sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+C,8BAC/CC,EAA8B,wCAC9BC,EAAgC,4CAChCC,EAAyB,uBAEzBC,EAAkC,8CAElC,eAAsBN,EAAgB,CACpC,QAAAO,CACF,EAE6B,CAC3B,MAAMC,KAAU,sBAAgB,YAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,KAAI,qBAAkBF,CAAO,EAErCG,EAAkBH,EAClBI,EAAgBF,EAAQ,gBAAgB,kBAE9C,GAAI,CAACC,EACH,MAAO,CACL,cAAe,OAAOF,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,KAAM,CAAE,KAAMI,CAAc,EAAI,MAAM,gBAAc,IAClD,GAAGJ,EAAQ,UAAU,IAAIG,CAAa,IAAID,CAAe,EAC3D,EAEMG,EAAgBD,EAClBA,GAAe,SACf,OAAOJ,EAAQ,QAAQ,EACrBM,EAAaF,EAAgBA,GAAe,KAAO,GACnDG,EAAcH,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeC,EACf,WAAAC,EACA,KAAMF,GAAe,KACrB,YAAAG,EACA,WAAYH,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASI,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBN,CAAe,KAAKM,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOR,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYE,CACd,CACF,CACF",
6
+ "names": ["getTokenDetails_exports", "__export", "getTokenDetails", "__toCommonJS", "import_endpoints", "import_axiosInstance", "import_networkSelectors", "import_store", "import_getIdentifierType", "tokenId", "network", "isNft", "tokenIdentifier", "tokenEndpoint", "selectedToken", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as m}from"../../__chunks__/chunk-N56SMVGU.mjs";import{a as c}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as a}from"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import{b as s}from"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{o as r,u as i}from"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";async function b({tokenId:o}){let t=s(a()),{isNft:k}=c(o),n=o,p=k?r:i;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await m.get(`${t.apiAddress}/${p}/${n}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${n}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:n}}}export{b as getTokenDetails};
1
+ import{a as c}from"../../__chunks__/chunk-N56SMVGU.mjs";import{b as m}from"../../__chunks__/chunk-7VHTZYM2.mjs";import{a as r}from"../../__chunks__/chunk-3FXHIV6O.mjs";import{s as i}from"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import{o as s,u as a}from"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";async function b({tokenId:o}){let t=m(i()),{isNft:k}=r(o),n=o,p=k?s:a;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await c.get(`${t.apiAddress}/${p}/${n}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${n}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:n}}}export{b as getTokenDetails};
2
2
  //# sourceMappingURL=getTokenDetails.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/apiCalls/tokens/getTokenDetails.ts"],
4
- "sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
5
- "mappings": "2sDAOA,eAAsBA,EAAgB,CACpC,QAAAC,CACF,EAE6B,CAC3B,IAAMC,EAAUC,EAAgBC,EAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,EAAIC,EAAkBL,CAAO,EAErCM,EAAkBN,EAClBO,EAAgBH,EAAQI,EAAgBC,EAE9C,GAAI,CAACH,EACH,MAAO,CACL,cAAe,OAAOL,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,GAAM,CAAE,KAAMS,CAAc,EAAI,MAAMC,EAAc,IAClD,GAAGV,EAAQ,UAAU,IAAIM,CAAa,IAAID,CAAe,EAC3D,EAEMM,EAAgBF,EAClBA,GAAe,SACf,OAAOT,EAAQ,QAAQ,EACrBY,EAAaH,EAAgBA,GAAe,KAAO,GACnDI,EAAcJ,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeE,EACf,WAAAC,EACA,KAAMH,GAAe,KACrB,YAAAI,EACA,WAAYJ,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASK,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBT,CAAe,KAAKS,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOd,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYK,CACd,CACF,CACF",
4
+ "sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
5
+ "mappings": "++CAOA,eAAsBA,EAAgB,CACpC,QAAAC,CACF,EAE6B,CAC3B,IAAMC,EAAUC,EAAgBC,EAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,EAAIC,EAAkBL,CAAO,EAErCM,EAAkBN,EAClBO,EAAgBH,EAAQI,EAAgBC,EAE9C,GAAI,CAACH,EACH,MAAO,CACL,cAAe,OAAOL,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,GAAM,CAAE,KAAMS,CAAc,EAAI,MAAMC,EAAc,IAClD,GAAGV,EAAQ,UAAU,IAAIM,CAAa,IAAID,CAAe,EAC3D,EAEMM,EAAgBF,EAClBA,GAAe,SACf,OAAOT,EAAQ,QAAQ,EACrBY,EAAaH,EAAgBA,GAAe,KAAO,GACnDI,EAAcJ,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeE,EACf,WAAAC,EACA,KAAMH,GAAe,KACrB,YAAAI,EACA,WAAYJ,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASK,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBT,CAAe,KAAKS,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOd,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYK,CACd,CACF,CACF",
6
6
  "names": ["getTokenDetails", "tokenId", "network", "networkSelector", "getState", "isNft", "getIdentifierType", "tokenIdentifier", "tokenEndpoint", "NFTS_ENDPOINT", "TOKENS_ENDPOINT", "selectedToken", "axiosInstance", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-QO62QJ5H.mjs";import"../../__chunks__/chunk-XNSSZDSU.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-7MBSWJUD.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-AGJVEK6I.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-IVHD32VC.mjs";import"../../__chunks__/chunk-TVXZBSUY.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-URTM5OGN.mjs";export{a as getServerTransactionsByHashes};
1
+ import{a}from"../../__chunks__/chunk-CAOL6XLD.mjs";import"../../__chunks__/chunk-7VHTZYM2.mjs";import"../../__chunks__/chunk-2QIUCSYX.mjs";import"../../__chunks__/chunk-FK6DWWZF.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-RIPIZH54.mjs";import"../../__chunks__/chunk-APCGI2A5.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-M7BM6QPB.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-ONT6BGYB.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-F2W755EK.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-2JKCBTYK.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-PCPUKFTJ.mjs";export{a as getServerTransactionsByHashes};
2
2
  //# sourceMappingURL=getServerTransactionsByHashes.mjs.map