@multiversx/sdk-dapp 5.0.3 → 5.0.5

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 (1371) hide show
  1. package/README.md +2 -2
  2. package/out/__chunks__/chunk-22CLXEB2.mjs +2 -0
  3. package/out/__chunks__/chunk-3FX5RTHT.mjs +2 -0
  4. package/out/__chunks__/chunk-456YSI54.mjs +2 -0
  5. package/out/__chunks__/chunk-4ZQAHMC7.mjs +2 -0
  6. package/out/__chunks__/chunk-5HV6ENMZ.mjs +2 -0
  7. package/out/__chunks__/chunk-5HWBV7UA.mjs +2 -0
  8. package/out/__chunks__/chunk-5ZNSOJRW.mjs +2 -0
  9. package/out/__chunks__/chunk-653M72HI.mjs +2 -0
  10. package/out/__chunks__/chunk-6LQPIIN7.mjs +2 -0
  11. package/out/__chunks__/chunk-6QUYC43H.mjs +2 -0
  12. package/out/__chunks__/chunk-6QUYC43H.mjs.map +7 -0
  13. package/out/__chunks__/chunk-76URRONH.mjs +2 -0
  14. package/out/__chunks__/chunk-AAT5TA2C.mjs +2 -0
  15. package/out/__chunks__/chunk-AOT45CLU.mjs +2 -0
  16. package/out/__chunks__/chunk-BIKDLBHK.mjs +2 -0
  17. package/out/__chunks__/chunk-BLNUEDNB.mjs +2 -0
  18. package/out/__chunks__/chunk-BTJWNUM6.mjs +2 -0
  19. package/out/__chunks__/chunk-BTJWNUM6.mjs.map +7 -0
  20. package/out/__chunks__/chunk-CDQ2BNUD.mjs +2 -0
  21. package/out/__chunks__/chunk-CQFFB5WA.mjs +2 -0
  22. package/out/__chunks__/chunk-EHU6U444.mjs +2 -0
  23. package/out/__chunks__/chunk-EQSRTMFM.mjs +2 -0
  24. package/out/__chunks__/chunk-F7TDWWAZ.mjs +2 -0
  25. package/out/__chunks__/chunk-FWC42IFM.mjs +2 -0
  26. package/out/__chunks__/chunk-FYA6M3N3.mjs +2 -0
  27. package/out/__chunks__/chunk-G4Z3ZQR6.mjs +2 -0
  28. package/out/__chunks__/chunk-HCKBJTY3.mjs +2 -0
  29. package/out/__chunks__/chunk-HCKBJTY3.mjs.map +7 -0
  30. package/out/__chunks__/chunk-HF5UK7AF.mjs +2 -0
  31. package/out/__chunks__/chunk-HLBGYEYU.mjs +2 -0
  32. package/out/__chunks__/chunk-HLNCW36T.mjs +2 -0
  33. package/out/__chunks__/chunk-IRLEEOUA.mjs +2 -0
  34. package/out/__chunks__/chunk-J55M6HRJ.mjs +2 -0
  35. package/out/__chunks__/chunk-JBF4OOHG.mjs +2 -0
  36. package/out/__chunks__/chunk-JIDXMYLT.mjs +2 -0
  37. package/out/__chunks__/chunk-JQ6DWF4A.mjs +2 -0
  38. package/out/__chunks__/chunk-KE7YRXWM.mjs +2 -0
  39. package/out/__chunks__/chunk-KIU22HW5.mjs +2 -0
  40. package/out/__chunks__/chunk-KK2BMMWL.mjs +2 -0
  41. package/out/__chunks__/chunk-KZAQIHS2.mjs +2 -0
  42. package/out/__chunks__/chunk-LG4JGQOF.mjs +2 -0
  43. package/out/__chunks__/chunk-MOJR7L2A.mjs +2 -0
  44. package/out/__chunks__/chunk-MSYOA2HY.mjs +2 -0
  45. package/out/__chunks__/chunk-N6PKXG4Q.mjs +2 -0
  46. package/out/__chunks__/chunk-NDIJUIRP.mjs +2 -0
  47. package/out/__chunks__/chunk-NTGUPGTV.mjs +2 -0
  48. package/out/__chunks__/chunk-NVLWSC4J.mjs +2 -0
  49. package/out/__chunks__/chunk-NW6VE6YC.mjs +2 -0
  50. package/out/__chunks__/chunk-NW6VE6YC.mjs.map +7 -0
  51. package/out/__chunks__/chunk-OIJVN33N.mjs +2 -0
  52. package/out/__chunks__/chunk-OLPUNT27.mjs +2 -0
  53. package/out/__chunks__/chunk-P5RC6PN5.mjs +2 -0
  54. package/out/__chunks__/chunk-PJAESU4Q.mjs +2 -0
  55. package/out/__chunks__/chunk-PLUWBWJ2.mjs +2 -0
  56. package/out/__chunks__/chunk-PLUWBWJ2.mjs.map +7 -0
  57. package/out/__chunks__/chunk-PZYLVHXW.mjs +2 -0
  58. package/out/__chunks__/chunk-RJKYCUB2.mjs +2 -0
  59. package/out/__chunks__/chunk-RQ5H245L.mjs +2 -0
  60. package/out/__chunks__/chunk-S75Q25RY.mjs +2 -0
  61. package/out/__chunks__/chunk-SF4BD7ZP.mjs +2 -0
  62. package/out/__chunks__/chunk-SIRUYWHD.mjs +2 -0
  63. package/out/__chunks__/chunk-SMLKNW6G.mjs +2 -0
  64. package/out/__chunks__/chunk-SXX3XHAW.mjs +2 -0
  65. package/out/__chunks__/chunk-TS77UH5B.mjs +2 -0
  66. package/out/__chunks__/chunk-TS77UH5B.mjs.map +7 -0
  67. package/out/__chunks__/chunk-TUKLXZGE.mjs +2 -0
  68. package/out/__chunks__/chunk-TX6KTAJL.mjs +2 -0
  69. package/out/__chunks__/chunk-UJJ2TXN5.mjs +2 -0
  70. package/out/__chunks__/chunk-ULK34VWM.mjs +2 -0
  71. package/out/__chunks__/chunk-ULK34VWM.mjs.map +7 -0
  72. package/out/__chunks__/chunk-UOUYS55Y.mjs +2 -0
  73. package/out/__chunks__/chunk-UUV2STLQ.mjs +2 -0
  74. package/out/__chunks__/chunk-UUV2STLQ.mjs.map +7 -0
  75. package/out/__chunks__/chunk-UZOPRGVU.mjs +2 -0
  76. package/out/__chunks__/chunk-UZV2AYS7.mjs +2 -0
  77. package/out/__chunks__/chunk-V3FPOJA5.mjs +2 -0
  78. package/out/__chunks__/chunk-V7PT3KKW.mjs +2 -0
  79. package/out/__chunks__/chunk-VBMIE7MG.mjs +2 -0
  80. package/out/__chunks__/chunk-VJOUHZ3O.mjs +2 -0
  81. package/out/__chunks__/chunk-VPS6ARX6.mjs +2 -0
  82. package/out/__chunks__/chunk-VWJRTO5A.mjs +2 -0
  83. package/out/__chunks__/chunk-WJ7ALCIQ.mjs +2 -0
  84. package/out/__chunks__/chunk-WJCTIZ2A.mjs +2 -0
  85. package/out/__chunks__/chunk-WONHL4N2.mjs +2 -0
  86. package/out/__chunks__/chunk-WZRJWY5M.mjs +2 -0
  87. package/out/__chunks__/chunk-X7R7RLVZ.mjs +2 -0
  88. package/out/__chunks__/chunk-XIR5WVK3.mjs +2 -0
  89. package/out/__chunks__/chunk-XKOP7FDQ.mjs +2 -0
  90. package/out/__chunks__/chunk-XNLP533V.mjs +2 -0
  91. package/out/__chunks__/chunk-XRMMQJV3.mjs +2 -0
  92. package/out/__chunks__/chunk-Y7IZFCJ5.mjs +2 -0
  93. package/out/__chunks__/chunk-YLOVIFPG.mjs +2 -0
  94. package/out/__chunks__/chunk-YRZADY4X.mjs +2 -0
  95. package/out/__chunks__/chunk-YTYVQKLJ.mjs +2 -0
  96. package/out/__chunks__/chunk-ZC2OOJ2D.mjs +2 -0
  97. package/out/__mocks__/accountConfig.cjs +37 -0
  98. package/out/__mocks__/accountConfig.cjs.map +7 -0
  99. package/out/__mocks__/accountConfig.mjs +1 -1
  100. package/out/__mocks__/data/account.cjs +38 -0
  101. package/out/__mocks__/data/account.cjs.map +7 -0
  102. package/out/__mocks__/data/blocks.cjs +34 -0
  103. package/out/__mocks__/data/blocks.cjs.map +7 -0
  104. package/out/__mocks__/data/dappConfig.cjs +43 -0
  105. package/out/__mocks__/data/dappConfig.cjs.map +7 -0
  106. package/out/__mocks__/data/index.cjs +35 -0
  107. package/out/__mocks__/data/index.cjs.map +7 -0
  108. package/out/__mocks__/data/networkConfig.cjs +56 -0
  109. package/out/__mocks__/data/networkConfig.cjs.map +7 -0
  110. package/out/__mocks__/data/socketResponse.cjs +35 -0
  111. package/out/__mocks__/data/socketResponse.cjs.map +7 -0
  112. package/out/__mocks__/data/websocketConfig.cjs +29 -0
  113. package/out/__mocks__/data/websocketConfig.cjs.map +7 -0
  114. package/out/__mocks__/data/wrapEgldContract.cjs +54 -0
  115. package/out/__mocks__/data/wrapEgldContract.cjs.map +7 -0
  116. package/out/__mocks__/index.cjs +27 -0
  117. package/out/__mocks__/index.cjs.map +7 -0
  118. package/out/__mocks__/index.mjs +1 -1
  119. package/out/__mocks__/server.cjs +65 -0
  120. package/out/__mocks__/server.cjs.map +7 -0
  121. package/out/__mocks__/server.mjs +1 -1
  122. package/out/__mocks__/utils/index.cjs +25 -0
  123. package/out/__mocks__/utils/index.cjs.map +7 -0
  124. package/out/__mocks__/utils/mockWindowHistory.cjs +45 -0
  125. package/out/__mocks__/utils/mockWindowHistory.cjs.map +7 -0
  126. package/out/__mocks__/utils/mockWindowLocation.cjs +45 -0
  127. package/out/__mocks__/utils/mockWindowLocation.cjs.map +7 -0
  128. package/out/apiCalls/account/getAccountFromApi.cjs +60 -0
  129. package/out/apiCalls/account/getAccountFromApi.cjs.map +7 -0
  130. package/out/apiCalls/account/getScamAddressData.cjs +52 -0
  131. package/out/apiCalls/account/getScamAddressData.cjs.map +7 -0
  132. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  133. package/out/apiCalls/account/index.cjs +23 -0
  134. package/out/apiCalls/account/index.cjs.map +7 -0
  135. package/out/apiCalls/configuration/getCleanApiAddress.cjs +35 -0
  136. package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +7 -0
  137. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  138. package/out/apiCalls/configuration/getGasStationMetadata.cjs +65 -0
  139. package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +7 -0
  140. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  141. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +62 -0
  142. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +7 -0
  143. package/out/apiCalls/configuration/getServerConfiguration.cjs +66 -0
  144. package/out/apiCalls/configuration/getServerConfiguration.cjs.map +7 -0
  145. package/out/apiCalls/configuration/index.cjs +25 -0
  146. package/out/apiCalls/configuration/index.cjs.map +7 -0
  147. package/out/apiCalls/economics/getEconomics.cjs +55 -0
  148. package/out/apiCalls/economics/getEconomics.cjs.map +7 -0
  149. package/out/apiCalls/endpoints.cjs +101 -0
  150. package/out/apiCalls/endpoints.cjs.map +7 -0
  151. package/out/apiCalls/index.cjs +33 -0
  152. package/out/apiCalls/index.cjs.map +7 -0
  153. package/out/apiCalls/index.mjs +1 -1
  154. package/out/apiCalls/tokens/getPersistedToken.cjs +43 -0
  155. package/out/apiCalls/tokens/getPersistedToken.cjs.map +7 -0
  156. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +73 -0
  157. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +7 -0
  158. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  159. package/out/apiCalls/tokens/getTokenDetails.cjs +75 -0
  160. package/out/apiCalls/tokens/getTokenDetails.cjs.map +7 -0
  161. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  162. package/out/apiCalls/tokens/index.cjs +23 -0
  163. package/out/apiCalls/tokens/index.cjs.map +7 -0
  164. package/out/apiCalls/tokens/index.mjs +1 -1
  165. package/out/apiCalls/tokens/tokenDataStorage.cjs +59 -0
  166. package/out/apiCalls/tokens/tokenDataStorage.cjs.map +7 -0
  167. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -0
  168. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +7 -0
  169. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  170. package/out/apiCalls/transactions/getTransactionByHash.cjs +52 -0
  171. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +7 -0
  172. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  173. package/out/apiCalls/transactions/getTransactions.cjs +77 -0
  174. package/out/apiCalls/transactions/getTransactions.cjs.map +7 -0
  175. package/out/apiCalls/transactions/getTransactionsByHashes.cjs +48 -0
  176. package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +7 -0
  177. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  178. package/out/apiCalls/utils/axiosFetcher.cjs +30 -0
  179. package/out/apiCalls/utils/axiosFetcher.cjs.map +7 -0
  180. package/out/apiCalls/utils/axiosInstance.cjs +106 -0
  181. package/out/apiCalls/utils/axiosInstance.cjs.map +7 -0
  182. package/out/apiCalls/utils/getCleanApiAddress.cjs +31 -0
  183. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +7 -0
  184. package/out/apiCalls/utils/index.cjs +27 -0
  185. package/out/apiCalls/utils/index.cjs.map +7 -0
  186. package/out/apiCalls/websocket/getWebsocketUrl.cjs +50 -0
  187. package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +7 -0
  188. package/out/apiCalls/websocket/index.cjs +23 -0
  189. package/out/apiCalls/websocket/index.cjs.map +7 -0
  190. package/out/constants/UITags.enum.cjs +38 -0
  191. package/out/constants/UITags.enum.cjs.map +7 -0
  192. package/out/constants/browser.constants.cjs +35 -0
  193. package/out/constants/browser.constants.cjs.map +7 -0
  194. package/out/constants/browser.constants.mjs +1 -1
  195. package/out/constants/index.cjs +41 -0
  196. package/out/constants/index.cjs.map +7 -0
  197. package/out/constants/index.mjs +1 -1
  198. package/out/constants/ledger.constants.cjs +132 -0
  199. package/out/constants/ledger.constants.cjs.map +7 -0
  200. package/out/constants/mvx.constants.cjs +59 -0
  201. package/out/constants/mvx.constants.cjs.map +7 -0
  202. package/out/constants/network.constants.cjs +114 -0
  203. package/out/constants/network.constants.cjs.map +7 -0
  204. package/out/constants/placeholders.constants.cjs +35 -0
  205. package/out/constants/placeholders.constants.cjs.map +7 -0
  206. package/out/constants/providerFactory.constants.cjs +39 -0
  207. package/out/constants/providerFactory.constants.cjs.map +7 -0
  208. package/out/constants/providerFactory.constants.mjs +1 -1
  209. package/out/constants/storage.constants.cjs +41 -0
  210. package/out/constants/storage.constants.cjs.map +7 -0
  211. package/out/constants/storage.constants.mjs +1 -1
  212. package/out/constants/transactions.constants.cjs +62 -0
  213. package/out/constants/transactions.constants.cjs.map +7 -0
  214. package/out/constants/walletConnect.constants.cjs +33 -0
  215. package/out/constants/walletConnect.constants.cjs.map +7 -0
  216. package/out/constants/webWalletProvider.constants.cjs +47 -0
  217. package/out/constants/webWalletProvider.constants.cjs.map +7 -0
  218. package/out/constants/websocket.constants.cjs +40 -0
  219. package/out/constants/websocket.constants.cjs.map +7 -0
  220. package/out/constants/window.constants.cjs +32 -0
  221. package/out/constants/window.constants.cjs.map +7 -0
  222. package/out/constants/window.constants.mjs +1 -1
  223. package/out/controllers/FormatAmountController/FormatAmountController.cjs +58 -0
  224. package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +7 -0
  225. package/out/controllers/FormatAmountController/index.cjs +23 -0
  226. package/out/controllers/FormatAmountController/index.cjs.map +7 -0
  227. package/out/controllers/FormatAmountController/types.cjs +17 -0
  228. package/out/controllers/FormatAmountController/types.cjs.map +7 -0
  229. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +35 -0
  230. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +7 -0
  231. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  232. package/out/controllers/TransactionsHistoryController/index.cjs +23 -0
  233. package/out/controllers/TransactionsHistoryController/index.cjs.map +7 -0
  234. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  235. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +131 -0
  236. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +7 -0
  237. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  238. package/out/controllers/TransactionsTableController/index.cjs +23 -0
  239. package/out/controllers/TransactionsTableController/index.cjs.map +7 -0
  240. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  241. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +17 -0
  242. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +7 -0
  243. package/out/controllers/index.cjs +23 -0
  244. package/out/controllers/index.cjs.map +7 -0
  245. package/out/index.cjs +33 -0
  246. package/out/index.cjs.map +7 -0
  247. package/out/index.mjs +1 -1
  248. package/out/lib/sdkCore.cjs +47 -0
  249. package/out/lib/sdkCore.cjs.map +7 -0
  250. package/out/lib/sdkDappUi.cjs +54 -0
  251. package/out/lib/sdkDappUi.cjs.map +7 -0
  252. package/out/lib/sdkDappUi.mjs +1 -1
  253. package/out/lib/sdkDappUtils.cjs +45 -0
  254. package/out/lib/sdkDappUtils.cjs.map +7 -0
  255. package/out/lib/sdkWebWalletCrossWindowProvider.cjs +34 -0
  256. package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +7 -0
  257. package/out/lib/sdkWebWalletIframeProvider.cjs +29 -0
  258. package/out/lib/sdkWebWalletIframeProvider.cjs.map +7 -0
  259. package/out/lib/sdkWebviewProvider.cjs +29 -0
  260. package/out/lib/sdkWebviewProvider.cjs.map +7 -0
  261. package/out/managers/LogoutManager/LogoutManager.cjs +168 -0
  262. package/out/managers/LogoutManager/LogoutManager.cjs.map +7 -0
  263. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  264. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +57 -0
  265. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +7 -0
  266. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +158 -0
  267. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +7 -0
  268. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  269. package/out/managers/NotificationsFeedManager/index.cjs +25 -0
  270. package/out/managers/NotificationsFeedManager/index.cjs.map +7 -0
  271. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  272. package/out/managers/NotificationsFeedManager/types/index.cjs +23 -0
  273. package/out/managers/NotificationsFeedManager/types/index.cjs.map +7 -0
  274. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +36 -0
  275. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +7 -0
  276. package/out/managers/TransactionManager/TransactionManager.cjs +198 -0
  277. package/out/managers/TransactionManager/TransactionManager.cjs.map +7 -0
  278. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  279. package/out/managers/TransactionManager/TransactionManager.types.cjs +17 -0
  280. package/out/managers/TransactionManager/TransactionManager.types.cjs.map +7 -0
  281. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +51 -0
  282. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +7 -0
  283. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  284. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +53 -0
  285. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +7 -0
  286. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  287. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +54 -0
  288. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +7 -0
  289. package/out/managers/TransactionManager/helpers/getTransactionsStatus.mjs +1 -1
  290. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +31 -0
  291. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +7 -0
  292. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +48 -0
  293. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +7 -0
  294. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +42 -0
  295. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +7 -0
  296. package/out/managers/TransactionManager/index.cjs +23 -0
  297. package/out/managers/TransactionManager/index.cjs.map +7 -0
  298. package/out/managers/TransactionManager/index.mjs +1 -1
  299. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +168 -0
  300. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +7 -0
  301. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  302. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +37 -0
  303. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +7 -0
  304. package/out/managers/UnlockPanelManager/index.cjs +23 -0
  305. package/out/managers/UnlockPanelManager/index.cjs.map +7 -0
  306. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  307. package/out/managers/index.cjs +25 -0
  308. package/out/managers/index.cjs.map +7 -0
  309. package/out/managers/index.mjs +1 -1
  310. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +215 -0
  311. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +7 -0
  312. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  313. package/out/managers/internal/LedgerConnectStateManager/index.cjs +25 -0
  314. package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +7 -0
  315. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  316. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +23 -0
  317. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +7 -0
  318. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +37 -0
  319. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +7 -0
  320. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +125 -0
  321. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +7 -0
  322. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  323. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +59 -0
  324. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +7 -0
  325. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  326. package/out/managers/internal/PendingTransactionsStateManager/index.cjs +25 -0
  327. package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +7 -0
  328. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  329. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +23 -0
  330. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +7 -0
  331. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +33 -0
  332. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +7 -0
  333. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +63 -0
  334. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +7 -0
  335. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  336. package/out/managers/internal/SidePanelBaseManager/index.cjs +23 -0
  337. package/out/managers/internal/SidePanelBaseManager/index.cjs.map +7 -0
  338. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  339. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +139 -0
  340. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +7 -0
  341. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  342. package/out/managers/internal/SignTransactionsStateManager/index.cjs +23 -0
  343. package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +7 -0
  344. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  345. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +23 -0
  346. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +7 -0
  347. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +37 -0
  348. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +7 -0
  349. package/out/managers/internal/ToastManager/ToastManager.cjs +268 -0
  350. package/out/managers/internal/ToastManager/ToastManager.cjs.map +7 -0
  351. package/out/managers/internal/ToastManager/ToastManager.mjs +1 -1
  352. package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs +72 -0
  353. package/out/managers/internal/ToastManager/helpers/LifetimeManager.cjs.map +7 -0
  354. package/out/managers/internal/ToastManager/helpers/LifetimeManager.mjs +1 -1
  355. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs +88 -0
  356. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.cjs.map +7 -0
  357. package/out/managers/internal/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  358. package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs +61 -0
  359. package/out/managers/internal/ToastManager/helpers/createTransactionToast.cjs.map +7 -0
  360. package/out/managers/internal/ToastManager/helpers/createTransactionToast.mjs +1 -1
  361. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -0
  362. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.cjs.map +7 -0
  363. package/out/managers/internal/ToastManager/helpers/getToastDataStateByStatus.mjs +1 -1
  364. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs +41 -0
  365. package/out/managers/internal/ToastManager/helpers/getToastTransactionsStatus.cjs.map +7 -0
  366. package/out/managers/internal/ToastManager/types/index.cjs +23 -0
  367. package/out/managers/internal/ToastManager/types/index.cjs.map +7 -0
  368. package/out/managers/internal/ToastManager/types/toast.types.cjs +48 -0
  369. package/out/managers/internal/ToastManager/types/toast.types.cjs.map +7 -0
  370. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +103 -0
  371. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +7 -0
  372. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  373. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +79 -0
  374. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +7 -0
  375. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  376. package/out/managers/internal/WalletConnectStateManager/index.cjs +23 -0
  377. package/out/managers/internal/WalletConnectStateManager/index.cjs.map +7 -0
  378. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  379. package/out/managers/internal/index.cjs +38 -0
  380. package/out/managers/internal/index.cjs.map +7 -0
  381. package/out/managers/internal/index.mjs +1 -1
  382. package/out/methods/account/getAccount.cjs +33 -0
  383. package/out/methods/account/getAccount.cjs.map +7 -0
  384. package/out/methods/account/getAccount.mjs +1 -1
  385. package/out/methods/account/getAccountInfo.cjs +33 -0
  386. package/out/methods/account/getAccountInfo.cjs.map +7 -0
  387. package/out/methods/account/getAccountInfo.mjs +1 -1
  388. package/out/methods/account/getAddress.cjs +33 -0
  389. package/out/methods/account/getAddress.cjs.map +7 -0
  390. package/out/methods/account/getAddress.mjs +1 -1
  391. package/out/methods/account/getIsLoggedIn.cjs +33 -0
  392. package/out/methods/account/getIsLoggedIn.cjs.map +7 -0
  393. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  394. package/out/methods/account/getLatestNonce.cjs +55 -0
  395. package/out/methods/account/getLatestNonce.cjs.map +7 -0
  396. package/out/methods/account/getLatestNonce.mjs +1 -1
  397. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +62 -0
  398. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +7 -0
  399. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  400. package/out/methods/initApp/initApp.cjs +113 -0
  401. package/out/methods/initApp/initApp.cjs.map +7 -0
  402. package/out/methods/initApp/initApp.mjs +1 -1
  403. package/out/methods/initApp/initApp.mjs.map +3 -3
  404. package/out/methods/initApp/initApp.types.cjs +17 -0
  405. package/out/methods/initApp/initApp.types.cjs.map +7 -0
  406. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +173 -0
  407. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +7 -0
  408. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  409. package/out/methods/initApp/websocket/registerWebsocket.cjs +38 -0
  410. package/out/methods/initApp/websocket/registerWebsocket.cjs.map +7 -0
  411. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  412. package/out/methods/loginInfo/getLoginInfo.cjs +37 -0
  413. package/out/methods/loginInfo/getLoginInfo.cjs.map +7 -0
  414. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  415. package/out/methods/network/getEgldLabel.cjs +33 -0
  416. package/out/methods/network/getEgldLabel.cjs.map +7 -0
  417. package/out/methods/network/getEgldLabel.mjs +1 -1
  418. package/out/methods/network/getExplorerAddress.cjs +33 -0
  419. package/out/methods/network/getExplorerAddress.cjs.map +7 -0
  420. package/out/methods/network/getExplorerAddress.mjs +1 -1
  421. package/out/methods/network/getNetworkConfig.cjs +33 -0
  422. package/out/methods/network/getNetworkConfig.cjs.map +7 -0
  423. package/out/methods/network/getNetworkConfig.mjs +1 -1
  424. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +147 -0
  425. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +7 -0
  426. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  427. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +44 -0
  428. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +7 -0
  429. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  430. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +41 -0
  431. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +7 -0
  432. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +23 -0
  433. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +7 -0
  434. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  435. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +58 -0
  436. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +7 -0
  437. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  438. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +50 -0
  439. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +7 -0
  440. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +38 -0
  441. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +7 -0
  442. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  443. package/out/methods/trackTransactions/trackTransactions.cjs +118 -0
  444. package/out/methods/trackTransactions/trackTransactions.cjs.map +7 -0
  445. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  446. package/out/methods/transactions/getFailedTransactions.cjs +33 -0
  447. package/out/methods/transactions/getFailedTransactions.cjs.map +7 -0
  448. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  449. package/out/methods/transactions/getFailedTransactionsSessions.cjs +33 -0
  450. package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +7 -0
  451. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  452. package/out/methods/transactions/getPendingTransactions.cjs +33 -0
  453. package/out/methods/transactions/getPendingTransactions.cjs.map +7 -0
  454. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  455. package/out/methods/transactions/getPendingTransactionsSessions.cjs +33 -0
  456. package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +7 -0
  457. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  458. package/out/methods/transactions/getSuccessfulTransactions.cjs +33 -0
  459. package/out/methods/transactions/getSuccessfulTransactions.cjs.map +7 -0
  460. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  461. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +33 -0
  462. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +7 -0
  463. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  464. package/out/methods/transactions/getTransactionSessions.cjs +33 -0
  465. package/out/methods/transactions/getTransactionSessions.cjs.map +7 -0
  466. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  467. package/out/providers/DappProvider/DappProvider.cjs +113 -0
  468. package/out/providers/DappProvider/DappProvider.cjs.map +7 -0
  469. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  470. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +37 -0
  471. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +7 -0
  472. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +47 -0
  473. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +7 -0
  474. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +67 -0
  475. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +7 -0
  476. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  477. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +45 -0
  478. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +7 -0
  479. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  480. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +45 -0
  481. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +7 -0
  482. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  483. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +56 -0
  484. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +7 -0
  485. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  486. package/out/providers/DappProvider/helpers/login/login.cjs +122 -0
  487. package/out/providers/DappProvider/helpers/login/login.cjs.map +7 -0
  488. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  489. package/out/providers/DappProvider/helpers/logout/logout.cjs +64 -0
  490. package/out/providers/DappProvider/helpers/logout/logout.cjs.map +7 -0
  491. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  492. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +79 -0
  493. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +7 -0
  494. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  495. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +33 -0
  496. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +7 -0
  497. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +43 -0
  498. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +7 -0
  499. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  500. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +61 -0
  501. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +7 -0
  502. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +59 -0
  503. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +7 -0
  504. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  505. package/out/providers/DappProvider/index.cjs +23 -0
  506. package/out/providers/DappProvider/index.cjs.map +7 -0
  507. package/out/providers/DappProvider/index.mjs +1 -1
  508. package/out/providers/ProviderFactory.cjs +131 -0
  509. package/out/providers/ProviderFactory.cjs.map +7 -0
  510. package/out/providers/ProviderFactory.mjs +1 -1
  511. package/out/providers/helpers/accountProvider.cjs +39 -0
  512. package/out/providers/helpers/accountProvider.cjs.map +7 -0
  513. package/out/providers/helpers/accountProvider.mjs +1 -1
  514. package/out/providers/helpers/cancelCrossWindowAction.cjs +38 -0
  515. package/out/providers/helpers/cancelCrossWindowAction.cjs.map +7 -0
  516. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  517. package/out/providers/helpers/clearInitiatedLogins.cjs +58 -0
  518. package/out/providers/helpers/clearInitiatedLogins.cjs.map +7 -0
  519. package/out/providers/helpers/clearInitiatedLogins.mjs +1 -1
  520. package/out/providers/helpers/emptyProvider.cjs +107 -0
  521. package/out/providers/helpers/emptyProvider.cjs.map +7 -0
  522. package/out/providers/helpers/emptyProvider.mjs +1 -1
  523. package/out/providers/helpers/restoreProvider.cjs +53 -0
  524. package/out/providers/helpers/restoreProvider.cjs.map +7 -0
  525. package/out/providers/helpers/restoreProvider.mjs +1 -1
  526. package/out/providers/index.cjs +32 -0
  527. package/out/providers/index.cjs.map +7 -0
  528. package/out/providers/index.mjs +1 -1
  529. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +130 -0
  530. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +7 -0
  531. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  532. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +107 -0
  533. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +7 -0
  534. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  535. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +23 -0
  536. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +7 -0
  537. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  538. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +97 -0
  539. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +7 -0
  540. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  541. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +23 -0
  542. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +7 -0
  543. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  544. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +121 -0
  545. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +7 -0
  546. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  547. package/out/providers/strategies/IframeProviderStrategy/index.cjs +25 -0
  548. package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +7 -0
  549. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  550. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +17 -0
  551. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +7 -0
  552. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +23 -0
  553. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +7 -0
  554. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +182 -0
  555. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +7 -0
  556. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  557. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +125 -0
  558. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +7 -0
  559. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  560. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +69 -0
  561. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +7 -0
  562. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  563. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +38 -0
  564. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +7 -0
  565. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  566. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +48 -0
  567. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +7 -0
  568. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +81 -0
  569. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +7 -0
  570. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  571. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +83 -0
  572. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +7 -0
  573. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  574. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +33 -0
  575. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +7 -0
  576. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  577. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +66 -0
  578. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +7 -0
  579. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  580. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +62 -0
  581. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +7 -0
  582. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +47 -0
  583. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +7 -0
  584. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  585. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +23 -0
  586. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +7 -0
  587. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  588. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -0
  589. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +7 -0
  590. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  591. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +17 -0
  592. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +7 -0
  593. package/out/providers/strategies/LedgerProviderStrategy/index.cjs +25 -0
  594. package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +7 -0
  595. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  596. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +23 -0
  597. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +7 -0
  598. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +38 -0
  599. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +7 -0
  600. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +17 -0
  601. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +7 -0
  602. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +281 -0
  603. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +7 -0
  604. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.d.ts +1 -0
  605. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  606. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +25 -0
  607. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +7 -0
  608. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  609. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +23 -0
  610. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +7 -0
  611. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +49 -0
  612. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +7 -0
  613. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -0
  614. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +7 -0
  615. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  616. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +23 -0
  617. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +7 -0
  618. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  619. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +98 -0
  620. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +7 -0
  621. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  622. package/out/providers/strategies/WebviewProviderStrategy/index.cjs +23 -0
  623. package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +7 -0
  624. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  625. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +42 -0
  626. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +7 -0
  627. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  628. package/out/providers/strategies/helpers/index.cjs +29 -0
  629. package/out/providers/strategies/helpers/index.cjs.map +7 -0
  630. package/out/providers/strategies/helpers/index.mjs +1 -1
  631. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +84 -0
  632. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +7 -0
  633. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  634. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +51 -0
  635. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +7 -0
  636. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +87 -0
  637. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +7 -0
  638. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  639. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +183 -0
  640. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +7 -0
  641. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  642. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +39 -0
  643. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +7 -0
  644. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +266 -0
  645. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +7 -0
  646. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +94 -0
  647. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +7 -0
  648. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  649. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +34 -0
  650. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +7 -0
  651. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +93 -0
  652. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +7 -0
  653. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +44 -0
  654. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +7 -0
  655. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +40 -0
  656. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +7 -0
  657. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +39 -0
  658. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +7 -0
  659. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +51 -0
  660. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +7 -0
  661. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +55 -0
  662. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +7 -0
  663. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  664. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +36 -0
  665. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +7 -0
  666. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +37 -0
  667. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +7 -0
  668. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +127 -0
  669. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +7 -0
  670. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +119 -0
  671. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +7 -0
  672. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +87 -0
  673. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +7 -0
  674. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +47 -0
  675. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +7 -0
  676. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +40 -0
  677. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +7 -0
  678. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +51 -0
  679. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +7 -0
  680. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  681. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +34 -0
  682. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +7 -0
  683. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -0
  684. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +7 -0
  685. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  686. package/out/providers/strategies/index.cjs +31 -0
  687. package/out/providers/strategies/index.cjs.map +7 -0
  688. package/out/providers/strategies/index.mjs +1 -1
  689. package/out/providers/types/providerFactory.types.cjs +38 -0
  690. package/out/providers/types/providerFactory.types.cjs.map +7 -0
  691. package/out/providers/types/providerFactory.types.d.ts +1 -0
  692. package/out/providers/types/providerFactory.types.mjs +1 -1
  693. package/out/react/account/useGetAccount.cjs +33 -0
  694. package/out/react/account/useGetAccount.cjs.map +7 -0
  695. package/out/react/account/useGetAccount.mjs +1 -1
  696. package/out/react/account/useGetAccountInfo.cjs +33 -0
  697. package/out/react/account/useGetAccountInfo.cjs.map +7 -0
  698. package/out/react/account/useGetAccountInfo.mjs +1 -1
  699. package/out/react/account/useGetIsLoggedIn.cjs +34 -0
  700. package/out/react/account/useGetIsLoggedIn.cjs.map +7 -0
  701. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  702. package/out/react/account/useGetLatestNonce.cjs +35 -0
  703. package/out/react/account/useGetLatestNonce.cjs.map +7 -0
  704. package/out/react/account/useGetLatestNonce.mjs +1 -1
  705. package/out/react/index.cjs +23 -0
  706. package/out/react/index.cjs.map +7 -0
  707. package/out/react/index.mjs +1 -1
  708. package/out/react/loginInfo/useGetLoginInfo.cjs +36 -0
  709. package/out/react/loginInfo/useGetLoginInfo.cjs.map +7 -0
  710. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  711. package/out/react/network/useGetNetworkConfig.cjs +33 -0
  712. package/out/react/network/useGetNetworkConfig.cjs.map +7 -0
  713. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  714. package/out/react/store/createBoundedStore.cjs +30 -0
  715. package/out/react/store/createBoundedStore.cjs.map +7 -0
  716. package/out/react/store/getReactStore.cjs +31 -0
  717. package/out/react/store/getReactStore.cjs.map +7 -0
  718. package/out/react/store/getReactStore.mjs +1 -1
  719. package/out/react/store/useSelector.cjs +33 -0
  720. package/out/react/store/useSelector.cjs.map +7 -0
  721. package/out/react/store/useSelector.mjs +1 -1
  722. package/out/react/transactions/useGetFailedTransactions.cjs +34 -0
  723. package/out/react/transactions/useGetFailedTransactions.cjs.map +7 -0
  724. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  725. package/out/react/transactions/useGetFailedTransactionsSessions.cjs +34 -0
  726. package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +7 -0
  727. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  728. package/out/react/transactions/useGetPendingTransactions.cjs +34 -0
  729. package/out/react/transactions/useGetPendingTransactions.cjs.map +7 -0
  730. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  731. package/out/react/transactions/useGetPendingTransactionsSessions.cjs +34 -0
  732. package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +7 -0
  733. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  734. package/out/react/transactions/useGetSuccessfulTransactions.cjs +34 -0
  735. package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +7 -0
  736. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  737. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +36 -0
  738. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +7 -0
  739. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  740. package/out/react/transactions/useGetTransactionSessions.cjs +34 -0
  741. package/out/react/transactions/useGetTransactionSessions.cjs.map +7 -0
  742. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  743. package/out/services/index.cjs +23 -0
  744. package/out/services/index.cjs.map +7 -0
  745. package/out/services/index.mjs +1 -1
  746. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +63 -0
  747. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +7 -0
  748. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +73 -0
  749. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +7 -0
  750. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +101 -0
  751. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +7 -0
  752. package/out/services/nativeAuth/helpers/index.cjs +27 -0
  753. package/out/services/nativeAuth/helpers/index.cjs.map +7 -0
  754. package/out/services/nativeAuth/index.cjs +23 -0
  755. package/out/services/nativeAuth/index.cjs.map +7 -0
  756. package/out/services/nativeAuth/index.mjs +1 -1
  757. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +42 -0
  758. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +7 -0
  759. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  760. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +43 -0
  761. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +7 -0
  762. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  763. package/out/services/nativeAuth/methods/getTokenExpiration.cjs +52 -0
  764. package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +7 -0
  765. package/out/services/nativeAuth/methods/index.cjs +25 -0
  766. package/out/services/nativeAuth/methods/index.cjs.map +7 -0
  767. package/out/services/nativeAuth/methods/index.mjs +1 -1
  768. package/out/services/nativeAuth/nativeAuth.cjs +82 -0
  769. package/out/services/nativeAuth/nativeAuth.cjs.map +7 -0
  770. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  771. package/out/services/nativeAuth/nativeAuth.types.cjs +17 -0
  772. package/out/services/nativeAuth/nativeAuth.types.cjs.map +7 -0
  773. package/out/store/actions/account/accountActions.cjs +95 -0
  774. package/out/store/actions/account/accountActions.cjs.map +7 -0
  775. package/out/store/actions/account/accountActions.mjs +1 -1
  776. package/out/store/actions/account/index.cjs +23 -0
  777. package/out/store/actions/account/index.cjs.map +7 -0
  778. package/out/store/actions/account/index.mjs +1 -1
  779. package/out/store/actions/cache/cacheActions.cjs +62 -0
  780. package/out/store/actions/cache/cacheActions.cjs.map +7 -0
  781. package/out/store/actions/cache/cacheActions.mjs +1 -1
  782. package/out/store/actions/cache/index.cjs +23 -0
  783. package/out/store/actions/cache/index.cjs.map +7 -0
  784. package/out/store/actions/cache/index.mjs +1 -1
  785. package/out/store/actions/config/configActions.cjs +61 -0
  786. package/out/store/actions/config/configActions.cjs.map +7 -0
  787. package/out/store/actions/config/configActions.mjs +1 -1
  788. package/out/store/actions/config/index.cjs +23 -0
  789. package/out/store/actions/config/index.cjs.map +7 -0
  790. package/out/store/actions/config/index.mjs +1 -1
  791. package/out/store/actions/index.cjs +35 -0
  792. package/out/store/actions/index.cjs.map +7 -0
  793. package/out/store/actions/index.mjs +1 -1
  794. package/out/store/actions/loginInfo/loginInfoActions.cjs +134 -0
  795. package/out/store/actions/loginInfo/loginInfoActions.cjs.map +7 -0
  796. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  797. package/out/store/actions/network/index.cjs +23 -0
  798. package/out/store/actions/network/index.cjs.map +7 -0
  799. package/out/store/actions/network/index.mjs +1 -1
  800. package/out/store/actions/network/initializeNetwork.cjs +71 -0
  801. package/out/store/actions/network/initializeNetwork.cjs.map +7 -0
  802. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  803. package/out/store/actions/network/networkActions.cjs +42 -0
  804. package/out/store/actions/network/networkActions.cjs.map +7 -0
  805. package/out/store/actions/network/networkActions.mjs +1 -1
  806. package/out/store/actions/sharedActions/index.cjs +23 -0
  807. package/out/store/actions/sharedActions/index.cjs.map +7 -0
  808. package/out/store/actions/sharedActions/index.mjs +1 -1
  809. package/out/store/actions/sharedActions/sharedActions.cjs +50 -0
  810. package/out/store/actions/sharedActions/sharedActions.cjs.map +7 -0
  811. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  812. package/out/store/actions/toasts/index.cjs +23 -0
  813. package/out/store/actions/toasts/index.cjs.map +7 -0
  814. package/out/store/actions/toasts/index.mjs +1 -1
  815. package/out/store/actions/toasts/toastsActions.cjs +178 -0
  816. package/out/store/actions/toasts/toastsActions.cjs.map +7 -0
  817. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  818. package/out/store/actions/transactions/transactionStateByStatus.cjs +145 -0
  819. package/out/store/actions/transactions/transactionStateByStatus.cjs.map +7 -0
  820. package/out/store/actions/transactions/transactionsActions.cjs +134 -0
  821. package/out/store/actions/transactions/transactionsActions.cjs.map +7 -0
  822. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  823. package/out/store/actions/ui/index.cjs +23 -0
  824. package/out/store/actions/ui/index.cjs.map +7 -0
  825. package/out/store/actions/ui/index.mjs +1 -1
  826. package/out/store/actions/ui/uiActions.cjs +36 -0
  827. package/out/store/actions/ui/uiActions.cjs.map +7 -0
  828. package/out/store/actions/ui/uiActions.mjs +1 -1
  829. package/out/store/middleware/applyMiddlewares.cjs +32 -0
  830. package/out/store/middleware/applyMiddlewares.cjs.map +7 -0
  831. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  832. package/out/store/middleware/index.cjs +23 -0
  833. package/out/store/middleware/index.cjs.map +7 -0
  834. package/out/store/middleware/index.mjs +1 -1
  835. package/out/store/middleware/logoutMiddleware.cjs +79 -0
  836. package/out/store/middleware/logoutMiddleware.cjs.map +7 -0
  837. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  838. package/out/store/selectors/accountSelectors.cjs +61 -0
  839. package/out/store/selectors/accountSelectors.cjs.map +7 -0
  840. package/out/store/selectors/cacheSelector.cjs +32 -0
  841. package/out/store/selectors/cacheSelector.cjs.map +7 -0
  842. package/out/store/selectors/configSelectors.cjs +37 -0
  843. package/out/store/selectors/configSelectors.cjs.map +7 -0
  844. package/out/store/selectors/index.cjs +33 -0
  845. package/out/store/selectors/index.cjs.map +7 -0
  846. package/out/store/selectors/loginInfoSelectors.cjs +44 -0
  847. package/out/store/selectors/loginInfoSelectors.cjs.map +7 -0
  848. package/out/store/selectors/networkSelectors.cjs +43 -0
  849. package/out/store/selectors/networkSelectors.cjs.map +7 -0
  850. package/out/store/selectors/storeSelector.cjs +29 -0
  851. package/out/store/selectors/storeSelector.cjs.map +7 -0
  852. package/out/store/selectors/toastsSelectors.cjs +35 -0
  853. package/out/store/selectors/toastsSelectors.cjs.map +7 -0
  854. package/out/store/selectors/transactionsSelector.cjs +151 -0
  855. package/out/store/selectors/transactionsSelector.cjs.map +7 -0
  856. package/out/store/selectors/uiSelectors.cjs +32 -0
  857. package/out/store/selectors/uiSelectors.cjs.map +7 -0
  858. package/out/store/slices/account/account.types.cjs +17 -0
  859. package/out/store/slices/account/account.types.cjs.map +7 -0
  860. package/out/store/slices/account/accountSlice.cjs +44 -0
  861. package/out/store/slices/account/accountSlice.cjs.map +7 -0
  862. package/out/store/slices/account/emptyAccount.cjs +39 -0
  863. package/out/store/slices/account/emptyAccount.cjs.map +7 -0
  864. package/out/store/slices/account/index.cjs +29 -0
  865. package/out/store/slices/account/index.cjs.map +7 -0
  866. package/out/store/slices/cache/cacheSlice.cjs +35 -0
  867. package/out/store/slices/cache/cacheSlice.cjs.map +7 -0
  868. package/out/store/slices/cache/cacheSlice.types.cjs +17 -0
  869. package/out/store/slices/cache/cacheSlice.types.cjs.map +7 -0
  870. package/out/store/slices/cache/index.cjs +29 -0
  871. package/out/store/slices/cache/index.cjs.map +7 -0
  872. package/out/store/slices/config/config.types.cjs +17 -0
  873. package/out/store/slices/config/config.types.cjs.map +7 -0
  874. package/out/store/slices/config/configSlice.cjs +38 -0
  875. package/out/store/slices/config/configSlice.cjs.map +7 -0
  876. package/out/store/slices/config/index.cjs +29 -0
  877. package/out/store/slices/config/index.cjs.map +7 -0
  878. package/out/store/slices/index.cjs +35 -0
  879. package/out/store/slices/index.cjs.map +7 -0
  880. package/out/store/slices/loginInfo/index.cjs +29 -0
  881. package/out/store/slices/loginInfo/index.cjs.map +7 -0
  882. package/out/store/slices/loginInfo/loginInfo.types.cjs +17 -0
  883. package/out/store/slices/loginInfo/loginInfo.types.cjs.map +7 -0
  884. package/out/store/slices/loginInfo/loginInfoSlice.cjs +45 -0
  885. package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +7 -0
  886. package/out/store/slices/network/emptyNetwork.cjs +42 -0
  887. package/out/store/slices/network/emptyNetwork.cjs.map +7 -0
  888. package/out/store/slices/network/index.cjs +29 -0
  889. package/out/store/slices/network/index.cjs.map +7 -0
  890. package/out/store/slices/network/network.types.cjs +17 -0
  891. package/out/store/slices/network/network.types.cjs.map +7 -0
  892. package/out/store/slices/network/networkSlice.cjs +36 -0
  893. package/out/store/slices/network/networkSlice.cjs.map +7 -0
  894. package/out/store/slices/network/networkSlice.types.cjs +17 -0
  895. package/out/store/slices/network/networkSlice.types.cjs.map +7 -0
  896. package/out/store/slices/toast/index.cjs +29 -0
  897. package/out/store/slices/toast/index.cjs.map +7 -0
  898. package/out/store/slices/toast/toastSlice.cjs +38 -0
  899. package/out/store/slices/toast/toastSlice.cjs.map +7 -0
  900. package/out/store/slices/toast/toastSlice.types.cjs +17 -0
  901. package/out/store/slices/toast/toastSlice.types.cjs.map +7 -0
  902. package/out/store/slices/transactions/index.cjs +29 -0
  903. package/out/store/slices/transactions/index.cjs.map +7 -0
  904. package/out/store/slices/transactions/transactionsSlice.cjs +35 -0
  905. package/out/store/slices/transactions/transactionsSlice.cjs.map +7 -0
  906. package/out/store/slices/transactions/transactionsSlice.types.cjs +17 -0
  907. package/out/store/slices/transactions/transactionsSlice.types.cjs.map +7 -0
  908. package/out/store/slices/ui/index.cjs +29 -0
  909. package/out/store/slices/ui/index.cjs.map +7 -0
  910. package/out/store/slices/ui/ui.types.cjs +17 -0
  911. package/out/store/slices/ui/ui.types.cjs.map +7 -0
  912. package/out/store/slices/ui/uiSlice.cjs +35 -0
  913. package/out/store/slices/ui/uiSlice.cjs.map +7 -0
  914. package/out/store/storage/inMemoryStorage.cjs +52 -0
  915. package/out/store/storage/inMemoryStorage.cjs.map +7 -0
  916. package/out/store/storage/index.cjs +25 -0
  917. package/out/store/storage/index.cjs.map +7 -0
  918. package/out/store/storage/index.mjs +1 -1
  919. package/out/store/storage/storageCallback.cjs +30 -0
  920. package/out/store/storage/storageCallback.cjs.map +7 -0
  921. package/out/store/storage/storageCallback.mjs +1 -1
  922. package/out/store/store.cjs +81 -0
  923. package/out/store/store.cjs.map +7 -0
  924. package/out/store/store.mjs +1 -1
  925. package/out/store/store.types.cjs +17 -0
  926. package/out/store/store.types.cjs.map +7 -0
  927. package/out/types/account.types.cjs +17 -0
  928. package/out/types/account.types.cjs.map +7 -0
  929. package/out/types/enums.types.cjs +120 -0
  930. package/out/types/enums.types.cjs.map +7 -0
  931. package/out/types/index.cjs +35 -0
  932. package/out/types/index.cjs.map +7 -0
  933. package/out/types/index.mjs +1 -1
  934. package/out/types/login.types.cjs +17 -0
  935. package/out/types/login.types.cjs.map +7 -0
  936. package/out/types/manager.types.cjs +17 -0
  937. package/out/types/manager.types.cjs.map +7 -0
  938. package/out/types/network.types.cjs +17 -0
  939. package/out/types/network.types.cjs.map +7 -0
  940. package/out/types/provider.types.cjs +35 -0
  941. package/out/types/provider.types.cjs.map +7 -0
  942. package/out/types/serverTransactions.types.cjs +155 -0
  943. package/out/types/serverTransactions.types.cjs.map +7 -0
  944. package/out/types/subscriptions.type.cjs +34 -0
  945. package/out/types/subscriptions.type.cjs.map +7 -0
  946. package/out/types/suspiciousLink.types.cjs +17 -0
  947. package/out/types/suspiciousLink.types.cjs.map +7 -0
  948. package/out/types/theme.types.cjs +34 -0
  949. package/out/types/theme.types.cjs.map +7 -0
  950. package/out/types/theme.types.d.ts +2 -1
  951. package/out/types/theme.types.mjs +1 -1
  952. package/out/types/tokens.types.cjs +40 -0
  953. package/out/types/tokens.types.cjs.map +7 -0
  954. package/out/types/transaction-list-item.types.cjs +115 -0
  955. package/out/types/transaction-list-item.types.cjs.map +7 -0
  956. package/out/types/transactions.types.cjs +35 -0
  957. package/out/types/transactions.types.cjs.map +7 -0
  958. package/out/types/transactions.types.d.ts +1 -1
  959. package/out/types/transactions.types.mjs.map +1 -1
  960. package/out/types/websocket.types.cjs +17 -0
  961. package/out/types/websocket.types.cjs.map +7 -0
  962. package/out/utils/ComponentFactory.cjs +51 -0
  963. package/out/utils/ComponentFactory.cjs.map +7 -0
  964. package/out/utils/ComponentFactory.d.ts +1 -1
  965. package/out/utils/ComponentFactory.mjs +1 -1
  966. package/out/utils/account/fetchAccount.cjs +30 -0
  967. package/out/utils/account/fetchAccount.cjs.map +7 -0
  968. package/out/utils/account/index.cjs +29 -0
  969. package/out/utils/account/index.cjs.map +7 -0
  970. package/out/utils/account/index.mjs +1 -1
  971. package/out/utils/account/refreshAccount.cjs +80 -0
  972. package/out/utils/account/refreshAccount.cjs.map +7 -0
  973. package/out/utils/account/refreshAccount.mjs +1 -1
  974. package/out/utils/account/refreshNativeAuthTokenLogin.cjs +66 -0
  975. package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +7 -0
  976. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  977. package/out/utils/account/trimUsernameDomain.cjs +36 -0
  978. package/out/utils/account/trimUsernameDomain.cjs.map +7 -0
  979. package/out/utils/asyncActions/index.cjs +23 -0
  980. package/out/utils/asyncActions/index.cjs.map +7 -0
  981. package/out/utils/asyncActions/sleep.cjs +36 -0
  982. package/out/utils/asyncActions/sleep.cjs.map +7 -0
  983. package/out/utils/dateTime/getUnixTimestamp.cjs +31 -0
  984. package/out/utils/dateTime/getUnixTimestamp.cjs.map +7 -0
  985. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +33 -0
  986. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +7 -0
  987. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +31 -0
  988. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +7 -0
  989. package/out/utils/dateTime/index.cjs +27 -0
  990. package/out/utils/dateTime/index.cjs.map +7 -0
  991. package/out/utils/decoders/base64Utils.cjs +58 -0
  992. package/out/utils/decoders/base64Utils.cjs.map +7 -0
  993. package/out/utils/decoders/decodePart.cjs +40 -0
  994. package/out/utils/decoders/decodePart.cjs.map +7 -0
  995. package/out/utils/decoders/index.cjs +31 -0
  996. package/out/utils/decoders/index.cjs.map +7 -0
  997. package/out/utils/decoders/isAscii.cjs +29 -0
  998. package/out/utils/decoders/isAscii.cjs.map +7 -0
  999. package/out/utils/decoders/isUtf8.cjs +36 -0
  1000. package/out/utils/decoders/isUtf8.cjs.map +7 -0
  1001. package/out/utils/decoders/stringContainsNumbers.cjs +29 -0
  1002. package/out/utils/decoders/stringContainsNumbers.cjs.map +7 -0
  1003. package/out/utils/index.cjs +41 -0
  1004. package/out/utils/index.cjs.map +7 -0
  1005. package/out/utils/index.mjs +1 -1
  1006. package/out/utils/network/index.cjs +23 -0
  1007. package/out/utils/network/index.cjs.map +7 -0
  1008. package/out/utils/network/setAxiosInterceptors.cjs +67 -0
  1009. package/out/utils/network/setAxiosInterceptors.cjs.map +7 -0
  1010. package/out/utils/operations/capitalize.cjs +29 -0
  1011. package/out/utils/operations/capitalize.cjs.map +7 -0
  1012. package/out/utils/operations/getUsdValue.cjs +46 -0
  1013. package/out/utils/operations/getUsdValue.cjs.map +7 -0
  1014. package/out/utils/operations/pluralize.cjs +29 -0
  1015. package/out/utils/operations/pluralize.cjs.map +7 -0
  1016. package/out/utils/operations/timeRemaining.cjs +110 -0
  1017. package/out/utils/operations/timeRemaining.cjs.map +7 -0
  1018. package/out/utils/operations/trimAmountDecimals.cjs +60 -0
  1019. package/out/utils/operations/trimAmountDecimals.cjs.map +7 -0
  1020. package/out/utils/retryMultipleTimes.cjs +45 -0
  1021. package/out/utils/retryMultipleTimes.cjs.map +7 -0
  1022. package/out/utils/transactions/explorerUrlBuilder.cjs +54 -0
  1023. package/out/utils/transactions/explorerUrlBuilder.cjs.map +7 -0
  1024. package/out/utils/transactions/getActiveTransactionsStatus.cjs +47 -0
  1025. package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +7 -0
  1026. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  1027. package/out/utils/transactions/getExplorerLink.cjs +50 -0
  1028. package/out/utils/transactions/getExplorerLink.cjs.map +7 -0
  1029. package/out/utils/transactions/getHumanReadableTimeFormat.cjs +47 -0
  1030. package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +7 -0
  1031. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +110 -0
  1032. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +7 -0
  1033. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  1034. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +50 -0
  1035. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +7 -0
  1036. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +107 -0
  1037. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +7 -0
  1038. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +36 -0
  1039. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +7 -0
  1040. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +55 -0
  1041. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +7 -0
  1042. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +71 -0
  1043. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +7 -0
  1044. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +41 -0
  1045. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +7 -0
  1046. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +54 -0
  1047. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +7 -0
  1048. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +60 -0
  1049. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +7 -0
  1050. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +53 -0
  1051. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +7 -0
  1052. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +37 -0
  1053. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +7 -0
  1054. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +33 -0
  1055. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +7 -0
  1056. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +23 -0
  1057. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +7 -0
  1058. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +17 -0
  1059. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +7 -0
  1060. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +83 -0
  1061. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +7 -0
  1062. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  1063. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +31 -0
  1064. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +7 -0
  1065. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +66 -0
  1066. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +7 -0
  1067. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  1068. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +31 -0
  1069. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +7 -0
  1070. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +44 -0
  1071. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +7 -0
  1072. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  1073. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +122 -0
  1074. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +7 -0
  1075. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +47 -0
  1076. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +7 -0
  1077. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  1078. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +40 -0
  1079. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +7 -0
  1080. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  1081. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +44 -0
  1082. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +7 -0
  1083. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +35 -0
  1084. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +7 -0
  1085. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +33 -0
  1086. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +7 -0
  1087. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +42 -0
  1088. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +7 -0
  1089. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +41 -0
  1090. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +7 -0
  1091. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +50 -0
  1092. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +7 -0
  1093. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +47 -0
  1094. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +7 -0
  1095. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  1096. package/out/utils/transactions/getInterpretedTransaction/index.cjs +25 -0
  1097. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +7 -0
  1098. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  1099. package/out/utils/transactions/getScamFlag.cjs +88 -0
  1100. package/out/utils/transactions/getScamFlag.cjs.map +7 -0
  1101. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +57 -0
  1102. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +7 -0
  1103. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  1104. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +40 -0
  1105. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +7 -0
  1106. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +64 -0
  1107. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +7 -0
  1108. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +53 -0
  1109. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +7 -0
  1110. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +36 -0
  1111. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +7 -0
  1112. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  1113. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +39 -0
  1114. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +7 -0
  1115. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +37 -0
  1116. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +7 -0
  1117. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +113 -0
  1118. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +7 -0
  1119. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +59 -0
  1120. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +7 -0
  1121. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +75 -0
  1122. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +7 -0
  1123. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +63 -0
  1124. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +7 -0
  1125. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +91 -0
  1126. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +7 -0
  1127. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.mjs +1 -1
  1128. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +66 -0
  1129. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +7 -0
  1130. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +38 -0
  1131. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +7 -0
  1132. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +50 -0
  1133. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +7 -0
  1134. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  1135. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +38 -0
  1136. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +7 -0
  1137. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +95 -0
  1138. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +7 -0
  1139. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  1140. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +81 -0
  1141. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +7 -0
  1142. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.mjs +1 -1
  1143. package/out/utils/transactions/getTransactionsHistory/index.cjs +25 -0
  1144. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +7 -0
  1145. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  1146. package/out/utils/transactions/index.cjs +29 -0
  1147. package/out/utils/transactions/index.cjs.map +7 -0
  1148. package/out/utils/transactions/index.mjs +1 -1
  1149. package/out/utils/transactions/isGuardianTx.cjs +43 -0
  1150. package/out/utils/transactions/isGuardianTx.cjs.map +7 -0
  1151. package/out/utils/validation/addressIsValid.cjs +40 -0
  1152. package/out/utils/validation/addressIsValid.cjs.map +7 -0
  1153. package/out/utils/validation/getIdentifierType.cjs +54 -0
  1154. package/out/utils/validation/getIdentifierType.cjs.map +7 -0
  1155. package/out/utils/validation/hex.cjs +36 -0
  1156. package/out/utils/validation/hex.cjs.map +7 -0
  1157. package/out/utils/validation/index.cjs +31 -0
  1158. package/out/utils/validation/index.cjs.map +7 -0
  1159. package/out/utils/validation/index.mjs +1 -1
  1160. package/out/utils/validation/isContract.cjs +96 -0
  1161. package/out/utils/validation/isContract.cjs.map +7 -0
  1162. package/out/utils/validation/isContract.mjs +1 -1
  1163. package/out/utils/validation/maxDecimals.cjs +34 -0
  1164. package/out/utils/validation/maxDecimals.cjs.map +7 -0
  1165. package/out/utils/visual/index.cjs +23 -0
  1166. package/out/utils/visual/index.cjs.map +7 -0
  1167. package/out/utils/visual/index.mjs +1 -1
  1168. package/out/utils/visual/switchTheme.cjs +38 -0
  1169. package/out/utils/visual/switchTheme.cjs.map +7 -0
  1170. package/out/utils/visual/switchTheme.mjs +1 -1
  1171. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs +36 -0
  1172. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.cjs.map +7 -0
  1173. package/out/utils/walletconnect/__mocks__/sdkWalletconnectProvider.mjs +1 -1
  1174. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +34 -0
  1175. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +7 -0
  1176. package/out/utils/window/buildUrlParams.cjs +37 -0
  1177. package/out/utils/window/buildUrlParams.cjs.map +7 -0
  1178. package/out/utils/window/getIsAuthRoute.cjs +38 -0
  1179. package/out/utils/window/getIsAuthRoute.cjs.map +7 -0
  1180. package/out/utils/window/getIsInIframe.cjs +44 -0
  1181. package/out/utils/window/getIsInIframe.cjs.map +7 -0
  1182. package/out/utils/window/getIsInIframe.mjs +1 -1
  1183. package/out/utils/window/getWindowLocation.cjs +56 -0
  1184. package/out/utils/window/getWindowLocation.cjs.map +7 -0
  1185. package/out/utils/window/getWindowParentOrigin.cjs +47 -0
  1186. package/out/utils/window/getWindowParentOrigin.cjs.map +7 -0
  1187. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  1188. package/out/utils/window/index.cjs +33 -0
  1189. package/out/utils/window/index.cjs.map +7 -0
  1190. package/out/utils/window/index.mjs +1 -1
  1191. package/out/utils/window/isWindowAvailable.cjs +29 -0
  1192. package/out/utils/window/isWindowAvailable.cjs.map +7 -0
  1193. package/out/utils/window/matchPath.cjs +114 -0
  1194. package/out/utils/window/matchPath.cjs.map +7 -0
  1195. package/out/utils/window/sanitizeCallbackUrl.cjs +39 -0
  1196. package/out/utils/window/sanitizeCallbackUrl.cjs.map +7 -0
  1197. package/package.json +3 -3
  1198. package/out/__chunks__/chunk-2S4GDHPC.mjs +0 -2
  1199. package/out/__chunks__/chunk-3AALZJXX.mjs +0 -2
  1200. package/out/__chunks__/chunk-3IKGFPT3.mjs +0 -2
  1201. package/out/__chunks__/chunk-3OZWOKL7.mjs +0 -2
  1202. package/out/__chunks__/chunk-5AGNJNHL.mjs +0 -2
  1203. package/out/__chunks__/chunk-5AITBRJM.mjs +0 -2
  1204. package/out/__chunks__/chunk-5IKWP24U.mjs +0 -2
  1205. package/out/__chunks__/chunk-5J6OW5XP.mjs +0 -2
  1206. package/out/__chunks__/chunk-5P5FMYGA.mjs +0 -2
  1207. package/out/__chunks__/chunk-66LM6A7E.mjs +0 -2
  1208. package/out/__chunks__/chunk-6JIZDYQM.mjs +0 -2
  1209. package/out/__chunks__/chunk-6K6VHJWQ.mjs +0 -2
  1210. package/out/__chunks__/chunk-7YHMRUFS.mjs +0 -2
  1211. package/out/__chunks__/chunk-AWVWVATR.mjs +0 -2
  1212. package/out/__chunks__/chunk-BYJK2EOI.mjs +0 -2
  1213. package/out/__chunks__/chunk-C7NS47QA.mjs +0 -2
  1214. package/out/__chunks__/chunk-CC4DXLNZ.mjs +0 -2
  1215. package/out/__chunks__/chunk-CETMI3F5.mjs +0 -2
  1216. package/out/__chunks__/chunk-DF5ZV5BO.mjs +0 -2
  1217. package/out/__chunks__/chunk-DJWI5LZX.mjs +0 -2
  1218. package/out/__chunks__/chunk-DOU66R4K.mjs +0 -2
  1219. package/out/__chunks__/chunk-EJ2HUL6D.mjs +0 -2
  1220. package/out/__chunks__/chunk-F5Q64A5W.mjs +0 -2
  1221. package/out/__chunks__/chunk-GDF5AJ5S.mjs +0 -2
  1222. package/out/__chunks__/chunk-GMX4XDVR.mjs +0 -2
  1223. package/out/__chunks__/chunk-GSMTFDRE.mjs +0 -2
  1224. package/out/__chunks__/chunk-GUNYJMJE.mjs +0 -2
  1225. package/out/__chunks__/chunk-GUNYJMJE.mjs.map +0 -7
  1226. package/out/__chunks__/chunk-GY2WKBFX.mjs +0 -2
  1227. package/out/__chunks__/chunk-H7E4BCEJ.mjs +0 -2
  1228. package/out/__chunks__/chunk-HIKIVTTW.mjs +0 -2
  1229. package/out/__chunks__/chunk-HLORMFN4.mjs +0 -2
  1230. package/out/__chunks__/chunk-I5OYRIZC.mjs +0 -2
  1231. package/out/__chunks__/chunk-IFIL5YA5.mjs +0 -2
  1232. package/out/__chunks__/chunk-IFIL5YA5.mjs.map +0 -7
  1233. package/out/__chunks__/chunk-IINL5CEU.mjs +0 -2
  1234. package/out/__chunks__/chunk-IVSP42IE.mjs +0 -2
  1235. package/out/__chunks__/chunk-IWHUAAVD.mjs +0 -2
  1236. package/out/__chunks__/chunk-IXGPMW52.mjs +0 -2
  1237. package/out/__chunks__/chunk-J6N7KVXV.mjs +0 -2
  1238. package/out/__chunks__/chunk-JIAKT3GI.mjs +0 -2
  1239. package/out/__chunks__/chunk-JIAKT3GI.mjs.map +0 -7
  1240. package/out/__chunks__/chunk-JR23TXKP.mjs +0 -2
  1241. package/out/__chunks__/chunk-JR23TXKP.mjs.map +0 -7
  1242. package/out/__chunks__/chunk-K7R2V5KX.mjs +0 -2
  1243. package/out/__chunks__/chunk-KXK3FLN2.mjs +0 -2
  1244. package/out/__chunks__/chunk-LM2GCQL5.mjs +0 -2
  1245. package/out/__chunks__/chunk-LWDK4NX3.mjs +0 -2
  1246. package/out/__chunks__/chunk-M2ZSNGPS.mjs +0 -2
  1247. package/out/__chunks__/chunk-M5T2OACP.mjs +0 -2
  1248. package/out/__chunks__/chunk-ML7FXWAD.mjs +0 -2
  1249. package/out/__chunks__/chunk-MSQGMOCS.mjs +0 -2
  1250. package/out/__chunks__/chunk-N5DIMOWZ.mjs +0 -2
  1251. package/out/__chunks__/chunk-NEHR66XQ.mjs +0 -2
  1252. package/out/__chunks__/chunk-NKUK5GFB.mjs +0 -2
  1253. package/out/__chunks__/chunk-NVE5YTZK.mjs +0 -2
  1254. package/out/__chunks__/chunk-ODPJDT5F.mjs +0 -2
  1255. package/out/__chunks__/chunk-ODPJDT5F.mjs.map +0 -7
  1256. package/out/__chunks__/chunk-OX6DILCF.mjs +0 -2
  1257. package/out/__chunks__/chunk-OZ4ZZI3H.mjs +0 -2
  1258. package/out/__chunks__/chunk-P4QMB34E.mjs +0 -2
  1259. package/out/__chunks__/chunk-P4QMB34E.mjs.map +0 -7
  1260. package/out/__chunks__/chunk-PDEIJQWE.mjs +0 -2
  1261. package/out/__chunks__/chunk-PWXGNRYT.mjs +0 -2
  1262. package/out/__chunks__/chunk-PWXGNRYT.mjs.map +0 -7
  1263. package/out/__chunks__/chunk-QAHFVBCD.mjs +0 -2
  1264. package/out/__chunks__/chunk-QGNMCCFK.mjs +0 -2
  1265. package/out/__chunks__/chunk-QS2RBVTW.mjs +0 -2
  1266. package/out/__chunks__/chunk-QWV25ZSJ.mjs +0 -2
  1267. package/out/__chunks__/chunk-RD2EB7NA.mjs +0 -2
  1268. package/out/__chunks__/chunk-RHCAOCW3.mjs +0 -2
  1269. package/out/__chunks__/chunk-RPTQJKFR.mjs +0 -2
  1270. package/out/__chunks__/chunk-RSVM3MZD.mjs +0 -2
  1271. package/out/__chunks__/chunk-RU7UYXPW.mjs +0 -2
  1272. package/out/__chunks__/chunk-S2FQWSUO.mjs +0 -2
  1273. package/out/__chunks__/chunk-S2FQWSUO.mjs.map +0 -7
  1274. package/out/__chunks__/chunk-S5VF4GWN.mjs +0 -2
  1275. package/out/__chunks__/chunk-S6EACMBJ.mjs +0 -2
  1276. package/out/__chunks__/chunk-SKCBMUQL.mjs +0 -2
  1277. package/out/__chunks__/chunk-TI73UXGG.mjs +0 -2
  1278. package/out/__chunks__/chunk-TRIPQLQM.mjs +0 -2
  1279. package/out/__chunks__/chunk-TZ2EDK3R.mjs +0 -2
  1280. package/out/__chunks__/chunk-U7E2AVPF.mjs +0 -2
  1281. package/out/__chunks__/chunk-UCJMQJM4.mjs +0 -2
  1282. package/out/__chunks__/chunk-UKGXMWHE.mjs +0 -2
  1283. package/out/__chunks__/chunk-UO4CECP4.mjs +0 -2
  1284. package/out/__chunks__/chunk-UTN4SJ54.mjs +0 -2
  1285. package/out/__chunks__/chunk-UVN6CHEM.mjs +0 -2
  1286. package/out/__chunks__/chunk-VG7UDG2S.mjs +0 -2
  1287. package/out/__chunks__/chunk-WBPXPWSV.mjs +0 -2
  1288. package/out/__chunks__/chunk-WIHG6SHO.mjs +0 -2
  1289. package/out/__chunks__/chunk-WTBHS6AM.mjs +0 -2
  1290. package/out/__chunks__/chunk-XFYYVB6G.mjs +0 -2
  1291. package/out/__chunks__/chunk-YTA6XGBJ.mjs +0 -2
  1292. package/out/__chunks__/chunk-YVVAPGXF.mjs +0 -2
  1293. /package/out/__chunks__/{chunk-EJ2HUL6D.mjs.map → chunk-22CLXEB2.mjs.map} +0 -0
  1294. /package/out/__chunks__/{chunk-2S4GDHPC.mjs.map → chunk-3FX5RTHT.mjs.map} +0 -0
  1295. /package/out/__chunks__/{chunk-BYJK2EOI.mjs.map → chunk-456YSI54.mjs.map} +0 -0
  1296. /package/out/__chunks__/{chunk-HLORMFN4.mjs.map → chunk-4ZQAHMC7.mjs.map} +0 -0
  1297. /package/out/__chunks__/{chunk-DJWI5LZX.mjs.map → chunk-5HV6ENMZ.mjs.map} +0 -0
  1298. /package/out/__chunks__/{chunk-UO4CECP4.mjs.map → chunk-5HWBV7UA.mjs.map} +0 -0
  1299. /package/out/__chunks__/{chunk-N5DIMOWZ.mjs.map → chunk-5ZNSOJRW.mjs.map} +0 -0
  1300. /package/out/__chunks__/{chunk-3IKGFPT3.mjs.map → chunk-653M72HI.mjs.map} +0 -0
  1301. /package/out/__chunks__/{chunk-NKUK5GFB.mjs.map → chunk-6LQPIIN7.mjs.map} +0 -0
  1302. /package/out/__chunks__/{chunk-QWV25ZSJ.mjs.map → chunk-76URRONH.mjs.map} +0 -0
  1303. /package/out/__chunks__/{chunk-3OZWOKL7.mjs.map → chunk-AAT5TA2C.mjs.map} +0 -0
  1304. /package/out/__chunks__/{chunk-CC4DXLNZ.mjs.map → chunk-AOT45CLU.mjs.map} +0 -0
  1305. /package/out/__chunks__/{chunk-S6EACMBJ.mjs.map → chunk-BIKDLBHK.mjs.map} +0 -0
  1306. /package/out/__chunks__/{chunk-6K6VHJWQ.mjs.map → chunk-BLNUEDNB.mjs.map} +0 -0
  1307. /package/out/__chunks__/{chunk-TI73UXGG.mjs.map → chunk-CDQ2BNUD.mjs.map} +0 -0
  1308. /package/out/__chunks__/{chunk-LWDK4NX3.mjs.map → chunk-CQFFB5WA.mjs.map} +0 -0
  1309. /package/out/__chunks__/{chunk-HIKIVTTW.mjs.map → chunk-EHU6U444.mjs.map} +0 -0
  1310. /package/out/__chunks__/{chunk-5P5FMYGA.mjs.map → chunk-EQSRTMFM.mjs.map} +0 -0
  1311. /package/out/__chunks__/{chunk-M2ZSNGPS.mjs.map → chunk-F7TDWWAZ.mjs.map} +0 -0
  1312. /package/out/__chunks__/{chunk-IVSP42IE.mjs.map → chunk-FWC42IFM.mjs.map} +0 -0
  1313. /package/out/__chunks__/{chunk-IWHUAAVD.mjs.map → chunk-FYA6M3N3.mjs.map} +0 -0
  1314. /package/out/__chunks__/{chunk-OZ4ZZI3H.mjs.map → chunk-G4Z3ZQR6.mjs.map} +0 -0
  1315. /package/out/__chunks__/{chunk-XFYYVB6G.mjs.map → chunk-HF5UK7AF.mjs.map} +0 -0
  1316. /package/out/__chunks__/{chunk-5J6OW5XP.mjs.map → chunk-HLBGYEYU.mjs.map} +0 -0
  1317. /package/out/__chunks__/{chunk-GSMTFDRE.mjs.map → chunk-HLNCW36T.mjs.map} +0 -0
  1318. /package/out/__chunks__/{chunk-I5OYRIZC.mjs.map → chunk-IRLEEOUA.mjs.map} +0 -0
  1319. /package/out/__chunks__/{chunk-GY2WKBFX.mjs.map → chunk-J55M6HRJ.mjs.map} +0 -0
  1320. /package/out/__chunks__/{chunk-ML7FXWAD.mjs.map → chunk-JBF4OOHG.mjs.map} +0 -0
  1321. /package/out/__chunks__/{chunk-M5T2OACP.mjs.map → chunk-JIDXMYLT.mjs.map} +0 -0
  1322. /package/out/__chunks__/{chunk-QGNMCCFK.mjs.map → chunk-JQ6DWF4A.mjs.map} +0 -0
  1323. /package/out/__chunks__/{chunk-J6N7KVXV.mjs.map → chunk-KE7YRXWM.mjs.map} +0 -0
  1324. /package/out/__chunks__/{chunk-NEHR66XQ.mjs.map → chunk-KIU22HW5.mjs.map} +0 -0
  1325. /package/out/__chunks__/{chunk-AWVWVATR.mjs.map → chunk-KK2BMMWL.mjs.map} +0 -0
  1326. /package/out/__chunks__/{chunk-MSQGMOCS.mjs.map → chunk-KZAQIHS2.mjs.map} +0 -0
  1327. /package/out/__chunks__/{chunk-UTN4SJ54.mjs.map → chunk-LG4JGQOF.mjs.map} +0 -0
  1328. /package/out/__chunks__/{chunk-YVVAPGXF.mjs.map → chunk-MOJR7L2A.mjs.map} +0 -0
  1329. /package/out/__chunks__/{chunk-S5VF4GWN.mjs.map → chunk-MSYOA2HY.mjs.map} +0 -0
  1330. /package/out/__chunks__/{chunk-UCJMQJM4.mjs.map → chunk-N6PKXG4Q.mjs.map} +0 -0
  1331. /package/out/__chunks__/{chunk-U7E2AVPF.mjs.map → chunk-NDIJUIRP.mjs.map} +0 -0
  1332. /package/out/__chunks__/{chunk-GMX4XDVR.mjs.map → chunk-NTGUPGTV.mjs.map} +0 -0
  1333. /package/out/__chunks__/{chunk-RHCAOCW3.mjs.map → chunk-NVLWSC4J.mjs.map} +0 -0
  1334. /package/out/__chunks__/{chunk-YTA6XGBJ.mjs.map → chunk-OIJVN33N.mjs.map} +0 -0
  1335. /package/out/__chunks__/{chunk-WBPXPWSV.mjs.map → chunk-OLPUNT27.mjs.map} +0 -0
  1336. /package/out/__chunks__/{chunk-KXK3FLN2.mjs.map → chunk-P5RC6PN5.mjs.map} +0 -0
  1337. /package/out/__chunks__/{chunk-DF5ZV5BO.mjs.map → chunk-PJAESU4Q.mjs.map} +0 -0
  1338. /package/out/__chunks__/{chunk-VG7UDG2S.mjs.map → chunk-PZYLVHXW.mjs.map} +0 -0
  1339. /package/out/__chunks__/{chunk-RD2EB7NA.mjs.map → chunk-RJKYCUB2.mjs.map} +0 -0
  1340. /package/out/__chunks__/{chunk-WTBHS6AM.mjs.map → chunk-RQ5H245L.mjs.map} +0 -0
  1341. /package/out/__chunks__/{chunk-SKCBMUQL.mjs.map → chunk-S75Q25RY.mjs.map} +0 -0
  1342. /package/out/__chunks__/{chunk-UKGXMWHE.mjs.map → chunk-SF4BD7ZP.mjs.map} +0 -0
  1343. /package/out/__chunks__/{chunk-IINL5CEU.mjs.map → chunk-SIRUYWHD.mjs.map} +0 -0
  1344. /package/out/__chunks__/{chunk-PDEIJQWE.mjs.map → chunk-SMLKNW6G.mjs.map} +0 -0
  1345. /package/out/__chunks__/{chunk-OX6DILCF.mjs.map → chunk-SXX3XHAW.mjs.map} +0 -0
  1346. /package/out/__chunks__/{chunk-TZ2EDK3R.mjs.map → chunk-TUKLXZGE.mjs.map} +0 -0
  1347. /package/out/__chunks__/{chunk-RU7UYXPW.mjs.map → chunk-TX6KTAJL.mjs.map} +0 -0
  1348. /package/out/__chunks__/{chunk-IXGPMW52.mjs.map → chunk-UJJ2TXN5.mjs.map} +0 -0
  1349. /package/out/__chunks__/{chunk-K7R2V5KX.mjs.map → chunk-UOUYS55Y.mjs.map} +0 -0
  1350. /package/out/__chunks__/{chunk-TRIPQLQM.mjs.map → chunk-UZOPRGVU.mjs.map} +0 -0
  1351. /package/out/__chunks__/{chunk-6JIZDYQM.mjs.map → chunk-UZV2AYS7.mjs.map} +0 -0
  1352. /package/out/__chunks__/{chunk-RSVM3MZD.mjs.map → chunk-V3FPOJA5.mjs.map} +0 -0
  1353. /package/out/__chunks__/{chunk-C7NS47QA.mjs.map → chunk-V7PT3KKW.mjs.map} +0 -0
  1354. /package/out/__chunks__/{chunk-DOU66R4K.mjs.map → chunk-VBMIE7MG.mjs.map} +0 -0
  1355. /package/out/__chunks__/{chunk-NVE5YTZK.mjs.map → chunk-VJOUHZ3O.mjs.map} +0 -0
  1356. /package/out/__chunks__/{chunk-5AITBRJM.mjs.map → chunk-VPS6ARX6.mjs.map} +0 -0
  1357. /package/out/__chunks__/{chunk-UVN6CHEM.mjs.map → chunk-VWJRTO5A.mjs.map} +0 -0
  1358. /package/out/__chunks__/{chunk-CETMI3F5.mjs.map → chunk-WJ7ALCIQ.mjs.map} +0 -0
  1359. /package/out/__chunks__/{chunk-LM2GCQL5.mjs.map → chunk-WJCTIZ2A.mjs.map} +0 -0
  1360. /package/out/__chunks__/{chunk-WIHG6SHO.mjs.map → chunk-WONHL4N2.mjs.map} +0 -0
  1361. /package/out/__chunks__/{chunk-3AALZJXX.mjs.map → chunk-WZRJWY5M.mjs.map} +0 -0
  1362. /package/out/__chunks__/{chunk-5IKWP24U.mjs.map → chunk-X7R7RLVZ.mjs.map} +0 -0
  1363. /package/out/__chunks__/{chunk-QAHFVBCD.mjs.map → chunk-XIR5WVK3.mjs.map} +0 -0
  1364. /package/out/__chunks__/{chunk-H7E4BCEJ.mjs.map → chunk-XKOP7FDQ.mjs.map} +0 -0
  1365. /package/out/__chunks__/{chunk-F5Q64A5W.mjs.map → chunk-XNLP533V.mjs.map} +0 -0
  1366. /package/out/__chunks__/{chunk-GDF5AJ5S.mjs.map → chunk-XRMMQJV3.mjs.map} +0 -0
  1367. /package/out/__chunks__/{chunk-66LM6A7E.mjs.map → chunk-Y7IZFCJ5.mjs.map} +0 -0
  1368. /package/out/__chunks__/{chunk-RPTQJKFR.mjs.map → chunk-YLOVIFPG.mjs.map} +0 -0
  1369. /package/out/__chunks__/{chunk-7YHMRUFS.mjs.map → chunk-YRZADY4X.mjs.map} +0 -0
  1370. /package/out/__chunks__/{chunk-5AGNJNHL.mjs.map → chunk-YTYVQKLJ.mjs.map} +0 -0
  1371. /package/out/__chunks__/{chunk-QS2RBVTW.mjs.map → chunk-ZC2OOJ2D.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-MSQGMOCS.mjs";import"../../__chunks__/chunk-M5T2OACP.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-H7E4BCEJ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-PWXGNRYT.mjs";export{a as getIsLoggedIn};
1
+ import{a}from"../../__chunks__/chunk-KZAQIHS2.mjs";import"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-HCKBJTY3.mjs";export{a as getIsLoggedIn};
2
2
  //# sourceMappingURL=getIsLoggedIn.mjs.map
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var getLatestNonce_exports = {};
20
+ __export(getLatestNonce_exports, {
21
+ getLatestNonce: () => getLatestNonce
22
+ });
23
+ module.exports = __toCommonJS(getLatestNonce_exports);
24
+ var import_accountSelectors = require("../../store/selectors/accountSelectors");
25
+ var import_transactionsSelector = require("../../store/selectors/transactionsSelector");
26
+ var import_store = require("../../store/store");
27
+ function getLatestNonce(apiAccount) {
28
+ const state = (0, import_store.getState)();
29
+ const transactionsSessions = (0, import_transactionsSelector.transactionsSliceSelector)(state);
30
+ const currentAccountNonce = (0, import_accountSelectors.accountNonceSelector)(state);
31
+ let lastTransactionNonce = Object.keys(transactionsSessions).map(Number).reduce((maxNonce, timestamp) => {
32
+ const transactions = transactionsSessions[timestamp]?.transactions || [];
33
+ return Math.max(maxNonce, ...transactions.map((tx) => tx.nonce), 0);
34
+ }, 0);
35
+ if (lastTransactionNonce > 0) {
36
+ lastTransactionNonce += 1;
37
+ }
38
+ if (apiAccount == null) {
39
+ const currentStoreNonce = Math.max(
40
+ lastTransactionNonce,
41
+ currentAccountNonce
42
+ );
43
+ return currentStoreNonce;
44
+ }
45
+ const currentNonce = Math.max(
46
+ lastTransactionNonce || apiAccount.nonce,
47
+ currentAccountNonce
48
+ );
49
+ return currentNonce;
50
+ }
51
+ // Annotate the CommonJS export names for ESM import in node:
52
+ 0 && (module.exports = {
53
+ getLatestNonce
54
+ });
55
+ //# sourceMappingURL=getLatestNonce.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/methods/account/getLatestNonce.ts"],
4
+ "sourcesContent": ["import { accountNonceSelector } from '../../store/selectors/accountSelectors';\nimport { transactionsSliceSelector } from '../../store/selectors/transactionsSelector';\nimport { getState } from '../../store/store';\nimport { AccountType } from '../../types/account.types';\n\nexport function getLatestNonce(apiAccount: AccountType | null) {\n const state = getState();\n const transactionsSessions = transactionsSliceSelector(state);\n const currentAccountNonce = accountNonceSelector(state);\n\n // Get the max transactions nonce\n let lastTransactionNonce = Object.keys(transactionsSessions)\n .map(Number) // Convert keys to numbers (timestamps)\n .reduce((maxNonce, timestamp) => {\n const transactions = transactionsSessions[timestamp]?.transactions || [];\n return Math.max(maxNonce, ...transactions.map((tx) => tx.nonce), 0);\n }, 0);\n\n if (lastTransactionNonce > 0) {\n lastTransactionNonce += 1; // Increment only if there's at least one pending transaction\n }\n\n if (apiAccount == null) {\n const currentStoreNonce = Math.max(\n lastTransactionNonce,\n currentAccountNonce\n );\n return currentStoreNonce;\n }\n\n const currentNonce = Math.max(\n lastTransactionNonce || apiAccount.nonce,\n currentAccountNonce\n );\n\n return currentNonce;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAqC;AACrC,kCAA0C;AAC1C,mBAAyB;AAGlB,SAAS,eAAe,YAAgC;AAC7D,QAAM,YAAQ,uBAAS;AACvB,QAAM,2BAAuB,uDAA0B,KAAK;AAC5D,QAAM,0BAAsB,8CAAqB,KAAK;AAGtD,MAAI,uBAAuB,OAAO,KAAK,oBAAoB,EACxD,IAAI,MAAM,EACV,OAAO,CAAC,UAAU,cAAc;AAC/B,UAAM,eAAe,qBAAqB,SAAS,GAAG,gBAAgB,CAAC;AACvE,WAAO,KAAK,IAAI,UAAU,GAAG,aAAa,IAAI,CAAC,OAAO,GAAG,KAAK,GAAG,CAAC;AAAA,EACpE,GAAG,CAAC;AAEN,MAAI,uBAAuB,GAAG;AAC5B,4BAAwB;AAAA,EAC1B;AAEA,MAAI,cAAc,MAAM;AACtB,UAAM,oBAAoB,KAAK;AAAA,MAC7B;AAAA,MACA;AAAA,IACF;AACA,WAAO;AAAA,EACT;AAEA,QAAM,eAAe,KAAK;AAAA,IACxB,wBAAwB,WAAW;AAAA,IACnC;AAAA,EACF;AAEA,SAAO;AACT;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"../../__chunks__/chunk-I5OYRIZC.mjs";import"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-M5T2OACP.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-H7E4BCEJ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-PWXGNRYT.mjs";export{a as getLatestNonce};
1
+ import{a}from"../../__chunks__/chunk-IRLEEOUA.mjs";import"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import"../../__chunks__/chunk-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-HCKBJTY3.mjs";export{a as getLatestNonce};
2
2
  //# sourceMappingURL=getLatestNonce.mjs.map
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var setGasStationMetadata_exports = {};
20
+ __export(setGasStationMetadata_exports, {
21
+ setGasStationMetadata: () => setGasStationMetadata
22
+ });
23
+ module.exports = __toCommonJS(setGasStationMetadata_exports);
24
+ var import_getGasStationMetadata = require("../../../apiCalls/configuration/getGasStationMetadata");
25
+ var import_networkActions = require("../../../store/actions/network/networkActions");
26
+ var import_networkSelectors = require("../../../store/selectors/networkSelectors");
27
+ var import_store = require("../../../store/store");
28
+ async function setGasStationMetadata({
29
+ shard,
30
+ apiAddress
31
+ }) {
32
+ if (shard == null) {
33
+ return;
34
+ }
35
+ try {
36
+ const fetchedGasMetadata = await (0, import_getGasStationMetadata.getGasStationMetadataFromApi)(
37
+ shard,
38
+ apiAddress
39
+ );
40
+ if (!fetchedGasMetadata?.[shard]?.lastBlock) {
41
+ return;
42
+ }
43
+ const network = (0, import_networkSelectors.networkSelector)((0, import_store.getState)());
44
+ const hasDifferentGasStationMetadata = !network.gasStationMetadata || !network.gasStationMetadata[shard] || network.gasStationMetadata[shard].lastBlock !== fetchedGasMetadata[shard].lastBlock;
45
+ if (hasDifferentGasStationMetadata) {
46
+ (0, import_networkActions.initializeNetworkConfig)({
47
+ ...network,
48
+ gasStationMetadata: {
49
+ ...network.gasStationMetadata,
50
+ ...fetchedGasMetadata
51
+ }
52
+ });
53
+ }
54
+ } catch (err) {
55
+ console.error("Error fetching gas station metadata:", err);
56
+ }
57
+ }
58
+ // Annotate the CommonJS export names for ESM import in node:
59
+ 0 && (module.exports = {
60
+ setGasStationMetadata
61
+ });
62
+ //# sourceMappingURL=setGasStationMetadata.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/methods/initApp/gastStationMetadata/setGasStationMetadata.ts"],
4
+ "sourcesContent": ["import { getGasStationMetadataFromApi } from 'apiCalls/configuration/getGasStationMetadata';\nimport { initializeNetworkConfig } from 'store/actions/network/networkActions';\nimport { networkSelector } from 'store/selectors/networkSelectors';\nimport { getState } from 'store/store';\n\ninterface ISetGasStationMetadataParams {\n shard: number;\n apiAddress: string;\n}\n\nexport async function setGasStationMetadata({\n shard,\n apiAddress\n}: ISetGasStationMetadataParams) {\n if (shard == null) {\n return;\n }\n\n try {\n const fetchedGasMetadata = await getGasStationMetadataFromApi(\n shard,\n apiAddress\n );\n\n if (!fetchedGasMetadata?.[shard]?.lastBlock) {\n return;\n }\n\n const network = networkSelector(getState());\n\n const hasDifferentGasStationMetadata =\n !network.gasStationMetadata ||\n !network.gasStationMetadata[shard] ||\n network.gasStationMetadata[shard].lastBlock !==\n fetchedGasMetadata[shard].lastBlock;\n\n if (hasDifferentGasStationMetadata) {\n initializeNetworkConfig({\n ...network,\n gasStationMetadata: {\n ...network.gasStationMetadata,\n ...fetchedGasMetadata\n }\n });\n }\n } catch (err) {\n console.error('Error fetching gas station metadata:', err);\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mCAA6C;AAC7C,4BAAwC;AACxC,8BAAgC;AAChC,mBAAyB;AAOzB,eAAsB,sBAAsB;AAAA,EAC1C;AAAA,EACA;AACF,GAAiC;AAC/B,MAAI,SAAS,MAAM;AACjB;AAAA,EACF;AAEA,MAAI;AACF,UAAM,qBAAqB,UAAM;AAAA,MAC/B;AAAA,MACA;AAAA,IACF;AAEA,QAAI,CAAC,qBAAqB,KAAK,GAAG,WAAW;AAC3C;AAAA,IACF;AAEA,UAAM,cAAU,6CAAgB,uBAAS,CAAC;AAE1C,UAAM,iCACJ,CAAC,QAAQ,sBACT,CAAC,QAAQ,mBAAmB,KAAK,KACjC,QAAQ,mBAAmB,KAAK,EAAE,cAChC,mBAAmB,KAAK,EAAE;AAE9B,QAAI,gCAAgC;AAClC,yDAAwB;AAAA,QACtB,GAAG;AAAA,QACH,oBAAoB;AAAA,UAClB,GAAG,QAAQ;AAAA,UACX,GAAG;AAAA,QACL;AAAA,MACF,CAAC;AAAA,IACH;AAAA,EACF,SAAS,KAAK;AACZ,YAAQ,MAAM,wCAAwC,GAAG;AAAA,EAC3D;AACF;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a}from"../../../__chunks__/chunk-LM2GCQL5.mjs";import"../../../__chunks__/chunk-3OZWOKL7.mjs";import"../../../__chunks__/chunk-RPTQJKFR.mjs";import"../../../__chunks__/chunk-UVN6CHEM.mjs";import"../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../__chunks__/chunk-M5T2OACP.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-H7E4BCEJ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-PWXGNRYT.mjs";export{a as setGasStationMetadata};
1
+ import{a}from"../../../__chunks__/chunk-WJCTIZ2A.mjs";import"../../../__chunks__/chunk-AAT5TA2C.mjs";import"../../../__chunks__/chunk-YLOVIFPG.mjs";import"../../../__chunks__/chunk-VWJRTO5A.mjs";import"../../../__chunks__/chunk-YK7T6MBD.mjs";import"../../../__chunks__/chunk-KMJMQEXI.mjs";import"../../../__chunks__/chunk-JIDXMYLT.mjs";import"../../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../../__chunks__/chunk-UERJ6AKK.mjs";import"../../../__chunks__/chunk-KPK72MOE.mjs";import"../../../__chunks__/chunk-SAAOQW7P.mjs";import"../../../__chunks__/chunk-VNLGNNIL.mjs";import"../../../__chunks__/chunk-6JM4DPOH.mjs";import"../../../__chunks__/chunk-UTWIKUIK.mjs";import"../../../__chunks__/chunk-ZODTYAYF.mjs";import"../../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../../__chunks__/chunk-DKX6JUT6.mjs";import"../../../__chunks__/chunk-XKOP7FDQ.mjs";import"../../../__chunks__/chunk-KRWR77QE.mjs";import"../../../__chunks__/chunk-B7YCKWDU.mjs";import"../../../__chunks__/chunk-HDJOER66.mjs";import"../../../__chunks__/chunk-A7FTKX2A.mjs";import"../../../__chunks__/chunk-XKU5QBXG.mjs";import"../../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../../__chunks__/chunk-JMC7CMTU.mjs";import"../../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../../__chunks__/chunk-T2YPFNVM.mjs";import"../../../__chunks__/chunk-X4XULIVT.mjs";import"../../../__chunks__/chunk-5N4F5T5L.mjs";import"../../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../../__chunks__/chunk-YMPZDHKF.mjs";import"../../../__chunks__/chunk-VKEESSBI.mjs";import"../../../__chunks__/chunk-2DNGCNYM.mjs";import"../../../__chunks__/chunk-SQVKVA7X.mjs";import"../../../__chunks__/chunk-I24YBVHK.mjs";import"../../../__chunks__/chunk-NB7A4C7L.mjs";import"../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../__chunks__/chunk-KD2IQ32V.mjs";import"../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../__chunks__/chunk-ULUZWP2P.mjs";import"../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../__chunks__/chunk-HCKBJTY3.mjs";export{a as setGasStationMetadata};
2
2
  //# sourceMappingURL=setGasStationMetadata.mjs.map
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var initApp_exports = {};
20
+ __export(initApp_exports, {
21
+ initApp: () => initApp
22
+ });
23
+ module.exports = __toCommonJS(initApp_exports);
24
+ var import_window = require("../../constants/window.constants");
25
+ var import_sdkDappUi = require("../../lib/sdkDappUi");
26
+ var import_ToastManager = require("../../managers/internal/ToastManager/ToastManager");
27
+ var import_LogoutManager = require("../../managers/LogoutManager/LogoutManager");
28
+ var import_sessionCallbacks = require("../../managers/TransactionManager/helpers/sessionCallbacks");
29
+ var import_restoreProvider = require("../../providers/helpers/restoreProvider");
30
+ var import_ProviderFactory = require("../../providers/ProviderFactory");
31
+ var import_getDefaultNativeAuthConfig = require("../../services/nativeAuth/methods/getDefaultNativeAuthConfig");
32
+ var import_actions = require("../../store/actions");
33
+ var import_configActions = require("../../store/actions/config/configActions");
34
+ var import_storage = require("../../store/storage");
35
+ var import_store = require("../../store/store");
36
+ var import_types = require("../../types");
37
+ var import_switchTheme = require("../../utils/visual/switchTheme");
38
+ var import_getIsLoggedIn = require("../account/getIsLoggedIn");
39
+ var import_registerWebsocket = require("./websocket/registerWebsocket");
40
+ var import_trackTransactions = require("../trackTransactions/trackTransactions");
41
+ var import_setGasStationMetadata = require("./gastStationMetadata/setGasStationMetadata");
42
+ var import_getAccount = require("../account/getAccount");
43
+ const defaultInitAppProps = {
44
+ storage: {
45
+ getStorageCallback: import_storage.defaultStorageCallback
46
+ }
47
+ };
48
+ let isAppInitialized = false;
49
+ let isInitializing = false;
50
+ async function initApp({
51
+ storage = defaultInitAppProps.storage,
52
+ dAppConfig,
53
+ customProviders
54
+ }) {
55
+ if (isInitializing) {
56
+ return;
57
+ }
58
+ isInitializing = true;
59
+ const defaultTheme = dAppConfig?.theme ?? import_types.ThemesEnum.dark;
60
+ await (0, import_sdkDappUi.defineCustomElements)();
61
+ (0, import_switchTheme.switchTheme)(defaultTheme);
62
+ (0, import_store.initStore)(storage.getStorageCallback);
63
+ const { apiAddress } = await (0, import_actions.initializeNetwork)({
64
+ customNetworkConfig: dAppConfig.network,
65
+ environment: dAppConfig.environment
66
+ });
67
+ if (dAppConfig?.nativeAuth) {
68
+ const nativeAuthConfig = typeof dAppConfig.nativeAuth === "boolean" && dAppConfig.nativeAuth === true ? (0, import_getDefaultNativeAuthConfig.getDefaultNativeAuthConfig)({ apiAddress }) : (0, import_getDefaultNativeAuthConfig.getDefaultNativeAuthConfig)(dAppConfig.nativeAuth);
69
+ (0, import_configActions.setNativeAuthConfig)(nativeAuthConfig);
70
+ }
71
+ if (dAppConfig?.providers?.walletConnect) {
72
+ (0, import_configActions.setWalletConnectConfig)(dAppConfig.providers.walletConnect);
73
+ }
74
+ const isLoggedIn = (0, import_getIsLoggedIn.getIsLoggedIn)();
75
+ const account = (0, import_getAccount.getAccount)();
76
+ const toastManager = import_ToastManager.ToastManager.getInstance();
77
+ await toastManager.init({
78
+ successfulToastLifetime: dAppConfig.transactionTracking?.successfulToastLifetime
79
+ });
80
+ const usedProviders = [
81
+ ...import_window.safeWindow?.multiversx?.providers ?? [],
82
+ ...customProviders || []
83
+ ];
84
+ const uniqueProviders = usedProviders.filter(
85
+ (provider, index, arr) => index === arr.findIndex((item) => item.type === provider.type)
86
+ );
87
+ import_ProviderFactory.ProviderFactory.customProviders = uniqueProviders || [];
88
+ if (!isAppInitialized) {
89
+ await (0, import_restoreProvider.restoreProvider)();
90
+ if (isLoggedIn) {
91
+ await (0, import_registerWebsocket.registerWebsocketListener)(account.address);
92
+ (0, import_trackTransactions.trackTransactions)();
93
+ import_LogoutManager.LogoutManager.getInstance().init();
94
+ (0, import_sessionCallbacks.registerSessionCallbacks)({
95
+ onSuccess: dAppConfig.transactionTracking?.onSuccess,
96
+ onFail: dAppConfig.transactionTracking?.onFail
97
+ });
98
+ }
99
+ }
100
+ if (account.shard != null) {
101
+ await (0, import_setGasStationMetadata.setGasStationMetadata)({
102
+ shard: Number(account.shard),
103
+ apiAddress
104
+ });
105
+ }
106
+ isAppInitialized = true;
107
+ isInitializing = false;
108
+ }
109
+ // Annotate the CommonJS export names for ESM import in node:
110
+ 0 && (module.exports = {
111
+ initApp
112
+ });
113
+ //# sourceMappingURL=initApp.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/methods/initApp/initApp.ts"],
4
+ "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { defineCustomElements } from 'lib/sdkDappUi';\nimport { ToastManager } from 'managers/internal/ToastManager/ToastManager';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { registerSessionCallbacks } from 'managers/TransactionManager/helpers/sessionCallbacks';\nimport { restoreProvider } from 'providers/helpers/restoreProvider';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport { ICustomProvider } from 'providers/types/providerFactory.types';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { initializeNetwork } from 'store/actions';\nimport {\n setNativeAuthConfig,\n setWalletConnectConfig\n} from 'store/actions/config/configActions';\nimport { defaultStorageCallback } from 'store/storage';\nimport { initStore } from 'store/store';\nimport { ThemesEnum } from 'types';\nimport { switchTheme } from 'utils/visual/switchTheme';\nimport { InitAppType } from './initApp.types';\nimport { getIsLoggedIn } from '../account/getIsLoggedIn';\nimport { registerWebsocketListener } from './websocket/registerWebsocket';\nimport { trackTransactions } from '../trackTransactions/trackTransactions';\nimport { setGasStationMetadata } from './gastStationMetadata/setGasStationMetadata';\nimport { getAccount } from '../account/getAccount';\n\nconst defaultInitAppProps = {\n storage: {\n getStorageCallback: defaultStorageCallback\n }\n};\n\n/**\n * Flag indicating whether the app has already been initialized.\n *\n * Prevents repeated initialization steps such as provider restoration,\n * websocket listener registration, and transaction tracking setup.\n * This ensures that multiple calls to `initApp` do not cause duplicated\n * subscriptions or side effects.\n *\n * @internal\n */\nlet isAppInitialized = false;\nlet isInitializing = false;\n\n/**\n * Initializes the dApp with the given configuration.\n * @param props - The configuration for the dApp initialization.\n *\n * @example\n * ```ts\n initApp({\n nativeAuth: true,\n environment: EnvironmentsEnum.devnet\n });\n * ```\n * */\nexport async function initApp({\n storage = defaultInitAppProps.storage,\n dAppConfig,\n customProviders\n}: InitAppType) {\n if (isInitializing) {\n return;\n }\n\n isInitializing = true;\n\n const defaultTheme = dAppConfig?.theme ?? ThemesEnum.dark;\n await defineCustomElements();\n\n switchTheme(defaultTheme);\n\n initStore(storage.getStorageCallback);\n\n const { apiAddress } = await initializeNetwork({\n customNetworkConfig: dAppConfig.network,\n environment: dAppConfig.environment\n });\n\n if (dAppConfig?.nativeAuth) {\n const nativeAuthConfig: NativeAuthConfigType =\n typeof dAppConfig.nativeAuth === 'boolean' &&\n dAppConfig.nativeAuth === true\n ? getDefaultNativeAuthConfig({ apiAddress })\n : getDefaultNativeAuthConfig(dAppConfig.nativeAuth);\n\n setNativeAuthConfig(nativeAuthConfig);\n }\n\n if (dAppConfig?.providers?.walletConnect) {\n setWalletConnectConfig(dAppConfig.providers.walletConnect);\n }\n\n const isLoggedIn = getIsLoggedIn();\n const account = getAccount();\n const toastManager = ToastManager.getInstance();\n await toastManager.init({\n successfulToastLifetime:\n dAppConfig.transactionTracking?.successfulToastLifetime\n });\n\n const usedProviders: ICustomProvider[] = [\n ...((safeWindow as any)?.multiversx?.providers ?? []),\n ...(customProviders || [])\n ];\n\n const uniqueProviders = usedProviders.filter(\n (provider, index, arr) =>\n index === arr.findIndex((item) => item.type === provider.type)\n );\n\n ProviderFactory.customProviders = uniqueProviders || [];\n\n if (!isAppInitialized) {\n await restoreProvider();\n\n if (isLoggedIn) {\n await registerWebsocketListener(account.address);\n trackTransactions();\n LogoutManager.getInstance().init();\n registerSessionCallbacks({\n onSuccess: dAppConfig.transactionTracking?.onSuccess,\n onFail: dAppConfig.transactionTracking?.onFail\n });\n }\n }\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n\n isAppInitialized = true;\n isInitializing = false;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA2B;AAC3B,uBAAqC;AACrC,0BAA6B;AAC7B,2BAA8B;AAC9B,8BAAyC;AACzC,6BAAgC;AAChC,6BAAgC;AAEhC,wCAA2C;AAE3C,qBAAkC;AAClC,2BAGO;AACP,qBAAuC;AACvC,mBAA0B;AAC1B,mBAA2B;AAC3B,yBAA4B;AAE5B,2BAA8B;AAC9B,+BAA0C;AAC1C,+BAAkC;AAClC,mCAAsC;AACtC,wBAA2B;AAE3B,MAAM,sBAAsB;AAAA,EAC1B,SAAS;AAAA,IACP,oBAAoB;AAAA,EACtB;AACF;AAYA,IAAI,mBAAmB;AACvB,IAAI,iBAAiB;AAcrB,eAAsB,QAAQ;AAAA,EAC5B,UAAU,oBAAoB;AAAA,EAC9B;AAAA,EACA;AACF,GAAgB;AACd,MAAI,gBAAgB;AAClB;AAAA,EACF;AAEA,mBAAiB;AAEjB,QAAM,eAAe,YAAY,SAAS,wBAAW;AACrD,YAAM,uCAAqB;AAE3B,sCAAY,YAAY;AAExB,8BAAU,QAAQ,kBAAkB;AAEpC,QAAM,EAAE,WAAW,IAAI,UAAM,kCAAkB;AAAA,IAC7C,qBAAqB,WAAW;AAAA,IAChC,aAAa,WAAW;AAAA,EAC1B,CAAC;AAED,MAAI,YAAY,YAAY;AAC1B,UAAM,mBACJ,OAAO,WAAW,eAAe,aACjC,WAAW,eAAe,WACtB,8DAA2B,EAAE,WAAW,CAAC,QACzC,8DAA2B,WAAW,UAAU;AAEtD,kDAAoB,gBAAgB;AAAA,EACtC;AAEA,MAAI,YAAY,WAAW,eAAe;AACxC,qDAAuB,WAAW,UAAU,aAAa;AAAA,EAC3D;AAEA,QAAM,iBAAa,oCAAc;AACjC,QAAM,cAAU,8BAAW;AAC3B,QAAM,eAAe,iCAAa,YAAY;AAC9C,QAAM,aAAa,KAAK;AAAA,IACtB,yBACE,WAAW,qBAAqB;AAAA,EACpC,CAAC;AAED,QAAM,gBAAmC;AAAA,IACvC,GAAK,0BAAoB,YAAY,aAAa,CAAC;AAAA,IACnD,GAAI,mBAAmB,CAAC;AAAA,EAC1B;AAEA,QAAM,kBAAkB,cAAc;AAAA,IACpC,CAAC,UAAU,OAAO,QAChB,UAAU,IAAI,UAAU,CAAC,SAAS,KAAK,SAAS,SAAS,IAAI;AAAA,EACjE;AAEA,yCAAgB,kBAAkB,mBAAmB,CAAC;AAEtD,MAAI,CAAC,kBAAkB;AACrB,cAAM,wCAAgB;AAEtB,QAAI,YAAY;AACd,gBAAM,oDAA0B,QAAQ,OAAO;AAC/C,sDAAkB;AAClB,yCAAc,YAAY,EAAE,KAAK;AACjC,4DAAyB;AAAA,QACvB,WAAW,WAAW,qBAAqB;AAAA,QAC3C,QAAQ,WAAW,qBAAqB;AAAA,MAC1C,CAAC;AAAA,IACH;AAAA,EACF;AAEA,MAAI,QAAQ,SAAS,MAAM;AACzB,cAAM,oDAAsB;AAAA,MAC1B,OAAO,OAAO,QAAQ,KAAK;AAAA,MAC3B;AAAA,IACF,CAAC;AAAA,EACH;AAEA,qBAAmB;AACnB,mBAAiB;AACnB;",
6
+ "names": []
7
+ }
@@ -1,2 +1,2 @@
1
- import{a as y}from"../../__chunks__/chunk-IFIL5YA5.mjs";import{a as I}from"../../__chunks__/chunk-NEHR66XQ.mjs";import"../../__chunks__/chunk-DLWDO7M6.mjs";import{d as w}from"../../__chunks__/chunk-P4QMB34E.mjs";import"../../__chunks__/chunk-OZ4ZZI3H.mjs";import"../../__chunks__/chunk-M3YL36ZL.mjs";import"../../__chunks__/chunk-GMX4XDVR.mjs";import"../../__chunks__/chunk-DOU66R4K.mjs";import"../../__chunks__/chunk-CSC5XOOG.mjs";import"../../__chunks__/chunk-UNUOQRSW.mjs";import"../../__chunks__/chunk-JKR5DRPM.mjs";import"../../__chunks__/chunk-QGNMCCFK.mjs";import"../../__chunks__/chunk-AVP5EPAT.mjs";import"../../__chunks__/chunk-3TYEAOQF.mjs";import"../../__chunks__/chunk-IXGPMW52.mjs";import"../../__chunks__/chunk-YFPMAZOS.mjs";import"../../__chunks__/chunk-J6N7KVXV.mjs";import{a as k}from"../../__chunks__/chunk-MSQGMOCS.mjs";import"../../__chunks__/chunk-YUFPUG5O.mjs";import"../../__chunks__/chunk-FRDR4A7Z.mjs";import"../../__chunks__/chunk-B2RDSGON.mjs";import"../../__chunks__/chunk-OA5BWGGO.mjs";import"../../__chunks__/chunk-6UIF2KFV.mjs";import"../../__chunks__/chunk-IUXHZJDK.mjs";import"../../__chunks__/chunk-PBEUEYGB.mjs";import"../../__chunks__/chunk-SSNUOOVP.mjs";import"../../__chunks__/chunk-FB5NMLRH.mjs";import"../../__chunks__/chunk-TRIPQLQM.mjs";import"../../__chunks__/chunk-GY2WKBFX.mjs";import"../../__chunks__/chunk-WFAPPSOI.mjs";import"../../__chunks__/chunk-OVOW4GUD.mjs";import"../../__chunks__/chunk-S2RZTVIL.mjs";import"../../__chunks__/chunk-3IKGFPT3.mjs";import"../../__chunks__/chunk-U7E2AVPF.mjs";import"../../__chunks__/chunk-UN6IHTU6.mjs";import"../../__chunks__/chunk-QS2RBVTW.mjs";import"../../__chunks__/chunk-NVE5YTZK.mjs";import"../../__chunks__/chunk-QXC4D3AC.mjs";import"../../__chunks__/chunk-OD4ANAAQ.mjs";import"../../__chunks__/chunk-HIUWEH2W.mjs";import"../../__chunks__/chunk-7CA6UKPK.mjs";import"../../__chunks__/chunk-RM4VHHXR.mjs";import"../../__chunks__/chunk-COKCHJ2B.mjs";import"../../__chunks__/chunk-RD2EB7NA.mjs";import"../../__chunks__/chunk-7Z7IX367.mjs";import"../../__chunks__/chunk-VCQBYNNS.mjs";import"../../__chunks__/chunk-LN5UXO64.mjs";import"../../__chunks__/chunk-PHOF3Z5D.mjs";import"../../__chunks__/chunk-RBZC4PEU.mjs";import"../../__chunks__/chunk-ROZAXUMC.mjs";import"../../__chunks__/chunk-AXUYY4T7.mjs";import"../../__chunks__/chunk-3KUTPB2M.mjs";import"../../__chunks__/chunk-OMT62YRR.mjs";import"../../__chunks__/chunk-BETSOJFK.mjs";import"../../__chunks__/chunk-S5XV2COC.mjs";import"../../__chunks__/chunk-2DFE24NA.mjs";import"../../__chunks__/chunk-JAIA24ND.mjs";import"../../__chunks__/chunk-K4ITACAF.mjs";import"../../__chunks__/chunk-M2ZSNGPS.mjs";import"../../__chunks__/chunk-FKBLKOLI.mjs";import"../../__chunks__/chunk-U64LDJTG.mjs";import"../../__chunks__/chunk-QJGFIK7H.mjs";import"../../__chunks__/chunk-4Z3DZ2A3.mjs";import"../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../__chunks__/chunk-NKUK5GFB.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-OEPTRJEB.mjs";import"../../__chunks__/chunk-Y3BNMQFP.mjs";import"../../__chunks__/chunk-NRXYSTRW.mjs";import"../../__chunks__/chunk-YV7ZJBAY.mjs";import"../../__chunks__/chunk-DXRSXWLQ.mjs";import"../../__chunks__/chunk-K5MJ4FMD.mjs";import"../../__chunks__/chunk-WTBHS6AM.mjs";import"../../__chunks__/chunk-INRKVOET.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-LSKZWWBZ.mjs";import{l as m,m as c}from"../../__chunks__/chunk-GUNYJMJE.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-6K6VHJWQ.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-EJ2HUL6D.mjs";import"../../__chunks__/chunk-PJDJEPY2.mjs";import"../../__chunks__/chunk-LWDK4NX3.mjs";import"../../__chunks__/chunk-FD3HLEX7.mjs";import"../../__chunks__/chunk-WBPXPWSV.mjs";import"../../__chunks__/chunk-RVO7H26H.mjs";import"../../__chunks__/chunk-VDMJZZU4.mjs";import"../../__chunks__/chunk-4HEE3XZP.mjs";import"../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../__chunks__/chunk-IMPOALRX.mjs";import{a as d}from"../../__chunks__/chunk-LM2GCQL5.mjs";import"../../__chunks__/chunk-3OZWOKL7.mjs";import"../../__chunks__/chunk-RPTQJKFR.mjs";import"../../__chunks__/chunk-IWHUAAVD.mjs";import"../../__chunks__/chunk-UCJMQJM4.mjs";import{a as v}from"../../__chunks__/chunk-OX6DILCF.mjs";import"../../__chunks__/chunk-C7NS47QA.mjs";import"../../__chunks__/chunk-CAA4VJRH.mjs";import"../../__chunks__/chunk-UP7CK2EN.mjs";import"../../__chunks__/chunk-2S4GDHPC.mjs";import"../../__chunks__/chunk-IINL5CEU.mjs";import"../../__chunks__/chunk-5P5FMYGA.mjs";import"../../__chunks__/chunk-F5Q64A5W.mjs";import"../../__chunks__/chunk-FMQYLMTU.mjs";import{b as p}from"../../__chunks__/chunk-3ZEUVYQF.mjs";import"../../__chunks__/chunk-MFUQ5NBC.mjs";import"../../__chunks__/chunk-HLORMFN4.mjs";import{b as l}from"../../__chunks__/chunk-3AALZJXX.mjs";import"../../__chunks__/chunk-UTN4SJ54.mjs";import"../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-66LM6A7E.mjs";import"../../__chunks__/chunk-TZ2EDK3R.mjs";import"../../__chunks__/chunk-BYJK2EOI.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-MDVI45IV.mjs";import"../../__chunks__/chunk-PDEIJQWE.mjs";import"../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../__chunks__/chunk-RU7UYXPW.mjs";import"../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../__chunks__/chunk-DJWI5LZX.mjs";import"../../__chunks__/chunk-UO4CECP4.mjs";import"../../__chunks__/chunk-HK7HCSM3.mjs";import"../../__chunks__/chunk-RHCAOCW3.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-QAHFVBCD.mjs";import"../../__chunks__/chunk-I5OYRIZC.mjs";import"../../__chunks__/chunk-4US7HVCR.mjs";import{a as f,c as u}from"../../__chunks__/chunk-WIHG6SHO.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-M3GFSV3G.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-IVSP42IE.mjs";import"../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../__chunks__/chunk-CC4DXLNZ.mjs";import"../../__chunks__/chunk-J32T6OAP.mjs";import{a as g}from"../../__chunks__/chunk-UVN6CHEM.mjs";import"../../__chunks__/chunk-YK7T6MBD.mjs";import"../../__chunks__/chunk-KMJMQEXI.mjs";import"../../__chunks__/chunk-G5DKGX73.mjs";import"../../__chunks__/chunk-5J6OW5XP.mjs";import"../../__chunks__/chunk-UKGXMWHE.mjs";import"../../__chunks__/chunk-L3MWDI6J.mjs";import"../../__chunks__/chunk-65L5EBBL.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-YVVAPGXF.mjs";import{a as h}from"../../__chunks__/chunk-5AGNJNHL.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-SKCBMUQL.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../__chunks__/chunk-5IKWP24U.mjs";import{a as r}from"../../__chunks__/chunk-HIKIVTTW.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../__chunks__/chunk-WE7YOBO7.mjs";import"../../__chunks__/chunk-6FXEHNGW.mjs";import"../../__chunks__/chunk-ZLE5VUWG.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-YJK5FPW4.mjs";import"../../__chunks__/chunk-36XFDUXN.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-6CQMLD25.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-RSVM3MZD.mjs";import"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import"../../__chunks__/chunk-7YHMRUFS.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-5AITBRJM.mjs";import"../../__chunks__/chunk-N5DIMOWZ.mjs";import"../../__chunks__/chunk-GDF5AJ5S.mjs";import"../../__chunks__/chunk-CETMI3F5.mjs";import"../../__chunks__/chunk-QQAW7UC2.mjs";import"../../__chunks__/chunk-52PGMMOM.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-AGUGUYQS.mjs";import"../../__chunks__/chunk-HMHP5DPL.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import{t as n}from"../../__chunks__/chunk-M5T2OACP.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import{a as s}from"../../__chunks__/chunk-H7E4BCEJ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-WHEXX3BD.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-UK5MEKBE.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-JR23TXKP.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-QWV25ZSJ.mjs";import{a as T}from"../../__chunks__/chunk-GSMTFDRE.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-ODPJDT5F.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-TI73UXGG.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-YTA6XGBJ.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-K7R2V5KX.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-S2FQWSUO.mjs";import"../../__chunks__/chunk-DTQL3IDP.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-S5VF4GWN.mjs";import"../../__chunks__/chunk-6JIZDYQM.mjs";import"../../__chunks__/chunk-EHDGJUEU.mjs";import"../../__chunks__/chunk-HOCSCRJF.mjs";import{a}from"../../__chunks__/chunk-PWXGNRYT.mjs";import"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";var F={storage:{getStorageCallback:s}},P=!1;async function et({storage:S=F.storage,dAppConfig:t,customProviders:b}){let N=t?.theme??"mvx:dark-theme";await y(),T(N),n(S.getStorageCallback);let{apiAddress:i}=await g({customNetworkConfig:t.network,environment:t.environment});if(t?.nativeAuth){let o=typeof t.nativeAuth=="boolean"&&t.nativeAuth===!0?r({apiAddress:i}):r(t.nativeAuth);f(o)}t?.providers?.walletConnect&&u(t.providers.walletConnect);let C=k(),e=h();await m.getInstance().init({successfulToastLifetime:t.transactionTracking?.successfulToastLifetime});let L=[...a?.multiversx?.providers??[],...b||[]].filter((o,A,M)=>A===M.findIndex(x=>x.type===o.type));w.customProviders=L||[],P||(await I(),C&&(await l(e.address),v(),c.getInstance().init(),p({onSuccess:t.transactionTracking?.onSuccess,onFail:t.transactionTracking?.onFail}))),e.shard!=null&&await d({shard:Number(e.shard),apiAddress:i}),P=!0}export{et as initApp};
1
+ import{a as P}from"../../__chunks__/chunk-UUV2STLQ.mjs";import{a as y}from"../../__chunks__/chunk-KIU22HW5.mjs";import"../../__chunks__/chunk-DLWDO7M6.mjs";import{d as I}from"../../__chunks__/chunk-6QUYC43H.mjs";import"../../__chunks__/chunk-G4Z3ZQR6.mjs";import"../../__chunks__/chunk-M3YL36ZL.mjs";import"../../__chunks__/chunk-NTGUPGTV.mjs";import"../../__chunks__/chunk-VBMIE7MG.mjs";import"../../__chunks__/chunk-CSC5XOOG.mjs";import"../../__chunks__/chunk-UNUOQRSW.mjs";import"../../__chunks__/chunk-JKR5DRPM.mjs";import"../../__chunks__/chunk-JQ6DWF4A.mjs";import"../../__chunks__/chunk-AVP5EPAT.mjs";import"../../__chunks__/chunk-3TYEAOQF.mjs";import"../../__chunks__/chunk-UJJ2TXN5.mjs";import"../../__chunks__/chunk-YFPMAZOS.mjs";import"../../__chunks__/chunk-KE7YRXWM.mjs";import{a as w}from"../../__chunks__/chunk-KZAQIHS2.mjs";import"../../__chunks__/chunk-YUFPUG5O.mjs";import"../../__chunks__/chunk-FRDR4A7Z.mjs";import"../../__chunks__/chunk-B2RDSGON.mjs";import"../../__chunks__/chunk-OA5BWGGO.mjs";import"../../__chunks__/chunk-6UIF2KFV.mjs";import"../../__chunks__/chunk-IUXHZJDK.mjs";import"../../__chunks__/chunk-PBEUEYGB.mjs";import"../../__chunks__/chunk-SSNUOOVP.mjs";import"../../__chunks__/chunk-FB5NMLRH.mjs";import"../../__chunks__/chunk-UZOPRGVU.mjs";import"../../__chunks__/chunk-J55M6HRJ.mjs";import"../../__chunks__/chunk-WFAPPSOI.mjs";import"../../__chunks__/chunk-OVOW4GUD.mjs";import"../../__chunks__/chunk-S2RZTVIL.mjs";import"../../__chunks__/chunk-653M72HI.mjs";import"../../__chunks__/chunk-NDIJUIRP.mjs";import"../../__chunks__/chunk-UN6IHTU6.mjs";import"../../__chunks__/chunk-ZC2OOJ2D.mjs";import"../../__chunks__/chunk-VJOUHZ3O.mjs";import"../../__chunks__/chunk-QXC4D3AC.mjs";import"../../__chunks__/chunk-OD4ANAAQ.mjs";import"../../__chunks__/chunk-HIUWEH2W.mjs";import"../../__chunks__/chunk-7CA6UKPK.mjs";import"../../__chunks__/chunk-RM4VHHXR.mjs";import"../../__chunks__/chunk-COKCHJ2B.mjs";import"../../__chunks__/chunk-RJKYCUB2.mjs";import"../../__chunks__/chunk-7Z7IX367.mjs";import"../../__chunks__/chunk-VCQBYNNS.mjs";import"../../__chunks__/chunk-LN5UXO64.mjs";import"../../__chunks__/chunk-PHOF3Z5D.mjs";import"../../__chunks__/chunk-RBZC4PEU.mjs";import"../../__chunks__/chunk-ROZAXUMC.mjs";import"../../__chunks__/chunk-AXUYY4T7.mjs";import"../../__chunks__/chunk-3KUTPB2M.mjs";import"../../__chunks__/chunk-OMT62YRR.mjs";import"../../__chunks__/chunk-BETSOJFK.mjs";import"../../__chunks__/chunk-S5XV2COC.mjs";import"../../__chunks__/chunk-2DFE24NA.mjs";import"../../__chunks__/chunk-JAIA24ND.mjs";import"../../__chunks__/chunk-K4ITACAF.mjs";import"../../__chunks__/chunk-F7TDWWAZ.mjs";import"../../__chunks__/chunk-FKBLKOLI.mjs";import"../../__chunks__/chunk-U64LDJTG.mjs";import"../../__chunks__/chunk-QJGFIK7H.mjs";import"../../__chunks__/chunk-4Z3DZ2A3.mjs";import"../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../__chunks__/chunk-6LQPIIN7.mjs";import"../../__chunks__/chunk-HBQQS6GA.mjs";import"../../__chunks__/chunk-C4TBDJVT.mjs";import"../../__chunks__/chunk-RYIJWGFA.mjs";import"../../__chunks__/chunk-OEPTRJEB.mjs";import"../../__chunks__/chunk-Y3BNMQFP.mjs";import"../../__chunks__/chunk-NRXYSTRW.mjs";import"../../__chunks__/chunk-YV7ZJBAY.mjs";import"../../__chunks__/chunk-DXRSXWLQ.mjs";import"../../__chunks__/chunk-K5MJ4FMD.mjs";import"../../__chunks__/chunk-RQ5H245L.mjs";import"../../__chunks__/chunk-INRKVOET.mjs";import"../../__chunks__/chunk-6ET5BDZH.mjs";import"../../__chunks__/chunk-LSKZWWBZ.mjs";import{l as c,m as f}from"../../__chunks__/chunk-TS77UH5B.mjs";import"../../__chunks__/chunk-RUBOJOJP.mjs";import"../../__chunks__/chunk-BLNUEDNB.mjs";import"../../__chunks__/chunk-T7DVMF2K.mjs";import"../../__chunks__/chunk-JZZ3MOUU.mjs";import"../../__chunks__/chunk-6UZHM5LW.mjs";import"../../__chunks__/chunk-22CLXEB2.mjs";import"../../__chunks__/chunk-PJDJEPY2.mjs";import"../../__chunks__/chunk-CQFFB5WA.mjs";import"../../__chunks__/chunk-FD3HLEX7.mjs";import"../../__chunks__/chunk-OLPUNT27.mjs";import"../../__chunks__/chunk-RVO7H26H.mjs";import"../../__chunks__/chunk-VDMJZZU4.mjs";import"../../__chunks__/chunk-4HEE3XZP.mjs";import"../../__chunks__/chunk-SCSHU7XJ.mjs";import"../../__chunks__/chunk-IMPOALRX.mjs";import{a as h}from"../../__chunks__/chunk-WJCTIZ2A.mjs";import"../../__chunks__/chunk-AAT5TA2C.mjs";import"../../__chunks__/chunk-YLOVIFPG.mjs";import"../../__chunks__/chunk-FYA6M3N3.mjs";import"../../__chunks__/chunk-N6PKXG4Q.mjs";import{a as v}from"../../__chunks__/chunk-SXX3XHAW.mjs";import"../../__chunks__/chunk-V7PT3KKW.mjs";import"../../__chunks__/chunk-CAA4VJRH.mjs";import"../../__chunks__/chunk-UP7CK2EN.mjs";import"../../__chunks__/chunk-3FX5RTHT.mjs";import"../../__chunks__/chunk-SIRUYWHD.mjs";import"../../__chunks__/chunk-EQSRTMFM.mjs";import"../../__chunks__/chunk-XNLP533V.mjs";import"../../__chunks__/chunk-FMQYLMTU.mjs";import{b as p}from"../../__chunks__/chunk-3ZEUVYQF.mjs";import"../../__chunks__/chunk-MFUQ5NBC.mjs";import"../../__chunks__/chunk-4ZQAHMC7.mjs";import{b as g}from"../../__chunks__/chunk-WZRJWY5M.mjs";import"../../__chunks__/chunk-LG4JGQOF.mjs";import"../../__chunks__/chunk-ZFXAT6MD.mjs";import"../../__chunks__/chunk-Q2Q4XN4M.mjs";import"../../__chunks__/chunk-Y7IZFCJ5.mjs";import"../../__chunks__/chunk-TUKLXZGE.mjs";import"../../__chunks__/chunk-456YSI54.mjs";import"../../__chunks__/chunk-4ODPAHHA.mjs";import"../../__chunks__/chunk-ECEWPZGA.mjs";import"../../__chunks__/chunk-MDVI45IV.mjs";import"../../__chunks__/chunk-SMLKNW6G.mjs";import"../../__chunks__/chunk-3C5GZ3BL.mjs";import"../../__chunks__/chunk-TX6KTAJL.mjs";import"../../__chunks__/chunk-TSUMQ3HX.mjs";import"../../__chunks__/chunk-5HV6ENMZ.mjs";import"../../__chunks__/chunk-5HWBV7UA.mjs";import"../../__chunks__/chunk-HK7HCSM3.mjs";import"../../__chunks__/chunk-NVLWSC4J.mjs";import"../../__chunks__/chunk-55SACSMS.mjs";import"../../__chunks__/chunk-XIR5WVK3.mjs";import"../../__chunks__/chunk-IRLEEOUA.mjs";import"../../__chunks__/chunk-4US7HVCR.mjs";import{a as u,c as l}from"../../__chunks__/chunk-WONHL4N2.mjs";import"../../__chunks__/chunk-4TBVQD27.mjs";import"../../__chunks__/chunk-M3GFSV3G.mjs";import"../../__chunks__/chunk-WV5X6BXA.mjs";import"../../__chunks__/chunk-FWC42IFM.mjs";import"../../__chunks__/chunk-L3YPAYXZ.mjs";import"../../__chunks__/chunk-AOT45CLU.mjs";import"../../__chunks__/chunk-J32T6OAP.mjs";import{a as d}from"../../__chunks__/chunk-VWJRTO5A.mjs";import"../../__chunks__/chunk-YK7T6MBD.mjs";import"../../__chunks__/chunk-KMJMQEXI.mjs";import"../../__chunks__/chunk-G5DKGX73.mjs";import"../../__chunks__/chunk-HLBGYEYU.mjs";import"../../__chunks__/chunk-SF4BD7ZP.mjs";import"../../__chunks__/chunk-L3MWDI6J.mjs";import"../../__chunks__/chunk-65L5EBBL.mjs";import"../../__chunks__/chunk-HORSXVIV.mjs";import"../../__chunks__/chunk-MOJR7L2A.mjs";import{a as T}from"../../__chunks__/chunk-YTYVQKLJ.mjs";import"../../__chunks__/chunk-NWEUIK3A.mjs";import"../../__chunks__/chunk-S75Q25RY.mjs";import"../../__chunks__/chunk-OJX2TSAZ.mjs";import"../../__chunks__/chunk-QTKK6OSJ.mjs";import"../../__chunks__/chunk-X7R7RLVZ.mjs";import{a as o}from"../../__chunks__/chunk-EHU6U444.mjs";import"../../__chunks__/chunk-3S57OP4Z.mjs";import"../../__chunks__/chunk-6ACLOUQ3.mjs";import"../../__chunks__/chunk-WE7YOBO7.mjs";import"../../__chunks__/chunk-6FXEHNGW.mjs";import"../../__chunks__/chunk-ZLE5VUWG.mjs";import"../../__chunks__/chunk-3GGBXXXJ.mjs";import"../../__chunks__/chunk-RMW3YLGD.mjs";import"../../__chunks__/chunk-FPJ2PIFX.mjs";import"../../__chunks__/chunk-NJN53MJV.mjs";import"../../__chunks__/chunk-YSCND2MX.mjs";import"../../__chunks__/chunk-YJK5FPW4.mjs";import"../../__chunks__/chunk-36XFDUXN.mjs";import"../../__chunks__/chunk-X6MN67NW.mjs";import"../../__chunks__/chunk-ZAPRDHIW.mjs";import"../../__chunks__/chunk-GIZSIYH4.mjs";import"../../__chunks__/chunk-WVAP3V3E.mjs";import"../../__chunks__/chunk-XVX7N3JK.mjs";import"../../__chunks__/chunk-HH5SA7BX.mjs";import"../../__chunks__/chunk-6CQMLD25.mjs";import"../../__chunks__/chunk-B3IKUIRK.mjs";import"../../__chunks__/chunk-V3FPOJA5.mjs";import"../../__chunks__/chunk-TQA3JDNV.mjs";import"../../__chunks__/chunk-IXBWD6BF.mjs";import"../../__chunks__/chunk-YRZADY4X.mjs";import"../../__chunks__/chunk-VCAWVAO5.mjs";import"../../__chunks__/chunk-55W25Q35.mjs";import"../../__chunks__/chunk-VPS6ARX6.mjs";import"../../__chunks__/chunk-5ZNSOJRW.mjs";import"../../__chunks__/chunk-XRMMQJV3.mjs";import"../../__chunks__/chunk-WJ7ALCIQ.mjs";import"../../__chunks__/chunk-QQAW7UC2.mjs";import"../../__chunks__/chunk-52PGMMOM.mjs";import"../../__chunks__/chunk-UCNS6KD5.mjs";import"../../__chunks__/chunk-35MNP3LA.mjs";import"../../__chunks__/chunk-TX7PTLVP.mjs";import"../../__chunks__/chunk-WZ2DNB3R.mjs";import"../../__chunks__/chunk-DFSBS3PX.mjs";import"../../__chunks__/chunk-GFR6K4DR.mjs";import"../../__chunks__/chunk-6D53LH5J.mjs";import"../../__chunks__/chunk-H33OUO77.mjs";import"../../__chunks__/chunk-HQQMSHTW.mjs";import"../../__chunks__/chunk-UQU2VWPJ.mjs";import"../../__chunks__/chunk-AGUGUYQS.mjs";import"../../__chunks__/chunk-HMHP5DPL.mjs";import"../../__chunks__/chunk-54B3EIZC.mjs";import"../../__chunks__/chunk-QJ7MRSGB.mjs";import"../../__chunks__/chunk-VDDXFGB2.mjs";import"../../__chunks__/chunk-BRJNX4JF.mjs";import{t as m}from"../../__chunks__/chunk-JIDXMYLT.mjs";import"../../__chunks__/chunk-T4FRQ4JG.mjs";import"../../__chunks__/chunk-UERJ6AKK.mjs";import"../../__chunks__/chunk-KPK72MOE.mjs";import"../../__chunks__/chunk-SAAOQW7P.mjs";import"../../__chunks__/chunk-VNLGNNIL.mjs";import"../../__chunks__/chunk-6JM4DPOH.mjs";import"../../__chunks__/chunk-UTWIKUIK.mjs";import"../../__chunks__/chunk-ZODTYAYF.mjs";import"../../__chunks__/chunk-NLRDRI7Q.mjs";import"../../__chunks__/chunk-DKX6JUT6.mjs";import{a as n}from"../../__chunks__/chunk-XKOP7FDQ.mjs";import"../../__chunks__/chunk-KRWR77QE.mjs";import"../../__chunks__/chunk-B7YCKWDU.mjs";import"../../__chunks__/chunk-HDJOER66.mjs";import"../../__chunks__/chunk-A7FTKX2A.mjs";import"../../__chunks__/chunk-XKU5QBXG.mjs";import"../../__chunks__/chunk-WZGG2YKQ.mjs";import"../../__chunks__/chunk-JMC7CMTU.mjs";import"../../__chunks__/chunk-S2B2ZKIJ.mjs";import"../../__chunks__/chunk-T2YPFNVM.mjs";import"../../__chunks__/chunk-X4XULIVT.mjs";import"../../__chunks__/chunk-5N4F5T5L.mjs";import"../../__chunks__/chunk-CYCS3K6Q.mjs";import"../../__chunks__/chunk-YMPZDHKF.mjs";import"../../__chunks__/chunk-VKEESSBI.mjs";import"../../__chunks__/chunk-2DNGCNYM.mjs";import"../../__chunks__/chunk-SQVKVA7X.mjs";import"../../__chunks__/chunk-I24YBVHK.mjs";import"../../__chunks__/chunk-NB7A4C7L.mjs";import"../../__chunks__/chunk-PJWJZHIS.mjs";import"../../__chunks__/chunk-DBIIY2TX.mjs";import"../../__chunks__/chunk-KD2IQ32V.mjs";import"../../__chunks__/chunk-WHEXX3BD.mjs";import"../../__chunks__/chunk-CDTYHGXZ.mjs";import"../../__chunks__/chunk-2RAULLHL.mjs";import"../../__chunks__/chunk-UK5MEKBE.mjs";import"../../__chunks__/chunk-YUITECZ5.mjs";import"../../__chunks__/chunk-2BSPSW6X.mjs";import"../../__chunks__/chunk-BTJWNUM6.mjs";import"../../__chunks__/chunk-TRMQFQOQ.mjs";import"../../__chunks__/chunk-WZI2I6NX.mjs";import"../../__chunks__/chunk-TVELGQIH.mjs";import"../../__chunks__/chunk-OVXVICF7.mjs";import"../../__chunks__/chunk-TI37DKBT.mjs";import"../../__chunks__/chunk-NTEMINYA.mjs";import"../../__chunks__/chunk-WRLZ5ICK.mjs";import"../../__chunks__/chunk-3FXHIV6O.mjs";import"../../__chunks__/chunk-I3MK6KZJ.mjs";import"../../__chunks__/chunk-76URRONH.mjs";import{a as k}from"../../__chunks__/chunk-HLNCW36T.mjs";import"../../__chunks__/chunk-MGQ373AO.mjs";import"../../__chunks__/chunk-RPTH42EF.mjs";import"../../__chunks__/chunk-3UNGCOKO.mjs";import"../../__chunks__/chunk-ULK34VWM.mjs";import"../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../__chunks__/chunk-CDQ2BNUD.mjs";import"../../__chunks__/chunk-LHEH7L4L.mjs";import"../../__chunks__/chunk-OIJVN33N.mjs";import"../../__chunks__/chunk-EJV4VNJG.mjs";import"../../__chunks__/chunk-UOUYS55Y.mjs";import"../../__chunks__/chunk-FI444OX3.mjs";import"../../__chunks__/chunk-ULUZWP2P.mjs";import"../../__chunks__/chunk-MGFIOCA4.mjs";import"../../__chunks__/chunk-GGBMHKR4.mjs";import"../../__chunks__/chunk-GLXG5BES.mjs";import"../../__chunks__/chunk-PLUWBWJ2.mjs";import"../../__chunks__/chunk-DTQL3IDP.mjs";import"../../__chunks__/chunk-CKTFPRJS.mjs";import"../../__chunks__/chunk-MSYOA2HY.mjs";import"../../__chunks__/chunk-UZV2AYS7.mjs";import"../../__chunks__/chunk-EHDGJUEU.mjs";import"../../__chunks__/chunk-HOCSCRJF.mjs";import{a as s}from"../../__chunks__/chunk-HCKBJTY3.mjs";import"../../__chunks__/chunk-UE3IBKCO.mjs";import"../../__chunks__/chunk-H6IZMTJK.mjs";import"../../__chunks__/chunk-B2UIPHJ3.mjs";var F={storage:{getStorageCallback:n}},S=!1,i=!1;async function rt({storage:b=F.storage,dAppConfig:t,customProviders:N}){if(i)return;i=!0;let C=t?.theme??"mvx:dark-theme";await P(),k(C),m(b.getStorageCallback);let{apiAddress:a}=await d({customNetworkConfig:t.network,environment:t.environment});if(t?.nativeAuth){let r=typeof t.nativeAuth=="boolean"&&t.nativeAuth===!0?o({apiAddress:a}):o(t.nativeAuth);u(r)}t?.providers?.walletConnect&&l(t.providers.walletConnect);let L=w(),e=T();await c.getInstance().init({successfulToastLifetime:t.transactionTracking?.successfulToastLifetime});let A=[...s?.multiversx?.providers??[],...N||[]].filter((r,M,x)=>M===x.findIndex(z=>z.type===r.type));I.customProviders=A||[],S||(await y(),L&&(await g(e.address),v(),f.getInstance().init(),p({onSuccess:t.transactionTracking?.onSuccess,onFail:t.transactionTracking?.onFail}))),e.shard!=null&&await h({shard:Number(e.shard),apiAddress:a}),S=!0,i=!1}export{rt as initApp};
2
2
  //# sourceMappingURL=initApp.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/methods/initApp/initApp.ts"],
4
- "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { defineCustomElements } from 'lib/sdkDappUi';\nimport { ToastManager } from 'managers/internal/ToastManager/ToastManager';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { registerSessionCallbacks } from 'managers/TransactionManager/helpers/sessionCallbacks';\nimport { restoreProvider } from 'providers/helpers/restoreProvider';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport { ICustomProvider } from 'providers/types/providerFactory.types';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { initializeNetwork } from 'store/actions';\nimport {\n setNativeAuthConfig,\n setWalletConnectConfig\n} from 'store/actions/config/configActions';\nimport { defaultStorageCallback } from 'store/storage';\nimport { initStore } from 'store/store';\nimport { ThemesEnum } from 'types';\nimport { switchTheme } from 'utils/visual/switchTheme';\nimport { InitAppType } from './initApp.types';\nimport { getIsLoggedIn } from '../account/getIsLoggedIn';\nimport { registerWebsocketListener } from './websocket/registerWebsocket';\nimport { trackTransactions } from '../trackTransactions/trackTransactions';\nimport { setGasStationMetadata } from './gastStationMetadata/setGasStationMetadata';\nimport { getAccount } from '../account/getAccount';\n\nconst defaultInitAppProps = {\n storage: {\n getStorageCallback: defaultStorageCallback\n }\n};\n\n/**\n * Flag indicating whether the app has already been initialized.\n *\n * Prevents repeated initialization steps such as provider restoration,\n * websocket listener registration, and transaction tracking setup.\n * This ensures that multiple calls to `initApp` do not cause duplicated\n * subscriptions or side effects.\n *\n * @internal\n */\nlet isAppInitialized = false;\n\n/**\n * Initializes the dApp with the given configuration.\n * @param props - The configuration for the dApp initialization.\n *\n * @example\n * ```ts\n initApp({\n nativeAuth: true,\n environment: EnvironmentsEnum.devnet\n });\n * ```\n * */\nexport async function initApp({\n storage = defaultInitAppProps.storage,\n dAppConfig,\n customProviders\n}: InitAppType) {\n const defaultTheme = dAppConfig?.theme ?? ThemesEnum.dark;\n await defineCustomElements();\n\n switchTheme(defaultTheme);\n\n initStore(storage.getStorageCallback);\n\n const { apiAddress } = await initializeNetwork({\n customNetworkConfig: dAppConfig.network,\n environment: dAppConfig.environment\n });\n\n if (dAppConfig?.nativeAuth) {\n const nativeAuthConfig: NativeAuthConfigType =\n typeof dAppConfig.nativeAuth === 'boolean' &&\n dAppConfig.nativeAuth === true\n ? getDefaultNativeAuthConfig({ apiAddress })\n : getDefaultNativeAuthConfig(dAppConfig.nativeAuth);\n\n setNativeAuthConfig(nativeAuthConfig);\n }\n\n if (dAppConfig?.providers?.walletConnect) {\n setWalletConnectConfig(dAppConfig.providers.walletConnect);\n }\n\n const isLoggedIn = getIsLoggedIn();\n const account = getAccount();\n const toastManager = ToastManager.getInstance();\n await toastManager.init({\n successfulToastLifetime:\n dAppConfig.transactionTracking?.successfulToastLifetime\n });\n\n const usedProviders: ICustomProvider[] = [\n ...((safeWindow as any)?.multiversx?.providers ?? []),\n ...(customProviders || [])\n ];\n\n const uniqueProviders = usedProviders.filter(\n (provider, index, arr) =>\n index === arr.findIndex((item) => item.type === provider.type)\n );\n\n ProviderFactory.customProviders = uniqueProviders || [];\n\n if (!isAppInitialized) {\n await restoreProvider();\n\n if (isLoggedIn) {\n await registerWebsocketListener(account.address);\n trackTransactions();\n LogoutManager.getInstance().init();\n registerSessionCallbacks({\n onSuccess: dAppConfig.transactionTracking?.onSuccess,\n onFail: dAppConfig.transactionTracking?.onFail\n });\n }\n }\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n\n isAppInitialized = true;\n}\n"],
5
- "mappings": "y3YA0BA,IAAMA,EAAsB,CAC1B,QAAS,CACP,mBAAoBC,CACtB,CACF,EAYIC,EAAmB,GAcvB,eAAsBC,GAAQ,CAC5B,QAAAC,EAAUJ,EAAoB,QAC9B,WAAAK,EACA,gBAAAC,CACF,EAAgB,CACd,IAAMC,EAAeF,GAAY,wBACjC,MAAMG,EAAqB,EAE3BC,EAAYF,CAAY,EAExBG,EAAUN,EAAQ,kBAAkB,EAEpC,GAAM,CAAE,WAAAO,CAAW,EAAI,MAAMC,EAAkB,CAC7C,oBAAqBP,EAAW,QAChC,YAAaA,EAAW,WAC1B,CAAC,EAED,GAAIA,GAAY,WAAY,CAC1B,IAAMQ,EACJ,OAAOR,EAAW,YAAe,WACjCA,EAAW,aAAe,GACtBS,EAA2B,CAAE,WAAAH,CAAW,CAAC,EACzCG,EAA2BT,EAAW,UAAU,EAEtDU,EAAoBF,CAAgB,CACtC,CAEIR,GAAY,WAAW,eACzBW,EAAuBX,EAAW,UAAU,aAAa,EAG3D,IAAMY,EAAaC,EAAc,EAC3BC,EAAUC,EAAW,EAE3B,MADqBC,EAAa,YAAY,EAC3B,KAAK,CACtB,wBACEhB,EAAW,qBAAqB,uBACpC,CAAC,EAOD,IAAMiB,EALmC,CACvC,GAAKC,GAAoB,YAAY,WAAa,CAAC,EACnD,GAAIjB,GAAmB,CAAC,CAC1B,EAEsC,OACpC,CAACkB,EAAUC,EAAOC,IAChBD,IAAUC,EAAI,UAAWC,GAASA,EAAK,OAASH,EAAS,IAAI,CACjE,EAEAI,EAAgB,gBAAkBN,GAAmB,CAAC,EAEjDpB,IACH,MAAM2B,EAAgB,EAElBZ,IACF,MAAMa,EAA0BX,EAAQ,OAAO,EAC/CY,EAAkB,EAClBC,EAAc,YAAY,EAAE,KAAK,EACjCC,EAAyB,CACvB,UAAW5B,EAAW,qBAAqB,UAC3C,OAAQA,EAAW,qBAAqB,MAC1C,CAAC,IAIDc,EAAQ,OAAS,MACnB,MAAMe,EAAsB,CAC1B,MAAO,OAAOf,EAAQ,KAAK,EAC3B,WAAAR,CACF,CAAC,EAGHT,EAAmB,EACrB",
6
- "names": ["defaultInitAppProps", "defaultStorageCallback", "isAppInitialized", "initApp", "storage", "dAppConfig", "customProviders", "defaultTheme", "defineCustomElements", "switchTheme", "initStore", "apiAddress", "initializeNetwork", "nativeAuthConfig", "getDefaultNativeAuthConfig", "setNativeAuthConfig", "setWalletConnectConfig", "isLoggedIn", "getIsLoggedIn", "account", "getAccount", "ToastManager", "uniqueProviders", "safeWindow", "provider", "index", "arr", "item", "ProviderFactory", "restoreProvider", "registerWebsocketListener", "trackTransactions", "LogoutManager", "registerSessionCallbacks", "setGasStationMetadata"]
4
+ "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { defineCustomElements } from 'lib/sdkDappUi';\nimport { ToastManager } from 'managers/internal/ToastManager/ToastManager';\nimport { LogoutManager } from 'managers/LogoutManager/LogoutManager';\nimport { registerSessionCallbacks } from 'managers/TransactionManager/helpers/sessionCallbacks';\nimport { restoreProvider } from 'providers/helpers/restoreProvider';\nimport { ProviderFactory } from 'providers/ProviderFactory';\nimport { ICustomProvider } from 'providers/types/providerFactory.types';\nimport { getDefaultNativeAuthConfig } from 'services/nativeAuth/methods/getDefaultNativeAuthConfig';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { initializeNetwork } from 'store/actions';\nimport {\n setNativeAuthConfig,\n setWalletConnectConfig\n} from 'store/actions/config/configActions';\nimport { defaultStorageCallback } from 'store/storage';\nimport { initStore } from 'store/store';\nimport { ThemesEnum } from 'types';\nimport { switchTheme } from 'utils/visual/switchTheme';\nimport { InitAppType } from './initApp.types';\nimport { getIsLoggedIn } from '../account/getIsLoggedIn';\nimport { registerWebsocketListener } from './websocket/registerWebsocket';\nimport { trackTransactions } from '../trackTransactions/trackTransactions';\nimport { setGasStationMetadata } from './gastStationMetadata/setGasStationMetadata';\nimport { getAccount } from '../account/getAccount';\n\nconst defaultInitAppProps = {\n storage: {\n getStorageCallback: defaultStorageCallback\n }\n};\n\n/**\n * Flag indicating whether the app has already been initialized.\n *\n * Prevents repeated initialization steps such as provider restoration,\n * websocket listener registration, and transaction tracking setup.\n * This ensures that multiple calls to `initApp` do not cause duplicated\n * subscriptions or side effects.\n *\n * @internal\n */\nlet isAppInitialized = false;\nlet isInitializing = false;\n\n/**\n * Initializes the dApp with the given configuration.\n * @param props - The configuration for the dApp initialization.\n *\n * @example\n * ```ts\n initApp({\n nativeAuth: true,\n environment: EnvironmentsEnum.devnet\n });\n * ```\n * */\nexport async function initApp({\n storage = defaultInitAppProps.storage,\n dAppConfig,\n customProviders\n}: InitAppType) {\n if (isInitializing) {\n return;\n }\n\n isInitializing = true;\n\n const defaultTheme = dAppConfig?.theme ?? ThemesEnum.dark;\n await defineCustomElements();\n\n switchTheme(defaultTheme);\n\n initStore(storage.getStorageCallback);\n\n const { apiAddress } = await initializeNetwork({\n customNetworkConfig: dAppConfig.network,\n environment: dAppConfig.environment\n });\n\n if (dAppConfig?.nativeAuth) {\n const nativeAuthConfig: NativeAuthConfigType =\n typeof dAppConfig.nativeAuth === 'boolean' &&\n dAppConfig.nativeAuth === true\n ? getDefaultNativeAuthConfig({ apiAddress })\n : getDefaultNativeAuthConfig(dAppConfig.nativeAuth);\n\n setNativeAuthConfig(nativeAuthConfig);\n }\n\n if (dAppConfig?.providers?.walletConnect) {\n setWalletConnectConfig(dAppConfig.providers.walletConnect);\n }\n\n const isLoggedIn = getIsLoggedIn();\n const account = getAccount();\n const toastManager = ToastManager.getInstance();\n await toastManager.init({\n successfulToastLifetime:\n dAppConfig.transactionTracking?.successfulToastLifetime\n });\n\n const usedProviders: ICustomProvider[] = [\n ...((safeWindow as any)?.multiversx?.providers ?? []),\n ...(customProviders || [])\n ];\n\n const uniqueProviders = usedProviders.filter(\n (provider, index, arr) =>\n index === arr.findIndex((item) => item.type === provider.type)\n );\n\n ProviderFactory.customProviders = uniqueProviders || [];\n\n if (!isAppInitialized) {\n await restoreProvider();\n\n if (isLoggedIn) {\n await registerWebsocketListener(account.address);\n trackTransactions();\n LogoutManager.getInstance().init();\n registerSessionCallbacks({\n onSuccess: dAppConfig.transactionTracking?.onSuccess,\n onFail: dAppConfig.transactionTracking?.onFail\n });\n }\n }\n\n if (account.shard != null) {\n await setGasStationMetadata({\n shard: Number(account.shard),\n apiAddress\n });\n }\n\n isAppInitialized = true;\n isInitializing = false;\n}\n"],
5
+ "mappings": "83YA0BA,IAAMA,EAAsB,CAC1B,QAAS,CACP,mBAAoBC,CACtB,CACF,EAYIC,EAAmB,GACnBC,EAAiB,GAcrB,eAAsBC,GAAQ,CAC5B,QAAAC,EAAUL,EAAoB,QAC9B,WAAAM,EACA,gBAAAC,CACF,EAAgB,CACd,GAAIJ,EACF,OAGFA,EAAiB,GAEjB,IAAMK,EAAeF,GAAY,wBACjC,MAAMG,EAAqB,EAE3BC,EAAYF,CAAY,EAExBG,EAAUN,EAAQ,kBAAkB,EAEpC,GAAM,CAAE,WAAAO,CAAW,EAAI,MAAMC,EAAkB,CAC7C,oBAAqBP,EAAW,QAChC,YAAaA,EAAW,WAC1B,CAAC,EAED,GAAIA,GAAY,WAAY,CAC1B,IAAMQ,EACJ,OAAOR,EAAW,YAAe,WACjCA,EAAW,aAAe,GACtBS,EAA2B,CAAE,WAAAH,CAAW,CAAC,EACzCG,EAA2BT,EAAW,UAAU,EAEtDU,EAAoBF,CAAgB,CACtC,CAEIR,GAAY,WAAW,eACzBW,EAAuBX,EAAW,UAAU,aAAa,EAG3D,IAAMY,EAAaC,EAAc,EAC3BC,EAAUC,EAAW,EAE3B,MADqBC,EAAa,YAAY,EAC3B,KAAK,CACtB,wBACEhB,EAAW,qBAAqB,uBACpC,CAAC,EAOD,IAAMiB,EALmC,CACvC,GAAKC,GAAoB,YAAY,WAAa,CAAC,EACnD,GAAIjB,GAAmB,CAAC,CAC1B,EAEsC,OACpC,CAACkB,EAAUC,EAAOC,IAChBD,IAAUC,EAAI,UAAWC,GAASA,EAAK,OAASH,EAAS,IAAI,CACjE,EAEAI,EAAgB,gBAAkBN,GAAmB,CAAC,EAEjDrB,IACH,MAAM4B,EAAgB,EAElBZ,IACF,MAAMa,EAA0BX,EAAQ,OAAO,EAC/CY,EAAkB,EAClBC,EAAc,YAAY,EAAE,KAAK,EACjCC,EAAyB,CACvB,UAAW5B,EAAW,qBAAqB,UAC3C,OAAQA,EAAW,qBAAqB,MAC1C,CAAC,IAIDc,EAAQ,OAAS,MACnB,MAAMe,EAAsB,CAC1B,MAAO,OAAOf,EAAQ,KAAK,EAC3B,WAAAR,CACF,CAAC,EAGHV,EAAmB,GACnBC,EAAiB,EACnB",
6
+ "names": ["defaultInitAppProps", "defaultStorageCallback", "isAppInitialized", "isInitializing", "initApp", "storage", "dAppConfig", "customProviders", "defaultTheme", "defineCustomElements", "switchTheme", "initStore", "apiAddress", "initializeNetwork", "nativeAuthConfig", "getDefaultNativeAuthConfig", "setNativeAuthConfig", "setWalletConnectConfig", "isLoggedIn", "getIsLoggedIn", "account", "getAccount", "ToastManager", "uniqueProviders", "safeWindow", "provider", "index", "arr", "item", "ProviderFactory", "restoreProvider", "registerWebsocketListener", "trackTransactions", "LogoutManager", "registerSessionCallbacks", "setGasStationMetadata"]
7
7
  }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var initApp_types_exports = {};
