@ozdao/prometheus-framework 0.2.112 → 0.2.113

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) 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 +4 -4
  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 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
  148. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  150. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  154. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  156. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  164. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +10 -10
  166. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  168. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  170. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  172. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
  174. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  176. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  178. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  180. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  182. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  184. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
  188. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  190. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  191. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  192. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  194. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  196. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  198. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  199. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  201. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  203. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  205. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  208. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  209. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  211. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  212. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  213. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  216. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  217. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  219. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  221. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  223. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  224. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  225. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  226. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  227. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  228. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  229. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  230. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  231. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  233. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
  235. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  243. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  245. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  247. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  249. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  251. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  253. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  257. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  259. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  263. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  265. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  267. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  269. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  271. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  275. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  277. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +9 -9
  279. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +16 -16
  281. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  283. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  285. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  287. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  289. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  291. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  293. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  295. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  297. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  299. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  301. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  303. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  305. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  307. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  309. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  311. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  313. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  314. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  315. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  316. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  318. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  319. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  320. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  322. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  324. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  326. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  328. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +34 -34
  330. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  332. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  334. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  336. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
  338. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  340. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +13 -10
  342. package/dist/prometheus-framework.cjs.js +1 -1
  343. package/dist/prometheus-framework.es.js +1 -1
  344. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  345. package/dist/queryProcessor-DWf9tsis.js +161 -0
  346. package/dist/style.css +1 -1
  347. package/dist/wallet.server.js +1 -1
  348. package/dist/wallet.server.mjs +1 -1
  349. package/dist/web-TGdVOTnw.js +1 -0
  350. package/dist/web-_W9a_nWD.mjs +54 -0
  351. package/package.json +1 -1
  352. package/src/components/Address/Address.vue +1 -1
  353. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  354. package/src/components/Block/Block.vue +1 -1
  355. package/src/components/Checkbox/Checkbox.vue +40 -43
  356. package/src/components/Chips/Chips.vue +2 -2
  357. package/src/components/DatePicker/Calendar.vue +29 -31
  358. package/src/components/Dropdown/Dropdown.vue +5 -11
  359. package/src/components/Feed/Feed.vue +98 -15
  360. package/src/components/FieldTags/BlockTags.vue +3 -3
  361. package/src/components/FieldTags/FieldTags.vue +1 -1
  362. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  363. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  364. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  365. package/src/components/Map/LoaderGMaps.js +66 -0
  366. package/src/components/Map/Map.vue +2 -1
  367. package/src/components/Marquee/Marquee.vue +1 -1
  368. package/src/components/Radio/Radio.vue +36 -13
  369. package/src/configurator/components/pages/Styles.vue +1 -1
  370. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  371. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  372. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  373. package/src/modules/auth/components/pages/Invite.vue +2 -2
  374. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  375. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  376. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  377. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  378. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  379. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  380. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  381. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  382. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  383. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  384. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  385. package/src/modules/community/components/layouts/Community.vue +2 -2
  386. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  387. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  388. package/src/modules/community/components/sections/Comments.vue +2 -2
  389. package/src/modules/community/components/sections/Feed.vue +1 -1
  390. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  391. package/src/modules/constructor/components/elements/Image.vue +1 -1
  392. package/src/modules/constructor/components/elements/Video.vue +2 -2
  393. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  394. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  395. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  396. package/src/modules/events/components/pages/Event.vue +3 -3
  397. package/src/modules/events/components/pages/Events.vue +4 -3
  398. package/src/modules/events/components/sections/Feed.vue +3 -3
  399. package/src/modules/events/components/sections/List.vue +2 -2
  400. package/src/modules/files/controllers/files.controller.js +8 -6
  401. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  402. package/src/modules/files/routes/files.routes.js +11 -9
  403. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  404. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  405. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  406. package/src/modules/gallery/models/photo.model.js +20 -11
  407. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  408. package/src/modules/gallery/store/gallery.js +3 -78
  409. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  410. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  411. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  412. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  413. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  414. package/src/modules/globals/components/layouts/Client.vue +273 -0
  415. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  416. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  417. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  418. package/src/modules/globals/models/common.schema.js +1 -1
  419. package/src/modules/globals/services/globals.store.js +11 -6
  420. package/src/modules/globals/store/globals.js +12 -10
  421. package/src/modules/icons/logos/Logotype.vue +23 -19
  422. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  423. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  424. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  425. package/src/modules/icons/navigation/IconSort.vue +21 -0
  426. package/src/modules/landing/components/pages/Home.vue +4 -4
  427. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  428. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  429. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  430. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  431. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  432. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  433. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  434. package/src/modules/landing/landing.client.js +2 -0
  435. package/src/modules/landing/router/landing.js +1 -1
  436. package/src/modules/legal/components/pages/Legal.vue +2 -2
  437. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  438. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  439. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  440. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  441. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  442. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  443. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  444. package/src/modules/marketplace/store/marketplace.js +22 -167
  445. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  446. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  447. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  448. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  449. package/src/modules/orders/components/pages/Order.vue +8 -8
  450. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  451. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  452. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  453. package/src/modules/orders/components/pages/Orders.vue +3 -5
  454. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  455. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  456. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  457. package/src/modules/orders/store/applications.js +1 -1
  458. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  459. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  460. package/src/modules/organizations/components/pages/Department.vue +3 -3
  461. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  462. package/src/modules/organizations/components/pages/Members.vue +4 -4
  463. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  464. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  465. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  466. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  467. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  468. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  469. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  470. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  471. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  472. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  473. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  474. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  475. package/src/modules/organizations/models/organization.model.js +10 -7
  476. package/src/modules/organizations/store/organizations.js +3 -34
  477. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  478. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  479. package/src/modules/products/components/pages/Categories.vue +1 -1
  480. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  481. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  482. package/src/modules/products/components/pages/Product.vue +1 -5
  483. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  484. package/src/modules/products/components/pages/Products.vue +2 -2
  485. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  486. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  487. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  488. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  489. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  490. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  491. package/src/modules/products/products.client.js +0 -2
  492. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  493. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  494. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  495. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  496. package/src/modules/spots/components/pages/Spot.vue +4 -4
  497. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  498. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  499. package/src/modules/spots/components/sections/Places.vue +1 -1
  500. package/src/modules/users/components/pages/Profile.vue +5 -5
  501. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  502. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  503. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  504. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  505. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  506. package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
  507. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  508. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  509. package/src/styles/base/borders.scss +4 -0
  510. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  511. package/src/styles/config.scss +15 -9
  512. package/src/styles/layout.scss +37 -8
  513. package/src/styles/typography.scss +24 -24
  514. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  515. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./contract.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");exports.Contract=e.Contract;exports.default=e.Contract;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./contract.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../web3-eth/lib/esm/utils/send_tx_helper.cjs");exports.Contract=e.Contract;exports.default=e.Contract;
@@ -21,6 +21,9 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
21
21
  import "../../../web3-eth-iban/lib/esm/iban.js";
22
22
  import "../../../web3-core/lib/esm/web3_promi_event.js";
