@ozdao/prometheus-framework 0.2.111 → 0.2.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (533) hide show
  1. package/dist/common.schema-BFhpUXUt.js +12 -0
  2. package/dist/common.schema-ChBVARrs.mjs +13 -0
  3. package/dist/community.server.js +6 -4
  4. package/dist/community.server.mjs +4 -2
  5. package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
  6. package/dist/engagement.schema-fdLNO2_6.js +27 -0
  7. package/dist/events.server.js +6 -4
  8. package/dist/events.server.mjs +4 -2
  9. package/dist/files.server.js +81 -29
  10. package/dist/files.server.mjs +81 -29
  11. package/dist/gallery.server.js +66 -39
  12. package/dist/gallery.server.mjs +66 -39
  13. package/dist/main-8APITHuW.mjs +14201 -0
  14. package/dist/main-8N2Jmsuk.js +2 -2
  15. package/dist/main-BJvlNekm.mjs +5 -5
  16. package/dist/main-BQisDfLk.js +2 -2
  17. package/dist/main-BV1Yv9Hy.js +2 -2
  18. package/dist/main-Bw0PvTs-.mjs +5 -5
  19. package/dist/main-ByCtZbHD.mjs +5 -5
  20. package/dist/main-CX2ISR43.mjs +5 -5
  21. package/dist/main-CXObXjv-.js +2 -2
  22. package/dist/main-CkeuHuCY.mjs +5 -5
  23. package/dist/main-CnfcBov2.mjs +5 -5
  24. package/dist/main-D50VqYhy.js +2 -2
  25. package/dist/main-D8gNZLSa.js +2 -2
  26. package/dist/main-DPsHxX0l.mjs +5 -5
  27. package/dist/main-DTlUA63C.mjs +5 -5
  28. package/dist/main-DfD5hLQo.mjs +5 -5
  29. package/dist/main-Dh6Zfei9.js +2 -2
  30. package/dist/main-DmNP-t33.mjs +5 -5
  31. package/dist/main-DwyUYWFX.js +2 -2
  32. package/dist/main-VcxO-jAt.js +92 -0
  33. package/dist/main-cffh4bbv.js +2 -2
  34. package/dist/main-pGo7JpSP.js +2 -2
  35. package/dist/main.css +1 -1
  36. package/dist/metadata.schema-6slGhpQS.js +40 -0
  37. package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
  38. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  39. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
  40. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  41. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
  42. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  43. package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
  44. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  45. package/dist/node_modules/web3/lib/esm/index.js +45 -42
  46. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  47. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  48. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  49. package/dist/node_modules/web3/lib/esm/web3.js +40 -37
  50. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  51. package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
  52. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
  54. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  55. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
  56. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
  57. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
  58. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
  59. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
  60. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
  61. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
  62. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
  63. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
  64. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
  65. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
  66. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
  67. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
  68. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
  70. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
  72. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
  74. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
  76. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
  78. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
  80. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
  82. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
  84. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
  86. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
  88. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
  89. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
  90. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  91. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
  92. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
  93. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
  94. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
  96. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  97. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
  98. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  99. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
  100. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  101. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
  102. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  103. package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
  104. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  105. package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
  106. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
  108. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  109. package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
  110. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  111. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
  112. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
  113. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
  114. package/dist/orders.server.js +1 -1
  115. package/dist/orders.server.mjs +1 -1
  116. package/dist/organizations.server.js +56 -59
  117. package/dist/organizations.server.mjs +56 -59
  118. package/dist/products.server.js +1 -1
  119. package/dist/products.server.mjs +1 -1
  120. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  121. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
  122. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
  124. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
  126. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
  128. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
  129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
  130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
  132. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
  134. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
  136. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
  137. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
  138. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
  140. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
  142. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
  144. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
  146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
  148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
  149. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
  150. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  152. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  154. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  156. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  164. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  166. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  168. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  170. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
  172. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  174. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  176. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  178. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
  180. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  182. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  184. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  186. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  188. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  190. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
  194. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  196. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  197. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  198. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  200. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  202. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  204. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  205. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  207. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  209. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  211. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  213. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  215. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  217. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  218. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  219. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  220. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  221. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  223. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  225. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  227. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  228. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  229. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  230. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  231. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  232. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  233. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  234. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  235. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  236. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  237. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  239. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  245. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  247. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  249. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  251. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  253. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  255. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  257. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  261. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  263. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  267. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  269. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  273. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  275. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  276. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  277. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  279. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  281. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  283. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  285. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  287. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
  289. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
  291. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  293. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  295. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  297. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  299. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  301. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  303. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  305. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  307. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  309. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  311. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  313. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  315. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  319. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  321. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  323. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  324. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  326. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  328. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  330. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  332. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  334. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  336. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  338. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
  340. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
  342. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  344. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  346. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  348. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
  349. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
  350. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
  351. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
  352. package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
  354. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  356. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
  358. package/dist/prometheus-framework.cjs.js +1 -1
  359. package/dist/prometheus-framework.es.js +1 -1
  360. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  361. package/dist/queryProcessor-DWf9tsis.js +161 -0
  362. package/dist/style.css +1 -1
  363. package/dist/wallet.server.js +1 -1
  364. package/dist/wallet.server.mjs +1 -1
  365. package/dist/web-TGdVOTnw.js +1 -0
  366. package/dist/web-_W9a_nWD.mjs +54 -0
  367. package/package.json +1 -1
  368. package/src/components/Address/Address.vue +1 -1
  369. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  370. package/src/components/Block/Block.vue +1 -1
  371. package/src/components/Checkbox/Checkbox.vue +40 -43
  372. package/src/components/Chips/Chips.vue +2 -2
  373. package/src/components/DatePicker/Calendar.vue +29 -31
  374. package/src/components/Dropdown/Dropdown.vue +5 -11
  375. package/src/components/Feed/Feed.vue +98 -15
  376. package/src/components/FieldTags/BlockTags.vue +3 -3
  377. package/src/components/FieldTags/FieldTags.vue +1 -1
  378. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  379. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  380. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  381. package/src/components/Map/LoaderGMaps.js +66 -0
  382. package/src/components/Map/Map.vue +2 -1
  383. package/src/components/Marquee/Marquee.vue +1 -1
  384. package/src/components/Radio/Radio.vue +36 -13
  385. package/src/configurator/components/pages/Styles.vue +1 -1
  386. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  387. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  388. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  389. package/src/modules/auth/components/pages/Invite.vue +2 -2
  390. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  391. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  392. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  393. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  394. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  395. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  396. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  397. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  398. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  399. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  400. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  401. package/src/modules/community/components/layouts/Community.vue +2 -2
  402. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  403. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  404. package/src/modules/community/components/sections/Comments.vue +2 -2
  405. package/src/modules/community/components/sections/Feed.vue +1 -1
  406. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  407. package/src/modules/constructor/components/elements/Image.vue +1 -1
  408. package/src/modules/constructor/components/elements/Video.vue +2 -2
  409. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  410. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  411. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  412. package/src/modules/events/components/pages/Event.vue +3 -3
  413. package/src/modules/events/components/pages/Events.vue +4 -3
  414. package/src/modules/events/components/sections/Feed.vue +3 -3
  415. package/src/modules/events/components/sections/List.vue +2 -2
  416. package/src/modules/files/controllers/files.controller.js +8 -6
  417. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  418. package/src/modules/files/routes/files.routes.js +11 -9
  419. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  420. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  421. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  422. package/src/modules/gallery/models/photo.model.js +20 -11
  423. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  424. package/src/modules/gallery/store/gallery.js +3 -78
  425. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  426. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  427. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  428. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  429. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  430. package/src/modules/globals/components/layouts/Client.vue +273 -0
  431. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  432. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  433. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  434. package/src/modules/globals/models/common.schema.js +1 -1
  435. package/src/modules/globals/services/globals.store.js +11 -6
  436. package/src/modules/globals/store/globals.js +12 -10
  437. package/src/modules/icons/logos/Logotype.vue +23 -19
  438. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  439. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  440. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  441. package/src/modules/icons/navigation/IconSort.vue +21 -0
  442. package/src/modules/landing/components/pages/Home.vue +4 -4
  443. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  444. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  445. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  446. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  447. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  448. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  449. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  450. package/src/modules/landing/landing.client.js +2 -0
  451. package/src/modules/landing/router/landing.js +1 -1
  452. package/src/modules/legal/components/pages/Legal.vue +2 -2
  453. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  454. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  455. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  456. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  457. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  458. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  459. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  460. package/src/modules/marketplace/store/marketplace.js +22 -167
  461. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  462. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  463. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  464. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  465. package/src/modules/orders/components/pages/Order.vue +8 -8
  466. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  467. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  468. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  469. package/src/modules/orders/components/pages/Orders.vue +3 -5
  470. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  471. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  472. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  473. package/src/modules/orders/store/applications.js +1 -1
  474. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  475. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  476. package/src/modules/organizations/components/pages/Department.vue +3 -3
  477. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  478. package/src/modules/organizations/components/pages/Members.vue +4 -4
  479. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  480. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  481. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  482. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  483. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  484. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  485. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  486. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  487. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  488. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  489. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  490. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  491. package/src/modules/organizations/models/organization.model.js +10 -7
  492. package/src/modules/organizations/store/organizations.js +3 -34
  493. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  494. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  495. package/src/modules/products/components/pages/Categories.vue +1 -1
  496. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  497. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  498. package/src/modules/products/components/pages/Product.vue +1 -5
  499. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  500. package/src/modules/products/components/pages/Products.vue +2 -2
  501. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  502. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  503. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  504. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  505. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  506. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  507. package/src/modules/products/products.client.js +0 -2
  508. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  509. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  510. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  511. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  512. package/src/modules/spots/components/pages/Spot.vue +4 -4
  513. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  514. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  515. package/src/modules/spots/components/sections/Places.vue +1 -1
  516. package/src/modules/users/components/blocks/CardUser.vue +3 -3
  517. package/src/modules/users/components/pages/Profile.vue +5 -5
  518. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  519. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  520. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  521. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  522. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  523. package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
  524. package/src/modules/users/users.client.js +5 -0
  525. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  526. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  527. package/src/styles/base/borders.scss +4 -0
  528. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  529. package/src/styles/config.scss +15 -9
  530. package/src/styles/layout.scss +37 -8
  531. package/src/styles/typography.scss +24 -24
  532. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  533. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const U=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const E=require("../../../web3-core/lib/esm/utils.cjs"),_=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const d=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 s=require("./rpc_method_wrappers.cjs"),h=require("./web3_subscriptions.cjs"),F=require("../../../web3-utils/lib/esm/converters.cjs"),M=require("../../../web3-utils/lib/esm/validation.cjs");var n=function(A,t,e,i){function o(u){return u instanceof e?u:new e(function(c){c(u)})}return new(e||(e=Promise))(function(u,c){function a(T){try{g(i.next(T))}catch(R){c(R)}}function l(T){try{g(i.throw(T))}catch(R){c(R)}}function g(T){T.done?u(T.value):o(T.value).then(a,l)}g((i=i.apply(A,t||[])).next())})};const f={logs:h.LogsSubscription,newPendingTransactions:h.NewPendingTransactionsSubscription,newHeads:h.NewHeadsSubscription,syncing:h.SyncingSubscription,pendingTransactions:h.NewPendingTransactionsSubscription,newBlockHeaders:h.NewHeadsSubscription};class v extends U.Web3Context{constructor(t){if(typeof t=="string"||E.isSupportedProvider(t)){super({provider:t,registeredSubscriptions:f});return}if(t.registeredSubscriptions){super(t);return}super(Object.assign(Object.assign({},t),{registeredSubscriptions:f})),this.getFeeData=this.calculateFeeData}getProtocolVersion(){return n(this,void 0,void 0,function*(){return d.getProtocolVersion(this.requestManager)})}isSyncing(){return n(this,void 0,void 0,function*(){return d.getSyncing(this.requestManager)})}getCoinbase(){return n(this,void 0,void 0,function*(){return d.getCoinbase(this.requestManager)})}isMining(){return n(this,void 0,void 0,function*(){return d.getMining(this.requestManager)})}getHashrate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return this.getHashRate(t)})}getHashRate(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getHashRate(this,t)})}getGasPrice(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getGasPrice(this,t)})}getMaxPriorityFeePerGas(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getMaxPriorityFeePerGas(this,t)})}calculateFeeData(t=BigInt(2),e=F.ethUnitMap.Gwei){var i;return n(this,void 0,void 0,function*(){const o=yield this.getBlock(void 0,!1),u=(i=o==null?void 0:o.baseFeePerGas)!==null&&i!==void 0?i:void 0;let c;try{c=yield this.getGasPrice()}catch{}let a;try{a=yield this.getMaxPriorityFeePerGas()}catch{}let l;return u&&(a=a??e,l=u*t+a),{gasPrice:c,maxFeePerGas:l,maxPriorityFeePerGas:a,baseFeePerGas:u}})}getAccounts(){var t;return n(this,void 0,void 0,function*(){return((t=yield d.getAccounts(this.requestManager))!==null&&t!==void 0?t:[]).map(i=>F.toChecksumAddress(i))})}getBlockNumber(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getBlockNumber(this,t)})}getBalance(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getBalance(this,t,e,i)})}getStorageAt(t,e,i=this.defaultBlock,o=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getStorageAt(this,t,e,i,o)})}getCode(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getCode(this,t,e,i)})}getBlock(t=this.defaultBlock,e=!1,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getBlock(this,t,e,i)})}getBlockTransactionCount(t=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getBlockTransactionCount(this,t,e)})}getBlockUncleCount(t=this.defaultBlock,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getBlockUncleCount(this,t,e)})}getUncle(t=this.defaultBlock,e,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getUncle(this,t,e,i)})}getTransaction(t,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const i=yield s.getTransaction(this,t,e);if(!i)throw new _.TransactionNotFound;return i})}getPendingTransactions(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getPendingTransactions(this,t)})}getTransactionFromBlock(t=this.defaultBlock,e,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getTransactionFromBlock(this,t,e,i)})}getTransactionReceipt(t,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){const i=yield s.getTransactionReceipt(this,t,e);if(!i)throw new _.TransactionNotFound;return i})}getTransactionCount(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getTransactionCount(this,t,e,i)})}sendTransaction(t,e=r.DEFAULT_RETURN_FORMAT,i){return s.sendTransaction(this,t,e,i)}sendSignedTransaction(t,e=r.DEFAULT_RETURN_FORMAT,i){return s.sendSignedTransaction(this,t,e,i)}sign(t,e,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.sign(this,t,e,i)})}signTransaction(t,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.signTransaction(this,t,e)})}call(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.call(this,t,e,i)})}estimateGas(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.estimateGas(this,t,e,i)})}getPastLogs(t,e=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getLogs(this,t,e)})}getWork(){return n(this,void 0,void 0,function*(){return d.getWork(this.requestManager)})}submitWork(t,e,i){return n(this,void 0,void 0,function*(){return d.submitWork(this.requestManager,t,e,i)})}requestAccounts(){return n(this,void 0,void 0,function*(){return d.requestAccounts(this.requestManager)})}getChainId(t=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getChainId(this,t)})}getNodeInfo(){return n(this,void 0,void 0,function*(){return d.getNodeInfo(this.requestManager)})}getProof(t,e,i=this.defaultBlock,o=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getProof(this,t,e,i,o)})}getFeeHistory(t,e=this.defaultBlock,i,o=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.getFeeHistory(this,t,e,i,o)})}createAccessList(t,e=this.defaultBlock,i=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.createAccessList(this,t,e,i)})}signTypedData(t,e,i=!1,o=r.DEFAULT_RETURN_FORMAT){return n(this,void 0,void 0,function*(){return s.signTypedData(this,t,e,i,o)})}subscribe(t,e,i=r.DEFAULT_RETURN_FORMAT){var o;return n(this,void 0,void 0,function*(){const u=yield(o=this.subscriptionManager)===null||o===void 0?void 0:o.subscribe(t,e,i);return u instanceof h.LogsSubscription&&t==="logs"&&typeof e=="object"&&!M.isNullish(e.fromBlock)&&Number.isFinite(Number(e.fromBlock))&&setImmediate(()=>{this.getPastLogs(e).then(c=>{for(const a of c)u._processSubscriptionResult(a)}).catch(c=>{u._processSubscriptionError(c)})}),u})}static shouldClearSubscription({sub:t}){return!(t instanceof h.SyncingSubscription)}clearSubscriptions(t=!1){var e;return(e=this.subscriptionManager)===null||e===void 0?void 0:e.unsubscribe(t?v.shouldClearSubscription:void 0)}}exports.Web3Eth=v;exports.registeredSubscriptions=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const T=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const k=require("../../../web3-core/lib/esm/utils.cjs"),m=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const n=require("./rpc_method_wrappers.cjs"),d=require("./web3_subscriptions.cjs"),R=require("../../../web3-utils/lib/esm/converters.cjs"),q=require("../../../web3-utils/lib/esm/validation.cjs");var r=function(p,t,e,i){function o(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function u(h){try{f(i.next(h))}catch(g){a(g)}}function l(h){try{f(i.throw(h))}catch(g){a(g)}}function f(h){h.done?s(h.value):o(h.value).then(u,l)}f((i=i.apply(p,t||[])).next())})};const b={logs:d.LogsSubscription,newPendingTransactions:d.NewPendingTransactionsSubscription,newHeads:d.NewHeadsSubscription,syncing:d.SyncingSubscription,pendingTransactions:d.NewPendingTransactionsSubscription,newBlockHeaders:d.NewHeadsSubscription};class F extends T.Web3Context{constructor(t){if(typeof t=="string"||k.isSupportedProvider(t)){super({provider:t,registeredSubscriptions:b});return}if(t.registeredSubscriptions){super(t);return}super(Object.assign(Object.assign({},t),{registeredSubscriptions:b})),this.getFeeData=this.calculateFeeData}getProtocolVersion(){return r(this,void 0,void 0,function*(){return c.getProtocolVersion(this.requestManager)})}isSyncing(){return r(this,void 0,void 0,function*(){return c.getSyncing(this.requestManager)})}getCoinbase(){return r(this,void 0,void 0,function*(){return c.getCoinbase(this.requestManager)})}isMining(){return r(this,void 0,void 0,function*(){return c.getMining(this.requestManager)})}getHashrate(t){var e;return t===void 0&&(t=(e=this.defaultReturnFormat)!==null&&e!==void 0?e:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){return this.getHashRate(t)})}getHashRate(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getHashRate(this,t)})}getGasPrice(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getGasPrice(this,t)})}getMaxPriorityFeePerGas(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getMaxPriorityFeePerGas(this,t)})}calculateFeeData(t=BigInt(2),e=R.ethUnitMap.Gwei){var i;return r(this,void 0,void 0,function*(){const o=yield this.getBlock(void 0,!1),s=(i=o==null?void 0:o.baseFeePerGas)!==null&&i!==void 0?i:void 0;let a;try{a=yield this.getGasPrice()}catch{}let u;try{u=yield this.getMaxPriorityFeePerGas()}catch{}let l;return s&&(u=u??e,l=s*t+u),{gasPrice:a,maxFeePerGas:l,maxPriorityFeePerGas:u,baseFeePerGas:s}})}getAccounts(){var t;return r(this,void 0,void 0,function*(){return((t=yield c.getAccounts(this.requestManager))!==null&&t!==void 0?t:[]).map(i=>R.toChecksumAddress(i))})}getBlockNumber(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockNumber(this,t)})}getBalance(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBalance(this,t,e,i)})}getStorageAt(t,e,i=this.defaultBlock,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getStorageAt(this,t,e,i,o)})}getCode(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getCode(this,t,e,i)})}getBlock(t=this.defaultBlock,e=!1,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlock(this,t,e,i)})}getBlockTransactionCount(t=this.defaultBlock,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockTransactionCount(this,t,e)})}getBlockUncleCount(t=this.defaultBlock,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockUncleCount(this,t,e)})}getUncle(t=this.defaultBlock,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getUncle(this,t,e,i)})}getTransaction(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){const i=yield n.getTransaction(this,t,e);if(!i)throw new m.TransactionNotFound;return i})}getPendingTransactions(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getPendingTransactions(this,t)})}getTransactionFromBlock(t=this.defaultBlock,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getTransactionFromBlock(this,t,e,i)})}getTransactionReceipt(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){const i=yield n.getTransactionReceipt(this,t,e);if(!i)throw new m.TransactionNotFound;return i})}getTransactionCount(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getTransactionCount(this,t,e,i)})}sendTransaction(t,e=this.defaultReturnFormat,i){return n.sendTransaction(this,t,e,i)}sendSignedTransaction(t,e=this.defaultReturnFormat,i){return n.sendSignedTransaction(this,t,e,i)}sign(t,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.sign(this,t,e,i)})}signTransaction(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.signTransaction(this,t,e)})}call(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.call(this,t,e,i)})}estimateGas(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.estimateGas(this,t,e,i)})}getPastLogs(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getLogs(this,t,e)})}getWork(){return r(this,void 0,void 0,function*(){return c.getWork(this.requestManager)})}submitWork(t,e,i){return r(this,void 0,void 0,function*(){return c.submitWork(this.requestManager,t,e,i)})}requestAccounts(){return r(this,void 0,void 0,function*(){return c.requestAccounts(this.requestManager)})}getChainId(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getChainId(this,t)})}getNodeInfo(){return r(this,void 0,void 0,function*(){return c.getNodeInfo(this.requestManager)})}getProof(t,e,i=this.defaultBlock,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getProof(this,t,e,i,o)})}getFeeHistory(t,e=this.defaultBlock,i,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getFeeHistory(this,t,e,i,o)})}createAccessList(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.createAccessList(this,t,e,i)})}signTypedData(t,e,i,o){var s;return i===void 0&&(i=!1),o===void 0&&(o=(s=this.defaultReturnFormat)!==null&&s!==void 0?s:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){return n.signTypedData(this,t,e,i,o)})}subscribe(t,e,i){var o,s;return i===void 0&&(i=(o=this.defaultReturnFormat)!==null&&o!==void 0?o:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){const a=yield(s=this.subscriptionManager)===null||s===void 0?void 0:s.subscribe(t,e,i);return a instanceof d.LogsSubscription&&t==="logs"&&typeof e=="object"&&!q.isNullish(e.fromBlock)&&Number.isFinite(Number(e.fromBlock))&&setImmediate(()=>{this.getPastLogs(e).then(u=>{for(const l of u)a._processSubscriptionResult(l)}).catch(u=>{a._processSubscriptionError(u)})}),a})}static shouldClearSubscription({sub:t}){return!(t instanceof d.SyncingSubscription)}clearSubscriptions(t=!1){var e;return(e=this.subscriptionManager)===null||e===void 0?void 0:e.unsubscribe(t?F.shouldClearSubscription:void 0)}}exports.Web3Eth=F;exports.registeredSubscriptions=b;
