@multiversx/sdk-dapp 5.3.2 → 5.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1059) hide show
  1. package/out/__chunks__/{chunk-4VUMAG4J.mjs → chunk-2JFN726G.mjs} +1 -1
  2. package/out/__chunks__/{chunk-4VUMAG4J.mjs.map → chunk-2JFN726G.mjs.map} +1 -1
  3. package/out/__chunks__/chunk-2QIUCSYX.mjs +2 -0
  4. package/out/__chunks__/chunk-2QIUCSYX.mjs.map +7 -0
  5. package/out/__chunks__/chunk-2XIBNXVY.mjs +2 -0
  6. package/out/__chunks__/chunk-3EKM2Y4K.mjs +2 -0
  7. package/out/__chunks__/chunk-3EKM2Y4K.mjs.map +7 -0
  8. package/out/__chunks__/{chunk-XV3H7VOE.mjs → chunk-3G2Q2LCB.mjs} +2 -2
  9. package/out/__chunks__/{chunk-YYH2GKPL.mjs → chunk-3GRRAVW4.mjs} +2 -2
  10. package/out/__chunks__/{chunk-YYH2GKPL.mjs.map → chunk-3GRRAVW4.mjs.map} +1 -1
  11. package/out/__chunks__/chunk-3KJMEECV.mjs +2 -0
  12. package/out/__chunks__/{chunk-IYM4ZX72.mjs → chunk-3NSS3FT6.mjs} +2 -2
  13. package/out/__chunks__/{chunk-M7B26JXO.mjs → chunk-3VIMQHXJ.mjs} +2 -2
  14. package/out/__chunks__/{chunk-KIMRQMXB.mjs → chunk-4PRJNNSH.mjs} +2 -2
  15. package/out/__chunks__/{chunk-KIMRQMXB.mjs.map → chunk-4PRJNNSH.mjs.map} +1 -1
  16. package/out/__chunks__/{chunk-TR2KNDCH.mjs → chunk-53NQH7NR.mjs} +2 -2
  17. package/out/__chunks__/chunk-53NQH7NR.mjs.map +7 -0
  18. package/out/__chunks__/{chunk-G5N56FHJ.mjs → chunk-5OMQOYP7.mjs} +2 -2
  19. package/out/__chunks__/chunk-5P3UEE7C.mjs +1 -0
  20. package/out/__chunks__/chunk-5R7MHTVH.mjs +2 -0
  21. package/out/__chunks__/chunk-5R7MHTVH.mjs.map +7 -0
  22. package/out/__chunks__/{chunk-6EKK7AJE.mjs → chunk-5WJQ2KWS.mjs} +2 -2
  23. package/out/__chunks__/chunk-65F23E3Q.mjs +2 -0
  24. package/out/__chunks__/chunk-6M3IQXQF.mjs +2 -0
  25. package/out/__chunks__/{chunk-LYSI4URP.mjs → chunk-6PCK2RPQ.mjs} +2 -2
  26. package/out/__chunks__/{chunk-K4JJZCL3.mjs → chunk-6QPOPWIN.mjs} +2 -2
  27. package/out/__chunks__/{chunk-LG6Q3PRI.mjs → chunk-6RCSIT2P.mjs} +2 -2
  28. package/out/__chunks__/chunk-6RYKBAUE.mjs +2 -0
  29. package/out/__chunks__/chunk-7BESPSVI.mjs +2 -0
  30. package/out/__chunks__/chunk-7BESPSVI.mjs.map +7 -0
  31. package/out/__chunks__/{chunk-5KYXNO4J.mjs → chunk-7FV6DEQX.mjs} +2 -2
  32. package/out/__chunks__/chunk-7GWD5XR7.mjs +2 -0
  33. package/out/__chunks__/chunk-7GWD5XR7.mjs.map +7 -0
  34. package/out/__chunks__/{chunk-5AGKFSA6.mjs → chunk-7TH3QSCV.mjs} +2 -2
  35. package/out/__chunks__/{chunk-CXAX5TAG.mjs → chunk-AFOS3Q4N.mjs} +2 -2
  36. package/out/__chunks__/chunk-AIQTIXFV.mjs +2 -0
  37. package/out/__chunks__/chunk-AMXCV2YT.mjs +2 -0
  38. package/out/__chunks__/{chunk-4GCIE2BM.mjs.map → chunk-AMXCV2YT.mjs.map} +1 -1
  39. package/out/__chunks__/{chunk-ZRSYQ3MT.mjs → chunk-AOLW46E4.mjs} +2 -2
  40. package/out/__chunks__/chunk-APCGI2A5.mjs +2 -0
  41. package/out/__chunks__/{chunk-LKOWOTL2.mjs → chunk-AWH3CO5C.mjs} +2 -2
  42. package/out/__chunks__/{chunk-MS7BFY27.mjs → chunk-BE5OKL3L.mjs} +2 -2
  43. package/out/__chunks__/chunk-BE5OKL3L.mjs.map +7 -0
  44. package/out/__chunks__/chunk-BFD5ZJOK.mjs +1 -0
  45. package/out/__chunks__/{chunk-DFSBS3PX.mjs → chunk-BHWSBAMZ.mjs} +2 -2
  46. package/out/__chunks__/chunk-BJSQMG6V.mjs +2 -0
  47. package/out/__chunks__/chunk-BJSQMG6V.mjs.map +7 -0
  48. package/out/__chunks__/chunk-BODQ3QWR.mjs +2 -0
  49. package/out/__chunks__/chunk-BODQ3QWR.mjs.map +7 -0
  50. package/out/__chunks__/{chunk-XDBKPKTG.mjs → chunk-BSA3IGL6.mjs} +2 -2
  51. package/out/__chunks__/chunk-C4FY7JBD.mjs +2 -0
  52. package/out/__chunks__/chunk-C4FY7JBD.mjs.map +7 -0
  53. package/out/__chunks__/chunk-CAOL6XLD.mjs +2 -0
  54. package/out/__chunks__/{chunk-RV6SJMD7.mjs → chunk-CMERGCP7.mjs} +2 -2
  55. package/out/__chunks__/chunk-D27ZK232.mjs +2 -0
  56. package/out/__chunks__/chunk-D4JFV2LM.mjs +2 -0
  57. package/out/__chunks__/chunk-D6CXZV4Y.mjs +2 -0
  58. package/out/__chunks__/{chunk-H73D4VUZ.mjs.map → chunk-D6CXZV4Y.mjs.map} +1 -1
  59. package/out/__chunks__/{chunk-CDWODCD7.mjs → chunk-DCLI63KS.mjs} +1 -1
  60. package/out/__chunks__/chunk-DCLI63KS.mjs.map +7 -0
  61. package/out/__chunks__/{chunk-6CLCXSHA.mjs → chunk-DIHGGV4M.mjs} +2 -2
  62. package/out/__chunks__/chunk-DIHGGV4M.mjs.map +7 -0
  63. package/out/__chunks__/{chunk-PKLBZG2R.mjs → chunk-DNYE6AJI.mjs} +2 -2
  64. package/out/__chunks__/chunk-EPB4JKWX.mjs +2 -0
  65. package/out/__chunks__/{chunk-K5K2FVFB.mjs.map → chunk-EPB4JKWX.mjs.map} +1 -1
  66. package/out/__chunks__/{chunk-ZKBKYLAP.mjs → chunk-ERDTZ52C.mjs} +2 -2
  67. package/out/__chunks__/chunk-F2W755EK.mjs +2 -0
  68. package/out/__chunks__/{chunk-NVBWPLR7.mjs → chunk-FDR5TTUS.mjs} +2 -2
  69. package/out/__chunks__/{chunk-DLCBEPEX.mjs → chunk-FE54XZXM.mjs} +2 -2
  70. package/out/__chunks__/{chunk-DLCBEPEX.mjs.map → chunk-FE54XZXM.mjs.map} +2 -2
  71. package/out/__chunks__/{chunk-7MBSWJUD.mjs → chunk-FK6DWWZF.mjs} +2 -2
  72. package/out/__chunks__/{chunk-NAYC2B72.mjs → chunk-FKUMHDP5.mjs} +2 -2
  73. package/out/__chunks__/{chunk-TFARIEZF.mjs → chunk-FNEL7WRG.mjs} +2 -2
  74. package/out/__chunks__/chunk-FNEL7WRG.mjs.map +7 -0
  75. package/out/__chunks__/{chunk-3XTYIGW5.mjs → chunk-GBDHEWNQ.mjs} +2 -2
  76. package/out/__chunks__/{chunk-WS2MTQIC.mjs → chunk-GYYGYOIE.mjs} +2 -2
  77. package/out/__chunks__/{chunk-PMATTOPD.mjs → chunk-HSF3JATH.mjs} +2 -2
  78. package/out/__chunks__/{chunk-5DILKRFV.mjs → chunk-HTT67LH3.mjs} +2 -2
  79. package/out/__chunks__/chunk-HX3JKALT.mjs +2 -0
  80. package/out/__chunks__/chunk-HX3JKALT.mjs.map +7 -0
  81. package/out/__chunks__/{chunk-NTPPBM7T.mjs → chunk-I3ILB737.mjs} +2 -2
  82. package/out/__chunks__/{chunk-N4KX33RW.mjs → chunk-IAN3XFXS.mjs} +2 -2
  83. package/out/__chunks__/{chunk-TQ7T6ULY.mjs → chunk-IHAZNPKL.mjs} +2 -2
  84. package/out/__chunks__/{chunk-JTV664SG.mjs → chunk-IHSJITVR.mjs} +2 -2
  85. package/out/__chunks__/chunk-IRFXPRDX.mjs +2 -0
  86. package/out/__chunks__/chunk-IRFXPRDX.mjs.map +7 -0
  87. package/out/__chunks__/chunk-IVMRBKXP.mjs +2 -0
  88. package/out/__chunks__/chunk-IVMRBKXP.mjs.map +7 -0
  89. package/out/__chunks__/{chunk-YGMILCHH.mjs → chunk-IZTW4MG5.mjs} +2 -2
  90. package/out/__chunks__/chunk-IZTW4MG5.mjs.map +7 -0
  91. package/out/__chunks__/chunk-JA27GJYB.mjs +2 -0
  92. package/out/__chunks__/chunk-JA27GJYB.mjs.map +7 -0
  93. package/out/__chunks__/chunk-JJUR63EV.mjs +2 -0
  94. package/out/__chunks__/{chunk-E77ZH5JT.mjs → chunk-JMK6YN6B.mjs} +2 -2
  95. package/out/__chunks__/{chunk-JZ22ZC2D.mjs → chunk-JO7KFAZC.mjs} +2 -2
  96. package/out/__chunks__/{chunk-3PAZABVI.mjs → chunk-JQ3KV55D.mjs} +2 -2
  97. package/out/__chunks__/chunk-K4E7GCWI.mjs +2 -0
  98. package/out/__chunks__/chunk-KKQKER7U.mjs +2 -0
  99. package/out/__chunks__/chunk-KKQKER7U.mjs.map +7 -0
  100. package/out/__chunks__/chunk-KLI5H35D.mjs +2 -0
  101. package/out/__chunks__/chunk-KMITMS2L.mjs +2 -0
  102. package/out/__chunks__/chunk-KMITMS2L.mjs.map +7 -0
  103. package/out/__chunks__/chunk-KOUT2Y7O.mjs +2 -0
  104. package/out/__chunks__/chunk-KOUT2Y7O.mjs.map +7 -0
  105. package/out/__chunks__/{chunk-GUAXMODN.mjs → chunk-KYQ5IP6W.mjs} +2 -2
  106. package/out/__chunks__/chunk-LASOW7GT.mjs +2 -0
  107. package/out/__chunks__/chunk-LASOW7GT.mjs.map +7 -0
  108. package/out/__chunks__/chunk-LFMHK4UE.mjs +2 -0
  109. package/out/__chunks__/{chunk-HFX5WAAI.mjs.map → chunk-LFMHK4UE.mjs.map} +1 -1
  110. package/out/__chunks__/{chunk-N5VJJRWV.mjs → chunk-LQAAQV3I.mjs} +2 -2
  111. package/out/__chunks__/chunk-LW6KBFPA.mjs +2 -0
  112. package/out/__chunks__/chunk-LW6KBFPA.mjs.map +7 -0
  113. package/out/__chunks__/{chunk-PW34EFS7.mjs → chunk-LZWEL473.mjs} +2 -2
  114. package/out/__chunks__/{chunk-W5MTQBQF.mjs → chunk-M3F2J3PW.mjs} +2 -2
  115. package/out/__chunks__/chunk-M3F2J3PW.mjs.map +7 -0
  116. package/out/__chunks__/chunk-MTGS435F.mjs +2 -0
  117. package/out/__chunks__/{chunk-OSG4UY2Z.mjs → chunk-NGJIMP5Y.mjs} +2 -2
  118. package/out/__chunks__/{chunk-7WJMUTGI.mjs → chunk-NQE5YCZP.mjs} +2 -2
  119. package/out/__chunks__/{chunk-H5NVCCUR.mjs → chunk-NWRCQLFI.mjs} +2 -2
  120. package/out/__chunks__/chunk-NYZ726DG.mjs +2 -0
  121. package/out/__chunks__/{chunk-5E32AO3E.mjs → chunk-O3F75VWG.mjs} +2 -2
  122. package/out/__chunks__/chunk-O3F75VWG.mjs.map +7 -0
  123. package/out/__chunks__/{chunk-OAPLU7UX.mjs → chunk-OBIQ63DJ.mjs} +2 -2
  124. package/out/__chunks__/chunk-ONT6BGYB.mjs +2 -0
  125. package/out/__chunks__/{chunk-CYCS3K6Q.mjs.map → chunk-ONT6BGYB.mjs.map} +2 -2
  126. package/out/__chunks__/chunk-OSV2GCKV.mjs +2 -0
  127. package/out/__chunks__/chunk-PCPUKFTJ.mjs +2 -0
  128. package/out/__chunks__/{chunk-URTM5OGN.mjs.map → chunk-PCPUKFTJ.mjs.map} +1 -1
  129. package/out/__chunks__/chunk-PGPTO2Q4.mjs +2 -0
  130. package/out/__chunks__/{chunk-3CG4C7T4.mjs.map → chunk-PGPTO2Q4.mjs.map} +1 -1
  131. package/out/__chunks__/{chunk-FNHO66WN.mjs → chunk-PIFCCIF3.mjs} +2 -2
  132. package/out/__chunks__/chunk-PJ5TKZD5.mjs +2 -0
  133. package/out/__chunks__/{chunk-4SS6EY66.mjs → chunk-PN7JDWSZ.mjs} +2 -2
  134. package/out/__chunks__/chunk-PS3SWN5M.mjs +2 -0
  135. package/out/__chunks__/chunk-PS3SWN5M.mjs.map +7 -0
  136. package/out/__chunks__/chunk-PWAP64SN.mjs +2 -0
  137. package/out/__chunks__/chunk-PWAP64SN.mjs.map +7 -0
  138. package/out/__chunks__/{chunk-2KGBHCEN.mjs → chunk-PWOYKKUY.mjs} +2 -2
  139. package/out/__chunks__/chunk-PWOYKKUY.mjs.map +7 -0
  140. package/out/__chunks__/{chunk-UT4BWFQH.mjs → chunk-PYRTFEMB.mjs} +2 -2
  141. package/out/__chunks__/chunk-PYRTFEMB.mjs.map +7 -0
  142. package/out/__chunks__/{chunk-LNXZQGLV.mjs → chunk-Q7YFEWWK.mjs} +2 -2
  143. package/out/__chunks__/{chunk-LNXZQGLV.mjs.map → chunk-Q7YFEWWK.mjs.map} +1 -1
  144. package/out/__chunks__/{chunk-ZATPIKZ2.mjs → chunk-QFXS7HGL.mjs} +2 -2
  145. package/out/__chunks__/chunk-QMZJNNU4.mjs +2 -0
  146. package/out/__chunks__/chunk-QMZJNNU4.mjs.map +7 -0
  147. package/out/__chunks__/chunk-QNYO7NI5.mjs +2 -0
  148. package/out/__chunks__/{chunk-LHEH7L4L.mjs.map → chunk-QNYO7NI5.mjs.map} +3 -3
  149. package/out/__chunks__/{chunk-UCFMVEOZ.mjs → chunk-QX32V6TT.mjs} +2 -2
  150. package/out/__chunks__/chunk-QX32V6TT.mjs.map +7 -0
  151. package/out/__chunks__/{chunk-O65OBG5D.mjs → chunk-QZC64RDG.mjs} +2 -2
  152. package/out/__chunks__/{chunk-AZA2GNTR.mjs → chunk-RDEVBV56.mjs} +2 -2
  153. package/out/__chunks__/{chunk-IVHD32VC.mjs → chunk-RIPIZH54.mjs} +2 -2
  154. package/out/__chunks__/chunk-RMLVJDCQ.mjs +2 -0
  155. package/out/__chunks__/chunk-RVBZZQS2.mjs +2 -0
  156. package/out/__chunks__/{chunk-FPKFAJNW.mjs → chunk-RXRVBUAX.mjs} +2 -2
  157. package/out/__chunks__/{chunk-VGGJESXR.mjs → chunk-SBCXU7OA.mjs} +2 -2
  158. package/out/__chunks__/chunk-SBCXU7OA.mjs.map +7 -0
  159. package/out/__chunks__/{chunk-SALLGAGD.mjs → chunk-SFXZJSEY.mjs} +2 -2
  160. package/out/__chunks__/{chunk-6F4OKEUQ.mjs → chunk-SYHILLXA.mjs} +2 -2
  161. package/out/__chunks__/{chunk-KDMYDO7R.mjs → chunk-TD26OL6Y.mjs} +2 -2
  162. package/out/__chunks__/chunk-TD26OL6Y.mjs.map +7 -0
  163. package/out/__chunks__/{chunk-HBPQEY3L.mjs → chunk-TRUOISVH.mjs} +2 -2
  164. package/out/__chunks__/chunk-TWLO2IAN.mjs +2 -0
  165. package/out/__chunks__/chunk-TWLO2IAN.mjs.map +7 -0
  166. package/out/__chunks__/{chunk-N55JEIM6.mjs → chunk-TWYGNEQS.mjs} +1 -1
  167. package/out/__chunks__/chunk-TWYGNEQS.mjs.map +7 -0
  168. package/out/__chunks__/{chunk-OIRXFS5Q.mjs → chunk-UJTYOT5N.mjs} +2 -2
  169. package/out/__chunks__/{chunk-SAN5F2PW.mjs → chunk-UWWAVJFM.mjs} +2 -2
  170. package/out/__chunks__/chunk-V5ZSFCKJ.mjs +2 -0
  171. package/out/__chunks__/{chunk-6JM4DPOH.mjs.map → chunk-V5ZSFCKJ.mjs.map} +3 -3
  172. package/out/__chunks__/{chunk-ATLICLWT.mjs → chunk-V7K77GSE.mjs} +2 -2
  173. package/out/__chunks__/{chunk-UPABDY55.mjs → chunk-VC74WYUB.mjs} +2 -2
  174. package/out/__chunks__/{chunk-BCSNXRMR.mjs → chunk-VCPH27TY.mjs} +1 -1
  175. package/out/__chunks__/chunk-VCPH27TY.mjs.map +7 -0
  176. package/out/__chunks__/chunk-VGDWWBLN.mjs +2 -0
  177. package/out/__chunks__/{chunk-NAYDJEWI.mjs → chunk-VSMFXZJI.mjs} +2 -2
  178. package/out/__chunks__/chunk-VSMFXZJI.mjs.map +7 -0
  179. package/out/__chunks__/{chunk-XXSANEEO.mjs → chunk-W2A2N772.mjs} +2 -2
  180. package/out/__chunks__/{chunk-U3MIDVR7.mjs → chunk-W3S6I34V.mjs} +1 -1
  181. package/out/__chunks__/chunk-W3S6I34V.mjs.map +7 -0
  182. package/out/__chunks__/{chunk-5W7PFHTT.mjs → chunk-WFMBEYKX.mjs} +2 -2
  183. package/out/__chunks__/{chunk-MLDUGECH.mjs → chunk-WMRVRNAI.mjs} +2 -2
  184. package/out/__chunks__/chunk-WMRVRNAI.mjs.map +7 -0
  185. package/out/__chunks__/chunk-WYE5FJIJ.mjs +2 -0
  186. package/out/__chunks__/chunk-WYE5FJIJ.mjs.map +7 -0
  187. package/out/__chunks__/{chunk-O6ALDFLM.mjs → chunk-WZEDZF3Q.mjs} +2 -2
  188. package/out/__chunks__/chunk-X6D2T4UF.mjs +2 -0
  189. package/out/__chunks__/{chunk-FRUJEORM.mjs.map → chunk-X6D2T4UF.mjs.map} +1 -1
  190. package/out/__chunks__/chunk-XA4YS4GK.mjs +2 -0
  191. package/out/__chunks__/chunk-XA4YS4GK.mjs.map +7 -0
  192. package/out/__chunks__/{chunk-4VA2SULD.mjs → chunk-XA6ZDGIQ.mjs} +1 -1
  193. package/out/__chunks__/chunk-XA6ZDGIQ.mjs.map +7 -0
  194. package/out/__chunks__/{chunk-4MCQ27VQ.mjs → chunk-XHCLYR42.mjs} +2 -2
  195. package/out/__chunks__/chunk-XHCLYR42.mjs.map +7 -0
  196. package/out/__chunks__/{chunk-7JDTQFLQ.mjs → chunk-XLMQWFKS.mjs} +2 -2
  197. package/out/__chunks__/chunk-XLMQWFKS.mjs.map +7 -0
  198. package/out/__chunks__/{chunk-HUXPA4C2.mjs → chunk-Y6QPE6SZ.mjs} +2 -2
  199. package/out/__chunks__/{chunk-7PE652LB.mjs → chunk-YGHJRPPY.mjs} +2 -2
  200. package/out/__chunks__/chunk-YMDS57T6.mjs +2 -0
  201. package/out/__chunks__/chunk-YMDS57T6.mjs.map +7 -0
  202. package/out/__chunks__/{chunk-TMRKN7VL.mjs → chunk-YXNJS4KL.mjs} +2 -2
  203. package/out/__chunks__/{chunk-7UA7QAEF.mjs → chunk-Z6OAKBWP.mjs} +2 -2
  204. package/out/__chunks__/chunk-Z6OAKBWP.mjs.map +7 -0
  205. package/out/__chunks__/chunk-ZOYJTXNI.mjs +2 -0
  206. package/out/__chunks__/chunk-ZOYJTXNI.mjs.map +7 -0
  207. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  208. package/out/apiCalls/account/getAccountFromApi.cjs.map +3 -3
  209. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  210. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  211. package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
  212. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  213. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  214. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  215. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  216. package/out/apiCalls/economics/getEconomics.cjs.map +3 -3
  217. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  218. package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
  219. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  220. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  221. package/out/apiCalls/tokens/getTokenDetails.cjs.map +3 -3
  222. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  223. package/out/apiCalls/tokens/getTokenDetails.mjs.map +2 -2
  224. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  225. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  226. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +3 -3
  227. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  228. package/out/apiCalls/transactions/getTransactionByHash.mjs.map +2 -2
  229. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  230. package/out/constants/browser.constants.mjs +1 -1
  231. package/out/constants/browser.constants.mjs.map +4 -4
  232. package/out/constants/mvx.constants.cjs +1 -1
  233. package/out/constants/mvx.constants.cjs.map +3 -3
  234. package/out/constants/mvx.constants.d.ts +1 -0
  235. package/out/constants/mvx.constants.mjs +1 -1
  236. package/out/constants/storage.constants.cjs.map +1 -1
  237. package/out/constants/storage.constants.d.ts +1 -1
  238. package/out/constants/storage.constants.mjs +1 -1
  239. package/out/constants/webWalletProvider.constants.mjs +1 -1
  240. package/out/constants/webWalletProvider.constants.mjs.map +4 -4
  241. package/out/constants/window.constants.cjs +1 -1
  242. package/out/constants/window.constants.cjs.map +1 -1
  243. package/out/constants/window.constants.mjs +1 -1
  244. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  245. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +3 -3
  246. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  247. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  248. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  249. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +3 -3
  250. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  251. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  252. package/out/lib/sdkDappUi.mjs +1 -1
  253. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  254. package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
  255. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  256. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  257. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  258. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  259. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  260. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  261. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  262. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
  263. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  264. package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
  265. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  266. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
  267. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  268. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +1 -1
  269. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
  270. package/out/managers/ToastManager/index.mjs +1 -1
  271. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  272. package/out/managers/TransactionManager/TransactionManager.cjs.map +3 -3
  273. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  274. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  275. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +3 -3
  276. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  277. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  278. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +3 -3
  279. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  280. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  281. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +3 -3
  282. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +1 -1
  283. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  284. package/out/managers/TransactionManager/index.mjs +1 -1
  285. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  286. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
  287. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  288. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  289. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  290. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  291. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  292. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
  293. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  294. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  295. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  296. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  297. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  298. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  299. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  300. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  301. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  302. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  303. package/out/methods/account/getAccount.cjs +1 -1
  304. package/out/methods/account/getAccount.cjs.map +3 -3
  305. package/out/methods/account/getAccount.mjs +1 -1
  306. package/out/methods/account/getAccountInfo.cjs +1 -1
  307. package/out/methods/account/getAccountInfo.cjs.map +3 -3
  308. package/out/methods/account/getAccountInfo.d.ts +1 -1
  309. package/out/methods/account/getAccountInfo.mjs +1 -1
  310. package/out/methods/account/getAccountInfo.mjs.map +2 -2
  311. package/out/methods/account/getAddress.cjs +1 -1
  312. package/out/methods/account/getAddress.cjs.map +3 -3
  313. package/out/methods/account/getAddress.mjs +1 -1
  314. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  315. package/out/methods/account/getLatestNonce.mjs +1 -1
  316. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +1 -1
  317. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +1 -1
  318. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +3 -3
  319. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +1 -1
  320. package/out/methods/initApp/initApp.cjs +1 -1
  321. package/out/methods/initApp/initApp.cjs.map +3 -3
  322. package/out/methods/initApp/initApp.mjs +1 -1
  323. package/out/methods/initApp/initApp.mjs.map +3 -3
  324. package/out/methods/initApp/initApp.types.cjs.map +1 -1
  325. package/out/methods/initApp/initApp.types.d.ts +2 -0
  326. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
  327. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +3 -3
  328. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  329. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  330. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  331. package/out/methods/loginInfo/getLoginInfo.mjs.map +1 -1
  332. package/out/methods/network/getEgldLabel.mjs +1 -1
  333. package/out/methods/network/getExplorerAddress.mjs +1 -1
  334. package/out/methods/network/getNetworkConfig.mjs +1 -1
  335. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  336. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
  337. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs.map +3 -3
  338. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  339. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  340. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  341. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  342. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  343. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  344. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
  345. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +3 -3
  346. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  347. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  348. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  349. package/out/methods/transactions/getFailedTransactions.mjs.map +1 -1
  350. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  351. package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +1 -1
  352. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  353. package/out/methods/transactions/getPendingTransactions.mjs.map +1 -1
  354. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  355. package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +1 -1
  356. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  357. package/out/methods/transactions/getSuccessfulTransactions.mjs.map +1 -1
  358. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  359. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +1 -1
  360. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  361. package/out/methods/transactions/getTransactionSessions.mjs.map +1 -1
  362. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  363. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
  364. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +3 -3
  365. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  366. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  367. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  368. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  369. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  370. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  371. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  372. package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
  373. package/out/providers/DappProvider/helpers/login/login.cjs.map +3 -3
  374. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  375. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  376. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
  377. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
  378. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  379. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  380. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
  381. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +3 -3
  382. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  383. package/out/providers/DappProvider/index.mjs +1 -1
  384. package/out/providers/ProviderFactory.cjs +1 -1
  385. package/out/providers/ProviderFactory.cjs.map +3 -3
  386. package/out/providers/ProviderFactory.mjs +1 -1
  387. package/out/providers/helpers/accountProvider.mjs +1 -1
  388. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  389. package/out/providers/helpers/restoreProvider.cjs +1 -1
  390. package/out/providers/helpers/restoreProvider.cjs.map +3 -3
  391. package/out/providers/helpers/restoreProvider.mjs +1 -1
  392. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
  393. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +3 -3
  394. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +3 -0
  395. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  396. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
  397. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
  398. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  399. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  400. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
  401. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
  402. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  403. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  404. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
  405. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
  406. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  407. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  408. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
  409. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
  410. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  411. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +1 -1
  412. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +3 -3
  413. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +1 -1
  414. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +1 -1
  415. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +1 -1
  416. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map +3 -3
  417. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +1 -1
  418. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +1 -1
  419. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +1 -1
  420. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +3 -3
  421. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  422. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +1 -1
  423. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +1 -1
  424. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +1 -1
  425. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +1 -1
  426. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs.map +3 -3
  427. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +1 -1
  428. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +1 -1
  429. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  430. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  431. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  432. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
  433. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +3 -3
  434. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  435. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  436. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
  437. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
  438. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  439. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  440. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  441. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  442. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  443. package/out/providers/strategies/helpers/index.mjs +1 -1
  444. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
  445. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +3 -3
  446. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  447. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
  448. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +3 -3
  449. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  450. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  451. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
  452. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +3 -3
  453. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.mjs +1 -1
  454. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
  455. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  456. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs +1 -1
  457. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  458. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
  459. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
  460. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
  461. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
  462. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
  463. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +3 -3
  464. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  465. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
  466. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +3 -3
  467. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  468. package/out/react/account/useGetAccount.mjs +1 -1
  469. package/out/react/account/useGetAccount.mjs.map +1 -1
  470. package/out/react/account/useGetAccountInfo.d.ts +1 -1
  471. package/out/react/account/useGetAccountInfo.mjs +1 -1
  472. package/out/react/account/useGetAccountInfo.mjs.map +1 -1
  473. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  474. package/out/react/account/useGetIsLoggedIn.mjs.map +1 -1
  475. package/out/react/account/useGetLatestNonce.mjs +1 -1
  476. package/out/react/account/useGetLatestNonce.mjs.map +1 -1
  477. package/out/react/index.mjs +1 -1
  478. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  479. package/out/react/loginInfo/useGetLoginInfo.mjs.map +1 -1
  480. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  481. package/out/react/network/useGetNetworkConfig.mjs.map +1 -1
  482. package/out/react/store/getReactStore.mjs +1 -1
  483. package/out/react/store/useSelector.mjs +1 -1
  484. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  485. package/out/react/transactions/useGetFailedTransactions.mjs.map +1 -1
  486. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  487. package/out/react/transactions/useGetFailedTransactionsSessions.mjs.map +1 -1
  488. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  489. package/out/react/transactions/useGetPendingTransactions.mjs.map +1 -1
  490. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  491. package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +1 -1
  492. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  493. package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +1 -1
  494. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  495. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +1 -1
  496. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  497. package/out/react/transactions/useGetTransactionSessions.mjs.map +1 -1
  498. package/out/services/nativeAuth/helpers/decodeLoginToken.mjs +1 -1
  499. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.mjs +1 -1
  500. package/out/services/nativeAuth/helpers/getLatestBlockHash.mjs +1 -1
  501. package/out/services/nativeAuth/helpers/index.mjs +1 -1
  502. package/out/services/nativeAuth/index.mjs +1 -1
  503. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  504. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
  505. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +3 -3
  506. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  507. package/out/services/nativeAuth/methods/getTokenExpiration.mjs +1 -1
  508. package/out/services/nativeAuth/nativeAuth.cjs +1 -1
  509. package/out/services/nativeAuth/nativeAuth.cjs.map +3 -3
  510. package/out/services/nativeAuth/nativeAuth.d.ts +1 -1
  511. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  512. package/out/store/actions/account/accountActions.mjs +1 -1
  513. package/out/store/actions/account/index.mjs +1 -1
  514. package/out/store/actions/cache/cacheActions.mjs +1 -1
  515. package/out/store/actions/cache/index.mjs +1 -1
  516. package/out/store/actions/config/configActions.cjs +1 -1
  517. package/out/store/actions/config/configActions.cjs.map +3 -3
  518. package/out/store/actions/config/configActions.d.ts +4 -2
  519. package/out/store/actions/config/configActions.mjs +1 -1
  520. package/out/store/actions/config/index.mjs +1 -1
  521. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  522. package/out/store/actions/network/index.mjs +1 -1
  523. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  524. package/out/store/actions/network/networkActions.mjs +1 -1
  525. package/out/store/actions/sharedActions/index.mjs +1 -1
  526. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  527. package/out/store/actions/toasts/index.mjs +1 -1
  528. package/out/store/actions/toasts/toastsActions.cjs +1 -1
  529. package/out/store/actions/toasts/toastsActions.cjs.map +3 -3
  530. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  531. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  532. package/out/store/actions/ui/index.mjs +1 -1
  533. package/out/store/actions/ui/uiActions.mjs +1 -1
  534. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  535. package/out/store/middleware/index.mjs +1 -1
  536. package/out/store/middleware/logoutMiddleware.cjs +1 -1
  537. package/out/store/middleware/logoutMiddleware.cjs.map +3 -3
  538. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  539. package/out/store/selectors/accountSelectors.d.ts +1 -1
  540. package/out/store/selectors/accountSelectors.mjs +1 -1
  541. package/out/store/selectors/configSelectors.cjs +1 -1
  542. package/out/store/selectors/configSelectors.cjs.map +3 -3
  543. package/out/store/selectors/configSelectors.d.ts +2 -1
  544. package/out/store/selectors/configSelectors.mjs +1 -1
  545. package/out/store/selectors/networkSelectors.d.ts +1 -1
  546. package/out/store/selectors/storeSelector.mjs +1 -1
  547. package/out/store/selectors/storeSelector.mjs.map +4 -4
  548. package/out/store/slices/account/accountSlice.mjs +1 -1
  549. package/out/store/slices/account/emptyAccount.mjs +1 -1
  550. package/out/store/slices/account/index.mjs +1 -1
  551. package/out/store/slices/config/config.types.cjs +1 -1
  552. package/out/store/slices/config/config.types.cjs.map +1 -1
  553. package/out/store/slices/config/config.types.d.ts +8 -0
  554. package/out/store/slices/config/configSlice.cjs +1 -1
  555. package/out/store/slices/config/configSlice.cjs.map +2 -2
  556. package/out/store/slices/config/configSlice.mjs +1 -1
  557. package/out/store/slices/config/index.mjs +1 -1
  558. package/out/store/storage/index.mjs +1 -1
  559. package/out/store/storage/storageCallback.mjs +1 -1
  560. package/out/store/store.cjs +1 -1
  561. package/out/store/store.cjs.map +3 -3
  562. package/out/store/store.mjs +1 -1
  563. package/out/types/network.types.mjs +0 -1
  564. package/out/types/suspiciousLink.types.mjs +0 -1
  565. package/out/types/websocket.types.mjs +0 -1
  566. package/out/utils/ComponentFactory.cjs +1 -1
  567. package/out/utils/ComponentFactory.cjs.map +3 -3
  568. package/out/utils/ComponentFactory.mjs +1 -1
  569. package/out/utils/account/fetchAccount.mjs +1 -1
  570. package/out/utils/account/refreshAccount.cjs +1 -1
  571. package/out/utils/account/refreshAccount.cjs.map +3 -3
  572. package/out/utils/account/refreshAccount.mjs +1 -1
  573. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  574. package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +4 -4
  575. package/out/utils/decoders/base64Utils.cjs +1 -1
  576. package/out/utils/decoders/base64Utils.cjs.map +2 -2
  577. package/out/utils/decoders/base64Utils.mjs +1 -1
  578. package/out/utils/decoders/isAscii.mjs +1 -1
  579. package/out/utils/decoders/isAscii.mjs.map +4 -4
  580. package/out/utils/decoders/stringContainsNumbers.mjs +1 -1
  581. package/out/utils/decoders/stringContainsNumbers.mjs.map +4 -4
  582. package/out/utils/network/index.mjs +1 -1
  583. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  584. package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +1 -1
  585. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
  586. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
  587. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +3 -3
  588. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
  589. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
  590. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
  591. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
  592. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
  593. package/out/utils/transactions/getDecodedDataField/index.cjs +1 -1
  594. package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
  595. package/out/utils/transactions/getDecodedDataField/index.d.ts +0 -1
  596. package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
  597. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
  598. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +3 -3
  599. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  600. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
  601. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +3 -3
  602. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  603. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  604. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
  605. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +3 -3
  606. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  607. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  608. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  609. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
  610. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +3 -3
  611. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  612. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
  613. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +3 -3
  614. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  615. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
  616. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +3 -3
  617. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  618. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
  619. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
  620. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -1
  621. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  622. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  623. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
  624. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
  625. package/out/utils/transactions/getInterpretedTransaction/index.cjs +1 -1
  626. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
  627. package/out/utils/transactions/getInterpretedTransaction/index.d.ts +0 -1
  628. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  629. package/out/utils/transactions/getScamFlag.cjs.map +1 -1
  630. package/out/utils/transactions/getScamFlag.d.ts +1 -1
  631. package/out/utils/transactions/getScamFlag.mjs.map +1 -1
  632. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -1
  633. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +3 -3
  634. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  635. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  636. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  637. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  638. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  639. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  640. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  641. package/out/utils/transactions/getTransactionsHistory/index.cjs +1 -1
  642. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
  643. package/out/utils/transactions/getTransactionsHistory/index.d.ts +0 -1
  644. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  645. package/out/utils/validation/isContract.cjs +1 -1
  646. package/out/utils/validation/isContract.cjs.map +3 -3
  647. package/out/utils/validation/isContract.mjs +1 -1
  648. package/out/utils/validation/maxDecimals.mjs +1 -1
  649. package/out/utils/validation/maxDecimals.mjs.map +4 -4
  650. package/out/utils/visual/switchTheme.cjs.map +1 -1
  651. package/out/utils/visual/switchTheme.d.ts +1 -1
  652. package/out/utils/visual/switchTheme.mjs +1 -1
  653. package/out/utils/window/buildUrlParams.mjs +1 -1
  654. package/out/utils/window/buildUrlParams.mjs.map +4 -4
  655. package/out/utils/window/getIsAuthRoute.mjs +1 -1
  656. package/out/utils/window/getIsAuthRoute.mjs.map +4 -4
  657. package/out/utils/window/getIsInIframe.mjs +1 -1
  658. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  659. package/out/utils/window/sanitizeCallbackUrl.mjs +1 -1
  660. package/out/utils/window/sanitizeCallbackUrl.mjs.map +4 -4
  661. package/package.json +2 -5
  662. package/out/__chunks__/chunk-2BSPSW6X.mjs +0 -1
  663. package/out/__chunks__/chunk-2KGBHCEN.mjs.map +0 -7
  664. package/out/__chunks__/chunk-2RAULLHL.mjs +0 -2
  665. package/out/__chunks__/chunk-2RAULLHL.mjs.map +0 -7
  666. package/out/__chunks__/chunk-2RTOYKHB.mjs +0 -2
  667. package/out/__chunks__/chunk-3CG4C7T4.mjs +0 -2
  668. package/out/__chunks__/chunk-3GGBXXXJ.mjs +0 -2
  669. package/out/__chunks__/chunk-3GGBXXXJ.mjs.map +0 -7
  670. package/out/__chunks__/chunk-3KUTPB2M.mjs +0 -2
  671. package/out/__chunks__/chunk-3KUTPB2M.mjs.map +0 -7
  672. package/out/__chunks__/chunk-3S3EXLLM.mjs +0 -2
  673. package/out/__chunks__/chunk-442O3UMZ.mjs +0 -1
  674. package/out/__chunks__/chunk-4GCIE2BM.mjs +0 -2
  675. package/out/__chunks__/chunk-4MCQ27VQ.mjs.map +0 -7
  676. package/out/__chunks__/chunk-4QDHKULK.mjs +0 -2
  677. package/out/__chunks__/chunk-4QDHKULK.mjs.map +0 -7
  678. package/out/__chunks__/chunk-4US7HVCR.mjs +0 -1
  679. package/out/__chunks__/chunk-4US7HVCR.mjs.map +0 -7
  680. package/out/__chunks__/chunk-4VA2SULD.mjs.map +0 -7
  681. package/out/__chunks__/chunk-55U3WK3C.mjs +0 -2
  682. package/out/__chunks__/chunk-573JTRNC.mjs +0 -2
  683. package/out/__chunks__/chunk-573JTRNC.mjs.map +0 -7
  684. package/out/__chunks__/chunk-5E32AO3E.mjs.map +0 -7
  685. package/out/__chunks__/chunk-5KVNYLOM.mjs +0 -2
  686. package/out/__chunks__/chunk-5KVNYLOM.mjs.map +0 -7
  687. package/out/__chunks__/chunk-5Y2ZDPP6.mjs +0 -1
  688. package/out/__chunks__/chunk-5Y2ZDPP6.mjs.map +0 -7
  689. package/out/__chunks__/chunk-6BOC75BF.mjs +0 -2
  690. package/out/__chunks__/chunk-6CLCXSHA.mjs.map +0 -7
  691. package/out/__chunks__/chunk-6CQMLD25.mjs +0 -1
  692. package/out/__chunks__/chunk-6CQMLD25.mjs.map +0 -7
  693. package/out/__chunks__/chunk-6GREKTLP.mjs +0 -2
  694. package/out/__chunks__/chunk-6GREKTLP.mjs.map +0 -7
  695. package/out/__chunks__/chunk-6JM4DPOH.mjs +0 -2
  696. package/out/__chunks__/chunk-7BRIA6SS.mjs +0 -1
  697. package/out/__chunks__/chunk-7BRIA6SS.mjs.map +0 -7
  698. package/out/__chunks__/chunk-7JDTQFLQ.mjs.map +0 -7
  699. package/out/__chunks__/chunk-7UA7QAEF.mjs.map +0 -7
  700. package/out/__chunks__/chunk-AFLCI6IF.mjs +0 -2
  701. package/out/__chunks__/chunk-AGJVEK6I.mjs +0 -2
  702. package/out/__chunks__/chunk-B7YCKWDU.mjs +0 -1
  703. package/out/__chunks__/chunk-B7YCKWDU.mjs.map +0 -7
  704. package/out/__chunks__/chunk-BCSNXRMR.mjs.map +0 -7
  705. package/out/__chunks__/chunk-BKKXLEQ6.mjs +0 -1
  706. package/out/__chunks__/chunk-BKKXLEQ6.mjs.map +0 -7
  707. package/out/__chunks__/chunk-BUJNOQZJ.mjs +0 -2
  708. package/out/__chunks__/chunk-BUJNOQZJ.mjs.map +0 -7
  709. package/out/__chunks__/chunk-C72ZHRFA.mjs +0 -2
  710. package/out/__chunks__/chunk-C72ZHRFA.mjs.map +0 -7
  711. package/out/__chunks__/chunk-CDTYHGXZ.mjs +0 -1
  712. package/out/__chunks__/chunk-CDTYHGXZ.mjs.map +0 -7
  713. package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
  714. package/out/__chunks__/chunk-CVXQYCEE.mjs +0 -2
  715. package/out/__chunks__/chunk-CVXQYCEE.mjs.map +0 -7
  716. package/out/__chunks__/chunk-CXE2WQJS.mjs +0 -1
  717. package/out/__chunks__/chunk-CXE2WQJS.mjs.map +0 -7
  718. package/out/__chunks__/chunk-CYCS3K6Q.mjs +0 -2
  719. package/out/__chunks__/chunk-CZ2S4XSL.mjs +0 -2
  720. package/out/__chunks__/chunk-D3VRMBRS.mjs +0 -2
  721. package/out/__chunks__/chunk-DTQL3IDP.mjs +0 -1
  722. package/out/__chunks__/chunk-DTQL3IDP.mjs.map +0 -7
  723. package/out/__chunks__/chunk-DW6RO5LJ.mjs +0 -2
  724. package/out/__chunks__/chunk-DW6RO5LJ.mjs.map +0 -7
  725. package/out/__chunks__/chunk-EHDGJUEU.mjs +0 -2
  726. package/out/__chunks__/chunk-EHDGJUEU.mjs.map +0 -7
  727. package/out/__chunks__/chunk-EJV4VNJG.mjs +0 -2
  728. package/out/__chunks__/chunk-EJV4VNJG.mjs.map +0 -7
  729. package/out/__chunks__/chunk-EKWN4V73.mjs +0 -2
  730. package/out/__chunks__/chunk-EKWN4V73.mjs.map +0 -7
  731. package/out/__chunks__/chunk-EPL2CHU6.mjs +0 -2
  732. package/out/__chunks__/chunk-EPL2CHU6.mjs.map +0 -7
  733. package/out/__chunks__/chunk-FF45FPD3.mjs +0 -2
  734. package/out/__chunks__/chunk-FF45FPD3.mjs.map +0 -7
  735. package/out/__chunks__/chunk-FRUJEORM.mjs +0 -2
  736. package/out/__chunks__/chunk-FTJF3Q3P.mjs +0 -2
  737. package/out/__chunks__/chunk-FTJF3Q3P.mjs.map +0 -7
  738. package/out/__chunks__/chunk-G5DKGX73.mjs +0 -1
  739. package/out/__chunks__/chunk-G5DKGX73.mjs.map +0 -7
  740. package/out/__chunks__/chunk-GBEJIZDR.mjs +0 -1
  741. package/out/__chunks__/chunk-GBEJIZDR.mjs.map +0 -7
  742. package/out/__chunks__/chunk-GIZSIYH4.mjs +0 -2
  743. package/out/__chunks__/chunk-GIZSIYH4.mjs.map +0 -7
  744. package/out/__chunks__/chunk-H73D4VUZ.mjs +0 -2
  745. package/out/__chunks__/chunk-HFX5WAAI.mjs +0 -2
  746. package/out/__chunks__/chunk-HKDRMMI5.mjs +0 -2
  747. package/out/__chunks__/chunk-HOCSCRJF.mjs +0 -2
  748. package/out/__chunks__/chunk-HOCSCRJF.mjs.map +0 -7
  749. package/out/__chunks__/chunk-HYH55J3D.mjs +0 -2
  750. package/out/__chunks__/chunk-HZGRS7HG.mjs +0 -2
  751. package/out/__chunks__/chunk-I424CDNL.mjs +0 -2
  752. package/out/__chunks__/chunk-I424CDNL.mjs.map +0 -7
  753. package/out/__chunks__/chunk-IXBWD6BF.mjs +0 -1
  754. package/out/__chunks__/chunk-IXBWD6BF.mjs.map +0 -7
  755. package/out/__chunks__/chunk-J32T6OAP.mjs +0 -1
  756. package/out/__chunks__/chunk-J32T6OAP.mjs.map +0 -7
  757. package/out/__chunks__/chunk-J5TLE6SA.mjs +0 -2
  758. package/out/__chunks__/chunk-JDP24JPD.mjs +0 -2
  759. package/out/__chunks__/chunk-JDP24JPD.mjs.map +0 -7
  760. package/out/__chunks__/chunk-JPSW3MCK.mjs +0 -2
  761. package/out/__chunks__/chunk-JPSW3MCK.mjs.map +0 -7
  762. package/out/__chunks__/chunk-K5K2FVFB.mjs +0 -2
  763. package/out/__chunks__/chunk-KDMYDO7R.mjs.map +0 -7
  764. package/out/__chunks__/chunk-KIOUFP5Q.mjs +0 -1
  765. package/out/__chunks__/chunk-KIOUFP5Q.mjs.map +0 -7
  766. package/out/__chunks__/chunk-KLI6N26E.mjs +0 -2
  767. package/out/__chunks__/chunk-KPK72MOE.mjs +0 -2
  768. package/out/__chunks__/chunk-KPK72MOE.mjs.map +0 -7
  769. package/out/__chunks__/chunk-L3YPAYXZ.mjs +0 -1
  770. package/out/__chunks__/chunk-L3YPAYXZ.mjs.map +0 -7
  771. package/out/__chunks__/chunk-LBPTOWPX.mjs +0 -2
  772. package/out/__chunks__/chunk-LBPTOWPX.mjs.map +0 -7
  773. package/out/__chunks__/chunk-LHEH7L4L.mjs +0 -2
  774. package/out/__chunks__/chunk-M3GFSV3G.mjs +0 -1
  775. package/out/__chunks__/chunk-M3GFSV3G.mjs.map +0 -7
  776. package/out/__chunks__/chunk-MLDUGECH.mjs.map +0 -7
  777. package/out/__chunks__/chunk-MS7BFY27.mjs.map +0 -7
  778. package/out/__chunks__/chunk-N55JEIM6.mjs.map +0 -7
  779. package/out/__chunks__/chunk-NAYDJEWI.mjs.map +0 -7
  780. package/out/__chunks__/chunk-ODHXJQOF.mjs +0 -2
  781. package/out/__chunks__/chunk-OJX2TSAZ.mjs +0 -1
  782. package/out/__chunks__/chunk-OJX2TSAZ.mjs.map +0 -7
  783. package/out/__chunks__/chunk-OL6LWUIJ.mjs +0 -1
  784. package/out/__chunks__/chunk-OL6LWUIJ.mjs.map +0 -7
  785. package/out/__chunks__/chunk-OVXVICF7.mjs +0 -1
  786. package/out/__chunks__/chunk-OVXVICF7.mjs.map +0 -7
  787. package/out/__chunks__/chunk-P2MHA65O.mjs +0 -2
  788. package/out/__chunks__/chunk-QJJEW7MB.mjs +0 -2
  789. package/out/__chunks__/chunk-QJJEW7MB.mjs.map +0 -7
  790. package/out/__chunks__/chunk-QO62QJ5H.mjs +0 -2
  791. package/out/__chunks__/chunk-T4FRQ4JG.mjs +0 -1
  792. package/out/__chunks__/chunk-T4FRQ4JG.mjs.map +0 -7
  793. package/out/__chunks__/chunk-TFARIEZF.mjs.map +0 -7
  794. package/out/__chunks__/chunk-TOZ7EGCZ.mjs +0 -2
  795. package/out/__chunks__/chunk-TOZ7EGCZ.mjs.map +0 -7
  796. package/out/__chunks__/chunk-TR2KNDCH.mjs.map +0 -7
  797. package/out/__chunks__/chunk-TRMQFQOQ.mjs +0 -1
  798. package/out/__chunks__/chunk-TRMQFQOQ.mjs.map +0 -7
  799. package/out/__chunks__/chunk-TVXZBSUY.mjs +0 -2
  800. package/out/__chunks__/chunk-U3MIDVR7.mjs.map +0 -7
  801. package/out/__chunks__/chunk-UCFMVEOZ.mjs.map +0 -7
  802. package/out/__chunks__/chunk-UD7MOR6P.mjs +0 -1
  803. package/out/__chunks__/chunk-UD7MOR6P.mjs.map +0 -7
  804. package/out/__chunks__/chunk-UE3IBKCO.mjs +0 -2
  805. package/out/__chunks__/chunk-UE3IBKCO.mjs.map +0 -7
  806. package/out/__chunks__/chunk-URTM5OGN.mjs +0 -2
  807. package/out/__chunks__/chunk-UT4BWFQH.mjs.map +0 -7
  808. package/out/__chunks__/chunk-UY22M7WB.mjs +0 -2
  809. package/out/__chunks__/chunk-UY22M7WB.mjs.map +0 -7
  810. package/out/__chunks__/chunk-VCAWVAO5.mjs +0 -1
  811. package/out/__chunks__/chunk-VCAWVAO5.mjs.map +0 -7
  812. package/out/__chunks__/chunk-VGGJESXR.mjs.map +0 -7
  813. package/out/__chunks__/chunk-VIQAOU2F.mjs +0 -2
  814. package/out/__chunks__/chunk-VIQAOU2F.mjs.map +0 -7
  815. package/out/__chunks__/chunk-VOBUIF7F.mjs +0 -1
  816. package/out/__chunks__/chunk-VOBUIF7F.mjs.map +0 -7
  817. package/out/__chunks__/chunk-VTEOS2MM.mjs +0 -2
  818. package/out/__chunks__/chunk-W5MTQBQF.mjs.map +0 -7
  819. package/out/__chunks__/chunk-WEZV6U4A.mjs +0 -2
  820. package/out/__chunks__/chunk-WEZV6U4A.mjs.map +0 -7
  821. package/out/__chunks__/chunk-WVAP3V3E.mjs +0 -2
  822. package/out/__chunks__/chunk-WVAP3V3E.mjs.map +0 -7
  823. package/out/__chunks__/chunk-WYVAFCPU.mjs +0 -2
  824. package/out/__chunks__/chunk-WYVAFCPU.mjs.map +0 -7
  825. package/out/__chunks__/chunk-XLLBREX7.mjs +0 -2
  826. package/out/__chunks__/chunk-XNSSZDSU.mjs +0 -2
  827. package/out/__chunks__/chunk-XNSSZDSU.mjs.map +0 -7
  828. package/out/__chunks__/chunk-XSUHHPZ2.mjs +0 -2
  829. package/out/__chunks__/chunk-XTATC65P.mjs +0 -2
  830. package/out/__chunks__/chunk-XTATC65P.mjs.map +0 -7
  831. package/out/__chunks__/chunk-YGMILCHH.mjs.map +0 -7
  832. package/out/__chunks__/chunk-YJK5FPW4.mjs +0 -1
  833. package/out/__chunks__/chunk-YJK5FPW4.mjs.map +0 -7
  834. package/out/__chunks__/chunk-YUITECZ5.mjs +0 -1
  835. package/out/__chunks__/chunk-YUITECZ5.mjs.map +0 -7
  836. package/out/__chunks__/chunk-Z4PL2VDB.mjs +0 -1
  837. package/out/__chunks__/chunk-Z4PL2VDB.mjs.map +0 -7
  838. package/out/__chunks__/chunk-ZAPRDHIW.mjs +0 -1
  839. package/out/__chunks__/chunk-ZAPRDHIW.mjs.map +0 -7
  840. package/out/__chunks__/chunk-ZC5QSQE4.mjs +0 -1
  841. package/out/__chunks__/chunk-ZC5QSQE4.mjs.map +0 -7
  842. package/out/__chunks__/chunk-ZNPHUPAP.mjs +0 -2
  843. package/out/apiCalls/utils/getCleanApiAddress.cjs +0 -2
  844. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +0 -7
  845. package/out/apiCalls/utils/getCleanApiAddress.d.ts +0 -1
  846. package/out/apiCalls/utils/getCleanApiAddress.mjs +0 -2
  847. package/out/apiCalls/utils/getCleanApiAddress.mjs.map +0 -7
  848. package/out/constants/index.cjs +0 -2
  849. package/out/constants/index.cjs.map +0 -7
  850. package/out/constants/index.d.ts +0 -10
  851. package/out/constants/index.mjs +0 -2
  852. package/out/constants/index.mjs.map +0 -7
  853. package/out/controllers/index.cjs +0 -2
  854. package/out/controllers/index.cjs.map +0 -7
  855. package/out/controllers/index.d.ts +0 -1
  856. package/out/controllers/index.mjs +0 -2
  857. package/out/controllers/index.mjs.map +0 -7
  858. package/out/index.cjs +0 -2
  859. package/out/index.cjs.map +0 -7
  860. package/out/index.d.ts +0 -5
  861. package/out/index.mjs +0 -2
  862. package/out/index.mjs.map +0 -7
  863. package/out/managers/index.cjs +0 -2
  864. package/out/managers/index.cjs.map +0 -7
  865. package/out/managers/index.d.ts +0 -2
  866. package/out/managers/index.mjs +0 -2
  867. package/out/managers/index.mjs.map +0 -7
  868. package/out/managers/internal/index.cjs +0 -2
  869. package/out/managers/internal/index.cjs.map +0 -7
  870. package/out/managers/internal/index.d.ts +0 -3
  871. package/out/managers/internal/index.mjs +0 -2
  872. package/out/managers/internal/index.mjs.map +0 -7
  873. package/out/providers/index.cjs +0 -2
  874. package/out/providers/index.cjs.map +0 -7
  875. package/out/providers/index.d.ts +0 -2
  876. package/out/providers/index.mjs +0 -2
  877. package/out/providers/index.mjs.map +0 -7
  878. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +0 -2
  879. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +0 -7
  880. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +0 -5
  881. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +0 -2
  882. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs.map +0 -7
  883. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +0 -2
  884. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +0 -7
  885. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.d.ts +0 -8
  886. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +0 -2
  887. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs.map +0 -7
  888. package/out/providers/strategies/index.cjs +0 -2
  889. package/out/providers/strategies/index.cjs.map +0 -7
  890. package/out/providers/strategies/index.d.ts +0 -5
  891. package/out/providers/strategies/index.mjs +0 -2
  892. package/out/providers/strategies/index.mjs.map +0 -7
  893. package/out/services/index.cjs +0 -2
  894. package/out/services/index.cjs.map +0 -7
  895. package/out/services/index.d.ts +0 -1
  896. package/out/services/index.mjs +0 -2
  897. package/out/services/index.mjs.map +0 -7
  898. package/out/services/nativeAuth/methods/index.cjs +0 -2
  899. package/out/services/nativeAuth/methods/index.cjs.map +0 -7
  900. package/out/services/nativeAuth/methods/index.d.ts +0 -2
  901. package/out/services/nativeAuth/methods/index.mjs +0 -2
  902. package/out/services/nativeAuth/methods/index.mjs.map +0 -7
  903. package/out/store/actions/index.cjs +0 -2
  904. package/out/store/actions/index.cjs.map +0 -7
  905. package/out/store/actions/index.d.ts +0 -7
  906. package/out/store/actions/index.mjs +0 -2
  907. package/out/store/actions/index.mjs.map +0 -7
  908. package/out/store/selectors/index.cjs +0 -2
  909. package/out/store/selectors/index.cjs.map +0 -7
  910. package/out/store/selectors/index.d.ts +0 -6
  911. package/out/store/selectors/index.mjs +0 -2
  912. package/out/store/selectors/index.mjs.map +0 -7
  913. package/out/store/slices/index.cjs +0 -2
  914. package/out/store/slices/index.cjs.map +0 -7
  915. package/out/store/slices/index.d.ts +0 -7
  916. package/out/store/slices/index.mjs +0 -2
  917. package/out/store/slices/index.mjs.map +0 -7
  918. package/out/types/index.cjs +0 -2
  919. package/out/types/index.cjs.map +0 -7
  920. package/out/types/index.d.ts +0 -7
  921. package/out/types/index.mjs +0 -2
  922. package/out/types/index.mjs.map +0 -7
  923. package/out/utils/account/index.cjs +0 -2
  924. package/out/utils/account/index.cjs.map +0 -7
  925. package/out/utils/account/index.d.ts +0 -4
  926. package/out/utils/account/index.mjs +0 -2
  927. package/out/utils/account/index.mjs.map +0 -7
  928. package/out/utils/decoders/index.cjs +0 -2
  929. package/out/utils/decoders/index.cjs.map +0 -7
  930. package/out/utils/decoders/index.d.ts +0 -5
  931. package/out/utils/decoders/index.mjs +0 -2
  932. package/out/utils/decoders/index.mjs.map +0 -7
  933. package/out/utils/index.cjs +0 -2
  934. package/out/utils/index.cjs.map +0 -7
  935. package/out/utils/index.d.ts +0 -9
  936. package/out/utils/index.mjs +0 -2
  937. package/out/utils/index.mjs.map +0 -7
  938. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +0 -2
  939. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +0 -7
  940. package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +0 -6
  941. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +0 -2
  942. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +0 -7
  943. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +0 -2
  944. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +0 -7
  945. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.d.ts +0 -6
  946. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +0 -2
  947. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs.map +0 -7
  948. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +0 -2
  949. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +0 -7
  950. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.d.ts +0 -2
  951. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs +0 -2
  952. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs.map +0 -7
  953. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +0 -2
  954. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +0 -7
  955. package/out/utils/transactions/getInterpretedTransaction/helpers/index.d.ts +0 -13
  956. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +0 -2
  957. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs.map +0 -7
  958. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +0 -2
  959. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +0 -7
  960. package/out/utils/transactions/getTransactionsHistory/helpers/index.d.ts +0 -8
  961. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +0 -2
  962. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs.map +0 -7
  963. package/out/utils/transactions/index.cjs +0 -2
  964. package/out/utils/transactions/index.cjs.map +0 -7
  965. package/out/utils/transactions/index.d.ts +0 -4
  966. package/out/utils/transactions/index.mjs +0 -2
  967. package/out/utils/transactions/index.mjs.map +0 -7
  968. package/out/utils/validation/index.cjs +0 -2
  969. package/out/utils/validation/index.cjs.map +0 -7
  970. package/out/utils/validation/index.d.ts +0 -5
  971. package/out/utils/validation/index.mjs +0 -2
  972. package/out/utils/validation/index.mjs.map +0 -7
  973. package/out/utils/window/index.cjs +0 -2
  974. package/out/utils/window/index.cjs.map +0 -7
  975. package/out/utils/window/index.d.ts +0 -6
  976. package/out/utils/window/index.mjs +0 -2
  977. package/out/utils/window/index.mjs.map +0 -7
  978. /package/out/__chunks__/{chunk-KLI6N26E.mjs.map → chunk-2XIBNXVY.mjs.map} +0 -0
  979. /package/out/__chunks__/{chunk-XV3H7VOE.mjs.map → chunk-3G2Q2LCB.mjs.map} +0 -0
  980. /package/out/__chunks__/{chunk-ZNPHUPAP.mjs.map → chunk-3KJMEECV.mjs.map} +0 -0
  981. /package/out/__chunks__/{chunk-IYM4ZX72.mjs.map → chunk-3NSS3FT6.mjs.map} +0 -0
  982. /package/out/__chunks__/{chunk-M7B26JXO.mjs.map → chunk-3VIMQHXJ.mjs.map} +0 -0
  983. /package/out/__chunks__/{chunk-G5N56FHJ.mjs.map → chunk-5OMQOYP7.mjs.map} +0 -0
  984. /package/out/__chunks__/{chunk-2BSPSW6X.mjs.map → chunk-5P3UEE7C.mjs.map} +0 -0
  985. /package/out/__chunks__/{chunk-6EKK7AJE.mjs.map → chunk-5WJQ2KWS.mjs.map} +0 -0
  986. /package/out/__chunks__/{chunk-HYH55J3D.mjs.map → chunk-65F23E3Q.mjs.map} +0 -0
  987. /package/out/__chunks__/{chunk-AFLCI6IF.mjs.map → chunk-6M3IQXQF.mjs.map} +0 -0
  988. /package/out/__chunks__/{chunk-LYSI4URP.mjs.map → chunk-6PCK2RPQ.mjs.map} +0 -0
  989. /package/out/__chunks__/{chunk-K4JJZCL3.mjs.map → chunk-6QPOPWIN.mjs.map} +0 -0
  990. /package/out/__chunks__/{chunk-LG6Q3PRI.mjs.map → chunk-6RCSIT2P.mjs.map} +0 -0
  991. /package/out/__chunks__/{chunk-J5TLE6SA.mjs.map → chunk-6RYKBAUE.mjs.map} +0 -0
  992. /package/out/__chunks__/{chunk-5KYXNO4J.mjs.map → chunk-7FV6DEQX.mjs.map} +0 -0
  993. /package/out/__chunks__/{chunk-5AGKFSA6.mjs.map → chunk-7TH3QSCV.mjs.map} +0 -0
  994. /package/out/__chunks__/{chunk-CXAX5TAG.mjs.map → chunk-AFOS3Q4N.mjs.map} +0 -0
  995. /package/out/__chunks__/{chunk-CZ2S4XSL.mjs.map → chunk-AIQTIXFV.mjs.map} +0 -0
  996. /package/out/__chunks__/{chunk-ZRSYQ3MT.mjs.map → chunk-AOLW46E4.mjs.map} +0 -0
  997. /package/out/__chunks__/{chunk-TVXZBSUY.mjs.map → chunk-APCGI2A5.mjs.map} +0 -0
  998. /package/out/__chunks__/{chunk-LKOWOTL2.mjs.map → chunk-AWH3CO5C.mjs.map} +0 -0
  999. /package/out/__chunks__/{chunk-442O3UMZ.mjs.map → chunk-BFD5ZJOK.mjs.map} +0 -0
  1000. /package/out/__chunks__/{chunk-DFSBS3PX.mjs.map → chunk-BHWSBAMZ.mjs.map} +0 -0
  1001. /package/out/__chunks__/{chunk-XDBKPKTG.mjs.map → chunk-BSA3IGL6.mjs.map} +0 -0
  1002. /package/out/__chunks__/{chunk-QO62QJ5H.mjs.map → chunk-CAOL6XLD.mjs.map} +0 -0
  1003. /package/out/__chunks__/{chunk-RV6SJMD7.mjs.map → chunk-CMERGCP7.mjs.map} +0 -0
  1004. /package/out/__chunks__/{chunk-55U3WK3C.mjs.map → chunk-D27ZK232.mjs.map} +0 -0
  1005. /package/out/__chunks__/{chunk-D3VRMBRS.mjs.map → chunk-D4JFV2LM.mjs.map} +0 -0
  1006. /package/out/__chunks__/{chunk-PKLBZG2R.mjs.map → chunk-DNYE6AJI.mjs.map} +0 -0
  1007. /package/out/__chunks__/{chunk-ZKBKYLAP.mjs.map → chunk-ERDTZ52C.mjs.map} +0 -0
  1008. /package/out/__chunks__/{chunk-AGJVEK6I.mjs.map → chunk-F2W755EK.mjs.map} +0 -0
  1009. /package/out/__chunks__/{chunk-NVBWPLR7.mjs.map → chunk-FDR5TTUS.mjs.map} +0 -0
  1010. /package/out/__chunks__/{chunk-7MBSWJUD.mjs.map → chunk-FK6DWWZF.mjs.map} +0 -0
  1011. /package/out/__chunks__/{chunk-NAYC2B72.mjs.map → chunk-FKUMHDP5.mjs.map} +0 -0
  1012. /package/out/__chunks__/{chunk-3XTYIGW5.mjs.map → chunk-GBDHEWNQ.mjs.map} +0 -0
  1013. /package/out/__chunks__/{chunk-WS2MTQIC.mjs.map → chunk-GYYGYOIE.mjs.map} +0 -0
  1014. /package/out/__chunks__/{chunk-PMATTOPD.mjs.map → chunk-HSF3JATH.mjs.map} +0 -0
  1015. /package/out/__chunks__/{chunk-5DILKRFV.mjs.map → chunk-HTT67LH3.mjs.map} +0 -0
  1016. /package/out/__chunks__/{chunk-NTPPBM7T.mjs.map → chunk-I3ILB737.mjs.map} +0 -0
  1017. /package/out/__chunks__/{chunk-N4KX33RW.mjs.map → chunk-IAN3XFXS.mjs.map} +0 -0
  1018. /package/out/__chunks__/{chunk-TQ7T6ULY.mjs.map → chunk-IHAZNPKL.mjs.map} +0 -0
  1019. /package/out/__chunks__/{chunk-JTV664SG.mjs.map → chunk-IHSJITVR.mjs.map} +0 -0
  1020. /package/out/__chunks__/{chunk-VTEOS2MM.mjs.map → chunk-JJUR63EV.mjs.map} +0 -0
  1021. /package/out/__chunks__/{chunk-E77ZH5JT.mjs.map → chunk-JMK6YN6B.mjs.map} +0 -0
  1022. /package/out/__chunks__/{chunk-JZ22ZC2D.mjs.map → chunk-JO7KFAZC.mjs.map} +0 -0
  1023. /package/out/__chunks__/{chunk-3PAZABVI.mjs.map → chunk-JQ3KV55D.mjs.map} +0 -0
  1024. /package/out/__chunks__/{chunk-6BOC75BF.mjs.map → chunk-K4E7GCWI.mjs.map} +0 -0
  1025. /package/out/__chunks__/{chunk-ODHXJQOF.mjs.map → chunk-KLI5H35D.mjs.map} +0 -0
  1026. /package/out/__chunks__/{chunk-GUAXMODN.mjs.map → chunk-KYQ5IP6W.mjs.map} +0 -0
  1027. /package/out/__chunks__/{chunk-N5VJJRWV.mjs.map → chunk-LQAAQV3I.mjs.map} +0 -0
  1028. /package/out/__chunks__/{chunk-PW34EFS7.mjs.map → chunk-LZWEL473.mjs.map} +0 -0
  1029. /package/out/__chunks__/{chunk-XSUHHPZ2.mjs.map → chunk-MTGS435F.mjs.map} +0 -0
  1030. /package/out/__chunks__/{chunk-OSG4UY2Z.mjs.map → chunk-NGJIMP5Y.mjs.map} +0 -0
  1031. /package/out/__chunks__/{chunk-7WJMUTGI.mjs.map → chunk-NQE5YCZP.mjs.map} +0 -0
  1032. /package/out/__chunks__/{chunk-H5NVCCUR.mjs.map → chunk-NWRCQLFI.mjs.map} +0 -0
  1033. /package/out/__chunks__/{chunk-XLLBREX7.mjs.map → chunk-NYZ726DG.mjs.map} +0 -0
  1034. /package/out/__chunks__/{chunk-OAPLU7UX.mjs.map → chunk-OBIQ63DJ.mjs.map} +0 -0
  1035. /package/out/__chunks__/{chunk-HKDRMMI5.mjs.map → chunk-OSV2GCKV.mjs.map} +0 -0
  1036. /package/out/__chunks__/{chunk-FNHO66WN.mjs.map → chunk-PIFCCIF3.mjs.map} +0 -0
  1037. /package/out/__chunks__/{chunk-P2MHA65O.mjs.map → chunk-PJ5TKZD5.mjs.map} +0 -0
  1038. /package/out/__chunks__/{chunk-4SS6EY66.mjs.map → chunk-PN7JDWSZ.mjs.map} +0 -0
  1039. /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-QFXS7HGL.mjs.map} +0 -0
  1040. /package/out/__chunks__/{chunk-O65OBG5D.mjs.map → chunk-QZC64RDG.mjs.map} +0 -0
  1041. /package/out/__chunks__/{chunk-AZA2GNTR.mjs.map → chunk-RDEVBV56.mjs.map} +0 -0
  1042. /package/out/__chunks__/{chunk-IVHD32VC.mjs.map → chunk-RIPIZH54.mjs.map} +0 -0
  1043. /package/out/__chunks__/{chunk-2RTOYKHB.mjs.map → chunk-RMLVJDCQ.mjs.map} +0 -0
  1044. /package/out/__chunks__/{chunk-3S3EXLLM.mjs.map → chunk-RVBZZQS2.mjs.map} +0 -0
  1045. /package/out/__chunks__/{chunk-FPKFAJNW.mjs.map → chunk-RXRVBUAX.mjs.map} +0 -0
  1046. /package/out/__chunks__/{chunk-SALLGAGD.mjs.map → chunk-SFXZJSEY.mjs.map} +0 -0
  1047. /package/out/__chunks__/{chunk-6F4OKEUQ.mjs.map → chunk-SYHILLXA.mjs.map} +0 -0
  1048. /package/out/__chunks__/{chunk-HBPQEY3L.mjs.map → chunk-TRUOISVH.mjs.map} +0 -0
  1049. /package/out/__chunks__/{chunk-OIRXFS5Q.mjs.map → chunk-UJTYOT5N.mjs.map} +0 -0
  1050. /package/out/__chunks__/{chunk-SAN5F2PW.mjs.map → chunk-UWWAVJFM.mjs.map} +0 -0
  1051. /package/out/__chunks__/{chunk-ATLICLWT.mjs.map → chunk-V7K77GSE.mjs.map} +0 -0
  1052. /package/out/__chunks__/{chunk-UPABDY55.mjs.map → chunk-VC74WYUB.mjs.map} +0 -0
  1053. /package/out/__chunks__/{chunk-HZGRS7HG.mjs.map → chunk-VGDWWBLN.mjs.map} +0 -0
  1054. /package/out/__chunks__/{chunk-XXSANEEO.mjs.map → chunk-W2A2N772.mjs.map} +0 -0
  1055. /package/out/__chunks__/{chunk-5W7PFHTT.mjs.map → chunk-WFMBEYKX.mjs.map} +0 -0
  1056. /package/out/__chunks__/{chunk-O6ALDFLM.mjs.map → chunk-WZEDZF3Q.mjs.map} +0 -0
  1057. /package/out/__chunks__/{chunk-HUXPA4C2.mjs.map → chunk-Y6QPE6SZ.mjs.map} +0 -0
  1058. /package/out/__chunks__/{chunk-7PE652LB.mjs.map → chunk-YGHJRPPY.mjs.map} +0 -0
  1059. /package/out/__chunks__/{chunk-TMRKN7VL.mjs.map → chunk-YXNJS4KL.mjs.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{a as D}from"./chunk-O6VPG7AF.mjs";import{a as m,b as p,c as s,d as c}from"./chunk-I2YHVWIX.mjs";import{a as V}from"./chunk-LNXZQGLV.mjs";import{a as k}from"./chunk-FCIBGJDC.mjs";import{a as f}from"./chunk-HFX5WAAI.mjs";import{a as d}from"./chunk-3IYTFWEN.mjs";import{a as A}from"./chunk-FPKFAJNW.mjs";import{a as l}from"./chunk-FKGDHZZJ.mjs";import{b as T}from"./chunk-UQU2VWPJ.mjs";import{c as o,f as i}from"./chunk-PJWJZHIS.mjs";import{a as u}from"./chunk-QNELH2S2.mjs";var H=({transaction:t,hideMultipleBadge:g})=>{if(t.action){if(p.includes(t.action.name))return l(t.value);if(s.includes(t.action.name))return V(t);if(m.includes(t.action.name))return A(t);if(c.includes(t.action.name))return k(t);let a=D(t);if(a.length){let e=a[0],I=Object.values(T).includes(e.type),r=!g&&a.length>1?f(a):"";if(I){let{badgeText:E,tokenFormattedAmount:n,tokenExplorerLink:_,tokenLinkText:y}=d({token:e});return{nftValueData:{badgeText:E,tokenFormattedAmount:n,tokenExplorerLink:_,tokenLinkText:y,transactionTokens:a,token:e,value:n!=null?e.value:null,decimals:n!=null?e.decimals:null,titleText:r}}}let x=e.value?i({input:e.value,decimals:e.decimals??o,digits:2,addCommas:!0}):null;return{tokenValueData:{tokenExplorerLink:u.tokenDetails(String(e.token)),showFormattedAmount:!1,tokenFormattedAmount:x,tokenLinkText:e.ticker,transactionTokens:a,token:e,value:e.value,decimals:e.decimals??o,titleText:r}}}}return l(t.value)};export{H as a};
2
- //# sourceMappingURL=chunk-QJJEW7MB.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.ts"],
4
- "sourcesContent": ["import { DECIMALS, formatAmount } from 'lib/sdkDappUtils';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { NftEnumType } from 'types/tokens.types';\n\nimport {\n ACTIONS_WITH_EGLD_VALUE,\n ACTIONS_WITH_MANDATORY_OPERATIONS,\n ACTIONS_WITH_VALUE_IN_ACTION_FIELD,\n ACTIONS_WITH_VALUE_IN_DATA_FIELD\n} from './constants';\n\nimport {\n getEgldValueData,\n getTitleText,\n getValueFromActions,\n getValueFromDataField,\n getValueFromOperations\n} from './helpers';\nimport { getTransactionActionNftText } from './helpers/getTransactionActionNftText';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport {\n EgldValueDataType,\n NFTValueDataType,\n TokenValueDataType\n} from './types';\nimport { explorerUrlBuilder } from '../../explorerUrlBuilder';\n\nexport interface GetTransactionValueReturnType {\n egldValueData?: EgldValueDataType;\n tokenValueData?: TokenValueDataType;\n nftValueData?: NFTValueDataType;\n}\n\nexport interface GetTransactionValueType {\n hideMultipleBadge?: boolean;\n transaction: InterpretedTransactionType;\n}\n\nexport const getTransactionValue = ({\n transaction,\n hideMultipleBadge\n}: GetTransactionValueType): GetTransactionValueReturnType => {\n if (transaction.action) {\n if (ACTIONS_WITH_EGLD_VALUE.includes(transaction.action.name)) {\n return getEgldValueData(transaction.value);\n }\n\n if (ACTIONS_WITH_VALUE_IN_DATA_FIELD.includes(transaction.action.name)) {\n return getValueFromDataField(transaction);\n }\n\n if (ACTIONS_WITH_MANDATORY_OPERATIONS.includes(transaction.action.name)) {\n return getValueFromOperations(transaction);\n }\n\n if (ACTIONS_WITH_VALUE_IN_ACTION_FIELD.includes(transaction.action.name)) {\n return getValueFromActions(transaction);\n }\n\n const transactionTokens = getTransactionTokens(transaction);\n\n if (transactionTokens.length) {\n const txToken = transactionTokens[0];\n const isNft = Object.values(NftEnumType).includes(\n txToken.type as NftEnumType\n );\n\n const hasTitleText = !hideMultipleBadge && transactionTokens.length > 1;\n const titleText = hasTitleText ? getTitleText(transactionTokens) : '';\n\n if (isNft) {\n const {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText\n } = getTransactionActionNftText({ token: txToken });\n\n return {\n nftValueData: {\n badgeText,\n tokenFormattedAmount,\n tokenExplorerLink,\n tokenLinkText,\n transactionTokens,\n token: txToken,\n value: tokenFormattedAmount != null ? txToken.value : null,\n decimals: tokenFormattedAmount != null ? txToken.decimals : null,\n titleText\n }\n };\n }\n\n const tokenFormattedAmount = txToken.value\n ? formatAmount({\n input: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n digits: 2,\n addCommas: true\n })\n : null;\n\n const tokenExplorerLink = explorerUrlBuilder.tokenDetails(\n String(txToken.token)\n );\n\n return {\n tokenValueData: {\n tokenExplorerLink,\n showFormattedAmount: false,\n tokenFormattedAmount,\n tokenLinkText: txToken.ticker,\n transactionTokens,\n token: txToken,\n value: txToken.value,\n decimals: txToken.decimals ?? DECIMALS,\n titleText\n }\n };\n }\n }\n\n return getEgldValueData(transaction.value);\n};\n"],
5
- "mappings": "+dAsCO,IAAMA,EAAsB,CAAC,CAClC,YAAAC,EACA,kBAAAC,CACF,IAA8D,CAC5D,GAAID,EAAY,OAAQ,CACtB,GAAIE,EAAwB,SAASF,EAAY,OAAO,IAAI,EAC1D,OAAOG,EAAiBH,EAAY,KAAK,EAG3C,GAAII,EAAiC,SAASJ,EAAY,OAAO,IAAI,EACnE,OAAOK,EAAsBL,CAAW,EAG1C,GAAIM,EAAkC,SAASN,EAAY,OAAO,IAAI,EACpE,OAAOO,EAAuBP,CAAW,EAG3C,GAAIQ,EAAmC,SAASR,EAAY,OAAO,IAAI,EACrE,OAAOS,EAAoBT,CAAW,EAGxC,IAAMU,EAAoBC,EAAqBX,CAAW,EAE1D,GAAIU,EAAkB,OAAQ,CAC5B,IAAME,EAAUF,EAAkB,CAAC,EAC7BG,EAAQ,OAAO,OAAOC,CAAW,EAAE,SACvCF,EAAQ,IACV,EAGMG,EADe,CAACd,GAAqBS,EAAkB,OAAS,EACrCM,EAAaN,CAAiB,EAAI,GAEnE,GAAIG,EAAO,CACT,GAAM,CACJ,UAAAI,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,CACF,EAAIC,EAA4B,CAAE,MAAOT,CAAQ,CAAC,EAElD,MAAO,CACL,aAAc,CACZ,UAAAK,EACA,qBAAAC,EACA,kBAAAC,EACA,cAAAC,EACA,kBAAAV,EACA,MAAOE,EACP,MAAOM,GAAwB,KAAON,EAAQ,MAAQ,KACtD,SAAUM,GAAwB,KAAON,EAAQ,SAAW,KAC5D,UAAAG,CACF,CACF,CACF,CAEA,IAAMG,EAAuBN,EAAQ,MACjCU,EAAa,CACX,MAAOV,EAAQ,MACf,SAAUA,EAAQ,UAAYW,EAC9B,OAAQ,EACR,UAAW,EACb,CAAC,EACD,KAMJ,MAAO,CACL,eAAgB,CACd,kBANsBC,EAAmB,aAC3C,OAAOZ,EAAQ,KAAK,CACtB,EAKI,oBAAqB,GACrB,qBAAAM,EACA,cAAeN,EAAQ,OACvB,kBAAAF,EACA,MAAOE,EACP,MAAOA,EAAQ,MACf,SAAUA,EAAQ,UAAYW,EAC9B,UAAAR,CACF,CACF,CACF,CACF,CAEA,OAAOZ,EAAiBH,EAAY,KAAK,CAC3C",
6
- "names": ["getTransactionValue", "transaction", "hideMultipleBadge", "ACTIONS_WITH_EGLD_VALUE", "getEgldValueData", "ACTIONS_WITH_VALUE_IN_DATA_FIELD", "getValueFromDataField", "ACTIONS_WITH_MANDATORY_OPERATIONS", "getValueFromOperations", "ACTIONS_WITH_VALUE_IN_ACTION_FIELD", "getValueFromActions", "transactionTokens", "getTransactionTokens", "txToken", "isNft", "NftEnumType", "titleText", "getTitleText", "badgeText", "tokenFormattedAmount", "tokenExplorerLink", "tokenLinkText", "getTransactionActionNftText", "formatAmount", "DECIMALS", "explorerUrlBuilder"]
7
- }
@@ -1,2 +0,0 @@
1
- import{s as t}from"./chunk-XNSSZDSU.mjs";import{d as e}from"./chunk-7VHTZYM2.mjs";import{y as r}from"./chunk-2JKCBTYK.mjs";import i from"axios";var c=async(s,a={apiAddress:""})=>{let{data:o}=await i.get(`${a.apiAddress||e(t())}/${r}`,{params:{hashes:s.join(","),withScResults:!0}});return o};export{c as a};
2
- //# sourceMappingURL=chunk-QO62QJ5H.mjs.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-T4FRQ4JG.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/UnlockPanelManager/UnlockPanelManager.ts"],
4
- "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxUnlockPanel } from 'lib/sdkDappUi';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport {\n IProviderBase,\n IProviderFactory,\n ProviderType\n} from 'providers/types/providerFactory.types';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n OnCloseUnlockPanelType,\n LoginHandlerType,\n UnlockPanelEventsEnum,\n UnlockPanelManagerInitParamsType\n} from './UnlockPanelManager.types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager';\nimport { getIsSimpleLoginCallback } from './helpers/getIsSimpleLoginCallback';\nimport { getProvidersList } from './helpers/getProviderList';\n\ninterface IUnlockPanelManagerData {\n providers: IProviderBase[] | null;\n walletAddress: string | null;\n}\n\nexport class UnlockPanelManager extends SidePanelBaseManager<\n MvxUnlockPanel,\n IUnlockPanelManagerData,\n UnlockPanelEventsEnum\n> {\n protected initialData: IUnlockPanelManagerData = {\n providers: null,\n walletAddress: null\n };\n\n private static instance: UnlockPanelManager;\n private static loginHandler: LoginHandlerType | null = null;\n private static onClose: OnCloseUnlockPanelType | null = null;\n private static allowedProviders?: ProviderType[] | null = null;\n\n constructor() {\n super({\n uiTag: UITagsEnum.UNLOCK_PANEL,\n uiDataUpdateEvent: UnlockPanelEventsEnum.OPEN\n });\n\n this.data = this.initialData;\n }\n\n public static getInstance(): UnlockPanelManager {\n if (!UnlockPanelManager.instance) {\n UnlockPanelManager.instance = new UnlockPanelManager();\n }\n return UnlockPanelManager.instance;\n }\n\n public static init(params: UnlockPanelManagerInitParamsType) {\n this.loginHandler = params.loginHandler;\n this.allowedProviders = params.allowedProviders;\n\n if (params.onClose) {\n this.onClose = params.onClose;\n }\n\n return this.getInstance();\n }\n\n public openUnlockPanel = async () => {\n const { walletAddress } = networkSelector(getState());\n\n const providers = getProvidersList(\n ProviderFactory.customProviders,\n UnlockPanelManager.allowedProviders\n );\n\n this.data = {\n providers,\n walletAddress\n };\n\n await this.openUI();\n this.notifyDataUpdate();\n };\n\n protected setupEventListeners = async () => {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(UnlockPanelEventsEnum.LOGIN, this.handleLogin);\n this.subscribeToEventBus(\n UnlockPanelEventsEnum.CANCEL_LOGIN,\n this.handleCancelLogin\n );\n this.subscribeToEventBus(UnlockPanelEventsEnum.CLOSE, this.handleCloseUI);\n };\n\n private readonly handleCloseUI = async (options?: {\n isLoginFinished?: boolean;\n }) => {\n if (!options?.isLoginFinished && UnlockPanelManager.onClose) {\n UnlockPanelManager.onClose();\n }\n\n this.closeUI();\n };\n\n private readonly handleLogin = async ({ type, anchor }: IProviderFactory) => {\n if (!UnlockPanelManager.loginHandler) {\n throw new Error(\n 'Login callback not initialized. Please call `init()` first.'\n );\n }\n\n try {\n if (getIsSimpleLoginCallback(UnlockPanelManager.loginHandler)) {\n const provider = await ProviderFactory.create({ type, anchor });\n await provider.login();\n UnlockPanelManager.loginHandler();\n } else {\n UnlockPanelManager.loginHandler({ type, anchor });\n }\n await this.handleCloseUI({ isLoginFinished: true });\n } catch (error) {\n console.error(error);\n this.eventBus?.publish(\n UnlockPanelEventsEnum.CANCEL_IN_PROVIDER,\n this.data\n );\n }\n };\n\n private readonly handleCancelLogin = async () => {\n await ProviderFactory.destroy();\n };\n}\n"],
5
- "mappings": "sPAyBO,IAAMA,EAAN,MAAMA,UAA2BC,CAItC,CAWA,aAAc,CACZ,MAAM,CACJ,yBACA,wBACF,CAAC,EAdH,KAAU,YAAuC,CAC/C,UAAW,KACX,cAAe,IACjB,EAkCA,KAAO,gBAAkB,SAAY,CACnC,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAgBC,EAAS,CAAC,EAE9CC,EAAYC,EAChBC,EAAgB,gBAChBP,EAAmB,gBACrB,EAEA,KAAK,KAAO,CACV,UAAAK,EACA,cAAAH,CACF,EAEA,MAAM,KAAK,OAAO,EAClB,KAAK,iBAAiB,CACxB,EAEA,KAAU,oBAAsB,SAAY,CACrC,KAAK,WAIV,KAAK,4BAAiD,KAAK,WAAW,EACtE,KAAK,mCAEH,KAAK,iBACP,EACA,KAAK,4BAAiD,KAAK,aAAa,EAC1E,EAEA,KAAiB,cAAgB,MAAOM,GAElC,CACA,CAACA,GAAS,iBAAmBR,EAAmB,SAClDA,EAAmB,QAAQ,EAG7B,KAAK,QAAQ,CACf,EAEA,KAAiB,YAAc,MAAO,CAAE,KAAAS,EAAM,OAAAC,CAAO,IAAwB,CAC3E,GAAI,CAACV,EAAmB,aACtB,MAAM,IAAI,MACR,6DACF,EAGF,GAAI,CACEW,EAAyBX,EAAmB,YAAY,GAE1D,MADiB,MAAMO,EAAgB,OAAO,CAAE,KAAAE,EAAM,OAAAC,CAAO,CAAC,GAC/C,MAAM,EACrBV,EAAmB,aAAa,GAEhCA,EAAmB,aAAa,CAAE,KAAAS,EAAM,OAAAC,CAAO,CAAC,EAElD,MAAM,KAAK,cAAc,CAAE,gBAAiB,EAAK,CAAC,CACpD,OAASE,EAAO,CACd,QAAQ,MAAMA,CAAK,EACnB,KAAK,UAAU,6BAEb,KAAK,IACP,CACF,CACF,EAEA,KAAiB,kBAAoB,SAAY,CAC/C,MAAML,EAAgB,QAAQ,CAChC,EAxFE,KAAK,KAAO,KAAK,WACnB,CAEA,OAAc,aAAkC,CAC9C,OAAKP,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAEA,OAAc,KAAKa,EAA0C,CAC3D,YAAK,aAAeA,EAAO,aAC3B,KAAK,iBAAmBA,EAAO,iBAE3BA,EAAO,UACT,KAAK,QAAUA,EAAO,SAGjB,KAAK,YAAY,CAC1B,CAsEF,EA9Gab,EAWI,aAAwC,KAX5CA,EAYI,QAAyC,KAZ7CA,EAaI,iBAA2C,KAbrD,IAAMc,EAANd",
6
- "names": ["_UnlockPanelManager", "SidePanelBaseManager", "walletAddress", "networkSelector", "getState", "providers", "getProvidersList", "ProviderFactory", "options", "type", "anchor", "getIsSimpleLoginCallback", "error", "params", "UnlockPanelManager"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-7WJMUTGI.mjs";import{a as p}from"./chunk-PW34EFS7.mjs";import{a as m}from"./chunk-YGMILCHH.mjs";import{a as g}from"./chunk-5W7PFHTT.mjs";import{a as c}from"./chunk-2RTOYKHB.mjs";import{b as a}from"./chunk-LYSI4URP.mjs";import{f as i}from"./chunk-XNSSZDSU.mjs";import{a as d}from"./chunk-LJX4MW7B.mjs";async function E({options:r,config:t,provider:o,login:l}){let n=s.getInstance(),L=c(),u=g({loginToken:r?.token,version:t.version});await m({manager:n,provider:o});let e=await p({manager:n,provider:o,login:l,token:r?.token,explorerAddress:L,authData:u}),{version:f,dataEnabled:T}=t;return i({index:e.addressIndex,loginType:d.ledger}),a({address:e.address,index:e.addressIndex,version:f,hasContractDataEnabled:T}),{address:e.address,signature:e.signature}}export{E as a};
2
- //# sourceMappingURL=chunk-TOZ7EGCZ.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.ts"],
4
- "sourcesContent": ["import { HWProvider } from '@multiversx/sdk-hw-provider/out';\nimport { LedgerConnectStateManager } from 'managers/internal/LedgerConnectStateManager/LedgerConnectStateManager';\nimport { getExplorerAddress } from 'methods/network/getExplorerAddress';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { setLedgerAccount } from 'store/actions';\nimport { setLedgerLogin } from 'store/actions/loginInfo/loginInfoActions';\n\nimport { getAuthTokenText } from './helpers/getAuthTokenText';\nimport { updateAccountsList } from './helpers/updateAccountsList';\nimport { waitForLedgerSelection } from './helpers/waitForLedgerSelection';\nimport {\n LedgerConfigType,\n LedgerLoginType\n} from '../../types/ledgerProvider.types';\n\ninterface IGetLedgerLogin {\n options?: {\n callbackUrl?: string;\n token?: string;\n };\n config: LedgerConfigType;\n provider: HWProvider | null;\n login: LedgerLoginType | null;\n}\n\nexport async function authenticateLedgerAccount({\n options,\n config,\n provider,\n login\n}: IGetLedgerLogin) {\n const manager = LedgerConnectStateManager.getInstance();\n\n const explorerAddress = getExplorerAddress();\n\n const authData = getAuthTokenText({\n loginToken: options?.token,\n version: config.version\n });\n\n // refresh account list\n await updateAccountsList({ manager, provider });\n\n // cycle through accounts until user makes a choice\n const selectedAccount = await waitForLedgerSelection({\n manager,\n provider,\n login,\n token: options?.token,\n explorerAddress,\n authData\n });\n\n const { version, dataEnabled } = config;\n\n // login is finished, data can be persisted in the store\n setLedgerLogin({\n index: selectedAccount.addressIndex,\n loginType: ProviderTypeEnum.ledger\n });\n\n setLedgerAccount({\n address: selectedAccount.address,\n index: selectedAccount.addressIndex,\n version,\n hasContractDataEnabled: dataEnabled\n });\n\n return {\n address: selectedAccount.address,\n signature: selectedAccount.signature\n };\n}\n"],
5
- "mappings": "wUAyBA,eAAsBA,EAA0B,CAC9C,QAAAC,EACA,OAAAC,EACA,SAAAC,EACA,MAAAC,CACF,EAAoB,CAClB,IAAMC,EAAUC,EAA0B,YAAY,EAEhDC,EAAkBC,EAAmB,EAErCC,EAAWC,EAAiB,CAChC,WAAYT,GAAS,MACrB,QAASC,EAAO,OAClB,CAAC,EAGD,MAAMS,EAAmB,CAAE,QAAAN,EAAS,SAAAF,CAAS,CAAC,EAG9C,IAAMS,EAAkB,MAAMC,EAAuB,CACnD,QAAAR,EACA,SAAAF,EACA,MAAAC,EACA,MAAOH,GAAS,MAChB,gBAAAM,EACA,SAAAE,CACF,CAAC,EAEK,CAAE,QAAAK,EAAS,YAAAC,CAAY,EAAIb,EAGjC,OAAAc,EAAe,CACb,MAAOJ,EAAgB,aACvB,UAAWK,EAAiB,MAC9B,CAAC,EAEDC,EAAiB,CACf,QAASN,EAAgB,QACzB,MAAOA,EAAgB,aACvB,QAAAE,EACA,uBAAwBC,CAC1B,CAAC,EAEM,CACL,QAASH,EAAgB,QACzB,UAAWA,EAAgB,SAC7B,CACF",
6
- "names": ["authenticateLedgerAccount", "options", "config", "provider", "login", "manager", "LedgerConnectStateManager", "explorerAddress", "getExplorerAddress", "authData", "getAuthTokenText", "updateAccountsList", "selectedAccount", "waitForLedgerSelection", "version", "dataEnabled", "setLedgerLogin", "ProviderTypeEnum", "setLedgerAccount"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/ComponentFactory.ts"],
4
- "sourcesContent": ["import { safeWindow } from 'constants/index';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport type { IEventBus } from 'lib/sdkDappUi';\n\nexport interface CreateEventBusUIElementType extends HTMLElement {\n getEventBus: () => Promise<IEventBus | null>;\n}\n\nexport type CreateComponentType = <T = CreateEventBusUIElementType>({\n name,\n anchor\n}: {\n name: `${UITagsEnum}`;\n anchor?: HTMLElement;\n}) => Promise<T>;\n\nexport class ComponentFactory {\n private static createComponent: CreateComponentType = async <\n T = CreateEventBusUIElementType\n >({\n name,\n anchor\n }: {\n name: `${UITagsEnum}`;\n anchor?: HTMLElement;\n }) => {\n const webComponent = safeWindow?.customElements?.get(name);\n\n if (!webComponent) {\n return null as T;\n }\n\n const element = safeWindow.document.createElement(name);\n const rootElement = anchor || safeWindow.document.body;\n rootElement.appendChild(element);\n await customElements.whenDefined(name);\n\n return element as T;\n };\n\n static get create() {\n return this.createComponent;\n }\n\n static set create(customCreateFunction: CreateComponentType) {\n this.createComponent = customCreateFunction;\n }\n}\n"],
5
- "mappings": "yCAgBO,IAAMA,EAAN,KAAuB,CAwB5B,WAAW,QAAS,CAClB,OAAO,KAAK,eACd,CAEA,WAAW,OAAOC,EAA2C,CAC3D,KAAK,gBAAkBA,CACzB,CACF,EA/BaD,EACI,gBAAuC,MAEpD,CACA,KAAAE,EACA,OAAAC,CACF,IAGM,CAGJ,GAAI,CAFiBC,GAAY,gBAAgB,IAAIF,CAAI,EAGvD,OAAO,KAGT,IAAMG,EAAUD,EAAW,SAAS,cAAcF,CAAI,EAEtD,OADoBC,GAAUC,EAAW,SAAS,MACtC,YAAYC,CAAO,EAC/B,MAAM,eAAe,YAAYH,CAAI,EAE9BG,CACT",
6
- "names": ["ComponentFactory", "customCreateFunction", "name", "anchor", "safeWindow", "element"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-TRMQFQOQ.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- import{b as o}from"./chunk-PJWJZHIS.mjs";import{b as t}from"./chunk-MGFIOCA4.mjs";var r={balance:t,address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:o};export{r as a};
2
- //# sourceMappingURL=chunk-TVXZBSUY.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/ToastManager/helpers/getToastTransactionsStatus.ts"],
4
- "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { isServerTransactionPending } from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionServerStatusesEnum } from 'types';\n\nexport const getToastTransactionsStatus = (\n transactions: ITransactionListItem[]\n) => {\n const processedTransactions = transactions.filter(\n (tx) =>\n !isServerTransactionPending(tx.status as TransactionServerStatusesEnum)\n ).length;\n\n const totalTransactions = transactions.length;\n\n if (totalTransactions === 1 && processedTransactions === 1) {\n return isServerTransactionPending(\n transactions[0].status as TransactionServerStatusesEnum\n )\n ? 'Processing transaction'\n : 'Transaction processed';\n }\n\n return `${processedTransactions} / ${totalTransactions} transactions processed`;\n};\n"],
5
- "mappings": "yCAIO,IAAMA,EACXC,GACG,CACH,IAAMC,EAAwBD,EAAa,OACxCE,GACC,CAACC,EAA2BD,EAAG,MAAuC,CAC1E,EAAE,OAEIE,EAAoBJ,EAAa,OAEvC,OAAII,IAAsB,GAAKH,IAA0B,EAChDE,EACLH,EAAa,CAAC,EAAE,MAClB,EACI,yBACA,wBAGC,GAAGC,CAAqB,MAAMG,CAAiB,yBACxD",
6
- "names": ["getToastTransactionsStatus", "transactions", "processedTransactions", "tx", "isServerTransactionPending", "totalTransactions"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.ts"],
4
- "sourcesContent": ["import { IconNamesEnum } from 'types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { capitalize } from 'utils/operations/capitalize';\nimport { getTransactionMessages } from './getTransactionMessages';\nimport { getTransactionStatus } from './getTransactionStatus';\n\nexport const getTransactionIconInfo = (\n transaction: ServerTransactionType\n): { icon?: `${IconNamesEnum}`; tooltip: string } => {\n const transactionMessages = getTransactionMessages(transaction);\n\n const { failed, invalid, pending } = getTransactionStatus(transaction);\n\n const showErrorText = (failed || invalid) && transactionMessages.length > 0;\n const errorText = showErrorText ? transactionMessages.join(',') : '';\n const tooltip = `${capitalize(transaction.status)} ${errorText}`;\n\n if (failed) {\n return { icon: IconNamesEnum.close, tooltip };\n }\n\n if (invalid) {\n return { icon: IconNamesEnum.ban, tooltip };\n }\n\n if (pending) {\n return { icon: IconNamesEnum.hourglass, tooltip };\n }\n\n return { tooltip };\n};\n"],
5
- "mappings": "sHAMO,IAAMA,EACXC,GACmD,CACnD,IAAMC,EAAsBC,EAAuBF,CAAW,EAExD,CAAE,OAAAG,EAAQ,QAAAC,EAAS,QAAAC,CAAQ,EAAIC,EAAqBN,CAAW,EAG/DO,GADiBJ,GAAUC,IAAYH,EAAoB,OAAS,EACxCA,EAAoB,KAAK,GAAG,EAAI,GAC5DO,EAAU,GAAGC,EAAWT,EAAY,MAAM,CAAC,IAAIO,CAAS,GAE9D,OAAIJ,EACK,CAAE,aAA2B,QAAAK,CAAQ,EAG1CJ,EACK,CAAE,WAAyB,QAAAI,CAAQ,EAGxCH,EACK,CAAE,iBAA+B,QAAAG,CAAQ,EAG3C,CAAE,QAAAA,CAAQ,CACnB",
6
- "names": ["getTransactionIconInfo", "transaction", "transactionMessages", "getTransactionMessages", "failed", "invalid", "pending", "getTransactionStatus", "errorText", "tooltip", "capitalize"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-UD7MOR6P.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- var c=(r,e=["address"])=>{let n=new URL(r),a=new URLSearchParams(n.search);e.forEach(o=>a.delete(o));let s=Array.from(a.values()).length>0?"?":"",t=n.pathname==="/"&&!r.endsWith("/")?"":n.pathname;return n.protocol==="vscode:"?r:`${n.origin}${t}${s}${a.toString()}${n.hash}`};export{c as a};
2
- //# sourceMappingURL=chunk-UE3IBKCO.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/window/sanitizeCallbackUrl.ts"],
4
- "sourcesContent": ["export const sanitizeCallbackUrl = (\n targetURL: string,\n vulnerableItems: string[] = ['address']\n) => {\n const url = new URL(targetURL);\n const params = new URLSearchParams(url.search);\n\n vulnerableItems.forEach((vulnerableItem) => params.delete(vulnerableItem));\n\n const questionMark = Array.from(params.values()).length > 0 ? '?' : '';\n\n const pathname =\n url.pathname === '/' && !targetURL.endsWith('/') ? '' : url.pathname;\n\n if (url.protocol === 'vscode:') {\n return targetURL;\n }\n\n return `${url.origin}${pathname}${questionMark}${params.toString()}${\n url.hash\n }`;\n};\n"],
5
- "mappings": "AAAO,IAAMA,EAAsB,CACjCC,EACAC,EAA4B,CAAC,SAAS,IACnC,CACH,IAAMC,EAAM,IAAI,IAAIF,CAAS,EACvBG,EAAS,IAAI,gBAAgBD,EAAI,MAAM,EAE7CD,EAAgB,QAASG,GAAmBD,EAAO,OAAOC,CAAc,CAAC,EAEzE,IAAMC,EAAe,MAAM,KAAKF,EAAO,OAAO,CAAC,EAAE,OAAS,EAAI,IAAM,GAE9DG,EACJJ,EAAI,WAAa,KAAO,CAACF,EAAU,SAAS,GAAG,EAAI,GAAKE,EAAI,SAE9D,OAAIA,EAAI,WAAa,UACZF,EAGF,GAAGE,EAAI,MAAM,GAAGI,CAAQ,GAAGD,CAAY,GAAGF,EAAO,SAAS,CAAC,GAChED,EAAI,IACN,EACF",
6
- "names": ["sanitizeCallbackUrl", "targetURL", "vulnerableItems", "url", "params", "vulnerableItem", "questionMark", "pathname"]
7
- }
@@ -1,2 +0,0 @@
1
- var o=typeof window<"u"?window:{},n="5.3.2";export{o as a,n as b};
2
- //# sourceMappingURL=chunk-URTM5OGN.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/apiCalls/economics/getEconomics.ts"],
4
- "sourcesContent": ["import axios from 'axios';\nimport { ECONOMICS_ENDPOINT } from 'apiCalls/endpoints';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\n\nexport interface EconomicsInfoType {\n totalSupply: number;\n circulatingSupply: number;\n staked: number;\n price: number;\n marketCap: number;\n apr: number;\n topUpApr: number;\n}\n\nexport async function getEconomics({\n url = ECONOMICS_ENDPOINT,\n baseURL\n}: {\n url?: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n const configUrl = `${apiAddress}/${url}`;\n try {\n const { data } = await axios.get<EconomicsInfoType>(configUrl);\n return data;\n } catch (err) {\n console.error('err fetching economics info', err);\n return null;\n }\n}\n"],
5
- "mappings": "kFAAA,OAAOA,MAAW,QAclB,eAAsBC,EAAa,CACjC,IAAAC,EAAMC,EACN,QAAAC,CACF,EAGG,CAED,IAAMC,EAAY,GADCC,EAAmBF,CAAO,CACd,IAAIF,CAAG,GACtC,GAAI,CACF,GAAM,CAAE,KAAAK,CAAK,EAAI,MAAMC,EAAM,IAAuBH,CAAS,EAC7D,OAAOE,CACT,OAASE,EAAK,CACZ,eAAQ,MAAM,8BAA+BA,CAAG,EACzC,IACT,CACF",
6
- "names": ["axios", "getEconomics", "url", "ECONOMICS_ENDPOINT", "baseURL", "configUrl", "getCleanApiAddress", "data", "axios", "err"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as c}from"./chunk-DLWDO7M6.mjs";import{d as v}from"./chunk-JPSW3MCK.mjs";import{y as a}from"./chunk-C72ZHRFA.mjs";import{s as n}from"./chunk-XNSSZDSU.mjs";import{d as s}from"./chunk-VNLGNNIL.mjs";import{a as i}from"./chunk-LJX4MW7B.mjs";import{a as d}from"./chunk-RV6SJMD7.mjs";async function S(){let t=c(),m=d(),e=s(n()),o=m||t?i.webview:e,p=Object.values(i).includes(e);if(e&&!p&&(o=e),!o)return;let r=await v.create({type:o});if(!r)throw new Error("Provider not found");if(t||o===i.webview&&r.isInitialized())try{await r.login()}catch(f){console.warn("Failed to login with provider",r.getType(),f)}a(r)}export{S as a};
2
- //# sourceMappingURL=chunk-UY22M7WB.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/helpers/restoreProvider.ts"],
4
- "sourcesContent": ["import { isMobileWebview } from 'lib/sdkWebviewProvider';\nimport {\n ProviderBaseType,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { providerTypeSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { getIsInIframe } from 'utils/window/getIsInIframe';\nimport { setAccountProvider } from './accountProvider';\nimport { ProviderFactory } from '../ProviderFactory';\n\nexport async function restoreProvider() {\n const isMobileView = isMobileWebview();\n const isInIframe = getIsInIframe();\n const providerType = providerTypeSelector(getState());\n\n let type =\n isInIframe || isMobileView ? ProviderTypeEnum.webview : providerType;\n\n const isBaseProvider = Object.values(ProviderTypeEnum).includes(\n providerType as ProviderBaseType\n );\n // Check if provider exist and is not base\n const isCustomProvider = providerType && !isBaseProvider;\n\n // Prioritize customProvider if it serves as a provider inside an iframe\n if (isCustomProvider) {\n type = providerType;\n }\n\n if (!type) {\n return;\n }\n\n const provider = await ProviderFactory.create({\n type\n });\n\n if (!provider) {\n throw new Error('Provider not found');\n }\n\n /*\n Check if the app is running in webview and the provider is already initialized.\n - true: the app is embedded within another dApp (e.g., inside an iframe) and perform login using the provider.\n - false: the parent is not a dApp and proceed with initializing the current app as a standalone iframe.\n */\n const shouldStartWebviewLogin =\n isMobileView ||\n (type === ProviderTypeEnum.webview && provider.isInitialized());\n\n if (shouldStartWebviewLogin) {\n try {\n await provider.login();\n } catch (error) {\n console.warn('Failed to login with provider', provider.getType(), error);\n }\n }\n\n setAccountProvider(provider);\n}\n"],
5
- "mappings": "+RAWA,eAAsBA,GAAkB,CACtC,IAAMC,EAAeC,EAAgB,EAC/BC,EAAaC,EAAc,EAC3BC,EAAeC,EAAqBC,EAAS,CAAC,EAEhDC,EACFL,GAAcF,EAAeQ,EAAiB,QAAUJ,EAEpDK,EAAiB,OAAO,OAAOD,CAAgB,EAAE,SACrDJ,CACF,EASA,GAPyBA,GAAgB,CAACK,IAIxCF,EAAOH,GAGL,CAACG,EACH,OAGF,IAAMG,EAAW,MAAMC,EAAgB,OAAO,CAC5C,KAAAJ,CACF,CAAC,EAED,GAAI,CAACG,EACH,MAAM,IAAI,MAAM,oBAAoB,EAYtC,GAHEV,GACCO,IAASC,EAAiB,SAAWE,EAAS,cAAc,EAG7D,GAAI,CACF,MAAMA,EAAS,MAAM,CACvB,OAASE,EAAO,CACd,QAAQ,KAAK,gCAAiCF,EAAS,QAAQ,EAAGE,CAAK,CACzE,CAGFC,EAAmBH,CAAQ,CAC7B",
6
- "names": ["restoreProvider", "isMobileView", "isMobileWebview", "isInIframe", "getIsInIframe", "providerType", "providerTypeSelector", "getState", "type", "ProviderTypeEnum", "isBaseProvider", "provider", "ProviderFactory", "error", "setAccountProvider"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-VCAWVAO5.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.ts"],
4
- "sourcesContent": ["import { safeWindow } from 'constants/index';\nimport { Address, Message, Transaction } from 'lib/sdkCore';\nimport {\n WindowProviderRequestEnums,\n WindowProviderResponseEnums,\n RequestMessageType,\n RequestPayloadType\n} from 'lib/sdkWebWalletCrossWindowProvider';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { accountSelector } from 'store/selectors';\nimport { getStore } from 'store/store';\n\ntype MessageHandler = (event: MessageEvent) => void;\n\ntype MessageEventType = {\n event: MessageEvent<MessageType>;\n};\n\ntype MessageType =\n | RequestMessageType\n | { type: 'cancelAction'; payload: null }\n | {\n type: WindowProviderResponseEnums.cancelResponse;\n payload: null;\n };\n\nexport class WebviewClient {\n private readonly handlers: Map<string, MessageHandler> = new Map();\n private readonly store = getStore();\n private isLoginInitiated = false;\n private readonly handleLoginCancelled: () => Promise<void>;\n\n constructor({ onLoginCancelled }: { onLoginCancelled: () => Promise<void> }) {\n this.handleMessage = this.handleMessage.bind(this);\n this.handleLoginCancelled = onLoginCancelled;\n }\n\n public startListening() {\n safeWindow.addEventListener('message', this.handleMessage);\n }\n\n public stopListening() {\n safeWindow.removeEventListener('message', this.handleMessage);\n }\n\n public registerEvent(type: string, handler: MessageHandler) {\n this.handlers.set(type, handler);\n }\n\n public unregisterEvent(type: string) {\n this.handlers.delete(type);\n }\n\n private async handleMessage(event: MessageEvent<MessageType>) {\n const type = event.data?.type;\n\n if (typeof type === 'string' && this.handlers.has(type)) {\n const handler = this.handlers.get(type);\n return handler?.(event);\n }\n\n switch (type) {\n case WindowProviderRequestEnums.finalizeHandshakeRequest:\n this.handshake({ event });\n break;\n case WindowProviderRequestEnums.signMessageRequest:\n this.signMessage({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.loginRequest:\n this.isLoginInitiated = true;\n this.login({ event, payload: event.data.payload });\n break;\n case WindowProviderRequestEnums.signTransactionsRequest:\n this.signTransactions({ event });\n break;\n case WindowProviderResponseEnums.cancelResponse: // sent by web-wallet CrossWindow provider\n case 'cancelAction': // sent by Extension provider\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n }\n break;\n default:\n break;\n }\n }\n\n private async login({\n event,\n payload\n }: MessageEventType & { payload: RequestPayloadType['LOGIN_REQUEST'] }) {\n const loginToken = payload?.token;\n\n if (!loginToken) {\n return;\n }\n\n try {\n const { address } = accountSelector(this.store.getState());\n const provider = getAccountProvider();\n\n // Message format needed for token generation\n const message = `${address}${loginToken}`;\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.loginResponse,\n payload: {\n data: {\n address,\n signature: Buffer.from(signature).toString('hex')\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n if (this.isLoginInitiated) {\n await this.handleLoginCancelled();\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.cancelResponse,\n payload: null\n },\n { targetOrigin: event.origin }\n );\n }\n } finally {\n this.isLoginInitiated = false;\n }\n }\n\n private handshake({ event }: MessageEventType) {\n const handshakeSession = Date.now().toString();\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.finalizeHandshakeResponse,\n payload: { data: handshakeSession }\n },\n { targetOrigin: event.origin }\n );\n }\n\n private async signMessage({\n event,\n payload\n }: MessageEventType & {\n payload: RequestPayloadType['SIGN_MESSAGE_REQUEST'];\n }) {\n const { address } = accountSelector(this.store.getState());\n const { message } = payload;\n\n try {\n const messageToSign = new Message({\n address: new Address(address),\n data: new Uint8Array(Buffer.from(message))\n });\n\n const provider = getAccountProvider();\n const signedMessage = await provider.signMessage(messageToSign);\n const signature = signedMessage?.signature ?? '';\n\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signMessageResponse,\n payload: {\n data: {\n signature: Buffer.from(signature).toString('hex'),\n status: 'signed'\n }\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign message');\n }\n }\n\n private async signTransactions({ event }: MessageEventType) {\n const provider = getAccountProvider();\n const { payload } = event.data;\n\n if (!Array.isArray(payload)) {\n return;\n }\n\n try {\n const transactions = payload.map((plainTransactionObject) =>\n Transaction.newFromPlainObject(plainTransactionObject)\n );\n\n const signedTx = await provider.signTransactions(transactions);\n event.source?.postMessage(\n {\n type: WindowProviderResponseEnums.signTransactionsResponse,\n payload: {\n data: signedTx.map((tx) => tx.toPlainObject())\n }\n },\n { targetOrigin: event.origin }\n );\n } catch {\n throw new Error('Could not sign transactions');\n }\n }\n}\n"],
5
- "mappings": "2QA0BO,IAAMA,EAAN,KAAoB,CAMzB,YAAY,CAAE,iBAAAC,CAAiB,EAA8C,CAL7E,KAAiB,SAAwC,IAAI,IAC7D,KAAiB,MAAQC,EAAS,EAClC,KAAQ,iBAAmB,GAIzB,KAAK,cAAgB,KAAK,cAAc,KAAK,IAAI,EACjD,KAAK,qBAAuBD,CAC9B,CAEO,gBAAiB,CACtBE,EAAW,iBAAiB,UAAW,KAAK,aAAa,CAC3D,CAEO,eAAgB,CACrBA,EAAW,oBAAoB,UAAW,KAAK,aAAa,CAC9D,CAEO,cAAcC,EAAcC,EAAyB,CAC1D,KAAK,SAAS,IAAID,EAAMC,CAAO,CACjC,CAEO,gBAAgBD,EAAc,CACnC,KAAK,SAAS,OAAOA,CAAI,CAC3B,CAEA,MAAc,cAAcE,EAAkC,CAC5D,IAAMF,EAAOE,EAAM,MAAM,KAEzB,GAAI,OAAOF,GAAS,UAAY,KAAK,SAAS,IAAIA,CAAI,EAEpD,OADgB,KAAK,SAAS,IAAIA,CAAI,IACrBE,CAAK,EAGxB,OAAQF,EAAM,CACZ,KAAKG,EAA2B,yBAC9B,KAAK,UAAU,CAAE,MAAAD,CAAM,CAAC,EACxB,MACF,KAAKC,EAA2B,mBAC9B,KAAK,YAAY,CAAE,MAAAD,EAAO,QAASA,EAAM,KAAK,OAAQ,CAAC,EACvD,MACF,KAAKC,EAA2B,aAC9B,KAAK,iBAAmB,GACxB,KAAK,MAAM,CAAE,MAAAD,EAAO,QAASA,EAAM,KAAK,OAAQ,CAAC,EACjD,MACF,KAAKC,EAA2B,wBAC9B,KAAK,iBAAiB,CAAE,MAAAD,CAAM,CAAC,EAC/B,MACF,KAAKE,EAA4B,eACjC,IAAK,eACC,KAAK,kBACP,MAAM,KAAK,qBAAqB,EAElC,MACF,QACE,KACJ,CACF,CAEA,MAAc,MAAM,CAClB,MAAAF,EACA,QAAAG,CACF,EAAwE,CACtE,IAAMC,EAAaD,GAAS,MAE5B,GAAKC,EAIL,GAAI,CACF,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAgB,KAAK,MAAM,SAAS,CAAC,EACnDC,EAAWC,EAAmB,EAG9BC,EAAU,GAAGJ,CAAO,GAAGD,CAAU,GACjCM,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQP,CAAO,EAC5B,KAAM,IAAI,WAAW,OAAO,KAAKI,CAAO,CAAC,CAC3C,CAAC,EAGKI,GADgB,MAAMN,EAAS,YAAYG,CAAa,IAC7B,WAAa,GAE9CV,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,cAClC,QAAS,CACP,KAAM,CACJ,QAAAG,EACA,UAAW,OAAO,KAAKQ,CAAS,EAAE,SAAS,KAAK,CAClD,CACF,CACF,EACA,CAAE,aAAcb,EAAM,MAAO,CAC/B,CACF,MAAQ,CACF,KAAK,mBACP,MAAM,KAAK,qBAAqB,EAChCA,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,eAClC,QAAS,IACX,EACA,CAAE,aAAcF,EAAM,MAAO,CAC/B,EAEJ,QAAE,CACA,KAAK,iBAAmB,EAC1B,CACF,CAEQ,UAAU,CAAE,MAAAA,CAAM,EAAqB,CAC7C,IAAMc,EAAmB,KAAK,IAAI,EAAE,SAAS,EAE7Cd,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,0BAClC,QAAS,CAAE,KAAMY,CAAiB,CACpC,EACA,CAAE,aAAcd,EAAM,MAAO,CAC/B,CACF,CAEA,MAAc,YAAY,CACxB,MAAAA,EACA,QAAAG,CACF,EAEG,CACD,GAAM,CAAE,QAAAE,CAAQ,EAAIC,EAAgB,KAAK,MAAM,SAAS,CAAC,EACnD,CAAE,QAAAG,CAAQ,EAAIN,EAEpB,GAAI,CACF,IAAMO,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQP,CAAO,EAC5B,KAAM,IAAI,WAAW,OAAO,KAAKI,CAAO,CAAC,CAC3C,CAAC,EAIKI,GADgB,MADLL,EAAmB,EACC,YAAYE,CAAa,IAC7B,WAAa,GAE9CV,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,oBAClC,QAAS,CACP,KAAM,CACJ,UAAW,OAAO,KAAKW,CAAS,EAAE,SAAS,KAAK,EAChD,OAAQ,QACV,CACF,CACF,EACA,CAAE,aAAcb,EAAM,MAAO,CAC/B,CACF,MAAQ,CACN,MAAM,IAAI,MAAM,wBAAwB,CAC1C,CACF,CAEA,MAAc,iBAAiB,CAAE,MAAAA,CAAM,EAAqB,CAC1D,IAAMO,EAAWC,EAAmB,EAC9B,CAAE,QAAAL,CAAQ,EAAIH,EAAM,KAE1B,GAAK,MAAM,QAAQG,CAAO,EAI1B,GAAI,CACF,IAAMY,EAAeZ,EAAQ,IAAKa,GAChCC,EAAY,mBAAmBD,CAAsB,CACvD,EAEME,EAAW,MAAMX,EAAS,iBAAiBQ,CAAY,EAC7Df,EAAM,QAAQ,YACZ,CACE,KAAME,EAA4B,yBAClC,QAAS,CACP,KAAMgB,EAAS,IAAKC,GAAOA,EAAG,cAAc,CAAC,CAC/C,CACF,EACA,CAAE,aAAcnB,EAAM,MAAO,CAC/B,CACF,MAAQ,CACN,MAAM,IAAI,MAAM,6BAA6B,CAC/C,CACF,CACF",
6
- "names": ["WebviewClient", "onLoginCancelled", "getStore", "safeWindow", "type", "handler", "event", "WindowProviderRequestEnums", "WindowProviderResponseEnums", "payload", "loginToken", "address", "accountSelector", "provider", "getAccountProvider", "message", "messageToSign", "Message", "Address", "signature", "handshakeSession", "transactions", "plainTransactionObject", "Transaction", "signedTx", "tx"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-3GGBXXXJ.mjs";import{a as r}from"./chunk-2JKCBTYK.mjs";import{k as o}from"./chunk-PKDR5ERF.mjs";import m from"axios";async function c({addressToVerify:s,baseURL:a}){let e=t(a),{data:i}=await m.get(`${e}/${r}/${s}`,{timeout:o});return i}export{c as a};
2
- //# sourceMappingURL=chunk-VIQAOU2F.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/apiCalls/account/getScamAddressData.ts"],
4
- "sourcesContent": ["import axios from 'axios';\nimport { getCleanApiAddress } from 'apiCalls/utils/getCleanApiAddress';\nimport { TIMEOUT } from 'constants/index';\nimport { ScamInfoType } from 'types/account.types';\nimport { ACCOUNTS_ENDPOINT } from '../endpoints';\n\nexport async function getScamAddressData({\n addressToVerify,\n baseURL\n}: {\n addressToVerify: string;\n baseURL: string;\n}) {\n const apiAddress = getCleanApiAddress(baseURL);\n\n const { data } = await axios.get<{\n scamInfo?: ScamInfoType;\n code?: string;\n }>(`${apiAddress}/${ACCOUNTS_ENDPOINT}/${addressToVerify}`, {\n timeout: TIMEOUT\n });\n\n return data;\n}\n"],
5
- "mappings": "2HAAA,OAAOA,MAAW,QAMlB,eAAsBC,EAAmB,CACvC,gBAAAC,EACA,QAAAC,CACF,EAGG,CACD,IAAMC,EAAaC,EAAmBF,CAAO,EAEvC,CAAE,KAAAG,CAAK,EAAI,MAAMC,EAAM,IAG1B,GAAGH,CAAU,IAAII,CAAiB,IAAIN,CAAe,GAAI,CAC1D,QAASO,CACX,CAAC,EAED,OAAOH,CACT",
6
- "names": ["axios", "getScamAddressData", "addressToVerify", "baseURL", "apiAddress", "getCleanApiAddress", "data", "axios", "ACCOUNTS_ENDPOINT", "TIMEOUT"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-VOBUIF7F.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- import{b as t}from"./chunk-EPL2CHU6.mjs";var c=o=>t(o);export{c as a};
2
- //# sourceMappingURL=chunk-VTEOS2MM.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getInterpretedTransaction/helpers/getShardText.ts"],
4
- "sourcesContent": ["import { ALL_SHARDS_SHARD_ID, METACHAIN_SHARD_ID } from 'constants/index';\n\nexport const getShardText = (shard: number | string) => {\n let shardText = shard;\n\n if (typeof shardText === 'string' && shardText.includes('Shard')) {\n shardText = shardText.replace('Shard', '').replace(' ', '');\n }\n\n const isMetachain =\n METACHAIN_SHARD_ID.toString() === String(shardText).toString() ||\n String(shardText) === 'metachain';\n\n const isAllShards =\n ALL_SHARDS_SHARD_ID.toString() === String(shardText).toString();\n\n if (isMetachain) {\n return 'Metachain';\n }\n if (isAllShards) {\n return 'All Shards';\n }\n return `Shard ${shardText}`;\n};\n"],
5
- "mappings": "gDAEO,IAAMA,EAAgBC,GAA2B,CACtD,IAAIC,EAAYD,EAEZ,OAAOC,GAAc,UAAYA,EAAU,SAAS,OAAO,IAC7DA,EAAYA,EAAU,QAAQ,QAAS,EAAE,EAAE,QAAQ,IAAK,EAAE,GAG5D,IAAMC,EACJ,YAAmB,SAAS,IAAM,OAAOD,CAAS,EAAE,SAAS,GAC7D,OAAOA,CAAS,IAAM,YAElBE,EACJ,YAAoB,SAAS,IAAM,OAAOF,CAAS,EAAE,SAAS,EAEhE,OAAIC,EACK,YAELC,EACK,aAEF,SAASF,CAAS,EAC3B",
6
- "names": ["getShardText", "shard", "shardText", "isMetachain", "isAllShards"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-NAYC2B72.mjs";import{a as e}from"./chunk-H73D4VUZ.mjs";import{a as i}from"./chunk-6R2WFQ7U.mjs";var a=class{constructor(o){this.address="";this._login=null;this.loginAbortController=null;this.cancelLogin=()=>{this.loginAbortController&&this.loginAbortController.abort(),this.cancelAction?.(),this.loginAbortController=null};this.loginOperation=async o=>{if(!this._login)throw new Error("Provider is not initialized.");let r=await this._login(o);if(!r?.address)throw new Error("Provider is not initialized.");return{...r,address:r.address,signature:r.signature??""}};this.initializeAddress=()=>{if(this.address)return;let o=e();o&&(this.address=o)};this.cancelAction=void 0;this.address=o??""}getAccount(){throw new Error("Method not implemented.")}signTransaction(o,r){throw new Error("Method not implemented.")}async login(o){if(!this._login)throw new Error("Provider is not initialized.");this.loginAbortController&&this.loginAbortController.abort();let r=new AbortController;this.loginAbortController=r;let t=r.signal;try{let n=new Promise((p,c)=>{t.addEventListener("abort",()=>{c(new Error("Login cancelled"))})}),l=await Promise.race([this.loginOperation(o),n]);return this.loginAbortController=null,l}catch(n){throw this.loginAbortController=null,n}}async initSignState(){let{onClose:o,manager:r}=await s({cancelAction:this.cancelAction?.bind(this)}),t=this.getType();return r.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",o),r.updateData({name:i[t],type:t}),{onClose:o,manager:r}}};export{a};
2
- //# sourceMappingURL=chunk-WEZV6U4A.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.ts"],
4
- "sourcesContent": ["import { IProviderAccount } from '@multiversx/sdk-wallet-connect-provider/out';\nimport { providerLabels } from 'constants/index';\nimport { Transaction, Message } from 'lib/sdkCore';\nimport { IDAppProviderOptions, IDAppProviderAccount } from 'lib/sdkDappUtils';\nimport { PendingTransactionsEventsEnum } from 'managers/internal/PendingTransactionsStateManager';\nimport { getAddress } from 'methods/account/getAddress';\nimport { IProvider, ProviderType } from 'providers/types/providerFactory.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { getPendingTransactionsHandlers } from '../helpers';\n\nexport type LoginOptionsTypes = {\n token?: string;\n};\n\nexport abstract class BaseProviderStrategy<\n T extends ProviderType = ProviderType\n> implements IProvider<T>\n{\n protected address?: string = '';\n protected _login:\n | ((options?: LoginOptionsTypes) => Promise<IProviderAccount | null>)\n | null = null;\n protected loginAbortController: AbortController | null = null;\n\n /*\n * Allow setting provider address without store login\n */\n constructor(address?: string) {\n this.address = address ?? '';\n }\n\n abstract init(): Promise<boolean>;\n abstract logout(): Promise<boolean>;\n abstract getType(): T;\n\n abstract getAddress(): Promise<string | undefined>;\n abstract setAccount(account: IDAppProviderAccount): void;\n abstract isInitialized(): boolean;\n\n isConnected?(): boolean;\n\n getAccount(): IDAppProviderAccount | null {\n throw new Error('Method not implemented.');\n }\n\n signTransaction(\n _transaction: Transaction,\n _options?: IDAppProviderOptions\n ): Promise<Transaction | null> {\n throw new Error('Method not implemented.');\n }\n\n abstract signTransactions(\n transactions: Transaction[],\n options?: IDAppProviderOptions\n ): Promise<Transaction[] | null>;\n\n abstract signMessage(\n messageToSign: Message,\n options?: IDAppProviderOptions\n ): Promise<Message | null>;\n\n public async login(\n options?: LoginOptionsTypes\n ): Promise<{ address: string; signature: string }> {\n if (!this._login) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n if (this.loginAbortController) {\n this.loginAbortController.abort();\n }\n\n const controller = new AbortController();\n this.loginAbortController = controller;\n\n const signal = controller.signal;\n\n try {\n const abortPromise = new Promise<never>((_, reject) => {\n signal.addEventListener('abort', () => {\n reject(new Error('Login cancelled'));\n });\n });\n\n const loginResult = await Promise.race([\n this.loginOperation(options),\n abortPromise\n ]);\n\n this.loginAbortController = null;\n\n return loginResult;\n } catch (error) {\n this.loginAbortController = null;\n throw error;\n }\n }\n\n public cancelLogin = () => {\n if (this.loginAbortController) {\n this.loginAbortController.abort();\n }\n\n this.cancelAction?.();\n this.loginAbortController = null;\n };\n\n protected loginOperation = async (\n options?: LoginOptionsTypes\n ): Promise<{ address: string; signature: string }> => {\n if (!this._login) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const result = await this._login(options);\n\n if (!result?.address) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n return {\n ...result,\n address: result.address,\n signature: result.signature ?? ''\n };\n };\n\n /**\n * Initializes the provider by setting the address if it is not already set.\n */\n protected initializeAddress = () => {\n if (this.address) {\n return;\n }\n\n const address = getAddress();\n\n if (!address) {\n return;\n }\n\n this.address = address;\n };\n\n cancelAction: (() => Promise<void>) | undefined = undefined;\n\n /**\n * This method should be overridden by subclasses to handle cancel login event.\n */\n // async cancelAction(): Promise<void> {\n // throw new Error('Method not implemented.');\n // }\n\n protected async initSignState() {\n const { onClose, manager } = await getPendingTransactionsHandlers({\n cancelAction: this.cancelAction?.bind(this)\n });\n\n const type = this.getType();\n manager.subscribeToEventBus(PendingTransactionsEventsEnum.CLOSE, onClose);\n\n manager.updateData({\n name: providerLabels[type],\n type\n });\n\n return { onClose, manager };\n }\n}\n"],
5
- "mappings": "2HAcO,IAAeA,EAAf,KAGP,CAUE,YAAYC,EAAkB,CAT9B,KAAU,QAAmB,GAC7B,KAAU,OAEC,KACX,KAAU,qBAA+C,KA6EzD,KAAO,YAAc,IAAM,CACrB,KAAK,sBACP,KAAK,qBAAqB,MAAM,EAGlC,KAAK,eAAe,EACpB,KAAK,qBAAuB,IAC9B,EAEA,KAAU,eAAiB,MACzBC,GACoD,CACpD,GAAI,CAAC,KAAK,OACR,MAAM,IAAI,oCAAuC,EAGnD,IAAMC,EAAS,MAAM,KAAK,OAAOD,CAAO,EAExC,GAAI,CAACC,GAAQ,QACX,MAAM,IAAI,oCAAuC,EAGnD,MAAO,CACL,GAAGA,EACH,QAASA,EAAO,QAChB,UAAWA,EAAO,WAAa,EACjC,CACF,EAKA,KAAU,kBAAoB,IAAM,CAClC,GAAI,KAAK,QACP,OAGF,IAAMF,EAAUG,EAAW,EAEtBH,IAIL,KAAK,QAAUA,EACjB,EAEA,kBAAkD,OArHhD,KAAK,QAAUA,GAAW,EAC5B,CAYA,YAA0C,CACxC,MAAM,IAAI,MAAM,yBAAyB,CAC3C,CAEA,gBACEI,EACAC,EAC6B,CAC7B,MAAM,IAAI,MAAM,yBAAyB,CAC3C,CAYA,MAAa,MACXJ,EACiD,CACjD,GAAI,CAAC,KAAK,OACR,MAAM,IAAI,oCAAuC,EAG/C,KAAK,sBACP,KAAK,qBAAqB,MAAM,EAGlC,IAAMK,EAAa,IAAI,gBACvB,KAAK,qBAAuBA,EAE5B,IAAMC,EAASD,EAAW,OAE1B,GAAI,CACF,IAAME,EAAe,IAAI,QAAe,CAACC,EAAGC,IAAW,CACrDH,EAAO,iBAAiB,QAAS,IAAM,CACrCG,EAAO,IAAI,MAAM,iBAAiB,CAAC,CACrC,CAAC,CACH,CAAC,EAEKC,EAAc,MAAM,QAAQ,KAAK,CACrC,KAAK,eAAeV,CAAO,EAC3BO,CACF,CAAC,EAED,YAAK,qBAAuB,KAErBG,CACT,OAASC,EAAO,CACd,WAAK,qBAAuB,KACtBA,CACR,CACF,CAyDA,MAAgB,eAAgB,CAC9B,GAAM,CAAE,QAAAC,EAAS,QAAAC,CAAQ,EAAI,MAAMC,EAA+B,CAChE,aAAc,KAAK,cAAc,KAAK,IAAI,CAC5C,CAAC,EAEKC,EAAO,KAAK,QAAQ,EAC1B,OAAAF,EAAQ,iDAAyDD,CAAO,EAExEC,EAAQ,WAAW,CACjB,KAAMG,EAAeD,CAAI,EACzB,KAAAA,CACF,CAAC,EAEM,CAAE,QAAAH,EAAS,QAAAC,CAAQ,CAC5B,CACF",
6
- "names": ["BaseProviderStrategy", "address", "options", "result", "getAddress", "_transaction", "_options", "controller", "signal", "abortPromise", "_", "reject", "loginResult", "error", "onClose", "manager", "getPendingTransactionsHandlers", "type", "providerLabels"]
7
- }
@@ -1,2 +0,0 @@
1
- var s=t=>/\d/.test(t);export{s as a};
2
- //# sourceMappingURL=chunk-WVAP3V3E.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/decoders/stringContainsNumbers.ts"],
4
- "sourcesContent": ["export const stringContainsNumbers = (str: string) => /\\d/.test(str);\n"],
5
- "mappings": "AAAO,IAAMA,EAAyBC,GAAgB,KAAK,KAAKA,CAAG",
6
- "names": ["stringContainsNumbers", "str"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as o}from"./chunk-URTM5OGN.mjs";var i=String(o?.navigator?.userAgent),t=/^((?!chrome|android).)*safari/i.test(i),r=/firefox/i.test(i)&&/windows/i.test(i),n=t||r;export{t as a,n as b};
2
- //# sourceMappingURL=chunk-WYVAFCPU.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/constants/browser.constants.ts"],
4
- "sourcesContent": ["import { safeWindow } from './window.constants';\n\nconst userAgent = String(safeWindow?.navigator?.userAgent);\n\nexport const isSafari = /^((?!chrome|android).)*safari/i.test(userAgent);\n\nconst isFirefoxOnWindows =\n /firefox/i.test(userAgent) && /windows/i.test(userAgent);\n\nexport const isBrowserWithPopupConfirmation = isSafari || isFirefoxOnWindows;\n"],
5
- "mappings": "yCAEA,IAAMA,EAAY,OAAOC,GAAY,WAAW,SAAS,EAE5CC,EAAW,iCAAiC,KAAKF,CAAS,EAEjEG,EACJ,WAAW,KAAKH,CAAS,GAAK,WAAW,KAAKA,CAAS,EAE5CI,EAAiCF,GAAYC",
6
- "names": ["userAgent", "safeWindow", "isSafari", "isFirefoxOnWindows", "isBrowserWithPopupConfirmation"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-SNPF3BD2.mjs";import{a as i}from"./chunk-N56SMVGU.mjs";import{k as n}from"./chunk-PKDR5ERF.mjs";async function T(t){let r={timeout:n},o=await e.getItem(t);if(o)return o;let a=await i.get(t,r);return await e.setItem(t,a.data),a.data}export{T as a};
2
- //# sourceMappingURL=chunk-XLLBREX7.mjs.map
@@ -1,2 +0,0 @@
1
- import{b as a,f as p}from"./chunk-7MBSWJUD.mjs";import{f as l}from"./chunk-VNLGNNIL.mjs";import{a as d,b as y}from"./chunk-NLRDRI7Q.mjs";import{a as I}from"./chunk-AGJVEK6I.mjs";import{a as k}from"./chunk-KRWR77QE.mjs";import{b as T}from"./chunk-A7FTKX2A.mjs";import{a as c,b as g}from"./chunk-IVHD32VC.mjs";import{a as m,b as f}from"./chunk-M7BM6QPB.mjs";import{a as L}from"./chunk-CYCS3K6Q.mjs";import{a as S,b as u}from"./chunk-VKEESSBI.mjs";import{a as x}from"./chunk-2DNGCNYM.mjs";import{a as v}from"./chunk-NB7A4C7L.mjs";import{c as s}from"./chunk-NTEMINYA.mjs";import{createJSONStorage as O,devtools as V,persist as h}from"zustand/middleware";import{immer as N}from"zustand/middleware/immer";import{createStore as J}from"zustand/vanilla";var A=e=>{e.account=c,e.loginInfo=m,e.transactions=d,e.toasts=S};function H(){return new Date().setHours(new Date().getHours()+24)}function w(e){if(e==null){E();return}b(e)}var C=e=>{let t=p(e),n=l(e),{address:i,publicKey:M}=a(e);if(i&&M!==new s(i).toHex()&&A(e),!t)return;if(n==null){w(H());return}let P=Date.now();n-P<0&&(w(null),o().setState(A))};var W=(e,t)=>{C(e)};var z=e=>{let t=J(V(h(N((...n)=>({network:x(...n),account:g(...n),loginInfo:f(...n),config:L(...n),transactions:y(...n),toasts:u(...n),cache:T(...n),ui:v(...n)})),{name:"sdk-dapp-store",storage:O(e)}),{name:"sdk-dapp"}));return t.subscribe(W),t},r,D=e=>{r=e},o=()=>(r||D(z(()=>new k)),r),le=(e=I)=>{let t=z(e);return D(t),t},se=()=>o().getState();var me=e=>o().setState(({loginInfo:t})=>{t.providerType=e},!1,{type:"setProviderType",payload:{value:e}}),fe=e=>o().setState(({loginInfo:t})=>{t.tokenLogin=e},!1,{type:"setTokenLogin",payload:{value:e}}),Se=e=>o().setState(({loginInfo:t})=>{if(t.tokenLogin!=null){t.tokenLogin.loginToken=e;return}t.tokenLogin={loginToken:e}},!1,{type:"setLoginToken",payload:{value:e}}),ue=e=>o().setState(({loginInfo:t})=>{t?.tokenLogin!=null&&(t.tokenLogin.signature=e)},!1,{type:"setTokenLoginSignature",payload:{value:e}}),de=e=>o().setState(({loginInfo:t})=>{t.walletConnectLogin=e},!1,{type:"setWalletConnectLogin",payload:{value:e}}),ye=e=>o().setState(({loginInfo:t})=>{t.ledgerLogin=e},!1,{type:"setLedgerLogin",payload:{value:e}}),xe=e=>o().setState(({loginInfo:t})=>{t.isWalletConnectV2Initialized=e},!1,{type:"setIsWalletConnectV2Initialized",payload:{value:e}}),E=()=>o().setState(({loginInfo:e})=>{e.loginExpiresAt=null},!1,{type:"removeLoginExpiresAt",payload:{value:null}}),b=e=>o().setState(({loginInfo:t})=>{t.loginExpiresAt=e},!1,{type:"addLoginExpiresAt",payload:{value:e}});export{me as a,fe as b,Se as c,ue as d,de as e,ye as f,xe as g,E as h,b as i,A as j,H as k,w as l,C as m,W as n,z as o,D as p,o as q,le as r,se as s};
2
- //# sourceMappingURL=chunk-XNSSZDSU.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/store/store.ts", "../../src/store/middleware/logoutMiddleware.ts", "../../src/store/middleware/applyMiddlewares.ts", "../../src/store/actions/loginInfo/loginInfoActions.ts"],
4
- "sourcesContent": ["import { createJSONStorage, devtools, persist } from 'zustand/middleware';\nimport { immer } from 'zustand/middleware/immer';\nimport { createStore } from 'zustand/vanilla';\nimport { applyMiddlewares } from './middleware';\nimport {\n networkSlice,\n accountSlice,\n loginInfoSlice,\n configSlice,\n toastSlice,\n cacheSlice,\n uiSlice\n} from './slices';\nimport { transactionsSlice } from './slices/transactions';\nimport {\n InMemoryStorage,\n defaultStorageCallback,\n StorageCallback\n} from './storage';\nimport { StoreType } from './store.types';\n\nexport type MutatorsIn = [\n ['zustand/devtools', never],\n ['zustand/persist', unknown],\n ['zustand/immer', never]\n];\n\nexport type MutatorsOut = [\n ['zustand/devtools', never],\n ['zustand/persist', StoreType],\n ['zustand/immer', never]\n];\n\nexport const createDAppStore = (getStorageCallback: StorageCallback) => {\n const store = createStore<StoreType, MutatorsOut>(\n devtools(\n persist(\n immer((...args) => ({\n network: networkSlice(...args),\n account: accountSlice(...args),\n loginInfo: loginInfoSlice(...args),\n config: configSlice(...args),\n transactions: transactionsSlice(...args),\n toasts: toastSlice(...args),\n cache: cacheSlice(...args),\n ui: uiSlice(...args)\n })),\n {\n name: 'sdk-dapp-store',\n storage: createJSONStorage(getStorageCallback)\n }\n ),\n {\n name: 'sdk-dapp'\n }\n )\n );\n store.subscribe(applyMiddlewares);\n return store;\n};\n\nexport type StoreApi = ReturnType<typeof createDAppStore>;\n\nlet store: StoreApi;\n\nexport const setDAppStore = (_store: StoreApi) => {\n store = _store;\n};\n\nexport const getStore = () => {\n if (!store) {\n setDAppStore(createDAppStore(() => new InMemoryStorage()));\n }\n return store;\n};\n\n/**\n * Initialize store with the preferred storage by passing a callback.\n * Default storage is localStorage.\n * You can pass your own storage.\n * Call this function before using store, ideally before app bootstrapping.\n * @param getStorageCallback\n * @default () => localStorage\n * @returns persistent store instance\n * @example\n * initStore(() => window.localStorage);\n * initStore(() => window.sessionStorage);\n * initStore(() => new InMemoryStorage());\n * */\nexport const initStore = (getStorageCallback = defaultStorageCallback) => {\n const dappStore = createDAppStore(getStorageCallback);\n setDAppStore(dappStore);\n return dappStore;\n};\n\nexport const getState = () => getStore().getState();\n", "import { WritableDraft } from 'immer';\nimport { Address } from 'lib/sdkCore';\nimport {\n addLoginExpiresAt,\n removeLoginExpiresAt\n} from 'store/actions/loginInfo/loginInfoActions';\nimport {\n accountInfoSelector,\n isLoggedInSelector,\n loginExpiresAtSelector\n} from 'store/selectors';\nimport { initialState as initialAccountState } from 'store/slices/account/accountSlice';\nimport { initialState as initialLoginInfoState } from 'store/slices/loginInfo/loginInfoSlice';\nimport { initialState as initialToastState } from 'store/slices/toast/toastSlice';\nimport { initialState as initialTransactionsState } from 'store/slices/transactions/transactionsSlice';\nimport { getStore } from 'store/store';\nimport { StoreType } from '../store.types';\n\nexport const resetStore = (store: WritableDraft<StoreType>) => {\n store.account = initialAccountState;\n store.loginInfo = initialLoginInfoState;\n store.transactions = initialTransactionsState;\n store.toasts = initialToastState;\n};\n\nexport function getNewLoginExpiresTimestamp() {\n return new Date().setHours(new Date().getHours() + 24);\n}\n\nexport function setLoginExpiresAt(expiresAt: number | null) {\n if (expiresAt == null) {\n removeLoginExpiresAt();\n return;\n }\n addLoginExpiresAt(expiresAt);\n}\n\nexport const logoutMiddleware = (state: StoreType) => {\n const isLoggedIn = isLoggedInSelector(state);\n const loginTimestamp = loginExpiresAtSelector(state);\n const { address, publicKey } = accountInfoSelector(state);\n\n if (address && publicKey !== new Address(address).toHex()) {\n resetStore(state);\n }\n\n if (!isLoggedIn) {\n return;\n }\n\n if (loginTimestamp == null) {\n setLoginExpiresAt(getNewLoginExpiresTimestamp());\n return;\n }\n\n const now = Date.now();\n const isExpired = loginTimestamp - now < 0;\n\n if (isExpired) {\n // logout\n setLoginExpiresAt(null);\n getStore().setState(resetStore);\n }\n};\n", "import { StoreType } from '../store.types';\nimport { logoutMiddleware } from './logoutMiddleware';\n\nexport const applyMiddlewares = (state: StoreType, _prevState: StoreType) => {\n logoutMiddleware(state);\n};\n", "import { ProviderType } from 'providers/types/providerFactory.types';\nimport {\n LedgerLoginType,\n WalletConnectLoginType\n} from 'store/slices/loginInfo/loginInfo.types';\nimport { getStore } from 'store/store';\nimport { TokenLoginType } from 'types/login.types';\n\nexport const setProviderType = <T extends ProviderType = ProviderType>(\n providerType: T\n) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.providerType = providerType;\n },\n false,\n {\n type: 'setProviderType',\n // @ts-ignore\n payload: {\n value: providerType\n }\n }\n );\n\nexport const setTokenLogin = (tokenLogin: TokenLoginType) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.tokenLogin = tokenLogin;\n },\n false,\n {\n type: 'setTokenLogin',\n // @ts-ignore\n payload: {\n value: tokenLogin\n }\n }\n );\n\nexport const setLoginToken = (loginToken: string) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n if (state.tokenLogin != null) {\n state.tokenLogin.loginToken = loginToken;\n return;\n }\n state.tokenLogin = {\n loginToken\n };\n },\n false,\n {\n type: 'setLoginToken',\n // @ts-ignore\n payload: {\n value: loginToken\n }\n }\n );\n\nexport const setTokenLoginSignature = (signature: string) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n if (state?.tokenLogin != null) {\n state.tokenLogin.signature = signature;\n }\n },\n false,\n {\n type: 'setTokenLoginSignature',\n // @ts-ignore\n payload: {\n value: signature\n }\n }\n );\n\nexport const setWalletConnectLogin = (\n walletConnectLogin: WalletConnectLoginType | null\n) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.walletConnectLogin = walletConnectLogin;\n },\n false,\n {\n type: 'setWalletConnectLogin',\n // @ts-ignore\n payload: {\n value: walletConnectLogin\n }\n }\n );\n\nexport const setLedgerLogin = (ledgerLogin: LedgerLoginType | null) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.ledgerLogin = ledgerLogin;\n },\n false,\n {\n type: 'setLedgerLogin',\n // @ts-ignore\n payload: {\n value: ledgerLogin\n }\n }\n );\n\nexport const setIsWalletConnectV2Initialized = (isInitialized: boolean) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.isWalletConnectV2Initialized = isInitialized;\n },\n false,\n {\n type: 'setIsWalletConnectV2Initialized',\n // @ts-ignore\n payload: {\n value: isInitialized\n }\n }\n );\n\nexport const removeLoginExpiresAt = () =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.loginExpiresAt = null;\n },\n false,\n {\n type: 'removeLoginExpiresAt',\n // @ts-ignore\n payload: {\n value: null\n }\n }\n );\n\nexport const addLoginExpiresAt = (expiresAt: number) =>\n getStore().setState(\n ({ loginInfo: state }) => {\n state.loginExpiresAt = expiresAt;\n },\n false,\n {\n type: 'addLoginExpiresAt',\n // @ts-ignore\n payload: {\n value: expiresAt\n }\n }\n );\n"],
5
- "mappings": "wjBAAA,OAAS,qBAAAA,EAAmB,YAAAC,EAAU,WAAAC,MAAe,qBACrD,OAAS,SAAAC,MAAa,2BACtB,OAAS,eAAAC,MAAmB,kBCgBrB,IAAMC,EAAcC,GAAoC,CAC7DA,EAAM,QAAUC,EAChBD,EAAM,UAAYC,EAClBD,EAAM,aAAeC,EACrBD,EAAM,OAASC,CACjB,EAEO,SAASC,GAA8B,CAC5C,OAAO,IAAI,KAAK,EAAE,SAAS,IAAI,KAAK,EAAE,SAAS,EAAI,EAAE,CACvD,CAEO,SAASC,EAAkBC,EAA0B,CAC1D,GAAIA,GAAa,KAAM,CACrBC,EAAqB,EACrB,MACF,CACAC,EAAkBF,CAAS,CAC7B,CAEO,IAAMG,EAAoBC,GAAqB,CACpD,IAAMC,EAAaC,EAAmBF,CAAK,EACrCG,EAAiBC,EAAuBJ,CAAK,EAC7C,CAAE,QAAAK,EAAS,UAAAC,CAAU,EAAIC,EAAoBP,CAAK,EAMxD,GAJIK,GAAWC,IAAc,IAAIE,EAAQH,CAAO,EAAE,MAAM,GACtDd,EAAWS,CAAK,EAGd,CAACC,EACH,OAGF,GAAIE,GAAkB,KAAM,CAC1BR,EAAkBD,EAA4B,CAAC,EAC/C,MACF,CAEA,IAAMe,EAAM,KAAK,IAAI,EACHN,EAAiBM,EAAM,IAIvCd,EAAkB,IAAI,EACtBe,EAAS,EAAE,SAASnB,CAAU,EAElC,EC5DO,IAAMoB,EAAmB,CAACC,EAAkBC,IAA0B,CAC3EC,EAAiBF,CAAK,CACxB,EF4BO,IAAMG,EAAmBC,GAAwC,CACtE,IAAMC,EAAQC,EACZC,EACEC,EACEC,EAAM,IAAIC,KAAU,CAClB,QAASC,EAAa,GAAGD,CAAI,EAC7B,QAASE,EAAa,GAAGF,CAAI,EAC7B,UAAWG,EAAe,GAAGH,CAAI,EACjC,OAAQI,EAAY,GAAGJ,CAAI,EAC3B,aAAcK,EAAkB,GAAGL,CAAI,EACvC,OAAQM,EAAW,GAAGN,CAAI,EAC1B,MAAOO,EAAW,GAAGP,CAAI,EACzB,GAAIQ,EAAQ,GAAGR,CAAI,CACrB,EAAE,EACF,CACE,KAAM,iBACN,QAASS,EAAkBf,CAAkB,CAC/C,CACF,EACA,CACE,KAAM,UACR,CACF,CACF,EACA,OAAAC,EAAM,UAAUe,CAAgB,EACzBf,CACT,EAIIA,EAESgB,EAAgBC,GAAqB,CAChDjB,EAAQiB,CACV,EAEaC,EAAW,KACjBlB,GACHgB,EAAalB,EAAgB,IAAM,IAAIqB,CAAiB,CAAC,EAEpDnB,GAgBIoB,GAAY,CAACrB,EAAqBsB,IAA2B,CACxE,IAAMC,EAAYxB,EAAgBC,CAAkB,EACpD,OAAAiB,EAAaM,CAAS,EACfA,CACT,EAEaC,GAAW,IAAML,EAAS,EAAE,SAAS,EGvF3C,IAAMM,GACXC,GAEAC,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,aAAeF,CACvB,EACA,GACA,CACE,KAAM,kBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWG,GAAiBC,GAC5BH,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,WAAaE,CACrB,EACA,GACA,CACE,KAAM,gBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAiBC,GAC5BL,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxB,GAAIA,EAAM,YAAc,KAAM,CAC5BA,EAAM,WAAW,WAAaI,EAC9B,MACF,CACAJ,EAAM,WAAa,CACjB,WAAAI,CACF,CACF,EACA,GACA,CACE,KAAM,gBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAA0BC,GACrCP,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACpBA,GAAO,YAAc,OACvBA,EAAM,WAAW,UAAYM,EAEjC,EACA,GACA,CACE,KAAM,yBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GACXC,GAEAT,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,mBAAqBQ,CAC7B,EACA,GACA,CACE,KAAM,wBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAkBC,GAC7BX,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,YAAcU,CACtB,EACA,GACA,CACE,KAAM,iBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,GAAmCC,GAC9Cb,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,6BAA+BY,CACvC,EACA,GACA,CACE,KAAM,kCAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF,EAEWC,EAAuB,IAClCd,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,eAAiB,IACzB,EACA,GACA,CACE,KAAM,uBAEN,QAAS,CACP,MAAO,IACT,CACF,CACF,EAEWc,EAAqBC,GAChChB,EAAS,EAAE,SACT,CAAC,CAAE,UAAWC,CAAM,IAAM,CACxBA,EAAM,eAAiBe,CACzB,EACA,GACA,CACE,KAAM,oBAEN,QAAS,CACP,MAAOA,CACT,CACF,CACF",
6
- "names": ["createJSONStorage", "devtools", "persist", "immer", "createStore", "resetStore", "store", "initialState", "getNewLoginExpiresTimestamp", "setLoginExpiresAt", "expiresAt", "removeLoginExpiresAt", "addLoginExpiresAt", "logoutMiddleware", "state", "isLoggedIn", "isLoggedInSelector", "loginTimestamp", "loginExpiresAtSelector", "address", "publicKey", "accountInfoSelector", "Address", "now", "getStore", "applyMiddlewares", "state", "_prevState", "logoutMiddleware", "createDAppStore", "getStorageCallback", "store", "createStore", "devtools", "persist", "immer", "args", "networkSlice", "accountSlice", "loginInfoSlice", "configSlice", "transactionsSlice", "toastSlice", "cacheSlice", "uiSlice", "createJSONStorage", "applyMiddlewares", "setDAppStore", "_store", "getStore", "InMemoryStorage", "initStore", "defaultStorageCallback", "dappStore", "getState", "setProviderType", "providerType", "getStore", "state", "setTokenLogin", "tokenLogin", "setLoginToken", "loginToken", "setTokenLoginSignature", "signature", "setWalletConnectLogin", "walletConnectLogin", "setLedgerLogin", "ledgerLogin", "setIsWalletConnectV2Initialized", "isInitialized", "removeLoginExpiresAt", "addLoginExpiresAt", "expiresAt"]
7
- }
@@ -1,2 +0,0 @@
1
- import{s as o}from"./chunk-XNSSZDSU.mjs";import{a as t}from"./chunk-7VHTZYM2.mjs";function f(r=o()){return t(r)}export{f as a};
2
- //# sourceMappingURL=chunk-XSUHHPZ2.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as u}from"./chunk-4GCIE2BM.mjs";import{a as f}from"./chunk-DW6RO5LJ.mjs";import{a as g}from"./chunk-JDP24JPD.mjs";import{b as a}from"./chunk-XNSSZDSU.mjs";import{c as s,g as r}from"./chunk-NTEMINYA.mjs";var v=async({signMessageCallback:m,nativeAuthClientConfig:o})=>{let{address:t}=u(),c=g(),i=f(o||c),e=await i.initialize({noCache:!!o});if(!e)return null;let h=new r({address:new s(t),data:Buffer.from(`${t}${e}`)}),n=await m(h,{});if(!n?.signature)throw"Message not signed";return a({loginToken:e,signature:Buffer.from(n.signature).toString("hex")}),i.getToken({address:t,token:e,signature:Buffer.from(n.signature).toString("hex")})};export{v as a};
2
- //# sourceMappingURL=chunk-XTATC65P.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/account/refreshNativeAuthTokenLogin.ts"],
4
- "sourcesContent": ["import { Address, Message } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\n\n/**\n * Use this function if you support multiple networks with network switching\n * @returns The native auth token\n */\nexport const refreshNativeAuthTokenLogin = async ({\n signMessageCallback,\n nativeAuthClientConfig\n}: {\n signMessageCallback: (\n messageToSign: Message,\n options: Record<any, any>\n ) => Promise<Message>;\n nativeAuthClientConfig?: NativeAuthConfigType;\n}): Promise<string | null> => {\n const { address } = getAccount();\n const defaultNativeAuthConfig = getDefaultNativeAuthConfig();\n\n const nativeAuthClient = nativeAuth(\n nativeAuthClientConfig || defaultNativeAuthConfig\n );\n\n const loginToken = await nativeAuthClient.initialize({\n noCache: Boolean(nativeAuthClientConfig)\n });\n\n if (!loginToken) {\n return null;\n }\n\n const messageToSign = new Message({\n address: new Address(address),\n data: Buffer.from(`${address}${loginToken}`)\n });\n\n const signedMessage = await signMessageCallback(messageToSign, {});\n\n if (!signedMessage?.signature) {\n throw 'Message not signed';\n }\n\n setTokenLogin({\n loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n\n return nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n};\n"],
5
- "mappings": "oNAWO,IAAMA,EAA8B,MAAO,CAChD,oBAAAC,EACA,uBAAAC,CACF,IAM8B,CAC5B,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAW,EACzBC,EAA0BC,EAA2B,EAErDC,EAAmBC,EACvBN,GAA0BG,CAC5B,EAEMI,EAAa,MAAMF,EAAiB,WAAW,CACnD,QAAS,EAAQL,CACnB,CAAC,EAED,GAAI,CAACO,EACH,OAAO,KAGT,IAAMC,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQT,CAAO,EAC5B,KAAM,OAAO,KAAK,GAAGA,CAAO,GAAGM,CAAU,EAAE,CAC7C,CAAC,EAEKI,EAAgB,MAAMZ,EAAoBS,EAAe,CAAC,CAAC,EAEjE,GAAI,CAACG,GAAe,UAClB,KAAM,qBAGR,OAAAC,EAAc,CACZ,WAAAL,EACA,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,EAEMN,EAAiB,SAAS,CAC/B,QAAAJ,EACA,MAAOM,EACP,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,CACH",
6
- "names": ["refreshNativeAuthTokenLogin", "signMessageCallback", "nativeAuthClientConfig", "address", "getAccount", "defaultNativeAuthConfig", "getDefaultNativeAuthConfig", "nativeAuthClient", "nativeAuth", "loginToken", "messageToSign", "Message", "Address", "signedMessage", "setTokenLogin"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.ts"],
4
- "sourcesContent": ["import BigNumber from 'bignumber.js';\n\nimport { getEconomics } from 'apiCalls/economics/getEconomics';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { ProviderErrorsEnum } from 'types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { getUsdValue } from 'utils/operations/getUsdValue';\n\nimport {\n IUpdateAccountsList,\n UpdateAccountObjectType\n} from './updateAccountsList.types';\nimport { ILedgerAccount } from '../../../../types/ledger.types';\n\n/**\n * Updates the list of accounts and fetches their balances.\n *\n * This function performs the following steps:\n * 1. Checks if the manager and provider are initialized; if not, throws an error.\n * 2. Retrieves the starting index for pagination and the current list of accounts.\n * 3. Checks if there is already data for the current page to avoid unnecessary fetching.\n * 4. If no data is present, it fetches the accounts from the wallet provider.\n * 5. Updates the state manager with the new account data and their balances.\n * 6. Handles errors by reverting to existing accounts and logging the error.\n */\nexport const updateAccountsList = async ({\n manager,\n provider\n}: IUpdateAccountsList) => {\n if (!manager || !provider) {\n throw new Error(ProviderErrorsEnum.notInitialized);\n }\n\n const { network } = getNetworkConfig();\n const startIndex = manager.getAccountScreenData()?.startIndex || 0;\n const allAccounts = manager.getAllAccounts();\n const economics = await getEconomics({ baseURL: network.apiAddress });\n\n const filterByStartIndexRange = (account: ILedgerAccount) =>\n account.index >= startIndex &&\n account.index < startIndex + manager.addressesPerPage;\n\n const allAccountsObject = allAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.index]: account }),\n {}\n );\n\n const currentAccounts = allAccounts.filter(filterByStartIndexRange);\n const isStartIndexInAccounts = Boolean(allAccountsObject[startIndex]);\n\n manager.updateAccountScreen({\n isLoading: !isStartIndexInAccounts\n });\n\n if (currentAccounts.length > 0) {\n manager.updateAccountScreen({ accounts: currentAccounts });\n return;\n }\n\n try {\n const page = Math.floor(startIndex / manager.addressesPerPage);\n\n const accountsArray = await provider.getAccounts(\n page,\n manager.addressesPerPage\n );\n\n const accountsWithBalance = accountsArray.map(\n (address, accountIindex): ILedgerAccount => ({\n address,\n balance: '...',\n index: accountIindex + startIndex\n })\n );\n\n const newAllAccounts = [...allAccounts, ...accountsWithBalance];\n const balancePromises = accountsArray.map((address) =>\n fetchAccount({ address, baseURL: network.apiAddress })\n );\n\n const balances = await Promise.all(balancePromises);\n const newAllAccountsObject = newAllAccounts.reduce(\n (accountsObject: UpdateAccountObjectType, account) =>\n Object.assign(accountsObject, { [account.address]: account }),\n {}\n );\n\n balances.forEach((account) => {\n if (!account || !economics || !economics.price) {\n return;\n }\n\n const balanceBigNumber = new BigNumber(account.balance);\n const formattedBalance = balanceBigNumber\n .dividedBy(BigNumber(10).pow(18))\n .toFormat(4)\n .toString();\n\n if (balanceBigNumber.isNaN()) {\n return;\n }\n\n const usdValue = getUsdValue({\n amount: formatAmount({ input: account.balance }),\n usd: economics?.price\n });\n\n newAllAccountsObject[account.address].balance = formattedBalance;\n newAllAccountsObject[account.address].usdValue = usdValue;\n });\n\n const newAllAccountsArray = Object.values(newAllAccountsObject).sort(\n (alpha, beta) => alpha.index - beta.index\n );\n\n const accountsScreenArray = newAllAccountsArray.filter(\n filterByStartIndexRange\n );\n\n manager.updateAllAccounts(newAllAccountsArray);\n manager.updateAccountScreen({\n accounts: accountsScreenArray,\n isLoading: false\n });\n } catch (error) {\n console.error('Failed to fetch accounts:', error);\n }\n};\n"],
5
- "mappings": "wMAAA,OAAOA,MAAe,eA0Bf,IAAMC,EAAqB,MAAO,CACvC,QAAAC,EACA,SAAAC,CACF,IAA2B,CACzB,GAAI,CAACD,GAAW,CAACC,EACf,MAAM,IAAI,oCAAuC,EAGnD,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAiB,EAC/BC,EAAaJ,EAAQ,qBAAqB,GAAG,YAAc,EAC3DK,EAAcL,EAAQ,eAAe,EACrCM,EAAY,MAAMC,EAAa,CAAE,QAASL,EAAQ,UAAW,CAAC,EAE9DM,EAA2BC,GAC/BA,EAAQ,OAASL,GACjBK,EAAQ,MAAQL,EAAaJ,EAAQ,iBAEjCU,EAAoBL,EAAY,OACpC,CAACM,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,KAAK,EAAGA,CAAQ,CAAC,EAC5D,CAAC,CACH,EAEMG,EAAkBP,EAAY,OAAOG,CAAuB,EAC5DK,EAAyB,EAAQH,EAAkBN,CAAU,EAMnE,GAJAJ,EAAQ,oBAAoB,CAC1B,UAAW,CAACa,CACd,CAAC,EAEGD,EAAgB,OAAS,EAAG,CAC9BZ,EAAQ,oBAAoB,CAAE,SAAUY,CAAgB,CAAC,EACzD,MACF,CAEA,GAAI,CACF,IAAME,EAAO,KAAK,MAAMV,EAAaJ,EAAQ,gBAAgB,EAEvDe,EAAgB,MAAMd,EAAS,YACnCa,EACAd,EAAQ,gBACV,EAEMgB,EAAsBD,EAAc,IACxC,CAACE,EAASC,KAAmC,CAC3C,QAAAD,EACA,QAAS,MACT,MAAOC,EAAgBd,CACzB,EACF,EAEMe,EAAiB,CAAC,GAAGd,EAAa,GAAGW,CAAmB,EACxDI,EAAkBL,EAAc,IAAKE,GACzCI,EAAa,CAAE,QAAAJ,EAAS,QAASf,EAAQ,UAAW,CAAC,CACvD,EAEMoB,EAAW,MAAM,QAAQ,IAAIF,CAAe,EAC5CG,EAAuBJ,EAAe,OAC1C,CAACR,EAAyCF,IACxC,OAAO,OAAOE,EAAgB,CAAE,CAACF,EAAQ,OAAO,EAAGA,CAAQ,CAAC,EAC9D,CAAC,CACH,EAEAa,EAAS,QAASb,GAAY,CAC5B,GAAI,CAACA,GAAW,CAACH,GAAa,CAACA,EAAU,MACvC,OAGF,IAAMkB,EAAmB,IAAIC,EAAUhB,EAAQ,OAAO,EAChDiB,EAAmBF,EACtB,UAAUC,EAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAC/B,SAAS,CAAC,EACV,SAAS,EAEZ,GAAID,EAAiB,MAAM,EACzB,OAGF,IAAMG,EAAWC,EAAY,CAC3B,OAAQC,EAAa,CAAE,MAAOpB,EAAQ,OAAQ,CAAC,EAC/C,IAAKH,GAAW,KAClB,CAAC,EAEDiB,EAAqBd,EAAQ,OAAO,EAAE,QAAUiB,EAChDH,EAAqBd,EAAQ,OAAO,EAAE,SAAWkB,CACnD,CAAC,EAED,IAAMG,EAAsB,OAAO,OAAOP,CAAoB,EAAE,KAC9D,CAACQ,EAAOC,IAASD,EAAM,MAAQC,EAAK,KACtC,EAEMC,EAAsBH,EAAoB,OAC9CtB,CACF,EAEAR,EAAQ,kBAAkB8B,CAAmB,EAC7C9B,EAAQ,oBAAoB,CAC1B,SAAUiC,EACV,UAAW,EACb,CAAC,CACH,OAASC,EAAO,CACd,QAAQ,MAAM,4BAA6BA,CAAK,CAClD,CACF",
6
- "names": ["BigNumber", "updateAccountsList", "manager", "provider", "network", "getNetworkConfig", "startIndex", "allAccounts", "economics", "getEconomics", "filterByStartIndexRange", "account", "allAccountsObject", "accountsObject", "currentAccounts", "isStartIndexInAccounts", "page", "accountsArray", "accountsWithBalance", "address", "accountIindex", "newAllAccounts", "balancePromises", "fetchAccount", "balances", "newAllAccountsObject", "balanceBigNumber", "BigNumber", "formattedBalance", "usdValue", "getUsdValue", "formatAmount", "newAllAccountsArray", "alpha", "beta", "accountsScreenArray", "error"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-YJK5FPW4.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-YUITECZ5.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-Z4PL2VDB.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-ZAPRDHIW.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-ZC5QSQE4.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
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,2 +0,0 @@
1
- "use strict";var c=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(t,e)=>{for(var r in e)c(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,g)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!o.call(t,n)&&n!==r&&c(t,n,{get:()=>e[n],enumerable:!(g=i(e,n))||g.enumerable});return t};var u=t=>h(c({},"__esModule",{value:!0}),t);var C={};s(C,{getCleanApiAddress:()=>x});module.exports=u(C);const x=t=>t.endsWith("/")?t.slice(0,-1):t;0&&(module.exports={getCleanApiAddress});
2
- //# sourceMappingURL=getCleanApiAddress.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/apiCalls/utils/getCleanApiAddress.ts"],
4
- "sourcesContent": ["export const getCleanApiAddress = (apiAddress: string) => {\n return apiAddress.endsWith('/') ? apiAddress.slice(0, -1) : apiAddress;\n};\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,eAAAC,EAAAH,GAAO,MAAME,EAAsBE,GAC1BA,EAAW,SAAS,GAAG,EAAIA,EAAW,MAAM,EAAG,EAAE,EAAIA",
6
- "names": ["getCleanApiAddress_exports", "__export", "getCleanApiAddress", "__toCommonJS", "apiAddress"]
7
- }
@@ -1 +0,0 @@
1
- export declare const getCleanApiAddress: (apiAddress: string) => string;
@@ -1,2 +0,0 @@
1
- import{a}from"../../__chunks__/chunk-3GGBXXXJ.mjs";export{a as getCleanApiAddress};
2
- //# sourceMappingURL=getCleanApiAddress.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,e,p,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of c(e))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>e[m],enumerable:!(x=b(e,m))||x.enumerable});return f},r=(f,e,p)=>(t(f,e,"default"),p&&t(p,e,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);r(o,require("./browser.constants"),module.exports);r(o,require("./ledger.constants"),module.exports);r(o,require("./mvx.constants"),module.exports);r(o,require("./network.constants"),module.exports);r(o,require("./placeholders.constants"),module.exports);r(o,require("./storage.constants"),module.exports);r(o,require("./webWalletProvider.constants"),module.exports);r(o,require("./window.constants"),module.exports);r(o,require("./websocket.constants"),module.exports);r(o,require("./providerFactory.constants"),module.exports);0&&(module.exports={...require("./browser.constants"),...require("./ledger.constants"),...require("./mvx.constants"),...require("./network.constants"),...require("./placeholders.constants"),...require("./storage.constants"),...require("./webWalletProvider.constants"),...require("./window.constants"),...require("./websocket.constants"),...require("./providerFactory.constants")});
2
- //# sourceMappingURL=index.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/constants/index.ts"],
4
- "sourcesContent": ["export * from './browser.constants';\nexport * from './ledger.constants';\nexport * from './mvx.constants';\nexport * from './network.constants';\nexport * from './placeholders.constants';\nexport * from './storage.constants';\nexport * from './webWalletProvider.constants';\nexport * from './window.constants';\nexport * from './websocket.constants';\nexport * from './providerFactory.constants';\n"],
5
- "mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,+BAAd,gBACAE,EAAAF,EAAc,8BADd,gBAEAE,EAAAF,EAAc,2BAFd,gBAGAE,EAAAF,EAAc,+BAHd,gBAIAE,EAAAF,EAAc,oCAJd,gBAKAE,EAAAF,EAAc,+BALd,gBAMAE,EAAAF,EAAc,yCANd,gBAOAE,EAAAF,EAAc,8BAPd,gBAQAE,EAAAF,EAAc,iCARd,gBASAE,EAAAF,EAAc,uCATd",
6
- "names": ["constants_exports", "__toCommonJS", "__reExport"]
7
- }
@@ -1,10 +0,0 @@
1
- export * from './browser.constants';
2
- export * from './ledger.constants';
3
- export * from './mvx.constants';
4
- export * from './network.constants';
5
- export * from './placeholders.constants';
6
- export * from './storage.constants';
7
- export * from './webWalletProvider.constants';
8
- export * from './window.constants';
9
- export * from './websocket.constants';
10
- export * from './providerFactory.constants';