@multiversx/sdk-dapp 5.3.2 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1062) hide show
  1. package/out/__chunks__/chunk-2GXPSWQ4.mjs +2 -0
  2. package/out/__chunks__/{chunk-4VUMAG4J.mjs → chunk-2JFN726G.mjs} +1 -1
  3. package/out/__chunks__/{chunk-4VUMAG4J.mjs.map → chunk-2JFN726G.mjs.map} +1 -1
  4. package/out/__chunks__/chunk-2UVDW2RQ.mjs +2 -0
  5. package/out/__chunks__/{chunk-K5K2FVFB.mjs.map → chunk-2UVDW2RQ.mjs.map} +1 -1
  6. package/out/__chunks__/{chunk-E77ZH5JT.mjs → chunk-32MEBSR7.mjs} +2 -2
  7. package/out/__chunks__/{chunk-YYH2GKPL.mjs → chunk-3GRRAVW4.mjs} +2 -2
  8. package/out/__chunks__/{chunk-YYH2GKPL.mjs.map → chunk-3GRRAVW4.mjs.map} +1 -1
  9. package/out/__chunks__/chunk-4D2LHSRB.mjs +2 -0
  10. package/out/__chunks__/chunk-4D2LHSRB.mjs.map +7 -0
  11. package/out/__chunks__/{chunk-KIMRQMXB.mjs → chunk-4EQCI4IY.mjs} +2 -2
  12. package/out/__chunks__/{chunk-KIMRQMXB.mjs.map → chunk-4EQCI4IY.mjs.map} +1 -1
  13. package/out/__chunks__/chunk-4KXXF3PV.mjs +2 -0
  14. package/out/__chunks__/{chunk-6CLCXSHA.mjs → chunk-5OAY4PWR.mjs} +2 -2
  15. package/out/__chunks__/chunk-5OAY4PWR.mjs.map +7 -0
  16. package/out/__chunks__/{chunk-G5N56FHJ.mjs → chunk-5OMQOYP7.mjs} +2 -2
  17. package/out/__chunks__/chunk-5P3UEE7C.mjs +1 -0
  18. package/out/__chunks__/chunk-5R7MHTVH.mjs +2 -0
  19. package/out/__chunks__/chunk-5R7MHTVH.mjs.map +7 -0
  20. package/out/__chunks__/{chunk-7WJMUTGI.mjs → chunk-66SV7PYL.mjs} +2 -2
  21. package/out/__chunks__/chunk-6KZ72DNU.mjs +2 -0
  22. package/out/__chunks__/chunk-6O5Y7U4C.mjs +2 -0
  23. package/out/__chunks__/chunk-6PMMPBFA.mjs +2 -0
  24. package/out/__chunks__/chunk-6PMMPBFA.mjs.map +7 -0
  25. package/out/__chunks__/{chunk-YGMILCHH.mjs → chunk-6R6TFHBS.mjs} +2 -2
  26. package/out/__chunks__/chunk-6R6TFHBS.mjs.map +7 -0
  27. package/out/__chunks__/chunk-766V4L43.mjs +2 -0
  28. package/out/__chunks__/chunk-766V4L43.mjs.map +7 -0
  29. package/out/__chunks__/chunk-7LMYILJF.mjs +2 -0
  30. package/out/__chunks__/{chunk-4GCIE2BM.mjs.map → chunk-7LMYILJF.mjs.map} +1 -1
  31. package/out/__chunks__/{chunk-PW34EFS7.mjs → chunk-7QPD5RSY.mjs} +2 -2
  32. package/out/__chunks__/{chunk-SAN5F2PW.mjs → chunk-7ZHH6AD4.mjs} +2 -2
  33. package/out/__chunks__/{chunk-XV3H7VOE.mjs → chunk-A4AC45BS.mjs} +2 -2
  34. package/out/__chunks__/{chunk-ZRSYQ3MT.mjs → chunk-AOLW46E4.mjs} +2 -2
  35. package/out/__chunks__/chunk-APCGI2A5.mjs +2 -0
  36. package/out/__chunks__/chunk-B353O452.mjs +2 -0
  37. package/out/__chunks__/chunk-BFD5ZJOK.mjs +1 -0
  38. package/out/__chunks__/{chunk-DFSBS3PX.mjs → chunk-BHWSBAMZ.mjs} +2 -2
  39. package/out/__chunks__/chunk-BODQ3QWR.mjs +2 -0
  40. package/out/__chunks__/chunk-BODQ3QWR.mjs.map +7 -0
  41. package/out/__chunks__/{chunk-XDBKPKTG.mjs → chunk-BSA3IGL6.mjs} +2 -2
  42. package/out/__chunks__/chunk-CL5IGYV5.mjs +2 -0
  43. package/out/__chunks__/chunk-CL5IGYV5.mjs.map +7 -0
  44. package/out/__chunks__/chunk-CQNJKGUF.mjs +2 -0
  45. package/out/__chunks__/chunk-CQNJKGUF.mjs.map +7 -0
  46. package/out/__chunks__/chunk-D5L63X7Y.mjs +2 -0
  47. package/out/__chunks__/{chunk-URTM5OGN.mjs.map → chunk-D5L63X7Y.mjs.map} +1 -1
  48. package/out/__chunks__/{chunk-CDWODCD7.mjs → chunk-DCLI63KS.mjs} +1 -1
  49. package/out/__chunks__/chunk-DCLI63KS.mjs.map +7 -0
  50. package/out/__chunks__/{chunk-PKLBZG2R.mjs → chunk-DNYE6AJI.mjs} +2 -2
  51. package/out/__chunks__/{chunk-LKOWOTL2.mjs → chunk-ENJAFJGK.mjs} +2 -2
  52. package/out/__chunks__/{chunk-ZKBKYLAP.mjs → chunk-ERDTZ52C.mjs} +2 -2
  53. package/out/__chunks__/{chunk-K4JJZCL3.mjs → chunk-ERZNNJ4M.mjs} +2 -2
  54. package/out/__chunks__/{chunk-DLCBEPEX.mjs → chunk-FE54XZXM.mjs} +2 -2
  55. package/out/__chunks__/{chunk-DLCBEPEX.mjs.map → chunk-FE54XZXM.mjs.map} +2 -2
  56. package/out/__chunks__/{chunk-7MBSWJUD.mjs → chunk-FK6DWWZF.mjs} +2 -2
  57. package/out/__chunks__/chunk-FOFGZVG5.mjs +2 -0
  58. package/out/__chunks__/chunk-FOFGZVG5.mjs.map +7 -0
  59. package/out/__chunks__/chunk-G2GZG32F.mjs +2 -0
  60. package/out/__chunks__/{chunk-FRUJEORM.mjs.map → chunk-G2GZG32F.mjs.map} +1 -1
  61. package/out/__chunks__/{chunk-3XTYIGW5.mjs → chunk-GBDHEWNQ.mjs} +2 -2
  62. package/out/__chunks__/chunk-GC5JRZOA.mjs +2 -0
  63. package/out/__chunks__/chunk-GC5JRZOA.mjs.map +7 -0
  64. package/out/__chunks__/chunk-GVAJPM5C.mjs +2 -0
  65. package/out/__chunks__/chunk-GVAJPM5C.mjs.map +7 -0
  66. package/out/__chunks__/{chunk-WS2MTQIC.mjs → chunk-GYYGYOIE.mjs} +2 -2
  67. package/out/__chunks__/{chunk-LG6Q3PRI.mjs → chunk-HDCJEKHM.mjs} +2 -2
  68. package/out/__chunks__/{chunk-M7B26JXO.mjs → chunk-HFY3MGS6.mjs} +2 -2
  69. package/out/__chunks__/{chunk-O65OBG5D.mjs → chunk-HP2XUCRI.mjs} +2 -2
  70. package/out/__chunks__/{chunk-PMATTOPD.mjs → chunk-HSF3JATH.mjs} +2 -2
  71. package/out/__chunks__/{chunk-5DILKRFV.mjs → chunk-HTT67LH3.mjs} +2 -2
  72. package/out/__chunks__/chunk-HUZZMMJX.mjs +2 -0
  73. package/out/__chunks__/chunk-HUZZMMJX.mjs.map +7 -0
  74. package/out/__chunks__/{chunk-RV6SJMD7.mjs → chunk-HZ4ZWMRW.mjs} +2 -2
  75. package/out/__chunks__/chunk-I36DD2FW.mjs +2 -0
  76. package/out/__chunks__/{chunk-NTPPBM7T.mjs → chunk-I3ILB737.mjs} +2 -2
  77. package/out/__chunks__/{chunk-TQ7T6ULY.mjs → chunk-IHAZNPKL.mjs} +2 -2
  78. package/out/__chunks__/{chunk-JTV664SG.mjs → chunk-IHSJITVR.mjs} +2 -2
  79. package/out/__chunks__/{chunk-MLDUGECH.mjs → chunk-IOQULDE4.mjs} +2 -2
  80. package/out/__chunks__/chunk-IOQULDE4.mjs.map +7 -0
  81. package/out/__chunks__/{chunk-TFARIEZF.mjs → chunk-J7BQ2H5Q.mjs} +2 -2
  82. package/out/__chunks__/chunk-J7BQ2H5Q.mjs.map +7 -0
  83. package/out/__chunks__/chunk-JA27GJYB.mjs +2 -0
  84. package/out/__chunks__/chunk-JA27GJYB.mjs.map +7 -0
  85. package/out/__chunks__/chunk-JBF3CPLK.mjs +2 -0
  86. package/out/__chunks__/chunk-JBF3CPLK.mjs.map +7 -0
  87. package/out/__chunks__/chunk-JI27YEKS.mjs +2 -0
  88. package/out/__chunks__/{chunk-2KGBHCEN.mjs → chunk-JILAZBMF.mjs} +2 -2
  89. package/out/__chunks__/chunk-JILAZBMF.mjs.map +7 -0
  90. package/out/__chunks__/{chunk-3PAZABVI.mjs → chunk-JQ3KV55D.mjs} +2 -2
  91. package/out/__chunks__/chunk-JXPL2SLD.mjs +2 -0
  92. package/out/__chunks__/chunk-K2FBVE6U.mjs +2 -0
  93. package/out/__chunks__/chunk-K7PXA7CN.mjs +2 -0
  94. package/out/__chunks__/chunk-K7PXA7CN.mjs.map +7 -0
  95. package/out/__chunks__/{chunk-N4KX33RW.mjs → chunk-KR2GUJDQ.mjs} +2 -2
  96. package/out/__chunks__/{chunk-GUAXMODN.mjs → chunk-KYQ5IP6W.mjs} +2 -2
  97. package/out/__chunks__/chunk-LFMHK4UE.mjs +2 -0
  98. package/out/__chunks__/{chunk-HFX5WAAI.mjs.map → chunk-LFMHK4UE.mjs.map} +1 -1
  99. package/out/__chunks__/{chunk-HUXPA4C2.mjs → chunk-LIDJNFTE.mjs} +2 -2
  100. package/out/__chunks__/chunk-LKC3E6AW.mjs +2 -0
  101. package/out/__chunks__/{chunk-NVBWPLR7.mjs → chunk-LL2IIBPG.mjs} +2 -2
  102. package/out/__chunks__/{chunk-LYSI4URP.mjs → chunk-LOPC75K6.mjs} +2 -2
  103. package/out/__chunks__/{chunk-O6ALDFLM.mjs → chunk-LWW4KDFK.mjs} +2 -2
  104. package/out/__chunks__/{chunk-W5MTQBQF.mjs → chunk-M3F2J3PW.mjs} +2 -2
  105. package/out/__chunks__/chunk-M3F2J3PW.mjs.map +7 -0
  106. package/out/__chunks__/chunk-M5EQGPV5.mjs +2 -0
  107. package/out/__chunks__/chunk-M5EQGPV5.mjs.map +7 -0
  108. package/out/__chunks__/{chunk-NAYDJEWI.mjs → chunk-NMK74PUW.mjs} +2 -2
  109. package/out/__chunks__/chunk-NMK74PUW.mjs.map +7 -0
  110. package/out/__chunks__/chunk-NPWS3TZS.mjs +2 -0
  111. package/out/__chunks__/chunk-NPWS3TZS.mjs.map +7 -0
  112. package/out/__chunks__/{chunk-H5NVCCUR.mjs → chunk-NWRCQLFI.mjs} +2 -2
  113. package/out/__chunks__/chunk-NYZ726DG.mjs +2 -0
  114. package/out/__chunks__/{chunk-5E32AO3E.mjs → chunk-O3F75VWG.mjs} +2 -2
  115. package/out/__chunks__/chunk-O3F75VWG.mjs.map +7 -0
  116. package/out/__chunks__/{chunk-OAPLU7UX.mjs → chunk-OBIQ63DJ.mjs} +2 -2
  117. package/out/__chunks__/chunk-OCLD2VI4.mjs +2 -0
  118. package/out/__chunks__/chunk-OCLD2VI4.mjs.map +7 -0
  119. package/out/__chunks__/chunk-ONT6BGYB.mjs +2 -0
  120. package/out/__chunks__/{chunk-CYCS3K6Q.mjs.map → chunk-ONT6BGYB.mjs.map} +2 -2
  121. package/out/__chunks__/{chunk-MS7BFY27.mjs → chunk-OTEIKKOW.mjs} +2 -2
  122. package/out/__chunks__/chunk-OTEIKKOW.mjs.map +7 -0
  123. package/out/__chunks__/{chunk-FNHO66WN.mjs → chunk-PDI722XH.mjs} +2 -2
  124. package/out/__chunks__/{chunk-TR2KNDCH.mjs → chunk-PFR5VSL2.mjs} +2 -2
  125. package/out/__chunks__/chunk-PFR5VSL2.mjs.map +7 -0
  126. package/out/__chunks__/{chunk-4SS6EY66.mjs → chunk-PN7JDWSZ.mjs} +2 -2
  127. package/out/__chunks__/chunk-PQ2OJ3JD.mjs +2 -0
  128. package/out/__chunks__/chunk-PQ2OJ3JD.mjs.map +7 -0
  129. package/out/__chunks__/chunk-PWAP64SN.mjs +2 -0
  130. package/out/__chunks__/chunk-PWAP64SN.mjs.map +7 -0
  131. package/out/__chunks__/{chunk-LNXZQGLV.mjs → chunk-Q7YFEWWK.mjs} +2 -2
  132. package/out/__chunks__/{chunk-LNXZQGLV.mjs.map → chunk-Q7YFEWWK.mjs.map} +1 -1
  133. package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-QFXS7HGL.mjs} +2 -2
  134. package/out/__chunks__/chunk-QHGCAYUB.mjs +2 -0
  135. package/out/__chunks__/{chunk-3CG4C7T4.mjs.map → chunk-QHGCAYUB.mjs.map} +1 -1
  136. package/out/__chunks__/{chunk-VGGJESXR.mjs → chunk-QJTWOZ3K.mjs} +2 -2
  137. package/out/__chunks__/chunk-QJTWOZ3K.mjs.map +7 -0
  138. package/out/__chunks__/chunk-QNYO7NI5.mjs +2 -0
  139. package/out/__chunks__/{chunk-LHEH7L4L.mjs.map → chunk-QNYO7NI5.mjs.map} +3 -3
  140. package/out/__chunks__/{chunk-UCFMVEOZ.mjs → chunk-QX32V6TT.mjs} +2 -2
  141. package/out/__chunks__/chunk-QX32V6TT.mjs.map +7 -0
  142. package/out/__chunks__/chunk-R4BNJI2F.mjs +2 -0
  143. package/out/__chunks__/{chunk-H73D4VUZ.mjs.map → chunk-R4BNJI2F.mjs.map} +1 -1
  144. package/out/__chunks__/{chunk-IVHD32VC.mjs → chunk-RIPIZH54.mjs} +2 -2
  145. package/out/__chunks__/{chunk-FPKFAJNW.mjs → chunk-RXRVBUAX.mjs} +2 -2
  146. package/out/__chunks__/{chunk-4MCQ27VQ.mjs → chunk-S4TJTINB.mjs} +2 -2
  147. package/out/__chunks__/chunk-S4TJTINB.mjs.map +7 -0
  148. package/out/__chunks__/{chunk-AZA2GNTR.mjs → chunk-SFGR74WM.mjs} +2 -2
  149. package/out/__chunks__/{chunk-SALLGAGD.mjs → chunk-SFXZJSEY.mjs} +2 -2
  150. package/out/__chunks__/{chunk-NAYC2B72.mjs → chunk-SMCI4JNY.mjs} +2 -2
  151. package/out/__chunks__/chunk-SMEKGCKH.mjs +2 -0
  152. package/out/__chunks__/{chunk-XXSANEEO.mjs → chunk-SOGQ76CF.mjs} +2 -2
  153. package/out/__chunks__/chunk-SQ7C3XLA.mjs +2 -0
  154. package/out/__chunks__/chunk-SQ7C3XLA.mjs.map +7 -0
  155. package/out/__chunks__/{chunk-6F4OKEUQ.mjs → chunk-SYHILLXA.mjs} +2 -2
  156. package/out/__chunks__/{chunk-OSG4UY2Z.mjs → chunk-SZNAMXXH.mjs} +2 -2
  157. package/out/__chunks__/{chunk-KDMYDO7R.mjs → chunk-TD26OL6Y.mjs} +2 -2
  158. package/out/__chunks__/chunk-TD26OL6Y.mjs.map +7 -0
  159. package/out/__chunks__/{chunk-TMRKN7VL.mjs → chunk-TJKB7YME.mjs} +2 -2
  160. package/out/__chunks__/{chunk-ATLICLWT.mjs → chunk-TPXNYEOT.mjs} +2 -2
  161. package/out/__chunks__/{chunk-N55JEIM6.mjs → chunk-TWYGNEQS.mjs} +1 -1
  162. package/out/__chunks__/chunk-TWYGNEQS.mjs.map +7 -0
  163. package/out/__chunks__/{chunk-ZNPHUPAP.mjs → chunk-UBP7VBFB.mjs} +2 -2
  164. package/out/__chunks__/chunk-UBQUZNLX.mjs +2 -0
  165. package/out/__chunks__/chunk-UBQUZNLX.mjs.map +7 -0
  166. package/out/__chunks__/{chunk-CXAX5TAG.mjs → chunk-UCWTYWB3.mjs} +2 -2
  167. package/out/__chunks__/chunk-UMJE36YK.mjs +2 -0
  168. package/out/__chunks__/chunk-UXP5UK2L.mjs +2 -0
  169. package/out/__chunks__/chunk-V5ZSFCKJ.mjs +2 -0
  170. package/out/__chunks__/{chunk-6JM4DPOH.mjs.map → chunk-V5ZSFCKJ.mjs.map} +3 -3
  171. package/out/__chunks__/chunk-VBNLRSKL.mjs +2 -0
  172. package/out/__chunks__/chunk-VBNLRSKL.mjs.map +7 -0
  173. package/out/__chunks__/chunk-VBWYZ6ZU.mjs +2 -0
  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-5AGKFSA6.mjs → chunk-VLASN3TA.mjs} +2 -2
  178. package/out/__chunks__/chunk-VT6N4MFC.mjs +2 -0
  179. package/out/__chunks__/chunk-VT6N4MFC.mjs.map +7 -0
  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-W6XNEY4N.mjs +2 -0
  183. package/out/__chunks__/{chunk-OIRXFS5Q.mjs → chunk-WDFIVLDW.mjs} +2 -2
  184. package/out/__chunks__/{chunk-5W7PFHTT.mjs → chunk-WFMBEYKX.mjs} +2 -2
  185. package/out/__chunks__/{chunk-UPABDY55.mjs → chunk-WGFZEQNT.mjs} +2 -2
  186. package/out/__chunks__/{chunk-UPABDY55.mjs.map → chunk-WGFZEQNT.mjs.map} +1 -1
  187. package/out/__chunks__/{chunk-N5VJJRWV.mjs → chunk-X4P6NIGX.mjs} +2 -2
  188. package/out/__chunks__/{chunk-4VA2SULD.mjs → chunk-XA6ZDGIQ.mjs} +1 -1
  189. package/out/__chunks__/chunk-XA6ZDGIQ.mjs.map +7 -0
  190. package/out/__chunks__/chunk-XAMG7OLZ.mjs +2 -0
  191. package/out/__chunks__/{chunk-7PE652LB.mjs → chunk-XBIX2QET.mjs} +2 -2
  192. package/out/__chunks__/{chunk-6EKK7AJE.mjs → chunk-XJY2BTDN.mjs} +2 -2
  193. package/out/__chunks__/{chunk-7JDTQFLQ.mjs → chunk-XLMQWFKS.mjs} +2 -2
  194. package/out/__chunks__/chunk-XLMQWFKS.mjs.map +7 -0
  195. package/out/__chunks__/{chunk-5KYXNO4J.mjs → chunk-XPASD5P4.mjs} +2 -2
  196. package/out/__chunks__/chunk-XXQ7FANC.mjs +2 -0
  197. package/out/__chunks__/chunk-YEY7YGZD.mjs +2 -0
  198. package/out/__chunks__/chunk-YEY7YGZD.mjs.map +7 -0
  199. package/out/__chunks__/{chunk-JZ22ZC2D.mjs → chunk-YKHYAKVW.mjs} +2 -2
  200. package/out/__chunks__/{chunk-UT4BWFQH.mjs → chunk-YPH67JEE.mjs} +2 -2
  201. package/out/__chunks__/chunk-YPH67JEE.mjs.map +7 -0
  202. package/out/__chunks__/{chunk-HBPQEY3L.mjs → chunk-YYZKVLX7.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-IYM4ZX72.mjs → chunk-ZMC2BF4F.mjs} +2 -2
  206. package/out/__chunks__/chunk-ZOYJTXNI.mjs +2 -0
  207. package/out/__chunks__/chunk-ZOYJTXNI.mjs.map +7 -0
  208. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  209. package/out/apiCalls/account/getAccountFromApi.cjs.map +3 -3
  210. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  211. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  212. package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
  213. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  214. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  215. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  216. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  217. package/out/apiCalls/economics/getEconomics.cjs.map +3 -3
  218. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  219. package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
  220. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  221. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  222. package/out/apiCalls/tokens/getTokenDetails.cjs.map +3 -3
  223. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  224. package/out/apiCalls/tokens/getTokenDetails.mjs.map +2 -2
  225. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  226. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  227. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +3 -3
  228. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  229. package/out/apiCalls/transactions/getTransactionByHash.mjs.map +2 -2
  230. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  231. package/out/constants/browser.constants.mjs +1 -1
  232. package/out/constants/browser.constants.mjs.map +4 -4
  233. package/out/constants/mvx.constants.cjs +1 -1
  234. package/out/constants/mvx.constants.cjs.map +3 -3
  235. package/out/constants/mvx.constants.d.ts +1 -0
  236. package/out/constants/mvx.constants.mjs +1 -1
  237. package/out/constants/storage.constants.cjs.map +1 -1
  238. package/out/constants/storage.constants.d.ts +1 -1
  239. package/out/constants/storage.constants.mjs +1 -1
  240. package/out/constants/window.constants.cjs +1 -1
  241. package/out/constants/window.constants.cjs.map +1 -1
  242. package/out/constants/window.constants.mjs +1 -1
  243. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  244. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +3 -3
  245. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  246. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  247. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  248. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +3 -3
  249. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  250. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  251. package/out/lib/sdkDappUi.mjs +1 -1
  252. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  253. package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
  254. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  255. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  256. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  257. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  258. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  259. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  260. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  261. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
  262. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  263. package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
  264. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  265. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
  266. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  267. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +1 -1
  268. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
  269. package/out/managers/ToastManager/index.mjs +1 -1
  270. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  271. package/out/managers/TransactionManager/TransactionManager.cjs.map +3 -3
  272. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  273. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  274. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +3 -3
  275. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  276. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  277. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +3 -3
  278. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  279. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  280. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +3 -3
  281. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +1 -1
  282. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  283. package/out/managers/TransactionManager/index.mjs +1 -1
  284. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  285. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
  286. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  287. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  288. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  289. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  290. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  291. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
  292. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  293. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  294. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  295. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  296. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  297. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  298. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  299. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +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 +8 -12
  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/apiCalls/utils/getCleanApiAddress.cjs +0 -2
  843. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +0 -7
  844. package/out/apiCalls/utils/getCleanApiAddress.d.ts +0 -1
  845. package/out/apiCalls/utils/getCleanApiAddress.mjs +0 -2
  846. package/out/apiCalls/utils/getCleanApiAddress.mjs.map +0 -7
  847. package/out/constants/index.cjs +0 -2
  848. package/out/constants/index.cjs.map +0 -7
  849. package/out/constants/index.d.ts +0 -10
  850. package/out/constants/index.mjs +0 -2
  851. package/out/constants/index.mjs.map +0 -7
  852. package/out/constants/webWalletProvider.constants.cjs +0 -2
  853. package/out/constants/webWalletProvider.constants.cjs.map +0 -7
  854. package/out/constants/webWalletProvider.constants.d.ts +0 -1
  855. package/out/constants/webWalletProvider.constants.mjs +0 -2
  856. package/out/constants/webWalletProvider.constants.mjs.map +0 -7
  857. package/out/controllers/index.cjs +0 -2
  858. package/out/controllers/index.cjs.map +0 -7
  859. package/out/controllers/index.d.ts +0 -1
  860. package/out/controllers/index.mjs +0 -2
  861. package/out/controllers/index.mjs.map +0 -7
  862. package/out/index.cjs +0 -2
  863. package/out/index.cjs.map +0 -7
  864. package/out/index.d.ts +0 -5
  865. package/out/index.mjs +0 -2
  866. package/out/index.mjs.map +0 -7
  867. package/out/managers/index.cjs +0 -2
  868. package/out/managers/index.cjs.map +0 -7
  869. package/out/managers/index.d.ts +0 -2
  870. package/out/managers/index.mjs +0 -2
  871. package/out/managers/index.mjs.map +0 -7
  872. package/out/managers/internal/index.cjs +0 -2
  873. package/out/managers/internal/index.cjs.map +0 -7
  874. package/out/managers/internal/index.d.ts +0 -3
  875. package/out/managers/internal/index.mjs +0 -2
  876. package/out/managers/internal/index.mjs.map +0 -7
  877. package/out/providers/index.cjs +0 -2
  878. package/out/providers/index.cjs.map +0 -7
  879. package/out/providers/index.d.ts +0 -2
  880. package/out/providers/index.mjs +0 -2
  881. package/out/providers/index.mjs.map +0 -7
  882. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +0 -2
  883. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +0 -7
  884. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +0 -5
  885. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +0 -2
  886. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs.map +0 -7
  887. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +0 -2
  888. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +0 -7
  889. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.d.ts +0 -8
  890. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +0 -2
  891. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs.map +0 -7
  892. package/out/providers/strategies/index.cjs +0 -2
  893. package/out/providers/strategies/index.cjs.map +0 -7
  894. package/out/providers/strategies/index.d.ts +0 -5
  895. package/out/providers/strategies/index.mjs +0 -2
  896. package/out/providers/strategies/index.mjs.map +0 -7
  897. package/out/services/index.cjs +0 -2
  898. package/out/services/index.cjs.map +0 -7
  899. package/out/services/index.d.ts +0 -1
  900. package/out/services/index.mjs +0 -2
  901. package/out/services/index.mjs.map +0 -7
  902. package/out/services/nativeAuth/methods/index.cjs +0 -2
  903. package/out/services/nativeAuth/methods/index.cjs.map +0 -7
  904. package/out/services/nativeAuth/methods/index.d.ts +0 -2
  905. package/out/services/nativeAuth/methods/index.mjs +0 -2
  906. package/out/services/nativeAuth/methods/index.mjs.map +0 -7
  907. package/out/store/actions/index.cjs +0 -2
  908. package/out/store/actions/index.cjs.map +0 -7
  909. package/out/store/actions/index.d.ts +0 -7
  910. package/out/store/actions/index.mjs +0 -2
  911. package/out/store/actions/index.mjs.map +0 -7
  912. package/out/store/selectors/index.cjs +0 -2
  913. package/out/store/selectors/index.cjs.map +0 -7
  914. package/out/store/selectors/index.d.ts +0 -6
  915. package/out/store/selectors/index.mjs +0 -2
  916. package/out/store/selectors/index.mjs.map +0 -7
  917. package/out/store/slices/index.cjs +0 -2
  918. package/out/store/slices/index.cjs.map +0 -7
  919. package/out/store/slices/index.d.ts +0 -7
  920. package/out/store/slices/index.mjs +0 -2
  921. package/out/store/slices/index.mjs.map +0 -7
  922. package/out/types/index.cjs +0 -2
  923. package/out/types/index.cjs.map +0 -7
  924. package/out/types/index.d.ts +0 -7
  925. package/out/types/index.mjs +0 -2
  926. package/out/types/index.mjs.map +0 -7
  927. package/out/utils/account/index.cjs +0 -2
  928. package/out/utils/account/index.cjs.map +0 -7
  929. package/out/utils/account/index.d.ts +0 -4
  930. package/out/utils/account/index.mjs +0 -2
  931. package/out/utils/account/index.mjs.map +0 -7
  932. package/out/utils/decoders/index.cjs +0 -2
  933. package/out/utils/decoders/index.cjs.map +0 -7
  934. package/out/utils/decoders/index.d.ts +0 -5
  935. package/out/utils/decoders/index.mjs +0 -2
  936. package/out/utils/decoders/index.mjs.map +0 -7
  937. package/out/utils/index.cjs +0 -2
  938. package/out/utils/index.cjs.map +0 -7
  939. package/out/utils/index.d.ts +0 -9
  940. package/out/utils/index.mjs +0 -2
  941. package/out/utils/index.mjs.map +0 -7
  942. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +0 -2
  943. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +0 -7
  944. package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +0 -6
  945. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +0 -2
  946. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +0 -7
  947. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +0 -2
  948. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +0 -7
  949. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.d.ts +0 -6
  950. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +0 -2
  951. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs.map +0 -7
  952. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +0 -2
  953. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +0 -7
  954. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.d.ts +0 -2
  955. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs +0 -2
  956. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs.map +0 -7
  957. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +0 -2
  958. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +0 -7
  959. package/out/utils/transactions/getInterpretedTransaction/helpers/index.d.ts +0 -13
  960. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +0 -2
  961. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs.map +0 -7
  962. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +0 -2
  963. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +0 -7
  964. package/out/utils/transactions/getTransactionsHistory/helpers/index.d.ts +0 -8
  965. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +0 -2
  966. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs.map +0 -7
  967. package/out/utils/transactions/index.cjs +0 -2
  968. package/out/utils/transactions/index.cjs.map +0 -7
  969. package/out/utils/transactions/index.d.ts +0 -4
  970. package/out/utils/transactions/index.mjs +0 -2
  971. package/out/utils/transactions/index.mjs.map +0 -7
  972. package/out/utils/validation/index.cjs +0 -2
  973. package/out/utils/validation/index.cjs.map +0 -7
  974. package/out/utils/validation/index.d.ts +0 -5
  975. package/out/utils/validation/index.mjs +0 -2
  976. package/out/utils/validation/index.mjs.map +0 -7
  977. package/out/utils/window/index.cjs +0 -2
  978. package/out/utils/window/index.cjs.map +0 -7
  979. package/out/utils/window/index.d.ts +0 -6
  980. package/out/utils/window/index.mjs +0 -2
  981. package/out/utils/window/index.mjs.map +0 -7
  982. /package/out/__chunks__/{chunk-CZ2S4XSL.mjs.map → chunk-2GXPSWQ4.mjs.map} +0 -0
  983. /package/out/__chunks__/{chunk-E77ZH5JT.mjs.map → chunk-32MEBSR7.mjs.map} +0 -0
  984. /package/out/__chunks__/{chunk-XSUHHPZ2.mjs.map → chunk-4KXXF3PV.mjs.map} +0 -0
  985. /package/out/__chunks__/{chunk-G5N56FHJ.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
  986. /package/out/__chunks__/{chunk-2BSPSW6X.mjs.map → chunk-5P3UEE7C.mjs.map} +0 -0
  987. /package/out/__chunks__/{chunk-7WJMUTGI.mjs.map → chunk-66SV7PYL.mjs.map} +0 -0
  988. /package/out/__chunks__/{chunk-2RTOYKHB.mjs.map → chunk-6KZ72DNU.mjs.map} +0 -0
  989. /package/out/__chunks__/{chunk-HKDRMMI5.mjs.map → chunk-6O5Y7U4C.mjs.map} +0 -0
  990. /package/out/__chunks__/{chunk-PW34EFS7.mjs.map → chunk-7QPD5RSY.mjs.map} +0 -0
  991. /package/out/__chunks__/{chunk-SAN5F2PW.mjs.map → chunk-7ZHH6AD4.mjs.map} +0 -0
  992. /package/out/__chunks__/{chunk-XV3H7VOE.mjs.map → chunk-A4AC45BS.mjs.map} +0 -0
  993. /package/out/__chunks__/{chunk-ZRSYQ3MT.mjs.map → chunk-AOLW46E4.mjs.map} +0 -0
  994. /package/out/__chunks__/{chunk-TVXZBSUY.mjs.map → chunk-APCGI2A5.mjs.map} +0 -0
  995. /package/out/__chunks__/{chunk-55U3WK3C.mjs.map → chunk-B353O452.mjs.map} +0 -0
  996. /package/out/__chunks__/{chunk-442O3UMZ.mjs.map → chunk-BFD5ZJOK.mjs.map} +0 -0
  997. /package/out/__chunks__/{chunk-DFSBS3PX.mjs.map → chunk-BHWSBAMZ.mjs.map} +0 -0
  998. /package/out/__chunks__/{chunk-XDBKPKTG.mjs.map → chunk-BSA3IGL6.mjs.map} +0 -0
  999. /package/out/__chunks__/{chunk-PKLBZG2R.mjs.map → chunk-DNYE6AJI.mjs.map} +0 -0
  1000. /package/out/__chunks__/{chunk-LKOWOTL2.mjs.map → chunk-ENJAFJGK.mjs.map} +0 -0
  1001. /package/out/__chunks__/{chunk-ZKBKYLAP.mjs.map → chunk-ERDTZ52C.mjs.map} +0 -0
  1002. /package/out/__chunks__/{chunk-K4JJZCL3.mjs.map → chunk-ERZNNJ4M.mjs.map} +0 -0
  1003. /package/out/__chunks__/{chunk-7MBSWJUD.mjs.map → chunk-FK6DWWZF.mjs.map} +0 -0
  1004. /package/out/__chunks__/{chunk-3XTYIGW5.mjs.map → chunk-GBDHEWNQ.mjs.map} +0 -0
  1005. /package/out/__chunks__/{chunk-WS2MTQIC.mjs.map → chunk-GYYGYOIE.mjs.map} +0 -0
  1006. /package/out/__chunks__/{chunk-LG6Q3PRI.mjs.map → chunk-HDCJEKHM.mjs.map} +0 -0
  1007. /package/out/__chunks__/{chunk-M7B26JXO.mjs.map → chunk-HFY3MGS6.mjs.map} +0 -0
  1008. /package/out/__chunks__/{chunk-O65OBG5D.mjs.map → chunk-HP2XUCRI.mjs.map} +0 -0
  1009. /package/out/__chunks__/{chunk-PMATTOPD.mjs.map → chunk-HSF3JATH.mjs.map} +0 -0
  1010. /package/out/__chunks__/{chunk-5DILKRFV.mjs.map → chunk-HTT67LH3.mjs.map} +0 -0
  1011. /package/out/__chunks__/{chunk-RV6SJMD7.mjs.map → chunk-HZ4ZWMRW.mjs.map} +0 -0
  1012. /package/out/__chunks__/{chunk-KLI6N26E.mjs.map → chunk-I36DD2FW.mjs.map} +0 -0
  1013. /package/out/__chunks__/{chunk-NTPPBM7T.mjs.map → chunk-I3ILB737.mjs.map} +0 -0
  1014. /package/out/__chunks__/{chunk-TQ7T6ULY.mjs.map → chunk-IHAZNPKL.mjs.map} +0 -0
  1015. /package/out/__chunks__/{chunk-JTV664SG.mjs.map → chunk-IHSJITVR.mjs.map} +0 -0
  1016. /package/out/__chunks__/{chunk-3S3EXLLM.mjs.map → chunk-JI27YEKS.mjs.map} +0 -0
  1017. /package/out/__chunks__/{chunk-3PAZABVI.mjs.map → chunk-JQ3KV55D.mjs.map} +0 -0
  1018. /package/out/__chunks__/{chunk-HYH55J3D.mjs.map → chunk-JXPL2SLD.mjs.map} +0 -0
  1019. /package/out/__chunks__/{chunk-ODHXJQOF.mjs.map → chunk-K2FBVE6U.mjs.map} +0 -0
  1020. /package/out/__chunks__/{chunk-N4KX33RW.mjs.map → chunk-KR2GUJDQ.mjs.map} +0 -0
  1021. /package/out/__chunks__/{chunk-GUAXMODN.mjs.map → chunk-KYQ5IP6W.mjs.map} +0 -0
  1022. /package/out/__chunks__/{chunk-HUXPA4C2.mjs.map → chunk-LIDJNFTE.mjs.map} +0 -0
  1023. /package/out/__chunks__/{chunk-AGJVEK6I.mjs.map → chunk-LKC3E6AW.mjs.map} +0 -0
  1024. /package/out/__chunks__/{chunk-NVBWPLR7.mjs.map → chunk-LL2IIBPG.mjs.map} +0 -0
  1025. /package/out/__chunks__/{chunk-LYSI4URP.mjs.map → chunk-LOPC75K6.mjs.map} +0 -0
  1026. /package/out/__chunks__/{chunk-O6ALDFLM.mjs.map → chunk-LWW4KDFK.mjs.map} +0 -0
  1027. /package/out/__chunks__/{chunk-H5NVCCUR.mjs.map → chunk-NWRCQLFI.mjs.map} +0 -0
  1028. /package/out/__chunks__/{chunk-XLLBREX7.mjs.map → chunk-NYZ726DG.mjs.map} +0 -0
  1029. /package/out/__chunks__/{chunk-OAPLU7UX.mjs.map → chunk-OBIQ63DJ.mjs.map} +0 -0
  1030. /package/out/__chunks__/{chunk-FNHO66WN.mjs.map → chunk-PDI722XH.mjs.map} +0 -0
  1031. /package/out/__chunks__/{chunk-4SS6EY66.mjs.map → chunk-PN7JDWSZ.mjs.map} +0 -0
  1032. /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-QFXS7HGL.mjs.map} +0 -0
  1033. /package/out/__chunks__/{chunk-IVHD32VC.mjs.map → chunk-RIPIZH54.mjs.map} +0 -0
  1034. /package/out/__chunks__/{chunk-FPKFAJNW.mjs.map → chunk-RXRVBUAX.mjs.map} +0 -0
  1035. /package/out/__chunks__/{chunk-AZA2GNTR.mjs.map → chunk-SFGR74WM.mjs.map} +0 -0
  1036. /package/out/__chunks__/{chunk-SALLGAGD.mjs.map → chunk-SFXZJSEY.mjs.map} +0 -0
  1037. /package/out/__chunks__/{chunk-NAYC2B72.mjs.map → chunk-SMCI4JNY.mjs.map} +0 -0
  1038. /package/out/__chunks__/{chunk-QO62QJ5H.mjs.map → chunk-SMEKGCKH.mjs.map} +0 -0
  1039. /package/out/__chunks__/{chunk-XXSANEEO.mjs.map → chunk-SOGQ76CF.mjs.map} +0 -0
  1040. /package/out/__chunks__/{chunk-6F4OKEUQ.mjs.map → chunk-SYHILLXA.mjs.map} +0 -0
  1041. /package/out/__chunks__/{chunk-OSG4UY2Z.mjs.map → chunk-SZNAMXXH.mjs.map} +0 -0
  1042. /package/out/__chunks__/{chunk-TMRKN7VL.mjs.map → chunk-TJKB7YME.mjs.map} +0 -0
  1043. /package/out/__chunks__/{chunk-ATLICLWT.mjs.map → chunk-TPXNYEOT.mjs.map} +0 -0
  1044. /package/out/__chunks__/{chunk-ZNPHUPAP.mjs.map → chunk-UBP7VBFB.mjs.map} +0 -0
  1045. /package/out/__chunks__/{chunk-CXAX5TAG.mjs.map → chunk-UCWTYWB3.mjs.map} +0 -0
  1046. /package/out/__chunks__/{chunk-VTEOS2MM.mjs.map → chunk-UMJE36YK.mjs.map} +0 -0
  1047. /package/out/__chunks__/{chunk-P2MHA65O.mjs.map → chunk-UXP5UK2L.mjs.map} +0 -0
  1048. /package/out/__chunks__/{chunk-J5TLE6SA.mjs.map → chunk-VBWYZ6ZU.mjs.map} +0 -0
  1049. /package/out/__chunks__/{chunk-HZGRS7HG.mjs.map → chunk-VGDWWBLN.mjs.map} +0 -0
  1050. /package/out/__chunks__/{chunk-5AGKFSA6.mjs.map → chunk-VLASN3TA.mjs.map} +0 -0
  1051. /package/out/__chunks__/{chunk-D3VRMBRS.mjs.map → chunk-W6XNEY4N.mjs.map} +0 -0
  1052. /package/out/__chunks__/{chunk-OIRXFS5Q.mjs.map → chunk-WDFIVLDW.mjs.map} +0 -0
  1053. /package/out/__chunks__/{chunk-5W7PFHTT.mjs.map → chunk-WFMBEYKX.mjs.map} +0 -0
  1054. /package/out/__chunks__/{chunk-N5VJJRWV.mjs.map → chunk-X4P6NIGX.mjs.map} +0 -0
  1055. /package/out/__chunks__/{chunk-6BOC75BF.mjs.map → chunk-XAMG7OLZ.mjs.map} +0 -0
  1056. /package/out/__chunks__/{chunk-7PE652LB.mjs.map → chunk-XBIX2QET.mjs.map} +0 -0
  1057. /package/out/__chunks__/{chunk-6EKK7AJE.mjs.map → chunk-XJY2BTDN.mjs.map} +0 -0
  1058. /package/out/__chunks__/{chunk-5KYXNO4J.mjs.map → chunk-XPASD5P4.mjs.map} +0 -0
  1059. /package/out/__chunks__/{chunk-AFLCI6IF.mjs.map → chunk-XXQ7FANC.mjs.map} +0 -0
  1060. /package/out/__chunks__/{chunk-JZ22ZC2D.mjs.map → chunk-YKHYAKVW.mjs.map} +0 -0
  1061. /package/out/__chunks__/{chunk-HBPQEY3L.mjs.map → chunk-YYZKVLX7.mjs.map} +0 -0
  1062. /package/out/__chunks__/{chunk-IYM4ZX72.mjs.map → chunk-ZMC2BF4F.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-H73D4VUZ.mjs";import{c as e,g as s}from"./chunk-NTEMINYA.mjs";async function m({message:r,provider:a,options:n}){let g=o(),i=new s({address:new e(g),data:r.data});return await a.signMessage(i,n)}export{m as a};
2
- //# sourceMappingURL=chunk-K4JJZCL3.mjs.map
1
+ import{a as o}from"./chunk-R4BNJI2F.mjs";import{c as e,g as s}from"./chunk-NTEMINYA.mjs";async function m({message:r,provider:a,options:n}){let g=o(),i=new s({address:new e(g),data:r.data});return await a.signMessage(i,n)}export{m as a};
2
+ //# sourceMappingURL=chunk-ERZNNJ4M.mjs.map
@@ -1,2 +1,2 @@
1
- var o={nativeAuthConfig:{origin:"https://localhost:3000",apiAddress:"https://devnet-api.multiversx.com",expirySeconds:86400,tokenExpirationToastWarningSeconds:300},walletConnectConfig:{walletConnectV2ProjectId:"9b1a9564f91cb659ffe21b73d5c4e2d8",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectV2RelayAddress:"wss://relay.walletconnect.com"},websocketStatus:"pending"};export{o as a};
2
- //# sourceMappingURL=chunk-DLCBEPEX.mjs.map
1
+ var n={nativeAuthConfig:{origin:"https://localhost:3000",apiAddress:"https://devnet-api.multiversx.com",expirySeconds:86400,tokenExpirationToastWarningSeconds:300},walletConnectConfig:{walletConnectV2ProjectId:"9b1a9564f91cb659ffe21b73d5c4e2d8",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectV2RelayAddress:"wss://relay.walletconnect.com"},settings:null,websocketStatus:"pending"};export{n as a};
2
+ //# sourceMappingURL=chunk-FE54XZXM.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/__mocks__/data/storeData/config.ts"],
4
- "sourcesContent": ["import { WebsocketConnectionStatusEnum } from 'constants/websocket.constants';\nimport { ConfigSliceType } from 'store/slices/config/config.types';\n\nexport const config: ConfigSliceType = {\n nativeAuthConfig: {\n origin: 'https://localhost:3000',\n apiAddress: 'https://devnet-api.multiversx.com',\n expirySeconds: 86400,\n tokenExpirationToastWarningSeconds: 300\n },\n walletConnectConfig: {\n walletConnectV2ProjectId: '9b1a9564f91cb659ffe21b73d5c4e2d8',\n walletConnectDeepLink:\n 'https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/',\n walletConnectV2RelayAddress: 'wss://relay.walletconnect.com'\n },\n websocketStatus: WebsocketConnectionStatusEnum.PENDING\n};\n"],
5
- "mappings": "AAGO,IAAMA,EAA0B,CACrC,iBAAkB,CAChB,OAAQ,yBACR,WAAY,oCACZ,cAAe,MACf,mCAAoC,GACtC,EACA,oBAAqB,CACnB,yBAA0B,mCAC1B,sBACE,4HACF,4BAA6B,+BAC/B,EACA,yBACF",
4
+ "sourcesContent": ["import { WebsocketConnectionStatusEnum } from 'constants/websocket.constants';\nimport { ConfigSliceType } from 'store/slices/config/config.types';\n\nexport const config: ConfigSliceType = {\n nativeAuthConfig: {\n origin: 'https://localhost:3000',\n apiAddress: 'https://devnet-api.multiversx.com',\n expirySeconds: 86400,\n tokenExpirationToastWarningSeconds: 300\n },\n walletConnectConfig: {\n walletConnectV2ProjectId: '9b1a9564f91cb659ffe21b73d5c4e2d8',\n walletConnectDeepLink:\n 'https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/',\n walletConnectV2RelayAddress: 'wss://relay.walletconnect.com'\n },\n settings: null,\n websocketStatus: WebsocketConnectionStatusEnum.PENDING\n};\n"],
5
+ "mappings": "AAGO,IAAMA,EAA0B,CACrC,iBAAkB,CAChB,OAAQ,yBACR,WAAY,oCACZ,cAAe,MACf,mCAAoC,GACtC,EACA,oBAAqB,CACnB,yBAA0B,mCAC1B,sBACE,4HACF,4BAA6B,+BAC/B,EACA,SAAU,KACV,yBACF",
6
6
  "names": ["config"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-TVXZBSUY.mjs";var s=({account:e})=>e,c=({account:e})=>e.address&&e.address in e.accounts?e.accounts[e.address]:n,S=e=>{let{accounts:o,...t}=s(e),r=c(e);return{...t,address:r.address,account:r}},p=({account:{address:e}})=>e,a=({account:{websocketEvent:e}})=>e,u=e=>c(e)?.nonce||0,l=e=>{let o=p(e),t=c(e);return!!(o&&t?.address===o)},y=({account:{ledgerAccount:e}})=>e;export{c as a,S as b,p as c,a as d,u as e,l as f,y as g};
2
- //# sourceMappingURL=chunk-7MBSWJUD.mjs.map
1
+ import{a as n}from"./chunk-APCGI2A5.mjs";var s=({account:e})=>e,c=({account:e})=>e.address&&e.address in e.accounts?e.accounts[e.address]:n,S=e=>{let{accounts:o,...t}=s(e),r=c(e);return{...t,address:r.address,account:r}},p=({account:{address:e}})=>e,a=({account:{websocketEvent:e}})=>e,u=e=>c(e)?.nonce||0,l=e=>{let o=p(e),t=c(e);return!!(o&&t?.address===o)},y=({account:{ledgerAccount:e}})=>e;export{c as a,S as b,p as c,a as d,u as e,l as f,y as g};
2
+ //# sourceMappingURL=chunk-FK6DWWZF.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as S}from"./chunk-QFXS7HGL.mjs";import{j as d,k as f,l as u,n as I}from"./chunk-E2GGD7D4.mjs";import{a as l}from"./chunk-XXV6KGR4.mjs";import{a as p}from"./chunk-QHGCAYUB.mjs";import{a as c}from"./chunk-NGM3AVCY.mjs";import{s as m}from"./chunk-4D2LHSRB.mjs";import{c as T}from"./chunk-FK6DWWZF.mjs";async function G(g){let s=g?.store??m(),n=[],a=[],y=l(s),F=c(s),C=T(s);for(let o of y.transactionToasts){let r=F[o.toastId];if(!r?.status)continue;let{status:t,transactions:P,transactionsDisplayInfo:h}=r,L=await p({transactions:P,store:s}),O=I(t),R=u(t),v=f(t),e=O||R||v,w=d(t),{startTime:x,endTime:D}=o;if(e&&a.some(b=>b.toastId===o.toastId))continue;let i=S({toastId:o.toastId,address:C,status:t,transactions:L,transactionsDisplayInfo:h,startTime:x,endTime:D});e&&a.push(i),w&&n.push(i)}return{pendingTransactionToasts:n,completedTransactionToasts:a}}export{G as a};
2
+ //# sourceMappingURL=chunk-FOFGZVG5.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/ToastManager/helpers/createToastsFromTransactions.ts"],
4
+ "sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionPending,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport { toastsSliceSelector } from 'store/selectors/toastsSelectors';\nimport { transactionsSliceSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { mapServerTransactionsToListItems } from 'utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems';\nimport { createTransactionToast } from './createTransactionToast';\nimport { ITransactionToast } from '../types/toast.types';\ninterface CreateToastsFromTransactionsReturnType {\n pendingTransactionToasts: ITransactionToast[];\n completedTransactionToasts: ITransactionToast[];\n}\n\ninterface CreateToastsFromTransactionsParamsType {\n store?: StoreType;\n}\n\nexport async function createToastsFromTransactions(\n props?: CreateToastsFromTransactionsParamsType\n): Promise<CreateToastsFromTransactionsReturnType> {\n const store = props?.store ?? getState();\n const pendingTransactionToasts: ITransactionToast[] = [];\n const completedTransactionToasts: ITransactionToast[] = [];\n const toastList = toastsSliceSelector(store);\n const transactionsSessions = transactionsSliceSelector(store);\n const address = addressSelector(store);\n\n for (const toast of toastList.transactionToasts) {\n const transactionSession = transactionsSessions[toast.toastId];\n if (!transactionSession?.status) {\n continue;\n }\n\n const { status, transactions, transactionsDisplayInfo } =\n transactionSession;\n\n const interprettedTransactions = await mapServerTransactionsToListItems({\n transactions,\n store\n });\n\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isTimedOut || isFailed || isSuccessful;\n const isPending = getIsTransactionPending(status);\n const { startTime, endTime } = toast;\n\n if (\n isCompleted &&\n completedTransactionToasts.some((t) => t.toastId === toast.toastId)\n ) {\n continue;\n }\n\n const transactionToast = createTransactionToast({\n toastId: toast.toastId,\n address,\n status,\n transactions: interprettedTransactions,\n transactionsDisplayInfo,\n startTime,\n endTime\n });\n\n if (isCompleted) {\n completedTransactionToasts.push(transactionToast);\n }\n\n if (isPending) {\n pendingTransactionToasts.push(transactionToast);\n }\n }\n\n return {\n pendingTransactionToasts,\n completedTransactionToasts\n };\n}\n"],
5
+ "mappings": "oTAuBA,eAAsBA,EACpBC,EACiD,CACjD,IAAMC,EAAQD,GAAO,OAASE,EAAS,EACjCC,EAAgD,CAAC,EACjDC,EAAkD,CAAC,EACnDC,EAAYC,EAAoBL,CAAK,EACrCM,EAAuBC,EAA0BP,CAAK,EACtDQ,EAAUC,EAAgBT,CAAK,EAErC,QAAWU,KAASN,EAAU,kBAAmB,CAC/C,IAAMO,EAAqBL,EAAqBI,EAAM,OAAO,EAC7D,GAAI,CAACC,GAAoB,OACvB,SAGF,GAAM,CAAE,OAAAC,EAAQ,aAAAC,EAAc,wBAAAC,CAAwB,EACpDH,EAEII,EAA2B,MAAMC,EAAiC,CACtE,aAAAH,EACA,MAAAb,CACF,CAAC,EAEKiB,EAAaC,EAAyBN,CAAM,EAC5CO,EAAWC,EAAuBR,CAAM,EACxCS,EAAeC,EAA2BV,CAAM,EAChDW,EAAcN,GAAcE,GAAYE,EACxCG,EAAYC,EAAwBb,CAAM,EAC1C,CAAE,UAAAc,EAAW,QAAAC,CAAQ,EAAIjB,EAE/B,GACEa,GACApB,EAA2B,KAAMyB,GAAMA,EAAE,UAAYlB,EAAM,OAAO,EAElE,SAGF,IAAMmB,EAAmBC,EAAuB,CAC9C,QAASpB,EAAM,QACf,QAAAF,EACA,OAAAI,EACA,aAAcG,EACd,wBAAAD,EACA,UAAAY,EACA,QAAAC,CACF,CAAC,EAEGJ,GACFpB,EAA2B,KAAK0B,CAAgB,EAG9CL,GACFtB,EAAyB,KAAK2B,CAAgB,CAElD,CAEA,MAAO,CACL,yBAAA3B,EACA,2BAAAC,CACF,CACF",
6
+ "names": ["createToastsFromTransactions", "props", "store", "getState", "pendingTransactionToasts", "completedTransactionToasts", "toastList", "toastsSliceSelector", "transactionsSessions", "transactionsSliceSelector", "address", "addressSelector", "toast", "transactionSession", "status", "transactions", "transactionsDisplayInfo", "interprettedTransactions", "mapServerTransactionsToListItems", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "isPending", "getIsTransactionPending", "startTime", "endTime", "t", "transactionToast", "createTransactionToast"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{e}from"./chunk-M6MN4RXG.mjs";import{h as o}from"./chunk-7VHTZYM2.mjs";import{s as t}from"./chunk-4D2LHSRB.mjs";function m(){let r=o(t());return r?Math.max(1e3,r/2):9e4}export{m as a};
2
+ //# sourceMappingURL=chunk-G2GZG32F.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/methods/trackTransactions/helpers/getPollingInterval.ts"],
4
- "sourcesContent": ["import { TRANSACTIONS_STATUS_POLLING_INTERVAL_MS } from 'constants/transactions.constants';\nimport { roundDurationSelectorSelector } from 'store/selectors';\nimport { getState } from 'store/store';\n\nexport function getPollingInterval() {\n const roundDuration = roundDurationSelectorSelector(getState());\n\n if (!roundDuration) {\n return TRANSACTIONS_STATUS_POLLING_INTERVAL_MS;\n }\n\n // Polling interval should not be less than 1s\n return Math.max(1000, roundDuration / 2);\n}\n"],
4
+ "sourcesContent": ["import { TRANSACTIONS_STATUS_POLLING_INTERVAL_MS } from 'constants/transactions.constants';\nimport { roundDurationSelectorSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\n\nexport function getPollingInterval() {\n const roundDuration = roundDurationSelectorSelector(getState());\n\n if (!roundDuration) {\n return TRANSACTIONS_STATUS_POLLING_INTERVAL_MS;\n }\n\n // Polling interval should not be less than 1s\n return Math.max(1000, roundDuration / 2);\n}\n"],
5
5
  "mappings": "sHAIO,SAASA,GAAqB,CACnC,IAAMC,EAAgBC,EAA8BC,EAAS,CAAC,EAE9D,OAAKF,EAKE,KAAK,IAAI,IAAMA,EAAgB,CAAC,EAJ9B,GAKX",
6
6
  "names": ["getPollingInterval", "roundDuration", "roundDurationSelectorSelector", "getState"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-QBLEV36D.mjs";import{e as i}from"./chunk-LHEH7L4L.mjs";import{c as r}from"./chunk-MGFIOCA4.mjs";import a from"bignumber.js";var g=({shard:c,gasStationMetadata:e,transaction:s,initialGasPrice:o=1e9})=>{let n=e?e[Number(c)]?.fast:0,u=e?e[Number(c)]?.faster:0,m=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:0}}),P=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:n}}),b=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:u}}),p=[{label:"Standard",value:m}],f=new a(m).times(1.05).toNumber();p.push({label:"Fast",value:a.max(P,f).toNumber()});let l=new a(m).times(1.1).toNumber();return p.push({label:"Faster",value:a.max(b,l).toNumber()}),p};export{g as a};
2
- //# sourceMappingURL=chunk-3XTYIGW5.mjs.map
1
+ import{a as t}from"./chunk-QBLEV36D.mjs";import{e as i}from"./chunk-QNYO7NI5.mjs";import{c as r}from"./chunk-MGFIOCA4.mjs";import a from"bignumber.js";var g=({shard:c,gasStationMetadata:e,transaction:s,initialGasPrice:o=1e9})=>{let n=e?e[Number(c)]?.fast:0,u=e?e[Number(c)]?.faster:0,m=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:0}}),P=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:n}}),b=t({transaction:s,gasPriceData:{initialGasPrice:o,ppu:u}}),p=[{label:"Standard",value:m}],f=new a(m).times(1.05).toNumber();p.push({label:"Fast",value:a.max(P,f).toNumber()});let l=new a(m).times(1.1).toNumber();return p.push({label:"Faster",value:a.max(b,l).toNumber()}),p};export{g as a};
2
+ //# sourceMappingURL=chunk-GBDHEWNQ.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as n}from"./chunk-4TBVQD27.mjs";import{q as o}from"./chunk-4D2LHSRB.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-GC5JRZOA.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
+ }
@@ -0,0 +1,2 @@
1
+ import{a as i}from"./chunk-W6XNEY4N.mjs";import{a as e}from"./chunk-N56SMVGU.mjs";import{k as c}from"./chunk-PKDR5ERF.mjs";import{a as n}from"./chunk-2JKCBTYK.mjs";var a=({address:r,baseURL:o})=>{let t=i(o),s=`${t}/${n}/${r}?withGuardianInfo=true`;return e.get(s,{baseURL:t,timeout:c})},g=async({address:r,baseURL:o})=>{if(!r)return null;try{let{data:t}=await a({address:r,baseURL:o});return t}catch{console.error("error fetching configuration for ",r)}return null};export{a,g as b};
2
+ //# sourceMappingURL=chunk-GVAJPM5C.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/apiCalls/account/getAccountFromApi.ts"],
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": "oKAMO,IAAMA,EAAiB,CAAC,CAC7B,QAAAC,EACA,QAAAC,CACF,IAGM,CACJ,IAAMC,EAAaC,EAAmBF,CAAO,EACvCG,EAAM,GAAGF,CAAU,IAAIG,CAAiB,IAAIL,CAAO,yBAEzD,OAAOM,EAAc,IAAIF,EAAK,CAC5B,QAASF,EACT,QAASK,CACX,CAAC,CACH,EAEaC,EAAoB,MAAO,CACtC,QAAAR,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,EACH,OAAO,KAGT,GAAI,CACF,GAAM,CAAE,KAAAS,CAAK,EAAI,MAAMV,EAAe,CAAE,QAAAC,EAAS,QAAAC,CAAQ,CAAC,EAC1D,OAAOQ,CACT,MAAe,CACb,QAAQ,MAAM,oCAAqCT,CAAO,CAC5D,CAEA,OAAO,IACT",
6
+ "names": ["accountFetcher", "address", "baseURL", "apiAddress", "getCleanApiAddress", "url", "ACCOUNTS_ENDPOINT", "axiosInstance", "TIMEOUT", "getAccountFromApi", "data"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-KDMYDO7R.mjs";function e(t){let{allTransactions:n,parsedTransactionsByDataField:r}=a({transactions:t});return{parsedTransactionsByDataField:r,allTransactions:n}}export{e as a};
2
- //# sourceMappingURL=chunk-WS2MTQIC.mjs.map
1
+ import{a}from"./chunk-TD26OL6Y.mjs";function e(t){let{allTransactions:n,parsedTransactionsByDataField:r}=a({transactions:t});return{parsedTransactionsByDataField:r,allTransactions:n}}export{e as a};
2
+ //# sourceMappingURL=chunk-GYYGYOIE.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-D3VRMBRS.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
- //# sourceMappingURL=chunk-LG6Q3PRI.mjs.map
1
+ import{a as o}from"./chunk-W6XNEY4N.mjs";import{v as e}from"./chunk-2JKCBTYK.mjs";import n from"axios";async function p(r,s){let a=`${o(s)}/${e}/${r}`;try{let{data:t}=await n.get(a);return t?{[r]:{lastBlock:t.lastBlock,fast:t.fast,faster:t.faster}}:null}catch(t){return console.error("Error fetching gas station metadata from:",a,t),null}}export{p as a};
2
+ //# sourceMappingURL=chunk-HDCJEKHM.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-2CG6PNPJ.mjs";import{a as f}from"./chunk-L3EOHIBG.mjs";import{a as c}from"./chunk-FROSOADM.mjs";import{a as g}from"./chunk-VJBLHJYB.mjs";import{a as o}from"./chunk-RRK6GTWZ.mjs";import{a as p}from"./chunk-RWQNLK3I.mjs";import{a as n}from"./chunk-IPMSVHGJ.mjs";import{a as d}from"./chunk-TQ7T6ULY.mjs";import{a as m}from"./chunk-PSJI2G34.mjs";import{a as r,b as e}from"./chunk-4VUMAG4J.mjs";import{rest as s}from"msw";import{setupServer as k}from"msw/node";var t=$=>(R,u,i)=>u(i.status(200),i.json($)),A=[s.get(`${e.apiAddress}/dapp/config`,t(c)),s.get(`${e.apiAddress}/network/config`,t(a)),s.get(`https://${n.url}/socket.io/`,t(m)),s.get(`${e.apiAddress}/websocket/config`,t(n)),s.get(`${e.apiAddress}/economics`,t(f)),s.get(`${e.apiAddress}/accounts/${r}`,t({...o,address:r})),s.get(`${e.apiAddress}/accounts/${o.address}`,t(o)),s.get(`${e.apiAddress}/tokens/${d.identifier}`,t(d)),s.get(`${e.apiAddress}/accounts/${p.address}`,t(p)),s.get(`${e.apiAddress}/blocks`,t(g))],B=k(...A);export{s as a,t as b,B as c};
2
- //# sourceMappingURL=chunk-M7B26JXO.mjs.map
1
+ import{a as f}from"./chunk-L3EOHIBG.mjs";import{a as c}from"./chunk-FROSOADM.mjs";import{a as g}from"./chunk-VJBLHJYB.mjs";import{a as o}from"./chunk-RRK6GTWZ.mjs";import{a as n}from"./chunk-IPMSVHGJ.mjs";import{a as d}from"./chunk-IHAZNPKL.mjs";import{a as m}from"./chunk-PSJI2G34.mjs";import{a}from"./chunk-2CG6PNPJ.mjs";import{a as r,b as e}from"./chunk-2JFN726G.mjs";import{a as p}from"./chunk-RWQNLK3I.mjs";import{rest as s}from"msw";import{setupServer as k}from"msw/node";var t=$=>(R,u,i)=>u(i.status(200),i.json($)),A=[s.get(`${e.apiAddress}/dapp/config`,t(c)),s.get(`${e.apiAddress}/network/config`,t(a)),s.get(`https://${n.url}/socket.io/`,t(m)),s.get(`${e.apiAddress}/websocket/config`,t(n)),s.get(`${e.apiAddress}/economics`,t(f)),s.get(`${e.apiAddress}/accounts/${r}`,t({...o,address:r})),s.get(`${e.apiAddress}/accounts/${o.address}`,t(o)),s.get(`${e.apiAddress}/tokens/${d.identifier}`,t(d)),s.get(`${e.apiAddress}/accounts/${p.address}`,t(p)),s.get(`${e.apiAddress}/blocks`,t(g))],B=k(...A);export{s as a,t as b,B as c};
2
+ //# sourceMappingURL=chunk-HFY3MGS6.mjs.map
@@ -1,2 +1,2 @@
1
- import{q as o}from"./chunk-XNSSZDSU.mjs";import{current as p}from"immer";function d({transactions:t,transactionsDisplayInfo:n,status:r,sessionInformation:s}){let a=Date.now().toString();return o().setState(({transactions:e})=>{e[a]={transactions:t,status:r,transactionsDisplayInfo:n,interpretedTransactions:{},sessionInformation:s}},!1,{type:"createTransactionsSession",payload:{value:{transactions:t,status:r,transactionsDisplayInfo:n,sessionInformation:s}}}),a}function m({sessionId:t,status:n,errorMessage:r}){o().setState(({transactions:s})=>{if(!s[t])return;let a=p(s[t]).transactionsDisplayInfo??{},e=r||a?.errorMessage;s[t].status=n,s[t].errorMessage=e,s[t].transactionsDisplayInfo={...a,errorMessage:e}},!1,{type:"updateSessionStatus",payload:{value:{sessionId:t,status:n,errorMessage:r}}})}function g({sessionId:t,transaction:n}){o().setState(({transactions:r})=>{let s=r[t]?.transactions;s!=null&&(r[t].transactions=s.map(a=>a.hash===n.hash?{...a,...n??{}}:a))},!1,{type:"updateTransactionStatus",payload:{value:{sessionId:t,transaction:n}}})}var h=()=>{o().setState(({transactions:t,toasts:n})=>{let s=Object.keys(t).filter(e=>{let c=t[e];if(!c)return!1;let{status:i}=c;return!(i==="pending"||i==="signed"||i==="sent")});s.forEach(e=>{delete t[e]});let a=n.transactionToasts.filter(e=>!s.includes(e.toastId));n.transactionToasts=a},!1,{type:"clearCompletedTransactions",payload:{value:null}})};export{d as a,m as b,g as c,h as d};
2
- //# sourceMappingURL=chunk-O65OBG5D.mjs.map
1
+ import{q as o}from"./chunk-4D2LHSRB.mjs";import{current as p}from"immer";function d({transactions:t,transactionsDisplayInfo:n,status:r,sessionInformation:s}){let a=Date.now().toString();return o().setState(({transactions:e})=>{e[a]={transactions:t,status:r,transactionsDisplayInfo:n,interpretedTransactions:{},sessionInformation:s}},!1,{type:"createTransactionsSession",payload:{value:{transactions:t,status:r,transactionsDisplayInfo:n,sessionInformation:s}}}),a}function m({sessionId:t,status:n,errorMessage:r}){o().setState(({transactions:s})=>{if(!s[t])return;let a=p(s[t]).transactionsDisplayInfo??{},e=r||a?.errorMessage;s[t].status=n,s[t].errorMessage=e,s[t].transactionsDisplayInfo={...a,errorMessage:e}},!1,{type:"updateSessionStatus",payload:{value:{sessionId:t,status:n,errorMessage:r}}})}function g({sessionId:t,transaction:n}){o().setState(({transactions:r})=>{let s=r[t]?.transactions;s!=null&&(r[t].transactions=s.map(a=>a.hash===n.hash?{...a,...n??{}}:a))},!1,{type:"updateTransactionStatus",payload:{value:{sessionId:t,transaction:n}}})}var h=()=>{o().setState(({transactions:t,toasts:n})=>{let s=Object.keys(t).filter(e=>{let c=t[e];if(!c)return!1;let{status:i}=c;return!(i==="pending"||i==="signed"||i==="sent")});s.forEach(e=>{delete t[e]});let a=n.transactionToasts.filter(e=>!s.includes(e.toastId));n.transactionToasts=a},!1,{type:"clearCompletedTransactions",payload:{value:null}})};export{d as a,m as b,g as c,h as d};
2
+ //# sourceMappingURL=chunk-HP2XUCRI.mjs.map
@@ -1,2 +1,2 @@
1
- import{c as e}from"./chunk-FTJF3Q3P.mjs";import l from"lodash.isstring";var u=r=>{if(!r||!l(r))return null;let n=r.split(".");if(n.length!==4)return null;try{let[t,o,i,s]=n,c=JSON.parse(e(s)),a=e(t);return{ttl:Number(i),extraInfo:c,origin:a,blockHash:o}}catch(t){return console.error(`Error trying to decode ${r}:`,t),null}};export{u as a};
2
- //# sourceMappingURL=chunk-PMATTOPD.mjs.map
1
+ import{c as e}from"./chunk-PWAP64SN.mjs";import l from"lodash.isstring";var u=r=>{if(!r||!l(r))return null;let n=r.split(".");if(n.length!==4)return null;try{let[t,o,i,s]=n,c=JSON.parse(e(s)),a=e(t);return{ttl:Number(i),extraInfo:c,origin:a,blockHash:o}}catch(t){return console.error(`Error trying to decode ${r}:`,t),null}};export{u as a};
2
+ //# sourceMappingURL=chunk-HSF3JATH.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-DZ2BIDRW.mjs";import{a as s}from"./chunk-GUAXMODN.mjs";import{a}from"./chunk-4VA2SULD.mjs";var W=({parts:n,decodeMethod:i,decodedData:t,identifier:c})=>{let d=n.map((e,o)=>{if(n.length>=2&&(o===0&&e.length<64||o===1&&!n[0]))return/[^a-z0-9]/gi.test(e)?a({data:e,decodeMethod:i}):e;let r=l(e);return r?.length&&(t.validationWarnings=Array.from(new Set([...t.validationWarnings,...r]))),a({data:e,decodeMethod:i})});return i==="smart"?s({parts:n,decodedParts:d,identifier:c}):d};export{W as a};
2
- //# sourceMappingURL=chunk-5DILKRFV.mjs.map
1
+ import{a as l}from"./chunk-DZ2BIDRW.mjs";import{a as s}from"./chunk-KYQ5IP6W.mjs";import{a}from"./chunk-XA6ZDGIQ.mjs";var W=({parts:n,decodeMethod:i,decodedData:t,identifier:c})=>{let d=n.map((e,o)=>{if(n.length>=2&&(o===0&&e.length<64||o===1&&!n[0]))return/[^a-z0-9]/gi.test(e)?a({data:e,decodeMethod:i}):e;let r=l(e);return r?.length&&(t.validationWarnings=Array.from(new Set([...t.validationWarnings,...r]))),a({data:e,decodeMethod:i})});return i==="smart"?s({parts:n,decodedParts:d,identifier:c}):d};export{W as a};
2
+ //# sourceMappingURL=chunk-HTT67LH3.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as Z}from"./chunk-LL2IIBPG.mjs";import{a as Q}from"./chunk-6UZHM5LW.mjs";import{c as W}from"./chunk-SQ7C3XLA.mjs";import{a as rt}from"./chunk-I36DD2FW.mjs";import{a as tt}from"./chunk-XXQ7FANC.mjs";import{a as et}from"./chunk-ENJAFJGK.mjs";import{a as nt}from"./chunk-G2GZG32F.mjs";import{a as ot}from"./chunk-ABBDCZHP.mjs";import{a as gt}from"./chunk-4ODPAHHA.mjs";import{a as at}from"./chunk-A4AC45BS.mjs";import{a as st}from"./chunk-UXP5UK2L.mjs";import{a as mt}from"./chunk-MDVI45IV.mjs";import{a as ut}from"./chunk-ERZNNJ4M.mjs";import{a as O}from"./chunk-M5EQGPV5.mjs";import{a as ct}from"./chunk-SZNAMXXH.mjs";import{b as A}from"./chunk-LWW4KDFK.mjs";import{c as M}from"./chunk-NMK74PUW.mjs";import{a as d}from"./chunk-4KXXF3PV.mjs";import{a as J}from"./chunk-R4BNJI2F.mjs";import{a as w}from"./chunk-VBWYZ6ZU.mjs";import{a as P,f as X}from"./chunk-LOPC75K6.mjs";import{b as it}from"./chunk-UCWTYWB3.mjs";import{b as k}from"./chunk-HP2XUCRI.mjs";import{b as S}from"./chunk-V5ZSFCKJ.mjs";import{a as Y}from"./chunk-7LMYILJF.mjs";import{a as _}from"./chunk-YEY7YGZD.mjs";import{a as L}from"./chunk-BSA3IGL6.mjs";import{a as j}from"./chunk-NWRCQLFI.mjs";import{a as b}from"./chunk-UMJE36YK.mjs";import{a as y}from"./chunk-HORSXVIV.mjs";import{b as G}from"./chunk-NGM3AVCY.mjs";import{a as K,b as V,q as v,s as l}from"./chunk-4D2LHSRB.mjs";import{c as q,d as $,f as H}from"./chunk-FK6DWWZF.mjs";import{b as f}from"./chunk-VNLGNNIL.mjs";import{b as B}from"./chunk-UCRVRBTA.mjs";import{a as h}from"./chunk-LJX4MW7B.mjs";import{b as D,c as F,f as z}from"./chunk-NTEMINYA.mjs";import U from"bignumber.js";var Lt=async()=>{try{let e=J(),{network:o}=d();try{let t=await b({address:e,baseURL:o.apiAddress});if(t!=null){let n={...t,username:y(t.username),nonce:w(t)};return P(n),n}}catch(t){console.error("Failed getting account ",t)}}catch(e){console.error("Failed getting address ",e)}return null};async function I(){let e=T();if(e==null)throw"Provider not initialized";try{if(!e.init)throw"Current provider does not have init() function";return await e.init()?await Lt():void 0}catch(o){console.error("Failed initializing provider ",o)}}async function pt({sessionId:e,transactionBatch:o,isSequential:t}){try{if(o==null)return;let n=tt(),r=ot(o),i=await Z(r);for(let g of i)await et({serverTransaction:g,sessionId:e,isSequential:t});if(!i.every(g=>g.status!=="pending"))return;n&&await I();let{transactions:c}=l(),s=c?.[e];if(s.transactions.every(g=>g.status==="success"))return k({sessionId:e,status:"success"});if(s.transactions.some(g=>g.status==="fail"))return k({sessionId:e,status:"fail"});if(s.transactions.every(g=>g.status==="not executed"))return k({sessionId:e,status:"invalid"})}catch(n){console.error(n)}}async function lt(){let e=G(l()),o=Object.entries(e);o.length!==0&&await Promise.all(o.map(([t,{transactions:n}])=>pt({sessionId:t,transactionBatch:n})))}async function x(){let e=v(),o=nt(),t=null,n=$(e.getState())?.timestamp??null,r=async()=>{try{await lt()}catch(a){console.error("[trackTransactions] Error checking transaction status:",a)}},i=()=>{t||(t=setInterval(r,o))},p=()=>{t&&(clearInterval(t),t=null)},c=()=>{p();let a=e.subscribe(({account:{websocketEvent:m}})=>{m?.message&&m.timestamp!=null&&n!==m.timestamp&&(n=m.timestamp,r())});M.set("websocketEventReceived",a)};r();let s=()=>{p()},u=e.subscribe(({account:{address:a},config:{websocketStatus:m}},g)=>{if(g.config.websocketStatus!==m)switch(m){case"completed":c();break;case"pending":i();break;default:a?i():s();break}});return M.set("websocketStatusChanged",u),{stopTransactionsTracking:s}}async function N({address:e,provider:o,apiAddress:t}){let n=await b({address:e,baseURL:t});if(!n)throw new Error("Account not found");it({address:e,providerType:o.getType()});let r={...n,username:y(n.username),nonce:w(n)};P(r),await A(e),x(),n.shard!=null&&await rt({shard:Number(n.shard),apiAddress:t})}async function dt({provider:e,nativeAuthConfig:o,token:t}){let{network:{apiAddress:n}}=d(),r=_(o),i=t;i||(i=await r.initialize({noCache:!0}));let p=await e.login({token:i}),{address:c,signature:s,...u}=p;if(!c)return console.warn("Login cancelled."),null;if(!s)return console.error("Failed to sign login token"),null;let a=j(u?.accessToken),m=await at({loginData:p,nativeAuthConfig:o,loginToken:i}),g=a?u.accessToken:r.getToken({address:c,token:m,signature:s});V({loginToken:i,signature:s,nativeAuthToken:g});let C=await st({loginToken:i,extraInfoData:{multisig:u?.multisig,impersonate:u?.impersonate},address:c});return await N({address:C,provider:e,apiAddress:n}),{address:C,signature:s}}async function ft(e){let{network:{apiAddress:o}}=d();await e.login();let t=await e.getAddress();if(!t)throw new Error("Address not found");return await N({address:t,provider:e,apiAddress:o}),{address:t}}async function Tt(e,o){let t=S(l());if(t)return await dt({provider:e,nativeAuthConfig:t,token:o?.token});let{address:n}=await ft(e);return await A(n),x(),{address:n,signature:""}}async function ht({provider:e,transactions:o,options:t={}}){await I();let{isGuarded:n,activeGuardianAddress:r,nonce:i}=Y(),p=e.getType()===h.ledger,c=gt({latestNonce:i,transactions:o}),s=r&&n&&!t.skipGuardian?c?.map(a=>(a.version=D.withTxOptions().valueOf(),a.options=z.withOptions({guarded:!0,...p?{hashSign:!0}:{}}).valueOf(),a.guardian=F.newFromBech32(r),a)):c,u=await e.signTransactions(s)??[];return X(i+u.length),u}var E=class{constructor(o){this._isLoggingOut=!1;this.provider=o}init(){return this.provider.init()}async login(o){let t=await Tt(this.provider,o);return K(this.provider.getType()),vt(this),R.getInstance().init(),t}isInitialized(){return this.provider.isInitialized()}async logout(o={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let t=await ct({provider:this.provider,options:o});return this._isLoggingOut=!1,t}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(o,t){try{return await ht({provider:this.provider,transactions:o,options:t})}catch(n){let r=O(n);throw new Error(r)}}async signMessage(o,t){try{return await ut({provider:this.provider,message:o,options:t})}catch(n){let r=O(n,"warning");throw new Error(r)}}async verifyMessage(o){return await mt(o)}cancelLogin(){this.provider.cancelLogin?.()}};var yt=null;function vt(e){yt=e}function T(){return yt||new E(B)}var R=class e{constructor(){this.store=v();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let o=this.store.getState(),t=f(o),{isExpired:n}=L(t?.nativeAuthToken);n?T().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let o=this.store.getState(),t=f(o),n=H(o);return!!(t?.nativeAuthToken&&n)};this.addPlannedLogout=()=>{let o=T(),t=q(this.store.getState()),n=o.getType()===h.webview;if(!t||n)return;this.addLogoutWarning();let r=f(this.store.getState()),{secondsUntilExpires:i,expiresAt:p}=L(r?.nativeAuthToken),c=new U(String(i)),s=`${t}_${p}`,u=this.plannedLogoutKey===s;if(!(i&&c.isGreaterThan(0))||u)return;this.plannedLogoutKey=s,clearTimeout(this.plannedLogoutTimeoutRef??0);let m=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},m.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{o.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},m.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let o=S(this.store.getState()),t=f(this.store.getState()),{secondsUntilExpires:n}=L(t?.nativeAuthToken),r=new U(String(n)),i=r.times(1e3);if(!n||r.isLessThanOrEqualTo(0)||!o?.tokenExpirationToastWarningSeconds)return;let c=new U(o?.tokenExpirationToastWarningSeconds??0).times(1e3),s=r.times(1e3).minus(c),u=Q(i.toNumber()),a=s.isLessThanOrEqualTo(0)?0:s.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{W.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${u}!`}),this.warningLogoutTimeoutRef=null},a)}}static getInstance(){return e.instance||(e.instance=new e),e.instance}};export{R as a,pt as b,lt as c,x as d,N as e,dt as f,ft as g,Tt as h,ht as i,E as j,vt as k,T as l,I as m};
2
+ //# sourceMappingURL=chunk-HUZZMMJX.mjs.map
@@ -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
- import{a as e}from"./chunk-HUXPA4C2.mjs";import{a as r}from"./chunk-B2UIPHJ3.mjs";var o=()=>{try{return!r()||!e()?!1:window.self!==window.top}catch{return!0}};export{o as a};
2
- //# sourceMappingURL=chunk-RV6SJMD7.mjs.map
1
+ import{a as e}from"./chunk-LIDJNFTE.mjs";import{a as r}from"./chunk-B2UIPHJ3.mjs";var o=()=>{try{return!r()||!e()?!1:window.self!==window.top}catch{return!0}};export{o as a};
2
+ //# sourceMappingURL=chunk-HZ4ZWMRW.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as n}from"./chunk-HDCJEKHM.mjs";import{b as r}from"./chunk-7ZHH6AD4.mjs";import{b as i}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-4D2LHSRB.mjs";async function M({shard:t,apiAddress:s}){if(t!=null)try{let a=await n(t,s);if(!a?.[t]?.lastBlock)return;let e=i(o());(!e.gasStationMetadata||!e.gasStationMetadata[t]||e.gasStationMetadata[t].lastBlock!==a[t].lastBlock)&&r({...e,gasStationMetadata:{...e.gasStationMetadata,...a}})}catch(a){console.error("Error fetching gas station metadata:",a)}}export{M as a};
2
+ //# sourceMappingURL=chunk-I36DD2FW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-GUAXMODN.mjs";var n=({parts:r,decodeMethod:d,identifier:o,initialDecodedParts:e})=>d==="smart"?t({parts:r,decodedParts:e,identifier:o}):e;export{n as a};
2
- //# sourceMappingURL=chunk-NTPPBM7T.mjs.map
1
+ import{a as t}from"./chunk-KYQ5IP6W.mjs";var n=({parts:r,decodeMethod:d,identifier:o,initialDecodedParts:e})=>d==="smart"?t({parts:r,decodedParts:e,identifier:o}):e;export{n as a};
2
+ //# sourceMappingURL=chunk-I3ILB737.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-4VUMAG4J.mjs";var s={type:"FungibleESDT",identifier:"TEST-e3d1b7",name:"TEST",ticker:"TEST",owner:e,minted:"0",burnt:"0",initialMinted:"1000000000000000000000000000",decimals:18,isPaused:!1,assets:{website:"https://test.io",description:"Test token is a test token for testing the token details.",status:"active",pngUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.png",svgUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.svg",lockedAccounts:{[e]:"Locked Account #1"},extraTokens:["TEST-e3d1b7","TEST-e3d1b7"],ledgerSignature:"30450221009c58ae35af3a770221bd6e1fd8ad023d23e49e52cbca64f1a225c497935ee30402203fc97dae339a44872bc0415e684c35e0990720ba977ce6dabebfe72e6dc37591",social:{email:"hello@test.io",blog:"https://medium.com/@test",twitter:"https://twitter.com/test",telegram:"https://t.me/test",discord:"https://discord.gg/test"}},transactions:1754,transactionsLastUpdatedAt:1762511057,transfers:40882,transfersLastUpdatedAt:1762511183,accounts:416,accountsLastUpdatedAt:1762513938,canUpgrade:!0,canMint:!1,canBurn:!1,canChangeOwner:!0,canAddSpecialRoles:!0,canPause:!0,canFreeze:!0,canWipe:!0,price:3.114724747645395,marketCap:31147247476453953e-7,supply:"1000000000",circulatingSupply:"1000000000",mexPairType:"core",totalLiquidity:1963.9864633925347,totalVolume24h:0,isLowLiquidity:!0,lowLiquidityThresholdPercent:.5,tradesCount:8273,balance:"663088410050705591065",valueUsd:2065.3378806617707};export{s as a};
2
- //# sourceMappingURL=chunk-TQ7T6ULY.mjs.map
1
+ import{a as e}from"./chunk-2JFN726G.mjs";var s={type:"FungibleESDT",identifier:"TEST-e3d1b7",name:"TEST",ticker:"TEST",owner:e,minted:"0",burnt:"0",initialMinted:"1000000000000000000000000000",decimals:18,isPaused:!1,assets:{website:"https://test.io",description:"Test token is a test token for testing the token details.",status:"active",pngUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.png",svgUrl:"https://tools.multiversx.com/assets-cdn/devnet/tokens/TEST-e3d1b7/icon.svg",lockedAccounts:{[e]:"Locked Account #1"},extraTokens:["TEST-e3d1b7","TEST-e3d1b7"],ledgerSignature:"30450221009c58ae35af3a770221bd6e1fd8ad023d23e49e52cbca64f1a225c497935ee30402203fc97dae339a44872bc0415e684c35e0990720ba977ce6dabebfe72e6dc37591",social:{email:"hello@test.io",blog:"https://medium.com/@test",twitter:"https://twitter.com/test",telegram:"https://t.me/test",discord:"https://discord.gg/test"}},transactions:1754,transactionsLastUpdatedAt:1762511057,transfers:40882,transfersLastUpdatedAt:1762511183,accounts:416,accountsLastUpdatedAt:1762513938,canUpgrade:!0,canMint:!1,canBurn:!1,canChangeOwner:!0,canAddSpecialRoles:!0,canPause:!0,canFreeze:!0,canWipe:!0,price:3.114724747645395,marketCap:31147247476453953e-7,supply:"1000000000",circulatingSupply:"1000000000",mexPairType:"core",totalLiquidity:1963.9864633925347,totalVolume24h:0,isLowLiquidity:!0,lowLiquidityThresholdPercent:.5,tradesCount:8273,balance:"663088410050705591065",valueUsd:2065.3378806617707};export{s as a};
2
+ //# sourceMappingURL=chunk-IHAZNPKL.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-4VUMAG4J.mjs";var t={address:e,websocketEvent:{timestamp:1759393606037,message:"transactionCompleted"},websocketBatchEvent:null,accounts:{[e]:{address:e,balance:"18998263560000000000",nonce:18,shard:0,developerReward:"0",isGuarded:!1,txCount:0,scrCount:0,claimableRewards:"0"}},ledgerAccount:null,publicKey:"0e857bfcb560fa7c933a30e23509716a240967f70f9bfa1b3aab42457d04f260",walletConnectAccount:null};export{t as a};
2
- //# sourceMappingURL=chunk-JTV664SG.mjs.map
1
+ import{a as e}from"./chunk-2JFN726G.mjs";var t={address:e,websocketEvent:{timestamp:1759393606037,message:"transactionCompleted"},websocketBatchEvent:null,accounts:{[e]:{address:e,balance:"18998263560000000000",nonce:18,shard:0,developerReward:"0",isGuarded:!1,txCount:0,scrCount:0,claimableRewards:"0"}},ledgerAccount:null,publicKey:"0e857bfcb560fa7c933a30e23509716a240967f70f9bfa1b3aab42457d04f260",walletConnectAccount:null};export{t as a};
2
+ //# sourceMappingURL=chunk-IHSJITVR.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk-6CLCXSHA.mjs";import{a as u}from"./chunk-QJJEW7MB.mjs";import{a as i}from"./chunk-W5MTQBQF.mjs";import{a as T}from"./chunk-EKWN4V73.mjs";import{a as m}from"./chunk-U3UMCTU6.mjs";import{a as k}from"./chunk-YJCTRUJT.mjs";import{c as l}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-7UA7QAEF.mjs";var g=class{static async processTransactions({address:v,egldLabel:L,explorerAddress:a,transactions:h}){let f=h.map(e=>T({address:v,explorerAddress:a,transaction:e}));return await Promise.all(f.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),c=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:D,receiverLockedAccount:x}=await p({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=u({transaction:e}),y=r?.token.type==="MetaESDT"?void 0:r?.badgeText,d=m.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??l,digits:2}),S={badge:y??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?L:"",link:k({explorerAddress:a,to:n?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:n?.tokenLinkText??r?.tokenLinkText,name:n?.token.name??r?.token.name,showFormattedAmount:!!(t||n?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:n?.token.svgUrl??r?.token.svgUrl,ticker:n?.token.ticker??r?.token.ticker,titleText:n?.titleText??r?.titleText,valueDecimal:d.valueDecimal,valueInteger:d.valueInteger},w=i(e.receiverShard),A=i(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:s??"",description:`${s??e.receiver} (${e.receiver})`,isContract:o(e.receiver),isTokenLocked:!!x,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:c??"",description:`${c??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!D,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:S}}))}};export{g as a};
2
- //# sourceMappingURL=chunk-MLDUGECH.mjs.map
1
+ import{a as u}from"./chunk-U3UMCTU6.mjs";import{a as T}from"./chunk-5OAY4PWR.mjs";import{a as p}from"./chunk-JA27GJYB.mjs";import{a as i}from"./chunk-M3F2J3PW.mjs";import{a as k}from"./chunk-ZOYJTXNI.mjs";import{a as l}from"./chunk-YJCTRUJT.mjs";import{c as m}from"./chunk-PJWJZHIS.mjs";import{a as o}from"./chunk-Z6OAKBWP.mjs";var g=class{static async processTransactions({address:v,egldLabel:L,explorerAddress:a,transactions:f}){let h=f.map(e=>k({address:v,explorerAddress:a,transaction:e}));return await Promise.all(h.map(async e=>{let s=e.receiverAssets?.name.replace(/\p{Emoji}/gu,""),c=e.senderAssets?.name.replace(/\p{Emoji}/gu,""),{senderLockedAccount:D,receiverLockedAccount:x}=await T({receiver:e.receiver,sender:e.sender,tokenId:e.tokenIdentifier}),{egldValueData:t,tokenValueData:n,nftValueData:r}=p({transaction:e}),y=r?.token.type==="MetaESDT"?void 0:r?.badgeText,d=u.getData({input:t?.value??n?.value??r?.value??"",decimals:t?.decimals??n?.decimals??r?.decimals??m,digits:2}),S={badge:y??void 0,collection:n?.token.collection??r?.token.collection,egldLabel:t?L:"",link:l({explorerAddress:a,to:n?.tokenExplorerLink??r?.tokenExplorerLink??""}),linkText:n?.tokenLinkText??r?.tokenLinkText,name:n?.token.name??r?.token.name,showFormattedAmount:!!(t||n?.tokenFormattedAmount||r?.tokenFormattedAmount),svgUrl:n?.token.svgUrl??r?.token.svgUrl,ticker:n?.token.ticker??r?.token.ticker,titleText:n?.titleText??r?.titleText,valueDecimal:d.valueDecimal,valueInteger:d.valueInteger},w=i(e.receiverShard),A=i(e.senderShard);return{age:e.transactionDetails.age,direction:e.transactionDetails.direction,method:e.transactionDetails.method,iconInfo:e.transactionDetails.iconInfo,link:e.links.transactionLink??"",txHash:e.txHash,receiver:{address:e.receiver,name:s??"",description:`${s??e.receiver} (${e.receiver})`,isContract:o(e.receiver),isTokenLocked:!!x,link:e.links.receiverLink??"",shard:w,shardLink:e.links.receiverShardLink,showLink:e.transactionDetails.direction!=="In"},sender:{address:e.sender,name:c??"",description:`${c??e.sender} (${e.sender})`,isContract:o(e.sender),isTokenLocked:!!D,link:e.links.senderLink??"",shard:A,shardLink:e.links.senderShardLink,showLink:e.transactionDetails.direction!=="Out"},value:S}}))}};export{g as a};
2
+ //# sourceMappingURL=chunk-IOQULDE4.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/controllers/TransactionsTableController/TransactionsTableController.ts"],
4
+ "sourcesContent": ["import { DECIMALS } from 'lib/sdkDappUtils';\nimport {\n ServerTransactionType,\n TransactionDirectionEnum\n} from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\nimport { getExplorerLink } from 'utils/transactions/getExplorerLink';\nimport { getInterpretedTransaction } from 'utils/transactions/getInterpretedTransaction/getInterpretedTransaction';\nimport { getTransactionValue } from 'utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue';\nimport { getLockedAccountName } from 'utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName';\nimport { getShardText } from 'utils/transactions/getInterpretedTransaction/helpers/getShardText';\nimport { isContract } from 'utils/validation/isContract';\nimport {\n TransactionsRowType,\n TransactionValueType\n} from './transactionsTableController.types';\nimport { FormatAmountController } from '../FormatAmountController';\n\ninterface TransactionsTableProcessTransactionsParamsType {\n address: string;\n egldLabel: string;\n explorerAddress: string;\n transactions: ServerTransactionType[];\n}\n\nexport class TransactionsTableController {\n public static async processTransactions({\n address,\n egldLabel,\n explorerAddress,\n transactions\n }: TransactionsTableProcessTransactionsParamsType): Promise<\n TransactionsRowType[]\n > {\n const interpretedTransactions = transactions.map((transaction) =>\n getInterpretedTransaction({\n address,\n explorerAddress,\n transaction\n })\n );\n\n const transactionRows = await Promise.all(\n interpretedTransactions.map(async (transaction) => {\n const receiverName = transaction.receiverAssets?.name.replace(\n /\\p{Emoji}/gu,\n ''\n );\n\n const senderName = transaction.senderAssets?.name.replace(\n /\\p{Emoji}/gu,\n ''\n );\n\n const { senderLockedAccount, receiverLockedAccount } =\n await getLockedAccountName({\n receiver: transaction.receiver,\n sender: transaction.sender,\n tokenId: transaction.tokenIdentifier\n });\n\n const { egldValueData, tokenValueData, nftValueData } =\n getTransactionValue({\n transaction\n });\n\n const hideBadgeForMetaESDT =\n nftValueData?.token.type === NftEnumType.MetaESDT;\n\n const badge = hideBadgeForMetaESDT\n ? undefined\n : nftValueData?.badgeText;\n\n const formattedAmount = FormatAmountController.getData({\n input:\n egldValueData?.value ??\n tokenValueData?.value ??\n nftValueData?.value ??\n '',\n decimals:\n egldValueData?.decimals ??\n tokenValueData?.decimals ??\n nftValueData?.decimals ??\n DECIMALS,\n digits: 2\n });\n\n const transactionValue: TransactionValueType = {\n badge: badge ?? undefined,\n collection:\n tokenValueData?.token.collection ?? nftValueData?.token.collection,\n egldLabel: egldValueData ? egldLabel : '',\n link: getExplorerLink({\n explorerAddress,\n to:\n tokenValueData?.tokenExplorerLink ??\n nftValueData?.tokenExplorerLink ??\n ''\n }),\n linkText:\n tokenValueData?.tokenLinkText ?? nftValueData?.tokenLinkText,\n name: tokenValueData?.token.name ?? nftValueData?.token.name,\n showFormattedAmount: Boolean(\n egldValueData ||\n tokenValueData?.tokenFormattedAmount ||\n nftValueData?.tokenFormattedAmount\n ),\n svgUrl: tokenValueData?.token.svgUrl ?? nftValueData?.token.svgUrl,\n ticker: tokenValueData?.token.ticker ?? nftValueData?.token.ticker,\n titleText: tokenValueData?.titleText ?? nftValueData?.titleText,\n valueDecimal: formattedAmount.valueDecimal,\n valueInteger: formattedAmount.valueInteger\n };\n\n const receiverShard = getShardText(transaction.receiverShard);\n const senderShard = getShardText(transaction.senderShard);\n\n const transactionRow: TransactionsRowType = {\n age: transaction.transactionDetails.age,\n direction: transaction.transactionDetails.direction,\n method: transaction.transactionDetails.method,\n iconInfo: transaction.transactionDetails.iconInfo,\n link: transaction.links.transactionLink ?? '',\n txHash: transaction.txHash,\n receiver: {\n address: transaction.receiver,\n name: receiverName ?? '',\n description: `${receiverName ?? transaction.receiver} (${\n transaction.receiver\n })`,\n isContract: isContract(transaction.receiver),\n isTokenLocked: Boolean(receiverLockedAccount),\n link: transaction.links.receiverLink ?? '',\n shard: receiverShard,\n shardLink: transaction.links.receiverShardLink,\n showLink:\n transaction.transactionDetails.direction !==\n TransactionDirectionEnum.IN\n },\n sender: {\n address: transaction.sender,\n name: senderName ?? '',\n description: `${senderName ?? transaction.sender} (${\n transaction.sender\n })`,\n isContract: isContract(transaction.sender),\n isTokenLocked: Boolean(senderLockedAccount),\n link: transaction.links.senderLink ?? '',\n shard: senderShard,\n shardLink: transaction.links.senderShardLink,\n showLink:\n transaction.transactionDetails.direction !==\n TransactionDirectionEnum.OUT\n },\n value: transactionValue\n };\n\n return transactionRow;\n })\n );\n\n return transactionRows;\n }\n}\n"],
5
+ "mappings": "wUAyBO,IAAMA,EAAN,KAAkC,CACvC,aAAoB,oBAAoB,CACtC,QAAAC,EACA,UAAAC,EACA,gBAAAC,EACA,aAAAC,CACF,EAEE,CACA,IAAMC,EAA0BD,EAAa,IAAKE,GAChDC,EAA0B,CACxB,QAAAN,EACA,gBAAAE,EACA,YAAAG,CACF,CAAC,CACH,EAyHA,OAvHwB,MAAM,QAAQ,IACpCD,EAAwB,IAAI,MAAOC,GAAgB,CACjD,IAAME,EAAeF,EAAY,gBAAgB,KAAK,QACpD,cACA,EACF,EAEMG,EAAaH,EAAY,cAAc,KAAK,QAChD,cACA,EACF,EAEM,CAAE,oBAAAI,EAAqB,sBAAAC,CAAsB,EACjD,MAAMC,EAAqB,CACzB,SAAUN,EAAY,SACtB,OAAQA,EAAY,OACpB,QAASA,EAAY,eACvB,CAAC,EAEG,CAAE,cAAAO,EAAe,eAAAC,EAAgB,aAAAC,CAAa,EAClDC,EAAoB,CAClB,YAAAV,CACF,CAAC,EAKGW,EAFJF,GAAc,MAAM,kBAGlB,OACAA,GAAc,UAEZG,EAAkBC,EAAuB,QAAQ,CACrD,MACEN,GAAe,OACfC,GAAgB,OAChBC,GAAc,OACd,GACF,SACEF,GAAe,UACfC,GAAgB,UAChBC,GAAc,UACdK,EACF,OAAQ,CACV,CAAC,EAEKC,EAAyC,CAC7C,MAAOJ,GAAS,OAChB,WACEH,GAAgB,MAAM,YAAcC,GAAc,MAAM,WAC1D,UAAWF,EAAgBX,EAAY,GACvC,KAAMoB,EAAgB,CACpB,gBAAAnB,EACA,GACEW,GAAgB,mBAChBC,GAAc,mBACd,EACJ,CAAC,EACD,SACED,GAAgB,eAAiBC,GAAc,cACjD,KAAMD,GAAgB,MAAM,MAAQC,GAAc,MAAM,KACxD,oBAAqB,GACnBF,GACEC,GAAgB,sBAChBC,GAAc,sBAElB,OAAQD,GAAgB,MAAM,QAAUC,GAAc,MAAM,OAC5D,OAAQD,GAAgB,MAAM,QAAUC,GAAc,MAAM,OAC5D,UAAWD,GAAgB,WAAaC,GAAc,UACtD,aAAcG,EAAgB,aAC9B,aAAcA,EAAgB,YAChC,EAEMK,EAAgBC,EAAalB,EAAY,aAAa,EACtDmB,EAAcD,EAAalB,EAAY,WAAW,EA0CxD,MAxC4C,CAC1C,IAAKA,EAAY,mBAAmB,IACpC,UAAWA,EAAY,mBAAmB,UAC1C,OAAQA,EAAY,mBAAmB,OACvC,SAAUA,EAAY,mBAAmB,SACzC,KAAMA,EAAY,MAAM,iBAAmB,GAC3C,OAAQA,EAAY,OACpB,SAAU,CACR,QAASA,EAAY,SACrB,KAAME,GAAgB,GACtB,YAAa,GAAGA,GAAgBF,EAAY,QAAQ,KAClDA,EAAY,QACd,IACA,WAAYoB,EAAWpB,EAAY,QAAQ,EAC3C,cAAe,EAAQK,EACvB,KAAML,EAAY,MAAM,cAAgB,GACxC,MAAOiB,EACP,UAAWjB,EAAY,MAAM,kBAC7B,SACEA,EAAY,mBAAmB,gBAEnC,EACA,OAAQ,CACN,QAASA,EAAY,OACrB,KAAMG,GAAc,GACpB,YAAa,GAAGA,GAAcH,EAAY,MAAM,KAC9CA,EAAY,MACd,IACA,WAAYoB,EAAWpB,EAAY,MAAM,EACzC,cAAe,EAAQI,EACvB,KAAMJ,EAAY,MAAM,YAAc,GACtC,MAAOmB,EACP,UAAWnB,EAAY,MAAM,gBAC7B,SACEA,EAAY,mBAAmB,iBAEnC,EACA,MAAOe,CACT,CAGF,CAAC,CACH,CAGF,CACF",
6
+ "names": ["TransactionsTableController", "address", "egldLabel", "explorerAddress", "transactions", "interpretedTransactions", "transaction", "getInterpretedTransaction", "receiverName", "senderName", "senderLockedAccount", "receiverLockedAccount", "getLockedAccountName", "egldValueData", "tokenValueData", "nftValueData", "getTransactionValue", "badge", "formattedAmount", "FormatAmountController", "DECIMALS", "transactionValue", "getExplorerLink", "receiverShard", "getShardText", "senderShard", "isContract"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{d as t}from"./chunk-JPSW3MCK.mjs";import{a as l}from"./chunk-N4KX33RW.mjs";import{s as r}from"./chunk-XNSSZDSU.mjs";import{b as o}from"./chunk-7VHTZYM2.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=o(r()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(a){console.error(a),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
2
- //# sourceMappingURL=chunk-TFARIEZF.mjs.map
1
+ import{a as d}from"./chunk-CZEUFCPN.mjs";import{a as s}from"./chunk-JFP2BITI.mjs";import{i as t}from"./chunk-PQ2OJ3JD.mjs";import{a as l}from"./chunk-KR2GUJDQ.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-4D2LHSRB.mjs";var e=class e extends l{constructor(){super({uiTag:"mvx-unlock-panel",uiDataUpdateEvent:"OPEN"});this.initialData={providers:null,walletAddress:null};this.openUnlockPanel=async()=>{let{walletAddress:n}=r(o()),i=d(t.customProviders,e.allowedProviders);this.data={providers:i,walletAddress:n},await this.openUI(),this.notifyDataUpdate()};this.setupEventListeners=async()=>{this.eventBus&&(this.subscribeToEventBus("LOGIN",this.handleLogin),this.subscribeToEventBus("CANCEL_LOGIN",this.handleCancelLogin),this.subscribeToEventBus("CLOSE",this.handleCloseUI))};this.handleCloseUI=async n=>{!n?.isLoginFinished&&e.onClose&&e.onClose(),this.closeUI()};this.handleLogin=async({type:n,anchor:i})=>{if(!e.loginHandler)throw new Error("Login callback not initialized. Please call `init()` first.");try{s(e.loginHandler)?(await(await t.create({type:n,anchor:i})).login(),e.loginHandler()):e.loginHandler({type:n,anchor:i}),await this.handleCloseUI({isLoginFinished:!0})}catch(a){console.error(a),this.eventBus?.publish("CANCEL_IN_PROVIDER",this.data)}};this.handleCancelLogin=async()=>{await t.destroy()};this.data=this.initialData}static getInstance(){return e.instance||(e.instance=new e),e.instance}static init(n){return this.loginHandler=n.loginHandler,this.allowedProviders=n.allowedProviders,n.onClose&&(this.onClose=n.onClose),this.getInstance()}};e.loginHandler=null,e.onClose=null,e.allowedProviders=null;var c=e;export{c as a};
2
+ //# sourceMappingURL=chunk-J7BQ2H5Q.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
4
+ "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
5
+ "mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOM,GAElC,CACA,CAACA,GAAS,iBAAmBR,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAS,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACV,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEW,EAAyBX,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAE,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBV,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAS,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAML,EAAgB,QAAQ,CAChC,EAxFE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKa,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAsEF,EA9Gab,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMc,EAANd",
6
+ "names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{a as V}from"./chunk-FCIBGJDC.mjs";import{a as k}from"./chunk-LFMHK4UE.mjs";import{a as d}from"./chunk-3IYTFWEN.mjs";import{a as p,b as s,c,d as f}from"./chunk-I2YHVWIX.mjs";import{a as D}from"./chunk-RXRVBUAX.mjs";import{a as A}from"./chunk-Q7YFEWWK.mjs";import{a as r}from"./chunk-FKGDHZZJ.mjs";import{a as m}from"./chunk-O6VPG7AF.mjs";import{b as T}from"./chunk-UQU2VWPJ.mjs";import{c as n,f as i}from"./chunk-PJWJZHIS.mjs";import{a as u}from"./chunk-QNELH2S2.mjs";var b=({transaction:t,hideMultipleBadge:g})=>{if(t.action){if(s.includes(t.action.name))return r(t.value);if(c.includes(t.action.name))return A(t);if(p.includes(t.action.name))return D(t);if(f.includes(t.action.name))return V(t);let a=m(t);if(a.length){let e=a[0],I=Object.values(T).includes(e.type),l=!g&&a.length>1?k(a):"";if(I){let{badgeText:E,tokenFormattedAmount:o,tokenExplorerLink:_,tokenLinkText:y}=d({token:e});return{nftValueData:{badgeText:E,tokenFormattedAmount:o,tokenExplorerLink:_,tokenLinkText:y,transactionTokens:a,token:e,value:o!=null?e.value:null,decimals:o!=null?e.decimals:null,titleText:l}}}let x=e.value?i({input:e.value,decimals:e.decimals??n,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:u.tokenDetails(String(e.token)),showFormattedAmount:!1,tokenFormattedAmount:x,tokenLinkText:e.ticker,transactionTokens:a,token:e,value:e.value,decimals:e.decimals??n,titleText:l}}}}return r(t.value)};export{b as a};
2
+ //# sourceMappingURL=chunk-JA27GJYB.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.ts"],
4
+ "sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\n\nimport {\n ACTIONS_WITH_EGLD_VALUE,\n ACTIONS_WITH_MANDATORY_OPERATIONS,\n ACTIONS_WITH_VALUE_IN_ACTION_FIELD,\n ACTIONS_WITH_VALUE_IN_DATA_FIELD\n} from './constants';\n\nimport { getEgldValueData } from './helpers/getEgldValueData';\nimport { getTitleText } from './helpers/getTitleText';\nimport { getTransactionActionNftText } from './helpers/getTransactionActionNftText';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport { getValueFromActions } from './helpers/getValueFromActions';\nimport { getValueFromDataField } from './helpers/getValueFromDataField';\nimport { getValueFromOperations } from './helpers/getValueFromOperations';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from './types';\nimport { explorerUrlBuilder } from '../../explorerUrlBuilder';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport interface GetTransactionValueType {\n hideMultipleBadge?: boolean;\n transaction: InterpretedTransactionType;\n}\n\nexport const getTransactionValue = ({\n transaction,\n hideMultipleBadge\n}: GetTransactionValueType): GetTransactionValueReturnType => {\n if (transaction.action) {\n if (ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {\n return getEgldValueData(transaction.value);\n }\n\n if (ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {\n return getValueFromDataField(transaction);\n }\n\n if (ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {\n return getValueFromOperations(transaction);\n }\n\n if (ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {\n return getValueFromActions(transaction);\n }\n\n const transactionTokens = getTransactionTokens(transaction);\n\n if (transactionTokens.length) {\n const txToken = transactionTokens[0];\n const isNft = Object.values(NftEnumType).includes(\n txToken.type as NftEnumType\n );\n\n const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;\n const titleText = hasTitleText ? getTitleText(transactionTokens) : '';\n\n if (isNft) {\n const {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText\n } = getTransactionActionNftText({ token: txToken });\n\n return {\n nftValueData: {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText,\n transactionTokens,\n token: txToken,\n value: tokenFormattedAmount != null ? txToken.value : null,\n decimals: tokenFormattedAmount != null ? txToken.decimals : null,\n titleText\n }\n };\n }\n\n const tokenFormattedAmount = txToken.value\n ? formatAmount({\n input: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const tokenExplorerLink = explorerUrlBuilder.tokenDetails(\n String(txToken.token)\n );\n\n return {\n tokenValueData: {\n tokenExplorerLink,\n showFormattedAmount: false,\n tokenFormattedAmount,\n tokenLinkText: txToken.ticker,\n transactionTokens,\n token: txToken,\n value: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n titleText\n }\n };\n }\n }\n\n return getEgldValueData(transaction.value);\n};\n"],
5
+ "mappings": "0dAoCO,IAAMA,EAAsB,CAAC,CAClC,YAAAC,EACA,kBAAAC,CACF,IAA8D,CAC5D,GAAID,EAAY,OAAQ,CACtB,GAAIE,EAAwB,SAASF,EAAY,OAAO,IAAI,EAC1D,OAAOG,EAAiBH,EAAY,KAAK,EAG3C,GAAII,EAAiC,SAASJ,EAAY,OAAO,IAAI,EACnE,OAAOK,EAAsBL,CAAW,EAG1C,GAAIM,EAAkC,SAASN,EAAY,OAAO,IAAI,EACpE,OAAOO,EAAuBP,CAAW,EAG3C,GAAIQ,EAAmC,SAASR,EAAY,OAAO,IAAI,EACrE,OAAOS,EAAoBT,CAAW,EAGxC,IAAMU,EAAoBC,EAAqBX,CAAW,EAE1D,GAAIU,EAAkB,OAAQ,CAC5B,IAAME,EAAUF,EAAkB,CAAC,EAC7BG,EAAQ,OAAO,OAAOC,CAAW,EAAE,SACvCF,EAAQ,IACV,EAGMG,EADe,CAACd,GAAqBS,EAAkB,OAAS,EACrCM,EAAaN,CAAiB,EAAI,GAEnE,GAAIG,EAAO,CACT,GAAM,CACJ,UAAAI,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,CACF,EAAIC,EAA4B,CAAE,MAAOT,CAAQ,CAAC,EAElD,MAAO,CACL,aAAc,CACZ,UAAAK,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,EACA,kBAAAV,EACA,MAAOE,EACP,MAAOM,GAAwB,KAAON,EAAQ,MAAQ,KACtD,SAAUM,GAAwB,KAAON,EAAQ,SAAW,KAC5D,UAAAG,CACF,CACF,CACF,CAEA,IAAMG,EAAuBN,EAAQ,MACjCU,EAAa,CACX,MAAOV,EAAQ,MACf,SAAUA,EAAQ,UAAYW,EAC9B,OAAQ,EACR,UAAW,EACb,CAAC,EACD,KAMJ,MAAO,CACL,eAAgB,CACd,kBANsBC,EAAmB,aAC3C,OAAOZ,EAAQ,KAAK,CACtB,EAKI,oBAAqB,GACrB,qBAAAM,EACA,cAAeN,EAAQ,OACvB,kBAAAF,EACA,MAAOE,EACP,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAYW,EAC9B,UAAAR,CACF,CACF,CACF,CACF,CAEA,OAAOZ,EAAiBH,EAAY,KAAK,CAC3C",
6
+ "names": ["getTransactionValue", "transaction", "hideMultipleBadge", "ACTIONS_WITH_EGLD_VALUE", "getEgldValueData", "ACTIONS_WITH_VALUE_IN_DATA_FIELD", "getValueFromDataField", "ACTIONS_WITH_MANDATORY_OPERATIONS", "getValueFromOperations", "ACTIONS_WITH_VALUE_IN_ACTION_FIELD", "getValueFromActions", "transactionTokens", "getTransactionTokens", "txToken", "isNft", "NftEnumType", "titleText", "getTitleText", "badgeText", "tokenFormattedAmount", "tokenExplorerLink", "tokenLinkText", "getTransactionActionNftText", "formatAmount", "DECIMALS", "explorerUrlBuilder"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{b as s,d as i,h as o}from"./chunk-VBNLRSKL.mjs";var r=1e4,u=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=r;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let e=setTimeout(()=>{o(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,e)};this.startWithCustomDuration=(t,e)=>{if(this.stop(t),e<=0)return;let a=setTimeout(()=>{i(t);let n=s[t];n?.()},e);this.timeoutIntervals.set(t,a)};this.stop=t=>{let e=this.timeoutIntervals.get(t);e&&(clearTimeout(e),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??r}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};export{u as a};
2
+ //# sourceMappingURL=chunk-JBF3CPLK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/ToastManager/helpers/LifetimeManager.ts"],
4
+ "sourcesContent": ["import {\n customToastCloseHandlersDictionary,\n removeCustomToast,\n removeTransactionToast\n} from 'store/actions/toasts/toastsActions';\n\ninterface IToastProgressManagerParams {\n successfulToastLifetime?: number;\n}\n\nconst DEFAULT_SUCCESSFUL_TOAST_LIFETIME = 10_000;\n\nexport class LifetimeManager {\n private timeoutIntervals: Map<string, ReturnType<typeof setTimeout>> =\n new Map();\n private successfulToastLifetime: number = DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n\n constructor() {}\n\n public init({ successfulToastLifetime }: IToastProgressManagerParams) {\n this.successfulToastLifetime =\n successfulToastLifetime ?? DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n }\n\n public start = (toastId: string) => {\n this.stop(toastId);\n\n if (this.successfulToastLifetime <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeTransactionToast(toastId);\n }, this.successfulToastLifetime);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public startWithCustomDuration = (toastId: string, duration: number) => {\n this.stop(toastId);\n\n if (duration <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeCustomToast(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n }, duration);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public stop = (toastId: string) => {\n const timeout = this.timeoutIntervals.get(toastId);\n if (timeout) {\n clearTimeout(timeout);\n this.timeoutIntervals.delete(toastId);\n }\n };\n\n public destroy() {\n this.timeoutIntervals.forEach((interval) => clearTimeout(interval));\n this.timeoutIntervals.clear();\n }\n}\n"],
5
+ "mappings": "uDAUA,IAAMA,EAAoC,IAE7BC,EAAN,KAAsB,CAK3B,aAAc,CAJd,KAAQ,iBACN,IAAI,IACN,KAAQ,wBAAkCD,EAS1C,KAAO,MAASE,GAAoB,CAGlC,GAFA,KAAK,KAAKA,CAAO,EAEb,KAAK,yBAA2B,EAClC,OAGF,IAAMC,EAAU,WAAW,IAAM,CAC/BC,EAAuBF,CAAO,CAChC,EAAG,KAAK,uBAAuB,EAE/B,KAAK,iBAAiB,IAAIA,EAASC,CAAO,CAC5C,EAEA,KAAO,wBAA0B,CAACD,EAAiBG,IAAqB,CAGtE,GAFA,KAAK,KAAKH,CAAO,EAEbG,GAAY,EACd,OAGF,IAAMF,EAAU,WAAW,IAAM,CAC/BG,EAAkBJ,CAAO,EACzB,IAAMK,EAAcC,EAAmCN,CAAO,EAC9DK,IAAc,CAChB,EAAGF,CAAQ,EAEX,KAAK,iBAAiB,IAAIH,EAASC,CAAO,CAC5C,EAEA,KAAO,KAAQD,GAAoB,CACjC,IAAMC,EAAU,KAAK,iBAAiB,IAAID,CAAO,EAC7CC,IACF,aAAaA,CAAO,EACpB,KAAK,iBAAiB,OAAOD,CAAO,EAExC,CA3Ce,CAER,KAAK,CAAE,wBAAAO,CAAwB,EAAgC,CACpE,KAAK,wBACHA,GAA2BT,CAC/B,CAwCO,SAAU,CACf,KAAK,iBAAiB,QAASU,GAAa,aAAaA,CAAQ,CAAC,EAClE,KAAK,iBAAiB,MAAM,CAC9B,CACF",
6
+ "names": ["DEFAULT_SUCCESSFUL_TOAST_LIFETIME", "LifetimeManager", "toastId", "timeout", "removeTransactionToast", "duration", "removeCustomToast", "handleClose", "customToastCloseHandlersDictionary", "successfulToastLifetime", "interval"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{b as t}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-4D2LHSRB.mjs";function g(r=e()){return t(r).egldLabel}export{g as a};
2
+ //# sourceMappingURL=chunk-JI27YEKS.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-AGJVEK6I.mjs";import{d as o}from"./chunk-NAYDJEWI.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
- //# sourceMappingURL=chunk-2KGBHCEN.mjs.map
1
+ import{d as o}from"./chunk-NMK74PUW.mjs";import{a as r}from"./chunk-LKC3E6AW.mjs";var n=o/1e3;async function S({store:i,getStorageCallback:a}){if(a!==r)try{await new Promise((t,e)=>{i.persist.hasHydrated()&&t(),i.persist.onFinishHydration(()=>{t()}),setTimeout(()=>{e()},o)})}catch(t){console.warn(`Store rehydration timed out after ${n} seconds. Continuing initialization...`,t?.message)}}export{S as a};
2
+ //# sourceMappingURL=chunk-JILAZBMF.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/methods/initApp/helpers/waitForStoreRehydration.ts"],
4
+ "sourcesContent": ["import { REHYDRATE_STORE_TIMEOUT } from 'constants/storage.constants';\nimport { defaultStorageCallback, StorageCallback } from 'store/storage';\nimport { StoreApi } from 'store/store';\n\nconst REHYDRATE_TIMEOUT_SECONDS = REHYDRATE_STORE_TIMEOUT / 1000;\n\nexport async function waitForStoreRehydration({\n store,\n getStorageCallback\n}: {\n store: StoreApi;\n getStorageCallback: StorageCallback;\n}): Promise<void> {\n // Wait for store rehydration when using async storage (like React Native AsyncStorage)\n // This ensures the store is fully populated before restoreProvider() executes\n if (getStorageCallback !== defaultStorageCallback) {\n try {\n await new Promise<void>((resolve, reject) => {\n if (store.persist.hasHydrated()) {\n resolve();\n }\n\n store.persist.onFinishHydration(() => {\n resolve();\n });\n\n setTimeout(() => {\n reject();\n }, REHYDRATE_STORE_TIMEOUT);\n });\n } catch (error: any) {\n console.warn(\n `Store rehydration timed out after ${REHYDRATE_TIMEOUT_SECONDS} seconds. Continuing initialization...`,\n error?.message\n );\n }\n }\n}\n"],
5
+ "mappings": "kFAIA,IAAMA,EAA4BC,EAA0B,IAE5D,eAAsBC,EAAwB,CAC5C,MAAAC,EACA,mBAAAC,CACF,EAGkB,CAGhB,GAAIA,IAAuBC,EACzB,GAAI,CACF,MAAM,IAAI,QAAc,CAACC,EAASC,IAAW,CACvCJ,EAAM,QAAQ,YAAY,GAC5BG,EAAQ,EAGVH,EAAM,QAAQ,kBAAkB,IAAM,CACpCG,EAAQ,CACV,CAAC,EAED,WAAW,IAAM,CACfC,EAAO,CACT,EAAGN,CAAuB,CAC5B,CAAC,CACH,OAASO,EAAY,CACnB,QAAQ,KACN,qCAAqCR,CAAyB,yCAC9DQ,GAAO,OACT,CACF,CAEJ",
6
+ "names": ["REHYDRATE_TIMEOUT_SECONDS", "REHYDRATE_STORE_TIMEOUT", "waitForStoreRehydration", "store", "getStorageCallback", "defaultStorageCallback", "resolve", "reject", "error"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-4VUMAG4J.mjs";var a={nonce:17,value:"0",receiver:e,sender:e,gasPrice:1e9,gasLimit:6e6,chainID:"D",version:1,signature:"e8e12f2c5432361b640068f8046819c02511e94cc139257dd1bf557368f4dafe7f446d0df2fe02e7f09358f84b0b2fce88b801a4eb3643ba85c989340bf7820a",txHash:"txPending\xA7\xA7\xA77cb81c945decd70678cebc5b8b919f8e3c8411f2b19ebdd6a6x",receiverShard:0,senderShard:0,status:"pending",hash:"txPending\xA7\xA7\xA77cb81c945decd70678cebc5b8b919f8e3c8411f2b19ebdd6a6x",invalidTransaction:!1,results:[],previousStatus:"pending",hasStatusChanged:!0};export{a};
2
- //# sourceMappingURL=chunk-3PAZABVI.mjs.map
1
+ import{a as e}from"./chunk-2JFN726G.mjs";var a={nonce:17,value:"0",receiver:e,sender:e,gasPrice:1e9,gasLimit:6e6,chainID:"D",version:1,signature:"e8e12f2c5432361b640068f8046819c02511e94cc139257dd1bf557368f4dafe7f446d0df2fe02e7f09358f84b0b2fce88b801a4eb3643ba85c989340bf7820a",txHash:"txPending\xA7\xA7\xA77cb81c945decd70678cebc5b8b919f8e3c8411f2b19ebdd6a6x",receiverShard:0,senderShard:0,status:"pending",hash:"txPending\xA7\xA7\xA77cb81c945decd70678cebc5b8b919f8e3c8411f2b19ebdd6a6x",invalidTransaction:!1,results:[],previousStatus:"pending",hasStatusChanged:!0};export{a};
2
+ //# sourceMappingURL=chunk-JQ3KV55D.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-6O5Y7U4C.mjs";function S(e){return t()(e)}export{S as a};
2
+ //# sourceMappingURL=chunk-JXPL2SLD.mjs.map
@@ -0,0 +1,2 @@
1
+ import{q as t}from"./chunk-4D2LHSRB.mjs";var l=e=>t().setState(({ui:a})=>{a.isSidePanelOpen=e},!1,{type:"setIsSidePanelOpen",payload:{value:e}});export{l as a};
2
+ //# sourceMappingURL=chunk-K2FBVE6U.mjs.map
@@ -0,0 +1,2 @@
1
+ import{b as i}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-4D2LHSRB.mjs";import{a as o}from"./chunk-CKTFPRJS.mjs";var n="https://api.multiversx.com",s=60*60*24,a=5*60,d=t=>{let r=i(e());return{origin:t?.origin||o().origin,apiAddress:t?.apiAddress||r.apiAddress||n,expirySeconds:t?.expirySeconds||s,tokenExpirationToastWarningSeconds:t?.tokenExpirationToastWarningSeconds||a}};export{d as a};
2
+ //# sourceMappingURL=chunk-K7PXA7CN.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/services/nativeAuth/methods/getDefaultNativeAuthConfig.ts"],
4
+ "sourcesContent": ["import { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { getWindowLocation } from 'utils/window/getWindowLocation';\nimport { NativeAuthConfigType } from '../nativeAuth.types';\n\nconst DEFAULT_API_ADDRESS = 'https://api.multiversx.com';\n\nconst DEFAULT_EXPIRY_SECONDS = 60 * 60 * 24; // one day\nconst DEFAULT_TOKEN_EXPIRATION_TOAST_WARNING_SECONDS = 5 * 60; // five minutes\n\nexport const getDefaultNativeAuthConfig = (config?: NativeAuthConfigType) => {\n const network = networkSelector(getState());\n\n return {\n origin: config?.origin || getWindowLocation().origin,\n apiAddress: config?.apiAddress || network.apiAddress || DEFAULT_API_ADDRESS,\n expirySeconds: config?.expirySeconds || DEFAULT_EXPIRY_SECONDS,\n tokenExpirationToastWarningSeconds:\n config?.tokenExpirationToastWarningSeconds ||\n DEFAULT_TOKEN_EXPIRATION_TOAST_WARNING_SECONDS\n };\n};\n"],
5
+ "mappings": "2HAKA,IAAMA,EAAsB,6BAEtBC,EAAyB,GAAK,GAAK,GACnCC,EAAiD,EAAI,GAE9CC,EAA8BC,GAAkC,CAC3E,IAAMC,EAAUC,EAAgBC,EAAS,CAAC,EAE1C,MAAO,CACL,OAAQH,GAAQ,QAAUI,EAAkB,EAAE,OAC9C,WAAYJ,GAAQ,YAAcC,EAAQ,YAAcL,EACxD,cAAeI,GAAQ,eAAiBH,EACxC,mCACEG,GAAQ,oCACRF,CACJ,CACF",
6
+ "names": ["DEFAULT_API_ADDRESS", "DEFAULT_EXPIRY_SECONDS", "DEFAULT_TOKEN_EXPIRATION_TOAST_WARNING_SECONDS", "getDefaultNativeAuthConfig", "config", "network", "networkSelector", "getState", "getWindowLocation"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-UPABDY55.mjs";import{a as t}from"./chunk-ODHXJQOF.mjs";var i=class extends n{constructor({uiDataUpdateEvent:e,uiTag:s}){super({uiDataUpdateEvent:e,uiTag:s});this.isOpen=!1;this.data=this.getInitialData()}async openUI(){this.isOpen&&this.uiElement||(await super.init(),this.setIsSidePanelOpen(!0))}destroy(){if(this.setIsSidePanelOpen(!1),this.uiElement?.closeWithAnimation){this.uiElement?.closeWithAnimation?.().finally(()=>{super.destroy()});return}super.destroy()}closeUI(){this.resetData(),this.destroy()}setIsSidePanelOpen(e){this.isOpen=e,t(e)}};export{i as a};
2
- //# sourceMappingURL=chunk-N4KX33RW.mjs.map
1
+ import{a as n}from"./chunk-WGFZEQNT.mjs";import{a as t}from"./chunk-K2FBVE6U.mjs";var i=class extends n{constructor({uiDataUpdateEvent:e,uiTag:s}){super({uiDataUpdateEvent:e,uiTag:s});this.isOpen=!1;this.data=this.getInitialData()}async openUI(){this.isOpen&&this.uiElement||(await super.init(),this.setIsSidePanelOpen(!0))}destroy(){if(this.setIsSidePanelOpen(!1),this.uiElement?.closeWithAnimation){this.uiElement?.closeWithAnimation?.().finally(()=>{super.destroy()});return}super.destroy()}closeUI(){this.resetData(),this.destroy()}setIsSidePanelOpen(e){this.isOpen=e,t(e)}};export{i as a};
2
+ //# sourceMappingURL=chunk-KR2GUJDQ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-4VA2SULD.mjs";var f=({parts:e,decodedParts:d,identifier:o})=>{let r=[...d];if(e[0]==="ESDTNFTTransfer"&&e[2]&&(r[2]=t({data:e[2],decodeMethod:"decimal"})),o==="ESDTNFTTransfer"&&e[1]){let a=Buffer.from(String(e[1]),"base64");r[1]=t({data:a.toString("hex"),decodeMethod:"decimal"})}return r};export{f as a};
2
- //# sourceMappingURL=chunk-GUAXMODN.mjs.map
1
+ import{a as t}from"./chunk-XA6ZDGIQ.mjs";var f=({parts:e,decodedParts:d,identifier:o})=>{let r=[...d];if(e[0]==="ESDTNFTTransfer"&&e[2]&&(r[2]=t({data:e[2],decodeMethod:"decimal"})),o==="ESDTNFTTransfer"&&e[1]){let a=Buffer.from(String(e[1]),"base64");r[1]=t({data:a.toString("hex"),decodeMethod:"decimal"})}return r};export{f as a};
2
+ //# sourceMappingURL=chunk-KYQ5IP6W.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as r}from"./chunk-3IYTFWEN.mjs";import{a}from"./chunk-3FXHIV6O.mjs";import{c as o,f as n}from"./chunk-PJWJZHIS.mjs";var k=u=>{let i=u.map(e=>{let{isNft:l}=a(e.type);if(l){let{badgeText:t,tokenFormattedAmount:p,tokenLinkText:T}=r({token:e});return`${t!=null?`(${t}) `:""}${p} ${T}`}let m=e.value?n({input:e.value,decimals:e.decimals??o,digits:2,addCommas:!0}):null,d=e.collection?e.identifier:e.token;return`${m} ${e.ticker} (${d})`});return decodeURI(i.join("%0A"))};export{k as a};
2
+ //# sourceMappingURL=chunk-LFMHK4UE.mjs.map