@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{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{z as g}from"./chunk-C72ZHRFA.mjs";import{q as M}from"./chunk-XNSSZDSU.mjs";import{a as p}from"./chunk-7MBSWJUD.mjs";import{a as u,c as l,g as c}from"./chunk-NTEMINYA.mjs";import{a as d}from"./chunk-URTM5OGN.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=p(this.store.getState()),o=g(),i=`${t}${a}`,y=new c({address:new l(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=p(this.store.getState()),{message:t}=s;try{let o=new c({address:new l(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
- //# sourceMappingURL=chunk-VGGJESXR.mjs.map
1
+ import{b as r,c as n}from"./chunk-QJGFIK7H.mjs";import{l as g}from"./chunk-HUZZMMJX.mjs";import{q as M}from"./chunk-4D2LHSRB.mjs";import{a as c}from"./chunk-FK6DWWZF.mjs";import{a as u,c as p,g as l}from"./chunk-NTEMINYA.mjs";import{a as d}from"./chunk-D5L63X7Y.mjs";var m=class{constructor({onLoginCancelled:e}){this.handlers=new Map;this.store=M();this.isLoginInitiated=!1;this.handleMessage=this.handleMessage.bind(this),this.handleLoginCancelled=e}startListening(){d.addEventListener("message",this.handleMessage)}stopListening(){d.removeEventListener("message",this.handleMessage)}registerEvent(e,s){this.handlers.set(e,s)}unregisterEvent(e){this.handlers.delete(e)}async handleMessage(e){let s=e.data?.type;if(typeof s=="string"&&this.handlers.has(s))return this.handlers.get(s)?.(e);switch(s){case r.finalizeHandshakeRequest:this.handshake({event:e});break;case r.signMessageRequest:this.signMessage({event:e,payload:e.data.payload});break;case r.loginRequest:this.isLoginInitiated=!0,this.login({event:e,payload:e.data.payload});break;case r.signTransactionsRequest:this.signTransactions({event:e});break;case n.cancelResponse:case"cancelAction":this.isLoginInitiated&&await this.handleLoginCancelled();break;default:break}}async login({event:e,payload:s}){let a=s?.token;if(a)try{let{address:t}=c(this.store.getState()),o=g(),i=`${t}${a}`,y=new l({address:new p(t),data:new Uint8Array(Buffer.from(i))}),f=(await o.signMessage(y))?.signature??"";e.source?.postMessage({type:n.loginResponse,payload:{data:{address:t,signature:Buffer.from(f).toString("hex")}}},{targetOrigin:e.origin})}catch{this.isLoginInitiated&&(await this.handleLoginCancelled(),e.source?.postMessage({type:n.cancelResponse,payload:null},{targetOrigin:e.origin}))}finally{this.isLoginInitiated=!1}}handshake({event:e}){let s=Date.now().toString();e.source?.postMessage({type:n.finalizeHandshakeResponse,payload:{data:s}},{targetOrigin:e.origin})}async signMessage({event:e,payload:s}){let{address:a}=c(this.store.getState()),{message:t}=s;try{let o=new l({address:new p(a),data:new Uint8Array(Buffer.from(t))}),h=(await g().signMessage(o))?.signature??"";e.source?.postMessage({type:n.signMessageResponse,payload:{data:{signature:Buffer.from(h).toString("hex"),status:"signed"}}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign message")}}async signTransactions({event:e}){let s=g(),{payload:a}=e.data;if(Array.isArray(a))try{let t=a.map(i=>u.newFromPlainObject(i)),o=await s.signTransactions(t);e.source?.postMessage({type:n.signTransactionsResponse,payload:{data:o.map(i=>i.toPlainObject())}},{targetOrigin:e.origin})}catch{throw new Error("Could not sign transactions")}}};export{m as a};
2
+ //# sourceMappingURL=chunk-QJTWOZ3K.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.ts"],
4
+ "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { Address, Message, Transaction } from 'lib/sdkCore';\nimport {\n WindowProviderRequestEnums,\n WindowProviderResponseEnums,\n RequestMessageType,\n RequestPayloadType\n} from 'lib/sdkWebWalletCrossWindowProvider';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { accountSelector } from 'store/selectors/accountSelectors';\nimport { getStore } from 'store/store';\n\ntype MessageHandler = (event: MessageEvent) => void;\n\ntype MessageEventType = {\n event: MessageEvent<MessageType>;\n};\n\ntype MessageType =\n | RequestMessageType\n | { type: 'cancelAction'; payload: null }\n | {\n type: WindowProviderResponseEnums.cancelResponse;\n payload: null;\n };\n\nexport class WebviewClient {\n private readonly handlers: Map<string, MessageHandler> = new Map();\n private readonly store = getStore();\n private isLoginInitiated = false;\n private readonly handleLoginCancelled: () => Promise<void>;\n\n constructor({ onLoginCancelled }: { onLoginCancelled: () => Promise<void> }) {\n this.handleMessage = this.handleMessage.bind(this);\n this.handleLoginCancelled = onLoginCancelled;\n }\n\n public startListening() {\n safeWindow.addEventListener('message', this.handleMessage);\n }\n\n public stopListening() {\n safeWindow.removeEventListener('message', this.handleMessage);\n }\n\n public registerEvent(type: string, handler: MessageHandler) {\n this.handlers.set(type, handler);\n }\n\n public unregisterEvent(type: string) {\n this.handlers.delete(type);\n }\n\n private async handleMessage(event: MessageEvent<MessageType>) {\n const type = event.data?.type;\n\n if (typeof type === 'string' && this.handlers.has(type)) {\n const handler = this.handlers.get(type);\n return handler?.(event);\n }\n\n switch (type) {\n case WindowProviderRequestEnums.finalizeHandshakeRequest:\n this.handshake({ event });\n break;\n case WindowProviderRequestEnums.signMessageRequest:\n this.signMessage({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.loginRequest:\n this.isLoginInitiated = true;\n this.login({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.signTransactionsRequest:\n this.signTransactions({ event });\n break;\n case WindowProviderResponseEnums.cancelResponse: // sent by web-wallet CrossWindow provider\n case 'cancelAction': // sent by Extension provider\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n }\n break;\n default:\n break;\n }\n }\n\n private async login({\n event,\n payload\n }: MessageEventType & { payload: RequestPayloadType['LOGIN_REQUEST'] }) {\n const loginToken = payload?.token;\n\n if (!loginToken) {\n return;\n }\n\n try {\n const { address } = accountSelector(this.store.getState());\n const provider = getAccountProvider();\n\n // Message format needed for token generation\n const message = `${address}${loginToken}`;\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.loginResponse,\n payload: {\n data: {\n address,\n signature: Buffer.from(signature).toString('hex')\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.cancelResponse,\n payload: null\n },\n { targetOrigin: event.origin }\n );\n }\n } finally {\n this.isLoginInitiated = false;\n }\n }\n\n private handshake({ event }: MessageEventType) {\n const handshakeSession = Date.now().toString();\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.finalizeHandshakeResponse,\n payload: { data: handshakeSession }\n },\n { targetOrigin: event.origin }\n );\n }\n\n private async signMessage({\n event,\n payload\n }: MessageEventType & {\n payload: RequestPayloadType['SIGN_MESSAGE_REQUEST'];\n }) {\n const { address } = accountSelector(this.store.getState());\n const { message } = payload;\n\n try {\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const provider = getAccountProvider();\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signMessageResponse,\n payload: {\n data: {\n signature: Buffer.from(signature).toString('hex'),\n status: 'signed'\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign message');\n }\n }\n\n private async signTransactions({ event }: MessageEventType) {\n const provider = getAccountProvider();\n const { payload } = event.data;\n\n if (!Array.isArray(payload)) {\n return;\n }\n\n try {\n const transactions = payload.map((plainTransactionObject) =>\n Transaction.newFromPlainObject(plainTransactionObject)\n );\n\n const signedTx = await provider.signTransactions(transactions);\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signTransactionsResponse,\n payload: {\n data: signedTx.map((tx) => tx.toPlainObject())\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign transactions');\n }\n }\n}\n"],
5
+ "mappings": "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",
6
+ "names": ["WebviewClient", "onLoginCancelled", "getStore", "safeWindow", "type", "handler", "event", "WindowProviderRequestEnums", "WindowProviderResponseEnums", "payload", "loginToken", "address", "accountSelector", "provider", "getAccountProvider", "message", "messageToSign", "Message", "Address", "signature", "handshakeSession", "transactions", "plainTransactionObject", "Transaction", "signedTx", "tx"]
7
+ }
@@ -0,0 +1,2 @@
1
+ var t=.01,_=1500,o=5e4,A=5e4,E=1e9,R=1,e=1,D=4294967295,I=4294967280,T="refundedGas",r="EGLD-000000",s="wallet.multiversx.com";export{t as a,_ as b,o as c,A as d,E as e,R as f,e as g,D as h,I as i,T as j,r as k,s as l};
2
+ //# sourceMappingURL=chunk-QNYO7NI5.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/constants/mvx.constants.ts"],
4
- "sourcesContent": ["export const GAS_PRICE_MODIFIER = 0.01;\nexport const GAS_PER_DATA_BYTE = 1500;\nexport const GAS_LIMIT = 50000;\n/**\n * Extra gas limit for guarded transactions\n */\nexport const EXTRA_GAS_LIMIT_GUARDED_TX = 50000;\nexport const GAS_PRICE = 1000000000;\nexport const VERSION = 1;\nexport const LEDGER_CONTRACT_DATA_ENABLED_VALUE = 1;\nexport const METACHAIN_SHARD_ID = 4294967295;\nexport const ALL_SHARDS_SHARD_ID = 4294967280;\nexport const REFUNDED_GAS = 'refundedGas';\nexport const MULTI_TRANSFER_EGLD_TOKEN = 'EGLD-000000';\n"],
5
- "mappings": "AAAO,IAAMA,EAAqB,IACrBC,EAAoB,KACpBC,EAAY,IAIZC,EAA6B,IAC7BC,EAAY,IACZC,EAAU,EACVC,EAAqC,EACrCC,EAAqB,WACrBC,EAAsB,WACtBC,EAAe,cACfC,EAA4B",
6
- "names": ["GAS_PRICE_MODIFIER", "GAS_PER_DATA_BYTE", "GAS_LIMIT", "EXTRA_GAS_LIMIT_GUARDED_TX", "GAS_PRICE", "VERSION", "LEDGER_CONTRACT_DATA_ENABLED_VALUE", "METACHAIN_SHARD_ID", "ALL_SHARDS_SHARD_ID", "REFUNDED_GAS", "MULTI_TRANSFER_EGLD_TOKEN"]
4
+ "sourcesContent": ["export const GAS_PRICE_MODIFIER = 0.01;\nexport const GAS_PER_DATA_BYTE = 1500;\nexport const GAS_LIMIT = 50000;\n/**\n * Extra gas limit for guarded transactions\n */\nexport const EXTRA_GAS_LIMIT_GUARDED_TX = 50000;\nexport const GAS_PRICE = 1000000000;\nexport const VERSION = 1;\nexport const LEDGER_CONTRACT_DATA_ENABLED_VALUE = 1;\nexport const METACHAIN_SHARD_ID = 4294967295;\nexport const ALL_SHARDS_SHARD_ID = 4294967280;\nexport const REFUNDED_GAS = 'refundedGas';\nexport const MULTI_TRANSFER_EGLD_TOKEN = 'EGLD-000000';\nexport const MULTIVERSX_WALLET_ORIGIN = 'wallet.multiversx.com';\n"],
5
+ "mappings": "AAAO,IAAMA,EAAqB,IACrBC,EAAoB,KACpBC,EAAY,IAIZC,EAA6B,IAC7BC,EAAY,IACZC,EAAU,EACVC,EAAqC,EACrCC,EAAqB,WACrBC,EAAsB,WACtBC,EAAe,cACfC,EAA4B,cAC5BC,EAA2B",
6
+ "names": ["GAS_PRICE_MODIFIER", "GAS_PER_DATA_BYTE", "GAS_LIMIT", "EXTRA_GAS_LIMIT_GUARDED_TX", "GAS_PRICE", "VERSION", "LEDGER_CONTRACT_DATA_ENABLED_VALUE", "METACHAIN_SHARD_ID", "ALL_SHARDS_SHARD_ID", "REFUNDED_GAS", "MULTI_TRANSFER_EGLD_TOKEN", "MULTIVERSX_WALLET_ORIGIN"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk-RYIJWGFA.mjs";import{a as i}from"./chunk-PKLBZG2R.mjs";import{a}from"./chunk-HWJQUOPL.mjs";var h=r=>{let t=i(r),{failed:n,invalid:e,pending:c}=a(r),m=(n||e)&&t.length>0?t.join(","):"",o=`${s(r.status)} ${m}`;return n?{icon:"close",tooltip:o}:e?{icon:"ban",tooltip:o}:c?{icon:"hourglass",tooltip:o}:{tooltip:o}};export{h as a};
2
- //# sourceMappingURL=chunk-UCFMVEOZ.mjs.map
1
+ import{a as s}from"./chunk-RYIJWGFA.mjs";import{a as i}from"./chunk-DNYE6AJI.mjs";import{a}from"./chunk-HWJQUOPL.mjs";var h=r=>{let t=i(r),{failed:n,invalid:e,pending:c}=a(r),m=(n||e)&&t.length>0?t.join(","):"",o=`${s(r.status)} ${m}`;return n?{icon:"close",tooltip:o}:e?{icon:"ban",tooltip:o}:c?{icon:"hourglass",tooltip:o}:{tooltip:o}};export{h as a};
2
+ //# sourceMappingURL=chunk-QX32V6TT.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.ts"],
4
+ "sourcesContent": ["import { IconNamesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { capitalize } from 'utils/operations/capitalize';\nimport { getTransactionMessages } from './getTransactionMessages';\nimport { getTransactionStatus } from './getTransactionStatus';\n\nexport const getTransactionIconInfo = (\n transaction: ServerTransactionType\n): { icon?: `${IconNamesEnum}`; tooltip: string } => {\n const transactionMessages = getTransactionMessages(transaction);\n\n const { failed, invalid, pending } = getTransactionStatus(transaction);\n\n const showErrorText = (failed || invalid) && transactionMessages.length > 0;\n const errorText = showErrorText ? transactionMessages.join(',') : '';\n const tooltip = `${capitalize(transaction.status)} ${errorText}`;\n\n if (failed) {\n return { icon: IconNamesEnum.close, tooltip };\n }\n\n if (invalid) {\n return { icon: IconNamesEnum.ban, tooltip };\n }\n\n if (pending) {\n return { icon: IconNamesEnum.hourglass, tooltip };\n }\n\n return { tooltip };\n};\n"],
5
+ "mappings": "sHAMO,IAAMA,EACXC,GACmD,CACnD,IAAMC,EAAsBC,EAAuBF,CAAW,EAExD,CAAE,OAAAG,EAAQ,QAAAC,EAAS,QAAAC,CAAQ,EAAIC,EAAqBN,CAAW,EAG/DO,GADiBJ,GAAUC,IAAYH,EAAoB,OAAS,EACxCA,EAAoB,KAAK,GAAG,EAAI,GAC5DO,EAAU,GAAGC,EAAWT,EAAY,MAAM,CAAC,IAAIO,CAAS,GAE9D,OAAIJ,EACK,CAAE,aAA2B,QAAAK,CAAQ,EAG1CJ,EACK,CAAE,WAAyB,QAAAI,CAAQ,EAGxCH,EACK,CAAE,iBAA+B,QAAAG,CAAQ,EAG3C,CAAE,QAAAA,CAAQ,CACnB",
6
+ "names": ["getTransactionIconInfo", "transaction", "transactionMessages", "getTransactionMessages", "failed", "invalid", "pending", "getTransactionStatus", "errorText", "tooltip", "capitalize"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{s as t}from"./chunk-4D2LHSRB.mjs";import{c as r}from"./chunk-FK6DWWZF.mjs";function m(e=t()){return r(e)}export{m as a};
2
+ //# sourceMappingURL=chunk-R4BNJI2F.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/methods/account/getAddress.ts"],
4
- "sourcesContent": ["import { addressSelector } from 'store/selectors';\nimport { getState } from 'store/store';\n\nexport function getAddress(state = getState()) {\n return addressSelector(state);\n}\n"],
4
+ "sourcesContent": ["import { addressSelector } from 'store/selectors/accountSelectors';\nimport { getState } from 'store/store';\n\nexport function getAddress(state = getState()) {\n return addressSelector(state);\n}\n"],
5
5
  "mappings": "kFAGO,SAASA,EAAWC,EAAQC,EAAS,EAAG,CAC7C,OAAOC,EAAgBF,CAAK,CAC9B",
6
6
  "names": ["getAddress", "state", "getState", "addressSelector"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-TVXZBSUY.mjs";var e={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":t},ledgerAccount:null,publicKey:"",walletConnectAccount:null};function c(){return()=>e}var n=c();export{e as a,n as b};
2
- //# sourceMappingURL=chunk-IVHD32VC.mjs.map
1
+ import{a as t}from"./chunk-APCGI2A5.mjs";var e={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":t},ledgerAccount:null,publicKey:"",walletConnectAccount:null};function c(){return()=>e}var n=c();export{e as a,n as b};
2
+ //# sourceMappingURL=chunk-RIPIZH54.mjs.map
@@ -1,3 +1,3 @@
1
- import{a as r}from"./chunk-FKGDHZZJ.mjs";import{a as t}from"./chunk-JLDDNS5Y.mjs";var o=!1,i=e=>{o||(console.error(`Operations field missing for txHash: ${e}.
1
+ import{a as t}from"./chunk-JLDDNS5Y.mjs";import{a as r}from"./chunk-FKGDHZZJ.mjs";var o=!1,i=e=>{o||(console.error(`Operations field missing for txHash: ${e}.
2
2
  Unable to compute value field.`),o=!0)};function p(e){try{if(e.operations){let[a]=t(e);return r(a?.value)}else i(e.txHash)}catch{i(e.txHash)}return r(e.value)}export{p as a};
3
- //# sourceMappingURL=chunk-FPKFAJNW.mjs.map
3
+ //# sourceMappingURL=chunk-RXRVBUAX.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-4QDHKULK.mjs";import{d as l,e as m}from"./chunk-LYSI4URP.mjs";import{q as a}from"./chunk-XNSSZDSU.mjs";import{b as r}from"./chunk-7VHTZYM2.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=r(a().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
- //# sourceMappingURL=chunk-4MCQ27VQ.mjs.map
1
+ import{a as T}from"./chunk-Q2Q4XN4M.mjs";import{b as u}from"./chunk-GC5JRZOA.mjs";import{d as l,e as m}from"./chunk-LOPC75K6.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{q as r}from"./chunk-4D2LHSRB.mjs";import{b as t}from"./chunk-GGBMHKR4.mjs";import{io as S}from"socket.io-client";var w=3e3,A=3,g=500,E=500,f="batchUpdated",p="connect",N="connect_error",I="disconnect";async function M(i){let{apiAddress:b,websocketUrl:k}=a(r().getState());if(!i)throw new Error("Websocket could not be initialized: address missing");let c=null,s=null,o=e=>{t.status=e,u(e)},d=e=>{c&&clearTimeout(c),c=setTimeout(()=>{l(e)},E)},C=e=>{s&&clearTimeout(s),s=setTimeout(()=>{m(e)},E)},W=()=>{let e=t.instance;e&&(e.off(N),e.off(p),e.off(f),e.off(I),e.close(),console.log("Websocket disconnected.")),o("not_initialized"),t.instance=null,c&&clearTimeout(c),s&&clearTimeout(s)},y=async()=>{o("pending");let e="";try{e=k??await T(b)}catch(n){throw console.error("Failed to get websocket url:",n),o("not_initialized"),n}if(!e){o("not_initialized");return}t.instance=S(e,{forceNew:!0,reconnection:!0,reconnectionAttempts:A,reconnectionDelay:g,timeout:w,query:{address:i}}),t.instance.onAny(d),t.instance.on(f,C),t.instance.on(p,()=>{console.log("Websocket connected."),o("completed")}),t.instance.on(N,n=>{console.warn("Websocket connect error: ",n.message)}),t.instance.on(I,n=>{console.warn("Websocket disconnected: ",n),o("pending")})};return t.status==="not_initialized"&&!t.instance?.active&&await y(),{closeConnection:W}}export{M as a};
2
+ //# sourceMappingURL=chunk-S4TJTINB.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/methods/initApp/websocket/initializeWebsocketConnection.ts"],
4
+ "sourcesContent": ["import { io } from 'socket.io-client';\nimport { getWebsocketUrl } from 'apiCalls/websocket/getWebsocketUrl';\nimport {\n WebsocketConnectionStatusEnum,\n websocketConnection\n} from 'constants/websocket.constants';\nimport {\n setWebsocketBatchEvent,\n setWebsocketEvent\n} from 'store/actions/account/accountActions';\nimport { setWebsocketStatus } from 'store/actions/config/configActions';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getStore } from 'store/store';\nimport { BatchTransactionsWSResponseType } from 'types/websocket.types';\n\nconst TIMEOUT = 3_000;\nconst RECONNECTION_ATTEMPTS = 3;\nconst RETRY_INTERVAL = 500;\nconst MESSAGE_DELAY = 500;\nconst BATCH_UPDATED_EVENT = 'batchUpdated';\nconst CONNECT = 'connect';\nconst CONNECT_ERROR = 'connect_error';\nconst DISCONNECT = 'disconnect';\n\ntype TimeoutType = ReturnType<typeof setTimeout> | null;\n\nexport async function initializeWebsocketConnection(address: string) {\n const { apiAddress, websocketUrl: customWebsocketUrl } = networkSelector(\n getStore().getState()\n );\n\n if (!address) {\n throw new Error('Websocket could not be initialized: address missing');\n }\n\n let messageTimeout: TimeoutType = null;\n let batchTimeout: TimeoutType = null;\n\n // Update socket status in store for status subscription\n const updateSocketStatus = (status: WebsocketConnectionStatusEnum) => {\n websocketConnection.status = status;\n setWebsocketStatus(status);\n };\n\n const handleMessageReceived = (message: string) => {\n if (messageTimeout) {\n clearTimeout(messageTimeout);\n }\n messageTimeout = setTimeout(() => {\n setWebsocketEvent(message);\n }, MESSAGE_DELAY);\n };\n\n const handleBatchUpdate = (data: BatchTransactionsWSResponseType) => {\n if (batchTimeout) {\n clearTimeout(batchTimeout);\n }\n batchTimeout = setTimeout(() => {\n setWebsocketBatchEvent(data);\n }, MESSAGE_DELAY);\n };\n\n const closeConnection = () => {\n const instance = websocketConnection.instance;\n if (instance) {\n instance.off(CONNECT_ERROR);\n instance.off(CONNECT);\n instance.off(BATCH_UPDATED_EVENT);\n instance.off(DISCONNECT);\n instance.close();\n console.log('Websocket disconnected.');\n }\n\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n websocketConnection.instance = null;\n\n if (messageTimeout) {\n clearTimeout(messageTimeout);\n }\n\n if (batchTimeout) {\n clearTimeout(batchTimeout);\n }\n };\n\n const initializeConnection = async () => {\n updateSocketStatus(WebsocketConnectionStatusEnum.PENDING);\n\n let websocketUrl = '';\n try {\n websocketUrl = customWebsocketUrl ?? (await getWebsocketUrl(apiAddress));\n } catch (error) {\n console.error('Failed to get websocket url:', error);\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n throw error;\n }\n\n if (!websocketUrl) {\n updateSocketStatus(WebsocketConnectionStatusEnum.NOT_INITIALIZED);\n return;\n }\n\n websocketConnection.instance = io(websocketUrl, {\n forceNew: true,\n reconnection: true,\n reconnectionAttempts: RECONNECTION_ATTEMPTS,\n reconnectionDelay: RETRY_INTERVAL,\n timeout: TIMEOUT,\n query: { address }\n });\n\n websocketConnection.instance.onAny(handleMessageReceived);\n\n websocketConnection.instance.on(BATCH_UPDATED_EVENT, handleBatchUpdate);\n\n websocketConnection.instance.on(CONNECT, () => {\n console.log('Websocket connected.');\n updateSocketStatus(WebsocketConnectionStatusEnum.COMPLETED);\n });\n\n websocketConnection.instance.on(CONNECT_ERROR, (error) => {\n console.warn('Websocket connect error: ', error.message);\n });\n\n websocketConnection.instance.on(DISCONNECT, (reason) => {\n console.warn('Websocket disconnected: ', reason);\n updateSocketStatus(WebsocketConnectionStatusEnum.PENDING);\n });\n };\n\n if (\n websocketConnection.status ===\n WebsocketConnectionStatusEnum.NOT_INITIALIZED &&\n !websocketConnection.instance?.active\n ) {\n await initializeConnection();\n }\n\n return {\n closeConnection\n };\n}\n"],
5
+ "mappings": "6PAAA,OAAS,MAAAA,MAAU,mBAenB,IAAMC,EAAU,IACVC,EAAwB,EACxBC,EAAiB,IACjBC,EAAgB,IAChBC,EAAsB,eACtBC,EAAU,UACVC,EAAgB,gBAChBC,EAAa,aAInB,eAAsBC,EAA8BC,EAAiB,CACnE,GAAM,CAAE,WAAAC,EAAY,aAAcC,CAAmB,EAAIC,EACvDC,EAAS,EAAE,SAAS,CACtB,EAEA,GAAI,CAACJ,EACH,MAAM,IAAI,MAAM,qDAAqD,EAGvE,IAAIK,EAA8B,KAC9BC,EAA4B,KAG1BC,EAAsBC,GAA0C,CACpEC,EAAoB,OAASD,EAC7BE,EAAmBF,CAAM,CAC3B,EAEMG,EAAyBC,GAAoB,CAC7CP,GACF,aAAaA,CAAc,EAE7BA,EAAiB,WAAW,IAAM,CAChCQ,EAAkBD,CAAO,CAC3B,EAAGlB,CAAa,CAClB,EAEMoB,EAAqBC,GAA0C,CAC/DT,GACF,aAAaA,CAAY,EAE3BA,EAAe,WAAW,IAAM,CAC9BU,EAAuBD,CAAI,CAC7B,EAAGrB,CAAa,CAClB,EAEMuB,EAAkB,IAAM,CAC5B,IAAMC,EAAWT,EAAoB,SACjCS,IACFA,EAAS,IAAIrB,CAAa,EAC1BqB,EAAS,IAAItB,CAAO,EACpBsB,EAAS,IAAIvB,CAAmB,EAChCuB,EAAS,IAAIpB,CAAU,EACvBoB,EAAS,MAAM,EACf,QAAQ,IAAI,yBAAyB,GAGvCX,mBAAgE,EAChEE,EAAoB,SAAW,KAE3BJ,GACF,aAAaA,CAAc,EAGzBC,GACF,aAAaA,CAAY,CAE7B,EAEMa,EAAuB,SAAY,CACvCZ,WAAwD,EAExD,IAAIa,EAAe,GACnB,GAAI,CACFA,EAAelB,GAAuB,MAAMmB,EAAgBpB,CAAU,CACxE,OAASqB,EAAO,CACd,cAAQ,MAAM,+BAAgCA,CAAK,EACnDf,mBAAgE,EAC1De,CACR,CAEA,GAAI,CAACF,EAAc,CACjBb,mBAAgE,EAChE,MACF,CAEAE,EAAoB,SAAWc,EAAGH,EAAc,CAC9C,SAAU,GACV,aAAc,GACd,qBAAsB5B,EACtB,kBAAmBC,EACnB,QAASF,EACT,MAAO,CAAE,QAAAS,CAAQ,CACnB,CAAC,EAEDS,EAAoB,SAAS,MAAME,CAAqB,EAExDF,EAAoB,SAAS,GAAGd,EAAqBmB,CAAiB,EAEtEL,EAAoB,SAAS,GAAGb,EAAS,IAAM,CAC7C,QAAQ,IAAI,sBAAsB,EAClCW,aAA0D,CAC5D,CAAC,EAEDE,EAAoB,SAAS,GAAGZ,EAAgByB,GAAU,CACxD,QAAQ,KAAK,4BAA6BA,EAAM,OAAO,CACzD,CAAC,EAEDb,EAAoB,SAAS,GAAGX,EAAa0B,GAAW,CACtD,QAAQ,KAAK,2BAA4BA,CAAM,EAC/CjB,WAAwD,CAC1D,CAAC,CACH,EAEA,OACEE,EAAoB,4BAEpB,CAACA,EAAoB,UAAU,QAE/B,MAAMU,EAAqB,EAGtB,CACL,gBAAAF,CACF,CACF",
6
+ "names": ["io", "TIMEOUT", "RECONNECTION_ATTEMPTS", "RETRY_INTERVAL", "MESSAGE_DELAY", "BATCH_UPDATED_EVENT", "CONNECT", "CONNECT_ERROR", "DISCONNECT", "initializeWebsocketConnection", "address", "apiAddress", "customWebsocketUrl", "networkSelector", "getStore", "messageTimeout", "batchTimeout", "updateSocketStatus", "status", "websocketConnection", "setWebsocketStatus", "handleMessageReceived", "message", "setWebsocketEvent", "handleBatchUpdate", "data", "setWebsocketBatchEvent", "closeConnection", "instance", "initializeConnection", "websocketUrl", "getWebsocketUrl", "error", "io", "reason"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-YUFPUG5O.mjs";import{a as l}from"./chunk-7PE652LB.mjs";import{a as c}from"./chunk-AFLCI6IF.mjs";var p="Check if the MultiversX App is open on Ledger";async function v({manager:e,resolve:n,reject:d,shouldInitProvider:s}){let i=!c(),t=()=>v({manager:e,resolve:n,reject:d,shouldInitProvider:s}),o=()=>d("Device unavailable");try{e?.updateAccountScreen({isLoading:!0}),e&&i&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o});let r=await l({shouldInitProvider:s});e&&i&&e.unsubscribeFromProviderInit({handleRetry:t,handleCancel:o}),n(r)}catch(r){if(!i)throw r;let{errorMessage:u,defaultErrorMessage:g}=a(r);e?.updateConnectScreen({error:u??g??p}),e&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o})}}export{v as a};
2
- //# sourceMappingURL=chunk-AZA2GNTR.mjs.map
1
+ import{a as l}from"./chunk-YUFPUG5O.mjs";import{a}from"./chunk-XBIX2QET.mjs";import{a as c}from"./chunk-XXQ7FANC.mjs";var p="Check if the MultiversX App is open on Ledger";async function v({manager:e,resolve:n,reject:d,shouldInitProvider:s}){let i=!c(),t=()=>v({manager:e,resolve:n,reject:d,shouldInitProvider:s}),o=()=>d("Device unavailable");try{e?.updateAccountScreen({isLoading:!0}),e&&i&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o});let r=await a({shouldInitProvider:s});e&&i&&e.unsubscribeFromProviderInit({handleRetry:t,handleCancel:o}),n(r)}catch(r){if(!i)throw r;let{errorMessage:u,defaultErrorMessage:g}=l(r);e?.updateConnectScreen({error:u??g??p}),e&&e.subscribeToProviderInit({handleRetry:t,handleCancel:o})}}export{v as a};
2
+ //# sourceMappingURL=chunk-SFGR74WM.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as g}from"./chunk-G5N56FHJ.mjs";import{a as p}from"./chunk-WZ2DNB3R.mjs";import{a as f}from"./chunk-DFSBS3PX.mjs";import{a as I}from"./chunk-ZKBKYLAP.mjs";import{a as u}from"./chunk-VDDXFGB2.mjs";import{a as T}from"./chunk-YJCTRUJT.mjs";import{a as c}from"./chunk-QNELH2S2.mjs";var P=({transaction:t,isPending:o=!1,address:e,explorerAddress:l,egldLabel:n})=>{let{receiver:r,receiverAssets:i}=p(t),s=e===r,v=g({transaction:t,currentUserAddress:e,egldLabel:n,isPending:o}),a=f({userIsReceiver:r===e,transaction:t,egldLabel:n}),m=t.originalTxHash??t.txHash;return{asset:I({...t,transactionAssets:a,showDefaultState:o,status:t.status}),interactor:s?t.sender:r,interactorAsset:s?t.senderAssets?.iconSvg??t.senderAssets?.iconPng:i?.iconSvg??i?.iconPng,directionLabel:s?"From":"To",action:v,amount:u({transactionAssets:a,isIncomingTransaction:s}),hash:m,status:t.status,timestamp:t.timestamp,link:T({explorerAddress:l,to:c.transactionDetails(m)})}};export{P as a};
2
- //# sourceMappingURL=chunk-SALLGAGD.mjs.map
1
+ import{a as u}from"./chunk-VDDXFGB2.mjs";import{b as g}from"./chunk-5OMQOYP7.mjs";import{a as p}from"./chunk-WZ2DNB3R.mjs";import{a as f}from"./chunk-BHWSBAMZ.mjs";import{a as I}from"./chunk-ERDTZ52C.mjs";import{a as c}from"./chunk-YJCTRUJT.mjs";import{a as T}from"./chunk-QNELH2S2.mjs";var P=({transaction:t,isPending:o=!1,address:e,explorerAddress:l,egldLabel:n})=>{let{receiver:r,receiverAssets:i}=p(t),s=e===r,v=g({transaction:t,currentUserAddress:e,egldLabel:n,isPending:o}),a=f({userIsReceiver:r===e,transaction:t,egldLabel:n}),m=t.originalTxHash??t.txHash;return{asset:I({...t,transactionAssets:a,showDefaultState:o,status:t.status}),interactor:s?t.sender:r,interactorAsset:s?t.senderAssets?.iconSvg??t.senderAssets?.iconPng:i?.iconSvg??i?.iconPng,directionLabel:s?"From":"To",action:v,amount:u({transactionAssets:a,isIncomingTransaction:s}),hash:m,status:t.status,timestamp:t.timestamp,link:c({explorerAddress:l,to:T.transactionDetails(m)})}};export{P as a};
2
+ //# sourceMappingURL=chunk-SFXZJSEY.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-ATLICLWT.mjs";async function i(a){let n=e.getInstance();return await n.openUI(),{manager:n,onClose:async({shouldCancelAction:t=!0}={})=>{n.closeUI(),t&&a?.cancelAction&&await a.cancelAction()}}}export{i as a};
2
- //# sourceMappingURL=chunk-NAYC2B72.mjs.map
1
+ import{a as e}from"./chunk-TPXNYEOT.mjs";async function i(a){let n=e.getInstance();return await n.openUI(),{manager:n,onClose:async({shouldCancelAction:t=!0}={})=>{n.closeUI(),t&&a?.cancelAction&&await a.cancelAction()}}}export{i as a};
2
+ //# sourceMappingURL=chunk-SMCI4JNY.mjs.map
@@ -0,0 +1,2 @@
1
+ import{d as t}from"./chunk-7VHTZYM2.mjs";import{s as r}from"./chunk-4D2LHSRB.mjs";import{y as e}from"./chunk-2JKCBTYK.mjs";import i from"axios";var c=async(s,a={apiAddress:""})=>{let{data:o}=await i.get(`${a.apiAddress||t(r())}/${e}`,{params:{hashes:s.join(","),withScResults:!0}});return o};export{c as a};
2
+ //# sourceMappingURL=chunk-SMEKGCKH.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-URTM5OGN.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
- //# sourceMappingURL=chunk-XXSANEEO.mjs.map
1
+ import{a as t}from"./chunk-D5L63X7Y.mjs";async function i(n){if(!(typeof t.navigator<"u"&&t.navigator.product==="ReactNative"||!t))try{(await import("@multiversx/sdk-dapp-ui")).defineCustomElements(n)}catch(e){console.warn("@multiversx/sdk-dapp-ui not found"+e)}}export{i as a};
2
+ //# sourceMappingURL=chunk-SOGQ76CF.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as w}from"./chunk-2UVDW2RQ.mjs";import{a as p}from"./chunk-FOFGZVG5.mjs";import{a as O}from"./chunk-JBF3CPLK.mjs";import{a as M}from"./chunk-KR2GUJDQ.mjs";import{k as I,l as F,n as N}from"./chunk-E2GGD7D4.mjs";import{a as b,b as C,d as g,e as v,g as E,h as y,i as S}from"./chunk-VBNLRSKL.mjs";import{d as B}from"./chunk-HP2XUCRI.mjs";import{l as f}from"./chunk-M6MN4RXG.mjs";import{q as c}from"./chunk-4D2LHSRB.mjs";import{a as d}from"./chunk-PFR5VSL2.mjs";import A from"lodash.isequal";import l from"lodash.isequal";var m=class{constructor(t){this.toastsElement=null;this.eventBus=null;this.isCreatingElement=!1;this.eventBusUnsubscribeFunctions=[];this.onCloseToast=t.onCloseToast,this.store=t.store||c(),this.notificationsFeedManager=t.notificationsFeedManager||h.getInstance()}async init(){await this.subscribeToEventBusNotifications()}showToasts(){this.eventBus?.publish("SHOW_TOAST_LIST",null)}hideToasts(){this.eventBus?.publish("HIDE_TOAST_LIST",null)}async publishTransactionToasts(t){if(this.notificationsFeedManager.isNotificationsFeedOpen()&&this.eventBus){this.eventBus.publish("TRANSACTION_TOAST_DATA_UPDATE",t),this.hideToasts();return}if(!this.eventBus){let s=await this.createToastListElement();if(!s)return;this.eventBus=await s.getEventBus()}this.eventBus?.publish("TRANSACTION_TOAST_DATA_UPDATE",t)}async publishCustomToasts(t){this.eventBus?.publish("CUSTOM_TOAST_DATA_UPDATE",t)}handleOpenNotificationsFeed(){this.notificationsFeedManager.openNotificationsFeed()}destroy(){this.eventBusUnsubscribeFunctions.forEach(t=>t()),this.eventBusUnsubscribeFunctions=[],this.notificationsFeedManager?.destroy()}async createToastListElement(){return this.toastsElement?this.toastsElement:(this.isCreatingElement||(this.isCreatingElement=!0,this.toastsElement=await d.create({name:"mvx-toast-list"}),this.isCreatingElement=!1),this.toastsElement)}async subscribeToEventBusNotifications(){let t=await this.createToastListElement();if(t){if(this.eventBus=await t.getEventBus(),!this.eventBus)throw new Error("eventBus is not initialized");this.eventBus.subscribe("CLOSE_TOAST",this.onCloseToast),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("CLOSE_TOAST",this.onCloseToast)}),this.eventBus.subscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this)),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this))})}}};var u=class a{constructor(t){this.transactionToasts=[];this.customToasts=[];this.unsubscribeFromStore=()=>null;this.uiCoordinator=null;this.destroy(),this.store=t?.store||c(),this.lifetimeManager=t?.lifetimeManager??new O,this.uiCoordinator=t?.uiCoordinator??new m({onCloseToast:this.closeToast.bind(this)})}async init({successfulToastLifetime:t=5e3}={}){this.successfulToastLifetime=t,this.lifetimeManager.init({successfulToastLifetime:t}),await this.updateTransactionToastsList(),await this.updateCustomToastList(),await this.uiCoordinator?.init(),this.unsubscribeFromStore=this.store.subscribe(async({toasts:s,transactions:i},{toasts:e,transactions:o})=>{let n=!l(e.transactionToasts,s.transactionToasts),r=!l(o,i);(n||r)&&await this.updateTransactionToastsList(),!l(e.customToasts,s.customToasts)&&await this.updateCustomToastList()})}static getInstance(){return a.instance||(a.instance=new a),a.instance}handleCompletedTransaction(t){let{transactions:s}=this.store.getState(),i=s[t];if(!i)return!1;let{status:e}=i,o=N(e),n=F(e),r=I(e),T=n||r||o;return T?(this.successfulToastLifetime&&this.lifetimeManager.start(t),T):(this.lifetimeManager.stop(t),T)}async createTransactionToast(t,s){let i=E({toastId:t,totalDuration:s});return this.handleCompletedTransaction(t),await this.updateTransactionToastsList(),i}async createCustomToast(t){let s=S(t);return await this.updateCustomToastList(),s}async updateTransactionToastsList(){let t=this.store.getState(),{toasts:s}=t,{pendingTransactionToasts:i,completedTransactionToasts:e}=await p({store:t});this.transactionToasts=[...i,...e];for(let o of s.transactionToasts)this.handleCompletedTransaction(o.toastId);await this.publishTransactionToasts()}async updateCustomToastList(){let{toasts:t}=this.store.getState();this.customToasts=[];for(let s of t.customToasts){let e="message"in s?{...s}:{...s,instantiateToastElement:b[s.toastId]};this.customToasts.push(e),s.duration&&this.lifetimeManager.startWithCustomDuration(s.toastId,s.duration)}await this.uiCoordinator?.publishCustomToasts(this.customToasts)}handleTransactionToastClose(t){return this.handleCompletedTransaction(t)?(y(t),!0):!1}async showToasts(){this.uiCoordinator?.showToasts(),await this.updateCustomToastList(),await this.updateTransactionToastsList()}hideToasts(){this.uiCoordinator?.hideToasts()}closeToast(t){if(this.customToasts.find(i=>i.toastId===t)){this.lifetimeManager.stop(t);let i=C[t];return i?.(),g(t),!0}return this.handleTransactionToastClose(t)}async publishTransactionToasts(){await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts)}destroy(){this.unsubscribeFromStore(),this.lifetimeManager?.destroy(),this.uiCoordinator?.destroy(),v()}};var D="NOTIFICATIONS_FEED_STORE_SUBSCRIBE",h=class a extends M{constructor(s){super({uiDataUpdateEvent:"OPEN_NOTIFICATIONS_FEED",uiTag:"mvx-notifications-feed"});this.initialData={pendingTransactions:[],historicTransactions:[]};this.store=s||c(),this.data={...this.initialData}}static getInstance(){return a.instance||(a.instance=new a),a.instance}isNotificationsFeedOpen(){return this.isOpen}async openNotificationsFeed(){u.getInstance().hideToasts(),await this.openUI(),await this.updateDataAndNotifications();let i=this.store.subscribe(async({toasts:e,transactions:o},{toasts:n,transactions:r})=>{(!A(n.transactionToasts,e.transactionToasts)||!A(r,o))&&await this.updateDataAndNotifications()});this.unsubscribeFunctions.set(D,[i]),this.eventBus?.publish("OPEN_NOTIFICATIONS_FEED"),await this.updateDataAndNotifications()}async handleCloseUI(){let s=u.getInstance();this.closeUI(),await s.showToasts()}async setupEventListeners(){this.eventBus&&(this.subscribeToEventBus("CLOSE_NOTIFICATIONS_FEED",this.handleCloseUI.bind(this)),this.subscribeToEventBus("CLEAR_NOTIFICATIONS_FEED_HISTORY",this.handleClearNotificationsFeedHistory.bind(this)))}async updateDataAndNotifications(){let{transactions:s}=this.store.getState(),{pendingTransactionToasts:i}=await p();this.data.pendingTransactions=i;let e=Object.keys(s).reduce((o,n)=>(["sent","pending"].includes(String(s[n].status))||(o[n]=s[n]),o),{});this.data.historicTransactions=await w.getTransactionsHistory({transactionsSessions:e}),await this.updateNotificationsFeed()}handleClearNotificationsFeedHistory(){B(),this.resetData(),this.updateNotificationsFeed()}async updateNotificationsFeed(){this.eventBus&&(this.eventBus.publish("PENDING_TRANSACTIONS_UPDATE",this.data.pendingTransactions),this.eventBus.publish("TRANSACTIONS_HISTORY_UPDATE",this.data.historicTransactions))}};export{h as a,m as b,u as c};
2
+ //# sourceMappingURL=chunk-SQ7C3XLA.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts", "../../src/managers/ToastManager/ToastManager.ts", "../../src/managers/ToastManager/ToastUICoordinator.ts"],
4
+ "sourcesContent": ["import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { TransactionsHistoryController } from 'controllers/TransactionsHistoryController';\nimport { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';\nimport { clearCompletedTransactions } from 'store/actions/transactions/transactionsActions';\nimport { TransactionsSliceType } from 'store/slices/transactions/transactionsSlice.types';\nimport { getStore } from 'store/store';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\nimport { NotificationsFeedEventsEnum } from './types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { ToastManager } from '../ToastManager';\nimport { createToastsFromTransactions } from '../ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../ToastManager/types';\n\ninterface INotificationsFeedManagerData {\n pendingTransactions: ITransactionToast[];\n historicTransactions: ITransactionListItem[];\n}\n\nconst NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';\n\nexport class NotificationsFeedManager extends SidePanelBaseManager<\n MvxNotificationsFeed,\n INotificationsFeedManagerData,\n NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE\n> {\n private static instance: NotificationsFeedManager;\n private readonly store: ReturnType<typeof getStore>;\n\n protected initialData: INotificationsFeedManagerData = {\n pendingTransactions: [],\n historicTransactions: []\n };\n\n public static getInstance(): NotificationsFeedManager {\n if (!NotificationsFeedManager.instance) {\n NotificationsFeedManager.instance = new NotificationsFeedManager();\n }\n return NotificationsFeedManager.instance;\n }\n\n constructor(store?: ReturnType<typeof getStore>) {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.store = store || getStore();\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n /**\n * Open the notifications feed and toggle off the toast manager.\n */\n public async openNotificationsFeed(): Promise<void> {\n const toastManager = ToastManager.getInstance();\n toastManager.hideToasts();\n await this.openUI();\n await this.updateDataAndNotifications();\n\n const storeToastsUnsubscribe = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n await this.updateDataAndNotifications();\n }\n }\n );\n this.unsubscribeFunctions.set(NOTIFICATIONS_FEED_STORE_SUBSCRIBE, [\n storeToastsUnsubscribe\n ]);\n\n this.eventBus?.publish(NotificationsFeedEventsEnum.OPEN);\n await this.updateDataAndNotifications();\n }\n\n /**\n * Close the notifications feed and toggle on the toast manager.\n */\n protected async handleCloseUI() {\n const toastManager = ToastManager.getInstance();\n this.closeUI();\n await toastManager.showToasts();\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLOSE,\n this.handleCloseUI.bind(this)\n );\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLEAR,\n this.handleClearNotificationsFeedHistory.bind(this)\n );\n }\n\n protected async updateDataAndNotifications() {\n const { transactions } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions();\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n const transactionsSessions = Object.keys(transactions).reduce(\n (acc, key) => {\n const isPendingStatus = [\n TransactionBatchStatusesEnum.sent,\n `${TransactionServerStatusesEnum.pending}`\n ].includes(String(transactions[key].status));\n\n if (!isPendingStatus) {\n acc[key] = transactions[key];\n }\n return acc;\n },\n {} as TransactionsSliceType\n );\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions\n });\n\n await this.updateNotificationsFeed();\n }\n\n private handleClearNotificationsFeedHistory() {\n clearCompletedTransactions();\n this.resetData();\n this.updateNotificationsFeed();\n }\n\n private async updateNotificationsFeed() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,\n this.data.pendingTransactions\n );\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,\n this.data.historicTransactions\n );\n }\n}\n", "import isEqual from 'lodash.isequal';\nimport { DEFAULT_TOAST_LIFETIME } from 'constants/transactions.constants';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast,\n createCustomToast\n} from 'store/actions/toasts/toastsActions';\nimport {\n getIsTransactionFailed,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\n\nimport { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ToastUICoordinator } from './ToastUICoordinator';\nimport { ITransactionToast } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private readonly lifetimeManager: LifetimeManager;\n private store: ReturnType<typeof getStore>;\n private static instance: ToastManager;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private unsubscribeFromStore: () => void = () => null;\n private uiCoordinator: ToastUICoordinator | null = null;\n\n constructor(props?: {\n store?: ReturnType<typeof getStore>;\n lifetimeManager?: LifetimeManager;\n uiCoordinator?: ToastUICoordinator;\n }) {\n this.destroy();\n this.store = props?.store || getStore();\n this.lifetimeManager = props?.lifetimeManager ?? new LifetimeManager();\n this.uiCoordinator =\n props?.uiCoordinator ??\n new ToastUICoordinator({\n onCloseToast: this.closeToast.bind(this)\n });\n }\n\n public async init({\n successfulToastLifetime = DEFAULT_TOAST_LIFETIME\n }: IToastManager = {}) {\n this.successfulToastLifetime = successfulToastLifetime;\n\n this.lifetimeManager.init({ successfulToastLifetime });\n\n await this.updateTransactionToastsList();\n await this.updateCustomToastList();\n\n await this.uiCoordinator?.init();\n\n this.unsubscribeFromStore = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n const newToastsWereCreated = !isEqual(\n prevToasts.transactionToasts,\n toasts.transactionToasts\n );\n const checkBatchHasNewData = !isEqual(prevTransactions, transactions);\n\n if (newToastsWereCreated || checkBatchHasNewData) {\n await this.updateTransactionToastsList();\n }\n\n const newCustomToastsWereCreated = !isEqual(\n prevToasts.customToasts,\n toasts.customToasts\n );\n\n if (newCustomToastsWereCreated) {\n await this.updateCustomToastList();\n }\n }\n );\n }\n\n public static getInstance(): ToastManager {\n if (!ToastManager.instance) {\n ToastManager.instance = new ToastManager();\n }\n return ToastManager.instance;\n }\n\n private handleCompletedTransaction(toastId: string): boolean {\n const { transactions } = this.store.getState();\n const transaction = transactions[toastId];\n\n if (!transaction) {\n return false;\n }\n\n const { status } = transaction;\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isFailed || isSuccessful || isTimedOut;\n\n if (isCompleted) {\n if (this.successfulToastLifetime) {\n this.lifetimeManager.start(toastId);\n }\n return isCompleted;\n }\n\n this.lifetimeManager.stop(toastId);\n return isCompleted;\n }\n\n public async createTransactionToast(\n toastId: string,\n totalDuration: number\n ): Promise<string> {\n const newToastId = addTransactionToast({\n toastId,\n totalDuration\n });\n\n this.handleCompletedTransaction(toastId);\n await this.updateTransactionToastsList();\n return newToastId;\n }\n\n public async createCustomToast(toast: CustomToastType): Promise<string> {\n const toastId = createCustomToast(toast);\n await this.updateCustomToastList();\n return toastId;\n }\n\n private async updateTransactionToastsList() {\n const store = this.store.getState();\n const { toasts: toastList } = store;\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n store\n });\n\n this.transactionToasts = [\n ...pendingTransactionToasts,\n ...completedTransactionToasts\n ];\n\n for (const toast of toastList.transactionToasts) {\n this.handleCompletedTransaction(toast.toastId);\n }\n\n await this.publishTransactionToasts();\n }\n\n private async updateCustomToastList() {\n const { toasts: toastList } = this.store.getState();\n this.customToasts = [];\n\n for (const toast of toastList.customToasts) {\n const isSimpleToast = 'message' in toast;\n\n const newToast: CustomToastType = isSimpleToast\n ? { ...toast }\n : {\n ...toast,\n instantiateToastElement:\n customToastComponentDictionary[toast.toastId]\n };\n this.customToasts.push(newToast);\n\n if (toast.duration) {\n this.lifetimeManager.startWithCustomDuration(\n toast.toastId,\n toast.duration\n );\n }\n }\n await this.uiCoordinator?.publishCustomToasts(this.customToasts);\n }\n\n private handleTransactionToastClose(toastId: string): boolean {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n return true;\n }\n\n return false;\n }\n\n public async showToasts() {\n this.uiCoordinator?.showToasts();\n await this.updateCustomToastList();\n await this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.uiCoordinator?.hideToasts();\n }\n\n public closeToast(toastId: string): boolean {\n const customToast = this.customToasts.find(\n (toast) => toast.toastId === toastId\n );\n\n if (customToast) {\n this.lifetimeManager.stop(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n removeCustomToast(toastId);\n return true;\n }\n\n return this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts);\n }\n\n public destroy() {\n this.unsubscribeFromStore();\n this.lifetimeManager?.destroy();\n this.uiCoordinator?.destroy();\n removeAllCustomToasts();\n }\n}\n", "import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxToastList } from 'lib/sdkDappUi';\nimport { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';\nimport type { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { IEventBus } from 'types/manager.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { ComponentFactory } from 'utils/ComponentFactory';\nimport { ToastEventsEnum } from './types';\nimport type { ITransactionToast } from './types';\n\ntype OnCloseToastType = (toastId: string) => boolean;\ntype StoreObjectType = ReturnType<typeof getStore>;\n\nexport class ToastUICoordinator {\n private toastsElement: MvxToastList | null = null;\n private eventBus: IEventBus<\n ITransactionToast[] | CustomToastType[] | null\n > | null = null;\n private isCreatingElement = false;\n private eventBusUnsubscribeFunctions: (() => void)[] = [];\n private readonly notificationsFeedManager: NotificationsFeedManager;\n private readonly store: StoreObjectType;\n private readonly onCloseToast: OnCloseToastType;\n\n constructor(props: {\n onCloseToast: OnCloseToastType;\n store?: StoreObjectType;\n notificationsFeedManager?: NotificationsFeedManager;\n }) {\n this.onCloseToast = props.onCloseToast;\n this.store = props.store || getStore();\n this.notificationsFeedManager =\n props.notificationsFeedManager || NotificationsFeedManager.getInstance();\n }\n\n public async init() {\n await this.subscribeToEventBusNotifications();\n }\n\n public showToasts() {\n this.eventBus?.publish(ToastEventsEnum.SHOW, null);\n }\n\n public hideToasts() {\n this.eventBus?.publish(ToastEventsEnum.HIDE, null);\n }\n\n public async publishTransactionToasts(toasts: ITransactionToast[]) {\n if (\n this.notificationsFeedManager.isNotificationsFeedOpen() &&\n this.eventBus\n ) {\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n toasts\n );\n this.hideToasts();\n return;\n }\n\n if (!this.eventBus) {\n const toastsElement = await this.createToastListElement();\n if (!toastsElement) {\n return;\n }\n this.eventBus = await toastsElement.getEventBus();\n }\n\n this.eventBus?.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n toasts\n );\n }\n\n public async publishCustomToasts(customToasts: CustomToastType[]) {\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n customToasts\n );\n }\n\n private handleOpenNotificationsFeed() {\n this.notificationsFeedManager.openNotificationsFeed();\n }\n\n public destroy() {\n this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());\n this.eventBusUnsubscribeFunctions = [];\n this.notificationsFeedManager?.destroy();\n }\n\n private async createToastListElement(): Promise<MvxToastList | null> {\n if (this.toastsElement) {\n return this.toastsElement;\n }\n\n if (!this.isCreatingElement) {\n this.isCreatingElement = true;\n this.toastsElement = await ComponentFactory.create<MvxToastList>({\n name: UITagsEnum.TOAST_LIST\n });\n this.isCreatingElement = false;\n }\n\n return this.toastsElement;\n }\n\n private async subscribeToEventBusNotifications() {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n this.eventBus.subscribe(ToastEventsEnum.CLOSE, this.onCloseToast);\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(ToastEventsEnum.CLOSE, this.onCloseToast);\n });\n\n this.eventBus.subscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n });\n }\n}\n"],
5
+ "mappings": "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",
6
+ "names": ["isEqual", "isEqual", "ToastUICoordinator", "props", "getStore", "NotificationsFeedManager", "toasts", "toastsElement", "customToasts", "unsubscribe", "ComponentFactory", "ToastManager", "_ToastManager", "props", "getStore", "LifetimeManager", "ToastUICoordinator", "successfulToastLifetime", "toasts", "transactions", "prevToasts", "prevTransactions", "newToastsWereCreated", "isEqual", "checkBatchHasNewData", "toastId", "transaction", "status", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "totalDuration", "newToastId", "addTransactionToast", "toast", "createCustomToast", "store", "toastList", "pendingTransactionToasts", "completedTransactionToasts", "createToastsFromTransactions", "newToast", "customToastComponentDictionary", "removeTransactionToast", "handleClose", "customToastCloseHandlersDictionary", "removeCustomToast", "removeAllCustomToasts", "NOTIFICATIONS_FEED_STORE_SUBSCRIBE", "NotificationsFeedManager", "_NotificationsFeedManager", "SidePanelBaseManager", "store", "getStore", "ToastManager", "storeToastsUnsubscribe", "toasts", "transactions", "prevToasts", "prevTransactions", "isEqual", "toastManager", "pendingTransactionToasts", "createToastsFromTransactions", "transactionsSessions", "acc", "key", "TransactionsHistoryController", "clearCompletedTransactions"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as n}from"./chunk-BUJNOQZJ.mjs";import{a as m}from"./chunk-K4ITACAF.mjs";import{f as r}from"./chunk-PJWJZHIS.mjs";import{a as o,b as a}from"./chunk-LHEH7L4L.mjs";var d=({transaction:e,price:i})=>{let t=n({from:e.sender.toBech32(),to:e.receiver.toBech32(),gasPerDataByte:String(1500),gasPriceModifier:String(.01),gasLimit:e.gasLimit.valueOf().toString(),gasPrice:e.gasPrice.valueOf().toString(),data:e.data.toString(),chainId:e.chainID.valueOf().toString()}),c=r({input:t,showLastNonZeroDecimal:!0}),g=i?m({feeLimit:t,egldPriceInUsd:i,hideEqualSign:!0}):null;return{feeLimitFormatted:c,feeInFiatLimit:g,feeLimit:t}};export{d as a};
2
- //# sourceMappingURL=chunk-6F4OKEUQ.mjs.map
1
+ import{a as n}from"./chunk-5R7MHTVH.mjs";import{a as m}from"./chunk-K4ITACAF.mjs";import{a as o,b as a}from"./chunk-QNYO7NI5.mjs";import{f as r}from"./chunk-PJWJZHIS.mjs";var d=({transaction:e,price:i})=>{let t=n({from:e.sender.toBech32(),to:e.receiver.toBech32(),gasPerDataByte:String(1500),gasPriceModifier:String(.01),gasLimit:e.gasLimit.valueOf().toString(),gasPrice:e.gasPrice.valueOf().toString(),data:e.data.toString(),chainId:e.chainID.valueOf().toString()}),c=r({input:t,showLastNonZeroDecimal:!0}),g=i?m({feeLimit:t,egldPriceInUsd:i,hideEqualSign:!0}):null;return{feeLimitFormatted:c,feeInFiatLimit:g,feeLimit:t}};export{d as a};
2
+ //# sourceMappingURL=chunk-SYHILLXA.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as i}from"./chunk-O6ALDFLM.mjs";import{a}from"./chunk-H73D4VUZ.mjs";import{a as u}from"./chunk-CXAX5TAG.mjs";import{c as n}from"./chunk-NAYDJEWI.mjs";import{a as s}from"./chunk-URTM5OGN.mjs";var g=(o,t)=>{let r=`sdk-dapp-logout-event-${o}`,e=t.getItem(r);e&&o!==e||(t.setItem(r,o),t.removeItem(r))};async function L({provider:o,options:t={shouldBroadcastLogoutAcrossTabs:!0}}){let r=a();t.shouldBroadcastLogoutAcrossTabs&&s.localStorage&&g(r,s.localStorage);try{return u(),n.forEach(c=>c()),n.clear(),i.closeConnectionRef?.(),await o.logout()}catch(e){return console.error("Logging out error:",e),!1}}export{L as a};
2
- //# sourceMappingURL=chunk-OSG4UY2Z.mjs.map
1
+ import{a as i}from"./chunk-LWW4KDFK.mjs";import{c as n}from"./chunk-NMK74PUW.mjs";import{a}from"./chunk-R4BNJI2F.mjs";import{a as u}from"./chunk-UCWTYWB3.mjs";import{a as s}from"./chunk-D5L63X7Y.mjs";var g=(o,t)=>{let r=`sdk-dapp-logout-event-${o}`,e=t.getItem(r);e&&o!==e||(t.setItem(r,o),t.removeItem(r))};async function L({provider:o,options:t={shouldBroadcastLogoutAcrossTabs:!0}}){let r=a();t.shouldBroadcastLogoutAcrossTabs&&s.localStorage&&g(r,s.localStorage);try{return u(),n.forEach(c=>c()),n.clear(),i.closeConnectionRef?.(),await o.logout()}catch(e){return console.error("Logging out error:",e),!1}}export{L as a};
2
+ //# sourceMappingURL=chunk-SZNAMXXH.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-7CA6UKPK.mjs";import{b as T}from"./chunk-5KVNYLOM.mjs";import{c}from"./chunk-FTJF3Q3P.mjs";function y({transactions:s}){let e=[],a={};return!s||s.length===0?{allTransactions:e,parsedTransactionsByDataField:a}:(s.forEach((t,p)=>{let u=t.toPlainObject(),o=c(u?.data??""),r=l(o);if(r.length>0)r.forEach((n,i)=>{let m=i===r.length-1,d={transaction:t,multiTxData:n.data,transactionIndex:i,needsSigning:m};a[n.data]={tokenId:n.token?n.token:"",amount:n.amount?n.amount:"",type:n.type,nonce:n.nonce?n.nonce:"",multiTxData:n.data,receiver:n.receiver},e.push(d)});else{let{tokenId:n,amount:i}=T(o);n&&(a[o]={tokenId:n,amount:i,receiver:t.receiver.toBech32()}),e.push({transaction:t,transactionIndex:p,multiTxData:o,needsSigning:!0})}}),{allTransactions:e,parsedTransactionsByDataField:a})}export{y as a};
2
- //# sourceMappingURL=chunk-KDMYDO7R.mjs.map
1
+ import{a as l}from"./chunk-7CA6UKPK.mjs";import{b as T}from"./chunk-ZS4EBCWC.mjs";import{c}from"./chunk-PWAP64SN.mjs";function y({transactions:s}){let e=[],a={};return!s||s.length===0?{allTransactions:e,parsedTransactionsByDataField:a}:(s.forEach((t,p)=>{let u=t.toPlainObject(),o=c(u?.data??""),r=l(o);if(r.length>0)r.forEach((n,i)=>{let m=i===r.length-1,d={transaction:t,multiTxData:n.data,transactionIndex:i,needsSigning:m};a[n.data]={tokenId:n.token?n.token:"",amount:n.amount?n.amount:"",type:n.type,nonce:n.nonce?n.nonce:"",multiTxData:n.data,receiver:n.receiver},e.push(d)});else{let{tokenId:n,amount:i}=T(o);n&&(a[o]={tokenId:n,amount:i,receiver:t.receiver.toBech32()}),e.push({transaction:t,transactionIndex:p,multiTxData:o,needsSigning:!0})}}),{allTransactions:e,parsedTransactionsByDataField:a})}export{y as a};
2
+ //# sourceMappingURL=chunk-TD26OL6Y.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.ts"],
4
+ "sourcesContent": ["import type { Transaction } from '@multiversx/sdk-core';\n\nimport {\n MultiSignTransactionType,\n TransactionsDataTokensType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { getTokenFromData } from 'utils/transactions/getInterpretedTransaction/helpers/getTokenFromData';\nimport { parseMultiEsdtTransferData } from './parseMultiEsdtTransferData';\n\nexport function parseMultiEsdtTransferDataForMultipleTransactions({\n transactions\n}: {\n transactions?: Transaction[];\n}) {\n const allTransactions: MultiSignTransactionType[] = [];\n const parsedTransactionsByDataField: TransactionsDataTokensType = {};\n\n if (!transactions || transactions.length === 0) {\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n }\n\n transactions.forEach((transaction, transactionIndex) => {\n const plainTransaction = transaction.toPlainObject();\n const txData = decodeBase64(plainTransaction?.data ?? '');\n const multiTxs = parseMultiEsdtTransferData(txData);\n\n if (multiTxs.length > 0) {\n multiTxs.forEach((trx, idx) => {\n const isLastView = idx === multiTxs.length - 1;\n\n const newTx: MultiSignTransactionType = {\n transaction,\n multiTxData: trx.data,\n transactionIndex: idx,\n needsSigning: isLastView\n };\n\n parsedTransactionsByDataField[trx.data] = {\n tokenId: trx.token ? trx.token : '',\n amount: trx.amount ? trx.amount : '',\n type: trx.type,\n nonce: trx.nonce ? trx.nonce : '',\n multiTxData: trx.data,\n receiver: trx.receiver\n };\n\n allTransactions.push(newTx);\n });\n } else {\n const { tokenId, amount } = getTokenFromData(txData);\n\n if (tokenId) {\n parsedTransactionsByDataField[txData] = {\n tokenId,\n amount,\n receiver: transaction.receiver.toBech32()\n };\n }\n allTransactions.push({\n transaction,\n transactionIndex,\n multiTxData: txData,\n needsSigning: true\n });\n }\n });\n\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n}\n"],
5
+ "mappings": "sHAUO,SAASA,EAAkD,CAChE,aAAAC,CACF,EAEG,CACD,IAAMC,EAA8C,CAAC,EAC/CC,EAA4D,CAAC,EAEnE,MAAI,CAACF,GAAgBA,EAAa,SAAW,EACpC,CACL,gBAAAC,EACA,8BAAAC,CACF,GAGFF,EAAa,QAAQ,CAACG,EAAaC,IAAqB,CACtD,IAAMC,EAAmBF,EAAY,cAAc,EAC7CG,EAASC,EAAaF,GAAkB,MAAQ,EAAE,EAClDG,EAAWC,EAA2BH,CAAM,EAElD,GAAIE,EAAS,OAAS,EACpBA,EAAS,QAAQ,CAACE,EAAKC,IAAQ,CAC7B,IAAMC,EAAaD,IAAQH,EAAS,OAAS,EAEvCK,EAAkC,CACtC,YAAAV,EACA,YAAaO,EAAI,KACjB,iBAAkBC,EAClB,aAAcC,CAChB,EAEAV,EAA8BQ,EAAI,IAAI,EAAI,CACxC,QAASA,EAAI,MAAQA,EAAI,MAAQ,GACjC,OAAQA,EAAI,OAASA,EAAI,OAAS,GAClC,KAAMA,EAAI,KACV,MAAOA,EAAI,MAAQA,EAAI,MAAQ,GAC/B,YAAaA,EAAI,KACjB,SAAUA,EAAI,QAChB,EAEAT,EAAgB,KAAKY,CAAK,CAC5B,CAAC,MACI,CACL,GAAM,CAAE,QAAAC,EAAS,OAAAC,CAAO,EAAIC,EAAiBV,CAAM,EAE/CQ,IACFZ,EAA8BI,CAAM,EAAI,CACtC,QAAAQ,EACA,OAAAC,EACA,SAAUZ,EAAY,SAAS,SAAS,CAC1C,GAEFF,EAAgB,KAAK,CACnB,YAAAE,EACA,iBAAAC,EACA,YAAaE,EACb,aAAc,EAChB,CAAC,CACH,CACF,CAAC,EAEM,CACL,gBAAAL,EACA,8BAAAC,CACF,EACF",
6
+ "names": ["parseMultiEsdtTransferDataForMultipleTransactions", "transactions", "allTransactions", "parsedTransactionsByDataField", "transaction", "transactionIndex", "plainTransaction", "txData", "decodeBase64", "multiTxs", "parseMultiEsdtTransferData", "trx", "idx", "isLastView", "newTx", "tokenId", "amount", "getTokenFromData"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-UPABDY55.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
- //# sourceMappingURL=chunk-TMRKN7VL.mjs.map
1
+ import{a as e}from"./chunk-WGFZEQNT.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:"",walletConnectDeepLink:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
+ //# sourceMappingURL=chunk-TJKB7YME.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as t}from"./chunk-N4KX33RW.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
- //# sourceMappingURL=chunk-ATLICLWT.mjs.map
1
+ import{a as t}from"./chunk-KR2GUJDQ.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
+ //# sourceMappingURL=chunk-TPXNYEOT.mjs.map
@@ -1,2 +1,2 @@
1
1
  import{k as n,l as s,m as r}from"./chunk-E2GGD7D4.mjs";function f(e){return!e||e.length===0?"invalid":e.every(t=>n(t.status))?"success":e.some(t=>s(t.status))?"fail":e.every(t=>r(t.status))?"invalid":null}export{f as a};
2
- //# sourceMappingURL=chunk-N55JEIM6.mjs.map
2
+ //# sourceMappingURL=chunk-TWYGNEQS.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/TransactionManager/helpers/getTransactionsStatus.ts"],
4
+ "sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionNotExecuted,\n getIsTransactionSuccessful\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\nimport { SignedTransactionType } from 'types/transactions.types';\n\nexport function getTransactionsSessionStatus(\n transactions: SignedTransactionType[]\n): TransactionBatchStatusesEnum | null {\n if (!transactions || transactions.length === 0) {\n return TransactionBatchStatusesEnum.invalid;\n }\n\n const areAllSuccessful = transactions.every((transaction) =>\n getIsTransactionSuccessful(transaction.status)\n );\n\n if (areAllSuccessful) {\n return TransactionBatchStatusesEnum.success;\n }\n\n const areAnyFailed = transactions.some((transaction) =>\n getIsTransactionFailed(transaction.status)\n );\n\n if (areAnyFailed) {\n return TransactionBatchStatusesEnum.fail;\n }\n\n const areAllNotExecuted = transactions.every((transaction) =>\n getIsTransactionNotExecuted(transaction.status)\n );\n\n if (areAllNotExecuted) {\n return TransactionBatchStatusesEnum.invalid;\n }\n\n return null;\n}\n"],
5
+ "mappings": "uDAQO,SAASA,EACdC,EACqC,CACrC,MAAI,CAACA,GAAgBA,EAAa,SAAW,YAIpBA,EAAa,MAAOC,GAC3CC,EAA2BD,EAAY,MAAM,CAC/C,YAMqBD,EAAa,KAAMC,GACtCE,EAAuBF,EAAY,MAAM,CAC3C,SAM0BD,EAAa,MAAOC,GAC5CG,EAA4BH,EAAY,MAAM,CAChD,YAMO,IACT",
6
+ "names": ["getTransactionsSessionStatus", "transactions", "transaction", "getIsTransactionSuccessful", "getIsTransactionFailed", "getIsTransactionNotExecuted"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-6LOIZTC6.mjs";import{a as r}from"./chunk-EZKCZPIE.mjs";import{a as t}from"./chunk-DLCBEPEX.mjs";import{a as o}from"./chunk-JTV664SG.mjs";var a={network:{network:e},account:o,loginInfo:r,config:t,transactions:{},toasts:{customToasts:[],transactionToasts:[]},cache:{},ui:{isSidePanelOpen:!1}};export{a};
2
- //# sourceMappingURL=chunk-ZNPHUPAP.mjs.map
1
+ import{a as e}from"./chunk-6LOIZTC6.mjs";import{a as r}from"./chunk-EZKCZPIE.mjs";import{a as t}from"./chunk-FE54XZXM.mjs";import{a as o}from"./chunk-IHSJITVR.mjs";var a={network:{network:e},account:o,loginInfo:r,config:t,transactions:{},toasts:{customToasts:[],transactionToasts:[]},cache:{},ui:{isSidePanelOpen:!1}};export{a};
2
+ //# sourceMappingURL=chunk-UBP7VBFB.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as r}from"./chunk-55W25Q35.mjs";import{a as s}from"./chunk-QHGCAYUB.mjs";import o from"lodash.isempty";var e=async({transactionsSessions:t})=>{if(o(t))return[];let i=r(t);return s({transactions:i})};export{e as a};
2
+ //# sourceMappingURL=chunk-UBQUZNLX.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/utils/transactions/getTransactionsHistory/getTransactionsHistory.ts"],
4
+ "sourcesContent": ["import isEmpty from 'lodash.isempty';\nimport { ITransactionListItem } from 'lib/sdkDappUi';\nimport type { IGetHistoricalTransactionsParams } from 'types/transaction-list-item.types';\nimport { createTransactionsHistoryFromSessions } from './helpers/createTransactionsHistoryFromSessions';\nimport { mapServerTransactionsToListItems } from './helpers/mapServerTransactionsToListItems';\n\nexport const getTransactionsHistory = async ({\n transactionsSessions\n}: IGetHistoricalTransactionsParams): Promise<ITransactionListItem[]> => {\n if (isEmpty(transactionsSessions)) {\n return [];\n }\n\n const signedTransactions =\n createTransactionsHistoryFromSessions(transactionsSessions);\n\n return mapServerTransactionsToListItems({\n transactions: signedTransactions\n });\n};\n"],
5
+ "mappings": "kFAAA,OAAOA,MAAa,iBAMb,IAAMC,EAAyB,MAAO,CAC3C,qBAAAC,CACF,IAAyE,CACvE,GAAIC,EAAQD,CAAoB,EAC9B,MAAO,CAAC,EAGV,IAAME,EACJC,EAAsCH,CAAoB,EAE5D,OAAOI,EAAiC,CACtC,aAAcF,CAChB,CAAC,CACH",
6
+ "names": ["isEmpty", "getTransactionsHistory", "transactionsSessions", "isEmpty", "signedTransactions", "createTransactionsHistoryFromSessions", "mapServerTransactionsToListItems"]
7
+ }
@@ -1,2 +1,2 @@
1
- import{j as n,q as o}from"./chunk-XNSSZDSU.mjs";import{c as p}from"./chunk-NTEMINYA.mjs";var s=()=>o().setState(n),l=({address:e,providerType:t})=>{o().setState(({account:r,loginInfo:i})=>{r.address=e,r.publicKey=new p(e).toHex(),i&&(i.providerType=t)},!1,{type:"loginAction",payload:{value:{address:e,providerType:t}}})};export{s as a,l as b};
2
- //# sourceMappingURL=chunk-CXAX5TAG.mjs.map
1
+ import{j as n,q as o}from"./chunk-4D2LHSRB.mjs";import{c as p}from"./chunk-NTEMINYA.mjs";var s=()=>o().setState(n),l=({address:e,providerType:t})=>{o().setState(({account:r,loginInfo:i})=>{r.address=e,r.publicKey=new p(e).toHex(),i&&(i.providerType=t)},!1,{type:"loginAction",payload:{value:{address:e,providerType:t}}})};export{s as a,l as b};
2
+ //# sourceMappingURL=chunk-UCWTYWB3.mjs.map
@@ -0,0 +1,2 @@
1
+ import{b as t}from"./chunk-GVAJPM5C.mjs";var c=o=>t(o);export{c as a};
2
+ //# sourceMappingURL=chunk-UMJE36YK.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-X4P6NIGX.mjs";import{c as n}from"./chunk-4D2LHSRB.mjs";async function c({loginToken:r,extraInfoData:i,address:e}){let o=await t({originalLoginToken:r,extraInfoData:i,address:e});return o.modifiedLoginToken&&n(o.modifiedLoginToken),o.address}export{c as a};
2
+ //# sourceMappingURL=chunk-UXP5UK2L.mjs.map
@@ -0,0 +1,2 @@
1
+ var t=({config:e})=>e,o=({config:e})=>e.nativeAuthConfig,r=({config:e})=>e.walletConnectConfig,n=({config:e})=>e.settings;export{t as a,o as b,r as c,n as d};
2
+ //# sourceMappingURL=chunk-V5ZSFCKJ.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/store/selectors/configSelectors.ts"],
4
- "sourcesContent": ["import { StoreType } from 'store/store.types';\n\nexport const configSelector = ({ config }: StoreType) => config;\n\nexport const nativeAuthConfigSelector = ({ config }: StoreType) =>\n config.nativeAuthConfig;\n\nexport const walletConnectConfigSelector = ({ config }: StoreType) => {\n return config.walletConnectConfig;\n};\n"],
5
- "mappings": "AAEO,IAAMA,EAAiB,CAAC,CAAE,OAAAC,CAAO,IAAiBA,EAE5CC,EAA2B,CAAC,CAAE,OAAAD,CAAO,IAChDA,EAAO,iBAEIE,EAA8B,CAAC,CAAE,OAAAF,CAAO,IAC5CA,EAAO",
6
- "names": ["configSelector", "config", "nativeAuthConfigSelector", "walletConnectConfigSelector"]
4
+ "sourcesContent": ["import { StoreType } from 'store/store.types';\n\nexport const configSelector = ({ config }: StoreType) => config;\n\nexport const nativeAuthConfigSelector = ({ config }: StoreType) =>\n config.nativeAuthConfig;\n\nexport const walletConnectConfigSelector = ({ config }: StoreType) => {\n return config.walletConnectConfig;\n};\n\nexport const providerSettingsSelector = ({ config }: StoreType) => {\n return config.settings;\n};\n"],
5
+ "mappings": "AAEO,IAAMA,EAAiB,CAAC,CAAE,OAAAC,CAAO,IAAiBA,EAE5CC,EAA2B,CAAC,CAAE,OAAAD,CAAO,IAChDA,EAAO,iBAEIE,EAA8B,CAAC,CAAE,OAAAF,CAAO,IAC5CA,EAAO,oBAGHG,EAA2B,CAAC,CAAE,OAAAH,CAAO,IACzCA,EAAO",
6
+ "names": ["configSelector", "config", "nativeAuthConfigSelector", "walletConnectConfigSelector", "providerSettingsSelector"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk-NJN53MJV.mjs";import{a as r}from"./chunk-YSCND2MX.mjs";import{q as n}from"./chunk-4D2LHSRB.mjs";var l={},u={},p=(t,o)=>{n().setState(({toasts:s})=>{let a=s.customToasts.length>0?Math.max(...s.customToasts.map(m=>parseInt(m.toastId.split("-").pop()??"0"))):0,e=o??`custom-toast-${a+1}`,T=s.customToasts.findIndex(m=>m.toastId===e),i={...t,toastId:e};if(T!==-1){s.customToasts[T]=i;return}s.customToasts.push({...i,toastId:e})},!1,{type:"addCustomToast",payload:{value:{customToast:t,currentToastId:o}}})},C=t=>{n().setState(({toasts:o})=>{o.customToasts=o.customToasts.filter(s=>s.toastId!==t)},!1,{type:"removeCustomToast",payload:{value:t}})},f=()=>{n().setState(({toasts:t})=>{t.customToasts=[]},!1,{type:"removeAllCustomToasts",payload:{value:null}})},g=()=>{n().setState(({toasts:t})=>{t.transactionToasts=[]})},y=({toastId:t,totalDuration:o})=>{let s="";return n().setState(({toasts:a})=>{let e=a.transactionToasts.length>0?Math.max(...a.transactionToasts.map(T=>parseInt(T.toastId.split("-").pop()??"0"))):0;s=t??`transaction-toast-${e+1}`,a.transactionToasts.push({startTime:r(),endTime:c(o),toastId:s})},!1,"addTransactionToast"),s},v=t=>{n().setState(({toasts:o})=>{o.transactionToasts=o.transactionToasts.filter(s=>s.toastId!==t)},!1,"removeTransactionToast"),delete u[t],delete l[t]},h=t=>{let{toasts:o}=n().getState(),s=o.customToasts.length>0?Math.max(...o.customToasts.map(e=>parseInt(e.toastId.split("-").pop()??"0"))):0,a=t.toastId||`custom-toast-${s+1}`;return t.onClose&&(u[a]=t.onClose),t.instantiateToastElement?(l[a]=t.instantiateToastElement,n().setState(({toasts:e})=>{let T=e.customToasts.findIndex(m=>m.toastId===a),i={...t,instantiateToastElement:null,toastId:a};T!==-1?e.customToasts[T]=i:e.customToasts.push(i)},!1,"createCustomToast"),a):(p(t,a),a)};export{l as a,u as b,p as c,C as d,f as e,g as f,y as g,v as h,h as i};
2
+ //# sourceMappingURL=chunk-VBNLRSKL.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/store/actions/toasts/toastsActions.ts"],
4
+ "sourcesContent": ["import {\n CustomToastType,\n IComponentToast\n} from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport {\n getUnixTimestamp,\n getUnixTimestampWithAddedMilliseconds\n} from 'utils/dateTime';\n\nexport const customToastComponentDictionary: Record<\n string,\n IComponentToast['instantiateToastElement']\n> = {};\nexport const customToastCloseHandlersDictionary: Record<string, () => void> =\n {};\n\nexport const addCustomToast = (\n customToast: CustomToastType,\n currentToastId?: string\n) => {\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.customToasts.length > 0\n ? Math.max(\n ...state.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n const toastId = currentToastId ?? `custom-toast-${lastToastIndex + 1}`;\n\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const newToast: CustomToastType = {\n ...customToast,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = newToast;\n return;\n }\n\n state.customToasts.push({\n ...newToast,\n toastId\n });\n },\n false,\n {\n type: 'addCustomToast',\n // @ts-ignore\n payload: {\n value: { customToast, currentToastId }\n }\n }\n );\n};\n\nexport const removeCustomToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = state.customToasts.filter(\n (toast) => toast.toastId !== toastId\n );\n },\n false,\n {\n type: 'removeCustomToast',\n // @ts-ignore\n payload: {\n value: toastId\n }\n }\n );\n};\n\nexport const removeAllCustomToasts = () => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = [];\n },\n false,\n {\n type: 'removeAllCustomToasts',\n // @ts-ignore\n payload: {\n value: null\n }\n }\n );\n};\n\nexport const removeAllTransactionToasts = () => {\n getStore().setState(({ toasts: state }) => {\n state.transactionToasts = [];\n });\n};\n\nexport const addTransactionToast = ({\n toastId,\n totalDuration\n}: {\n toastId: string;\n totalDuration: number;\n}): string => {\n let newToastId: string = '';\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.transactionToasts.length > 0\n ? Math.max(\n ...state.transactionToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n newToastId = toastId ?? `transaction-toast-${lastToastIndex + 1}`;\n\n state.transactionToasts.push({\n startTime: getUnixTimestamp(),\n endTime: getUnixTimestampWithAddedMilliseconds(totalDuration),\n toastId: newToastId\n });\n },\n false,\n 'addTransactionToast'\n );\n\n return newToastId;\n};\n\nexport const removeTransactionToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.transactionToasts = state.transactionToasts.filter((toast) => {\n return toast.toastId !== toastId;\n });\n },\n false,\n 'removeTransactionToast'\n );\n\n delete customToastCloseHandlersDictionary[toastId];\n delete customToastComponentDictionary[toastId];\n};\n\nexport const createCustomToast = (props: CustomToastType) => {\n const { toasts } = getStore().getState();\n\n const lastToastIndex =\n toasts.customToasts.length > 0\n ? Math.max(\n ...toasts.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n\n const toastId = props.toastId || `custom-toast-${lastToastIndex + 1}`;\n\n if (props.onClose) {\n customToastCloseHandlersDictionary[toastId] = props.onClose;\n }\n\n if (props.instantiateToastElement) {\n customToastComponentDictionary[toastId] = props.instantiateToastElement;\n\n getStore().setState(\n ({ toasts: state }) => {\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const toast: CustomToastType = {\n ...props,\n instantiateToastElement: null,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = toast;\n } else {\n state.customToasts.push(toast);\n }\n },\n false,\n 'createCustomToast'\n );\n\n return toastId;\n }\n\n addCustomToast(props, toastId);\n return toastId;\n};\n"],
5
+ "mappings": "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",
6
+ "names": ["customToastComponentDictionary", "customToastCloseHandlersDictionary", "addCustomToast", "customToast", "currentToastId", "getStore", "state", "lastToastIndex", "toast", "toastId", "existingToastIndex", "newToast", "removeCustomToast", "removeAllCustomToasts", "removeAllTransactionToasts", "addTransactionToast", "totalDuration", "newToastId", "getUnixTimestamp", "getUnixTimestampWithAddedMilliseconds", "removeTransactionToast", "createCustomToast", "props", "toasts"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk-NGM3AVCY.mjs";import{s as u}from"./chunk-4D2LHSRB.mjs";import{e as s}from"./chunk-FK6DWWZF.mjs";function x(n){let e=u(),o=a(e),c=s(e),t=Object.keys(o).map(Number).reduce((r,m)=>{let i=o[m]?.transactions||[];return Math.max(r,...i.map(l=>l.nonce),0)},0);return t>0&&(t+=1),n==null?Math.max(t,c):Math.max(t,n.nonce,c)}export{x as a};
2
+ //# sourceMappingURL=chunk-VBWYZ6ZU.mjs.map
@@ -1,2 +1,2 @@
1
1
  import{a as _,b as E,c as O,d as M,e as f,f as g}from"./chunk-FI444OX3.mjs";function N(o,e){let n,i,I=/(\.0+)+$/,s=o.replace(I,"").split("."),r=e.replace(I,"").split("."),d=Math.min(s.length,r.length);for(n=0;n<d;n++)if(i=parseInt(s[n],10)-parseInt(r[n],10),i)return i;return s.length-r.length}function S(o){let e=[_,E,O,M,f,g,o].sort((c,l)=>N(c,l)),n=e.indexOf(_),i=e.indexOf(E),I=e.indexOf(O),s=e.indexOf(M),r=e.indexOf(f),d=e.indexOf(g),t=e.indexOf(o);return{ledgerWithMultiAccount:t>=n,ledgerWithHashSign:t>=i,ledgerWithSignAuthToken:t>=I,ledgerWithWhitelistedTokens:t>=s,ledgerWithGuardians:t>=r,ledgerWithUsernames:t>=d}}var x=S;export{S as a,x as b};
2
- //# sourceMappingURL=chunk-BCSNXRMR.mjs.map
2
+ //# sourceMappingURL=chunk-VCPH27TY.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.ts"],
4
+ "sourcesContent": ["import {\n LEDGER_HASH_SIGN_MINIMUM_VERSION,\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION\n} from 'constants/ledger.constants';\n\nfunction compareVersions(a: string, b: string) {\n let i, diff;\n const regExStrip0 = /(\\.0+)+$/;\n const segmentsA = a.replace(regExStrip0, '').split('.');\n const segmentsB = b.replace(regExStrip0, '').split('.');\n const l = Math.min(segmentsA.length, segmentsB.length);\n\n for (i = 0; i < l; i++) {\n diff = parseInt(segmentsA[i], 10) - parseInt(segmentsB[i], 10);\n if (diff) {\n return diff;\n }\n }\n return segmentsA.length - segmentsB.length;\n}\n\nexport function getLedgerVersionOptions(version: string) {\n const sortedVersions = [\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION,\n LEDGER_HASH_SIGN_MINIMUM_VERSION,\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION,\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION,\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION,\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION,\n version\n ].sort((a, b) => compareVersions(a, b));\n\n const indexOfMultiAccount = sortedVersions.indexOf(\n LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION\n );\n const indexOfHashSign = sortedVersions.indexOf(\n LEDGER_HASH_SIGN_MINIMUM_VERSION\n );\n const indexOfSignAuthToken = sortedVersions.indexOf(\n LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION\n );\n const indexOfWhitelistedTokens = sortedVersions.indexOf(\n LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION\n );\n const indexOfGuardians = sortedVersions.indexOf(\n LEDGER_WITH_GUARDIANS_MINIMUM_VERSION\n );\n const indexOfUsernames = sortedVersions.indexOf(\n LEDGER_WITH_USERNAMES_MINIMUM_VERSION\n );\n const indexOfVersion = sortedVersions.indexOf(version);\n\n return {\n ledgerWithMultiAccount: indexOfVersion >= indexOfMultiAccount,\n ledgerWithHashSign: indexOfVersion >= indexOfHashSign,\n ledgerWithSignAuthToken: indexOfVersion >= indexOfSignAuthToken,\n ledgerWithWhitelistedTokens: indexOfVersion >= indexOfWhitelistedTokens,\n ledgerWithGuardians: indexOfVersion >= indexOfGuardians,\n ledgerWithUsernames: indexOfVersion >= indexOfUsernames\n };\n}\n\nexport default getLedgerVersionOptions;\n"],
5
+ "mappings": "4EASA,SAASA,EAAgBC,EAAWC,EAAW,CAC7C,IAAIC,EAAGC,EACDC,EAAc,WACdC,EAAYL,EAAE,QAAQI,EAAa,EAAE,EAAE,MAAM,GAAG,EAChDE,EAAYL,EAAE,QAAQG,EAAa,EAAE,EAAE,MAAM,GAAG,EAChDG,EAAI,KAAK,IAAIF,EAAU,OAAQC,EAAU,MAAM,EAErD,IAAKJ,EAAI,EAAGA,EAAIK,EAAGL,IAEjB,GADAC,EAAO,SAASE,EAAUH,CAAC,EAAG,EAAE,EAAI,SAASI,EAAUJ,CAAC,EAAG,EAAE,EACzDC,EACF,OAAOA,EAGX,OAAOE,EAAU,OAASC,EAAU,MACtC,CAEO,SAASE,EAAwBC,EAAiB,CACvD,IAAMC,EAAiB,CACrBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAP,CACF,EAAE,KAAK,CAACT,EAAGC,IAAMF,EAAgBC,EAAGC,CAAC,CAAC,EAEhCgB,EAAsBP,EAAe,QACzCC,CACF,EACMO,EAAkBR,EAAe,QACrCE,CACF,EACMO,EAAuBT,EAAe,QAC1CG,CACF,EACMO,EAA2BV,EAAe,QAC9CI,CACF,EACMO,EAAmBX,EAAe,QACtCK,CACF,EACMO,EAAmBZ,EAAe,QACtCM,CACF,EACMO,EAAiBb,EAAe,QAAQD,CAAO,EAErD,MAAO,CACL,uBAAwBc,GAAkBN,EAC1C,mBAAoBM,GAAkBL,EACtC,wBAAyBK,GAAkBJ,EAC3C,4BAA6BI,GAAkBH,EAC/C,oBAAqBG,GAAkBF,EACvC,oBAAqBE,GAAkBD,CACzC,CACF,CAEA,IAAOE,EAAQhB",
6
+ "names": ["compareVersions", "a", "b", "i", "diff", "regExStrip0", "segmentsA", "segmentsB", "l", "getLedgerVersionOptions", "version", "sortedVersions", "LEDGER_MULTI_ACCOUNT_MINIMUM_VERSION", "LEDGER_HASH_SIGN_MINIMUM_VERSION", "LEDGER_SIGN_AUTH_TOKEN_MINIMUM_VERSION", "LEDGER_WITH_WHITELISTED_TOKENS_MINIMUM_VERSION", "LEDGER_WITH_GUARDIANS_MINIMUM_VERSION", "LEDGER_WITH_USERNAMES_MINIMUM_VERSION", "indexOfMultiAccount", "indexOfHashSign", "indexOfSignAuthToken", "indexOfWhitelistedTokens", "indexOfGuardians", "indexOfUsernames", "indexOfVersion", "getLedgerVersionOptions_default"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{a as d}from"./chunk-I3ILB737.mjs";import{a as i}from"./chunk-XA6ZDGIQ.mjs";var m=({data:o,decodeMethod:e,delimiter:r,identifier:c})=>{let t=o.split("@"),n=t.map(g=>i({data:g,decodeMethod:e}));return d({parts:t,initialDecodedParts:n,identifier:c,decodeMethod:e}).join(r)};export{m as a};
2
+ //# sourceMappingURL=chunk-VGDWWBLN.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as U}from"./chunk-2RTOYKHB.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as B}from"./chunk-3XTYIGW5.mjs";import{a as $}from"./chunk-OIRXFS5Q.mjs";import{a as _}from"./chunk-4SS6EY66.mjs";import{a as R}from"./chunk-6F4OKEUQ.mjs";import{a as M}from"./chunk-YGI3KXMZ.mjs";import{a as w}from"./chunk-5KYXNO4J.mjs";import{a as v}from"./chunk-RYIJWGFA.mjs";import{z as x}from"./chunk-C72ZHRFA.mjs";import{a as O}from"./chunk-YJCTRUJT.mjs";import{a as C,c as F,f}from"./chunk-PJWJZHIS.mjs";import{a as L}from"./chunk-2JKCBTYK.mjs";import{c as G}from"./chunk-FTJF3Q3P.mjs";import{k as h}from"./chunk-LHEH7L4L.mjs";import{a as A}from"./chunk-URTM5OGN.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:o,network:n,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:o,sender:W,apiAddress:n.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},Z=g&&l&&l.length>0?`${g}-${l}`:g,J=await w({tokenId:Z}),{esdtPrice:Q,tokenDecimals:X,type:r,identifier:a,tokenImageUrl:Y}=J;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Y};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(n.decimals):X,digits:Number(n.digits),showLastNonZeroDecimal:!1,addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:Q),ut=M({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===h?o:a)??o,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:ot}=R({transaction:p,price:S}),nt=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:n.gasStationMetadata}),{gasPriceOption:N}=T,et=x().getType(),it=v(et),k=u.length,rt=e.length>0?e[e.length-1]+1:0,P=G(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=O({to:`/${L}/${m}`,explorerAddress:st}),ct=k===1||t?.needsSigning&&!e.includes(s),pt=f({input:N.toString(),decimals:F,addCommas:!0,digits:C}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:N,gasPriceOptions:nt,egldLabel:o,tokenType:j(r),feeLimit:tt,feeInFiatLimit:ot,transactionsCount:k,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:A.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
- //# sourceMappingURL=chunk-5AGKFSA6.mjs.map
1
+ import{a as U}from"./chunk-6KZ72DNU.mjs";import{a as B}from"./chunk-GBDHEWNQ.mjs";import{a as $}from"./chunk-WDFIVLDW.mjs";import{a as _}from"./chunk-PN7JDWSZ.mjs";import{a as j}from"./chunk-7Z7IX367.mjs";import{a as z}from"./chunk-VCQBYNNS.mjs";import{a as V}from"./chunk-RBZC4PEU.mjs";import{a as R}from"./chunk-SYHILLXA.mjs";import{l as M}from"./chunk-HUZZMMJX.mjs";import{a as w}from"./chunk-YGI3KXMZ.mjs";import{a as v}from"./chunk-XPASD5P4.mjs";import{a as O}from"./chunk-RYIJWGFA.mjs";import{k as x}from"./chunk-QNYO7NI5.mjs";import{a as A}from"./chunk-YJCTRUJT.mjs";import{a as h,c as L,f}from"./chunk-PJWJZHIS.mjs";import{a as G}from"./chunk-2JKCBTYK.mjs";import{c as F}from"./chunk-PWAP64SN.mjs";import{a as C}from"./chunk-D5L63X7Y.mjs";import{BigNumber as St}from"bignumber.js";async function qt({allTransactions:u,currentScreenIndex:s,egldLabel:o,network:n,gasPriceData:T,price:S,address:m,username:q,shard:H,signedIndexes:e,parsedTransactionsByDataField:K}){let c=u[s],W=c?.transaction?.sender.toString(),p=c?.transaction,i=p?.toPlainObject(),D=null,y=null,t=await $({egldLabel:o,sender:W,apiAddress:n.apiAddress,address:m,parsedTransactionsByDataField:K})(c),d=!t?.transactionTokenInfo?.tokenId,{tokenId:g,nonce:l,amount:I=""}=t?.transactionTokenInfo??{},Z=g&&l&&l.length>0?`${g}-${l}`:g,J=await v({tokenId:Z}),{esdtPrice:Q,tokenDecimals:X,type:r,identifier:a,tokenImageUrl:Y}=J;if(r==="SemiFungibleESDT"||r==="NonFungibleESDT")y={type:r,identifier:a,amount:I,imageURL:Y};else{let E=({addCommas:Tt})=>f({input:d?p.value.toString():I,decimals:d?Number(n.decimals):X,digits:Number(n.digits),showLastNonZeroDecimal:!1,addCommas:Tt}),gt=E({addCommas:!0}),lt=E({addCommas:!1}),ft=Number(d?S:Q),ut=w({amount:lt,usd:ft,addEqualSign:!0});D={identifier:(a===x?o:a)??o,amount:gt,usdValue:ut}}let{feeLimitFormatted:tt,feeInFiatLimit:ot}=R({transaction:p,price:S}),nt=B({shard:H,initialGasPrice:T.initialGasPrice,transaction:i,gasStationMetadata:n.gasStationMetadata}),{gasPriceOption:N}=T,et=M().getType(),it=O(et),k=u.length,rt=e.length>0?e[e.length-1]+1:0,P=F(i?.data??""),b=V(t?.transactionTokenInfo),at=_({data:P,identifier:a,highlight:b}),st=U(),mt=A({to:`/${G}/${m}`,explorerAddress:st}),ct=k===1||t?.needsSigning&&!e.includes(s),pt=f({input:N.toString(),decimals:L,addCommas:!0,digits:h}),dt=new St(i.gasLimit).toFormat({decimalSeparator:".",groupSeparator:",",groupSize:3});return{commonData:{receiver:i.receiver.toString(),data:P,decodedData:at,gasPrice:pt,gasLimit:dt,explorerLink:mt,gasPriceOption:N,gasPriceOptions:nt,egldLabel:o,tokenType:j(r),feeLimit:tt,feeInFiatLimit:ot,transactionsCount:k,currentIndex:s,currentIndexToSign:rt,highlight:b,scCall:z(t?.transactionTokenInfo),needsSigning:ct,isEditable:t?.needsSigning,providerName:it,address:m,username:q,origin:C.location?.origin},tokenTransaction:D,fungibleTransaction:y}}export{qt as a};
2
+ //# sourceMappingURL=chunk-VLASN3TA.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as s}from"./chunk-SUBC3H4J.mjs";import{a as t}from"./chunk-U64LDJTG.mjs";import{a as n}from"./chunk-7LMYILJF.mjs";import{b as e}from"./chunk-7VHTZYM2.mjs";import{s as o}from"./chunk-4D2LHSRB.mjs";var w=async r=>{let{isGuarded:i}=n();if(!s({isGuarded:i,transactions:r}))return r;let a=r[0].sender.toBech32(),{walletAddress:d}=e(o());return await(await t({address:a,walletUrl:d}))?.guardTransactions(r)||[]};export{w as a};
2
+ //# sourceMappingURL=chunk-VT6N4MFC.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.ts"],
4
+ "sourcesContent": ["import { Transaction } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { getCrossWindowProvider } from './getCrossWindowProvider';\nimport { getTransactionsNeedGuardianSigning } from './getTransactionsNeedGuardianSigning';\n\n/*\n Performs guard transactions if needed\n*/\nexport const guardTransactions = async (transactions: Transaction[]) => {\n const { isGuarded } = getAccount();\n\n const needs2FAsigning = getTransactionsNeedGuardianSigning({\n isGuarded,\n transactions\n });\n\n if (!needs2FAsigning) {\n return transactions;\n }\n\n const sender = transactions[0].sender.toBech32();\n const { walletAddress } = networkSelector(getState());\n\n const provider = await getCrossWindowProvider({\n address: sender,\n walletUrl: walletAddress\n });\n\n const guardedTransactions = await provider?.guardTransactions(transactions);\n return guardedTransactions || [];\n};\n"],
5
+ "mappings": "6MAUO,IAAMA,EAAoB,MAAOC,GAAgC,CACtE,GAAM,CAAE,UAAAC,CAAU,EAAIC,EAAW,EAOjC,GAAI,CALoBC,EAAmC,CACzD,UAAAF,EACA,aAAAD,CACF,CAAC,EAGC,OAAOA,EAGT,IAAMI,EAASJ,EAAa,CAAC,EAAE,OAAO,SAAS,EACzC,CAAE,cAAAK,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAQpD,OAD4B,MALX,MAAMC,EAAuB,CAC5C,QAASJ,EACT,UAAWC,CACb,CAAC,IAE2C,kBAAkBL,CAAY,GAC5C,CAAC,CACjC",
6
+ "names": ["guardTransactions", "transactions", "isGuarded", "getAccount", "getTransactionsNeedGuardianSigning", "sender", "walletAddress", "networkSelector", "getState", "getCrossWindowProvider"]
7
+ }
@@ -1,2 +1,2 @@
1
1
  import{t as s}from"./chunk-E2GGD7D4.mjs";var o=t=>{let r=t.filter(a=>!s(a.status)).length,n=t.length;return n===1&&r===1?s(t[0].status)?"Processing transaction":"Transaction processed":`${r} / ${n} transactions processed`};export{o as a};
2
- //# sourceMappingURL=chunk-U3MIDVR7.mjs.map
2
+ //# sourceMappingURL=chunk-W3S6I34V.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/managers/ToastManager/helpers/getToastTransactionsStatus.ts"],
4
+ "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { isServerTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\n\nexport const getToastTransactionsStatus = (\n transactions: ITransactionListItem[]\n) => {\n const processedTransactions = transactions.filter(\n (tx) =>\n !isServerTransactionPending(tx.status as TransactionServerStatusesEnum)\n ).length;\n\n const totalTransactions = transactions.length;\n\n if (totalTransactions === 1 && processedTransactions === 1) {\n return isServerTransactionPending(\n transactions[0].status as TransactionServerStatusesEnum\n )\n ? 'Processing transaction'\n : 'Transaction processed';\n }\n\n return `${processedTransactions} / ${totalTransactions} transactions processed`;\n};\n"],
5
+ "mappings": "yCAIO,IAAMA,EACXC,GACG,CACH,IAAMC,EAAwBD,EAAa,OACxCE,GACC,CAACC,EAA2BD,EAAG,MAAuC,CAC1E,EAAE,OAEIE,EAAoBJ,EAAa,OAEvC,OAAII,IAAsB,GAAKH,IAA0B,EAChDE,EACLH,EAAa,CAAC,EAAE,MAClB,EACI,yBACA,wBAGC,GAAGC,CAAqB,MAAMG,CAAiB,yBACxD",
6
+ "names": ["getToastTransactionsStatus", "transactions", "processedTransactions", "tx", "isServerTransactionPending", "totalTransactions"]
7
+ }
@@ -0,0 +1,2 @@
1
+ import{b as r}from"./chunk-7VHTZYM2.mjs";import{s as e}from"./chunk-4D2LHSRB.mjs";var d=s=>{let o=r(e()),t=s??o.apiAddress;return t.endsWith("/")?t.slice(0,-1):t};export{d as a};
2
+ //# sourceMappingURL=chunk-W6XNEY4N.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as m}from"./chunk-VIQAOU2F.mjs";import{a as l}from"./chunk-3KUTPB2M.mjs";import{a as p}from"./chunk-OMT62YRR.mjs";import{a as I}from"./chunk-S5XV2COC.mjs";import{b as g}from"./chunk-EPL2CHU6.mjs";import{c as T}from"./chunk-FTJF3Q3P.mjs";var r={};function M({egldLabel:y,apiAddress:s,sender:t,address:e,parsedTransactionsByDataField:u}){return async o=>{if(o==null)return;let S=!t||t===e?null:await g({address:t,baseURL:s}),{transaction:a,multiTxData:A,transactionIndex:D}=o,c=T(a.data.toString()??""),d=p({data:c,multiTransactionData:A,parsedTransactionsByDataField:u}),{tokenId:f}=d,n=a.receiver.toBech32();if(t&&t!==e&&!l(S,e))throw console.error("You cannot sign transactions from a different account"),"You cannot sign transactions from a different account";let k=e!==n,x=n in r;if(n&&k&&!x){let i=await m({addressToVerify:n,baseURL:s});r={...r,...i?.scamInfo?{[n]:i.scamInfo}:{}}}let V=!!(f&&I({tokenId:f,egldLabel:y}));return{transaction:a,receiverScamInfo:r[n]?.info||null,transactionTokenInfo:d,isTokenTransaction:V,dataField:c,transactionIndex:D,needsSigning:o.needsSigning}}}export{M as a};
2
- //# sourceMappingURL=chunk-OIRXFS5Q.mjs.map
1
+ import{a as m}from"./chunk-OCLD2VI4.mjs";import{a as l}from"./chunk-BODQ3QWR.mjs";import{a as p}from"./chunk-OMT62YRR.mjs";import{a as I}from"./chunk-S5XV2COC.mjs";import{b as g}from"./chunk-GVAJPM5C.mjs";import{c as T}from"./chunk-PWAP64SN.mjs";var r={};function M({egldLabel:y,apiAddress:s,sender:t,address:e,parsedTransactionsByDataField:u}){return async o=>{if(o==null)return;let S=!t||t===e?null:await g({address:t,baseURL:s}),{transaction:a,multiTxData:A,transactionIndex:D}=o,c=T(a.data.toString()??""),d=p({data:c,multiTransactionData:A,parsedTransactionsByDataField:u}),{tokenId:f}=d,n=a.receiver.toBech32();if(t&&t!==e&&!l(S,e))throw console.error("You cannot sign transactions from a different account"),"You cannot sign transactions from a different account";let k=e!==n,x=n in r;if(n&&k&&!x){let i=await m({addressToVerify:n,baseURL:s});r={...r,...i?.scamInfo?{[n]:i.scamInfo}:{}}}let V=!!(f&&I({tokenId:f,egldLabel:y}));return{transaction:a,receiverScamInfo:r[n]?.info||null,transactionTokenInfo:d,isTokenTransaction:V,dataField:c,transactionIndex:D,needsSigning:o.needsSigning}}}export{M as a};
2
+ //# sourceMappingURL=chunk-WDFIVLDW.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk-KDTDQL52.mjs";import{b as s}from"./chunk-BCSNXRMR.mjs";import{a as i}from"./chunk-PMATTOPD.mjs";var a=({loginToken:t,version:r})=>{if(!t||!r)return null;let{ledgerWithUsernames:u}=s(r),e=i(t);if(e==null)return null;let n="Confirm Ledger Address",o="Authorise Authentication Token";if(u){let m=d(e.ttl);return{data:`${e.origin} for ${m}.`,confirmAddressText:n,authText:o}}return{data:t,confirmAddressText:n,authText:o}};export{a};
2
- //# sourceMappingURL=chunk-5W7PFHTT.mjs.map
1
+ import{a as d}from"./chunk-KDTDQL52.mjs";import{b as s}from"./chunk-VCPH27TY.mjs";import{a as i}from"./chunk-HSF3JATH.mjs";var a=({loginToken:t,version:r})=>{if(!t||!r)return null;let{ledgerWithUsernames:u}=s(r),e=i(t);if(e==null)return null;let n="Confirm Ledger Address",o="Authorise Authentication Token";if(u){let m=d(e.ttl);return{data:`${e.origin} for ${m}.`,confirmAddressText:n,authText:o}}return{data:t,confirmAddressText:n,authText:o}};export{a};
2
+ //# sourceMappingURL=chunk-WFMBEYKX.mjs.map