@multiversx/sdk-dapp 5.2.8 → 5.3.0-alpha.1

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 (1253) hide show
  1. package/out/__chunks__/chunk-25G6565D.mjs +2 -0
  2. package/out/__chunks__/{chunk-KHK7HHMR.mjs → chunk-2UPWFRCA.mjs} +2 -2
  3. package/out/__chunks__/{chunk-W42RP7KL.mjs → chunk-2WAT3RZ3.mjs} +2 -2
  4. package/out/__chunks__/{chunk-H3U7BN2F.mjs → chunk-2ZW4LVVR.mjs} +2 -2
  5. package/out/__chunks__/{chunk-GDTOANYH.mjs → chunk-32DICVUK.mjs} +2 -2
  6. package/out/__chunks__/{chunk-3IMTI6JQ.mjs → chunk-4ZAZCOJD.mjs} +2 -2
  7. package/out/__chunks__/{chunk-U6N242A3.mjs → chunk-5DUIQBPR.mjs} +2 -2
  8. package/out/__chunks__/chunk-5F53ZQDO.mjs +2 -0
  9. package/out/__chunks__/{chunk-M44UOZ5O.mjs → chunk-5KY3OIFD.mjs} +2 -2
  10. package/out/__chunks__/chunk-5VQOOZQV.mjs +2 -0
  11. package/out/__chunks__/{chunk-KKC3NMW2.mjs → chunk-5WR632LR.mjs} +2 -2
  12. package/out/__chunks__/{chunk-YVAL3LZF.mjs → chunk-643FDBLR.mjs} +2 -2
  13. package/out/__chunks__/chunk-6C26F7JZ.mjs +2 -0
  14. package/out/__chunks__/chunk-6FRXGPOE.mjs +2 -0
  15. package/out/__chunks__/{chunk-3H5GYTLV.mjs → chunk-6VPMVY56.mjs} +2 -2
  16. package/out/__chunks__/chunk-73E7X7HK.mjs +2 -0
  17. package/out/__chunks__/chunk-7BZQYV6D.mjs +2 -0
  18. package/out/__chunks__/{chunk-HZRV27MM.mjs → chunk-7UUDW64Y.mjs} +2 -2
  19. package/out/__chunks__/{chunk-UJIIYWYI.mjs → chunk-A63UAQRB.mjs} +2 -2
  20. package/out/__chunks__/{chunk-NWV2L5R7.mjs → chunk-AGBY3WIQ.mjs} +2 -2
  21. package/out/__chunks__/{chunk-LAH3RNPH.mjs → chunk-ALBBGYHS.mjs} +2 -2
  22. package/out/__chunks__/{chunk-AOYKAITD.mjs → chunk-ALT4OKHK.mjs} +2 -2
  23. package/out/__chunks__/{chunk-NRBAAXUJ.mjs → chunk-AN4TQZVZ.mjs} +2 -2
  24. package/out/__chunks__/{chunk-BMJVOKCD.mjs → chunk-AVEMKF6Z.mjs} +2 -2
  25. package/out/__chunks__/{chunk-X5F7OCHT.mjs → chunk-B5YOJH7H.mjs} +2 -2
  26. package/out/__chunks__/{chunk-7NW5R435.mjs → chunk-BC5MT6WS.mjs} +2 -2
  27. package/out/__chunks__/chunk-BEXC6NB5.mjs +2 -0
  28. package/out/__chunks__/{chunk-6BQWDKWC.mjs.map → chunk-BEXC6NB5.mjs.map} +2 -2
  29. package/out/__chunks__/chunk-E5OMXZT7.mjs +2 -0
  30. package/out/__chunks__/{chunk-LCHJKRM5.mjs → chunk-ELCWJYQ7.mjs} +2 -2
  31. package/out/__chunks__/{chunk-753KDZIR.mjs → chunk-ET6MYYOM.mjs} +2 -2
  32. package/out/__chunks__/{chunk-FUOM6J37.mjs → chunk-ETH6P454.mjs} +2 -2
  33. package/out/__chunks__/{chunk-23KF5JXN.mjs → chunk-FFGJMR4Q.mjs} +2 -2
  34. package/out/__chunks__/chunk-G43Z243B.mjs +2 -0
  35. package/out/__chunks__/{chunk-6XHXG7HB.mjs.map → chunk-G43Z243B.mjs.map} +1 -1
  36. package/out/__chunks__/{chunk-NKAJB5TQ.mjs → chunk-GDMANS7S.mjs} +2 -2
  37. package/out/__chunks__/{chunk-4D3ZQTRN.mjs → chunk-GJ64B4SS.mjs} +2 -2
  38. package/out/__chunks__/{chunk-ASPVUU7R.mjs → chunk-GPUXJWA3.mjs} +2 -2
  39. package/out/__chunks__/{chunk-5PNQWHBP.mjs → chunk-GWXW3E7L.mjs} +2 -2
  40. package/out/__chunks__/{chunk-RVYA3BJD.mjs → chunk-H7YY4BCM.mjs} +2 -2
  41. package/out/__chunks__/{chunk-BZRPJAII.mjs → chunk-HBZ2RP7A.mjs} +2 -2
  42. package/out/__chunks__/chunk-HKVAAOC4.mjs +2 -0
  43. package/out/__chunks__/{chunk-Z3ZWRORQ.mjs → chunk-I2CW2O7M.mjs} +2 -2
  44. package/out/__chunks__/chunk-ILR4U7Q3.mjs +2 -0
  45. package/out/__chunks__/{chunk-7LP6TRTV.mjs → chunk-IXO75QXR.mjs} +2 -2
  46. package/out/__chunks__/{chunk-OHFXF2B5.mjs → chunk-J6MUGECP.mjs} +2 -2
  47. package/out/__chunks__/chunk-JFIQXGJ5.mjs +2 -0
  48. package/out/__chunks__/{chunk-YIZAB63A.mjs → chunk-JHYKMKMK.mjs} +2 -2
  49. package/out/__chunks__/{chunk-5SUCN4KU.mjs → chunk-JKFZERMM.mjs} +2 -2
  50. package/out/__chunks__/chunk-JM3JEGRV.mjs +2 -0
  51. package/out/__chunks__/chunk-JOPPHD4R.mjs +2 -0
  52. package/out/__chunks__/{chunk-DBMG6HQS.mjs → chunk-KTQD4DTE.mjs} +2 -2
  53. package/out/__chunks__/{chunk-QWU5MHP3.mjs → chunk-KZUPCFEG.mjs} +2 -2
  54. package/out/__chunks__/{chunk-GKZ2BSWS.mjs → chunk-MNIS55JL.mjs} +2 -2
  55. package/out/__chunks__/{chunk-DPWDWN6V.mjs → chunk-NO4FZ4M3.mjs} +2 -2
  56. package/out/__chunks__/{chunk-AXYA7YGQ.mjs → chunk-O462QL7Q.mjs} +2 -2
  57. package/out/__chunks__/{chunk-EJ3EBFAG.mjs → chunk-OI2AXS22.mjs} +2 -2
  58. package/out/__chunks__/{chunk-K23LCX54.mjs → chunk-PCGP4VVW.mjs} +2 -2
  59. package/out/__chunks__/{chunk-7PIS2F7G.mjs → chunk-PUCCTEN7.mjs} +2 -2
  60. package/out/__chunks__/{chunk-UL35YJX4.mjs → chunk-QJ6YLLBK.mjs} +2 -2
  61. package/out/__chunks__/{chunk-H6LOCVAD.mjs → chunk-QMFEYMZI.mjs} +2 -2
  62. package/out/__chunks__/chunk-QZDVKNF4.mjs +2 -0
  63. package/out/__chunks__/{chunk-HZCXNBGJ.mjs → chunk-RXE5QIE3.mjs} +2 -2
  64. package/out/__chunks__/chunk-SJLTVGKD.mjs +2 -0
  65. package/out/__chunks__/{chunk-3EVBWJRB.mjs → chunk-SLG55PDO.mjs} +2 -2
  66. package/out/__chunks__/{chunk-IGDWL5FF.mjs → chunk-T3RXRYP5.mjs} +2 -2
  67. package/out/__chunks__/{chunk-KAYZVBV4.mjs → chunk-TKIYJDS2.mjs} +2 -2
  68. package/out/__chunks__/chunk-TT7J5V3M.mjs +2 -0
  69. package/out/__chunks__/{chunk-DK6T6BEY.mjs.map → chunk-TT7J5V3M.mjs.map} +3 -3
  70. package/out/__chunks__/{chunk-EMSDNE45.mjs → chunk-UF2Y4P6U.mjs} +2 -2
  71. package/out/__chunks__/{chunk-NPF6FJT3.mjs → chunk-UUPS4KLW.mjs} +2 -2
  72. package/out/__chunks__/{chunk-EJHFAT42.mjs → chunk-UXBKGTA5.mjs} +2 -2
  73. package/out/__chunks__/{chunk-35AC7JEX.mjs → chunk-V322LMVG.mjs} +2 -2
  74. package/out/__chunks__/{chunk-W2TBID4H.mjs → chunk-V3GRSQIB.mjs} +2 -2
  75. package/out/__chunks__/{chunk-D4SYE2AU.mjs → chunk-VDAYN2HT.mjs} +2 -2
  76. package/out/__chunks__/{chunk-MBYIULNF.mjs → chunk-VY62CH5W.mjs} +2 -2
  77. package/out/__chunks__/chunk-WJJTA23D.mjs +2 -0
  78. package/out/__chunks__/{chunk-UKBPRQL6.mjs → chunk-X3AX4PFE.mjs} +2 -2
  79. package/out/__chunks__/{chunk-FMNY4EIM.mjs → chunk-YYVGE2ZU.mjs} +2 -2
  80. package/out/__chunks__/{chunk-EH3INPBE.mjs → chunk-ZAY5O7DE.mjs} +2 -2
  81. package/out/__chunks__/{chunk-YIEM5DGL.mjs → chunk-ZG6EULI2.mjs} +2 -2
  82. package/out/__chunks__/{chunk-YLJC7ZKD.mjs → chunk-ZJM5FGLA.mjs} +2 -2
  83. package/out/__chunks__/{chunk-EDVSRPEU.mjs → chunk-ZM77AGP5.mjs} +2 -2
  84. package/out/apiCalls/account/getAccountFromApi.cjs +59 -1
  85. package/out/apiCalls/account/getAccountFromApi.cjs.map +2 -2
  86. package/out/apiCalls/account/getScamAddressData.cjs +51 -1
  87. package/out/apiCalls/account/getScamAddressData.cjs.map +2 -2
  88. package/out/apiCalls/account/getScamAddressData.mjs +1 -1
  89. package/out/apiCalls/account/index.cjs +22 -1
  90. package/out/apiCalls/account/index.cjs.map +2 -2
  91. package/out/apiCalls/configuration/getCleanApiAddress.cjs +34 -1
  92. package/out/apiCalls/configuration/getCleanApiAddress.cjs.map +2 -2
  93. package/out/apiCalls/configuration/getCleanApiAddress.mjs +1 -1
  94. package/out/apiCalls/configuration/getGasStationMetadata.cjs +64 -1
  95. package/out/apiCalls/configuration/getGasStationMetadata.cjs.map +2 -2
  96. package/out/apiCalls/configuration/getGasStationMetadata.mjs +1 -1
  97. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs +61 -1
  98. package/out/apiCalls/configuration/getNetworkConfigFromApi.cjs.map +2 -2
  99. package/out/apiCalls/configuration/getServerConfiguration.cjs +65 -1
  100. package/out/apiCalls/configuration/getServerConfiguration.cjs.map +2 -2
  101. package/out/apiCalls/configuration/index.cjs +24 -1
  102. package/out/apiCalls/configuration/index.cjs.map +2 -2
  103. package/out/apiCalls/economics/getEconomics.cjs +54 -1
  104. package/out/apiCalls/economics/getEconomics.cjs.map +2 -2
  105. package/out/apiCalls/endpoints.cjs +100 -1
  106. package/out/apiCalls/endpoints.cjs.map +2 -2
  107. package/out/apiCalls/index.cjs +32 -1
  108. package/out/apiCalls/index.cjs.map +2 -2
  109. package/out/apiCalls/index.mjs +1 -1
  110. package/out/apiCalls/tokens/getPersistedToken.cjs +42 -1
  111. package/out/apiCalls/tokens/getPersistedToken.cjs.map +2 -2
  112. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs +72 -1
  113. package/out/apiCalls/tokens/getPersistedTokenDetails.cjs.map +2 -2
  114. package/out/apiCalls/tokens/getPersistedTokenDetails.mjs +1 -1
  115. package/out/apiCalls/tokens/getTokenDetails.cjs +74 -1
  116. package/out/apiCalls/tokens/getTokenDetails.cjs.map +2 -2
  117. package/out/apiCalls/tokens/getTokenDetails.mjs +1 -1
  118. package/out/apiCalls/tokens/index.cjs +22 -1
  119. package/out/apiCalls/tokens/index.cjs.map +2 -2
  120. package/out/apiCalls/tokens/index.mjs +1 -1
  121. package/out/apiCalls/tokens/tokenDataStorage.cjs +58 -1
  122. package/out/apiCalls/tokens/tokenDataStorage.cjs.map +2 -2
  123. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs +55 -1
  124. package/out/apiCalls/transactions/getServerTransactionsByHashes.cjs.map +2 -2
  125. package/out/apiCalls/transactions/getServerTransactionsByHashes.mjs +1 -1
  126. package/out/apiCalls/transactions/getTransactionByHash.cjs +51 -1
  127. package/out/apiCalls/transactions/getTransactionByHash.cjs.map +2 -2
  128. package/out/apiCalls/transactions/getTransactionByHash.mjs +1 -1
  129. package/out/apiCalls/transactions/getTransactions.cjs +76 -1
  130. package/out/apiCalls/transactions/getTransactions.cjs.map +2 -2
  131. package/out/apiCalls/transactions/getTransactionsByHashes.cjs +47 -1
  132. package/out/apiCalls/transactions/getTransactionsByHashes.cjs.map +2 -2
  133. package/out/apiCalls/transactions/getTransactionsByHashes.mjs +1 -1
  134. package/out/apiCalls/utils/axiosFetcher.cjs +29 -1
  135. package/out/apiCalls/utils/axiosFetcher.cjs.map +2 -2
  136. package/out/apiCalls/utils/axiosInstance.cjs +105 -1
  137. package/out/apiCalls/utils/axiosInstance.cjs.map +2 -2
  138. package/out/apiCalls/utils/getCleanApiAddress.cjs +30 -1
  139. package/out/apiCalls/utils/getCleanApiAddress.cjs.map +2 -2
  140. package/out/apiCalls/utils/index.cjs +26 -1
  141. package/out/apiCalls/utils/index.cjs.map +2 -2
  142. package/out/apiCalls/websocket/getWebsocketUrl.cjs +49 -1
  143. package/out/apiCalls/websocket/getWebsocketUrl.cjs.map +2 -2
  144. package/out/apiCalls/websocket/index.cjs +22 -1
  145. package/out/apiCalls/websocket/index.cjs.map +2 -2
  146. package/out/constants/UITags.enum.cjs +37 -1
  147. package/out/constants/UITags.enum.cjs.map +2 -2
  148. package/out/constants/browser.constants.cjs +34 -1
  149. package/out/constants/browser.constants.cjs.map +2 -2
  150. package/out/constants/browser.constants.mjs +1 -1
  151. package/out/constants/index.cjs +40 -1
  152. package/out/constants/index.cjs.map +2 -2
  153. package/out/constants/index.mjs +1 -1
  154. package/out/constants/ledger.constants.cjs +131 -1
  155. package/out/constants/ledger.constants.cjs.map +2 -2
  156. package/out/constants/mvx.constants.cjs +58 -1
  157. package/out/constants/mvx.constants.cjs.map +2 -2
  158. package/out/constants/network.constants.cjs +113 -1
  159. package/out/constants/network.constants.cjs.map +2 -2
  160. package/out/constants/placeholders.constants.cjs +34 -1
  161. package/out/constants/placeholders.constants.cjs.map +2 -2
  162. package/out/constants/providerFactory.constants.cjs +41 -1
  163. package/out/constants/providerFactory.constants.cjs.map +2 -2
  164. package/out/constants/storage.constants.cjs +43 -1
  165. package/out/constants/storage.constants.cjs.map +2 -2
  166. package/out/constants/storage.constants.mjs +1 -1
  167. package/out/constants/transactions.constants.cjs +64 -1
  168. package/out/constants/transactions.constants.cjs.map +2 -2
  169. package/out/constants/walletConnect.constants.cjs +32 -1
  170. package/out/constants/walletConnect.constants.cjs.map +2 -2
  171. package/out/constants/webWalletProvider.constants.cjs +46 -1
  172. package/out/constants/webWalletProvider.constants.cjs.map +2 -2
  173. package/out/constants/websocket.constants.cjs +39 -1
  174. package/out/constants/websocket.constants.cjs.map +2 -2
  175. package/out/constants/window.constants.cjs +31 -1
  176. package/out/constants/window.constants.cjs.map +3 -3
  177. package/out/constants/window.constants.mjs +1 -1
  178. package/out/controllers/FormatAmountController/FormatAmountController.cjs +57 -1
  179. package/out/controllers/FormatAmountController/FormatAmountController.cjs.map +2 -2
  180. package/out/controllers/FormatAmountController/index.cjs +22 -1
  181. package/out/controllers/FormatAmountController/index.cjs.map +2 -2
  182. package/out/controllers/FormatAmountController/types.cjs +16 -1
  183. package/out/controllers/FormatAmountController/types.cjs.map +2 -2
  184. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs +34 -1
  185. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.cjs.map +2 -2
  186. package/out/controllers/TransactionsHistoryController/TransactionsHistoryController.mjs +1 -1
  187. package/out/controllers/TransactionsHistoryController/index.cjs +22 -1
  188. package/out/controllers/TransactionsHistoryController/index.cjs.map +2 -2
  189. package/out/controllers/TransactionsHistoryController/index.mjs +1 -1
  190. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs +133 -1
  191. package/out/controllers/TransactionsTableController/TransactionsTableController.cjs.map +2 -2
  192. package/out/controllers/TransactionsTableController/TransactionsTableController.mjs +1 -1
  193. package/out/controllers/TransactionsTableController/index.cjs +22 -1
  194. package/out/controllers/TransactionsTableController/index.cjs.map +2 -2
  195. package/out/controllers/TransactionsTableController/index.mjs +1 -1
  196. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs +16 -1
  197. package/out/controllers/TransactionsTableController/transactionsTableController.types.cjs.map +2 -2
  198. package/out/controllers/index.cjs +22 -1
  199. package/out/controllers/index.cjs.map +2 -2
  200. package/out/index.cjs +32 -1
  201. package/out/index.cjs.map +2 -2
  202. package/out/index.mjs +1 -1
  203. package/out/lib/sdkCore.cjs +46 -1
  204. package/out/lib/sdkCore.cjs.map +2 -2
  205. package/out/lib/sdkDappUi.cjs +53 -1
  206. package/out/lib/sdkDappUi.cjs.map +2 -2
  207. package/out/lib/sdkDappUi.mjs +1 -1
  208. package/out/lib/sdkDappUtils.cjs +44 -1
  209. package/out/lib/sdkDappUtils.cjs.map +2 -2
  210. package/out/lib/sdkWebWalletCrossWindowProvider.cjs +33 -1
  211. package/out/lib/sdkWebWalletCrossWindowProvider.cjs.map +2 -2
  212. package/out/lib/sdkWebWalletIframeProvider.cjs +28 -1
  213. package/out/lib/sdkWebWalletIframeProvider.cjs.map +2 -2
  214. package/out/lib/sdkWebviewProvider.cjs +28 -1
  215. package/out/lib/sdkWebviewProvider.cjs.map +2 -2
  216. package/out/managers/LogoutManager/LogoutManager.cjs +167 -1
  217. package/out/managers/LogoutManager/LogoutManager.cjs.map +2 -2
  218. package/out/managers/LogoutManager/LogoutManager.mjs +1 -1
  219. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs +56 -1
  220. package/out/managers/LogoutManager/helpers/getHumanReadableTokenExpirationTime.cjs.map +2 -2
  221. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs +139 -1
  222. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.cjs.map +2 -2
  223. package/out/managers/NotificationsFeedManager/NotificationsFeedManager.mjs +1 -1
  224. package/out/managers/NotificationsFeedManager/index.cjs +24 -1
  225. package/out/managers/NotificationsFeedManager/index.cjs.map +2 -2
  226. package/out/managers/NotificationsFeedManager/index.mjs +1 -1
  227. package/out/managers/NotificationsFeedManager/types/index.cjs +22 -1
  228. package/out/managers/NotificationsFeedManager/types/index.cjs.map +2 -2
  229. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs +35 -1
  230. package/out/managers/NotificationsFeedManager/types/notifications.types.cjs.map +2 -2
  231. package/out/managers/ToastManager/ToastManager.cjs +203 -1
  232. package/out/managers/ToastManager/ToastManager.cjs.map +2 -2
  233. package/out/managers/ToastManager/ToastManager.mjs +1 -1
  234. package/out/managers/ToastManager/ToastUICoordinator.cjs +125 -1
  235. package/out/managers/ToastManager/ToastUICoordinator.cjs.map +2 -2
  236. package/out/managers/ToastManager/ToastUICoordinator.mjs +1 -1
  237. package/out/managers/ToastManager/helpers/LifetimeManager.cjs +71 -1
  238. package/out/managers/ToastManager/helpers/LifetimeManager.cjs.map +2 -2
  239. package/out/managers/ToastManager/helpers/LifetimeManager.mjs +1 -1
  240. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs +88 -1
  241. package/out/managers/ToastManager/helpers/createToastsFromTransactions.cjs.map +2 -2
  242. package/out/managers/ToastManager/helpers/createToastsFromTransactions.mjs +1 -1
  243. package/out/managers/ToastManager/helpers/createTransactionToast.cjs +66 -1
  244. package/out/managers/ToastManager/helpers/createTransactionToast.cjs.map +2 -2
  245. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs +104 -1
  246. package/out/managers/ToastManager/helpers/getToastDataStateByStatus.cjs.map +2 -2
  247. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs +40 -1
  248. package/out/managers/ToastManager/helpers/getToastTransactionsStatus.cjs.map +2 -2
  249. package/out/managers/ToastManager/index.cjs +22 -1
  250. package/out/managers/ToastManager/index.cjs.map +2 -2
  251. package/out/managers/ToastManager/index.mjs +1 -1
  252. package/out/managers/ToastManager/types/index.cjs +22 -1
  253. package/out/managers/ToastManager/types/index.cjs.map +2 -2
  254. package/out/managers/ToastManager/types/toast.types.cjs +47 -1
  255. package/out/managers/ToastManager/types/toast.types.cjs.map +2 -2
  256. package/out/managers/TransactionManager/TransactionManager.cjs +229 -1
  257. package/out/managers/TransactionManager/TransactionManager.cjs.map +2 -2
  258. package/out/managers/TransactionManager/TransactionManager.mjs +1 -1
  259. package/out/managers/TransactionManager/TransactionManager.types.cjs +16 -1
  260. package/out/managers/TransactionManager/TransactionManager.types.cjs.map +2 -2
  261. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs +50 -1
  262. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.cjs.map +2 -2
  263. package/out/managers/TransactionManager/helpers/getAreTransactionsCorssShards.mjs +1 -1
  264. package/out/managers/TransactionManager/helpers/getToastDuration.cjs +52 -1
  265. package/out/managers/TransactionManager/helpers/getToastDuration.cjs.map +2 -2
  266. package/out/managers/TransactionManager/helpers/getToastDuration.mjs +1 -1
  267. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs +53 -1
  268. package/out/managers/TransactionManager/helpers/getTransactionsStatus.cjs.map +2 -2
  269. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs +30 -1
  270. package/out/managers/TransactionManager/helpers/isBatchTransaction.cjs.map +2 -2
  271. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs +47 -1
  272. package/out/managers/TransactionManager/helpers/isCrossShardTransaction.cjs.map +2 -2
  273. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs +54 -1
  274. package/out/managers/TransactionManager/helpers/sessionCallbacks.cjs.map +2 -2
  275. package/out/managers/TransactionManager/index.cjs +22 -1
  276. package/out/managers/TransactionManager/index.cjs.map +2 -2
  277. package/out/managers/TransactionManager/index.mjs +1 -1
  278. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs +165 -1
  279. package/out/managers/UnlockPanelManager/UnlockPanelManager.cjs.map +2 -2
  280. package/out/managers/UnlockPanelManager/UnlockPanelManager.mjs +1 -1
  281. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs +36 -1
  282. package/out/managers/UnlockPanelManager/UnlockPanelManager.types.cjs.map +2 -2
  283. package/out/managers/UnlockPanelManager/index.cjs +22 -1
  284. package/out/managers/UnlockPanelManager/index.cjs.map +2 -2
  285. package/out/managers/UnlockPanelManager/index.mjs +1 -1
  286. package/out/managers/index.cjs +24 -1
  287. package/out/managers/index.cjs.map +2 -2
  288. package/out/managers/index.mjs +1 -1
  289. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs +214 -1
  290. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.cjs.map +2 -2
  291. package/out/managers/internal/LedgerConnectStateManager/LedgerConnectStateManager.mjs +1 -1
  292. package/out/managers/internal/LedgerConnectStateManager/index.cjs +24 -1
  293. package/out/managers/internal/LedgerConnectStateManager/index.cjs.map +2 -2
  294. package/out/managers/internal/LedgerConnectStateManager/index.mjs +1 -1
  295. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs +22 -1
  296. package/out/managers/internal/LedgerConnectStateManager/types/index.cjs.map +2 -2
  297. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs +36 -1
  298. package/out/managers/internal/LedgerConnectStateManager/types/ledgerConnectEvents.enum.cjs.map +2 -2
  299. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs +124 -1
  300. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.cjs.map +2 -2
  301. package/out/managers/internal/LedgerIdleStateManager/LedgerIdleStateManager.mjs +1 -1
  302. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs +58 -1
  303. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.cjs.map +2 -2
  304. package/out/managers/internal/PendingTransactionsStateManager/PendingTransactionsStateManager.mjs +1 -1
  305. package/out/managers/internal/PendingTransactionsStateManager/index.cjs +24 -1
  306. package/out/managers/internal/PendingTransactionsStateManager/index.cjs.map +2 -2
  307. package/out/managers/internal/PendingTransactionsStateManager/index.mjs +1 -1
  308. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs +22 -1
  309. package/out/managers/internal/PendingTransactionsStateManager/types/index.cjs.map +2 -2
  310. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs +32 -1
  311. package/out/managers/internal/PendingTransactionsStateManager/types/pendingTransactions.types.cjs.map +2 -2
  312. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs +67 -1
  313. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.cjs.map +2 -2
  314. package/out/managers/internal/SidePanelBaseManager/SidePanelBaseManager.mjs +1 -1
  315. package/out/managers/internal/SidePanelBaseManager/index.cjs +22 -1
  316. package/out/managers/internal/SidePanelBaseManager/index.cjs.map +2 -2
  317. package/out/managers/internal/SidePanelBaseManager/index.mjs +1 -1
  318. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs +138 -1
  319. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.cjs.map +2 -2
  320. package/out/managers/internal/SignTransactionsStateManager/SignTransactionsStateManager.mjs +1 -1
  321. package/out/managers/internal/SignTransactionsStateManager/index.cjs +22 -1
  322. package/out/managers/internal/SignTransactionsStateManager/index.cjs.map +2 -2
  323. package/out/managers/internal/SignTransactionsStateManager/index.mjs +1 -1
  324. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs +22 -1
  325. package/out/managers/internal/SignTransactionsStateManager/types/index.cjs.map +2 -2
  326. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs +36 -1
  327. package/out/managers/internal/SignTransactionsStateManager/types/signTransactionsPanel.types.cjs.map +2 -2
  328. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs +102 -1
  329. package/out/managers/internal/UIBaseManager/UIBaseManager.cjs.map +2 -2
  330. package/out/managers/internal/UIBaseManager/UIBaseManager.mjs +1 -1
  331. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs +78 -1
  332. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.cjs.map +2 -2
  333. package/out/managers/internal/WalletConnectStateManager/WalletConnectStateManager.mjs +1 -1
  334. package/out/managers/internal/WalletConnectStateManager/index.cjs +22 -1
  335. package/out/managers/internal/WalletConnectStateManager/index.cjs.map +2 -2
  336. package/out/managers/internal/WalletConnectStateManager/index.mjs +1 -1
  337. package/out/managers/internal/index.cjs +34 -1
  338. package/out/managers/internal/index.cjs.map +2 -2
  339. package/out/managers/internal/index.mjs +1 -1
  340. package/out/methods/account/getAccount.cjs +32 -1
  341. package/out/methods/account/getAccount.cjs.map +2 -2
  342. package/out/methods/account/getAccount.mjs +1 -1
  343. package/out/methods/account/getAccountInfo.cjs +32 -1
  344. package/out/methods/account/getAccountInfo.cjs.map +2 -2
  345. package/out/methods/account/getAccountInfo.mjs +1 -1
  346. package/out/methods/account/getAddress.cjs +32 -1
  347. package/out/methods/account/getAddress.cjs.map +2 -2
  348. package/out/methods/account/getAddress.mjs +1 -1
  349. package/out/methods/account/getIsLoggedIn.cjs +32 -1
  350. package/out/methods/account/getIsLoggedIn.cjs.map +2 -2
  351. package/out/methods/account/getIsLoggedIn.mjs +1 -1
  352. package/out/methods/account/getLatestNonce.cjs +55 -1
  353. package/out/methods/account/getLatestNonce.cjs.map +2 -2
  354. package/out/methods/account/getLatestNonce.mjs +1 -1
  355. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs +61 -1
  356. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.cjs.map +2 -2
  357. package/out/methods/initApp/gastStationMetadata/setGasStationMetadata.mjs +1 -1
  358. package/out/methods/initApp/initApp.cjs +136 -1
  359. package/out/methods/initApp/initApp.cjs.map +2 -2
  360. package/out/methods/initApp/initApp.mjs +1 -1
  361. package/out/methods/initApp/initApp.types.cjs +16 -1
  362. package/out/methods/initApp/initApp.types.cjs.map +2 -2
  363. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs +126 -1
  364. package/out/methods/initApp/websocket/initializeWebsocketConnection.cjs.map +2 -2
  365. package/out/methods/initApp/websocket/initializeWebsocketConnection.mjs +1 -1
  366. package/out/methods/initApp/websocket/registerWebsocket.cjs +37 -1
  367. package/out/methods/initApp/websocket/registerWebsocket.cjs.map +2 -2
  368. package/out/methods/initApp/websocket/registerWebsocket.mjs +1 -1
  369. package/out/methods/loginInfo/getLoginInfo.cjs +36 -1
  370. package/out/methods/loginInfo/getLoginInfo.cjs.map +2 -2
  371. package/out/methods/loginInfo/getLoginInfo.mjs +1 -1
  372. package/out/methods/network/getEgldLabel.cjs +32 -1
  373. package/out/methods/network/getEgldLabel.cjs.map +2 -2
  374. package/out/methods/network/getEgldLabel.mjs +1 -1
  375. package/out/methods/network/getExplorerAddress.cjs +32 -1
  376. package/out/methods/network/getExplorerAddress.cjs.map +2 -2
  377. package/out/methods/network/getExplorerAddress.mjs +1 -1
  378. package/out/methods/network/getNetworkConfig.cjs +32 -1
  379. package/out/methods/network/getNetworkConfig.cjs.map +2 -2
  380. package/out/methods/network/getNetworkConfig.mjs +1 -1
  381. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs +159 -1
  382. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.cjs.map +2 -2
  383. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkBatch.mjs +1 -1
  384. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs +43 -1
  385. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.cjs.map +2 -2
  386. package/out/methods/trackTransactions/helpers/checkTransactionStatus/checkTransactionStatus.mjs +1 -1
  387. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs +40 -1
  388. package/out/methods/trackTransactions/helpers/checkTransactionStatus/getPendingTransactions.cjs.map +2 -2
  389. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs +22 -1
  390. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.cjs.map +2 -2
  391. package/out/methods/trackTransactions/helpers/checkTransactionStatus/index.mjs +1 -1
  392. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs +67 -1
  393. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.cjs.map +2 -2
  394. package/out/methods/trackTransactions/helpers/checkTransactionStatus/manageFailedTransactions.mjs +1 -1
  395. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs +49 -1
  396. package/out/methods/trackTransactions/helpers/checkTransactionStatus/runSessionCallbacks.cjs.map +2 -2
  397. package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs +49 -1
  398. package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.cjs.map +2 -2
  399. package/out/methods/trackTransactions/helpers/checkTransactionStatus/updateTransactionAndSessionStatus.mjs +1 -1
  400. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs +37 -1
  401. package/out/methods/trackTransactions/helpers/getPollingInterval.cjs.map +2 -2
  402. package/out/methods/trackTransactions/helpers/getPollingInterval.mjs +1 -1
  403. package/out/methods/trackTransactions/trackTransactions.cjs +117 -1
  404. package/out/methods/trackTransactions/trackTransactions.cjs.map +2 -2
  405. package/out/methods/trackTransactions/trackTransactions.mjs +1 -1
  406. package/out/methods/transactions/getFailedTransactions.cjs +32 -1
  407. package/out/methods/transactions/getFailedTransactions.cjs.map +2 -2
  408. package/out/methods/transactions/getFailedTransactions.mjs +1 -1
  409. package/out/methods/transactions/getFailedTransactionsSessions.cjs +32 -1
  410. package/out/methods/transactions/getFailedTransactionsSessions.cjs.map +2 -2
  411. package/out/methods/transactions/getFailedTransactionsSessions.mjs +1 -1
  412. package/out/methods/transactions/getPendingTransactions.cjs +32 -1
  413. package/out/methods/transactions/getPendingTransactions.cjs.map +2 -2
  414. package/out/methods/transactions/getPendingTransactions.mjs +1 -1
  415. package/out/methods/transactions/getPendingTransactionsSessions.cjs +32 -1
  416. package/out/methods/transactions/getPendingTransactionsSessions.cjs.map +2 -2
  417. package/out/methods/transactions/getPendingTransactionsSessions.mjs +1 -1
  418. package/out/methods/transactions/getSuccessfulTransactions.cjs +32 -1
  419. package/out/methods/transactions/getSuccessfulTransactions.cjs.map +2 -2
  420. package/out/methods/transactions/getSuccessfulTransactions.mjs +1 -1
  421. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs +32 -1
  422. package/out/methods/transactions/getSuccessfulTransactionsSessions.cjs.map +2 -2
  423. package/out/methods/transactions/getSuccessfulTransactionsSessions.mjs +1 -1
  424. package/out/methods/transactions/getTransactionSessions.cjs +32 -1
  425. package/out/methods/transactions/getTransactionSessions.cjs.map +2 -2
  426. package/out/methods/transactions/getTransactionSessions.mjs +1 -1
  427. package/out/providers/DappProvider/DappProvider.cjs +112 -1
  428. package/out/providers/DappProvider/DappProvider.cjs.map +2 -2
  429. package/out/providers/DappProvider/DappProvider.mjs +1 -1
  430. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs +36 -1
  431. package/out/providers/DappProvider/helpers/computeNonces/computeNonce.cjs.map +2 -2
  432. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs +46 -1
  433. package/out/providers/DappProvider/helpers/computeNonces/computeNonces.cjs.map +2 -2
  434. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs +66 -1
  435. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.cjs.map +2 -2
  436. package/out/providers/DappProvider/helpers/login/helpers/accountLogin.mjs +1 -1
  437. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs +44 -1
  438. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.cjs.map +2 -2
  439. package/out/providers/DappProvider/helpers/login/helpers/extractAddressFromToken.mjs +1 -1
  440. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs +44 -1
  441. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.cjs.map +2 -2
  442. package/out/providers/DappProvider/helpers/login/helpers/getAccountFromToken.mjs +1 -1
  443. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs +55 -1
  444. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.cjs.map +2 -2
  445. package/out/providers/DappProvider/helpers/login/helpers/getModifiedLoginToken.mjs +1 -1
  446. package/out/providers/DappProvider/helpers/login/login.cjs +121 -1
  447. package/out/providers/DappProvider/helpers/login/login.cjs.map +2 -2
  448. package/out/providers/DappProvider/helpers/login/login.mjs +1 -1
  449. package/out/providers/DappProvider/helpers/logout/logout.cjs +63 -1
  450. package/out/providers/DappProvider/helpers/logout/logout.cjs.map +2 -2
  451. package/out/providers/DappProvider/helpers/logout/logout.mjs +1 -1
  452. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs +78 -1
  453. package/out/providers/DappProvider/helpers/signErrors/handleSignError.cjs.map +2 -2
  454. package/out/providers/DappProvider/helpers/signErrors/handleSignError.mjs +1 -1
  455. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs +32 -1
  456. package/out/providers/DappProvider/helpers/signMessage/getVerifier.cjs.map +2 -2
  457. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs +42 -1
  458. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.cjs.map +2 -2
  459. package/out/providers/DappProvider/helpers/signMessage/signMessageWithProvider.mjs +1 -1
  460. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs +60 -1
  461. package/out/providers/DappProvider/helpers/signMessage/verifyMessage.cjs.map +2 -2
  462. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs +58 -1
  463. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.cjs.map +2 -2
  464. package/out/providers/DappProvider/helpers/signTransactions/signTransactionsWithProvider.mjs +1 -1
  465. package/out/providers/DappProvider/index.cjs +22 -1
  466. package/out/providers/DappProvider/index.cjs.map +2 -2
  467. package/out/providers/DappProvider/index.mjs +1 -1
  468. package/out/providers/ProviderFactory.cjs +127 -1
  469. package/out/providers/ProviderFactory.cjs.map +2 -2
  470. package/out/providers/ProviderFactory.mjs +1 -1
  471. package/out/providers/helpers/accountProvider.cjs +38 -1
  472. package/out/providers/helpers/accountProvider.cjs.map +2 -2
  473. package/out/providers/helpers/accountProvider.mjs +1 -1
  474. package/out/providers/helpers/cancelCrossWindowAction.cjs +37 -1
  475. package/out/providers/helpers/cancelCrossWindowAction.cjs.map +2 -2
  476. package/out/providers/helpers/cancelCrossWindowAction.mjs +1 -1
  477. package/out/providers/helpers/clearInitiatedLogins.cjs +48 -1
  478. package/out/providers/helpers/clearInitiatedLogins.cjs.map +2 -2
  479. package/out/providers/helpers/emptyProvider.cjs +106 -1
  480. package/out/providers/helpers/emptyProvider.cjs.map +2 -2
  481. package/out/providers/helpers/restoreProvider.cjs +60 -1
  482. package/out/providers/helpers/restoreProvider.cjs.map +3 -3
  483. package/out/providers/helpers/restoreProvider.mjs +1 -1
  484. package/out/providers/index.cjs +31 -1
  485. package/out/providers/index.cjs.map +2 -2
  486. package/out/providers/index.mjs +1 -1
  487. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs +129 -1
  488. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.cjs.map +2 -2
  489. package/out/providers/strategies/BaseProviderStrategy/BaseProviderStrategy.mjs +1 -1
  490. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs +106 -1
  491. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.cjs.map +2 -2
  492. package/out/providers/strategies/CrossWindowProviderStrategy/CrossWindowProviderStrategy.mjs +1 -1
  493. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs +22 -1
  494. package/out/providers/strategies/CrossWindowProviderStrategy/index.cjs.map +2 -2
  495. package/out/providers/strategies/CrossWindowProviderStrategy/index.mjs +1 -1
  496. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs +96 -1
  497. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.cjs.map +2 -2
  498. package/out/providers/strategies/ExtensionProviderStrategy/ExtensionProviderStrategy.mjs +1 -1
  499. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs +22 -1
  500. package/out/providers/strategies/ExtensionProviderStrategy/index.cjs.map +2 -2
  501. package/out/providers/strategies/ExtensionProviderStrategy/index.mjs +1 -1
  502. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs +118 -1
  503. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.cjs.map +2 -2
  504. package/out/providers/strategies/IframeProviderStrategy/IframeProviderStrategy.mjs +1 -1
  505. package/out/providers/strategies/IframeProviderStrategy/index.cjs +24 -1
  506. package/out/providers/strategies/IframeProviderStrategy/index.cjs.map +2 -2
  507. package/out/providers/strategies/IframeProviderStrategy/index.mjs +1 -1
  508. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs +16 -1
  509. package/out/providers/strategies/IframeProviderStrategy/types/iframe.types.cjs.map +2 -2
  510. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs +22 -1
  511. package/out/providers/strategies/IframeProviderStrategy/types/index.cjs.map +2 -2
  512. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs +181 -1
  513. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.cjs.map +2 -2
  514. package/out/providers/strategies/LedgerProviderStrategy/LedgerProviderStrategy.mjs +1 -1
  515. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs +124 -1
  516. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.cjs.map +2 -2
  517. package/out/providers/strategies/LedgerProviderStrategy/helpers/authenticateLedgerAccount.mjs +1 -1
  518. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs +68 -1
  519. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.cjs.map +2 -2
  520. package/out/providers/strategies/LedgerProviderStrategy/helpers/getAuthTokenText.mjs +1 -1
  521. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs +37 -1
  522. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.cjs.map +2 -2
  523. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerConfiguration.mjs +1 -1
  524. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs +47 -1
  525. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerErrorCodes.cjs.map +2 -2
  526. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs +80 -1
  527. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.cjs.map +2 -2
  528. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerProvider.mjs +1 -1
  529. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs +82 -1
  530. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.cjs.map +2 -2
  531. package/out/providers/strategies/LedgerProviderStrategy/helpers/getLedgerVersionOptions.mjs +1 -1
  532. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs +32 -1
  533. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.cjs.map +2 -2
  534. package/out/providers/strategies/LedgerProviderStrategy/helpers/index.mjs +1 -1
  535. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs +65 -1
  536. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.cjs.map +2 -2
  537. package/out/providers/strategies/LedgerProviderStrategy/helpers/initializeLedgerProvider.mjs +1 -1
  538. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs +61 -1
  539. package/out/providers/strategies/LedgerProviderStrategy/helpers/secondsToTimeString.cjs.map +2 -2
  540. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs +46 -1
  541. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.cjs.map +2 -2
  542. package/out/providers/strategies/LedgerProviderStrategy/helpers/signLedgerMessage.mjs +1 -1
  543. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs +22 -1
  544. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.cjs.map +2 -2
  545. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/index.mjs +1 -1
  546. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs +122 -1
  547. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.cjs.map +2 -2
  548. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.mjs +1 -1
  549. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs +16 -1
  550. package/out/providers/strategies/LedgerProviderStrategy/helpers/updateAccountsList/updateAccountsList.types.cjs.map +2 -2
  551. package/out/providers/strategies/LedgerProviderStrategy/index.cjs +24 -1
  552. package/out/providers/strategies/LedgerProviderStrategy/index.cjs.map +2 -2
  553. package/out/providers/strategies/LedgerProviderStrategy/index.mjs +1 -1
  554. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs +22 -1
  555. package/out/providers/strategies/LedgerProviderStrategy/types/index.cjs.map +2 -2
  556. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs +37 -1
  557. package/out/providers/strategies/LedgerProviderStrategy/types/ledger.types.cjs.map +2 -2
  558. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs +16 -1
  559. package/out/providers/strategies/LedgerProviderStrategy/types/ledgerProvider.types.cjs.map +2 -2
  560. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs +280 -1
  561. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.cjs.map +2 -2
  562. package/out/providers/strategies/WalletConnectProviderStrategy/WalletConnectProviderStrategy.mjs +1 -1
  563. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs +24 -1
  564. package/out/providers/strategies/WalletConnectProviderStrategy/index.cjs.map +2 -2
  565. package/out/providers/strategies/WalletConnectProviderStrategy/index.mjs +1 -1
  566. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs +22 -1
  567. package/out/providers/strategies/WalletConnectProviderStrategy/types/index.cjs.map +2 -2
  568. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs +48 -1
  569. package/out/providers/strategies/WalletConnectProviderStrategy/types/walletConnect.types.cjs.map +2 -2
  570. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs +186 -1
  571. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.cjs.map +3 -3
  572. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/WebviewClient.mjs +1 -1
  573. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs +22 -1
  574. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.cjs.map +2 -2
  575. package/out/providers/strategies/WebviewProviderStrategy/WebviewClient/index.mjs +1 -1
  576. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs +97 -1
  577. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.cjs.map +2 -2
  578. package/out/providers/strategies/WebviewProviderStrategy/WebviewProviderStrategy.mjs +1 -1
  579. package/out/providers/strategies/WebviewProviderStrategy/index.cjs +22 -1
  580. package/out/providers/strategies/WebviewProviderStrategy/index.cjs.map +2 -2
  581. package/out/providers/strategies/WebviewProviderStrategy/index.mjs +1 -1
  582. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs +41 -1
  583. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.cjs.map +2 -2
  584. package/out/providers/strategies/helpers/getPendingTransactionsHandlers.mjs +1 -1
  585. package/out/providers/strategies/helpers/index.cjs +28 -1
  586. package/out/providers/strategies/helpers/index.cjs.map +2 -2
  587. package/out/providers/strategies/helpers/index.mjs +1 -1
  588. package/out/providers/strategies/helpers/signMessage/signMessage.cjs +83 -1
  589. package/out/providers/strategies/helpers/signMessage/signMessage.cjs.map +2 -2
  590. package/out/providers/strategies/helpers/signMessage/signMessage.mjs +1 -1
  591. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs +50 -1
  592. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeInFiat.cjs.map +2 -2
  593. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs +84 -1
  594. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.cjs.map +2 -2
  595. package/out/providers/strategies/helpers/signTransactions/helpers/calculateFeeLimit.mjs +1 -1
  596. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs +180 -1
  597. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.cjs.map +2 -2
  598. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/getCommonData.mjs +1 -1
  599. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs +38 -1
  600. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/checkIsValidSender.cjs.map +2 -2
  601. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs +46 -1
  602. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/decodeDataField.cjs.map +2 -2
  603. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs +93 -1
  604. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.cjs.map +2 -2
  605. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getExtractTransactionsInfo.mjs +1 -1
  606. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs +33 -1
  607. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getHighlight.cjs.map +2 -2
  608. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs +92 -1
  609. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getPpuOptions.cjs.map +2 -2
  610. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs +43 -1
  611. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getRecommendedGasPrice.cjs.map +2 -2
  612. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs +39 -1
  613. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getScCall.cjs.map +2 -2
  614. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs +38 -1
  615. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTokenType.cjs.map +2 -2
  616. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs +50 -1
  617. package/out/providers/strategies/helpers/signTransactions/helpers/getCommonData/helpers/getTxInfoByDataField.cjs.map +2 -2
  618. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs +56 -1
  619. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.cjs.map +2 -2
  620. package/out/providers/strategies/helpers/signTransactions/helpers/getFeeData.mjs +1 -1
  621. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs +35 -1
  622. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.cjs.map +2 -2
  623. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs +36 -1
  624. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.cjs.map +2 -2
  625. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs +126 -1
  626. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.cjs.map +2 -2
  627. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs +118 -1
  628. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.cjs.map +2 -2
  629. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs +86 -1
  630. package/out/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.cjs.map +2 -2
  631. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs +46 -1
  632. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getCrossWindowProvider.cjs.map +2 -2
  633. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs +39 -1
  634. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/getTransactionsNeedGuardianSigning.cjs.map +2 -2
  635. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs +50 -1
  636. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.cjs.map +2 -2
  637. package/out/providers/strategies/helpers/signTransactions/helpers/guardTransactions/guardTransactions.mjs +1 -1
  638. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs +33 -1
  639. package/out/providers/strategies/helpers/signTransactions/helpers/isTokenTransfer.cjs.map +2 -2
  640. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs +232 -1
  641. package/out/providers/strategies/helpers/signTransactions/signTransactions.cjs.map +2 -2
  642. package/out/providers/strategies/helpers/signTransactions/signTransactions.mjs +1 -1
  643. package/out/providers/strategies/index.cjs +30 -1
  644. package/out/providers/strategies/index.cjs.map +2 -2
  645. package/out/providers/strategies/index.mjs +1 -1
  646. package/out/providers/types/providerFactory.types.cjs +37 -1
  647. package/out/providers/types/providerFactory.types.cjs.map +2 -2
  648. package/out/react/account/useGetAccount.cjs +32 -1
  649. package/out/react/account/useGetAccount.cjs.map +2 -2
  650. package/out/react/account/useGetAccount.mjs +1 -1
  651. package/out/react/account/useGetAccountInfo.cjs +32 -1
  652. package/out/react/account/useGetAccountInfo.cjs.map +2 -2
  653. package/out/react/account/useGetAccountInfo.mjs +1 -1
  654. package/out/react/account/useGetIsLoggedIn.cjs +33 -1
  655. package/out/react/account/useGetIsLoggedIn.cjs.map +2 -2
  656. package/out/react/account/useGetIsLoggedIn.mjs +1 -1
  657. package/out/react/account/useGetLatestNonce.cjs +34 -1
  658. package/out/react/account/useGetLatestNonce.cjs.map +2 -2
  659. package/out/react/account/useGetLatestNonce.mjs +1 -1
  660. package/out/react/index.cjs +22 -1
  661. package/out/react/index.cjs.map +2 -2
  662. package/out/react/index.mjs +1 -1
  663. package/out/react/loginInfo/useGetLoginInfo.cjs +35 -1
  664. package/out/react/loginInfo/useGetLoginInfo.cjs.map +2 -2
  665. package/out/react/loginInfo/useGetLoginInfo.mjs +1 -1
  666. package/out/react/network/useGetNetworkConfig.cjs +32 -1
  667. package/out/react/network/useGetNetworkConfig.cjs.map +2 -2
  668. package/out/react/network/useGetNetworkConfig.mjs +1 -1
  669. package/out/react/store/createBoundedStore.cjs +29 -1
  670. package/out/react/store/createBoundedStore.cjs.map +2 -2
  671. package/out/react/store/getReactStore.cjs +30 -1
  672. package/out/react/store/getReactStore.cjs.map +2 -2
  673. package/out/react/store/getReactStore.mjs +1 -1
  674. package/out/react/store/useSelector.cjs +32 -1
  675. package/out/react/store/useSelector.cjs.map +2 -2
  676. package/out/react/store/useSelector.mjs +1 -1
  677. package/out/react/transactions/useGetFailedTransactions.cjs +33 -1
  678. package/out/react/transactions/useGetFailedTransactions.cjs.map +2 -2
  679. package/out/react/transactions/useGetFailedTransactions.mjs +1 -1
  680. package/out/react/transactions/useGetFailedTransactionsSessions.cjs +33 -1
  681. package/out/react/transactions/useGetFailedTransactionsSessions.cjs.map +2 -2
  682. package/out/react/transactions/useGetFailedTransactionsSessions.mjs +1 -1
  683. package/out/react/transactions/useGetPendingTransactions.cjs +33 -1
  684. package/out/react/transactions/useGetPendingTransactions.cjs.map +2 -2
  685. package/out/react/transactions/useGetPendingTransactions.mjs +1 -1
  686. package/out/react/transactions/useGetPendingTransactionsSessions.cjs +33 -1
  687. package/out/react/transactions/useGetPendingTransactionsSessions.cjs.map +2 -2
  688. package/out/react/transactions/useGetPendingTransactionsSessions.mjs +1 -1
  689. package/out/react/transactions/useGetSuccessfulTransactions.cjs +33 -1
  690. package/out/react/transactions/useGetSuccessfulTransactions.cjs.map +2 -2
  691. package/out/react/transactions/useGetSuccessfulTransactions.mjs +1 -1
  692. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs +35 -1
  693. package/out/react/transactions/useGetSuccessfulTransactionsSessions.cjs.map +2 -2
  694. package/out/react/transactions/useGetSuccessfulTransactionsSessions.mjs +1 -1
  695. package/out/react/transactions/useGetTransactionSessions.cjs +33 -1
  696. package/out/react/transactions/useGetTransactionSessions.cjs.map +2 -2
  697. package/out/react/transactions/useGetTransactionSessions.mjs +1 -1
  698. package/out/services/index.cjs +22 -1
  699. package/out/services/index.cjs.map +2 -2
  700. package/out/services/index.mjs +1 -1
  701. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs +62 -1
  702. package/out/services/nativeAuth/helpers/decodeLoginToken.cjs.map +2 -2
  703. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs +72 -1
  704. package/out/services/nativeAuth/helpers/decodeNativeAuthToken.cjs.map +2 -2
  705. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs +100 -1
  706. package/out/services/nativeAuth/helpers/getLatestBlockHash.cjs.map +2 -2
  707. package/out/services/nativeAuth/helpers/index.cjs +26 -1
  708. package/out/services/nativeAuth/helpers/index.cjs.map +2 -2
  709. package/out/services/nativeAuth/index.cjs +22 -1
  710. package/out/services/nativeAuth/index.cjs.map +2 -2
  711. package/out/services/nativeAuth/index.mjs +1 -1
  712. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs +41 -1
  713. package/out/services/nativeAuth/methods/buildNativeAuthConfig.cjs.map +2 -2
  714. package/out/services/nativeAuth/methods/buildNativeAuthConfig.mjs +1 -1
  715. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs +42 -1
  716. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.cjs.map +2 -2
  717. package/out/services/nativeAuth/methods/getDefaultNativeAuthConfig.mjs +1 -1
  718. package/out/services/nativeAuth/methods/getTokenExpiration.cjs +51 -1
  719. package/out/services/nativeAuth/methods/getTokenExpiration.cjs.map +2 -2
  720. package/out/services/nativeAuth/methods/index.cjs +24 -1
  721. package/out/services/nativeAuth/methods/index.cjs.map +2 -2
  722. package/out/services/nativeAuth/methods/index.mjs +1 -1
  723. package/out/services/nativeAuth/nativeAuth.cjs +81 -1
  724. package/out/services/nativeAuth/nativeAuth.cjs.map +2 -2
  725. package/out/services/nativeAuth/nativeAuth.mjs +1 -1
  726. package/out/services/nativeAuth/nativeAuth.types.cjs +16 -1
  727. package/out/services/nativeAuth/nativeAuth.types.cjs.map +2 -2
  728. package/out/store/actions/account/accountActions.cjs +130 -1
  729. package/out/store/actions/account/accountActions.cjs.map +2 -2
  730. package/out/store/actions/account/accountActions.mjs +1 -1
  731. package/out/store/actions/account/index.cjs +22 -1
  732. package/out/store/actions/account/index.cjs.map +2 -2
  733. package/out/store/actions/account/index.mjs +1 -1
  734. package/out/store/actions/cache/cacheActions.cjs +73 -1
  735. package/out/store/actions/cache/cacheActions.cjs.map +2 -2
  736. package/out/store/actions/cache/cacheActions.mjs +1 -1
  737. package/out/store/actions/cache/index.cjs +22 -1
  738. package/out/store/actions/cache/index.cjs.map +2 -2
  739. package/out/store/actions/cache/index.mjs +1 -1
  740. package/out/store/actions/config/configActions.cjs +78 -1
  741. package/out/store/actions/config/configActions.cjs.map +2 -2
  742. package/out/store/actions/config/configActions.mjs +1 -1
  743. package/out/store/actions/config/index.cjs +22 -1
  744. package/out/store/actions/config/index.cjs.map +2 -2
  745. package/out/store/actions/config/index.mjs +1 -1
  746. package/out/store/actions/index.cjs +34 -1
  747. package/out/store/actions/index.cjs.map +2 -2
  748. package/out/store/actions/index.mjs +1 -1
  749. package/out/store/actions/loginInfo/loginInfoActions.cjs +169 -1
  750. package/out/store/actions/loginInfo/loginInfoActions.cjs.map +2 -2
  751. package/out/store/actions/loginInfo/loginInfoActions.mjs +1 -1
  752. package/out/store/actions/network/index.cjs +22 -1
  753. package/out/store/actions/network/index.cjs.map +2 -2
  754. package/out/store/actions/network/index.mjs +1 -1
  755. package/out/store/actions/network/initializeNetwork.cjs +70 -1
  756. package/out/store/actions/network/initializeNetwork.cjs.map +2 -2
  757. package/out/store/actions/network/initializeNetwork.mjs +1 -1
  758. package/out/store/actions/network/networkActions.cjs +47 -1
  759. package/out/store/actions/network/networkActions.cjs.map +2 -2
  760. package/out/store/actions/network/networkActions.mjs +1 -1
  761. package/out/store/actions/sharedActions/index.cjs +22 -1
  762. package/out/store/actions/sharedActions/index.cjs.map +2 -2
  763. package/out/store/actions/sharedActions/index.mjs +1 -1
  764. package/out/store/actions/sharedActions/sharedActions.cjs +55 -1
  765. package/out/store/actions/sharedActions/sharedActions.cjs.map +2 -2
  766. package/out/store/actions/sharedActions/sharedActions.mjs +1 -1
  767. package/out/store/actions/toasts/index.cjs +22 -1
  768. package/out/store/actions/toasts/index.cjs.map +2 -2
  769. package/out/store/actions/toasts/index.mjs +1 -1
  770. package/out/store/actions/toasts/toastsActions.cjs +195 -1
  771. package/out/store/actions/toasts/toastsActions.cjs.map +2 -2
  772. package/out/store/actions/toasts/toastsActions.mjs +1 -1
  773. package/out/store/actions/transactions/transactionStateByStatus.cjs +144 -1
  774. package/out/store/actions/transactions/transactionStateByStatus.cjs.map +2 -2
  775. package/out/store/actions/transactions/transactionsActions.cjs +158 -1
  776. package/out/store/actions/transactions/transactionsActions.cjs.map +2 -2
  777. package/out/store/actions/transactions/transactionsActions.mjs +1 -1
  778. package/out/store/actions/ui/index.cjs +22 -1
  779. package/out/store/actions/ui/index.cjs.map +2 -2
  780. package/out/store/actions/ui/index.mjs +1 -1
  781. package/out/store/actions/ui/uiActions.cjs +41 -1
  782. package/out/store/actions/ui/uiActions.cjs.map +2 -2
  783. package/out/store/actions/ui/uiActions.mjs +1 -1
  784. package/out/store/middleware/applyMiddlewares.cjs +31 -1
  785. package/out/store/middleware/applyMiddlewares.cjs.map +2 -2
  786. package/out/store/middleware/applyMiddlewares.mjs +1 -1
  787. package/out/store/middleware/index.cjs +22 -1
  788. package/out/store/middleware/index.cjs.map +2 -2
  789. package/out/store/middleware/index.mjs +1 -1
  790. package/out/store/middleware/logoutMiddleware.cjs +78 -1
  791. package/out/store/middleware/logoutMiddleware.cjs.map +2 -2
  792. package/out/store/middleware/logoutMiddleware.mjs +1 -1
  793. package/out/store/selectors/accountSelectors.cjs +60 -1
  794. package/out/store/selectors/accountSelectors.cjs.map +2 -2
  795. package/out/store/selectors/cacheSelector.cjs +31 -1
  796. package/out/store/selectors/cacheSelector.cjs.map +2 -2
  797. package/out/store/selectors/configSelectors.cjs +36 -1
  798. package/out/store/selectors/configSelectors.cjs.map +2 -2
  799. package/out/store/selectors/index.cjs +32 -1
  800. package/out/store/selectors/index.cjs.map +2 -2
  801. package/out/store/selectors/loginInfoSelectors.cjs +43 -1
  802. package/out/store/selectors/loginInfoSelectors.cjs.map +2 -2
  803. package/out/store/selectors/networkSelectors.cjs +51 -1
  804. package/out/store/selectors/networkSelectors.cjs.map +2 -2
  805. package/out/store/selectors/storeSelector.cjs +28 -1
  806. package/out/store/selectors/storeSelector.cjs.map +2 -2
  807. package/out/store/selectors/toastsSelectors.cjs +34 -1
  808. package/out/store/selectors/toastsSelectors.cjs.map +2 -2
  809. package/out/store/selectors/transactionsSelector.cjs +150 -1
  810. package/out/store/selectors/transactionsSelector.cjs.map +2 -2
  811. package/out/store/selectors/uiSelectors.cjs +31 -1
  812. package/out/store/selectors/uiSelectors.cjs.map +2 -2
  813. package/out/store/slices/account/account.types.cjs +16 -1
  814. package/out/store/slices/account/account.types.cjs.map +2 -2
  815. package/out/store/slices/account/accountSlice.cjs +43 -1
  816. package/out/store/slices/account/accountSlice.cjs.map +2 -2
  817. package/out/store/slices/account/emptyAccount.cjs +38 -1
  818. package/out/store/slices/account/emptyAccount.cjs.map +2 -2
  819. package/out/store/slices/account/index.cjs +28 -1
  820. package/out/store/slices/account/index.cjs.map +2 -2
  821. package/out/store/slices/cache/cacheSlice.cjs +34 -1
  822. package/out/store/slices/cache/cacheSlice.cjs.map +2 -2
  823. package/out/store/slices/cache/cacheSlice.types.cjs +16 -1
  824. package/out/store/slices/cache/cacheSlice.types.cjs.map +2 -2
  825. package/out/store/slices/cache/index.cjs +28 -1
  826. package/out/store/slices/cache/index.cjs.map +2 -2
  827. package/out/store/slices/config/config.types.cjs +16 -1
  828. package/out/store/slices/config/config.types.cjs.map +2 -2
  829. package/out/store/slices/config/configSlice.cjs +37 -1
  830. package/out/store/slices/config/configSlice.cjs.map +2 -2
  831. package/out/store/slices/config/index.cjs +28 -1
  832. package/out/store/slices/config/index.cjs.map +2 -2
  833. package/out/store/slices/index.cjs +34 -1
  834. package/out/store/slices/index.cjs.map +2 -2
  835. package/out/store/slices/loginInfo/index.cjs +28 -1
  836. package/out/store/slices/loginInfo/index.cjs.map +2 -2
  837. package/out/store/slices/loginInfo/loginInfo.types.cjs +16 -1
  838. package/out/store/slices/loginInfo/loginInfo.types.cjs.map +2 -2
  839. package/out/store/slices/loginInfo/loginInfoSlice.cjs +40 -1
  840. package/out/store/slices/loginInfo/loginInfoSlice.cjs.map +2 -2
  841. package/out/store/slices/network/emptyNetwork.cjs +41 -1
  842. package/out/store/slices/network/emptyNetwork.cjs.map +2 -2
  843. package/out/store/slices/network/index.cjs +28 -1
  844. package/out/store/slices/network/index.cjs.map +2 -2
  845. package/out/store/slices/network/network.types.cjs +16 -1
  846. package/out/store/slices/network/network.types.cjs.map +2 -2
  847. package/out/store/slices/network/networkSlice.cjs +35 -1
  848. package/out/store/slices/network/networkSlice.cjs.map +2 -2
  849. package/out/store/slices/network/networkSlice.types.cjs +16 -1
  850. package/out/store/slices/network/networkSlice.types.cjs.map +2 -2
  851. package/out/store/slices/toast/index.cjs +28 -1
  852. package/out/store/slices/toast/index.cjs.map +2 -2
  853. package/out/store/slices/toast/toastSlice.cjs +37 -1
  854. package/out/store/slices/toast/toastSlice.cjs.map +2 -2
  855. package/out/store/slices/toast/toastSlice.types.cjs +16 -1
  856. package/out/store/slices/toast/toastSlice.types.cjs.map +2 -2
  857. package/out/store/slices/transactions/index.cjs +28 -1
  858. package/out/store/slices/transactions/index.cjs.map +2 -2
  859. package/out/store/slices/transactions/transactionsSlice.cjs +34 -1
  860. package/out/store/slices/transactions/transactionsSlice.cjs.map +2 -2
  861. package/out/store/slices/transactions/transactionsSlice.types.cjs +16 -1
  862. package/out/store/slices/transactions/transactionsSlice.types.cjs.map +2 -2
  863. package/out/store/slices/ui/index.cjs +28 -1
  864. package/out/store/slices/ui/index.cjs.map +2 -2
  865. package/out/store/slices/ui/ui.types.cjs +16 -1
  866. package/out/store/slices/ui/ui.types.cjs.map +2 -2
  867. package/out/store/slices/ui/uiSlice.cjs +34 -1
  868. package/out/store/slices/ui/uiSlice.cjs.map +2 -2
  869. package/out/store/storage/inMemoryStorage.cjs +51 -1
  870. package/out/store/storage/inMemoryStorage.cjs.map +2 -2
  871. package/out/store/storage/index.cjs +24 -1
  872. package/out/store/storage/index.cjs.map +2 -2
  873. package/out/store/storage/index.mjs +1 -1
  874. package/out/store/storage/storageCallback.cjs +29 -1
  875. package/out/store/storage/storageCallback.cjs.map +2 -2
  876. package/out/store/storage/storageCallback.mjs +1 -1
  877. package/out/store/store.cjs +85 -1
  878. package/out/store/store.cjs.map +2 -2
  879. package/out/store/store.mjs +1 -1
  880. package/out/store/store.types.cjs +16 -1
  881. package/out/store/store.types.cjs.map +2 -2
  882. package/out/types/account.types.cjs +16 -1
  883. package/out/types/account.types.cjs.map +2 -2
  884. package/out/types/enums.types.cjs +119 -1
  885. package/out/types/enums.types.cjs.map +2 -2
  886. package/out/types/index.cjs +34 -1
  887. package/out/types/index.cjs.map +2 -2
  888. package/out/types/login.types.cjs +16 -1
  889. package/out/types/login.types.cjs.map +2 -2
  890. package/out/types/manager.types.cjs +16 -1
  891. package/out/types/manager.types.cjs.map +2 -2
  892. package/out/types/network.types.cjs +16 -1
  893. package/out/types/network.types.cjs.map +2 -2
  894. package/out/types/provider.types.cjs +34 -1
  895. package/out/types/provider.types.cjs.map +2 -2
  896. package/out/types/serverTransactions.types.cjs +154 -1
  897. package/out/types/serverTransactions.types.cjs.map +2 -2
  898. package/out/types/subscriptions.type.cjs +33 -1
  899. package/out/types/subscriptions.type.cjs.map +2 -2
  900. package/out/types/suspiciousLink.types.cjs +16 -1
  901. package/out/types/suspiciousLink.types.cjs.map +2 -2
  902. package/out/types/theme.types.cjs +33 -1
  903. package/out/types/theme.types.cjs.map +2 -2
  904. package/out/types/tokens.types.cjs +39 -1
  905. package/out/types/tokens.types.cjs.map +2 -2
  906. package/out/types/transaction-list-item.types.cjs +114 -1
  907. package/out/types/transaction-list-item.types.cjs.map +2 -2
  908. package/out/types/transactions.types.cjs +34 -1
  909. package/out/types/transactions.types.cjs.map +2 -2
  910. package/out/types/websocket.types.cjs +16 -1
  911. package/out/types/websocket.types.cjs.map +2 -2
  912. package/out/utils/ComponentFactory.cjs +50 -1
  913. package/out/utils/ComponentFactory.cjs.map +2 -2
  914. package/out/utils/ComponentFactory.mjs +1 -1
  915. package/out/utils/account/fetchAccount.cjs +29 -1
  916. package/out/utils/account/fetchAccount.cjs.map +2 -2
  917. package/out/utils/account/index.cjs +28 -1
  918. package/out/utils/account/index.cjs.map +2 -2
  919. package/out/utils/account/index.mjs +1 -1
  920. package/out/utils/account/refreshAccount.cjs +80 -1
  921. package/out/utils/account/refreshAccount.cjs.map +2 -2
  922. package/out/utils/account/refreshAccount.mjs +1 -1
  923. package/out/utils/account/refreshNativeAuthTokenLogin.cjs +65 -1
  924. package/out/utils/account/refreshNativeAuthTokenLogin.cjs.map +2 -2
  925. package/out/utils/account/refreshNativeAuthTokenLogin.mjs +1 -1
  926. package/out/utils/account/trimUsernameDomain.cjs +35 -1
  927. package/out/utils/account/trimUsernameDomain.cjs.map +2 -2
  928. package/out/utils/asyncActions/index.cjs +22 -1
  929. package/out/utils/asyncActions/index.cjs.map +2 -2
  930. package/out/utils/asyncActions/sleep.cjs +35 -1
  931. package/out/utils/asyncActions/sleep.cjs.map +2 -2
  932. package/out/utils/dateTime/getUnixTimestamp.cjs +30 -1
  933. package/out/utils/dateTime/getUnixTimestamp.cjs.map +2 -2
  934. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs +32 -1
  935. package/out/utils/dateTime/getUnixTimestampWithAddedMilliseconds.cjs.map +2 -2
  936. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs +30 -1
  937. package/out/utils/dateTime/getUnixTimestampWithAddedSeconds.cjs.map +2 -2
  938. package/out/utils/dateTime/index.cjs +26 -1
  939. package/out/utils/dateTime/index.cjs.map +2 -2
  940. package/out/utils/decoders/base64Utils.cjs +57 -1
  941. package/out/utils/decoders/base64Utils.cjs.map +2 -2
  942. package/out/utils/decoders/decodePart.cjs +39 -1
  943. package/out/utils/decoders/decodePart.cjs.map +2 -2
  944. package/out/utils/decoders/index.cjs +30 -1
  945. package/out/utils/decoders/index.cjs.map +2 -2
  946. package/out/utils/decoders/isAscii.cjs +28 -1
  947. package/out/utils/decoders/isAscii.cjs.map +2 -2
  948. package/out/utils/decoders/isUtf8.cjs +35 -1
  949. package/out/utils/decoders/isUtf8.cjs.map +2 -2
  950. package/out/utils/decoders/stringContainsNumbers.cjs +28 -1
  951. package/out/utils/decoders/stringContainsNumbers.cjs.map +2 -2
  952. package/out/utils/index.cjs +40 -1
  953. package/out/utils/index.cjs.map +2 -2
  954. package/out/utils/index.mjs +1 -1
  955. package/out/utils/network/index.cjs +22 -1
  956. package/out/utils/network/index.cjs.map +2 -2
  957. package/out/utils/network/setAxiosInterceptors.cjs +66 -1
  958. package/out/utils/network/setAxiosInterceptors.cjs.map +2 -2
  959. package/out/utils/operations/capitalize.cjs +28 -1
  960. package/out/utils/operations/capitalize.cjs.map +2 -2
  961. package/out/utils/operations/getUsdValue.cjs +45 -1
  962. package/out/utils/operations/getUsdValue.cjs.map +2 -2
  963. package/out/utils/operations/pluralize.cjs +28 -1
  964. package/out/utils/operations/pluralize.cjs.map +2 -2
  965. package/out/utils/operations/timeRemaining.cjs +109 -1
  966. package/out/utils/operations/timeRemaining.cjs.map +2 -2
  967. package/out/utils/operations/trimAmountDecimals.cjs +59 -1
  968. package/out/utils/operations/trimAmountDecimals.cjs.map +2 -2
  969. package/out/utils/retryMultipleTimes.cjs +44 -1
  970. package/out/utils/retryMultipleTimes.cjs.map +2 -2
  971. package/out/utils/transactions/explorerUrlBuilder.cjs +53 -1
  972. package/out/utils/transactions/explorerUrlBuilder.cjs.map +2 -2
  973. package/out/utils/transactions/getActiveTransactionsStatus.cjs +46 -1
  974. package/out/utils/transactions/getActiveTransactionsStatus.cjs.map +2 -2
  975. package/out/utils/transactions/getActiveTransactionsStatus.mjs +1 -1
  976. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs +110 -5
  977. package/out/utils/transactions/getDecodedDataField/getDecodedDataField.cjs.map +2 -2
  978. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs +89 -1
  979. package/out/utils/transactions/getDecodedDataField/helpers/decodeByMethod.cjs.map +2 -2
  980. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs +47 -1
  981. package/out/utils/transactions/getDecodedDataField/helpers/decodeHighlight.cjs.map +2 -2
  982. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs +44 -1
  983. package/out/utils/transactions/getDecodedDataField/helpers/getDecodedParts.cjs.map +2 -2
  984. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs +60 -1
  985. package/out/utils/transactions/getDecodedDataField/helpers/getDisplayValueAndValidationWarnings.cjs.map +2 -2
  986. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs +38 -1
  987. package/out/utils/transactions/getDecodedDataField/helpers/getHexValidationWarnings.cjs.map +2 -2
  988. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs +51 -1
  989. package/out/utils/transactions/getDecodedDataField/helpers/getSmartDecodedParts.cjs.map +2 -2
  990. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs +32 -1
  991. package/out/utils/transactions/getDecodedDataField/helpers/index.cjs.map +2 -2
  992. package/out/utils/transactions/getDecodedDataField/index.cjs +24 -1
  993. package/out/utils/transactions/getDecodedDataField/index.cjs.map +2 -2
  994. package/out/utils/transactions/getExplorerLink.cjs +49 -1
  995. package/out/utils/transactions/getExplorerLink.cjs.map +2 -2
  996. package/out/utils/transactions/getHumanReadableTimeFormat.cjs +46 -1
  997. package/out/utils/transactions/getHumanReadableTimeFormat.cjs.map +2 -2
  998. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs +109 -1
  999. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.cjs.map +2 -2
  1000. package/out/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.mjs +1 -1
  1001. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs +49 -1
  1002. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/constants.cjs.map +2 -2
  1003. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs +106 -1
  1004. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/getTransactionValue.cjs.map +2 -2
  1005. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs +35 -1
  1006. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getEgldValueData.cjs.map +2 -2
  1007. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs +54 -1
  1008. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTitleText.cjs.map +2 -2
  1009. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs +70 -1
  1010. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionActionNftText.cjs.map +2 -2
  1011. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs +40 -1
  1012. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getTransactionTokens.cjs.map +2 -2
  1013. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs +53 -1
  1014. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromActions.cjs.map +2 -2
  1015. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs +59 -1
  1016. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromDataField.cjs.map +2 -2
  1017. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs +52 -2
  1018. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getValueFromOperations.cjs.map +2 -2
  1019. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs +36 -1
  1020. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/getVisibleOperations.cjs.map +2 -2
  1021. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs +32 -1
  1022. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/helpers/index.cjs.map +2 -2
  1023. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs +22 -1
  1024. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/index.cjs.map +2 -2
  1025. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs +16 -1
  1026. package/out/utils/transactions/getInterpretedTransaction/getTransactionValue/types.cjs.map +2 -2
  1027. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs +82 -1
  1028. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.cjs.map +2 -2
  1029. package/out/utils/transactions/getInterpretedTransaction/helpers/getLockedAccountName.mjs +1 -1
  1030. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs +30 -1
  1031. package/out/utils/transactions/getInterpretedTransaction/helpers/getOperationsMessages.cjs.map +2 -2
  1032. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs +65 -1
  1033. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.cjs.map +2 -2
  1034. package/out/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.mjs +1 -1
  1035. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs +30 -1
  1036. package/out/utils/transactions/getInterpretedTransaction/helpers/getScResultsMessages.cjs.map +2 -2
  1037. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs +43 -1
  1038. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.cjs.map +2 -2
  1039. package/out/utils/transactions/getInterpretedTransaction/helpers/getShardText.mjs +1 -1
  1040. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs +121 -1
  1041. package/out/utils/transactions/getInterpretedTransaction/helpers/getTokenFromData.cjs.map +2 -2
  1042. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs +46 -1
  1043. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.cjs.map +2 -2
  1044. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionIconInfo.mjs +1 -1
  1045. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs +39 -1
  1046. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.cjs.map +2 -2
  1047. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMessages.mjs +1 -1
  1048. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs +43 -1
  1049. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionMethod.cjs.map +2 -2
  1050. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs +34 -1
  1051. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiver.cjs.map +2 -2
  1052. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs +32 -1
  1053. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionReceiverAssets.cjs.map +2 -2
  1054. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs +41 -1
  1055. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionStatus.cjs.map +2 -2
  1056. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs +40 -1
  1057. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTokens.cjs.map +2 -2
  1058. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs +49 -1
  1059. package/out/utils/transactions/getInterpretedTransaction/helpers/getTransactionTransferType.cjs.map +2 -2
  1060. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs +46 -1
  1061. package/out/utils/transactions/getInterpretedTransaction/helpers/index.cjs.map +2 -2
  1062. package/out/utils/transactions/getInterpretedTransaction/helpers/index.mjs +1 -1
  1063. package/out/utils/transactions/getInterpretedTransaction/index.cjs +24 -1
  1064. package/out/utils/transactions/getInterpretedTransaction/index.cjs.map +2 -2
  1065. package/out/utils/transactions/getInterpretedTransaction/index.mjs +1 -1
  1066. package/out/utils/transactions/getScamFlag.cjs +87 -1
  1067. package/out/utils/transactions/getScamFlag.cjs.map +2 -2
  1068. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs +50 -1
  1069. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.cjs.map +2 -2
  1070. package/out/utils/transactions/getTransactionsHistory/getTransactionsHistory.mjs +1 -1
  1071. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs +39 -1
  1072. package/out/utils/transactions/getTransactionsHistory/helpers/createTransactionsHistoryFromSessions.cjs.map +2 -2
  1073. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs +63 -1
  1074. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetAmount.cjs.map +2 -2
  1075. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs +52 -1
  1076. package/out/utils/transactions/getTransactionsHistory/helpers/getAssetPrice.cjs.map +2 -2
  1077. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs +35 -1
  1078. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.cjs.map +2 -2
  1079. package/out/utils/transactions/getTransactionsHistory/helpers/getCachedTransactionListItem.mjs +1 -1
  1080. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs +38 -1
  1081. package/out/utils/transactions/getTransactionsHistory/helpers/getIsTransactionInvalidOrFailed.cjs.map +2 -2
  1082. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs +36 -1
  1083. package/out/utils/transactions/getTransactionsHistory/helpers/getReceiverData.cjs.map +2 -2
  1084. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs +112 -1
  1085. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAction.cjs.map +2 -2
  1086. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs +58 -1
  1087. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionDirectionLabel.cjs.map +2 -2
  1088. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs +74 -1
  1089. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionActionTransferLabel.cjs.map +2 -2
  1090. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs +62 -1
  1091. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAmount.cjs.map +2 -2
  1092. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs +90 -1
  1093. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAsset.cjs.map +2 -2
  1094. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs +65 -1
  1095. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAssets.cjs.map +2 -2
  1096. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs +37 -1
  1097. package/out/utils/transactions/getTransactionsHistory/helpers/getTransactionAvatar.cjs.map +2 -2
  1098. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs +49 -1
  1099. package/out/utils/transactions/getTransactionsHistory/helpers/index.cjs.map +2 -2
  1100. package/out/utils/transactions/getTransactionsHistory/helpers/index.mjs +1 -1
  1101. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs +37 -1
  1102. package/out/utils/transactions/getTransactionsHistory/helpers/isTransferNftOrSft.cjs.map +2 -2
  1103. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs +115 -1
  1104. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.cjs.map +2 -2
  1105. package/out/utils/transactions/getTransactionsHistory/helpers/mapServerTransactionsToListItems.mjs +1 -1
  1106. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs +80 -1
  1107. package/out/utils/transactions/getTransactionsHistory/helpers/mapTransactionToListItem.cjs.map +2 -2
  1108. package/out/utils/transactions/getTransactionsHistory/index.cjs +24 -1
  1109. package/out/utils/transactions/getTransactionsHistory/index.cjs.map +2 -2
  1110. package/out/utils/transactions/getTransactionsHistory/index.mjs +1 -1
  1111. package/out/utils/transactions/index.cjs +30 -1
  1112. package/out/utils/transactions/index.cjs.map +2 -2
  1113. package/out/utils/transactions/index.mjs +1 -1
  1114. package/out/utils/transactions/isGuardianTx.cjs +42 -1
  1115. package/out/utils/transactions/isGuardianTx.cjs.map +2 -2
  1116. package/out/utils/validation/addressIsValid.cjs +39 -1
  1117. package/out/utils/validation/addressIsValid.cjs.map +2 -2
  1118. package/out/utils/validation/getIdentifierType.cjs +53 -1
  1119. package/out/utils/validation/getIdentifierType.cjs.map +2 -2
  1120. package/out/utils/validation/hex.cjs +35 -1
  1121. package/out/utils/validation/hex.cjs.map +2 -2
  1122. package/out/utils/validation/index.cjs +30 -1
  1123. package/out/utils/validation/index.cjs.map +2 -2
  1124. package/out/utils/validation/isContract.cjs +95 -1
  1125. package/out/utils/validation/isContract.cjs.map +2 -2
  1126. package/out/utils/validation/maxDecimals.cjs +33 -1
  1127. package/out/utils/validation/maxDecimals.cjs.map +2 -2
  1128. package/out/utils/visual/index.cjs +22 -1
  1129. package/out/utils/visual/index.cjs.map +2 -2
  1130. package/out/utils/visual/index.mjs +1 -1
  1131. package/out/utils/visual/switchTheme.cjs +38 -1
  1132. package/out/utils/visual/switchTheme.cjs.map +2 -2
  1133. package/out/utils/visual/switchTheme.mjs +1 -1
  1134. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs +33 -1
  1135. package/out/utils/walletconnect/__sdkWalletconnectProvider.cjs.map +2 -2
  1136. package/out/utils/window/buildUrlParams.cjs +36 -1
  1137. package/out/utils/window/buildUrlParams.cjs.map +2 -2
  1138. package/out/utils/window/getIsAuthRoute.cjs +37 -1
  1139. package/out/utils/window/getIsAuthRoute.cjs.map +2 -2
  1140. package/out/utils/window/getIsInIframe.cjs +43 -1
  1141. package/out/utils/window/getIsInIframe.cjs.map +2 -2
  1142. package/out/utils/window/getIsInIframe.mjs +1 -1
  1143. package/out/utils/window/getWindowLocation.cjs +55 -1
  1144. package/out/utils/window/getWindowLocation.cjs.map +2 -2
  1145. package/out/utils/window/getWindowParentOrigin.cjs +43 -1
  1146. package/out/utils/window/getWindowParentOrigin.cjs.map +2 -2
  1147. package/out/utils/window/getWindowParentOrigin.mjs +1 -1
  1148. package/out/utils/window/index.cjs +32 -1
  1149. package/out/utils/window/index.cjs.map +2 -2
  1150. package/out/utils/window/index.mjs +1 -1
  1151. package/out/utils/window/isWindowAvailable.cjs +28 -1
  1152. package/out/utils/window/isWindowAvailable.cjs.map +2 -2
  1153. package/out/utils/window/matchPath.cjs +113 -1
  1154. package/out/utils/window/matchPath.cjs.map +2 -2
  1155. package/out/utils/window/sanitizeCallbackUrl.cjs +38 -1
  1156. package/out/utils/window/sanitizeCallbackUrl.cjs.map +2 -2
  1157. package/package.json +2 -2
  1158. package/out/__chunks__/chunk-32UBROSW.mjs +0 -2
  1159. package/out/__chunks__/chunk-34SZ56FQ.mjs +0 -2
  1160. package/out/__chunks__/chunk-3AT3N6U7.mjs +0 -2
  1161. package/out/__chunks__/chunk-4WBXT7UF.mjs +0 -2
  1162. package/out/__chunks__/chunk-4YLMDHUH.mjs +0 -2
  1163. package/out/__chunks__/chunk-6BQWDKWC.mjs +0 -2
  1164. package/out/__chunks__/chunk-6XHXG7HB.mjs +0 -2
  1165. package/out/__chunks__/chunk-AHRQWA37.mjs +0 -2
  1166. package/out/__chunks__/chunk-DBTVIN4S.mjs +0 -2
  1167. package/out/__chunks__/chunk-DK6T6BEY.mjs +0 -2
  1168. package/out/__chunks__/chunk-FGO6JGLQ.mjs +0 -2
  1169. package/out/__chunks__/chunk-GRUQO4NQ.mjs +0 -2
  1170. package/out/__chunks__/chunk-L45XDEGL.mjs +0 -2
  1171. package/out/__chunks__/chunk-LDFQUMVY.mjs +0 -2
  1172. package/out/__chunks__/chunk-LTXWZGXK.mjs +0 -2
  1173. package/out/__chunks__/chunk-NAEWTITL.mjs +0 -2
  1174. package/out/__chunks__/chunk-O4IUATY4.mjs +0 -2
  1175. package/out/__chunks__/chunk-UYRCLUET.mjs +0 -2
  1176. package/out/__chunks__/chunk-YGRMC52T.mjs +0 -2
  1177. /package/out/__chunks__/{chunk-YGRMC52T.mjs.map → chunk-25G6565D.mjs.map} +0 -0
  1178. /package/out/__chunks__/{chunk-KHK7HHMR.mjs.map → chunk-2UPWFRCA.mjs.map} +0 -0
  1179. /package/out/__chunks__/{chunk-W42RP7KL.mjs.map → chunk-2WAT3RZ3.mjs.map} +0 -0
  1180. /package/out/__chunks__/{chunk-H3U7BN2F.mjs.map → chunk-2ZW4LVVR.mjs.map} +0 -0
  1181. /package/out/__chunks__/{chunk-GDTOANYH.mjs.map → chunk-32DICVUK.mjs.map} +0 -0
  1182. /package/out/__chunks__/{chunk-3IMTI6JQ.mjs.map → chunk-4ZAZCOJD.mjs.map} +0 -0
  1183. /package/out/__chunks__/{chunk-U6N242A3.mjs.map → chunk-5DUIQBPR.mjs.map} +0 -0
  1184. /package/out/__chunks__/{chunk-GRUQO4NQ.mjs.map → chunk-5F53ZQDO.mjs.map} +0 -0
  1185. /package/out/__chunks__/{chunk-M44UOZ5O.mjs.map → chunk-5KY3OIFD.mjs.map} +0 -0
  1186. /package/out/__chunks__/{chunk-L45XDEGL.mjs.map → chunk-5VQOOZQV.mjs.map} +0 -0
  1187. /package/out/__chunks__/{chunk-KKC3NMW2.mjs.map → chunk-5WR632LR.mjs.map} +0 -0
  1188. /package/out/__chunks__/{chunk-YVAL3LZF.mjs.map → chunk-643FDBLR.mjs.map} +0 -0
  1189. /package/out/__chunks__/{chunk-3AT3N6U7.mjs.map → chunk-6C26F7JZ.mjs.map} +0 -0
  1190. /package/out/__chunks__/{chunk-AHRQWA37.mjs.map → chunk-6FRXGPOE.mjs.map} +0 -0
  1191. /package/out/__chunks__/{chunk-3H5GYTLV.mjs.map → chunk-6VPMVY56.mjs.map} +0 -0
  1192. /package/out/__chunks__/{chunk-32UBROSW.mjs.map → chunk-73E7X7HK.mjs.map} +0 -0
  1193. /package/out/__chunks__/{chunk-O4IUATY4.mjs.map → chunk-7BZQYV6D.mjs.map} +0 -0
  1194. /package/out/__chunks__/{chunk-HZRV27MM.mjs.map → chunk-7UUDW64Y.mjs.map} +0 -0
  1195. /package/out/__chunks__/{chunk-UJIIYWYI.mjs.map → chunk-A63UAQRB.mjs.map} +0 -0
  1196. /package/out/__chunks__/{chunk-NWV2L5R7.mjs.map → chunk-AGBY3WIQ.mjs.map} +0 -0
  1197. /package/out/__chunks__/{chunk-LAH3RNPH.mjs.map → chunk-ALBBGYHS.mjs.map} +0 -0
  1198. /package/out/__chunks__/{chunk-AOYKAITD.mjs.map → chunk-ALT4OKHK.mjs.map} +0 -0
  1199. /package/out/__chunks__/{chunk-NRBAAXUJ.mjs.map → chunk-AN4TQZVZ.mjs.map} +0 -0
  1200. /package/out/__chunks__/{chunk-BMJVOKCD.mjs.map → chunk-AVEMKF6Z.mjs.map} +0 -0
  1201. /package/out/__chunks__/{chunk-X5F7OCHT.mjs.map → chunk-B5YOJH7H.mjs.map} +0 -0
  1202. /package/out/__chunks__/{chunk-7NW5R435.mjs.map → chunk-BC5MT6WS.mjs.map} +0 -0
  1203. /package/out/__chunks__/{chunk-4WBXT7UF.mjs.map → chunk-E5OMXZT7.mjs.map} +0 -0
  1204. /package/out/__chunks__/{chunk-LCHJKRM5.mjs.map → chunk-ELCWJYQ7.mjs.map} +0 -0
  1205. /package/out/__chunks__/{chunk-753KDZIR.mjs.map → chunk-ET6MYYOM.mjs.map} +0 -0
  1206. /package/out/__chunks__/{chunk-FUOM6J37.mjs.map → chunk-ETH6P454.mjs.map} +0 -0
  1207. /package/out/__chunks__/{chunk-23KF5JXN.mjs.map → chunk-FFGJMR4Q.mjs.map} +0 -0
  1208. /package/out/__chunks__/{chunk-NKAJB5TQ.mjs.map → chunk-GDMANS7S.mjs.map} +0 -0
  1209. /package/out/__chunks__/{chunk-4D3ZQTRN.mjs.map → chunk-GJ64B4SS.mjs.map} +0 -0
  1210. /package/out/__chunks__/{chunk-ASPVUU7R.mjs.map → chunk-GPUXJWA3.mjs.map} +0 -0
  1211. /package/out/__chunks__/{chunk-5PNQWHBP.mjs.map → chunk-GWXW3E7L.mjs.map} +0 -0
  1212. /package/out/__chunks__/{chunk-RVYA3BJD.mjs.map → chunk-H7YY4BCM.mjs.map} +0 -0
  1213. /package/out/__chunks__/{chunk-BZRPJAII.mjs.map → chunk-HBZ2RP7A.mjs.map} +0 -0
  1214. /package/out/__chunks__/{chunk-LTXWZGXK.mjs.map → chunk-HKVAAOC4.mjs.map} +0 -0
  1215. /package/out/__chunks__/{chunk-Z3ZWRORQ.mjs.map → chunk-I2CW2O7M.mjs.map} +0 -0
  1216. /package/out/__chunks__/{chunk-UYRCLUET.mjs.map → chunk-ILR4U7Q3.mjs.map} +0 -0
  1217. /package/out/__chunks__/{chunk-7LP6TRTV.mjs.map → chunk-IXO75QXR.mjs.map} +0 -0
  1218. /package/out/__chunks__/{chunk-OHFXF2B5.mjs.map → chunk-J6MUGECP.mjs.map} +0 -0
  1219. /package/out/__chunks__/{chunk-LDFQUMVY.mjs.map → chunk-JFIQXGJ5.mjs.map} +0 -0
  1220. /package/out/__chunks__/{chunk-YIZAB63A.mjs.map → chunk-JHYKMKMK.mjs.map} +0 -0
  1221. /package/out/__chunks__/{chunk-5SUCN4KU.mjs.map → chunk-JKFZERMM.mjs.map} +0 -0
  1222. /package/out/__chunks__/{chunk-4YLMDHUH.mjs.map → chunk-JM3JEGRV.mjs.map} +0 -0
  1223. /package/out/__chunks__/{chunk-DBTVIN4S.mjs.map → chunk-JOPPHD4R.mjs.map} +0 -0
  1224. /package/out/__chunks__/{chunk-DBMG6HQS.mjs.map → chunk-KTQD4DTE.mjs.map} +0 -0
  1225. /package/out/__chunks__/{chunk-QWU5MHP3.mjs.map → chunk-KZUPCFEG.mjs.map} +0 -0
  1226. /package/out/__chunks__/{chunk-GKZ2BSWS.mjs.map → chunk-MNIS55JL.mjs.map} +0 -0
  1227. /package/out/__chunks__/{chunk-DPWDWN6V.mjs.map → chunk-NO4FZ4M3.mjs.map} +0 -0
  1228. /package/out/__chunks__/{chunk-AXYA7YGQ.mjs.map → chunk-O462QL7Q.mjs.map} +0 -0
  1229. /package/out/__chunks__/{chunk-EJ3EBFAG.mjs.map → chunk-OI2AXS22.mjs.map} +0 -0
  1230. /package/out/__chunks__/{chunk-K23LCX54.mjs.map → chunk-PCGP4VVW.mjs.map} +0 -0
  1231. /package/out/__chunks__/{chunk-7PIS2F7G.mjs.map → chunk-PUCCTEN7.mjs.map} +0 -0
  1232. /package/out/__chunks__/{chunk-UL35YJX4.mjs.map → chunk-QJ6YLLBK.mjs.map} +0 -0
  1233. /package/out/__chunks__/{chunk-H6LOCVAD.mjs.map → chunk-QMFEYMZI.mjs.map} +0 -0
  1234. /package/out/__chunks__/{chunk-FGO6JGLQ.mjs.map → chunk-QZDVKNF4.mjs.map} +0 -0
  1235. /package/out/__chunks__/{chunk-HZCXNBGJ.mjs.map → chunk-RXE5QIE3.mjs.map} +0 -0
  1236. /package/out/__chunks__/{chunk-NAEWTITL.mjs.map → chunk-SJLTVGKD.mjs.map} +0 -0
  1237. /package/out/__chunks__/{chunk-3EVBWJRB.mjs.map → chunk-SLG55PDO.mjs.map} +0 -0
  1238. /package/out/__chunks__/{chunk-IGDWL5FF.mjs.map → chunk-T3RXRYP5.mjs.map} +0 -0
  1239. /package/out/__chunks__/{chunk-KAYZVBV4.mjs.map → chunk-TKIYJDS2.mjs.map} +0 -0
  1240. /package/out/__chunks__/{chunk-EMSDNE45.mjs.map → chunk-UF2Y4P6U.mjs.map} +0 -0
  1241. /package/out/__chunks__/{chunk-NPF6FJT3.mjs.map → chunk-UUPS4KLW.mjs.map} +0 -0
  1242. /package/out/__chunks__/{chunk-EJHFAT42.mjs.map → chunk-UXBKGTA5.mjs.map} +0 -0
  1243. /package/out/__chunks__/{chunk-35AC7JEX.mjs.map → chunk-V322LMVG.mjs.map} +0 -0
  1244. /package/out/__chunks__/{chunk-W2TBID4H.mjs.map → chunk-V3GRSQIB.mjs.map} +0 -0
  1245. /package/out/__chunks__/{chunk-D4SYE2AU.mjs.map → chunk-VDAYN2HT.mjs.map} +0 -0
  1246. /package/out/__chunks__/{chunk-MBYIULNF.mjs.map → chunk-VY62CH5W.mjs.map} +0 -0
  1247. /package/out/__chunks__/{chunk-34SZ56FQ.mjs.map → chunk-WJJTA23D.mjs.map} +0 -0
  1248. /package/out/__chunks__/{chunk-UKBPRQL6.mjs.map → chunk-X3AX4PFE.mjs.map} +0 -0
  1249. /package/out/__chunks__/{chunk-FMNY4EIM.mjs.map → chunk-YYVGE2ZU.mjs.map} +0 -0
  1250. /package/out/__chunks__/{chunk-EH3INPBE.mjs.map → chunk-ZAY5O7DE.mjs.map} +0 -0
  1251. /package/out/__chunks__/{chunk-YIEM5DGL.mjs.map → chunk-ZG6EULI2.mjs.map} +0 -0
  1252. /package/out/__chunks__/{chunk-YLJC7ZKD.mjs.map → chunk-ZJM5FGLA.mjs.map} +0 -0
  1253. /package/out/__chunks__/{chunk-EDVSRPEU.mjs.map → chunk-ZM77AGP5.mjs.map} +0 -0
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getFeeData.ts"],
4
4
  "sourcesContent": ["import { GAS_PER_DATA_BYTE, GAS_PRICE_MODIFIER } from 'constants/mvx.constants';\nimport { Transaction } from 'lib/sdkCore';\nimport { formatAmount } from 'lib/sdkDappUtils';\nimport { calculateFeeInFiat } from './calculateFeeInFiat';\nimport { calculateFeeLimit } from './calculateFeeLimit';\n\nexport const getFeeData = ({\n transaction,\n price\n}: {\n transaction: Transaction;\n price?: number;\n}) => {\n const feeLimit = calculateFeeLimit({\n from: transaction.sender.toBech32(),\n to: transaction.receiver.toBech32(),\n gasPerDataByte: String(GAS_PER_DATA_BYTE),\n gasPriceModifier: String(GAS_PRICE_MODIFIER),\n gasLimit: transaction.gasLimit.valueOf().toString(),\n gasPrice: transaction.gasPrice.valueOf().toString(),\n data: transaction.data.toString(),\n chainId: transaction.chainID.valueOf().toString()\n });\n\n const feeLimitFormatted = formatAmount({\n input: feeLimit,\n showLastNonZeroDecimal: true\n });\n\n const feeInFiatLimit = price\n ? calculateFeeInFiat({\n feeLimit,\n egldPriceInUsd: price,\n hideEqualSign: true\n })\n : null;\n\n return { feeLimitFormatted, feeInFiatLimit, feeLimit };\n};\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsD,mCAEtDC,EAA6B,4BAC7BC,EAAmC,gCACnCC,EAAkC,+BAE3B,MAAML,EAAa,CAAC,CACzB,YAAAM,EACA,MAAAC,CACF,IAGM,CACJ,MAAMC,KAAW,qBAAkB,CACjC,KAAMF,EAAY,OAAO,SAAS,EAClC,GAAIA,EAAY,SAAS,SAAS,EAClC,eAAgB,OAAO,mBAAiB,EACxC,iBAAkB,OAAO,oBAAkB,EAC3C,SAAUA,EAAY,SAAS,QAAQ,EAAE,SAAS,EAClD,SAAUA,EAAY,SAAS,QAAQ,EAAE,SAAS,EAClD,KAAMA,EAAY,KAAK,SAAS,EAChC,QAASA,EAAY,QAAQ,QAAQ,EAAE,SAAS,CAClD,CAAC,EAEKG,KAAoB,gBAAa,CACrC,MAAOD,EACP,uBAAwB,EAC1B,CAAC,EAEKE,EAAiBH,KACnB,sBAAmB,CACjB,SAAAC,EACA,eAAgBD,EAChB,cAAe,EACjB,CAAC,EACD,KAEJ,MAAO,CAAE,kBAAAE,EAAmB,eAAAC,EAAgB,SAAAF,CAAS,CACvD",
6
- "names": ["getFeeData_exports", "__export", "getFeeData", "__toCommonJS", "import_mvx", "import_sdkDappUtils", "import_calculateFeeInFiat", "import_calculateFeeLimit", "transaction", "price", "feeLimit", "feeLimitFormatted", "feeInFiatLimit"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAsD;AAEtD,0BAA6B;AAC7B,gCAAmC;AACnC,+BAAkC;AAE3B,MAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AACF,MAGM;AACJ,QAAM,eAAW,4CAAkB;AAAA,IACjC,MAAM,YAAY,OAAO,SAAS;AAAA,IAClC,IAAI,YAAY,SAAS,SAAS;AAAA,IAClC,gBAAgB,OAAO,4BAAiB;AAAA,IACxC,kBAAkB,OAAO,6BAAkB;AAAA,IAC3C,UAAU,YAAY,SAAS,QAAQ,EAAE,SAAS;AAAA,IAClD,UAAU,YAAY,SAAS,QAAQ,EAAE,SAAS;AAAA,IAClD,MAAM,YAAY,KAAK,SAAS;AAAA,IAChC,SAAS,YAAY,QAAQ,QAAQ,EAAE,SAAS;AAAA,EAClD,CAAC;AAED,QAAM,wBAAoB,kCAAa;AAAA,IACrC,OAAO;AAAA,IACP,wBAAwB;AAAA,EAC1B,CAAC;AAED,QAAM,iBAAiB,YACnB,8CAAmB;AAAA,IACjB;AAAA,IACA,gBAAgB;AAAA,IAChB,eAAe;AAAA,EACjB,CAAC,IACD;AAEJ,SAAO,EAAE,mBAAmB,gBAAgB,SAAS;AACvD;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../../../../__chunks__/chunk-URJQWHBM.mjs";import"../../../../../__chunks__/chunk-VKDH4PYW.mjs";import"../../../../../__chunks__/chunk-K4ITACAF.mjs";import"../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../__chunks__/chunk-Y3BNMQFP.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-FMNY4EIM.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-3IMTI6JQ.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-6XHXG7HB.mjs";export{a as getFeeData};
1
+ import{a}from"../../../../../__chunks__/chunk-URJQWHBM.mjs";import"../../../../../__chunks__/chunk-VKDH4PYW.mjs";import"../../../../../__chunks__/chunk-K4ITACAF.mjs";import"../../../../../__chunks__/chunk-YGI3KXMZ.mjs";import"../../../../../__chunks__/chunk-Y3BNMQFP.mjs";import"../../../../../__chunks__/chunk-PJWJZHIS.mjs";import"../../../../../__chunks__/chunk-NTEMINYA.mjs";import"../../../../../__chunks__/chunk-5Y2ZDPP6.mjs";import"../../../../../__chunks__/chunk-LHEH7L4L.mjs";import"../../../../../__chunks__/chunk-YYVGE2ZU.mjs";import"../../../../../__chunks__/chunk-EJV4VNJG.mjs";import"../../../../../__chunks__/chunk-6R2WFQ7U.mjs";import"../../../../../__chunks__/chunk-4ZAZCOJD.mjs";import"../../../../../__chunks__/chunk-FI444OX3.mjs";import"../../../../../__chunks__/chunk-PKDR5ERF.mjs";import"../../../../../__chunks__/chunk-MGFIOCA4.mjs";import"../../../../../__chunks__/chunk-GGBMHKR4.mjs";import"../../../../../__chunks__/chunk-GLXG5BES.mjs";import"../../../../../__chunks__/chunk-LJX4MW7B.mjs";import"../../../../../__chunks__/chunk-G43Z243B.mjs";export{a as getFeeData};
2
2
  //# sourceMappingURL=getFeeData.mjs.map
@@ -1,2 +1,36 @@
1
- "use strict";var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(t,a)=>{for(var n in a)s(t,n,{get:a[n],enumerable:!0})},l=(t,a,n,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of T(a))!p.call(t,r)&&r!==n&&s(t,r,{get:()=>a[r],enumerable:!(e=o(a,r))||e.enumerable});return t};var u=t=>l(s({},"__esModule",{value:!0}),t);var d={};c(d,{getMultiEsdtTransferData:()=>y});module.exports=u(d);var i=require("./helpers/parseMultiEsdtTransferDataForMultipleTransactions");function y(t){const{allTransactions:a,parsedTransactionsByDataField:n}=(0,i.parseMultiEsdtTransferDataForMultipleTransactions)({transactions:t});return{parsedTransactionsByDataField:n,allTransactions:a}}0&&(module.exports={getMultiEsdtTransferData});
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 getMultiEsdtTransferData_exports = {};
20
+ __export(getMultiEsdtTransferData_exports, {
21
+ getMultiEsdtTransferData: () => getMultiEsdtTransferData
22
+ });
23
+ module.exports = __toCommonJS(getMultiEsdtTransferData_exports);
24
+ var import_parseMultiEsdtTransferDataForMultipleTransactions = require("./helpers/parseMultiEsdtTransferDataForMultipleTransactions");
25
+ function getMultiEsdtTransferData(transactions) {
26
+ const { allTransactions, parsedTransactionsByDataField } = (0, import_parseMultiEsdtTransferDataForMultipleTransactions.parseMultiEsdtTransferDataForMultipleTransactions)({ transactions });
27
+ return {
28
+ parsedTransactionsByDataField,
29
+ allTransactions
30
+ };
31
+ }
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ getMultiEsdtTransferData
35
+ });
2
36
  //# sourceMappingURL=getMultiEsdtTransferData.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/getMultiEsdtTransferData.ts"],
