@multiversx/sdk-dapp 5.3.1 → 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 (1360) hide show
  1. package/README.md +1 -1
  2. package/out/__chunks__/chunk-2JFN726G.mjs +2 -0
  3. package/out/__chunks__/chunk-2JFN726G.mjs.map +7 -0
  4. package/out/__chunks__/chunk-2JKCBTYK.mjs +2 -0
  5. package/out/__chunks__/chunk-2JKCBTYK.mjs.map +7 -0
  6. package/out/__chunks__/chunk-2QIUCSYX.mjs +2 -0
  7. package/out/__chunks__/chunk-2QIUCSYX.mjs.map +7 -0
  8. package/out/__chunks__/chunk-2XIBNXVY.mjs +2 -0
  9. package/out/__chunks__/chunk-2XIBNXVY.mjs.map +7 -0
  10. package/out/__chunks__/chunk-3EKM2Y4K.mjs +2 -0
  11. package/out/__chunks__/chunk-3EKM2Y4K.mjs.map +7 -0
  12. package/out/__chunks__/chunk-3G2Q2LCB.mjs +2 -0
  13. package/out/__chunks__/chunk-3GRRAVW4.mjs +2 -0
  14. package/out/__chunks__/chunk-3GRRAVW4.mjs.map +7 -0
  15. package/out/__chunks__/chunk-3IYTFWEN.mjs +2 -0
  16. package/out/__chunks__/chunk-3KJMEECV.mjs +2 -0
  17. package/out/__chunks__/chunk-3NSS3FT6.mjs +2 -0
  18. package/out/__chunks__/chunk-3VIMQHXJ.mjs +2 -0
  19. package/out/__chunks__/chunk-3VIMQHXJ.mjs.map +7 -0
  20. package/out/__chunks__/chunk-4PRJNNSH.mjs +2 -0
  21. package/out/__chunks__/chunk-4PRJNNSH.mjs.map +7 -0
  22. package/out/__chunks__/chunk-53NQH7NR.mjs +2 -0
  23. package/out/__chunks__/chunk-53NQH7NR.mjs.map +7 -0
  24. package/out/__chunks__/chunk-5HEWN34K.mjs +2 -0
  25. package/out/__chunks__/chunk-5HEWN34K.mjs.map +7 -0
  26. package/out/__chunks__/chunk-5P3UEE7C.mjs +1 -0
  27. package/out/__chunks__/chunk-5R7MHTVH.mjs +2 -0
  28. package/out/__chunks__/chunk-5R7MHTVH.mjs.map +7 -0
  29. package/out/__chunks__/chunk-5WJQ2KWS.mjs +2 -0
  30. package/out/__chunks__/chunk-65F23E3Q.mjs +2 -0
  31. package/out/__chunks__/chunk-6M3IQXQF.mjs +2 -0
  32. package/out/__chunks__/chunk-6PCK2RPQ.mjs +2 -0
  33. package/out/__chunks__/chunk-6QPOPWIN.mjs +2 -0
  34. package/out/__chunks__/chunk-6RCSIT2P.mjs +2 -0
  35. package/out/__chunks__/chunk-6RCSIT2P.mjs.map +7 -0
  36. package/out/__chunks__/chunk-6RYKBAUE.mjs +2 -0
  37. package/out/__chunks__/chunk-7BESPSVI.mjs +2 -0
  38. package/out/__chunks__/chunk-7BESPSVI.mjs.map +7 -0
  39. package/out/__chunks__/chunk-7FV6DEQX.mjs +2 -0
  40. package/out/__chunks__/chunk-7GWD5XR7.mjs +2 -0
  41. package/out/__chunks__/chunk-7GWD5XR7.mjs.map +7 -0
  42. package/out/__chunks__/chunk-7TH3QSCV.mjs +2 -0
  43. package/out/__chunks__/chunk-7TH3QSCV.mjs.map +7 -0
  44. package/out/__chunks__/chunk-AFOS3Q4N.mjs +2 -0
  45. package/out/__chunks__/chunk-AIQTIXFV.mjs +2 -0
  46. package/out/__chunks__/chunk-AMXCV2YT.mjs +2 -0
  47. package/out/__chunks__/chunk-AMXCV2YT.mjs.map +7 -0
  48. package/out/__chunks__/chunk-AOLW46E4.mjs +6 -0
  49. package/out/__chunks__/chunk-APCGI2A5.mjs +2 -0
  50. package/out/__chunks__/chunk-AWH3CO5C.mjs +2 -0
  51. package/out/__chunks__/chunk-BE5OKL3L.mjs +2 -0
  52. package/out/__chunks__/chunk-BE5OKL3L.mjs.map +7 -0
  53. package/out/__chunks__/chunk-BFD5ZJOK.mjs +1 -0
  54. package/out/__chunks__/chunk-BHWSBAMZ.mjs +2 -0
  55. package/out/__chunks__/chunk-BJSQMG6V.mjs +2 -0
  56. package/out/__chunks__/chunk-BJSQMG6V.mjs.map +7 -0
  57. package/out/__chunks__/chunk-BODQ3QWR.mjs +2 -0
  58. package/out/__chunks__/chunk-BODQ3QWR.mjs.map +7 -0
  59. package/out/__chunks__/chunk-BSA3IGL6.mjs +2 -0
  60. package/out/__chunks__/chunk-C4FY7JBD.mjs +2 -0
  61. package/out/__chunks__/chunk-C4FY7JBD.mjs.map +7 -0
  62. package/out/__chunks__/chunk-C4SERLP4.mjs +1 -0
  63. package/out/__chunks__/chunk-CAOL6XLD.mjs +2 -0
  64. package/out/__chunks__/chunk-CMERGCP7.mjs +2 -0
  65. package/out/__chunks__/chunk-CUDPQDXY.mjs +1 -0
  66. package/out/__chunks__/chunk-D27ZK232.mjs +2 -0
  67. package/out/__chunks__/chunk-D4JFV2LM.mjs +2 -0
  68. package/out/__chunks__/chunk-D6CXZV4Y.mjs +2 -0
  69. package/out/__chunks__/chunk-D6CXZV4Y.mjs.map +7 -0
  70. package/out/__chunks__/chunk-DCLI63KS.mjs +2 -0
  71. package/out/__chunks__/chunk-DCLI63KS.mjs.map +7 -0
  72. package/out/__chunks__/chunk-DIHGGV4M.mjs +2 -0
  73. package/out/__chunks__/chunk-DIHGGV4M.mjs.map +7 -0
  74. package/out/__chunks__/chunk-DNYE6AJI.mjs +2 -0
  75. package/out/__chunks__/chunk-EPB4JKWX.mjs +2 -0
  76. package/out/__chunks__/chunk-EPB4JKWX.mjs.map +7 -0
  77. package/out/__chunks__/chunk-ERDTZ52C.mjs +2 -0
  78. package/out/__chunks__/chunk-F2W755EK.mjs +2 -0
  79. package/out/__chunks__/chunk-FDR5TTUS.mjs +2 -0
  80. package/out/__chunks__/chunk-FE54XZXM.mjs +2 -0
  81. package/out/__chunks__/chunk-FE54XZXM.mjs.map +7 -0
  82. package/out/__chunks__/chunk-FK6DWWZF.mjs +2 -0
  83. package/out/__chunks__/chunk-FKUMHDP5.mjs +2 -0
  84. package/out/__chunks__/chunk-FNEL7WRG.mjs +2 -0
  85. package/out/__chunks__/chunk-FNEL7WRG.mjs.map +7 -0
  86. package/out/__chunks__/chunk-GBDHEWNQ.mjs +2 -0
  87. package/out/__chunks__/chunk-GEB2W7CV.mjs +1 -0
  88. package/out/__chunks__/chunk-GYYGYOIE.mjs +2 -0
  89. package/out/__chunks__/chunk-HSF3JATH.mjs +2 -0
  90. package/out/__chunks__/chunk-HTT67LH3.mjs +2 -0
  91. package/out/__chunks__/chunk-HX3JKALT.mjs +2 -0
  92. package/out/__chunks__/chunk-HX3JKALT.mjs.map +7 -0
  93. package/out/__chunks__/chunk-I3ILB737.mjs +2 -0
  94. package/out/__chunks__/chunk-IAN3XFXS.mjs +2 -0
  95. package/out/__chunks__/chunk-IHAZNPKL.mjs +2 -0
  96. package/out/__chunks__/chunk-IHAZNPKL.mjs.map +7 -0
  97. package/out/__chunks__/chunk-IHSJITVR.mjs +2 -0
  98. package/out/__chunks__/chunk-IRFXPRDX.mjs +2 -0
  99. package/out/__chunks__/chunk-IRFXPRDX.mjs.map +7 -0
  100. package/out/__chunks__/chunk-IVMRBKXP.mjs +2 -0
  101. package/out/__chunks__/chunk-IVMRBKXP.mjs.map +7 -0
  102. package/out/__chunks__/chunk-IWP36NOU.mjs +2 -0
  103. package/out/__chunks__/chunk-IZTW4MG5.mjs +2 -0
  104. package/out/__chunks__/chunk-IZTW4MG5.mjs.map +7 -0
  105. package/out/__chunks__/chunk-JA27GJYB.mjs +2 -0
  106. package/out/__chunks__/chunk-JA27GJYB.mjs.map +7 -0
  107. package/out/__chunks__/chunk-JJUR63EV.mjs +2 -0
  108. package/out/__chunks__/chunk-JMK6YN6B.mjs +2 -0
  109. package/out/__chunks__/chunk-JO7KFAZC.mjs +2 -0
  110. package/out/__chunks__/chunk-JQ3KV55D.mjs +2 -0
  111. package/out/__chunks__/chunk-K4E7GCWI.mjs +2 -0
  112. package/out/__chunks__/chunk-KDTDQL52.mjs +2 -0
  113. package/out/__chunks__/chunk-KDTDQL52.mjs.map +7 -0
  114. package/out/__chunks__/chunk-KKQKER7U.mjs +2 -0
  115. package/out/__chunks__/chunk-KKQKER7U.mjs.map +7 -0
  116. package/out/__chunks__/chunk-KLI5H35D.mjs +2 -0
  117. package/out/__chunks__/chunk-KMITMS2L.mjs +2 -0
  118. package/out/__chunks__/chunk-KMITMS2L.mjs.map +7 -0
  119. package/out/__chunks__/chunk-KOUT2Y7O.mjs +2 -0
  120. package/out/__chunks__/chunk-KOUT2Y7O.mjs.map +7 -0
  121. package/out/__chunks__/chunk-KYQ5IP6W.mjs +2 -0
  122. package/out/__chunks__/chunk-LASOW7GT.mjs +2 -0
  123. package/out/__chunks__/chunk-LASOW7GT.mjs.map +7 -0
  124. package/out/__chunks__/chunk-LFMHK4UE.mjs +2 -0
  125. package/out/__chunks__/chunk-LFMHK4UE.mjs.map +7 -0
  126. package/out/__chunks__/chunk-LGGG3HW7.mjs +2 -0
  127. package/out/__chunks__/chunk-LQAAQV3I.mjs +2 -0
  128. package/out/__chunks__/chunk-LW6KBFPA.mjs +2 -0
  129. package/out/__chunks__/chunk-LW6KBFPA.mjs.map +7 -0
  130. package/out/__chunks__/chunk-LZWEL473.mjs +2 -0
  131. package/out/__chunks__/chunk-LZWEL473.mjs.map +7 -0
  132. package/out/__chunks__/chunk-M3F2J3PW.mjs +2 -0
  133. package/out/__chunks__/chunk-M3F2J3PW.mjs.map +7 -0
  134. package/out/__chunks__/chunk-MTGS435F.mjs +2 -0
  135. package/out/__chunks__/chunk-N56SMVGU.mjs +2 -0
  136. package/out/__chunks__/chunk-N56SMVGU.mjs.map +7 -0
  137. package/out/__chunks__/chunk-NGJIMP5Y.mjs +2 -0
  138. package/out/__chunks__/chunk-NQE5YCZP.mjs +2 -0
  139. package/out/__chunks__/chunk-NWRCQLFI.mjs +2 -0
  140. package/out/__chunks__/chunk-NYZ726DG.mjs +2 -0
  141. package/out/__chunks__/chunk-O3F75VWG.mjs +2 -0
  142. package/out/__chunks__/chunk-O3F75VWG.mjs.map +7 -0
  143. package/out/__chunks__/chunk-OBIQ63DJ.mjs +2 -0
  144. package/out/__chunks__/chunk-ONT6BGYB.mjs +2 -0
  145. package/out/__chunks__/chunk-ONT6BGYB.mjs.map +7 -0
  146. package/out/__chunks__/chunk-OSV2GCKV.mjs +2 -0
  147. package/out/__chunks__/chunk-PCPUKFTJ.mjs +2 -0
  148. package/out/__chunks__/chunk-PCPUKFTJ.mjs.map +7 -0
  149. package/out/__chunks__/chunk-PGPTO2Q4.mjs +2 -0
  150. package/out/__chunks__/chunk-PGPTO2Q4.mjs.map +7 -0
  151. package/out/__chunks__/chunk-PIFCCIF3.mjs +2 -0
  152. package/out/__chunks__/chunk-PJ5TKZD5.mjs +2 -0
  153. package/out/__chunks__/chunk-PN7JDWSZ.mjs +2 -0
  154. package/out/__chunks__/chunk-PS3SWN5M.mjs +2 -0
  155. package/out/__chunks__/chunk-PS3SWN5M.mjs.map +7 -0
  156. package/out/__chunks__/chunk-PWAP64SN.mjs +2 -0
  157. package/out/__chunks__/chunk-PWAP64SN.mjs.map +7 -0
  158. package/out/__chunks__/chunk-PWOYKKUY.mjs +2 -0
  159. package/out/__chunks__/chunk-PWOYKKUY.mjs.map +7 -0
  160. package/out/__chunks__/chunk-PYRTFEMB.mjs +2 -0
  161. package/out/__chunks__/chunk-PYRTFEMB.mjs.map +7 -0
  162. package/out/__chunks__/chunk-Q7YFEWWK.mjs +2 -0
  163. package/out/__chunks__/chunk-Q7YFEWWK.mjs.map +7 -0
  164. package/out/__chunks__/chunk-QFXS7HGL.mjs +2 -0
  165. package/out/__chunks__/chunk-QMZJNNU4.mjs +2 -0
  166. package/out/__chunks__/chunk-QMZJNNU4.mjs.map +7 -0
  167. package/out/__chunks__/chunk-QNELH2S2.mjs +2 -0
  168. package/out/__chunks__/chunk-QNYO7NI5.mjs +2 -0
  169. package/out/__chunks__/chunk-QNYO7NI5.mjs.map +7 -0
  170. package/out/__chunks__/chunk-QX32V6TT.mjs +2 -0
  171. package/out/__chunks__/chunk-QX32V6TT.mjs.map +7 -0
  172. package/out/__chunks__/chunk-QZC64RDG.mjs +2 -0
  173. package/out/__chunks__/chunk-RDEVBV56.mjs +2 -0
  174. package/out/__chunks__/chunk-RDEVBV56.mjs.map +7 -0
  175. package/out/__chunks__/chunk-RIPIZH54.mjs +2 -0
  176. package/out/__chunks__/chunk-RMLVJDCQ.mjs +2 -0
  177. package/out/__chunks__/chunk-RVBZZQS2.mjs +2 -0
  178. package/out/__chunks__/chunk-RXRVBUAX.mjs +3 -0
  179. package/out/__chunks__/chunk-SBCXU7OA.mjs +2 -0
  180. package/out/__chunks__/chunk-SBCXU7OA.mjs.map +7 -0
  181. package/out/__chunks__/chunk-SFXZJSEY.mjs +2 -0
  182. package/out/__chunks__/chunk-SNPF3BD2.mjs +2 -0
  183. package/out/__chunks__/chunk-SNPF3BD2.mjs.map +7 -0
  184. package/out/__chunks__/chunk-SYHILLXA.mjs +2 -0
  185. package/out/__chunks__/chunk-TD26OL6Y.mjs +2 -0
  186. package/out/__chunks__/chunk-TD26OL6Y.mjs.map +7 -0
  187. package/out/__chunks__/chunk-TRUOISVH.mjs +2 -0
  188. package/out/__chunks__/chunk-TWLO2IAN.mjs +2 -0
  189. package/out/__chunks__/chunk-TWLO2IAN.mjs.map +7 -0
  190. package/out/__chunks__/chunk-TWYGNEQS.mjs +2 -0
  191. package/out/__chunks__/chunk-TWYGNEQS.mjs.map +7 -0
  192. package/out/__chunks__/chunk-U6RAWQXO.mjs +1 -0
  193. package/out/__chunks__/chunk-UJTYOT5N.mjs +2 -0
  194. package/out/__chunks__/chunk-UJTYOT5N.mjs.map +7 -0
  195. package/out/__chunks__/chunk-UWWAVJFM.mjs +2 -0
  196. package/out/__chunks__/chunk-V5ZSFCKJ.mjs +2 -0
  197. package/out/__chunks__/chunk-V5ZSFCKJ.mjs.map +7 -0
  198. package/out/__chunks__/chunk-V7K77GSE.mjs +2 -0
  199. package/out/__chunks__/chunk-VC74WYUB.mjs +2 -0
  200. package/out/__chunks__/chunk-VCPH27TY.mjs +2 -0
  201. package/out/__chunks__/chunk-VCPH27TY.mjs.map +7 -0
  202. package/out/__chunks__/chunk-VGDWWBLN.mjs +2 -0
  203. package/out/__chunks__/chunk-VSMFXZJI.mjs +2 -0
  204. package/out/__chunks__/chunk-VSMFXZJI.mjs.map +7 -0
  205. package/out/__chunks__/chunk-W2A2N772.mjs +2 -0
  206. package/out/__chunks__/chunk-W3S6I34V.mjs +2 -0
  207. package/out/__chunks__/chunk-W3S6I34V.mjs.map +7 -0
  208. package/out/__chunks__/chunk-WFMBEYKX.mjs +2 -0
  209. package/out/__chunks__/chunk-WFMBEYKX.mjs.map +7 -0
  210. package/out/__chunks__/chunk-WMRVRNAI.mjs +2 -0
  211. package/out/__chunks__/chunk-WMRVRNAI.mjs.map +7 -0
  212. package/out/__chunks__/chunk-WYE5FJIJ.mjs +2 -0
  213. package/out/__chunks__/chunk-WYE5FJIJ.mjs.map +7 -0
  214. package/out/__chunks__/chunk-WZEDZF3Q.mjs +2 -0
  215. package/out/__chunks__/chunk-X6D2T4UF.mjs +2 -0
  216. package/out/__chunks__/chunk-X6D2T4UF.mjs.map +7 -0
  217. package/out/__chunks__/chunk-XA4YS4GK.mjs +2 -0
  218. package/out/__chunks__/chunk-XA4YS4GK.mjs.map +7 -0
  219. package/out/__chunks__/chunk-XA6ZDGIQ.mjs +2 -0
  220. package/out/__chunks__/chunk-XA6ZDGIQ.mjs.map +7 -0
  221. package/out/__chunks__/chunk-XHCLYR42.mjs +2 -0
  222. package/out/__chunks__/chunk-XHCLYR42.mjs.map +7 -0
  223. package/out/__chunks__/chunk-XLMQWFKS.mjs +2 -0
  224. package/out/__chunks__/chunk-XLMQWFKS.mjs.map +7 -0
  225. package/out/__chunks__/chunk-Y6QPE6SZ.mjs +2 -0
  226. package/out/__chunks__/chunk-YGHJRPPY.mjs +2 -0
  227. package/out/__chunks__/chunk-YGHJRPPY.mjs.map +7 -0
  228. package/out/__chunks__/chunk-YMDS57T6.mjs +2 -0
  229. package/out/__chunks__/chunk-YMDS57T6.mjs.map +7 -0
  230. package/out/__chunks__/chunk-YXNJS4KL.mjs +2 -0
  231. package/out/__chunks__/chunk-Z6OAKBWP.mjs +2 -0
  232. package/out/__chunks__/chunk-Z6OAKBWP.mjs.map +7 -0
  233. package/out/__chunks__/chunk-ZOYJTXNI.mjs +2 -0
  234. package/out/__chunks__/chunk-ZOYJTXNI.mjs.map +7 -0
  235. package/out/apiCalls/account/getAccountFromApi.cjs +1 -1
  236. package/out/apiCalls/account/getAccountFromApi.cjs.map +3 -3
  237. package/out/apiCalls/account/getAccountFromApi.mjs +1 -1
  238. package/out/apiCalls/account/getScamAddressData.cjs +1 -1
  239. package/out/apiCalls/account/getScamAddressData.cjs.map +3 -3
  240. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  241. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  242. package/out/apiCalls/configuration/getGasStationMetadata.cjs +1 -1
  243. package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +3 -3
  244. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  245. package/out/apiCalls/configuration/getNetworkConfigFromApi.mjs +1 -1
  246. package/out/apiCalls/configuration/getServerConfiguration.mjs +1 -1
  247. package/out/apiCalls/economics/getEconomics.cjs +1 -1
  248. package/out/apiCalls/economics/getEconomics.cjs.map +3 -3
  249. package/out/apiCalls/economics/getEconomics.mjs +1 -1
  250. package/out/apiCalls/endpoints.cjs +1 -1
  251. package/out/apiCalls/endpoints.cjs.map +3 -3
  252. package/out/apiCalls/endpoints.d.ts +1 -0
  253. package/out/apiCalls/endpoints.mjs +1 -1
  254. package/out/apiCalls/tokens/getPersistedToken.mjs +1 -1
  255. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  256. package/out/apiCalls/tokens/getTokenDetails.cjs +1 -1
  257. package/out/apiCalls/tokens/getTokenDetails.cjs.map +3 -3
  258. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  259. package/out/apiCalls/tokens/getTokenDetails.mjs.map +4 -4
  260. package/out/apiCalls/tokens/tokenDataStorage.cjs +1 -1
  261. package/out/apiCalls/tokens/tokenDataStorage.cjs.map +3 -3
  262. package/out/apiCalls/tokens/tokenDataStorage.d.ts +1 -3
  263. package/out/apiCalls/tokens/tokenDataStorage.mjs +1 -1
  264. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  265. package/out/apiCalls/transactions/getTransactionByHash.cjs +1 -1
  266. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +3 -3
  267. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  268. package/out/apiCalls/transactions/getTransactionByHash.mjs.map +2 -2
  269. package/out/apiCalls/transactions/getTransactions.mjs +1 -1
  270. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  271. package/out/apiCalls/utils/axiosFetcher.mjs +1 -1
  272. package/out/apiCalls/utils/axiosFetcher.mjs.map +4 -4
  273. package/out/apiCalls/utils/axiosInstance.cjs +1 -1
  274. package/out/apiCalls/utils/axiosInstance.cjs.map +3 -3
  275. package/out/apiCalls/utils/axiosInstance.mjs +1 -1
  276. package/out/constants/browser.constants.mjs +1 -1
  277. package/out/constants/browser.constants.mjs.map +4 -4
  278. package/out/constants/mvx.constants.cjs +1 -1
  279. package/out/constants/mvx.constants.cjs.map +3 -3
  280. package/out/constants/mvx.constants.d.ts +1 -0
  281. package/out/constants/mvx.constants.mjs +1 -1
  282. package/out/constants/storage.constants.cjs.map +1 -1
  283. package/out/constants/storage.constants.d.ts +1 -1
  284. package/out/constants/storage.constants.mjs +1 -1
  285. package/out/constants/webWalletProvider.constants.mjs +1 -1
  286. package/out/constants/webWalletProvider.constants.mjs.map +4 -4
  287. package/out/constants/window.constants.cjs +1 -1
  288. package/out/constants/window.constants.cjs.map +1 -1
  289. package/out/constants/window.constants.mjs +1 -1
  290. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +1 -1
  291. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +3 -3
  292. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  293. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  294. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +1 -1
  295. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +3 -3
  296. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  297. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  298. package/out/lib/sdkDappUi.mjs +1 -1
  299. package/out/managers/LogoutManager/LogoutManager.cjs +1 -1
  300. package/out/managers/LogoutManager/LogoutManager.cjs.map +3 -3
  301. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  302. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  303. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  304. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  305. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  306. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  307. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +1 -1
  308. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +3 -3
  309. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  310. package/out/managers/ToastManager/helpers/createTransactionToast.mjs +1 -1
  311. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +1 -1
  312. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +3 -3
  313. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  314. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +1 -1
  315. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.mjs +1 -1
  316. package/out/managers/ToastManager/index.mjs +1 -1
  317. package/out/managers/TransactionManager/TransactionManager.cjs +1 -1
  318. package/out/managers/TransactionManager/TransactionManager.cjs.map +3 -3
  319. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  320. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +1 -1
  321. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +3 -3
  322. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  323. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +1 -1
  324. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +3 -3
  325. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  326. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +1 -1
  327. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +3 -3
  328. package/out/managers/TransactionManager/helpers/getTransactionsStatus.d.ts +1 -1
  329. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  330. package/out/managers/TransactionManager/index.mjs +1 -1
  331. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +1 -1
  332. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +3 -3
  333. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  334. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  335. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  336. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  337. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +1 -1
  338. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +3 -3
  339. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  340. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  341. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  342. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  343. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  344. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  345. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  346. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  347. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  348. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  349. package/out/methods/account/getAccount.cjs +1 -1
  350. package/out/methods/account/getAccount.cjs.map +3 -3
  351. package/out/methods/account/getAccount.mjs +1 -1
  352. package/out/methods/account/getAccountInfo.cjs +1 -1
  353. package/out/methods/account/getAccountInfo.cjs.map +3 -3
  354. package/out/methods/account/getAccountInfo.d.ts +1 -1
  355. package/out/methods/account/getAccountInfo.mjs +1 -1
  356. package/out/methods/account/getAccountInfo.mjs.map +2 -2
  357. package/out/methods/account/getAddress.cjs +1 -1
  358. package/out/methods/account/getAddress.cjs.map +3 -3
  359. package/out/methods/account/getAddress.mjs +1 -1
  360. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  361. package/out/methods/account/getLatestNonce.mjs +1 -1
  362. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.cjs.map +7 -0
  363. package/out/methods/initApp/gasStationMetadata/setGasStationMetadata.mjs +2 -0
  364. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs +2 -0
  365. package/out/methods/initApp/helpers/waitForStoreRehydration.cjs.map +7 -0
  366. package/out/methods/initApp/helpers/waitForStoreRehydration.d.ts +6 -0
  367. package/out/methods/initApp/helpers/waitForStoreRehydration.mjs +2 -0
  368. package/out/methods/initApp/initApp.cjs +1 -1
  369. package/out/methods/initApp/initApp.cjs.map +3 -3
  370. package/out/methods/initApp/initApp.d.ts +5 -0
  371. package/out/methods/initApp/initApp.mjs +1 -1
  372. package/out/methods/initApp/initApp.mjs.map +3 -3
  373. package/out/methods/initApp/initApp.types.cjs.map +1 -1
  374. package/out/methods/initApp/initApp.types.d.ts +2 -0
  375. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +1 -1
  376. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +3 -3
  377. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  378. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  379. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  380. package/out/methods/loginInfo/getLoginInfo.mjs.map +1 -1
  381. package/out/methods/network/getEgldLabel.mjs +1 -1
  382. package/out/methods/network/getExplorerAddress.mjs +1 -1
  383. package/out/methods/network/getNetworkConfig.mjs +1 -1
  384. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  385. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs +1 -1
  386. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.cjs.map +3 -3
  387. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.mjs +1 -1
  388. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionFailure.mjs +1 -1
  389. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/runTransactionStatusUpdate.mjs +1 -1
  390. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/helpers/updateTransactionAndSessionStatus.mjs +1 -1
  391. package/out/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/index.mjs +1 -1
  392. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  393. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +1 -1
  394. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +3 -3
  395. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  396. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  397. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  398. package/out/methods/transactions/getFailedTransactions.mjs.map +1 -1
  399. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  400. package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +1 -1
  401. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  402. package/out/methods/transactions/getPendingTransactions.mjs.map +1 -1
  403. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  404. package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +1 -1
  405. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  406. package/out/methods/transactions/getSuccessfulTransactions.mjs.map +1 -1
  407. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  408. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +1 -1
  409. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  410. package/out/methods/transactions/getTransactionSessions.mjs.map +1 -1
  411. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  412. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +1 -1
  413. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +3 -3
  414. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  415. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  416. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  417. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  418. package/out/providers/DappProvider/helpers/login/helpers/getMultisigLoginToken.mjs +1 -1
  419. package/out/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.mjs +1 -1
  420. package/out/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.mjs +1 -1
  421. package/out/providers/DappProvider/helpers/login/login.cjs +1 -1
  422. package/out/providers/DappProvider/helpers/login/login.cjs.map +3 -3
  423. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  424. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  425. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +1 -1
  426. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +3 -3
  427. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  428. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  429. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +1 -1
  430. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +3 -3
  431. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  432. package/out/providers/DappProvider/index.mjs +1 -1
  433. package/out/providers/ProviderFactory.cjs +1 -1
  434. package/out/providers/ProviderFactory.cjs.map +3 -3
  435. package/out/providers/ProviderFactory.mjs +1 -1
  436. package/out/providers/helpers/accountProvider.mjs +1 -1
  437. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  438. package/out/providers/helpers/restoreProvider.cjs +1 -1
  439. package/out/providers/helpers/restoreProvider.cjs.map +3 -3
  440. package/out/providers/helpers/restoreProvider.mjs +1 -1
  441. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +1 -1
  442. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +3 -3
  443. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +3 -0
  444. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  445. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +1 -1
  446. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
  447. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  448. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  449. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +1 -1
  450. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
  451. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  452. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  453. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +1 -1
  454. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
  455. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  456. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  457. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +1 -1
  458. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +3 -3
  459. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  460. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs +2 -0
  461. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.cjs.map +7 -0
  462. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.d.ts +16 -0
  463. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/authenticateLedgerAccount.mjs +2 -0
  464. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs +2 -0
  465. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.cjs.map +7 -0
  466. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getAuthTokenText.mjs +2 -0
  467. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs +2 -0
  468. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.cjs.map +7 -0
  469. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs +2 -0
  470. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.cjs.map +7 -0
  471. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/secondsToTimeString.mjs +2 -0
  472. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.cjs.map +7 -0
  473. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/index.mjs +2 -0
  474. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs +2 -0
  475. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
  476. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.mjs +2 -0
  477. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
  478. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList/updateAccountsList.types.d.ts +8 -0
  479. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs +2 -0
  480. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.cjs.map +7 -0
  481. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.d.ts +19 -0
  482. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs +2 -0
  483. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.cjs +2 -0
  484. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.cjs.map +7 -0
  485. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.d.ts +2 -0
  486. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/index.mjs +2 -0
  487. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs +2 -0
  488. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.cjs.map +7 -0
  489. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.d.ts +8 -0
  490. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/getLedgerProvider.mjs +2 -0
  491. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs +2 -0
  492. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.cjs.map +7 -0
  493. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/getLedgerConfiguration.mjs +2 -0
  494. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs +2 -0
  495. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.cjs.map +7 -0
  496. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.d.ts +12 -0
  497. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs +2 -0
  498. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.cjs +2 -0
  499. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.cjs.map +7 -0
  500. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.d.ts +1 -0
  501. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/index.mjs +2 -0
  502. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +1 -1
  503. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
  504. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.d.ts +1 -1
  505. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  506. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  507. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  508. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +1 -1
  509. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +3 -3
  510. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  511. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  512. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +1 -1
  513. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
  514. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  515. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  516. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  517. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  518. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  519. package/out/providers/strategies/helpers/index.mjs +1 -1
  520. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +1 -1
  521. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +3 -3
  522. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  523. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +1 -1
  524. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +3 -3
  525. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  526. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +1 -1
  527. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +3 -3
  528. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  529. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +1 -1
  530. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +3 -3
  531. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.mjs +1 -1
  532. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
  533. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +1 -1
  534. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +3 -3
  535. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  536. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getGasPriceOptions.mjs +1 -1
  537. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  538. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
  539. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +1 -1
  540. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
  541. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
  542. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +1 -1
  543. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +3 -3
  544. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  545. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +1 -1
  546. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +3 -3
  547. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  548. package/out/react/account/useGetAccount.mjs +1 -1
  549. package/out/react/account/useGetAccount.mjs.map +1 -1
  550. package/out/react/account/useGetAccountInfo.d.ts +1 -1
  551. package/out/react/account/useGetAccountInfo.mjs +1 -1
  552. package/out/react/account/useGetAccountInfo.mjs.map +1 -1
  553. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  554. package/out/react/account/useGetIsLoggedIn.mjs.map +1 -1
  555. package/out/react/account/useGetLatestNonce.mjs +1 -1
  556. package/out/react/account/useGetLatestNonce.mjs.map +1 -1
  557. package/out/react/index.mjs +1 -1
  558. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  559. package/out/react/loginInfo/useGetLoginInfo.mjs.map +1 -1
  560. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  561. package/out/react/network/useGetNetworkConfig.mjs.map +1 -1
  562. package/out/react/store/getReactStore.mjs +1 -1
  563. package/out/react/store/useSelector.mjs +1 -1
  564. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  565. package/out/react/transactions/useGetFailedTransactions.mjs.map +1 -1
  566. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  567. package/out/react/transactions/useGetFailedTransactionsSessions.mjs.map +1 -1
  568. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  569. package/out/react/transactions/useGetPendingTransactions.mjs.map +1 -1
  570. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  571. package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +1 -1
  572. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  573. package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +1 -1
  574. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  575. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +1 -1
  576. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  577. package/out/react/transactions/useGetTransactionSessions.mjs.map +1 -1
  578. package/out/services/nativeAuth/helpers/decodeLoginToken.mjs +1 -1
  579. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.mjs +1 -1
  580. package/out/services/nativeAuth/helpers/getLatestBlockHash.mjs +1 -1
  581. package/out/services/nativeAuth/helpers/index.mjs +1 -1
  582. package/out/services/nativeAuth/index.mjs +1 -1
  583. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  584. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +1 -1
  585. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +3 -3
  586. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  587. package/out/services/nativeAuth/methods/getTokenExpiration.mjs +1 -1
  588. package/out/services/nativeAuth/nativeAuth.cjs +1 -1
  589. package/out/services/nativeAuth/nativeAuth.cjs.map +3 -3
  590. package/out/services/nativeAuth/nativeAuth.d.ts +1 -1
  591. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  592. package/out/store/actions/account/accountActions.mjs +1 -1
  593. package/out/store/actions/account/index.mjs +1 -1
  594. package/out/store/actions/cache/cacheActions.mjs +1 -1
  595. package/out/store/actions/cache/index.mjs +1 -1
  596. package/out/store/actions/config/configActions.cjs +1 -1
  597. package/out/store/actions/config/configActions.cjs.map +3 -3
  598. package/out/store/actions/config/configActions.d.ts +4 -2
  599. package/out/store/actions/config/configActions.mjs +1 -1
  600. package/out/store/actions/config/index.mjs +1 -1
  601. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  602. package/out/store/actions/network/index.mjs +1 -1
  603. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  604. package/out/store/actions/network/networkActions.mjs +1 -1
  605. package/out/store/actions/sharedActions/index.mjs +1 -1
  606. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  607. package/out/store/actions/toasts/index.mjs +1 -1
  608. package/out/store/actions/toasts/toastsActions.cjs +1 -1
  609. package/out/store/actions/toasts/toastsActions.cjs.map +3 -3
  610. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  611. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  612. package/out/store/actions/ui/index.mjs +1 -1
  613. package/out/store/actions/ui/uiActions.mjs +1 -1
  614. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  615. package/out/store/middleware/index.mjs +1 -1
  616. package/out/store/middleware/logoutMiddleware.cjs +1 -1
  617. package/out/store/middleware/logoutMiddleware.cjs.map +3 -3
  618. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  619. package/out/store/selectors/accountSelectors.d.ts +1 -1
  620. package/out/store/selectors/accountSelectors.mjs +1 -1
  621. package/out/store/selectors/configSelectors.cjs +1 -1
  622. package/out/store/selectors/configSelectors.cjs.map +3 -3
  623. package/out/store/selectors/configSelectors.d.ts +2 -1
  624. package/out/store/selectors/configSelectors.mjs +1 -1
  625. package/out/store/selectors/networkSelectors.d.ts +1 -1
  626. package/out/store/selectors/storeSelector.mjs +1 -1
  627. package/out/store/selectors/storeSelector.mjs.map +4 -4
  628. package/out/store/slices/account/accountSlice.mjs +1 -1
  629. package/out/store/slices/account/emptyAccount.mjs +1 -1
  630. package/out/store/slices/account/index.mjs +1 -1
  631. package/out/store/slices/config/config.types.cjs +1 -1
  632. package/out/store/slices/config/config.types.cjs.map +1 -1
  633. package/out/store/slices/config/config.types.d.ts +8 -0
  634. package/out/store/slices/config/configSlice.cjs +1 -1
  635. package/out/store/slices/config/configSlice.cjs.map +2 -2
  636. package/out/store/slices/config/configSlice.mjs +1 -1
  637. package/out/store/slices/config/index.mjs +1 -1
  638. package/out/store/storage/index.mjs +1 -1
  639. package/out/store/storage/storageCallback.mjs +1 -1
  640. package/out/store/store.cjs +1 -1
  641. package/out/store/store.cjs.map +3 -3
  642. package/out/store/store.mjs +1 -1
  643. package/out/types/network.types.mjs +0 -1
  644. package/out/types/suspiciousLink.types.mjs +0 -1
  645. package/out/types/websocket.types.mjs +0 -1
  646. package/out/utils/ComponentFactory.cjs +1 -1
  647. package/out/utils/ComponentFactory.cjs.map +3 -3
  648. package/out/utils/ComponentFactory.mjs +1 -1
  649. package/out/utils/account/fetchAccount.mjs +1 -1
  650. package/out/utils/account/refreshAccount.cjs +1 -1
  651. package/out/utils/account/refreshAccount.cjs.map +3 -3
  652. package/out/utils/account/refreshAccount.mjs +1 -1
  653. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  654. package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +4 -4
  655. package/out/utils/dateTime/index.mjs +1 -1
  656. package/out/utils/decoders/base64Utils.cjs +1 -1
  657. package/out/utils/decoders/base64Utils.cjs.map +2 -2
  658. package/out/utils/decoders/base64Utils.mjs +1 -1
  659. package/out/utils/decoders/isAscii.mjs +1 -1
  660. package/out/utils/decoders/isAscii.mjs.map +4 -4
  661. package/out/utils/decoders/stringContainsNumbers.mjs +1 -1
  662. package/out/utils/decoders/stringContainsNumbers.mjs.map +4 -4
  663. package/out/utils/network/index.mjs +1 -1
  664. package/out/utils/transactions/explorerUrlBuilder.mjs +1 -1
  665. package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
  666. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  667. package/out/utils/transactions/getActiveTransactionsStatus.mjs.map +4 -4
  668. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.mjs +1 -1
  669. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +1 -1
  670. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +3 -3
  671. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.mjs +1 -1
  672. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.mjs +1 -1
  673. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.mjs +1 -1
  674. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.mjs +1 -1
  675. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.mjs +1 -1
  676. package/out/utils/transactions/getDecodedDataField/index.cjs +1 -1
  677. package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
  678. package/out/utils/transactions/getDecodedDataField/index.d.ts +0 -1
  679. package/out/utils/transactions/getDecodedDataField/index.mjs +1 -1
  680. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +1 -1
  681. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +3 -3
  682. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  683. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +1 -1
  684. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +3 -3
  685. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  686. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  687. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
  688. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +1 -1
  689. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +3 -3
  690. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  691. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  692. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  693. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +1 -1
  694. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +3 -3
  695. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  696. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +1 -1
  697. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +3 -3
  698. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  699. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +1 -1
  700. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +3 -3
  701. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  702. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +1 -1
  703. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +3 -3
  704. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.d.ts +1 -1
  705. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  706. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  707. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/baseTransactionMock.d.ts +27 -0
  708. package/out/utils/transactions/getInterpretedTransaction/helpers/tests/extendedTransactionMock.d.ts +2 -0
  709. package/out/utils/transactions/getInterpretedTransaction/index.cjs +1 -1
  710. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
  711. package/out/utils/transactions/getInterpretedTransaction/index.d.ts +0 -1
  712. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  713. package/out/utils/transactions/getScamFlag.cjs.map +1 -1
  714. package/out/utils/transactions/getScamFlag.d.ts +1 -1
  715. package/out/utils/transactions/getScamFlag.mjs.map +1 -1
  716. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +1 -1
  717. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +3 -3
  718. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  719. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  720. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  721. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  722. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  723. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  724. package/out/utils/transactions/getTransactionsHistory/index.cjs +1 -1
  725. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
  726. package/out/utils/transactions/getTransactionsHistory/index.d.ts +0 -1
  727. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  728. package/out/utils/validation/isContract.cjs +1 -1
  729. package/out/utils/validation/isContract.cjs.map +3 -3
  730. package/out/utils/validation/isContract.mjs +1 -1
  731. package/out/utils/validation/maxDecimals.mjs +1 -1
  732. package/out/utils/validation/maxDecimals.mjs.map +4 -4
  733. package/out/utils/visual/switchTheme.cjs.map +1 -1
  734. package/out/utils/visual/switchTheme.d.ts +1 -1
  735. package/out/utils/visual/switchTheme.mjs +1 -1
  736. package/out/utils/window/buildUrlParams.mjs +1 -1
  737. package/out/utils/window/buildUrlParams.mjs.map +4 -4
  738. package/out/utils/window/getIsAuthRoute.mjs +1 -1
  739. package/out/utils/window/getIsAuthRoute.mjs.map +4 -4
  740. package/out/utils/window/getIsInIframe.mjs +1 -1
  741. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  742. package/out/utils/window/sanitizeCallbackUrl.mjs +1 -1
  743. package/out/utils/window/sanitizeCallbackUrl.mjs.map +4 -4
  744. package/package.json +2 -5
  745. package/out/__chunks__/chunk-22ELCCFJ.mjs +0 -2
  746. package/out/__chunks__/chunk-22ELCCFJ.mjs.map +0 -7
  747. package/out/__chunks__/chunk-2BSPSW6X.mjs +0 -1
  748. package/out/__chunks__/chunk-2ON3KLCT.mjs +0 -2
  749. package/out/__chunks__/chunk-2RAULLHL.mjs +0 -2
  750. package/out/__chunks__/chunk-2RAULLHL.mjs.map +0 -7
  751. package/out/__chunks__/chunk-2XGXXRSH.mjs +0 -2
  752. package/out/__chunks__/chunk-2XGXXRSH.mjs.map +0 -7
  753. package/out/__chunks__/chunk-33MSDZAP.mjs +0 -2
  754. package/out/__chunks__/chunk-33MSDZAP.mjs.map +0 -7
  755. package/out/__chunks__/chunk-3GGBXXXJ.mjs +0 -2
  756. package/out/__chunks__/chunk-3GGBXXXJ.mjs.map +0 -7
  757. package/out/__chunks__/chunk-3KUTPB2M.mjs +0 -2
  758. package/out/__chunks__/chunk-3KUTPB2M.mjs.map +0 -7
  759. package/out/__chunks__/chunk-3PAZABVI.mjs +0 -2
  760. package/out/__chunks__/chunk-3RLAFHQ5.mjs +0 -2
  761. package/out/__chunks__/chunk-3RLAFHQ5.mjs.map +0 -7
  762. package/out/__chunks__/chunk-3S57OP4Z.mjs +0 -2
  763. package/out/__chunks__/chunk-3XTYIGW5.mjs +0 -2
  764. package/out/__chunks__/chunk-3ZT74S43.mjs +0 -2
  765. package/out/__chunks__/chunk-442O3UMZ.mjs +0 -1
  766. package/out/__chunks__/chunk-4FXREOAU.mjs +0 -2
  767. package/out/__chunks__/chunk-4G7O2SEH.mjs +0 -2
  768. package/out/__chunks__/chunk-4G7O2SEH.mjs.map +0 -7
  769. package/out/__chunks__/chunk-4SS6EY66.mjs +0 -2
  770. package/out/__chunks__/chunk-4US7HVCR.mjs +0 -1
  771. package/out/__chunks__/chunk-4VA2SULD.mjs +0 -2
  772. package/out/__chunks__/chunk-4VA2SULD.mjs.map +0 -7
  773. package/out/__chunks__/chunk-4VUMAG4J.mjs +0 -2
  774. package/out/__chunks__/chunk-4VUMAG4J.mjs.map +0 -7
  775. package/out/__chunks__/chunk-4Y3336TP.mjs +0 -2
  776. package/out/__chunks__/chunk-4YBGCRDP.mjs +0 -2
  777. package/out/__chunks__/chunk-4YBGCRDP.mjs.map +0 -7
  778. package/out/__chunks__/chunk-4ZWPXO55.mjs +0 -2
  779. package/out/__chunks__/chunk-4ZWPXO55.mjs.map +0 -7
  780. package/out/__chunks__/chunk-57EQXIYJ.mjs +0 -2
  781. package/out/__chunks__/chunk-5DILKRFV.mjs +0 -2
  782. package/out/__chunks__/chunk-5E32AO3E.mjs +0 -2
  783. package/out/__chunks__/chunk-5E32AO3E.mjs.map +0 -7
  784. package/out/__chunks__/chunk-5FPUK3PA.mjs +0 -2
  785. package/out/__chunks__/chunk-5FPUK3PA.mjs.map +0 -7
  786. package/out/__chunks__/chunk-5KCP7UJT.mjs +0 -2
  787. package/out/__chunks__/chunk-5KVNYLOM.mjs +0 -2
  788. package/out/__chunks__/chunk-5KVNYLOM.mjs.map +0 -7
  789. package/out/__chunks__/chunk-5Y2ZDPP6.mjs +0 -1
  790. package/out/__chunks__/chunk-6DHK4ZHY.mjs +0 -2
  791. package/out/__chunks__/chunk-6DHK4ZHY.mjs.map +0 -7
  792. package/out/__chunks__/chunk-6ET5BDZH.mjs +0 -1
  793. package/out/__chunks__/chunk-6GREKTLP.mjs +0 -2
  794. package/out/__chunks__/chunk-6GREKTLP.mjs.map +0 -7
  795. package/out/__chunks__/chunk-6JM4DPOH.mjs +0 -2
  796. package/out/__chunks__/chunk-6JM4DPOH.mjs.map +0 -7
  797. package/out/__chunks__/chunk-6UIF2KFV.mjs +0 -2
  798. package/out/__chunks__/chunk-6UIF2KFV.mjs.map +0 -7
  799. package/out/__chunks__/chunk-7BRIA6SS.mjs +0 -1
  800. package/out/__chunks__/chunk-7JDTQFLQ.mjs +0 -2
  801. package/out/__chunks__/chunk-7JDTQFLQ.mjs.map +0 -7
  802. package/out/__chunks__/chunk-7UA7QAEF.mjs +0 -2
  803. package/out/__chunks__/chunk-7UA7QAEF.mjs.map +0 -7
  804. package/out/__chunks__/chunk-A5TUOLPV.mjs +0 -2
  805. package/out/__chunks__/chunk-A5TUOLPV.mjs.map +0 -7
  806. package/out/__chunks__/chunk-ABMG4JL2.mjs +0 -2
  807. package/out/__chunks__/chunk-ABMG4JL2.mjs.map +0 -7
  808. package/out/__chunks__/chunk-B7YCKWDU.mjs +0 -1
  809. package/out/__chunks__/chunk-BFNJ4VYH.mjs +0 -2
  810. package/out/__chunks__/chunk-BFNJ4VYH.mjs.map +0 -7
  811. package/out/__chunks__/chunk-BKKXLEQ6.mjs +0 -1
  812. package/out/__chunks__/chunk-C2CYALD3.mjs +0 -2
  813. package/out/__chunks__/chunk-C4TBDJVT.mjs +0 -2
  814. package/out/__chunks__/chunk-C4TBDJVT.mjs.map +0 -7
  815. package/out/__chunks__/chunk-C5SRSULA.mjs +0 -2
  816. package/out/__chunks__/chunk-C5SRSULA.mjs.map +0 -7
  817. package/out/__chunks__/chunk-CA5CSAGL.mjs +0 -2
  818. package/out/__chunks__/chunk-CA5CSAGL.mjs.map +0 -7
  819. package/out/__chunks__/chunk-CDTYHGXZ.mjs +0 -1
  820. package/out/__chunks__/chunk-CDWODCD7.mjs +0 -2
  821. package/out/__chunks__/chunk-CDWODCD7.mjs.map +0 -7
  822. package/out/__chunks__/chunk-CMIVBHXU.mjs +0 -2
  823. package/out/__chunks__/chunk-CMIVBHXU.mjs.map +0 -7
  824. package/out/__chunks__/chunk-CXE2WQJS.mjs +0 -1
  825. package/out/__chunks__/chunk-CXE2WQJS.mjs.map +0 -7
  826. package/out/__chunks__/chunk-CYCS3K6Q.mjs +0 -2
  827. package/out/__chunks__/chunk-CYCS3K6Q.mjs.map +0 -7
  828. package/out/__chunks__/chunk-D2ULWBRR.mjs +0 -2
  829. package/out/__chunks__/chunk-D4UL2EWH.mjs +0 -2
  830. package/out/__chunks__/chunk-DBIIY2TX.mjs +0 -2
  831. package/out/__chunks__/chunk-DDLTXUQG.mjs +0 -2
  832. package/out/__chunks__/chunk-DDLTXUQG.mjs.map +0 -7
  833. package/out/__chunks__/chunk-DFSBS3PX.mjs +0 -2
  834. package/out/__chunks__/chunk-DJXCXSJM.mjs +0 -2
  835. package/out/__chunks__/chunk-DJXCXSJM.mjs.map +0 -7
  836. package/out/__chunks__/chunk-DLCBEPEX.mjs +0 -2
  837. package/out/__chunks__/chunk-DLCBEPEX.mjs.map +0 -7
  838. package/out/__chunks__/chunk-DTQL3IDP.mjs +0 -1
  839. package/out/__chunks__/chunk-DTQL3IDP.mjs.map +0 -7
  840. package/out/__chunks__/chunk-DXRSXWLQ.mjs +0 -1
  841. package/out/__chunks__/chunk-DXRSXWLQ.mjs.map +0 -7
  842. package/out/__chunks__/chunk-E7M6PNMF.mjs +0 -2
  843. package/out/__chunks__/chunk-E7M6PNMF.mjs.map +0 -7
  844. package/out/__chunks__/chunk-EBENRM2R.mjs +0 -2
  845. package/out/__chunks__/chunk-EDLHXC66.mjs +0 -2
  846. package/out/__chunks__/chunk-EGNCDLPF.mjs +0 -2
  847. package/out/__chunks__/chunk-EHDGJUEU.mjs +0 -2
  848. package/out/__chunks__/chunk-EHDGJUEU.mjs.map +0 -7
  849. package/out/__chunks__/chunk-EJV4VNJG.mjs +0 -2
  850. package/out/__chunks__/chunk-EJV4VNJG.mjs.map +0 -7
  851. package/out/__chunks__/chunk-F6HFPLKF.mjs +0 -2
  852. package/out/__chunks__/chunk-FGEC7ZXX.mjs +0 -2
  853. package/out/__chunks__/chunk-FGEC7ZXX.mjs.map +0 -7
  854. package/out/__chunks__/chunk-FPKFAJNW.mjs +0 -3
  855. package/out/__chunks__/chunk-FRDR4A7Z.mjs +0 -2
  856. package/out/__chunks__/chunk-FRDR4A7Z.mjs.map +0 -7
  857. package/out/__chunks__/chunk-FTJF3Q3P.mjs +0 -2
  858. package/out/__chunks__/chunk-FTJF3Q3P.mjs.map +0 -7
  859. package/out/__chunks__/chunk-FUCA6PDM.mjs +0 -2
  860. package/out/__chunks__/chunk-G2YMMIV4.mjs +0 -2
  861. package/out/__chunks__/chunk-G2YMMIV4.mjs.map +0 -7
  862. package/out/__chunks__/chunk-G5DKGX73.mjs +0 -1
  863. package/out/__chunks__/chunk-G5DKGX73.mjs.map +0 -7
  864. package/out/__chunks__/chunk-GAYDJQDV.mjs +0 -1
  865. package/out/__chunks__/chunk-GAYDJQDV.mjs.map +0 -7
  866. package/out/__chunks__/chunk-GIRFQWT3.mjs +0 -2
  867. package/out/__chunks__/chunk-GIRFQWT3.mjs.map +0 -7
  868. package/out/__chunks__/chunk-GIZSIYH4.mjs +0 -2
  869. package/out/__chunks__/chunk-GIZSIYH4.mjs.map +0 -7
  870. package/out/__chunks__/chunk-GNHD56P3.mjs +0 -2
  871. package/out/__chunks__/chunk-GNNYBI7B.mjs +0 -2
  872. package/out/__chunks__/chunk-GQ4CPGZ3.mjs +0 -2
  873. package/out/__chunks__/chunk-GQ4CPGZ3.mjs.map +0 -7
  874. package/out/__chunks__/chunk-GUAXMODN.mjs +0 -2
  875. package/out/__chunks__/chunk-GUIXE5XC.mjs +0 -2
  876. package/out/__chunks__/chunk-GUIXE5XC.mjs.map +0 -7
  877. package/out/__chunks__/chunk-H3NKXQQF.mjs +0 -2
  878. package/out/__chunks__/chunk-H3NKXQQF.mjs.map +0 -7
  879. package/out/__chunks__/chunk-H5NVCCUR.mjs +0 -2
  880. package/out/__chunks__/chunk-HOCSCRJF.mjs +0 -2
  881. package/out/__chunks__/chunk-HOCSCRJF.mjs.map +0 -7
  882. package/out/__chunks__/chunk-HZGRS7HG.mjs +0 -2
  883. package/out/__chunks__/chunk-I4PVZY6G.mjs +0 -2
  884. package/out/__chunks__/chunk-ICXBMZJS.mjs +0 -2
  885. package/out/__chunks__/chunk-IE3A2COQ.mjs +0 -2
  886. package/out/__chunks__/chunk-INRKVOET.mjs +0 -1
  887. package/out/__chunks__/chunk-INRKVOET.mjs.map +0 -7
  888. package/out/__chunks__/chunk-IS3TZ43F.mjs +0 -2
  889. package/out/__chunks__/chunk-IS3TZ43F.mjs.map +0 -7
  890. package/out/__chunks__/chunk-IXBWD6BF.mjs +0 -1
  891. package/out/__chunks__/chunk-IXBWD6BF.mjs.map +0 -7
  892. package/out/__chunks__/chunk-J32T6OAP.mjs +0 -1
  893. package/out/__chunks__/chunk-J32T6OAP.mjs.map +0 -7
  894. package/out/__chunks__/chunk-JKR5DRPM.mjs +0 -1
  895. package/out/__chunks__/chunk-JKR5DRPM.mjs.map +0 -7
  896. package/out/__chunks__/chunk-JMC7CMTU.mjs +0 -2
  897. package/out/__chunks__/chunk-JNGJJQUL.mjs +0 -2
  898. package/out/__chunks__/chunk-JTV664SG.mjs +0 -2
  899. package/out/__chunks__/chunk-K272J46W.mjs +0 -2
  900. package/out/__chunks__/chunk-K5MJ4FMD.mjs +0 -1
  901. package/out/__chunks__/chunk-K5MJ4FMD.mjs.map +0 -7
  902. package/out/__chunks__/chunk-K6FICN7B.mjs +0 -2
  903. package/out/__chunks__/chunk-K6FICN7B.mjs.map +0 -7
  904. package/out/__chunks__/chunk-KD2IQ32V.mjs +0 -2
  905. package/out/__chunks__/chunk-KD2IQ32V.mjs.map +0 -7
  906. package/out/__chunks__/chunk-KDMYDO7R.mjs +0 -2
  907. package/out/__chunks__/chunk-KDMYDO7R.mjs.map +0 -7
  908. package/out/__chunks__/chunk-KIOUFP5Q.mjs +0 -1
  909. package/out/__chunks__/chunk-KIOUFP5Q.mjs.map +0 -7
  910. package/out/__chunks__/chunk-KLLFGRPB.mjs +0 -2
  911. package/out/__chunks__/chunk-KMJMQEXI.mjs +0 -2
  912. package/out/__chunks__/chunk-KPK72MOE.mjs +0 -2
  913. package/out/__chunks__/chunk-KPK72MOE.mjs.map +0 -7
  914. package/out/__chunks__/chunk-KPOZLV3Y.mjs +0 -2
  915. package/out/__chunks__/chunk-L3YPAYXZ.mjs +0 -1
  916. package/out/__chunks__/chunk-L3YPAYXZ.mjs.map +0 -7
  917. package/out/__chunks__/chunk-L5XHA5J3.mjs +0 -2
  918. package/out/__chunks__/chunk-L6A73MU7.mjs +0 -2
  919. package/out/__chunks__/chunk-LHEH7L4L.mjs +0 -2
  920. package/out/__chunks__/chunk-LHEH7L4L.mjs.map +0 -7
  921. package/out/__chunks__/chunk-LNXZQGLV.mjs +0 -2
  922. package/out/__chunks__/chunk-LNXZQGLV.mjs.map +0 -7
  923. package/out/__chunks__/chunk-M3GFSV3G.mjs +0 -1
  924. package/out/__chunks__/chunk-M3GFSV3G.mjs.map +0 -7
  925. package/out/__chunks__/chunk-M65GJGER.mjs +0 -2
  926. package/out/__chunks__/chunk-MDXLOX7I.mjs +0 -2
  927. package/out/__chunks__/chunk-MH3RDOC5.mjs +0 -2
  928. package/out/__chunks__/chunk-MH3RDOC5.mjs.map +0 -7
  929. package/out/__chunks__/chunk-MJKL37SY.mjs +0 -2
  930. package/out/__chunks__/chunk-MODSKR2X.mjs +0 -2
  931. package/out/__chunks__/chunk-MODSKR2X.mjs.map +0 -7
  932. package/out/__chunks__/chunk-MPGHQVDQ.mjs +0 -2
  933. package/out/__chunks__/chunk-MSM6OHIC.mjs +0 -2
  934. package/out/__chunks__/chunk-MSM6OHIC.mjs.map +0 -7
  935. package/out/__chunks__/chunk-N42HH2XN.mjs +0 -2
  936. package/out/__chunks__/chunk-N42HH2XN.mjs.map +0 -7
  937. package/out/__chunks__/chunk-N55JEIM6.mjs +0 -2
  938. package/out/__chunks__/chunk-N55JEIM6.mjs.map +0 -7
  939. package/out/__chunks__/chunk-NBHRZSLS.mjs +0 -2
  940. package/out/__chunks__/chunk-NBHRZSLS.mjs.map +0 -7
  941. package/out/__chunks__/chunk-NT3OYOP5.mjs +0 -2
  942. package/out/__chunks__/chunk-NTPPBM7T.mjs +0 -2
  943. package/out/__chunks__/chunk-NZA7KOCG.mjs +0 -2
  944. package/out/__chunks__/chunk-NZA7KOCG.mjs.map +0 -7
  945. package/out/__chunks__/chunk-O4V2ADKJ.mjs +0 -2
  946. package/out/__chunks__/chunk-O4V2ADKJ.mjs.map +0 -7
  947. package/out/__chunks__/chunk-O7AQPRYI.mjs +0 -2
  948. package/out/__chunks__/chunk-O7AQPRYI.mjs.map +0 -7
  949. package/out/__chunks__/chunk-OA5BWGGO.mjs +0 -2
  950. package/out/__chunks__/chunk-OA5BWGGO.mjs.map +0 -7
  951. package/out/__chunks__/chunk-OFVUWY2K.mjs +0 -2
  952. package/out/__chunks__/chunk-OFVUWY2K.mjs.map +0 -7
  953. package/out/__chunks__/chunk-OJX2TSAZ.mjs +0 -1
  954. package/out/__chunks__/chunk-OJX2TSAZ.mjs.map +0 -7
  955. package/out/__chunks__/chunk-OL6LWUIJ.mjs +0 -1
  956. package/out/__chunks__/chunk-OL6LWUIJ.mjs.map +0 -7
  957. package/out/__chunks__/chunk-OVXVICF7.mjs +0 -1
  958. package/out/__chunks__/chunk-OVXVICF7.mjs.map +0 -7
  959. package/out/__chunks__/chunk-PJZO5KQR.mjs +0 -2
  960. package/out/__chunks__/chunk-PJZO5KQR.mjs.map +0 -7
  961. package/out/__chunks__/chunk-PMATTOPD.mjs +0 -2
  962. package/out/__chunks__/chunk-PQVNWTWJ.mjs +0 -2
  963. package/out/__chunks__/chunk-PQVNWTWJ.mjs.map +0 -7
  964. package/out/__chunks__/chunk-PX3TRYOX.mjs +0 -2
  965. package/out/__chunks__/chunk-PY6RWCON.mjs +0 -2
  966. package/out/__chunks__/chunk-PY6RWCON.mjs.map +0 -7
  967. package/out/__chunks__/chunk-Q6ALT7RT.mjs +0 -2
  968. package/out/__chunks__/chunk-Q6ALT7RT.mjs.map +0 -7
  969. package/out/__chunks__/chunk-QFZ4YW5F.mjs +0 -2
  970. package/out/__chunks__/chunk-QFZ4YW5F.mjs.map +0 -7
  971. package/out/__chunks__/chunk-QLMVT5AQ.mjs +0 -2
  972. package/out/__chunks__/chunk-QLMVT5AQ.mjs.map +0 -7
  973. package/out/__chunks__/chunk-QXC4D3AC.mjs +0 -2
  974. package/out/__chunks__/chunk-QXC4D3AC.mjs.map +0 -7
  975. package/out/__chunks__/chunk-QZQDLLQR.mjs +0 -2
  976. package/out/__chunks__/chunk-QZQDLLQR.mjs.map +0 -7
  977. package/out/__chunks__/chunk-R6F66MUM.mjs +0 -2
  978. package/out/__chunks__/chunk-RFQ62EWT.mjs +0 -2
  979. package/out/__chunks__/chunk-RHG5XPRM.mjs +0 -2
  980. package/out/__chunks__/chunk-RNABCWXS.mjs +0 -2
  981. package/out/__chunks__/chunk-S2PZQQCM.mjs +0 -2
  982. package/out/__chunks__/chunk-S2PZQQCM.mjs.map +0 -7
  983. package/out/__chunks__/chunk-SFGNJYRD.mjs +0 -2
  984. package/out/__chunks__/chunk-SFGNJYRD.mjs.map +0 -7
  985. package/out/__chunks__/chunk-STSC5Q3L.mjs +0 -2
  986. package/out/__chunks__/chunk-STSC5Q3L.mjs.map +0 -7
  987. package/out/__chunks__/chunk-T4FRQ4JG.mjs +0 -1
  988. package/out/__chunks__/chunk-T4FRQ4JG.mjs.map +0 -7
  989. package/out/__chunks__/chunk-TFZ46GCB.mjs +0 -1
  990. package/out/__chunks__/chunk-TFZ46GCB.mjs.map +0 -7
  991. package/out/__chunks__/chunk-TRMQFQOQ.mjs +0 -1
  992. package/out/__chunks__/chunk-TRMQFQOQ.mjs.map +0 -7
  993. package/out/__chunks__/chunk-TYA2A7P3.mjs +0 -2
  994. package/out/__chunks__/chunk-U3MIDVR7.mjs +0 -2
  995. package/out/__chunks__/chunk-U3MIDVR7.mjs.map +0 -7
  996. package/out/__chunks__/chunk-U4NSAQRJ.mjs +0 -2
  997. package/out/__chunks__/chunk-UCNKEHLJ.mjs +0 -2
  998. package/out/__chunks__/chunk-UD7MOR6P.mjs +0 -1
  999. package/out/__chunks__/chunk-UD7MOR6P.mjs.map +0 -7
  1000. package/out/__chunks__/chunk-UE3IBKCO.mjs +0 -2
  1001. package/out/__chunks__/chunk-UE3IBKCO.mjs.map +0 -7
  1002. package/out/__chunks__/chunk-UEKNE7II.mjs +0 -2
  1003. package/out/__chunks__/chunk-UERJ6AKK.mjs +0 -2
  1004. package/out/__chunks__/chunk-UFDELD3B.mjs +0 -2
  1005. package/out/__chunks__/chunk-UFDELD3B.mjs.map +0 -7
  1006. package/out/__chunks__/chunk-UNSFOHDG.mjs +0 -2
  1007. package/out/__chunks__/chunk-VAJX46E4.mjs +0 -2
  1008. package/out/__chunks__/chunk-VCAWVAO5.mjs +0 -1
  1009. package/out/__chunks__/chunk-VCAWVAO5.mjs.map +0 -7
  1010. package/out/__chunks__/chunk-VJGOUAZ2.mjs +0 -2
  1011. package/out/__chunks__/chunk-VJGOUAZ2.mjs.map +0 -7
  1012. package/out/__chunks__/chunk-VJLG26AF.mjs +0 -2
  1013. package/out/__chunks__/chunk-VOBUIF7F.mjs +0 -1
  1014. package/out/__chunks__/chunk-VOBUIF7F.mjs.map +0 -7
  1015. package/out/__chunks__/chunk-VWRNBA3H.mjs +0 -2
  1016. package/out/__chunks__/chunk-W5MTQBQF.mjs +0 -2
  1017. package/out/__chunks__/chunk-W5MTQBQF.mjs.map +0 -7
  1018. package/out/__chunks__/chunk-WBMIRF47.mjs +0 -2
  1019. package/out/__chunks__/chunk-WBMIRF47.mjs.map +0 -7
  1020. package/out/__chunks__/chunk-WG5ONYK4.mjs +0 -2
  1021. package/out/__chunks__/chunk-WHEXX3BD.mjs +0 -1
  1022. package/out/__chunks__/chunk-WHEXX3BD.mjs.map +0 -7
  1023. package/out/__chunks__/chunk-WS2MTQIC.mjs +0 -2
  1024. package/out/__chunks__/chunk-WVAP3V3E.mjs +0 -2
  1025. package/out/__chunks__/chunk-WVAP3V3E.mjs.map +0 -7
  1026. package/out/__chunks__/chunk-WZGG2YKQ.mjs +0 -2
  1027. package/out/__chunks__/chunk-XDBKPKTG.mjs +0 -2
  1028. package/out/__chunks__/chunk-XX6UOMVH.mjs +0 -2
  1029. package/out/__chunks__/chunk-XX6UOMVH.mjs.map +0 -7
  1030. package/out/__chunks__/chunk-Y5FXVEPD.mjs +0 -2
  1031. package/out/__chunks__/chunk-YFPMAZOS.mjs +0 -1
  1032. package/out/__chunks__/chunk-YFPMAZOS.mjs.map +0 -7
  1033. package/out/__chunks__/chunk-YJK5FPW4.mjs +0 -1
  1034. package/out/__chunks__/chunk-YJK5FPW4.mjs.map +0 -7
  1035. package/out/__chunks__/chunk-YK7T6MBD.mjs +0 -2
  1036. package/out/__chunks__/chunk-YUITECZ5.mjs +0 -1
  1037. package/out/__chunks__/chunk-YUITECZ5.mjs.map +0 -7
  1038. package/out/__chunks__/chunk-YV7ZJBAY.mjs +0 -1
  1039. package/out/__chunks__/chunk-YV7ZJBAY.mjs.map +0 -7
  1040. package/out/__chunks__/chunk-YZ6E6GLF.mjs +0 -2
  1041. package/out/__chunks__/chunk-YZ6E6GLF.mjs.map +0 -7
  1042. package/out/__chunks__/chunk-Z2XKLZOJ.mjs +0 -2
  1043. package/out/__chunks__/chunk-Z4PL2VDB.mjs +0 -1
  1044. package/out/__chunks__/chunk-Z4PL2VDB.mjs.map +0 -7
  1045. package/out/__chunks__/chunk-ZAPRDHIW.mjs +0 -1
  1046. package/out/__chunks__/chunk-ZAPRDHIW.mjs.map +0 -7
  1047. package/out/__chunks__/chunk-ZATPIKZ2.mjs +0 -2
  1048. package/out/__chunks__/chunk-ZBQOFCLH.mjs +0 -2
  1049. package/out/__chunks__/chunk-ZBQOFCLH.mjs.map +0 -7
  1050. package/out/__chunks__/chunk-ZC5QSQE4.mjs +0 -1
  1051. package/out/__chunks__/chunk-ZC5QSQE4.mjs.map +0 -7
  1052. package/out/__chunks__/chunk-ZFKTQNIP.mjs +0 -2
  1053. package/out/__chunks__/chunk-ZFXAT6MD.mjs +0 -1
  1054. package/out/__chunks__/chunk-ZFXAT6MD.mjs.map +0 -7
  1055. package/out/__chunks__/chunk-ZKBKYLAP.mjs +0 -2
  1056. package/out/__chunks__/chunk-ZNPHUPAP.mjs +0 -2
  1057. package/out/__chunks__/chunk-ZNYD34VT.mjs +0 -2
  1058. package/out/__chunks__/chunk-ZRSYQ3MT.mjs +0 -6
  1059. package/out/apiCalls/account/index.cjs +0 -2
  1060. package/out/apiCalls/account/index.cjs.map +0 -7
  1061. package/out/apiCalls/account/index.d.ts +0 -1
  1062. package/out/apiCalls/account/index.mjs +0 -2
  1063. package/out/apiCalls/configuration/index.cjs +0 -2
  1064. package/out/apiCalls/configuration/index.cjs.map +0 -7
  1065. package/out/apiCalls/configuration/index.d.ts +0 -2
  1066. package/out/apiCalls/configuration/index.mjs +0 -2
  1067. package/out/apiCalls/index.cjs +0 -2
  1068. package/out/apiCalls/index.cjs.map +0 -7
  1069. package/out/apiCalls/index.d.ts +0 -6
  1070. package/out/apiCalls/index.mjs +0 -2
  1071. package/out/apiCalls/tokens/index.cjs +0 -2
  1072. package/out/apiCalls/tokens/index.cjs.map +0 -7
  1073. package/out/apiCalls/tokens/index.d.ts +0 -1
  1074. package/out/apiCalls/tokens/index.mjs +0 -2
  1075. package/out/apiCalls/tokens/index.mjs.map +0 -7
  1076. package/out/apiCalls/utils/getCleanApiAddress.cjs +0 -2
  1077. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +0 -7
  1078. package/out/apiCalls/utils/getCleanApiAddress.d.ts +0 -1
  1079. package/out/apiCalls/utils/getCleanApiAddress.mjs +0 -2
  1080. package/out/apiCalls/utils/getCleanApiAddress.mjs.map +0 -7
  1081. package/out/apiCalls/utils/index.cjs +0 -2
  1082. package/out/apiCalls/utils/index.cjs.map +0 -7
  1083. package/out/apiCalls/utils/index.d.ts +0 -3
  1084. package/out/apiCalls/utils/index.mjs +0 -2
  1085. package/out/apiCalls/utils/index.mjs.map +0 -7
  1086. package/out/apiCalls/websocket/index.cjs +0 -2
  1087. package/out/apiCalls/websocket/index.cjs.map +0 -7
  1088. package/out/apiCalls/websocket/index.d.ts +0 -1
  1089. package/out/apiCalls/websocket/index.mjs +0 -2
  1090. package/out/apiCalls/websocket/index.mjs.map +0 -7
  1091. package/out/constants/index.cjs +0 -2
  1092. package/out/constants/index.cjs.map +0 -7
  1093. package/out/constants/index.d.ts +0 -10
  1094. package/out/constants/index.mjs +0 -2
  1095. package/out/constants/index.mjs.map +0 -7
  1096. package/out/controllers/index.cjs +0 -2
  1097. package/out/controllers/index.cjs.map +0 -7
  1098. package/out/controllers/index.d.ts +0 -1
  1099. package/out/controllers/index.mjs +0 -2
  1100. package/out/controllers/index.mjs.map +0 -7
  1101. package/out/index.cjs +0 -2
  1102. package/out/index.cjs.map +0 -7
  1103. package/out/index.d.ts +0 -6
  1104. package/out/index.mjs +0 -2
  1105. package/out/index.mjs.map +0 -7
  1106. package/out/managers/index.cjs +0 -2
  1107. package/out/managers/index.cjs.map +0 -7
  1108. package/out/managers/index.d.ts +0 -2
  1109. package/out/managers/index.mjs +0 -2
  1110. package/out/managers/index.mjs.map +0 -7
  1111. package/out/managers/internal/index.cjs +0 -2
  1112. package/out/managers/internal/index.cjs.map +0 -7
  1113. package/out/managers/internal/index.d.ts +0 -3
  1114. package/out/managers/internal/index.mjs +0 -2
  1115. package/out/managers/internal/index.mjs.map +0 -7
  1116. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +0 -7
  1117. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +0 -2
  1118. package/out/providers/index.cjs +0 -2
  1119. package/out/providers/index.cjs.map +0 -7
  1120. package/out/providers/index.d.ts +0 -2
  1121. package/out/providers/index.mjs +0 -2
  1122. package/out/providers/index.mjs.map +0 -7
  1123. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +0 -2
  1124. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +0 -7
  1125. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.d.ts +0 -18
  1126. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +0 -2
  1127. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +0 -2
  1128. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +0 -7
  1129. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +0 -2
  1130. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +0 -2
  1131. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +0 -7
  1132. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +0 -2
  1133. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +0 -2
  1134. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +0 -7
  1135. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.d.ts +0 -10
  1136. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +0 -2
  1137. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +0 -2
  1138. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +0 -7
  1139. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +0 -2
  1140. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +0 -2
  1141. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +0 -7
  1142. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.d.ts +0 -6
  1143. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +0 -2
  1144. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs.map +0 -7
  1145. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +0 -7
  1146. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.mjs +0 -2
  1147. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +0 -7
  1148. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +0 -2
  1149. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs.map +0 -7
  1150. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +0 -2
  1151. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +0 -7
  1152. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +0 -2
  1153. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +0 -7
  1154. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.d.ts +0 -8
  1155. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +0 -2
  1156. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +0 -7
  1157. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.d.ts +0 -8
  1158. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +0 -2
  1159. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs.map +0 -7
  1160. package/out/providers/strategies/index.cjs +0 -2
  1161. package/out/providers/strategies/index.cjs.map +0 -7
  1162. package/out/providers/strategies/index.d.ts +0 -5
  1163. package/out/providers/strategies/index.mjs +0 -2
  1164. package/out/providers/strategies/index.mjs.map +0 -7
  1165. package/out/services/index.cjs +0 -2
  1166. package/out/services/index.cjs.map +0 -7
  1167. package/out/services/index.d.ts +0 -1
  1168. package/out/services/index.mjs +0 -2
  1169. package/out/services/index.mjs.map +0 -7
  1170. package/out/services/nativeAuth/methods/index.cjs +0 -2
  1171. package/out/services/nativeAuth/methods/index.cjs.map +0 -7
  1172. package/out/services/nativeAuth/methods/index.d.ts +0 -2
  1173. package/out/services/nativeAuth/methods/index.mjs +0 -2
  1174. package/out/services/nativeAuth/methods/index.mjs.map +0 -7
  1175. package/out/store/actions/index.cjs +0 -2
  1176. package/out/store/actions/index.cjs.map +0 -7
  1177. package/out/store/actions/index.d.ts +0 -7
  1178. package/out/store/actions/index.mjs +0 -2
  1179. package/out/store/actions/index.mjs.map +0 -7
  1180. package/out/store/selectors/index.cjs +0 -2
  1181. package/out/store/selectors/index.cjs.map +0 -7
  1182. package/out/store/selectors/index.d.ts +0 -6
  1183. package/out/store/selectors/index.mjs +0 -2
  1184. package/out/store/selectors/index.mjs.map +0 -7
  1185. package/out/store/slices/index.cjs +0 -2
  1186. package/out/store/slices/index.cjs.map +0 -7
  1187. package/out/store/slices/index.d.ts +0 -7
  1188. package/out/store/slices/index.mjs +0 -2
  1189. package/out/store/slices/index.mjs.map +0 -7
  1190. package/out/types/index.cjs +0 -2
  1191. package/out/types/index.cjs.map +0 -7
  1192. package/out/types/index.d.ts +0 -7
  1193. package/out/types/index.mjs +0 -2
  1194. package/out/types/index.mjs.map +0 -7
  1195. package/out/utils/account/index.cjs +0 -2
  1196. package/out/utils/account/index.cjs.map +0 -7
  1197. package/out/utils/account/index.d.ts +0 -4
  1198. package/out/utils/account/index.mjs +0 -2
  1199. package/out/utils/account/index.mjs.map +0 -7
  1200. package/out/utils/decoders/index.cjs +0 -2
  1201. package/out/utils/decoders/index.cjs.map +0 -7
  1202. package/out/utils/decoders/index.d.ts +0 -5
  1203. package/out/utils/decoders/index.mjs +0 -2
  1204. package/out/utils/decoders/index.mjs.map +0 -7
  1205. package/out/utils/index.cjs +0 -2
  1206. package/out/utils/index.cjs.map +0 -7
  1207. package/out/utils/index.d.ts +0 -10
  1208. package/out/utils/index.mjs +0 -2
  1209. package/out/utils/index.mjs.map +0 -7
  1210. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +0 -2
  1211. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +0 -7
  1212. package/out/utils/transactions/getDecodedDataField/helpers/index.d.ts +0 -6
  1213. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs +0 -2
  1214. package/out/utils/transactions/getDecodedDataField/helpers/index.mjs.map +0 -7
  1215. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +0 -2
  1216. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +0 -7
  1217. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.d.ts +0 -6
  1218. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +0 -2
  1219. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs.map +0 -7
  1220. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +0 -2
  1221. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +0 -7
  1222. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.d.ts +0 -2
  1223. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs +0 -2
  1224. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.mjs.map +0 -7
  1225. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +0 -2
  1226. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +0 -7
  1227. package/out/utils/transactions/getInterpretedTransaction/helpers/index.d.ts +0 -13
  1228. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +0 -2
  1229. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs.map +0 -7
  1230. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +0 -2
  1231. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +0 -7
  1232. package/out/utils/transactions/getTransactionsHistory/helpers/index.d.ts +0 -8
  1233. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +0 -2
  1234. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs.map +0 -7
  1235. package/out/utils/transactions/index.cjs +0 -2
  1236. package/out/utils/transactions/index.cjs.map +0 -7
  1237. package/out/utils/transactions/index.d.ts +0 -5
  1238. package/out/utils/transactions/index.mjs +0 -2
  1239. package/out/utils/transactions/index.mjs.map +0 -7
  1240. package/out/utils/validation/index.cjs +0 -2
  1241. package/out/utils/validation/index.cjs.map +0 -7
  1242. package/out/utils/validation/index.d.ts +0 -5
  1243. package/out/utils/validation/index.mjs +0 -2
  1244. package/out/utils/validation/index.mjs.map +0 -7
  1245. package/out/utils/visual/index.cjs +0 -2
  1246. package/out/utils/visual/index.cjs.map +0 -7
  1247. package/out/utils/visual/index.d.ts +0 -1
  1248. package/out/utils/visual/index.mjs +0 -2
  1249. package/out/utils/visual/index.mjs.map +0 -7
  1250. package/out/utils/window/index.cjs +0 -2
  1251. package/out/utils/window/index.cjs.map +0 -7
  1252. package/out/utils/window/index.d.ts +0 -6
  1253. package/out/utils/window/index.mjs +0 -2
  1254. package/out/utils/window/index.mjs.map +0 -7
  1255. /package/out/__chunks__/{chunk-EBENRM2R.mjs.map → chunk-3G2Q2LCB.mjs.map} +0 -0
  1256. /package/out/__chunks__/{chunk-IE3A2COQ.mjs.map → chunk-3IYTFWEN.mjs.map} +0 -0
  1257. /package/out/__chunks__/{chunk-ZNPHUPAP.mjs.map → chunk-3KJMEECV.mjs.map} +0 -0
  1258. /package/out/__chunks__/{chunk-K272J46W.mjs.map → chunk-3NSS3FT6.mjs.map} +0 -0
  1259. /package/out/__chunks__/{chunk-2BSPSW6X.mjs.map → chunk-5P3UEE7C.mjs.map} +0 -0
  1260. /package/out/__chunks__/{chunk-FUCA6PDM.mjs.map → chunk-5WJQ2KWS.mjs.map} +0 -0
  1261. /package/out/__chunks__/{chunk-JNGJJQUL.mjs.map → chunk-65F23E3Q.mjs.map} +0 -0
  1262. /package/out/__chunks__/{chunk-C2CYALD3.mjs.map → chunk-6M3IQXQF.mjs.map} +0 -0
  1263. /package/out/__chunks__/{chunk-NT3OYOP5.mjs.map → chunk-6PCK2RPQ.mjs.map} +0 -0
  1264. /package/out/__chunks__/{chunk-Y5FXVEPD.mjs.map → chunk-6QPOPWIN.mjs.map} +0 -0
  1265. /package/out/__chunks__/{chunk-2ON3KLCT.mjs.map → chunk-6RYKBAUE.mjs.map} +0 -0
  1266. /package/out/__chunks__/{chunk-RHG5XPRM.mjs.map → chunk-7FV6DEQX.mjs.map} +0 -0
  1267. /package/out/__chunks__/{chunk-4Y3336TP.mjs.map → chunk-AFOS3Q4N.mjs.map} +0 -0
  1268. /package/out/__chunks__/{chunk-L6A73MU7.mjs.map → chunk-AIQTIXFV.mjs.map} +0 -0
  1269. /package/out/__chunks__/{chunk-ZRSYQ3MT.mjs.map → chunk-AOLW46E4.mjs.map} +0 -0
  1270. /package/out/__chunks__/{chunk-JMC7CMTU.mjs.map → chunk-APCGI2A5.mjs.map} +0 -0
  1271. /package/out/__chunks__/{chunk-Z2XKLZOJ.mjs.map → chunk-AWH3CO5C.mjs.map} +0 -0
  1272. /package/out/__chunks__/{chunk-442O3UMZ.mjs.map → chunk-BFD5ZJOK.mjs.map} +0 -0
  1273. /package/out/__chunks__/{chunk-DFSBS3PX.mjs.map → chunk-BHWSBAMZ.mjs.map} +0 -0
  1274. /package/out/__chunks__/{chunk-XDBKPKTG.mjs.map → chunk-BSA3IGL6.mjs.map} +0 -0
  1275. /package/out/__chunks__/{chunk-4US7HVCR.mjs.map → chunk-C4SERLP4.mjs.map} +0 -0
  1276. /package/out/__chunks__/{chunk-KPOZLV3Y.mjs.map → chunk-CAOL6XLD.mjs.map} +0 -0
  1277. /package/out/__chunks__/{chunk-ICXBMZJS.mjs.map → chunk-CMERGCP7.mjs.map} +0 -0
  1278. /package/out/__chunks__/{chunk-5Y2ZDPP6.mjs.map → chunk-CUDPQDXY.mjs.map} +0 -0
  1279. /package/out/__chunks__/{chunk-EGNCDLPF.mjs.map → chunk-D27ZK232.mjs.map} +0 -0
  1280. /package/out/__chunks__/{chunk-57EQXIYJ.mjs.map → chunk-D4JFV2LM.mjs.map} +0 -0
  1281. /package/out/__chunks__/{chunk-D2ULWBRR.mjs.map → chunk-DNYE6AJI.mjs.map} +0 -0
  1282. /package/out/__chunks__/{chunk-ZKBKYLAP.mjs.map → chunk-ERDTZ52C.mjs.map} +0 -0
  1283. /package/out/__chunks__/{chunk-L5XHA5J3.mjs.map → chunk-F2W755EK.mjs.map} +0 -0
  1284. /package/out/__chunks__/{chunk-MJKL37SY.mjs.map → chunk-FDR5TTUS.mjs.map} +0 -0
  1285. /package/out/__chunks__/{chunk-UERJ6AKK.mjs.map → chunk-FK6DWWZF.mjs.map} +0 -0
  1286. /package/out/__chunks__/{chunk-VAJX46E4.mjs.map → chunk-FKUMHDP5.mjs.map} +0 -0
  1287. /package/out/__chunks__/{chunk-3XTYIGW5.mjs.map → chunk-GBDHEWNQ.mjs.map} +0 -0
  1288. /package/out/__chunks__/{chunk-6ET5BDZH.mjs.map → chunk-GEB2W7CV.mjs.map} +0 -0
  1289. /package/out/__chunks__/{chunk-WS2MTQIC.mjs.map → chunk-GYYGYOIE.mjs.map} +0 -0
  1290. /package/out/__chunks__/{chunk-PMATTOPD.mjs.map → chunk-HSF3JATH.mjs.map} +0 -0
  1291. /package/out/__chunks__/{chunk-5DILKRFV.mjs.map → chunk-HTT67LH3.mjs.map} +0 -0
  1292. /package/out/__chunks__/{chunk-NTPPBM7T.mjs.map → chunk-I3ILB737.mjs.map} +0 -0
  1293. /package/out/__chunks__/{chunk-VWRNBA3H.mjs.map → chunk-IAN3XFXS.mjs.map} +0 -0
  1294. /package/out/__chunks__/{chunk-JTV664SG.mjs.map → chunk-IHSJITVR.mjs.map} +0 -0
  1295. /package/out/__chunks__/{chunk-YK7T6MBD.mjs.map → chunk-IWP36NOU.mjs.map} +0 -0
  1296. /package/out/__chunks__/{chunk-ZNYD34VT.mjs.map → chunk-JJUR63EV.mjs.map} +0 -0
  1297. /package/out/__chunks__/{chunk-GNNYBI7B.mjs.map → chunk-JMK6YN6B.mjs.map} +0 -0
  1298. /package/out/__chunks__/{chunk-MPGHQVDQ.mjs.map → chunk-JO7KFAZC.mjs.map} +0 -0
  1299. /package/out/__chunks__/{chunk-3PAZABVI.mjs.map → chunk-JQ3KV55D.mjs.map} +0 -0
  1300. /package/out/__chunks__/{chunk-I4PVZY6G.mjs.map → chunk-K4E7GCWI.mjs.map} +0 -0
  1301. /package/out/__chunks__/{chunk-3ZT74S43.mjs.map → chunk-KLI5H35D.mjs.map} +0 -0
  1302. /package/out/__chunks__/{chunk-GUAXMODN.mjs.map → chunk-KYQ5IP6W.mjs.map} +0 -0
  1303. /package/out/__chunks__/{chunk-KMJMQEXI.mjs.map → chunk-LGGG3HW7.mjs.map} +0 -0
  1304. /package/out/__chunks__/{chunk-EDLHXC66.mjs.map → chunk-LQAAQV3I.mjs.map} +0 -0
  1305. /package/out/__chunks__/{chunk-ZFKTQNIP.mjs.map → chunk-MTGS435F.mjs.map} +0 -0
  1306. /package/out/__chunks__/{chunk-KLLFGRPB.mjs.map → chunk-NGJIMP5Y.mjs.map} +0 -0
  1307. /package/out/__chunks__/{chunk-TYA2A7P3.mjs.map → chunk-NQE5YCZP.mjs.map} +0 -0
  1308. /package/out/__chunks__/{chunk-H5NVCCUR.mjs.map → chunk-NWRCQLFI.mjs.map} +0 -0
  1309. /package/out/__chunks__/{chunk-WG5ONYK4.mjs.map → chunk-NYZ726DG.mjs.map} +0 -0
  1310. /package/out/__chunks__/{chunk-3S57OP4Z.mjs.map → chunk-OBIQ63DJ.mjs.map} +0 -0
  1311. /package/out/__chunks__/{chunk-RFQ62EWT.mjs.map → chunk-OSV2GCKV.mjs.map} +0 -0
  1312. /package/out/__chunks__/{chunk-VJLG26AF.mjs.map → chunk-PIFCCIF3.mjs.map} +0 -0
  1313. /package/out/__chunks__/{chunk-RNABCWXS.mjs.map → chunk-PJ5TKZD5.mjs.map} +0 -0
  1314. /package/out/__chunks__/{chunk-4SS6EY66.mjs.map → chunk-PN7JDWSZ.mjs.map} +0 -0
  1315. /package/out/__chunks__/{chunk-ZATPIKZ2.mjs.map → chunk-QFXS7HGL.mjs.map} +0 -0
  1316. /package/out/__chunks__/{chunk-DBIIY2TX.mjs.map → chunk-QNELH2S2.mjs.map} +0 -0
  1317. /package/out/__chunks__/{chunk-UEKNE7II.mjs.map → chunk-QZC64RDG.mjs.map} +0 -0
  1318. /package/out/__chunks__/{chunk-WZGG2YKQ.mjs.map → chunk-RIPIZH54.mjs.map} +0 -0
  1319. /package/out/__chunks__/{chunk-UCNKEHLJ.mjs.map → chunk-RMLVJDCQ.mjs.map} +0 -0
  1320. /package/out/__chunks__/{chunk-U4NSAQRJ.mjs.map → chunk-RVBZZQS2.mjs.map} +0 -0
  1321. /package/out/__chunks__/{chunk-FPKFAJNW.mjs.map → chunk-RXRVBUAX.mjs.map} +0 -0
  1322. /package/out/__chunks__/{chunk-GNHD56P3.mjs.map → chunk-SFXZJSEY.mjs.map} +0 -0
  1323. /package/out/__chunks__/{chunk-5KCP7UJT.mjs.map → chunk-SYHILLXA.mjs.map} +0 -0
  1324. /package/out/__chunks__/{chunk-D4UL2EWH.mjs.map → chunk-TRUOISVH.mjs.map} +0 -0
  1325. /package/out/__chunks__/{chunk-7BRIA6SS.mjs.map → chunk-U6RAWQXO.mjs.map} +0 -0
  1326. /package/out/__chunks__/{chunk-4FXREOAU.mjs.map → chunk-UWWAVJFM.mjs.map} +0 -0
  1327. /package/out/__chunks__/{chunk-MDXLOX7I.mjs.map → chunk-V7K77GSE.mjs.map} +0 -0
  1328. /package/out/__chunks__/{chunk-M65GJGER.mjs.map → chunk-VC74WYUB.mjs.map} +0 -0
  1329. /package/out/__chunks__/{chunk-HZGRS7HG.mjs.map → chunk-VGDWWBLN.mjs.map} +0 -0
  1330. /package/out/__chunks__/{chunk-R6F66MUM.mjs.map → chunk-W2A2N772.mjs.map} +0 -0
  1331. /package/out/__chunks__/{chunk-UNSFOHDG.mjs.map → chunk-WZEDZF3Q.mjs.map} +0 -0
  1332. /package/out/__chunks__/{chunk-PX3TRYOX.mjs.map → chunk-Y6QPE6SZ.mjs.map} +0 -0
  1333. /package/out/__chunks__/{chunk-F6HFPLKF.mjs.map → chunk-YXNJS4KL.mjs.map} +0 -0
  1334. /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.cjs +0 -0
  1335. /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.d.ts +0 -0
  1336. /package/out/methods/initApp/{gastStationMetadata → gasStationMetadata}/setGasStationMetadata.mjs.map +0 -0
  1337. /package/out/{__chunks__/chunk-B7YCKWDU.mjs.map → methods/initApp/helpers/waitForStoreRehydration.mjs.map} +0 -0
  1338. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{authenticateLedgerAccount.mjs.map → authenticateLedgerAccount/authenticateLedgerAccount.mjs.map} +0 -0
  1339. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.d.ts → authenticateLedgerAccount/helpers/getAuthTokenText.d.ts} +0 -0
  1340. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getAuthTokenText.mjs.map → authenticateLedgerAccount/helpers/getAuthTokenText.mjs.map} +0 -0
  1341. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.d.ts → authenticateLedgerAccount/helpers/getLedgerVersionOptions.d.ts} +0 -0
  1342. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerVersionOptions.mjs.map → authenticateLedgerAccount/helpers/getLedgerVersionOptions.mjs.map} +0 -0
  1343. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.cjs → authenticateLedgerAccount/helpers/secondsToTimeString.cjs} +0 -0
  1344. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.d.ts → authenticateLedgerAccount/helpers/secondsToTimeString.d.ts} +0 -0
  1345. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{secondsToTimeString.mjs.map → authenticateLedgerAccount/helpers/secondsToTimeString.mjs.map} +0 -0
  1346. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.cjs +0 -0
  1347. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/index.d.ts +0 -0
  1348. /package/out/{apiCalls/account → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/updateAccountsList}/index.mjs.map +0 -0
  1349. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.d.ts +0 -0
  1350. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.mjs.map +0 -0
  1351. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.cjs +0 -0
  1352. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs +0 -0
  1353. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{updateAccountsList → authenticateLedgerAccount/helpers/updateAccountsList}/updateAccountsList.types.mjs.map +0 -0
  1354. /package/out/{__chunks__/chunk-BKKXLEQ6.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount/helpers/waitForLedgerSelection.mjs.map} +0 -0
  1355. /package/out/{apiCalls/configuration → providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount}/index.mjs.map +0 -0
  1356. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerProvider.mjs.map → getLedgerProvider/getLedgerProvider.mjs.map} +0 -0
  1357. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.d.ts → getLedgerProvider/helpers/getLedgerConfiguration.d.ts} +0 -0
  1358. /package/out/providers/strategies/LedgerProviderStrategy/helpers/{getLedgerConfiguration.mjs.map → getLedgerProvider/helpers/getLedgerConfiguration.mjs.map} +0 -0
  1359. /package/out/{__chunks__/chunk-CDTYHGXZ.mjs.map → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider/helpers/initHwProvider.mjs.map} +0 -0
  1360. /package/out/{apiCalls → providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider}/index.mjs.map +0 -0
