@ozdao/prometheus-framework 0.2.41 → 0.2.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (863) hide show
  1. package/dist/events.server.js +9 -0
  2. package/dist/events.server.mjs +9 -0
  3. package/dist/files.server.js +4 -1
  4. package/dist/files.server.mjs +4 -1
  5. package/dist/main-Ft_OvlW_.mjs +13606 -0
  6. package/dist/main-iZBAe91V.js +91 -0
  7. package/dist/main.css +1 -1
  8. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +1 -0
  9. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
  10. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +1 -0
  11. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
  12. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +1 -0
  13. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
  14. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +1 -0
  15. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
  16. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.cjs +2 -0
  17. package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +52 -0
  18. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +1 -0
  19. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
  20. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +1 -0
  21. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  22. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +1 -0
  23. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
  24. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +1 -0
  25. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +17 -0
  26. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -0
  27. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
  28. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +1 -0
  29. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +12 -0
  30. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +1 -0
  31. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  32. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -0
  33. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +16 -0
  34. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -0
  35. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  36. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +1 -0
  37. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  38. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +1 -0
  39. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
  40. package/dist/node_modules/@capacitor/core/dist/index.cjs +1 -0
  41. package/dist/node_modules/@capacitor/core/dist/index.js +337 -0
  42. package/dist/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
  43. package/dist/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
  44. package/dist/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
  45. package/dist/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
  46. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  47. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  48. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  49. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  50. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  51. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  54. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  55. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  56. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  57. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  58. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  59. package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -0
  60. package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -0
  61. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  62. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4912 -0
  63. package/dist/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  64. package/dist/node_modules/axios/lib/adapters/adapters.js +51 -0
  65. package/dist/node_modules/axios/lib/adapters/xhr.cjs +1 -0
  66. package/dist/node_modules/axios/lib/adapters/xhr.js +109 -0
  67. package/dist/node_modules/axios/lib/axios.cjs +1 -0
  68. package/dist/node_modules/axios/lib/axios.js +47 -0
  69. package/dist/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
  70. package/dist/node_modules/axios/lib/cancel/CancelToken.js +73 -0
  71. package/dist/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
  72. package/dist/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  73. package/dist/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
  74. package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
  75. package/dist/node_modules/axios/lib/core/Axios.cjs +2 -0
  76. package/dist/node_modules/axios/lib/core/Axios.js +131 -0
  77. package/dist/node_modules/axios/lib/core/AxiosError.cjs +1 -0
  78. package/dist/node_modules/axios/lib/core/AxiosError.js +54 -0
  79. package/dist/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  80. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  81. package/dist/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
  82. package/dist/node_modules/axios/lib/core/InterceptorManager.js +58 -0
  83. package/dist/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
  84. package/dist/node_modules/axios/lib/core/buildFullPath.js +8 -0
  85. package/dist/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
  86. package/dist/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  87. package/dist/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
  88. package/dist/node_modules/axios/lib/core/mergeConfig.js +72 -0
  89. package/dist/node_modules/axios/lib/core/settle.cjs +1 -0
  90. package/dist/node_modules/axios/lib/core/settle.js +14 -0
  91. package/dist/node_modules/axios/lib/core/transformData.cjs +1 -0
  92. package/dist/node_modules/axios/lib/core/transformData.js +13 -0
  93. package/dist/node_modules/axios/lib/defaults/index.cjs +1 -0
  94. package/dist/node_modules/axios/lib/defaults/index.js +88 -0
  95. package/dist/node_modules/axios/lib/defaults/transitional.cjs +1 -0
  96. package/dist/node_modules/axios/lib/defaults/transitional.js +8 -0
  97. package/dist/node_modules/axios/lib/env/data.cjs +1 -0
  98. package/dist/node_modules/axios/lib/env/data.js +4 -0
  99. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  100. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  101. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  102. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  103. package/dist/node_modules/axios/lib/helpers/bind.cjs +1 -0
  104. package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
  105. package/dist/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
  106. package/dist/node_modules/axios/lib/helpers/buildURL.js +19 -0
  107. package/dist/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
  108. package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  109. package/dist/node_modules/axios/lib/helpers/cookies.cjs +1 -0
  110. package/dist/node_modules/axios/lib/helpers/cookies.js +32 -0
  111. package/dist/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  112. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +32 -0
  113. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
  114. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  115. package/dist/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
  116. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  117. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
  118. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  119. package/dist/node_modules/axios/lib/helpers/null.cjs +1 -0
  120. package/dist/node_modules/axios/lib/helpers/null.js +4 -0
  121. package/dist/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
  122. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  123. package/dist/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
  124. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  125. package/dist/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  126. package/dist/node_modules/axios/lib/helpers/speedometer.js +19 -0
  127. package/dist/node_modules/axios/lib/helpers/spread.cjs +1 -0
  128. package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
  129. package/dist/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
  130. package/dist/node_modules/axios/lib/helpers/toFormData.js +84 -0
  131. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  132. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  133. package/dist/node_modules/axios/lib/helpers/validator.cjs +1 -0
  134. package/dist/node_modules/axios/lib/helpers/validator.js +51 -0
  135. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  136. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  137. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  138. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  139. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  140. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  141. package/dist/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  142. package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
  143. package/dist/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  144. package/dist/node_modules/axios/lib/platform/common/utils.js +7 -0
  145. package/dist/node_modules/axios/lib/platform/index.cjs +1 -0
  146. package/dist/node_modules/axios/lib/platform/index.js +9 -0
  147. package/dist/node_modules/axios/lib/utils.cjs +1 -0
  148. package/dist/node_modules/axios/lib/utils.js +224 -0
  149. package/dist/node_modules/bignumber.js/bignumber.cjs +1 -0
  150. package/dist/node_modules/bignumber.js/bignumber.js +701 -0
  151. package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.cjs +1 -0
  152. package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +8 -0
  153. package/dist/node_modules/date-fns/esm/_lib/assign/index.cjs +1 -0
  154. package/dist/node_modules/date-fns/esm/_lib/assign/index.js +10 -0
  155. package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.cjs +1 -0
  156. package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.js +4 -0
  157. package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.cjs +1 -0
  158. package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.js +7 -0
  159. package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.cjs +1 -0
  160. package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.js +573 -0
  161. package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.cjs +1 -0
  162. package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +58 -0
  163. package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.cjs +1 -0
  164. package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +76 -0
  165. package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.cjs +1 -0
  166. package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
  167. package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.cjs +1 -0
  168. package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +13 -0
  169. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.cjs +1 -0
  170. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +13 -0
  171. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.cjs +1 -0
  172. package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +15 -0
  173. package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.cjs +1 -0
  174. package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +13 -0
  175. package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.cjs +1 -0
  176. package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +21 -0
  177. package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.cjs +1 -0
  178. package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.js +22 -0
  179. package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.cjs +1 -0
  180. package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.js +7 -0
  181. package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.cjs +1 -0
  182. package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.js +16 -0
  183. package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.cjs +1 -0
  184. package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +13 -0
  185. package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.cjs +1 -0
  186. package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +12 -0
  187. package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.cjs +1 -0
  188. package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +12 -0
  189. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.cjs +1 -0
  190. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +10 -0
  191. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.cjs +1 -0
  192. package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +13 -0
  193. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.cjs +1 -0
  194. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +16 -0
  195. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.cjs +1 -0
  196. package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +16 -0
  197. package/dist/node_modules/date-fns/esm/_lib/toInteger/index.cjs +1 -0
  198. package/dist/node_modules/date-fns/esm/_lib/toInteger/index.js +9 -0
  199. package/dist/node_modules/date-fns/esm/add/index.cjs +1 -0
  200. package/dist/node_modules/date-fns/esm/add/index.js +15 -0
  201. package/dist/node_modules/date-fns/esm/addDays/index.cjs +1 -0
  202. package/dist/node_modules/date-fns/esm/addDays/index.js +11 -0
  203. package/dist/node_modules/date-fns/esm/addMilliseconds/index.cjs +1 -0
  204. package/dist/node_modules/date-fns/esm/addMilliseconds/index.js +11 -0
  205. package/dist/node_modules/date-fns/esm/addMonths/index.cjs +1 -0
  206. package/dist/node_modules/date-fns/esm/addMonths/index.js +18 -0
  207. package/dist/node_modules/date-fns/esm/addQuarters/index.cjs +1 -0
  208. package/dist/node_modules/date-fns/esm/addQuarters/index.js +11 -0
  209. package/dist/node_modules/date-fns/esm/addYears/index.cjs +1 -0
  210. package/dist/node_modules/date-fns/esm/addYears/index.js +11 -0
  211. package/dist/node_modules/date-fns/esm/constants/index.cjs +1 -0
  212. package/dist/node_modules/date-fns/esm/constants/index.js +6 -0
  213. package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.cjs +1 -0
  214. package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.js +12 -0
  215. package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.cjs +1 -0
  216. package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.js +20 -0
  217. package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.cjs +1 -0
  218. package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.js +18 -0
  219. package/dist/node_modules/date-fns/esm/endOfQuarter/index.cjs +1 -0
  220. package/dist/node_modules/date-fns/esm/endOfQuarter/index.js +10 -0
  221. package/dist/node_modules/date-fns/esm/endOfWeek/index.cjs +1 -0
  222. package/dist/node_modules/date-fns/esm/endOfWeek/index.js +16 -0
  223. package/dist/node_modules/date-fns/esm/endOfYear/index.cjs +1 -0
  224. package/dist/node_modules/date-fns/esm/endOfYear/index.js +10 -0
  225. package/dist/node_modules/date-fns/esm/format/index.cjs +1 -0
  226. package/dist/node_modules/date-fns/esm/format/index.js +62 -0
  227. package/dist/node_modules/date-fns/esm/getDay/index.cjs +1 -0
  228. package/dist/node_modules/date-fns/esm/getDay/index.js +10 -0
  229. package/dist/node_modules/date-fns/esm/getDaysInMonth/index.cjs +1 -0
  230. package/dist/node_modules/date-fns/esm/getDaysInMonth/index.js +10 -0
  231. package/dist/node_modules/date-fns/esm/getHours/index.cjs +1 -0
  232. package/dist/node_modules/date-fns/esm/getHours/index.js +10 -0
  233. package/dist/node_modules/date-fns/esm/getISOWeek/index.cjs +1 -0
  234. package/dist/node_modules/date-fns/esm/getISOWeek/index.js +13 -0
  235. package/dist/node_modules/date-fns/esm/getISOWeekYear/index.cjs +1 -0
  236. package/dist/node_modules/date-fns/esm/getISOWeekYear/index.js +15 -0
  237. package/dist/node_modules/date-fns/esm/getMinutes/index.cjs +1 -0
  238. package/dist/node_modules/date-fns/esm/getMinutes/index.js +10 -0
  239. package/dist/node_modules/date-fns/esm/getMonth/index.cjs +1 -0
  240. package/dist/node_modules/date-fns/esm/getMonth/index.js +10 -0
  241. package/dist/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
  242. package/dist/node_modules/date-fns/esm/getQuarter/index.js +10 -0
  243. package/dist/node_modules/date-fns/esm/getSeconds/index.cjs +1 -0
  244. package/dist/node_modules/date-fns/esm/getSeconds/index.js +10 -0
  245. package/dist/node_modules/date-fns/esm/getWeek/index.cjs +1 -0
  246. package/dist/node_modules/date-fns/esm/getWeek/index.js +13 -0
  247. package/dist/node_modules/date-fns/esm/getWeekYear/index.cjs +1 -0
  248. package/dist/node_modules/date-fns/esm/getWeekYear/index.js +21 -0
  249. package/dist/node_modules/date-fns/esm/getYear/index.cjs +1 -0
  250. package/dist/node_modules/date-fns/esm/getYear/index.js +8 -0
  251. package/dist/node_modules/date-fns/esm/isAfter/index.cjs +1 -0
  252. package/dist/node_modules/date-fns/esm/isAfter/index.js +10 -0
  253. package/dist/node_modules/date-fns/esm/isBefore/index.cjs +1 -0
  254. package/dist/node_modules/date-fns/esm/isBefore/index.js +10 -0
  255. package/dist/node_modules/date-fns/esm/isDate/index.cjs +1 -0
  256. package/dist/node_modules/date-fns/esm/isDate/index.js +8 -0
  257. package/dist/node_modules/date-fns/esm/isEqual/index.cjs +1 -0
  258. package/dist/node_modules/date-fns/esm/isEqual/index.js +10 -0
  259. package/dist/node_modules/date-fns/esm/isSameQuarter/index.cjs +1 -0
  260. package/dist/node_modules/date-fns/esm/isSameQuarter/index.js +10 -0
  261. package/dist/node_modules/date-fns/esm/isValid/index.cjs +1 -0
  262. package/dist/node_modules/date-fns/esm/isValid/index.js +12 -0
  263. package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.cjs +1 -0
  264. package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +9 -0
  265. package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.cjs +1 -0
  266. package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +17 -0
  267. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.cjs +1 -0
  268. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +31 -0
  269. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.cjs +1 -0
  270. package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +20 -0
  271. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.cjs +1 -0
  272. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +70 -0
  273. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.cjs +1 -0
  274. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +34 -0
  275. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.cjs +1 -0
  276. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +14 -0
  277. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.cjs +1 -0
  278. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +124 -0
  279. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.cjs +1 -0
  280. package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +89 -0
  281. package/dist/node_modules/date-fns/esm/locale/en-US/index.cjs +1 -0
  282. package/dist/node_modules/date-fns/esm/locale/en-US/index.js +21 -0
  283. package/dist/node_modules/date-fns/esm/parse/_lib/Parser.cjs +1 -0
  284. package/dist/node_modules/date-fns/esm/parse/_lib/Parser.js +27 -0
  285. package/dist/node_modules/date-fns/esm/parse/_lib/Setter.cjs +1 -0
  286. package/dist/node_modules/date-fns/esm/parse/_lib/Setter.js +59 -0
  287. package/dist/node_modules/date-fns/esm/parse/_lib/constants.cjs +1 -0
  288. package/dist/node_modules/date-fns/esm/parse/_lib/constants.js +49 -0
  289. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  290. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js +61 -0
  291. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.cjs +1 -0
  292. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js +61 -0
  293. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.cjs +1 -0
  294. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js +49 -0
  295. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  296. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js +50 -0
  297. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.cjs +1 -0
  298. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js +80 -0
  299. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  300. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js +61 -0
  301. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.cjs +1 -0
  302. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js +54 -0
  303. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  304. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js +33 -0
  305. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  306. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js +36 -0
  307. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  308. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js +49 -0
  309. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  310. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js +48 -0
  311. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  312. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js +49 -0
  313. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  314. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js +49 -0
  315. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.cjs +1 -0
  316. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js +89 -0
  317. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  318. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js +46 -0
  319. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  320. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js +46 -0
  321. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  322. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js +50 -0
  323. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  324. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js +35 -0
  325. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  326. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js +90 -0
  327. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  328. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js +50 -0
  329. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  330. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js +61 -0
  331. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.cjs +1 -0
  332. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js +48 -0
  333. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.cjs +1 -0
  334. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js +76 -0
  335. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.cjs +1 -0
  336. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js +71 -0
  337. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.cjs +1 -0
  338. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js +48 -0
  339. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  340. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js +90 -0
  341. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  342. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js +76 -0
  343. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  344. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  345. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  346. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js +35 -0
  347. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  348. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js +35 -0
  349. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.cjs +1 -0
  350. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js +59 -0
  351. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.cjs +1 -0
  352. package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.js +67 -0
  353. package/dist/node_modules/date-fns/esm/parse/_lib/utils.cjs +1 -0
  354. package/dist/node_modules/date-fns/esm/parse/_lib/utils.js +102 -0
  355. package/dist/node_modules/date-fns/esm/parse/index.cjs +1 -0
  356. package/dist/node_modules/date-fns/esm/parse/index.js +128 -0
  357. package/dist/node_modules/date-fns/esm/parseISO/index.cjs +1 -0
  358. package/dist/node_modules/date-fns/esm/parseISO/index.js +120 -0
  359. package/dist/node_modules/date-fns/esm/set/index.cjs +1 -0
  360. package/dist/node_modules/date-fns/esm/set/index.js +14 -0
  361. package/dist/node_modules/date-fns/esm/setHours/index.cjs +1 -0
  362. package/dist/node_modules/date-fns/esm/setHours/index.js +11 -0
  363. package/dist/node_modules/date-fns/esm/setMilliseconds/index.cjs +1 -0
  364. package/dist/node_modules/date-fns/esm/setMilliseconds/index.js +11 -0
  365. package/dist/node_modules/date-fns/esm/setMinutes/index.cjs +1 -0
  366. package/dist/node_modules/date-fns/esm/setMinutes/index.js +11 -0
  367. package/dist/node_modules/date-fns/esm/setMonth/index.cjs +1 -0
  368. package/dist/node_modules/date-fns/esm/setMonth/index.js +14 -0
  369. package/dist/node_modules/date-fns/esm/setSeconds/index.cjs +1 -0
  370. package/dist/node_modules/date-fns/esm/setSeconds/index.js +11 -0
  371. package/dist/node_modules/date-fns/esm/setYear/index.cjs +1 -0
  372. package/dist/node_modules/date-fns/esm/setYear/index.js +11 -0
  373. package/dist/node_modules/date-fns/esm/startOfDay/index.cjs +1 -0
  374. package/dist/node_modules/date-fns/esm/startOfDay/index.js +10 -0
  375. package/dist/node_modules/date-fns/esm/startOfISOWeek/index.cjs +1 -0
  376. package/dist/node_modules/date-fns/esm/startOfISOWeek/index.js +10 -0
  377. package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.cjs +1 -0
  378. package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.js +13 -0
  379. package/dist/node_modules/date-fns/esm/startOfQuarter/index.cjs +1 -0
  380. package/dist/node_modules/date-fns/esm/startOfQuarter/index.js +10 -0
  381. package/dist/node_modules/date-fns/esm/startOfWeek/index.cjs +1 -0
  382. package/dist/node_modules/date-fns/esm/startOfWeek/index.js +16 -0
  383. package/dist/node_modules/date-fns/esm/startOfWeekYear/index.cjs +1 -0
  384. package/dist/node_modules/date-fns/esm/startOfWeekYear/index.js +16 -0
  385. package/dist/node_modules/date-fns/esm/startOfYear/index.cjs +1 -0
  386. package/dist/node_modules/date-fns/esm/startOfYear/index.js +10 -0
  387. package/dist/node_modules/date-fns/esm/sub/index.cjs +1 -0
  388. package/dist/node_modules/date-fns/esm/sub/index.js +14 -0
  389. package/dist/node_modules/date-fns/esm/subDays/index.cjs +1 -0
  390. package/dist/node_modules/date-fns/esm/subDays/index.js +11 -0
  391. package/dist/node_modules/date-fns/esm/subMilliseconds/index.cjs +1 -0
  392. package/dist/node_modules/date-fns/esm/subMilliseconds/index.js +11 -0
  393. package/dist/node_modules/date-fns/esm/subMonths/index.cjs +1 -0
  394. package/dist/node_modules/date-fns/esm/subMonths/index.js +11 -0
  395. package/dist/node_modules/date-fns/esm/subYears/index.cjs +1 -0
  396. package/dist/node_modules/date-fns/esm/subYears/index.js +11 -0
  397. package/dist/node_modules/date-fns/esm/toDate/index.cjs +1 -0
  398. package/dist/node_modules/date-fns/esm/toDate/index.js +10 -0
  399. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  400. package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
  401. package/dist/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -0
  402. package/dist/node_modules/libphonenumber-js/es6/ParseError.js +113 -0
  403. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -0
  404. package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +150 -0
  405. package/dist/node_modules/libphonenumber-js/es6/constants.cjs +1 -0
  406. package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
  407. package/dist/node_modules/libphonenumber-js/es6/format.cjs +2 -0
  408. package/dist/node_modules/libphonenumber-js/es6/format.js +134 -0
  409. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +1 -0
  410. package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
  411. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +1 -0
  412. package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
  413. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -0
  414. package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +22 -0
  415. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +1 -0
  416. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
  417. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +1 -0
  418. package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
  419. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +1 -0
  420. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +47 -0
  421. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +1 -0
  422. package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +22 -0
  423. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +1 -0
  424. package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
  425. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +1 -0
  426. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +35 -0
  427. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +1 -0
  428. package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
  429. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +1 -0
  430. package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
  431. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -0
  432. package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +27 -0
  433. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -0
  434. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +17 -0
  435. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -0
  436. package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +58 -0
  437. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +1 -0
  438. package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
  439. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -0
  440. package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -0
  441. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +1 -0
  442. package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
  443. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
  444. package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
  445. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +1 -0
  446. package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
  447. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +1 -0
  448. package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
  449. package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +2 -0
  450. package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +43 -0
  451. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +1 -0
  452. package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
  453. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +1 -0
  454. package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
  455. package/dist/node_modules/libphonenumber-js/es6/isPossible.cjs +1 -0
  456. package/dist/node_modules/libphonenumber-js/es6/isPossible.js +38 -0
  457. package/dist/node_modules/libphonenumber-js/es6/isValid.cjs +1 -0
  458. package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -0
  459. package/dist/node_modules/libphonenumber-js/es6/metadata.cjs +1 -0
  460. package/dist/node_modules/libphonenumber-js/es6/metadata.js +460 -0
  461. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -0
  462. package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +96 -0
  463. package/dist/node_modules/libphonenumber-js/es6/parse.cjs +1 -0
  464. package/dist/node_modules/libphonenumber-js/es6/parse.js +121 -0
  465. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -0
  466. package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +53 -0
  467. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +1 -0
  468. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
  469. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +1 -0
  470. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +33 -0
  471. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +1 -0
  472. package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +41 -0
  473. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +1 -0
  474. package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +18 -0
  475. package/dist/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -0
  476. package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
  477. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +1 -0
  478. package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
  479. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +1 -0
  480. package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
  481. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  482. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +1 -4
  483. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  484. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  485. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  486. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  487. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  488. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  489. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  490. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  491. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  492. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  493. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  494. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  495. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  496. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  497. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  498. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  499. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  500. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  501. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  502. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  503. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  504. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  505. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  506. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  507. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  508. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  509. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  510. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  511. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  512. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  513. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  514. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  515. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  516. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  517. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  518. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  519. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  520. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  521. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  522. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  523. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  524. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  525. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  526. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  527. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  528. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  529. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  530. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  531. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  532. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  533. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  534. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  535. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  536. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  537. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  538. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  539. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  540. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  541. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  542. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  543. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  544. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  545. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  546. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  547. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  548. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  549. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  550. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  551. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  552. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  553. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  554. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  555. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  556. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  557. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  558. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  559. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  560. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  561. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  562. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  563. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  564. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  565. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  566. package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
  567. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  568. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
  569. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  570. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -4
  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 -4
  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/Countdown/Countdown.vue.cjs +1 -1
  576. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +26 -28
  577. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  578. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
  579. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  580. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
  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 -4
  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.vue2.cjs +1 -1
  606. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -4
  607. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  608. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -4
  609. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  610. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
  611. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  612. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
  613. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  614. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -46
  615. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  616. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
  617. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  618. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
  619. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  620. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  621. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  622. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
  623. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  624. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  625. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  626. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  627. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  628. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  629. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  630. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +1 -1
  631. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  632. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
  633. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  634. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
  635. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  636. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
  637. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  638. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  639. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  640. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
  641. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  642. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  643. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  644. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
  645. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  646. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  647. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  648. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
  649. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  650. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
  651. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  652. package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
  653. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  654. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  655. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  656. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  657. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  658. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +1 -4
  659. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  660. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  661. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  662. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
  663. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  664. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
  665. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  666. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +19 -18
  667. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  668. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  669. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  670. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
  671. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  672. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
  673. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  674. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  675. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  676. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  677. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  678. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
  679. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  680. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  681. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  682. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -4
  683. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  684. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  685. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  686. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
  687. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  688. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +123 -79
  689. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  690. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
  691. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +3 -3
  692. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +65 -56
  693. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  694. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +67 -53
  695. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  696. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
  697. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  698. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
  699. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
  700. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +48 -37
  701. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  702. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
  703. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  704. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +71 -57
  705. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  706. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  707. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  708. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  709. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  710. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
  711. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  712. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
  713. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  714. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  715. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  716. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
  717. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  718. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  719. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  720. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
  721. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  722. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  723. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  724. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  725. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  726. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  727. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  728. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
  729. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  730. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
  731. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  732. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  733. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  734. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  735. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  736. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +20 -11
  737. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  738. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
  739. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  740. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  741. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  742. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
  743. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  744. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
  745. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  746. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
  747. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  748. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
  749. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  750. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  751. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  752. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +1 -4
  753. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  754. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  755. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  756. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  757. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  758. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
  759. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  760. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  761. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  762. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  763. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  764. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
  765. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  766. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  767. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  768. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  769. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  770. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  771. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  772. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
  773. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  774. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
  775. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  776. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
  777. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  778. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  779. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  780. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  781. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  782. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  783. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  784. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  785. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  786. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
  787. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  788. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
  789. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  790. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
  791. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  792. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
  793. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  794. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -4
  795. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  796. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
  797. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  798. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
  799. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  800. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
  801. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  802. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  803. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  804. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
  805. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  806. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -19
  807. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  808. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
  809. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  810. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  811. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  812. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
  813. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  814. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  815. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  816. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
  817. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  818. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -4
  819. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  820. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +30 -27
  821. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  822. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  823. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  824. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  825. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  826. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  827. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  828. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  829. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  830. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
  831. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  832. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  833. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  834. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  835. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  836. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
  837. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  838. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  839. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  840. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  841. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  842. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
  843. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  844. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  845. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  846. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  847. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  848. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +75 -77
  849. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  850. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  851. package/dist/prometheus-framework.cjs.js +1 -36
  852. package/dist/prometheus-framework.es.js +37 -9149
  853. package/dist/style.css +1 -1
  854. package/dist/web-Ot-Nyiix.mjs +55 -0
  855. package/dist/web-tkW-RBhL.js +1 -0
  856. package/package.json +2 -2
  857. package/src/components/Status/Status.vue +3 -1
  858. package/src/components/index.js +20 -0
  859. package/src/main.js +60 -2
  860. package/src/modules/payments/{controller → controllers}/payments.controller.js +15 -11
  861. package/src/modules/products/products.client.js +35 -0
  862. package/src/modules/wallet/components/pages/Wallet.vue +3 -3
  863. /package/src/modules/payments/{controller → controllers}/payments.tinkoff.controller.js +0 -0