4
4
  "sourcesContent": ["import { Transaction } from '@multiversx/sdk-core';\nimport {\n MultiSignTransactionType,\n TransactionDataTokenType\n} from 'types/transactions.types';\nimport { parseMultiEsdtTransferDataForMultipleTransactions } from './helpers/parseMultiEsdtTransferDataForMultipleTransactions';\n\nexport type MultiEsdtTransferDataReturnType = ReturnType<\n typeof getMultiEsdtTransferData\n>;\n\nexport function getMultiEsdtTransferData(transactions?: Transaction[]): {\n parsedTransactionsByDataField: Record<string, TransactionDataTokenType>;\n allTransactions: MultiSignTransactionType[];\n} {\n const { allTransactions, parsedTransactionsByDataField } =\n parseMultiEsdtTransferDataForMultipleTransactions({ transactions });\n\n return {\n parsedTransactionsByDataField,\n allTransactions\n };\n}\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,8BAAAE,IAAA,eAAAC,EAAAH,GAKA,IAAAI,EAAkE,uEAM3D,SAASF,EAAyBG,EAGvC,CACA,KAAM,CAAE,gBAAAC,EAAiB,8BAAAC,CAA8B,KACrD,qDAAkD,CAAE,aAAAF,CAAa,CAAC,EAEpE,MAAO,CACL,8BAAAE,EACA,gBAAAD,CACF,CACF",
6
- "names": ["getMultiEsdtTransferData_exports", "__export", "getMultiEsdtTransferData", "__toCommonJS", "import_parseMultiEsdtTransferDataForMultipleTransactions", "transactions", "allTransactions", "parsedTransactionsByDataField"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,+DAAkE;AAM3D,SAAS,yBAAyB,cAGvC;AACA,QAAM,EAAE,iBAAiB,8BAA8B,QACrD,4GAAkD,EAAE,aAAa,CAAC;AAEpE,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,37 @@
1
- "use strict";var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var l=(e,n)=>{for(var i in n)r(e,i,{get:n[i],enumerable:!0})},x=(e,n,i,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let c of g(n))!d.call(e,c)&&c!==i&&r(e,c,{get:()=>n[c],enumerable:!(t=s(n,c))||t.enumerable});return e};var O=e=>x(r({},"__esModule",{value:!0}),e);var f={};l(f,{getAllStringOccurrences:()=>u});module.exports=O(f);const u=(e,n)=>{const i=[];let t=e.indexOf(n,0);for(;t>=0;)i.push(t),t=e.indexOf(n,t+1);return i};0&&(module.exports={getAllStringOccurrences});
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 getAllStringOccurrences_exports = {};
20
+ __export(getAllStringOccurrences_exports, {
21
+ getAllStringOccurrences: () => getAllStringOccurrences
22
+ });
23
+ module.exports = __toCommonJS(getAllStringOccurrences_exports);
24
+ const getAllStringOccurrences = (sourceStr, searchStr) => {
25
+ const startingIndices = [];
26
+ let indexOccurence = sourceStr.indexOf(searchStr, 0);
27
+ while (indexOccurence >= 0) {
28
+ startingIndices.push(indexOccurence);
29
+ indexOccurence = sourceStr.indexOf(searchStr, indexOccurence + 1);
30
+ }
31
+ return startingIndices;
32
+ };
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ getAllStringOccurrences
36
+ });
2
37
  //# sourceMappingURL=getAllStringOccurrences.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getAllStringOccurrences.ts"],