@@ -1,68 +1,68 @@
1
- import { DEFAULT_RETURN_FORMAT as r } from "../../../web3-types/lib/esm/data_format_types.js";
1
+ import { DEFAULT_RETURN_FORMAT as l } 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-core/lib/esm/web3_config.js";
5
5
  import "../../../web3-core/lib/esm/web3_request_manager.js";
6
6
  import "../../../web3-core/lib/esm/web3_subscription_manager.js";
7
7
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
8
- import { Web3Context as T } from "../../../web3-core/lib/esm/web3_context.js";
8
+ import { Web3Context as k } from "../../../web3-core/lib/esm/web3_context.js";
9
9
  import "../../../web3-core/lib/esm/web3_batch_request.js";
10
- import { isSupportedProvider as y } from "../../../web3-core/lib/esm/utils.js";
10
+ import { isSupportedProvider as B } from "../../../web3-core/lib/esm/utils.js";
11
11
  import { TransactionNotFound as f } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
12
12
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
13
13
  import "../../../web3-eth-iban/lib/esm/iban.js";
14
14
  import "../../../web3-validator/lib/esm/formats.js";
15
15
  import "../../../web3-validator/lib/esm/default_validator.js";
16
16
  import "../../../web3-core/lib/esm/web3_promi_event.js";
