@multiversx/sdk-dapp 5.0.0-alpha.8 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (844) hide show
  1. package/README.md +80 -39
  2. package/out/__chunks__/{chunk-QFWMIF3L.mjs → chunk-254WMLVS.mjs} +2 -2
  3. package/out/__chunks__/{chunk-IXJOO5U4.mjs → chunk-266T724O.mjs} +2 -2
  4. package/out/__chunks__/{chunk-2KAOFKX4.mjs → chunk-2EFXW7IG.mjs} +2 -2
  5. package/out/__chunks__/{chunk-2KAOFKX4.mjs.map → chunk-2EFXW7IG.mjs.map} +1 -1
  6. package/out/__chunks__/{chunk-Y574J2OK.mjs → chunk-2S5FRZJR.mjs} +2 -2
  7. package/out/__chunks__/chunk-2S5FRZJR.mjs.map +7 -0
  8. package/out/__chunks__/chunk-2SIHYJET.mjs +2 -0
  9. package/out/__chunks__/chunk-2SIHYJET.mjs.map +7 -0
  10. package/out/__chunks__/{chunk-675ZW4IF.mjs → chunk-2SOS3KAT.mjs} +2 -2
  11. package/out/__chunks__/{chunk-QYYNCJPD.mjs → chunk-3MWXXTQQ.mjs} +2 -2
  12. package/out/__chunks__/chunk-3NFKZZ7W.mjs +2 -0
  13. package/out/__chunks__/{chunk-KY7KOSJJ.mjs.map → chunk-3NFKZZ7W.mjs.map} +3 -3
  14. package/out/__chunks__/chunk-3ZEUVYQF.mjs +2 -0
  15. package/out/__chunks__/chunk-3ZEUVYQF.mjs.map +7 -0
  16. package/out/__chunks__/{chunk-OTQRFI3T.mjs → chunk-42LFLNPA.mjs} +2 -2
  17. package/out/__chunks__/chunk-4AKPP7B3.mjs +2 -0
  18. package/out/__chunks__/{chunk-4YETXBJD.mjs → chunk-4QDHGYT4.mjs} +2 -2
  19. package/out/__chunks__/{chunk-4YETXBJD.mjs.map → chunk-4QDHGYT4.mjs.map} +2 -2
  20. package/out/__chunks__/{chunk-RVW2ZWCR.mjs → chunk-4TZC3NF3.mjs} +2 -2
  21. package/out/__chunks__/{chunk-MHCIV2K5.mjs → chunk-4XP7BVJD.mjs} +2 -2
  22. package/out/__chunks__/chunk-4YU2DWHA.mjs +2 -0
  23. package/out/__chunks__/chunk-4YU2DWHA.mjs.map +7 -0
  24. package/out/__chunks__/chunk-4YZQBDUE.mjs +2 -0
  25. package/out/__chunks__/chunk-4ZZJX7E7.mjs +2 -0
  26. package/out/__chunks__/chunk-5LB2KNTP.mjs +2 -0
  27. package/out/__chunks__/chunk-5LB2KNTP.mjs.map +7 -0
  28. package/out/__chunks__/chunk-5OM6KD5S.mjs +2 -0
  29. package/out/__chunks__/chunk-6D2RBTVV.mjs +2 -0
  30. package/out/__chunks__/chunk-6D2RBTVV.mjs.map +7 -0
  31. package/out/__chunks__/chunk-6G7ATMU7.mjs +2 -0
  32. package/out/__chunks__/chunk-6GNNYFMN.mjs +2 -0
  33. package/out/__chunks__/chunk-6JM4DPOH.mjs +2 -0
  34. package/out/__chunks__/{chunk-IEJTMYFW.mjs.map → chunk-6JM4DPOH.mjs.map} +3 -3
  35. package/out/__chunks__/{chunk-K3WBBSXJ.mjs → chunk-6P7EXGAB.mjs} +2 -2
  36. package/out/__chunks__/{chunk-JENO4O6P.mjs → chunk-6RGWVDNQ.mjs} +2 -2
  37. package/out/__chunks__/chunk-6UZHM5LW.mjs +2 -0
  38. package/out/__chunks__/chunk-6UZHM5LW.mjs.map +7 -0
  39. package/out/__chunks__/chunk-6ZL2QC74.mjs +2 -0
  40. package/out/__chunks__/chunk-745QCLQC.mjs +2 -0
  41. package/out/__chunks__/chunk-745QCLQC.mjs.map +7 -0
  42. package/out/__chunks__/{chunk-TYYA6E7F.mjs → chunk-7BP53CXF.mjs} +2 -2
  43. package/out/__chunks__/{chunk-J4MZNYDR.mjs → chunk-ABHYXD3U.mjs} +2 -2
  44. package/out/__chunks__/{chunk-GZAY7BOI.mjs → chunk-AF2QSDSV.mjs} +2 -2
  45. package/out/__chunks__/{chunk-PDT22D2C.mjs → chunk-AV4HSXYZ.mjs} +2 -2
  46. package/out/__chunks__/{chunk-3OKWBJFM.mjs → chunk-B2RDSGON.mjs} +2 -2
  47. package/out/__chunks__/{chunk-TWWYWBJH.mjs → chunk-B7ZKW5ML.mjs} +2 -2
  48. package/out/__chunks__/{chunk-FMUDQBZE.mjs → chunk-BETSOJFK.mjs} +2 -2
  49. package/out/__chunks__/chunk-BG6QTPZ4.mjs +2 -0
  50. package/out/__chunks__/chunk-BG6QTPZ4.mjs.map +7 -0
  51. package/out/__chunks__/{chunk-C4CJOZ4L.mjs → chunk-BHAZ2W52.mjs} +2 -2
  52. package/out/__chunks__/{chunk-TO3DGAQU.mjs → chunk-BOAJJ4FX.mjs} +2 -2
  53. package/out/__chunks__/chunk-BOAJJ4FX.mjs.map +7 -0
  54. package/out/__chunks__/{chunk-PRULMJH7.mjs → chunk-BQ2I655N.mjs} +2 -2
  55. package/out/__chunks__/{chunk-KMFYDHOY.mjs → chunk-BRBIUWAW.mjs} +2 -2
  56. package/out/__chunks__/{chunk-53BZNNVL.mjs → chunk-BVLXVOIC.mjs} +2 -2
  57. package/out/__chunks__/{chunk-53BZNNVL.mjs.map → chunk-BVLXVOIC.mjs.map} +2 -2
  58. package/out/__chunks__/chunk-CAA4VJRH.mjs +2 -0
  59. package/out/__chunks__/{chunk-QD3CFFVT.mjs.map → chunk-CAA4VJRH.mjs.map} +3 -3
  60. package/out/__chunks__/chunk-CBF72LQF.mjs +2 -0
  61. package/out/__chunks__/chunk-CIY7IH2N.mjs +2 -0
  62. package/out/__chunks__/{chunk-GVKHWWIS.mjs → chunk-CJQAA4EP.mjs} +2 -2
  63. package/out/__chunks__/chunk-CKTFPRJS.mjs +2 -0
  64. package/out/__chunks__/chunk-CKTFPRJS.mjs.map +7 -0
  65. package/out/__chunks__/chunk-CVPP4HQE.mjs +2 -0
  66. package/out/__chunks__/chunk-CVPP4HQE.mjs.map +7 -0
  67. package/out/__chunks__/chunk-CYCS3K6Q.mjs +2 -0
  68. package/out/__chunks__/{chunk-SUN3MVLZ.mjs.map → chunk-CYCS3K6Q.mjs.map} +2 -2
  69. package/out/__chunks__/chunk-D5SD7UPB.mjs +2 -0
  70. package/out/__chunks__/chunk-D5SD7UPB.mjs.map +7 -0
  71. package/out/__chunks__/chunk-DGYPNF4O.mjs +2 -0
  72. package/out/__chunks__/{chunk-SNKFFCSF.mjs → chunk-DHPD6E7P.mjs} +2 -2
  73. package/out/__chunks__/{chunk-M6ATGCOM.mjs → chunk-DNHKXKYY.mjs} +2 -2
  74. package/out/__chunks__/{chunk-OF6HBWFR.mjs → chunk-DV3XIKOX.mjs} +2 -2
  75. package/out/__chunks__/chunk-E7BYYSVM.mjs +2 -0
  76. package/out/__chunks__/{chunk-4I2FE6NE.mjs → chunk-EQEYL6AE.mjs} +2 -2
  77. package/out/__chunks__/{chunk-OOPHCYRC.mjs → chunk-FAOCLLIW.mjs} +2 -2
  78. package/out/__chunks__/chunk-FEFZKA2B.mjs +2 -0
  79. package/out/__chunks__/{chunk-2AAKENSP.mjs → chunk-FIVH6RKU.mjs} +2 -2
  80. package/out/__chunks__/chunk-FMQYLMTU.mjs +2 -0
  81. package/out/__chunks__/chunk-FMQYLMTU.mjs.map +7 -0
  82. package/out/__chunks__/{chunk-RIQNG4I7.mjs → chunk-FSCOQWQN.mjs} +2 -2
  83. package/out/__chunks__/{chunk-3JNON2SM.mjs → chunk-FZFKEGPM.mjs} +2 -2
  84. package/out/__chunks__/{chunk-55RBZAD6.mjs → chunk-GFTTAANM.mjs} +2 -2
  85. package/out/__chunks__/{chunk-K7WAPWQA.mjs → chunk-GT2HLNE7.mjs} +2 -2
  86. package/out/__chunks__/{chunk-CUSKOIRI.mjs → chunk-H7BJSM6C.mjs} +2 -2
  87. package/out/__chunks__/{chunk-HQSB4ISG.mjs → chunk-HIUWEH2W.mjs} +2 -2
  88. package/out/__chunks__/{chunk-5L474T4X.mjs → chunk-HUITKXBO.mjs} +2 -2
  89. package/out/__chunks__/{chunk-G7XIDD62.mjs → chunk-HXXZKQRJ.mjs} +2 -2
  90. package/out/__chunks__/chunk-I37JLMZH.mjs +2 -0
  91. package/out/__chunks__/chunk-I6BXGQLQ.mjs +2 -0
  92. package/out/__chunks__/chunk-I6BXGQLQ.mjs.map +7 -0
  93. package/out/__chunks__/chunk-IBSC2B7Q.mjs +2 -0
  94. package/out/__chunks__/{chunk-YWBC3WTI.mjs → chunk-ID7WYMJZ.mjs} +2 -2
  95. package/out/__chunks__/chunk-ID7WYMJZ.mjs.map +7 -0
  96. package/out/__chunks__/chunk-IMPOALRX.mjs +2 -0
  97. package/out/__chunks__/{chunk-RHN3VD44.mjs.map → chunk-IMPOALRX.mjs.map} +2 -2
  98. package/out/__chunks__/{chunk-KUQH2ZBR.mjs → chunk-INWUHEQN.mjs} +2 -2
  99. package/out/__chunks__/{chunk-VQIWENYE.mjs → chunk-ISPOZQQO.mjs} +2 -2
  100. package/out/__chunks__/{chunk-WVB4VPRI.mjs → chunk-IXUYZYD2.mjs} +2 -2
  101. package/out/__chunks__/chunk-J4CPYFK6.mjs +2 -0
  102. package/out/__chunks__/{chunk-K3G3SPRT.mjs.map → chunk-J4CPYFK6.mjs.map} +1 -1
  103. package/out/__chunks__/{chunk-6ZDBHK76.mjs → chunk-JIJSBQEU.mjs} +2 -2
  104. package/out/__chunks__/chunk-JR23TXKP.mjs +2 -0
  105. package/out/__chunks__/chunk-JR23TXKP.mjs.map +7 -0
  106. package/out/__chunks__/{chunk-YMUUG42I.mjs → chunk-JZ7434LN.mjs} +2 -2
  107. package/out/__chunks__/{chunk-QDIXBYIO.mjs → chunk-KN7QMGWV.mjs} +2 -2
  108. package/out/__chunks__/{chunk-QQNYMMUM.mjs → chunk-KSKOSHYV.mjs} +2 -2
  109. package/out/__chunks__/{chunk-J7MZZ2X2.mjs → chunk-KSMSBTTQ.mjs} +2 -2
  110. package/out/__chunks__/chunk-L4QPPHVR.mjs +2 -0
  111. package/out/__chunks__/chunk-L4QPPHVR.mjs.map +7 -0
  112. package/out/__chunks__/{chunk-LNABNVAO.mjs → chunk-LIPGE2RA.mjs} +2 -2
  113. package/out/__chunks__/{chunk-4AOTLDWS.mjs → chunk-LUDF7ZUR.mjs} +2 -2
  114. package/out/__chunks__/{chunk-IYS5W63R.mjs → chunk-MRV6OG7P.mjs} +2 -2
  115. package/out/__chunks__/chunk-N2RYRHHL.mjs +2 -0
  116. package/out/__chunks__/{chunk-3Z3DQFG6.mjs → chunk-NJPTQNCT.mjs} +2 -2
  117. package/out/__chunks__/chunk-NPZ5PO2W.mjs +2 -0
  118. package/out/__chunks__/chunk-NQ6SJRHZ.mjs +2 -0
  119. package/out/__chunks__/chunk-O2DO3WJJ.mjs +2 -0
  120. package/out/__chunks__/chunk-O2DO3WJJ.mjs.map +7 -0
  121. package/out/__chunks__/{chunk-73EXR25L.mjs → chunk-O3V4TGXK.mjs} +2 -2
  122. package/out/__chunks__/{chunk-ZMEIT65B.mjs → chunk-OD4ANAAQ.mjs} +2 -2
  123. package/out/__chunks__/chunk-OZ4ZZI3H.mjs +2 -0
  124. package/out/__chunks__/{chunk-IEJARRBP.mjs.map → chunk-OZ4ZZI3H.mjs.map} +2 -2
  125. package/out/__chunks__/chunk-P32DZ2CO.mjs +2 -0
  126. package/out/__chunks__/{chunk-45WVS4H5.mjs.map → chunk-P32DZ2CO.mjs.map} +2 -2
  127. package/out/__chunks__/{chunk-BEUXUWCR.mjs → chunk-P3BXXGQA.mjs} +2 -2
  128. package/out/__chunks__/chunk-PHNC5JMP.mjs +2 -0
  129. package/out/__chunks__/chunk-PHNC5JMP.mjs.map +7 -0
  130. package/out/__chunks__/{chunk-5AR7YU5K.mjs → chunk-PJDJEPY2.mjs} +2 -2
  131. package/out/__chunks__/chunk-QJGFIK7H.mjs +2 -0
  132. package/out/__chunks__/chunk-QJGFIK7H.mjs.map +7 -0
  133. package/out/__chunks__/{chunk-LTF535HP.mjs → chunk-QJSB5NX4.mjs} +2 -2
  134. package/out/__chunks__/{chunk-VIJUIJ4V.mjs → chunk-QSBLXZFC.mjs} +2 -2
  135. package/out/__chunks__/{chunk-U52ITGAN.mjs → chunk-QSYQIJEO.mjs} +2 -2
  136. package/out/__chunks__/{chunk-YEXBSKXL.mjs → chunk-QWV25ZSJ.mjs} +2 -2
  137. package/out/__chunks__/chunk-RBUHL65H.mjs +2 -0
  138. package/out/__chunks__/chunk-RBUHL65H.mjs.map +7 -0
  139. package/out/__chunks__/chunk-RFKBUN7S.mjs +2 -0
  140. package/out/__chunks__/chunk-RFKBUN7S.mjs.map +7 -0
  141. package/out/__chunks__/{chunk-ZHGCNNB5.mjs → chunk-RM4VHHXR.mjs} +2 -2
  142. package/out/__chunks__/{chunk-XW2GCCBZ.mjs → chunk-RRKNYQ6D.mjs} +2 -2
  143. package/out/__chunks__/chunk-RSUHZ7IH.mjs +2 -0
  144. package/out/__chunks__/chunk-RVO7H26H.mjs +2 -0
  145. package/out/__chunks__/chunk-RVO7H26H.mjs.map +7 -0
  146. package/out/__chunks__/{chunk-NHXPNROG.mjs → chunk-S2FQWSUO.mjs} +1 -1
  147. package/out/__chunks__/chunk-S2FQWSUO.mjs.map +7 -0
  148. package/out/__chunks__/{chunk-LKWCLZTU.mjs → chunk-S4WKQEYF.mjs} +2 -2
  149. package/out/__chunks__/chunk-SLH6IQJJ.mjs +2 -0
  150. package/out/__chunks__/chunk-SLH6IQJJ.mjs.map +7 -0
  151. package/out/__chunks__/{chunk-I7ODJJY3.mjs → chunk-TI73UXGG.mjs} +2 -2
  152. package/out/__chunks__/chunk-TNXSVX5O.mjs +2 -0
  153. package/out/__chunks__/chunk-TNXSVX5O.mjs.map +7 -0
  154. package/out/__chunks__/chunk-TQA3JDNV.mjs +2 -0
  155. package/out/__chunks__/chunk-TQA3JDNV.mjs.map +7 -0
  156. package/out/__chunks__/{chunk-RI7FD4HM.mjs → chunk-TSUMQ3HX.mjs} +2 -2
  157. package/out/__chunks__/{chunk-RI7FD4HM.mjs.map → chunk-TSUMQ3HX.mjs.map} +1 -1
  158. package/out/__chunks__/{chunk-3IMDPLG5.mjs → chunk-U34BNBOX.mjs} +2 -2
  159. package/out/__chunks__/{chunk-SPSO2A53.mjs → chunk-U64LDJTG.mjs} +2 -2
  160. package/out/__chunks__/chunk-UAW7SD6P.mjs +2 -0
  161. package/out/__chunks__/{chunk-HR6GP43Q.mjs → chunk-V2C7APME.mjs} +2 -2
  162. package/out/__chunks__/{chunk-PPA7AFVD.mjs → chunk-VFAKQ7NM.mjs} +2 -2
  163. package/out/__chunks__/{chunk-QQ4OPT5A.mjs → chunk-VJ2DAL5M.mjs} +2 -2
  164. package/out/__chunks__/chunk-VQAKIVIO.mjs +2 -0
  165. package/out/__chunks__/chunk-VQAKIVIO.mjs.map +7 -0
  166. package/out/__chunks__/{chunk-SKEL25G3.mjs → chunk-VXLJWKLG.mjs} +2 -2
  167. package/out/__chunks__/chunk-WHEXX3BD.mjs +1 -0
  168. package/out/__chunks__/chunk-WPXNKIUP.mjs +2 -0
  169. package/out/__chunks__/chunk-WPXNKIUP.mjs.map +7 -0
  170. package/out/__chunks__/{chunk-6L56KRO6.mjs → chunk-XPYJSDNF.mjs} +2 -2
  171. package/out/__chunks__/chunk-YA5U6YEL.mjs +2 -0
  172. package/out/__chunks__/{chunk-ZJOTHYI2.mjs → chunk-YB7AHPBR.mjs} +2 -2
  173. package/out/__chunks__/{chunk-AJEWAECH.mjs → chunk-YKRSCVRE.mjs} +2 -2
  174. package/out/__chunks__/chunk-YO3ATAA6.mjs +2 -0
  175. package/out/__chunks__/chunk-YO3ATAA6.mjs.map +7 -0
  176. package/out/__chunks__/{chunk-CTMAC553.mjs → chunk-YTFYVPZO.mjs} +2 -2
  177. package/out/__chunks__/chunk-YUITECZ5.mjs +1 -0
  178. package/out/__chunks__/chunk-Z4OHB36I.mjs +2 -0
  179. package/out/__chunks__/chunk-ZWVYAOKB.mjs +2 -0
  180. package/out/__chunks__/chunk-ZWVYAOKB.mjs.map +7 -0
  181. package/out/__chunks__/{chunk-YAO67FPP.mjs → chunk-ZXIBFH6X.mjs} +2 -2
  182. package/out/__mocks__/accountConfig.mjs +1 -1
  183. package/out/__mocks__/index.mjs +1 -1
  184. package/out/__mocks__/server.mjs +1 -1
  185. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  186. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  187. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  188. package/out/apiCalls/index.mjs +1 -1
  189. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  190. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  191. package/out/apiCalls/tokens/index.mjs +1 -1
  192. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  193. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  194. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  195. package/out/constants/browser.constants.mjs +1 -1
  196. package/out/constants/index.mjs +1 -1
  197. package/out/constants/providerFactory.constants.mjs +1 -1
  198. package/out/constants/storage.constants.mjs +1 -1
  199. package/out/constants/transactions.constants.d.ts +1 -0
  200. package/out/constants/transactions.constants.js +2 -1
  201. package/out/constants/transactions.constants.js.map +1 -1
  202. package/out/constants/transactions.constants.mjs +1 -1
  203. package/out/constants/window.constants.d.ts +1 -0
  204. package/out/constants/window.constants.js +2 -1
  205. package/out/constants/window.constants.js.map +1 -1
  206. package/out/constants/window.constants.mjs +1 -1
  207. package/out/controllers/FormatAmountController/FormatAmountController.mjs +1 -1
  208. package/out/controllers/FormatAmountController/index.mjs +1 -1
  209. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  210. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  211. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  212. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  213. package/out/controllers/index.mjs +1 -1
  214. package/out/index.mjs +1 -1
  215. package/out/lib/sdkDappUtils.d.ts +1 -1
  216. package/out/lib/sdkDappUtils.mjs +1 -1
  217. package/out/lib/sdkWebWalletCrossWindowProvider.d.ts +2 -0
  218. package/out/lib/sdkWebWalletCrossWindowProvider.js +4 -1
  219. package/out/lib/sdkWebWalletCrossWindowProvider.js.map +1 -1
  220. package/out/lib/sdkWebWalletCrossWindowProvider.mjs +1 -1
  221. package/out/managers/LogoutManager/LogoutManager.d.ts +15 -0
  222. package/out/managers/LogoutManager/LogoutManager.js +137 -0
  223. package/out/managers/LogoutManager/LogoutManager.js.map +1 -0
  224. package/out/managers/LogoutManager/LogoutManager.mjs +2 -0
  225. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.d.ts +1 -0
  226. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js +33 -0
  227. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.js.map +1 -0
  228. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.mjs +2 -0
  229. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.d.ts +1 -0
  230. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js +48 -0
  231. package/out/managers/LogoutManager/helpers/tests/getHumanReadableTokenExpirationTime.test.js.map +1 -0
  232. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.d.ts +2 -1
  233. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js +13 -3
  234. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.js.map +1 -1
  235. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  236. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  237. package/out/managers/TransactionManager/TransactionManager.d.ts +17 -5
  238. package/out/managers/TransactionManager/TransactionManager.js +18 -1
  239. package/out/managers/TransactionManager/TransactionManager.js.map +1 -1
  240. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  241. package/out/managers/TransactionManager/TransactionManager.types.d.ts +12 -0
  242. package/out/{providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.js → managers/TransactionManager/TransactionManager.types.js} +1 -1
  243. package/out/managers/TransactionManager/TransactionManager.types.js.map +1 -0
  244. package/out/managers/TransactionManager/TransactionManager.types.mjs +1 -0
  245. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  246. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  247. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  248. package/out/managers/TransactionManager/helpers/sessionCallbacks.d.ts +7 -0
  249. package/out/managers/TransactionManager/helpers/sessionCallbacks.js +14 -0
  250. package/out/managers/TransactionManager/helpers/sessionCallbacks.js.map +1 -0
  251. package/out/managers/TransactionManager/helpers/sessionCallbacks.mjs +2 -0
  252. package/out/managers/TransactionManager/index.mjs +1 -1
  253. package/out/managers/UnlockPanelManager/UnlockPanelManager.js +1 -3
  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 +12 -5
  257. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.js.map +1 -1
  258. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.mjs +1 -1
  259. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  260. package/out/managers/index.mjs +1 -1
  261. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  262. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  263. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.d.ts +0 -1
  264. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js +7 -14
  265. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.js.map +1 -1
  266. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  267. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.d.ts +1 -1
  268. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js +1 -1
  269. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.js.map +1 -1
  270. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  271. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  272. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.d.ts +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.d.ts +6 -4
  278. package/out/managers/internal/ToastManager/ToastManager.js +27 -19
  279. package/out/managers/internal/ToastManager/ToastManager.js.map +1 -1
  280. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  281. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js +1 -1
  282. package/out/managers/internal/ToastManager/helpers/LifetimeManager.js.map +1 -1
  283. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  284. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  285. package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +1 -1
  286. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  287. package/out/managers/internal/ToastManager/types/index.mjs +1 -1
  288. package/out/managers/internal/ToastManager/types/toast.types.d.ts +3 -1
  289. package/out/managers/internal/ToastManager/types/toast.types.js +2 -0
  290. package/out/managers/internal/ToastManager/types/toast.types.js.map +1 -1
  291. package/out/managers/internal/ToastManager/types/toast.types.mjs +1 -1
  292. package/out/managers/internal/UIBaseManager/UIBaseManager.d.ts +1 -1
  293. package/out/managers/internal/UIBaseManager/UIBaseManager.js +2 -2
  294. package/out/managers/internal/UIBaseManager/UIBaseManager.js.map +1 -1
  295. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  296. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js +2 -1
  297. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.js.map +1 -1
  298. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  299. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  300. package/out/managers/internal/index.mjs +1 -1
  301. package/out/methods/account/getAccount.mjs +1 -1
  302. package/out/methods/account/getAccountInfo.mjs +1 -1
  303. package/out/methods/account/getAddress.mjs +1 -1
  304. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  305. package/out/methods/account/getLatestNonce.mjs +1 -1
  306. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  307. package/out/methods/initApp/initApp.js +21 -23
  308. package/out/methods/initApp/initApp.js.map +1 -1
  309. package/out/methods/initApp/initApp.mjs +1 -1
  310. package/out/methods/initApp/initApp.mjs.map +3 -3
  311. package/out/methods/initApp/initApp.types.d.ts +34 -5
  312. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  313. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  314. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  315. package/out/methods/network/getEgldLabel.mjs +1 -1
  316. package/out/methods/network/getExplorerAddress.mjs +1 -1
  317. package/out/methods/network/getNetworkConfig.mjs +1 -1
  318. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js +27 -10
  319. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.js.map +1 -1
  320. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  321. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  322. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  323. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.d.ts +1 -1
  324. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js +7 -2
  325. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.js.map +1 -1
  326. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  327. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.d.ts +7 -0
  328. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js +24 -0
  329. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.js.map +1 -0
  330. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs +2 -0
  331. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.mjs.map +7 -0
  332. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  333. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  334. package/out/methods/transactions/getFailedTransactions.d.ts +1 -0
  335. package/out/methods/transactions/getFailedTransactions.js +10 -0
  336. package/out/methods/transactions/getFailedTransactions.js.map +1 -0
  337. package/out/methods/transactions/getFailedTransactions.mjs +2 -0
  338. package/out/methods/transactions/getFailedTransactions.mjs.map +7 -0
  339. package/out/methods/transactions/getFailedTransactionsSessions.d.ts +1 -0
  340. package/out/methods/transactions/getFailedTransactionsSessions.js +10 -0
  341. package/out/methods/transactions/getFailedTransactionsSessions.js.map +1 -0
  342. package/out/methods/transactions/getFailedTransactionsSessions.mjs +2 -0
  343. package/out/methods/transactions/getFailedTransactionsSessions.mjs.map +7 -0
  344. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  345. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  346. package/out/methods/transactions/getSuccessfulTransactions.d.ts +1 -0
  347. package/out/methods/transactions/getSuccessfulTransactions.js +10 -0
  348. package/out/methods/transactions/getSuccessfulTransactions.js.map +1 -0
  349. package/out/methods/transactions/getSuccessfulTransactions.mjs +2 -0
  350. package/out/methods/transactions/getSuccessfulTransactions.mjs.map +7 -0
  351. package/out/methods/transactions/getSuccessfulTransactionsSessions.d.ts +1 -0
  352. package/out/methods/transactions/getSuccessfulTransactionsSessions.js +10 -0
  353. package/out/methods/transactions/getSuccessfulTransactionsSessions.js.map +1 -0
  354. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +2 -0
  355. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs.map +7 -0
  356. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  357. package/out/providers/DappProvider/DappProvider.d.ts +1 -2
  358. package/out/providers/DappProvider/DappProvider.js +16 -6
  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.mjs +1 -1
  366. package/out/providers/DappProvider/helpers/logout/logout.js +1 -7
  367. package/out/providers/DappProvider/helpers/logout/logout.js.map +1 -1
  368. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  369. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  370. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js +0 -5
  371. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.js.map +1 -1
  372. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  373. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  374. package/out/providers/DappProvider/index.mjs +1 -1
  375. package/out/providers/ProviderFactory.js +10 -8
  376. package/out/providers/ProviderFactory.js.map +1 -1
  377. package/out/providers/ProviderFactory.mjs +1 -1
  378. package/out/providers/helpers/accountProvider.mjs +1 -1
  379. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  380. package/out/providers/helpers/clearInitiatedLogins.js +2 -1
  381. package/out/providers/helpers/clearInitiatedLogins.js.map +1 -1
  382. package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
  383. package/out/providers/helpers/emptyProvider.mjs +1 -1
  384. package/out/providers/helpers/restoreProvider.js +14 -1
  385. package/out/providers/helpers/restoreProvider.js.map +1 -1
  386. package/out/providers/helpers/restoreProvider.mjs +1 -1
  387. package/out/providers/index.mjs +1 -1
  388. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.d.ts +4 -5
  389. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.js.map +1 -1
  390. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  391. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.d.ts +1 -2
  392. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js +0 -15
  393. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.js.map +1 -1
  394. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  395. package/out/providers/strategies/CrossWindowProviderStrategy/index.d.ts +0 -1
  396. package/out/providers/strategies/CrossWindowProviderStrategy/index.js +0 -1
  397. package/out/providers/strategies/CrossWindowProviderStrategy/index.js.map +1 -1
  398. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  399. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.d.ts +1 -1
  400. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.js.map +1 -1
  401. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  402. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  403. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.d.ts +1 -1
  404. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.js.map +1 -1
  405. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  406. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  407. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.d.ts +1 -1
  408. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.js.map +1 -1
  409. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  410. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  411. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  412. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  413. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  414. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  415. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  416. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  417. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  418. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  419. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  420. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  421. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +1 -1
  422. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js +13 -2
  423. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.js.map +1 -1
  424. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  425. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  426. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.mjs +1 -1
  427. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.d.ts +1 -0
  428. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.mjs +1 -1
  429. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.d.ts +20 -0
  430. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js +147 -0
  431. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.js.map +1 -0
  432. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +2 -0
  433. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs.map +7 -0
  434. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.d.ts +1 -0
  435. package/out/providers/strategies/{CrossWindowProviderStrategy/types → WebviewProviderStrategy/WebviewClient}/index.js +1 -1
  436. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.js.map +1 -0
  437. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +2 -0
  438. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs.map +7 -0
  439. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.d.ts +1 -1
  440. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.js +11 -2
  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/WebviewProviderStrategy/tests/webview.test.js +20 -17
  445. package/out/providers/strategies/WebviewProviderStrategy/tests/webview.test.js.map +1 -1
  446. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  447. package/out/providers/strategies/helpers/index.mjs +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 +1 -1
  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.mjs +1 -1
  457. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.mjs +1 -1
  458. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js +6 -6
  459. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/tests/getCommonData.test.js.map +1 -1
  460. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  461. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.mjs +1 -1
  462. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.mjs +1 -1
  463. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.mjs +1 -1
  464. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.mjs +1 -1
  465. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js +0 -1
  466. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.js.map +1 -1
  467. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  468. package/out/providers/strategies/helpers/signTransactions/signTransactions.js +27 -20
  469. package/out/providers/strategies/helpers/signTransactions/signTransactions.js.map +1 -1
  470. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  471. package/out/providers/strategies/index.mjs +1 -1
  472. package/out/providers/types/providerFactory.types.d.ts +1 -2
  473. package/out/providers/types/providerFactory.types.js.map +1 -1
  474. package/out/providers/types/providerFactory.types.mjs +1 -1
  475. package/out/react/account/useGetAccount.mjs +1 -1
  476. package/out/react/account/useGetAccountInfo.mjs +1 -1
  477. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  478. package/out/react/account/useGetLatestNonce.mjs +1 -1
  479. package/out/react/index.mjs +1 -1
  480. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  481. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  482. package/out/react/store/getReactStore.mjs +1 -1
  483. package/out/react/store/useSelector.mjs +1 -1
  484. package/out/react/transactions/useGetFailedTransactions.d.ts +1 -0
  485. package/out/react/transactions/useGetFailedTransactions.js +11 -0
  486. package/out/react/transactions/useGetFailedTransactions.js.map +1 -0
  487. package/out/react/transactions/useGetFailedTransactions.mjs +2 -0
  488. package/out/react/transactions/useGetFailedTransactions.mjs.map +7 -0
  489. package/out/react/transactions/useGetFailedTransactionsSessions.d.ts +1 -0
  490. package/out/react/transactions/useGetFailedTransactionsSessions.js +11 -0
  491. package/out/react/transactions/useGetFailedTransactionsSessions.js.map +1 -0
  492. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +2 -0
  493. package/out/react/transactions/useGetFailedTransactionsSessions.mjs.map +7 -0
  494. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  495. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  496. package/out/react/transactions/useGetSuccessfulTransactions.d.ts +1 -0
  497. package/out/react/transactions/useGetSuccessfulTransactions.js +11 -0
  498. package/out/react/transactions/useGetSuccessfulTransactions.js.map +1 -0
  499. package/out/react/transactions/useGetSuccessfulTransactions.mjs +2 -0
  500. package/out/react/transactions/useGetSuccessfulTransactions.mjs.map +7 -0
  501. package/out/react/transactions/useGetSuccessfulTransactionsSessions.d.ts +1 -0
  502. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js +11 -0
  503. package/out/react/transactions/useGetSuccessfulTransactionsSessions.js.map +1 -0
  504. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +2 -0
  505. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs.map +7 -0
  506. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  507. package/out/services/index.mjs +1 -1
  508. package/out/services/nativeAuth/index.mjs +1 -1
  509. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  510. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.d.ts +2 -1
  511. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js +12 -5
  512. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.js.map +1 -1
  513. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  514. package/out/services/nativeAuth/methods/index.mjs +1 -1
  515. package/out/services/nativeAuth/nativeAuth.js +6 -8
  516. package/out/services/nativeAuth/nativeAuth.js.map +1 -1
  517. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  518. package/out/store/actions/account/accountActions.mjs +1 -1
  519. package/out/store/actions/account/index.mjs +1 -1
  520. package/out/store/actions/cache/cacheActions.mjs +1 -1
  521. package/out/store/actions/cache/index.mjs +1 -1
  522. package/out/store/actions/config/configActions.d.ts +0 -2
  523. package/out/store/actions/config/configActions.js +1 -5
  524. package/out/store/actions/config/configActions.js.map +1 -1
  525. package/out/store/actions/config/configActions.mjs +1 -1
  526. package/out/store/actions/config/index.mjs +1 -1
  527. package/out/store/actions/index.mjs +1 -1
  528. package/out/store/actions/loginInfo/loginInfoActions.js.map +1 -1
  529. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  530. package/out/store/actions/network/index.mjs +1 -1
  531. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  532. package/out/store/actions/network/networkActions.mjs +1 -1
  533. package/out/store/actions/sharedActions/index.mjs +1 -1
  534. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  535. package/out/store/actions/toasts/index.mjs +1 -1
  536. package/out/store/actions/toasts/toastsActions.d.ts +1 -1
  537. package/out/store/actions/toasts/toastsActions.js +3 -1
  538. package/out/store/actions/toasts/toastsActions.js.map +1 -1
  539. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  540. package/out/store/actions/transactions/transactionsActions.d.ts +6 -4
  541. package/out/store/actions/transactions/transactionsActions.js +16 -7
  542. package/out/store/actions/transactions/transactionsActions.js.map +1 -1
  543. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  544. package/out/store/actions/ui/index.mjs +1 -1
  545. package/out/store/actions/ui/uiActions.mjs +1 -1
  546. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  547. package/out/store/middleware/index.mjs +1 -1
  548. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  549. package/out/store/selectors/accountSelectors.mjs +1 -1
  550. package/out/store/selectors/configSelectors.d.ts +0 -1
  551. package/out/store/selectors/configSelectors.js +1 -5
  552. package/out/store/selectors/configSelectors.js.map +1 -1
  553. package/out/store/selectors/configSelectors.mjs +1 -1
  554. package/out/store/selectors/index.mjs +1 -1
  555. package/out/store/selectors/transactionsSelector.d.ts +2 -0
  556. package/out/store/selectors/transactionsSelector.js +29 -1
  557. package/out/store/selectors/transactionsSelector.js.map +1 -1
  558. package/out/store/selectors/transactionsSelector.mjs +1 -1
  559. package/out/store/slices/account/accountSlice.mjs +1 -1
  560. package/out/store/slices/account/emptyAccount.mjs +1 -1
  561. package/out/store/slices/account/index.mjs +1 -1
  562. package/out/store/slices/config/config.types.d.ts +0 -2
  563. package/out/store/slices/config/configSlice.js +0 -1
  564. package/out/store/slices/config/configSlice.js.map +1 -1
  565. package/out/store/slices/config/configSlice.mjs +1 -1
  566. package/out/store/slices/config/index.mjs +1 -1
  567. package/out/store/slices/index.mjs +1 -1
  568. package/out/store/storage/index.mjs +1 -1
  569. package/out/store/storage/storageCallback.mjs +1 -1
  570. package/out/store/store.mjs +1 -1
  571. package/out/types/index.d.ts +1 -0
  572. package/out/types/index.js +1 -0
  573. package/out/types/index.js.map +1 -1
  574. package/out/types/index.mjs +1 -1
  575. package/out/types/theme.types.d.ts +4 -0
  576. package/out/types/theme.types.js +9 -0
  577. package/out/types/theme.types.js.map +1 -0
  578. package/out/types/theme.types.mjs +2 -0
  579. package/out/types/theme.types.mjs.map +7 -0
  580. package/out/types/transactions.types.d.ts +4 -0
  581. package/out/types/transactions.types.mjs.map +1 -1
  582. package/out/utils/ComponentFactory.d.ts +14 -0
  583. package/out/utils/{createUIElement.js → ComponentFactory.js} +14 -4
  584. package/out/utils/ComponentFactory.js.map +1 -0
  585. package/out/utils/ComponentFactory.mjs +2 -0
  586. package/out/utils/ComponentFactory.mjs.map +7 -0
  587. package/out/utils/account/index.d.ts +1 -0
  588. package/out/utils/account/index.js +1 -0
  589. package/out/utils/account/index.js.map +1 -1
  590. package/out/utils/account/index.mjs +1 -1
  591. package/out/utils/account/refreshAccount.mjs +1 -1
  592. package/out/{core/providers/DappProvider/helpers/login/helpers → utils/account}/refreshNativeAuthTokenLogin.d.ts +2 -2
  593. package/out/{core/providers/DappProvider/helpers/login/helpers → utils/account}/refreshNativeAuthTokenLogin.js +6 -9
  594. package/out/utils/account/refreshNativeAuthTokenLogin.js.map +1 -0
  595. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +2 -0
  596. package/out/utils/account/refreshNativeAuthTokenLogin.mjs.map +7 -0
  597. package/out/utils/decoders/index.mjs +1 -1
  598. package/out/utils/index.d.ts +1 -0
  599. package/out/utils/index.js +1 -0
  600. package/out/utils/index.js.map +1 -1
  601. package/out/utils/index.mjs +1 -1
  602. package/out/utils/operations/trimAmountDecimals.mjs +1 -1
  603. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  604. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  605. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.mjs +1 -1
  606. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.mjs +1 -1
  607. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.mjs +1 -1
  608. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.mjs +1 -1
  609. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.mjs +1 -1
  610. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.mjs +1 -1
  611. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.mjs +1 -1
  612. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.mjs +1 -1
  613. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.mjs +1 -1
  614. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  615. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  616. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  617. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.mjs +1 -1
  618. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  619. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  620. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  621. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  622. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  623. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.mjs +1 -1
  624. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.mjs +1 -1
  625. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  626. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.mjs +1 -1
  627. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.mjs +1 -1
  628. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  629. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.mjs +1 -1
  630. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  631. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  632. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  633. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  634. package/out/utils/transactions/index.mjs +1 -1
  635. package/out/utils/validation/index.mjs +1 -1
  636. package/out/utils/validation/isContract.mjs +1 -1
  637. package/out/utils/visual/index.d.ts +1 -0
  638. package/out/utils/visual/index.js +18 -0
  639. package/out/utils/visual/index.js.map +1 -0
  640. package/out/utils/visual/index.mjs +2 -0
  641. package/out/utils/visual/index.mjs.map +7 -0
  642. package/out/utils/visual/switchTheme.d.ts +2 -0
  643. package/out/utils/visual/switchTheme.js +15 -0
  644. package/out/utils/visual/switchTheme.js.map +1 -0
  645. package/out/utils/visual/switchTheme.mjs +2 -0
  646. package/out/utils/visual/switchTheme.mjs.map +7 -0
  647. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  648. package/out/utils/window/getIsInIframe.mjs +1 -1
  649. package/out/utils/window/getWindowLocation.js +7 -1
  650. package/out/utils/window/getWindowLocation.js.map +1 -1
  651. package/out/utils/window/getWindowLocation.mjs +1 -1
  652. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  653. package/out/utils/window/index.mjs +1 -1
  654. package/package.json +16 -15
  655. package/out/__chunks__/chunk-2G6DWPQU.mjs +0 -2
  656. package/out/__chunks__/chunk-2G6DWPQU.mjs.map +0 -7
  657. package/out/__chunks__/chunk-2GSNHNKW.mjs +0 -1
  658. package/out/__chunks__/chunk-2WB5WD5K.mjs +0 -2
  659. package/out/__chunks__/chunk-2WB5WD5K.mjs.map +0 -7
  660. package/out/__chunks__/chunk-35YS2DV5.mjs +0 -2
  661. package/out/__chunks__/chunk-35YS2DV5.mjs.map +0 -7
  662. package/out/__chunks__/chunk-3IXTYHAU.mjs +0 -2
  663. package/out/__chunks__/chunk-3IXTYHAU.mjs.map +0 -7
  664. package/out/__chunks__/chunk-45WVS4H5.mjs +0 -2
  665. package/out/__chunks__/chunk-6BGPH7MV.mjs +0 -2
  666. package/out/__chunks__/chunk-6BGPH7MV.mjs.map +0 -7
  667. package/out/__chunks__/chunk-7QCBLUWB.mjs +0 -2
  668. package/out/__chunks__/chunk-7QCBLUWB.mjs.map +0 -7
  669. package/out/__chunks__/chunk-AC2L3PV3.mjs +0 -2
  670. package/out/__chunks__/chunk-AJJVMOJF.mjs +0 -2
  671. package/out/__chunks__/chunk-AJJVMOJF.mjs.map +0 -7
  672. package/out/__chunks__/chunk-BVKOA6WH.mjs +0 -2
  673. package/out/__chunks__/chunk-BVKOA6WH.mjs.map +0 -7
  674. package/out/__chunks__/chunk-BXUBAIBU.mjs +0 -2
  675. package/out/__chunks__/chunk-CO3V5DOG.mjs +0 -1
  676. package/out/__chunks__/chunk-CT6RFJJM.mjs +0 -2
  677. package/out/__chunks__/chunk-DTI4TQ2I.mjs +0 -2
  678. package/out/__chunks__/chunk-EPMXW255.mjs +0 -2
  679. package/out/__chunks__/chunk-EVL6UUJJ.mjs +0 -2
  680. package/out/__chunks__/chunk-F3AMNJ5K.mjs +0 -2
  681. package/out/__chunks__/chunk-F3AMNJ5K.mjs.map +0 -7
  682. package/out/__chunks__/chunk-FFNSZC37.mjs +0 -2
  683. package/out/__chunks__/chunk-FFNSZC37.mjs.map +0 -7
  684. package/out/__chunks__/chunk-FLC6QSZB.mjs +0 -1
  685. package/out/__chunks__/chunk-IEJARRBP.mjs +0 -2
  686. package/out/__chunks__/chunk-IEJTMYFW.mjs +0 -2
  687. package/out/__chunks__/chunk-IJEPA3W2.mjs +0 -2
  688. package/out/__chunks__/chunk-IJEPA3W2.mjs.map +0 -7
  689. package/out/__chunks__/chunk-IMGZJVC6.mjs +0 -2
  690. package/out/__chunks__/chunk-IMGZJVC6.mjs.map +0 -7
  691. package/out/__chunks__/chunk-JR3FBBRR.mjs +0 -2
  692. package/out/__chunks__/chunk-JR3FBBRR.mjs.map +0 -7
  693. package/out/__chunks__/chunk-K3G3SPRT.mjs +0 -2
  694. package/out/__chunks__/chunk-KY7KOSJJ.mjs +0 -2
  695. package/out/__chunks__/chunk-LETBBKOK.mjs +0 -2
  696. package/out/__chunks__/chunk-LRHRFWQ4.mjs +0 -2
  697. package/out/__chunks__/chunk-LRHRFWQ4.mjs.map +0 -7
  698. package/out/__chunks__/chunk-M6IVW6AN.mjs +0 -2
  699. package/out/__chunks__/chunk-M7R5JSEH.mjs +0 -2
  700. package/out/__chunks__/chunk-MAT2WHLY.mjs +0 -2
  701. package/out/__chunks__/chunk-NHXPNROG.mjs.map +0 -7
  702. package/out/__chunks__/chunk-OH6SHSQZ.mjs +0 -2
  703. package/out/__chunks__/chunk-OLYQNOEP.mjs +0 -2
  704. package/out/__chunks__/chunk-P5YASUQH.mjs +0 -2
  705. package/out/__chunks__/chunk-QD3CFFVT.mjs +0 -2
  706. package/out/__chunks__/chunk-RHN3VD44.mjs +0 -2
  707. package/out/__chunks__/chunk-RIXZPR7R.mjs +0 -2
  708. package/out/__chunks__/chunk-SUN3MVLZ.mjs +0 -2
  709. package/out/__chunks__/chunk-TO3DGAQU.mjs.map +0 -7
  710. package/out/__chunks__/chunk-UQXXWVTL.mjs +0 -2
  711. package/out/__chunks__/chunk-UQXXWVTL.mjs.map +0 -7
  712. package/out/__chunks__/chunk-UWNXZP4Z.mjs +0 -2
  713. package/out/__chunks__/chunk-V7QVBIYB.mjs +0 -2
  714. package/out/__chunks__/chunk-V7QVBIYB.mjs.map +0 -7
  715. package/out/__chunks__/chunk-V7ZVI2WS.mjs +0 -2
  716. package/out/__chunks__/chunk-VK47SZJ2.mjs +0 -2
  717. package/out/__chunks__/chunk-VPZ3QEMD.mjs +0 -2
  718. package/out/__chunks__/chunk-W5W6YGA5.mjs +0 -2
  719. package/out/__chunks__/chunk-WGH5AERA.mjs +0 -2
  720. package/out/__chunks__/chunk-X5OSPJKQ.mjs +0 -2
  721. package/out/__chunks__/chunk-X5OSPJKQ.mjs.map +0 -7
  722. package/out/__chunks__/chunk-XPX7PTGI.mjs +0 -2
  723. package/out/__chunks__/chunk-XPX7PTGI.mjs.map +0 -7
  724. package/out/__chunks__/chunk-Y574J2OK.mjs.map +0 -7
  725. package/out/__chunks__/chunk-Y62KWXTT.mjs +0 -2
  726. package/out/__chunks__/chunk-YB2E5WOO.mjs +0 -2
  727. package/out/__chunks__/chunk-YB2E5WOO.mjs.map +0 -7
  728. package/out/__chunks__/chunk-YMME2BFO.mjs +0 -2
  729. package/out/__chunks__/chunk-YMME2BFO.mjs.map +0 -7
  730. package/out/__chunks__/chunk-YRHMGKLM.mjs +0 -2
  731. package/out/__chunks__/chunk-YRHMGKLM.mjs.map +0 -7
  732. package/out/__chunks__/chunk-YWBC3WTI.mjs.map +0 -7
  733. package/out/__chunks__/chunk-ZOGJGVPP.mjs +0 -2
  734. package/out/__chunks__/chunk-ZOGJGVPP.mjs.map +0 -7
  735. package/out/__chunks__/chunk-ZZOHAMTX.mjs +0 -2
  736. package/out/__chunks__/chunk-ZZOHAMTX.mjs.map +0 -7
  737. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.js.map +0 -1
  738. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs +0 -2
  739. package/out/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.mjs.map +0 -7
  740. package/out/providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.d.ts +0 -6
  741. package/out/providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.js.map +0 -1
  742. package/out/providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.mjs +0 -2
  743. package/out/providers/strategies/CrossWindowProviderStrategy/types/index.d.ts +0 -1
  744. package/out/providers/strategies/CrossWindowProviderStrategy/types/index.js.map +0 -1
  745. package/out/providers/strategies/CrossWindowProviderStrategy/types/index.mjs +0 -2
  746. package/out/utils/createUIElement.d.ts +0 -9
  747. package/out/utils/createUIElement.js.map +0 -1
  748. package/out/utils/createUIElement.mjs +0 -2
  749. /package/out/__chunks__/{chunk-QFWMIF3L.mjs.map → chunk-254WMLVS.mjs.map} +0 -0
  750. /package/out/__chunks__/{chunk-IXJOO5U4.mjs.map → chunk-266T724O.mjs.map} +0 -0
  751. /package/out/__chunks__/{chunk-675ZW4IF.mjs.map → chunk-2SOS3KAT.mjs.map} +0 -0
  752. /package/out/__chunks__/{chunk-QYYNCJPD.mjs.map → chunk-3MWXXTQQ.mjs.map} +0 -0
  753. /package/out/__chunks__/{chunk-OTQRFI3T.mjs.map → chunk-42LFLNPA.mjs.map} +0 -0
  754. /package/out/__chunks__/{chunk-DTI4TQ2I.mjs.map → chunk-4AKPP7B3.mjs.map} +0 -0
  755. /package/out/__chunks__/{chunk-RVW2ZWCR.mjs.map → chunk-4TZC3NF3.mjs.map} +0 -0
  756. /package/out/__chunks__/{chunk-MHCIV2K5.mjs.map → chunk-4XP7BVJD.mjs.map} +0 -0
  757. /package/out/__chunks__/{chunk-MAT2WHLY.mjs.map → chunk-4YZQBDUE.mjs.map} +0 -0
  758. /package/out/__chunks__/{chunk-W5W6YGA5.mjs.map → chunk-4ZZJX7E7.mjs.map} +0 -0
  759. /package/out/__chunks__/{chunk-AC2L3PV3.mjs.map → chunk-5OM6KD5S.mjs.map} +0 -0
  760. /package/out/__chunks__/{chunk-OLYQNOEP.mjs.map → chunk-6G7ATMU7.mjs.map} +0 -0
  761. /package/out/__chunks__/{chunk-Y62KWXTT.mjs.map → chunk-6GNNYFMN.mjs.map} +0 -0
  762. /package/out/__chunks__/{chunk-K3WBBSXJ.mjs.map → chunk-6P7EXGAB.mjs.map} +0 -0
  763. /package/out/__chunks__/{chunk-JENO4O6P.mjs.map → chunk-6RGWVDNQ.mjs.map} +0 -0
  764. /package/out/__chunks__/{chunk-OH6SHSQZ.mjs.map → chunk-6ZL2QC74.mjs.map} +0 -0
  765. /package/out/__chunks__/{chunk-TYYA6E7F.mjs.map → chunk-7BP53CXF.mjs.map} +0 -0
  766. /package/out/__chunks__/{chunk-J4MZNYDR.mjs.map → chunk-ABHYXD3U.mjs.map} +0 -0
  767. /package/out/__chunks__/{chunk-GZAY7BOI.mjs.map → chunk-AF2QSDSV.mjs.map} +0 -0
  768. /package/out/__chunks__/{chunk-PDT22D2C.mjs.map → chunk-AV4HSXYZ.mjs.map} +0 -0
  769. /package/out/__chunks__/{chunk-3OKWBJFM.mjs.map → chunk-B2RDSGON.mjs.map} +0 -0
  770. /package/out/__chunks__/{chunk-TWWYWBJH.mjs.map → chunk-B7ZKW5ML.mjs.map} +0 -0
  771. /package/out/__chunks__/{chunk-FMUDQBZE.mjs.map → chunk-BETSOJFK.mjs.map} +0 -0
  772. /package/out/__chunks__/{chunk-C4CJOZ4L.mjs.map → chunk-BHAZ2W52.mjs.map} +0 -0
  773. /package/out/__chunks__/{chunk-PRULMJH7.mjs.map → chunk-BQ2I655N.mjs.map} +0 -0
  774. /package/out/__chunks__/{chunk-KMFYDHOY.mjs.map → chunk-BRBIUWAW.mjs.map} +0 -0
  775. /package/out/__chunks__/{chunk-WGH5AERA.mjs.map → chunk-CBF72LQF.mjs.map} +0 -0
  776. /package/out/__chunks__/{chunk-M7R5JSEH.mjs.map → chunk-CIY7IH2N.mjs.map} +0 -0
  777. /package/out/__chunks__/{chunk-GVKHWWIS.mjs.map → chunk-CJQAA4EP.mjs.map} +0 -0
  778. /package/out/__chunks__/{chunk-CT6RFJJM.mjs.map → chunk-DGYPNF4O.mjs.map} +0 -0
  779. /package/out/__chunks__/{chunk-SNKFFCSF.mjs.map → chunk-DHPD6E7P.mjs.map} +0 -0
  780. /package/out/__chunks__/{chunk-M6ATGCOM.mjs.map → chunk-DNHKXKYY.mjs.map} +0 -0
  781. /package/out/__chunks__/{chunk-OF6HBWFR.mjs.map → chunk-DV3XIKOX.mjs.map} +0 -0
  782. /package/out/__chunks__/{chunk-P5YASUQH.mjs.map → chunk-E7BYYSVM.mjs.map} +0 -0
  783. /package/out/__chunks__/{chunk-4I2FE6NE.mjs.map → chunk-EQEYL6AE.mjs.map} +0 -0
  784. /package/out/__chunks__/{chunk-OOPHCYRC.mjs.map → chunk-FAOCLLIW.mjs.map} +0 -0
  785. /package/out/__chunks__/{chunk-BXUBAIBU.mjs.map → chunk-FEFZKA2B.mjs.map} +0 -0
  786. /package/out/__chunks__/{chunk-2AAKENSP.mjs.map → chunk-FIVH6RKU.mjs.map} +0 -0
  787. /package/out/__chunks__/{chunk-RIQNG4I7.mjs.map → chunk-FSCOQWQN.mjs.map} +0 -0
  788. /package/out/__chunks__/{chunk-3JNON2SM.mjs.map → chunk-FZFKEGPM.mjs.map} +0 -0
  789. /package/out/__chunks__/{chunk-55RBZAD6.mjs.map → chunk-GFTTAANM.mjs.map} +0 -0
  790. /package/out/__chunks__/{chunk-K7WAPWQA.mjs.map → chunk-GT2HLNE7.mjs.map} +0 -0
  791. /package/out/__chunks__/{chunk-CUSKOIRI.mjs.map → chunk-H7BJSM6C.mjs.map} +0 -0
  792. /package/out/__chunks__/{chunk-HQSB4ISG.mjs.map → chunk-HIUWEH2W.mjs.map} +0 -0
  793. /package/out/__chunks__/{chunk-5L474T4X.mjs.map → chunk-HUITKXBO.mjs.map} +0 -0
  794. /package/out/__chunks__/{chunk-G7XIDD62.mjs.map → chunk-HXXZKQRJ.mjs.map} +0 -0
  795. /package/out/__chunks__/{chunk-RIXZPR7R.mjs.map → chunk-I37JLMZH.mjs.map} +0 -0
  796. /package/out/__chunks__/{chunk-VK47SZJ2.mjs.map → chunk-IBSC2B7Q.mjs.map} +0 -0
  797. /package/out/__chunks__/{chunk-KUQH2ZBR.mjs.map → chunk-INWUHEQN.mjs.map} +0 -0
  798. /package/out/__chunks__/{chunk-VQIWENYE.mjs.map → chunk-ISPOZQQO.mjs.map} +0 -0
  799. /package/out/__chunks__/{chunk-WVB4VPRI.mjs.map → chunk-IXUYZYD2.mjs.map} +0 -0
  800. /package/out/__chunks__/{chunk-6ZDBHK76.mjs.map → chunk-JIJSBQEU.mjs.map} +0 -0
  801. /package/out/__chunks__/{chunk-YMUUG42I.mjs.map → chunk-JZ7434LN.mjs.map} +0 -0
  802. /package/out/__chunks__/{chunk-QDIXBYIO.mjs.map → chunk-KN7QMGWV.mjs.map} +0 -0
  803. /package/out/__chunks__/{chunk-QQNYMMUM.mjs.map → chunk-KSKOSHYV.mjs.map} +0 -0
  804. /package/out/__chunks__/{chunk-J7MZZ2X2.mjs.map → chunk-KSMSBTTQ.mjs.map} +0 -0
  805. /package/out/__chunks__/{chunk-LNABNVAO.mjs.map → chunk-LIPGE2RA.mjs.map} +0 -0
  806. /package/out/__chunks__/{chunk-4AOTLDWS.mjs.map → chunk-LUDF7ZUR.mjs.map} +0 -0
  807. /package/out/__chunks__/{chunk-IYS5W63R.mjs.map → chunk-MRV6OG7P.mjs.map} +0 -0
  808. /package/out/__chunks__/{chunk-UWNXZP4Z.mjs.map → chunk-N2RYRHHL.mjs.map} +0 -0
  809. /package/out/__chunks__/{chunk-3Z3DQFG6.mjs.map → chunk-NJPTQNCT.mjs.map} +0 -0
  810. /package/out/__chunks__/{chunk-M6IVW6AN.mjs.map → chunk-NPZ5PO2W.mjs.map} +0 -0
  811. /package/out/__chunks__/{chunk-EPMXW255.mjs.map → chunk-NQ6SJRHZ.mjs.map} +0 -0
  812. /package/out/__chunks__/{chunk-73EXR25L.mjs.map → chunk-O3V4TGXK.mjs.map} +0 -0
  813. /package/out/__chunks__/{chunk-ZMEIT65B.mjs.map → chunk-OD4ANAAQ.mjs.map} +0 -0
  814. /package/out/__chunks__/{chunk-BEUXUWCR.mjs.map → chunk-P3BXXGQA.mjs.map} +0 -0
  815. /package/out/__chunks__/{chunk-5AR7YU5K.mjs.map → chunk-PJDJEPY2.mjs.map} +0 -0
  816. /package/out/__chunks__/{chunk-LTF535HP.mjs.map → chunk-QJSB5NX4.mjs.map} +0 -0
  817. /package/out/__chunks__/{chunk-VIJUIJ4V.mjs.map → chunk-QSBLXZFC.mjs.map} +0 -0
  818. /package/out/__chunks__/{chunk-U52ITGAN.mjs.map → chunk-QSYQIJEO.mjs.map} +0 -0
  819. /package/out/__chunks__/{chunk-YEXBSKXL.mjs.map → chunk-QWV25ZSJ.mjs.map} +0 -0
  820. /package/out/__chunks__/{chunk-ZHGCNNB5.mjs.map → chunk-RM4VHHXR.mjs.map} +0 -0
  821. /package/out/__chunks__/{chunk-XW2GCCBZ.mjs.map → chunk-RRKNYQ6D.mjs.map} +0 -0
  822. /package/out/__chunks__/{chunk-EVL6UUJJ.mjs.map → chunk-RSUHZ7IH.mjs.map} +0 -0
  823. /package/out/__chunks__/{chunk-LKWCLZTU.mjs.map → chunk-S4WKQEYF.mjs.map} +0 -0
  824. /package/out/__chunks__/{chunk-I7ODJJY3.mjs.map → chunk-TI73UXGG.mjs.map} +0 -0
  825. /package/out/__chunks__/{chunk-3IMDPLG5.mjs.map → chunk-U34BNBOX.mjs.map} +0 -0
  826. /package/out/__chunks__/{chunk-SPSO2A53.mjs.map → chunk-U64LDJTG.mjs.map} +0 -0
  827. /package/out/__chunks__/{chunk-LETBBKOK.mjs.map → chunk-UAW7SD6P.mjs.map} +0 -0
  828. /package/out/__chunks__/{chunk-HR6GP43Q.mjs.map → chunk-V2C7APME.mjs.map} +0 -0
  829. /package/out/__chunks__/{chunk-PPA7AFVD.mjs.map → chunk-VFAKQ7NM.mjs.map} +0 -0
  830. /package/out/__chunks__/{chunk-QQ4OPT5A.mjs.map → chunk-VJ2DAL5M.mjs.map} +0 -0
  831. /package/out/__chunks__/{chunk-SKEL25G3.mjs.map → chunk-VXLJWKLG.mjs.map} +0 -0
  832. /package/out/__chunks__/{chunk-2GSNHNKW.mjs.map → chunk-WHEXX3BD.mjs.map} +0 -0
  833. /package/out/__chunks__/{chunk-6L56KRO6.mjs.map → chunk-XPYJSDNF.mjs.map} +0 -0
  834. /package/out/__chunks__/{chunk-VPZ3QEMD.mjs.map → chunk-YA5U6YEL.mjs.map} +0 -0
  835. /package/out/__chunks__/{chunk-ZJOTHYI2.mjs.map → chunk-YB7AHPBR.mjs.map} +0 -0
  836. /package/out/__chunks__/{chunk-AJEWAECH.mjs.map → chunk-YKRSCVRE.mjs.map} +0 -0
  837. /package/out/__chunks__/{chunk-CTMAC553.mjs.map → chunk-YTFYVPZO.mjs.map} +0 -0
  838. /package/out/__chunks__/{chunk-CO3V5DOG.mjs.map → chunk-YUITECZ5.mjs.map} +0 -0
  839. /package/out/__chunks__/{chunk-V7ZVI2WS.mjs.map → chunk-Z4OHB36I.mjs.map} +0 -0
  840. /package/out/__chunks__/{chunk-YAO67FPP.mjs.map → chunk-ZXIBFH6X.mjs.map} +0 -0
  841. /package/out/{__chunks__/chunk-FLC6QSZB.mjs.map → managers/LogoutManager/LogoutManager.mjs.map} +0 -0
  842. /package/out/{providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.mjs.map → managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.mjs.map} +0 -0
  843. /package/out/{providers/strategies/CrossWindowProviderStrategy/types/index.mjs.map → managers/TransactionManager/TransactionManager.types.mjs.map} +0 -0
  844. /package/out/{utils/createUIElement.mjs.map → managers/TransactionManager/helpers/sessionCallbacks.mjs.map} +0 -0
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/createUIElement.ts"],
4
- "sourcesContent": ["import { IEventBus } from '@multiversx/sdk-dapp-ui/dist/loader';\nimport { safeWindow } from 'constants/index';\nimport { UITagsEnum } from 'constants/UITags.enum';\nimport { defineCustomElements } from 'lib/sdkDappUi';\n\nexport interface CreateEventBusUIElementType extends HTMLElement {\n getEventBus: () => Promise<IEventBus | null>;\n}\n\nexport const createUIElement = async <T = CreateEventBusUIElementType>({\n name,\n anchor\n}: {\n name: UITagsEnum;\n anchor?: HTMLElement;\n}) => {\n await defineCustomElements(safeWindow);\n\n if (!safeWindow.document) {\n return {} as T;\n }\n\n const element = safeWindow.document.createElement(name);\n const rootElement = anchor || safeWindow.document.body;\n rootElement.appendChild(element);\n await customElements.whenDefined(name);\n\n return element as T;\n};\n"],
5
- "mappings": "kFASO,IAAMA,EAAkB,MAAwC,CACrE,KAAAC,EACA,OAAAC,CACF,IAGM,CAGJ,GAFA,MAAMC,EAAqBC,CAAU,EAEjC,CAACA,EAAW,SACd,MAAO,CAAC,EAGV,IAAMC,EAAUD,EAAW,SAAS,cAAcH,CAAI,EAEtD,OADoBC,GAAUE,EAAW,SAAS,MACtC,YAAYC,CAAO,EAC/B,MAAM,eAAe,YAAYJ,CAAI,EAE9BI,CACT",
6
- "names": ["createUIElement", "name", "anchor", "defineCustomElements", "safeWindow", "element"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-TO3DGAQU.mjs";var n=class t extends e{constructor(){super({uiDataUpdateEvent:"DATA_UPDATE",uiTag:"mvx-wallet-connect"});this.initialData={wcURI:""};this.data={...this.initialData}}static getInstance(){return t.instance||(t.instance=new t),t.instance}handleClose(a){a?.isLoginFinished||(this.anchor?this.anchor.dispatchEvent(new CustomEvent("ANCHOR_CLOSE",{composed:!1,bubbles:!1})):this.destroy())}async setupEventListeners(){this.eventBus&&(this.eventBus.subscribe("CLOSE",this.handleClose.bind(this)),this.eventBus.subscribe("UI_DISCONNECTED",this.destroy.bind(this)))}};export{n as a};
2
- //# sourceMappingURL=chunk-YRHMGKLM.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/internal/WalletConnectStateManager/WalletConnectStateManager.ts"],
4
- "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { MvxWalletConnect } from 'lib/sdkDappUi';\nimport { UnlockPanelEventsEnum } from 'managers/UnlockPanelManager/UnlockPanelManager.types';\nimport {\n WalletConnectEventsEnum,\n IWalletConnectModalData\n} from 'providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types';\nimport { UIBaseManager } from '../UIBaseManager/UIBaseManager';\n\nexport class WalletConnectStateManager extends UIBaseManager<\n MvxWalletConnect,\n IWalletConnectModalData,\n WalletConnectEventsEnum\n> {\n private static instance: WalletConnectStateManager;\n\n protected initialData: IWalletConnectModalData = {\n wcURI: ''\n };\n\n public static getInstance(): WalletConnectStateManager {\n if (!WalletConnectStateManager.instance) {\n WalletConnectStateManager.instance = new WalletConnectStateManager();\n }\n return WalletConnectStateManager.instance;\n }\n\n constructor() {\n super({\n uiDataUpdateEvent: WalletConnectEventsEnum.DATA_UPDATE,\n uiTag: UITagsEnum.WALLET_CONNECT\n });\n this.data = { ...this.initialData };\n }\n\n public handleClose(options?: { isLoginFinished?: boolean }) {\n if (options?.isLoginFinished) {\n return;\n }\n\n if (this.anchor) {\n this.anchor.dispatchEvent(\n new CustomEvent(UnlockPanelEventsEnum.ANCHOR_CLOSE, {\n composed: false,\n bubbles: false\n })\n );\n } else {\n this.destroy();\n }\n }\n\n protected async setupEventListeners() {\n if (!this.eventBus) {\n return;\n }\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.CLOSE,\n this.handleClose.bind(this)\n );\n\n this.eventBus.subscribe(\n WalletConnectEventsEnum.UI_DISCONNECTED,\n this.destroy.bind(this)\n );\n }\n}\n"],
5
- "mappings": "yCASO,IAAMA,EAAN,MAAMC,UAAkCC,CAI7C,CAcA,aAAc,CACZ,MAAM,CACJ,gCACA,0BACF,CAAC,EAfH,KAAU,YAAuC,CAC/C,MAAO,EACT,EAcE,KAAK,KAAO,CAAE,GAAG,KAAK,WAAY,CACpC,CAbA,OAAc,aAAyC,CACrD,OAAKD,EAA0B,WAC7BA,EAA0B,SAAW,IAAIA,GAEpCA,EAA0B,QACnC,CAUO,YAAYE,EAAyC,CACtDA,GAAS,kBAIT,KAAK,OACP,KAAK,OAAO,cACV,IAAI,2BAAgD,CAClD,SAAU,GACV,QAAS,EACX,CAAC,CACH,EAEA,KAAK,QAAQ,EAEjB,CAEA,MAAgB,qBAAsB,CAC/B,KAAK,WAIV,KAAK,SAAS,kBAEZ,KAAK,YAAY,KAAK,IAAI,CAC5B,EAEA,KAAK,SAAS,4BAEZ,KAAK,QAAQ,KAAK,IAAI,CACxB,EACF,CACF",
6
- "names": ["WalletConnectStateManager", "_WalletConnectStateManager", "UIBaseManager", "options"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/internal/SidePanelBaseManager/SidePanelBaseManager.ts"],
4
- "sourcesContent": ["import { UITagsEnum } from 'constants/UITags.enum';\nimport { setIsSidePanelOpen } from 'store/actions/ui/uiActions';\nimport { CreateEventBusUIElementType } from 'utils/createUIElement';\nimport { UIBaseManager } from '../UIBaseManager/UIBaseManager';\n\ninterface ISideManagerUIElement extends CreateEventBusUIElementType {\n closeWithAnimation?: () => Promise<unknown>;\n}\n\nexport abstract class SidePanelBaseManager<\n TElement extends ISideManagerUIElement,\n TData extends Record<string, any> | null,\n TEventEnum extends string\n> extends UIBaseManager<TElement, TData, TEventEnum> {\n protected isOpen = false;\n\n constructor({\n uiDataUpdateEvent,\n uiTag\n }: {\n uiTag: UITagsEnum;\n uiDataUpdateEvent: TEventEnum;\n }) {\n super({\n uiDataUpdateEvent,\n uiTag\n });\n this.data = this.getInitialData();\n }\n\n public async openUI() {\n if (this.isOpen && this.uiElement) {\n // UI element is already open\n return;\n }\n\n await super.init();\n this.setIsSidePanelOpen(true);\n }\n\n public async destroy() {\n this.setIsSidePanelOpen(false);\n await this.uiElement?.closeWithAnimation?.();\n\n super.destroy();\n }\n\n public closeUI(): void {\n this.resetData();\n this.destroy();\n }\n\n private setIsSidePanelOpen(isOpen: boolean): void {\n this.isOpen = isOpen;\n setIsSidePanelOpen(isOpen);\n }\n}\n"],
5
- "mappings": "kFASO,IAAeA,EAAf,cAIGC,CAA2C,CAGnD,YAAY,CACV,kBAAAC,EACA,MAAAC,CACF,EAGG,CACD,MAAM,CACJ,kBAAAD,EACA,MAAAC,CACF,CAAC,EAZH,KAAU,OAAS,GAajB,KAAK,KAAO,KAAK,eAAe,CAClC,CAEA,MAAa,QAAS,CAChB,KAAK,QAAU,KAAK,YAKxB,MAAM,MAAM,KAAK,EACjB,KAAK,mBAAmB,EAAI,EAC9B,CAEA,MAAa,SAAU,CACrB,KAAK,mBAAmB,EAAK,EAC7B,MAAM,KAAK,WAAW,qBAAqB,EAE3C,MAAM,QAAQ,CAChB,CAEO,SAAgB,CACrB,KAAK,UAAU,EACf,KAAK,QAAQ,CACf,CAEQ,mBAAmBC,EAAuB,CAChD,KAAK,OAASA,EACdC,EAAmBD,CAAM,CAC3B,CACF",
6
- "names": ["SidePanelBaseManager", "UIBaseManager", "uiDataUpdateEvent", "uiTag", "isOpen", "setIsSidePanelOpen"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as u}from"./chunk-L3MWDI6J.mjs";import{s as r}from"./chunk-4YETXBJD.mjs";var m=({transactions:s,transactionsDisplayInfo:n,status:e})=>{let t=Date.now().toString();return r().setState(({transactions:o})=>{o[t]={transactions:s,status:e,transactionsDisplayInfo:n,interpretedTransactions:{}}},!1,"createTransactionsSession"),t},g=({sessionId:s,status:n,errorMessage:e})=>{r().setState(({transactions:t})=>{t[s].status=n,t[s].errorMessage=e},!1,"updateTransactionsSession")},y=({sessionId:s,transaction:n})=>{r().setState(({transactions:e})=>{let t=e[s]?.transactions;if(t!=null){e[s].transactions=t.map(a=>a.hash===n.hash?{...a,...n??{}}:a);let o=u(t);o&&(e[s].status=o)}},!1,"updateTransactionStatus")},h=()=>{r().setState(({transactions:s,toasts:n})=>{let t=Object.keys(s).filter(a=>{let c=s[a];if(!c)return!1;let{status:i}=c;return!(i==="pending"||i==="signed"||i==="sent")});t.forEach(a=>{delete s[a]});let o=n.transactionToasts.filter(a=>!t.includes(a.toastId));n.transactionToasts=o},!1,"clearCompletedTransactions")};export{m as a,g as b,y as c,h as d};
2
- //# sourceMappingURL=chunk-ZOGJGVPP.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/store/actions/transactions/transactionsActions.ts"],
4
- "sourcesContent": ["import { getTransactionsSessionStatus } from 'managers/TransactionManager/helpers/getTransactionsStatus';\nimport { getStore } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport {\n TransactionsDisplayInfoType,\n SignedTransactionType\n} from 'types/transactions.types';\n\nexport const createTransactionsSession = ({\n transactions,\n transactionsDisplayInfo,\n status\n}: {\n transactions: SignedTransactionType[];\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n status: TransactionBatchStatusesEnum | TransactionServerStatusesEnum;\n}) => {\n const sessionId = Date.now().toString();\n getStore().setState(\n ({ transactions: state }) => {\n state[sessionId] = {\n transactions,\n status,\n transactionsDisplayInfo,\n interpretedTransactions: {}\n };\n },\n false,\n 'createTransactionsSession'\n );\n return sessionId;\n};\n\nexport const updateTransactionsSession = ({\n sessionId,\n status,\n errorMessage\n}: {\n sessionId: string;\n status: TransactionBatchStatusesEnum;\n errorMessage?: string;\n}) => {\n getStore().setState(\n ({ transactions: state }) => {\n state[sessionId].status = status;\n state[sessionId].errorMessage = errorMessage;\n },\n false,\n 'updateTransactionsSession'\n );\n};\n\nexport const updateTransactionStatus = ({\n sessionId,\n transaction: updatedTransaction\n}: {\n sessionId: string;\n transaction: SignedTransactionType;\n}) => {\n getStore().setState(\n ({ transactions: state }) => {\n const transactions = state[sessionId]?.transactions;\n if (transactions != null) {\n state[sessionId].transactions = transactions.map((transaction) => {\n if (transaction.hash === updatedTransaction.hash) {\n return {\n ...transaction,\n ...(updatedTransaction ?? {})\n };\n }\n return transaction;\n });\n\n const status = getTransactionsSessionStatus(transactions);\n if (status) {\n state[sessionId].status = status;\n }\n }\n },\n false,\n 'updateTransactionStatus'\n );\n};\n\nexport const clearCompletedTransactions = () => {\n getStore().setState(\n ({ transactions: state, toasts: toastsState }) => {\n const sessionIds = Object.keys(state);\n\n const completedSessionIds = sessionIds.filter((sessionId) => {\n const session = state[sessionId];\n if (!session) {\n return false;\n }\n\n const { status } = session;\n\n const isPending =\n status === TransactionServerStatusesEnum.pending ||\n status === TransactionBatchStatusesEnum.signed ||\n status === TransactionBatchStatusesEnum.sent;\n\n return !isPending;\n });\n\n completedSessionIds.forEach((sessionId) => {\n delete state[sessionId];\n });\n\n const filteredTransactionToasts = toastsState.transactionToasts.filter(\n (toast) => !completedSessionIds.includes(toast.toastId)\n );\n\n toastsState.transactionToasts = filteredTransactionToasts;\n },\n false,\n 'clearCompletedTransactions'\n );\n};\n"],
5
- "mappings": "kFAWO,IAAMA,EAA4B,CAAC,CACxC,aAAAC,EACA,wBAAAC,EACA,OAAAC,CACF,IAIM,CACJ,IAAMC,EAAY,KAAK,IAAI,EAAE,SAAS,EACtC,OAAAC,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3BA,EAAMF,CAAS,EAAI,CACjB,aAAAH,EACA,OAAAE,EACA,wBAAAD,EACA,wBAAyB,CAAC,CAC5B,CACF,EACA,GACA,2BACF,EACOE,CACT,EAEaG,EAA4B,CAAC,CACxC,UAAAH,EACA,OAAAD,EACA,aAAAK,CACF,IAIM,CACJH,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3BA,EAAMF,CAAS,EAAE,OAASD,EAC1BG,EAAMF,CAAS,EAAE,aAAeI,CAClC,EACA,GACA,2BACF,CACF,EAEaC,EAA0B,CAAC,CACtC,UAAAL,EACA,YAAaM,CACf,IAGM,CACJL,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,CAAM,IAAM,CAC3B,IAAML,EAAeK,EAAMF,CAAS,GAAG,aACvC,GAAIH,GAAgB,KAAM,CACxBK,EAAMF,CAAS,EAAE,aAAeH,EAAa,IAAKU,GAC5CA,EAAY,OAASD,EAAmB,KACnC,CACL,GAAGC,EACH,GAAID,GAAsB,CAAC,CAC7B,EAEKC,CACR,EAED,IAAMR,EAASS,EAA6BX,CAAY,EACpDE,IACFG,EAAMF,CAAS,EAAE,OAASD,EAE9B,CACF,EACA,GACA,yBACF,CACF,EAEaU,EAA6B,IAAM,CAC9CR,EAAS,EAAE,SACT,CAAC,CAAE,aAAcC,EAAO,OAAQQ,CAAY,IAAM,CAGhD,IAAMC,EAFa,OAAO,KAAKT,CAAK,EAEG,OAAQF,GAAc,CAC3D,IAAMY,EAAUV,EAAMF,CAAS,EAC/B,GAAI,CAACY,EACH,MAAO,GAGT,GAAM,CAAE,OAAAb,CAAO,EAAIa,EAOnB,MAAO,EAJLb,eACAA,cACAA,WAGJ,CAAC,EAEDY,EAAoB,QAASX,GAAc,CACzC,OAAOE,EAAMF,CAAS,CACxB,CAAC,EAED,IAAMa,EAA4BH,EAAY,kBAAkB,OAC7DI,GAAU,CAACH,EAAoB,SAASG,EAAM,OAAO,CACxD,EAEAJ,EAAY,kBAAoBG,CAClC,EACA,GACA,4BACF,CACF",
6
- "names": ["createTransactionsSession", "transactions", "transactionsDisplayInfo", "status", "sessionId", "getStore", "state", "updateTransactionsSession", "errorMessage", "updateTransactionStatus", "updatedTransaction", "transaction", "getTransactionsSessionStatus", "clearCompletedTransactions", "toastsState", "completedSessionIds", "session", "filteredTransactionToasts", "toast"]
7
- }
@@ -1,2 +0,0 @@
1
- import{a as S}from"./chunk-OLYQNOEP.mjs";import{a as f}from"./chunk-EAJBSX6Y.mjs";import{a as g}from"./chunk-Y3BNMQFP.mjs";import{g as u}from"./chunk-2G6DWPQU.mjs";import{h as l}from"./chunk-QD3CFFVT.mjs";import{a as y}from"./chunk-P5YASUQH.mjs";import{a as m}from"./chunk-ZOGJGVPP.mjs";import{a as T}from"./chunk-L3MWDI6J.mjs";import{u as p}from"./chunk-4YETXBJD.mjs";import{b as c}from"./chunk-SAAOQW7P.mjs";import{e as d}from"./chunk-R53MCZI6.mjs";import h from"axios";var r=class r{constructor(){this.send=async a=>{if(a.length===0)throw new Error("No transactions to send");try{if(!f(a))return await this.sendSignedTransactions(a);let t=await this.sendSignedBatchTransactions(a);if(!t.data||t.data.error)throw new Error(t.data?.error??"Failed to send transactions");return t.data.transactions}catch(t){throw t.response?.data?.message??t.message}};this.track=async(a,t={disableToasts:!1})=>{let s=this.sequentialToFlatArray(a).map(i=>({...i,status:i.status??"pending"})),e=T(s),o=m({transactions:s,transactionsDisplayInfo:t.transactionsDisplayInfo,status:e??"sent"});if(t.disableToasts===!0)return o;let n=S(a);return u({toastId:o,totalDuration:n}),o};this.sendSignedTransactions=async a=>{let{apiAddress:t,apiTimeout:s}=c(p()),e=a.map(n=>h.post(`${t}/transactions`,n.toPlainObject(),{timeout:Number(s)}));return(await Promise.all(e)).map(({data:n})=>({...n,status:"pending",hash:n.txHash}))};this.sendSignedBatchTransactions=async a=>{let{address:t}=y(),{apiAddress:s,apiTimeout:e}=c(p());if(!t)return{error:"Invalid address provided. You need to be logged in to send transactions"};let o=this.buildBatchId(t),i={transactions:a.map(A=>A.map(w=>this.parseSignedTransaction(w))),id:o},{data:b}=await h.post(`${s}/batch`,i,{timeout:Number(e)});return{data:b}};this.buildBatchId=a=>`${Date.now().toString()}${l}${a}`;this.sequentialToFlatArray=(a=[])=>this.getIsSequential(a)?a.flat():a;this.getIsSequential=a=>a?.every(t=>Array.isArray(t));this.parseSignedTransaction=a=>{let t=new d,s={...a.toPlainObject(),hash:t.computeTransactionHash(a),status:"pending"};return g({data:s.data})&&(delete s.senderUsername,delete s.receiverUsername),s}}static getInstance(){return r.instance||(r.instance=new r),r.instance}};r.instance=null;var I=r;export{I as a};
2
- //# sourceMappingURL=chunk-ZZOHAMTX.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/managers/TransactionManager/TransactionManager.ts"],
4
- "sourcesContent": ["import axios, { AxiosError } from 'axios';\nimport { BATCH_TRANSACTIONS_ID_SEPARATOR } from 'constants/transactions.constants';\nimport { Transaction, TransactionComputer } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { addTransactionToast } from 'store/actions/toasts/toastsActions';\nimport { createTransactionsSession } from 'store/actions/transactions/transactionsActions';\nimport { networkSelector } from 'store/selectors';\nimport { getState } from 'store/store';\nimport {\n TransactionBatchStatusesEnum,\n TransactionServerStatusesEnum\n} from 'types/enums.types';\nimport { BatchTransactionsResponseType } from 'types/serverTransactions.types';\nimport {\n TransactionsDisplayInfoType,\n SignedTransactionType\n} from 'types/transactions.types';\nimport { isGuardianTx } from 'utils/transactions/isGuardianTx';\nimport { getToastDuration } from './helpers/getToastDuration';\nimport { getTransactionsSessionStatus } from './helpers/getTransactionsStatus';\nimport { isBatchTransaction } from './helpers/isBatchTransaction';\n\nexport class TransactionManager {\n private static instance: TransactionManager | null = null;\n\n public static getInstance(): TransactionManager {\n if (!TransactionManager.instance) {\n TransactionManager.instance = new TransactionManager();\n }\n return TransactionManager.instance;\n }\n\n public send = async (\n signedTransactions: Transaction[] | Transaction[][]\n ): Promise<SignedTransactionType[] | SignedTransactionType[][]> => {\n if (signedTransactions.length === 0) {\n throw new Error('No transactions to send');\n }\n\n try {\n if (!isBatchTransaction(signedTransactions)) {\n const flatTransactions =\n await this.sendSignedTransactions(signedTransactions);\n\n return flatTransactions;\n }\n\n const sentTransactions =\n await this.sendSignedBatchTransactions(signedTransactions);\n\n if (!sentTransactions.data || sentTransactions.data.error) {\n throw new Error(\n sentTransactions.data?.error ?? 'Failed to send transactions'\n );\n }\n\n const groupedTransactions = sentTransactions.data.transactions;\n\n return groupedTransactions;\n } catch (error) {\n const responseData = <{ message: string }>(\n (error as AxiosError).response?.data\n );\n throw responseData?.message ?? (error as any).message;\n }\n };\n\n public track = async (\n sentTransactions: SignedTransactionType[] | SignedTransactionType[][],\n options: {\n disableToasts?: boolean;\n transactionsDisplayInfo?: TransactionsDisplayInfoType;\n } = { disableToasts: false }\n ): Promise<string> => {\n const flatTransactions = this.sequentialToFlatArray(sentTransactions).map(\n (transaction) => ({\n ...transaction,\n status: transaction.status ?? TransactionServerStatusesEnum.pending\n })\n );\n\n const status = getTransactionsSessionStatus(flatTransactions);\n\n const sessionId = createTransactionsSession({\n transactions: flatTransactions,\n transactionsDisplayInfo: options.transactionsDisplayInfo,\n status: status ?? TransactionBatchStatusesEnum.sent\n });\n\n if (options.disableToasts === true) {\n return sessionId;\n }\n\n const totalDuration = getToastDuration(sentTransactions);\n addTransactionToast({\n toastId: sessionId,\n totalDuration\n });\n\n return sessionId;\n };\n\n private readonly sendSignedTransactions = async (\n signedTransactions: Transaction[]\n ): Promise<SignedTransactionType[]> => {\n const { apiAddress, apiTimeout } = networkSelector(getState());\n\n const promises = signedTransactions.map((transaction) =>\n axios.post(`${apiAddress}/transactions`, transaction.toPlainObject(), {\n timeout: Number(apiTimeout)\n })\n );\n\n const response = await Promise.all(promises);\n\n return response.map(({ data }) => ({\n ...data,\n status: TransactionServerStatusesEnum.pending,\n hash: data.txHash\n }));\n };\n\n private readonly sendSignedBatchTransactions = async (\n signedTransactions: Transaction[][]\n ) => {\n const { address } = getAccount();\n const { apiAddress, apiTimeout } = networkSelector(getState());\n\n if (!address) {\n return {\n error:\n 'Invalid address provided. You need to be logged in to send transactions'\n };\n }\n\n const batchId = this.buildBatchId(address);\n const parsedTransactions = signedTransactions.map((transactions) =>\n transactions.map((transaction) =>\n this.parseSignedTransaction(transaction)\n )\n );\n\n const payload = {\n transactions: parsedTransactions,\n id: batchId\n };\n\n const { data } = await axios.post<BatchTransactionsResponseType>(\n `${apiAddress}/batch`,\n payload,\n {\n timeout: Number(apiTimeout)\n }\n );\n\n return { data };\n };\n\n private readonly buildBatchId = (address: string) => {\n const sessionId = Date.now().toString();\n return `${sessionId}${BATCH_TRANSACTIONS_ID_SEPARATOR}${address}`;\n };\n private readonly sequentialToFlatArray = (\n transactions: SignedTransactionType[] | SignedTransactionType[][] = []\n ) =>\n this.getIsSequential(transactions)\n ? transactions.flat()\n : (transactions as SignedTransactionType[]);\n\n private readonly getIsSequential = (\n transactions?: SignedTransactionType[] | SignedTransactionType[][]\n ) => transactions?.every((transaction) => Array.isArray(transaction));\n\n private readonly parseSignedTransaction = (\n signedTransaction: Transaction\n ): SignedTransactionType => {\n const transactionComputer = new TransactionComputer();\n\n const parsedTransaction = {\n ...signedTransaction.toPlainObject(),\n hash: transactionComputer.computeTransactionHash(signedTransaction),\n status: TransactionServerStatusesEnum.pending\n };\n\n // Remove when the protocol supports usernames for guardian transactions\n if (isGuardianTx({ data: parsedTransaction.data })) {\n delete parsedTransaction.senderUsername;\n delete parsedTransaction.receiverUsername;\n }\n\n return parsedTransaction;\n };\n}\n"],
5
- "mappings": "mcAAA,OAAOA,MAA2B,QAsB3B,IAAMC,EAAN,MAAMA,CAAmB,CAAzB,cAUL,KAAO,KAAO,MACZC,GACiE,CACjE,GAAIA,EAAmB,SAAW,EAChC,MAAM,IAAI,MAAM,yBAAyB,EAG3C,GAAI,CACF,GAAI,CAACC,EAAmBD,CAAkB,EAIxC,OAFE,MAAM,KAAK,uBAAuBA,CAAkB,EAKxD,IAAME,EACJ,MAAM,KAAK,4BAA4BF,CAAkB,EAE3D,GAAI,CAACE,EAAiB,MAAQA,EAAiB,KAAK,MAClD,MAAM,IAAI,MACRA,EAAiB,MAAM,OAAS,6BAClC,EAKF,OAF4BA,EAAiB,KAAK,YAGpD,OAASC,EAAO,CAId,MAFGA,EAAqB,UAAU,MAEd,SAAYA,EAAc,OAChD,CACF,EAEA,KAAO,MAAQ,MACbD,EACAE,EAGI,CAAE,cAAe,EAAM,IACP,CACpB,IAAMC,EAAmB,KAAK,sBAAsBH,CAAgB,EAAE,IACnEI,IAAiB,CAChB,GAAGA,EACH,OAAQA,EAAY,iBACtB,EACF,EAEMC,EAASC,EAA6BH,CAAgB,EAEtDI,EAAYC,EAA0B,CAC1C,aAAcL,EACd,wBAAyBD,EAAQ,wBACjC,OAAQG,SACV,CAAC,EAED,GAAIH,EAAQ,gBAAkB,GAC5B,OAAOK,EAGT,IAAME,EAAgBC,EAAiBV,CAAgB,EACvD,OAAAW,EAAoB,CAClB,QAASJ,EACT,cAAAE,CACF,CAAC,EAEMF,CACT,EAEA,KAAiB,uBAAyB,MACxCT,GACqC,CACrC,GAAM,CAAE,WAAAc,EAAY,WAAAC,CAAW,EAAIC,EAAgBC,EAAS,CAAC,EAEvDC,EAAWlB,EAAmB,IAAKM,GACvCa,EAAM,KAAK,GAAGL,CAAU,gBAAiBR,EAAY,cAAc,EAAG,CACpE,QAAS,OAAOS,CAAU,CAC5B,CAAC,CACH,EAIA,OAFiB,MAAM,QAAQ,IAAIG,CAAQ,GAE3B,IAAI,CAAC,CAAE,KAAAE,CAAK,KAAO,CACjC,GAAGA,EACH,iBACA,KAAMA,EAAK,MACb,EAAE,CACJ,EAEA,KAAiB,4BAA8B,MAC7CpB,GACG,CACH,GAAM,CAAE,QAAAqB,CAAQ,EAAIC,EAAW,EACzB,CAAE,WAAAR,EAAY,WAAAC,CAAW,EAAIC,EAAgBC,EAAS,CAAC,EAE7D,GAAI,CAACI,EACH,MAAO,CACL,MACE,yEACJ,EAGF,IAAME,EAAU,KAAK,aAAaF,CAAO,EAOnCG,EAAU,CACd,aAPyBxB,EAAmB,IAAKyB,GACjDA,EAAa,IAAKnB,GAChB,KAAK,uBAAuBA,CAAW,CACzC,CACF,EAIE,GAAIiB,CACN,EAEM,CAAE,KAAAH,CAAK,EAAI,MAAMD,EAAM,KAC3B,GAAGL,CAAU,SACbU,EACA,CACE,QAAS,OAAOT,CAAU,CAC5B,CACF,EAEA,MAAO,CAAE,KAAAK,CAAK,CAChB,EAEA,KAAiB,aAAgBC,GAExB,GADW,KAAK,IAAI,EAAE,SAAS,CACnB,GAAGK,CAA+B,GAAGL,CAAO,GAEjE,KAAiB,sBAAwB,CACvCI,EAAoE,CAAC,IAErE,KAAK,gBAAgBA,CAAY,EAC7BA,EAAa,KAAK,EACjBA,EAEP,KAAiB,gBACfA,GACGA,GAAc,MAAOnB,GAAgB,MAAM,QAAQA,CAAW,CAAC,EAEpE,KAAiB,uBACfqB,GAC0B,CAC1B,IAAMC,EAAsB,IAAIC,EAE1BC,EAAoB,CACxB,GAAGH,EAAkB,cAAc,EACnC,KAAMC,EAAoB,uBAAuBD,CAAiB,EAClE,gBACF,EAGA,OAAII,EAAa,CAAE,KAAMD,EAAkB,IAAK,CAAC,IAC/C,OAAOA,EAAkB,eACzB,OAAOA,EAAkB,kBAGpBA,CACT,EAtKA,OAAc,aAAkC,CAC9C,OAAK/B,EAAmB,WACtBA,EAAmB,SAAW,IAAIA,GAE7BA,EAAmB,QAC5B,CAkKF,EA1KaA,EACI,SAAsC,KADhD,IAAMiC,EAANjC",
6
- "names": ["axios", "_TransactionManager", "signedTransactions", "isBatchTransaction", "sentTransactions", "error", "options", "flatTransactions", "transaction", "status", "getTransactionsSessionStatus", "sessionId", "createTransactionsSession", "totalDuration", "getToastDuration", "addTransactionToast", "apiAddress", "apiTimeout", "networkSelector", "getState", "promises", "axios", "data", "address", "getAccount", "batchId", "payload", "transactions", "BATCH_TRANSACTIONS_ID_SEPARATOR", "signedTransaction", "transactionComputer", "TransactionComputer", "parsedTransaction", "isGuardianTx", "TransactionManager"]
7
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"refreshNativeAuthTokenLogin.js","sourceRoot":"","sources":["../../../../../../../src/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.ts"],"names":[],"mappings":";;;AAAA,yCAA+C;AAC/C,2DAAwD;AACxD,oDAAiD;AACjD,uGAAoG;AAEpG,+EAAyE;AACzE,uEAAmE;AACnE,uCAAuC;AAEvC;;;GAGG;AACI,MAAM,2BAA2B,GAAG,KAAK,EAAE,EAChD,mBAAmB,EACnB,sBAAsB,EAOvB,EAA0B,EAAE;IAC3B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,kCAAe,EAAC,IAAA,gBAAQ,GAAE,CAAC,CAAC;IAC5C,MAAM,uBAAuB,GAAG,IAAA,uDAA0B,EACxD,OAAO,CAAC,UAAU,CACnB,CAAC;IAEF,MAAM,gBAAgB,GAAG,IAAA,uBAAU,EACjC,sBAAsB,IAAI,uBAAuB,CAClD,CAAC;IAEF,MAAM,UAAU,GAAG,MAAM,gBAAgB,CAAC,UAAU,CAAC;QACnD,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC;KACzC,CAAC,CAAC;IAEH,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,iBAAO,CAAC;QAChC,OAAO,EAAE,IAAI,iBAAO,CAAC,OAAO,CAAC;QAC7B,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,GAAG,UAAU,EAAE,CAAC;KAC7C,CAAC,CAAC;IAEH,MAAM,aAAa,GAAG,MAAM,mBAAmB,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;IAEnE,IAAI,CAAC,aAAa,EAAE,SAAS,EAAE,CAAC;QAC9B,MAAM,oBAAoB,CAAC;IAC7B,CAAC;IAED,IAAA,gCAAa,EAAC;QACZ,UAAU;QACV,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;KAChE,CAAC,CAAC;IAEH,OAAO,gBAAgB,CAAC,QAAQ,CAAC;QAC/B,OAAO;QACP,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;KAChE,CAAC,CAAC;AACL,CAAC,CAAC;AAjDW,QAAA,2BAA2B,+BAiDtC"}
@@ -1,2 +0,0 @@
1
- import{a as c}from"../../../../../../__chunks__/chunk-P5YASUQH.mjs";import"../../../../../../__chunks__/chunk-NWEUIK3A.mjs";import{a as u}from"../../../../../../__chunks__/chunk-45WVS4H5.mjs";import"../../../../../../__chunks__/chunk-3S57OP4Z.mjs";import"../../../../../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../../../../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../../../../../__chunks__/chunk-RIQNG4I7.mjs";import{a as m}from"../../../../../../__chunks__/chunk-IMGZJVC6.mjs";import"../../../../../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../../../../../__chunks__/chunk-WE7YOBO7.mjs";import"../../../../../../__chunks__/chunk-YSCND2MX.mjs";import{b as g,u as f}from"../../../../../../__chunks__/chunk-4YETXBJD.mjs";import"../../../../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../../../../__chunks__/chunk-IEJTMYFW.mjs";import"../../../../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../../../../__chunks__/chunk-LTF535HP.mjs";import"../../../../../../__chunks__/chunk-KPK72MOE.mjs";import{b as r}from"../../../../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../../../../__chunks__/chunk-DTI4TQ2I.mjs";import"../../../../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../../../../__chunks__/chunk-SUN3MVLZ.mjs";import"../../../../../../__chunks__/chunk-HDJOER66.mjs";import"../../../../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../../../../__chunks__/chunk-TYYA6E7F.mjs";import"../../../../../../__chunks__/chunk-KMFYDHOY.mjs";import"../../../../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../../../../__chunks__/chunk-K3G3SPRT.mjs";import"../../../../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../../../../__chunks__/chunk-TI37DKBT.mjs";import{c as s,g as a}from"../../../../../../__chunks__/chunk-R53MCZI6.mjs";import"../../../../../../__chunks__/chunk-MGQ373AO.mjs";import"../../../../../../__chunks__/chunk-RPTH42EF.mjs";import"../../../../../../__chunks__/chunk-3UNGCOKO.mjs";import"../../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../../__chunks__/chunk-LRHRFWQ4.mjs";import"../../../../../../__chunks__/chunk-7QCBLUWB.mjs";import"../../../../../../__chunks__/chunk-B2UIPHJ3.mjs";var S=async({signMessageCallback:d,nativeAuthClientConfig:n})=>{let{address:t}=c(),l=r(f()),p=m(l.apiAddress),i=u(n||p),e=await i.initialize({noCache:!!n});if(!e)return null;let h=new a({address:new s(t),data:Buffer.from(`${t}${e}`)}),o=await d(h,{});if(!o?.signature)throw"Message not signed";return g({loginToken:e,signature:Buffer.from(o.signature).toString("hex")}),i.getToken({address:t,token:e,signature:Buffer.from(o.signature).toString("hex")})};export{S as refreshNativeAuthTokenLogin};
2
- //# sourceMappingURL=refreshNativeAuthTokenLogin.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/core/providers/DappProvider/helpers/login/helpers/refreshNativeAuthTokenLogin.ts"],
4
- "sourcesContent": ["import { Address, Message } from 'lib/sdkCore';\nimport { getAccount } from 'methods/account/getAccount';\nimport { nativeAuth } from 'services/nativeAuth';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { setTokenLogin } from 'store/actions/loginInfo/loginInfoActions';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\n\n/**\n * Use this function if you support multiple networks with network switching\n * @returns The native auth token\n */\nexport const refreshNativeAuthTokenLogin = async ({\n signMessageCallback,\n nativeAuthClientConfig\n}: {\n signMessageCallback: (\n messageToSign: Message,\n options: Record<any, any>\n ) => Promise<Message>;\n nativeAuthClientConfig?: NativeAuthConfigType;\n}): Promise<string | null> => {\n const { address } = getAccount();\n const network = networkSelector(getState());\n const defaultNativeAuthConfig = getDefaultNativeAuthConfig(\n network.apiAddress\n );\n\n const nativeAuthClient = nativeAuth(\n nativeAuthClientConfig || defaultNativeAuthConfig\n );\n\n const loginToken = await nativeAuthClient.initialize({\n noCache: Boolean(nativeAuthClientConfig)\n });\n\n if (!loginToken) {\n return null;\n }\n\n const messageToSign = new Message({\n address: new Address(address),\n data: Buffer.from(`${address}${loginToken}`)\n });\n\n const signedMessage = await signMessageCallback(messageToSign, {});\n\n if (!signedMessage?.signature) {\n throw 'Message not signed';\n }\n\n setTokenLogin({\n loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n\n return nativeAuthClient.getToken({\n address,\n token: loginToken,\n signature: Buffer.from(signedMessage.signature).toString('hex')\n });\n};\n"],
5
- "mappings": "8+FAaO,IAAMA,EAA8B,MAAO,CAChD,oBAAAC,EACA,uBAAAC,CACF,IAM8B,CAC5B,GAAM,CAAE,QAAAC,CAAQ,EAAIC,EAAW,EACzBC,EAAUC,EAAgBC,EAAS,CAAC,EACpCC,EAA0BC,EAC9BJ,EAAQ,UACV,EAEMK,EAAmBC,EACvBT,GAA0BM,CAC5B,EAEMI,EAAa,MAAMF,EAAiB,WAAW,CACnD,QAAS,EAAQR,CACnB,CAAC,EAED,GAAI,CAACU,EACH,OAAO,KAGT,IAAMC,EAAgB,IAAIC,EAAQ,CAChC,QAAS,IAAIC,EAAQZ,CAAO,EAC5B,KAAM,OAAO,KAAK,GAAGA,CAAO,GAAGS,CAAU,EAAE,CAC7C,CAAC,EAEKI,EAAgB,MAAMf,EAAoBY,EAAe,CAAC,CAAC,EAEjE,GAAI,CAACG,GAAe,UAClB,KAAM,qBAGR,OAAAC,EAAc,CACZ,WAAAL,EACA,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,EAEMN,EAAiB,SAAS,CAC/B,QAAAP,EACA,MAAOS,EACP,UAAW,OAAO,KAAKI,EAAc,SAAS,EAAE,SAAS,KAAK,CAChE,CAAC,CACH",
6
- "names": ["refreshNativeAuthTokenLogin", "signMessageCallback", "nativeAuthClientConfig", "address", "getAccount", "network", "networkSelector", "getState", "defaultNativeAuthConfig", "getDefaultNativeAuthConfig", "nativeAuthClient", "nativeAuth", "loginToken", "messageToSign", "Message", "Address", "signedMessage", "setTokenLogin"]
7
- }
@@ -1,6 +0,0 @@
1
- export interface CrossWindowConfig {
2
- /**
3
- * default: `false`
4
- */
5
- isBrowserWithPopupConfirmation?: boolean;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"crossWindow.types.js","sourceRoot":"","sources":["../../../../../src/providers/strategies/CrossWindowProviderStrategy/types/crossWindow.types.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import"../../../../__chunks__/chunk-FLC6QSZB.mjs";
2
- //# sourceMappingURL=crossWindow.types.mjs.map
@@ -1 +0,0 @@
1
- export * from './crossWindow.types';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/providers/strategies/CrossWindowProviderStrategy/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
@@ -1,2 +0,0 @@
1
- import"../../../../__chunks__/chunk-2GSNHNKW.mjs";import"../../../../__chunks__/chunk-FLC6QSZB.mjs";
2
- //# sourceMappingURL=index.mjs.map
@@ -1,9 +0,0 @@
1
- import { IEventBus } from '@multiversx/sdk-dapp-ui/dist/loader';
2
- import { UITagsEnum } from '../constants/UITags.enum';
3
- export interface CreateEventBusUIElementType extends HTMLElement {
4
- getEventBus: () => Promise<IEventBus | null>;
5
- }
6
- export declare const createUIElement: <T = CreateEventBusUIElementType>({ name, anchor }: {
7
- name: UITagsEnum;
8
- anchor?: HTMLElement;
9
- }) => Promise<T>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"createUIElement.js","sourceRoot":"","sources":["../../src/utils/createUIElement.ts"],"names":[],"mappings":";;;AACA,2CAA6C;AAE7C,6CAAqD;AAM9C,MAAM,eAAe,GAAG,KAAK,EAAmC,EACrE,IAAI,EACJ,MAAM,EAIP,EAAE,EAAE;IACH,MAAM,IAAA,gCAAoB,EAAC,kBAAU,CAAC,CAAC;IAEvC,IAAI,CAAC,kBAAU,CAAC,QAAQ,EAAE,CAAC;QACzB,OAAO,EAAO,CAAC;IACjB,CAAC;IAED,MAAM,OAAO,GAAG,kBAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,MAAM,IAAI,kBAAU,CAAC,QAAQ,CAAC,IAAI,CAAC;IACvD,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAEvC,OAAO,OAAY,CAAC;AACtB,CAAC,CAAC;AAnBW,QAAA,eAAe,mBAmB1B"}
@@ -1,2 +0,0 @@
1
- import{a}from"../__chunks__/chunk-YMME2BFO.mjs";import"../__chunks__/chunk-VMFJUT3G.mjs";import"../__chunks__/chunk-5Y2ZDPP6.mjs";import"../__chunks__/chunk-I7ODJJY3.mjs";import"../__chunks__/chunk-LHEH7L4L.mjs";import"../__chunks__/chunk-C4CJOZ4L.mjs";import"../__chunks__/chunk-EJV4VNJG.mjs";import"../__chunks__/chunk-FI444OX3.mjs";import"../__chunks__/chunk-PPA7AFVD.mjs";import"../__chunks__/chunk-ULUZWP2P.mjs";import"../__chunks__/chunk-GGBMHKR4.mjs";import"../__chunks__/chunk-MGFIOCA4.mjs";import"../__chunks__/chunk-GLXG5BES.mjs";import"../__chunks__/chunk-NHXPNROG.mjs";import"../__chunks__/chunk-7QCBLUWB.mjs";export{a as createUIElement};
2
- //# sourceMappingURL=createUIElement.mjs.map