@@ -1,2 +0,0 @@
1
- import{a as i}from"./chunk-UNSFOHDG.mjs";import{a}from"./chunk-QFZ4YW5F.mjs";import{a as u}from"./chunk-4Y3336TP.mjs";import{c as n}from"./chunk-4YBGCRDP.mjs";import{a as s}from"./chunk-H3NKXQQF.mjs";var g=(o,t)=>{let r=`sdk-dapp-logout-event-${o}`,e=t.getItem(r);e&&o!==e||(t.setItem(r,o),t.removeItem(r))};async function L({provider:o,options:t={shouldBroadcastLogoutAcrossTabs:!0}}){let r=a();t.shouldBroadcastLogoutAcrossTabs&&s.localStorage&&g(r,s.localStorage);try{return u(),n.forEach(c=>c()),n.clear(),i.closeConnectionRef?.(),await o.logout()}catch(e){return console.error("Logging out error:",e),!1}}export{L as a};
2
- //# sourceMappingURL=chunk-KLLFGRPB.mjs.map
@@ -1,2 +0,0 @@
1
- import{n}from"./chunk-KD2IQ32V.mjs";import i from"axios";var e=r=>{try{return!!new URL(r)}catch{return!1}};async function c(r){if(!e(r))return null;let t=`${r}/${n}`;try{let{data:o}=await i.get(t);if(o!=null)return o?.data?.config}catch{console.error("error fetching configuration for ",t)}return null}export{c as a};
2
- //# sourceMappingURL=chunk-KMJMQEXI.mjs.map
@@ -1,2 +0,0 @@
1
- var t=e=>e;export{t as a};
2
- //# sourceMappingURL=chunk-KPK72MOE.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/store/selectors/storeSelector.ts"],
4
- "sourcesContent": ["import { StoreType } from 'store/store.types';\n\nexport const stateSelector = (state: StoreType) => state;\n"],
5
- "mappings": "AAEO,IAAMA,EAAiBC,GAAqBA",
6
- "names": ["stateSelector", "state"]
7
- }
@@ -1,2 +0,0 @@
1
- import{s as t}from"./chunk-E7M6PNMF.mjs";import{d as e}from"./chunk-7VHTZYM2.mjs";import{x as r}from"./chunk-KD2IQ32V.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-KPOZLV3Y.mjs.map
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-L3YPAYXZ.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}from"./chunk-H3NKXQQF.mjs";var o=()=>a.localStorage;export{o as a};
2
- //# sourceMappingURL=chunk-L5XHA5J3.mjs.map
@@ -1,2 +0,0 @@
1
- import{s as r}from"./chunk-E7M6PNMF.mjs";import{b as t}from"./chunk-UTWIKUIK.mjs";var i=(e,o)=>t(`transaction-${e}`)(o??r())??null;export{i as a};
2
- //# sourceMappingURL=chunk-L6A73MU7.mjs.map
@@ -1,2 +0,0 @@
1
- var _=.01,o=1500,t=5e4,A=5e4,E=1e9,D=1,R=1,e=4294967295,I=4294967280,T="refundedGas",n="EGLD-000000";export{_ as a,o as b,t as c,A as d,E as e,D as f,R as g,e as h,I as i,T as j,n as k};
2
- //# sourceMappingURL=chunk-LHEH7L4L.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/constants/mvx.constants.ts"],
4
- "sourcesContent": ["export const GAS_PRICE_MODIFIER = 0.01;\nexport const GAS_PER_DATA_BYTE = 1500;\nexport const GAS_LIMIT = 50000;\n/**\n * Extra gas limit for guarded transactions\n */\nexport const EXTRA_GAS_LIMIT_GUARDED_TX = 50000;\nexport const GAS_PRICE = 1000000000;\nexport const VERSION = 1;\nexport const LEDGER_CONTRACT_DATA_ENABLED_VALUE = 1;\nexport const METACHAIN_SHARD_ID = 4294967295;\nexport const ALL_SHARDS_SHARD_ID = 4294967280;\nexport const REFUNDED_GAS = 'refundedGas';\nexport const MULTI_TRANSFER_EGLD_TOKEN = 'EGLD-000000';\n"],
5
- "mappings": "AAAO,IAAMA,EAAqB,IACrBC,EAAoB,KACpBC,EAAY,IAIZC,EAA6B,IAC7BC,EAAY,IACZC,EAAU,EACVC,EAAqC,EACrCC,EAAqB,WACrBC,EAAsB,WACtBC,EAAe,cACfC,EAA4B",
6
- "names": ["GAS_PRICE_MODIFIER", "GAS_PER_DATA_BYTE", "GAS_LIMIT", "EXTRA_GAS_LIMIT_GUARDED_TX", "GAS_PRICE", "VERSION", "LEDGER_CONTRACT_DATA_ENABLED_VALUE", "METACHAIN_SHARD_ID", "ALL_SHARDS_SHARD_ID", "REFUNDED_GAS", "MULTI_TRANSFER_EGLD_TOKEN"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-FKGDHZZJ.mjs";import{c as a}from"./chunk-FTJF3Q3P.mjs";import l from"bignumber.js";var o=!1;function u(e){try{let n=a(e.data).replace(`${e.action?.name}@`,""),r=new l(n,16);if(!r.isNaN())return t(r.toString(10))}catch{o||(console.error(`Unable to extract value for txHash: ${e.txHash}`),o=!0)}return t(e.value)}export{u as a};
2
- //# sourceMappingURL=chunk-LNXZQGLV.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.ts"],
4
- "sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { InterpretedTransactionType } from 'types/serverTransactions.types';\nimport { decodeBase64 } from 'utils/decoders';\nimport { getEgldValueData } from './getEgldValueData';\n\nlet warningLogged = false;\n\nexport function getValueFromDataField(transaction: InterpretedTransactionType) {\n try {\n const data = decodeBase64(transaction.data);\n const encodedValue = data.replace(`${transaction.action?.name}@`, '');\n const value = new BigNumber(encodedValue, 16);\n if (!value.isNaN()) {\n return getEgldValueData(value.toString(10));\n }\n } catch {\n if (!warningLogged) {\n console.error(\n `Unable to extract value for txHash: ${transaction.txHash}`\n );\n warningLogged = true;\n }\n }\n\n // fallback on transaction value\n return getEgldValueData(transaction.value);\n}\n"],
5
- "mappings": "kFAAA,OAAOA,MAAe,eAKtB,IAAIC,EAAgB,GAEb,SAASC,EAAsBC,EAAyC,CAC7E,GAAI,CAEF,IAAMC,EADOC,EAAaF,EAAY,IAAI,EAChB,QAAQ,GAAGA,EAAY,QAAQ,IAAI,IAAK,EAAE,EAC9DG,EAAQ,IAAIC,EAAUH,EAAc,EAAE,EAC5C,GAAI,CAACE,EAAM,MAAM,EACf,OAAOE,EAAiBF,EAAM,SAAS,EAAE,CAAC,CAE9C,MAAQ,CACDL,IACH,QAAQ,MACN,uCAAuCE,EAAY,MAAM,EAC3D,EACAF,EAAgB,GAEpB,CAGA,OAAOO,EAAiBL,EAAY,KAAK,CAC3C",
6
- "names": ["BigNumber", "warningLogged", "getValueFromDataField", "transaction", "encodedValue", "decodeBase64", "value", "BigNumber", "getEgldValueData"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-M3GFSV3G.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}from"./chunk-GQ4CPGZ3.mjs";var r=class{constructor({uiDataUpdateEvent:t,uiTag:e}){this.eventBus=null;this.uiElement=null;this.isCreatingElement=!1;this.eventHandlers=new Map;this.unsubscribeFunctions=new Map;this.uiDataUpdateEvent=t,this.uiTag=e,this.data=this.getInitialData()}async init(t){this.anchor=t,await this.createUIElement(t),await this.setupEventListeners()}updateData(t){this.data={...this.data,...t},this.notifyDataUpdate()}subscribeToEventBus(t,e){if(!this.eventBus)throw new Error("eventBus is not initialized");let i=this.eventBus?.subscribe(t,e);if(i){let n=this.unsubscribeFunctions.get(t)||[];n.push(i),this.unsubscribeFunctions.set(t,n);let s=this.eventHandlers.get(t)||[];s.push(e),this.eventHandlers.set(t,s)}}notifyDataUpdate(){this.eventBus?.publish(this.uiDataUpdateEvent,this.data)}clearEventHandlers(t=Array.from(this.unsubscribeFunctions.keys())){t.forEach(e=>{(this.unsubscribeFunctions.get(e)||[]).forEach(n=>n()),this.unsubscribeFunctions.delete(e),this.eventHandlers.delete(e)})}destroy(){this.unsubscribeFunctions.forEach(t=>t.forEach(e=>e())),this.unsubscribeFunctions.clear(),this.eventHandlers.clear(),this.eventBus=null,this.uiElement?.remove?.(),this.uiElement=null}getInitialData(){return this.initialData}getEventHandlers(t){return this.eventHandlers.get(t)||[]}resetData(){this.data=this.getInitialData()}async createUIElement(t=this.anchor){if(this.isCreatingElement||this.uiElement)return this.uiElement;if(this.isCreatingElement=!0,this.uiElement=await a.create({name:this.uiTag,anchor:t}),this.isCreatingElement=!1,!this.uiElement)throw new Error(`Failed to create ${this.uiTag} element`);if(this.eventBus||(this.eventBus=await this.uiElement.getEventBus()),!this.eventBus)throw new Error("eventBus is not initialized");return this.uiElement}};export{r as a};
2
- //# sourceMappingURL=chunk-M65GJGER.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-VWRNBA3H.mjs";var e=class n extends t{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_PENDING_TRANSACTIONS",uiTag:"mvx-pending-transactions-panel"});this.initialData=null;this.data=this.initialData}static getInstance(){return n.instance||(n.instance=new n),n.instance}isPendingTransactionsOpen(){return this.isOpen}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_PENDING_TRANSACTIONS",this.closeUI.bind(this))}};export{e as a};
2
- //# sourceMappingURL=chunk-MDXLOX7I.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as d}from"./chunk-OA5BWGGO.mjs";import{b as s}from"./chunk-6UIF2KFV.mjs";import{a as i}from"./chunk-PMATTOPD.mjs";var a=({loginToken:t,version:r})=>{if(!t||!r)return null;let{ledgerWithUsernames:u}=s(r),e=i(t);if(e==null)return null;let n="Confirm Ledger Address",o="Authorise Authentication Token";if(u){let m=d(e.ttl);return{data:`${e.origin} for ${m}.`,confirmAddressText:n,authText:o}}return{data:t,confirmAddressText:n,authText:o}};export{a};
2
- //# sourceMappingURL=chunk-MH3RDOC5.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.ts"],
4
- "sourcesContent": ["import { decodeLoginToken } from 'services/nativeAuth/helpers/decodeLoginToken';\nimport getLedgerVersionOptions from './getLedgerVersionOptions';\nimport { secondsToTimeString } from './secondsToTimeString';\n\nexport const getAuthTokenText = ({\n loginToken,\n version\n}: {\n loginToken?: string;\n version?: string;\n}) => {\n if (!loginToken || !version) {\n return null;\n }\n\n const { ledgerWithUsernames } = getLedgerVersionOptions(version);\n const nativeAuthInfo = decodeLoginToken(loginToken);\n if (nativeAuthInfo == null) {\n return null;\n }\n\n const confirmAddressText = 'Confirm Ledger Address';\n const authText = 'Authorise Authentication Token';\n\n if (ledgerWithUsernames) {\n const time = secondsToTimeString(nativeAuthInfo.ttl);\n\n return {\n data: `${nativeAuthInfo.origin} for ${time}.`,\n confirmAddressText,\n authText\n };\n }\n\n return {\n data: loginToken,\n confirmAddressText,\n authText\n };\n};\n"],
5
- "mappings": "2HAIO,IAAMA,EAAmB,CAAC,CAC/B,WAAAC,EACA,QAAAC,CACF,IAGM,CACJ,GAAI,CAACD,GAAc,CAACC,EAClB,OAAO,KAGT,GAAM,CAAE,oBAAAC,CAAoB,EAAIC,EAAwBF,CAAO,EACzDG,EAAiBC,EAAiBL,CAAU,EAClD,GAAII,GAAkB,KACpB,OAAO,KAGT,IAAME,EAAqB,yBACrBC,EAAW,iCAEjB,GAAIL,EAAqB,CACvB,IAAMM,EAAOC,EAAoBL,EAAe,GAAG,EAEnD,MAAO,CACL,KAAM,GAAGA,EAAe,MAAM,QAAQI,CAAI,IAC1C,mBAAAF,EACA,SAAAC,CACF,CACF,CAEA,MAAO,CACL,KAAMP,EACN,mBAAAM,EACA,SAAAC,CACF,CACF",
6
- "names": ["getAuthTokenText", "loginToken", "version", "ledgerWithUsernames", "getLedgerVersionOptions_default", "nativeAuthInfo", "decodeLoginToken", "confirmAddressText", "authText", "time", "secondsToTimeString"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-KPOZLV3Y.mjs";var T=async a=>{let n=a.map(s=>s.hash),r=await e(n);return a.map(s=>{let t=r.find(o=>o?.txHash===s.hash);return{...s,status:t?.status,invalidTransaction:t==null,results:t?.results??[],previousStatus:s.status?.toString()||"",hasStatusChanged:!!(t&&t.status!==s.status)}})};export{T as a};
2
- //# sourceMappingURL=chunk-MJKL37SY.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as d}from"./chunk-NI7XCWV5.mjs";import{b as o,d as c,e as g}from"./chunk-PJWJZHIS.mjs";import{a as m,c as t,e as u}from"./chunk-NTEMINYA.mjs";import{c as f,d as I,e as p}from"./chunk-LHEH7L4L.mjs";import _ from"bignumber.js";function M({from:l,to:G,minGasLimit:r=String(5e4),gasLimit:i,gasPrice:e,data:B,gasPerDataByte:L,gasPriceModifier:T,defaultGasPrice:P=String(1e9),chainId:n}){let a=B||"",A=c(i)?i:r,C=d({data:a})?5e4:0,D=new _(A).plus(C).toNumber(),F=g(e)?e:P,S=new m({nonce:BigInt(0),value:BigInt(0),receiver:new t(G),sender:new t(l),gasPrice:BigInt(F),gasLimit:BigInt(D),data:Buffer.from(a.trim()),chainID:n,version:1});try{return new u().computeTransactionFee(S,{gasPerDataByte:BigInt(L),minGasLimit:BigInt(r),gasPriceModifier:parseFloat(T),chainID:n}).toString(10)}catch(s){return console.error(s),o}}export{M as a};
2
- //# sourceMappingURL=chunk-MODSKR2X.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.ts"],
4
- "sourcesContent": ["import BigNumber from 'bignumber.js';\nimport {\n EXTRA_GAS_LIMIT_GUARDED_TX,\n GAS_LIMIT,\n GAS_PRICE\n} from 'constants/index';\nimport { Transaction, Address, TransactionComputer } from 'lib/sdkCore';\nimport { stringIsFloat, stringIsInteger, ZERO } from 'lib/sdkDappUtils';\nimport { isGuardianTx } from 'utils/transactions/isGuardianTx';\n\nexport interface CalculateFeeLimitType {\n gasLimit: string;\n gasPrice: string;\n data: string;\n gasPerDataByte: string;\n gasPriceModifier: string;\n chainId: string;\n minGasLimit?: string;\n defaultGasPrice?: string;\n from: string;\n to: string;\n}\nexport function calculateFeeLimit({\n from,\n to,\n minGasLimit = String(GAS_LIMIT),\n gasLimit,\n gasPrice,\n data: inputData,\n gasPerDataByte,\n gasPriceModifier,\n defaultGasPrice = String(GAS_PRICE),\n chainId\n}: CalculateFeeLimitType) {\n const data = inputData || '';\n const validGasLimit = stringIsInteger(gasLimit) ? gasLimit : minGasLimit;\n\n // We need to add extra gas fee for guardian transactions\n const extraGasLimit = isGuardianTx({ data }) ? EXTRA_GAS_LIMIT_GUARDED_TX : 0;\n const usedGasLimit = new BigNumber(validGasLimit)\n .plus(extraGasLimit)\n .toNumber();\n\n const validGasPrice = stringIsFloat(gasPrice) ? gasPrice : defaultGasPrice;\n const transaction = new Transaction({\n nonce: BigInt(0),\n value: BigInt(0),\n receiver: new Address(to),\n sender: new Address(from),\n gasPrice: BigInt(validGasPrice),\n gasLimit: BigInt(usedGasLimit),\n data: Buffer.from(data.trim()),\n chainID: chainId,\n version: 1\n });\n\n try {\n const transactionComputer = new TransactionComputer();\n const bNfee = transactionComputer.computeTransactionFee(transaction, {\n gasPerDataByte: BigInt(gasPerDataByte),\n minGasLimit: BigInt(minGasLimit),\n gasPriceModifier: parseFloat(gasPriceModifier),\n chainID: chainId\n });\n return bNfee.toString(10);\n } catch (err) {\n console.error(err);\n return ZERO;\n }\n}\n"],
5
- "mappings": "8MAAA,OAAOA,MAAe,eAsBf,SAASC,EAAkB,CAChC,KAAAC,EACA,GAAAC,EACA,YAAAC,EAAc,OAAO,GAAS,EAC9B,SAAAC,EACA,SAAAC,EACA,KAAMC,EACN,eAAAC,EACA,iBAAAC,EACA,gBAAAC,EAAkB,OAAO,GAAS,EAClC,QAAAC,CACF,EAA0B,CACxB,IAAMC,EAAOL,GAAa,GACpBM,EAAgBC,EAAgBT,CAAQ,EAAIA,EAAWD,EAGvDW,EAAgBC,EAAa,CAAE,KAAAJ,CAAK,CAAC,EAAI,IAA6B,EACtEK,EAAe,IAAIC,EAAUL,CAAa,EAC7C,KAAKE,CAAa,EAClB,SAAS,EAENI,EAAgBC,EAAcd,CAAQ,EAAIA,EAAWI,EACrDW,EAAc,IAAIC,EAAY,CAClC,MAAO,OAAO,CAAC,EACf,MAAO,OAAO,CAAC,EACf,SAAU,IAAIC,EAAQpB,CAAE,EACxB,OAAQ,IAAIoB,EAAQrB,CAAI,EACxB,SAAU,OAAOiB,CAAa,EAC9B,SAAU,OAAOF,CAAY,EAC7B,KAAM,OAAO,KAAKL,EAAK,KAAK,CAAC,EAC7B,QAASD,EACT,QAAS,CACX,CAAC,EAED,GAAI,CAQF,OAP4B,IAAIa,EAAoB,EAClB,sBAAsBH,EAAa,CACnE,eAAgB,OAAOb,CAAc,EACrC,YAAa,OAAOJ,CAAW,EAC/B,iBAAkB,WAAWK,CAAgB,EAC7C,QAASE,CACX,CAAC,EACY,SAAS,EAAE,CAC1B,OAASc,EAAK,CACZ,eAAQ,MAAMA,CAAG,EACVC,CACT,CACF",
6
- "names": ["BigNumber", "calculateFeeLimit", "from", "to", "minGasLimit", "gasLimit", "gasPrice", "inputData", "gasPerDataByte", "gasPriceModifier", "defaultGasPrice", "chainId", "data", "validGasLimit", "stringIsInteger", "extraGasLimit", "isGuardianTx", "usedGasLimit", "BigNumber", "validGasPrice", "stringIsFloat", "transaction", "Transaction", "Address", "TransactionComputer", "err", "ZERO"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as r}from"./chunk-VWRNBA3H.mjs";import{e}from"./chunk-LHEH7L4L.mjs";var o=class i extends r{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE_SIGN_TRANSACTIONS",uiTag:"mvx-sign-transactions-panel"});this.addressesPerPage=10;this._gasPriceOptionMap={};this.initialData={commonData:{transactionsCount:0,currentIndexToSign:0,egldLabel:"",currentIndex:0,gasPriceOption:0,gasPriceOptions:[],address:"",origin:""},tokenTransaction:null,nftTransaction:null,sftTransaction:null};this.data={...this.initialData}}static getInstance(){return i.instance||(i.instance=new i),i.instance}get transactionsCount(){return this.data.commonData.transactionsCount}initializeGasPriceMap(a){a.filter(t=>t!=null).forEach(t=>{let s=t?Number(t.gasPrice):1e9;this.updateGasPriceMap({nonce:Number(t.nonce),gasPriceOption:s,initialGasPrice:s})});let n=Number(a[0]?.gasPrice)||1e9;this.updateCommonData({gasPriceOption:n})}updateGasPriceMap({nonce:a,gasPriceOption:n,initialGasPrice:t}){this._gasPriceOptionMap[a]={...this._gasPriceOptionMap[a],gasPriceOption:n},t&&(this._gasPriceOptionMap[a].initialGasPrice=t)}updateCommonData(a){this.data.commonData={...this.data.commonData,...a},this.notifyDataUpdate()}updateIsLoading(a){this.data.isLoading=a,this.notifyDataUpdate()}updateTokenTransaction(a){this.data.tokenTransaction=a,this.data.sftTransaction=null,this.data.nftTransaction=null,this.notifyDataUpdate()}updateNonFungibleTransaction(a,n){switch(a){case"NonFungibleESDT":this.data.nftTransaction=n,this.data.tokenTransaction=null,this.data.sftTransaction=null;break;case"SemiFungibleESDT":this.data.sftTransaction=n,this.data.nftTransaction=null,this.data.tokenTransaction=null;break;default:break}this.notifyDataUpdate()}get currentScreenIndex(){return this.data.commonData.currentIndex}get getGasPriceOptionMap(){return this._gasPriceOptionMap}async setupEventListeners(){this.eventBus&&this.subscribeToEventBus("CLOSE_SIGN_TRANSACTIONS",this.closeUI.bind(this))}};export{o as a};
2
- //# sourceMappingURL=chunk-MPGHQVDQ.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as S}from"./chunk-VJLG26AF.mjs";import{a as u}from"./chunk-L6A73MU7.mjs";import{a as l}from"./chunk-GNHD56P3.mjs";import{s as f}from"./chunk-E7M6PNMF.mjs";import{c as T}from"./chunk-UERJ6AKK.mjs";import{f as h,g as d}from"./chunk-7VHTZYM2.mjs";var I=r=>r.sort((n,t)=>t.timestamp-n.timestamp),M=async({transactions:r,...n})=>{let t=n.store??f(),o=[],i=[];if(r.forEach(s=>{let e=u(s.hash,t);e?o.push(e):i.push(s.hash)}),i.length===0)return I(o);let c=r.map(s=>({...s,txHash:s.hash})),g=c.map(s=>s.txHash),p=i.filter(s=>!g.includes(s));if(p.length>0){let e=r.filter(a=>p.includes(a.hash)).map(a=>({...a,txHash:a.hash,price:0,status:"pending",gasUsed:0,miniBlockHash:"",receiverShard:0,round:0,senderShard:0,timestamp:Date.now()}));c.push(...e)}let m=new Map;return o.forEach(s=>{let e=s.hash;e&&m.set(String(e),s)}),c.forEach(s=>{let e=l({transaction:s,address:T(t),explorerAddress:d(t),egldLabel:h(t)});e.status!=="pending"&&S({key:`transaction-${s.txHash}`,value:e}),m.set(s.txHash,e)}),I(Array.from(m.values()))};export{M as a};
2
- //# sourceMappingURL=chunk-MSM6OHIC.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.ts"],
4
- "sourcesContent": ["import { ITransactionListItem } from 'lib/sdkDappUi';\nimport { saveToCache } from 'store/actions/cache/cacheActions';\nimport { addressSelector } from 'store/selectors/accountSelectors';\nimport {\n egldLabelSelector,\n explorerAddressSelector\n} from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\nimport { StoreType } from 'store/store.types';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { ServerTransactionType } from 'types/serverTransactions.types';\nimport { SignedTransactionType } from 'types/transactions.types';\nimport { getCachedTransactionListItem } from './getCachedTransactionListItem';\nimport { mapTransactionToListItem } from './mapTransactionToListItem';\n\ninterface IMapServerTransactionsToListItemsParams {\n transactions: SignedTransactionType[];\n store?: StoreType;\n}\n\nconst sortTransactionsByTimestamp = (transactions: ITransactionListItem[]) =>\n transactions.sort((a, b) => b.timestamp - a.timestamp);\n\nexport const mapServerTransactionsToListItems = async ({\n transactions,\n ...props\n}: IMapServerTransactionsToListItemsParams): Promise<\n ITransactionListItem[]\n> => {\n const store = props.store ?? getState();\n const cachedTransactions: ITransactionListItem[] = [];\n const hashesToFetch: string[] = [];\n\n transactions.forEach((transaction) => {\n const cachedTransaction = getCachedTransactionListItem(\n transaction.hash,\n store\n );\n if (cachedTransaction) {\n cachedTransactions.push(cachedTransaction);\n } else {\n hashesToFetch.push(transaction.hash);\n }\n });\n\n if (hashesToFetch.length === 0) {\n return sortTransactionsByTimestamp(cachedTransactions);\n }\n\n const newTransactions: ServerTransactionType[] = transactions.map((tx) => ({\n // casting is correct since store transaction was replaced with fetched server transaction\n ...(tx as unknown as ServerTransactionType),\n txHash: tx.hash\n }));\n\n const retrievedHashes = newTransactions.map((tx) => tx.txHash);\n const missingHashes = hashesToFetch.filter(\n (hash) => !retrievedHashes.includes(hash)\n );\n\n if (missingHashes.length > 0) {\n const filteredTransactions = transactions.filter((transaction) =>\n missingHashes.includes(transaction.hash)\n );\n\n // In case the transactions were not found, we create a dummy transaction with the pending status\n // until all pending transactions are returned from the API\n const pendingDummyTransactions = filteredTransactions.map(\n (transaction) =>\n ({\n ...transaction,\n txHash: transaction.hash,\n price: 0,\n status: TransactionServerStatusesEnum.pending,\n gasUsed: 0,\n miniBlockHash: '',\n receiverShard: 0,\n round: 0,\n senderShard: 0,\n timestamp: Date.now()\n }) as ServerTransactionType\n );\n\n newTransactions.push(...pendingDummyTransactions);\n }\n\n const uniqueTransactionsMap = new Map<string, ITransactionListItem>();\n\n cachedTransactions.forEach((item) => {\n const key = item.hash;\n if (!key) {\n return;\n }\n uniqueTransactionsMap.set(String(key), item);\n });\n\n newTransactions.forEach((transaction) => {\n const transactionListItem = mapTransactionToListItem({\n transaction,\n address: addressSelector(store),\n explorerAddress: explorerAddressSelector(store),\n egldLabel: egldLabelSelector(store)\n });\n\n if (transactionListItem.status !== TransactionServerStatusesEnum.pending) {\n saveToCache({\n key: `transaction-${transaction.txHash}`,\n value: transactionListItem\n });\n }\n\n uniqueTransactionsMap.set(transaction.txHash, transactionListItem);\n });\n\n return sortTransactionsByTimestamp(\n Array.from(uniqueTransactionsMap.values())\n );\n};\n"],
5
- "mappings": "6PAoBA,IAAMA,EAA+BC,GACnCA,EAAa,KAAK,CAACC,EAAGC,IAAMA,EAAE,UAAYD,EAAE,SAAS,EAE1CE,EAAmC,MAAO,CACrD,aAAAH,EACA,GAAGI,CACL,IAEK,CACH,IAAMC,EAAQD,EAAM,OAASE,EAAS,EAChCC,EAA6C,CAAC,EAC9CC,EAA0B,CAAC,EAcjC,GAZAR,EAAa,QAASS,GAAgB,CACpC,IAAMC,EAAoBC,EACxBF,EAAY,KACZJ,CACF,EACIK,EACFH,EAAmB,KAAKG,CAAiB,EAEzCF,EAAc,KAAKC,EAAY,IAAI,CAEvC,CAAC,EAEGD,EAAc,SAAW,EAC3B,OAAOT,EAA4BQ,CAAkB,EAGvD,IAAMK,EAA2CZ,EAAa,IAAKa,IAAQ,CAEzE,GAAIA,EACJ,OAAQA,EAAG,IACb,EAAE,EAEIC,EAAkBF,EAAgB,IAAKC,GAAOA,EAAG,MAAM,EACvDE,EAAgBP,EAAc,OACjCQ,GAAS,CAACF,EAAgB,SAASE,CAAI,CAC1C,EAEA,GAAID,EAAc,OAAS,EAAG,CAO5B,IAAME,EANuBjB,EAAa,OAAQS,GAChDM,EAAc,SAASN,EAAY,IAAI,CACzC,EAIsD,IACnDA,IACE,CACC,GAAGA,EACH,OAAQA,EAAY,KACpB,MAAO,EACP,iBACA,QAAS,EACT,cAAe,GACf,cAAe,EACf,MAAO,EACP,YAAa,EACb,UAAW,KAAK,IAAI,CACtB,EACJ,EAEAG,EAAgB,KAAK,GAAGK,CAAwB,CAClD,CAEA,IAAMC,EAAwB,IAAI,IAElC,OAAAX,EAAmB,QAASY,GAAS,CACnC,IAAMC,EAAMD,EAAK,KACZC,GAGLF,EAAsB,IAAI,OAAOE,CAAG,EAAGD,CAAI,CAC7C,CAAC,EAEDP,EAAgB,QAASH,GAAgB,CACvC,IAAMY,EAAsBC,EAAyB,CACnD,YAAAb,EACA,QAASc,EAAgBlB,CAAK,EAC9B,gBAAiBmB,EAAwBnB,CAAK,EAC9C,UAAWoB,EAAkBpB,CAAK,CACpC,CAAC,EAEGgB,EAAoB,oBACtBK,EAAY,CACV,IAAK,eAAejB,EAAY,MAAM,GACtC,MAAOY,CACT,CAAC,EAGHH,EAAsB,IAAIT,EAAY,OAAQY,CAAmB,CACnE,CAAC,EAEMtB,EACL,MAAM,KAAKmB,EAAsB,OAAO,CAAC,CAC3C,CACF",
6
- "names": ["sortTransactionsByTimestamp", "transactions", "a", "b", "mapServerTransactionsToListItems", "props", "store", "getState", "cachedTransactions", "hashesToFetch", "transaction", "cachedTransaction", "getCachedTransactionListItem", "newTransactions", "tx", "retrievedHashes", "missingHashes", "hash", "pendingDummyTransactions", "uniqueTransactionsMap", "item", "key", "transactionListItem", "mapTransactionToListItem", "addressSelector", "explorerAddressSelector", "egldLabelSelector", "saveToCache"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-H3NKXQQF.mjs";function r(t){try{if(!e)return;e.document.documentElement.dataset.mvxTheme=t}catch{console.log("Error switching the theme!")}}export{r as a};
2
- //# sourceMappingURL=chunk-N42HH2XN.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/visual/switchTheme.ts"],
4
- "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { ThemesEnum } from 'types';\n\nexport function switchTheme(theme: `${ThemesEnum}`) {\n try {\n if (!safeWindow) {\n return;\n }\n safeWindow.document.documentElement.dataset.mvxTheme = theme;\n } catch (_err) {\n console.log('Error switching the theme!');\n }\n}\n"],
5
- "mappings": "yCAGO,SAASA,EAAYC,EAAwB,CAClD,GAAI,CACF,GAAI,CAACC,EACH,OAEFA,EAAW,SAAS,gBAAgB,QAAQ,SAAWD,CACzD,MAAe,CACb,QAAQ,IAAI,4BAA4B,CAC1C,CACF",
6
- "names": ["switchTheme", "theme", "safeWindow"]
7
- }
@@ -1,2 +0,0 @@
1
- import{k as n,l as s,m as r}from"./chunk-E2GGD7D4.mjs";function f(e){return!e||e.length===0?"invalid":e.every(t=>n(t.status))?"success":e.some(t=>s(t.status))?"fail":e.every(t=>r(t.status))?"invalid":null}export{f as a};
2
- //# sourceMappingURL=chunk-N55JEIM6.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/TransactionManager/helpers/getTransactionsStatus.ts"],
4
- "sourcesContent": ["import {\n getIsTransactionFailed,\n getIsTransactionNotExecuted,\n getIsTransactionSuccessful\n} from 'store/actions/transactions/transactionStateByStatus';\nimport { TransactionBatchStatusesEnum } from 'types';\nimport { SignedTransactionType } from 'types/transactions.types';\n\nexport function getTransactionsSessionStatus(\n transactions: SignedTransactionType[]\n): TransactionBatchStatusesEnum | null {\n if (!transactions || transactions.length === 0) {\n return TransactionBatchStatusesEnum.invalid;\n }\n\n const areAllSuccessful = transactions.every((transaction) =>\n getIsTransactionSuccessful(transaction.status)\n );\n\n if (areAllSuccessful) {\n return TransactionBatchStatusesEnum.success;\n }\n\n const areAnyFailed = transactions.some((transaction) =>\n getIsTransactionFailed(transaction.status)\n );\n\n if (areAnyFailed) {\n return TransactionBatchStatusesEnum.fail;\n }\n\n const areAllNotExecuted = transactions.every((transaction) =>\n getIsTransactionNotExecuted(transaction.status)\n );\n\n if (areAllNotExecuted) {\n return TransactionBatchStatusesEnum.invalid;\n }\n\n return null;\n}\n"],
5
- "mappings": "uDAQO,SAASA,EACdC,EACqC,CACrC,MAAI,CAACA,GAAgBA,EAAa,SAAW,YAIpBA,EAAa,MAAOC,GAC3CC,EAA2BD,EAAY,MAAM,CAC/C,YAMqBD,EAAa,KAAMC,GACtCE,EAAuBF,EAAY,MAAM,CAC3C,SAM0BD,EAAa,MAAOC,GAC5CG,EAA4BH,EAAY,MAAM,CAChD,YAMO,IACT",
6
- "names": ["getTransactionsSessionStatus", "transactions", "transaction", "getIsTransactionSuccessful", "getIsTransactionFailed", "getIsTransactionNotExecuted"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as St}from"./chunk-MJKL37SY.mjs";import{a as dt}from"./chunk-CA5CSAGL.mjs";import{a as vt}from"./chunk-6UZHM5LW.mjs";import{a as w}from"./chunk-G2YMMIV4.mjs";import{a as bt}from"./chunk-C2CYALD3.mjs";import{a as wt}from"./chunk-FGEC7ZXX.mjs";import{a as Ct}from"./chunk-ABBDCZHP.mjs";import{a as It}from"./chunk-Z2XKLZOJ.mjs";import{a as Et}from"./chunk-Q6ALT7RT.mjs";import{a as At}from"./chunk-RNABCWXS.mjs";import{a as Mt}from"./chunk-4ODPAHHA.mjs";import{a as xt}from"./chunk-KLLFGRPB.mjs";import{b as N}from"./chunk-UNSFOHDG.mjs";import{a as Nt}from"./chunk-EBENRM2R.mjs";import{a as Ot}from"./chunk-MDVI45IV.mjs";import{a as Pt}from"./chunk-Y5FXVEPD.mjs";import{a as f}from"./chunk-ZFKTQNIP.mjs";import{a as nt}from"./chunk-QFZ4YW5F.mjs";import{a as ht}from"./chunk-VWRNBA3H.mjs";import{a as E}from"./chunk-2ON3KLCT.mjs";import{a as A,f as yt}from"./chunk-NT3OYOP5.mjs";import{b as L,d as gt}from"./chunk-UEKNE7II.mjs";import{k as pt,l as lt,n as Tt}from"./chunk-E2GGD7D4.mjs";import{b as Lt}from"./chunk-4Y3336TP.mjs";import{a as x}from"./chunk-HORSXVIV.mjs";import{a as Ft}from"./chunk-O4V2ADKJ.mjs";import{a as it}from"./chunk-BFNJ4VYH.mjs";import{a as C}from"./chunk-XDBKPKTG.mjs";import{a as et}from"./chunk-H5NVCCUR.mjs";import{a as I}from"./chunk-ZNYD34VT.mjs";import{a as st}from"./chunk-YSCND2MX.mjs";import{a as Rt}from"./chunk-NJN53MJV.mjs";import{a as at,b as ct,g as ut,l as mt}from"./chunk-M6MN4RXG.mjs";import{b as rt}from"./chunk-NGM3AVCY.mjs";import{a as tt,b as ot,q as u,s as g}from"./chunk-E7M6PNMF.mjs";import{c as V,d as Y,f as J}from"./chunk-UERJ6AKK.mjs";import{b as v}from"./chunk-VNLGNNIL.mjs";import{b as S}from"./chunk-6JM4DPOH.mjs";import{b as Q,c as X,f as Z}from"./chunk-NTEMINYA.mjs";import{b as kt}from"./chunk-UCRVRBTA.mjs";import{a as ft}from"./chunk-GQ4CPGZ3.mjs";import{c as G}from"./chunk-4YBGCRDP.mjs";import{a as b}from"./chunk-LJX4MW7B.mjs";import j from"bignumber.js";import K from"lodash.isequal";var Bt=1e4,P=class{constructor(){this.timeoutIntervals=new Map;this.successfulToastLifetime=Bt;this.start=t=>{if(this.stop(t),this.successfulToastLifetime<=0)return;let o=setTimeout(()=>{F(t)},this.successfulToastLifetime);this.timeoutIntervals.set(t,o)};this.startWithCustomDuration=(t,o)=>{if(this.stop(t),o<=0)return;let e=setTimeout(()=>{O(t);let i=h[t];i?.()},o);this.timeoutIntervals.set(t,e)};this.stop=t=>{let o=this.timeoutIntervals.get(t);o&&(clearTimeout(o),this.timeoutIntervals.delete(t))}}init({successfulToastLifetime:t}){this.successfulToastLifetime=t??Bt}destroy(){this.timeoutIntervals.forEach(t=>clearTimeout(t)),this.timeoutIntervals.clear()}};import Dt from"lodash.isequal";var Qt="NOTIFICATIONS_FEED_STORE_SUBSCRIBE",M=class s extends ht{constructor(o){super({uiDataUpdateEvent:"OPEN_NOTIFICATIONS_FEED",uiTag:"mvx-notifications-feed"});this.initialData={pendingTransactions:[],historicTransactions:[]};this.store=o||u(),this.data={...this.initialData}}static getInstance(){return s.instance||(s.instance=new s),s.instance}isNotificationsFeedOpen(){return this.isOpen}async openNotificationsFeed(){d.getInstance().hideToasts(),await this.openUI(),await this.updateDataAndNotifications();let e=this.store.subscribe(async({toasts:i,transactions:n},{toasts:a,transactions:c})=>{(!Dt(a.transactionToasts,i.transactionToasts)||!Dt(c,n))&&await this.updateDataAndNotifications()});this.unsubscribeFunctions.set(Qt,[e]),this.eventBus?.publish("OPEN_NOTIFICATIONS_FEED"),await this.updateDataAndNotifications()}async handleCloseUI(){let o=d.getInstance();this.closeUI(),await o.showToasts()}async setupEventListeners(){this.eventBus&&(this.subscribeToEventBus("CLOSE_NOTIFICATIONS_FEED",this.handleCloseUI.bind(this)),this.subscribeToEventBus("CLEAR_NOTIFICATIONS_FEED_HISTORY",this.handleClearNotificationsFeedHistory.bind(this)))}async updateDataAndNotifications(){let{transactions:o}=this.store.getState(),{pendingTransactionToasts:e}=await w();this.data.pendingTransactions=e;let i=Object.keys(o).reduce((n,a)=>(["sent","pending"].includes(String(o[a].status))||(n[a]=o[a]),n),{});this.data.historicTransactions=await dt.getTransactionsHistory({transactionsSessions:i}),await this.updateNotificationsFeed()}handleClearNotificationsFeedHistory(){gt(),this.resetData(),this.updateNotificationsFeed()}async updateNotificationsFeed(){this.eventBus&&(this.eventBus.publish("PENDING_TRANSACTIONS_UPDATE",this.data.pendingTransactions),this.eventBus.publish("TRANSACTIONS_HISTORY_UPDATE",this.data.historicTransactions))}};var k=class{constructor(t){this.toastsElement=null;this.eventBus=null;this.isCreatingElement=!1;this.eventBusUnsubscribeFunctions=[];this.onCloseToast=t.onCloseToast,this.store=t.store||u(),this.notificationsFeedManager=t.notificationsFeedManager||M.getInstance()}async init(){await this.subscribeToEventBusNotifications()}showToasts(){this.eventBus?.publish("SHOW_TOAST_LIST",null)}hideToasts(){this.eventBus?.publish("HIDE_TOAST_LIST",null)}async publishTransactionToasts(t){if(this.notificationsFeedManager.isNotificationsFeedOpen()&&this.eventBus){this.eventBus.publish("TRANSACTION_TOAST_DATA_UPDATE",t),this.hideToasts();return}if(!this.eventBus){let o=await this.createToastListElement();if(!o)return;this.eventBus=await o.getEventBus()}this.eventBus?.publish("TRANSACTION_TOAST_DATA_UPDATE",t)}async publishCustomToasts(t){this.eventBus?.publish("CUSTOM_TOAST_DATA_UPDATE",t)}handleOpenNotificationsFeed(){this.notificationsFeedManager.openNotificationsFeed()}destroy(){this.eventBusUnsubscribeFunctions.forEach(t=>t()),this.eventBusUnsubscribeFunctions=[],this.notificationsFeedManager?.destroy()}async createToastListElement(){return this.toastsElement?this.toastsElement:(this.isCreatingElement||(this.isCreatingElement=!0,this.toastsElement=await ft.create({name:"mvx-toast-list"}),this.isCreatingElement=!1),this.toastsElement)}async subscribeToEventBusNotifications(){let t=await this.createToastListElement();if(t){if(this.eventBus=await t.getEventBus(),!this.eventBus)throw new Error("eventBus is not initialized");this.eventBus.subscribe("CLOSE_TOAST",this.onCloseToast),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("CLOSE_TOAST",this.onCloseToast)}),this.eventBus.subscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this)),this.eventBusUnsubscribeFunctions.push(()=>{this.eventBus?.unsubscribe("OPEN_NOTIFICATIONS_FEED",this.handleOpenNotificationsFeed.bind(this))})}}};var d=class s{constructor(t){this.transactionToasts=[];this.customToasts=[];this.unsubscribeFromStore=()=>null;this.uiCoordinator=null;this.destroy(),this.store=t?.store||u(),this.lifetimeManager=t?.lifetimeManager??new P,this.uiCoordinator=t?.uiCoordinator??new k({onCloseToast:this.closeToast.bind(this)})}async init({successfulToastLifetime:t=5e3}={}){this.successfulToastLifetime=t,this.lifetimeManager.init({successfulToastLifetime:t}),await this.updateTransactionToastsList(),await this.updateCustomToastList(),await this.uiCoordinator?.init(),this.unsubscribeFromStore=this.store.subscribe(async({toasts:o,transactions:e},{toasts:i,transactions:n})=>{let a=!K(i.transactionToasts,o.transactionToasts),c=!K(n,e);(a||c)&&await this.updateTransactionToastsList(),!K(i.customToasts,o.customToasts)&&await this.updateCustomToastList()})}static getInstance(){return s.instance||(s.instance=new s),s.instance}handleCompletedTransaction(t){let{transactions:o}=this.store.getState(),e=o[t];if(!e)return!1;let{status:i}=e,n=Tt(i),a=lt(i),c=pt(i),r=a||c||n;return r?(this.successfulToastLifetime&&this.lifetimeManager.start(t),r):(this.lifetimeManager.stop(t),r)}async createTransactionToast(t,o){let e=_t({toastId:t,totalDuration:o});return this.handleCompletedTransaction(t),await this.updateTransactionToastsList(),e}async createCustomToast(t){let o=B(t);return await this.updateCustomToastList(),o}async updateTransactionToastsList(){let t=this.store.getState(),{toasts:o}=t,{pendingTransactionToasts:e,completedTransactionToasts:i}=await w({store:t});this.transactionToasts=[...e,...i];for(let n of o.transactionToasts)this.handleCompletedTransaction(n.toastId);await this.publishTransactionToasts()}async updateCustomToastList(){let{toasts:t}=this.store.getState();this.customToasts=[];for(let o of t.customToasts){let i="message"in o?{...o}:{...o,instantiateToastElement:R[o.toastId]};this.customToasts.push(i),o.duration&&this.lifetimeManager.startWithCustomDuration(o.toastId,o.duration)}await this.uiCoordinator?.publishCustomToasts(this.customToasts)}handleTransactionToastClose(t){return this.handleCompletedTransaction(t)?(F(t),!0):!1}async showToasts(){this.uiCoordinator?.showToasts(),await this.updateCustomToastList(),await this.updateTransactionToastsList()}hideToasts(){this.uiCoordinator?.hideToasts()}closeToast(t){if(this.customToasts.find(e=>e.toastId===t)){this.lifetimeManager.stop(t);let e=h[t];return e?.(),O(t),!0}return this.handleTransactionToastClose(t)}async publishTransactionToasts(){await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts)}destroy(){this.unsubscribeFromStore(),this.lifetimeManager?.destroy(),this.uiCoordinator?.destroy(),Ut()}};var D=class s{constructor(){this.store=u();this.warningLogoutTimeoutRef=null;this.actualLogoutTimeoutRef=null;this.plannedLogoutTimeoutRef=null;this.plannedLogoutKey=null;this.init=async()=>{if(!this.shouldStart())return;let t=this.store.getState(),o=v(t),{isExpired:e}=C(o?.nativeAuthToken);e?y().logout():this.addPlannedLogout()};this.stop=()=>{clearTimeout(this.warningLogoutTimeoutRef??0),clearTimeout(this.plannedLogoutTimeoutRef??0),clearTimeout(this.actualLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=null,this.plannedLogoutTimeoutRef=null,this.actualLogoutTimeoutRef=null,this.plannedLogoutKey=null};this.shouldStart=()=>{let t=this.store.getState(),o=v(t),e=J(t);return!!(o?.nativeAuthToken&&e)};this.addPlannedLogout=()=>{let t=y(),o=V(this.store.getState()),e=t.getType()===b.webview;if(!o||e)return;this.addLogoutWarning();let i=v(this.store.getState()),{secondsUntilExpires:n,expiresAt:a}=C(i?.nativeAuthToken),c=new j(String(n)),r=`${o}_${a}`,m=this.plannedLogoutKey===r;if(!(n&&c.isGreaterThan(0))||m)return;this.plannedLogoutKey=r,clearTimeout(this.plannedLogoutTimeoutRef??0);let l=c.times(1e3);this.actualLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-logout",iconClassName:"warning",title:"Logging out",icon:"close",message:"Your session has expired!"}),this.actualLogoutTimeoutRef=null},l.toNumber()-3e3),this.plannedLogoutTimeoutRef=setTimeout(()=>{t.logout(),this.plannedLogoutTimeoutRef=null,this.plannedLogoutKey=null},l.toNumber())};this.addLogoutWarning=()=>{if(this.warningLogoutTimeoutRef)return;let t=S(this.store.getState()),o=v(this.store.getState()),{secondsUntilExpires:e}=C(o?.nativeAuthToken),i=new j(String(e)),n=i.times(1e3);if(!e||i.isLessThanOrEqualTo(0)||!t?.tokenExpirationToastWarningSeconds)return;let c=new j(t?.tokenExpirationToastWarningSeconds??0).times(1e3),r=i.times(1e3).minus(c),m=vt(n.toNumber()),p=r.isLessThanOrEqualTo(0)?0:r.toNumber();clearTimeout(this.warningLogoutTimeoutRef??0),this.warningLogoutTimeoutRef=setTimeout(()=>{d.getInstance().createCustomToast({toastId:"native-auth-expired",iconClassName:"warning",title:"Session Expiration Warning",icon:"hourglass",message:`Your session will expire in ${m}!`}),this.warningLogoutTimeoutRef=null},p)}}static getInstance(){return s.instance||(s.instance=new s),s.instance}};async function Wt({sessionId:s,transactionBatch:t,isSequential:o}){try{if(t==null)return;let e=bt(),i=Ct(t),n=await St(i);for(let T of n)await It({serverTransaction:T,sessionId:s,isSequential:o});if(!n.every(T=>T.status!=="pending"))return;e&&await U();let{transactions:c}=g(),r=c?.[s];if(r.transactions.every(T=>T.status==="success"))return L({sessionId:s,status:"success"});if(r.transactions.some(T=>T.status==="fail"))return L({sessionId:s,status:"fail"});if(r.transactions.every(T=>T.status==="not executed"))return L({sessionId:s,status:"invalid"})}catch(e){console.error(e)}}async function Ht(){let s=rt(g()),t=Object.entries(s);t.length!==0&&await Promise.all(t.map(([o,{transactions:e}])=>Wt({sessionId:o,transactionBatch:e})))}async function _(){let s=u(),t=Et(),o=null,e=Y(s.getState())?.timestamp??null,i=async()=>{try{await Ht()}catch(p){console.error("[trackTransactions] Error checking transaction status:",p)}},n=()=>{o||(o=setInterval(i,t))},a=()=>{o&&(clearInterval(o),o=null)},c=()=>{a();let p=s.subscribe(({account:{websocketEvent:l}})=>{l?.message&&l.timestamp!=null&&e!==l.timestamp&&(e=l.timestamp,i())});G.set("websocketEventReceived",p)};i();let r=()=>{a()},m=s.subscribe(({account:{address:p},config:{websocketStatus:l}},T)=>{if(T.config.websocketStatus!==l)switch(l){case"completed":c();break;case"pending":n();break;default:p?n():r();break}});return G.set("websocketStatusChanged",m),{stopTransactionsTracking:r}}async function W({address:s,provider:t,apiAddress:o}){let e=await I({address:s,baseURL:o});if(!e)throw new Error("Account not found");Lt({address:s,providerType:t.getType()});let i={...e,username:x(e.username),nonce:E(e)};A(i),await N(s),_(),e.shard!=null&&await wt({shard:Number(e.shard),apiAddress:o})}async function $t({provider:s,nativeAuthConfig:t,token:o}){let{network:{apiAddress:e}}=f(),i=it(t),n=o;n||(n=await i.initialize({noCache:!0}));let a=await s.login({token:n}),{address:c,signature:r,...m}=a;if(!c)return console.warn("Login cancelled."),null;if(!r)return console.error("Failed to sign login token"),null;let p=et(m?.accessToken),l=await Nt({loginData:a,nativeAuthConfig:t,loginToken:n}),T=p?m.accessToken:i.getToken({address:c,token:l,signature:r});ot({loginToken:n,signature:r,nativeAuthToken:T});let $=await At({loginToken:n,extraInfoData:{multisig:m?.multisig,impersonate:m?.impersonate},address:c});return await W({address:$,provider:s,apiAddress:e}),{address:$,signature:r}}async function Gt(s){let{network:{apiAddress:t}}=f();await s.login();let o=await s.getAddress();if(!o)throw new Error("Address not found");return await W({address:o,provider:s,apiAddress:t}),{address:o}}async function Kt(s,t){let o=S(g());if(o)return await $t({provider:s,nativeAuthConfig:o,token:t?.token});let{address:e}=await Gt(s);return await N(e),_(),{address:e,signature:""}}var z={error:{title:"Error when signing".toString(),iconClassName:"danger",toastId:`${ct}-${Date.now()}`},warning:{title:"Signing canceled".toString(),iconClassName:"warning",toastId:`${at}-${Date.now()}`}},Zt={extensionResponse:"Unable to sign transactions","Transaction canceled":"Transaction canceled","cancelled by user":"Transaction signing cancelled by user","denied by the user":"Transaction signing denied by the user"},to=s=>{for(let[t,o]of Object.entries(Zt))if(s.includes(t))return o;return"Error when signing"};function q(s,t="error"){let o=s?.message,e=to(o),n=e!=="Error when signing"?"warning":t,a=Object.keys(z).includes(n)?z[n]:z.error,{toastId:c,iconClassName:r,title:m}=a;return B({toastId:c,duration:1e4,icon:"close",iconClassName:r,message:e,title:m}),e}async function jt({provider:s,transactions:t,options:o={}}){await U();let{isGuarded:e,activeGuardianAddress:i,nonce:n}=Ft(),a=s.getType()===b.ledger,c=Mt({latestNonce:n,transactions:t}),r=i&&e&&!o.skipGuardian?c?.map(p=>(p.version=Q.withTxOptions().valueOf(),p.options=Z.withOptions({guarded:!0,...a?{hashSign:!0}:{}}).valueOf(),p.guardian=X.newFromBech32(i),p)):c,m=await s.signTransactions(r)??[];return yt(n+m.length),m}var H=class{constructor(t){this._isLoggingOut=!1;this.provider=t}init(){return this.provider.init()}async login(t){let o=await Kt(this.provider,t);return tt(this.provider.getType()),zt(this),D.getInstance().init(),o}isInitialized(){return this.provider.isInitialized()}async logout(t={shouldBroadcastLogoutAcrossTabs:!0}){if(this._isLoggingOut)return console.warn("Logout already in progress"),!1;this._isLoggingOut=!0;let o=await xt({provider:this.provider,options:t});return this._isLoggingOut=!1,o}getType(){return this.provider.getType()}getProvider(){return this.provider}async signTransactions(t,o){try{return await jt({provider:this.provider,transactions:t,options:o})}catch(e){let i=q(e);throw new Error(i)}}async signMessage(t,o){try{return await Pt({provider:this.provider,message:t,options:o})}catch(e){let i=q(e,"warning");throw new Error(i)}}async verifyMessage(t){return await Ot(t)}cancelLogin(){this.provider.cancelLogin?.()}};var qt=null;function zt(s){qt=s}function y(){return qt||new H(kt)}var oo=async()=>{try{let s=nt(),{network:t}=f();try{let o=await I({address:s,baseURL:t.apiAddress});if(o!=null){let e={...o,username:x(o.username),nonce:E(o)};return A(e),e}}catch(o){console.error("Failed getting account ",o)}}catch(s){console.error("Failed getting address ",s)}return null};async function U(){let s=y();if(s==null)throw"Provider not initialized";try{if(!s.init)throw"Current provider does not have init() function";return await s.init()?await oo():void 0}catch(t){console.error("Failed initializing provider ",t)}}var R={},h={},so=(s,t)=>{u().setState(({toasts:o})=>{let e=o.customToasts.length>0?Math.max(...o.customToasts.map(r=>parseInt(r.toastId.split("-").pop()??"0"))):0,i=t??`custom-toast-${e+1}`,n=o.customToasts.findIndex(r=>r.toastId===i),a={...s,toastId:i};if(n!==-1){o.customToasts[n]=a;return}o.customToasts.push({...a,toastId:i})},!1,{type:"addCustomToast",payload:{value:{customToast:s,currentToastId:t}}})},O=s=>{u().setState(({toasts:t})=>{t.customToasts=t.customToasts.filter(o=>o.toastId!==s)},!1,{type:"removeCustomToast",payload:{value:s}})},Ut=()=>{u().setState(({toasts:s})=>{s.customToasts=[]},!1,{type:"removeAllCustomToasts",payload:{value:null}})},pi=()=>{u().setState(({toasts:s})=>{s.transactionToasts=[]})},_t=({toastId:s,totalDuration:t})=>{let o="";return u().setState(({toasts:e})=>{let i=e.transactionToasts.length>0?Math.max(...e.transactionToasts.map(n=>parseInt(n.toastId.split("-").pop()??"0"))):0;o=s??`transaction-toast-${i+1}`,e.transactionToasts.push({startTime:st(),endTime:Rt(t),toastId:o})},!1,"addTransactionToast"),o},F=s=>{u().setState(({toasts:t})=>{t.transactionToasts=t.transactionToasts.filter(o=>o.toastId!==s)},!1,"removeTransactionToast"),delete h[s],delete R[s]},B=s=>{let{toasts:t}=u().getState(),o=t.customToasts.length>0?Math.max(...t.customToasts.map(i=>parseInt(i.toastId.split("-").pop()??"0"))):0,e=s.toastId||`custom-toast-${o+1}`;return s.onClose&&(h[e]=s.onClose),s.instantiateToastElement?(R[e]=s.instantiateToastElement,u().setState(({toasts:i})=>{let n=i.customToasts.findIndex(r=>r.toastId===e),a={...s,instantiateToastElement:null,toastId:e};n!==-1?i.customToasts[n]=a:i.customToasts.push(a)},!1,"createCustomToast"),e):(so(s,e),e)};export{R as a,h as b,so as c,O as d,Ut as e,pi as f,_t as g,F as h,B as i,P as j,M as k,k as l,d as m,D as n,Wt as o,Ht as p,_ as q,W as r,$t as s,Gt as t,Kt as u,q as v,jt as w,H as x,zt as y,y as z,U as A};
2
- //# sourceMappingURL=chunk-NBHRZSLS.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/LogoutManager/LogoutManager.ts", "../../src/managers/ToastManager/ToastManager.ts", "../../src/managers/ToastManager/helpers/LifetimeManager.ts", "../../src/managers/NotificationsFeedManager/NotificationsFeedManager.ts", "../../src/managers/ToastManager/ToastUICoordinator.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/helpers/checkBatch/checkBatch.ts", "../../src/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.ts", "../../src/methods/trackTransactions/trackTransactions.ts", "../../src/providers/DappProvider/helpers/login/helpers/accountLogin.ts", "../../src/providers/DappProvider/helpers/login/helpers/loginWithNativeToken.ts", "../../src/providers/DappProvider/helpers/login/helpers/loginWithoutNativeToken.ts", "../../src/providers/DappProvider/helpers/login/login.ts", "../../src/providers/DappProvider/helpers/signErrors/handleSignError.ts", "../../src/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.ts", "../../src/providers/DappProvider/DappProvider.ts", "../../src/providers/helpers/accountProvider.ts", "../../src/utils/account/refreshAccount.ts", "../../src/store/actions/toasts/toastsActions.ts"],
4
- "sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { ToastManager } from 'managers/ToastManager';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { ProviderTypeEnum } from 'providers/types/providerFactory.types';\nimport { getTokenExpiration } from 'services/nativeAuth/methods/getTokenExpiration';\nimport {\n addressSelector,\n isLoggedInSelector\n} from 'store/selectors/accountSelectors';\nimport { nativeAuthConfigSelector } from 'store/selectors/configSelectors';\nimport { tokenLoginSelector } from 'store/selectors/loginInfoSelectors';\nimport { getStore } from 'store/store';\nimport { IconNamesEnum } from 'types';\nimport { getHumanReadableTokenExpirationTime } from './helpers/getHumanReadableTokenExpirationTime';\n\nexport class LogoutManager {\n private static instance: LogoutManager;\n private store = getStore();\n private warningLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private actualLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutTimeoutRef: ReturnType<typeof setInterval> | null = null;\n private plannedLogoutKey: string | null = null;\n\n public static getInstance(): LogoutManager {\n if (!LogoutManager.instance) {\n LogoutManager.instance = new LogoutManager();\n }\n return LogoutManager.instance;\n }\n\n private constructor() {}\n\n public init = async () => {\n if (!this.shouldStart()) {\n return;\n }\n\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n\n const { isExpired: isNativeAuthTokenExpired } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n if (isNativeAuthTokenExpired) {\n const provider = getAccountProvider();\n provider.logout();\n } else {\n this.addPlannedLogout();\n }\n };\n\n public stop = () => {\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n clearTimeout(this.actualLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = null;\n this.plannedLogoutTimeoutRef = null;\n this.actualLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n };\n\n private readonly shouldStart = (): boolean => {\n const state = this.store.getState();\n const tokenLogin = tokenLoginSelector(state);\n const isLoggedIn = isLoggedInSelector(state);\n return Boolean(tokenLogin?.nativeAuthToken && isLoggedIn);\n };\n\n private addPlannedLogout = () => {\n const provider = getAccountProvider();\n const address = addressSelector(this.store.getState());\n const isWebviewLogin = provider.getType() === ProviderTypeEnum.webview;\n\n // prevent unexpected logout if webview login\n if (!address || isWebviewLogin) {\n return;\n }\n\n this.addLogoutWarning();\n\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires, expiresAt } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n // Handle the actual logout functionality.\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const plannedLogoutKey = `${address}_${expiresAt}`;\n const plannedLogoutSet = this.plannedLogoutKey === plannedLogoutKey;\n\n const isValidInterval =\n secondsUntilExpires && secondsUntilExpiresBN.isGreaterThan(0);\n\n if (!isValidInterval || plannedLogoutSet) {\n return;\n }\n\n this.plannedLogoutKey = plannedLogoutKey;\n\n clearTimeout(this.plannedLogoutTimeoutRef ?? 0);\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n this.actualLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-logout',\n iconClassName: 'warning',\n title: 'Logging out',\n icon: IconNamesEnum.close,\n message: 'Your session has expired!'\n });\n this.actualLogoutTimeoutRef = null;\n }, millisecondsUntilLogout.toNumber() - 3000);\n\n this.plannedLogoutTimeoutRef = setTimeout(() => {\n provider.logout();\n this.plannedLogoutTimeoutRef = null;\n this.plannedLogoutKey = null;\n }, millisecondsUntilLogout.toNumber());\n };\n\n private readonly addLogoutWarning = () => {\n if (this.warningLogoutTimeoutRef) {\n return;\n }\n\n const nativeAuthConfig = nativeAuthConfigSelector(this.store.getState());\n const tokenLogin = tokenLoginSelector(this.store.getState());\n\n const { secondsUntilExpires } = getTokenExpiration(\n tokenLogin?.nativeAuthToken\n );\n\n const secondsUntilExpiresBN = new BigNumber(String(secondsUntilExpires));\n const millisecondsUntilLogout = secondsUntilExpiresBN.times(1000);\n\n if (\n !secondsUntilExpires ||\n secondsUntilExpiresBN.isLessThanOrEqualTo(0) ||\n !nativeAuthConfig?.tokenExpirationToastWarningSeconds\n ) {\n return;\n }\n\n const logoutWarningOffsetSeconds = new BigNumber(\n nativeAuthConfig?.tokenExpirationToastWarningSeconds ?? 0\n );\n\n const logoutWarningOffsetMilliseconds =\n logoutWarningOffsetSeconds.times(1000);\n\n const millisecondsUntilLogoutWarning = secondsUntilExpiresBN\n .times(1000)\n .minus(logoutWarningOffsetMilliseconds);\n\n const readableMinutesUntilLogout = getHumanReadableTokenExpirationTime(\n millisecondsUntilLogout.toNumber()\n );\n\n const timeoutUntilLogoutWarning =\n millisecondsUntilLogoutWarning.isLessThanOrEqualTo(0)\n ? 0\n : millisecondsUntilLogoutWarning.toNumber();\n\n clearTimeout(this.warningLogoutTimeoutRef ?? 0);\n\n this.warningLogoutTimeoutRef = setTimeout(() => {\n ToastManager.getInstance().createCustomToast({\n toastId: 'native-auth-expired',\n iconClassName: 'warning',\n title: 'Session Expiration Warning',\n icon: IconNamesEnum.hourglass,\n message: `Your session will expire in ${readableMinutesUntilLogout}!`\n });\n this.warningLogoutTimeoutRef = null;\n }, timeoutUntilLogoutWarning);\n };\n}\n", "import isEqual from 'lodash.isequal';\nimport { DEFAULT_TOAST_LIFETIME } from 'constants/transactions.constants';\nimport {\n customToastCloseHandlersDictionary,\n customToastComponentDictionary,\n removeAllCustomToasts,\n removeCustomToast,\n removeTransactionToast,\n addTransactionToast,\n createCustomToast\n} from 'store/actions/toasts/toastsActions';\nimport {\n getIsTransactionFailed,\n getIsTransactionSuccessful,\n getIsTransactionTimedOut\n} from 'store/actions/transactions/transactionStateByStatus';\n\nimport { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { createToastsFromTransactions } from './helpers/createToastsFromTransactions';\nimport { LifetimeManager } from './helpers/LifetimeManager';\nimport { ToastUICoordinator } from './ToastUICoordinator';\nimport { ITransactionToast } from './types';\n\ninterface IToastManager {\n successfulToastLifetime?: number;\n}\n\nexport class ToastManager {\n private readonly lifetimeManager: LifetimeManager;\n private store: ReturnType<typeof getStore>;\n private static instance: ToastManager;\n private transactionToasts: ITransactionToast[] = [];\n private customToasts: CustomToastType[] = [];\n private successfulToastLifetime?: number;\n private unsubscribeFromStore: () => void = () => null;\n private uiCoordinator: ToastUICoordinator | null = null;\n\n constructor(props?: {\n store?: ReturnType<typeof getStore>;\n lifetimeManager?: LifetimeManager;\n uiCoordinator?: ToastUICoordinator;\n }) {\n this.destroy();\n this.store = props?.store || getStore();\n this.lifetimeManager = props?.lifetimeManager ?? new LifetimeManager();\n this.uiCoordinator =\n props?.uiCoordinator ??\n new ToastUICoordinator({\n onCloseToast: this.closeToast.bind(this)\n });\n }\n\n public async init({\n successfulToastLifetime = DEFAULT_TOAST_LIFETIME\n }: IToastManager = {}) {\n this.successfulToastLifetime = successfulToastLifetime;\n\n this.lifetimeManager.init({ successfulToastLifetime });\n\n await this.updateTransactionToastsList();\n await this.updateCustomToastList();\n\n await this.uiCoordinator?.init();\n\n this.unsubscribeFromStore = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n const newToastsWereCreated = !isEqual(\n prevToasts.transactionToasts,\n toasts.transactionToasts\n );\n const checkBatchHasNewData = !isEqual(prevTransactions, transactions);\n\n if (newToastsWereCreated || checkBatchHasNewData) {\n await this.updateTransactionToastsList();\n }\n\n const newCustomToastsWereCreated = !isEqual(\n prevToasts.customToasts,\n toasts.customToasts\n );\n\n if (newCustomToastsWereCreated) {\n await this.updateCustomToastList();\n }\n }\n );\n }\n\n public static getInstance(): ToastManager {\n if (!ToastManager.instance) {\n ToastManager.instance = new ToastManager();\n }\n return ToastManager.instance;\n }\n\n private handleCompletedTransaction(toastId: string): boolean {\n const { transactions } = this.store.getState();\n const transaction = transactions[toastId];\n\n if (!transaction) {\n return false;\n }\n\n const { status } = transaction;\n const isTimedOut = getIsTransactionTimedOut(status);\n const isFailed = getIsTransactionFailed(status);\n const isSuccessful = getIsTransactionSuccessful(status);\n const isCompleted = isFailed || isSuccessful || isTimedOut;\n\n if (isCompleted) {\n if (this.successfulToastLifetime) {\n this.lifetimeManager.start(toastId);\n }\n return isCompleted;\n }\n\n this.lifetimeManager.stop(toastId);\n return isCompleted;\n }\n\n public async createTransactionToast(\n toastId: string,\n totalDuration: number\n ): Promise<string> {\n const newToastId = addTransactionToast({\n toastId,\n totalDuration\n });\n\n this.handleCompletedTransaction(toastId);\n await this.updateTransactionToastsList();\n return newToastId;\n }\n\n public async createCustomToast(toast: CustomToastType): Promise<string> {\n const toastId = createCustomToast(toast);\n await this.updateCustomToastList();\n return toastId;\n }\n\n private async updateTransactionToastsList() {\n const store = this.store.getState();\n const { toasts: toastList } = store;\n\n const { pendingTransactionToasts, completedTransactionToasts } =\n await createToastsFromTransactions({\n store\n });\n\n this.transactionToasts = [\n ...pendingTransactionToasts,\n ...completedTransactionToasts\n ];\n\n for (const toast of toastList.transactionToasts) {\n this.handleCompletedTransaction(toast.toastId);\n }\n\n await this.publishTransactionToasts();\n }\n\n private async updateCustomToastList() {\n const { toasts: toastList } = this.store.getState();\n this.customToasts = [];\n\n for (const toast of toastList.customToasts) {\n const isSimpleToast = 'message' in toast;\n\n const newToast: CustomToastType = isSimpleToast\n ? { ...toast }\n : {\n ...toast,\n instantiateToastElement:\n customToastComponentDictionary[toast.toastId]\n };\n this.customToasts.push(newToast);\n\n if (toast.duration) {\n this.lifetimeManager.startWithCustomDuration(\n toast.toastId,\n toast.duration\n );\n }\n }\n await this.uiCoordinator?.publishCustomToasts(this.customToasts);\n }\n\n private handleTransactionToastClose(toastId: string): boolean {\n const isCompleted = this.handleCompletedTransaction(toastId);\n\n if (isCompleted) {\n removeTransactionToast(toastId);\n return true;\n }\n\n return false;\n }\n\n public async showToasts() {\n this.uiCoordinator?.showToasts();\n await this.updateCustomToastList();\n await this.updateTransactionToastsList();\n }\n\n public hideToasts() {\n this.uiCoordinator?.hideToasts();\n }\n\n public closeToast(toastId: string): boolean {\n const customToast = this.customToasts.find(\n (toast) => toast.toastId === toastId\n );\n\n if (customToast) {\n this.lifetimeManager.stop(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n removeCustomToast(toastId);\n return true;\n }\n\n return this.handleTransactionToastClose(toastId);\n }\n\n private async publishTransactionToasts() {\n await this.uiCoordinator?.publishTransactionToasts(this.transactionToasts);\n }\n\n public destroy() {\n this.unsubscribeFromStore();\n this.lifetimeManager?.destroy();\n this.uiCoordinator?.destroy();\n removeAllCustomToasts();\n }\n}\n", "import {\n customToastCloseHandlersDictionary,\n removeCustomToast,\n removeTransactionToast\n} from 'store/actions/toasts/toastsActions';\n\ninterface IToastProgressManagerParams {\n successfulToastLifetime?: number;\n}\n\nconst DEFAULT_SUCCESSFUL_TOAST_LIFETIME = 10_000;\n\nexport class LifetimeManager {\n private timeoutIntervals: Map<string, ReturnType<typeof setTimeout>> =\n new Map();\n private successfulToastLifetime: number = DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n\n constructor() {}\n\n public init({ successfulToastLifetime }: IToastProgressManagerParams) {\n this.successfulToastLifetime =\n successfulToastLifetime ?? DEFAULT_SUCCESSFUL_TOAST_LIFETIME;\n }\n\n public start = (toastId: string) => {\n this.stop(toastId);\n\n if (this.successfulToastLifetime <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeTransactionToast(toastId);\n }, this.successfulToastLifetime);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public startWithCustomDuration = (toastId: string, duration: number) => {\n this.stop(toastId);\n\n if (duration <= 0) {\n return;\n }\n\n const timeout = setTimeout(() => {\n removeCustomToast(toastId);\n const handleClose = customToastCloseHandlersDictionary[toastId];\n handleClose?.();\n }, duration);\n\n this.timeoutIntervals.set(toastId, timeout);\n };\n\n public stop = (toastId: string) => {\n const timeout = this.timeoutIntervals.get(toastId);\n if (timeout) {\n clearTimeout(timeout);\n this.timeoutIntervals.delete(toastId);\n }\n };\n\n public destroy() {\n this.timeoutIntervals.forEach((interval) => clearTimeout(interval));\n this.timeoutIntervals.clear();\n }\n}\n", "import isEqual from 'lodash.isequal';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { TransactionsHistoryController } from 'controllers/TransactionsHistoryController';\nimport { ITransactionListItem, MvxNotificationsFeed } from 'lib/sdkDappUi';\nimport { clearCompletedTransactions } from 'store/actions/transactions/transactionsActions';\nimport { TransactionsSliceType } from 'store/slices/transactions/transactionsSlice.types';\nimport { getStore } from 'store/store';\nimport { TransactionServerStatusesEnum } from 'types/enums.types';\nimport { TransactionBatchStatusesEnum } from 'types/enums.types';\nimport { NotificationsFeedEventsEnum } from './types';\nimport { SidePanelBaseManager } from '../internal/SidePanelBaseManager/SidePanelBaseManager';\nimport { ToastManager } from '../ToastManager';\nimport { createToastsFromTransactions } from '../ToastManager/helpers/createToastsFromTransactions';\nimport { ITransactionToast } from '../ToastManager/types';\n\ninterface INotificationsFeedManagerData {\n pendingTransactions: ITransactionToast[];\n historicTransactions: ITransactionListItem[];\n}\n\nconst NOTIFICATIONS_FEED_STORE_SUBSCRIBE = 'NOTIFICATIONS_FEED_STORE_SUBSCRIBE';\n\nexport class NotificationsFeedManager extends SidePanelBaseManager<\n MvxNotificationsFeed,\n INotificationsFeedManagerData,\n NotificationsFeedEventsEnum | typeof NOTIFICATIONS_FEED_STORE_SUBSCRIBE\n> {\n private static instance: NotificationsFeedManager;\n private readonly store: ReturnType<typeof getStore>;\n\n protected initialData: INotificationsFeedManagerData = {\n pendingTransactions: [],\n historicTransactions: []\n };\n\n public static getInstance(): NotificationsFeedManager {\n if (!NotificationsFeedManager.instance) {\n NotificationsFeedManager.instance = new NotificationsFeedManager();\n }\n return NotificationsFeedManager.instance;\n }\n\n constructor(store?: ReturnType<typeof getStore>) {\n super({\n uiDataUpdateEvent: NotificationsFeedEventsEnum.OPEN,\n uiTag: UITagsEnum.NOTIFICATIONS_FEED\n });\n this.store = store || getStore();\n this.data = { ...this.initialData };\n }\n\n public isNotificationsFeedOpen(): boolean {\n return this.isOpen;\n }\n\n /**\n * Open the notifications feed and toggle off the toast manager.\n */\n public async openNotificationsFeed(): Promise<void> {\n const toastManager = ToastManager.getInstance();\n toastManager.hideToasts();\n await this.openUI();\n await this.updateDataAndNotifications();\n\n const storeToastsUnsubscribe = this.store.subscribe(\n async (\n { toasts, transactions },\n { toasts: prevToasts, transactions: prevTransactions }\n ) => {\n if (\n !isEqual(prevToasts.transactionToasts, toasts.transactionToasts) ||\n !isEqual(prevTransactions, transactions)\n ) {\n await this.updateDataAndNotifications();\n }\n }\n );\n this.unsubscribeFunctions.set(NOTIFICATIONS_FEED_STORE_SUBSCRIBE, [\n storeToastsUnsubscribe\n ]);\n\n this.eventBus?.publish(NotificationsFeedEventsEnum.OPEN);\n await this.updateDataAndNotifications();\n }\n\n /**\n * Close the notifications feed and toggle on the toast manager.\n */\n protected async handleCloseUI() {\n const toastManager = ToastManager.getInstance();\n this.closeUI();\n await toastManager.showToasts();\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLOSE,\n this.handleCloseUI.bind(this)\n );\n\n this.subscribeToEventBus(\n NotificationsFeedEventsEnum.CLEAR,\n this.handleClearNotificationsFeedHistory.bind(this)\n );\n }\n\n protected async updateDataAndNotifications() {\n const { transactions } = this.store.getState();\n\n const { pendingTransactionToasts } = await createToastsFromTransactions();\n\n this.data.pendingTransactions = pendingTransactionToasts;\n\n const transactionsSessions = Object.keys(transactions).reduce(\n (acc, key) => {\n const isPendingStatus = [\n TransactionBatchStatusesEnum.sent,\n `${TransactionServerStatusesEnum.pending}`\n ].includes(String(transactions[key].status));\n\n if (!isPendingStatus) {\n acc[key] = transactions[key];\n }\n return acc;\n },\n {} as TransactionsSliceType\n );\n\n this.data.historicTransactions =\n await TransactionsHistoryController.getTransactionsHistory({\n transactionsSessions\n });\n\n await this.updateNotificationsFeed();\n }\n\n private handleClearNotificationsFeedHistory() {\n clearCompletedTransactions();\n this.resetData();\n this.updateNotificationsFeed();\n }\n\n private async updateNotificationsFeed() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.PENDING_TRANSACTIONS_UPDATE,\n this.data.pendingTransactions\n );\n\n this.eventBus.publish(\n NotificationsFeedEventsEnum.TRANSACTIONS_HISTORY_UPDATE,\n this.data.historicTransactions\n );\n }\n}\n", "import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxToastList } from 'lib/sdkDappUi';\nimport { NotificationsFeedManager } from 'managers/NotificationsFeedManager/NotificationsFeedManager';\nimport type { CustomToastType } from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { IEventBus } from 'types/manager.types';\nimport { ProviderErrorsEnum } from 'types/provider.types';\nimport { ComponentFactory } from 'utils/ComponentFactory';\nimport { ToastEventsEnum } from './types';\nimport type { ITransactionToast } from './types';\n\ntype OnCloseToastType = (toastId: string) => boolean;\ntype StoreObjectType = ReturnType<typeof getStore>;\n\nexport class ToastUICoordinator {\n private toastsElement: MvxToastList | null = null;\n private eventBus: IEventBus<\n ITransactionToast[] | CustomToastType[] | null\n > | null = null;\n private isCreatingElement = false;\n private eventBusUnsubscribeFunctions: (() => void)[] = [];\n private readonly notificationsFeedManager: NotificationsFeedManager;\n private readonly store: StoreObjectType;\n private readonly onCloseToast: OnCloseToastType;\n\n constructor(props: {\n onCloseToast: OnCloseToastType;\n store?: StoreObjectType;\n notificationsFeedManager?: NotificationsFeedManager;\n }) {\n this.onCloseToast = props.onCloseToast;\n this.store = props.store || getStore();\n this.notificationsFeedManager =\n props.notificationsFeedManager || NotificationsFeedManager.getInstance();\n }\n\n public async init() {\n await this.subscribeToEventBusNotifications();\n }\n\n public showToasts() {\n this.eventBus?.publish(ToastEventsEnum.SHOW, null);\n }\n\n public hideToasts() {\n this.eventBus?.publish(ToastEventsEnum.HIDE, null);\n }\n\n public async publishTransactionToasts(toasts: ITransactionToast[]) {\n if (\n this.notificationsFeedManager.isNotificationsFeedOpen() &&\n this.eventBus\n ) {\n this.eventBus.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n toasts\n );\n this.hideToasts();\n return;\n }\n\n if (!this.eventBus) {\n const toastsElement = await this.createToastListElement();\n if (!toastsElement) {\n return;\n }\n this.eventBus = await toastsElement.getEventBus();\n }\n\n this.eventBus?.publish(\n ToastEventsEnum.TRANSACTION_TOAST_DATA_UPDATE,\n toasts\n );\n }\n\n public async publishCustomToasts(customToasts: CustomToastType[]) {\n this.eventBus?.publish(\n ToastEventsEnum.CUSTOM_TOAST_DATA_UPDATE,\n customToasts\n );\n }\n\n private handleOpenNotificationsFeed() {\n this.notificationsFeedManager.openNotificationsFeed();\n }\n\n public destroy() {\n this.eventBusUnsubscribeFunctions.forEach((unsubscribe) => unsubscribe());\n this.eventBusUnsubscribeFunctions = [];\n this.notificationsFeedManager?.destroy();\n }\n\n private async createToastListElement(): Promise<MvxToastList | null> {\n if (this.toastsElement) {\n return this.toastsElement;\n }\n\n if (!this.isCreatingElement) {\n this.isCreatingElement = true;\n this.toastsElement = await ComponentFactory.create<MvxToastList>({\n name: UITagsEnum.TOAST_LIST\n });\n this.isCreatingElement = false;\n }\n\n return this.toastsElement;\n }\n\n private async subscribeToEventBusNotifications() {\n const toastsElement = await this.createToastListElement();\n\n if (!toastsElement) {\n return;\n }\n\n this.eventBus = await toastsElement.getEventBus();\n if (!this.eventBus) {\n throw new Error(ProviderErrorsEnum.eventBusError);\n }\n\n this.eventBus.subscribe(ToastEventsEnum.CLOSE, this.onCloseToast);\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(ToastEventsEnum.CLOSE, this.onCloseToast);\n });\n\n this.eventBus.subscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n\n this.eventBusUnsubscribeFunctions.push(() => {\n this.eventBus?.unsubscribe(\n ToastEventsEnum.OPEN_NOTIFICATIONS_FEED,\n this.handleOpenNotificationsFeed.bind(this)\n );\n });\n }\n}\n", "import { getTransactionsByHashes } from 'apiCalls/transactions/getTransactionsByHashes';\nimport { getIsLoggedIn } from 'methods/account/getIsLoggedIn';\nimport { updateSessionStatus } from 'store/actions/transactions/transactionsActions';\nimport { getState } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { SignedTransactionType } from 'types/transactions.types';\n\nimport { refreshAccount } from 'utils';\nimport { getPendingTransactions } from '../getPendingTransactions';\nimport { runTransactionStatusUpdate } from './helpers/runTransactionStatusUpdate';\n\nexport interface TransactionStatusTrackerPropsType {\n sessionId: string;\n transactionBatch: SignedTransactionType[];\n isSequential?: boolean;\n}\n\nexport async function checkBatch({\n sessionId,\n transactionBatch: transactions,\n isSequential\n}: TransactionStatusTrackerPropsType) {\n try {\n if (transactions == null) {\n return;\n }\n\n const isLoggedIn = getIsLoggedIn();\n\n const pendingTransactions = getPendingTransactions(transactions);\n\n const serverTransactions =\n await getTransactionsByHashes(pendingTransactions);\n\n for (const serverTransaction of serverTransactions) {\n await runTransactionStatusUpdate({\n serverTransaction,\n sessionId,\n isSequential\n });\n }\n\n const hasCompleted = serverTransactions.every(\n (tx) => tx.status !== TransactionServerStatusesEnum.pending\n );\n\n if (!hasCompleted) {\n return;\n }\n\n if (isLoggedIn) {\n await refreshAccount();\n }\n\n // Call the onSuccess or onFail callback only if the transactions are sent normally (not using batch transactions mechanism).\n // The batch transactions mechanism will call the callbacks separately.\n\n const { transactions: sessions } = getState();\n const session = sessions?.[sessionId];\n\n const isSuccessful = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.success\n );\n\n if (isSuccessful) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.success\n });\n }\n\n const isFailed = session.transactions.some(\n (tx) => tx.status === TransactionServerStatusesEnum.fail\n );\n\n if (isFailed) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.fail\n });\n }\n\n const isInvalid = session.transactions.every(\n (tx) => tx.status === TransactionServerStatusesEnum.notExecuted\n );\n\n if (isInvalid) {\n return updateSessionStatus({\n sessionId,\n status: TransactionBatchStatusesEnum.invalid\n });\n }\n } catch (error) {\n console.error(error);\n }\n}\n", "import { pendingTransactionsSessionsSelector } from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\nimport { checkBatch } from './helpers/checkBatch';\n\nexport async function checkTransactionStatus() {\n const pendingSessions = pendingTransactionsSessionsSelector(getState());\n\n const entries = Object.entries(pendingSessions);\n if (entries.length === 0) {\n return;\n }\n\n await Promise.all(\n entries.map(([sessionId, { transactions }]) =>\n checkBatch({\n sessionId,\n transactionBatch: transactions\n })\n )\n );\n}\n", "import { subscriptions } from 'constants/storage.constants';\nimport { WebsocketConnectionStatusEnum } from 'constants/websocket.constants';\nimport { websocketEventSelector } from 'store/selectors/accountSelectors';\nimport { getStore } from 'store/store';\nimport { SubscriptionsEnum } from 'types/subscriptions.type';\nimport { checkTransactionStatus } from './helpers/checkTransactionStatus';\nimport { getPollingInterval } from './helpers/getPollingInterval';\n\n/**\n * Tracks transactions using websocket or polling\n * @returns stopTransactionsTracking function\n */\nexport async function trackTransactions(): Promise<{\n stopTransactionsTracking: () => void;\n}> {\n const store = getStore();\n const pollingInterval = getPollingInterval();\n let pollingIntervalRef: ReturnType<typeof setTimeout> | null = null;\n let timestamp = websocketEventSelector(store.getState())?.timestamp ?? null;\n\n const recheckStatus = async (): Promise<void> => {\n try {\n await checkTransactionStatus();\n } catch (error) {\n console.error(\n '[trackTransactions] Error checking transaction status:',\n error\n );\n }\n };\n\n const startPolling = (): void => {\n // Prevent multiple polling intervals\n if (pollingIntervalRef) {\n return;\n }\n pollingIntervalRef = setInterval(recheckStatus, pollingInterval);\n };\n\n const stopPolling = (): void => {\n if (pollingIntervalRef) {\n clearInterval(pollingIntervalRef);\n pollingIntervalRef = null;\n }\n };\n\n const setupWebSocketTracking = (): void => {\n stopPolling();\n const unsubscribeWebsocketEvent = store.subscribe(\n ({ account: { websocketEvent } }) => {\n if (\n websocketEvent?.message &&\n websocketEvent.timestamp != null &&\n timestamp !== websocketEvent.timestamp\n ) {\n timestamp = websocketEvent.timestamp;\n recheckStatus();\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketEventReceived,\n unsubscribeWebsocketEvent\n );\n };\n\n // Initial execution\n recheckStatus();\n\n const stopTransactionsTracking = (): void => {\n stopPolling();\n };\n\n const unsubscribeWebsocketStatus = store.subscribe(\n ({ account: { address }, config: { websocketStatus } }, prevState) => {\n const hasStatusChange =\n prevState.config.websocketStatus !== websocketStatus;\n\n if (!hasStatusChange) {\n return;\n }\n\n switch (websocketStatus) {\n case WebsocketConnectionStatusEnum.COMPLETED:\n setupWebSocketTracking();\n break;\n case WebsocketConnectionStatusEnum.PENDING:\n startPolling();\n break;\n default:\n address ? startPolling() : stopTransactionsTracking();\n break;\n }\n }\n );\n\n subscriptions.set(\n SubscriptionsEnum.websocketStatusChanged,\n unsubscribeWebsocketStatus\n );\n return { stopTransactionsTracking };\n}\n", "import { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { setGasStationMetadata } from 'methods/initApp/gastStationMetadata/setGasStationMetadata';\nimport { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { loginAction } from 'store/actions';\nimport { setAccount } from 'store/actions/account';\nimport { AccountType } from 'types/account.types';\nimport { fetchAccount } from 'utils/account/fetchAccount';\nimport { trimUsernameDomain } from 'utils/account/trimUsernameDomain';\n\ninterface IAccountLoginProps {\n address: string;\n provider: IProvider;\n apiAddress: string;\n}\n\nexport async function accountLogin({\n address,\n provider,\n apiAddress\n}: IAccountLoginProps) {\n const account = await fetchAccount({\n address,\n baseURL: apiAddress\n });\n\n if (!account) {\n throw new Error('Account not found');\n }\n\n loginAction({\n address,\n providerType: provider.getType()\n });\n\n const newAccount: AccountType = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(newAccount);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n}\n", "import { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { decodeNativeAuthToken } from 'services/nativeAuth/helpers/decodeNativeAuthToken';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { accountLogin } from './accountLogin';\nimport { extractAddressFromToken } from './extractAddressFromToken';\nimport { getMultisigLoginToken } from './getMultisigLoginToken';\n\nexport async function loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token\n}: {\n provider: IProvider;\n nativeAuthConfig: NativeAuthConfigType;\n token?: string;\n}) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n const nativeAuthClient = nativeAuth(nativeAuthConfig);\n let loginToken = token;\n\n if (!loginToken) {\n loginToken = await nativeAuthClient.initialize({\n noCache: true\n });\n }\n\n const loginData = await provider.login({\n token: loginToken\n });\n\n const { address, signature, ...loginResult } = loginData;\n\n if (!address) {\n console.warn('Login cancelled.');\n return null;\n }\n\n if (!signature) {\n console.error('Failed to sign login token');\n return null;\n }\n\n // nativeAuthToken received from hub login\n const decodedToken = decodeNativeAuthToken(loginResult?.accessToken);\n\n const usedLoginToken = await getMultisigLoginToken({\n loginData,\n nativeAuthConfig,\n loginToken\n });\n\n const nativeAuthToken = decodedToken\n ? loginResult.accessToken\n : nativeAuthClient.getToken({\n address,\n token: usedLoginToken,\n signature\n });\n\n setTokenLogin({\n loginToken,\n signature,\n nativeAuthToken\n });\n\n const extractedAddress = await extractAddressFromToken({\n loginToken,\n extraInfoData: {\n multisig: loginResult?.multisig,\n impersonate: loginResult?.impersonate\n },\n address\n });\n\n await accountLogin({\n address: extractedAddress,\n provider,\n apiAddress\n });\n\n return {\n address: extractedAddress,\n signature\n };\n}\n", "import { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { accountLogin } from './accountLogin';\n\nexport async function loginWithoutNativeToken(provider: IProvider) {\n const {\n network: { apiAddress }\n } = getNetworkConfig();\n\n await provider.login();\n\n const address = await provider.getAddress();\n\n if (!address) {\n throw new Error('Address not found');\n }\n\n await accountLogin({ address, provider, apiAddress });\n\n return {\n address\n };\n}\n", "import { registerWebsocketListener } from 'methods/initApp/websocket/registerWebsocket';\nimport { trackTransactions } from 'methods/trackTransactions/trackTransactions';\nimport { IProvider } from 'providers/types/providerFactory.types';\nimport { nativeAuthConfigSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { loginWithNativeToken } from './helpers/loginWithNativeToken';\nimport { loginWithoutNativeToken } from './helpers/loginWithoutNativeToken';\n\nexport async function login(\n provider: IProvider,\n options?: { token?: string }\n): Promise<{\n address: string;\n signature: string;\n} | null> {\n const nativeAuthConfig = nativeAuthConfigSelector(getState());\n\n if (nativeAuthConfig) {\n const data = await loginWithNativeToken({\n provider,\n nativeAuthConfig,\n token: options?.token\n });\n return data;\n }\n\n const { address } = await loginWithoutNativeToken(provider);\n\n await registerWebsocketListener(address);\n trackTransactions();\n\n return { address, signature: '' };\n}\n", "import {\n CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION,\n CANCEL_TRANSACTION_TOAST_ID,\n ERROR_SIGNING_TOAST_ID\n} from 'constants/transactions.constants';\nimport { createCustomToast } from 'store/actions';\nimport {\n IconNamesEnum,\n SigningErrorsEnum,\n SigningWarningsEnum\n} from 'types/enums.types';\n\nconst states = {\n error: {\n title: SigningErrorsEnum.errorSigning.toString(),\n iconClassName: 'danger',\n toastId: `${ERROR_SIGNING_TOAST_ID}-${Date.now()}`\n },\n warning: {\n title: SigningWarningsEnum.cancelled.toString(),\n iconClassName: 'warning',\n toastId: `${CANCEL_TRANSACTION_TOAST_ID}-${Date.now()}`\n }\n};\n\nconst errorsMap = {\n extensionResponse: 'Unable to sign transactions', // extension\n 'Transaction canceled': 'Transaction canceled', // web wallet\n 'cancelled by user': 'Transaction signing cancelled by user', // custom\n 'denied by the user': 'Transaction signing denied by the user' // ledger\n};\n\nconst getUserError = (error: string) => {\n for (const [key, value] of Object.entries(errorsMap)) {\n if (error.includes(key)) {\n return value;\n }\n }\n return SigningErrorsEnum.errorSigning;\n};\n\nexport function handleSignError(\n error: unknown,\n type: 'error' | 'warning' = 'error'\n) {\n const originalError = (error as Error)?.message;\n const errorMessage = getUserError(originalError);\n\n const isKnownError = errorMessage !== SigningErrorsEnum.errorSigning;\n\n const errorType = isKnownError ? 'warning' : type;\n\n const state = Object.keys(states).includes(errorType)\n ? states[errorType]\n : states.error;\n\n const { toastId, iconClassName, title } = state;\n\n createCustomToast({\n toastId,\n duration: CANCEL_TRANSACTION_TOAST_DEFAULT_DURATION,\n icon: IconNamesEnum.close,\n iconClassName,\n message: errorMessage,\n title\n });\n\n return errorMessage;\n}\n", "import {\n Address,\n Transaction,\n TransactionOptions,\n TransactionVersion\n} from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport {\n IProvider,\n ProviderTypeEnum\n} from 'providers/types/providerFactory.types';\nimport { setAccountNonce } from 'store/actions';\nimport { refreshAccount } from 'utils';\nimport { computeNonces } from '../computeNonces/computeNonces';\n\nexport type SignTransactionsOptionsType = {\n skipGuardian?: boolean;\n};\n\ntype SignTransactionsType = {\n provider: IProvider;\n transactions: Transaction[];\n options?: SignTransactionsOptionsType;\n};\n\nexport async function signTransactionsWithProvider({\n provider,\n transactions,\n options = {}\n}: SignTransactionsType): Promise<Transaction[]> {\n await refreshAccount();\n const { isGuarded, activeGuardianAddress, nonce } = getAccount();\n const isLedger = provider.getType() === ProviderTypeEnum.ledger;\n\n const transactionsWithComputedNonce = computeNonces({\n latestNonce: nonce,\n transactions\n });\n\n const transactionsToSign =\n activeGuardianAddress && isGuarded && !options.skipGuardian\n ? transactionsWithComputedNonce?.map((transaction) => {\n transaction.version = TransactionVersion.withTxOptions().valueOf();\n transaction.options = TransactionOptions.withOptions({\n guarded: true,\n ...(isLedger ? { hashSign: true } : {})\n }).valueOf();\n\n transaction.guardian = Address.newFromBech32(activeGuardianAddress);\n\n return transaction;\n })\n : transactionsWithComputedNonce;\n\n const signedTransactions: Transaction[] =\n (await provider.signTransactions(transactionsToSign)) ?? [];\n\n setAccountNonce(nonce + signedTransactions.length);\n\n return signedTransactions;\n}\n", "import { Message, Transaction } from 'lib/sdkCore';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { setAccountProvider } from 'providers/helpers/accountProvider';\nimport { setProviderType } from 'store/actions/loginInfo/loginInfoActions';\nimport { IProvider } from '../types/providerFactory.types';\nimport { login } from './helpers/login/login';\nimport { logout } from './helpers/logout/logout';\nimport { handleSignError } from './helpers/signErrors/handleSignError';\nimport { signMessageWithProvider } from './helpers/signMessage/signMessageWithProvider';\nimport {\n verifyMessage,\n VerifyMessageReturnType\n} from './helpers/signMessage/verifyMessage';\nimport {\n signTransactionsWithProvider,\n SignTransactionsOptionsType\n} from './helpers/signTransactions/signTransactionsWithProvider';\n\nexport class DappProvider {\n private provider: IProvider;\n private _isLoggingOut = false;\n\n constructor(provider: IProvider) {\n this.provider = provider;\n }\n\n init(): Promise<boolean> {\n return this.provider.init();\n }\n\n async login(options?: { token?: string }) {\n const data = await login(this.provider, options);\n setProviderType(this.provider.getType());\n setAccountProvider(this);\n LogoutManager.getInstance().init();\n return data;\n }\n\n isInitialized(): boolean {\n return this.provider.isInitialized();\n }\n\n async logout(\n options = {\n shouldBroadcastLogoutAcrossTabs: true\n }\n ): Promise<boolean> {\n if (this._isLoggingOut) {\n console.warn('Logout already in progress');\n return false;\n }\n\n this._isLoggingOut = true;\n\n const isLoggedOut = await logout({ provider: this.provider, options });\n\n this._isLoggingOut = false;\n\n return isLoggedOut;\n }\n\n getType() {\n return this.provider.getType();\n }\n\n /**\n * @returns The original provider instance.\n */\n getProvider() {\n return this.provider;\n }\n\n async signTransactions(\n transactions: Transaction[],\n options?: SignTransactionsOptionsType\n ): Promise<Transaction[]> {\n try {\n const signedTransactions = await signTransactionsWithProvider({\n provider: this.provider,\n transactions,\n options\n });\n return signedTransactions;\n } catch (error) {\n const errorMessage = handleSignError(error);\n throw new Error(errorMessage);\n }\n }\n\n async signMessage(\n message: Message,\n options?: {\n hasConsentPopup?: boolean;\n }\n ): Promise<Message | null> {\n try {\n const signedMessage = await signMessageWithProvider({\n provider: this.provider,\n message,\n options\n });\n return signedMessage;\n } catch (error) {\n const errorMessage = handleSignError(error, 'warning');\n throw new Error(errorMessage);\n }\n }\n\n /**\n * @param signedMessage - The signed message to verify in form of a JSON string with `address`, `message` and `signature` properties.\n * @returns The verification result with `isVerified`, `message` and `address` properties.\n */\n async verifyMessage(signedMessage: string): Promise<VerifyMessageReturnType> {\n return await verifyMessage(signedMessage);\n }\n\n cancelLogin(): void {\n this.provider.cancelLogin?.();\n }\n}\n", "import { IProvider } from 'providers/types/providerFactory.types';\nimport { DappProvider } from '../DappProvider';\nimport { emptyProvider } from './emptyProvider';\n\nexport type ProvidersType = IProvider;\n\nlet accountProvider: DappProvider | null = null;\n\nexport function setAccountProvider<TProvider extends DappProvider | null>(\n provider: TProvider\n) {\n accountProvider = provider;\n}\n\nexport function getAccountProvider(): DappProvider {\n return accountProvider || new DappProvider(emptyProvider);\n}\n", "import { getAddress } from 'methods/account/getAddress';\nimport { getLatestNonce } from 'methods/account/getLatestNonce';\nimport { getNetworkConfig } from 'methods/network/getNetworkConfig';\nimport { getAccountProvider } from 'providers/helpers/accountProvider';\nimport { setAccount } from 'store/actions';\nimport { fetchAccount } from './fetchAccount';\nimport { trimUsernameDomain } from './trimUsernameDomain';\n\nconst setNewAccount = async () => {\n try {\n const address = getAddress();\n const { network } = getNetworkConfig();\n\n try {\n const account = await fetchAccount({\n address,\n baseURL: network.apiAddress\n });\n\n if (account != null) {\n const accountData = {\n ...account,\n username: trimUsernameDomain(account.username),\n nonce: getLatestNonce(account)\n };\n\n setAccount(accountData);\n\n return accountData;\n }\n } catch (e) {\n console.error('Failed getting account ', e);\n }\n } catch (e) {\n console.error('Failed getting address ', e);\n }\n\n return null;\n};\n\nexport async function refreshAccount() {\n const provider = getAccountProvider();\n\n if (provider == null) {\n throw 'Provider not initialized';\n }\n\n try {\n if (!provider.init) {\n throw 'Current provider does not have init() function';\n }\n\n const initialized = await provider.init();\n\n if (!initialized) {\n return;\n }\n\n const account = await setNewAccount();\n\n return account;\n } catch (e) {\n console.error('Failed initializing provider ', e);\n }\n\n return undefined;\n}\n", "import {\n CustomToastType,\n IComponentToast\n} from 'store/slices/toast/toastSlice.types';\nimport { getStore } from 'store/store';\nimport { getUnixTimestamp, getUnixTimestampWithAddedMilliseconds } from 'utils';\n\nexport const customToastComponentDictionary: Record<\n string,\n IComponentToast['instantiateToastElement']\n> = {};\nexport const customToastCloseHandlersDictionary: Record<string, () => void> =\n {};\n\nexport const addCustomToast = (\n customToast: CustomToastType,\n currentToastId?: string\n) => {\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.customToasts.length > 0\n ? Math.max(\n ...state.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n const toastId = currentToastId ?? `custom-toast-${lastToastIndex + 1}`;\n\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const newToast: CustomToastType = {\n ...customToast,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = newToast;\n return;\n }\n\n state.customToasts.push({\n ...newToast,\n toastId\n });\n },\n false,\n {\n type: 'addCustomToast',\n // @ts-ignore\n payload: {\n value: { customToast, currentToastId }\n }\n }\n );\n};\n\nexport const removeCustomToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = state.customToasts.filter(\n (toast) => toast.toastId !== toastId\n );\n },\n false,\n {\n type: 'removeCustomToast',\n // @ts-ignore\n payload: {\n value: toastId\n }\n }\n );\n};\n\nexport const removeAllCustomToasts = () => {\n getStore().setState(\n ({ toasts: state }) => {\n state.customToasts = [];\n },\n false,\n {\n type: 'removeAllCustomToasts',\n // @ts-ignore\n payload: {\n value: null\n }\n }\n );\n};\n\nexport const removeAllTransactionToasts = () => {\n getStore().setState(({ toasts: state }) => {\n state.transactionToasts = [];\n });\n};\n\nexport const addTransactionToast = ({\n toastId,\n totalDuration\n}: {\n toastId: string;\n totalDuration: number;\n}): string => {\n let newToastId: string = '';\n getStore().setState(\n ({ toasts: state }) => {\n const lastToastIndex =\n state.transactionToasts.length > 0\n ? Math.max(\n ...state.transactionToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n newToastId = toastId ?? `transaction-toast-${lastToastIndex + 1}`;\n\n state.transactionToasts.push({\n startTime: getUnixTimestamp(),\n endTime: getUnixTimestampWithAddedMilliseconds(totalDuration),\n toastId: newToastId\n });\n },\n false,\n 'addTransactionToast'\n );\n\n return newToastId;\n};\n\nexport const removeTransactionToast = (toastId: string) => {\n getStore().setState(\n ({ toasts: state }) => {\n state.transactionToasts = state.transactionToasts.filter((toast) => {\n return toast.toastId !== toastId;\n });\n },\n false,\n 'removeTransactionToast'\n );\n\n delete customToastCloseHandlersDictionary[toastId];\n delete customToastComponentDictionary[toastId];\n};\n\nexport const createCustomToast = (props: CustomToastType) => {\n const { toasts } = getStore().getState();\n\n const lastToastIndex =\n toasts.customToasts.length > 0\n ? Math.max(\n ...toasts.customToasts.map((toast) =>\n parseInt(toast.toastId.split('-').pop() ?? '0')\n )\n )\n : 0;\n\n const toastId = props.toastId || `custom-toast-${lastToastIndex + 1}`;\n\n if (props.onClose) {\n customToastCloseHandlersDictionary[toastId] = props.onClose;\n }\n\n if (props.instantiateToastElement) {\n customToastComponentDictionary[toastId] = props.instantiateToastElement;\n\n getStore().setState(\n ({ toasts: state }) => {\n const existingToastIndex = state.customToasts.findIndex(\n (toast) => toast.toastId === toastId\n );\n\n const toast: CustomToastType = {\n ...props,\n instantiateToastElement: null,\n toastId\n };\n\n const isToastFound = existingToastIndex !== -1;\n\n if (isToastFound) {\n state.customToasts[existingToastIndex] = toast;\n } else {\n state.customToasts.push(toast);\n }\n },\n false,\n 'createCustomToast'\n );\n\n return toastId;\n }\n\n addCustomToast(props, toastId);\n return toastId;\n};\n"],
5
- "mappings": "y2DAAA,OAAOA,MAAe,eCAtB,OAAOC,MAAa,iBCUpB,IAAMC,GAAoC,IAE7BC,EAAN,KAAsB,CAK3B,aAAc,CAJd,KAAQ,iBACN,IAAI,IACN,KAAQ,wBAAkCD,GAS1C,KAAO,MAASE,GAAoB,CAGlC,GAFA,KAAK,KAAKA,CAAO,EAEb,KAAK,yBAA2B,EAClC,OAGF,IAAMC,EAAU,WAAW,IAAM,CAC/BC,EAAuBF,CAAO,CAChC,EAAG,KAAK,uBAAuB,EAE/B,KAAK,iBAAiB,IAAIA,EAASC,CAAO,CAC5C,EAEA,KAAO,wBAA0B,CAACD,EAAiBG,IAAqB,CAGtE,GAFA,KAAK,KAAKH,CAAO,EAEbG,GAAY,EACd,OAGF,IAAMF,EAAU,WAAW,IAAM,CAC/BG,EAAkBJ,CAAO,EACzB,IAAMK,EAAcC,EAAmCN,CAAO,EAC9DK,IAAc,CAChB,EAAGF,CAAQ,EAEX,KAAK,iBAAiB,IAAIH,EAASC,CAAO,CAC5C,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jB,EAAS,EAAE,SACT,CAAC,CAAE,OAAQC,CAAM,IAAM,CACrB,IAAMI,EAAqBJ,EAAM,aAAa,UAC3CE,GAAUA,EAAM,UAAYC,CAC/B,EAEMD,EAAyB,CAC7B,GAAGc,EACH,wBAAyB,KACzB,QAAAb,CACF,EAEqBC,IAAuB,GAG1CJ,EAAM,aAAaI,CAAkB,EAAIF,EAEzCF,EAAM,aAAa,KAAKE,CAAK,CAEjC,EACA,GACA,mBACF,EAEOC,IAGTP,GAAeoB,EAAOb,CAAO,EACtBA,EACT",
6
- "names": ["BigNumber", "isEqual", "DEFAULT_SUCCESSFUL_TOAST_LIFETIME", "LifetimeManager", "toastId", "timeout", "removeTransactionToast", "duration", "removeCustomToast", "handleClose", "customToastCloseHandlersDictionary", "successfulToastLifetime", "interval", "isEqual", "NOTIFICATIONS_FEED_STORE_SUBSCRIBE", "NotificationsFeedManager", "_NotificationsFeedManager", "SidePanelBaseManager", "store", "getStore", "ToastManager", "storeToastsUnsubscribe", "toasts", "transactions", "prevToasts", "prevTransactions", "isEqual", "toastManager", "pendingTransactionToasts", "createToastsFromTransactions", "transactionsSessions", "acc", "key", "TransactionsHistoryController", "clearCompletedTransactions", "ToastUICoordinator", "props", "getStore", "NotificationsFeedManager", "toasts", "toastsElement", "customToasts", "unsubscribe", "ComponentFactory", "ToastManager", "_ToastManager", "props", "getStore", "LifetimeManager", "ToastUICoordinator", "successfulToastLifetime", "toasts", "transactions", "prevToasts", "prevTransactions", "newToastsWereCreated", "isEqual", "checkBatchHasNewData", "toastId", "transaction", "status", "isTimedOut", "getIsTransactionTimedOut", "isFailed", "getIsTransactionFailed", "isSuccessful", "getIsTransactionSuccessful", "isCompleted", "totalDuration", "newToastId", "addTransactionToast", "toast", "createCustomToast", "store", "toastList", "pendingTransactionToasts", "completedTransactionToasts", "createToastsFromTransactions", "newToast", "customToastComponentDictionary", "removeTransactionToast", "handleClose", "customToastCloseHandlersDictionary", "removeCustomToast", "removeAllCustomToasts", "LogoutManager", "_LogoutManager", "getStore", "state", "tokenLogin", "tokenLoginSelector", "isNativeAuthTokenExpired", "getTokenExpiration", "getAccountProvider", "isLoggedIn", "isLoggedInSelector", "provider", "address", "addressSelector", "isWebviewLogin", "ProviderTypeEnum", "secondsUntilExpires", "expiresAt", "secondsUntilExpiresBN", "BigNumber", "plannedLogoutKey", "plannedLogoutSet", "millisecondsUntilLogout", "ToastManager", "nativeAuthConfig", "nativeAuthConfigSelector", "logoutWarningOffsetMilliseconds", "millisecondsUntilLogoutWarning", "readableMinutesUntilLogout", "getHumanReadableTokenExpirationTime", "timeoutUntilLogoutWarning", "checkBatch", "sessionId", "transactions", "isSequential", "isLoggedIn", "getIsLoggedIn", "pendingTransactions", "getPendingTransactions", "serverTransactions", "getTransactionsByHashes", "serverTransaction", "runTransactionStatusUpdate", "tx", "refreshAccount", "sessions", "getState", "session", "updateSessionStatus", "error", "checkTransactionStatus", "pendingSessions", "pendingTransactionsSessionsSelector", "getState", "entries", "sessionId", "transactions", "checkBatch", "trackTransactions", "store", "getStore", "pollingInterval", "getPollingInterval", "pollingIntervalRef", "timestamp", "websocketEventSelector", "recheckStatus", "checkTransactionStatus", "error", "startPolling", "stopPolling", "setupWebSocketTracking", "unsubscribeWebsocketEvent", "websocketEvent", "subscriptions", "stopTransactionsTracking", "unsubscribeWebsocketStatus", "address", "websocketStatus", "prevState", "accountLogin", "address", "provider", "apiAddress", "account", "fetchAccount", "loginAction", "newAccount", "trimUsernameDomain", "getLatestNonce", "setAccount", "registerWebsocketListener", "trackTransactions", "setGasStationMetadata", "loginWithNativeToken", "provider", "nativeAuthConfig", "token", "apiAddress", "getNetworkConfig", "nativeAuthClient", "nativeAuth", "loginToken", "loginData", "address", "signature", "loginResult", "decodedToken", "decodeNativeAuthToken", "usedLoginToken", "getMultisigLoginToken", "nativeAuthToken", "setTokenLogin", "extractedAddress", "extractAddressFromToken", "accountLogin", "loginWithoutNativeToken", "provider", "apiAddress", "getNetworkConfig", "address", "accountLogin", "login", "provider", "options", "nativeAuthConfig", "nativeAuthConfigSelector", "getState", "loginWithNativeToken", "address", "loginWithoutNativeToken", "registerWebsocketListener", "trackTransactions", "states", "ERROR_SIGNING_TOAST_ID", "CANCEL_TRANSACTION_TOAST_ID", "errorsMap", "getUserError", "error", "key", "value", "handleSignError", "type", "originalError", "errorMessage", "errorType", "state", "toastId", "iconClassName", "title", "createCustomToast", "signTransactionsWithProvider", "provider", "transactions", "options", "refreshAccount", "isGuarded", "activeGuardianAddress", "nonce", "getAccount", "isLedger", "ProviderTypeEnum", "transactionsWithComputedNonce", "computeNonces", "transactionsToSign", "transaction", "TransactionVersion", "TransactionOptions", "Address", "signedTransactions", "setAccountNonce", "DappProvider", "provider", "options", "data", "login", "setProviderType", "setAccountProvider", "LogoutManager", "isLoggedOut", "logout", "transactions", "signTransactionsWithProvider", "error", "errorMessage", "handleSignError", "message", "signMessageWithProvider", "signedMessage", "verifyMessage", "accountProvider", "setAccountProvider", "provider", "getAccountProvider", "DappProvider", "emptyProvider", "setNewAccount", "address", "getAddress", "network", "getNetworkConfig", "account", "fetchAccount", "accountData", "trimUsernameDomain", "getLatestNonce", "setAccount", "e", "refreshAccount", "provider", "getAccountProvider", "customToastComponentDictionary", "customToastCloseHandlersDictionary", "addCustomToast", "customToast", "currentToastId", "getStore", "state", "lastToastIndex", "toast", "toastId", "existingToastIndex", "newToast", "removeCustomToast", "removeAllCustomToasts", "removeAllTransactionToasts", "addTransactionToast", "totalDuration", "newToastId", "getUnixTimestamp", "getUnixTimestampWithAddedMilliseconds", "removeTransactionToast", "createCustomToast", "props", "toasts"]
7
- }
@@ -1,2 +0,0 @@
1
- import{q as o}from"./chunk-E7M6PNMF.mjs";import{a as c}from"./chunk-JMC7CMTU.mjs";var p=t=>{o().setState(({account:e})=>{let s=e.address===t.address;e.accounts={[e.address]:s?t:c}},!1,{type:"setAccount",payload:{value:t}})},r=t=>o().setState(({account:e})=>{e.ledgerAccount=t},!1,{type:"setLedgerAccount",payload:{value:t}}),u=t=>o().setState(({account:e})=>{e.walletConnectAccount=t},!1,{type:"setWalletConnectAccount",payload:{value:t}}),l=t=>o().setState(({account:e})=>{e.websocketEvent={timestamp:Date.now(),message:t}},!1,{type:"setWebsocketEvent",payload:{value:t}}),d=t=>o().setState(({account:e})=>{e.websocketBatchEvent={timestamp:Date.now(),data:t}},!1,{type:"setWebsocketBatchEvent",payload:{value:t}}),y=t=>{o().setState(({account:e})=>{e.accounts[e.address].nonce=t},!1,{type:"setAccountNonce",payload:{value:t}})};export{p as a,r as b,u as c,l as d,d as e,y as f};
2
- //# sourceMappingURL=chunk-NT3OYOP5.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as t}from"./chunk-GUAXMODN.mjs";var n=({parts:r,decodeMethod:d,identifier:o,initialDecodedParts:e})=>d==="smart"?t({parts:r,decodedParts:e,identifier:o}):e;export{n as a};
2
- //# sourceMappingURL=chunk-NTPPBM7T.mjs.map
@@ -1,2 +0,0 @@
1
- import{a as s}from"./chunk-UFDELD3B.mjs";import{s as m}from"./chunk-E7M6PNMF.mjs";import{b as a}from"./chunk-7VHTZYM2.mjs";import{o as r,u as i}from"./chunk-KD2IQ32V.mjs";import{a as c}from"./chunk-3FXHIV6O.mjs";async function b({tokenId:o}){let t=a(m()),{isNft:k}=c(o),n=o,p=k?r:i;if(!n)return{tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:""};try{let{data:e}=await s.get(`${t.apiAddress}/${p}/${n}`),f=e?e?.decimals:Number(t.decimals),l=e?e?.name:"",d=e?e?.assets?.svgUrl??e?.media?.[0]?.thumbnailUrl:"";return{tokenDecimals:f,tokenLabel:l,type:e?.type,tokenAvatar:d,identifier:e?.identifier,assets:e?.assets,esdtPrice:e?.price,ticker:e?.ticker,name:e?.name}}catch(e){return{error:`Error fetching token ${n}: ${e.toString()}`,tokenDecimals:Number(t.decimals),tokenLabel:"",tokenAvatar:"",identifier:n}}}export{b as a};
2
- //# sourceMappingURL=chunk-NZA7KOCG.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/apiCalls/tokens/getTokenDetails.ts"],
4
- "sourcesContent": ["import { NFTS_ENDPOINT, TOKENS_ENDPOINT } from 'apiCalls/endpoints';\nimport { axiosInstance } from 'apiCalls/utils/axiosInstance';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport { TokenOptionType, TokenInfoResponse } from 'types/tokens.types';\nimport { getIdentifierType } from 'utils/validation/getIdentifierType';\n\nexport async function getTokenDetails({\n tokenId\n}: {\n tokenId: string;\n}): Promise<TokenOptionType> {\n const network = networkSelector(getState());\n const { isNft } = getIdentifierType(tokenId);\n\n const tokenIdentifier = tokenId;\n const tokenEndpoint = isNft ? NFTS_ENDPOINT : TOKENS_ENDPOINT;\n\n if (!tokenIdentifier) {\n return {\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: ''\n };\n }\n\n try {\n const { data: selectedToken } = await axiosInstance.get<TokenInfoResponse>(\n `${network.apiAddress}/${tokenEndpoint}/${tokenIdentifier}`\n );\n\n const tokenDecimals = selectedToken\n ? selectedToken?.decimals\n : Number(network.decimals);\n const tokenLabel = selectedToken ? selectedToken?.name : '';\n const tokenAvatar = selectedToken\n ? selectedToken?.assets?.svgUrl ?? selectedToken?.media?.[0]?.thumbnailUrl\n : '';\n\n return {\n tokenDecimals: tokenDecimals,\n tokenLabel,\n type: selectedToken?.type,\n tokenAvatar,\n identifier: selectedToken?.identifier,\n assets: selectedToken?.assets,\n esdtPrice: selectedToken?.price,\n ticker: selectedToken?.ticker,\n name: selectedToken?.name\n };\n } catch (error: any) {\n return {\n error: `Error fetching token ${tokenIdentifier}: ${error.toString()}`,\n tokenDecimals: Number(network.decimals),\n tokenLabel: '',\n tokenAvatar: '',\n identifier: tokenIdentifier\n };\n }\n}\n"],
5
- "mappings": "oNAOA,eAAsBA,EAAgB,CACpC,QAAAC,CACF,EAE6B,CAC3B,IAAMC,EAAUC,EAAgBC,EAAS,CAAC,EACpC,CAAE,MAAAC,CAAM,EAAIC,EAAkBL,CAAO,EAErCM,EAAkBN,EAClBO,EAAgBH,EAAQI,EAAgBC,EAE9C,GAAI,CAACH,EACH,MAAO,CACL,cAAe,OAAOL,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,EACf,EAGF,GAAI,CACF,GAAM,CAAE,KAAMS,CAAc,EAAI,MAAMC,EAAc,IAClD,GAAGV,EAAQ,UAAU,IAAIM,CAAa,IAAID,CAAe,EAC3D,EAEMM,EAAgBF,EAClBA,GAAe,SACf,OAAOT,EAAQ,QAAQ,EACrBY,EAAaH,EAAgBA,GAAe,KAAO,GACnDI,EAAcJ,EAChBA,GAAe,QAAQ,QAAUA,GAAe,QAAQ,CAAC,GAAG,aAC5D,GAEJ,MAAO,CACL,cAAeE,EACf,WAAAC,EACA,KAAMH,GAAe,KACrB,YAAAI,EACA,WAAYJ,GAAe,WAC3B,OAAQA,GAAe,OACvB,UAAWA,GAAe,MAC1B,OAAQA,GAAe,OACvB,KAAMA,GAAe,IACvB,CACF,OAASK,EAAY,CACnB,MAAO,CACL,MAAO,wBAAwBT,CAAe,KAAKS,EAAM,SAAS,CAAC,GACnE,cAAe,OAAOd,EAAQ,QAAQ,EACtC,WAAY,GACZ,YAAa,GACb,WAAYK,CACd,CACF,CACF",
6
- "names": ["getTokenDetails", "tokenId", "network", "networkSelector", "getState", "isNft", "getIdentifierType", "tokenIdentifier", "tokenEndpoint", "NFTS_ENDPOINT", "TOKENS_ENDPOINT", "selectedToken", "axiosInstance", "tokenDecimals", "tokenLabel", "tokenAvatar", "error"]
7
- }
@@ -1,2 +0,0 @@
1
- import{s as o}from"./chunk-E7M6PNMF.mjs";import{a as t}from"./chunk-UERJ6AKK.mjs";function n(r=o()){return t(r)}export{n as a};
2
- //# sourceMappingURL=chunk-O4V2ADKJ.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/methods/account/getAccount.ts"],
4
- "sourcesContent": ["import { accountSelector } from 'store/selectors';\nimport { getState } from 'store/store';\n\nexport function getAccount(state = getState()) {\n return accountSelector(state);\n}\n"],
5
- "mappings": "kFAGO,SAASA,EAAWC,EAAQC,EAAS,EAAG,CAC7C,OAAOC,EAAgBF,CAAK,CAC9B",
6
- "names": ["getAccount", "state", "getState", "accountSelector"]
7
- }
@@ -1,2 +0,0 @@
1
- import{e as o,f as a,g as i,h as r}from"./chunk-NGM3AVCY.mjs";import{s as c}from"./chunk-E7M6PNMF.mjs";function b(){let t=c(),l=r(t),u=i(t),T=a(t),d=o(t),e=Object.keys(d)?.length>0,n=!e&&Object.keys(l)?.length>0,s=!e&&!n&&Object.keys(u)?.length>0,f=!e&&!n&&!s&&Object.keys(T).length>0;return{pending:e,timedOut:n,fail:s,success:f}}export{b as a};
2
- //# sourceMappingURL=chunk-O7AQPRYI.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getActiveTransactionsStatus.ts"],
4
- "sourcesContent": ["import {\n failedTransactionsSelector,\n pendingTransactionsSelector,\n successfulTransactionsSelector,\n timedOutTransactionsSelector\n} from 'store/selectors/transactionsSelector';\nimport { getState } from 'store/store';\n\nexport interface GetActiveTransactionsStatusReturnType {\n timedOut: boolean;\n fail: boolean;\n success: boolean;\n pending: boolean;\n}\n\nexport function getActiveTransactionsStatus(): GetActiveTransactionsStatusReturnType {\n const state = getState();\n const timedOutTransactions = timedOutTransactionsSelector(state);\n const failedTransactions = failedTransactionsSelector(state);\n const successfulTransactions = successfulTransactionsSelector(state);\n const pendingTransactions = pendingTransactionsSelector(state);\n const pending = Object.keys(pendingTransactions)?.length > 0;\n const timedOut = !pending && Object.keys(timedOutTransactions)?.length > 0;\n\n const fail =\n !pending && !timedOut && Object.keys(failedTransactions)?.length > 0;\n\n const success =\n !pending &&\n !timedOut &&\n !fail &&\n Object.keys(successfulTransactions).length > 0;\n\n return {\n pending,\n timedOut,\n fail,\n success\n };\n}\n"],
5
- "mappings": "uGAeO,SAASA,GAAqE,CACnF,IAAMC,EAAQC,EAAS,EACjBC,EAAuBC,EAA6BH,CAAK,EACzDI,EAAqBC,EAA2BL,CAAK,EACrDM,EAAyBC,EAA+BP,CAAK,EAC7DQ,EAAsBC,EAA4BT,CAAK,EACvDU,EAAU,OAAO,KAAKF,CAAmB,GAAG,OAAS,EACrDG,EAAW,CAACD,GAAW,OAAO,KAAKR,CAAoB,GAAG,OAAS,EAEnEU,EACJ,CAACF,GAAW,CAACC,GAAY,OAAO,KAAKP,CAAkB,GAAG,OAAS,EAE/DS,EACJ,CAACH,GACD,CAACC,GACD,CAACC,GACD,OAAO,KAAKN,CAAsB,EAAE,OAAS,EAE/C,MAAO,CACL,QAAAI,EACA,SAAAC,EACA,KAAAC,EACA,QAAAC,CACF,CACF",
6
- "names": ["getActiveTransactionsStatus", "state", "getState", "timedOutTransactions", "timedOutTransactionsSelector", "failedTransactions", "failedTransactionsSelector", "successfulTransactions", "successfulTransactionsSelector", "pendingTransactions", "pendingTransactionsSelector", "pending", "timedOut", "fail", "success"]
7
- }
@@ -1,2 +0,0 @@
1
- import m from"lodash.isstring";var f=t=>{if(t<=0||isNaN(t)||!t||m(t))return"N/A time";if(t>=86400)return"more than one day";let r=Math.floor(t/3600),n=t%3600,o=Math.floor(n/60),e=n%60,i=[];return r>0&&i.push(`${r}h`),o>0&&i.push(`${o}min`),e>0&&i.push(`${e}sec`),i.join(" ")};export{f as a};
2
- //# sourceMappingURL=chunk-OA5BWGGO.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.ts"],
4
- "sourcesContent": ["import isString from 'lodash.isstring';\n\nexport const secondsToTimeString = (seconds: number) => {\n if (seconds <= 0 || isNaN(seconds) || !seconds || isString(seconds)) {\n return 'N/A time';\n }\n\n if (seconds >= 86400) {\n return 'more than one day';\n }\n\n const hours = Math.floor(seconds / 3600);\n const remainingSeconds = seconds % 3600;\n const minutes = Math.floor(remainingSeconds / 60);\n const remainingSecondsAfterMinutes = remainingSeconds % 60;\n\n const parts = [];\n if (hours > 0) {\n parts.push(`${hours}h`);\n }\n if (minutes > 0) {\n parts.push(`${minutes}min`);\n }\n if (remainingSecondsAfterMinutes > 0) {\n parts.push(`${remainingSecondsAfterMinutes}sec`);\n }\n\n return parts.join(' ');\n};\n"],
5
- "mappings": "AAAA,OAAOA,MAAc,kBAEd,IAAMC,EAAuBC,GAAoB,CACtD,GAAIA,GAAW,GAAK,MAAMA,CAAO,GAAK,CAACA,GAAWF,EAASE,CAAO,EAChE,MAAO,WAGT,GAAIA,GAAW,MACb,MAAO,oBAGT,IAAMC,EAAQ,KAAK,MAAMD,EAAU,IAAI,EACjCE,EAAmBF,EAAU,KAC7BG,EAAU,KAAK,MAAMD,EAAmB,EAAE,EAC1CE,EAA+BF,EAAmB,GAElDG,EAAQ,CAAC,EACf,OAAIJ,EAAQ,GACVI,EAAM,KAAK,GAAGJ,CAAK,GAAG,EAEpBE,EAAU,GACZE,EAAM,KAAK,GAAGF,CAAO,KAAK,EAExBC,EAA+B,GACjCC,EAAM,KAAK,GAAGD,CAA4B,KAAK,EAG1CC,EAAM,KAAK,GAAG,CACvB",
6
- "names": ["isString", "secondsToTimeString", "seconds", "hours", "remainingSeconds", "minutes", "remainingSecondsAfterMinutes", "parts"]
7
- }
@@ -1,2 +0,0 @@
1
- import{d as c}from"./chunk-L7L56ZTG.mjs";import{a as T}from"./chunk-V4YC4AKQ.mjs";import{a as p}from"./chunk-22ELCCFJ.mjs";import{b as m}from"./chunk-ZS4EBCWC.mjs";import{a as k}from"./chunk-B72JAXSF.mjs";import{a as g}from"./chunk-6GREKTLP.mjs";import{a as f}from"./chunk-ZJ2WPN2K.mjs";import{a as d}from"./chunk-HS34AFHY.mjs";import{a as s}from"./chunk-B3IKUIRK.mjs";import{a as r}from"./chunk-YJCTRUJT.mjs";import{a as t}from"./chunk-DBIIY2TX.mjs";import{a}from"./chunk-7UA7QAEF.mjs";function z({transaction:e,address:h,explorerAddress:o}){let y=e.tokenIdentifier??m(e.data).tokenId,n=d(e),u=f(e),l={timeAgo:c(e.timestamp*1e3,!0),tooltip:s({value:e.timestamp,noSeconds:!1,utc:!0})},v=k({address:h,transaction:e,receiver:n}),I={actionDescription:e.action?.description,name:T(e)},S=g(e),D=r({explorerAddress:o,to:t.accountDetails(e.sender)}),L=r({explorerAddress:o,to:t.accountDetails(n)}),A=r({explorerAddress:o,to:t.senderShard(e.senderShard)}),H=r({explorerAddress:o,to:t.receiverShard(e.receiverShard)}),i=e.originalTxHash||e.txHash,x=r({explorerAddress:o,to:t.transactionDetails(i)});return{...e,txHash:i,tokenIdentifier:y,receiver:n,receiverAssets:u,transactionDetails:{age:l,direction:v,method:I,iconInfo:p(e),transactionTokens:S,isContract:a(e.sender)},links:{senderLink:D,receiverLink:L,senderShardLink:A,receiverShardLink:H,transactionLink:x}}}export{z as a};
2
- //# sourceMappingURL=chunk-OFVUWY2K.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.ts"],
4
- "sourcesContent": ["import {\n InterpretedTransactionType,\n ServerTransactionType,\n TransactionAgeType,\n TransactionMethodType\n} from 'types/serverTransactions.types';\nimport { TokenArgumentType } from 'types/serverTransactions.types';\nimport { timeAgo } from 'utils/operations/timeRemaining';\nimport { isContract } from 'utils/validation';\nimport { explorerUrlBuilder } from '../explorerUrlBuilder';\nimport { getExplorerLink } from '../getExplorerLink';\nimport { getHumanReadableTimeFormat } from '../getHumanReadableTimeFormat';\nimport { getTokenFromData } from './helpers/getTokenFromData';\nimport { getTransactionIconInfo } from './helpers/getTransactionIconInfo';\nimport { getTransactionMethod } from './helpers/getTransactionMethod';\nimport { getTransactionReceiver } from './helpers/getTransactionReceiver';\nimport { getTransactionReceiverAssets } from './helpers/getTransactionReceiverAssets';\nimport { getTransactionTokens } from './helpers/getTransactionTokens';\nimport { getTransactionTransferType } from './helpers/getTransactionTransferType';\n\nexport interface GetInterpretedTransactionType {\n address: string;\n explorerAddress: string;\n transaction: ServerTransactionType;\n}\n\nexport function getInterpretedTransaction({\n transaction,\n address,\n explorerAddress\n}: GetInterpretedTransactionType): InterpretedTransactionType {\n const tokenIdentifier =\n transaction.tokenIdentifier ?? getTokenFromData(transaction.data).tokenId;\n\n const receiver = getTransactionReceiver(transaction);\n const receiverAssets = getTransactionReceiverAssets(transaction);\n const age: TransactionAgeType = {\n timeAgo: timeAgo(transaction.timestamp * 1000, true),\n tooltip: getHumanReadableTimeFormat({\n value: transaction.timestamp,\n noSeconds: false,\n utc: true\n })\n };\n\n const direction = getTransactionTransferType({\n address,\n transaction,\n receiver\n });\n\n const method: TransactionMethodType = {\n actionDescription: transaction.action?.description,\n name: getTransactionMethod(transaction)\n };\n\n const transactionTokens: TokenArgumentType[] =\n getTransactionTokens(transaction);\n\n const senderLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(transaction.sender)\n });\n\n const receiverLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.accountDetails(receiver)\n });\n\n const senderShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.senderShard(transaction.senderShard)\n });\n\n const receiverShardLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.receiverShard(transaction.receiverShard)\n });\n\n const transactionHash = transaction.originalTxHash || transaction.txHash;\n\n const transactionLink = getExplorerLink({\n explorerAddress,\n to: explorerUrlBuilder.transactionDetails(transactionHash)\n });\n\n return {\n ...transaction,\n txHash: transactionHash,\n tokenIdentifier,\n receiver,\n receiverAssets,\n transactionDetails: {\n age,\n direction,\n method,\n iconInfo: getTransactionIconInfo(transaction),\n transactionTokens,\n isContract: isContract(transaction.sender)\n },\n links: {\n senderLink,\n receiverLink,\n senderShardLink,\n receiverShardLink,\n transactionLink\n }\n };\n}\n"],
5
- "mappings": "ueA0BO,SA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A,aAAAG,EACA,gBAAAC,EACA,kBAAAC,EACA,gBAAAE,CACF,CACF,CACF",
6
- "names": ["getInterpretedTransaction", "transaction", "address", "explorerAddress", "tokenIdentifier", "getTokenFromData", "receiver", "getTransactionReceiver", "receiverAssets", "getTransactionReceiverAssets", "age", "timeAgo", "getHumanReadableTimeFormat", "direction", "getTransactionTransferType", "method", "getTransactionMethod", "transactionTokens", "getTransactionTokens", "senderLink", "getExplorerLink", "explorerUrlBuilder", "receiverLink", "senderShardLink", "receiverShardLink", "transactionHash", "transactionLink", "getTransactionIconInfo", "isContract"]
7
- }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-OJX2TSAZ.mjs.map