@multiversx/sdk-dapp 5.0.0-alpha.1 → 5.0.0-alpha.10

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 (854) hide show
  1. package/README.md +311 -77
  2. package/out/__chunks__/{chunk-IXJOO5U4.mjs → chunk-266T724O.mjs} +2 -2
  3. package/out/__chunks__/{chunk-7OTTISMZ.mjs → chunk-26XVDGTO.mjs} +2 -2
  4. package/out/__chunks__/{chunk-X2JK27T3.mjs → chunk-2FD2AMKA.mjs} +2 -2
  5. package/out/__chunks__/chunk-2I4BJK55.mjs +2 -0
  6. package/out/__chunks__/chunk-2I4BJK55.mjs.map +7 -0
  7. package/out/__chunks__/{chunk-XU34NXIS.mjs → chunk-2ONA7QPD.mjs} +2 -2
  8. package/out/__chunks__/{chunk-675ZW4IF.mjs → chunk-2SOS3KAT.mjs} +2 -2
  9. package/out/__chunks__/chunk-35XMV5ZL.mjs +2 -0
  10. package/out/__chunks__/{chunk-UF45HLIK.mjs → chunk-3MWXXTQQ.mjs} +2 -2
  11. package/out/__chunks__/chunk-445MWKMT.mjs +2 -0
  12. package/out/__chunks__/chunk-445MWKMT.mjs.map +7 -0
  13. package/out/__chunks__/{chunk-TLKMUVQJ.mjs → chunk-45WVS4H5.mjs} +2 -2
  14. package/out/__chunks__/{chunk-2HWIJ4CV.mjs → chunk-4OEPT2V4.mjs} +2 -2
  15. package/out/__chunks__/chunk-55SACSMS.mjs +2 -0
  16. package/out/__chunks__/chunk-55SACSMS.mjs.map +7 -0
  17. package/out/__chunks__/chunk-5W4JJSFM.mjs +2 -0
  18. package/out/__chunks__/chunk-5W4JJSFM.mjs.map +7 -0
  19. package/out/__chunks__/{chunk-AJEWAECH.mjs → chunk-66JBXP4O.mjs} +2 -2
  20. package/out/__chunks__/chunk-6DNPTAY5.mjs +2 -0
  21. package/out/__chunks__/chunk-6F2QKI7Q.mjs +2 -0
  22. package/out/__chunks__/{chunk-C3KLB5TA.mjs.map → chunk-6F2QKI7Q.mjs.map} +1 -1
  23. package/out/__chunks__/chunk-6WF4B5EG.mjs +2 -0
  24. package/out/__chunks__/chunk-6WF4B5EG.mjs.map +7 -0
  25. package/out/__chunks__/{chunk-PEDR76UT.mjs → chunk-72PZKSKF.mjs} +2 -2
  26. package/out/__chunks__/chunk-76NGDJLC.mjs +2 -0
  27. package/out/__chunks__/chunk-76NGDJLC.mjs.map +7 -0
  28. package/out/__chunks__/{chunk-TYYA6E7F.mjs → chunk-7BP53CXF.mjs} +2 -2
  29. package/out/__chunks__/{chunk-M3C5NS6M.mjs → chunk-7ECP7Y7M.mjs} +2 -2
  30. package/out/__chunks__/chunk-7LUZJPO5.mjs +2 -0
  31. package/out/__chunks__/{chunk-UFMHCVBL.mjs.map → chunk-7LUZJPO5.mjs.map} +3 -3
  32. package/out/__chunks__/{chunk-PPA7AFVD.mjs → chunk-7WTWD4TL.mjs} +2 -2
  33. package/out/__chunks__/{chunk-2AAKENSP.mjs → chunk-A5EXECZV.mjs} +2 -2
  34. package/out/__chunks__/{chunk-LETBBKOK.mjs → chunk-ASWTHX52.mjs} +2 -2
  35. package/out/__chunks__/{chunk-PDT22D2C.mjs → chunk-AV4HSXYZ.mjs} +2 -2
  36. package/out/__chunks__/{chunk-3OKWBJFM.mjs → chunk-B2RDSGON.mjs} +2 -2
  37. package/out/__chunks__/{chunk-KMFYDHOY.mjs → chunk-BRBIUWAW.mjs} +2 -2
  38. package/out/__chunks__/{chunk-3NG7LKF4.mjs → chunk-BSWV5MEC.mjs} +2 -2
  39. package/out/__chunks__/chunk-BTRCRGTK.mjs +2 -0
  40. package/out/__chunks__/chunk-BTRCRGTK.mjs.map +7 -0
  41. package/out/__chunks__/{chunk-NCUYIZYI.mjs → chunk-BVYTCDU6.mjs} +2 -2
  42. package/out/__chunks__/{chunk-RNCF2III.mjs → chunk-C5TNEYN6.mjs} +2 -2
  43. package/out/__chunks__/chunk-C6E6XICI.mjs +2 -0
  44. package/out/__chunks__/{chunk-SBQJGS63.mjs → chunk-CCDTUFFG.mjs} +2 -2
  45. package/out/__chunks__/chunk-CEDRWVRS.mjs +2 -0
  46. package/out/__chunks__/chunk-CEDRWVRS.mjs.map +7 -0
  47. package/out/__chunks__/chunk-CNUQX7FI.mjs +2 -0
  48. package/out/__chunks__/{chunk-NJ73RJ4B.mjs → chunk-CNWR7SER.mjs} +2 -2
  49. package/out/__chunks__/{chunk-OBRX5K2D.mjs → chunk-D7NHU6UF.mjs} +2 -2
  50. package/out/__chunks__/{chunk-OBRX5K2D.mjs.map → chunk-D7NHU6UF.mjs.map} +2 -2
  51. package/out/__chunks__/chunk-DEMKQ3CQ.mjs +2 -0
  52. package/out/__chunks__/chunk-DEMKQ3CQ.mjs.map +7 -0
  53. package/out/__chunks__/chunk-DFNESXSW.mjs +2 -0
  54. package/out/__chunks__/{chunk-SNKFFCSF.mjs → chunk-DHPD6E7P.mjs} +2 -2
  55. package/out/__chunks__/{chunk-M6ATGCOM.mjs → chunk-DNHKXKYY.mjs} +2 -2
  56. package/out/__chunks__/{chunk-CN4RHVUE.mjs → chunk-DOUNJCQ4.mjs} +2 -2
  57. package/out/__chunks__/{chunk-CN4RHVUE.mjs.map → chunk-DOUNJCQ4.mjs.map} +2 -2
  58. package/out/__chunks__/chunk-DT6YLEPL.mjs +2 -0
  59. package/out/__chunks__/{chunk-OF6HBWFR.mjs → chunk-DV3XIKOX.mjs} +2 -2
  60. package/out/__chunks__/chunk-EDSX3LFL.mjs +2 -0
  61. package/out/__chunks__/chunk-EDSX3LFL.mjs.map +7 -0
  62. package/out/__chunks__/{chunk-LNABNVAO.mjs → chunk-EOX35D4L.mjs} +2 -2
  63. package/out/__chunks__/chunk-FEFZKA2B.mjs +2 -0
  64. package/out/__chunks__/{chunk-I66YT2S2.mjs → chunk-FMUDQBZE.mjs} +2 -2
  65. package/out/__chunks__/chunk-FPHLXGAT.mjs +2 -0
  66. package/out/__chunks__/chunk-FPHLXGAT.mjs.map +7 -0
  67. package/out/__chunks__/{chunk-3IYQANTT.mjs → chunk-FUYWIC54.mjs} +2 -2
  68. package/out/__chunks__/chunk-HEKAFHIA.mjs +2 -0
  69. package/out/__chunks__/chunk-HEKAFHIA.mjs.map +7 -0
  70. package/out/__chunks__/chunk-I7ODJJY3.mjs +2 -0
  71. package/out/__chunks__/chunk-I7ODJJY3.mjs.map +7 -0
  72. package/out/__chunks__/chunk-IEJARRBP.mjs +2 -0
  73. package/out/__chunks__/chunk-IEJARRBP.mjs.map +7 -0
  74. package/out/__chunks__/{chunk-FJIH6TWP.mjs → chunk-IJB6XDNR.mjs} +2 -2
  75. package/out/__chunks__/chunk-INBKWOKQ.mjs +2 -0
  76. package/out/__chunks__/{chunk-UYUKTC4X.mjs → chunk-IOE5AG2R.mjs} +2 -2
  77. package/out/__chunks__/{chunk-SF7XXVIO.mjs → chunk-ISPRIGOE.mjs} +2 -2
  78. package/out/__chunks__/{chunk-DZ5L5MZT.mjs → chunk-IWB45745.mjs} +2 -2
  79. package/out/__chunks__/chunk-IWB45745.mjs.map +7 -0
  80. package/out/__chunks__/{chunk-L2JWXTGG.mjs → chunk-J3YO25EK.mjs} +2 -2
  81. package/out/__chunks__/chunk-J4CPYFK6.mjs +2 -0
  82. package/out/__chunks__/{chunk-K3G3SPRT.mjs.map → chunk-J4CPYFK6.mjs.map} +1 -1
  83. package/out/__chunks__/{chunk-6ZDBHK76.mjs → chunk-JIJSBQEU.mjs} +2 -2
  84. package/out/__chunks__/chunk-JKSF2U3C.mjs +2 -0
  85. package/out/__chunks__/chunk-JKSF2U3C.mjs.map +7 -0
  86. package/out/__chunks__/chunk-JQEKTKZR.mjs +2 -0
  87. package/out/__chunks__/chunk-JQEKTKZR.mjs.map +7 -0
  88. package/out/__chunks__/chunk-JQU6F2FL.mjs +2 -0
  89. package/out/__chunks__/chunk-JSUJOYYB.mjs +2 -0
  90. package/out/__chunks__/{chunk-DZ3UVNJK.mjs.map → chunk-JSUJOYYB.mjs.map} +2 -2
  91. package/out/__chunks__/chunk-JZWEJ7SP.mjs +2 -0
  92. package/out/__chunks__/chunk-JZWEJ7SP.mjs.map +7 -0
  93. package/out/__chunks__/{chunk-G2DLIXFQ.mjs → chunk-K3WBBSXJ.mjs} +2 -2
  94. package/out/__chunks__/chunk-KN7QMGWV.mjs +2 -0
  95. package/out/__chunks__/{chunk-U2TDLWBA.mjs.map → chunk-KN7QMGWV.mjs.map} +1 -1
  96. package/out/__chunks__/{chunk-OYZFSQEK.mjs → chunk-KPDCSGZD.mjs} +2 -2
  97. package/out/__chunks__/chunk-KRBUXJ6B.mjs +2 -0
  98. package/out/__chunks__/chunk-KRBUXJ6B.mjs.map +7 -0
  99. package/out/__chunks__/{chunk-TAI3I5BS.mjs → chunk-KSKOSHYV.mjs} +2 -2
  100. package/out/__chunks__/{chunk-KJCZ5HAU.mjs → chunk-LM5SF2NG.mjs} +2 -2
  101. package/out/__chunks__/{chunk-SLLCCPCW.mjs → chunk-LOEJYVD2.mjs} +2 -2
  102. package/out/__chunks__/{chunk-SLLCCPCW.mjs.map → chunk-LOEJYVD2.mjs.map} +1 -1
  103. package/out/__chunks__/{chunk-243OAHYD.mjs → chunk-MQ5V5AJU.mjs} +2 -2
  104. package/out/__chunks__/chunk-MQ5V5AJU.mjs.map +7 -0
  105. package/out/__chunks__/chunk-N5FYAXCA.mjs +2 -0
  106. package/out/__chunks__/{chunk-4PV6SFXA.mjs → chunk-NBDECUQ3.mjs} +2 -2
  107. package/out/__chunks__/chunk-NHXPNROG.mjs +2 -0
  108. package/out/__chunks__/chunk-NHXPNROG.mjs.map +7 -0
  109. package/out/__chunks__/chunk-NO7YH2FT.mjs +2 -0
  110. package/out/__chunks__/chunk-O3V4TGXK.mjs +2 -0
  111. package/out/__chunks__/{chunk-GHDPXQZ5.mjs.map → chunk-O3V4TGXK.mjs.map} +3 -3
  112. package/out/__chunks__/{chunk-TVBOE2RK.mjs → chunk-OEPTRJEB.mjs} +1 -1
  113. package/out/__chunks__/{chunk-TVBOE2RK.mjs.map → chunk-OEPTRJEB.mjs.map} +1 -1
  114. package/out/__chunks__/chunk-OUNMWRYD.mjs +2 -0
  115. package/out/__chunks__/{chunk-YVVDA6LN.mjs.map → chunk-OUNMWRYD.mjs.map} +1 -1
  116. package/out/__chunks__/chunk-P2C5G6H6.mjs +2 -0
  117. package/out/__chunks__/chunk-P2C5G6H6.mjs.map +7 -0
  118. package/out/__chunks__/chunk-P5RR3CVM.mjs +2 -0
  119. package/out/__chunks__/{chunk-W4GE4ZDP.mjs → chunk-PRULMJH7.mjs} +2 -2
  120. package/out/__chunks__/chunk-QATM2UUN.mjs +2 -0
  121. package/out/__chunks__/chunk-QATM2UUN.mjs.map +7 -0
  122. package/out/__chunks__/{chunk-HQJG7CFV.mjs → chunk-QAVA2C6Y.mjs} +2 -2
  123. package/out/__chunks__/{chunk-LTF535HP.mjs → chunk-QJSB5NX4.mjs} +2 -2
  124. package/out/__chunks__/{chunk-WW4BBBLW.mjs → chunk-QKHHW26T.mjs} +2 -2
  125. package/out/__chunks__/{chunk-YRIDJGOK.mjs → chunk-QM67ZEC5.mjs} +2 -2
  126. package/out/__chunks__/{chunk-YAXVLGG3.mjs → chunk-QP2EL7IE.mjs} +2 -2
  127. package/out/__chunks__/{chunk-VIJUIJ4V.mjs → chunk-QSBLXZFC.mjs} +2 -2
  128. package/out/__chunks__/chunk-R53MCZI6.mjs +2 -0
  129. package/out/__chunks__/chunk-R53MCZI6.mjs.map +7 -0
  130. package/out/__chunks__/{chunk-YVD46DFI.mjs → chunk-RHFDU5Y4.mjs} +2 -2
  131. package/out/__chunks__/{chunk-5WVAF7RB.mjs → chunk-S5FDHOXH.mjs} +2 -2
  132. package/out/__chunks__/{chunk-NM3KJ3EA.mjs → chunk-SH5S4RA4.mjs} +2 -2
  133. package/out/__chunks__/{chunk-7RX2A4WD.mjs → chunk-SJYCKFH4.mjs} +2 -2
  134. package/out/__chunks__/{chunk-C4CJOZ4L.mjs → chunk-SYQ7SILM.mjs} +2 -2
  135. package/out/__chunks__/chunk-TEPQ5G4B.mjs +2 -0
  136. package/out/__chunks__/chunk-TEPQ5G4B.mjs.map +7 -0
  137. package/out/__chunks__/{chunk-7YGJXJUC.mjs → chunk-TMP3REGQ.mjs} +2 -2
  138. package/out/__chunks__/chunk-TQA3JDNV.mjs +2 -0
  139. package/out/__chunks__/chunk-TQA3JDNV.mjs.map +7 -0
  140. package/out/__chunks__/chunk-TR6FQZGE.mjs +2 -0
  141. package/out/__chunks__/chunk-TRMQFQOQ.mjs +1 -0
  142. package/out/__chunks__/chunk-UZWRIJVB.mjs +2 -0
  143. package/out/__chunks__/{chunk-PV5A7PX4.mjs.map → chunk-UZWRIJVB.mjs.map} +2 -2
  144. package/out/__chunks__/{chunk-LD4NALNZ.mjs → chunk-VCGAO6HH.mjs} +2 -2
  145. package/out/__chunks__/{chunk-QQ4OPT5A.mjs → chunk-VJ2DAL5M.mjs} +2 -2
  146. package/out/__chunks__/chunk-VMFJUT3G.mjs +2 -0
  147. package/out/__chunks__/chunk-VMFJUT3G.mjs.map +7 -0
  148. package/out/__chunks__/chunk-VSUCRJYB.mjs +2 -0
  149. package/out/__chunks__/chunk-WFAPPSOI.mjs +1 -0
  150. package/out/__chunks__/chunk-X7NCYKWT.mjs +2 -0
  151. package/out/__chunks__/chunk-X7NCYKWT.mjs.map +7 -0
  152. package/out/__chunks__/{chunk-JXO7XRIR.mjs → chunk-XFZOOFY5.mjs} +2 -2
  153. package/out/__chunks__/{chunk-RVW2ZWCR.mjs → chunk-XHIIMAIQ.mjs} +2 -2
  154. package/out/__chunks__/{chunk-JGULQG2H.mjs → chunk-XLHFU7XR.mjs} +2 -2
  155. package/out/__chunks__/chunk-XOJHIJKX.mjs +2 -0
  156. package/out/__chunks__/chunk-XOJHIJKX.mjs.map +7 -0
  157. package/out/__chunks__/{chunk-6GNOK3TJ.mjs → chunk-YB2E5WOO.mjs} +1 -1
  158. package/out/__chunks__/chunk-YB2E5WOO.mjs.map +7 -0
  159. package/out/__chunks__/{chunk-JTQCNFCR.mjs → chunk-YB7AHPBR.mjs} +2 -2
  160. package/out/__chunks__/chunk-YEXBSKXL.mjs +2 -0
  161. package/out/__chunks__/chunk-YEXBSKXL.mjs.map +7 -0
  162. package/out/__chunks__/{chunk-ENTPR3MV.mjs → chunk-YN5ARP6C.mjs} +2 -2
  163. package/out/__chunks__/{chunk-XO5D3FNU.mjs → chunk-YPCJBYUY.mjs} +2 -2
  164. package/out/__chunks__/{chunk-Y3YLDFXK.mjs → chunk-YQ3LRPGM.mjs} +2 -2
  165. package/out/__chunks__/{chunk-MCZUQPRA.mjs → chunk-YTFYVPZO.mjs} +2 -2
  166. package/out/__chunks__/chunk-Z5CDCI3Y.mjs +2 -0
  167. package/out/__chunks__/{chunk-OTBTZ3NI.mjs.map → chunk-Z5CDCI3Y.mjs.map} +1 -1
  168. package/out/__chunks__/chunk-Z6R3RDWW.mjs +2 -0
  169. package/out/__chunks__/{chunk-YPNKNMW5.mjs → chunk-ZEIGMAXW.mjs} +2 -2
  170. package/out/__chunks__/chunk-ZEUNADU7.mjs +2 -0
  171. package/out/__chunks__/{chunk-HC5QPKZT.mjs → chunk-ZHIYA3M7.mjs} +2 -2
  172. package/out/__chunks__/{chunk-42KJRIAT.mjs → chunk-ZK5BKLTG.mjs} +2 -2
  173. package/out/__chunks__/chunk-ZU4LTEAC.mjs +2 -0
  174. package/out/__chunks__/chunk-ZU4LTEAC.mjs.map +7 -0
  175. package/out/__mocks__/accountConfig.mjs +1 -1
  176. package/out/__mocks__/data/index.mjs +1 -1
  177. package/out/__mocks__/index.mjs +1 -1
  178. package/out/__mocks__/server.mjs +1 -1
  179. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  180. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  181. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  182. package/out/apiCalls/index.mjs +1 -1
  183. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  184. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  185. package/out/apiCalls/tokens/index.mjs +1 -1
  186. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  187. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  188. package/out/apiCalls/transactions/getTransactionByHash.mjs.map +1 -1
  189. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  190. package/out/constants/UITags.enum.d.ts +2 -2
  191. package/out/constants/UITags.enum.js +2 -2
  192. package/out/constants/UITags.enum.js.map +1 -1
  193. package/out/constants/UITags.enum.mjs +1 -1
  194. package/out/constants/browser.constants.mjs +1 -1
  195. package/out/constants/index.mjs +1 -1
  196. package/out/constants/providerFactory.constants.d.ts +2 -1
  197. package/out/constants/providerFactory.constants.js +1 -0
  198. package/out/constants/providerFactory.constants.js.map +1 -1
  199. package/out/constants/providerFactory.constants.mjs +1 -1
  200. package/out/constants/storage.constants.mjs +1 -1
  201. package/out/constants/window.constants.d.ts +1 -0
  202. package/out/constants/window.constants.js +2 -1
  203. package/out/constants/window.constants.js.map +1 -1
  204. package/out/constants/window.constants.mjs +1 -1
  205. package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
  206. package/out/controllers/FormatAmountController/index.mjs +1 -1
  207. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  208. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  209. package/out/controllers/TransactionsTableController/TransactionsTableController.d.ts +2 -2
  210. package/out/controllers/TransactionsTableController/TransactionsTableController.js +2 -2
  211. package/out/controllers/TransactionsTableController/TransactionsTableController.js.map +1 -1
  212. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  213. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  214. package/out/controllers/TransactionsTableController/transactionsTableController.types.d.ts +8 -11
  215. package/out/controllers/index.mjs +1 -1
  216. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.d.ts +10 -0
  217. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.js +45 -0
  218. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.js.map +1 -0
  219. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs +2 -0
  220. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs.map +7 -0
  221. package/out/index.mjs +1 -1
  222. package/out/lib/sdkCore.d.ts +1 -1
  223. package/out/lib/sdkCore.js +2 -1
  224. package/out/lib/sdkCore.js.map +1 -1
  225. package/out/lib/sdkCore.mjs +1 -1
  226. package/out/lib/sdkDappUi.d.ts +2 -2
  227. package/out/lib/sdkDappUi.mjs +1 -1
  228. package/out/lib/sdkDappUtils.d.ts +1 -1
  229. package/out/lib/sdkDappUtils.mjs +1 -1
  230. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +7 -1
  231. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js +6 -2
  232. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +1 -1
  233. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  234. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  235. package/out/managers/TransactionManager/TransactionManager.d.ts +3 -5
  236. package/out/managers/TransactionManager/TransactionManager.js +2 -1
  237. package/out/managers/TransactionManager/TransactionManager.js.map +1 -1
  238. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  239. package/out/managers/TransactionManager/TransactionManager.types.d.ts +12 -0
  240. package/out/managers/TransactionManager/TransactionManager.types.js +3 -0
  241. package/out/managers/TransactionManager/TransactionManager.types.js.map +1 -0
  242. package/out/managers/TransactionManager/TransactionManager.types.mjs +1 -0
  243. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  244. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  245. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  246. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js +5 -4
  247. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.js.map +1 -1
  248. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.mjs +1 -1
  249. package/out/managers/TransactionManager/index.mjs +1 -1
  250. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js +0 -37
  251. package/out/managers/TransactionManager/tests/isCrossShardTransaction.test.js.map +1 -1
  252. package/out/managers/UnlockPanelManager/UnlockPanelManager.d.ts +13 -8
  253. package/out/managers/UnlockPanelManager/UnlockPanelManager.js +32 -13
  254. package/out/managers/UnlockPanelManager/UnlockPanelManager.js.map +1 -1
  255. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  256. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.d.ts +21 -14
  257. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
  258. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  259. package/out/managers/index.mjs +1 -1
  260. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.d.ts +2 -2
  261. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js +1 -1
  262. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.js.map +1 -1
  263. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  264. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  265. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js +2 -2
  266. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js.map +1 -1
  267. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  268. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +1 -1
  269. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js +1 -1
  270. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js.map +1 -1
  271. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  272. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  273. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  274. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  275. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  276. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  277. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  278. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  279. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  280. package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +1 -1
  281. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  282. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  283. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.d.ts +2 -2
  284. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  285. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  286. package/out/managers/internal/index.mjs +1 -1
  287. package/out/methods/account/getAccount.mjs +1 -1
  288. package/out/methods/account/getAccountInfo.mjs +1 -1
  289. package/out/methods/account/getAddress.mjs +1 -1
  290. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  291. package/out/methods/account/getLatestNonce.js.map +1 -1
  292. package/out/methods/account/getLatestNonce.mjs +1 -1
  293. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  294. package/out/methods/initApp/initApp.js +5 -16
  295. package/out/methods/initApp/initApp.js.map +1 -1
  296. package/out/methods/initApp/initApp.mjs +1 -1
  297. package/out/methods/initApp/initApp.mjs.map +3 -3
  298. package/out/methods/initApp/initApp.types.d.ts +38 -0
  299. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  300. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  301. package/out/methods/loginInfo/getLoginInfo.d.ts +14 -0
  302. package/out/methods/loginInfo/getLoginInfo.js +14 -0
  303. package/out/methods/loginInfo/getLoginInfo.js.map +1 -0
  304. package/out/methods/loginInfo/getLoginInfo.mjs +2 -0
  305. package/out/methods/loginInfo/getLoginInfo.mjs.map +7 -0
  306. package/out/methods/network/getEgldLabel.js +2 -2
  307. package/out/methods/network/getEgldLabel.js.map +1 -1
  308. package/out/methods/network/getEgldLabel.mjs +1 -1
  309. package/out/methods/network/getExplorerAddress.js +2 -2
  310. package/out/methods/network/getExplorerAddress.js.map +1 -1
  311. package/out/methods/network/getExplorerAddress.mjs +1 -1
  312. package/out/methods/network/getNetworkConfig.d.ts +1 -1
  313. package/out/methods/network/getNetworkConfig.js +2 -2
  314. package/out/methods/network/getNetworkConfig.js.map +1 -1
  315. package/out/methods/network/getNetworkConfig.mjs +1 -1
  316. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  317. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  318. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  319. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  320. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  321. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  322. package/out/methods/transactions/getFailedTransactions.d.ts +1 -0
  323. package/out/methods/transactions/getFailedTransactions.js +10 -0
  324. package/out/methods/transactions/getFailedTransactions.js.map +1 -0
  325. package/out/methods/transactions/getFailedTransactions.mjs +2 -0
  326. package/out/methods/transactions/getFailedTransactions.mjs.map +7 -0
  327. package/out/methods/transactions/getFailedTransactionsSessions.d.ts +1 -0
  328. package/out/methods/transactions/getFailedTransactionsSessions.js +10 -0
  329. package/out/methods/transactions/getFailedTransactionsSessions.js.map +1 -0
  330. package/out/methods/transactions/getFailedTransactionsSessions.mjs +2 -0
  331. package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +7 -0
  332. package/out/methods/transactions/getPendingTransactions.d.ts +1 -0
  333. package/out/methods/transactions/getPendingTransactions.js +10 -0
  334. package/out/methods/transactions/getPendingTransactions.js.map +1 -0
  335. package/out/methods/transactions/getPendingTransactions.mjs +2 -0
  336. package/out/methods/transactions/getPendingTransactions.mjs.map +7 -0
  337. package/out/methods/transactions/getPendingTransactionsSessions.d.ts +1 -0
  338. package/out/methods/transactions/getPendingTransactionsSessions.js +10 -0
  339. package/out/methods/transactions/getPendingTransactionsSessions.js.map +1 -0
  340. package/out/methods/transactions/getPendingTransactionsSessions.mjs +2 -0
  341. package/out/methods/transactions/getPendingTransactionsSessions.mjs.map +7 -0
  342. package/out/methods/transactions/getSuccessfulTransactions.d.ts +1 -0
  343. package/out/methods/transactions/getSuccessfulTransactions.js +10 -0
  344. package/out/methods/transactions/getSuccessfulTransactions.js.map +1 -0
  345. package/out/methods/transactions/getSuccessfulTransactions.mjs +2 -0
  346. package/out/methods/transactions/getSuccessfulTransactions.mjs.map +7 -0
  347. package/out/methods/transactions/getSuccessfulTransactionsSessions.d.ts +1 -0
  348. package/out/methods/transactions/getSuccessfulTransactionsSessions.js +10 -0
  349. package/out/methods/transactions/getSuccessfulTransactionsSessions.js.map +1 -0
  350. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +2 -0
  351. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +7 -0
  352. package/out/methods/transactions/getTransactionSessions.d.ts +1 -0
  353. package/out/methods/transactions/getTransactionSessions.js +10 -0
  354. package/out/methods/transactions/getTransactionSessions.js.map +1 -0
  355. package/out/methods/transactions/getTransactionSessions.mjs +2 -0
  356. package/out/methods/transactions/getTransactionSessions.mjs.map +7 -0
  357. package/out/providers/DappProvider/DappProvider.d.ts +14 -48
  358. package/out/providers/DappProvider/DappProvider.js +11 -3
  359. package/out/providers/DappProvider/DappProvider.js.map +1 -1
  360. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  361. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  362. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  363. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  364. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  365. package/out/providers/DappProvider/helpers/login/login.d.ts +3 -1
  366. package/out/providers/DappProvider/helpers/login/login.js +16 -8
  367. package/out/providers/DappProvider/helpers/login/login.js.map +1 -1
  368. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  369. package/out/providers/DappProvider/helpers/logout/logout.d.ts +1 -1
  370. package/out/providers/DappProvider/helpers/logout/logout.js +3 -1
  371. package/out/providers/DappProvider/helpers/logout/logout.js.map +1 -1
  372. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  373. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  374. package/out/providers/DappProvider/helpers/signMessage/getVerifier.mjs +1 -1
  375. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.d.ts +1 -2
  376. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js.map +1 -1
  377. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  378. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.d.ts +1 -1
  379. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.mjs +1 -1
  380. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  381. package/out/providers/DappProvider/index.mjs +1 -1
  382. package/out/providers/ProviderFactory.js +25 -23
  383. package/out/providers/ProviderFactory.js.map +1 -1
  384. package/out/providers/ProviderFactory.mjs +1 -1
  385. package/out/providers/helpers/accountProvider.mjs +1 -1
  386. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  387. package/out/providers/helpers/clearInitiatedLogins.d.ts +2 -2
  388. package/out/providers/helpers/clearInitiatedLogins.js.map +1 -1
  389. package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
  390. package/out/providers/helpers/emptyProvider.d.ts +2 -2
  391. package/out/providers/helpers/emptyProvider.js.map +1 -1
  392. package/out/providers/helpers/emptyProvider.mjs +1 -1
  393. package/out/providers/helpers/restoreProvider.js +11 -1
  394. package/out/providers/helpers/restoreProvider.js.map +1 -1
  395. package/out/providers/helpers/restoreProvider.mjs +1 -1
  396. package/out/providers/index.mjs +1 -1
  397. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +25 -12
  398. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js +30 -12
  399. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js.map +1 -1
  400. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  401. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +14 -10
  402. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js +41 -55
  403. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js.map +1 -1
  404. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  405. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  406. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +14 -9
  407. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js +36 -42
  408. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js.map +1 -1
  409. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  410. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  411. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +18 -11
  412. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js +59 -55
  413. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js.map +1 -1
  414. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  415. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  416. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.d.ts +1 -0
  417. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +22 -11
  418. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js +57 -43
  419. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js.map +1 -1
  420. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  421. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  422. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  423. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  424. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  425. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  426. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  427. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  428. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  429. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  430. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js +1 -1
  431. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.js.map +1 -1
  432. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  433. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  434. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +28 -17
  435. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js +150 -169
  436. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js.map +1 -1
  437. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  438. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  439. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +14 -9
  440. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js +36 -39
  441. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js.map +1 -1
  442. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  443. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  444. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  445. package/out/providers/strategies/helpers/index.mjs +1 -1
  446. package/out/providers/strategies/helpers/signMessage/signMessage.js +18 -3
  447. package/out/providers/strategies/helpers/signMessage/signMessage.js.map +1 -1
  448. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  449. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.mjs +1 -1
  450. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  451. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js +14 -2
  452. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.js.map +1 -1
  453. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  454. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.mjs +1 -1
  455. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  456. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js +21 -24
  457. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.js.map +1 -1
  458. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.mjs +1 -1
  459. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
  460. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js +6 -6
  461. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js.map +1 -1
  462. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  463. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  464. package/out/providers/strategies/helpers/signTransactions/signTransactions.js +8 -1
  465. package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +1 -1
  466. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  467. package/out/providers/strategies/index.mjs +1 -1
  468. package/out/providers/types/providerFactory.types.d.ts +18 -17
  469. package/out/providers/types/providerFactory.types.js +10 -11
  470. package/out/providers/types/providerFactory.types.js.map +1 -1
  471. package/out/providers/types/providerFactory.types.mjs +1 -1
  472. package/out/react/account/useGetAccount.js.map +1 -1
  473. package/out/react/account/useGetAccount.mjs +1 -1
  474. package/out/react/account/useGetAccount.mjs.map +2 -2
  475. package/out/react/account/useGetAccountInfo.js.map +1 -1
  476. package/out/react/account/useGetAccountInfo.mjs +1 -1
  477. package/out/react/account/useGetAccountInfo.mjs.map +2 -2
  478. package/out/react/account/useGetIsLoggedIn.js.map +1 -1
  479. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  480. package/out/react/account/useGetIsLoggedIn.mjs.map +2 -2
  481. package/out/react/account/useGetLatestNonce.js.map +1 -1
  482. package/out/react/account/useGetLatestNonce.mjs +1 -1
  483. package/out/react/account/useGetLatestNonce.mjs.map +2 -2
  484. package/out/react/index.mjs +1 -1
  485. package/out/react/loginInfo/useGetLoginInfo.d.ts +1 -44
  486. package/out/react/loginInfo/useGetLoginInfo.js.map +1 -1
  487. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  488. package/out/react/loginInfo/useGetLoginInfo.mjs.map +2 -2
  489. package/out/react/network/useGetNetworkConfig.js.map +1 -1
  490. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  491. package/out/react/network/useGetNetworkConfig.mjs.map +2 -2
  492. package/out/react/store/getReactStore.js +1 -1
  493. package/out/react/store/getReactStore.js.map +1 -1
  494. package/out/react/store/getReactStore.mjs +1 -1
  495. package/out/react/store/getReactStore.mjs.map +4 -4
  496. package/out/react/store/useSelector.js +1 -1
  497. package/out/react/store/useSelector.js.map +1 -1
  498. package/out/react/store/useSelector.mjs +1 -1
  499. package/out/react/transactions/useGetFailedTransactions.d.ts +1 -0
  500. package/out/react/transactions/useGetFailedTransactions.js +11 -0
  501. package/out/react/transactions/useGetFailedTransactions.js.map +1 -0
  502. package/out/react/transactions/useGetFailedTransactions.mjs +2 -0
  503. package/out/react/transactions/useGetFailedTransactions.mjs.map +7 -0
  504. package/out/react/transactions/useGetFailedTransactionsSessions copy.d.ts +1 -0
  505. package/out/react/transactions/useGetFailedTransactionsSessions copy.js +11 -0
  506. package/out/react/transactions/useGetFailedTransactionsSessions copy.js.map +1 -0
  507. package/out/react/transactions/useGetFailedTransactionsSessions copy.mjs +2 -0
  508. package/out/react/transactions/useGetFailedTransactionsSessions copy.mjs.map +7 -0
  509. package/out/react/transactions/useGetPendingTransactions.js.map +1 -1
  510. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  511. package/out/react/transactions/useGetPendingTransactions.mjs.map +2 -2
  512. package/out/react/transactions/useGetPendingTransactionsSessions.d.ts +1 -1
  513. package/out/react/transactions/useGetPendingTransactionsSessions.js +3 -3
  514. package/out/react/transactions/useGetPendingTransactionsSessions.js.map +1 -1
  515. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  516. package/out/react/transactions/useGetPendingTransactionsSessions.mjs.map +3 -3
  517. package/out/react/transactions/useGetSuccessfulTransactions.d.ts +1 -0
  518. package/out/react/transactions/useGetSuccessfulTransactions.js +11 -0
  519. package/out/react/transactions/useGetSuccessfulTransactions.js.map +1 -0
  520. package/out/react/transactions/useGetSuccessfulTransactions.mjs +2 -0
  521. package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +7 -0
  522. package/out/react/transactions/useGetSuccessfulTransactionsSessions.d.ts +1 -0
  523. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js +11 -0
  524. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js.map +1 -0
  525. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +2 -0
  526. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +7 -0
  527. package/out/react/transactions/useGetTransactionSessions.js.map +1 -1
  528. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  529. package/out/react/transactions/useGetTransactionSessions.mjs.map +2 -2
  530. package/out/services/index.mjs +1 -1
  531. package/out/services/nativeAuth/index.mjs +1 -1
  532. package/out/services/nativeAuth/methods/index.mjs +1 -1
  533. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  534. package/out/store/actions/account/accountActions.mjs +1 -1
  535. package/out/store/actions/account/index.mjs +1 -1
  536. package/out/store/actions/cache/cacheActions.mjs +1 -1
  537. package/out/store/actions/cache/index.mjs +1 -1
  538. package/out/store/actions/config/configActions.mjs +1 -1
  539. package/out/store/actions/config/index.mjs +1 -1
  540. package/out/store/actions/index.mjs +1 -1
  541. package/out/store/actions/loginInfo/loginInfoActions.d.ts +2 -2
  542. package/out/store/actions/loginInfo/loginInfoActions.js.map +1 -1
  543. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  544. package/out/store/actions/network/index.mjs +1 -1
  545. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  546. package/out/store/actions/network/networkActions.mjs +1 -1
  547. package/out/store/actions/sharedActions/index.mjs +1 -1
  548. package/out/store/actions/sharedActions/sharedActions.d.ts +3 -3
  549. package/out/store/actions/sharedActions/sharedActions.js.map +1 -1
  550. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  551. package/out/store/actions/toasts/index.mjs +1 -1
  552. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  553. package/out/store/actions/transactions/transactionsActions.d.ts +4 -2
  554. package/out/store/actions/transactions/transactionsActions.js +3 -2
  555. package/out/store/actions/transactions/transactionsActions.js.map +1 -1
  556. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  557. package/out/store/actions/ui/index.mjs +1 -1
  558. package/out/store/actions/ui/uiActions.mjs +1 -1
  559. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  560. package/out/store/middleware/index.mjs +1 -1
  561. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  562. package/out/store/selectors/accountSelectors.mjs +1 -1
  563. package/out/store/selectors/index.mjs +1 -1
  564. package/out/store/selectors/loginInfoSelectors.d.ts +2 -45
  565. package/out/store/selectors/transactionsSelector.d.ts +2 -0
  566. package/out/store/selectors/transactionsSelector.js +29 -1
  567. package/out/store/selectors/transactionsSelector.js.map +1 -1
  568. package/out/store/selectors/transactionsSelector.mjs +1 -1
  569. package/out/store/slices/account/accountSlice.mjs +1 -1
  570. package/out/store/slices/account/emptyAccount.mjs +1 -1
  571. package/out/store/slices/account/index.mjs +1 -1
  572. package/out/store/slices/index.mjs +1 -1
  573. package/out/store/slices/loginInfo/loginInfo.types.d.ts +3 -3
  574. package/out/store/slices/loginInfo/loginInfoSlice.d.ts +1 -1
  575. package/out/store/storage/index.mjs +1 -1
  576. package/out/store/storage/storageCallback.js +2 -1
  577. package/out/store/storage/storageCallback.js.map +1 -1
  578. package/out/store/storage/storageCallback.mjs +1 -1
  579. package/out/store/store.mjs +1 -1
  580. package/out/types/index.d.ts +1 -1
  581. package/out/types/index.js +1 -1
  582. package/out/types/index.js.map +1 -1
  583. package/out/types/index.mjs +1 -1
  584. package/out/types/serverTransactions.types.d.ts +6 -6
  585. package/out/types/serverTransactions.types.mjs +1 -1
  586. package/out/types/suspiciousLink.types.d.ts +17 -0
  587. package/out/types/{misc.types.js → suspiciousLink.types.js} +1 -1
  588. package/out/types/suspiciousLink.types.js.map +1 -0
  589. package/out/types/suspiciousLink.types.mjs +2 -0
  590. package/out/types/transactions.types.d.ts +4 -0
  591. package/out/types/transactions.types.mjs.map +1 -1
  592. package/out/utils/account/index.mjs +1 -1
  593. package/out/utils/account/refreshAccount.js +1 -1
  594. package/out/utils/account/refreshAccount.js.map +1 -1
  595. package/out/utils/account/refreshAccount.mjs +1 -1
  596. package/out/utils/createUIElement.mjs +1 -1
  597. package/out/utils/index.mjs +1 -1
  598. package/out/utils/operations/trimAmountDecimals.mjs +1 -1
  599. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  600. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  601. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.mjs +1 -1
  602. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  603. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.mjs +1 -1
  604. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  605. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
  606. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.mjs +1 -1
  607. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  608. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  609. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.mjs +1 -1
  610. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
  611. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  612. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  613. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  614. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  615. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  616. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  617. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.mjs +1 -1
  618. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.mjs +1 -1
  619. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  620. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  621. package/out/utils/transactions/getScamFlag.d.ts +8 -0
  622. package/out/utils/transactions/getScamFlag.js +78 -0
  623. package/out/utils/transactions/getScamFlag.js.map +1 -0
  624. package/out/utils/transactions/getScamFlag.mjs +2 -0
  625. package/out/utils/transactions/getScamFlag.mjs.map +7 -0
  626. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  627. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.mjs +1 -1
  628. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.mjs +1 -1
  629. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  630. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  631. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.mjs +1 -1
  632. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  633. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  634. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  635. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  636. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  637. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  638. package/out/utils/transactions/index.mjs +1 -1
  639. package/out/utils/validation/index.mjs +1 -1
  640. package/out/utils/validation/isContract.mjs +1 -1
  641. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  642. package/out/utils/window/getIsInIframe.mjs +1 -1
  643. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  644. package/out/utils/window/index.mjs +1 -1
  645. package/package.json +9 -7
  646. package/out/__chunks__/chunk-243OAHYD.mjs.map +0 -7
  647. package/out/__chunks__/chunk-2CNSQULM.mjs +0 -2
  648. package/out/__chunks__/chunk-2CNSQULM.mjs.map +0 -7
  649. package/out/__chunks__/chunk-2X7ENE6Y.mjs +0 -2
  650. package/out/__chunks__/chunk-2X7ENE6Y.mjs.map +0 -7
  651. package/out/__chunks__/chunk-42SCXW2U.mjs +0 -2
  652. package/out/__chunks__/chunk-42SCXW2U.mjs.map +0 -7
  653. package/out/__chunks__/chunk-43CV6VGD.mjs +0 -2
  654. package/out/__chunks__/chunk-43CV6VGD.mjs.map +0 -7
  655. package/out/__chunks__/chunk-45H34XLJ.mjs +0 -2
  656. package/out/__chunks__/chunk-4LEA6EXQ.mjs +0 -2
  657. package/out/__chunks__/chunk-4YIFSKYR.mjs +0 -2
  658. package/out/__chunks__/chunk-672ZNZKR.mjs +0 -2
  659. package/out/__chunks__/chunk-6746F2FY.mjs +0 -2
  660. package/out/__chunks__/chunk-6GNOK3TJ.mjs.map +0 -7
  661. package/out/__chunks__/chunk-7JA77EJQ.mjs +0 -2
  662. package/out/__chunks__/chunk-7JA77EJQ.mjs.map +0 -7
  663. package/out/__chunks__/chunk-7Q3M4L6V.mjs +0 -2
  664. package/out/__chunks__/chunk-7Q3M4L6V.mjs.map +0 -7
  665. package/out/__chunks__/chunk-7QCBLUWB.mjs +0 -2
  666. package/out/__chunks__/chunk-7QCBLUWB.mjs.map +0 -7
  667. package/out/__chunks__/chunk-7TOTBAGV.mjs +0 -2
  668. package/out/__chunks__/chunk-7TOTBAGV.mjs.map +0 -7
  669. package/out/__chunks__/chunk-AGI2ZR6R.mjs +0 -2
  670. package/out/__chunks__/chunk-AGI2ZR6R.mjs.map +0 -7
  671. package/out/__chunks__/chunk-AL42X4Q3.mjs +0 -2
  672. package/out/__chunks__/chunk-AL42X4Q3.mjs.map +0 -7
  673. package/out/__chunks__/chunk-ARD5PCMI.mjs +0 -2
  674. package/out/__chunks__/chunk-ARD5PCMI.mjs.map +0 -7
  675. package/out/__chunks__/chunk-B5IOGCMT.mjs +0 -2
  676. package/out/__chunks__/chunk-B5IOGCMT.mjs.map +0 -7
  677. package/out/__chunks__/chunk-BQL3NILA.mjs +0 -2
  678. package/out/__chunks__/chunk-BXKFACG5.mjs +0 -2
  679. package/out/__chunks__/chunk-BXUBAIBU.mjs +0 -2
  680. package/out/__chunks__/chunk-C3KLB5TA.mjs +0 -2
  681. package/out/__chunks__/chunk-C4CJSICS.mjs +0 -2
  682. package/out/__chunks__/chunk-C4CJSICS.mjs.map +0 -7
  683. package/out/__chunks__/chunk-CBIH5QMT.mjs +0 -2
  684. package/out/__chunks__/chunk-CQZVU4RB.mjs +0 -1
  685. package/out/__chunks__/chunk-DZ3UVNJK.mjs +0 -2
  686. package/out/__chunks__/chunk-DZ5L5MZT.mjs.map +0 -7
  687. package/out/__chunks__/chunk-EFVHT26M.mjs +0 -2
  688. package/out/__chunks__/chunk-EFVHT26M.mjs.map +0 -7
  689. package/out/__chunks__/chunk-EXLTOUB5.mjs +0 -2
  690. package/out/__chunks__/chunk-EXLTOUB5.mjs.map +0 -7
  691. package/out/__chunks__/chunk-FTFAEXVE.mjs +0 -2
  692. package/out/__chunks__/chunk-G57SJWVR.mjs +0 -1
  693. package/out/__chunks__/chunk-GAOXEYHA.mjs +0 -1
  694. package/out/__chunks__/chunk-GHDPXQZ5.mjs +0 -2
  695. package/out/__chunks__/chunk-GUG3HFGL.mjs +0 -2
  696. package/out/__chunks__/chunk-GUG3HFGL.mjs.map +0 -7
  697. package/out/__chunks__/chunk-GUHNF5RM.mjs +0 -2
  698. package/out/__chunks__/chunk-GUHNF5RM.mjs.map +0 -7
  699. package/out/__chunks__/chunk-HP5OTXWV.mjs +0 -2
  700. package/out/__chunks__/chunk-HP5OTXWV.mjs.map +0 -7
  701. package/out/__chunks__/chunk-IGA7KHXY.mjs +0 -2
  702. package/out/__chunks__/chunk-IGA7KHXY.mjs.map +0 -7
  703. package/out/__chunks__/chunk-JO3DZYEB.mjs +0 -2
  704. package/out/__chunks__/chunk-JR3FBBRR.mjs +0 -2
  705. package/out/__chunks__/chunk-JR3FBBRR.mjs.map +0 -7
  706. package/out/__chunks__/chunk-K3G3SPRT.mjs +0 -2
  707. package/out/__chunks__/chunk-KQ3I46X7.mjs +0 -2
  708. package/out/__chunks__/chunk-KQ3I46X7.mjs.map +0 -7
  709. package/out/__chunks__/chunk-MCOVQEK7.mjs +0 -2
  710. package/out/__chunks__/chunk-MCOVQEK7.mjs.map +0 -7
  711. package/out/__chunks__/chunk-O4J75OI6.mjs +0 -2
  712. package/out/__chunks__/chunk-O4J75OI6.mjs.map +0 -7
  713. package/out/__chunks__/chunk-OOJVPJOX.mjs +0 -1
  714. package/out/__chunks__/chunk-OTBTZ3NI.mjs +0 -2
  715. package/out/__chunks__/chunk-OYA4AQFY.mjs +0 -2
  716. package/out/__chunks__/chunk-OYA4AQFY.mjs.map +0 -7
  717. package/out/__chunks__/chunk-PLFZHJOX.mjs +0 -2
  718. package/out/__chunks__/chunk-PV5A7PX4.mjs +0 -2
  719. package/out/__chunks__/chunk-PVNL2LED.mjs +0 -1
  720. package/out/__chunks__/chunk-PVNL2LED.mjs.map +0 -7
  721. package/out/__chunks__/chunk-PVTRVIAK.mjs +0 -2
  722. package/out/__chunks__/chunk-QI2QMNTG.mjs +0 -2
  723. package/out/__chunks__/chunk-QI2QMNTG.mjs.map +0 -7
  724. package/out/__chunks__/chunk-RZ4YTKD7.mjs +0 -2
  725. package/out/__chunks__/chunk-RZ4YTKD7.mjs.map +0 -7
  726. package/out/__chunks__/chunk-SHNEF3SC.mjs +0 -2
  727. package/out/__chunks__/chunk-SHNEF3SC.mjs.map +0 -7
  728. package/out/__chunks__/chunk-THQWNWSE.mjs +0 -2
  729. package/out/__chunks__/chunk-THQWNWSE.mjs.map +0 -7
  730. package/out/__chunks__/chunk-TOGPOKIP.mjs +0 -2
  731. package/out/__chunks__/chunk-TOGPOKIP.mjs.map +0 -7
  732. package/out/__chunks__/chunk-U2TDLWBA.mjs +0 -2
  733. package/out/__chunks__/chunk-U5GPHLUX.mjs +0 -2
  734. package/out/__chunks__/chunk-U5GPHLUX.mjs.map +0 -7
  735. package/out/__chunks__/chunk-UBD2YVBI.mjs +0 -2
  736. package/out/__chunks__/chunk-UBD2YVBI.mjs.map +0 -7
  737. package/out/__chunks__/chunk-UFMHCVBL.mjs +0 -2
  738. package/out/__chunks__/chunk-VLHG5NVE.mjs +0 -2
  739. package/out/__chunks__/chunk-VLHG5NVE.mjs.map +0 -7
  740. package/out/__chunks__/chunk-W2WAVVF5.mjs +0 -2
  741. package/out/__chunks__/chunk-W2WAVVF5.mjs.map +0 -7
  742. package/out/__chunks__/chunk-WGOZYG4T.mjs +0 -2
  743. package/out/__chunks__/chunk-WTCFHVW3.mjs +0 -2
  744. package/out/__chunks__/chunk-WVTCO3AV.mjs +0 -2
  745. package/out/__chunks__/chunk-WVTCO3AV.mjs.map +0 -7
  746. package/out/__chunks__/chunk-WZNCESVG.mjs +0 -2
  747. package/out/__chunks__/chunk-WZNCESVG.mjs.map +0 -7
  748. package/out/__chunks__/chunk-XG2BS23C.mjs +0 -2
  749. package/out/__chunks__/chunk-XG2BS23C.mjs.map +0 -7
  750. package/out/__chunks__/chunk-XKBQDG5H.mjs +0 -1
  751. package/out/__chunks__/chunk-XKBQDG5H.mjs.map +0 -7
  752. package/out/__chunks__/chunk-XNEYOZ7M.mjs +0 -1
  753. package/out/__chunks__/chunk-XNEYOZ7M.mjs.map +0 -7
  754. package/out/__chunks__/chunk-YQTGKHGB.mjs +0 -2
  755. package/out/__chunks__/chunk-YVVDA6LN.mjs +0 -2
  756. package/out/__chunks__/chunk-ZC3TMTLB.mjs +0 -2
  757. package/out/__chunks__/chunk-ZC3TMTLB.mjs.map +0 -7
  758. package/out/managers/TransactionManager/helpers/getShardOfAddress.d.ts +0 -1
  759. package/out/managers/TransactionManager/helpers/getShardOfAddress.js +0 -38
  760. package/out/managers/TransactionManager/helpers/getShardOfAddress.js.map +0 -1
  761. package/out/managers/TransactionManager/helpers/getShardOfAddress.mjs +0 -2
  762. package/out/managers/TransactionManager/helpers/getShardOfAddress.mjs.map +0 -7
  763. package/out/managers/TransactionManager/tests/getShardOfAddress.test.d.ts +0 -1
  764. package/out/managers/TransactionManager/tests/getShardOfAddress.test.js +0 -19
  765. package/out/managers/TransactionManager/tests/getShardOfAddress.test.js.map +0 -1
  766. package/out/types/misc.types.d.ts +0 -1
  767. package/out/types/misc.types.js.map +0 -1
  768. package/out/types/misc.types.mjs +0 -2
  769. package/out/types/misc.types.mjs.map +0 -7
  770. /package/out/__chunks__/{chunk-IXJOO5U4.mjs.map → chunk-266T724O.mjs.map} +0 -0
  771. /package/out/__chunks__/{chunk-7OTTISMZ.mjs.map → chunk-26XVDGTO.mjs.map} +0 -0
  772. /package/out/__chunks__/{chunk-X2JK27T3.mjs.map → chunk-2FD2AMKA.mjs.map} +0 -0
  773. /package/out/__chunks__/{chunk-XU34NXIS.mjs.map → chunk-2ONA7QPD.mjs.map} +0 -0
  774. /package/out/__chunks__/{chunk-675ZW4IF.mjs.map → chunk-2SOS3KAT.mjs.map} +0 -0
  775. /package/out/__chunks__/{chunk-BXKFACG5.mjs.map → chunk-35XMV5ZL.mjs.map} +0 -0
  776. /package/out/__chunks__/{chunk-UF45HLIK.mjs.map → chunk-3MWXXTQQ.mjs.map} +0 -0
  777. /package/out/__chunks__/{chunk-TLKMUVQJ.mjs.map → chunk-45WVS4H5.mjs.map} +0 -0
  778. /package/out/__chunks__/{chunk-2HWIJ4CV.mjs.map → chunk-4OEPT2V4.mjs.map} +0 -0
  779. /package/out/__chunks__/{chunk-AJEWAECH.mjs.map → chunk-66JBXP4O.mjs.map} +0 -0
  780. /package/out/__chunks__/{chunk-6746F2FY.mjs.map → chunk-6DNPTAY5.mjs.map} +0 -0
  781. /package/out/__chunks__/{chunk-PEDR76UT.mjs.map → chunk-72PZKSKF.mjs.map} +0 -0
  782. /package/out/__chunks__/{chunk-TYYA6E7F.mjs.map → chunk-7BP53CXF.mjs.map} +0 -0
  783. /package/out/__chunks__/{chunk-M3C5NS6M.mjs.map → chunk-7ECP7Y7M.mjs.map} +0 -0
  784. /package/out/__chunks__/{chunk-PPA7AFVD.mjs.map → chunk-7WTWD4TL.mjs.map} +0 -0
  785. /package/out/__chunks__/{chunk-2AAKENSP.mjs.map → chunk-A5EXECZV.mjs.map} +0 -0
  786. /package/out/__chunks__/{chunk-LETBBKOK.mjs.map → chunk-ASWTHX52.mjs.map} +0 -0
  787. /package/out/__chunks__/{chunk-PDT22D2C.mjs.map → chunk-AV4HSXYZ.mjs.map} +0 -0
  788. /package/out/__chunks__/{chunk-3OKWBJFM.mjs.map → chunk-B2RDSGON.mjs.map} +0 -0
  789. /package/out/__chunks__/{chunk-KMFYDHOY.mjs.map → chunk-BRBIUWAW.mjs.map} +0 -0
  790. /package/out/__chunks__/{chunk-3NG7LKF4.mjs.map → chunk-BSWV5MEC.mjs.map} +0 -0
  791. /package/out/__chunks__/{chunk-NCUYIZYI.mjs.map → chunk-BVYTCDU6.mjs.map} +0 -0
  792. /package/out/__chunks__/{chunk-RNCF2III.mjs.map → chunk-C5TNEYN6.mjs.map} +0 -0
  793. /package/out/__chunks__/{chunk-CBIH5QMT.mjs.map → chunk-C6E6XICI.mjs.map} +0 -0
  794. /package/out/__chunks__/{chunk-SBQJGS63.mjs.map → chunk-CCDTUFFG.mjs.map} +0 -0
  795. /package/out/__chunks__/{chunk-BQL3NILA.mjs.map → chunk-CNUQX7FI.mjs.map} +0 -0
  796. /package/out/__chunks__/{chunk-NJ73RJ4B.mjs.map → chunk-CNWR7SER.mjs.map} +0 -0
  797. /package/out/__chunks__/{chunk-672ZNZKR.mjs.map → chunk-DFNESXSW.mjs.map} +0 -0
  798. /package/out/__chunks__/{chunk-SNKFFCSF.mjs.map → chunk-DHPD6E7P.mjs.map} +0 -0
  799. /package/out/__chunks__/{chunk-M6ATGCOM.mjs.map → chunk-DNHKXKYY.mjs.map} +0 -0
  800. /package/out/__chunks__/{chunk-4YIFSKYR.mjs.map → chunk-DT6YLEPL.mjs.map} +0 -0
  801. /package/out/__chunks__/{chunk-OF6HBWFR.mjs.map → chunk-DV3XIKOX.mjs.map} +0 -0
  802. /package/out/__chunks__/{chunk-LNABNVAO.mjs.map → chunk-EOX35D4L.mjs.map} +0 -0
  803. /package/out/__chunks__/{chunk-BXUBAIBU.mjs.map → chunk-FEFZKA2B.mjs.map} +0 -0
  804. /package/out/__chunks__/{chunk-I66YT2S2.mjs.map → chunk-FMUDQBZE.mjs.map} +0 -0
  805. /package/out/__chunks__/{chunk-3IYQANTT.mjs.map → chunk-FUYWIC54.mjs.map} +0 -0
  806. /package/out/__chunks__/{chunk-FJIH6TWP.mjs.map → chunk-IJB6XDNR.mjs.map} +0 -0
  807. /package/out/__chunks__/{chunk-WTCFHVW3.mjs.map → chunk-INBKWOKQ.mjs.map} +0 -0
  808. /package/out/__chunks__/{chunk-UYUKTC4X.mjs.map → chunk-IOE5AG2R.mjs.map} +0 -0
  809. /package/out/__chunks__/{chunk-SF7XXVIO.mjs.map → chunk-ISPRIGOE.mjs.map} +0 -0
  810. /package/out/__chunks__/{chunk-L2JWXTGG.mjs.map → chunk-J3YO25EK.mjs.map} +0 -0
  811. /package/out/__chunks__/{chunk-6ZDBHK76.mjs.map → chunk-JIJSBQEU.mjs.map} +0 -0
  812. /package/out/__chunks__/{chunk-YQTGKHGB.mjs.map → chunk-JQU6F2FL.mjs.map} +0 -0
  813. /package/out/__chunks__/{chunk-G2DLIXFQ.mjs.map → chunk-K3WBBSXJ.mjs.map} +0 -0
  814. /package/out/__chunks__/{chunk-OYZFSQEK.mjs.map → chunk-KPDCSGZD.mjs.map} +0 -0
  815. /package/out/__chunks__/{chunk-TAI3I5BS.mjs.map → chunk-KSKOSHYV.mjs.map} +0 -0
  816. /package/out/__chunks__/{chunk-KJCZ5HAU.mjs.map → chunk-LM5SF2NG.mjs.map} +0 -0
  817. /package/out/__chunks__/{chunk-JO3DZYEB.mjs.map → chunk-N5FYAXCA.mjs.map} +0 -0
  818. /package/out/__chunks__/{chunk-4PV6SFXA.mjs.map → chunk-NBDECUQ3.mjs.map} +0 -0
  819. /package/out/__chunks__/{chunk-FTFAEXVE.mjs.map → chunk-NO7YH2FT.mjs.map} +0 -0
  820. /package/out/__chunks__/{chunk-WGOZYG4T.mjs.map → chunk-P5RR3CVM.mjs.map} +0 -0
  821. /package/out/__chunks__/{chunk-W4GE4ZDP.mjs.map → chunk-PRULMJH7.mjs.map} +0 -0
  822. /package/out/__chunks__/{chunk-HQJG7CFV.mjs.map → chunk-QAVA2C6Y.mjs.map} +0 -0
  823. /package/out/__chunks__/{chunk-LTF535HP.mjs.map → chunk-QJSB5NX4.mjs.map} +0 -0
  824. /package/out/__chunks__/{chunk-WW4BBBLW.mjs.map → chunk-QKHHW26T.mjs.map} +0 -0
  825. /package/out/__chunks__/{chunk-YRIDJGOK.mjs.map → chunk-QM67ZEC5.mjs.map} +0 -0
  826. /package/out/__chunks__/{chunk-YAXVLGG3.mjs.map → chunk-QP2EL7IE.mjs.map} +0 -0
  827. /package/out/__chunks__/{chunk-VIJUIJ4V.mjs.map → chunk-QSBLXZFC.mjs.map} +0 -0
  828. /package/out/__chunks__/{chunk-YVD46DFI.mjs.map → chunk-RHFDU5Y4.mjs.map} +0 -0
  829. /package/out/__chunks__/{chunk-5WVAF7RB.mjs.map → chunk-S5FDHOXH.mjs.map} +0 -0
  830. /package/out/__chunks__/{chunk-NM3KJ3EA.mjs.map → chunk-SH5S4RA4.mjs.map} +0 -0
  831. /package/out/__chunks__/{chunk-7RX2A4WD.mjs.map → chunk-SJYCKFH4.mjs.map} +0 -0
  832. /package/out/__chunks__/{chunk-C4CJOZ4L.mjs.map → chunk-SYQ7SILM.mjs.map} +0 -0
  833. /package/out/__chunks__/{chunk-7YGJXJUC.mjs.map → chunk-TMP3REGQ.mjs.map} +0 -0
  834. /package/out/__chunks__/{chunk-PVTRVIAK.mjs.map → chunk-TR6FQZGE.mjs.map} +0 -0
  835. /package/out/__chunks__/{chunk-CQZVU4RB.mjs.map → chunk-TRMQFQOQ.mjs.map} +0 -0
  836. /package/out/__chunks__/{chunk-LD4NALNZ.mjs.map → chunk-VCGAO6HH.mjs.map} +0 -0
  837. /package/out/__chunks__/{chunk-QQ4OPT5A.mjs.map → chunk-VJ2DAL5M.mjs.map} +0 -0
  838. /package/out/__chunks__/{chunk-PLFZHJOX.mjs.map → chunk-VSUCRJYB.mjs.map} +0 -0
  839. /package/out/__chunks__/{chunk-G57SJWVR.mjs.map → chunk-WFAPPSOI.mjs.map} +0 -0
  840. /package/out/__chunks__/{chunk-JXO7XRIR.mjs.map → chunk-XFZOOFY5.mjs.map} +0 -0
  841. /package/out/__chunks__/{chunk-RVW2ZWCR.mjs.map → chunk-XHIIMAIQ.mjs.map} +0 -0
  842. /package/out/__chunks__/{chunk-JGULQG2H.mjs.map → chunk-XLHFU7XR.mjs.map} +0 -0
  843. /package/out/__chunks__/{chunk-JTQCNFCR.mjs.map → chunk-YB7AHPBR.mjs.map} +0 -0
  844. /package/out/__chunks__/{chunk-ENTPR3MV.mjs.map → chunk-YN5ARP6C.mjs.map} +0 -0
  845. /package/out/__chunks__/{chunk-XO5D3FNU.mjs.map → chunk-YPCJBYUY.mjs.map} +0 -0
  846. /package/out/__chunks__/{chunk-Y3YLDFXK.mjs.map → chunk-YQ3LRPGM.mjs.map} +0 -0
  847. /package/out/__chunks__/{chunk-MCZUQPRA.mjs.map → chunk-YTFYVPZO.mjs.map} +0 -0
  848. /package/out/__chunks__/{chunk-45H34XLJ.mjs.map → chunk-Z6R3RDWW.mjs.map} +0 -0
  849. /package/out/__chunks__/{chunk-YPNKNMW5.mjs.map → chunk-ZEIGMAXW.mjs.map} +0 -0
  850. /package/out/__chunks__/{chunk-4LEA6EXQ.mjs.map → chunk-ZEUNADU7.mjs.map} +0 -0
  851. /package/out/__chunks__/{chunk-HC5QPKZT.mjs.map → chunk-ZHIYA3M7.mjs.map} +0 -0
  852. /package/out/__chunks__/{chunk-42KJRIAT.mjs.map → chunk-ZK5BKLTG.mjs.map} +0 -0
  853. /package/out/{__chunks__/chunk-GAOXEYHA.mjs.map → managers/TransactionManager/TransactionManager.types.mjs.map} +0 -0
  854. /package/out/{__chunks__/chunk-OOJVPJOX.mjs.map → types/suspiciousLink.types.mjs.map} +0 -0