4
4
  "sourcesContent": ["export const getAllStringOccurrences = (\n sourceStr: string,\n searchStr: string\n) => {\n const startingIndices = [];\n\n let indexOccurence = sourceStr.indexOf(searchStr, 0);\n\n while (indexOccurence >= 0) {\n startingIndices.push(indexOccurence);\n indexOccurence = sourceStr.indexOf(searchStr, indexOccurence + 1);\n }\n\n return startingIndices;\n};\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,6BAAAE,IAAA,eAAAC,EAAAH,GAAO,MAAME,EAA0B,CACrCE,EACAC,IACG,CACH,MAAMC,EAAkB,CAAC,EAEzB,IAAIC,EAAiBH,EAAU,QAAQC,EAAW,CAAC,EAEnD,KAAOE,GAAkB,GACvBD,EAAgB,KAAKC,CAAc,EACnCA,EAAiBH,EAAU,QAAQC,EAAWE,EAAiB,CAAC,EAGlE,OAAOD,CACT",
6
- "names": ["getAllStringOccurrences_exports", "__export", "getAllStringOccurrences", "__toCommonJS", "sourceStr", "searchStr", "startingIndices", "indexOccurence"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,0BAA0B,CACrC,WACA,cACG;AACH,QAAM,kBAAkB,CAAC;AAEzB,MAAI,iBAAiB,UAAU,QAAQ,WAAW,CAAC;AAEnD,SAAO,kBAAkB,GAAG;AAC1B,oBAAgB,KAAK,cAAc;AACnC,qBAAiB,UAAU,QAAQ,WAAW,iBAAiB,CAAC;AAAA,EAClE;AAEA,SAAO;AACT;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,127 @@
1
- "use strict";var h=Object.create;var a=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var S=(n,e)=>{for(var s in e)a(n,s,{get:e[s],enumerable:!0})},g=(n,e,s,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of x(e))!B.call(n,t)&&t!==s&&a(n,t,{get:()=>e[t],enumerable:!(i=k(e,t))||i.enumerable});return n};var D=(n,e,s)=>(s=n!=null?h(y(n)):{},g(e||!n||!n.__esModule?a(s,"default",{value:n,enumerable:!0}):s,n)),v=n=>g(a({},"__esModule",{value:!0}),n);var E={};S(E,{decodeData:()=>l,getTokenFromData:()=>w});module.exports=v(E);var f=require("@multiversx/sdk-core"),u=D(require("bignumber.js")),d=require("../../../../../../../types/enums.types"),T=require("../../../../../../../utils/decoders/decodePart"),p=require("../../../../../../../utils/validation/addressIsValid");const m={tokenId:"",amount:""},l=n=>n.split("@").map((r,o)=>[2,3].includes(o)?r:(0,T.decodePart)(r));function w(n){if(!n)return m;const e=n.startsWith(d.TransactionTypesEnum.ESDTTransfer),s=n.startsWith(d.TransactionTypesEnum.ESDTNFTTransfer)&&n.includes("@"),i=n.startsWith(d.TransactionTypesEnum.ESDTNFTBurn)&&n.includes("@");if(e){const[,t,r]=n.split("@");try{const o=Buffer.from(t,"hex").toString("ascii");if(!o)return m;const c=new u.default("0x"+r.replace("0x","")).toString(10);return{tokenId:o,amount:c}}catch(o){console.error("Error getting token from transaction data",o)}}if(s)try{const[,t,r,o,c]=l(n);if([t,r,o,c].every(I=>!!I)&&(0,p.addressIsValid)(new f.Address(c).toBech32()))return{tokenId:`${t}-${r}`,amount:new u.default(o,16).toString(10),collection:t,nonce:r,receiver:new f.Address(c).toBech32()}}catch{}if(i)try{const[,t,r,o]=l(n);if([t,r,o].every(c=>!!c))return{tokenId:`${t}-${r}`,amount:new u.default(o,16).toString(10),collection:t,nonce:r}}catch{}return m}0&&(module.exports={decodeData,getTokenFromData});
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var getTokenFromData_exports = {};
30
+ __export(getTokenFromData_exports, {
31
+ decodeData: () => decodeData,
32
+ getTokenFromData: () => getTokenFromData
33
+ });
34
+ module.exports = __toCommonJS(getTokenFromData_exports);
35
+ var import_sdk_core = require("@multiversx/sdk-core");
36
+ var import_bignumber = __toESM(require("bignumber.js"));
37
+ var import_enums = require("../../../../../../../types/enums.types");
38
+ var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
39
+ var import_addressIsValid = require("../../../../../../../utils/validation/addressIsValid");
40
+ const noData = {
41
+ tokenId: "",
42
+ amount: ""
43
+ };
44
+ const decodeData = (data) => {
45
+ const nonceIndex = 2;
46
+ const amountIndex = 3;
47
+ const parts = data.split("@");
48
+ const decodedParts = parts.map(
49
+ (part, i) => [nonceIndex, amountIndex].includes(i) ? part : (0, import_decodePart.decodePart)(part)
50
+ );
51
+ return decodedParts;
52
+ };
53
+ function getTokenFromData(data) {
54
+ if (!data) {
55
+ return noData;
56
+ }
57
+ const isTokenTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTTransfer);
58
+ const isNftTransfer = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTTransfer) && data.includes("@");
59
+ const isNftBurn = data.startsWith(import_enums.TransactionTypesEnum.ESDTNFTBurn) && data.includes("@");
60
+ if (isTokenTransfer) {
61
+ const [, encodedToken, encodedAmount] = data.split("@");
62
+ try {
63
+ const tokenId = Buffer.from(encodedToken, "hex").toString("ascii");
64
+ if (!tokenId) {
65
+ return noData;
66
+ }
67
+ const amount = new import_bignumber.default(
68
+ "0x" + encodedAmount.replace("0x", "")
69
+ ).toString(10);
70
+ return {
71
+ tokenId,
72
+ amount
73
+ };
74
+ } catch (e) {
75
+ console.error("Error getting token from transaction data", e);
76
+ }
77
+ }
78
+ if (isNftTransfer) {
79
+ try {
80
+ const [
81
+ ,
82
+ /*ESDTNFTTransfer*/
83
+ collection,
84
+ nonce,
85
+ quantity,
86
+ receiver
87
+ ] = decodeData(data);
88
+ if ([collection, nonce, quantity, receiver].every((el) => Boolean(el)) && (0, import_addressIsValid.addressIsValid)(new import_sdk_core.Address(receiver).toBech32())) {
89
+ return {
90
+ tokenId: `${collection}-${nonce}`,
91
+ amount: new import_bignumber.default(quantity, 16).toString(10),
92
+ collection,
93
+ nonce,
94
+ receiver: new import_sdk_core.Address(receiver).toBech32()
95
+ };
96
+ }
97
+ } catch (_err) {
98
+ }
99
+ }
100
+ if (isNftBurn) {
101
+ try {
102
+ const [
103
+ ,
104
+ /*ESDTNFTBurn*/
105
+ collection,
106
+ nonce,
107
+ quantity
108
+ ] = decodeData(data);
109
+ if ([collection, nonce, quantity].every((el) => Boolean(el))) {
110
+ return {
111
+ tokenId: `${collection}-${nonce}`,
112
+ amount: new import_bignumber.default(quantity, 16).toString(10),
113
+ collection,
114
+ nonce
115
+ };
116
+ }
117
+ } catch (_err) {
118
+ }
119
+ }
120
+ return noData;
121
+ }
122
+ // Annotate the CommonJS export names for ESM import in node:
123
+ 0 && (module.exports = {
124
+ decodeData,
125
+ getTokenFromData
126
+ });
2
127
  //# sourceMappingURL=getTokenFromData.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/getTokenFromData.ts"],
4
4
  "sourcesContent": ["import { Address } from '@multiversx/sdk-core';\nimport BigNumber from 'bignumber.js';\nimport { TransactionTypesEnum } from 'types/enums.types';\nimport { decodePart } from 'utils/decoders/decodePart';\nimport { addressIsValid } from 'utils/validation/addressIsValid';\n\nconst noData = {\n tokenId: '',\n amount: ''\n};\n\nexport const decodeData = (data: string) => {\n const nonceIndex = 2;\n const amountIndex = 3;\n const parts = data.split('@');\n const decodedParts = parts.map((part, i) =>\n [nonceIndex, amountIndex].includes(i) ? part : decodePart(part)\n );\n return decodedParts;\n};\n\nexport function getTokenFromData(data?: string): {\n tokenId: string;\n amount: string;\n collection?: string;\n nonce?: string;\n receiver?: string;\n} {\n if (!data) {\n return noData;\n }\n\n const isTokenTransfer = data.startsWith(TransactionTypesEnum.ESDTTransfer);\n const isNftTransfer =\n data.startsWith(TransactionTypesEnum.ESDTNFTTransfer) && data.includes('@');\n const isNftBurn =\n data.startsWith(TransactionTypesEnum.ESDTNFTBurn) && data.includes('@');\n\n if (isTokenTransfer) {\n const [, encodedToken, encodedAmount] = data.split('@');\n try {\n const tokenId = Buffer.from(encodedToken, 'hex').toString('ascii');\n\n if (!tokenId) {\n return noData;\n }\n\n const amount = new BigNumber(\n '0x' + encodedAmount.replace('0x', '')\n ).toString(10);\n\n return {\n tokenId,\n amount\n };\n } catch (e) {\n console.error('Error getting token from transaction data', e);\n }\n }\n\n if (isNftTransfer) {\n try {\n const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] =\n decodeData(data);\n if (\n [collection, nonce, quantity, receiver].every((el) => Boolean(el)) &&\n addressIsValid(new Address(receiver).toBech32())\n ) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce,\n receiver: new Address(receiver).toBech32()\n };\n }\n } catch (_err) {\n /* empty */\n }\n }\n\n if (isNftBurn) {\n try {\n const [, /*ESDTNFTBurn*/ collection, nonce, quantity] = decodeData(data);\n if ([collection, nonce, quantity].every((el) => Boolean(el))) {\n return {\n tokenId: `${collection}-${nonce}`,\n amount: new BigNumber(quantity, 16).toString(10),\n collection,\n nonce\n };\n }\n } catch (_err) {\n /* empty */\n }\n }\n\n return noData;\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,EAAA,qBAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAwB,gCACxBC,EAAsB,2BACtBC,EAAqC,6BACrCC,EAA2B,qCAC3BC,EAA+B,2CAE/B,MAAMC,EAAS,CACb,QAAS,GACT,OAAQ,EACV,EAEaR,EAAcS,GAGXA,EAAK,MAAM,GAAG,EACD,IAAI,CAACC,EAAMC,IACpC,CAAC,EAAY,CAAW,EAAE,SAASA,CAAC,EAAID,KAAO,cAAWA,CAAI,CAChE,EAIK,SAAST,EAAiBQ,EAM/B,CACA,GAAI,CAACA,EACH,OAAOD,EAGT,MAAMI,EAAkBH,EAAK,WAAW,uBAAqB,YAAY,EACnEI,EACJJ,EAAK,WAAW,uBAAqB,eAAe,GAAKA,EAAK,SAAS,GAAG,EACtEK,EACJL,EAAK,WAAW,uBAAqB,WAAW,GAAKA,EAAK,SAAS,GAAG,EAExE,GAAIG,EAAiB,CACnB,KAAM,CAAC,CAAEG,EAAcC,CAAa,EAAIP,EAAK,MAAM,GAAG,EACtD,GAAI,CACF,MAAMQ,EAAU,OAAO,KAAKF,EAAc,KAAK,EAAE,SAAS,OAAO,EAEjE,GAAI,CAACE,EACH,OAAOT,EAGT,MAAMU,EAAS,IAAI,EAAAC,QACjB,KAAOH,EAAc,QAAQ,KAAM,EAAE,CACvC,EAAE,SAAS,EAAE,EAEb,MAAO,CACL,QAAAC,EACA,OAAAC,CACF,CACF,OAASE,EAAG,CACV,QAAQ,MAAM,4CAA6CA,CAAC,CAC9D,CACF,CAEA,GAAIP,EACF,GAAI,CACF,KAAM,CAAC,CAAsBQ,EAAYC,EAAOC,EAAUC,CAAQ,EAChExB,EAAWS,CAAI,EACjB,GACE,CAACY,EAAYC,EAAOC,EAAUC,CAAQ,EAAE,MAAOC,GAAO,EAAQA,CAAG,MACjE,kBAAe,IAAI,UAAQD,CAAQ,EAAE,SAAS,CAAC,EAE/C,MAAO,CACL,QAAS,GAAGH,CAAU,IAAIC,CAAK,GAC/B,OAAQ,IAAI,EAAAH,QAAUI,EAAU,EAAE,EAAE,SAAS,EAAE,EAC/C,WAAAF,EACA,MAAAC,EACA,SAAU,IAAI,UAAQE,CAAQ,EAAE,SAAS,CAC3C,CAEJ,MAAe,CAEf,CAGF,GAAIV,EACF,GAAI,CACF,KAAM,CAAC,CAAkBO,EAAYC,EAAOC,CAAQ,EAAIvB,EAAWS,CAAI,EACvE,GAAI,CAACY,EAAYC,EAAOC,CAAQ,EAAE,MAAOE,GAAO,EAAQA,CAAG,EACzD,MAAO,CACL,QAAS,GAAGJ,CAAU,IAAIC,CAAK,GAC/B,OAAQ,IAAI,EAAAH,QAAUI,EAAU,EAAE,EAAE,SAAS,EAAE,EAC/C,WAAAF,EACA,MAAAC,CACF,CAEJ,MAAe,CAEf,CAGF,OAAOd,CACT",
6
- "names": ["getTokenFromData_exports", "__export", "decodeData", "getTokenFromData", "__toCommonJS", "import_sdk_core", "import_bignumber", "import_enums", "import_decodePart", "import_addressIsValid", "noData", "data", "part", "i", "isTokenTransfer", "isNftTransfer", "isNftBurn", "encodedToken", "encodedAmount", "tokenId", "amount", "BigNumber", "e", "collection", "nonce", "quantity", "receiver", "el"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAwB;AACxB,uBAAsB;AACtB,mBAAqC;AACrC,wBAA2B;AAC3B,4BAA+B;AAE/B,MAAM,SAAS;AAAA,EACb,SAAS;AAAA,EACT,QAAQ;AACV;AAEO,MAAM,aAAa,CAAC,SAAiB;AAC1C,QAAM,aAAa;AACnB,QAAM,cAAc;AACpB,QAAM,QAAQ,KAAK,MAAM,GAAG;AAC5B,QAAM,eAAe,MAAM;AAAA,IAAI,CAAC,MAAM,MACpC,CAAC,YAAY,WAAW,EAAE,SAAS,CAAC,IAAI,WAAO,8BAAW,IAAI;AAAA,EAChE;AACA,SAAO;AACT;AAEO,SAAS,iBAAiB,MAM/B;AACA,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AAEA,QAAM,kBAAkB,KAAK,WAAW,kCAAqB,YAAY;AACzE,QAAM,gBACJ,KAAK,WAAW,kCAAqB,eAAe,KAAK,KAAK,SAAS,GAAG;AAC5E,QAAM,YACJ,KAAK,WAAW,kCAAqB,WAAW,KAAK,KAAK,SAAS,GAAG;AAExE,MAAI,iBAAiB;AACnB,UAAM,CAAC,EAAE,cAAc,aAAa,IAAI,KAAK,MAAM,GAAG;AACtD,QAAI;AACF,YAAM,UAAU,OAAO,KAAK,cAAc,KAAK,EAAE,SAAS,OAAO;AAEjE,UAAI,CAAC,SAAS;AACZ,eAAO;AAAA,MACT;AAEA,YAAM,SAAS,IAAI,iBAAAA;AAAA,QACjB,OAAO,cAAc,QAAQ,MAAM,EAAE;AAAA,MACvC,EAAE,SAAS,EAAE;AAEb,aAAO;AAAA,QACL;AAAA,QACA;AAAA,MACF;AAAA,IACF,SAAS,GAAG;AACV,cAAQ,MAAM,6CAA6C,CAAC;AAAA,IAC9D;AAAA,EACF;AAEA,MAAI,eAAe;AACjB,QAAI;AACF,YAAM;AAAA,QAAC;AAAA;AAAA,QAAsB;AAAA,QAAY;AAAA,QAAO;AAAA,QAAU;AAAA,MAAQ,IAChE,WAAW,IAAI;AACjB,UACE,CAAC,YAAY,OAAO,UAAU,QAAQ,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE,CAAC,SACjE,sCAAe,IAAI,wBAAQ,QAAQ,EAAE,SAAS,CAAC,GAC/C;AACA,eAAO;AAAA,UACL,SAAS,GAAG,UAAU,IAAI,KAAK;AAAA,UAC/B,QAAQ,IAAI,iBAAAA,QAAU,UAAU,EAAE,EAAE,SAAS,EAAE;AAAA,UAC/C;AAAA,UACA;AAAA,UACA,UAAU,IAAI,wBAAQ,QAAQ,EAAE,SAAS;AAAA,QAC3C;AAAA,MACF;AAAA,IACF,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AAEA,MAAI,WAAW;AACb,QAAI;AACF,YAAM;AAAA,QAAC;AAAA;AAAA,QAAkB;AAAA,QAAY;AAAA,QAAO;AAAA,MAAQ,IAAI,WAAW,IAAI;AACvE,UAAI,CAAC,YAAY,OAAO,QAAQ,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE,CAAC,GAAG;AAC5D,eAAO;AAAA,UACL,SAAS,GAAG,UAAU,IAAI,KAAK;AAAA,UAC/B,QAAQ,IAAI,iBAAAA,QAAU,UAAU,EAAE,EAAE,SAAS,EAAE;AAAA,UAC/C;AAAA,UACA;AAAA,QACF;AAAA,MACF;AAAA,IACF,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AAEA,SAAO;AACT;",
6
+ "names": ["BigNumber"]
7
7
  }
@@ -1,2 +1,119 @@
1
- "use strict";var S=Object.create;var u=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty;var k=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},p=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of N(t))!M.call(e,c)&&c!==r&&u(e,c,{get:()=>t[c],enumerable:!(i=b(t,c))||i.enumerable});return e};var A=(e,t,r)=>(r=e!=null?S(C(e)):{},p(t||!e||!e.__esModule?u(r,"default",{value:e,enumerable:!0}):r,e)),D=e=>p(u({},"__esModule",{value:!0}),e);var O={};k(O,{parseMultiEsdtTransferData:()=>I});module.exports=D(O);var T=A(require("bignumber.js")),d=require("../../../../../../../types/enums.types"),g=require("../../../../../../../utils/decoders/decodePart"),h=require("./getAllStringOccurrences");function I(e){const t=[];let r=0;try{if(e?.startsWith(d.TransactionTypesEnum.MultiESDTNFTTransfer)&&e?.includes("@")){const[,i,c,...a]=e.split("@");if(i){const l=new T.default(c,16).toNumber();if(l>=Number.MAX_SAFE_INTEGER)return[];let s=0;for(let o=0;o<l;o++){const n={type:d.TransactionTypesEnum.nftTransaction,data:"",receiver:i};for(let f=0;f<3;f++){switch(f){case 0:n.token=(0,g.decodePart)(a[s]),n.data=a[s];break;case 1:{const m=a[s]&&a[s].length?a[s]:"";m&&m!=="00"?n.nonce=m:n.type=d.TransactionTypesEnum.esdtTransaction,n.data=`${n.data}@${a[s]}`;break}case 2:n.amount=new T.default(a[s],16).toString(10),n.data=`${n.data}@${a[s]}`;break;default:break}r=s+1,s++}t[o]=n}const x=t.length!==l,E=t.some(o=>(0,h.getAllStringOccurrences)(o.data,"@").length!==2),y=t.some(o=>o.data.startsWith("@"));if(x||E||y)return[];if(a[r]){let o=a[r];for(let n=r+1;n<a.length;n++)o+="@"+a[n];t[l]={type:d.TransactionTypesEnum.scCall,data:o,receiver:i}}}}}catch(i){return console.error("failed parsing tx",i),t}return t}0&&(module.exports={parseMultiEsdtTransferData});
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var parseMultiEsdtTransferData_exports = {};
30
+ __export(parseMultiEsdtTransferData_exports, {
31
+ parseMultiEsdtTransferData: () => parseMultiEsdtTransferData
32
+ });
33
+ module.exports = __toCommonJS(parseMultiEsdtTransferData_exports);
34
+ var import_bignumber = __toESM(require("bignumber.js"));
35
+ var import_enums = require("../../../../../../../types/enums.types");
36
+ var import_decodePart = require("../../../../../../../utils/decoders/decodePart");
37
+ var import_getAllStringOccurrences = require("./getAllStringOccurrences");
38
+ function parseMultiEsdtTransferData(data) {
39
+ const transactions = [];
40
+ let contractCallDataIndex = 0;
41
+ try {
42
+ if (data?.startsWith(import_enums.TransactionTypesEnum.MultiESDTNFTTransfer) && data?.includes("@")) {
43
+ const [, receiver, encodedTxCount, ...rest] = data.split("@");
44
+ if (receiver) {
45
+ const txCount = new import_bignumber.default(encodedTxCount, 16).toNumber();
46
+ if (txCount >= Number.MAX_SAFE_INTEGER) {
47
+ return [];
48
+ }
49
+ let itemIndex = 0;
50
+ for (let txIndex = 0; txIndex < txCount; txIndex++) {
51
+ const transaction = {
52
+ type: import_enums.TransactionTypesEnum.nftTransaction,
53
+ data: "",
54
+ receiver
55
+ };
56
+ for (let index = 0; index < 3; index++) {
57
+ switch (index) {
58
+ case 0:
59
+ transaction.token = (0, import_decodePart.decodePart)(rest[itemIndex]);
60
+ transaction.data = rest[itemIndex];
61
+ break;
62
+ case 1: {
63
+ const encodedNonce = rest[itemIndex] && rest[itemIndex].length ? rest[itemIndex] : "";
64
+ if (encodedNonce && encodedNonce !== "00") {
65
+ transaction.nonce = encodedNonce;
66
+ } else {
67
+ transaction.type = import_enums.TransactionTypesEnum.esdtTransaction;
68
+ }
69
+ transaction.data = `${transaction.data}@${rest[itemIndex]}`;
70
+ break;
71
+ }
72
+ case 2:
73
+ transaction.amount = new import_bignumber.default(
74
+ rest[itemIndex],
75
+ 16
76
+ ).toString(10);
77
+ transaction.data = `${transaction.data}@${rest[itemIndex]}`;
78
+ break;
79
+ default:
80
+ break;
81
+ }
82
+ contractCallDataIndex = itemIndex + 1;
83
+ itemIndex++;
84
+ }
85
+ transactions[txIndex] = transaction;
86
+ }
87
+ const isDifferentFromTxCount = transactions.length !== txCount;
88
+ const hasInvalidNoOfAdSigns = transactions.some((tx) => {
89
+ const adSignOccurences = (0, import_getAllStringOccurrences.getAllStringOccurrences)(tx.data, "@").length;
90
+ return adSignOccurences !== 2;
91
+ });
92
+ const hasAdStart = transactions.some((tx) => tx.data.startsWith("@"));
93
+ if (isDifferentFromTxCount || hasInvalidNoOfAdSigns || hasAdStart) {
94
+ return [];
95
+ }
96
+ if (rest[contractCallDataIndex]) {
97
+ let scCallData = rest[contractCallDataIndex];
98
+ for (let i = contractCallDataIndex + 1; i < rest.length; i++) {
99
+ scCallData += "@" + rest[i];
100
+ }
101
+ transactions[txCount] = {
102
+ type: import_enums.TransactionTypesEnum.scCall,
103
+ data: scCallData,
104
+ receiver
105
+ };
106
+ }
107
+ }
108
+ }
109
+ } catch (err) {
110
+ console.error("failed parsing tx", err);
111
+ return transactions;
112
+ }
113
+ return transactions;
114
+ }
115
+ // Annotate the CommonJS export names for ESM import in node:
116
+ 0 && (module.exports = {
117
+ parseMultiEsdtTransferData
118
+ });
2
119
  //# sourceMappingURL=parseMultiEsdtTransferData.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferData.ts"],
4
4
  "sourcesContent": ["import BigNumber from 'bignumber.js';\nimport { TransactionTypesEnum } from 'types/enums.types';\nimport { MultiEsdtTransactionType } from 'types/transactions.types';\nimport { decodePart } from 'utils/decoders/decodePart';\nimport { getAllStringOccurrences } from './getAllStringOccurrences';\n\n// TODO: add tests\nexport function parseMultiEsdtTransferData(data?: string) {\n const transactions: MultiEsdtTransactionType[] = [];\n let contractCallDataIndex = 0;\n try {\n if (\n data?.startsWith(TransactionTypesEnum.MultiESDTNFTTransfer) &&\n data?.includes('@')\n ) {\n const [, receiver, encodedTxCount, ...rest] = data.split('@');\n\n if (receiver) {\n const txCount = new BigNumber(encodedTxCount, 16).toNumber();\n\n if (txCount >= Number.MAX_SAFE_INTEGER) {\n return [];\n }\n\n let itemIndex = 0;\n\n for (let txIndex = 0; txIndex < txCount; txIndex++) {\n const transaction: MultiEsdtTransactionType = {\n type: TransactionTypesEnum.nftTransaction,\n data: '',\n receiver\n };\n\n for (let index = 0; index < 3; index++) {\n switch (index) {\n case 0:\n transaction.token = decodePart(rest[itemIndex]);\n transaction.data = rest[itemIndex];\n break;\n case 1: {\n const encodedNonce =\n rest[itemIndex] && rest[itemIndex].length\n ? rest[itemIndex]\n : '';\n if (encodedNonce && encodedNonce !== '00') {\n transaction.nonce = encodedNonce;\n } else {\n transaction.type = TransactionTypesEnum.esdtTransaction;\n }\n transaction.data = `${transaction.data}@${rest[itemIndex]}`;\n break;\n }\n case 2:\n transaction.amount = new BigNumber(\n rest[itemIndex],\n 16\n ).toString(10);\n transaction.data = `${transaction.data}@${rest[itemIndex]}`;\n break;\n default:\n break;\n }\n contractCallDataIndex = itemIndex + 1;\n itemIndex++;\n }\n transactions[txIndex] = transaction;\n }\n\n const isDifferentFromTxCount = transactions.length !== txCount;\n const hasInvalidNoOfAdSigns = transactions.some((tx) => {\n const adSignOccurences = getAllStringOccurrences(tx.data, '@').length;\n return adSignOccurences !== 2;\n });\n\n const hasAdStart = transactions.some((tx) => tx.data.startsWith('@'));\n if (isDifferentFromTxCount || hasInvalidNoOfAdSigns || hasAdStart) {\n return [];\n }\n\n if (rest[contractCallDataIndex]) {\n let scCallData = rest[contractCallDataIndex];\n for (let i = contractCallDataIndex + 1; i < rest.length; i++) {\n scCallData += '@' + rest[i];\n }\n transactions[txCount] = {\n type: TransactionTypesEnum.scCall,\n data: scCallData,\n receiver\n };\n }\n }\n }\n } catch (err) {\n console.error('failed parsing tx', err);\n return transactions;\n }\n return transactions;\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gCAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAsB,2BACtBC,EAAqC,6BAErCC,EAA2B,qCAC3BC,EAAwC,qCAGjC,SAASL,EAA2BM,EAAe,CACxD,MAAMC,EAA2C,CAAC,EAClD,IAAIC,EAAwB,EAC5B,GAAI,CACF,GACEF,GAAM,WAAW,uBAAqB,oBAAoB,GAC1DA,GAAM,SAAS,GAAG,EAClB,CACA,KAAM,CAAC,CAAEG,EAAUC,EAAgB,GAAGC,CAAI,EAAIL,EAAK,MAAM,GAAG,EAE5D,GAAIG,EAAU,CACZ,MAAMG,EAAU,IAAI,EAAAC,QAAUH,EAAgB,EAAE,EAAE,SAAS,EAE3D,GAAIE,GAAW,OAAO,iBACpB,MAAO,CAAC,EAGV,IAAIE,EAAY,EAEhB,QAASC,EAAU,EAAGA,EAAUH,EAASG,IAAW,CAClD,MAAMC,EAAwC,CAC5C,KAAM,uBAAqB,eAC3B,KAAM,GACN,SAAAP,CACF,EAEA,QAASQ,EAAQ,EAAGA,EAAQ,EAAGA,IAAS,CACtC,OAAQA,EAAO,CACb,IAAK,GACHD,EAAY,SAAQ,cAAWL,EAAKG,CAAS,CAAC,EAC9CE,EAAY,KAAOL,EAAKG,CAAS,EACjC,MACF,IAAK,GAAG,CACN,MAAMI,EACJP,EAAKG,CAAS,GAAKH,EAAKG,CAAS,EAAE,OAC/BH,EAAKG,CAAS,EACd,GACFI,GAAgBA,IAAiB,KACnCF,EAAY,MAAQE,EAEpBF,EAAY,KAAO,uBAAqB,gBAE1CA,EAAY,KAAO,GAAGA,EAAY,IAAI,IAAIL,EAAKG,CAAS,CAAC,GACzD,KACF,CACA,IAAK,GACHE,EAAY,OAAS,IAAI,EAAAH,QACvBF,EAAKG,CAAS,EACd,EACF,EAAE,SAAS,EAAE,EACbE,EAAY,KAAO,GAAGA,EAAY,IAAI,IAAIL,EAAKG,CAAS,CAAC,GACzD,MACF,QACE,KACJ,CACAN,EAAwBM,EAAY,EACpCA,GACF,CACAP,EAAaQ,CAAO,EAAIC,CAC1B,CAEA,MAAMG,EAAyBZ,EAAa,SAAWK,EACjDQ,EAAwBb,EAAa,KAAMc,MACtB,2BAAwBA,EAAG,KAAM,GAAG,EAAE,SACnC,CAC7B,EAEKC,EAAaf,EAAa,KAAMc,GAAOA,EAAG,KAAK,WAAW,GAAG,CAAC,EACpE,GAAIF,GAA0BC,GAAyBE,EACrD,MAAO,CAAC,EAGV,GAAIX,EAAKH,CAAqB,EAAG,CAC/B,IAAIe,EAAaZ,EAAKH,CAAqB,EAC3C,QAASgB,EAAIhB,EAAwB,EAAGgB,EAAIb,EAAK,OAAQa,IACvDD,GAAc,IAAMZ,EAAKa,CAAC,EAE5BjB,EAAaK,CAAO,EAAI,CACtB,KAAM,uBAAqB,OAC3B,KAAMW,EACN,SAAAd,CACF,CACF,CACF,CACF,CACF,OAASgB,EAAK,CACZ,eAAQ,MAAM,oBAAqBA,CAAG,EAC/BlB,CACT,CACA,OAAOA,CACT",
6
- "names": ["parseMultiEsdtTransferData_exports", "__export", "parseMultiEsdtTransferData", "__toCommonJS", "import_bignumber", "import_enums", "import_decodePart", "import_getAllStringOccurrences", "data", "transactions", "contractCallDataIndex", "receiver", "encodedTxCount", "rest", "txCount", "BigNumber", "itemIndex", "txIndex", "transaction", "index", "encodedNonce", "isDifferentFromTxCount", "hasInvalidNoOfAdSigns", "tx", "hasAdStart", "scCallData", "i", "err"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAsB;AACtB,mBAAqC;AAErC,wBAA2B;AAC3B,qCAAwC;AAGjC,SAAS,2BAA2B,MAAe;AACxD,QAAM,eAA2C,CAAC;AAClD,MAAI,wBAAwB;AAC5B,MAAI;AACF,QACE,MAAM,WAAW,kCAAqB,oBAAoB,KAC1D,MAAM,SAAS,GAAG,GAClB;AACA,YAAM,CAAC,EAAE,UAAU,gBAAgB,GAAG,IAAI,IAAI,KAAK,MAAM,GAAG;AAE5D,UAAI,UAAU;AACZ,cAAM,UAAU,IAAI,iBAAAA,QAAU,gBAAgB,EAAE,EAAE,SAAS;AAE3D,YAAI,WAAW,OAAO,kBAAkB;AACtC,iBAAO,CAAC;AAAA,QACV;AAEA,YAAI,YAAY;AAEhB,iBAAS,UAAU,GAAG,UAAU,SAAS,WAAW;AAClD,gBAAM,cAAwC;AAAA,YAC5C,MAAM,kCAAqB;AAAA,YAC3B,MAAM;AAAA,YACN;AAAA,UACF;AAEA,mBAAS,QAAQ,GAAG,QAAQ,GAAG,SAAS;AACtC,oBAAQ,OAAO;AAAA,cACb,KAAK;AACH,4BAAY,YAAQ,8BAAW,KAAK,SAAS,CAAC;AAC9C,4BAAY,OAAO,KAAK,SAAS;AACjC;AAAA,cACF,KAAK,GAAG;AACN,sBAAM,eACJ,KAAK,SAAS,KAAK,KAAK,SAAS,EAAE,SAC/B,KAAK,SAAS,IACd;AACN,oBAAI,gBAAgB,iBAAiB,MAAM;AACzC,8BAAY,QAAQ;AAAA,gBACtB,OAAO;AACL,8BAAY,OAAO,kCAAqB;AAAA,gBAC1C;AACA,4BAAY,OAAO,GAAG,YAAY,IAAI,IAAI,KAAK,SAAS,CAAC;AACzD;AAAA,cACF;AAAA,cACA,KAAK;AACH,4BAAY,SAAS,IAAI,iBAAAA;AAAA,kBACvB,KAAK,SAAS;AAAA,kBACd;AAAA,gBACF,EAAE,SAAS,EAAE;AACb,4BAAY,OAAO,GAAG,YAAY,IAAI,IAAI,KAAK,SAAS,CAAC;AACzD;AAAA,cACF;AACE;AAAA,YACJ;AACA,oCAAwB,YAAY;AACpC;AAAA,UACF;AACA,uBAAa,OAAO,IAAI;AAAA,QAC1B;AAEA,cAAM,yBAAyB,aAAa,WAAW;AACvD,cAAM,wBAAwB,aAAa,KAAK,CAAC,OAAO;AACtD,gBAAM,uBAAmB,wDAAwB,GAAG,MAAM,GAAG,EAAE;AAC/D,iBAAO,qBAAqB;AAAA,QAC9B,CAAC;AAED,cAAM,aAAa,aAAa,KAAK,CAAC,OAAO,GAAG,KAAK,WAAW,GAAG,CAAC;AACpE,YAAI,0BAA0B,yBAAyB,YAAY;AACjE,iBAAO,CAAC;AAAA,QACV;AAEA,YAAI,KAAK,qBAAqB,GAAG;AAC/B,cAAI,aAAa,KAAK,qBAAqB;AAC3C,mBAAS,IAAI,wBAAwB,GAAG,IAAI,KAAK,QAAQ,KAAK;AAC5D,0BAAc,MAAM,KAAK,CAAC;AAAA,UAC5B;AACA,uBAAa,OAAO,IAAI;AAAA,YACtB,MAAM,kCAAqB;AAAA,YAC3B,MAAM;AAAA,YACN;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF,SAAS,KAAK;AACZ,YAAQ,MAAM,qBAAqB,GAAG;AACtC,WAAO;AAAA,EACT;AACA,SAAO;AACT;",
6
+ "names": ["BigNumber"]
7
7
  }
@@ -1,2 +1,87 @@
1
- "use strict";var T=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(a,n)=>{for(var t in n)T(a,t,{get:n[t],enumerable:!0})},k=(a,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of D(n))!y.call(a,i)&&i!==t&&T(a,i,{get:()=>n[i],enumerable:!(o=g(n,i))||o.enumerable});return a};var M=a=>k(T({},"__esModule",{value:!0}),a);var S={};h(S,{parseMultiEsdtTransferDataForMultipleTransactions:()=>v});module.exports=M(S);var l=require("../../../../../../../utils/decoders/base64Utils"),p=require("./getTokenFromData"),u=require("./parseMultiEsdtTransferData");function v({transactions:a}){const n=[],t={};return!a||a.length===0?{allTransactions:n,parsedTransactionsByDataField:t}:(a.forEach((o,i)=>{const m=o.toPlainObject(),s=(0,l.decodeBase64)(m?.data??""),c=(0,u.parseMultiEsdtTransferData)(s);if(c.length>0)c.forEach((e,r)=>{const d=r===c.length-1,f={transaction:o,multiTxData:e.data,transactionIndex:r,needsSigning:d};t[e.data]={tokenId:e.token?e.token:"",amount:e.amount?e.amount:"",type:e.type,nonce:e.nonce?e.nonce:"",multiTxData:e.data,receiver:e.receiver},n.push(f)});else{const{tokenId:e,amount:r}=(0,p.getTokenFromData)(s);e&&(t[s]={tokenId:e,amount:r,receiver:o.receiver.toBech32()}),n.push({transaction:o,transactionIndex:i,multiTxData:s,needsSigning:!0})}}),{allTransactions:n,parsedTransactionsByDataField:t})}0&&(module.exports={parseMultiEsdtTransferDataForMultipleTransactions});
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 parseMultiEsdtTransferDataForMultipleTransactions_exports = {};
20
+ __export(parseMultiEsdtTransferDataForMultipleTransactions_exports, {
21
+ parseMultiEsdtTransferDataForMultipleTransactions: () => parseMultiEsdtTransferDataForMultipleTransactions
22
+ });
23
+ module.exports = __toCommonJS(parseMultiEsdtTransferDataForMultipleTransactions_exports);
24
+ var import_base64Utils = require("../../../../../../../utils/decoders/base64Utils");
25
+ var import_getTokenFromData = require("./getTokenFromData");
26
+ var import_parseMultiEsdtTransferData = require("./parseMultiEsdtTransferData");
27
+ function parseMultiEsdtTransferDataForMultipleTransactions({
28
+ transactions
29
+ }) {
30
+ const allTransactions = [];
31
+ const parsedTransactionsByDataField = {};
32
+ if (!transactions || transactions.length === 0) {
33
+ return {
34
+ allTransactions,
35
+ parsedTransactionsByDataField
36
+ };
37
+ }
38
+ transactions.forEach((transaction, transactionIndex) => {
39
+ const plainTransaction = transaction.toPlainObject();
40
+ const txData = (0, import_base64Utils.decodeBase64)(plainTransaction?.data ?? "");
41
+ const multiTxs = (0, import_parseMultiEsdtTransferData.parseMultiEsdtTransferData)(txData);
42
+ if (multiTxs.length > 0) {
43
+ multiTxs.forEach((trx, idx) => {
44
+ const isLastView = idx === multiTxs.length - 1;
45
+ const newTx = {
46
+ transaction,
47
+ multiTxData: trx.data,
48
+ transactionIndex: idx,
49
+ needsSigning: isLastView
50
+ };
51
+ parsedTransactionsByDataField[trx.data] = {
52
+ tokenId: trx.token ? trx.token : "",
53
+ amount: trx.amount ? trx.amount : "",
54
+ type: trx.type,
55
+ nonce: trx.nonce ? trx.nonce : "",
56
+ multiTxData: trx.data,
57
+ receiver: trx.receiver
58
+ };
59
+ allTransactions.push(newTx);
60
+ });
61
+ } else {
62
+ const { tokenId, amount } = (0, import_getTokenFromData.getTokenFromData)(txData);
63
+ if (tokenId) {
64
+ parsedTransactionsByDataField[txData] = {
65
+ tokenId,
66
+ amount,
67
+ receiver: transaction.receiver.toBech32()
68
+ };
69
+ }
70
+ allTransactions.push({
71
+ transaction,
72
+ transactionIndex,
73
+ multiTxData: txData,
74
+ needsSigning: true
75
+ });
76
+ }
77
+ });
78
+ return {
79
+ allTransactions,
80
+ parsedTransactionsByDataField
81
+ };
82
+ }
83
+ // Annotate the CommonJS export names for ESM import in node:
84
+ 0 && (module.exports = {
85
+ parseMultiEsdtTransferDataForMultipleTransactions
86
+ });
2
87
  //# sourceMappingURL=parseMultiEsdtTransferDataForMultipleTransactions.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../src/providers/strategies/helpers/signTransactions/helpers/getMultiEsdtTransferData/helpers/parseMultiEsdtTransferDataForMultipleTransactions.ts"],