23
23
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
24
+ import "../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
25
+ import "../../../web3-eth/lib/esm/utils/try_send_transaction.js";
26
+ import "../../../web3-eth/lib/esm/utils/send_tx_helper.js";
24
27
  export {
25
28
  o as Contract,
26
29
  o as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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");const i=require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");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");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const s=require("../../../web3-eth/lib/esm/utils/decoding.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");class t extends i.Web3Subscription{constructor(e,r){super(e,r),this.address=e.address,this.topics=e.topics,this.abi=e.abi,this.jsonInterface=e.jsonInterface}_buildSubscriptionParams(){return["logs",{address:this.address,topics:this.topics}]}formatSubscriptionResult(e){return s.decodeEventABI(this.abi,e,this.jsonInterface,super.returnFormat)}}exports.LogsSubscription=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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");const i=require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");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");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const s=require("../../../web3-eth/lib/esm/utils/decoding.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../web3-eth/lib/esm/utils/send_tx_helper.cjs");class u extends i.Web3Subscription{constructor(e,r){super(e,r),this.address=e.address,this.topics=e.topics,this.abi=e.abi,this.jsonInterface=e.jsonInterface}_buildSubscriptionParams(){return["logs",{address:this.address,topics:this.topics}]}formatSubscriptionResult(e){return s.decodeEventABI(this.abi,e,this.jsonInterface,super.returnFormat)}}exports.LogsSubscription=u;
@@ -20,7 +20,10 @@ import "../../../web3-eth/lib/esm/constants.js";
20
20
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
21
21
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
22
22
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
23
- class P extends r {
23
+ import "../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
24
+ import "../../../web3-eth/lib/esm/utils/try_send_transaction.js";
25
+ import "../../../web3-eth/lib/esm/utils/send_tx_helper.js";
26
+ class _ extends r {
24
27
  constructor(t, i) {
25
28
  super(t, i), this.address = t.address, this.topics = t.topics, this.abi = t.abi, this.jsonInterface = t.jsonInterface;
26
29
  }
@@ -32,5 +35,5 @@ class P extends r {
32
35
  }
33
36
  }
34
37
  export {
35
- P as LogsSubscription
38
+ _ as LogsSubscription
36
39
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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 l=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const f=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 _=require("../../../web3-errors/lib/esm/errors/ens_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");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const q=require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-net/lib/esm/net.cjs");const y=require("../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),h=require("./config.cjs"),w=require("./registry.cjs"),p=require("./resolver.cjs");var t=function(v,e,r,i){function o(n){return n instanceof r?n:new r(function(u){u(n)})}return new(r||(r=Promise))(function(n,u){function g(s){try{d(i.next(s))}catch(c){u(c)}}function a(s){try{d(i.throw(s))}catch(c){u(c)}}function d(s){s.done?n(s.value):o(s.value).then(g,a)}d((i=i.apply(v,e||[])).next())})};class E extends l.Web3Context{constructor(e,r){super(r??""),this.registryAddress=e??h.registryAddresses.main,this._registry=new w.Registry(this.getContextObject(),e),this._resolver=new p.Resolver(this._registry)}getResolver(e){return t(this,void 0,void 0,function*(){return this._registry.getResolver(e)})}recordExists(e){return t(this,void 0,void 0,function*(){return this._registry.recordExists(e)})}getTTL(e){return t(this,void 0,void 0,function*(){return this._registry.getTTL(e)})}getOwner(e){return t(this,void 0,void 0,function*(){return this._registry.getOwner(e)})}getAddress(e,r=60){return t(this,void 0,void 0,function*(){return this._resolver.getAddress(e,r)})}getText(e,r){return t(this,void 0,void 0,function*(){return this._resolver.getText(e,r)})}getName(e){return t(this,void 0,void 0,function*(){return this._resolver.getName(e)})}getPubkey(e){return t(this,void 0,void 0,function*(){return this._resolver.getPubkey(e)})}getContenthash(e){return t(this,void 0,void 0,function*(){return this._resolver.getContenthash(e)})}checkNetwork(){return t(this,void 0,void 0,function*(){const e=Date.now()/1e3;if(!this._lastSyncCheck||e-this._lastSyncCheck>3600){const o=yield q.isSyncing(this);if(!(typeof o=="boolean"&&!o))throw new _.ENSNetworkNotSyncedError;this._lastSyncCheck=e}if(this._detectedAddress)return this._detectedAddress;const r=yield y.getId(this,Object.assign(Object.assign({},f.DEFAULT_RETURN_FORMAT),{number:f.FMT_NUMBER.HEX})),i=h.registryAddresses[h.networkIds[r]];if(typeof i>"u")throw new _.ENSUnsupportedNetworkError(r);return this._detectedAddress=i,this._detectedAddress})}supportsInterface(e,r){return t(this,void 0,void 0,function*(){return this._resolver.supportsInterface(e,r)})}get events(){return this._registry.events}setAddress(e,r,i){return t(this,void 0,void 0,function*(){return this._resolver.setAddress(e,r,i)})}}exports.ENS=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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 g=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const q=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/ens_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");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const l=require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../web3-eth/lib/esm/utils/send_tx_helper.cjs");require("../../../web3-net/lib/esm/net.cjs");const y=require("../../../web3-net/lib/esm/rpc_method_wrappers.cjs"),h=require("./config.cjs"),w=require("./registry.cjs"),p=require("./resolver.cjs");var t=function(v,e,r,i){function o(n){return n instanceof r?n:new r(function(u){u(n)})}return new(r||(r=Promise))(function(n,u){function _(s){try{d(i.next(s))}catch(c){u(c)}}function a(s){try{d(i.throw(s))}catch(c){u(c)}}function d(s){s.done?n(s.value):o(s.value).then(_,a)}d((i=i.apply(v,e||[])).next())})};class b extends g.Web3Context{constructor(e,r){super(r??""),this.registryAddress=e??h.registryAddresses.main,this._registry=new w.Registry(this.getContextObject(),e),this._resolver=new p.Resolver(this._registry)}getResolver(e){return t(this,void 0,void 0,function*(){return this._registry.getResolver(e)})}recordExists(e){return t(this,void 0,void 0,function*(){return this._registry.recordExists(e)})}getTTL(e){return t(this,void 0,void 0,function*(){return this._registry.getTTL(e)})}getOwner(e){return t(this,void 0,void 0,function*(){return this._registry.getOwner(e)})}getAddress(e,r=60){return t(this,void 0,void 0,function*(){return this._resolver.getAddress(e,r)})}getText(e,r){return t(this,void 0,void 0,function*(){return this._resolver.getText(e,r)})}getName(e){return t(this,void 0,void 0,function*(){return this._resolver.getName(e)})}getPubkey(e){return t(this,void 0,void 0,function*(){return this._resolver.getPubkey(e)})}getContenthash(e){return t(this,void 0,void 0,function*(){return this._resolver.getContenthash(e)})}checkNetwork(){return t(this,void 0,void 0,function*(){const e=Date.now()/1e3;if(!this._lastSyncCheck||e-this._lastSyncCheck>3600){const o=yield l.isSyncing(this);if(!(typeof o=="boolean"&&!o))throw new f.ENSNetworkNotSyncedError;this._lastSyncCheck=e}if(this._detectedAddress)return this._detectedAddress;const r=yield y.getId(this,Object.assign(Object.assign({},this.defaultReturnFormat),{number:q.FMT_NUMBER.HEX})),i=h.registryAddresses[h.networkIds[r]];if(typeof i>"u")throw new f.ENSUnsupportedNetworkError(r);return this._detectedAddress=i,this._detectedAddress})}supportsInterface(e,r){return t(this,void 0,void 0,function*(){return this._resolver.supportsInterface(e,r)})}get events(){return this._registry.events}setAddress(e,r,i){return t(this,void 0,void 0,function*(){return this._resolver.setAddress(e,r,i)})}}exports.ENS=b;
@@ -4,10 +4,10 @@ import "../../../web3-core/lib/esm/web3_subscription_manager.js";
4
4
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
5
5
  import { Web3Context as v } from "../../../web3-core/lib/esm/web3_context.js";
6
6
  import "../../../web3-core/lib/esm/web3_batch_request.js";
7
- import { DEFAULT_RETURN_FORMAT as _, FMT_NUMBER as g } from "../../../web3-types/lib/esm/data_format_types.js";
7
+ import { FMT_NUMBER as _ } from "../../../web3-types/lib/esm/data_format_types.js";
8
8
  import "../../../web3-types/lib/esm/eth_types.js";
9
9
  import "../../../web3-types/lib/esm/web3_base_provider.js";
10
- import { ENSNetworkNotSyncedError as l, ENSUnsupportedNetworkError as a } from "../../../web3-errors/lib/esm/errors/ens_errors.js";
10
+ import { ENSNetworkNotSyncedError as g, ENSUnsupportedNetworkError as a } from "../../../web3-errors/lib/esm/errors/ens_errors.js";
11
11
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
12
12
  import "../../../web3-eth-iban/lib/esm/iban.js";
13
13
  import "../../../web3-validator/lib/esm/formats.js";
@@ -18,14 +18,17 @@ import "../../../web3-eth/lib/esm/web3_eth.js";
18
18
  import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
19
19
  import "../../../web3-eth/lib/esm/schemas.js";
20
20
  import "../../../web3-eth/lib/esm/constants.js";
21
- import { isSyncing as y } from "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
21
+ import { isSyncing as l } from "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
22
22
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
23
23
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
24
+ import "../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
25
+ import "../../../web3-eth/lib/esm/utils/try_send_transaction.js";
26
+ import "../../../web3-eth/lib/esm/utils/send_tx_helper.js";
24
27
  import "../../../web3-net/lib/esm/net.js";
