@ozdao/prometheus-framework 0.2.47 → 0.2.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (445) hide show
  1. package/dist/main-610fd21a.mjs +13628 -0
  2. package/dist/main-669fac33.js +91 -0
  3. package/dist/main.css +1 -1
  4. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  5. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  6. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  7. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  8. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  9. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  10. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  11. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  12. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  13. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  14. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  15. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  16. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  17. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  18. package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
  19. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  20. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
  21. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  22. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  23. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  24. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  25. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  26. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  27. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  28. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  29. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  30. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  31. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  32. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  33. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  34. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  35. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  36. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  37. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  38. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  39. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  40. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  41. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  42. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  43. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  44. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  45. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  46. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  47. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  48. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  49. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  50. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  51. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  52. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  53. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  54. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  55. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  56. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  57. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  58. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  59. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  60. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  61. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  62. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  63. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  64. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  65. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  66. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  67. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  68. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  69. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  70. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  71. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  72. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  73. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  74. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  75. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  76. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  77. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  78. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  79. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  80. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  81. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  82. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  83. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  84. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  85. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  86. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  87. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  88. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  89. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  90. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  91. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  92. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  93. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  94. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  95. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  96. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  97. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  98. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  99. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  100. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  101. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  102. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  103. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
  105. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
  107. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/components/Button/Button.vue.js +227 -1
  109. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  110. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
  111. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  113. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  114. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +63 -1
  115. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  116. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
  117. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  118. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
  119. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  120. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
  121. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/components/Field/Field.vue.js +78 -1
  123. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
  125. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  127. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  129. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
  131. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  133. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
  135. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
  137. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
  141. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
  145. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
  147. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
  149. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  151. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
  153. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  155. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  157. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
  159. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
  161. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +46 -1
  163. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
  165. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
  167. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  169. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
  171. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  173. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  175. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  177. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  181. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
  183. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  185. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
  187. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  189. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
  191. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
  201. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
  203. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  205. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  207. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
  209. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  211. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
  213. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
  215. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
  219. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
  221. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  223. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  225. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  227. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
  229. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  232. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  233. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  234. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  235. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
  241. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -7
  245. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
  247. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  249. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
  251. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
  255. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  257. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  259. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
  263. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  265. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
  267. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  269. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
  273. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  275. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
  277. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  279. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +4 -1
  281. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
  283. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  285. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -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 +2 -2
  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.vue2.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
  295. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  297. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  309. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  319. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  321. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  323. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
  339. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  341. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  343. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  347. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
  351. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  353. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +50 -47
  355. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
  357. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
  359. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  361. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
  371. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
  373. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
  375. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  377. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -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.vue2.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
  385. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
  391. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  393. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  397. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  399. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
  401. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
  403. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
  405. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  407. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  409. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  411. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  413. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  415. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  417. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
  419. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  421. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  423. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
  425. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  427. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  429. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
  431. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  432. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  433. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  434. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  435. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  436. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  437. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  438. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  439. package/dist/prometheus-framework.cjs.js +1 -1
  440. package/dist/prometheus-framework.es.js +1 -1
  441. package/dist/style.css +1 -1
  442. package/dist/web-0410cac1.js +1 -0
  443. package/dist/web-c1619455.mjs +55 -0
  444. package/package.json +1 -1
  445. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const P=require("../../../web3-errors/lib/esm/errors/signature_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const N=require("../../../web3-validator/lib/esm/validation/string.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../web3-validator/lib/esm/validation/bytes.cjs"),T=require("../../../web3-validator/lib/esm/validation/block.cjs"),_=require("../../../web3-validator/lib/esm/validation/object.cjs"),H=require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const U=require("../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const I=require("./utils/decode_signed_transaction.cjs"),A=require("./schemas.cjs"),M=require("./utils/transaction_builder.cjs"),y=require("./utils/format_transaction.cjs"),j=require("./utils/try_send_transaction.cjs"),O=require("./utils/wait_for_transaction_receipt.cjs"),b=require("./constants.cjs"),E=require("./utils/send_tx_helper.cjs"),i=require("../../../web3-utils/lib/esm/formatter.cjs"),F=require("../../../web3-utils/lib/esm/converters.cjs");var f=function(t,n,e,r){function o(a){return a instanceof e?a:new e(function(d){d(a)})}return new(e||(e=Promise))(function(a,d){function u(l){try{g(r.next(l))}catch(h){d(h)}}function m(l){try{g(r.throw(l))}catch(h){d(h)}}function g(l){l.done?a(l.value):o(l.value).then(u,m)}g((r=r.apply(t,n||[])).next())})},L=function(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]]);return e};const G=t=>f(void 0,void 0,void 0,function*(){return c.getSyncing(t.requestManager)});function W(t,n){return f(this,void 0,void 0,function*(){const e=yield c.getHashRate(t.requestManager);return i.format({format:"uint"},e,n)})}function z(t,n){return f(this,void 0,void 0,function*(){const e=yield c.getGasPrice(t.requestManager);return i.format({format:"uint"},e,n)})}function J(t,n){return f(this,void 0,void 0,function*(){const e=yield c.getBlockNumber(t.requestManager);return i.format({format:"uint"},e,n)})}function K(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getBalance(t.requestManager,n,o);return i.format({format:"uint"},a,r)})}function Q(t,n,e,r=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const a=i.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=T.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT),u=yield c.getStorageAt(t.requestManager,n,a,d);return i.format({format:"bytes"},u,o)})}function V(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getCode(t.requestManager,n,o);return i.format({format:"bytes"},a,r)})}function X(t,n=t.defaultBlock,e=!1,r){return f(this,void 0,void 0,function*(){let o;if(p.isBytes(n)){const a=i.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);o=yield c.getBlockByHash(t.requestManager,a,e)}else{const a=T.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT);o=yield c.getBlockByNumber(t.requestManager,a,e)}return i.format(A.blockSchema,o,r)})}function Y(t,n=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let r;if(p.isBytes(n)){const o=i.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);r=yield c.getBlockTransactionCountByHash(t.requestManager,o)}else{const o=T.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT);r=yield c.getBlockTransactionCountByNumber(t.requestManager,o)}return i.format({format:"uint"},r,e)})}function Z(t,n=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let r;if(p.isBytes(n)){const o=i.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);r=yield c.getUncleCountByBlockHash(t.requestManager,o)}else{const o=T.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT);r=yield c.getUncleCountByBlockNumber(t.requestManager,o)}return i.format({format:"uint"},r,e)})}function w(t,n=t.defaultBlock,e,r){return f(this,void 0,void 0,function*(){const o=i.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(p.isBytes(n)){const d=i.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockHashAndIndex(t.requestManager,d,o)}else{const d=T.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockNumberAndIndex(t.requestManager,d,o)}return i.format(A.blockSchema,a,r)})}function x(t,n,e){return f(this,void 0,void 0,function*(){const r=i.format({format:"bytes32"},n,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionByHash(t.requestManager,r);return _.isNullish(o)?o:y.formatTransaction(o,e,{fillInputAndData:!0})})}function C(t,n){return f(this,void 0,void 0,function*(){return(yield c.getPendingTransactions(t.requestManager)).map(r=>y.formatTransaction(r,n,{fillInputAndData:!0}))})}function $(t,n=t.defaultBlock,e,r){return f(this,void 0,void 0,function*(){const o=i.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(p.isBytes(n)){const d=i.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockHashAndIndex(t.requestManager,d,o)}else{const d=T.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockNumberAndIndex(t.requestManager,d,o)}return _.isNullish(a)?a:y.formatTransaction(a,r,{fillInputAndData:!0})})}function tt(t,n,e){return f(this,void 0,void 0,function*(){const r=i.format({format:"bytes32"},n,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionReceipt(t.requestManager,r);return _.isNullish(o)?o:i.format(A.transactionReceiptSchema,o,e)})}function et(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getTransactionCount(t.requestManager,n,o);return i.format({format:"uint"},a,r)})}function nt(t,n,e,r={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((a,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:r,returnFormat:e});let m=y.formatTransaction(Object.assign(Object.assign({},n),{from:M.getTransactionFromOrToAttr("from",t,n),to:M.getTransactionFromOrToAttr("to",t,n)}),s.ETH_DATA_FORMAT);try{m=yield u.populateGasPrice({transaction:n,transactionFormatted:m}),yield u.checkRevertBeforeSending(m),u.emitSending(m);let g;t.wallet&&!_.isNullish(m.from)&&(g=t.wallet.get(m.from));const l=yield u.signAndSend({wallet:g,tx:m}),h=i.format({format:"bytes32"},l,e);u.emitSent(m),u.emitTransactionHash(h);const R=yield O.waitForTransactionReceipt(t,l,e),v=u.getReceiptWithEvents(i.format(A.transactionReceiptSchema,R,e));u.emitReceipt(v),a(yield u.handleResolve({receipt:v,tx:m})),u.emitConfirmation({receipt:v,transactionHash:l})}catch(g){d(yield u.handleError({error:g,tx:m}))}})})});return o}function rt(t,n,e,r={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((a,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:r,returnFormat:e}),m=i.format({format:"bytes"},n,s.ETH_DATA_FORMAT),g=U.TransactionFactory.fromSerializedData(F.bytesToUint8Array(F.hexToBytes(m))),l=Object.assign(Object.assign({},g.toJSON()),{from:g.getSenderAddress().toString()});try{const{v:h,r:R,s:v}=l,S=L(l,["v","r","s"]);yield u.checkRevertBeforeSending(S),u.emitSending(m);const q=yield j.trySendTransaction(t,()=>f(this,void 0,void 0,function*(){return c.sendRawTransaction(t.requestManager,m)}));u.emitSent(m);const D=i.format({format:"bytes32"},q,e);u.emitTransactionHash(D);const k=yield O.waitForTransactionReceipt(t,q,e),B=u.getReceiptWithEvents(i.format(A.transactionReceiptSchema,k,e));u.emitReceipt(B),a(yield u.handleResolve({receipt:B,tx:l})),u.emitConfirmation({receipt:B,transactionHash:q})}catch(h){d(yield u.handleError({error:h,tx:l}))}})})});return o}function ot(t,n,e,r){var o;return f(this,void 0,void 0,function*(){const a=i.format({format:"bytes"},n,s.DEFAULT_RETURN_FORMAT);if(!((o=t.wallet)===null||o===void 0)&&o.get(e)){const m=t.wallet.get(e).sign(a);return i.format(A.SignatureObjectSchema,m,r)}if(typeof e=="number")throw new P.SignatureError(n,'RPC method "eth_sign" does not support index signatures');const d=yield c.sign(t.requestManager,e,a);return i.format({format:"bytes"},d,r)})}function it(t,n,e){return f(this,void 0,void 0,function*(){const r=yield c.signTransaction(t.requestManager,y.formatTransaction(n,s.ETH_DATA_FORMAT));return N.isString(r)?I.decodeSignedTransaction(r,e,{fillInputAndData:!0}):{raw:i.format({format:"bytes"},r.raw,e),tx:y.formatTransaction(r.tx,e,{fillInputAndData:!0})}})}function at(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.call(t.requestManager,y.formatTransaction(n,s.ETH_DATA_FORMAT),o);return i.format({format:"bytes"},a,r)})}function st(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=y.formatTransaction(n,s.ETH_DATA_FORMAT),a=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=yield c.estimateGas(t.requestManager,o,a);return i.format({format:"uint"},d,r)})}function ct(t,n,e){return f(this,void 0,void 0,function*(){let{toBlock:r,fromBlock:o}=n;_.isNullish(r)||(typeof r=="number"||typeof r=="bigint")&&(r=F.numberToHex(r)),_.isNullish(o)||(typeof o=="number"||typeof o=="bigint")&&(o=F.numberToHex(o));const a=Object.assign(Object.assign({},n),{fromBlock:o,toBlock:r});return(yield c.getLogs(t.requestManager,a)).map(m=>typeof m=="string"?m:i.format(A.logSchema,m,e))})}function ut(t,n){return f(this,void 0,void 0,function*(){const e=yield c.getChainId(t.requestManager);return i.format({format:"uint"},e,n)})}function ft(t,n,e,r=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const a=e.map(m=>i.format({format:"bytes"},m,s.ETH_DATA_FORMAT)),d=T.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT),u=yield c.getProof(t.requestManager,n,a,d);return i.format(A.accountSchema,u,o)})}function dt(t,n,e=t.defaultBlock,r,o){return f(this,void 0,void 0,function*(){const a=i.format({format:"uint"},n,s.ETH_DATA_FORMAT),d=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),u=i.format({type:"array",items:{format:"uint"}},r,b.NUMBER_DATA_FORMAT),m=yield c.getFeeHistory(t.requestManager,a,d,u);return i.format(A.feeHistorySchema,m,o)})}function mt(t,n,e=t.defaultBlock,r){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.createAccessList(t.requestManager,y.formatTransaction(n,s.ETH_DATA_FORMAT),o);return i.format(A.accessListResultSchema,a,r)})}function lt(t,n,e,r,o){return f(this,void 0,void 0,function*(){const a=yield c.signTypedData(t.requestManager,n,e,r);return i.format({format:"bytes"},a,o)})}exports.call=at;exports.createAccessList=mt;exports.estimateGas=st;exports.getBalance=K;exports.getBlock=X;exports.getBlockNumber=J;exports.getBlockTransactionCount=Y;exports.getBlockUncleCount=Z;exports.getChainId=ut;exports.getCode=V;exports.getFeeHistory=dt;exports.getGasPrice=z;exports.getHashRate=W;exports.getLogs=ct;exports.getPendingTransactions=C;exports.getProof=ft;exports.getStorageAt=Q;exports.getTransaction=x;exports.getTransactionCount=et;exports.getTransactionFromBlock=$;exports.getTransactionReceipt=tt;exports.getUncle=w;exports.isSyncing=G;exports.sendSignedTransaction=rt;exports.sendTransaction=nt;exports.sign=ot;exports.signTransaction=it;exports.signTypedData=lt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const P=require("../../../web3-errors/lib/esm/errors/signature_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const N=require("../../../web3-validator/lib/esm/validation/string.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../web3-validator/lib/esm/validation/bytes.cjs"),T=require("../../../web3-validator/lib/esm/validation/block.cjs"),_=require("../../../web3-validator/lib/esm/validation/object.cjs"),H=require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const U=require("../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const b=require("./utils/decode_signed_transaction.cjs"),A=require("./schemas.cjs"),M=require("./utils/transaction_builder.cjs"),y=require("./utils/format_transaction.cjs"),I=require("./utils/try_send_transaction.cjs"),O=require("./utils/wait_for_transaction_receipt.cjs"),j=require("./constants.cjs"),E=require("./utils/send_tx_helper.cjs"),a=require("../../../web3-utils/lib/esm/formatter.cjs"),F=require("../../../web3-utils/lib/esm/converters.cjs");var f=globalThis&&globalThis.__awaiter||function(t,r,e,n){function o(i){return i instanceof e?i:new e(function(d){d(i)})}return new(e||(e=Promise))(function(i,d){function u(l){try{g(n.next(l))}catch(h){d(h)}}function m(l){try{g(n.throw(l))}catch(h){d(h)}}function g(l){l.done?i(l.value):o(l.value).then(u,m)}g((n=n.apply(t,r||[])).next())})},L=globalThis&&globalThis.__rest||function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]]);return e};const G=t=>f(void 0,void 0,void 0,function*(){return c.getSyncing(t.requestManager)});function W(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getHashRate(t.requestManager);return a.format({format:"uint"},e,r)})}function z(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getGasPrice(t.requestManager);return a.format({format:"uint"},e,r)})}function J(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getBlockNumber(t.requestManager);return a.format({format:"uint"},e,r)})}function K(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),i=yield c.getBalance(t.requestManager,r,o);return a.format({format:"uint"},i,n)})}function Q(t,r,e,n=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const i=a.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=T.isBlockTag(n)?n:a.format({format:"uint"},n,s.ETH_DATA_FORMAT),u=yield c.getStorageAt(t.requestManager,r,i,d);return a.format({format:"bytes"},u,o)})}function V(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),i=yield c.getCode(t.requestManager,r,o);return a.format({format:"bytes"},i,n)})}function X(t,r=t.defaultBlock,e=!1,n){return f(this,void 0,void 0,function*(){let o;if(p.isBytes(r)){const i=a.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);o=yield c.getBlockByHash(t.requestManager,i,e)}else{const i=T.isBlockTag(r)?r:a.format({format:"uint"},r,s.ETH_DATA_FORMAT);o=yield c.getBlockByNumber(t.requestManager,i,e)}return a.format(A.blockSchema,o,n)})}function Y(t,r=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let n;if(p.isBytes(r)){const o=a.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);n=yield c.getBlockTransactionCountByHash(t.requestManager,o)}else{const o=T.isBlockTag(r)?r:a.format({format:"uint"},r,s.ETH_DATA_FORMAT);n=yield c.getBlockTransactionCountByNumber(t.requestManager,o)}return a.format({format:"uint"},n,e)})}function Z(t,r=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let n;if(p.isBytes(r)){const o=a.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);n=yield c.getUncleCountByBlockHash(t.requestManager,o)}else{const o=T.isBlockTag(r)?r:a.format({format:"uint"},r,s.ETH_DATA_FORMAT);n=yield c.getUncleCountByBlockNumber(t.requestManager,o)}return a.format({format:"uint"},n,e)})}function w(t,r=t.defaultBlock,e,n){return f(this,void 0,void 0,function*(){const o=a.format({format:"uint"},e,s.ETH_DATA_FORMAT);let i;if(p.isBytes(r)){const d=a.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);i=yield c.getUncleByBlockHashAndIndex(t.requestManager,d,o)}else{const d=T.isBlockTag(r)?r:a.format({format:"uint"},r,s.ETH_DATA_FORMAT);i=yield c.getUncleByBlockNumberAndIndex(t.requestManager,d,o)}return a.format(A.blockSchema,i,n)})}function x(t,r,e){return f(this,void 0,void 0,function*(){const n=a.format({format:"bytes32"},r,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionByHash(t.requestManager,n);return _.isNullish(o)?o:y.formatTransaction(o,e,{fillInputAndData:!0})})}function C(t,r){return f(this,void 0,void 0,function*(){return(yield c.getPendingTransactions(t.requestManager)).map(n=>y.formatTransaction(n,r,{fillInputAndData:!0}))})}function $(t,r=t.defaultBlock,e,n){return f(this,void 0,void 0,function*(){const o=a.format({format:"uint"},e,s.ETH_DATA_FORMAT);let i;if(p.isBytes(r)){const d=a.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);i=yield c.getTransactionByBlockHashAndIndex(t.requestManager,d,o)}else{const d=T.isBlockTag(r)?r:a.format({format:"uint"},r,s.ETH_DATA_FORMAT);i=yield c.getTransactionByBlockNumberAndIndex(t.requestManager,d,o)}return _.isNullish(i)?i:y.formatTransaction(i,n,{fillInputAndData:!0})})}function tt(t,r,e){return f(this,void 0,void 0,function*(){const n=a.format({format:"bytes32"},r,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionReceipt(t.requestManager,n);return _.isNullish(o)?o:a.format(A.transactionReceiptSchema,o,e)})}function et(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),i=yield c.getTransactionCount(t.requestManager,r,o);return a.format({format:"uint"},i,n)})}function rt(t,r,e,n={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((i,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:n,returnFormat:e});let m=y.formatTransaction(Object.assign(Object.assign({},r),{from:M.getTransactionFromOrToAttr("from",t,r),to:M.getTransactionFromOrToAttr("to",t,r)}),s.ETH_DATA_FORMAT);try{m=yield u.populateGasPrice({transaction:r,transactionFormatted:m}),yield u.checkRevertBeforeSending(m),u.emitSending(m);let g;t.wallet&&!_.isNullish(m.from)&&(g=t.wallet.get(m.from));const l=yield u.signAndSend({wallet:g,tx:m}),h=a.format({format:"bytes32"},l,e);u.emitSent(m),u.emitTransactionHash(h);const R=yield O.waitForTransactionReceipt(t,l,e),v=u.getReceiptWithEvents(a.format(A.transactionReceiptSchema,R,e));u.emitReceipt(v),i(yield u.handleResolve({receipt:v,tx:m})),u.emitConfirmation({receipt:v,transactionHash:l})}catch(g){d(yield u.handleError({error:g,tx:m}))}})})});return o}function nt(t,r,e,n={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((i,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:n,returnFormat:e}),m=a.format({format:"bytes"},r,s.ETH_DATA_FORMAT),g=U.TransactionFactory.fromSerializedData(F.bytesToUint8Array(F.hexToBytes(m))),l=Object.assign(Object.assign({},g.toJSON()),{from:g.getSenderAddress().toString()});try{const{v:h,r:R,s:v}=l,S=L(l,["v","r","s"]);yield u.checkRevertBeforeSending(S),u.emitSending(m);const q=yield I.trySendTransaction(t,()=>f(this,void 0,void 0,function*(){return c.sendRawTransaction(t.requestManager,m)}));u.emitSent(m);const D=a.format({format:"bytes32"},q,e);u.emitTransactionHash(D);const k=yield O.waitForTransactionReceipt(t,q,e),B=u.getReceiptWithEvents(a.format(A.transactionReceiptSchema,k,e));u.emitReceipt(B),i(yield u.handleResolve({receipt:B,tx:l})),u.emitConfirmation({receipt:B,transactionHash:q})}catch(h){d(yield u.handleError({error:h,tx:l}))}})})});return o}function ot(t,r,e,n){var o;return f(this,void 0,void 0,function*(){const i=a.format({format:"bytes"},r,s.DEFAULT_RETURN_FORMAT);if(!((o=t.wallet)===null||o===void 0)&&o.get(e)){const m=t.wallet.get(e).sign(i);return a.format(A.SignatureObjectSchema,m,n)}if(typeof e=="number")throw new P.SignatureError(r,'RPC method "eth_sign" does not support index signatures');const d=yield c.sign(t.requestManager,e,i);return a.format({format:"bytes"},d,n)})}function at(t,r,e){return f(this,void 0,void 0,function*(){const n=yield c.signTransaction(t.requestManager,y.formatTransaction(r,s.ETH_DATA_FORMAT));return N.isString(n)?b.decodeSignedTransaction(n,e,{fillInputAndData:!0}):{raw:a.format({format:"bytes"},n.raw,e),tx:y.formatTransaction(n.tx,e,{fillInputAndData:!0})}})}function it(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),i=yield c.call(t.requestManager,y.formatTransaction(r,s.ETH_DATA_FORMAT),o);return a.format({format:"bytes"},i,n)})}function st(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=y.formatTransaction(r,s.ETH_DATA_FORMAT),i=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=yield c.estimateGas(t.requestManager,o,i);return a.format({format:"uint"},d,n)})}function ct(t,r,e){return f(this,void 0,void 0,function*(){let{toBlock:n,fromBlock:o}=r;_.isNullish(n)||(typeof n=="number"||typeof n=="bigint")&&(n=F.numberToHex(n)),_.isNullish(o)||(typeof o=="number"||typeof o=="bigint")&&(o=F.numberToHex(o));const i=Object.assign(Object.assign({},r),{fromBlock:o,toBlock:n});return(yield c.getLogs(t.requestManager,i)).map(m=>typeof m=="string"?m:a.format(A.logSchema,m,e))})}function ut(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getChainId(t.requestManager);return a.format({format:"uint"},e,r)})}function ft(t,r,e,n=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const i=e.map(m=>a.format({format:"bytes"},m,s.ETH_DATA_FORMAT)),d=T.isBlockTag(n)?n:a.format({format:"uint"},n,s.ETH_DATA_FORMAT),u=yield c.getProof(t.requestManager,r,i,d);return a.format(A.accountSchema,u,o)})}function dt(t,r,e=t.defaultBlock,n,o){return f(this,void 0,void 0,function*(){const i=a.format({format:"uint"},r,s.ETH_DATA_FORMAT),d=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),u=a.format({type:"array",items:{format:"uint"}},n,j.NUMBER_DATA_FORMAT),m=yield c.getFeeHistory(t.requestManager,i,d,u);return a.format(A.feeHistorySchema,m,o)})}function mt(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=T.isBlockTag(e)?e:a.format({format:"uint"},e,s.ETH_DATA_FORMAT),i=yield c.createAccessList(t.requestManager,y.formatTransaction(r,s.ETH_DATA_FORMAT),o);return a.format(A.accessListResultSchema,i,n)})}function lt(t,r,e,n,o){return f(this,void 0,void 0,function*(){const i=yield c.signTypedData(t.requestManager,r,e,n);return a.format({format:"bytes"},i,o)})}exports.call=it;exports.createAccessList=mt;exports.estimateGas=st;exports.getBalance=K;exports.getBlock=X;exports.getBlockNumber=J;exports.getBlockTransactionCount=Y;exports.getBlockUncleCount=Z;exports.getChainId=ut;exports.getCode=V;exports.getFeeHistory=dt;exports.getGasPrice=z;exports.getHashRate=W;exports.getLogs=ct;exports.getPendingTransactions=C;exports.getProof=ft;exports.getStorageAt=Q;exports.getTransaction=x;exports.getTransactionCount=et;exports.getTransactionFromBlock=$;exports.getTransactionReceipt=tt;exports.getUncle=w;exports.isSyncing=G;exports.sendSignedTransaction=nt;exports.sendTransaction=rt;exports.sign=ot;exports.signTransaction=at;exports.signTypedData=lt;
