@ozdao/prometheus-framework 0.2.47 → 0.2.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/dist/auth.server.js +27 -25
  2. package/dist/auth.server.mjs +27 -25
  3. package/dist/community.server.js +1 -1
  4. package/dist/community.server.mjs +1 -1
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/files.server.js +1 -1
  8. package/dist/files.server.mjs +1 -1
  9. package/dist/gallery.server.js +1 -1
  10. package/dist/gallery.server.mjs +1 -1
  11. package/dist/index-3981e903.mjs +217 -0
  12. package/dist/index-4eecfdb9.js +216 -0
  13. package/dist/main-203b36b6.mjs +13628 -0
  14. package/dist/main-610fd21a.mjs +13628 -0
  15. package/dist/main-669fac33.js +91 -0
  16. package/dist/main-_b1_i8mt.mjs +13606 -0
  17. package/dist/main-a7ae4ce5.js +91 -0
  18. package/dist/main-uiQFxEks.js +91 -0
  19. package/dist/main.css +1 -1
  20. package/dist/middlewares.server.js +1 -1
  21. package/dist/middlewares.server.mjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  23. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  24. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  25. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  26. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  27. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  35. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  36. package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
  37. package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
  38. package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
  39. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  40. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
  41. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  42. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  43. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  44. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  45. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  46. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  47. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  48. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  49. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  50. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  51. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  52. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  54. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  55. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  56. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  57. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  58. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  59. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  60. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  61. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  62. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  63. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  64. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  65. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  67. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  68. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  69. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  70. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  71. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  72. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  73. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  74. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  79. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  80. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  81. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  82. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  83. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  84. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  85. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  86. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  87. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  88. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  89. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  90. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  91. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  92. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  93. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  94. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  95. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  96. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  97. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  98. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  99. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  100. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  101. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  102. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  103. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  104. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  105. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  106. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  107. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  108. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  109. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  110. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  111. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  112. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  113. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  115. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  117. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  119. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  120. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  121. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  122. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  123. package/dist/organizations.server.js +13 -27
  124. package/dist/organizations.server.mjs +13 -27
  125. package/dist/products.server.js +95 -15
  126. package/dist/products.server.mjs +95 -15
  127. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
  129. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue.js +4 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +4 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
  137. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
  139. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
  141. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Field/Field.vue.js +4 -1
  143. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
  161. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
  163. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
  165. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  167. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
  169. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  171. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  173. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
  177. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
  179. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
  181. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
  183. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  185. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
  187. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  191. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +42 -30
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
  205. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/store/auth.js +47 -46
  207. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
  209. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  211. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  215. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
  219. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  221. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
  225. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
  227. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  229. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
  233. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  236. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  237. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  238. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  239. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
  243. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  245. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
  247. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
  249. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  251. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
  255. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
  257. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  259. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
  265. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
  269. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  271. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
  273. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
  275. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  277. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
  279. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  281. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  283. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  285. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  291. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  293. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +17 -17
  295. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
  297. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +50 -43
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +47 -15
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +38 -37
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +249 -61
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +78 -45
  319. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +161 -86
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +19 -25
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
  339. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
  343. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
  345. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +35 -31
  347. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  349. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
  351. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  353. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
  355. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
  357. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +17 -17
  359. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +50 -47
  361. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
  373. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
  375. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
  377. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +33 -28
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +123 -113
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
  391. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
  393. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
  397. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
  399. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +2 -2
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  417. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
  419. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  425. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  427. package/dist/prometheus-framework.cjs.js +1 -1
  428. package/dist/prometheus-framework.es.js +1 -1
  429. package/dist/reports.server.js +1 -1
  430. package/dist/reports.server.mjs +1 -1
  431. package/dist/style.css +1 -1
  432. package/dist/web-0410cac1.js +1 -0
  433. package/dist/web-7p76PGnO.mjs +55 -0
  434. package/dist/web-c1619455.mjs +55 -0
  435. package/dist/web-c63f0ecc.js +1 -0
  436. package/dist/web-d8173758.mjs +55 -0
  437. package/dist/web-dn8vgptQ.js +1 -0
  438. package/package.json +1 -1
  439. package/src/components/SelectMulti/SelectMulti.vue +1 -1
  440. package/src/modules/auth/components/pages/Invite.vue +17 -6
  441. package/src/modules/auth/controllers/auth.controller.js +24 -16
  442. package/src/modules/auth/controllers/invites.controller.js +17 -8
  443. package/src/modules/auth/store/auth.js +8 -1
  444. package/src/modules/auth/store/invites.js +1 -0
  445. package/src/modules/globals/store/globals.js +5 -1
  446. package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
  447. package/src/modules/landing/components/pages/404.vue +3 -0
  448. package/src/modules/landing/components/pages/Governance.vue +155 -0
  449. package/src/modules/landing/components/pages/Home.vue +52 -0
  450. package/src/modules/landing/components/pages/Hotel.vue +54 -0
  451. package/src/modules/landing/components/pages/Page.vue +184 -0
  452. package/src/modules/landing/components/sections/AboutSection.vue +69 -0
  453. package/src/modules/landing/components/sections/Examples.vue +90 -0
  454. package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
  455. package/src/modules/landing/components/sections/GiftSection.vue +63 -0
  456. package/src/modules/landing/components/sections/HeroSection.vue +74 -0
  457. package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
  458. package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
  459. package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
  460. package/src/modules/landing/components/sections/MapSection.vue +91 -0
  461. package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
  462. package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
  463. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
  464. package/src/modules/landing/router/landing.js +34 -0
  465. package/src/modules/middlewares/server/verifySignUp.js +4 -0
  466. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  467. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
  468. package/src/modules/organizations/components/blocks/User.vue +42 -10
  469. package/src/modules/organizations/components/pages/Department.vue +7 -6
  470. package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
  471. package/src/modules/organizations/components/pages/Members.vue +85 -26
  472. package/src/modules/organizations/components/pages/Organization.vue +60 -4
  473. package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
  474. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  475. package/src/modules/organizations/controllers/memberships.controller.js +6 -2
  476. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  477. package/src/modules/organizations/models/department.model.js +0 -19
  478. package/src/modules/organizations/models/membership.model.js +4 -0
  479. package/src/modules/organizations/organizations.client.js +1 -6
  480. package/src/modules/organizations/store/departments.js +48 -44
  481. package/src/modules/organizations/store/memberships.js +11 -3
  482. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  483. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  484. package/src/modules/products/components/pages/Product.vue +6 -1
  485. package/src/modules/products/components/pages/ProductEdit.vue +48 -28
  486. package/src/modules/products/controllers/products.controller.js +87 -24
  487. package/src/modules/products/models/product.model.js +16 -1
  488. package/src/modules/products/store/products.js +1 -1
  489. package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
  490. package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
  491. package/src/modules/organizations/components/sections/MembersList.vue +0 -85
  492. package/src/modules/organizations/store/invites.js +0 -93
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");const d=require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const a=require("../../../web3-utils/lib/esm/formatter.cjs");var f=function(t,i,e,o){function g(r){return r instanceof e?r:new e(function(u){u(r)})}return new(e||(e=Promise))(function(r,u){function v(n){try{c(o.next(n))}catch(s){u(s)}}function m(n){try{c(o.throw(n))}catch(s){u(s)}}function c(n){n.done?r(n.value):g(n.value).then(v,m)}c((o=o.apply(t,i||[])).next())})};function p(t,i){return f(this,void 0,void 0,function*(){const e=yield d.getId(t.requestManager);return a.format({format:"uint"},e,i)})}function h(t,i){return f(this,void 0,void 0,function*(){const e=yield d.getPeerCount(t.requestManager);return a.format({format:"uint"},e,i)})}const l=t=>f(void 0,void 0,void 0,function*(){return d.isListening(t.requestManager)});exports.getId=p;exports.getPeerCount=h;exports.isListening=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");const a=require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const d=require("../../../web3-utils/lib/esm/formatter.cjs");var f=globalThis&&globalThis.__awaiter||function(e,i,t,r){function g(o){return o instanceof t?o:new t(function(u){u(o)})}return new(t||(t=Promise))(function(o,u){function l(n){try{s(r.next(n))}catch(c){u(c)}}function h(n){try{s(r.throw(n))}catch(c){u(c)}}function s(n){n.done?o(n.value):g(n.value).then(l,h)}s((r=r.apply(e,i||[])).next())})};function v(e,i){return f(this,void 0,void 0,function*(){const t=yield a.getId(e.requestManager);return d.format({format:"uint"},t,i)})}function m(e,i){return f(this,void 0,void 0,function*(){const t=yield a.getPeerCount(e.requestManager);return d.format({format:"uint"},t,i)})}const p=e=>f(void 0,void 0,void 0,function*(){return a.isListening(e.requestManager)});exports.getId=v;exports.getPeerCount=m;exports.isListening=p;
@@ -1,48 +1,48 @@
1
1
  import "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
2
- import { getId as g, getPeerCount as v, isListening as h } from "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
2
+ import { getId as m, getPeerCount as h, isListening as l } from "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
3
3
  import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
4
- import { format as d } from "../../../web3-utils/lib/esm/formatter.js";
5
- var c = function(t, i, n, r) {
6
- function a(o) {
7
- return o instanceof n ? o : new n(function(u) {
4
+ import { format as f } from "../../../web3-utils/lib/esm/formatter.js";
5
+ var c = globalThis && globalThis.__awaiter || function(n, i, t, r) {
6
+ function d(o) {
7
+ return o instanceof t ? o : new t(function(u) {
8
8
  u(o);
9
9
  });
10
10
  }
11
- return new (n || (n = Promise))(function(o, u) {
12
- function p(e) {
11
+ return new (t || (t = Promise))(function(o, u) {
12
+ function g(e) {
13
13
  try {
14
- f(r.next(e));
15
- } catch (s) {
16
- u(s);
14
+ s(r.next(e));
15
+ } catch (a) {
16
+ u(a);
17
17
  }
18
18
  }
19
- function m(e) {
19
+ function p(e) {
20
20
  try {
21
- f(r.throw(e));
22
- } catch (s) {
23
- u(s);
21
+ s(r.throw(e));
22
+ } catch (a) {
23
+ u(a);
24
24
  }
25
25
  }
26
- function f(e) {
27
- e.done ? o(e.value) : a(e.value).then(p, m);
26
+ function s(e) {
27
+ e.done ? o(e.value) : d(e.value).then(g, p);
28
28
  }
29
- f((r = r.apply(t, i || [])).next());
29
+ s((r = r.apply(n, i || [])).next());
30
30
  });
31
31
  };
32
- function q(t, i) {
32
+ function q(n, i) {
33
33
  return c(this, void 0, void 0, function* () {
34
- const n = yield g(t.requestManager);
35
- return d({ format: "uint" }, n, i);
34
+ const t = yield m(n.requestManager);
35
+ return f({ format: "uint" }, t, i);
36
36
  });
37
37
  }
38
- function x(t, i) {
38
+ function x(n, i) {
39
39
  return c(this, void 0, void 0, function* () {
40
- const n = yield v(t.requestManager);
41
- return d({ format: "uint" }, n, i);
40
+ const t = yield h(n.requestManager);
41
+ return f({ format: "uint" }, t, i);
42
42
  });
43
43
  }
44
- const C = (t) => c(void 0, void 0, void 0, function* () {
45
- return h(t.requestManager);
44
+ const C = (n) => c(void 0, void 0, void 0, function* () {
45
+ return l(n.requestManager);
46
46
  });
47
47
  export {
48
48
  q as getId,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const w=require("../../../cross-fetch/dist/browser-ponyfill.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const m=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),r=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),f=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),v=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");var b=function(p,e,o,n){function s(t){return t instanceof o?t:new o(function(d){d(t)})}return new(o||(o=Promise))(function(t,d){function a(i){try{u(n.next(i))}catch(l){d(l)}}function h(i){try{u(n.throw(i))}catch(l){d(l)}}function u(i){i.done?t(i.value):s(i.value).then(a,h)}u((n=n.apply(p,e||[])).next())})};class c extends m.Web3BaseProvider{constructor(e,o){if(super(),!c.validateClientUrl(e))throw new f.InvalidClientError(e);this.clientUrl=e,this.httpProviderOptions=o}static validateClientUrl(e){return typeof e=="string"?/^http(s)?:\/\//i.test(e):!1}getStatus(){throw new r.MethodNotImplementedError}supportsSubscriptions(){return!1}request(e,o){var n;return b(this,void 0,void 0,function*(){const s=Object.assign(Object.assign({},(n=this.httpProviderOptions)===null||n===void 0?void 0:n.providerOptions),o),t=yield w.default(this.clientUrl,Object.assign(Object.assign({},s),{method:"POST",headers:Object.assign(Object.assign({},s.headers),{"Content-Type":"application/json"}),body:JSON.stringify(e)}));if(!t.ok)throw new v.ResponseError(yield t.json());return yield t.json()})}on(){throw new r.MethodNotImplementedError}removeListener(){throw new r.MethodNotImplementedError}once(){throw new r.MethodNotImplementedError}removeAllListeners(){throw new r.MethodNotImplementedError}connect(){throw new r.MethodNotImplementedError}disconnect(){throw new r.MethodNotImplementedError}reset(){throw new r.MethodNotImplementedError}reconnect(){throw new r.MethodNotImplementedError}}exports.HttpProvider=c;exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const w=require("../../../cross-fetch/dist/browser-ponyfill.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const m=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),r=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),f=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),v=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");var b=globalThis&&globalThis.__awaiter||function(h,e,o,n){function s(t){return t instanceof o?t:new o(function(d){d(t)})}return new(o||(o=Promise))(function(t,d){function p(i){try{l(n.next(i))}catch(a){d(a)}}function u(i){try{l(n.throw(i))}catch(a){d(a)}}function l(i){i.done?t(i.value):s(i.value).then(p,u)}l((n=n.apply(h,e||[])).next())})};class c extends m.Web3BaseProvider{constructor(e,o){if(super(),!c.validateClientUrl(e))throw new f.InvalidClientError(e);this.clientUrl=e,this.httpProviderOptions=o}static validateClientUrl(e){return typeof e=="string"?/^http(s)?:\/\//i.test(e):!1}getStatus(){throw new r.MethodNotImplementedError}supportsSubscriptions(){return!1}request(e,o){var n;return b(this,void 0,void 0,function*(){const s=Object.assign(Object.assign({},(n=this.httpProviderOptions)===null||n===void 0?void 0:n.providerOptions),o),t=yield w.default(this.clientUrl,Object.assign(Object.assign({},s),{method:"POST",headers:Object.assign(Object.assign({},s.headers),{"Content-Type":"application/json"}),body:JSON.stringify(e)}));if(!t.ok)throw new v.ResponseError(yield t.json());return yield t.json()})}on(){throw new r.MethodNotImplementedError}removeListener(){throw new r.MethodNotImplementedError}once(){throw new r.MethodNotImplementedError}removeAllListeners(){throw new r.MethodNotImplementedError}connect(){throw new r.MethodNotImplementedError}disconnect(){throw new r.MethodNotImplementedError}reset(){throw new r.MethodNotImplementedError}reconnect(){throw new r.MethodNotImplementedError}}exports.HttpProvider=c;exports.default=c;
@@ -1,59 +1,59 @@
1
- import u from "../../../cross-fetch/dist/browser-ponyfill.js";
1
+ import f from "../../../cross-fetch/dist/browser-ponyfill.js";
2
2
  import "../../../web3-types/lib/esm/data_format_types.js";
3
3
  import "../../../web3-types/lib/esm/eth_types.js";
4
- import { Web3BaseProvider as l } from "../../../web3-types/lib/esm/web3_base_provider.js";
5
- import { MethodNotImplementedError as n } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
4
+ import { Web3BaseProvider as u } from "../../../web3-types/lib/esm/web3_base_provider.js";
5
+ import { MethodNotImplementedError as o } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
6
6
  import { InvalidClientError as m } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
7
7
  import { ResponseError as v } from "../../../web3-errors/lib/esm/errors/response_errors.js";
8
8
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
9
- var O = function(h, t, o, r) {
9
+ var b = globalThis && globalThis.__awaiter || function(d, t, n, r) {
10
10
  function s(e) {
11
- return e instanceof o ? e : new o(function(c) {
12
- c(e);
11
+ return e instanceof n ? e : new n(function(a) {
12
+ a(e);
13
13
  });
14
14
  }
15
- return new (o || (o = Promise))(function(e, c) {
15
+ return new (n || (n = Promise))(function(e, a) {
16
16
  function w(i) {
17
17
  try {
18
- d(r.next(i));
18
+ c(r.next(i));
19
19
  } catch (p) {
20
- c(p);
20
+ a(p);
21
21
  }
22
22
  }
23
- function f(i) {
23
+ function l(i) {
24
24
  try {
25
- d(r.throw(i));
25
+ c(r.throw(i));
26
26
  } catch (p) {
27
- c(p);
27
+ a(p);
28
28
  }
29
29
  }
30
- function d(i) {
31
- i.done ? e(i.value) : s(i.value).then(w, f);
30
+ function c(i) {
31
+ i.done ? e(i.value) : s(i.value).then(w, l);
32
32
  }
33
- d((r = r.apply(h, t || [])).next());
33
+ c((r = r.apply(d, t || [])).next());
34
34
  });
35
35
  };
36
- class a extends l {
37
- constructor(t, o) {
38
- if (super(), !a.validateClientUrl(t))
36
+ class h extends u {
37
+ constructor(t, n) {
38
+ if (super(), !h.validateClientUrl(t))
39
39
  throw new m(t);
40
- this.clientUrl = t, this.httpProviderOptions = o;
40
+ this.clientUrl = t, this.httpProviderOptions = n;
41
41
  }
42
42
  static validateClientUrl(t) {
43
43
  return typeof t == "string" ? /^http(s)?:\/\//i.test(t) : !1;
44
44
  }
45
45
  /* eslint-disable class-methods-use-this */
46
46
  getStatus() {
47
- throw new n();
47
+ throw new o();
48
48
  }
49
49
  /* eslint-disable class-methods-use-this */
50
50
  supportsSubscriptions() {
51
51
  return !1;
52
52
  }
53
- request(t, o) {
53
+ request(t, n) {
54
54
  var r;
55
- return O(this, void 0, void 0, function* () {
56
- const s = Object.assign(Object.assign({}, (r = this.httpProviderOptions) === null || r === void 0 ? void 0 : r.providerOptions), o), e = yield u(this.clientUrl, Object.assign(Object.assign({}, s), { method: "POST", headers: Object.assign(Object.assign({}, s.headers), { "Content-Type": "application/json" }), body: JSON.stringify(t) }));
55
+ return b(this, void 0, void 0, function* () {
56
+ const s = Object.assign(Object.assign({}, (r = this.httpProviderOptions) === null || r === void 0 ? void 0 : r.providerOptions), n), e = yield f(this.clientUrl, Object.assign(Object.assign({}, s), { method: "POST", headers: Object.assign(Object.assign({}, s.headers), { "Content-Type": "application/json" }), body: JSON.stringify(t) }));
57
57
  if (!e.ok)
58
58
  throw new v(yield e.json());
59
59
  return yield e.json();
@@ -61,38 +61,38 @@ class a extends l {
61
61
  }
62
62
  /* eslint-disable class-methods-use-this */
63
63
  on() {
64
- throw new n();
64
+ throw new o();
65
65
  }
66
66
  /* eslint-disable class-methods-use-this */
67
67
  removeListener() {
68
- throw new n();
68
+ throw new o();
69
69
  }
70
70
  /* eslint-disable class-methods-use-this */
71
71
  once() {
72
- throw new n();
72
+ throw new o();
73
73
  }
74
74
  /* eslint-disable class-methods-use-this */
75
75
  removeAllListeners() {
76
- throw new n();
76
+ throw new o();
77
77
  }
78
78
  /* eslint-disable class-methods-use-this */
79
79
  connect() {
80
- throw new n();
80
+ throw new o();
81
81
  }
82
82
  /* eslint-disable class-methods-use-this */
83
83
  disconnect() {
84
- throw new n();
84
+ throw new o();
85
85
  }
86
86
  /* eslint-disable class-methods-use-this */
87
87
  reset() {
88
- throw new n();
88
+ throw new o();
89
89
  }
90
90
  /* eslint-disable class-methods-use-this */
91
91
  reconnect() {
92
- throw new n();
92
+ throw new o();
93
93
  }
94
94
  }
95
95
  export {
96
- a as HttpProvider,
97
- a as default
96
+ h as HttpProvider,
97
+ h as default
98
98
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const i=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");var o=function(t,n,e,r){function u(d){return d instanceof e?d:new e(function(s){s(d)})}return new(e||(e=Promise))(function(d,s){function v(a){try{c(r.next(a))}catch(h){s(h)}}function g(a){try{c(r.throw(a))}catch(h){s(h)}}function c(a){a.done?d(a.value):u(a.value).then(v,g)}c((r=r.apply(t,n||[])).next())})};function l(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_protocolVersion",params:[]})})}function m(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_syncing",params:[]})})}function f(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_coinbase",params:[]})})}function B(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_mining",params:[]})})}function y(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_hashrate",params:[]})})}function p(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_gasPrice",params:[]})})}function T(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_accounts",params:[]})})}function _(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_blockNumber",params:[]})})}function b(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getBalance",params:[n,e]})})}function k(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getStorageAt",params:[n,e,r]})})}function A(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getTransactionCount",params:[n,e]})})}function C(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getBlockTransactionCountByHash",params:[n]})})}function N(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getBlockTransactionCountByNumber",params:[n]})})}function x(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getUncleCountByBlockHash",params:[n]})})}function H(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getUncleCountByBlockNumber",params:[n]})})}function O(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getCode",params:[n,e]})})}function I(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex"],[n,e]),t.send({method:"eth_sign",params:[n,e]})})}function U(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_signTransaction",params:[n]})})}function q(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_sendTransaction",params:[n]})})}function P(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["hex"],[n]),t.send({method:"eth_sendRawTransaction",params:[n]})})}function w(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_call",params:[n,e]})})}function R(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_estimateGas",params:[n,e]})})}function L(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","bool"],[n,e]),t.send({method:"eth_getBlockByHash",params:[n,e]})})}function S(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","bool"],[n,e]),t.send({method:"eth_getBlockByNumber",params:[n,e]})})}function W(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionByHash",params:[n]})})}function G(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockHashAndIndex",params:[n,e]})})}function V(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockNumberAndIndex",params:[n,e]})})}function D(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionReceipt",params:[n]})})}function M(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getUncleByBlockHashAndIndex",params:[n,e]})})}function F(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getUncleByBlockNumberAndIndex",params:[n,e]})})}function j(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["filter"],[n]),t.send({method:"eth_getLogs",params:[n]})})}function $(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_getWork",params:[]})})}function z(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes8","bytes32","bytes32"],[n,e,r]),t.send({method:"eth_submitWork",params:[n,e,r]})})}function E(t,n,e,r){return o(this,void 0,void 0,function*(){i.validator.validate(["hex","blockNumberOrTag"],[n,e]);for(const u of r)i.validator.validate(["number"],[u]);return t.send({method:"eth_feeHistory",params:[n,e,r]})})}function J(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_pendingTransactions",params:[]})})}function Q(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_requestAccounts",params:[]})})}function X(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_chainId",params:[]})})}function Y(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","bytes32[]","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getProof",params:[n,e,r]})})}function Z(t){return o(this,void 0,void 0,function*(){return t.send({method:"web3_clientVersion",params:[]})})}function K(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_createAccessList",params:[n,e]})})}function tt(t,n,e,r=!1){return o(this,void 0,void 0,function*(){return i.validator.validate(["address"],[n]),t.send({method:`eth_signTypedData${r?"":"_v4"}`,params:[n,e]})})}exports.call=w;exports.createAccessList=K;exports.estimateGas=R;exports.getAccounts=T;exports.getBalance=b;exports.getBlockByHash=L;exports.getBlockByNumber=S;exports.getBlockNumber=_;exports.getBlockTransactionCountByHash=C;exports.getBlockTransactionCountByNumber=N;exports.getChainId=X;exports.getCode=O;exports.getCoinbase=f;exports.getFeeHistory=E;exports.getGasPrice=p;exports.getHashRate=y;exports.getLogs=j;exports.getMining=B;exports.getNodeInfo=Z;exports.getPendingTransactions=J;exports.getProof=Y;exports.getProtocolVersion=l;exports.getStorageAt=k;exports.getSyncing=m;exports.getTransactionByBlockHashAndIndex=G;exports.getTransactionByBlockNumberAndIndex=V;exports.getTransactionByHash=W;exports.getTransactionCount=A;exports.getTransactionReceipt=D;exports.getUncleByBlockHashAndIndex=M;exports.getUncleByBlockNumberAndIndex=F;exports.getUncleCountByBlockHash=x;exports.getUncleCountByBlockNumber=H;exports.getWork=$;exports.requestAccounts=Q;exports.sendRawTransaction=P;exports.sendTransaction=q;exports.sign=I;exports.signTransaction=U;exports.signTypedData=tt;exports.submitWork=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const i=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");var o=globalThis&&globalThis.__awaiter||function(t,n,e,r){function u(d){return d instanceof e?d:new e(function(s){s(d)})}return new(e||(e=Promise))(function(d,s){function v(a){try{c(r.next(a))}catch(h){s(h)}}function g(a){try{c(r.throw(a))}catch(h){s(h)}}function c(a){a.done?d(a.value):u(a.value).then(v,g)}c((r=r.apply(t,n||[])).next())})};function l(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_protocolVersion",params:[]})})}function m(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_syncing",params:[]})})}function f(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_coinbase",params:[]})})}function B(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_mining",params:[]})})}function y(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_hashrate",params:[]})})}function p(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_gasPrice",params:[]})})}function T(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_accounts",params:[]})})}function _(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_blockNumber",params:[]})})}function b(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getBalance",params:[n,e]})})}function k(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getStorageAt",params:[n,e,r]})})}function A(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getTransactionCount",params:[n,e]})})}function C(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getBlockTransactionCountByHash",params:[n]})})}function N(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getBlockTransactionCountByNumber",params:[n]})})}function x(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getUncleCountByBlockHash",params:[n]})})}function H(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getUncleCountByBlockNumber",params:[n]})})}function O(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getCode",params:[n,e]})})}function I(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex"],[n,e]),t.send({method:"eth_sign",params:[n,e]})})}function U(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_signTransaction",params:[n]})})}function q(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_sendTransaction",params:[n]})})}function P(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["hex"],[n]),t.send({method:"eth_sendRawTransaction",params:[n]})})}function w(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_call",params:[n,e]})})}function R(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_estimateGas",params:[n,e]})})}function L(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","bool"],[n,e]),t.send({method:"eth_getBlockByHash",params:[n,e]})})}function S(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","bool"],[n,e]),t.send({method:"eth_getBlockByNumber",params:[n,e]})})}function W(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionByHash",params:[n]})})}function G(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockHashAndIndex",params:[n,e]})})}function V(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockNumberAndIndex",params:[n,e]})})}function D(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionReceipt",params:[n]})})}function M(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getUncleByBlockHashAndIndex",params:[n,e]})})}function F(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getUncleByBlockNumberAndIndex",params:[n,e]})})}function j(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["filter"],[n]),t.send({method:"eth_getLogs",params:[n]})})}function $(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_getWork",params:[]})})}function z(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes8","bytes32","bytes32"],[n,e,r]),t.send({method:"eth_submitWork",params:[n,e,r]})})}function E(t,n,e,r){return o(this,void 0,void 0,function*(){i.validator.validate(["hex","blockNumberOrTag"],[n,e]);for(const u of r)i.validator.validate(["number"],[u]);return t.send({method:"eth_feeHistory",params:[n,e,r]})})}function J(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_pendingTransactions",params:[]})})}function Q(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_requestAccounts",params:[]})})}function X(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_chainId",params:[]})})}function Y(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","bytes32[]","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getProof",params:[n,e,r]})})}function Z(t){return o(this,void 0,void 0,function*(){return t.send({method:"web3_clientVersion",params:[]})})}function K(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_createAccessList",params:[n,e]})})}function tt(t,n,e,r=!1){return o(this,void 0,void 0,function*(){return i.validator.validate(["address"],[n]),t.send({method:`eth_signTypedData${r?"":"_v4"}`,params:[n,e]})})}exports.call=w;exports.createAccessList=K;exports.estimateGas=R;exports.getAccounts=T;exports.getBalance=b;exports.getBlockByHash=L;exports.getBlockByNumber=S;exports.getBlockNumber=_;exports.getBlockTransactionCountByHash=C;exports.getBlockTransactionCountByNumber=N;exports.getChainId=X;exports.getCode=O;exports.getCoinbase=f;exports.getFeeHistory=E;exports.getGasPrice=p;exports.getHashRate=y;exports.getLogs=j;exports.getMining=B;exports.getNodeInfo=Z;exports.getPendingTransactions=J;exports.getProof=Y;exports.getProtocolVersion=l;exports.getStorageAt=k;exports.getSyncing=m;exports.getTransactionByBlockHashAndIndex=G;exports.getTransactionByBlockNumberAndIndex=V;exports.getTransactionByHash=W;exports.getTransactionCount=A;exports.getTransactionReceipt=D;exports.getUncleByBlockHashAndIndex=M;exports.getUncleByBlockNumberAndIndex=F;exports.getUncleCountByBlockHash=x;exports.getUncleCountByBlockNumber=H;exports.getWork=$;exports.requestAccounts=Q;exports.sendRawTransaction=P;exports.sendTransaction=q;exports.sign=I;exports.signTransaction=U;exports.signTypedData=tt;exports.submitWork=z;
@@ -4,7 +4,7 @@ import { validator as o } from "../../../web3-validator/lib/esm/default_validato
4
4
  import "../../../web3-types/lib/esm/data_format_types.js";
5
5
  import "../../../web3-types/lib/esm/eth_types.js";
6
6
  import "../../../web3-types/lib/esm/web3_base_provider.js";
7
- var i = function(t, n, e, r) {
7
+ var i = globalThis && globalThis.__awaiter || function(t, n, e, r) {
8
8
  function s(d) {
9
9
  return d instanceof e ? d : new e(function(u) {
10
10
  u(d);
@@ -31,7 +31,7 @@ var i = function(t, n, e, r) {
31
31
  c((r = r.apply(t, n || [])).next());
32
32
  });
33
33
  };
34
- function y(t) {
34
+ function T(t) {
35
35
  return i(this, void 0, void 0, function* () {
36
36
  return t.send({
37
37
  method: "eth_protocolVersion",
@@ -39,7 +39,7 @@ function y(t) {
39
39
  });
40
40
  });
41
41
  }
42
- function T(t) {
42
+ function y(t) {
43
43
  return i(this, void 0, void 0, function* () {
44
44
  return t.send({
45
45
  method: "eth_syncing",
@@ -384,9 +384,9 @@ export {
384
384
  ot as getNodeInfo,
385
385
  tt as getPendingTransactions,
386
386
  it as getProof,
387
- y as getProtocolVersion,
387
+ T as getProtocolVersion,
388
388
  H as getStorageAt,
389
- T as getSyncing,
389
+ y as getSyncing,
390
390
  j as getTransactionByBlockHashAndIndex,
391
391
  z as getTransactionByBlockNumberAndIndex,
392
392
  $ as getTransactionByHash,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var c=function(n,f,i,o){function s(e){return e instanceof i?e:new i(function(u){u(e)})}return new(i||(i=Promise))(function(e,u){function a(t){try{r(o.next(t))}catch(d){u(d)}}function h(t){try{r(o.throw(t))}catch(d){u(d)}}function r(t){t.done?e(t.value):s(t.value).then(a,h)}r((o=o.apply(n,f||[])).next())})};function p(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_version",params:[]})})}function v(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_peerCount",params:[]})})}function m(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_listening",params:[]})})}exports.getId=p;exports.getPeerCount=v;exports.isListening=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var d=globalThis&&globalThis.__awaiter||function(n,s,i,o){function a(e){return e instanceof i?e:new i(function(r){r(e)})}return new(i||(i=Promise))(function(e,r){function f(t){try{u(o.next(t))}catch(c){r(c)}}function h(t){try{u(o.throw(t))}catch(c){r(c)}}function u(t){t.done?e(t.value):a(t.value).then(f,h)}u((o=o.apply(n,s||[])).next())})};function l(n){return d(this,void 0,void 0,function*(){return n.send({method:"net_version",params:[]})})}function p(n){return d(this,void 0,void 0,function*(){return n.send({method:"net_peerCount",params:[]})})}function v(n){return d(this,void 0,void 0,function*(){return n.send({method:"net_listening",params:[]})})}exports.getId=l;exports.getPeerCount=p;exports.isListening=v;
@@ -1,32 +1,32 @@
1
- var c = function(n, f, i, o) {
2
- function s(e) {
3
- return e instanceof i ? e : new i(function(u) {
4
- u(e);
1
+ var d = globalThis && globalThis.__awaiter || function(n, f, e, o) {
2
+ function s(i) {
3
+ return i instanceof e ? i : new e(function(r) {
4
+ r(i);
5
5
  });
6
6
  }
7
- return new (i || (i = Promise))(function(e, u) {
7
+ return new (e || (e = Promise))(function(i, r) {
8
8
  function a(t) {
9
9
  try {
10
- r(o.next(t));
11
- } catch (d) {
12
- u(d);
10
+ u(o.next(t));
11
+ } catch (c) {
12
+ r(c);
13
13
  }
14
14
  }
15
15
  function h(t) {
16
16
  try {
17
- r(o.throw(t));
18
- } catch (d) {
19
- u(d);
17
+ u(o.throw(t));
18
+ } catch (c) {
19
+ r(c);
20
20
  }
21
21
  }
22
- function r(t) {
23
- t.done ? e(t.value) : s(t.value).then(a, h);
22
+ function u(t) {
23
+ t.done ? i(t.value) : s(t.value).then(a, h);
24
24
  }
25
- r((o = o.apply(n, f || [])).next());
25
+ u((o = o.apply(n, f || [])).next());
26
26
  });
27
27
  };
28
28
  function p(n) {
29
- return c(this, void 0, void 0, function* () {
29
+ return d(this, void 0, void 0, function* () {
30
30
  return n.send({
31
31
  method: "net_version",
32
32
  params: []
@@ -34,15 +34,15 @@ function p(n) {
34
34
  });
35
35
  }
36
36
  function v(n) {
37
- return c(this, void 0, void 0, function* () {
37
+ return d(this, void 0, void 0, function* () {
38
38
  return n.send({
39
39
  method: "net_peerCount",
40
40
  params: []
41
41
  });
42
42
  });
43
43
  }
44
- function m(n) {
45
- return c(this, void 0, void 0, function* () {
44
+ function l(n) {
45
+ return d(this, void 0, void 0, function* () {
46
46
  return n.send({
47
47
  method: "net_listening",
48
48
  params: []
@@ -52,5 +52,5 @@ function m(n) {
52
52
  export {
53
53
  p as getId,
54
54
  v as getPeerCount,
55
- m as isListening
55
+ l as isListening
56
56
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(n,o,t,c){function u(d){return d instanceof t?d:new t(function(s){s(d)})}return new(t||(t=Promise))(function(d,s){function v(i){try{r(c.next(i))}catch(a){s(a)}}function p(i){try{r(c.throw(i))}catch(a){s(a)}}function r(i){i.done?d(i.value):u(i.value).then(v,p)}r((c=c.apply(n,o||[])).next())})};const m=n=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_listAccounts",params:[]})}),f=(n,o)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_newAccount",params:[o]})}),l=(n,o,t,c)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_unlockAccount",params:[o,t,c]})}),h=(n,o)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_lockAccount",params:[o]})}),_=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_importRawKey",params:[o,t]})}),A=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_sendTransaction",params:[o,t]})}),w=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_signTransaction",params:[o,t]})}),y=(n,o,t,c)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_sign",params:[o,t,c]})}),g=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_ecRecover",params:[o,t]})});exports.ecRecover=g;exports.getAccounts=m;exports.importRawKey=_;exports.lockAccount=h;exports.newAccount=f;exports.sendTransaction=A;exports.sign=y;exports.signTransaction=w;exports.unlockAccount=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var c=globalThis&&globalThis.__awaiter||function(n,o,t,e){function u(s){return s instanceof t?s:new t(function(r){r(s)})}return new(t||(t=Promise))(function(s,r){function v(i){try{d(e.next(i))}catch(a){r(a)}}function p(i){try{d(e.throw(i))}catch(a){r(a)}}function d(i){i.done?s(i.value):u(i.value).then(v,p)}d((e=e.apply(n,o||[])).next())})};const l=n=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_listAccounts",params:[]})}),m=(n,o)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_newAccount",params:[o]})}),f=(n,o,t,e)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_unlockAccount",params:[o,t,e]})}),h=(n,o)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_lockAccount",params:[o]})}),_=(n,o,t)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_importRawKey",params:[o,t]})}),A=(n,o,t)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_sendTransaction",params:[o,t]})}),w=(n,o,t)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_signTransaction",params:[o,t]})}),g=(n,o,t,e)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_sign",params:[o,t,e]})}),T=(n,o,t)=>c(void 0,void 0,void 0,function*(){return n.send({method:"personal_ecRecover",params:[o,t]})});exports.ecRecover=T;exports.getAccounts=l;exports.importRawKey=_;exports.lockAccount=h;exports.newAccount=m;exports.sendTransaction=A;exports.sign=g;exports.signTransaction=w;exports.unlockAccount=f;
@@ -1,84 +1,84 @@
1
- var e = function(n, o, t, i) {
2
- function u(d) {
3
- return d instanceof t ? d : new t(function(s) {
4
- s(d);
1
+ var i = globalThis && globalThis.__awaiter || function(n, o, t, e) {
2
+ function u(s) {
3
+ return s instanceof t ? s : new t(function(d) {
4
+ d(s);
5
5
  });
6
6
  }
7
- return new (t || (t = Promise))(function(d, s) {
7
+ return new (t || (t = Promise))(function(s, d) {
8
8
  function v(c) {
9
9
  try {
10
- r(i.next(c));
10
+ r(e.next(c));
11
11
  } catch (a) {
12
- s(a);
12
+ d(a);
13
13
  }
14
14
  }
15
15
  function p(c) {
16
16
  try {
17
- r(i.throw(c));
17
+ r(e.throw(c));
18
18
  } catch (a) {
19
- s(a);
19
+ d(a);
20
20
  }
21
21
  }
22
22
  function r(c) {
23
- c.done ? d(c.value) : u(c.value).then(v, p);
23
+ c.done ? s(c.value) : u(c.value).then(v, p);
24
24
  }
25
- r((i = i.apply(n, o || [])).next());
25
+ r((e = e.apply(n, o || [])).next());
26
26
  });
27
27
  };
28
- const f = (n) => e(void 0, void 0, void 0, function* () {
28
+ const m = (n) => i(void 0, void 0, void 0, function* () {
29
29
  return n.send({
30
30
  method: "personal_listAccounts",
31
31
  params: []
32
32
  });
33
- }), m = (n, o) => e(void 0, void 0, void 0, function* () {
33
+ }), l = (n, o) => i(void 0, void 0, void 0, function* () {
34
34
  return n.send({
35
35
  method: "personal_newAccount",
36
36
  params: [o]
37
37
  });
38
- }), l = (n, o, t, i) => e(void 0, void 0, void 0, function* () {
38
+ }), f = (n, o, t, e) => i(void 0, void 0, void 0, function* () {
39
39
  return n.send({
40
40
  method: "personal_unlockAccount",
41
- params: [o, t, i]
41
+ params: [o, t, e]
42
42
  });
43
- }), h = (n, o) => e(void 0, void 0, void 0, function* () {
43
+ }), h = (n, o) => i(void 0, void 0, void 0, function* () {
44
44
  return n.send({
45
45
  method: "personal_lockAccount",
46
46
  params: [o]
47
47
  });
48
- }), _ = (n, o, t) => e(void 0, void 0, void 0, function* () {
48
+ }), _ = (n, o, t) => i(void 0, void 0, void 0, function* () {
49
49
  return n.send({
50
50
  method: "personal_importRawKey",
51
51
  params: [o, t]
52
52
  });
53
- }), w = (n, o, t) => e(void 0, void 0, void 0, function* () {
53
+ }), w = (n, o, t) => i(void 0, void 0, void 0, function* () {
54
54
  return n.send({
55
55
  method: "personal_sendTransaction",
56
56
  params: [o, t]
57
57
  });
58
- }), A = (n, o, t) => e(void 0, void 0, void 0, function* () {
58
+ }), A = (n, o, t) => i(void 0, void 0, void 0, function* () {
59
59
  return n.send({
60
60
  method: "personal_signTransaction",
61
61
  params: [o, t]
62
62
  });
63
- }), y = (n, o, t, i) => e(void 0, void 0, void 0, function* () {
63
+ }), T = (n, o, t, e) => i(void 0, void 0, void 0, function* () {
64
64
  return n.send({
65
65
  method: "personal_sign",
66
- params: [o, t, i]
66
+ params: [o, t, e]
67
67
  });
68
- }), k = (n, o, t) => e(void 0, void 0, void 0, function* () {
68
+ }), y = (n, o, t) => i(void 0, void 0, void 0, function* () {
69
69
  return n.send({
70
70
  method: "personal_ecRecover",
71
71
  params: [o, t]
72
72
  });
73
73
  });
74
74
  export {
75
- k as ecRecover,
76
- f as getAccounts,
75
+ y as ecRecover,
76
+ m as getAccounts,
77
77
  _ as importRawKey,
78
78
  h as lockAccount,
79
- m as newAccount,
79
+ l as newAccount,
80
80
  w as sendTransaction,
81
- y as sign,
81
+ T as sign,
82
82
  A as signTransaction,
83
- l as unlockAccount
83
+ f as unlockAccount
84
84
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var f=function(l,e,n,t){function s(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function h(i){try{u(t.next(i))}catch(c){o(c)}}function b(i){try{u(t.throw(i))}catch(c){o(c)}}function u(i){i.done?r(i.value):s(i.value).then(h,b)}u((t=t.apply(l,e||[])).next())})};const a=Symbol.for("web3/base-provider");class d{static isWeb3Provider(e){return e instanceof d||!!(e&&e[a])}get[a](){return!0}send(e,n){this.request(e).then(t=>{n(null,t)}).catch(t=>{n(t)})}sendAsync(e){return f(this,void 0,void 0,function*(){return this.request(e)})}asEIP1193Provider(){const e=Object.create(this),n=e.request;return e.request=function(s){return f(this,void 0,void 0,function*(){return(yield n(s)).result})},e.asEIP1193Provider=void 0,e}}exports.Web3BaseProvider=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var d=globalThis&&globalThis.__awaiter||function(l,e,t,n){function s(r){return r instanceof t?r:new t(function(o){o(r)})}return new(t||(t=Promise))(function(r,o){function h(i){try{u(n.next(i))}catch(c){o(c)}}function b(i){try{u(n.throw(i))}catch(c){o(c)}}function u(i){i.done?r(i.value):s(i.value).then(h,b)}u((n=n.apply(l,e||[])).next())})};const f=Symbol.for("web3/base-provider");class a{static isWeb3Provider(e){return e instanceof a||!!(e&&e[f])}get[f](){return!0}send(e,t){this.request(e).then(n=>{t(null,n)}).catch(n=>{t(n)})}sendAsync(e){return d(this,void 0,void 0,function*(){return this.request(e)})}asEIP1193Provider(){const e=Object.create(this),t=e.request;return e.request=function(s){return d(this,void 0,void 0,function*(){return(yield t(s)).result})},e.asEIP1193Provider=void 0,e}}exports.Web3BaseProvider=a;
@@ -1,34 +1,34 @@
1
- var d = function(h, e, n, t) {
2
- function o(r) {
3
- return r instanceof n ? r : new n(function(s) {
4
- s(r);
1
+ var a = globalThis && globalThis.__awaiter || function(h, e, t, n) {
2
+ function r(s) {
3
+ return s instanceof t ? s : new t(function(o) {
4
+ o(s);
5
5
  });
6
6
  }
7
- return new (n || (n = Promise))(function(r, s) {
7
+ return new (t || (t = Promise))(function(s, o) {
8
8
  function l(i) {
9
9
  try {
10
- u(t.next(i));
10
+ u(n.next(i));
11
11
  } catch (c) {
12
- s(c);
12
+ o(c);
13
13
  }
14
14
  }
15
- function v(i) {
15
+ function b(i) {
16
16
  try {
17
- u(t.throw(i));
17
+ u(n.throw(i));
18
18
  } catch (c) {
19
- s(c);
19
+ o(c);
20
20
  }
21
21
  }
22
22
  function u(i) {
23
- i.done ? r(i.value) : o(i.value).then(l, v);
23
+ i.done ? s(i.value) : r(i.value).then(l, b);
24
24
  }
25
- u((t = t.apply(h, e || [])).next());
25
+ u((n = n.apply(h, e || [])).next());
26
26
  });
27
27
  };
28
28
  const f = Symbol.for("web3/base-provider");
29
- class a {
29
+ class d {
30
30
  static isWeb3Provider(e) {
31
- return e instanceof a || !!(e && e[f]);
31
+ return e instanceof d || !!(e && e[f]);
32
32
  }
33
33
  // To match an object "instanceof" does not work if
34
34
  // matcher class and object is using different package versions
@@ -43,11 +43,11 @@ class a {
43
43
  * @param payload - Request Payload
44
44
  * @param callback - Callback
45
45
  */
46
- send(e, n) {
47
- this.request(e).then((t) => {
48
- n(null, t);
49
- }).catch((t) => {
50
- n(t);
46
+ send(e, t) {
47
+ this.request(e).then((n) => {
48
+ t(null, n);
49
+ }).catch((n) => {
50
+ t(n);
51
51
  });
52
52
  }
53
53
  /**
@@ -55,7 +55,7 @@ class a {
55
55
  * @param payload - Request Payload
56
56
  */
57
57
  sendAsync(e) {
58
- return d(this, void 0, void 0, function* () {
58
+ return a(this, void 0, void 0, function* () {
59
59
  return this.request(e);
60
60
  });
61
61
  }
@@ -76,14 +76,14 @@ class a {
76
76
  * ```
77
77
  */
78
78
  asEIP1193Provider() {
79
- const e = Object.create(this), n = e.request;
80
- return e.request = function(o) {
81
- return d(this, void 0, void 0, function* () {
82
- return (yield n(o)).result;
79
+ const e = Object.create(this), t = e.request;
80
+ return e.request = function(r) {
81
+ return a(this, void 0, void 0, function* () {
82
+ return (yield t(r)).result;
83
83
  });
84
84
  }, e.asEIP1193Provider = void 0, e;
85
85
  }
86
86
  }
87
87
  export {
88
- a as Web3BaseProvider
88
+ d as Web3BaseProvider
89
89
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../events/events.cjs");var E=function(o,e,t,n){function s(i){return i instanceof t?i:new t(function(u){u(i)})}return new(t||(t=Promise))(function(i,u){function l(r){try{c(n.next(r))}catch(h){u(h)}}function a(r){try{c(n.throw(r))}catch(h){u(h)}}function c(r){r.done?i(r.value):s(r.value).then(l,a)}c((n=n.apply(o,e||[])).next())})};const v=o=>e=>o(e.detail);class p extends EventTarget{constructor(){super(...arguments),this._listeners={},this.maxListeners=Number.MAX_SAFE_INTEGER}on(e,t){return this.addEventListener(e,t),this}once(e,t){const n=s=>E(this,void 0,void 0,function*(){this.off(e,n),yield t(s)});return this.on(e,n)}off(e,t){return this.removeEventListener(e,t),this}emit(e,t){const n=new CustomEvent(e,{detail:t});return super.dispatchEvent(n)}listenerCount(e){const t=this._listeners[e];return t?t.length:0}listeners(e){return this._listeners[e].map(t=>t[0])||[]}eventNames(){return Object.keys(this._listeners)}removeAllListeners(){return Object.keys(this._listeners).forEach(e=>{this._listeners[e].forEach(t=>{super.removeEventListener(e,t[1])})}),this._listeners={},this}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}addEventListener(e,t){const n=v(t);super.addEventListener(e,n),this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push([t,n])}removeEventListener(e,t){const n=this._listeners[e];if(n){const s=n.findIndex(i=>i[0]===t);s!==-1&&(super.removeEventListener(e,n[s][1]),n.splice(s,1))}}}let d;typeof window>"u"?d=f.eventsExports.EventEmitter:d=p;class _ extends d{}exports.EventEmitter=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../../events/events.cjs");var f=globalThis&&globalThis.__awaiter||function(o,e,t,s){function n(i){return i instanceof t?i:new t(function(c){c(i)})}return new(t||(t=Promise))(function(i,c){function a(r){try{u(s.next(r))}catch(l){c(l)}}function d(r){try{u(s.throw(r))}catch(l){c(l)}}function u(r){r.done?i(r.value):n(r.value).then(a,d)}u((s=s.apply(o,e||[])).next())})};const v=o=>e=>o(e.detail);class p extends EventTarget{constructor(){super(...arguments),this._listeners={},this.maxListeners=Number.MAX_SAFE_INTEGER}on(e,t){return this.addEventListener(e,t),this}once(e,t){const s=n=>f(this,void 0,void 0,function*(){this.off(e,s),yield t(n)});return this.on(e,s)}off(e,t){return this.removeEventListener(e,t),this}emit(e,t){const s=new CustomEvent(e,{detail:t});return super.dispatchEvent(s)}listenerCount(e){const t=this._listeners[e];return t?t.length:0}listeners(e){return this._listeners[e].map(t=>t[0])||[]}eventNames(){return Object.keys(this._listeners)}removeAllListeners(){return Object.keys(this._listeners).forEach(e=>{this._listeners[e].forEach(t=>{super.removeEventListener(e,t[1])})}),this._listeners={},this}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}addEventListener(e,t){const s=v(t);super.addEventListener(e,s),this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push([t,s])}removeEventListener(e,t){const s=this._listeners[e];if(s){const n=s.findIndex(i=>i[0]===t);n!==-1&&(super.removeEventListener(e,s[n][1]),s.splice(n,1))}}}let h;typeof window>"u"?h=E.eventsExports.EventEmitter:h=p;class _ extends h{}exports.EventEmitter=_;