17
- import { getProtocolVersion as P, getSyncing as S, getCoinbase as F, getMining as M, getAccounts as w, getWork as A, submitWork as G, requestAccounts as q, getNodeInfo as C } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
17
+ import { getProtocolVersion as T, getSyncing as y, getCoinbase as P, getMining as S, getAccounts as M, getWork as w, submitWork as _, requestAccounts as A, getNodeInfo as G } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
18
18
  import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
19
19
  import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
20
- import { getHashRate as N, getGasPrice as _, getMaxPriorityFeePerGas as H, getBlockNumber as R, getBalance as x, getStorageAt as L, getCode as U, getBlock as D, getBlockTransactionCount as I, getBlockUncleCount as W, getUncle as j, getTransaction as E, getPendingTransactions as V, getTransactionFromBlock as z, getTransactionReceipt as J, getTransactionCount as K, sendTransaction as Q, sendSignedTransaction as X, sign as Y, signTransaction as Z, call as $, estimateGas as O, getLogs as tt, getChainId as it, getProof as et, getFeeHistory as nt, createAccessList as rt, signTypedData as ot } from "./rpc_method_wrappers.js";
21
- import { LogsSubscription as m, NewPendingTransactionsSubscription as g, NewHeadsSubscription as v, SyncingSubscription as b } from "./web3_subscriptions.js";
20
+ import { getHashRate as q, getGasPrice as C, getMaxPriorityFeePerGas as N, getBlockNumber as H, getBalance as x, getStorageAt as U, getCode as D, getBlock as I, getBlockTransactionCount as L, getBlockUncleCount as W, getUncle as j, getTransaction as E, getPendingTransactions as V, getTransactionFromBlock as z, getTransactionReceipt as J, getTransactionCount as K, sendTransaction as Q, sendSignedTransaction as X, sign as Y, signTransaction as Z, call as $, estimateGas as O, getLogs as tt, getChainId as it, getProof as et, getFeeHistory as nt, createAccessList as rt, signTypedData as ot } from "./rpc_method_wrappers.js";
21
+ import { LogsSubscription as p, NewPendingTransactionsSubscription as g, NewHeadsSubscription as v, SyncingSubscription as F } from "./web3_subscriptions.js";
22
22
  import { ethUnitMap as st, toChecksumAddress as ut } from "../../../web3-utils/lib/esm/converters.js";
23
- import { isNullish as ct } from "../../../web3-utils/lib/esm/validation.js";
24
- var n = function(B, t, i, e) {
25
- function o(s) {
26
- return s instanceof i ? s : new i(function(u) {
27
- u(s);
23
+ import { isNullish as at } from "../../../web3-utils/lib/esm/validation.js";
24
+ var n = function(b, t, i, e) {
25
+ function r(o) {
26
+ return o instanceof i ? o : new i(function(u) {
27
+ u(o);
28
28
  });
29
29
  }
30
- return new (i || (i = Promise))(function(s, u) {
31
- function c(a) {
30
+ return new (i || (i = Promise))(function(o, u) {
31
+ function s(a) {
32
32
  try {
33
- d(e.next(a));
34
- } catch (l) {
35
- u(l);
33
+ c(e.next(a));
34
+ } catch (h) {
35
+ u(h);
36
36
  }
37
37
  }
38
- function h(a) {
38
+ function d(a) {
39
39
  try {
40
- d(e.throw(a));
41
- } catch (l) {
42
- u(l);
40
+ c(e.throw(a));
41
+ } catch (h) {
42
+ u(h);
43
43
  }
44
44
  }
45
- function d(a) {
46
- a.done ? s(a.value) : o(a.value).then(c, h);
45
+ function c(a) {
46
+ a.done ? o(a.value) : r(a.value).then(s, d);
47
47
  }
48
- d((e = e.apply(B, t || [])).next());
48
+ c((e = e.apply(b, t || [])).next());
49
49
  });
50
50
  };
51
- const p = {
52
- logs: m,
51
+ const m = {
52
+ logs: p,
53
53
  newPendingTransactions: g,
54
54
  newHeads: v,
55
- syncing: b,
55
+ syncing: F,
56
56
  pendingTransactions: g,
57
57
  newBlockHeaders: v
58
58
  // the same as newHeads. just for support API like in version 1.x
59
59
  };
60
- class k extends T {
60
+ class R extends k {
61
61
  constructor(t) {
62
- if (typeof t == "string" || y(t)) {
62
+ if (typeof t == "string" || B(t)) {
63
63
  super({
64
64
  provider: t,
65
- registeredSubscriptions: p
65
+ registeredSubscriptions: m
66
66
  });
67
67
  return;
68
68
  }
@@ -70,7 +70,7 @@ class k extends T {
70
70
  super(t);
71
71
  return;
72
72
  }
73
- super(Object.assign(Object.assign({}, t), { registeredSubscriptions: p })), this.getFeeData = this.calculateFeeData;
73
+ super(Object.assign(Object.assign({}, t), { registeredSubscriptions: m })), this.getFeeData = this.calculateFeeData;
74
74
  }
75
75
  /**
76
76
  * @returns Returns the ethereum protocol version of the node.
@@ -82,7 +82,7 @@ class k extends T {
82
82
  */
83
83
  getProtocolVersion() {
84
84
  return n(this, void 0, void 0, function* () {
85
- return P(this.requestManager);
85
+ return T(this.requestManager);
86
86
  });
87
87
  }
88
88
  // TODO Add returnFormat parameter
@@ -104,7 +104,7 @@ class k extends T {
104
104
  */
105
105
  isSyncing() {
106
106
  return n(this, void 0, void 0, function* () {
107
- return S(this.requestManager);
107
+ return y(this.requestManager);
108
108
  });
109
109
  }
110
110
  // TODO consider adding returnFormat parameter (to format address as bytes)
@@ -118,7 +118,7 @@ class k extends T {
118
118
  */
119
119
  getCoinbase() {
120
120
  return n(this, void 0, void 0, function* () {
121
- return F(this.requestManager);
121
+ return P(this.requestManager);
122
122
  });
123
123
  }
124
124
  /**
@@ -133,7 +133,7 @@ class k extends T {
133
133
  */
134
134
  isMining() {
135
135
  return n(this, void 0, void 0, function* () {
136
- return M(this.requestManager);
136
+ return S(this.requestManager);
137
137
  });
138
138
  }
139
139
  /**
@@ -150,8 +150,9 @@ class k extends T {
150
150
  * > "0x788a8"
151
151
  * ```
152
152
  */
153
- getHashrate(t = r) {
154
- return n(this, void 0, void 0, function* () {
153
+ getHashrate(t) {
154
+ var i;
155
+ return t === void 0 && (t = (i = this.defaultReturnFormat) !== null && i !== void 0 ? i : l), n(this, void 0, void 0, function* () {
155
156
  return this.getHashRate(t);
156
157
  });
157
158
  }
@@ -167,9 +168,9 @@ class k extends T {
167
168
  * > "0x788a8"
168
169
  * ```
169
170
  */
170
- getHashRate(t = r) {
171
+ getHashRate(t = this.defaultReturnFormat) {
171
172
  return n(this, void 0, void 0, function* () {
172
- return N(this, t);
173
+ return q(this, t);
173
174
  });
174
175
  }
175
176
  /**
@@ -184,9 +185,9 @@ class k extends T {
184
185
  * > "0x4a817c800"
185
186
  * ```
186
187
  */
187
- getGasPrice(t = r) {
188
+ getGasPrice(t = this.defaultReturnFormat) {
188
189
  return n(this, void 0, void 0, function* () {
189
- return _(this, t);
190
+ return C(this, t);
190
191
  });
191
192
  }
192
193
  /**
@@ -201,9 +202,9 @@ class k extends T {
201
202
  * > "0x4a817c800"
202
203
  * ```
203
204
  */
204
- getMaxPriorityFeePerGas(t = r) {
205
+ getMaxPriorityFeePerGas(t = this.defaultReturnFormat) {
205
206
  return n(this, void 0, void 0, function* () {
206
- return H(this, t);
207
+ return N(this, t);
207
208
  });
208
209
  }
209
210
  /**
@@ -236,19 +237,19 @@ class k extends T {
236
237
  calculateFeeData(t = BigInt(2), i = st.Gwei) {
237
238
  var e;
238
239
  return n(this, void 0, void 0, function* () {
239
- const o = yield this.getBlock(void 0, !1), s = (e = o == null ? void 0 : o.baseFeePerGas) !== null && e !== void 0 ? e : void 0;
240
+ const r = yield this.getBlock(void 0, !1), o = (e = r == null ? void 0 : r.baseFeePerGas) !== null && e !== void 0 ? e : void 0;
240
241
  let u;
241
242
  try {
242
243
  u = yield this.getGasPrice();
243
244
  } catch {
244
245
  }
245
- let c;
246
+ let s;
246
247
  try {
247
- c = yield this.getMaxPriorityFeePerGas();
248
+ s = yield this.getMaxPriorityFeePerGas();
248
249
  } catch {
249
250
  }
250
- let h;
251
- return s && (c = c ?? i, h = s * t + c), { gasPrice: u, maxFeePerGas: h, maxPriorityFeePerGas: c, baseFeePerGas: s };
251
+ let d;
252
+ return o && (s = s ?? i, d = o * t + s), { gasPrice: u, maxFeePerGas: d, maxPriorityFeePerGas: s, baseFeePerGas: o };
252
253
  });
253
254
  }
254
255
  /**
@@ -262,7 +263,7 @@ class k extends T {
262
263
  getAccounts() {
263
264
  var t;
264
265
  return n(this, void 0, void 0, function* () {
265
- return ((t = yield w(this.requestManager)) !== null && t !== void 0 ? t : []).map((e) => ut(e));
266
+ return ((t = yield M(this.requestManager)) !== null && t !== void 0 ? t : []).map((e) => ut(e));
266
267
  });
267
268
  }
268
269
  /**
@@ -277,9 +278,9 @@ class k extends T {
277
278
  * > "0xab8"
278
279
  * ```
279
280
  */
280
- getBlockNumber(t = r) {
281
+ getBlockNumber(t = this.defaultReturnFormat) {
281
282
  return n(this, void 0, void 0, function* () {
282
- return R(this, t);
283
+ return H(this, t);
283
284
  });
284
285
  }
285
286
  /**
@@ -298,7 +299,7 @@ class k extends T {
298
299
  * > "0xe8d4a51000"
299
300
  * ```
300
301
  */
301
- getBalance(t, i = this.defaultBlock, e = r) {
302
+ getBalance(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
302
303
  return n(this, void 0, void 0, function* () {
303
304
  return x(this, t, i, e);
304
305
  });
@@ -330,9 +331,9 @@ class k extends T {
330
331
  * ]
331
332
  * ```
332
333
  */
333
- getStorageAt(t, i, e = this.defaultBlock, o = r) {
334
+ getStorageAt(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
334
335
  return n(this, void 0, void 0, function* () {
335
- return L(this, t, i, e, o);
336
+ return U(this, t, i, e, r);
336
337
  });
337
338
  }
338
339
  /**
@@ -361,9 +362,9 @@ class k extends T {
361
362
  * ]
362
363
  * ```
363
364
  */
364
- getCode(t, i = this.defaultBlock, e = r) {
365
+ getCode(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
365
366
  return n(this, void 0, void 0, function* () {
366
- return U(this, t, i, e);
367
+ return D(this, t, i, e);
367
368
  });
368
369
  }
369
370
  /**
@@ -430,9 +431,9 @@ class k extends T {
430
431
  * }
431
432
  * ```
432
433
  */
433
- getBlock(t = this.defaultBlock, i = !1, e = r) {
434
+ getBlock(t = this.defaultBlock, i = !1, e = this.defaultReturnFormat) {
434
435
  return n(this, void 0, void 0, function* () {
435
- return D(this, t, i, e);
436
+ return I(this, t, i, e);
436
437
  });
437
438
  }
438
439
  /**
@@ -451,9 +452,9 @@ class k extends T {
451
452
  * > 1
452
453
  * ```
453
454
  */
454
- getBlockTransactionCount(t = this.defaultBlock, i = r) {
455
+ getBlockTransactionCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
455
456
  return n(this, void 0, void 0, function* () {
456
- return I(this, t, i);
457
+ return L(this, t, i);
457
458
  });
458
459
  }
459
460
  /**
@@ -472,7 +473,7 @@ class k extends T {
472
473
  * > 1
473
474
  * ```
474
475
  */
475
- getBlockUncleCount(t = this.defaultBlock, i = r) {
476
+ getBlockUncleCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
476
477
  return n(this, void 0, void 0, function* () {
477
478
  return W(this, t, i);
478
479
  });
@@ -540,7 +541,7 @@ class k extends T {
540
541
  * }
541
542
  * ```
542
543
  */
543
- getUncle(t = this.defaultBlock, i, e = r) {
544
+ getUncle(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
544
545
  return n(this, void 0, void 0, function* () {
545
546
  return j(this, t, i, e);
546
547
  });
@@ -593,7 +594,7 @@ class k extends T {
593
594
  * }
594
595
  * ```
595
596
  */
596
- getTransaction(t, i = r) {
597
+ getTransaction(t, i = this.defaultReturnFormat) {
597
598
  return n(this, void 0, void 0, function* () {
598
599
  const e = yield E(this, t, i);
599
600
  if (!e)
@@ -683,7 +684,7 @@ class k extends T {
683
684
  * ]
684
685
  * ```
685
686
  */
686
- getPendingTransactions(t = r) {
687
+ getPendingTransactions(t = this.defaultReturnFormat) {
687
688
  return n(this, void 0, void 0, function* () {
688
689
  return V(this, t);
689
690
  });
@@ -738,7 +739,7 @@ class k extends T {
738
739
  * }
739
740
  * ```
740
741
  */
741
- getTransactionFromBlock(t = this.defaultBlock, i, e = r) {
742
+ getTransactionFromBlock(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
742
743
  return n(this, void 0, void 0, function* () {
743
744
  return z(this, t, i, e);
744
745
  });
@@ -787,7 +788,7 @@ class k extends T {
787
788
  * }
788
789
  * ```
789
790
  */
790
- getTransactionReceipt(t, i = r) {
791
+ getTransactionReceipt(t, i = this.defaultReturnFormat) {
791
792
  return n(this, void 0, void 0, function* () {
792
793
  const e = yield J(this, t, i);
793
794
  if (!e)
@@ -813,7 +814,7 @@ class k extends T {
813
814
  * > 1
814
815
  * ```
815
816
  */
816
- getTransactionCount(t, i = this.defaultBlock, e = r) {
817
+ getTransactionCount(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
817
818
  return n(this, void 0, void 0, function* () {
818
819
  return K(this, t, i, e);
819
820
  });
@@ -924,7 +925,7 @@ class k extends T {
924
925
  * > <Some TransactionError>
925
926
  * ```
926
927
  */
927
- sendTransaction(t, i = r, e) {
928
+ sendTransaction(t, i = this.defaultReturnFormat, e) {
928
929
  return Q(this, t, i, e);
929
930
  }
930
931
  /**
@@ -1011,7 +1012,7 @@ class k extends T {
1011
1012
  * > <Some TransactionError>
1012
1013
  * ```
1013
1014
  */
1014
- sendSignedTransaction(t, i = r, e) {
1015
+ sendSignedTransaction(t, i = this.defaultReturnFormat, e) {
1015
1016
  return X(this, t, i, e);
1016
1017
  }
1017
1018
  /**
@@ -1041,7 +1042,7 @@ class k extends T {
1041
1042
  * web3.eth.sign("0x48656c6c6f20776f726c64", 0).then(console.log);
1042
1043
  * > "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"
1043
1044
  */
1044
- sign(t, i, e = r) {
1045
+ sign(t, i, e = this.defaultReturnFormat) {
1045
1046
  return n(this, void 0, void 0, function* () {
1046
1047
  return Y(this, t, i, e);
1047
1048
  });
@@ -1097,7 +1098,7 @@ class k extends T {
1097
1098
  * }
1098
1099
  * ```
1099
1100
  */
1100
- signTransaction(t, i = r) {
1101
+ signTransaction(t, i = this.defaultReturnFormat) {
1101
1102
  return n(this, void 0, void 0, function* () {
1102
1103
  return Z(this, t, i);
1103
1104
  });
@@ -1113,7 +1114,7 @@ class k extends T {
1113
1114
  * @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
1114
1115
  * @returns The returned data of the call, e.g. a smart contract function's return value.
1115
1116
  */
1116
- call(t, i = this.defaultBlock, e = r) {
1117
+ call(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
1117
1118
  return n(this, void 0, void 0, function* () {
1118
1119
  return $(this, t, i, e);
1119
1120
  });
@@ -1144,7 +1145,7 @@ class k extends T {
1144
1145
  * > 21000
1145
1146
  * ```
1146
1147
  */
1147
- estimateGas(t, i = this.defaultBlock, e = r) {
1148
+ estimateGas(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
1148
1149
  return n(this, void 0, void 0, function* () {
1149
1150
  return O(this, t, i, e);
1150
1151
  });
@@ -1193,7 +1194,7 @@ class k extends T {
1193
1194
  * {...}]
1194
1195
  * ```
1195
1196
  */
1196
- getPastLogs(t, i = r) {
1197
+ getPastLogs(t, i = this.defaultReturnFormat) {
1197
1198
  return n(this, void 0, void 0, function* () {
1198
1199
  return tt(this, t, i);
1199
1200
  });
@@ -1218,7 +1219,7 @@ class k extends T {
1218
1219
  */
1219
1220
  getWork() {
1220
1221
  return n(this, void 0, void 0, function* () {
1221
- return A(this.requestManager);
1222
+ return w(this.requestManager);
1222
1223
  });
1223
1224
  }
1224
1225
  /**
@@ -1240,7 +1241,7 @@ class k extends T {
1240
1241
  */
1241
1242
  submitWork(t, i, e) {
1242
1243
  return n(this, void 0, void 0, function* () {
1243
- return G(this.requestManager, t, i, e);
1244
+ return _(this.requestManager, t, i, e);
1244
1245
  });
1245
1246
  }
1246
1247
  // TODO - Format addresses
@@ -1259,7 +1260,7 @@ class k extends T {
1259
1260
  */
1260
1261
  requestAccounts() {
1261
1262
  return n(this, void 0, void 0, function* () {
1262
- return q(this.requestManager);
1263
+ return A(this.requestManager);
1263
1264
  });
1264
1265
  }
1265
1266
  /**
@@ -1274,7 +1275,7 @@ class k extends T {
1274
1275
  * > 61
1275
1276
  * ```
1276
1277
  */
1277
- getChainId(t = r) {
1278
+ getChainId(t = this.defaultReturnFormat) {
1278
1279
  return n(this, void 0, void 0, function* () {
1279
1280
  return it(this, t);
1280
1281
  });
@@ -1289,7 +1290,7 @@ class k extends T {
1289
1290
  */
1290
1291
  getNodeInfo() {
1291
1292
  return n(this, void 0, void 0, function* () {
1292
- return C(this.requestManager);
1293
+ return G(this.requestManager);
1293
1294
  });
1294
1295
  }
1295
1296
  /**
@@ -1364,9 +1365,9 @@ class k extends T {
1364
1365
  * }
1365
1366
  * ```
1366
1367
  */
1367
- getProof(t, i, e = this.defaultBlock, o = r) {
1368
+ getProof(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
1368
1369
  return n(this, void 0, void 0, function* () {
1369
- return et(this, t, i, e, o);
1370
+ return et(this, t, i, e, r);
1370
1371
  });
1371
1372
  }
1372
1373
  // TODO Throwing an error with Geth, but not Infura
@@ -1430,9 +1431,9 @@ class k extends T {
1430
1431
  * }
1431
1432
  * ```
1432
1433
  */
1433
- getFeeHistory(t, i = this.defaultBlock, e, o = r) {
1434
+ getFeeHistory(t, i = this.defaultBlock, e, r = this.defaultReturnFormat) {
1434
1435
  return n(this, void 0, void 0, function* () {
1435
- return nt(this, t, i, e, o);
1436
+ return nt(this, t, i, e, r);
1436
1437
  });
1437
1438
  }
1438
1439
  /**
@@ -1466,7 +1467,7 @@ class k extends T {
1466
1467
  * }
1467
1468
  * ```
1468
1469
  */
1469
- createAccessList(t, i = this.defaultBlock, e = r) {
1470
+ createAccessList(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
1470
1471
  return n(this, void 0, void 0, function* () {
1471
1472
  return rt(this, t, i, e);
1472
1473
  });
@@ -1480,9 +1481,10 @@ class k extends T {
1480
1481
  * @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the signed typed data should be formatted.
1481
1482
  * @returns The signed typed data.
1482
1483
  */
1483
- signTypedData(t, i, e = !1, o = r) {
1484
- return n(this, void 0, void 0, function* () {
1485
- return ot(this, t, i, e, o);
1484
+ signTypedData(t, i, e, r) {
1485
+ var o;
1486
+ return e === void 0 && (e = !1), r === void 0 && (r = (o = this.defaultReturnFormat) !== null && o !== void 0 ? o : l), n(this, void 0, void 0, function* () {
1487
+ return ot(this, t, i, e, r);
1486
1488
  });
1487
1489
  }
1488
1490
  /**
@@ -1617,22 +1619,22 @@ class k extends T {
1617
1619
  * }
1618
1620
  *```
1619
1621
  */
1620
- subscribe(t, i, e = r) {
1621
- var o;
1622
- return n(this, void 0, void 0, function* () {
1623
- const s = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i, e);
1624
- return s instanceof m && t === "logs" && typeof i == "object" && !ct(i.fromBlock) && Number.isFinite(Number(i.fromBlock)) && setImmediate(() => {
1625
- this.getPastLogs(i).then((u) => {
1626
- for (const c of u)
1627
- s._processSubscriptionResult(c);
1628
- }).catch((u) => {
1629
- s._processSubscriptionError(u);
1622
+ subscribe(t, i, e) {
1623
+ var r, o;
1624
+ return e === void 0 && (e = (r = this.defaultReturnFormat) !== null && r !== void 0 ? r : l), n(this, void 0, void 0, function* () {
1625
+ const u = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i, e);
1626
+ return u instanceof p && t === "logs" && typeof i == "object" && !at(i.fromBlock) && Number.isFinite(Number(i.fromBlock)) && setImmediate(() => {
1627
+ this.getPastLogs(i).then((s) => {
1628
+ for (const d of s)
1629
+ u._processSubscriptionResult(d);
1630
+ }).catch((s) => {
1631
+ u._processSubscriptionError(s);
1630
1632
  });
1631
- }), s;
1633
+ }), u;
1632
1634
  });
1633
1635
  }
1634
1636
  static shouldClearSubscription({ sub: t }) {
1635
- return !(t instanceof b);
1637
+ return !(t instanceof F);
1636
1638
  }
1637
1639
  /**
1638
1640
  * Resets subscriptions.
@@ -1649,11 +1651,11 @@ class k extends T {
1649
1651
  var i;
1650
1652
  return (i = this.subscriptionManager) === null || i === void 0 ? void 0 : i.unsubscribe(
1651
1653
  // eslint-disable-next-line
1652
- t ? k.shouldClearSubscription : void 0
1654
+ t ? R.shouldClearSubscription : void 0
1653
1655
  );
1654
1656
  }
1655
1657
  }
1656
1658
  export {
1657
- k as Web3Eth,
1658
- p as registeredSubscriptions
1659
+ R as Web3Eth,
1660
+ m as registeredSubscriptions
1659
1661
  };