@@ -28,11 +28,11 @@ import "../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
28
28
  import "../../../@ethereumjs/rlp/dist/index.js";
29
29
  import "../../../web3-eth-accounts/lib/esm/tx/types.js";
30
30
  import { TransactionFactory as j } from "../../../web3-eth-accounts/lib/esm/tx/transactionFactory.js";
31
- import { getSyncing as U, getHashRate as N, getGasPrice as L, getBlockNumber as G, getBalance as W, getStorageAt as z, getCode as J, getBlockByHash as K, getBlockByNumber as b, getBlockTransactionCountByHash as Q, getBlockTransactionCountByNumber as V, getUncleCountByBlockHash as X, getUncleCountByBlockNumber as Y, getUncleByBlockHashAndIndex as Z, getUncleByBlockNumberAndIndex as w, getTransactionByHash as x, getPendingTransactions as C, getTransactionByBlockHashAndIndex as tt, getTransactionByBlockNumberAndIndex as et, getTransactionReceipt as nt, getTransactionCount as rt, sendRawTransaction as ot, sign as it, signTransaction as at, call as st, estimateGas as ct, getLogs as ut, getChainId as dt, getProof as ft, getFeeHistory as mt, createAccessList as lt, signTypedData as gt } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
31
+ import { getSyncing as U, getHashRate as N, getGasPrice as L, getBlockNumber as G, getBalance as W, getStorageAt as b, getCode as z, getBlockByHash as J, getBlockByNumber as K, getBlockTransactionCountByHash as Q, getBlockTransactionCountByNumber as V, getUncleCountByBlockHash as X, getUncleCountByBlockNumber as Y, getUncleByBlockHashAndIndex as Z, getUncleByBlockNumberAndIndex as w, getTransactionByHash as x, getPendingTransactions as C, getTransactionByBlockHashAndIndex as tt, getTransactionByBlockNumberAndIndex as et, getTransactionReceipt as nt, getTransactionCount as ot, sendRawTransaction as rt, sign as it, signTransaction as at, call as st, estimateGas as ct, getLogs as ut, getChainId as dt, getProof as ft, getFeeHistory as mt, createAccessList as lt, signTypedData as gt } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
32
32
  import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
33
33
  import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
34
34
  import { decodeSignedTransaction as pt } from "./utils/decode_signed_transaction.js";
35
- import { blockSchema as k, transactionReceiptSchema as M, SignatureObjectSchema as yt, logSchema as ht, accountSchema as vt, feeHistorySchema as Bt, accessListResultSchema as Tt } from "./schemas.js";
35
+ import { blockSchema as k, transactionReceiptSchema as M, SignatureObjectSchema as yt, logSchema as ht, accountSchema as vt, feeHistorySchema as Tt, accessListResultSchema as Bt } from "./schemas.js";
36
36
  import { getTransactionFromOrToAttr as H } from "./utils/transaction_builder.js";
37
37
  import { formatTransaction as p } from "./utils/format_transaction.js";
38
38
  import { trySendTransaction as Ft } from "./utils/try_send_transaction.js";
@@ -41,8 +41,8 @@ import { NUMBER_DATA_FORMAT as St } from "./constants.js";
41
41
  import { SendTxHelper as O } from "./utils/send_tx_helper.js";
42
42
  import { format as i } from "../../../web3-utils/lib/esm/formatter.js";
43
43
  import { bytesToUint8Array as Mt, hexToBytes as qt, numberToHex as R } from "../../../web3-utils/lib/esm/converters.js";