@@ -5,72 +5,72 @@ import "../../../../web3-validator/lib/esm/default_validator.js";
5
5
  import "../../../../web3-types/lib/esm/data_format_types.js";
6
6
  import "../../../../web3-types/lib/esm/eth_types.js";
7
7
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
8
- import { isNullish as c } from "../../../../web3-validator/lib/esm/validation/object.js";
8
+ import { isNullish as u } from "../../../../web3-validator/lib/esm/validation/object.js";
9
9
  import { getGasPrice as y, getBlock as g } from "../rpc_method_wrappers.js";
10
- import { getTransactionType as h } from "./transaction_builder.js";
10
+ import { getTransactionType as x } from "./transaction_builder.js";
11
11
  import { format as m } from "../../../../web3-utils/lib/esm/formatter.js";
12
- var p = globalThis && globalThis.__awaiter || function(r, t, e, i) {
13
- function s(o) {
14
- return o instanceof e ? o : new e(function(n) {
15
- n(o);
12
+ var p = function(r, n, i, e) {
13
+ function f(t) {
14
+ return t instanceof i ? t : new i(function(o) {
15
+ o(t);
16
16
  });
17
17
  }
18
- return new (e || (e = Promise))(function(o, n) {
19
- function f(a) {
18
+ return new (i || (i = Promise))(function(t, o) {
19
+ function s(a) {
20
20
  try {
21
- u(i.next(a));
21
+ c(e.next(a));
22
22
  } catch (d) {
23
- n(d);
23
+ o(d);
24
24
  }
25
25
  }
26
26
  function l(a) {
27
27
  try {
28
- u(i.throw(a));
28
+ c(e.throw(a));
29
29
  } catch (d) {
30
- n(d);
30
+ o(d);
31
31
  }
32
32
  }
33
- function u(a) {
34
- a.done ? o(a.value) : s(a.value).then(f, l);
33
+ function c(a) {
34
+ a.done ? t(a.value) : f(a.value).then(s, l);
35
35
  }
36
- u((i = i.apply(r, t || [])).next());
36
+ c((e = e.apply(r, n || [])).next());
37
37
  });
38
38
  };
39
- function x(r, t, e) {
40
- var i, s, o;
39
+ function h(r, n, i) {
40
+ var e, f, t;
41
41
  return p(this, void 0, void 0, function* () {
42
- const n = yield g(t, t.defaultBlock, !1, e);
43
- if (c(n.baseFeePerGas))
42
+ const o = yield g(n, n.defaultBlock, !1, i);
43
+ if (u(o.baseFeePerGas))
44
44
  throw new G();
45
- if (!c(r.gasPrice)) {
46
- const f = m({ format: "uint" }, r.gasPrice, e);
45
+ if (!u(r.gasPrice)) {
46
+ const s = m({ format: "uint" }, r.gasPrice, i);
47
47
  return {
48
- maxPriorityFeePerGas: f,
49
- maxFeePerGas: f
48
+ maxPriorityFeePerGas: s,
49
+ maxFeePerGas: s
50
50
  };
51
51
  }
52
52
  return {
53
- maxPriorityFeePerGas: m({ format: "uint" }, (i = r.maxPriorityFeePerGas) !== null && i !== void 0 ? i : t.defaultMaxPriorityFeePerGas, e),
54
- maxFeePerGas: m({ format: "uint" }, (s = r.maxFeePerGas) !== null && s !== void 0 ? s : BigInt(n.baseFeePerGas) * BigInt(2) + BigInt((o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : t.defaultMaxPriorityFeePerGas), e)
53
+ maxPriorityFeePerGas: m({ format: "uint" }, (e = r.maxPriorityFeePerGas) !== null && e !== void 0 ? e : n.defaultMaxPriorityFeePerGas, i),
54
+ maxFeePerGas: m({ format: "uint" }, (f = r.maxFeePerGas) !== null && f !== void 0 ? f : BigInt(o.baseFeePerGas) * BigInt(2) + BigInt((t = r.maxPriorityFeePerGas) !== null && t !== void 0 ? t : n.defaultMaxPriorityFeePerGas), i)
55
55
  };
56
56
  });
57
57
  }
58
- function M(r, t, e) {
58
+ function M(r, n, i) {
59
59
  return p(this, void 0, void 0, function* () {
60
- const i = h(r, t);
61
- if (!c(i)) {
62
- if (i.startsWith("-"))
63
- throw new P(i);
64
- if (Number(i) < 0 || Number(i) > 127)
65
- throw new P(i);
66
- if (c(r.gasPrice) && (i === "0x0" || i === "0x1"))
60
+ const e = x(r, n);
61
+ if (!u(e)) {
62
+ if (e.startsWith("-"))
63
+ throw new P(e);
64
+ if (Number(e) < 0 || Number(e) > 127)
65
+ throw new P(e);
66
+ if (u(r.gasPrice) && (e === "0x0" || e === "0x1"))
67
67
  return {
68
- gasPrice: yield y(t, e),
68
+ gasPrice: yield y(n, i),
69
69
  maxPriorityFeePerGas: void 0,
70
70
  maxFeePerGas: void 0
71
71
  };
72
- if (i === "0x2")
73
- return Object.assign({ gasPrice: void 0 }, yield x(r, t, e));
72
+ if (e === "0x2")
73
+ return Object.assign({ gasPrice: void 0 }, yield h(r, n, i));
74
74
  }
75
75
  });
76
76
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=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-eth-accounts/lib/esm/wallet.cjs");require("../../../../web3-eth-accounts/lib/esm/account.cjs");const N=require("../../../../web3-eth-accounts/lib/esm/common/common.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const f=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");const S=require("../../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),w=require("../validation.cjs"),O=require("./format_transaction.cjs"),G=require("./transaction_builder.cjs"),h=require("../../../../web3-utils/lib/esm/converters.cjs");var L=globalThis&&globalThis.__awaiter||function(e,i,o,l){function m(d){return d instanceof o?d:new o(function(u){u(d)})}return new(o||(o=Promise))(function(d,u){function s(r){try{v(l.next(r))}catch(a){u(a)}}function c(r){try{v(l.throw(r))}catch(a){u(a)}}function v(r){r.done?d(r.value):m(r.value).then(s,c)}v((l=l.apply(e,i||[])).next())})};const A=e=>{var i,o;return{nonce:e.nonce,gasPrice:e.gasPrice,gasLimit:(i=e.gasLimit)!==null&&i!==void 0?i:e.gas,to:e.to,value:e.value,data:(o=e.data)!==null&&o!==void 0?o:e.input,type:e.type,chainId:e.chainId,accessList:e.accessList,maxPriorityFeePerGas:e.maxPriorityFeePerGas,maxFeePerGas:e.maxFeePerGas}},D=(e,i)=>{var o,l,m,d,u,s,c,v,r,a,t,_,q,k,g,p,T,y;const C=!f.isNullish(e.chain)&&!f.isNullish(e.hardfork)||!f.isNullish(e.common);let n;if(!C)i.defaultCommon?(n=Object.assign({},i.defaultCommon),f.isNullish(n.hardfork)&&(n.hardfork=(o=e.hardfork)!==null&&o!==void 0?o:i.defaultHardfork),f.isNullish(n.baseChain)&&(n.baseChain=i.defaultChain)):n=N.Common.custom({name:"custom-network",chainId:h.toNumber(e.chainId),networkId:f.isNullish(e.networkId)?void 0:h.toNumber(e.networkId),defaultHardfork:(l=e.hardfork)!==null&&l!==void 0?l:i.defaultHardfork},{baseChain:i.defaultChain});else{const I=(s=(u=(d=(m=e==null?void 0:e.common)===null||m===void 0?void 0:m.customChain)===null||d===void 0?void 0:d.name)!==null&&u!==void 0?u:e.chain)!==null&&s!==void 0?s:"custom-network",F=h.toNumber((r=(v=(c=e==null?void 0:e.common)===null||c===void 0?void 0:c.customChain)===null||v===void 0?void 0:v.chainId)!==null&&r!==void 0?r:e==null?void 0:e.chainId),b=h.toNumber((_=(t=(a=e==null?void 0:e.common)===null||a===void 0?void 0:a.customChain)===null||t===void 0?void 0:t.networkId)!==null&&_!==void 0?_:e==null?void 0:e.networkId),P=(g=(k=(q=e==null?void 0:e.common)===null||q===void 0?void 0:q.hardfork)!==null&&k!==void 0?k:e==null?void 0:e.hardfork)!==null&&g!==void 0?g:i.defaultHardfork,j=(y=(T=(p=e.common)===null||p===void 0?void 0:p.baseChain)!==null&&T!==void 0?T:e.chain)!==null&&y!==void 0?y:i.defaultChain;F&&b&&I&&(n=N.Common.custom({name:I,chainId:F,networkId:b,defaultHardfork:P},{baseChain:j}))}return{common:n}},E=(e,i,o,l=!1,m=!0)=>L(void 0,void 0,void 0,function*(){const d=yield G.transactionBuilder({transaction:e,web3Context:i,privateKey:o,fillGasPrice:l,fillGasLimit:m}),u=O.formatTransaction(d,H.ETH_DATA_FORMAT);return w.validateTransactionForSigning(u),S.TransactionFactory.fromTxData(A(u),D(u,i))});exports.prepareTransactionForSigning=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=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-eth-accounts/lib/esm/wallet.cjs");require("../../../../web3-eth-accounts/lib/esm/account.cjs");const b=require("../../../../web3-eth-accounts/lib/esm/common/common.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const f=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");const S=require("../../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),w=require("../validation.cjs"),O=require("./format_transaction.cjs"),G=require("./transaction_builder.cjs"),h=require("../../../../web3-utils/lib/esm/converters.cjs");var L=function(e,i,o,l){function m(u){return u instanceof o?u:new o(function(d){d(u)})}return new(o||(o=Promise))(function(u,d){function c(r){try{v(l.next(r))}catch(a){d(a)}}function s(r){try{v(l.throw(r))}catch(a){d(a)}}function v(r){r.done?u(r.value):m(r.value).then(c,s)}v((l=l.apply(e,i||[])).next())})};const A=e=>{var i,o;return{nonce:e.nonce,gasPrice:e.gasPrice,gasLimit:(i=e.gasLimit)!==null&&i!==void 0?i:e.gas,to:e.to,value:e.value,data:(o=e.data)!==null&&o!==void 0?o:e.input,type:e.type,chainId:e.chainId,accessList:e.accessList,maxPriorityFeePerGas:e.maxPriorityFeePerGas,maxFeePerGas:e.maxFeePerGas}},D=(e,i)=>{var o,l,m,u,d,c,s,v,r,a,t,_,q,k,p,g,T,y;const C=!f.isNullish(e.chain)&&!f.isNullish(e.hardfork)||!f.isNullish(e.common);let n;if(!C)i.defaultCommon?(n=Object.assign({},i.defaultCommon),f.isNullish(n.hardfork)&&(n.hardfork=(o=e.hardfork)!==null&&o!==void 0?o:i.defaultHardfork),f.isNullish(n.baseChain)&&(n.baseChain=i.defaultChain)):n=b.Common.custom({name:"custom-network",chainId:h.toNumber(e.chainId),networkId:f.isNullish(e.networkId)?void 0:h.toNumber(e.networkId),defaultHardfork:(l=e.hardfork)!==null&&l!==void 0?l:i.defaultHardfork},{baseChain:i.defaultChain});else{const I=(c=(d=(u=(m=e==null?void 0:e.common)===null||m===void 0?void 0:m.customChain)===null||u===void 0?void 0:u.name)!==null&&d!==void 0?d:e.chain)!==null&&c!==void 0?c:"custom-network",F=h.toNumber((r=(v=(s=e==null?void 0:e.common)===null||s===void 0?void 0:s.customChain)===null||v===void 0?void 0:v.chainId)!==null&&r!==void 0?r:e==null?void 0:e.chainId),N=h.toNumber((_=(t=(a=e==null?void 0:e.common)===null||a===void 0?void 0:a.customChain)===null||t===void 0?void 0:t.networkId)!==null&&_!==void 0?_:e==null?void 0:e.networkId),P=(p=(k=(q=e==null?void 0:e.common)===null||q===void 0?void 0:q.hardfork)!==null&&k!==void 0?k:e==null?void 0:e.hardfork)!==null&&p!==void 0?p:i.defaultHardfork,j=(y=(T=(g=e.common)===null||g===void 0?void 0:g.baseChain)!==null&&T!==void 0?T:e.chain)!==null&&y!==void 0?y:i.defaultChain;F&&N&&I&&(n=b.Common.custom({name:I,chainId:F,networkId:N,defaultHardfork:P},{baseChain:j}))}return{common:n}},E=(e,i,o,l=!1,m=!0)=>L(void 0,void 0,void 0,function*(){const u=yield G.transactionBuilder({transaction:e,web3Context:i,privateKey:o,fillGasPrice:l,fillGasLimit:m}),d=O.formatTransaction(u,H.ETH_DATA_FORMAT);return w.validateTransactionForSigning(d),S.TransactionFactory.fromTxData(A(d),D(d,i))});exports.prepareTransactionForSigning=E;
@@ -16,11 +16,11 @@ import "../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
16
16
  import "../../../../@ethereumjs/rlp/dist/index.js";
17
17
  import "../../../../web3-eth-accounts/lib/esm/tx/types.js";
18
18
  import { TransactionFactory as O } from "../../../../web3-eth-accounts/lib/esm/tx/transactionFactory.js";
19
- import { validateTransactionForSigning as b } from "../validation.js";
20
- import { formatTransaction as A } from "./format_transaction.js";
21
- import { transactionBuilder as D } from "./transaction_builder.js";
19
+ import { validateTransactionForSigning as A } from "../validation.js";
20
+ import { formatTransaction as D } from "./format_transaction.js";
21
+ import { transactionBuilder as E } from "./transaction_builder.js";
22
22
  import { toNumber as c } from "../../../../web3-utils/lib/esm/converters.js";
23
- var E = globalThis && globalThis.__awaiter || function(o, i, d, u) {
23
+ var S = function(o, i, d, u) {
24
24
  function f(m) {
25
25
  return m instanceof d ? m : new d(function(l) {
26
26
  l(m);
@@ -29,25 +29,25 @@ var E = globalThis && globalThis.__awaiter || function(o, i, d, u) {
29
29
  return new (d || (d = Promise))(function(m, l) {
30
30
  function p(e) {
31
31
  try {
32
- v(u.next(e));
33
- } catch (n) {
34
- l(n);
32
+ n(u.next(e));
33
+ } catch (v) {
34
+ l(v);
35
35
  }
36
36
  }
37
37
  function a(e) {
38
38
  try {
39
- v(u.throw(e));
40
- } catch (n) {
41
- l(n);
39
+ n(u.throw(e));
40
+ } catch (v) {
41
+ l(v);
42
42
  }
43
43
  }
44
- function v(e) {
44
+ function n(e) {
45
45
  e.done ? m(e.value) : f(e.value).then(p, a);
46
46
  }
47
- v((u = u.apply(o, i || [])).next());
47
+ n((u = u.apply(o, i || [])).next());
48
48
  });
49
49
  };
50
- const S = (o) => {
50
+ const N = (o) => {
51
51
  var i, d;
52
52
  return {
53
53
  nonce: o.nonce,
@@ -62,8 +62,8 @@ const S = (o) => {
62
62
  maxPriorityFeePerGas: o.maxPriorityFeePerGas,
63
63
  maxFeePerGas: o.maxFeePerGas
64
64
  };
65
- }, N = (o, i) => {
66
- var d, u, f, m, l, p, a, v, e, n, _, k, s, t, T, g, I, y;
65
+ }, b = (o, i) => {
66
+ var d, u, f, m, l, p, a, n, e, v, _, k, t, s, T, I, g, y;
67
67
  const w = !h(o.chain) && !h(o.hardfork) || !h(o.common);
68
68
  let r;
69
69
  if (!w)
@@ -76,7 +76,7 @@ const S = (o) => {
76
76
  baseChain: i.defaultChain
77
77
  });
78
78
  else {
79
- const F = (p = (l = (m = (f = o == null ? void 0 : o.common) === null || f === void 0 ? void 0 : f.customChain) === null || m === void 0 ? void 0 : m.name) !== null && l !== void 0 ? l : o.chain) !== null && p !== void 0 ? p : "custom-network", C = c((e = (v = (a = o == null ? void 0 : o.common) === null || a === void 0 ? void 0 : a.customChain) === null || v === void 0 ? void 0 : v.chainId) !== null && e !== void 0 ? e : o == null ? void 0 : o.chainId), H = c((k = (_ = (n = o == null ? void 0 : o.common) === null || n === void 0 ? void 0 : n.customChain) === null || _ === void 0 ? void 0 : _.networkId) !== null && k !== void 0 ? k : o == null ? void 0 : o.networkId), j = (T = (t = (s = o == null ? void 0 : o.common) === null || s === void 0 ? void 0 : s.hardfork) !== null && t !== void 0 ? t : o == null ? void 0 : o.hardfork) !== null && T !== void 0 ? T : i.defaultHardfork, G = (y = (I = (g = o.common) === null || g === void 0 ? void 0 : g.baseChain) !== null && I !== void 0 ? I : o.chain) !== null && y !== void 0 ? y : i.defaultChain;
79
+ const F = (p = (l = (m = (f = o == null ? void 0 : o.common) === null || f === void 0 ? void 0 : f.customChain) === null || m === void 0 ? void 0 : m.name) !== null && l !== void 0 ? l : o.chain) !== null && p !== void 0 ? p : "custom-network", C = c((e = (n = (a = o == null ? void 0 : o.common) === null || a === void 0 ? void 0 : a.customChain) === null || n === void 0 ? void 0 : n.chainId) !== null && e !== void 0 ? e : o == null ? void 0 : o.chainId), H = c((k = (_ = (v = o == null ? void 0 : o.common) === null || v === void 0 ? void 0 : v.customChain) === null || _ === void 0 ? void 0 : _.networkId) !== null && k !== void 0 ? k : o == null ? void 0 : o.networkId), j = (T = (s = (t = o == null ? void 0 : o.common) === null || t === void 0 ? void 0 : t.hardfork) !== null && s !== void 0 ? s : o == null ? void 0 : o.hardfork) !== null && T !== void 0 ? T : i.defaultHardfork, G = (y = (g = (I = o.common) === null || I === void 0 ? void 0 : I.baseChain) !== null && g !== void 0 ? g : o.chain) !== null && y !== void 0 ? y : i.defaultChain;
80
80
  C && H && F && (r = P.custom({
81
81
  name: F,
82
82
  chainId: C,
@@ -87,15 +87,15 @@ const S = (o) => {
87
87
  }));
88
88
  }
89
89
  return { common: r };
90
- }, ro = (o, i, d, u = !1, f = !0) => E(void 0, void 0, void 0, function* () {
91
- const m = yield D({
90
+ }, ro = (o, i, d, u = !1, f = !0) => S(void 0, void 0, void 0, function* () {
91
+ const m = yield E({
92
92
  transaction: o,
93
93
  web3Context: i,
94
94
  privateKey: d,
95
95
  fillGasPrice: u,
96
96
  fillGasLimit: f
97
- }), l = A(m, L);
98
- return b(l), O.fromTxData(S(l), N(l, i));
97
+ }), l = D(m, L);
98
+ return A(l), O.fromTxData(N(l), b(l, i));
99
99
  });
100
100
  export {
101
101
  ro as prepareTransactionForSigning
@@ -1 +1 @@
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("../constants.cjs"),h=require("../rpc_method_wrappers.cjs"),_=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var v=globalThis&&globalThis.__awaiter||function(r,u,t,o){function s(n){return n instanceof t?n:new t(function(c){c(n)})}return new(t||(t=Promise))(function(n,c){function a(e){try{l(o.next(e))}catch(i){c(i)}}function d(e){try{l(o.throw(e))}catch(i){c(i)}}function l(e){e.done?n(e.value):s(e.value).then(a,d)}l((o=o.apply(r,u||[])).next())})};function p(r,u,t){const o=r.transactionPollingInterval,[s,n]=_.rejectIfConditionAtInterval(()=>v(this,void 0,void 0,function*(){let a;try{a=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT)}catch(l){console.warn("An error happen while trying to get the block number",l);return}const d=a-u;if(d>=r.transactionBlockTimeout)return new m.TransactionBlockTimeoutError({starterBlockNumber:u,numberOfBlocks:d,transactionHash:t})}),o);return[n,{clean:()=>{clearInterval(s)}}]}function y(r,u,t){var o;return v(this,void 0,void 0,function*(){let s=!0,n,c;function a(l,e){e&&console.warn("error happened at subscription. So revert to polling...",e),c.clean(),s=!1;const[i,f]=p(r,u,t);c.clean=f.clean,i.catch(g=>l(g))}try{n=yield(o=r.subscriptionManager)===null||o===void 0?void 0:o.subscribe("newHeads"),c={clean:()=>{var l;n.id&&((l=r.subscriptionManager)===null||l===void 0||l.removeSubscription(n).then(()=>{}).catch(()=>{}))}}}catch{return p(r,u,t)}return[new Promise((l,e)=>{try{n.on("data",i=>{if(s=!1,!(i!=null&&i.number))return;const f=Number(BigInt(i.number)-BigInt(u));f>=r.transactionBlockTimeout&&e(new m.TransactionBlockTimeoutError({starterBlockNumber:u,numberOfBlocks:f,transactionHash:t}))}),n.on("error",i=>{a(e,i)})}catch(i){a(e,i)}setTimeout(()=>{s&&a(e)},r.blockHeaderTimeout*1e3)}),c]})}function b(r,u){var t,o;return v(this,void 0,void 0,function*(){const{provider:s}=r.requestManager;let n;const c=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT);return!((o=(t=s).supportsSubscriptions)===null||o===void 0)&&o.call(t)&&r.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout?n=yield y(r,c,u):n=p(r,c,u),n})}exports.rejectIfBlockTimeout=b;
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("../constants.cjs"),h=require("../rpc_method_wrappers.cjs"),g=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var v=function(r,l,t,o){function s(n){return n instanceof t?n:new t(function(c){c(n)})}return new(t||(t=Promise))(function(n,c){function a(e){try{u(o.next(e))}catch(i){c(i)}}function d(e){try{u(o.throw(e))}catch(i){c(i)}}function u(e){e.done?n(e.value):s(e.value).then(a,d)}u((o=o.apply(r,l||[])).next())})};function p(r,l,t){const o=r.transactionPollingInterval,[s,n]=g.rejectIfConditionAtInterval(()=>v(this,void 0,void 0,function*(){let a;try{a=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT)}catch(u){console.warn("An error happen while trying to get the block number",u);return}const d=a-l;if(d>=r.transactionBlockTimeout)return new m.TransactionBlockTimeoutError({starterBlockNumber:l,numberOfBlocks:d,transactionHash:t})}),o);return[n,{clean:()=>{clearInterval(s)}}]}function y(r,l,t){var o;return v(this,void 0,void 0,function*(){let s=!0,n,c;function a(u,e){e&&console.warn("error happened at subscription. So revert to polling...",e),c.clean(),s=!1;const[i,f]=p(r,l,t);c.clean=f.clean,i.catch(_=>u(_))}try{n=yield(o=r.subscriptionManager)===null||o===void 0?void 0:o.subscribe("newHeads"),c={clean:()=>{var u;n.id&&((u=r.subscriptionManager)===null||u===void 0||u.removeSubscription(n).then(()=>{}).catch(()=>{}))}}}catch{return p(r,l,t)}return[new Promise((u,e)=>{try{n.on("data",i=>{if(s=!1,!(i!=null&&i.number))return;const f=Number(BigInt(i.number)-BigInt(l));f>=r.transactionBlockTimeout&&e(new m.TransactionBlockTimeoutError({starterBlockNumber:l,numberOfBlocks:f,transactionHash:t}))}),n.on("error",i=>{a(e,i)})}catch(i){a(e,i)}setTimeout(()=>{s&&a(e)},r.blockHeaderTimeout*1e3)}),c]})}function B(r,l){var t,o;return v(this,void 0,void 0,function*(){const{provider:s}=r.requestManager;let n;const c=yield h.getBlockNumber(r,T.NUMBER_DATA_FORMAT);return!((o=(t=s).supportsSubscriptions)===null||o===void 0)&&o.call(t)&&r.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout?n=yield y(r,c,l):n=p(r,c,l),n})}exports.rejectIfBlockTimeout=B;
@@ -2,36 +2,36 @@ import { TransactionBlockTimeoutError as v } from "../../../../web3-errors/lib/e
2
2
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
3
  import { NUMBER_DATA_FORMAT as h } from "../constants.js";
4
4
  import { getBlockNumber as T } from "../rpc_method_wrappers.js";
5
- import { rejectIfConditionAtInterval as y } from "../../../../web3-utils/lib/esm/promise_helpers.js";
6
- var m = globalThis && globalThis.__awaiter || function(n, u, t, i) {
5
+ import { rejectIfConditionAtInterval as g } from "../../../../web3-utils/lib/esm/promise_helpers.js";
6
+ var m = function(n, u, t, o) {
7
7
  function a(r) {
8
8
  return r instanceof t ? r : new t(function(c) {
9
9
  c(r);
10
10
  });
11
11
  }
12
12
  return new (t || (t = Promise))(function(r, c) {
13
- function s(o) {
13
+ function s(i) {
14
14
  try {
15
- l(i.next(o));
15
+ l(o.next(i));
16
16
  } catch (e) {
17
17
  c(e);
18
18
  }
19
19
  }
20
- function f(o) {
20
+ function f(i) {
21
21
  try {
22
- l(i.throw(o));
22
+ l(o.throw(i));
23
23
  } catch (e) {
24
24
  c(e);
25
25
  }
26
26
  }
27
- function l(o) {
28
- o.done ? r(o.value) : a(o.value).then(s, f);
27
+ function l(i) {
28
+ i.done ? r(i.value) : a(i.value).then(s, f);
29
29
  }
30
- l((i = i.apply(n, u || [])).next());
30
+ l((o = o.apply(n, u || [])).next());
31
31
  });
32
32
  };
33
33
  function p(n, u, t) {
34
- const i = n.transactionPollingInterval, [a, r] = y(() => m(this, void 0, void 0, function* () {
34
+ const o = n.transactionPollingInterval, [a, r] = g(() => m(this, void 0, void 0, function* () {
35
35
  let s;
36
36
  try {
37
37
  s = yield T(n, h);
@@ -46,22 +46,22 @@ function p(n, u, t) {
46
46
  numberOfBlocks: f,
47
47
  transactionHash: t
48
48
  });
49
- }), i);
49
+ }), o);
50
50
  return [r, { clean: () => {
51
51
  clearInterval(a);
52
52
  } }];
53
53
  }
54
54
  function _(n, u, t) {
55
- var i;
55
+ var o;
56
56
  return m(this, void 0, void 0, function* () {
57
57
  let a = !0, r, c;
58
- function s(l, o) {
59
- o && console.warn("error happened at subscription. So revert to polling...", o), c.clean(), a = !1;
58
+ function s(l, i) {
59
+ i && console.warn("error happened at subscription. So revert to polling...", i), c.clean(), a = !1;
60
60
  const [e, d] = p(n, u, t);
61
- c.clean = d.clean, e.catch((g) => l(g));
61
+ c.clean = d.clean, e.catch((y) => l(y));
62
62
  }
63
63
  try {
64
- r = yield (i = n.subscriptionManager) === null || i === void 0 ? void 0 : i.subscribe("newHeads"), c = {
64
+ r = yield (o = n.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe("newHeads"), c = {
65
65
  clean: () => {
66
66
  var l;
67
67
  r.id && ((l = n.subscriptionManager) === null || l === void 0 || l.removeSubscription(r).then(() => {
@@ -72,36 +72,36 @@ function _(n, u, t) {
72
72
  } catch {
73
73
  return p(n, u, t);
74
74
  }
75
- return [new Promise((l, o) => {
75
+ return [new Promise((l, i) => {
76
76
  try {
77
77
  r.on("data", (e) => {
78
78
  if (a = !1, !(e != null && e.number))
79
79
  return;
80
80
  const d = Number(BigInt(e.number) - BigInt(u));
81
- d >= n.transactionBlockTimeout && o(new v({
81
+ d >= n.transactionBlockTimeout && i(new v({
82
82
  starterBlockNumber: u,
83
83
  numberOfBlocks: d,
84
84
  transactionHash: t
85
85
  }));
86
86
  }), r.on("error", (e) => {
87
- s(o, e);
87
+ s(i, e);
88
88
  });
89
89
  } catch (e) {
90
- s(o, e);
90
+ s(i, e);
91
91
  }
92
92
  setTimeout(() => {
93
- a && s(o);
93
+ a && s(i);
94
94
  }, n.blockHeaderTimeout * 1e3);
95
95
  }), c];
96
96
  });
97
97
  }
98
98
  function A(n, u) {
99
- var t, i;
99
+ var t, o;
100
100
  return m(this, void 0, void 0, function* () {
101
101
  const { provider: a } = n.requestManager;
102
102
  let r;
103
103
  const c = yield T(n, h);
104
- return !((i = (t = a).supportsSubscriptions) === null || i === void 0) && i.call(t) && n.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout ? r = yield _(n, c, u) : r = p(n, c, u), r;
104
+ return !((o = (t = a).supportsSubscriptions) === null || o === void 0) && o.call(t) && n.enableExperimentalFeatures.useSubscriptionWhenCheckingBlockTimeout ? r = yield _(n, c, u) : r = p(n, c, u), r;
105
105
  });
106
106
  }
107
107
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=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-errors/lib/esm/errors/contract_errors.cjs"),c=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs"),b=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const d=require("../../../../web3-validator/lib/esm/validation/object.cjs"),p=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 T=require("./get_transaction_gas_pricing.cjs"),g=require("./try_send_transaction.cjs"),C=require("./watch_transaction_for_confirmations.cjs"),q=require("../constants.cjs"),v=require("./get_transaction_error.cjs"),w=require("./get_revert_reason.cjs"),x=require("./decoding.cjs");var a=globalThis&&globalThis.__awaiter||function(l,t,n,i){function e(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function m(s){try{u(i.next(s))}catch(h){o(h)}}function _(s){try{u(i.throw(s))}catch(h){o(h)}}function u(s){s.done?r(s.value):e(s.value).then(m,_)}u((i=i.apply(l,t||[])).next())})};class R{constructor({options:t,web3Context:n,promiEvent:i,returnFormat:e}){this.options={checkRevertBeforeSending:!0},this.options=t,this.web3Context=n,this.promiEvent=i,this.returnFormat=e}getReceiptWithEvents(t){var n,i;const e=Object.assign({},t??{});if(!((n=this.options)===null||n===void 0)&&n.contractAbi&&e.logs&&e.logs.length>0){e.events={};for(const r of e.logs){const o=x.decodeEventABI(q.ALL_EVENTS_ABI,r,(i=this.options)===null||i===void 0?void 0:i.contractAbi,this.returnFormat);o.event&&(e.events[o.event]=o)}}return e}checkRevertBeforeSending(t){return a(this,void 0,void 0,function*(){if(this.options.checkRevertBeforeSending!==!1){const n=yield w.getRevertReason(this.web3Context,t,this.options.contractAbi);if(n!==void 0)throw yield v.getTransactionError(this.web3Context,t,void 0,void 0,this.options.contractAbi,n)}})}emitSending(t){this.promiEvent.listenerCount("sending")>0&&this.promiEvent.emit("sending",t)}populateGasPrice({transactionFormatted:t,transaction:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return!(!((i=this.options)===null||i===void 0)&&i.ignoreGasPricing)&&d.isNullish(t.gasPrice)&&(d.isNullish(n.maxPriorityFeePerGas)||d.isNullish(n.maxFeePerGas))&&(e=Object.assign(Object.assign({},t),yield T.getTransactionGasPricing(t,this.web3Context,E.ETH_DATA_FORMAT))),e})}signAndSend({wallet:t,tx:n}){return a(this,void 0,void 0,function*(){if(t){const i=yield t.signTransaction(n);return g.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendRawTransaction(this.web3Context.requestManager,i.rawTransaction)}),i.transactionHash)}return g.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendTransaction(this.web3Context.requestManager,n)}))})}emitSent(t){this.promiEvent.listenerCount("sent")>0&&this.promiEvent.emit("sent",t)}emitTransactionHash(t){this.promiEvent.listenerCount("transactionHash")>0&&this.promiEvent.emit("transactionHash",t)}emitReceipt(t){this.promiEvent.listenerCount("receipt")>0&&this.promiEvent.emit("receipt",t)}handleError({error:t,tx:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return e instanceof f.ContractExecutionError&&this.web3Context.handleRevert&&(e=yield v.getTransactionError(this.web3Context,n,void 0,void 0,(i=this.options)===null||i===void 0?void 0:i.contractAbi)),(e instanceof b.InvalidResponseError||e instanceof f.ContractExecutionError||e instanceof c.TransactionRevertWithCustomError||e instanceof c.TransactionRevertedWithoutReasonError||e instanceof c.TransactionRevertInstructionError||e instanceof c.TransactionPollingTimeoutError)&&this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",e),e})}emitConfirmation({receipt:t,transactionHash:n}){this.promiEvent.listenerCount("confirmation")>0&&C.watchTransactionForConfirmations(this.web3Context,this.promiEvent,t,n,this.returnFormat)}handleResolve({receipt:t,tx:n}){var i,e,r;return a(this,void 0,void 0,function*(){if(!((i=this.options)===null||i===void 0)&&i.transactionResolver)return(e=this.options)===null||e===void 0?void 0:e.transactionResolver(t);if(t.status===BigInt(0)){const o=yield v.getTransactionError(this.web3Context,n,t,void 0,(r=this.options)===null||r===void 0?void 0:r.contractAbi);throw this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",o),o}else return t})}}exports.SendTxHelper=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=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-errors/lib/esm/errors/contract_errors.cjs"),c=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs"),b=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const h=require("../../../../web3-validator/lib/esm/validation/object.cjs"),p=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 T=require("./get_transaction_gas_pricing.cjs"),m=require("./try_send_transaction.cjs"),C=require("./watch_transaction_for_confirmations.cjs"),q=require("../constants.cjs"),v=require("./get_transaction_error.cjs"),w=require("./get_revert_reason.cjs"),x=require("./decoding.cjs");var a=function(l,t,n,i){function e(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function g(s){try{u(i.next(s))}catch(d){o(d)}}function _(s){try{u(i.throw(s))}catch(d){o(d)}}function u(s){s.done?r(s.value):e(s.value).then(g,_)}u((i=i.apply(l,t||[])).next())})};class R{constructor({options:t,web3Context:n,promiEvent:i,returnFormat:e}){this.options={checkRevertBeforeSending:!0},this.options=t,this.web3Context=n,this.promiEvent=i,this.returnFormat=e}getReceiptWithEvents(t){var n,i;const e=Object.assign({},t??{});if(!((n=this.options)===null||n===void 0)&&n.contractAbi&&e.logs&&e.logs.length>0){e.events={};for(const r of e.logs){const o=x.decodeEventABI(q.ALL_EVENTS_ABI,r,(i=this.options)===null||i===void 0?void 0:i.contractAbi,this.returnFormat);o.event&&(e.events[o.event]=o)}}return e}checkRevertBeforeSending(t){return a(this,void 0,void 0,function*(){if(this.options.checkRevertBeforeSending!==!1){const n=yield w.getRevertReason(this.web3Context,t,this.options.contractAbi);if(n!==void 0)throw yield v.getTransactionError(this.web3Context,t,void 0,void 0,this.options.contractAbi,n)}})}emitSending(t){this.promiEvent.listenerCount("sending")>0&&this.promiEvent.emit("sending",t)}populateGasPrice({transactionFormatted:t,transaction:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return!(!((i=this.options)===null||i===void 0)&&i.ignoreGasPricing)&&h.isNullish(t.gasPrice)&&(h.isNullish(n.maxPriorityFeePerGas)||h.isNullish(n.maxFeePerGas))&&(e=Object.assign(Object.assign({},t),yield T.getTransactionGasPricing(t,this.web3Context,E.ETH_DATA_FORMAT))),e})}signAndSend({wallet:t,tx:n}){return a(this,void 0,void 0,function*(){if(t){const i=yield t.signTransaction(n);return m.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendRawTransaction(this.web3Context.requestManager,i.rawTransaction)}),i.transactionHash)}return m.trySendTransaction(this.web3Context,()=>a(this,void 0,void 0,function*(){return p.sendTransaction(this.web3Context.requestManager,n)}))})}emitSent(t){this.promiEvent.listenerCount("sent")>0&&this.promiEvent.emit("sent",t)}emitTransactionHash(t){this.promiEvent.listenerCount("transactionHash")>0&&this.promiEvent.emit("transactionHash",t)}emitReceipt(t){this.promiEvent.listenerCount("receipt")>0&&this.promiEvent.emit("receipt",t)}handleError({error:t,tx:n}){var i;return a(this,void 0,void 0,function*(){let e=t;return e instanceof f.ContractExecutionError&&this.web3Context.handleRevert&&(e=yield v.getTransactionError(this.web3Context,n,void 0,void 0,(i=this.options)===null||i===void 0?void 0:i.contractAbi)),(e instanceof b.InvalidResponseError||e instanceof f.ContractExecutionError||e instanceof c.TransactionRevertWithCustomError||e instanceof c.TransactionRevertedWithoutReasonError||e instanceof c.TransactionRevertInstructionError||e instanceof c.TransactionPollingTimeoutError)&&this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",e),e})}emitConfirmation({receipt:t,transactionHash:n}){this.promiEvent.listenerCount("confirmation")>0&&C.watchTransactionForConfirmations(this.web3Context,this.promiEvent,t,n,this.returnFormat)}handleResolve({receipt:t,tx:n}){var i,e,r;return a(this,void 0,void 0,function*(){if(!((i=this.options)===null||i===void 0)&&i.transactionResolver)return(e=this.options)===null||e===void 0?void 0:e.transactionResolver(t);if(t.status===BigInt(0)){const o=yield v.getTransactionError(this.web3Context,n,t,void 0,(r=this.options)===null||r===void 0?void 0:r.contractAbi);throw this.promiEvent.listenerCount("error")>0&&this.promiEvent.emit("error",o),o}else return t})}}exports.SendTxHelper=R;
@@ -1,38 +1,38 @@
1
1
  import { ETH_DATA_FORMAT as E } from "../../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../../web3-types/lib/esm/eth_types.js";
3
3
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
4
- import { ContractExecutionError as u } from "../../../../web3-errors/lib/esm/errors/contract_errors.js";
5
- import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as T } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
6
- import { InvalidResponseError as w } from "../../../../web3-errors/lib/esm/errors/response_errors.js";
4
+ import { ContractExecutionError as v } from "../../../../web3-errors/lib/esm/errors/contract_errors.js";
5
+ import { TransactionRevertWithCustomError as g, TransactionRevertedWithoutReasonError as b, TransactionRevertInstructionError as C, TransactionPollingTimeoutError as w } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
6
+ import { InvalidResponseError as T } from "../../../../web3-errors/lib/esm/errors/response_errors.js";
7
7
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
8
8
  import "../../../../web3-validator/lib/esm/formats.js";
9
9
  import "../../../../web3-validator/lib/esm/default_validator.js";
10
- import { isNullish as f } from "../../../../web3-validator/lib/esm/validation/object.js";
10
+ import { isNullish as d } from "../../../../web3-validator/lib/esm/validation/object.js";
11
11
  import { sendRawTransaction as R, sendTransaction as x } from "../../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
12
12
  import "../../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
13
13
  import "../../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
14
14
  import { getTransactionGasPricing as _ } from "./get_transaction_gas_pricing.js";
15
- import { trySendTransaction as d } from "./try_send_transaction.js";
15
+ import { trySendTransaction as m } from "./try_send_transaction.js";
16
16
  import { watchTransactionForConfirmations as A } from "./watch_transaction_for_confirmations.js";
17
17
  import { ALL_EVENTS_ABI as y } from "../constants.js";
18
- import { getTransactionError as v } from "./get_transaction_error.js";
18
+ import { getTransactionError as f } from "./get_transaction_error.js";
19
19
  import { getRevertReason as S } from "./get_revert_reason.js";
20
20
  import { decodeEventABI as B } from "./decoding.js";
21
- var a = globalThis && globalThis.__awaiter || function(m, t, n, e) {
21
+ var a = function(u, t, n, e) {
22
22
  function i(o) {
23
23
  return o instanceof n ? o : new n(function(r) {
24
24
  r(o);
25
25
  });
26
26
  }
27
27
  return new (n || (n = Promise))(function(o, r) {
28
- function l(s) {
28
+ function p(s) {
29
29
  try {
30
30
  c(e.next(s));
31
31
  } catch (h) {
32
32
  r(h);
33
33
  }
34
34
  }
35
- function p(s) {
35
+ function l(s) {
36
36
  try {
37
37
  c(e.throw(s));
38
38
  } catch (h) {
@@ -40,9 +40,9 @@ var a = globalThis && globalThis.__awaiter || function(m, t, n, e) {
40
40
  }
41
41
  }
42
42
  function c(s) {
43
- s.done ? o(s.value) : i(s.value).then(l, p);
43
+ s.done ? o(s.value) : i(s.value).then(p, l);
44
44
  }
45
- c((e = e.apply(m, t || [])).next());
45
+ c((e = e.apply(u, t || [])).next());
46
46
  });
47
47
  };
48
48
  class X {
@@ -68,7 +68,7 @@ class X {
68
68
  if (this.options.checkRevertBeforeSending !== !1) {
69
69
  const n = yield S(this.web3Context, t, this.options.contractAbi);
70
70
  if (n !== void 0)
71
- throw yield v(this.web3Context, t, void 0, void 0, this.options.contractAbi, n);
71
+ throw yield f(this.web3Context, t, void 0, void 0, this.options.contractAbi, n);
72
72
  }
73
73
  });
74
74
  }
@@ -79,18 +79,18 @@ class X {
79
79
  var e;
80
80
  return a(this, void 0, void 0, function* () {
81
81
  let i = t;
82
- return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) && f(t.gasPrice) && (f(n.maxPriorityFeePerGas) || f(n.maxFeePerGas)) && (i = Object.assign(Object.assign({}, t), yield _(t, this.web3Context, E))), i;
82
+ return !(!((e = this.options) === null || e === void 0) && e.ignoreGasPricing) && d(t.gasPrice) && (d(n.maxPriorityFeePerGas) || d(n.maxFeePerGas)) && (i = Object.assign(Object.assign({}, t), yield _(t, this.web3Context, E))), i;
83
83
  });
84
84
  }
85
85
  signAndSend({ wallet: t, tx: n }) {
86
86
  return a(this, void 0, void 0, function* () {
87
87
  if (t) {
88
88
  const e = yield t.signTransaction(n);
89
- return d(this.web3Context, () => a(this, void 0, void 0, function* () {
89
+ return m(this.web3Context, () => a(this, void 0, void 0, function* () {
90
90
  return R(this.web3Context.requestManager, e.rawTransaction);
91
91
  }), e.transactionHash);
92
92
  }
93
- return d(this.web3Context, () => a(this, void 0, void 0, function* () {
93
+ return m(this.web3Context, () => a(this, void 0, void 0, function* () {
94
94
  return x(this.web3Context.requestManager, n);
95
95
  }));
96
96
  });
@@ -112,7 +112,7 @@ class X {
112
112
  var e;
113
113
  return a(this, void 0, void 0, function* () {
114
114
  let i = t;
115
- return i instanceof u && this.web3Context.handleRevert && (i = yield v(this.web3Context, n, void 0, void 0, (e = this.options) === null || e === void 0 ? void 0 : e.contractAbi)), (i instanceof w || i instanceof u || i instanceof g || i instanceof b || i instanceof C || i instanceof T) && this.promiEvent.listenerCount("error") > 0 && this.promiEvent.emit("error", i), i;
115
+ return i instanceof v && this.web3Context.handleRevert && (i = yield f(this.web3Context, n, void 0, void 0, (e = this.options) === null || e === void 0 ? void 0 : e.contractAbi)), (i instanceof T || i instanceof v || i instanceof g || i instanceof b || i instanceof C || i instanceof w) && this.promiEvent.listenerCount("error") > 0 && this.promiEvent.emit("error", i), i;
116
116
  });
117
117
  }
118
118
  emitConfirmation({ receipt: t, transactionHash: n }) {
@@ -124,7 +124,7 @@ class X {
124
124
  if (!((e = this.options) === null || e === void 0) && e.transactionResolver)
125
125
  return (i = this.options) === null || i === void 0 ? void 0 : i.transactionResolver(t);
126
126
  if (t.status === BigInt(0)) {
127
- const r = yield v(
127
+ const r = yield f(
128
128
  this.web3Context,
129
129
  n,
130
130
  // @ts-expect-error unknown type fix
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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-eth-accounts/lib/esm/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=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 y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=globalThis&&globalThis.__awaiter||function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const g=(i,r,t,e)=>{if(t!==void 0&&i in t&&t[i]!==void 0){if(typeof t[i]=="string"&&p.isAddress(t[i]))return t[i];if(!y.isHexStrict(t[i])&&O.isNumber(t[i])){if(r.wallet){const a=r.wallet.get(d.format({format:"uint"},t[i],C.NUMBER_DATA_FORMAT));if(!n.isNullish(a))return a.address;throw new l.LocalWalletNotAvailableError}throw new l.LocalWalletNotAvailableError}else throw i==="from"?new l.InvalidTransactionWithSender(t.from):new l.InvalidTransactionWithReceiver(t.to)}if(i==="from"){if(!n.isNullish(e))return v.privateKeyToAddress(e);if(!n.isNullish(r.defaultAccount))return r.defaultAccount}},N=(i,r,t=s.DEFAULT_RETURN_FORMAT)=>_(void 0,void 0,void 0,function*(){if(n.isNullish(r))throw new l.UnableToPopulateNonceError;return m.getTransactionCount(i,r,i.defaultBlock,t)}),w=(i,r)=>{const t=E.detectTransactionType(i,r);if(!n.isNullish(t))return t;if(!n.isNullish(r.defaultTransactionType))return d.format({format:"uint"},r.defaultTransactionType,s.ETH_DATA_FORMAT)};function q(i){var r,t;return _(this,void 0,void 0,function*(){let e=d.format(R.transactionSchema,i.transaction,s.DEFAULT_RETURN_FORMAT);if(n.isNullish(e.from)&&(e.from=g("from",i.web3Context,void 0,i.privateKey)),n.isNullish(e.nonce)&&(e.nonce=yield N(i.web3Context,e.from,s.ETH_DATA_FORMAT)),n.isNullish(e.value)&&(e.value="0x0"),n.isNullish(e.data))n.isNullish(e.input)?e.input="0x":e.input.startsWith("0x")||(e.input=`0x${e.input}`);else{if(!n.isNullish(e.input)&&e.data!==e.input)throw new l.TransactionDataAndInputError({data:A.bytesToHex(e.data),input:A.bytesToHex(e.input)});e.data.startsWith("0x")||(e.data=`0x${e.data}`)}if(n.isNullish(e.common)){if(i.web3Context.defaultCommon){const a=i.web3Context.defaultCommon,u=a.customChain.chainId,c=a.customChain.networkId,f=a.customChain.name;e.common=Object.assign(Object.assign({},a),{customChain:{chainId:u,networkId:c,name:f}})}n.isNullish(e.chain)&&(e.chain=i.web3Context.defaultChain),n.isNullish(e.hardfork)&&(e.hardfork=i.web3Context.defaultHardfork)}if(n.isNullish(e.chainId)&&n.isNullish((r=e.common)===null||r===void 0?void 0:r.customChain.chainId)&&(e.chainId=yield m.getChainId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.networkId)&&(e.networkId=(t=i.web3Context.defaultNetworkId)!==null&&t!==void 0?t:yield x.getId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.gasLimit)&&!n.isNullish(e.gas)&&(e.gasLimit=e.gas),e.type=w(e,i.web3Context),n.isNullish(e.accessList)&&(e.type==="0x1"||e.type==="0x2")&&(e.accessList=[]),i.fillGasPrice&&(e=Object.assign(Object.assign({},e),yield I.getTransactionGasPricing(e,i.web3Context,s.ETH_DATA_FORMAT))),n.isNullish(e.gas)&&n.isNullish(e.gasLimit)&&i.fillGasLimit){const a=yield m.estimateGas(i.web3Context,e,"latest",s.ETH_DATA_FORMAT);e=Object.assign(Object.assign({},e),{gas:d.format({format:"uint"},a,s.ETH_DATA_FORMAT)})}return e})}const F=i=>_(void 0,void 0,void 0,function*(){var r;return((r=i.web3Context.transactionBuilder)!==null&&r!==void 0?r:q)(Object.assign(Object.assign({},i),{transaction:i.transaction}))});exports.defaultTransactionBuilder=q;exports.getTransactionFromOrToAttr=g;exports.getTransactionNonce=N;exports.getTransactionType=w;exports.transactionBuilder=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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-eth-accounts/lib/esm/wallet.cjs");const v=require("../../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../../crc-32/crc32.cjs");require("../../../../web3-eth-accounts/lib/esm/common/types.cjs");const l=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 y=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../../web3-validator/lib/esm/validation/address.cjs"),O=require("../../../../web3-validator/lib/esm/validation/numbers.cjs"),n=require("../../../../web3-validator/lib/esm/validation/object.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../@ethereumjs/rlp/dist/index.cjs");require("../../../../web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../web3-net/lib/esm/net.cjs");const x=require("../../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),C=require("../constants.cjs"),m=require("../rpc_method_wrappers.cjs"),E=require("./detect_transaction_type.cjs"),R=require("../schemas.cjs"),I=require("./get_transaction_gas_pricing.cjs"),d=require("../../../../web3-utils/lib/esm/formatter.cjs"),A=require("../../../../web3-utils/lib/esm/converters.cjs");var _=function(i,r,t,e){function a(u){return u instanceof t?u:new t(function(c){c(u)})}return new(t||(t=Promise))(function(u,c){function f(o){try{T(e.next(o))}catch(h){c(h)}}function b(o){try{T(e.throw(o))}catch(h){c(h)}}function T(o){o.done?u(o.value):a(o.value).then(f,b)}T((e=e.apply(i,r||[])).next())})};const N=(i,r,t,e)=>{if(t!==void 0&&i in t&&t[i]!==void 0){if(typeof t[i]=="string"&&p.isAddress(t[i]))return t[i];if(!y.isHexStrict(t[i])&&O.isNumber(t[i])){if(r.wallet){const a=r.wallet.get(d.format({format:"uint"},t[i],C.NUMBER_DATA_FORMAT));if(!n.isNullish(a))return a.address;throw new l.LocalWalletNotAvailableError}throw new l.LocalWalletNotAvailableError}else throw i==="from"?new l.InvalidTransactionWithSender(t.from):new l.InvalidTransactionWithReceiver(t.to)}if(i==="from"){if(!n.isNullish(e))return v.privateKeyToAddress(e);if(!n.isNullish(r.defaultAccount))return r.defaultAccount}},w=(i,r,t=s.DEFAULT_RETURN_FORMAT)=>_(void 0,void 0,void 0,function*(){if(n.isNullish(r))throw new l.UnableToPopulateNonceError;return m.getTransactionCount(i,r,i.defaultBlock,t)}),g=(i,r)=>{const t=E.detectTransactionType(i,r);if(!n.isNullish(t))return t;if(!n.isNullish(r.defaultTransactionType))return d.format({format:"uint"},r.defaultTransactionType,s.ETH_DATA_FORMAT)};function q(i){var r,t;return _(this,void 0,void 0,function*(){let e=d.format(R.transactionSchema,i.transaction,s.DEFAULT_RETURN_FORMAT);if(n.isNullish(e.from)&&(e.from=N("from",i.web3Context,void 0,i.privateKey)),n.isNullish(e.nonce)&&(e.nonce=yield w(i.web3Context,e.from,s.ETH_DATA_FORMAT)),n.isNullish(e.value)&&(e.value="0x0"),n.isNullish(e.data))n.isNullish(e.input)?e.input="0x":e.input.startsWith("0x")||(e.input=`0x${e.input}`);else{if(!n.isNullish(e.input)&&e.data!==e.input)throw new l.TransactionDataAndInputError({data:A.bytesToHex(e.data),input:A.bytesToHex(e.input)});e.data.startsWith("0x")||(e.data=`0x${e.data}`)}if(n.isNullish(e.common)){if(i.web3Context.defaultCommon){const a=i.web3Context.defaultCommon,u=a.customChain.chainId,c=a.customChain.networkId,f=a.customChain.name;e.common=Object.assign(Object.assign({},a),{customChain:{chainId:u,networkId:c,name:f}})}n.isNullish(e.chain)&&(e.chain=i.web3Context.defaultChain),n.isNullish(e.hardfork)&&(e.hardfork=i.web3Context.defaultHardfork)}if(n.isNullish(e.chainId)&&n.isNullish((r=e.common)===null||r===void 0?void 0:r.customChain.chainId)&&(e.chainId=yield m.getChainId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.networkId)&&(e.networkId=(t=i.web3Context.defaultNetworkId)!==null&&t!==void 0?t:yield x.getId(i.web3Context,s.ETH_DATA_FORMAT)),n.isNullish(e.gasLimit)&&!n.isNullish(e.gas)&&(e.gasLimit=e.gas),e.type=g(e,i.web3Context),n.isNullish(e.accessList)&&(e.type==="0x1"||e.type==="0x2")&&(e.accessList=[]),i.fillGasPrice&&(e=Object.assign(Object.assign({},e),yield I.getTransactionGasPricing(e,i.web3Context,s.ETH_DATA_FORMAT))),n.isNullish(e.gas)&&n.isNullish(e.gasLimit)&&i.fillGasLimit){const a=yield m.estimateGas(i.web3Context,e,"latest",s.ETH_DATA_FORMAT);e=Object.assign(Object.assign({},e),{gas:d.format({format:"uint"},a,s.ETH_DATA_FORMAT)})}return e})}const F=i=>_(void 0,void 0,void 0,function*(){var r;return((r=i.web3Context.transactionBuilder)!==null&&r!==void 0?r:q)(Object.assign(Object.assign({},i),{transaction:i.transaction}))});exports.defaultTransactionBuilder=q;exports.getTransactionFromOrToAttr=N;exports.getTransactionNonce=w;exports.getTransactionType=g;exports.transactionBuilder=F;
@@ -1,11 +1,11 @@
1
- import { ETH_DATA_FORMAT as m, DEFAULT_RETURN_FORMAT as w } from "../../../../web3-types/lib/esm/data_format_types.js";
1
+ import { ETH_DATA_FORMAT as m, DEFAULT_RETURN_FORMAT as T } from "../../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../../web3-types/lib/esm/eth_types.js";
3
3
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
4
4
  import "../../../../web3-eth-accounts/lib/esm/wallet.js";
5
- import { privateKeyToAddress as b } from "../../../../web3-eth-accounts/lib/esm/account.js";
5
+ import { privateKeyToAddress as v } from "../../../../web3-eth-accounts/lib/esm/account.js";
6
6
  import "../../../../crc-32/crc32.js";
7
7
  import "../../../../web3-eth-accounts/lib/esm/common/types.js";
8
- import { LocalWalletNotAvailableError as h, InvalidTransactionWithSender as v, InvalidTransactionWithReceiver as x, TransactionDataAndInputError as y, UnableToPopulateNonceError as C } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
8
+ import { LocalWalletNotAvailableError as h, InvalidTransactionWithSender as b, InvalidTransactionWithReceiver as x, TransactionDataAndInputError as y, UnableToPopulateNonceError as C } from "../../../../web3-errors/lib/esm/errors/transaction_errors.js";
9
9
  import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
10
10
  import "../../../../web3-validator/lib/esm/formats.js";
11
11
  import { isHexStrict as A } from "../../../../web3-validator/lib/esm/validation/string.js";
@@ -27,8 +27,8 @@ import { detectTransactionType as E } from "./detect_transaction_type.js";
27
27
  import { transactionSchema as R } from "../schemas.js";
28
28
  import { getTransactionGasPricing as B } from "./get_transaction_gas_pricing.js";
29
29
  import { format as d } from "../../../../web3-utils/lib/esm/formatter.js";
30
- import { bytesToHex as T } from "../../../../web3-utils/lib/esm/converters.js";
31
- var p = globalThis && globalThis.__awaiter || function(i, r, e, t) {
30
+ import { bytesToHex as w } from "../../../../web3-utils/lib/esm/converters.js";
31
+ var p = function(i, r, e, t) {
32
32
  function o(a) {
33
33
  return a instanceof e ? a : new e(function(c) {
34
34
  c(a);
@@ -68,18 +68,18 @@ const F = (i, r, e, t) => {
68
68
  }
69
69
  throw new h();
70
70
  } else
71
- throw i === "from" ? new v(e.from) : (
71
+ throw i === "from" ? new b(e.from) : (
72
72
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
73
73
  new x(e.to)
74
74
  );
75
75
  }
76
76
  if (i === "from") {
77
77
  if (!n(t))
78
- return b(t);
78
+ return v(t);
79
79
  if (!n(r.defaultAccount))
80
80
  return r.defaultAccount;
81
81
  }
82
- }, G = (i, r, e = w) => p(void 0, void 0, void 0, function* () {
82
+ }, G = (i, r, e = T) => p(void 0, void 0, void 0, function* () {
83
83
  if (n(r))
84
84
  throw new C();
85
85
  return N(i, r, i.defaultBlock, e);
@@ -93,14 +93,14 @@ const F = (i, r, e, t) => {
93
93
  function D(i) {
94
94
  var r, e;
95
95
  return p(this, void 0, void 0, function* () {
96
- let t = d(R, i.transaction, w);
96
+ let t = d(R, i.transaction, T);
97
97
  if (n(t.from) && (t.from = F("from", i.web3Context, void 0, i.privateKey)), n(t.nonce) && (t.nonce = yield G(i.web3Context, t.from, m)), n(t.value) && (t.value = "0x0"), n(t.data))
98
98
  n(t.input) ? t.input = "0x" : t.input.startsWith("0x") || (t.input = `0x${t.input}`);
99
99
  else {
100
100
  if (!n(t.input) && t.data !== t.input)
101
101
  throw new y({
102
- data: T(t.data),
103
- input: T(t.input)
102
+ data: w(t.data),
103
+ input: w(t.input)
104
104
  });
105
105
  t.data.startsWith("0x") || (t.data = `0x${t.data}`);
106
106
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=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"),T=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var y=globalThis&&globalThis.__awaiter||function(r,c,e,i){function u(t){return t instanceof e?t:new e(function(o){o(t)})}return new(e||(e=Promise))(function(t,o){function s(n){try{a(i.next(n))}catch(l){o(l)}}function f(n){try{a(i.throw(n))}catch(l){o(l)}}function a(n){n.done?t(n.value):u(n.value).then(s,f)}a((i=i.apply(r,c||[])).next())})};function _(r,c,e){return y(this,void 0,void 0,function*(){const[i,u]=T.rejectIfTimeout(r.transactionSendTimeout,new d.TransactionSendTimeoutError({numberOfSeconds:r.transactionSendTimeout/1e3,transactionHash:e})),[t,o]=yield m.rejectIfBlockTimeout(r,e);try{return yield Promise.race([c(),u,t])}finally{clearTimeout(i),o.clean()}})}exports.trySendTransaction=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=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"),T=require("../../../../web3-utils/lib/esm/promise_helpers.cjs");var y=function(r,c,e,i){function u(n){return n instanceof e?n:new e(function(o){o(n)})}return new(e||(e=Promise))(function(n,o){function f(t){try{a(i.next(t))}catch(d){o(d)}}function s(t){try{a(i.throw(t))}catch(d){o(d)}}function a(t){t.done?n(t.value):u(t.value).then(f,s)}a((i=i.apply(r,c||[])).next())})};function _(r,c,e){return y(this,void 0,void 0,function*(){const[i,u]=T.rejectIfTimeout(r.transactionSendTimeout,new l.TransactionSendTimeoutError({numberOfSeconds:r.transactionSendTimeout/1e3,transactionHash:e})),[n,o]=yield m.rejectIfBlockTimeout(r,e);try{return yield Promise.race([c(),u,n])}finally{clearTimeout(i),o.clean()}})}exports.trySendTransaction=_;