25
- import { getId as w } from "../../../web3-net/lib/esm/rpc_method_wrappers.js";
26
- import { registryAddresses as f, networkIds as k } from "./config.js";
27
- import { Registry as E } from "./registry.js";
28
- import { Resolver as N } from "./resolver.js";
28
+ import { getId as y } from "../../../web3-net/lib/esm/rpc_method_wrappers.js";
29
+ import { registryAddresses as m, networkIds as w } from "./config.js";
30
+ import { Registry as k } from "./registry.js";
31
+ import { Resolver as x } from "./resolver.js";
29
32
  var r = function(h, t, e, i) {
30
33
  function s(n) {
31
34
  return n instanceof e ? n : new e(function(d) {
@@ -33,14 +36,14 @@ var r = function(h, t, e, i) {
33
36
  });
34
37
  }
35
38
  return new (e || (e = Promise))(function(n, d) {
36
- function m(o) {
39
+ function p(o) {
37
40
  try {
38
41
  u(i.next(o));
39
42
  } catch (c) {
40
43
  d(c);
41
44
  }
42
45
  }
43
- function p(o) {
46
+ function f(o) {
44
47
  try {
45
48
  u(i.throw(o));
46
49
  } catch (c) {
@@ -48,12 +51,12 @@ var r = function(h, t, e, i) {
48
51
  }
49
52
  }
50
53
  function u(o) {
51
- o.done ? n(o.value) : s(o.value).then(m, p);
54
+ o.done ? n(o.value) : s(o.value).then(p, f);
52
55
  }
53
56
  u((i = i.apply(h, t || [])).next());
54
57
  });
55
58
  };
56
- class Z extends v {
59
+ class tt extends v {
57
60
  /**
58
61
  * Use to create an instance of ENS
59
62
  * @param registryAddr - (Optional) The address of the ENS registry (default: mainnet registry address)
@@ -70,7 +73,7 @@ class Z extends v {
70
73
  * ```
71
74
  */
72
75
  constructor(t, e) {
73
- super(e ?? ""), this.registryAddress = t ?? f.main, this._registry = new E(this.getContextObject(), t), this._resolver = new N(this._registry);
76
+ super(e ?? ""), this.registryAddress = t ?? m.main, this._registry = new k(this.getContextObject(), t), this._resolver = new x(this._registry);
74
77
  }
75
78
  /**
76
79
  * Returns the Resolver by the given address
@@ -220,14 +223,14 @@ class Z extends v {
220
223
  return r(this, void 0, void 0, function* () {
221
224
  const t = Date.now() / 1e3;
222
225
  if (!this._lastSyncCheck || t - this._lastSyncCheck > 3600) {
223
- const s = yield y(this);
226
+ const s = yield l(this);
224
227
  if (!(typeof s == "boolean" && !s))
225
- throw new l();
228
+ throw new g();
226
229
  this._lastSyncCheck = t;
227
230
  }
228
231
  if (this._detectedAddress)
229
232
  return this._detectedAddress;
230
- const e = yield w(this, Object.assign(Object.assign({}, _), { number: g.HEX })), i = f[k[e]];
233
+ const e = yield y(this, Object.assign(Object.assign({}, this.defaultReturnFormat), { number: _.HEX })), i = m[w[e]];
231
234
  if (typeof i > "u")
232
235
  throw new a(e);
233
236
  return this._detectedAddress = i, this._detectedAddress;
@@ -273,5 +276,5 @@ class Z extends v {
273
276
  }
274
277
  }
275
278
  export {
276
- Z as ENS
279
+ tt as ENS
277
280
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-eth-contract/lib/esm/contract.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const w=require("./abi/ens/ENSRegistry.cjs"),v=require("./abi/ens/PublicResolver.cjs"),y=require("./config.cjs"),c=require("./utils.cjs");var u=function(a,e,r,n){function l(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function d(t){try{s(n.next(t))}catch(h){o(h)}}function f(t){try{s(n.throw(t))}catch(h){o(h)}}function s(t){t.done?i(t.value):l(t.value).then(d,f)}s((n=n.apply(a,e||[])).next())})};class m{constructor(e,r){this.contract=new q.Contract(w.ENSRegistryAbi,r??y.registryAddresses.main,e),this.context=e}getOwner(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.owner(c.namehash(e)).call()}catch{throw new Error}})}getTTL(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.ttl(c.namehash(e)).call()}catch{throw new Error}})}recordExists(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.recordExists(c.namehash(e)).call()}catch{throw new Error}})}getResolver(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.resolver(c.namehash(e)).call().then(r=>{if(typeof r=="string")return new q.Contract(v.PublicResolverAbi,r,this.context);throw new Error})}catch{throw new Error}})}get events(){return this.contract.events}}exports.Registry=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-eth-contract/lib/esm/contract.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../web3-eth/lib/esm/utils/send_tx_helper.cjs");const w=require("./abi/ens/ENSRegistry.cjs"),v=require("./abi/ens/PublicResolver.cjs"),y=require("./config.cjs"),c=require("./utils.cjs");var u=function(a,e,r,i){function l(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function d(t){try{s(i.next(t))}catch(h){o(h)}}function f(t){try{s(i.throw(t))}catch(h){o(h)}}function s(t){t.done?n(t.value):l(t.value).then(d,f)}s((i=i.apply(a,e||[])).next())})};class m{constructor(e,r){this.contract=new q.Contract(w.ENSRegistryAbi,r??y.registryAddresses.main,e),this.context=e}getOwner(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.owner(c.namehash(e)).call()}catch{throw new Error}})}getTTL(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.ttl(c.namehash(e)).call()}catch{throw new Error}})}recordExists(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.recordExists(c.namehash(e)).call()}catch{throw new Error}})}getResolver(e){return u(this,void 0,void 0,function*(){try{return this.contract.methods.resolver(c.namehash(e)).call().then(r=>{if(typeof r=="string")return new q.Contract(v.PublicResolverAbi,r,this.context);throw new Error})}catch{throw new Error}})}get events(){return this.contract.events}}exports.Registry=m;
@@ -21,6 +21,9 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
21
21
  import "../../../web3-eth-iban/lib/esm/iban.js";
22
22
  import "../../../web3-core/lib/esm/web3_promi_event.js";
23
23
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
24
+ import "../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
25
+ import "../../../web3-eth/lib/esm/utils/try_send_transaction.js";
26
+ import "../../../web3-eth/lib/esm/utils/send_tx_helper.js";
24
27
  import { ENSRegistryAbi as d } from "./abi/ens/ENSRegistry.js";
25
28
  import { PublicResolverAbi as w } from "./abi/ens/PublicResolver.js";
26
29
  import { registryAddresses as v } from "./config.js";
@@ -52,7 +55,7 @@ var m = function(h, r, t, i) {
52
55
  p((i = i.apply(h, r || [])).next());
53
56
  });
54
57
  };
55
- class Q {
58
+ class W {
56
59
  constructor(r, t) {
57
60
  this.contract = new a(d, t ?? v.main, r), this.context = r;
58
61
  }
@@ -101,5 +104,5 @@ class Q {
101
104
  }
102
105
  }
103
106
  export {
104
- Q as Registry
107
+ W as Registry
105
108
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const q=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const A=require("../../../web3-validator/lib/esm/validation/string.cjs"),u=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const T=require("../../../web3-eth/lib/esm/utils/format_transaction.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");const r=require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");var o=function(e,t,n,i){function v(d){return d instanceof n?d:new n(function(s){s(d)})}return new(n||(n=Promise))(function(d,s){function g(c){try{f(i.next(c))}catch(l){s(l)}}function m(c){try{f(i.throw(c))}catch(l){s(l)}}function f(c){c.done?d(c.value):v(c.value).then(g,m)}f((i=i.apply(e,t||[])).next())})};const _=e=>o(void 0,void 0,void 0,function*(){return(yield r.getAccounts(e)).map(a.toChecksumAddress)}),y=(e,t)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string"],[t]);const n=yield r.newAccount(e,t);return a.toChecksumAddress(n)}),w=(e,t,n,i)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address","string","uint"],[t,n,i]),r.unlockAccount(e,t,n,i)}),x=(e,t)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address"],[t]),r.lockAccount(e,t)}),R=(e,t,n)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["string","string"],[t,n]),r.importRawKey(e,t,n)}),k=(e,t,n)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(t,q.ETH_DATA_FORMAT);return r.sendTransaction(e,i,n)}),p=(e,t,n)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(t,q.ETH_DATA_FORMAT);return r.signTransaction(e,i,n)}),H=(e,t,n,i)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","address","string"],[t,n,i]);const v=A.isHexStrict(t)?t:a.utf8ToHex(t);return r.sign(e,v,n,i)}),S=(e,t,n)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","string"],[t,n]);const i=A.isHexStrict(t)?t:a.utf8ToHex(t);return r.ecRecover(e,i,n)});exports.ecRecover=S;exports.getAccounts=_;exports.importRawKey=R;exports.lockAccount=x;exports.newAccount=y;exports.sendTransaction=k;exports.sign=H;exports.signTransaction=p;exports.unlockAccount=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");const l=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-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const A=require("../../../web3-validator/lib/esm/validation/string.cjs"),u=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");const T=require("../../../web3-eth/lib/esm/utils/format_transaction.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../web3-eth/lib/esm/utils/send_tx_helper.cjs");require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");const n=require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs");var o=function(r,e,t,i){function v(d){return d instanceof t?d:new t(function(s){s(d)})}return new(t||(t=Promise))(function(d,s){function g(c){try{f(i.next(c))}catch(q){s(q)}}function m(c){try{f(i.throw(c))}catch(q){s(q)}}function f(c){c.done?d(c.value):v(c.value).then(g,m)}f((i=i.apply(r,e||[])).next())})};const _=r=>o(void 0,void 0,void 0,function*(){return(yield n.getAccounts(r)).map(a.toChecksumAddress)}),y=(r,e)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string"],[e]);const t=yield n.newAccount(r,e);return a.toChecksumAddress(t)}),w=(r,e,t,i)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address","string","uint"],[e,t,i]),n.unlockAccount(r,e,t,i)}),x=(r,e)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["address"],[e]),n.lockAccount(r,e)}),R=(r,e,t)=>o(void 0,void 0,void 0,function*(){return u.validator.validate(["string","string"],[e,t]),n.importRawKey(r,e,t)}),k=(r,e,t)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(e,l.ETH_DATA_FORMAT);return n.sendTransaction(r,i,t)}),p=(r,e,t)=>o(void 0,void 0,void 0,function*(){const i=T.formatTransaction(e,l.ETH_DATA_FORMAT);return n.signTransaction(r,i,t)}),H=(r,e,t,i)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","address","string"],[e,t,i]);const v=A.isHexStrict(e)?e:a.utf8ToHex(e);return n.sign(r,v,t,i)}),S=(r,e,t)=>o(void 0,void 0,void 0,function*(){u.validator.validate(["string","string"],[e,t]);const i=A.isHexStrict(e)?e:a.utf8ToHex(e);return n.ecRecover(r,i,t)});exports.ecRecover=S;exports.getAccounts=_;exports.importRawKey=R;exports.lockAccount=x;exports.newAccount=y;exports.sendTransaction=k;exports.sign=H;exports.signTransaction=p;exports.unlockAccount=w;
@@ -1,16 +1,16 @@
1
1
  import "../../../setimmediate/setImmediate.js";
2
2
  import "../../../web3-eth/lib/esm/web3_eth.js";
3
- import { ETH_DATA_FORMAT as a } from "../../../web3-types/lib/esm/data_format_types.js";
3
+ import { ETH_DATA_FORMAT as p } from "../../../web3-types/lib/esm/data_format_types.js";
4
4
  import "../../../web3-types/lib/esm/eth_types.js";
5
5
  import "../../../web3-types/lib/esm/web3_base_provider.js";
6
6
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
7
7
  import "../../../web3-validator/lib/esm/formats.js";
8
- import { isHexStrict as f } from "../../../web3-validator/lib/esm/validation/string.js";
8
+ import { isHexStrict as a } from "../../../web3-validator/lib/esm/validation/string.js";
9
9
  import { validator as e } from "../../../web3-validator/lib/esm/default_validator.js";
10
10
  import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
11
11
  import "../../../web3-eth/lib/esm/schemas.js";
12
12
  import "../../../web3-eth/lib/esm/constants.js";
13
- import { formatTransaction as p } from "../../../web3-eth/lib/esm/utils/format_transaction.js";
13
+ import { formatTransaction as f } from "../../../web3-eth/lib/esm/utils/format_transaction.js";
14
14
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
15
15
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
16
16
  import "../../../web3-core/lib/esm/web3_config.js";
@@ -22,72 +22,75 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
22
22
  import "../../../web3-eth-iban/lib/esm/iban.js";
23
23
  import "../../../web3-core/lib/esm/web3_promi_event.js";
24
24
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
25
+ import "../../../web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
26
+ import "../../../web3-eth/lib/esm/utils/try_send_transaction.js";
27
+ import "../../../web3-eth/lib/esm/utils/send_tx_helper.js";
25
28
  import "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
26
29
  import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
27
30
  import { getAccounts as w, newAccount as $, unlockAccount as x, lockAccount as y, importRawKey as R, sendTransaction as _, signTransaction as k, sign as h, ecRecover as H } from "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
28
31
  import { toChecksumAddress as l, utf8ToHex as A } from "../../../web3-utils/lib/esm/converters.js";
29
- var r = function(n, o, t, i) {
30
- function d(s) {
31
- return s instanceof t ? s : new t(function(u) {
32
- u(s);
32
+ var r = function(i, o, t, n) {
33
+ function u(m) {
34
+ return m instanceof t ? m : new t(function(s) {
35
+ s(m);
33
36
  });
34
37
  }
35
- return new (t || (t = Promise))(function(s, u) {
38
+ return new (t || (t = Promise))(function(m, s) {
36
39
  function T(c) {
37
40
  try {
38
- m(i.next(c));
41
+ d(n.next(c));
39
42
  } catch (v) {
40
- u(v);
43
+ s(v);
41
44
  }
42
45
  }
43
46
  function g(c) {
44
47
  try {
45
- m(i.throw(c));
48
+ d(n.throw(c));
46
49
  } catch (v) {
47
- u(v);
50
+ s(v);
48
51
  }
49
52
  }
50
- function m(c) {
51
- c.done ? s(c.value) : d(c.value).then(T, g);
53
+ function d(c) {
54
+ c.done ? m(c.value) : u(c.value).then(T, g);
52
55
  }
53
- m((i = i.apply(n, o || [])).next());
56
+ d((n = n.apply(i, o || [])).next());
54
57
  });
55
58
  };
56
- const no = (n) => r(void 0, void 0, void 0, function* () {
57
- return (yield w(n)).map(l);
58
- }), io = (n, o) => r(void 0, void 0, void 0, function* () {
59
+ const co = (i) => r(void 0, void 0, void 0, function* () {
60
+ return (yield w(i)).map(l);
61
+ }), eo = (i, o) => r(void 0, void 0, void 0, function* () {
59
62
  e.validate(["string"], [o]);
60
- const t = yield $(n, o);
63
+ const t = yield $(i, o);
61
64
  return l(t);
62
- }), ro = (n, o, t, i) => r(void 0, void 0, void 0, function* () {
63
- return e.validate(["address", "string", "uint"], [o, t, i]), x(n, o, t, i);
64
- }), co = (n, o) => r(void 0, void 0, void 0, function* () {
65
- return e.validate(["address"], [o]), y(n, o);
66
- }), eo = (n, o, t) => r(void 0, void 0, void 0, function* () {
67
- return e.validate(["string", "string"], [o, t]), R(n, o, t);
68
- }), so = (n, o, t) => r(void 0, void 0, void 0, function* () {
69
- const i = p(o, a);
70
- return _(n, i, t);
71
- }), uo = (n, o, t) => r(void 0, void 0, void 0, function* () {
72
- const i = p(o, a);
73
- return k(n, i, t);
74
- }), mo = (n, o, t, i) => r(void 0, void 0, void 0, function* () {
75
- e.validate(["string", "address", "string"], [o, t, i]);
76
- const d = f(o) ? o : A(o);
77
- return h(n, d, t, i);
78
- }), vo = (n, o, t) => r(void 0, void 0, void 0, function* () {
65
+ }), mo = (i, o, t, n) => r(void 0, void 0, void 0, function* () {
66
+ return e.validate(["address", "string", "uint"], [o, t, n]), x(i, o, t, n);
67
+ }), so = (i, o) => r(void 0, void 0, void 0, function* () {
68
+ return e.validate(["address"], [o]), y(i, o);
69
+ }), uo = (i, o, t) => r(void 0, void 0, void 0, function* () {
70
+ return e.validate(["string", "string"], [o, t]), R(i, o, t);
71
+ }), vo = (i, o, t) => r(void 0, void 0, void 0, function* () {
72
+ const n = f(o, p);
73
+ return _(i, n, t);
74
+ }), po = (i, o, t) => r(void 0, void 0, void 0, function* () {
75
+ const n = f(o, p);
76
+ return k(i, n, t);
77
+ }), ao = (i, o, t, n) => r(void 0, void 0, void 0, function* () {
78
+ e.validate(["string", "address", "string"], [o, t, n]);
79
+ const u = a(o) ? o : A(o);
80
+ return h(i, u, t, n);
81
+ }), fo = (i, o, t) => r(void 0, void 0, void 0, function* () {
79
82
  e.validate(["string", "string"], [o, t]);
80
- const i = f(o) ? o : A(o);
81
- return H(n, i, t);
83
+ const n = a(o) ? o : A(o);
84
+ return H(i, n, t);
82
85
  });
83
86
  export {
84
- vo as ecRecover,
85
- no as getAccounts,
86
- eo as importRawKey,
87
- co as lockAccount,
88
- io as newAccount,
89
- so as sendTransaction,
90
- mo as sign,
91
- uo as signTransaction,
92
- ro as unlockAccount
87
+ fo as ecRecover,
88
+ co as getAccounts,
89
+ uo as importRawKey,
90
+ so as lockAccount,
91
+ eo as newAccount,
92
+ vo as sendTransaction,
93
+ ao as sign,
94
+ po as signTransaction,
95
+ mo as unlockAccount
93
96
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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 p=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const q=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-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("./rpc_method_wrappers.cjs");var s=function(f,t,i,n){function a(r){return r instanceof i?r:new i(function(u){u(r)})}return new(i||(i=Promise))(function(r,u){function _(e){try{o(n.next(e))}catch(c){u(c)}}function h(e){try{o(n.throw(e))}catch(c){u(c)}}function o(e){e.done?r(e.value):a(e.value).then(_,h)}o((n=n.apply(f,t||[])).next())})};class v extends p.Web3Context{getId(t=q.DEFAULT_RETURN_FORMAT){return s(this,void 0,void 0,function*(){return d.getId(this,t)})}getPeerCount(t=q.DEFAULT_RETURN_FORMAT){return s(this,void 0,void 0,function*(){return d.getPeerCount(this,t)})}isListening(){return s(this,void 0,void 0,function*(){return d.isListening(this)})}}exports.Net=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});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 l=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");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("./rpc_method_wrappers.cjs");var s=function(f,t,i,n){function a(r){return r instanceof i?r:new i(function(u){u(r)})}return new(i||(i=Promise))(function(r,u){function q(e){try{o(n.next(e))}catch(c){u(c)}}function h(e){try{o(n.throw(e))}catch(c){u(c)}}function o(e){e.done?r(e.value):a(e.value).then(q,h)}o((n=n.apply(f,t||[])).next())})};class p extends l.Web3Context{getId(t=this.defaultReturnFormat){return s(this,void 0,void 0,function*(){return d.getId(this,t)})}getPeerCount(t=this.defaultReturnFormat){return s(this,void 0,void 0,function*(){return d.getPeerCount(this,t)})}isListening(){return s(this,void 0,void 0,function*(){return d.isListening(this)})}}exports.Net=p;
@@ -4,7 +4,7 @@ import "../../../web3-core/lib/esm/web3_subscription_manager.js";
4
4
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
5
5
  import { Web3Context as a } from "../../../web3-core/lib/esm/web3_context.js";
6
6
  import "../../../web3-core/lib/esm/web3_batch_request.js";
7
- import { DEFAULT_RETURN_FORMAT as d } from "../../../web3-types/lib/esm/data_format_types.js";
7
+ import "../../../web3-types/lib/esm/data_format_types.js";
8
8
  import "../../../web3-types/lib/esm/eth_types.js";
9
9
  import "../../../web3-types/lib/esm/web3_base_provider.js";
10
10
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
@@ -12,35 +12,35 @@ import "../../../web3-eth-iban/lib/esm/iban.js";
12
12
  import "../../../web3-validator/lib/esm/formats.js";
13
13
  import "../../../web3-validator/lib/esm/default_validator.js";
14
14
  import "../../../web3-core/lib/esm/web3_promi_event.js";
15
- import { getId as v, getPeerCount as _, isListening as w } from "./rpc_method_wrappers.js";
16
- var m = function(f, i, o, r) {
17
- function c(n) {
18
- return n instanceof o ? n : new o(function(e) {
19
- e(n);
15
+ import { getId as h, getPeerCount as v, isListening as l } from "./rpc_method_wrappers.js";
16
+ var p = function(d, i, o, e) {
17
+ function f(n) {
18
+ return n instanceof o ? n : new o(function(r) {
19
+ r(n);
20
20
  });
21
21
  }
22
- return new (o || (o = Promise))(function(n, e) {
23
- function s(t) {
22
+ return new (o || (o = Promise))(function(n, r) {
23
+ function c(t) {
24
24
  try {
25
- u(r.next(t));
26
- } catch (p) {
27
- e(p);
25
+ u(e.next(t));
26
+ } catch (m) {
27
+ r(m);
28
28
  }
29
29
  }
30
- function h(t) {
30
+ function s(t) {
31
31
  try {
32
- u(r.throw(t));
33
- } catch (p) {
34
- e(p);
32
+ u(e.throw(t));
33
+ } catch (m) {
34
+ r(m);
35
35
  }
36
36
  }
37
37
  function u(t) {
38
- t.done ? n(t.value) : c(t.value).then(s, h);
38
+ t.done ? n(t.value) : f(t.value).then(c, s);
39
39
  }
40
- u((r = r.apply(f, i || [])).next());
40
+ u((e = e.apply(d, i || [])).next());
41
41
  });
42
42
  };
43
- class D extends a {
43
+ class q extends a {
44
44
  /**
45
45
  * Gets the current network ID
46
46
  *
@@ -53,9 +53,9 @@ class D extends a {
53
53
  * > 1
54
54
  * ```
55
55
  */
56
- getId(i = d) {
57
- return m(this, void 0, void 0, function* () {
58
- return v(this, i);
56
+ getId(i = this.defaultReturnFormat) {
57
+ return p(this, void 0, void 0, function* () {
58
+ return h(this, i);
59
59
  });
60
60
  }
61
61
  /**
@@ -70,9 +70,9 @@ class D extends a {
70
70
  * > 0
71
71
  * ```
72
72
  */
73
- getPeerCount(i = d) {
74
- return m(this, void 0, void 0, function* () {
75
- return _(this, i);
73
+ getPeerCount(i = this.defaultReturnFormat) {
74
+ return p(this, void 0, void 0, function* () {
75
+ return v(this, i);
76
76
  });
77
77
  }
78
78
  /**
@@ -87,11 +87,11 @@ class D extends a {
87
87
  * ```
88
88
  */
89
89
  isListening() {
90
- return m(this, void 0, void 0, function* () {
91
- return w(this);
90
+ return p(this, void 0, void 0, function* () {
91
+ return l(this);
92
92
  });
93
93
  }
94
94
  }
95
95
  export {
96
- D as Net
96
+ q as Net
97
97
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../ethereum-cryptography/esm/keccak.cjs"),S=require("../../../ethereum-cryptography/esm/utils.cjs"),c=require("../../../web3-errors/lib/esm/errors/utils_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const d=require("../../../web3-validator/lib/esm/utils.cjs"),f=require("../../../web3-validator/lib/esm/default_validator.cjs"),p=require("../../../web3-validator/lib/esm/validation/address.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const m=require("../../../web3-validator/lib/esm/validation/numbers.cjs"),s=require("../../../web3-validator/lib/esm/validation/string.cjs"),E=require("../../../web3-validator/lib/esm/validation/object.cjs"),H=require("./uint8array.cjs"),$=require("../../../@noble/hashes/esm/utils.cjs"),w={noether:BigInt(0),wei:BigInt(1),kwei:BigInt(1e3),Kwei:BigInt(1e3),babbage:BigInt(1e3),femtoether:BigInt(1e3),mwei:BigInt(1e6),Mwei:BigInt(1e6),lovelace:BigInt(1e6),picoether:BigInt(1e6),gwei:BigInt(1e9),Gwei:BigInt(1e9),shannon:BigInt(1e9),nanoether:BigInt(1e9),nano:BigInt(1e9),szabo:BigInt(1e12),microether:BigInt(1e12),micro:BigInt(1e12),finney:BigInt(1e15),milliether:BigInt(1e15),milli:BigInt(1e15),ether:BigInt("1000000000000000000"),kether:BigInt("1000000000000000000000"),grand:BigInt("1000000000000000000000"),mether:BigInt("1000000000000000000000000"),gether:BigInt("1000000000000000000000000000"),tether:BigInt("1000000000000000000000000000000")},B=t=>{if(f.validator.validate(["bytes"],[t]),H.isUint8Array(t))return t;if(Array.isArray(t))return new Uint8Array(t);if(typeof t=="string")return d.hexToUint8Array(t);throw new c.InvalidBytesError(t)},{uint8ArrayToHexString:C}=d,T=t=>C(B(t)),u=t=>typeof t=="string"&&t.slice(0,2).toLowerCase()!=="0x"?B(`0x${t}`):B(t),y=t=>(f.validator.validate(["hex"],[t]),d.hexToNumber(t)),W=y,h=(t,r)=>{typeof t!="bigint"&&f.validator.validate(["int"],[t]);let i=d.numberToHex(t);return r&&(!i.startsWith("-")&&i.length%2===1?i="0x0".concat(i.slice(2)):i.length%2===0&&i.startsWith("-")&&(i="-0x0".concat(i.slice(3)))),i},k=h,D=t=>y(t).toString(),I=t=>{f.validator.validate(["string"],[t]);let r=t.replace(/^(?:\u0000)/,"");return r=r.replace(/(?:\u0000)$/,""),T(new TextEncoder().encode(r))},M=I,_=I,A=t=>S.bytesToUtf8(u(t)),O=t=>typeof t=="string"?A(t):(f.validator.validate(["bytes"],[t]),S.bytesToUtf8(t)),U=$.utf8ToBytes,j=A,N=t=>{f.validator.validate(["string"],[t]);let r="";for(let i=0;i<t.length;i+=1){const n=t.charCodeAt(i).toString(16);r+=n.length%2!==0?`0${n}`:n}return`0x${r}`},F=N,q=t=>new TextDecoder("ascii").decode(u(t)),G=q,L=(t,r)=>{if(typeof t=="string"&&p.isAddress(t))return r?"address":`0x${t.toLowerCase().replace(/^0x/i,"")}`;if(typeof t=="boolean")return r?"bool":t?"0x01":"0x00";if(typeof t=="number")return r?t<0?"int256":"uint256":h(t);if(typeof t=="bigint")return r?"bigint":h(t);if(H.isUint8Array(t))return r?"bytes":T(t);if(typeof t=="object"&&t)return r?"string":I(JSON.stringify(t));if(typeof t=="string"){if(t.startsWith("-0x")||t.startsWith("-0X"))return r?"int256":h(t);if(s.isHexStrict(t))return r?"bytes":t;if(s.isHex(t)&&!m.isInt(t)&&!m.isUInt(t))return r?"bytes":`0x${t}`;if(s.isHex(t)&&!m.isInt(t)&&m.isUInt(t))return r?"uint":h(t);if(!Number.isFinite(t))return r?"string":I(t)}throw new c.HexProcessingError(t)},b=t=>{if(typeof t=="number")return t>1e20?BigInt(t):t;if(typeof t=="bigint")return t>=Number.MIN_SAFE_INTEGER&&t<=Number.MAX_SAFE_INTEGER?Number(t):t;if(typeof t=="string"&&s.isHexStrict(t))return y(t);try{return b(BigInt(t))}catch{throw new c.InvalidNumberError(t)}},P=t=>{if(typeof t=="number")return BigInt(t);if(typeof t=="bigint")return t;if(typeof t=="string"&&s.isHex(t))return t.startsWith("-")?-BigInt(t.substring(1)):BigInt(t);throw new c.InvalidNumberError(t)},V=(t,r)=>{const i=w[r];if(!i)throw new c.InvalidUnitError(r);const n=String(b(t)),e=i.toString().length-1;if(e<=0)return n.toString();const o=n.padStart(e,"0"),g=o.slice(0,-e),x=o.slice(-e).replace(/\.?0+$/,"");return g===""?`0.${x}`:x===""?g:`${g}.${x}`},z=(t,r)=>{f.validator.validate(["number"],[t]);const i=w[r];if(!i)throw new c.InvalidUnitError(r);const[n,e]=String(typeof t=="string"&&!s.isHexStrict(t)?t:b(t)).split(".").concat(""),g=BigInt(`${n}${e}`)*i,x=i.toString().length-1,a=Math.min(e.length,x);return a===0?g.toString():g.toString().padStart(a,"0").slice(0,-a)},R=t=>{if(!p.isAddress(t,!1))throw new c.InvalidAddressError(t);const r=t.toLowerCase().replace(/^0x/i,""),i=d.uint8ArrayToHexString(l.keccak256(d.ensureIfUint8Array(U(r))));if(E.isNullish(i)||i==="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")return"";let n="0x";const e=i.replace(/^0x/i,"");for(let o=0;o<r.length;o+=1)parseInt(e[o],16)>7?n+=r[o].toUpperCase():n+=r[o];return n},X=t=>{if(typeof t=="boolean")return t;if(typeof t=="number"&&(t===0||t===1)||typeof t=="bigint"&&(t===BigInt(0)||t===BigInt(1)))return!!t;if(typeof t=="string"&&!s.isHexStrict(t)&&(t==="1"||t==="0"||t==="false"||t==="true"))return t==="true"?!0:t==="false"?!1:!!Number(t);if(typeof t=="string"&&s.isHexStrict(t)&&(t==="0x1"||t==="0x0"))return!!b(t);throw new c.InvalidBooleanError(t)};exports.asciiToHex=N;exports.bytesToHex=T;exports.bytesToUint8Array=B;exports.ethUnitMap=w;exports.fromAscii=F;exports.fromDecimal=k;exports.fromUtf8=M;exports.fromWei=V;exports.hexToAscii=q;exports.hexToBytes=u;exports.hexToNumber=y;exports.hexToNumberString=D;exports.hexToString=j;exports.hexToUtf8=A;exports.numberToHex=h;exports.stringToHex=_;exports.toAscii=G;exports.toBigInt=P;exports.toBool=X;exports.toChecksumAddress=R;exports.toDecimal=W;exports.toHex=L;exports.toNumber=b;exports.toUtf8=O;exports.toWei=z;exports.utf8ToBytes=U;exports.utf8ToHex=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../ethereum-cryptography/esm/keccak.cjs"),A=require("../../../ethereum-cryptography/esm/utils.cjs"),o=require("../../../web3-errors/lib/esm/errors/utils_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const I=require("../../../web3-validator/lib/esm/utils.cjs"),f=require("../../../web3-validator/lib/esm/default_validator.cjs"),S=require("../../../web3-validator/lib/esm/validation/address.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const d=require("../../../web3-validator/lib/esm/validation/numbers.cjs"),c=require("../../../web3-validator/lib/esm/validation/string.cjs"),W=require("../../../web3-validator/lib/esm/validation/object.cjs"),H=require("./uint8array.cjs"),$=require("../../../@noble/hashes/esm/utils.cjs"),l={noether:BigInt(0),wei:BigInt(1),kwei:BigInt(1e3),Kwei:BigInt(1e3),babbage:BigInt(1e3),femtoether:BigInt(1e3),mwei:BigInt(1e6),Mwei:BigInt(1e6),lovelace:BigInt(1e6),picoether:BigInt(1e6),gwei:BigInt(1e9),Gwei:BigInt(1e9),shannon:BigInt(1e9),nanoether:BigInt(1e9),nano:BigInt(1e9),szabo:BigInt(1e12),microether:BigInt(1e12),micro:BigInt(1e12),finney:BigInt(1e15),milliether:BigInt(1e15),milli:BigInt(1e15),ether:BigInt("1000000000000000000"),kether:BigInt("1000000000000000000000"),grand:BigInt("1000000000000000000000"),mether:BigInt("1000000000000000000000000"),gether:BigInt("1000000000000000000000000000"),tether:BigInt("1000000000000000000000000000000")},w="Warning: Using type `number` with values that are large or contain many decimals may cause loss of precision, it is recommended to use type `string` or `BigInt` when using conversion methods",b=t=>{if(f.validator.validate(["bytes"],[t]),H.isUint8Array(t))return t;if(Array.isArray(t))return new Uint8Array(t);if(typeof t=="string")return I.hexToUint8Array(t);throw new o.InvalidBytesError(t)},{uint8ArrayToHexString:C}=I,u=t=>C(b(t)),p=t=>typeof t=="string"&&t.slice(0,2).toLowerCase()!=="0x"?b(`0x${t}`):b(t),B=t=>(f.validator.validate(["hex"],[t]),I.hexToNumber(t)),k=B,h=(t,r)=>{typeof t!="bigint"&&f.validator.validate(["int"],[t]);let e=I.numberToHex(t);return r&&(!e.startsWith("-")&&e.length%2===1?e="0x0".concat(e.slice(2)):e.length%2===0&&e.startsWith("-")&&(e="-0x0".concat(e.slice(3)))),e},D=h,_=t=>B(t).toString(),a=t=>{f.validator.validate(["string"],[t]);let r=t.replace(/^(?:\u0000)/,"");return r=r.replace(/(?:\u0000)$/,""),u(new TextEncoder().encode(r))},M=a,P=a,T=t=>A.bytesToUtf8(p(t)),L=t=>typeof t=="string"?T(t):(f.validator.validate(["bytes"],[t]),A.bytesToUtf8(t)),N=$.utf8ToBytes,V=T,U=t=>{f.validator.validate(["string"],[t]);let r="";for(let e=0;e<t.length;e+=1){const i=t.charCodeAt(e).toString(16);r+=i.length%2!==0?`0${i}`:i}return`0x${r}`},F=U,E=t=>new TextDecoder("ascii").decode(p(t)),G=E,j=(t,r)=>{if(typeof t=="string"&&S.isAddress(t))return r?"address":`0x${t.toLowerCase().replace(/^0x/i,"")}`;if(typeof t=="boolean")return r?"bool":t?"0x01":"0x00";if(typeof t=="number")return r?t<0?"int256":"uint256":h(t);if(typeof t=="bigint")return r?"bigint":h(t);if(H.isUint8Array(t))return r?"bytes":u(t);if(typeof t=="object"&&t)return r?"string":a(JSON.stringify(t));if(typeof t=="string"){if(t.startsWith("-0x")||t.startsWith("-0X"))return r?"int256":h(t);if(c.isHexStrict(t))return r?"bytes":t;if(c.isHex(t)&&!d.isInt(t)&&!d.isUInt(t))return r?"bytes":`0x${t}`;if(c.isHex(t)&&!d.isInt(t)&&d.isUInt(t))return r?"uint":h(t);if(!Number.isFinite(t))return r?"string":a(t)}throw new o.HexProcessingError(t)},x=t=>{if(typeof t=="number")return t>1e20?(console.warn(w),BigInt(t)):t;if(typeof t=="bigint")return t>=Number.MIN_SAFE_INTEGER&&t<=Number.MAX_SAFE_INTEGER?Number(t):t;if(typeof t=="string"&&c.isHexStrict(t))return B(t);try{return x(BigInt(t))}catch{throw new o.InvalidNumberError(t)}},O=t=>{if(typeof t=="number")return BigInt(t);if(typeof t=="bigint")return t;if(typeof t=="string"&&c.isHex(t))return t.startsWith("-")?-BigInt(t.substring(1)):BigInt(t);throw new o.InvalidNumberError(t)},z=(t,r)=>{let e;if(typeof r=="string"){if(e=l[r],!e)throw new o.InvalidUnitError(r)}else{if(r<0||!Number.isInteger(r))throw new o.InvalidIntegerError(r);e=d.bigintPower(BigInt(10),BigInt(r))}const i=String(x(t)),s=e.toString().length-1;if(s<=0)return i.toString();const n=i.padStart(s,"0"),m=n.slice(0,-s),g=n.slice(-s).replace(/\.?0+$/,"");return m===""?`0.${g}`:g===""?m:`${m}.${g}`.slice(0,m.length+s+1)},R=(t,r)=>{f.validator.validate(["number"],[t]);let e;if(typeof r=="string"){if(e=l[r],!e)throw new o.InvalidUnitError(r)}else{if(r<0||!Number.isInteger(r))throw new o.InvalidIntegerError(r);e=d.bigintPower(BigInt(10),BigInt(r))}let i=t;typeof i=="number"&&(i<1e-15&&console.warn(w),i>1e20?(console.warn(w),i=BigInt(i)):i=i.toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}));const[s,n]=String(typeof i=="string"&&!c.isHexStrict(i)?i:x(i)).split(".").concat(""),g=BigInt(`${s}${n}`)*e,y=n.length;return y===0?g.toString():g.toString().slice(0,-y)},X=t=>{if(!S.isAddress(t,!1))throw new o.InvalidAddressError(t);const r=t.toLowerCase().replace(/^0x/i,""),e=I.uint8ArrayToHexString(q.keccak256(I.ensureIfUint8Array(N(r))));if(W.isNullish(e)||e==="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")return"";let i="0x";const s=e.replace(/^0x/i,"");for(let n=0;n<r.length;n+=1)parseInt(s[n],16)>7?i+=r[n].toUpperCase():i+=r[n];return i},J=t=>{if(typeof t=="boolean")return t;if(typeof t=="number"&&(t===0||t===1)||typeof t=="bigint"&&(t===BigInt(0)||t===BigInt(1)))return!!t;if(typeof t=="string"&&!c.isHexStrict(t)&&(t==="1"||t==="0"||t==="false"||t==="true"))return t==="true"?!0:t==="false"?!1:!!Number(t);if(typeof t=="string"&&c.isHexStrict(t)&&(t==="0x1"||t==="0x0"))return!!x(t);throw new o.InvalidBooleanError(t)};exports.asciiToHex=U;exports.bytesToHex=u;exports.bytesToUint8Array=b;exports.ethUnitMap=l;exports.fromAscii=F;exports.fromDecimal=D;exports.fromUtf8=M;exports.fromWei=z;exports.hexToAscii=E;exports.hexToBytes=p;exports.hexToNumber=B;exports.hexToNumberString=_;exports.hexToString=V;exports.hexToUtf8=T;exports.numberToHex=h;exports.stringToHex=P;exports.toAscii=G;exports.toBigInt=O;exports.toBool=J;exports.toChecksumAddress=X;exports.toDecimal=k;exports.toHex=j;exports.toNumber=x;exports.toUtf8=L;exports.toWei=R;exports.utf8ToBytes=N;exports.utf8ToHex=a;