4
4
  "sourcesContent": ["import type { Transaction } from '@multiversx/sdk-core';\n\nimport {\n MultiSignTransactionType,\n TransactionsDataTokensType\n} from 'types/transactions.types';\nimport { decodeBase64 } from 'utils/decoders/base64Utils';\nimport { getTokenFromData } from './getTokenFromData';\nimport { parseMultiEsdtTransferData } from './parseMultiEsdtTransferData';\n\nexport function parseMultiEsdtTransferDataForMultipleTransactions({\n transactions\n}: {\n transactions?: Transaction[];\n}) {\n const allTransactions: MultiSignTransactionType[] = [];\n const parsedTransactionsByDataField: TransactionsDataTokensType = {};\n\n if (!transactions || transactions.length === 0) {\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n }\n\n transactions.forEach((transaction, transactionIndex) => {\n const plainTransaction = transaction.toPlainObject();\n const txData = decodeBase64(plainTransaction?.data ?? '');\n const multiTxs = parseMultiEsdtTransferData(txData);\n\n if (multiTxs.length > 0) {\n multiTxs.forEach((trx, idx) => {\n const isLastView = idx === multiTxs.length - 1;\n\n const newTx: MultiSignTransactionType = {\n transaction,\n multiTxData: trx.data,\n transactionIndex: idx,\n needsSigning: isLastView\n };\n\n parsedTransactionsByDataField[trx.data] = {\n tokenId: trx.token ? trx.token : '',\n amount: trx.amount ? trx.amount : '',\n type: trx.type,\n nonce: trx.nonce ? trx.nonce : '',\n multiTxData: trx.data,\n receiver: trx.receiver\n };\n\n allTransactions.push(newTx);\n });\n } else {\n const { tokenId, amount } = getTokenFromData(txData);\n\n if (tokenId) {\n parsedTransactionsByDataField[txData] = {\n tokenId,\n amount,\n receiver: transaction.receiver.toBech32()\n };\n }\n allTransactions.push({\n transaction,\n transactionIndex,\n multiTxData: txData,\n needsSigning: true\n });\n }\n });\n\n return {\n allTransactions,\n parsedTransactionsByDataField\n };\n}\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,uDAAAE,IAAA,eAAAC,EAAAH,GAMA,IAAAI,EAA6B,sCAC7BC,EAAiC,8BACjCC,EAA2C,wCAEpC,SAASJ,EAAkD,CAChE,aAAAK,CACF,EAEG,CACD,MAAMC,EAA8C,CAAC,EAC/CC,EAA4D,CAAC,EAEnE,MAAI,CAACF,GAAgBA,EAAa,SAAW,EACpC,CACL,gBAAAC,EACA,8BAAAC,CACF,GAGFF,EAAa,QAAQ,CAACG,EAAaC,IAAqB,CACtD,MAAMC,EAAmBF,EAAY,cAAc,EAC7CG,KAAS,gBAAaD,GAAkB,MAAQ,EAAE,EAClDE,KAAW,8BAA2BD,CAAM,EAElD,GAAIC,EAAS,OAAS,EACpBA,EAAS,QAAQ,CAACC,EAAKC,IAAQ,CAC7B,MAAMC,EAAaD,IAAQF,EAAS,OAAS,EAEvCI,EAAkC,CACtC,YAAAR,EACA,YAAaK,EAAI,KACjB,iBAAkBC,EAClB,aAAcC,CAChB,EAEAR,EAA8BM,EAAI,IAAI,EAAI,CACxC,QAASA,EAAI,MAAQA,EAAI,MAAQ,GACjC,OAAQA,EAAI,OAASA,EAAI,OAAS,GAClC,KAAMA,EAAI,KACV,MAAOA,EAAI,MAAQA,EAAI,MAAQ,GAC/B,YAAaA,EAAI,KACjB,SAAUA,EAAI,QAChB,EAEAP,EAAgB,KAAKU,CAAK,CAC5B,CAAC,MACI,CACL,KAAM,CAAE,QAAAC,EAAS,OAAAC,CAAO,KAAI,oBAAiBP,CAAM,EAE/CM,IACFV,EAA8BI,CAAM,EAAI,CACtC,QAAAM,EACA,OAAAC,EACA,SAAUV,EAAY,SAAS,SAAS,CAC1C,GAEFF,EAAgB,KAAK,CACnB,YAAAE,EACA,iBAAAC,EACA,YAAaE,EACb,aAAc,EAChB,CAAC,CACH,CACF,CAAC,EAEM,CACL,gBAAAL,EACA,8BAAAC,CACF,EACF",
6
- "names": ["parseMultiEsdtTransferDataForMultipleTransactions_exports", "__export", "parseMultiEsdtTransferDataForMultipleTransactions", "__toCommonJS", "import_base64Utils", "import_getTokenFromData", "import_parseMultiEsdtTransferData", "transactions", "allTransactions", "parsedTransactionsByDataField", "transaction", "transactionIndex", "plainTransaction", "txData", "multiTxs", "trx", "idx", "isLastView", "newTx", "tokenId", "amount"]
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAA6B;AAC7B,8BAAiC;AACjC,wCAA2C;AAEpC,SAAS,kDAAkD;AAAA,EAChE;AACF,GAEG;AACD,QAAM,kBAA8C,CAAC;AACrD,QAAM,gCAA4D,CAAC;AAEnE,MAAI,CAAC,gBAAgB,aAAa,WAAW,GAAG;AAC9C,WAAO;AAAA,MACL;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAEA,eAAa,QAAQ,CAAC,aAAa,qBAAqB;AACtD,UAAM,mBAAmB,YAAY,cAAc;AACnD,UAAM,aAAS,iCAAa,kBAAkB,QAAQ,EAAE;AACxD,UAAM,eAAW,8DAA2B,MAAM;AAElD,QAAI,SAAS,SAAS,GAAG;AACvB,eAAS,QAAQ,CAAC,KAAK,QAAQ;AAC7B,cAAM,aAAa,QAAQ,SAAS,SAAS;AAE7C,cAAM,QAAkC;AAAA,UACtC;AAAA,UACA,aAAa,IAAI;AAAA,UACjB,kBAAkB;AAAA,UAClB,cAAc;AAAA,QAChB;AAEA,sCAA8B,IAAI,IAAI,IAAI;AAAA,UACxC,SAAS,IAAI,QAAQ,IAAI,QAAQ;AAAA,UACjC,QAAQ,IAAI,SAAS,IAAI,SAAS;AAAA,UAClC,MAAM,IAAI;AAAA,UACV,OAAO,IAAI,QAAQ,IAAI,QAAQ;AAAA,UAC/B,aAAa,IAAI;AAAA,UACjB,UAAU,IAAI;AAAA,QAChB;AAEA,wBAAgB,KAAK,KAAK;AAAA,MAC5B,CAAC;AAAA,IACH,OAAO;AACL,YAAM,EAAE,SAAS,OAAO,QAAI,0CAAiB,MAAM;AAEnD,UAAI,SAAS;AACX,sCAA8B,MAAM,IAAI;AAAA,UACtC;AAAA,UACA;AAAA,UACA,UAAU,YAAY,SAAS,SAAS;AAAA,QAC1C;AAAA,MACF;AACA,sBAAgB,KAAK;AAAA,QACnB;AAAA,QACA;AAAA,QACA,aAAa;AAAA,QACb,cAAc;AAAA,MAChB,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;",
6
+ "names": []
7
7
  }
@@ -1,2 +1,47 @@
1
- "use strict";var n=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var c=(e,r)=>{for(var o in r)n(e,o,{get:r[o],enumerable:!0})},W=(e,r,o,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of d(r))!a.call(e,s)&&s!==o&&n(e,s,{get:()=>r[s],enumerable:!(t=l(r,s))||t.enumerable});return e};var u=e=>W(n({},"__esModule",{value:!0}),e);var g={};c(g,{getCrossWindowProvider:()=>w});module.exports=u(g);var i=require("../../../../../../lib/sdkWebWalletCrossWindowProvider");async function w({address:e,walletUrl:r}){try{const o=i.CrossWindowProvider.getInstance(),t=await o.init();if(o.setAddress(e).setWalletUrl(r),t)return o;console.error("Could not initialize CrossWindowWallet Provider")}catch(o){console.error("Unable to login to CrossWindowWallet Provider",o)}return null}0&&(module.exports={getCrossWindowProvider});
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 getCrossWindowProvider_exports = {};
20
+ __export(getCrossWindowProvider_exports, {
21
+ getCrossWindowProvider: () => getCrossWindowProvider
22
+ });
23
+ module.exports = __toCommonJS(getCrossWindowProvider_exports);
24
+ var import_sdkWebWalletCrossWindowProvider = require("../../../../../../lib/sdkWebWalletCrossWindowProvider");
25
+ async function getCrossWindowProvider({
26
+ address,
27
+ walletUrl
28
+ }) {
29
+ try {
30
+ const provider = import_sdkWebWalletCrossWindowProvider.CrossWindowProvider.getInstance();
31
+ const success = await provider.init();
32
+ provider.setAddress(address).setWalletUrl(walletUrl);
33
+ if (success) {
34
+ return provider;
35
+ } else {
36
+ console.error("Could not initialize CrossWindowWallet Provider");
37
+ }
38
+ } catch (err) {
39
+ console.error("Unable to login to CrossWindowWallet Provider", err);
40
+ }
41
+ return null;
42
+ }
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ getCrossWindowProvider
46
+ });
2
47
  //# sourceMappingURL=getCrossWindowProvider.cjs.map