package/README.md CHANGED
@@ -8,12 +8,12 @@ MultiversX Front-End SDK for JavaScript and TypeScript (written in TypeScript).
8
8
 
9
9
  It is built for applications that use any of the following technologies:
10
10
 
11
- - React
11
+ - React (example: [Template Dapp](https://github.com/multiversx/mx-template-dapp))
12
12
  - Angular
13
13
  - Vue
14
- - Any other JavaScript framework (e.g. Solid.js etc.)
14
+ - Any other JavaScript framework (e.g. Solid.js etc.) (example: [Solid.js Dapp](https://github.com/multiversx/mx-solidjs-template-dapp))
15
15
  - React Native
16
- - Next.js
16
+ - Next.js (example: [Next.js Dapp](https://github.com/multiversx/mx-template-dapp-nextjs))
17
17
 
18
18
  ## GitHub project
19
19
 
@@ -60,7 +60,7 @@ Also, make sure you run your app on `https`, not `http`, otherwise some provider
60
60
  npm install
61
61
  ```
62
62
 
63
- If you're transitioning from @multiversx/sdk-dapp, you can check out the [Migration guide PR](https://github.com/multiversx/mx-template-dapp/pull/264) of Template Dapp
63
+ If you're transitioning from `@multiversx/sdk-dapp@4.x`, you can check out the [Migration guide](https://github.com/multiversx/mx-template-dapp/blob/0eb7bc6194195b6c364b8010023d351d914db65e/MIGRATION_GUIDE.md) and [migration PR](https://github.com/multiversx/mx-template-dapp/pull/343) of Template Dapp
64
64
 
65
65
  ## Usage
66
66
 
@@ -81,18 +81,18 @@ Having this knowledge, we can consider several steps needed to put a dApp togeth
81
81
  | 1 | Configuration | - storage configuration (e.g. sessionStorage, localStorage etc.)<br>- chain configuration<br>- custom provider configuration (adding / disabling / changing providers) |
82
82
  | 2 | Provider interaction | - logging in and out<br>- signing transactions / messages |
83
83
  | 3 | Presenting data | - get store data (e.g. account balance, account address etc.)<br>- use components to display data (e.g. balance, address, transactions list) |
84
- | 4 | Transactions | - sending transactions<br>- tracking transactions |
84
+ | 4 | Transactions | - sending transactions<br>- tracking transactions<br>- displayingtransactions history |
85
85
 
86
86
  Each of these steps will be explained in more detail in the following sections.
87
87
 
88
88
  ### 1. Configuration
89
89
 
90
- Before your application bootstraps, you need to configure the storage, the network, and the signing providers. This is done by calling the `initApp` method from the `core/methods` folder.
90
+ Before your application bootstraps, you need to configure the storage, the network, and the signing providers. This is done by calling the `initApp` method from the `methods` folder. It is recommended to call this method in the `index.tsx` to ensure the sdk-dapp internal functions are initialized before rendering the app.
91
91
 
92
92
  ```typescript
93
93
  // index.tsx
94
- import { initApp } from '@multiversx/sdk-dapp/out/core/methods/initApp/initApp';
95
- import type { InitAppType } from '@multiversx/sdk-dapp/out/core/methods/initApp/initApp.types';
94
+ import { initApp } from '@multiversx/sdk-dapp/out/methods/initApp/initApp';
95
+ import type { InitAppType } from '@multiversx/sdk-dapp/out/methods/initApp/initApp.types';
96
96
  import { EnvironmentsEnum } from '@multiversx/sdk-dapp/out/types/enums.types';
97
97
  import { App } from "./App";
98
98
 
@@ -102,7 +102,7 @@ const config: InitAppType = {
102
102
  // nativeAuth: true, // optional
103
103
  environment: EnvironmentsEnum.devnet,
104
104
  // network: { // optional
105
- // walletAddress: 'https://devnet-wallet.multiversx.com'
105
+ // walletAddress: 'https://devnet-wallet.multiversx.com' // or other props you want to override
106
106
  // },
107
107
  successfulToastLifetime: 5000
108
108
  }
@@ -116,11 +116,59 @@ initApp(config).then(() => {
116
116
 
117
117
  ### 2. Provider interaction
118
118
 
119
- Once your dApp has loaded, the first user action is logging in with a chosen provider.
119
+ Once your dApp has loaded, the first user action is logging in with a chosen provider. There are two ways to perform a login, namely using the `UnlockPanelManager` and programatic login using the `ProviderFactory`.
120
+
121
+ #### 2.1 Using the `UnlockPanelManager`
122
+ By using the provided UI, you get the benefit of having all supported providers ready for login in a side panel. You simply need to link the `unlockPanelManager.openUnlockPanel` to a user action.
123
+
124
+ ```typescript
125
+ import { UnlockPanelManager } from '@multiversx/sdk-dapp/out/managers/UnlockPanelManager';
126
+ import { ProviderFactory } from '@multiversx/sdk-dapp/out/providers/ProviderFactory';
127
+
128
+ export const ConnectButton = () => {
129
+ const unlockPanelManager = UnlockPanelManager.init({
130
+ loginHandler: () => {
131
+ navigate('/dashboard');
132
+ },
133
+ onClose: () => { // optional action to be performed when the user closes the Unlock Panel
134
+ navigate('/');
135
+ },
136
+ });
137
+ const handleOpenUnlockPanel = () => {
138
+ unlockPanelManager.openUnlockPanel();
139
+ };
140
+ return <Button onClick={handleOpenUnlockPanel}>Connect</Button>;
141
+ };
142
+
143
+ ```
144
+
145
+ If you want to perform some actions as soon as the user has logged in, you will need to call `ProviderFactory.create` inside a handler accepting arguments.
146
+
147
+ ```typescript
148
+ export const AdvancedConnectButton = () => {
149
+ const unlockPanelManager = UnlockPanelManager.init({
150
+ loginHandler: async ({ type, anchor }) => {
151
+ const provider = await ProviderFactory.create({
152
+ type,
153
+ anchor
154
+ });
155
+ const { address, signature } = await provider.login();
156
+ navigate(`/dashboard?address=${address}`;
157
+ }
158
+ });
159
+ const handleOpenUnlockPanel = () => {
160
+ unlockPanelManager.openUnlockPanel();
161
+ };
162
+ return <Button onClick={handleOpenUnlockPanel}>Advanced Connect</Button>;
163
+ };
164
+
165
+ ```
166
+
167
+ #### 2.2 Programatic login using the `ProviderFactory`
168
+ If you want to login using your custom UI, you can link user actions to specific providers by calling the `ProviderFactory`.
120
169
 
121
170
  ```typescript
122
- import { ProviderTypeEnum } from '@multiversx/sdk-dapp/out/core/providers/types/providerFactory.types';
123
- import { ProviderFactory } from '@multiversx/sdk-dapp/out/core/providers/ProviderFactory';
171
+ import { ProviderTypeEnum } from '@multiversx/sdk-dapp/out/providers/types/providerFactory.types';
124
172
 
125
173
  const provider = await ProviderFactory.create({
126
174
  type: ProviderTypeEnum.extension
@@ -128,15 +176,30 @@ const provider = await ProviderFactory.create({
128
176
  await provider.login();
129
177
  ```
130
178
 
131
- ### 3. Displaying user data
179
+ > **Note:** Extension and Ledger login will only work if dApp is served over HTTPS protocol
180
+
181
+ ### 3. Displaying app data
132
182
 
133
183
  Depending on the framework, you can either use hooks or selectors to get the user details:
134
184
 
135
- #### React hooks solution:
185
+ #### 3.1 React hooks
186
+
187
+ If you are using React, all hooks can be found under the `/out/react` folder. All store information can be accessed via different hooks but below you will find the main hook related to most common use cases
188
+
189
+ ```bash
190
+ out/react/
191
+ ├── account/useGetAccount ### access account data like address, balance and nonce
192
+ ├── loginInfo/useGetLoginInfo ### access login data like accessToken and provider type
193
+ ├── network/useGetNetworkConfig ### access network information like chainId and egldLabel
194
+ ├── store/useSelector ### make use of the useSelector hook for querying the store via selectors
195
+ └── transactions/useGetTransactionSessions ### access all current and historic transaction sessions
196
+ ```
197
+
198
+ Below is an example of using the hooks to display the user address and balance.
136
199
 
137
200
  ```typescript
138
- import { useGetAccount } from '@multiversx/sdk-dapp/out/store/selectors/hooks/account/useGetAccount';
139
- import { useGetNetworkConfig } from '@multiversx/sdk-dapp/out/store/selectors/hooks/network/useGetNetworkConfig';
201
+ import { useGetAccount } from '@multiversx/sdk-dapp/out/react/account/useGetAccount';
202
+ import { useGetNetworkConfig } from '@multiversx/sdk-dapp/out/react/network/useGetNetworkConfig';
140
203
 
141
204
  const account = useGetAccount();
142
205
  const {
@@ -147,40 +210,62 @@ console.log(account.address);
147
210
  console.log(`${account.balance} ${egldLabel}`);
148
211
  ```
149
212
 
150
- #### Store selector functions:
213
+ #### 3.2 Store selector functions:
214
+
215
+ If you are not using the React ecosystem, you can use store selectors to get the store data, but note that information will not be reactive unless you subscribe to store changes.
151
216
 
152
217
  ```typescript
153
- import { getAccount } from '@multiversx/sdk-dapp/out/core/methods/account/getAccount';
154
- import { getNetworkConfig } from '@multiversx/sdk-dapp/out/core/methods/network/getNetworkConfig';
218
+ import { getAccount } from '@multiversx/sdk-dapp/out/methods/account/getAccount';
219
+ import { getNetworkConfig } from '@multiversx/sdk-dapp/out/methods/network/getNetworkConfig';
155
220
 
156
221
  const account = getAccount();
157
222
  const { egldLabel } = getNetworkConfig();
158
223
  ```
159
224
 
225
+ In order to get live updates you may need to subscribe to the store like this:
226
+
227
+ ```typescript
228
+ import { createSignal, onCleanup } from 'solid-js';
229
+ import { getStore } from '@multiversx/sdk-dapp/out/store/store';
230
+
231
+ export function useStore() {
232
+ const store = getStore();
233
+ const [state, setState] = createSignal(store.getState());
234
+
235
+ const unsubscribe = store.subscribe((newState) => {
236
+ setState(newState);
237
+ });
238
+
239
+ onCleanup(() => unsubscribe());
240
+
241
+ return state;
242
+ }
243
+ ```
244
+
160
245
  ### 4. Transactions
161
246
 
162
- #### Signing transactions
247
+ #### 4.1 Signing transactions
163
248
 
164
- To sign transactions, you first need to create the `Transaction` object then pass it to the initialized provider.
249
+ To sign transactions, you first need to create the `Transaction` object, then pass it to the initialized provider.
165
250
 
166
251
  ```typescript
167
- import { Transaction, TransactionPayload } from '@multiversx/sdk-core/out';
252
+ import { Address, Transaction, TransactionPayload } from '@multiversx/sdk-core';
168
253
  import {
169
254
  GAS_PRICE,
170
255
  GAS_LIMIT
171
256
  } from '@multiversx/sdk-dapp/out/constants/mvx.constants';
172
- import { getAccountProvider } from '@multiversx/sdk-dapp/out/core/providers/helpers/accountProvider';
257
+ import { getAccountProvider } from '@multiversx/sdk-dapp/out/providers/helpers/accountProvider';
173
258
  import { refreshAccount } from '@multiversx/sdk-dapp/out/utils/account/refreshAccount';
174
259
 
175
260
  const pongTransaction = new Transaction({
176
- value: '0',
261
+ value: BigInt(0),
177
262
  data: new TransactionPayload('pong'),
178
- receiver: contractAddress,
179
- gasLimit: GAS_LIMIT,
180
- gasPrice: GAS_PRICE,
263
+ receiver: Address.newFromBech32(contractAddress),
264
+ gasLimit: BigInt(GAS_LIMIT),
265
+ gasPrice: BigInt(GAS_PRICE),
181
266
  chainID: network.chainId,
182
- nonce: account.nonce,
183
- sender: account.address,
267
+ nonce: BigInt(account.nonce),
268
+ sender: Address.newFromBech32(account.address),
184
269
  version: 1
185
270
  });
186
271
 
@@ -189,22 +274,81 @@ const provider = getAccountProvider();
189
274
  const signedTransactions = await provider.signTransactions(transactions);
190
275
  ```
191
276
 
192
- #### Sending and tracking transactions
277
+ #### 4.2 Sending and tracking transactions
193
278
 
194
- Then, to send the transactions, you need to use the `TransactionManager` class and pass in the signedTransactions to the send method. You can optionally track the transactions by using the track method. This will create a toast notification with the transaction hash and its status.
279
+ Then, to send the transactions, you need to use the `TransactionManager` class and pass in the `signedTransactions` to the `send` method. You can then track the transactions by using the `track` method. This will create a toast notification with the transaction hash and its status.
195
280
 
196
281
  ```typescript
197
- import { TransactionManager } from '@multiversx/sdk-dapp/out/core/managers/TransactionManager';
282
+ import { TransactionManager } from '@multiversx/sdk-dapp/out/managers/TransactionManager';
283
+ import type { TransactionsDisplayInfoType } from '@multiversx/sdk-dapp/out/types/transactions.types';
284
+
198
285
 
199
286
  const txManager = TransactionManager.getInstance();
200
- await txManager.send(signedTransactions);
201
- await txManager.track(signedTransactions);
287
+ const sentTransactions = await txManager.send(signedTransactions);
288
+
289
+ const toastInformation: TransactionsDisplayInfoType = {
290
+ processingMessage: 'Processing transactions',
291
+ errorMessage: 'An error has occurred during transaction execution',
292
+ successMessage: 'Transactions executed'
293
+ }
294
+
295
+ const sessionId = await txManager.track(sentTransactions, {
296
+ transactionsDisplayInfo: toastInformation
297
+ });
202
298
  ```
203
299
 
204
- Once the transactions are executed on the blockchain, the flow ends with the user logging out.
300
+ #### 4.3 Using the Notifications Feed
301
+
302
+ The Notifications Feed is a component that displays **session transactions** in a list. Internally it gets initialized in the `initApp` method. It can be accessed via the `NotificationManager.getInstance()` method.
303
+ Once the user logs out of the dApp, all transactions displayed by the Notifications Feed are removed from the store. Note that you can switch between toast notifications and Notifications Feed by pressing the View All button above the current pending transaction toast in the UI.
205
304
 
206
305
  ```typescript
207
- import { getAccountProvider } from '@multiversx/sdk-dapp/out/core/providers/helpers/accountProvider';
306
+ const notificationManager = NotificationManager.getInstance();
307
+ await notificationManager.openNotificationsFeed();
308
+ ```
309
+
310
+ #### 4.4 Inspecting transactions
311
+
312
+ You can find both methods and hooks to access transactions data, as seen in the table below.
313
+
314
+ **Table 2**. Inspectig transactions
315
+ | # | Helper | Description | React hook equivalent |
316
+ |---|------|-------------|----|
317
+ | | `methods/transactions` | path | `react/transactions` |
318
+ | 1 | `getTransactionSessions()` | returns all trabsaction sessions |`useGetTransactionSessions()` |
319
+ | 2 | `getPendingTransactionsSessions()` | returns an record of pending sessions | `useGetPendingTransactionsSessions()`|
320
+ | 3 | `getPendingTransactions()` | returns an array of signed transactions | `useGetPendingTransactions()` |
321
+ | 4 | `getFailedTransactionsSessions()` | returns an record of failed sessions | `useGetFailedTransactionsSessions()`|
322
+ | 5 | `getFailedTransactions()` | returns an array of failed transactions | `useGetFailedTransactions()`|
323
+ | 6 | `getSuccessfulTransactionsSessions()` | returns an record of successful sessions | `useGetSuccessfulTransactionsSessions()`|
324
+ | 7 | `getSuccessfulTransactions()` | returns an array of successful transactions | `useGetSuccessfulTransactions()`|
325
+
326
+ There is a way to inspect store information regarding a specific transaction, using the `transactionsSliceSelector`. An example is shown below:
327
+
328
+ ```typescript
329
+ import {
330
+ pendingTransactionsSessionsSelector,
331
+ transactionsSliceSelector
332
+ } from '@multiversx/sdk-dapp/out/store/selectors/transactionsSelector';
333
+ import { getStore } from '@multiversx/sdk-dapp/out/store/store';
334
+
335
+ const store = getStore(); // or use useStore hook for reactivity
336
+ const pendingSessions = pendingTransactionsSessionsSelector(store.getState());
337
+ const allTransactionSessions = transactionsSliceSelector(store.getState());
338
+
339
+ const isSessionIdPending =
340
+ Object.keys(pendingSessions).includes(sessionId);
341
+ const currentSession = allTransactionSessions[sessionId];
342
+ const currentSessionStatus = currentSession?.status;
343
+ const currentTransaction = currentSession?.transactions?.[0];
344
+ const currentTransactionStatus = currentTransaction?.status;
345
+ ```
346
+
347
+ #### 4.5 Logging out
348
+ The user journey ends with calling the `provider.logout()` method.
349
+
350
+ ```typescript
351
+ import { getAccountProvider } from '@multiversx/sdk-dapp/out/providers/helpers/accountProvider';
208
352
  const provider = getAccountProvider();
209
353
  await provider.logout();
210
354
  ```
@@ -213,7 +357,7 @@ await provider.logout();
213
357
 
214
358
  We have seen in the previous chapter what are the minimal steps to get up and running with a blockchain interaction using sdk-dapp. Next we will detail each element mentioned above
215
359
 
216
- **Table 2**. Elements needed to build a dApp
360
+ **Table 3**. Elements needed to build a dApp
217
361
  | # | Type | Description |
218
362
  |---|------|-------------|
219
363
  | 1 | Network | Chain configuration |
@@ -223,50 +367,54 @@ We have seen in the previous chapter what are the minimal steps to get up and ru
223
367
  | 5 | UI Components | Displaying UI information like balance, public keys etc. |
224
368
 
225
369
  Since these are mixtures of business logic and UI components, the library is split into several folders to make it easier to navigate.
226
- When inspecting the package, there is more content under `src`, but the main folders of interest are:
370
+ When inspecting the package, there is more content under `src`, but the folders of interest are:
371
+
227
372
 
228
373
  ```bash
229
374
  src/
230
375
  ├── apiCalls/ ### methods for interacting with the API
231
376
  ├── constants/ ### useful constants from the ecosystem like ledger error codes, default gas limits for transactions etc.
232
- ├── controllers/ ### business logic for UI elements like transactions and amount formatting
233
- ├── core/ ### hosting the provider class, and all implementations for different signing providers
377
+ ├── controllers/ ### business logic for UI elements that are not bound to the store
378
+ ├── managers/ ### business logic for UI elements that are bound to the store
379
+ ├── providers/ ### signing providers
380
+ ├── methods/ ### utility functions to query and update the store
381
+ ├── react/ ### react hooks to query the store
234
382
  └── store/ ### store initialization, middleware, slices, selectors and actions
235
383
  ```
236
384
 
237
385
  Conceptually, these can be split into 3 main parts:
238
386
 
239
- - First is the business logic in `apiCalls`, `constants` and `core` (signing providers).
387
+ - First is the business logic in `apiCalls`, `constants`, `providers` and `methods`
240
388
  - Then comes the persistence layer hosted in the `store` folder, using [Zustand](https://zustand.docs.pmnd.rs/) under the hood.
241
- - Last are the UI components hosted in [@multiversx/sdk-dapp](https://github.com/multiversx/mx-sdk-dapp-ui) with some components controlled on demand by classes defined in `controlles`
389
+ - Last are the UI components hosted in [@multiversx/sdk-dapp-ui](https://github.com/multiversx/mx-sdk-dapp-ui) with some components controlled on demand by classes defined in `controlles` and `managers`
242
390
 
243
- Next, we will take the elements from Table 2 and detail them in the following sections.
391
+ Next, we will take the elements from Table 3 and detail them in the following sections.
244
392
 
245
393
  ### 1. Network
246
394
 
247
395
  The network configuration is done in the `initApp` method, where you can make several confgurations like:
248
396
 
249
- - specifying the environment (devnet, testnet, mainnet)
397
+ - specifying the environment (`devnet`, `testnet`, `mainnet`)
250
398
  - overriding certain network parameters like wallet address, explorer address etc.
251
399
 
252
400
  Once the network is configured, the `network` slice in the store will hold the network configuration.
253
401
 
254
- To query different network parameters, you can use the `getNetworkConfig` method from the `core/methods/network` folder.
402
+ To query different network parameters, you can use the `getNetworkConfig` method from the `methods/network` folder.
255
403
 
256
404
  ### 2. Provider
257
405
 
258
- The provider is the main class that handles the signing of transactions and messages. It is initialized in the `initApp` method and can be accessed via the `getAccountProvider` method from the `core/providers/helpers` folder.
406
+ The provider is the main class that handles the signing of transactions and messages. It is initialized in the `initApp` method and can be accessed via the `getAccountProvider` method from the `providers/helpers` folder.
259
407
 
260
408
  #### Initialization
261
409
 
262
- It's important to initialize it on app load (this is take care of by `initApp`), since it restores the session from the store and allows signing transactions without the need to make a new login.
410
+ An existing provider is initialized on app load (this is take care of by `initApp`), since it restores the session from the store and allows signing transactions without the need of making a new login.
263
411
 
264
412
  #### Creating a custom provider
265
413
 
266
414
  If you need to create a custom signing provider, make sure to extend the `IProvider` interface and implement all required methods (see example [here](https://github.com/multiversx/mx-template-dapp/tree/main/src/provider)). Next step would be to include it in the `customProviders` array in the `initApp` method or add it to the [window object](https://github.com/multiversx/mx-template-dapp/tree/main/src/initConfig). Last step is to login using the custom provider.
267
415
 
268
416
  ```typescript
269
- import { ProviderTypeEnum } from '@multiversx/sdk-dapp/out/core/providers/types/providerFactory.types';
417
+ import { ProviderTypeEnum } from '@multiversx/sdk-dapp/out/providers/types/providerFactory.types';
270
418
 
271
419
  const ADDITIONAL_PROVIDERS = {
272
420
  myCustomProvider: 'myCustomProvider'
@@ -292,12 +440,12 @@ Once the provider is initialized, you can get a reference to it using the `getAc
292
440
 
293
441
  #### Getting account data
294
442
 
295
- Once the user logs in, a call is made to the API for fetching the account data. This data is persisted in the store and is accessible through helpers found in `core/methods/account`. These functions are:
443
+ Once the user logs in, a call is made to the API for fetching the account data. This data is persisted in the store and is accessible through helpers found in `methods/account`. These functions are:
296
444
 
297
- **Table 3**. Getting account data
445
+ **Table 4**. Getting account data
298
446
  | # | Helper | Description | React hook equivalent |
299
447
  |---|------|-------------|----|
300
- | | `core/methods/account` | path | `store/selectors/hooks/account` |
448
+ | | `methods/account` | path | `react/account` |
301
449
  | 1 | `getAccount()` | returns all account data |`useGetAccount()` |
302
450
  | 2 | `getAddress()` | returns just the user's public key | `useGetAddress()`|
303
451
  | 3 | `getIsLoggedIn()` | returns a login status boolean | `useGetIsLoggedIn()` |
@@ -305,13 +453,13 @@ Once the user logs in, a call is made to the API for fetching the account data.
305
453
 
306
454
  #### Nonce management
307
455
 
308
- sdk-dapp has a mechanism that does its best to manage the account nonce. For example, if the user sends a transaction, the nonce gets incremented on the client so that if he sends a new transaction, it will have the correct increased nonce. If you want to make sure the nonce is in sync with the API account, you can call `refreshAccount()` as shown above in the **Signing transactions** section.
456
+ `sdk-dapp` has a mechanism that does its best to manage the account nonce. For example, if the user sends a transaction, the nonce gets incremented on the client so that if a new transaction is sent, it will have the correct increased nonce. If you want to make sure the nonce is in sync with the API account, you can call `refreshAccount()` as shown above in the **Signing transactions** section.
309
457
 
310
458
  ### 4. Transactions Manager
311
459
 
312
460
  #### Overview
313
461
 
314
- The `TransactionManager` is a class that handles sending and tracking transactions in the MultiversX ecosystem. It provides methods to send single and batch transactions while handling tracking, error management, and toasts for user notifications. It is initialized in the `initApp` method and can be accessed via `TransactionManager.getInstance()`.
462
+ The `TransactionManager` is a class that handles sending and tracking transactions in the MultiversX ecosystem. It provides methods to send either single or batch transactions. It also handles tracking, error management, and toast notifications for user feedback. It is initialized in the `initApp` method and can be accessed via `TransactionManager.getInstance()`.
315
463
 
316
464
  #### Features
317
465
 
@@ -324,15 +472,15 @@ The `TransactionManager` is a class that handles sending and tracking transactio
324
472
 
325
473
  The transaction lifecycle consists of the following steps:
326
474
 
327
- 1. **Creating** a `Transaction` object using the `@multiversx/sdk-core provider`
475
+ 1. **Creating** a `Transaction` object from `@multiversx/sdk-core`
328
476
  2. **Signing** the transaction with the initialized provider and receiving a `SignedTransactionType` object
329
477
  3. **Sending** the signed transaction using TransactionManager's `send()` function. Signed transactions can be sent in 2 ways:
330
478
 
331
- **Table 4**. Sending signed transactions
479
+ **Table 5**. Sending signed transactions
332
480
  | # | Signature | Method | Description |
333
481
  |---|------|-------------|-------------|
334
482
  | 1 | `send([tx1, tx2])` | `POST` to `/transactions` | Transactions are executed in parallel
335
- | 2 | `send([[tx1, tx2], [tx3]])` | `POST` to `/batch` | First batch of two transactions is executed, and the second batch of one transaction waits for the finished results, and is then executed
483
+ | 2 | `send([[tx1, tx2], [tx3]])` | `POST` to `/batch` | **a)** 1<sup>st</sup> batch of two transactions is executed, **b)** the 2<sup>nd</sup> batch of one transaction waits for the finished results, **c)** and once the 1<sup>st</sup> batch is finished, the 2<sup>nd</sup> batch is executed
336
484
 
337
485
  4. **Tracking** transactions is made by using `transactionManager.track()`. Since the `send()` function returns the same arguments it has received, the same array payload can be passed into the `track()` method. Under the hood, status updates are received via a WebSocket or polling mechanism.
338
486
  Once a transaction array is tracked, it gets associated with a `sessionId`, returned by the `track()` method and stored in the `transactions` slice. Depending on the array's type (plain/batch), the session's status varies from initial (`pending`/`invalid`/`sent`) to final (`successful`/`failed`/`timedOut`).
@@ -370,22 +518,23 @@ createCustomToast({
370
518
  6. **Error Handling & Recovery** is done through a custom toast that prompts the user to take appropriate action.
371
519
 
372
520
  #### Methods
521
+ ___
373
522
 
374
- 1. Sending Transactions
523
+ #### 1. Sending Transactions
375
524
 
376
525
  In this way, all transactions are sent simultaneously. There is no limit to the number of transactions contained in the array.
377
526
 
378
- ```ts
527
+ ```typescript
379
528
  const transactionManager = TransactionManager.getInstance();
380
529
  const parallelTransactions: SigendTransactionType[] = [tx1, tx2, tx3, tx4];
381
530
  const sentTransactions = await transactionManager.send(parallelTransactions);
382
531
  ```
383
532
 
384
- 2. Sending Batch Transactions
533
+ #### 2. Sending Batch Transactions
385
534
 
386
535
  In this sequential case, each batch waits for the previous one to complete.
387
536
 
388
- ```ts
537
+ ```typescript
389
538
  const transactionManager = TransactionManager.getInstance();
390
539
  const batchTransactions: SignedTransactionType[][] = [
391
540
  [tx1, tx2],
@@ -394,20 +543,34 @@ const batchTransactions: SignedTransactionType[][] = [
394
543
  const sentTransactions = await transactionManager.send(batchTransactions);
395
544
  ```
396
545
 
397
- 3. Tracking Transactions
546
+ #### 3. Tracking Transactions
398
547
 
399
548
  The basic option is to use the built-in tracking, which displays toast notifications with default messages.
400
549
 
401
- ```ts
550
+ ```typescript
551
+ import { TransactionManagerTrackOptionsType } from '@multiversx/sdk-dapp/out/managers/TransactionManager/TransactionManager.types';
552
+
553
+ const options: TransactionManagerTrackOptionsType = {
554
+ disableToasts: false, // `false` by default
555
+ transactionsDisplayInfo: { // `undefined` by default
556
+ errorMessage: 'Failed adding stake',
557
+ successMessage: 'Stake successfully added',
558
+ processingMessage: 'Staking in progress'
559
+ },
560
+ sessionInformation: { // `undefined` by default. Use to perform additional actions based on the session information
561
+ stakeAmount: '1000000000000000000000000'
562
+ }
563
+ };
564
+
402
565
  const sessionId = await transactionManager.track(
403
- sentTransactions
404
- // { disableToasts: true } optionally disable toast notifications
566
+ sentTransactions,
567
+ options // optional
405
568
  );
406
569
  ```
407
570
 
408
571
  If you want to provide more human-friendly messages to your users, you can enable tracking with custom toast messages:
409
572
 
410
- ```ts
573
+ ```typescript
411
574
  const sessionId = await transactionManager.track(sentTransactions, {
412
575
  transactionsDisplayInfo: {
413
576
  errorMessage: 'Failed adding stake',
@@ -417,16 +580,16 @@ const sessionId = await transactionManager.track(sentTransactions, {
417
580
  });
418
581
  ```
419
582
 
420
- **Tracking transactions without being logged in**
583
+ #### 3.1 Tracking transactions without being logged in
421
584
 
422
585
  If your application needs to track transactions sent by a server and the user does not need to login to see the outcome of these transactions, there are several steps that you need to do to enable this process.
423
586
 
424
587
  Step 1. Enabling the tracking mechanism
425
588
 
426
- By default the tracking mechanism is enabled only after the user logs in. That is the moment when the WebSocket connection is established. If you want to enable tracking before the user logs in, you need to call the `trackTransactions` method from the `core/methods/trackTransactions` folder. This method will enable a polling mechanism.
589
+ By default the tracking mechanism is enabled only after the user logs in. That is the moment when the WebSocket connection is established. If you want to enable tracking before the user logs in, you need to call the `trackTransactions` method from the `methods/trackTransactions` folder. This method will enable a polling mechanism.
427
590
 
428
591
  ```typescript
429
- import { trackTransactions } from '@multiversx/sdk-dapp/out/core/methods/trackTransactions/trackTransactions';
592
+ import { trackTransactions } from '@multiversx/sdk-dapp/out/methods/trackTransactions/trackTransactions';
430
593
 
431
594
  initApp(config).then(async () => {
432
595
  await trackTransactions(); // enable here since by default tracking will be enabled only after login
@@ -434,10 +597,12 @@ initApp(config).then(async () => {
434
597
  });
435
598
  ```
436
599
 
600
+ Step 2. Tracking transactions
601
+
437
602
  Then, you can track transactions by calling the `track` method from the `TransactionManager` class with a plain transaction containing the transaction hash.
438
603
 
439
604
  ```typescript
440
- import { Transaction, TransactionsConverter } from '@multiversx/sdk-core/out';
605
+ import { Transaction, TransactionsConverter } from '@multiversx/sdk-core';
441
606
 
442
607
  const tManager = TransactionManager.getInstance();
443
608
  const txConverter = new TransactionsConverter();
@@ -449,11 +614,11 @@ const plainTransaction = { ...transaction.toPlainObject(), hash };
449
614
  await tManager.track([plainTransaction]);
450
615
  ```
451
616
 
452
- #### Advanced Usage
617
+ #### 3.2 Advanced Usage
453
618
 
454
619
  If you need to check the status of the signed transactions, you can query the store direclty using the `sessionId` returned by the `track()` method.
455
620
 
456
- ```ts
621
+ ```typescript
457
622
  import { getStore } from '@multiversx/sdk-dapp/out/store/store';
458
623
  import { transactionsSliceSelector } from '@multiversx/sdk-dapp/out/store/selectors/transactionsSelector';
459
624
 
@@ -467,13 +632,82 @@ Object.entries(state).forEach(([sessionKey, data]) => {
467
632
 
468
633
  ### 5. UI Components
469
634
 
470
- sdk-dapp needs to make use of visual elements for allowing the user to interact with some providers (like the ledger), or to display messages to the user (like idle states or toasts). These visual elements consitst of webcomponents hosted in the `@multiversx/sdk-dapp-ui` package. Thus, sdk-dapp does not hold any UI elements, just business logic that controls external components. We can consider two types of UI components: internal and external. They are differentiated by the way they are controlled: private components are controlled by sdk-dapp's signing or logging in flows, while public components can be controlled by the dApp.
635
+ `sdk-dapp` needs to make use of visual elements for allowing the user to interact with some providers (like the ledger), or to display messages to the user (like idle states or toasts). These visual elements consitst of webcomponents hosted in the `@multiversx/sdk-dapp-ui` package. Thus, `sdk-dapp` does not hold any UI elements, just business logic that controls external components. We can consider two types of UI components: internal and public. They are differentiated by the way they are controlled: internal components are controlled by `sdk-dapp`'s signing or logging in flows, while public components should be controlled by the dApp.
636
+
637
+ #### 5.1 Public components
638
+
639
+ The business logic for these components is served by a controller. The components are:
640
+
641
+ - `MvxTransactionsTable` - used to display the user's transactions
642
+
643
+ ```tsx
644
+ import { TransactionsTableController } from '@multiversx/sdk-dapp/out/controllers/TransactionsTableController';
645
+ import { MvxTransactionsTable } from '@multiversx/sdk-dapp-ui/react';
646
+
647
+ const processedTransactions = await TransactionsTableController.processTransactions({
648
+ address,
649
+ egldLabel: network.egldLabel,
650
+ explorerAddress: network.explorerAddress,
651
+ transactions
652
+ });
653
+
654
+ // and use like this:
655
+ <MvxTransactionsTable transactions={processedTransaction} />;
656
+
657
+ ```
658
+
659
+ - `MvxFormatAmount` - used to format the amount of the user's balance
660
+
661
+
662
+ ```tsx
663
+ import { MvxFormatAmount } from '@multiversx/sdk-dapp-ui/react';
664
+ import { MvxFormatAmountPropsType } from '@multiversx/sdk-dapp-ui/types';
665
+ export { DECIMALS, DIGITS } from '@multiversx/sdk-dapp-utils/out/constants';
666
+ import { FormatAmountController } from '@multiversx/sdk-dapp/out/controllers/FormatAmountController';
667
+ export { useGetNetworkConfig } from '@multiversx/sdk-dapp/out/react/network/useGetNetworkConfig';
668
+
669
+
670
+ interface IFormatAmountProps
671
+ extends Partial<MvxFormatAmountPropsType> {
672
+ value: string;
673
+ className?: string;
674
+ }
675
+
676
+ export const FormatAmount = (props: IFormatAmountProps) => {
677
+ const {
678
+ network: { egldLabel }
679
+ } = useGetNetworkConfig();
680
+
681
+ const { isValid, valueDecimal, valueInteger, label } =
682
+ FormatAmountController.getData({
683
+ digits: DIGITS,
684
+ decimals: DECIMALS,
685
+ egldLabel,
686
+ ...props,
687
+ input: props.value
688
+ });
689
+
690
+ return (
691
+ <MvxFormatAmount
692
+ class={props.className}
693
+ dataTestId={props['data-testid']}
694
+ isValid={isValid}
695
+ label={label}
696
+ showLabel={props.showLabel}
697
+ valueDecimal={valueDecimal}
698
+ valueInteger={valueInteger}
699
+ />
700
+ );
701
+ };
702
+
703
+
704
+
705
+ ```
471
706
 
472
- #### Public components
473
707
 
474
- #### Private components
708
+ #### 5.2 Internal components (advanced usage)
475
709
 
476
- The way private components are controlled are trough a [pub-sub pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) called EventBus. Each webcomponent has a method of exposing its EventBus, thus allowing sdk-dapp to get a reference to it and use it for communication.
710
+ The way internal components are controlled is through a [pub-sub pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) called EventBus. Each webcomponent has a method of exposing its EventBus, thus allowing `sdk-dapp` to get a reference to it and use it for communication.
477
711
 
478
712
  ```mermaid
479
713
  flowchart LR
@@ -482,13 +716,13 @@ flowchart LR
482
716
 
483
717
  ```typescript
484
718
  const modalElement = await createUIElement<LedgerConnectModal>(
485
- 'ledger-connect-panel'
719
+ 'mvx-ledger-connect-panel'
486
720
  );
487
721
  const eventBus = await modalElement.getEventBus();
488
722
  eventBus.publish('TRANSACTION_TOAST_DATA_UPDATE', someData);
489
723
  ```
490
724
 
491
- If you want to override private components and create your own, you can implement a similar strategy, of course by respecting each webcomponent's API (see an interface example [here](https://github.com/multiversx/mx-sdk-dapp/blob/main/src/core/providers/strategies/LedgerProviderStrategy/types/ledger.types.ts)).
725
+ If you want to override private components and create your own, you can implement a similar strategy by respecting each webcomponent's API (see an interface example [here](https://github.com/multiversx/mx-sdk-dapp/blob/main/src/providers/strategies/LedgerProviderStrategy/types/ledger.types.ts)).
492
726
 
493
727
  ## Debugging your dApp
494
728