44
- var u = function(t, n, e, r) {
45
- function o(a) {
44
+ var u = globalThis && globalThis.__awaiter || function(t, n, e, o) {
45
+ function r(a) {
46
46
  return a instanceof e ? a : new e(function(d) {
47
47
  d(a);
48
48
  });
@@ -50,30 +50,30 @@ var u = function(t, n, e, r) {
50
50
  return new (e || (e = Promise))(function(a, d) {
51
51
  function s(m) {
52
52
  try {
53
- g(r.next(m));
53
+ g(o.next(m));
54
54
  } catch (y) {
55
55
  d(y);
56
56
  }
57
57
  }
58
58
  function f(m) {
59
59
  try {
60
- g(r.throw(m));
60
+ g(o.throw(m));
61
61
  } catch (y) {
62
62
  d(y);
63
63
  }
64
64
  }
65
65
  function g(m) {
66
- m.done ? a(m.value) : o(m.value).then(s, f);
66
+ m.done ? a(m.value) : r(m.value).then(s, f);
67
67
  }
68
- g((r = r.apply(t, n || [])).next());
68
+ g((o = o.apply(t, n || [])).next());
69
69
  });
70
- }, Ht = function(t, n) {
70
+ }, Ht = globalThis && globalThis.__rest || function(t, n) {
71
71
  var e = {};
72
- for (var r in t)
73
- Object.prototype.hasOwnProperty.call(t, r) && n.indexOf(r) < 0 && (e[r] = t[r]);
72
+ for (var o in t)
73
+ Object.prototype.hasOwnProperty.call(t, o) && n.indexOf(o) < 0 && (e[o] = t[o]);
74
74
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
75
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
76
- n.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (e[r[o]] = t[r[o]]);
75
+ for (var r = 0, o = Object.getOwnPropertySymbols(t); r < o.length; r++)
76
+ n.indexOf(o[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, o[r]) && (e[o[r]] = t[o[r]]);
77
77
  return e;
78
78
  };
79
79
  const pe = (t) => u(void 0, void 0, void 0, function* () {
@@ -97,124 +97,124 @@ function ve(t, n) {
97
97
  return i({ format: "uint" }, e, n);
98
98
  });
99
99
  }
100
- function Be(t, n, e = t.defaultBlock, r) {
100
+ function Te(t, n, e = t.defaultBlock, o) {
101
101
  return u(this, void 0, void 0, function* () {
102
- const o = l(e) ? e : i({ format: "uint" }, e, c), a = yield W(t.requestManager, n, o);
103
- return i({ format: "uint" }, a, r);
102
+ const r = l(e) ? e : i({ format: "uint" }, e, c), a = yield W(t.requestManager, n, r);
103
+ return i({ format: "uint" }, a, o);
104
104
  });
105
105
  }
106
- function Te(t, n, e, r = t.defaultBlock, o) {
106
+ function Be(t, n, e, o = t.defaultBlock, r) {
107
107
  return u(this, void 0, void 0, function* () {
108
- const a = i({ format: "uint" }, e, c), d = l(r) ? r : i({ format: "uint" }, r, c), s = yield z(t.requestManager, n, a, d);
109
- return i({ format: "bytes" }, s, o);
108
+ const a = i({ format: "uint" }, e, c), d = l(o) ? o : i({ format: "uint" }, o, c), s = yield b(t.requestManager, n, a, d);
109
+ return i({ format: "bytes" }, s, r);
110
110
  });
111
111
  }
112
- function Fe(t, n, e = t.defaultBlock, r) {
112
+ function Fe(t, n, e = t.defaultBlock, o) {
113
113
  return u(this, void 0, void 0, function* () {
114
- const o = l(e) ? e : i({ format: "uint" }, e, c), a = yield J(t.requestManager, n, o);
115
- return i({ format: "bytes" }, a, r);
114
+ const r = l(e) ? e : i({ format: "uint" }, e, c), a = yield z(t.requestManager, n, r);
115
+ return i({ format: "bytes" }, a, o);
116
116
  });
117
117
  }
118
- function Se(t, n = t.defaultBlock, e = !1, r) {
118
+ function Se(t, n = t.defaultBlock, e = !1, o) {
119
119
  return u(this, void 0, void 0, function* () {
120
- let o;
120
+ let r;
121
121
  if (v(n)) {
122
122
  const a = i({ format: "bytes32" }, n, c);
123
- o = yield K(t.requestManager, a, e);
123
+ r = yield J(t.requestManager, a, e);
124
124
  } else {
125
125
  const a = l(n) ? n : i({ format: "uint" }, n, c);
126
- o = yield b(t.requestManager, a, e);
126
+ r = yield K(t.requestManager, a, e);
127
127
  }
128
- return i(k, o, r);
128
+ return i(k, r, o);
129
129
  });
130
130
  }
131
131
  function Me(t, n = t.defaultBlock, e) {
132
132
  return u(this, void 0, void 0, function* () {
133
- let r;
133
+ let o;
134
134
  if (v(n)) {
135
- const o = i({ format: "bytes32" }, n, c);
136
- r = yield Q(t.requestManager, o);
135
+ const r = i({ format: "bytes32" }, n, c);
136
+ o = yield Q(t.requestManager, r);
137
137
  } else {
138
- const o = l(n) ? n : i({ format: "uint" }, n, c);
139
- r = yield V(t.requestManager, o);
138
+ const r = l(n) ? n : i({ format: "uint" }, n, c);
139
+ o = yield V(t.requestManager, r);
140
140
  }
141
- return i({ format: "uint" }, r, e);
141
+ return i({ format: "uint" }, o, e);
142
142
  });
143
143
  }
144
144
  function qe(t, n = t.defaultBlock, e) {
145
145
  return u(this, void 0, void 0, function* () {
146
- let r;
146
+ let o;
147
147
  if (v(n)) {
148
- const o = i({ format: "bytes32" }, n, c);
149
- r = yield X(t.requestManager, o);
148
+ const r = i({ format: "bytes32" }, n, c);
149
+ o = yield X(t.requestManager, r);
150
150
  } else {
151
- const o = l(n) ? n : i({ format: "uint" }, n, c);
152
- r = yield Y(t.requestManager, o);
151
+ const r = l(n) ? n : i({ format: "uint" }, n, c);
152
+ o = yield Y(t.requestManager, r);
153
153
  }
154
- return i({ format: "uint" }, r, e);
154
+ return i({ format: "uint" }, o, e);
155
155
  });
156
156
  }
157
- function He(t, n = t.defaultBlock, e, r) {
157
+ function He(t, n = t.defaultBlock, e, o) {
158
158
  return u(this, void 0, void 0, function* () {
159
- const o = i({ format: "uint" }, e, c);
159
+ const r = i({ format: "uint" }, e, c);
160
160
  let a;
161
161
  if (v(n)) {
162
162
  const d = i({ format: "bytes32" }, n, c);
163
- a = yield Z(t.requestManager, d, o);
163
+ a = yield Z(t.requestManager, d, r);
164
164
  } else {
165
165
  const d = l(n) ? n : i({ format: "uint" }, n, c);
166
- a = yield w(t.requestManager, d, o);
166
+ a = yield w(t.requestManager, d, r);
167
167
  }
168
- return i(k, a, r);
168
+ return i(k, a, o);
169
169
  });
170
170
  }
171
171
  function Re(t, n, e) {
172
172
  return u(this, void 0, void 0, function* () {
173
- const r = i({ format: "bytes32" }, n, S), o = yield x(t.requestManager, r);
174
- return h(o) ? o : p(o, e, { fillInputAndData: !0 });
173
+ const o = i({ format: "bytes32" }, n, S), r = yield x(t.requestManager, o);
174
+ return h(r) ? r : p(r, e, { fillInputAndData: !0 });
175
175
  });
176
176
  }
177
177
  function Ae(t, n) {
178
178
  return u(this, void 0, void 0, function* () {
179
- return (yield C(t.requestManager)).map((r) => p(r, n, {
179
+ return (yield C(t.requestManager)).map((o) => p(o, n, {
180
180
  fillInputAndData: !0
181
181
  }));
182
182
  });
183
183
  }
184
- function ke(t, n = t.defaultBlock, e, r) {
184
+ function ke(t, n = t.defaultBlock, e, o) {
185
185
  return u(this, void 0, void 0, function* () {
186
- const o = i({ format: "uint" }, e, c);
186
+ const r = i({ format: "uint" }, e, c);
187
187
  let a;
188
188
  if (v(n)) {
189
189
  const d = i({ format: "bytes32" }, n, c);
190
- a = yield tt(t.requestManager, d, o);
190
+ a = yield tt(t.requestManager, d, r);
191
191
  } else {
192
192
  const d = l(n) ? n : i({ format: "uint" }, n, c);
193
- a = yield et(t.requestManager, d, o);
193
+ a = yield et(t.requestManager, d, r);
194
194
  }
195
- return h(a) ? a : p(a, r, { fillInputAndData: !0 });
195
+ return h(a) ? a : p(a, o, { fillInputAndData: !0 });
196
196
  });
197
197
  }
198
198
  function $e(t, n, e) {
199
199
  return u(this, void 0, void 0, function* () {
200
- const r = i({ format: "bytes32" }, n, S), o = yield nt(t.requestManager, r);
201
- return h(o) ? o : i(M, o, e);
200
+ const o = i({ format: "bytes32" }, n, S), r = yield nt(t.requestManager, o);
201
+ return h(r) ? r : i(M, r, e);
202
202
  });
203
203
  }
204
- function Oe(t, n, e = t.defaultBlock, r) {
204
+ function Oe(t, n, e = t.defaultBlock, o) {
205
205
  return u(this, void 0, void 0, function* () {
206
- const o = l(e) ? e : i({ format: "uint" }, e, c), a = yield rt(t.requestManager, n, o);
207
- return i({ format: "uint" }, a, r);
206
+ const r = l(e) ? e : i({ format: "uint" }, e, c), a = yield ot(t.requestManager, n, r);
207
+ return i({ format: "uint" }, a, o);
208
208
  });
209
209
  }
210
- function _e(t, n, e, r = { checkRevertBeforeSending: !0 }) {
211
- const o = new A((a, d) => {
210
+ function _e(t, n, e, o = { checkRevertBeforeSending: !0 }) {
211
+ const r = new A((a, d) => {
212
212
  setImmediate(() => {
213
213
  u(this, void 0, void 0, function* () {
214
214
  const s = new O({
215
215
  web3Context: t,
216
- promiEvent: o,
217
- options: r,
216
+ promiEvent: r,
217
+ options: o,
218
218
  returnFormat: e
219
219
  });
220
220
  let f = p(Object.assign(Object.assign({}, n), { from: H("from", t, n), to: H("to", t, n) }), c);
@@ -230,12 +230,12 @@ function _e(t, n, e, r = { checkRevertBeforeSending: !0 }) {
230
230
  tx: f
231
231
  }), y = i({ format: "bytes32" }, m, e);
232
232
  s.emitSent(f), s.emitTransactionHash(y);
233
- const q = yield $(t, m, e), B = s.getReceiptWithEvents(i(M, q, e));
234
- s.emitReceipt(B), a(yield s.handleResolve({
235
- receipt: B,
233
+ const q = yield $(t, m, e), T = s.getReceiptWithEvents(i(M, q, e));
234
+ s.emitReceipt(T), a(yield s.handleResolve({
235
+ receipt: T,
236
236
  tx: f
237
237
  })), s.emitConfirmation({
238
- receipt: B,
238
+ receipt: T,
239
239
  transactionHash: m
240
240
  });
241
241
  } catch (g) {
@@ -247,16 +247,16 @@ function _e(t, n, e, r = { checkRevertBeforeSending: !0 }) {
247
247
  });
248
248
  });
249
249
  });
250
- return o;
250
+ return r;
251
251
  }
252
- function Pe(t, n, e, r = { checkRevertBeforeSending: !0 }) {
253
- const o = new A((a, d) => {
252
+ function Pe(t, n, e, o = { checkRevertBeforeSending: !0 }) {
253
+ const r = new A((a, d) => {
254
254
  setImmediate(() => {
255
255
  u(this, void 0, void 0, function* () {
256
256
  const s = new O({
257
257
  web3Context: t,
258
- promiEvent: o,
259
- options: r,
258
+ promiEvent: r,
259
+ options: o,
260
260
  returnFormat: e
261
261
  }), f = i({ format: "bytes" }, n, c), g = j.fromSerializedData(Mt(qt(f))), m = Object.assign(Object.assign({}, g.toJSON()), {
262
262
  // Some providers will default `from` to address(0) causing the error
@@ -267,21 +267,21 @@ function Pe(t, n, e, r = { checkRevertBeforeSending: !0 }) {
267
267
  from: g.getSenderAddress().toString()
268
268
  });
269
269
  try {
270
- const { v: y, r: q, s: B } = m, _ = Ht(m, ["v", "r", "s"]);
270
+ const { v: y, r: q, s: T } = m, _ = Ht(m, ["v", "r", "s"]);
271
271
  yield s.checkRevertBeforeSending(_), s.emitSending(f);
272
- const T = yield Ft(t, () => u(this, void 0, void 0, function* () {
273
- return ot(t.requestManager, f);
272
+ const B = yield Ft(t, () => u(this, void 0, void 0, function* () {
273
+ return rt(t.requestManager, f);
274
274
  }));
275
275
  s.emitSent(f);
276
- const P = i({ format: "bytes32" }, T, e);
276
+ const P = i({ format: "bytes32" }, B, e);
277
277
  s.emitTransactionHash(P);
278
- const I = yield $(t, T, e), F = s.getReceiptWithEvents(i(M, I, e));
278
+ const I = yield $(t, B, e), F = s.getReceiptWithEvents(i(M, I, e));
279
279
  s.emitReceipt(F), a(yield s.handleResolve({
280
280
  receipt: F,
281
281
  tx: m
282
282
  })), s.emitConfirmation({
283
283
  receipt: F,
284
- transactionHash: T
284
+ transactionHash: B
285
285
  });
286
286
  } catch (y) {
287
287
  d(yield s.handleError({
@@ -292,52 +292,52 @@ function Pe(t, n, e, r = { checkRevertBeforeSending: !0 }) {
292
292
  });
293
293
  });
294
294
  });
295
- return o;
295
+ return r;
296
296
  }
297
- function Ie(t, n, e, r) {
298
- var o;
297
+ function Ie(t, n, e, o) {
298
+ var r;
299
299
  return u(this, void 0, void 0, function* () {
300
300
  const a = i({ format: "bytes" }, n, S);
301
- if (!((o = t.wallet) === null || o === void 0) && o.get(e)) {
301
+ if (!((r = t.wallet) === null || r === void 0) && r.get(e)) {
302
302
  const f = t.wallet.get(e).sign(a);
303
- return i(yt, f, r);
303
+ return i(yt, f, o);
304
304
  }
305
305
  if (typeof e == "number")
306
306
  throw new E(n, 'RPC method "eth_sign" does not support index signatures');
307
307
  const d = yield it(t.requestManager, e, a);
308
- return i({ format: "bytes" }, d, r);
308
+ return i({ format: "bytes" }, d, o);
309
309
  });
310
310
  }
311
311
  function Ee(t, n, e) {
312
312
  return u(this, void 0, void 0, function* () {
313
- const r = yield at(t.requestManager, p(n, c));
314
- return D(r) ? pt(r, e, {
313
+ const o = yield at(t.requestManager, p(n, c));
314
+ return D(o) ? pt(o, e, {
315
315
  fillInputAndData: !0
316
316
  }) : {
317
- raw: i({ format: "bytes" }, r.raw, e),
318
- tx: p(r.tx, e, {
317
+ raw: i({ format: "bytes" }, o.raw, e),
318
+ tx: p(o.tx, e, {
319
319
  fillInputAndData: !0
320
320
  })
321
321
  };
322
322
  });
323
323
  }
324
- function De(t, n, e = t.defaultBlock, r) {
324
+ function De(t, n, e = t.defaultBlock, o) {
325
325
  return u(this, void 0, void 0, function* () {
326
- const o = l(e) ? e : i({ format: "uint" }, e, c), a = yield st(t.requestManager, p(n, c), o);
327
- return i({ format: "bytes" }, a, r);
326
+ const r = l(e) ? e : i({ format: "uint" }, e, c), a = yield st(t.requestManager, p(n, c), r);
327
+ return i({ format: "bytes" }, a, o);
328
328
  });
329
329
  }
330
- function je(t, n, e = t.defaultBlock, r) {
330
+ function je(t, n, e = t.defaultBlock, o) {
331
331
  return u(this, void 0, void 0, function* () {
332
- const o = p(n, c), a = l(e) ? e : i({ format: "uint" }, e, c), d = yield ct(t.requestManager, o, a);
333
- return i({ format: "uint" }, d, r);
332
+ const r = p(n, c), a = l(e) ? e : i({ format: "uint" }, e, c), d = yield ct(t.requestManager, r, a);
333
+ return i({ format: "uint" }, d, o);
334
334
  });
335
335
  }
336
336
  function Ue(t, n, e) {
337
337
  return u(this, void 0, void 0, function* () {
338
- let { toBlock: r, fromBlock: o } = n;
339
- h(r) || (typeof r == "number" || typeof r == "bigint") && (r = R(r)), h(o) || (typeof o == "number" || typeof o == "bigint") && (o = R(o));
340
- const a = Object.assign(Object.assign({}, n), { fromBlock: o, toBlock: r });
338
+ let { toBlock: o, fromBlock: r } = n;
339
+ h(o) || (typeof o == "number" || typeof o == "bigint") && (o = R(o)), h(r) || (typeof r == "number" || typeof r == "bigint") && (r = R(r));
340
+ const a = Object.assign(Object.assign({}, n), { fromBlock: r, toBlock: o });
341
341
  return (yield ut(t.requestManager, a)).map((f) => typeof f == "string" ? f : i(ht, f, e));
342
342
  });
343
343
  }
@@ -352,40 +352,40 @@ function Ne(t, n) {
352
352
  );
353
353
  });
354
354
  }
355
- function Le(t, n, e, r = t.defaultBlock, o) {
355
+ function Le(t, n, e, o = t.defaultBlock, r) {
356
356
  return u(this, void 0, void 0, function* () {
357
- const a = e.map((f) => i({ format: "bytes" }, f, c)), d = l(r) ? r : i({ format: "uint" }, r, c), s = yield ft(t.requestManager, n, a, d);
358
- return i(vt, s, o);
357
+ const a = e.map((f) => i({ format: "bytes" }, f, c)), d = l(o) ? o : i({ format: "uint" }, o, c), s = yield ft(t.requestManager, n, a, d);
358
+ return i(vt, s, r);
359
359
  });
360
360
  }
361
- function Ge(t, n, e = t.defaultBlock, r, o) {
361
+ function Ge(t, n, e = t.defaultBlock, o, r) {
362
362
  return u(this, void 0, void 0, function* () {
363
363
  const a = i({ format: "uint" }, n, c), d = l(e) ? e : i({ format: "uint" }, e, c), s = i({
364
364
  type: "array",
365
365
  items: {
366
366
  format: "uint"
367
367
  }
368
- }, r, St), f = yield mt(t.requestManager, a, d, s);
369
- return i(Bt, f, o);
368
+ }, o, St), f = yield mt(t.requestManager, a, d, s);
369
+ return i(Tt, f, r);
370
370
  });
371
371
  }
372
- function We(t, n, e = t.defaultBlock, r) {
372
+ function We(t, n, e = t.defaultBlock, o) {
373
373
  return u(this, void 0, void 0, function* () {
374
- const o = l(e) ? e : i({ format: "uint" }, e, c), a = yield lt(t.requestManager, p(n, c), o);
375
- return i(Tt, a, r);
374
+ const r = l(e) ? e : i({ format: "uint" }, e, c), a = yield lt(t.requestManager, p(n, c), r);
375
+ return i(Bt, a, o);
376
376
  });
377
377
  }
378
- function ze(t, n, e, r, o) {
378
+ function be(t, n, e, o, r) {
379
379
  return u(this, void 0, void 0, function* () {
380
- const a = yield gt(t.requestManager, n, e, r);
381
- return i({ format: "bytes" }, a, o);
380
+ const a = yield gt(t.requestManager, n, e, o);
381
+ return i({ format: "bytes" }, a, r);
382
382
  });
383
383
  }
384
384
  export {
385
385
  De as call,
386
386
  We as createAccessList,
387
387
  je as estimateGas,
388
- Be as getBalance,
388
+ Te as getBalance,
389
389
  Se as getBlock,
390
390
  ve as getBlockNumber,
391
391
  Me as getBlockTransactionCount,
@@ -398,7 +398,7 @@ export {
398
398
  Ue as getLogs,
399
399
  Ae as getPendingTransactions,
400
400
  Le as getProof,
401
- Te as getStorageAt,
401
+ Be as getStorageAt,
402
402
  Re as getTransaction,
403
403
  Oe as getTransactionCount,
404
404
  ke as getTransactionFromBlock,
@@ -409,5 +409,5 @@ export {
409
409
  _e as sendTransaction,
410
410
  Ie as sign,
411
411
  Ee as signTransaction,
412
- ze as signTypedData
412
+ be as signTypedData
413
413
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../web3-errors/lib/esm/errors/contract_errors.cjs"),v=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const E=require("../../../../web3-eth-abi/lib/esm/utils.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const m=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-abi/lib/esm/coders/base/number.cjs");const p=require("../../../../web3-eth-abi/lib/esm/decode_contract_error_data.cjs"),g=require("../rpc_method_wrappers.cjs");var q=function(e,u,n,r){function i(t){return t instanceof n?t:new n(function(a){a(t)})}return new(n||(n=Promise))(function(t,a){function c(s){try{d(r.next(s))}catch(f){a(f)}}function o(s){try{d(r.throw(s))}catch(f){a(f)}}function d(s){s.done?t(s.value):i(s.value).then(c,o)}d((r=r.apply(e,u||[])).next())})};const _=(e,u)=>{var n,r,i,t,a;if(e instanceof l.ContractExecutionError&&e.cause instanceof l.Eip838ExecutionError){if(u!==void 0){const c=u.filter(o=>E.isAbiErrorFragment(o));return p.decodeContractErrorData(c,e.cause),{reason:e.cause.message,signature:(n=e.cause.data)===null||n===void 0?void 0:n.slice(0,10),data:(r=e.cause.data)===null||r===void 0?void 0:r.substring(10),customErrorName:e.cause.errorName,customErrorDecodedSignature:e.cause.errorSignature,customErrorArguments:e.cause.errorArgs}}return{reason:e.cause.message,signature:(i=e.cause.data)===null||i===void 0?void 0:i.slice(0,10),data:(t=e.cause.data)===null||t===void 0?void 0:t.substring(10)}}if(e instanceof v.InvalidResponseError&&!Array.isArray((a=e.cause)===null||a===void 0?void 0:a.errors)&&e.cause!==void 0)return e.cause.message;throw e};function y(e,u,n,r=m.DEFAULT_RETURN_FORMAT){return q(this,void 0,void 0,function*(){try{yield g.call(e,u,e.defaultBlock,r);return}catch(i){return _(i,n)}})}exports.getRevertReason=y;exports.parseTransactionError=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../../web3-errors/lib/esm/errors/contract_errors.cjs"),v=require("../../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const g=require("../../../../web3-eth-abi/lib/esm/utils.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");const E=require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../../web3-eth-abi/lib/esm/coders/base/number.cjs");const m=require("../../../../web3-eth-abi/lib/esm/decode_contract_error_data.cjs"),p=require("../rpc_method_wrappers.cjs");var q=globalThis&&globalThis.__awaiter||function(e,u,r,t){function i(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(s){try{d(t.next(s))}catch(l){a(l)}}function c(s){try{d(t.throw(s))}catch(l){a(l)}}function d(s){s.done?n(s.value):i(s.value).then(o,c)}d((t=t.apply(e,u||[])).next())})};const _=(e,u)=>{var r,t,i,n,a;if(e instanceof f.ContractExecutionError&&e.cause instanceof f.Eip838ExecutionError){if(u!==void 0){const o=u.filter(c=>g.isAbiErrorFragment(c));return m.decodeContractErrorData(o,e.cause),{reason:e.cause.message,signature:(r=e.cause.data)===null||r===void 0?void 0:r.slice(0,10),data:(t=e.cause.data)===null||t===void 0?void 0:t.substring(10),customErrorName:e.cause.errorName,customErrorDecodedSignature:e.cause.errorSignature,customErrorArguments:e.cause.errorArgs}}return{reason:e.cause.message,signature:(i=e.cause.data)===null||i===void 0?void 0:i.slice(0,10),data:(n=e.cause.data)===null||n===void 0?void 0:n.substring(10)}}if(e instanceof v.InvalidResponseError&&!Array.isArray((a=e.cause)===null||a===void 0?void 0:a.errors)&&e.cause!==void 0)return e.cause.message;throw e};function h(e,u,r,t=E.DEFAULT_RETURN_FORMAT){return q(this,void 0,void 0,function*(){try{yield p.call(e,u,e.defaultBlock,t);return}catch(i){return _(i,r)}})}exports.getRevertReason=h;exports.parseTransactionError=_;
@@ -8,44 +8,44 @@ import { DEFAULT_RETURN_FORMAT as E } from "../../../../web3-types/lib/esm/data_
8
8
  import "../../../../web3-types/lib/esm/eth_types.js";
9
9
  import "../../../../web3-types/lib/esm/web3_base_provider.js";
10
10
  import "../../../../web3-eth-abi/lib/esm/coders/base/number.js";
11
- import { decodeContractErrorData as _ } from "../../../../web3-eth-abi/lib/esm/decode_contract_error_data.js";
12
- import { call as g } from "../rpc_method_wrappers.js";
13
- var h = function(t, u, n, i) {
14
- function o(e) {
15
- return e instanceof n ? e : new n(function(a) {
16
- a(e);
11
+ import { decodeContractErrorData as g } from "../../../../web3-eth-abi/lib/esm/decode_contract_error_data.js";
12
+ import { call as _ } from "../rpc_method_wrappers.js";
13
+ var h = globalThis && globalThis.__awaiter || function(t, s, i, n) {
14
+ function o(a) {
15
+ return a instanceof i ? a : new i(function(e) {
16
+ e(a);
17
17
  });
18
18
  }
19
- return new (n || (n = Promise))(function(e, a) {
20
- function s(r) {
19
+ return new (i || (i = Promise))(function(a, e) {
20
+ function u(r) {
21
21
  try {
22
- d(i.next(r));
22
+ d(n.next(r));
23
23
  } catch (f) {
24
- a(f);
24
+ e(f);
25
25
  }
26
26
  }
27
27
  function c(r) {
28
28
  try {
29
- d(i.throw(r));
29
+ d(n.throw(r));
30
30
  } catch (f) {
31
- a(f);
31
+ e(f);
32
32
  }
33
33
  }
34
34
  function d(r) {
35
- r.done ? e(r.value) : o(r.value).then(s, c);
35
+ r.done ? a(r.value) : o(r.value).then(u, c);
36
36
  }
37
- d((i = i.apply(t, u || [])).next());
37
+ d((n = n.apply(t, s || [])).next());
38
38
  });
39
39
  };
40
- const y = (t, u) => {
41
- var n, i, o, e, a;
40
+ const y = (t, s) => {
41
+ var i, n, o, a, e;
42
42
  if (t instanceof m && t.cause instanceof l) {
43
- if (u !== void 0) {
44
- const s = u.filter((c) => v(c));
45
- return _(s, t.cause), {
43
+ if (s !== void 0) {
44
+ const u = s.filter((c) => v(c));
45
+ return g(u, t.cause), {
46
46
  reason: t.cause.message,
47
- signature: (n = t.cause.data) === null || n === void 0 ? void 0 : n.slice(0, 10),
48
- data: (i = t.cause.data) === null || i === void 0 ? void 0 : i.substring(10),
47
+ signature: (i = t.cause.data) === null || i === void 0 ? void 0 : i.slice(0, 10),
48
+ data: (n = t.cause.data) === null || n === void 0 ? void 0 : n.substring(10),
49
49
  customErrorName: t.cause.errorName,
50
50
  customErrorDecodedSignature: t.cause.errorSignature,
51
51
  customErrorArguments: t.cause.errorArgs
@@ -54,20 +54,20 @@ const y = (t, u) => {
54
54
  return {
55
55
  reason: t.cause.message,
56
56
  signature: (o = t.cause.data) === null || o === void 0 ? void 0 : o.slice(0, 10),
57
- data: (e = t.cause.data) === null || e === void 0 ? void 0 : e.substring(10)
57
+ data: (a = t.cause.data) === null || a === void 0 ? void 0 : a.substring(10)
58
58
  };
59
59
  }
60
- if (t instanceof p && !Array.isArray((a = t.cause) === null || a === void 0 ? void 0 : a.errors) && t.cause !== void 0)
60
+ if (t instanceof p && !Array.isArray((e = t.cause) === null || e === void 0 ? void 0 : e.errors) && t.cause !== void 0)
61
61
  return t.cause.message;
62
62
  throw t;
63
63
  };
64
- function B(t, u, n, i = E) {
64
+ function B(t, s, i, n = E) {
65
65
  return h(this, void 0, void 0, function* () {
66
66
  try {
67
- yield g(t, u, t.defaultBlock, i);
67
+ yield _(t, s, t.defaultBlock, n);
68
68
  return;
69
69
  } catch (o) {
70
- return y(o, n);
70
+ return y(o, i);
71
71
  }
72
72
  });
73
73
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const E=require("./get_revert_reason.cjs");var g=function(s,a,r,t){function f(o){return o instanceof r?o:new r(function(e){e(o)})}return new(r||(r=Promise))(function(o,e){function i(u){try{c(t.next(u))}catch(l){e(l)}}function n(u){try{c(t.throw(u))}catch(l){e(l)}}function c(u){u.done?o(u.value):f(u.value).then(i,n)}c((t=t.apply(s,a||[])).next())})};function m(s,a,r,t,f,o){return g(this,void 0,void 0,function*(){let e=o;e===void 0&&(t!==void 0?e=E.parseTransactionError(t):s.handleRevert&&a!==void 0&&(e=yield E.getRevertReason(s,a,f)));let i;if(e===void 0)i=new d.TransactionRevertedWithoutReasonError(r);else if(typeof e=="string")i=new d.TransactionRevertInstructionError(e,void 0,r);else if(e.customErrorName!==void 0&&e.customErrorDecodedSignature!==void 0&&e.customErrorArguments!==void 0){const n=e;i=new d.TransactionRevertWithCustomError(n.reason,n.customErrorName,n.customErrorDecodedSignature,n.customErrorArguments,n.signature,r,n.data)}else i=new d.TransactionRevertInstructionError(e.reason,e.signature,r,e.data);return i})}exports.getTransactionError=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const E=require("./get_revert_reason.cjs");var g=globalThis&&globalThis.__awaiter||function(s,a,e,t){function d(o){return o instanceof e?o:new e(function(r){r(o)})}return new(e||(e=Promise))(function(o,r){function i(u){try{f(t.next(u))}catch(l){r(l)}}function n(u){try{f(t.throw(u))}catch(l){r(l)}}function f(u){u.done?o(u.value):d(u.value).then(i,n)}f((t=t.apply(s,a||[])).next())})};function h(s,a,e,t,d,o){return g(this,void 0,void 0,function*(){let r=o;r===void 0&&(t!==void 0?r=E.parseTransactionError(t):s.handleRevert&&a!==void 0&&(r=yield E.getRevertReason(s,a,d)));let i;if(r===void 0)i=new c.TransactionRevertedWithoutReasonError(e);else if(typeof r=="string")i=new c.TransactionRevertInstructionError(r,void 0,e);else if(r.customErrorName!==void 0&&r.customErrorDecodedSignature!==void 0&&r.customErrorArguments!==void 0){const n=r;i=new c.TransactionRevertWithCustomError(n.reason,n.customErrorName,n.customErrorDecodedSignature,n.customErrorArguments,n.signature,e,n.data)}else i=new c.TransactionRevertInstructionError(r.reason,r.signature,e,r.data);return i})}exports.getTransactionError=h;