16
+ module.exports = __toCommonJS(initApp_types_exports);
17
+ //# sourceMappingURL=initApp.types.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/methods/initApp/initApp.types.ts"],
4
+ "sourcesContent": ["import { WalletConnectConfig } from 'providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types';\nimport { ICustomProvider } from 'providers/types/providerFactory.types';\nimport { NativeAuthConfigType } from 'services/nativeAuth/nativeAuth.types';\nimport { StorageCallback } from 'store/storage';\nimport { EnvironmentsEnum } from 'types/enums.types';\nimport { CustomNetworkType } from 'types/network.types';\nimport { ThemesEnum } from 'types/theme.types';\n\ntype BaseDappConfigType = {\n /**\n * The native auth configuration for the dApp.\n * If set to `true`, will fallback on default configuration.\n * If set to `false`, will disable native auth.\n * If set to `NativeAuthConfigType`, will set the native auth configuration.\n */\n nativeAuth?: boolean | NativeAuthConfigType;\n /**\n * Customize exising providers\n */\n providers?: {\n walletConnect?: WalletConnectConfig;\n };\n /**\n * Customize the dApp theme.\n * @example\n * ```ts\n * import { ThemesEnum } from '@multiversx/sdk-dapp/out/types/theme.types';\n *\n * theme: ThemesEnum.dark\n * ```\n */\n theme?: `${ThemesEnum}`;\n};\n\nexport type TransactionTrackingConfigType = {\n successfulToastLifetime?: number;\n /**\n * The callback to run when the transaction session is successful.\n */\n onSuccess?: (sessionId: string) => Promise<void>;\n /**\n * The callback to run when the transaction session fails.\n */\n onFail?: (sessionId: string) => Promise<void>;\n};\n\nexport type EnvironmentDappConfigType = BaseDappConfigType & {\n /**\n * If passed in, will automatically initialize the network with the given environment and skip fetching `/dapp/config` data from server.\n */\n environment: EnvironmentsEnum;\n network?: CustomNetworkType;\n transactionTracking?: TransactionTrackingConfigType;\n};\n\nexport type CustomNetworkDappConfigType = BaseDappConfigType & {\n /**\n * Can override the network configuration, e.g. for sovereign shards.\n * Must include `apiAddress` if provided.\n */\n network: CustomNetworkType & { apiAddress: string };\n environment?: never;\n transactionTracking?: TransactionTrackingConfigType;\n};\n\nexport type DappConfigType =\n | EnvironmentDappConfigType\n | CustomNetworkDappConfigType;\n\nexport type InitAppType = {\n /**\n * The storage configuration for the dApp.\n * @example\n * ```ts\n * {\n * getStorageCallback: () => window.localStorage\n * }\n * ```\n */\n storage?: {\n /**\n * The callback to get the storage (custom storage).\n */\n getStorageCallback: StorageCallback;\n };\n /**\n * The dApp configuration.\n * @example\n * ```ts\n * {\n nativeAuth: true,\n environment: EnvironmentsEnum.devnet,\n theme: ThemesEnum.light,\n network: {\n walletAddress: 'https://wallet.multiversx.com'\n // ...other network properties to override\n },\n providers: {\n walletConnect: {\n walletConnectV2ProjectId\n }\n },\n transactionTracking: {\n successfulToastLifetime: DEFAULT_TOAST_LIEFTIME,\n onSuccess: async (sessionId) => {\n console.log('Transactions execution successful', sessionId);\n },\n onFail: async (sessionId) => {\n console.log('Transactions execution failed', sessionId);\n }\n }\n }\n * ```\n */\n dAppConfig: DappConfigType;\n /**\n * If you want to extend the default providers, you can pass in a list of custom providers.\n * @example\n * ```ts\n * [{\n name: 'Custom Provider',\n type: 'custom',\n iconUrl: `${window.location.origin}/multiversx-white.svg`,\n constructor: async (options) => new CustomProvider(options)\n * }]\n * ```\n */\n customProviders?: ICustomProvider[];\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }