@ozdao/prometheus-framework 0.2.42 → 0.2.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (878) hide show
  1. package/dist/main-Ft_OvlW_.mjs +13606 -0
  2. package/dist/main-iZBAe91V.js +91 -0
  3. package/dist/main.css +1 -1
  4. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +1 -0
  5. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
  6. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +1 -0
  7. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
  8. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +1 -0
  9. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
  10. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +1 -0
  11. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
  12. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.cjs +2 -0
  13. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +52 -0
  14. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +1 -0
  15. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
  16. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +1 -0
  17. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  18. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +1 -0
  19. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
  20. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +1 -0
  21. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +17 -0
  22. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -0
  23. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
  24. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +1 -0
  25. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +12 -0
  26. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +1 -0
  27. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  28. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -0
  29. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +16 -0
  30. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -0
  31. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  32. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +1 -0
  33. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  34. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +1 -0
  35. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
  36. package/dist/node_modules/@capacitor/core/dist/index.cjs +1 -0
  37. package/dist/node_modules/@capacitor/core/dist/index.js +337 -0
  38. package/dist/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
  39. package/dist/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
  40. package/dist/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
  41. package/dist/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
  42. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  43. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  44. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  45. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  46. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  47. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  48. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  49. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  50. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  51. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  54. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  55. package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -0
  56. package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -0
  57. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  58. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4912 -0
  59. package/dist/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  60. package/dist/node_modules/axios/lib/adapters/adapters.js +51 -0
  61. package/dist/node_modules/axios/lib/adapters/xhr.cjs +1 -0
  62. package/dist/node_modules/axios/lib/adapters/xhr.js +109 -0
  63. package/dist/node_modules/axios/lib/axios.cjs +1 -0
  64. package/dist/node_modules/axios/lib/axios.js +47 -0
  65. package/dist/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
  66. package/dist/node_modules/axios/lib/cancel/CancelToken.js +73 -0
  67. package/dist/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
  68. package/dist/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  69. package/dist/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
  70. package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
  71. package/dist/node_modules/axios/lib/core/Axios.cjs +2 -0
  72. package/dist/node_modules/axios/lib/core/Axios.js +131 -0
  73. package/dist/node_modules/axios/lib/core/AxiosError.cjs +1 -0
  74. package/dist/node_modules/axios/lib/core/AxiosError.js +54 -0
  75. package/dist/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  76. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  77. package/dist/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
  78. package/dist/node_modules/axios/lib/core/InterceptorManager.js +58 -0
  79. package/dist/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
  80. package/dist/node_modules/axios/lib/core/buildFullPath.js +8 -0
  81. package/dist/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
  82. package/dist/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  83. package/dist/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
  84. package/dist/node_modules/axios/lib/core/mergeConfig.js +72 -0
  85. package/dist/node_modules/axios/lib/core/settle.cjs +1 -0
  86. package/dist/node_modules/axios/lib/core/settle.js +14 -0
  87. package/dist/node_modules/axios/lib/core/transformData.cjs +1 -0
  88. package/dist/node_modules/axios/lib/core/transformData.js +13 -0
  89. package/dist/node_modules/axios/lib/defaults/index.cjs +1 -0
  90. package/dist/node_modules/axios/lib/defaults/index.js +88 -0
  91. package/dist/node_modules/axios/lib/defaults/transitional.cjs +1 -0
  92. package/dist/node_modules/axios/lib/defaults/transitional.js +8 -0
  93. package/dist/node_modules/axios/lib/env/data.cjs +1 -0
  94. package/dist/node_modules/axios/lib/env/data.js +4 -0
  95. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  96. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  97. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  98. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  99. package/dist/node_modules/axios/lib/helpers/bind.cjs +1 -0
  100. package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
  101. package/dist/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
  102. package/dist/node_modules/axios/lib/helpers/buildURL.js +19 -0
  103. package/dist/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
  104. package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  105. package/dist/node_modules/axios/lib/helpers/cookies.cjs +1 -0
  106. package/dist/node_modules/axios/lib/helpers/cookies.js +32 -0
  107. package/dist/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  108. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +32 -0
  109. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
  110. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  111. package/dist/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
  112. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  113. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
  114. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  115. package/dist/node_modules/axios/lib/helpers/null.cjs +1 -0
  116. package/dist/node_modules/axios/lib/helpers/null.js +4 -0
  117. package/dist/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
  118. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  119. package/dist/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
  120. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  121. package/dist/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  122. package/dist/node_modules/axios/lib/helpers/speedometer.js +19 -0
  123. package/dist/node_modules/axios/lib/helpers/spread.cjs +1 -0
  124. package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
  125. package/dist/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
  126. package/dist/node_modules/axios/lib/helpers/toFormData.js +84 -0
  127. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  128. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  129. package/dist/node_modules/axios/lib/helpers/validator.cjs +1 -0
  130. package/dist/node_modules/axios/lib/helpers/validator.js +51 -0
  131. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  132. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  133. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  134. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  135. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  136. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  137. package/dist/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  138. package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
  139. package/dist/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  140. package/dist/node_modules/axios/lib/platform/common/utils.js +7 -0
  141. package/dist/node_modules/axios/lib/platform/index.cjs +1 -0
  142. package/dist/node_modules/axios/lib/platform/index.js +9 -0
  143. package/dist/node_modules/axios/lib/utils.cjs +1 -0
  144. package/dist/node_modules/axios/lib/utils.js +224 -0
  145. package/dist/node_modules/bignumber.js/bignumber.cjs +1 -0
  146. package/dist/node_modules/bignumber.js/bignumber.js +701 -0
  147. package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.cjs +1 -0
  148. package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +8 -0
  149. package/dist/node_modules/date-fns/esm/_lib/assign/index.cjs +1 -0
  150. package/dist/node_modules/date-fns/esm/_lib/assign/index.js +10 -0
  151. package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.cjs +1 -0
  152. package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.js +4 -0
  153. package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.cjs +1 -0
  154. package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.js +7 -0
  155. package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.cjs +1 -0
  156. package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.js +573 -0
  157. package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.cjs +1 -0
  158. package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +58 -0
  159. package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.cjs +1 -0
  160. package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +76 -0
  161. package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.cjs +1 -0
  162. package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
  163. package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.cjs +1 -0
  164. package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +13 -0
  165. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.cjs +1 -0
  166. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +13 -0
  167. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.cjs +1 -0
  168. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +15 -0
  169. package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.cjs +1 -0
  170. package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +13 -0
  171. package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.cjs +1 -0
  172. package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +21 -0
  173. package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.cjs +1 -0
  174. package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.js +22 -0
  175. package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.cjs +1 -0
  176. package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.js +7 -0
  177. package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.cjs +1 -0
  178. package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.js +16 -0
  179. package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.cjs +1 -0
  180. package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +13 -0
  181. package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.cjs +1 -0
  182. package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +12 -0
  183. package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.cjs +1 -0
  184. package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +12 -0
  185. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.cjs +1 -0
  186. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +10 -0
  187. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.cjs +1 -0
  188. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +13 -0
  189. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.cjs +1 -0
  190. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +16 -0
  191. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.cjs +1 -0
  192. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +16 -0
  193. package/dist/node_modules/date-fns/esm/_lib/toInteger/index.cjs +1 -0
  194. package/dist/node_modules/date-fns/esm/_lib/toInteger/index.js +9 -0
  195. package/dist/node_modules/date-fns/esm/add/index.cjs +1 -0
  196. package/dist/node_modules/date-fns/esm/add/index.js +15 -0
  197. package/dist/node_modules/date-fns/esm/addDays/index.cjs +1 -0
  198. package/dist/node_modules/date-fns/esm/addDays/index.js +11 -0
  199. package/dist/node_modules/date-fns/esm/addMilliseconds/index.cjs +1 -0
  200. package/dist/node_modules/date-fns/esm/addMilliseconds/index.js +11 -0
  201. package/dist/node_modules/date-fns/esm/addMonths/index.cjs +1 -0
  202. package/dist/node_modules/date-fns/esm/addMonths/index.js +18 -0
  203. package/dist/node_modules/date-fns/esm/addQuarters/index.cjs +1 -0
  204. package/dist/node_modules/date-fns/esm/addQuarters/index.js +11 -0
  205. package/dist/node_modules/date-fns/esm/addYears/index.cjs +1 -0
  206. package/dist/node_modules/date-fns/esm/addYears/index.js +11 -0
  207. package/dist/node_modules/date-fns/esm/constants/index.cjs +1 -0
  208. package/dist/node_modules/date-fns/esm/constants/index.js +6 -0
  209. package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.cjs +1 -0
  210. package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.js +12 -0
  211. package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.cjs +1 -0
  212. package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.js +20 -0
  213. package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.cjs +1 -0
  214. package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.js +18 -0
  215. package/dist/node_modules/date-fns/esm/endOfQuarter/index.cjs +1 -0
  216. package/dist/node_modules/date-fns/esm/endOfQuarter/index.js +10 -0
  217. package/dist/node_modules/date-fns/esm/endOfWeek/index.cjs +1 -0
  218. package/dist/node_modules/date-fns/esm/endOfWeek/index.js +16 -0
  219. package/dist/node_modules/date-fns/esm/endOfYear/index.cjs +1 -0
  220. package/dist/node_modules/date-fns/esm/endOfYear/index.js +10 -0
  221. package/dist/node_modules/date-fns/esm/format/index.cjs +1 -0
  222. package/dist/node_modules/date-fns/esm/format/index.js +62 -0
  223. package/dist/node_modules/date-fns/esm/getDay/index.cjs +1 -0
  224. package/dist/node_modules/date-fns/esm/getDay/index.js +10 -0
  225. package/dist/node_modules/date-fns/esm/getDaysInMonth/index.cjs +1 -0
  226. package/dist/node_modules/date-fns/esm/getDaysInMonth/index.js +10 -0
  227. package/dist/node_modules/date-fns/esm/getHours/index.cjs +1 -0
  228. package/dist/node_modules/date-fns/esm/getHours/index.js +10 -0
  229. package/dist/node_modules/date-fns/esm/getISOWeek/index.cjs +1 -0
  230. package/dist/node_modules/date-fns/esm/getISOWeek/index.js +13 -0
  231. package/dist/node_modules/date-fns/esm/getISOWeekYear/index.cjs +1 -0
  232. package/dist/node_modules/date-fns/esm/getISOWeekYear/index.js +15 -0
  233. package/dist/node_modules/date-fns/esm/getMinutes/index.cjs +1 -0
  234. package/dist/node_modules/date-fns/esm/getMinutes/index.js +10 -0
  235. package/dist/node_modules/date-fns/esm/getMonth/index.cjs +1 -0
  236. package/dist/node_modules/date-fns/esm/getMonth/index.js +10 -0
  237. package/dist/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
  238. package/dist/node_modules/date-fns/esm/getQuarter/index.js +10 -0
  239. package/dist/node_modules/date-fns/esm/getSeconds/index.cjs +1 -0
  240. package/dist/node_modules/date-fns/esm/getSeconds/index.js +10 -0
  241. package/dist/node_modules/date-fns/esm/getWeek/index.cjs +1 -0
  242. package/dist/node_modules/date-fns/esm/getWeek/index.js +13 -0
  243. package/dist/node_modules/date-fns/esm/getWeekYear/index.cjs +1 -0
  244. package/dist/node_modules/date-fns/esm/getWeekYear/index.js +21 -0
  245. package/dist/node_modules/date-fns/esm/getYear/index.cjs +1 -0
  246. package/dist/node_modules/date-fns/esm/getYear/index.js +8 -0
  247. package/dist/node_modules/date-fns/esm/isAfter/index.cjs +1 -0
  248. package/dist/node_modules/date-fns/esm/isAfter/index.js +10 -0
  249. package/dist/node_modules/date-fns/esm/isBefore/index.cjs +1 -0
  250. package/dist/node_modules/date-fns/esm/isBefore/index.js +10 -0
  251. package/dist/node_modules/date-fns/esm/isDate/index.cjs +1 -0
  252. package/dist/node_modules/date-fns/esm/isDate/index.js +8 -0
  253. package/dist/node_modules/date-fns/esm/isEqual/index.cjs +1 -0
  254. package/dist/node_modules/date-fns/esm/isEqual/index.js +10 -0
  255. package/dist/node_modules/date-fns/esm/isSameQuarter/index.cjs +1 -0
  256. package/dist/node_modules/date-fns/esm/isSameQuarter/index.js +10 -0
  257. package/dist/node_modules/date-fns/esm/isValid/index.cjs +1 -0
  258. package/dist/node_modules/date-fns/esm/isValid/index.js +12 -0
  259. package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.cjs +1 -0
  260. package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +9 -0
  261. package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.cjs +1 -0
  262. package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +17 -0
  263. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.cjs +1 -0
  264. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +31 -0
  265. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.cjs +1 -0
  266. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +20 -0
  267. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.cjs +1 -0
  268. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +70 -0
  269. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.cjs +1 -0
  270. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +34 -0
  271. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.cjs +1 -0
  272. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +14 -0
  273. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.cjs +1 -0
  274. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +124 -0
  275. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.cjs +1 -0
  276. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +89 -0
  277. package/dist/node_modules/date-fns/esm/locale/en-US/index.cjs +1 -0
  278. package/dist/node_modules/date-fns/esm/locale/en-US/index.js +21 -0
  279. package/dist/node_modules/date-fns/esm/parse/_lib/Parser.cjs +1 -0
  280. package/dist/node_modules/date-fns/esm/parse/_lib/Parser.js +27 -0
  281. package/dist/node_modules/date-fns/esm/parse/_lib/Setter.cjs +1 -0
  282. package/dist/node_modules/date-fns/esm/parse/_lib/Setter.js +59 -0
  283. package/dist/node_modules/date-fns/esm/parse/_lib/constants.cjs +1 -0
  284. package/dist/node_modules/date-fns/esm/parse/_lib/constants.js +49 -0
  285. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  286. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js +61 -0
  287. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.cjs +1 -0
  288. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js +61 -0
  289. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.cjs +1 -0
  290. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js +49 -0
  291. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  292. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js +50 -0
  293. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.cjs +1 -0
  294. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js +80 -0
  295. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  296. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js +61 -0
  297. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.cjs +1 -0
  298. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js +54 -0
  299. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  300. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js +33 -0
  301. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  302. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js +36 -0
  303. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  304. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js +49 -0
  305. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  306. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js +48 -0
  307. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  308. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js +49 -0
  309. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  310. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js +49 -0
  311. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.cjs +1 -0
  312. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js +89 -0
  313. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  314. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js +46 -0
  315. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  316. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js +46 -0
  317. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  318. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js +50 -0
  319. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  320. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js +35 -0
  321. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  322. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js +90 -0
  323. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  324. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js +50 -0
  325. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  326. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js +61 -0
  327. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.cjs +1 -0
  328. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js +48 -0
  329. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.cjs +1 -0
  330. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js +76 -0
  331. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.cjs +1 -0
  332. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js +71 -0
  333. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.cjs +1 -0
  334. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js +48 -0
  335. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  336. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js +90 -0
  337. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  338. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js +76 -0
  339. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  340. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  341. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  342. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js +35 -0
  343. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  344. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js +35 -0
  345. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.cjs +1 -0
  346. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js +59 -0
  347. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.cjs +1 -0
  348. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.js +67 -0
  349. package/dist/node_modules/date-fns/esm/parse/_lib/utils.cjs +1 -0
  350. package/dist/node_modules/date-fns/esm/parse/_lib/utils.js +102 -0
  351. package/dist/node_modules/date-fns/esm/parse/index.cjs +1 -0
  352. package/dist/node_modules/date-fns/esm/parse/index.js +128 -0
  353. package/dist/node_modules/date-fns/esm/parseISO/index.cjs +1 -0
  354. package/dist/node_modules/date-fns/esm/parseISO/index.js +120 -0
  355. package/dist/node_modules/date-fns/esm/set/index.cjs +1 -0
  356. package/dist/node_modules/date-fns/esm/set/index.js +14 -0
  357. package/dist/node_modules/date-fns/esm/setHours/index.cjs +1 -0
  358. package/dist/node_modules/date-fns/esm/setHours/index.js +11 -0
  359. package/dist/node_modules/date-fns/esm/setMilliseconds/index.cjs +1 -0
  360. package/dist/node_modules/date-fns/esm/setMilliseconds/index.js +11 -0
  361. package/dist/node_modules/date-fns/esm/setMinutes/index.cjs +1 -0
  362. package/dist/node_modules/date-fns/esm/setMinutes/index.js +11 -0
  363. package/dist/node_modules/date-fns/esm/setMonth/index.cjs +1 -0
  364. package/dist/node_modules/date-fns/esm/setMonth/index.js +14 -0
  365. package/dist/node_modules/date-fns/esm/setSeconds/index.cjs +1 -0
  366. package/dist/node_modules/date-fns/esm/setSeconds/index.js +11 -0
  367. package/dist/node_modules/date-fns/esm/setYear/index.cjs +1 -0
  368. package/dist/node_modules/date-fns/esm/setYear/index.js +11 -0
  369. package/dist/node_modules/date-fns/esm/startOfDay/index.cjs +1 -0
  370. package/dist/node_modules/date-fns/esm/startOfDay/index.js +10 -0
  371. package/dist/node_modules/date-fns/esm/startOfISOWeek/index.cjs +1 -0
  372. package/dist/node_modules/date-fns/esm/startOfISOWeek/index.js +10 -0
  373. package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.cjs +1 -0
  374. package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.js +13 -0
  375. package/dist/node_modules/date-fns/esm/startOfQuarter/index.cjs +1 -0
  376. package/dist/node_modules/date-fns/esm/startOfQuarter/index.js +10 -0
  377. package/dist/node_modules/date-fns/esm/startOfWeek/index.cjs +1 -0
  378. package/dist/node_modules/date-fns/esm/startOfWeek/index.js +16 -0
  379. package/dist/node_modules/date-fns/esm/startOfWeekYear/index.cjs +1 -0
  380. package/dist/node_modules/date-fns/esm/startOfWeekYear/index.js +16 -0
  381. package/dist/node_modules/date-fns/esm/startOfYear/index.cjs +1 -0
  382. package/dist/node_modules/date-fns/esm/startOfYear/index.js +10 -0
  383. package/dist/node_modules/date-fns/esm/sub/index.cjs +1 -0
  384. package/dist/node_modules/date-fns/esm/sub/index.js +14 -0
  385. package/dist/node_modules/date-fns/esm/subDays/index.cjs +1 -0
  386. package/dist/node_modules/date-fns/esm/subDays/index.js +11 -0
  387. package/dist/node_modules/date-fns/esm/subMilliseconds/index.cjs +1 -0
  388. package/dist/node_modules/date-fns/esm/subMilliseconds/index.js +11 -0
  389. package/dist/node_modules/date-fns/esm/subMonths/index.cjs +1 -0
  390. package/dist/node_modules/date-fns/esm/subMonths/index.js +11 -0
  391. package/dist/node_modules/date-fns/esm/subYears/index.cjs +1 -0
  392. package/dist/node_modules/date-fns/esm/subYears/index.js +11 -0
  393. package/dist/node_modules/date-fns/esm/toDate/index.cjs +1 -0
  394. package/dist/node_modules/date-fns/esm/toDate/index.js +10 -0
  395. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  396. package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
  397. package/dist/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -0
  398. package/dist/node_modules/libphonenumber-js/es6/ParseError.js +113 -0
  399. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -0
  400. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +150 -0
  401. package/dist/node_modules/libphonenumber-js/es6/constants.cjs +1 -0
  402. package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
  403. package/dist/node_modules/libphonenumber-js/es6/format.cjs +2 -0
  404. package/dist/node_modules/libphonenumber-js/es6/format.js +134 -0
  405. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +1 -0
  406. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
  407. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +1 -0
  408. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
  409. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -0
  410. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +22 -0
  411. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +1 -0
  412. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
  413. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +1 -0
  414. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
  415. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +1 -0
  416. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +47 -0
  417. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +1 -0
  418. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +22 -0
  419. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +1 -0
  420. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
  421. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +1 -0
  422. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +35 -0
  423. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +1 -0
  424. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
  425. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +1 -0
  426. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
  427. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -0
  428. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +27 -0
  429. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -0
  430. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +17 -0
  431. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -0
  432. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +58 -0
  433. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +1 -0
  434. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
  435. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -0
  436. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -0
  437. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +1 -0
  438. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
  439. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
  440. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
  441. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +1 -0
  442. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
  443. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +1 -0
  444. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
  445. package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +2 -0
  446. package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +43 -0
  447. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +1 -0
  448. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
  449. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +1 -0
  450. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
  451. package/dist/node_modules/libphonenumber-js/es6/isPossible.cjs +1 -0
  452. package/dist/node_modules/libphonenumber-js/es6/isPossible.js +38 -0
  453. package/dist/node_modules/libphonenumber-js/es6/isValid.cjs +1 -0
  454. package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -0
  455. package/dist/node_modules/libphonenumber-js/es6/metadata.cjs +1 -0
  456. package/dist/node_modules/libphonenumber-js/es6/metadata.js +460 -0
  457. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -0
  458. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +96 -0
  459. package/dist/node_modules/libphonenumber-js/es6/parse.cjs +1 -0
  460. package/dist/node_modules/libphonenumber-js/es6/parse.js +121 -0
  461. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -0
  462. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +53 -0
  463. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +1 -0
  464. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
  465. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +1 -0
  466. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +33 -0
  467. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +1 -0
  468. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +41 -0
  469. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +1 -0
  470. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +18 -0
  471. package/dist/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -0
  472. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
  473. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +1 -0
  474. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
  475. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +1 -0
  476. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
  477. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  478. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +1 -4
  479. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  480. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  481. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  482. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  483. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  484. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  485. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  486. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  487. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  488. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  489. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  490. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  491. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  492. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  493. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  494. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  495. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  496. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  497. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  498. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  499. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  500. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  501. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  502. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  503. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  504. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  505. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  506. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  507. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  508. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  509. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  510. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  511. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  512. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  513. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  514. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  515. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  516. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  517. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  518. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  519. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  520. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  521. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  522. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  523. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  524. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  525. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  526. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  527. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  528. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  529. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  530. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  531. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  532. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  533. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  534. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  535. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  536. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  537. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  538. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  539. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  540. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  541. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  542. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  543. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  544. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  545. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  546. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  547. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  548. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  549. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  550. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  551. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  552. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  553. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  554. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  555. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  556. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  557. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  558. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  559. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  560. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  561. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  562. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
  563. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  564. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
  565. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  566. package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
  567. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  568. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -227
  569. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  570. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
  571. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  572. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -63
  573. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  574. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
  575. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  576. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
  577. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  578. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
  579. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  580. package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
  581. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  582. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -78
  583. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  584. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  585. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  586. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
  587. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  588. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  589. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  590. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
  591. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  592. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
  593. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  594. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
  595. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  596. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
  597. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  598. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
  599. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  600. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
  601. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  602. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
  603. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  604. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -4
  605. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  606. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
  607. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  608. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -72
  609. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  610. package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
  611. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  612. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -97
  613. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  614. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
  615. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  616. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
  617. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  618. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -4
  619. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  620. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
  621. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  622. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  623. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  624. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
  625. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  626. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  627. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  628. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  629. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  630. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  631. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  632. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  633. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  634. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  635. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  636. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
  637. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  638. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  639. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  640. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
  641. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  642. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  643. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  644. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
  645. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  646. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  647. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  648. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
  649. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  650. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  651. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  652. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
  653. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  654. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
  655. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  656. package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
  657. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  658. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  659. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  660. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  661. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  662. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +1 -4
  663. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  664. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  665. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  666. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  667. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  668. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
  669. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  670. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
  671. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  672. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  673. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  674. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
  675. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  676. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
  677. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  678. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  679. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  680. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  681. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  682. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  683. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  684. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
  685. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  686. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  687. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
  688. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
  689. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  690. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
  691. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  692. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  693. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  694. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  695. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  696. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
  697. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  698. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  699. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  700. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -7
  701. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  702. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
  703. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  704. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  705. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  706. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
  707. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  708. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
  709. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  710. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
  711. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  712. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  713. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  714. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  715. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  716. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  717. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  718. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
  719. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  720. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  721. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  722. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
  723. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  724. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  725. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  726. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  727. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  728. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
  729. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  730. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  731. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  732. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
  733. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  734. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  735. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  736. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  737. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  738. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  739. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  740. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
  741. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  742. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  743. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  744. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
  745. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  746. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  747. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  748. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  749. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  750. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
  751. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  752. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  753. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  754. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  755. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  756. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
  757. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  758. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
  759. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  760. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
  761. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  762. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
  763. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  764. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  765. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  766. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  767. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  768. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +1 -4
  769. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  770. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  771. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  772. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  773. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  774. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
  775. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  776. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  777. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  778. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  779. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  780. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
  781. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  782. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  783. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  784. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  785. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  786. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
  787. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  788. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
  789. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  790. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
  791. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  792. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  793. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  794. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  795. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  796. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  797. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  798. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  799. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  800. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
  801. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  802. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
  803. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  804. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  805. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  806. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
  807. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  808. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  809. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  810. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
  811. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  812. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -4
  813. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  814. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
  815. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  816. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
  817. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  818. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  819. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  820. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
  821. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  822. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
  823. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  824. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
  825. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  826. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +5 -5
  827. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  828. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
  829. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  830. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  831. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  832. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  833. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  834. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
  835. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  836. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -4
  837. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  838. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  839. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  840. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  841. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  842. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  843. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  844. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  845. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  846. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  847. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  848. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  849. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  850. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
  851. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  852. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  853. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  854. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  855. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  856. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
  857. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  858. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  859. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  860. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
  861. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  862. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  863. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  864. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  865. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  866. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  867. package/dist/prometheus-framework.cjs.js +1 -36
  868. package/dist/prometheus-framework.es.js +37 -9163
  869. package/dist/style.css +1 -1
  870. package/dist/web-Ot-Nyiix.mjs +55 -0
  871. package/dist/web-tkW-RBhL.js +1 -0
  872. package/package.json +2 -2
  873. package/src/components/Status/Status.vue +3 -1
  874. package/src/components/index.js +20 -0
  875. package/src/main.js +60 -2
  876. package/src/modules/payments/{controller → controllers}/payments.controller.js +15 -11
  877. package/src/modules/products/products.client.js +35 -0
  878. /package/src/modules/payments/{controller → controllers}/payments.tinkoff.controller.js +0 -0
@@ -1,45 +1,45 @@
1
- import { TransactionSendTimeoutError as d } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
1
+ import { TransactionSendTimeoutError as l } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
2
2
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import { rejectIfBlockTimeout as T } from "./reject_if_block_timeout.js";
4
- import { rejectIfTimeout as s } from "../../../../web3-utils/lib/esm/promise_helpers.js";
5
- var p = globalThis && globalThis.__awaiter || function(r, c, t, o) {
6
- function u(n) {
7
- return n instanceof t ? n : new t(function(i) {
8
- i(n);
4
+ import { rejectIfTimeout as p } from "../../../../web3-utils/lib/esm/promise_helpers.js";
5
+ var s = function(r, c, n, o) {
6
+ function u(e) {
7
+ return e instanceof n ? e : new n(function(i) {
8
+ i(e);
9
9
  });
10
10
  }
11
- return new (t || (t = Promise))(function(n, i) {
12
- function f(e) {
11
+ return new (n || (n = Promise))(function(e, i) {
12
+ function d(t) {
13
13
  try {
14
- m(o.next(e));
15
- } catch (a) {
16
- i(a);
14
+ f(o.next(t));
15
+ } catch (m) {
16
+ i(m);
17
17
  }
18
18
  }
19
- function l(e) {
19
+ function a(t) {
20
20
  try {
21
- m(o.throw(e));
22
- } catch (a) {
23
- i(a);
21
+ f(o.throw(t));
22
+ } catch (m) {
23
+ i(m);
24
24
  }
25
25
  }
26
- function m(e) {
27
- e.done ? n(e.value) : u(e.value).then(f, l);
26
+ function f(t) {
27
+ t.done ? e(t.value) : u(t.value).then(d, a);
28
28
  }
29
- m((o = o.apply(r, c || [])).next());
29
+ f((o = o.apply(r, c || [])).next());
30
30
  });
31
31
  };
32
- function w(r, c, t) {
33
- return p(this, void 0, void 0, function* () {
34
- const [o, u] = s(r.transactionSendTimeout, new d({
32
+ function w(r, c, n) {
33
+ return s(this, void 0, void 0, function* () {
34
+ const [o, u] = p(r.transactionSendTimeout, new l({
35
35
  numberOfSeconds: r.transactionSendTimeout / 1e3,
36
- transactionHash: t
37
- })), [n, i] = yield T(r, t);
36
+ transactionHash: n
37
+ })), [e, i] = yield T(r, n);
38
38
  try {
39
39
  return yield Promise.race([
40
40
  c(),
41
41
  u,
42
- n
42
+ e
43
43
  // this will throw an error on Transaction Block Timeout
44
44
  ]);
45
45
  } finally {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const m=require("./reject_if_block_timeout.cjs"),v=require("../rpc_method_wrappers.cjs"),d=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var p=globalThis&&globalThis.__awaiter||function(t,c,o,n){function s(i){return i instanceof o?i:new o(function(r){r(i)})}return new(o||(o=Promise))(function(i,r){function u(e){try{a(n.next(e))}catch(l){r(l)}}function f(e){try{a(n.throw(e))}catch(l){r(l)}}function a(e){e.done?i(e.value):s(e.value).then(u,f)}a((n=n.apply(t,c||[])).next())})};function h(t,c,o){var n;return p(this,void 0,void 0,function*(){const s=(n=t.transactionReceiptPollingInterval)!==null&&n!==void 0?n:t.transactionPollingInterval,[i,r]=d.pollTillDefinedAndReturnIntervalId(()=>p(this,void 0,void 0,function*(){try{return v.getTransactionReceipt(t,c,o)}catch(l){console.warn("An error happen while trying to get the transaction receipt",l);return}}),s),[u,f]=d.rejectIfTimeout(t.transactionPollingTimeout,new T.TransactionPollingTimeoutError({numberOfSeconds:t.transactionPollingTimeout/1e3,transactionHash:c})),[a,e]=yield m.rejectIfBlockTimeout(t,c);try{return yield Promise.race([i,f,a])}finally{u&&clearTimeout(u),r&&clearInterval(r),e.clean()}})}exports.waitForTransactionReceipt=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const T=require("./reject_if_block_timeout.cjs"),v=require("../rpc_method_wrappers.cjs"),f=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var p=function(n,c,o,t){function s(i){return i instanceof o?i:new o(function(r){r(i)})}return new(o||(o=Promise))(function(i,r){function u(e){try{a(t.next(e))}catch(l){r(l)}}function d(e){try{a(t.throw(e))}catch(l){r(l)}}function a(e){e.done?i(e.value):s(e.value).then(u,d)}a((t=t.apply(n,c||[])).next())})};function _(n,c,o){var t;return p(this,void 0,void 0,function*(){const s=(t=n.transactionReceiptPollingInterval)!==null&&t!==void 0?t:n.transactionPollingInterval,[i,r]=f.pollTillDefinedAndReturnIntervalId(()=>p(this,void 0,void 0,function*(){try{return v.getTransactionReceipt(n,c,o)}catch(l){console.warn("An error happen while trying to get the transaction receipt",l);return}}),s),[u,d]=f.rejectIfTimeout(n.transactionPollingTimeout,new m.TransactionPollingTimeoutError({numberOfSeconds:n.transactionPollingTimeout/1e3,transactionHash:c})),[a,e]=yield T.rejectIfBlockTimeout(n,c);try{return yield Promise.race([i,d,a])}finally{u&&clearTimeout(u),r&&clearInterval(r),e.clean()}})}exports.waitForTransactionReceipt=_;
@@ -3,52 +3,52 @@ import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import { rejectIfBlockTimeout as s } from "./reject_if_block_timeout.js";
4
4
  import { getTransactionReceipt as T } from "../rpc_method_wrappers.js";
5
5
  import { pollTillDefinedAndReturnIntervalId as v, rejectIfTimeout as I } from "../../../../web3-utils/lib/esm/promise_helpers.js";
6
- var d = globalThis && globalThis.__awaiter || function(t, c, r, i) {
7
- function f(e) {
8
- return e instanceof r ? e : new r(function(o) {
9
- o(e);
6
+ var m = function(t, c, r, e) {
7
+ function f(i) {
8
+ return i instanceof r ? i : new r(function(o) {
9
+ o(i);
10
10
  });
11
11
  }
12
- return new (r || (r = Promise))(function(e, o) {
12
+ return new (r || (r = Promise))(function(i, o) {
13
13
  function u(n) {
14
14
  try {
15
- l(i.next(n));
16
- } catch (a) {
17
- o(a);
15
+ a(e.next(n));
16
+ } catch (l) {
17
+ o(l);
18
18
  }
19
19
  }
20
- function m(n) {
20
+ function d(n) {
21
21
  try {
22
- l(i.throw(n));
23
- } catch (a) {
24
- o(a);
22
+ a(e.throw(n));
23
+ } catch (l) {
24
+ o(l);
25
25
  }
26
26
  }
27
- function l(n) {
28
- n.done ? e(n.value) : f(n.value).then(u, m);
27
+ function a(n) {
28
+ n.done ? i(n.value) : f(n.value).then(u, d);
29
29
  }
30
- l((i = i.apply(t, c || [])).next());
30
+ a((e = e.apply(t, c || [])).next());
31
31
  });
32
32
  };
33
33
  function _(t, c, r) {
34
- var i;
35
- return d(this, void 0, void 0, function* () {
36
- const f = (i = t.transactionReceiptPollingInterval) !== null && i !== void 0 ? i : t.transactionPollingInterval, [e, o] = v(() => d(this, void 0, void 0, function* () {
34
+ var e;
35
+ return m(this, void 0, void 0, function* () {
36
+ const f = (e = t.transactionReceiptPollingInterval) !== null && e !== void 0 ? e : t.transactionPollingInterval, [i, o] = v(() => m(this, void 0, void 0, function* () {
37
37
  try {
38
38
  return T(t, c, r);
39
- } catch (a) {
40
- console.warn("An error happen while trying to get the transaction receipt", a);
39
+ } catch (l) {
40
+ console.warn("An error happen while trying to get the transaction receipt", l);
41
41
  return;
42
42
  }
43
- }), f), [u, m] = I(t.transactionPollingTimeout, new p({
43
+ }), f), [u, d] = I(t.transactionPollingTimeout, new p({
44
44
  numberOfSeconds: t.transactionPollingTimeout / 1e3,
45
45
  transactionHash: c
46
- })), [l, n] = yield s(t, c);
46
+ })), [a, n] = yield s(t, c);
47
47
  try {
48
48
  return yield Promise.race([
49
- e,
50
- m,
51
- l
49
+ i,
50
+ d,
51
+ a
52
52
  // this will throw an error on Transaction Block Timeout
53
53
  ]);
54
54
  } finally {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const d=require("../schemas.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),u=require("../../../../web3-utils/lib/esm/formatter.cjs");var y=globalThis&&globalThis.__awaiter||function(o,l,e,n){function c(t){return t instanceof e?t:new e(function(a){a(t)})}return new(e||(e=Promise))(function(t,a){function r(i){try{s(n.next(i))}catch(f){a(f)}}function h(i){try{s(n.throw(i))}catch(f){a(f)}}function s(i){i.done?t(i.value):c(i.value).then(r,h)}s((n=n.apply(o,l||[])).next())})};const g=({web3Context:o,transactionReceipt:l,transactionPromiEvent:e,returnFormat:n})=>{var c;let t=1;const a=setInterval(()=>{y(void 0,void 0,void 0,function*(){t>=o.transactionConfirmationBlocks&&clearInterval(a);const r=yield m.getBlockByNumber(o.requestManager,v.numberToHex(BigInt(l.blockNumber)+BigInt(t)),!1);r!=null&&r.hash&&(t+=1,e.emit("confirmation",{confirmations:u.format({format:"uint"},t,n),receipt:u.format(d.transactionReceiptSchema,l,n),latestBlockHash:u.format({format:"bytes32"},r.hash,n)}))})},(c=o.transactionReceiptPollingInterval)!==null&&c!==void 0?c:o.transactionPollingInterval)};exports.watchTransactionByPolling=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const h=require("../schemas.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),u=require("../../../../web3-utils/lib/esm/formatter.cjs");var y=function(i,l,o,t){function c(n){return n instanceof o?n:new o(function(a){a(n)})}return new(o||(o=Promise))(function(n,a){function r(e){try{s(t.next(e))}catch(f){a(f)}}function d(e){try{s(t.throw(e))}catch(f){a(f)}}function s(e){e.done?n(e.value):c(e.value).then(r,d)}s((t=t.apply(i,l||[])).next())})};const B=({web3Context:i,transactionReceipt:l,transactionPromiEvent:o,returnFormat:t})=>{var c;let n=1;const a=setInterval(()=>{y(void 0,void 0,void 0,function*(){n>=i.transactionConfirmationBlocks&&clearInterval(a);const r=yield m.getBlockByNumber(i.requestManager,v.numberToHex(BigInt(l.blockNumber)+BigInt(n)),!1);r!=null&&r.hash&&(n+=1,o.emit("confirmation",{confirmations:u.format({format:"uint"},n,t),receipt:u.format(h.transactionReceiptSchema,l,t),latestBlockHash:u.format({format:"bytes32"},r.hash,t)}))})},(c=i.transactionReceiptPollingInterval)!==null&&c!==void 0?c:i.transactionPollingInterval)};exports.watchTransactionByPolling=B;
@@ -1,51 +1,51 @@
1
- import { getBlockByNumber as h } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
1
+ import { getBlockByNumber as u } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
2
2
  import "../../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
3
3
  import "../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
4
4
  import { transactionReceiptSchema as p } from "../schemas.js";
5
5
  import { numberToHex as v } from "../../../../web3-utils/lib/esm/converters.js";
6
6
  import { format as s } from "../../../../web3-utils/lib/esm/formatter.js";
7
- var d = globalThis && globalThis.__awaiter || function(o, e, a, i) {
8
- function l(n) {
7
+ var h = function(o, f, a, i) {
8
+ function r(n) {
9
9
  return n instanceof a ? n : new a(function(c) {
10
10
  c(n);
11
11
  });
12
12
  }
13
13
  return new (a || (a = Promise))(function(n, c) {
14
- function r(t) {
14
+ function e(t) {
15
15
  try {
16
- f(i.next(t));
16
+ l(i.next(t));
17
17
  } catch (m) {
18
18
  c(m);
19
19
  }
20
20
  }
21
- function u(t) {
21
+ function d(t) {
22
22
  try {
23
- f(i.throw(t));
23
+ l(i.throw(t));
24
24
  } catch (m) {
25
25
  c(m);
26
26
  }
27
27
  }
28
- function f(t) {
29
- t.done ? n(t.value) : l(t.value).then(r, u);
28
+ function l(t) {
29
+ t.done ? n(t.value) : r(t.value).then(e, d);
30
30
  }
31
- f((i = i.apply(o, e || [])).next());
31
+ l((i = i.apply(o, f || [])).next());
32
32
  });
33
33
  };
34
- const b = ({ web3Context: o, transactionReceipt: e, transactionPromiEvent: a, returnFormat: i }) => {
35
- var l;
34
+ const w = ({ web3Context: o, transactionReceipt: f, transactionPromiEvent: a, returnFormat: i }) => {
35
+ var r;
36
36
  let n = 1;
37
37
  const c = setInterval(() => {
38
- d(void 0, void 0, void 0, function* () {
38
+ h(void 0, void 0, void 0, function* () {
39
39
  n >= o.transactionConfirmationBlocks && clearInterval(c);
40
- const r = yield h(o.requestManager, v(BigInt(e.blockNumber) + BigInt(n)), !1);
41
- r != null && r.hash && (n += 1, a.emit("confirmation", {
40
+ const e = yield u(o.requestManager, v(BigInt(f.blockNumber) + BigInt(n)), !1);
41
+ e != null && e.hash && (n += 1, a.emit("confirmation", {
42
42
  confirmations: s({ format: "uint" }, n, i),
43
- receipt: s(p, e, i),
44
- latestBlockHash: s({ format: "bytes32" }, r.hash, i)
43
+ receipt: s(p, f, i),
44
+ latestBlockHash: s({ format: "bytes32" }, e.hash, i)
45
45
  }));
46
46
  });
47
- }, (l = o.transactionReceiptPollingInterval) !== null && l !== void 0 ? l : o.transactionPollingInterval);
47
+ }, (r = o.transactionReceiptPollingInterval) !== null && r !== void 0 ? r : o.transactionPollingInterval);
48
48
  };
49
49
  export {
50
- b as watchTransactionByPolling
50
+ w as watchTransactionByPolling
51
51
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../schemas.cjs"),v=require("./watch_transaction_by_polling.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs");var m=globalThis&&globalThis.__awaiter||function(a,l,t,o){function f(s){return s instanceof t?s:new t(function(c){c(s)})}return new(t||(t=Promise))(function(s,c){function r(n){try{u(o.next(n))}catch(h){c(h)}}function i(n){try{u(o.throw(n))}catch(h){c(h)}}function u(n){n.done?s(n.value):f(n.value).then(r,i)}u((o=o.apply(a,l||[])).next())})};const g=({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})=>{let f=!0,s;setImmediate(()=>{var c;(c=a.subscriptionManager)===null||c===void 0||c.subscribe("newHeads").then(r=>{r.on("data",i=>m(void 0,void 0,void 0,function*(){var u;if(f=!1,!(i!=null&&i.number)||s===(i==null?void 0:i.parentHash))return;s=i==null?void 0:i.parentHash;const n=BigInt(i.number)-BigInt(l.blockNumber)+BigInt(1);t.emit("confirmation",{confirmations:d.format({format:"uint"},n,o),receipt:d.format(y.transactionReceiptSchema,l,o),latestBlockHash:d.format({format:"bytes32"},i.parentHash,o)}),n>=a.transactionConfirmationBlocks&&(yield(u=a.subscriptionManager)===null||u===void 0?void 0:u.removeSubscription(r))})),r.on("error",()=>m(void 0,void 0,void 0,function*(){var i;yield(i=a.subscriptionManager)===null||i===void 0?void 0:i.removeSubscription(r),f=!1,v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})}))}).catch(()=>{f=!1,v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})})}),setTimeout(()=>{f&&v.watchTransactionByPolling({web3Context:a,transactionReceipt:l,transactionPromiEvent:t,returnFormat:o})},a.blockHeaderTimeout*1e3)};exports.watchTransactionBySubscription=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../schemas.cjs"),v=require("./watch_transaction_by_polling.cjs"),h=require("../../../../web3-utils/lib/esm/formatter.cjs");var m=function(o,u,t,n){function l(c){return c instanceof t?c:new t(function(s){s(c)})}return new(t||(t=Promise))(function(c,s){function d(a){try{f(n.next(a))}catch(r){s(r)}}function i(a){try{f(n.throw(a))}catch(r){s(r)}}function f(a){a.done?c(a.value):l(a.value).then(d,i)}f((n=n.apply(o,u||[])).next())})};const y=({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})=>{let l=!0,c;setImmediate(()=>{var s;(s=o.subscriptionManager)===null||s===void 0||s.subscribe("newHeads").then(d=>{d.on("data",i=>m(void 0,void 0,void 0,function*(){var f;if(l=!1,!(i!=null&&i.number)||c===(i==null?void 0:i.parentHash))return;c=i==null?void 0:i.parentHash;const a=BigInt(i.number)-BigInt(u.blockNumber)+BigInt(1);t.emit("confirmation",{confirmations:h.format({format:"uint"},a,n),receipt:h.format(e.transactionReceiptSchema,u,n),latestBlockHash:h.format({format:"bytes32"},i.parentHash,n)}),a>=o.transactionConfirmationBlocks&&(yield(f=o.subscriptionManager)===null||f===void 0?void 0:f.removeSubscription(d))})),d.on("error",()=>m(void 0,void 0,void 0,function*(){var i;yield(i=o.subscriptionManager)===null||i===void 0?void 0:i.removeSubscription(d),l=!1,v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})}))}).catch(()=>{l=!1,v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})})}),setTimeout(()=>{l&&v.watchTransactionByPolling({web3Context:o,transactionReceipt:u,transactionPromiEvent:t,returnFormat:n})},o.blockHeaderTimeout*1e3)};exports.watchTransactionBySubscription=y;
@@ -1,77 +1,77 @@
1
1
  import { transactionReceiptSchema as p } from "../schemas.js";
2
- import { watchTransactionByPolling as h } from "./watch_transaction_by_polling.js";
3
- import { format as m } from "../../../../web3-utils/lib/esm/formatter.js";
4
- var r = globalThis && globalThis.__awaiter || function(n, s, f, o) {
2
+ import { watchTransactionByPolling as m } from "./watch_transaction_by_polling.js";
3
+ import { format as h } from "../../../../web3-utils/lib/esm/formatter.js";
4
+ var r = function(n, d, a, o) {
5
5
  function v(t) {
6
- return t instanceof f ? t : new f(function(l) {
7
- l(t);
6
+ return t instanceof a ? t : new a(function(u) {
7
+ u(t);
8
8
  });
9
9
  }
10
- return new (f || (f = Promise))(function(t, l) {
11
- function c(a) {
10
+ return new (a || (a = Promise))(function(t, u) {
11
+ function l(f) {
12
12
  try {
13
- u(o.next(a));
14
- } catch (d) {
15
- l(d);
13
+ s(o.next(f));
14
+ } catch (c) {
15
+ u(c);
16
16
  }
17
17
  }
18
- function i(a) {
18
+ function i(f) {
19
19
  try {
20
- u(o.throw(a));
21
- } catch (d) {
22
- l(d);
20
+ s(o.throw(f));
21
+ } catch (c) {
22
+ u(c);
23
23
  }
24
24
  }
25
- function u(a) {
26
- a.done ? t(a.value) : v(a.value).then(c, i);
25
+ function s(f) {
26
+ f.done ? t(f.value) : v(f.value).then(l, i);
27
27
  }
28
- u((o = o.apply(n, s || [])).next());
28
+ s((o = o.apply(n, d || [])).next());
29
29
  });
30
30
  };
31
- const T = ({ web3Context: n, transactionReceipt: s, transactionPromiEvent: f, returnFormat: o }) => {
31
+ const g = ({ web3Context: n, transactionReceipt: d, transactionPromiEvent: a, returnFormat: o }) => {
32
32
  let v = !0, t;
33
33
  setImmediate(() => {
34
- var l;
35
- (l = n.subscriptionManager) === null || l === void 0 || l.subscribe("newHeads").then((c) => {
36
- c.on("data", (i) => r(void 0, void 0, void 0, function* () {
37
- var u;
34
+ var u;
35
+ (u = n.subscriptionManager) === null || u === void 0 || u.subscribe("newHeads").then((l) => {
36
+ l.on("data", (i) => r(void 0, void 0, void 0, function* () {
37
+ var s;
38
38
  if (v = !1, !(i != null && i.number) || // For some cases, the on-data event is fired couple times for the same block!
39
39
  // This needs investigation but seems to be because of multiple `subscription.on('data'...)` even this should not cause that.
40
40
  t === (i == null ? void 0 : i.parentHash))
41
41
  return;
42
42
  t = i == null ? void 0 : i.parentHash;
43
- const a = BigInt(i.number) - BigInt(s.blockNumber) + BigInt(1);
44
- f.emit("confirmation", {
45
- confirmations: m({ format: "uint" }, a, o),
46
- receipt: m(p, s, o),
47
- latestBlockHash: m({ format: "bytes32" }, i.parentHash, o)
48
- }), a >= n.transactionConfirmationBlocks && (yield (u = n.subscriptionManager) === null || u === void 0 ? void 0 : u.removeSubscription(c));
49
- })), c.on("error", () => r(void 0, void 0, void 0, function* () {
43
+ const f = BigInt(i.number) - BigInt(d.blockNumber) + BigInt(1);
44
+ a.emit("confirmation", {
45
+ confirmations: h({ format: "uint" }, f, o),
46
+ receipt: h(p, d, o),
47
+ latestBlockHash: h({ format: "bytes32" }, i.parentHash, o)
48
+ }), f >= n.transactionConfirmationBlocks && (yield (s = n.subscriptionManager) === null || s === void 0 ? void 0 : s.removeSubscription(l));
49
+ })), l.on("error", () => r(void 0, void 0, void 0, function* () {
50
50
  var i;
51
- yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.removeSubscription(c), v = !1, h({
51
+ yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.removeSubscription(l), v = !1, m({
52
52
  web3Context: n,
53
- transactionReceipt: s,
54
- transactionPromiEvent: f,
53
+ transactionReceipt: d,
54
+ transactionPromiEvent: a,
55
55
  returnFormat: o
56
56
  });
57
57
  }));
58
58
  }).catch(() => {
59
- v = !1, h({
59
+ v = !1, m({
60
60
  web3Context: n,
61
- transactionReceipt: s,
62
- transactionPromiEvent: f,
61
+ transactionReceipt: d,
62
+ transactionPromiEvent: a,
63
63
  returnFormat: o
64
64
  });
65
65
  });
66
66
  }), setTimeout(() => {
67
- v && h({
67
+ v && m({
68
68
  web3Context: n,
69
- transactionReceipt: s,
70
- transactionPromiEvent: f,
69
+ transactionReceipt: d,
70
+ transactionPromiEvent: a,
71
71
  returnFormat: o
72
72
  });
73
73
  }, n.blockHeaderTimeout * 1e3);
74
74
  };
75
75
  export {
76
- T as watchTransactionBySubscription
76
+ g as watchTransactionBySubscription
77
77
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const F=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const U=require("../../../web3-core/lib/esm/utils.cjs"),v=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const o=require("./rpc_method_wrappers.cjs"),d=require("./web3_subscriptions.cjs"),E=require("../../../web3-utils/lib/esm/converters.cjs"),b=require("../../../web3-utils/lib/esm/validation.cjs");var n=globalThis&&globalThis.__awaiter||function(_,t,i,e){function s(u){return u instanceof i?u:new i(function(a){a(u)})}return new(i||(i=Promise))(function(u,a){function T(h){try{g(e.next(h))}catch(R){a(R)}}function A(h){try{g(e.throw(h))}catch(R){a(R)}}function g(h){h.done?u(h.value):s(h.value).then(T,A)}g((e=e.apply(_,t||[])).next())})};const l={logs:d.LogsSubscription,newPendingTransactions:d.NewPendingTransactionsSubscription,newHeads:d.NewHeadsSubscription,syncing:d.SyncingSubscription,pendingTransactions:d.NewPendingTransactionsSubscription,newBlockHeaders:d.NewHeadsSubscription};class f extends F.Web3Context{constructor(t){if(typeof t=="string"||U.isSupportedProvider(t)){super({provider:t,registeredSubscriptions:l});return}if(t.registeredSubscriptions){super(t);return}super(Object.assign(Object.assign({},t),{registeredSubscriptions:l}))}getProtocolVersion(){return n(this,void 0,void 0,function*(){return c.getProtocolVersion(this.requestManager)})}isSyncing(){return n(this,void 0,void 0,function*(){return c.getSyncing(this.requestManager)})}getCoinbase(){return n(this,void 0,void 0,function*(){return c.getCoinbase(this.requestManager)})}isMining(){return n(this,void 0,void 0,function*(){return c.getMining(this.requestManager)})}getHashrate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return this.getHashRate(t)})}getHashRate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getHashRate(this,t)})}getGasPrice(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getGasPrice(this,t)})}getAccounts(){var t;return n(this,void 0,void 0,function*(){return((t=yield c.getAccounts(this.requestManager))!==null&&t!==void 0?t:[]).map(e=>E.toChecksumAddress(e))})}getBlockNumber(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockNumber(this,t)})}getBalance(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBalance(this,t,i,e)})}getStorageAt(t,i,e=this.defaultBlock,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getStorageAt(this,t,i,e,s)})}getCode(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getCode(this,t,i,e)})}getBlock(t=this.defaultBlock,i=!1,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlock(this,t,i,e)})}getBlockTransactionCount(t=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockTransactionCount(this,t,i)})}getBlockUncleCount(t=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockUncleCount(this,t,i)})}getUncle(t=this.defaultBlock,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getUncle(this,t,i,e)})}getTransaction(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const e=yield o.getTransaction(this,t,i);if(!e)throw new v.TransactionNotFound;return e})}getPendingTransactions(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getPendingTransactions(this,t)})}getTransactionFromBlock(t=this.defaultBlock,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getTransactionFromBlock(this,t,i,e)})}getTransactionReceipt(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const e=yield o.getTransactionReceipt(this,t,i);if(!e)throw new v.TransactionNotFound;return e})}getTransactionCount(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getTransactionCount(this,t,i,e)})}sendTransaction(t,i=r.DEFAULT_RETURN_FORMAT,e){return o.sendTransaction(this,t,i,e)}sendSignedTransaction(t,i=r.DEFAULT_RETURN_FORMAT,e){return o.sendSignedTransaction(this,t,i,e)}sign(t,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.sign(this,t,i,e)})}signTransaction(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.signTransaction(this,t,i)})}call(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.call(this,t,i,e)})}estimateGas(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.estimateGas(this,t,i,e)})}getPastLogs(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getLogs(this,t,i)})}getWork(){return n(this,void 0,void 0,function*(){return c.getWork(this.requestManager)})}submitWork(t,i,e){return n(this,void 0,void 0,function*(){return c.submitWork(this.requestManager,t,i,e)})}requestAccounts(){return n(this,void 0,void 0,function*(){return c.requestAccounts(this.requestManager)})}getChainId(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getChainId(this,t)})}getNodeInfo(){return n(this,void 0,void 0,function*(){return c.getNodeInfo(this.requestManager)})}getProof(t,i,e=this.defaultBlock,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getProof(this,t,i,e,s)})}getFeeHistory(t,i=this.defaultBlock,e,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getFeeHistory(this,t,i,e,s)})}createAccessList(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.createAccessList(this,t,i,e)})}signTypedData(t,i,e=!1,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.signTypedData(this,t,i,e,s)})}subscribe(t,i,e=r.DEFAULT_RETURN_FORMAT){var s;return n(this,void 0,void 0,function*(){const u=yield(s=this.subscriptionManager)===null||s===void 0?void 0:s.subscribe(t,i,e);return u instanceof d.LogsSubscription&&t==="logs"&&typeof i=="object"&&!b.isNullish(i.fromBlock)&&Number.isFinite(Number(i.fromBlock))&&setImmediate(()=>{this.getPastLogs(i).then(a=>{for(const T of a)u._processSubscriptionResult(T)}).catch(a=>{u._processSubscriptionError(a)})}),u})}static shouldClearSubscription({sub:t}){return!(t instanceof d.SyncingSubscription)}clearSubscriptions(t=!1){var i;return(i=this.subscriptionManager)===null||i===void 0?void 0:i.unsubscribe(t?f.shouldClearSubscription:void 0)}}exports.Web3Eth=f;exports.registeredSubscriptions=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const F=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const U=require("../../../web3-core/lib/esm/utils.cjs"),v=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const o=require("./rpc_method_wrappers.cjs"),d=require("./web3_subscriptions.cjs"),E=require("../../../web3-utils/lib/esm/converters.cjs"),b=require("../../../web3-utils/lib/esm/validation.cjs");var n=function(_,t,i,e){function s(u){return u instanceof i?u:new i(function(a){a(u)})}return new(i||(i=Promise))(function(u,a){function T(h){try{g(e.next(h))}catch(R){a(R)}}function A(h){try{g(e.throw(h))}catch(R){a(R)}}function g(h){h.done?u(h.value):s(h.value).then(T,A)}g((e=e.apply(_,t||[])).next())})};const f={logs:d.LogsSubscription,newPendingTransactions:d.NewPendingTransactionsSubscription,newHeads:d.NewHeadsSubscription,syncing:d.SyncingSubscription,pendingTransactions:d.NewPendingTransactionsSubscription,newBlockHeaders:d.NewHeadsSubscription};class l extends F.Web3Context{constructor(t){if(typeof t=="string"||U.isSupportedProvider(t)){super({provider:t,registeredSubscriptions:f});return}if(t.registeredSubscriptions){super(t);return}super(Object.assign(Object.assign({},t),{registeredSubscriptions:f}))}getProtocolVersion(){return n(this,void 0,void 0,function*(){return c.getProtocolVersion(this.requestManager)})}isSyncing(){return n(this,void 0,void 0,function*(){return c.getSyncing(this.requestManager)})}getCoinbase(){return n(this,void 0,void 0,function*(){return c.getCoinbase(this.requestManager)})}isMining(){return n(this,void 0,void 0,function*(){return c.getMining(this.requestManager)})}getHashrate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return this.getHashRate(t)})}getHashRate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getHashRate(this,t)})}getGasPrice(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getGasPrice(this,t)})}getAccounts(){var t;return n(this,void 0,void 0,function*(){return((t=yield c.getAccounts(this.requestManager))!==null&&t!==void 0?t:[]).map(e=>E.toChecksumAddress(e))})}getBlockNumber(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockNumber(this,t)})}getBalance(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBalance(this,t,i,e)})}getStorageAt(t,i,e=this.defaultBlock,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getStorageAt(this,t,i,e,s)})}getCode(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getCode(this,t,i,e)})}getBlock(t=this.defaultBlock,i=!1,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlock(this,t,i,e)})}getBlockTransactionCount(t=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockTransactionCount(this,t,i)})}getBlockUncleCount(t=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getBlockUncleCount(this,t,i)})}getUncle(t=this.defaultBlock,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getUncle(this,t,i,e)})}getTransaction(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const e=yield o.getTransaction(this,t,i);if(!e)throw new v.TransactionNotFound;return e})}getPendingTransactions(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getPendingTransactions(this,t)})}getTransactionFromBlock(t=this.defaultBlock,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getTransactionFromBlock(this,t,i,e)})}getTransactionReceipt(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const e=yield o.getTransactionReceipt(this,t,i);if(!e)throw new v.TransactionNotFound;return e})}getTransactionCount(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getTransactionCount(this,t,i,e)})}sendTransaction(t,i=r.DEFAULT_RETURN_FORMAT,e){return o.sendTransaction(this,t,i,e)}sendSignedTransaction(t,i=r.DEFAULT_RETURN_FORMAT,e){return o.sendSignedTransaction(this,t,i,e)}sign(t,i,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.sign(this,t,i,e)})}signTransaction(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.signTransaction(this,t,i)})}call(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.call(this,t,i,e)})}estimateGas(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.estimateGas(this,t,i,e)})}getPastLogs(t,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getLogs(this,t,i)})}getWork(){return n(this,void 0,void 0,function*(){return c.getWork(this.requestManager)})}submitWork(t,i,e){return n(this,void 0,void 0,function*(){return c.submitWork(this.requestManager,t,i,e)})}requestAccounts(){return n(this,void 0,void 0,function*(){return c.requestAccounts(this.requestManager)})}getChainId(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getChainId(this,t)})}getNodeInfo(){return n(this,void 0,void 0,function*(){return c.getNodeInfo(this.requestManager)})}getProof(t,i,e=this.defaultBlock,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getProof(this,t,i,e,s)})}getFeeHistory(t,i=this.defaultBlock,e,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.getFeeHistory(this,t,i,e,s)})}createAccessList(t,i=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.createAccessList(this,t,i,e)})}signTypedData(t,i,e=!1,s=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return o.signTypedData(this,t,i,e,s)})}subscribe(t,i,e=r.DEFAULT_RETURN_FORMAT){var s;return n(this,void 0,void 0,function*(){const u=yield(s=this.subscriptionManager)===null||s===void 0?void 0:s.subscribe(t,i,e);return u instanceof d.LogsSubscription&&t==="logs"&&typeof i=="object"&&!b.isNullish(i.fromBlock)&&Number.isFinite(Number(i.fromBlock))&&setImmediate(()=>{this.getPastLogs(i).then(a=>{for(const T of a)u._processSubscriptionResult(T)}).catch(a=>{u._processSubscriptionError(a)})}),u})}static shouldClearSubscription({sub:t}){return!(t instanceof d.SyncingSubscription)}clearSubscriptions(t=!1){var i;return(i=this.subscriptionManager)===null||i===void 0?void 0:i.unsubscribe(t?l.shouldClearSubscription:void 0)}}exports.Web3Eth=l;exports.registeredSubscriptions=f;
@@ -8,7 +8,7 @@ import "../../../web3-core/lib/esm/web3_subscriptions.js";
8
8
  import { Web3Context as T } from "../../../web3-core/lib/esm/web3_context.js";
9
9
  import "../../../web3-core/lib/esm/web3_batch_request.js";
10
10
  import { isSupportedProvider as S } from "../../../web3-core/lib/esm/utils.js";
11
- import { TransactionNotFound as g } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
11
+ import { TransactionNotFound as f } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
12
12
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
13
13
  import "../../../web3-eth-iban/lib/esm/iban.js";
14
14
  import "../../../web3-validator/lib/esm/formats.js";
@@ -18,10 +18,10 @@ import { getProtocolVersion as y, getSyncing as w, getCoinbase as M, getMining a
18
18
  import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
19
19
  import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
20
20
  import { getHashRate as H, getGasPrice as R, getBlockNumber as F, getBalance as L, getStorageAt as U, getCode as I, getBlock as W, getBlockTransactionCount as G, getBlockUncleCount as j, getUncle as D, getTransaction as E, getPendingTransactions as x, getTransactionFromBlock as V, getTransactionReceipt as z, getTransactionCount as J, sendTransaction as K, sendSignedTransaction as Q, sign as X, signTransaction as Y, call as Z, estimateGas as $, getLogs as O, getChainId as tt, getProof as it, getFeeHistory as nt, createAccessList as et, signTypedData as rt } from "./rpc_method_wrappers.js";
21
- import { LogsSubscription as p, NewPendingTransactionsSubscription as f, NewHeadsSubscription as l, SyncingSubscription as m } from "./web3_subscriptions.js";
21
+ import { LogsSubscription as p, NewPendingTransactionsSubscription as g, NewHeadsSubscription as l, SyncingSubscription as m } from "./web3_subscriptions.js";
22
22
  import { toChecksumAddress as ot } from "../../../web3-utils/lib/esm/converters.js";
23
23
  import { isNullish as st } from "../../../web3-utils/lib/esm/validation.js";
24
- var e = globalThis && globalThis.__awaiter || function(k, t, i, n) {
24
+ var e = function(k, t, i, n) {
25
25
  function o(s) {
26
26
  return s instanceof i ? s : new i(function(u) {
27
27
  u(s);
@@ -50,10 +50,10 @@ var e = globalThis && globalThis.__awaiter || function(k, t, i, n) {
50
50
  };
51
51
  const v = {
52
52
  logs: p,
53
- newPendingTransactions: f,
53
+ newPendingTransactions: g,
54
54
  newHeads: l,
55
55
  syncing: m,
56
- pendingTransactions: f,
56
+ pendingTransactions: g,
57
57
  newBlockHeaders: l
58
58
  // the same as newHeads. just for support API like in version 1.x
59
59
  };
@@ -535,7 +535,7 @@ class b extends T {
535
535
  return e(this, void 0, void 0, function* () {
536
536
  const n = yield E(this, t, i);
537
537
  if (!n)
538
- throw new g();
538
+ throw new f();
539
539
  return n;
540
540
  });
541
541
  }
@@ -729,7 +729,7 @@ class b extends T {
729
729
  return e(this, void 0, void 0, function* () {
730
730
  const n = yield z(this, t, i);
731
731
  if (!n)
732
- throw new g();
732
+ throw new f();
733
733
  return n;
734
734
  });
735
735
  }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("../../../ethereum-cryptography/esm/aes.cjs"),C=require("../../../ethereum-cryptography/esm/pbkdf2.cjs"),N=require("../../../ethereum-cryptography/esm/scrypt.cjs"),v=require("../../../web3-errors/lib/esm/errors/account_errors.cjs"),S=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const A=require("../../../web3-validator/lib/esm/validation/string.cjs"),_=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const f=require("../../../web3-validator/lib/esm/validation/object.cjs"),w=require("./tx/constants.cjs"),j=require("./schemas.cjs"),D=require("./tx/transactionFactory.cjs"),n=require("../../../web3-utils/lib/esm/converters.cjs"),g=require("../../../web3-utils/lib/esm/hash.cjs"),P=require("../../../web3-utils/lib/esm/random.cjs"),z=require("../../../web3-utils/lib/esm/uuid.cjs"),T=require("../../../web3-utils/lib/esm/uint8array.cjs");var m=globalThis&&globalThis.__awaiter||function(r,s,e,t){function i(c){return c instanceof e?c:new e(function(a){a(c)})}return new(e||(e=Promise))(function(c,a){function y(l){try{o(t.next(l))}catch(d){a(d)}}function u(l){try{o(t.throw(l))}catch(d){a(d)}}function o(l){l.done?c(l.value):i(l.value).then(y,u)}o((t=t.apply(r,s||[])).next())})};const p=(r,s)=>{let e;if(!s&&typeof r=="string"&&A.isHexStrict(r)&&r.length!==66)throw new v.PrivateKeyLengthError;try{e=T.isUint8Array(r)?r:n.bytesToUint8Array(r)}catch{throw new v.InvalidPrivateKeyError}if(!s&&e.byteLength!==32)throw new v.PrivateKeyLengthError;return e},H=r=>{const s=A.isHexStrict(r)?r:n.utf8ToHex(r),e=n.hexToBytes(s),t=n.hexToBytes(n.fromUtf8(`Ethereum Signed Message:
2
- ${e.byteLength}`)),i=T.uint8ArrayConcat(t,e);return g.sha3Raw(i)},I=(r,s)=>{const e=p(s),t=H(r),i=w.secp256k1.sign(t.substring(2),e),c=i.toCompactRawBytes(),a=i.r.toString(16).padStart(64,"0"),y=i.s.toString(16).padStart(64,"0"),u=i.recovery+27;return{message:r,messageHash:t,v:n.numberToHex(u),r:`0x${a}`,s:`0x${y}`,signature:`${n.bytesToHex(c)}${u.toString(16)}`}},F=(r,s)=>m(void 0,void 0,void 0,function*(){const e=r.sign(n.hexToBytes(s));if(f.isNullish(e.v)||f.isNullish(e.r)||f.isNullish(e.s))throw new S.TransactionSigningError("Signer Error");const t=e.validate(!0);if(t.length>0){let a="Signer Error ";for(const y of t)a+=`${a} ${y}.`;throw new S.TransactionSigningError(a)}const i=n.bytesToHex(e.serialize()),c=g.sha3Raw(i);return{messageHash:n.bytesToHex(e.getMessageToSign(!0)),v:`0x${e.v.toString(16)}`,r:`0x${e.r.toString(16).padStart(64,"0")}`,s:`0x${e.s.toString(16).padStart(64,"0")}`,rawTransaction:i,transactionHash:n.bytesToHex(c)}}),J=r=>{if(f.isNullish(r))throw new S.UndefinedRawTransactionError;const s=D.TransactionFactory.fromSerializedData(n.hexToBytes(r));return n.toChecksumAddress(s.getSenderAddress().toString())},k=(r,s,e,t,i)=>{if(typeof r=="object"){const d=`${r.r}${r.s.slice(2)}${r.v.slice(2)}`;return k(r.messageHash,d,e)}if(typeof s=="string"&&typeof e=="string"&&!f.isNullish(t)){const d=`${e}${t.slice(2)}${s.slice(2)}`;return k(r,d,i)}if(f.isNullish(s))throw new v.InvalidSignatureError("signature string undefined");const c=130,a=e?r:H(r);let y=parseInt(s.substring(c),16);y>26&&(y-=27);const u=w.secp256k1.Signature.fromCompact(s.slice(2,c)).addRecoveryBit(y).recoverPublicKey(a.replace("0x","")).toRawBytes(!1),o=g.sha3Raw(u.subarray(1));return n.toChecksumAddress(`0x${o.slice(-40)}`)},q=r=>{const s=p(r),e=w.secp256k1.getPublicKey(s,!1),i=g.sha3Raw(e.slice(1)).slice(-40);return n.toChecksumAddress(`0x${i}`)},V=(r,s)=>{const e=p(r);return`0x${n.bytesToHex(w.secp256k1.getPublicKey(e,s)).slice(4)}`},M=(r,s,e)=>m(void 0,void 0,void 0,function*(){var t,i,c,a,y,u,o;const l=p(r);let d;if(e!=null&&e.salt?d=typeof e.salt=="string"?n.hexToBytes(e.salt):e.salt:d=P.randomBytes(32),!(A.isString(s)||T.isUint8Array(s)))throw new v.InvalidPasswordError;const E=typeof s=="string"?n.hexToBytes(n.utf8ToHex(s)):s;let x;if(e!=null&&e.iv){if(x=typeof e.iv=="string"?n.hexToBytes(e.iv):e.iv,x.length!==16)throw new v.IVLengthError}else x=P.randomBytes(16);const K=(t=e==null?void 0:e.kdf)!==null&&t!==void 0?t:"scrypt";let b,h;if(K==="pbkdf2"){if(h={dklen:(i=e==null?void 0:e.dklen)!==null&&i!==void 0?i:32,salt:n.bytesToHex(d).replace("0x",""),c:(c=e==null?void 0:e.c)!==null&&c!==void 0?c:262144,prf:"hmac-sha256"},h.c<1e3)throw new v.PBKDF2IterationsError;b=C.pbkdf2Sync(E,d,h.c,h.dklen,"sha256")}else if(K==="scrypt")h={n:(a=e==null?void 0:e.n)!==null&&a!==void 0?a:8192,r:(y=e==null?void 0:e.r)!==null&&y!==void 0?y:8,p:(u=e==null?void 0:e.p)!==null&&u!==void 0?u:1,dklen:(o=e==null?void 0:e.dklen)!==null&&o!==void 0?o:32,salt:n.bytesToHex(d).replace("0x","")},b=N.scryptSync(E,d,h.n,h.p,h.r,h.dklen);else throw new v.InvalidKdfError;const $=yield U.encrypt(l,b.slice(0,16),x,"aes-128-ctr"),R=n.bytesToHex($).slice(2),L=g.sha3Raw(T.uint8ArrayConcat(b.slice(16,32),$)).replace("0x","");return{version:3,id:z.uuidV4(),address:q(l).toLowerCase().replace("0x",""),crypto:{ciphertext:R,cipherparams:{iv:n.bytesToHex(x).replace("0x","")},cipher:"aes-128-ctr",kdf:K,kdfparams:h,mac:L}}}),B=(r,s)=>{const e=p(r,s);return{address:q(e),privateKey:n.bytesToHex(e),signTransaction:t=>{throw new S.TransactionSigningError("Do not have network access to sign the transaction")},sign:t=>I(typeof t=="string"?t:JSON.stringify(t),e),encrypt:(t,i)=>m(void 0,void 0,void 0,function*(){return M(e,t,i)})}},X=()=>{const r=w.secp256k1.utils.randomPrivateKey();return B(`${n.bytesToHex(r)}`)},G=(r,s,e)=>m(void 0,void 0,void 0,function*(){const t=typeof r=="object"?r:JSON.parse(e?r.toLowerCase():r);if(_.validator.validateJSONSchema(j.keyStoreSchema,t),t.version!==3)throw new v.KeyStoreVersionError;const i=typeof s=="string"?n.hexToBytes(n.utf8ToHex(s)):s;_.validator.validate(["bytes"],[i]);let c;if(t.crypto.kdf==="scrypt"){const o=t.crypto.kdfparams,l=typeof o.salt=="string"?n.hexToBytes(o.salt):o.salt;c=N.scryptSync(i,l,o.n,o.p,o.r,o.dklen)}else if(t.crypto.kdf==="pbkdf2"){const o=t.crypto.kdfparams,l=typeof o.salt=="string"?n.hexToBytes(o.salt):o.salt;c=C.pbkdf2Sync(i,l,o.c,o.dklen,"sha256")}else throw new v.InvalidKdfError;const a=n.hexToBytes(t.crypto.ciphertext);if(g.sha3Raw(T.uint8ArrayConcat(c.slice(16,32),a)).replace("0x","")!==t.crypto.mac)throw new v.KeyDerivationError;const u=yield U.decrypt(n.hexToBytes(t.crypto.ciphertext),c.slice(0,16),n.hexToBytes(t.crypto.cipherparams.iv));return B(u)});exports.create=X;exports.decrypt=G;exports.encrypt=M;exports.hashMessage=H;exports.parseAndValidatePrivateKey=p;exports.privateKeyToAccount=B;exports.privateKeyToAddress=q;exports.privateKeyToPublicKey=V;exports.recover=k;exports.recoverTransaction=J;exports.sign=I;exports.signTransaction=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("../../../ethereum-cryptography/esm/aes.cjs"),C=require("../../../ethereum-cryptography/esm/pbkdf2.cjs"),N=require("../../../ethereum-cryptography/esm/scrypt.cjs"),v=require("../../../web3-errors/lib/esm/errors/account_errors.cjs"),b=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const A=require("../../../web3-validator/lib/esm/validation/string.cjs"),_=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const f=require("../../../web3-validator/lib/esm/validation/object.cjs"),w=require("./tx/constants.cjs"),j=require("./schemas.cjs"),D=require("./tx/transactionFactory.cjs"),s=require("../../../web3-utils/lib/esm/converters.cjs"),g=require("../../../web3-utils/lib/esm/hash.cjs"),P=require("../../../web3-utils/lib/esm/random.cjs"),z=require("../../../web3-utils/lib/esm/uuid.cjs"),T=require("../../../web3-utils/lib/esm/uint8array.cjs");var m=function(r,n,e,t){function i(c){return c instanceof e?c:new e(function(a){a(c)})}return new(e||(e=Promise))(function(c,a){function y(l){try{o(t.next(l))}catch(d){a(d)}}function u(l){try{o(t.throw(l))}catch(d){a(d)}}function o(l){l.done?c(l.value):i(l.value).then(y,u)}o((t=t.apply(r,n||[])).next())})};const p=(r,n)=>{let e;if(!n&&typeof r=="string"&&A.isHexStrict(r)&&r.length!==66)throw new v.PrivateKeyLengthError;try{e=T.isUint8Array(r)?r:s.bytesToUint8Array(r)}catch{throw new v.InvalidPrivateKeyError}if(!n&&e.byteLength!==32)throw new v.PrivateKeyLengthError;return e},H=r=>{const n=A.isHexStrict(r)?r:s.utf8ToHex(r),e=s.hexToBytes(n),t=s.hexToBytes(s.fromUtf8(`Ethereum Signed Message:
2
+ ${e.byteLength}`)),i=T.uint8ArrayConcat(t,e);return g.sha3Raw(i)},I=(r,n)=>{const e=p(n),t=H(r),i=w.secp256k1.sign(t.substring(2),e),c=i.toCompactRawBytes(),a=i.r.toString(16).padStart(64,"0"),y=i.s.toString(16).padStart(64,"0"),u=i.recovery+27;return{message:r,messageHash:t,v:s.numberToHex(u),r:`0x${a}`,s:`0x${y}`,signature:`${s.bytesToHex(c)}${u.toString(16)}`}},F=(r,n)=>m(void 0,void 0,void 0,function*(){const e=r.sign(s.hexToBytes(n));if(f.isNullish(e.v)||f.isNullish(e.r)||f.isNullish(e.s))throw new b.TransactionSigningError("Signer Error");const t=e.validate(!0);if(t.length>0){let a="Signer Error ";for(const y of t)a+=`${a} ${y}.`;throw new b.TransactionSigningError(a)}const i=s.bytesToHex(e.serialize()),c=g.sha3Raw(i);return{messageHash:s.bytesToHex(e.getMessageToSign(!0)),v:`0x${e.v.toString(16)}`,r:`0x${e.r.toString(16).padStart(64,"0")}`,s:`0x${e.s.toString(16).padStart(64,"0")}`,rawTransaction:i,transactionHash:s.bytesToHex(c)}}),J=r=>{if(f.isNullish(r))throw new b.UndefinedRawTransactionError;const n=D.TransactionFactory.fromSerializedData(s.hexToBytes(r));return s.toChecksumAddress(n.getSenderAddress().toString())},k=(r,n,e,t,i)=>{if(typeof r=="object"){const d=`${r.r}${r.s.slice(2)}${r.v.slice(2)}`;return k(r.messageHash,d,e)}if(typeof n=="string"&&typeof e=="string"&&!f.isNullish(t)){const d=`${e}${t.slice(2)}${n.slice(2)}`;return k(r,d,i)}if(f.isNullish(n))throw new v.InvalidSignatureError("signature string undefined");const c=130,a=e?r:H(r);let y=parseInt(n.substring(c),16);y>26&&(y-=27);const u=w.secp256k1.Signature.fromCompact(n.slice(2,c)).addRecoveryBit(y).recoverPublicKey(a.replace("0x","")).toRawBytes(!1),o=g.sha3Raw(u.subarray(1));return s.toChecksumAddress(`0x${o.slice(-40)}`)},q=r=>{const n=p(r),e=w.secp256k1.getPublicKey(n,!1),i=g.sha3Raw(e.slice(1)).slice(-40);return s.toChecksumAddress(`0x${i}`)},V=(r,n)=>{const e=p(r);return`0x${s.bytesToHex(w.secp256k1.getPublicKey(e,n)).slice(4)}`},M=(r,n,e)=>m(void 0,void 0,void 0,function*(){var t,i,c,a,y,u,o;const l=p(r);let d;if(e!=null&&e.salt?d=typeof e.salt=="string"?s.hexToBytes(e.salt):e.salt:d=P.randomBytes(32),!(A.isString(n)||T.isUint8Array(n)))throw new v.InvalidPasswordError;const E=typeof n=="string"?s.hexToBytes(s.utf8ToHex(n)):n;let x;if(e!=null&&e.iv){if(x=typeof e.iv=="string"?s.hexToBytes(e.iv):e.iv,x.length!==16)throw new v.IVLengthError}else x=P.randomBytes(16);const K=(t=e==null?void 0:e.kdf)!==null&&t!==void 0?t:"scrypt";let S,h;if(K==="pbkdf2"){if(h={dklen:(i=e==null?void 0:e.dklen)!==null&&i!==void 0?i:32,salt:s.bytesToHex(d).replace("0x",""),c:(c=e==null?void 0:e.c)!==null&&c!==void 0?c:262144,prf:"hmac-sha256"},h.c<1e3)throw new v.PBKDF2IterationsError;S=C.pbkdf2Sync(E,d,h.c,h.dklen,"sha256")}else if(K==="scrypt")h={n:(a=e==null?void 0:e.n)!==null&&a!==void 0?a:8192,r:(y=e==null?void 0:e.r)!==null&&y!==void 0?y:8,p:(u=e==null?void 0:e.p)!==null&&u!==void 0?u:1,dklen:(o=e==null?void 0:e.dklen)!==null&&o!==void 0?o:32,salt:s.bytesToHex(d).replace("0x","")},S=N.scryptSync(E,d,h.n,h.p,h.r,h.dklen);else throw new v.InvalidKdfError;const $=yield U.encrypt(l,S.slice(0,16),x,"aes-128-ctr"),R=s.bytesToHex($).slice(2),L=g.sha3Raw(T.uint8ArrayConcat(S.slice(16,32),$)).replace("0x","");return{version:3,id:z.uuidV4(),address:q(l).toLowerCase().replace("0x",""),crypto:{ciphertext:R,cipherparams:{iv:s.bytesToHex(x).replace("0x","")},cipher:"aes-128-ctr",kdf:K,kdfparams:h,mac:L}}}),B=(r,n)=>{const e=p(r,n);return{address:q(e),privateKey:s.bytesToHex(e),signTransaction:t=>{throw new b.TransactionSigningError("Do not have network access to sign the transaction")},sign:t=>I(typeof t=="string"?t:JSON.stringify(t),e),encrypt:(t,i)=>m(void 0,void 0,void 0,function*(){return M(e,t,i)})}},X=()=>{const r=w.secp256k1.utils.randomPrivateKey();return B(`${s.bytesToHex(r)}`)},G=(r,n,e)=>m(void 0,void 0,void 0,function*(){const t=typeof r=="object"?r:JSON.parse(e?r.toLowerCase():r);if(_.validator.validateJSONSchema(j.keyStoreSchema,t),t.version!==3)throw new v.KeyStoreVersionError;const i=typeof n=="string"?s.hexToBytes(s.utf8ToHex(n)):n;_.validator.validate(["bytes"],[i]);let c;if(t.crypto.kdf==="scrypt"){const o=t.crypto.kdfparams,l=typeof o.salt=="string"?s.hexToBytes(o.salt):o.salt;c=N.scryptSync(i,l,o.n,o.p,o.r,o.dklen)}else if(t.crypto.kdf==="pbkdf2"){const o=t.crypto.kdfparams,l=typeof o.salt=="string"?s.hexToBytes(o.salt):o.salt;c=C.pbkdf2Sync(i,l,o.c,o.dklen,"sha256")}else throw new v.InvalidKdfError;const a=s.hexToBytes(t.crypto.ciphertext);if(g.sha3Raw(T.uint8ArrayConcat(c.slice(16,32),a)).replace("0x","")!==t.crypto.mac)throw new v.KeyDerivationError;const u=yield U.decrypt(s.hexToBytes(t.crypto.ciphertext),c.slice(0,16),s.hexToBytes(t.crypto.cipherparams.iv));return B(u)});exports.create=X;exports.decrypt=G;exports.encrypt=M;exports.hashMessage=H;exports.parseAndValidatePrivateKey=p;exports.privateKeyToAccount=B;exports.privateKeyToAddress=q;exports.privateKeyToPublicKey=V;exports.recover=k;exports.recoverTransaction=J;exports.sign=I;exports.signTransaction=F;