@ozdao/prometheus-framework 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
  2. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
  3. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
  4. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
  5. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
  6. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
  7. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  8. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
  9. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
  10. package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
  11. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  12. package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
  13. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
  14. package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
  15. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  16. package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
  17. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
  18. package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
  19. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
  20. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
  21. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
  23. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
  24. package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
  25. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  26. package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
  27. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  28. package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
  29. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  30. package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
  33. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
  34. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
  35. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
  36. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
  37. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
  38. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
  39. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
  40. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
  41. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  42. package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
  43. package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
  44. package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
  45. package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
  46. package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
  47. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
  48. package/dist/node_modules/web3/lib/esm/abi.js +5 -10
  49. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  50. package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
  51. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  52. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  53. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  54. package/dist/node_modules/web3/lib/esm/web3.js +53 -57
  55. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
  56. package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
  57. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  58. package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
  59. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  60. package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
  61. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  62. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
  63. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
  64. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  65. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  67. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
  68. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
  70. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
  72. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
  73. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
  74. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
  79. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
  80. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
  81. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
  82. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
  83. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
  84. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
  85. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
  86. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
  87. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
  88. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
  89. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  90. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
  91. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
  92. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
  93. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
  94. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
  95. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
  96. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
  97. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  98. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
  99. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  100. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
  101. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
  102. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
  103. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
  104. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
  105. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  106. package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  108. package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
  109. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
  110. package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
  111. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
  112. package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
  113. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
  115. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
  117. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
  119. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  120. package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
  121. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
  122. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
  123. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  124. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
  125. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
  126. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
  127. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  128. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
  129. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
  130. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
  131. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
  132. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
  133. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  134. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
  135. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
  136. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
  137. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  138. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
  139. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  140. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
  141. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  142. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
  143. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
  144. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
  145. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
  146. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
  147. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
  148. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
  149. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  150. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  151. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
  153. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
  155. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
  156. package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
  157. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
  159. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
  161. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
  163. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
  165. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
  167. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  169. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  171. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
  173. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
  174. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
  175. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
  177. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
  179. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
  181. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
  183. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
  185. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
  187. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
  188. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
  189. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
  197. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
  198. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
  199. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
  201. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
  203. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
  205. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
  213. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
  215. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
  217. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
  219. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
  221. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
  223. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
  225. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  227. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  229. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
  231. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +90 -47
  233. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +105 -41
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
  245. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +108 -94
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
  250. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
  257. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +106 -85
  273. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +31 -34
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
  276. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  278. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  280. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
  286. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
  288. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
  290. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
  292. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
  294. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
  295. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
  296. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
  297. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
  298. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
  299. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
  300. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
  302. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
  303. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
  304. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
  305. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
  306. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
  307. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
  308. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
  309. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
  310. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
  311. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
  312. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
  313. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
  314. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
  315. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
  316. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
  317. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
  318. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
  319. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
  320. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
  322. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
  324. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
  326. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
  328. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
  330. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
  332. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
  334. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
  336. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
  337. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
  338. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
  340. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
  342. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
  344. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
  345. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
  346. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
  348. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
  350. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
  352. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
  353. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
  354. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
  356. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
  358. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
  360. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +85 -79
  362. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  363. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
  364. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
  366. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  367. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
  368. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
  370. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +55 -169
  372. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +48 -59
  374. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +173 -94
  376. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +27 -20
  378. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
  380. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +67 -63
  382. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
  384. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
  386. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  388. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
  390. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
  392. package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
  394. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  396. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  398. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
  400. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
  402. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
  404. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +73 -44
  406. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
  408. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
  410. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
  412. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
  413. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
  414. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
  416. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
  418. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
  419. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
  420. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
  421. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
  422. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
  424. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
  426. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +246 -102
  428. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
  430. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
  432. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +56 -7
  434. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +82 -65
  436. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
  438. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
  439. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
  440. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
  442. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
  444. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
  446. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
  448. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
  450. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +89 -94
  452. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
  456. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  457. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  458. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  459. package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
  460. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  461. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +80 -71
  462. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
  464. package/dist/style.css +1 -1
  465. package/package.json +1 -1
  466. package/src/modules/orders/components/blocks/CardOrder.vue +2 -2
  467. package/src/modules/orders/components/pages/Orders.vue +0 -4
  468. package/src/modules/products/components/sections/FilterProducts.vue +9 -10
  469. package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const n=require("../../../web3-eth-abi/lib/esm/api/events_api.cjs"),r=require("../../../web3-eth-abi/lib/esm/api/functions_api.cjs"),o=require("../../../web3-eth-abi/lib/esm/api/logs_api.cjs"),e=require("../../../web3-eth-abi/lib/esm/api/parameters_api.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");const t={encodeEventSignature:n.encodeEventSignature,encodeFunctionCall:r.encodeFunctionCall,encodeFunctionSignature:r.encodeFunctionSignature,encodeParameter:e.encodeParameter,encodeParameters:e.encodeParameters,decodeParameter:e.decodeParameter,decodeParameters:e.decodeParameters,decodeLog:o.decodeLog};exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const n=require("../../../web3-eth-abi/lib/esm/api/events_api.cjs"),r=require("../../../web3-eth-abi/lib/esm/api/functions_api.cjs"),o=require("../../../web3-eth-abi/lib/esm/api/logs_api.cjs"),e=require("../../../web3-eth-abi/lib/esm/api/parameters_api.cjs"),t=require("../../../web3-eth-abi/lib/esm/coders/encode.cjs"),a={encodeEventSignature:n.encodeEventSignature,encodeFunctionCall:r.encodeFunctionCall,encodeFunctionSignature:r.encodeFunctionSignature,encodeParameter:e.encodeParameter,encodeParameters:t.encodeParameters,decodeParameter:e.decodeParameter,decodeParameters:e.decodeParameters,decodeLog:o.decodeLog};exports.default=a;
@@ -2,23 +2,18 @@ import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
2
2
  import { encodeEventSignature as e } from "../../../web3-eth-abi/lib/esm/api/events_api.js";
3
3
  import { encodeFunctionCall as o, encodeFunctionSignature as r } from "../../../web3-eth-abi/lib/esm/api/functions_api.js";
4
4
  import { decodeLog as t } from "../../../web3-eth-abi/lib/esm/api/logs_api.js";
5
- import { encodeParameter as m, encodeParameters as i, decodeParameter as a, decodeParameters as n } from "../../../web3-eth-abi/lib/esm/api/parameters_api.js";
6
- import "../../../web3-validator/lib/esm/formats.js";
7
- import "../../../web3-validator/lib/esm/default_validator.js";
8
- import "../../../web3-types/lib/esm/data_format_types.js";
9
- import "../../../web3-types/lib/esm/eth_types.js";
10
- import "../../../web3-types/lib/esm/web3_base_provider.js";
11
- import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
12
- const b = {
5
+ import { encodeParameter as m, decodeParameter as a, decodeParameters as n } from "../../../web3-eth-abi/lib/esm/api/parameters_api.js";
6
+ import { encodeParameters as d } from "../../../web3-eth-abi/lib/esm/coders/encode.js";
7
+ const P = {
13
8
  encodeEventSignature: e,
14
9
  encodeFunctionCall: o,
15
10
  encodeFunctionSignature: r,
16
11
  encodeParameter: m,
17
- encodeParameters: i,
12
+ encodeParameters: d,
18
13
  decodeParameter: a,
19
14
  decodeParameters: n,
20
15
  decodeLog: t
21
16
  };
22
17
  export {
23
- b as default
18
+ P as default
24
19
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const p=require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const f=require("../../../web3-eth-accounts/lib/esm/wallet.cjs"),o=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 g=require("../../../web3-utils/lib/esm/formatter.cjs");var v=globalThis&&globalThis.__awaiter||function(y,s,c,a){function d(u){return u instanceof c?u:new c(function(e){e(u)})}return new(c||(c=Promise))(function(u,e){function r(t){try{n(a.next(t))}catch(q){e(q)}}function i(t){try{n(a.throw(t))}catch(q){e(q)}}function n(t){t.done?u(t.value):d(t.value).then(r,i)}n((a=a.apply(y,s||[])).next())})};const T=y=>{const s=(e,r)=>v(void 0,void 0,void 0,function*(){const i=yield p.prepareTransactionForSigning(e,y),n=g.format({format:"bytes"},r,l.ETH_DATA_FORMAT);return o.signTransaction(i,n)}),c=e=>{const r=o.privateKeyToAccount(e);return Object.assign(Object.assign({},r),{signTransaction:i=>v(void 0,void 0,void 0,function*(){return s(i,r.privateKey)})})},a=(e,r,i)=>v(void 0,void 0,void 0,function*(){var n;const t=yield o.decrypt(e,r,(n=i==null?void 0:i.nonStrict)!==null&&n!==void 0?n:!0);return Object.assign(Object.assign({},t),{signTransaction:q=>v(void 0,void 0,void 0,function*(){return s(q,t.privateKey)})})}),d=()=>{const e=o.create();return Object.assign(Object.assign({},e),{signTransaction:r=>v(void 0,void 0,void 0,function*(){return s(r,e.privateKey)})})},u=new f.Wallet({create:d,privateKeyToAccount:c,decrypt:a});return{signTransaction:s,create:d,privateKeyToAccount:c,decrypt:a,recoverTransaction:o.recoverTransaction,hashMessage:o.hashMessage,sign:o.sign,recover:o.recover,encrypt:o.encrypt,wallet:u}};exports.initAccountsForContext=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=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("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const l=require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const T=require("../../../web3-eth-accounts/lib/esm/wallet.cjs"),r=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 f=require("../../../web3-utils/lib/esm/formatter.cjs");var v=globalThis&&globalThis.__awaiter||function(y,s,c,a){function q(u){return u instanceof c?u:new c(function(e){e(u)})}return new(c||(c=Promise))(function(u,e){function t(i){try{o(a.next(i))}catch(d){e(d)}}function n(i){try{o(a.throw(i))}catch(d){e(d)}}function o(i){i.done?u(i.value):q(i.value).then(t,n)}o((a=a.apply(y,s||[])).next())})};const g=y=>{const s=(e,t)=>v(void 0,void 0,void 0,function*(){const n=yield l.prepareTransactionForSigning(e,y),o=f.format({format:"bytes"},t,p.ETH_DATA_FORMAT);return r.signTransaction(n,o)}),c=e=>{const t=r.privateKeyToAccount(e);return Object.assign(Object.assign({},t),{signTransaction:n=>v(void 0,void 0,void 0,function*(){return s(n,t.privateKey)})})},a=(e,t,n)=>v(void 0,void 0,void 0,function*(){var o;const i=yield r.decrypt(e,t,(o=n==null?void 0:n.nonStrict)!==null&&o!==void 0?o:!0);return Object.assign(Object.assign({},i),{signTransaction:d=>v(void 0,void 0,void 0,function*(){return s(d,i.privateKey)})})}),q=()=>{const e=r.create();return Object.assign(Object.assign({},e),{signTransaction:t=>v(void 0,void 0,void 0,function*(){return s(t,e.privateKey)})})},u=new T.Wallet({create:q,privateKeyToAccount:c,decrypt:a});return{signTransaction:s,create:q,privateKeyToAccount:c,decrypt:a,recoverTransaction:r.recoverTransaction,hashMessage:r.hashMessage,sign:r.sign,recover:r.recover,encrypt:r.encrypt,wallet:u,privateKeyToAddress:r.privateKeyToAddress,parseAndValidatePrivateKey:r.parseAndValidatePrivateKey,privateKeyToPublicKey:r.privateKeyToPublicKey}};exports.initAccountsForContext=g;
@@ -10,7 +10,7 @@ import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
10
10
  import "../../../web3-eth/lib/esm/schemas.js";
11
11
  import "../../../web3-eth/lib/esm/constants.js";
12
12
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
13
- import { prepareTransactionForSigning as f } from "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
13
+ import { prepareTransactionForSigning as y } from "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
14
14
  import "../../../web3-core/lib/esm/web3_config.js";
15
15
  import "../../../web3-core/lib/esm/web3_request_manager.js";
16
16
  import "../../../web3-core/lib/esm/web3_subscription_manager.js";
@@ -20,8 +20,8 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
20
20
  import "../../../web3-eth-iban/lib/esm/iban.js";
21
21
  import "../../../web3-core/lib/esm/web3_promi_event.js";
22
22
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
23
- import { Wallet as y } from "../../../web3-eth-accounts/lib/esm/wallet.js";
24
- import { recoverTransaction as T, hashMessage as l, sign as g, recover as h, encrypt as b, signTransaction as x, privateKeyToAccount as A, decrypt as K, create as w } from "../../../web3-eth-accounts/lib/esm/account.js";
23
+ import { Wallet as f } from "../../../web3-eth-accounts/lib/esm/wallet.js";
24
+ import { recoverTransaction as T, hashMessage as l, sign as g, recover as h, encrypt as K, privateKeyToAddress as b, parseAndValidatePrivateKey as A, privateKeyToPublicKey as x, signTransaction as w, privateKeyToAccount as O, decrypt as _, create as j } from "../../../web3-eth-accounts/lib/esm/account.js";
25
25
  import "../../../crc-32/crc32.js";
26
26
  import "../../../web3-eth-accounts/lib/esm/common/types.js";
27
27
  import "../../../web3-eth-accounts/lib/esm/tx/constants.js";
@@ -30,7 +30,7 @@ import "../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.js";
30
30
  import "../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
31
31
  import "../../../@ethereumjs/rlp/dist/index.js";
32
32
  import "../../../web3-eth-accounts/lib/esm/tx/types.js";
33
- import { format as O } from "../../../web3-utils/lib/esm/formatter.js";
33
+ import { format as C } from "../../../web3-utils/lib/esm/formatter.js";
34
34
  var m = globalThis && globalThis.__awaiter || function(v, p, e, c) {
35
35
  function u(a) {
36
36
  return a instanceof e ? a : new e(function(t) {
@@ -40,45 +40,45 @@ var m = globalThis && globalThis.__awaiter || function(v, p, e, c) {
40
40
  return new (e || (e = Promise))(function(a, t) {
41
41
  function o(i) {
42
42
  try {
43
- r(c.next(i));
43
+ n(c.next(i));
44
44
  } catch (s) {
45
45
  t(s);
46
46
  }
47
47
  }
48
- function n(i) {
48
+ function r(i) {
49
49
  try {
50
- r(c.throw(i));
50
+ n(c.throw(i));
51
51
  } catch (s) {
52
52
  t(s);
53
53
  }
54
54
  }
55
- function r(i) {
56
- i.done ? a(i.value) : u(i.value).then(o, n);
55
+ function n(i) {
56
+ i.done ? a(i.value) : u(i.value).then(o, r);
57
57
  }
58
- r((c = c.apply(v, p || [])).next());
58
+ n((c = c.apply(v, p || [])).next());
59
59
  });
60
60
  };
61
- const et = (v) => {
61
+ const pt = (v) => {
62
62
  const p = (t, o) => m(void 0, void 0, void 0, function* () {
63
- const n = yield f(t, v), r = O({ format: "bytes" }, o, d);
64
- return x(n, r);
63
+ const r = yield y(t, v), n = C({ format: "bytes" }, o, d);
64
+ return w(r, n);
65
65
  }), e = (t) => {
66
- const o = A(t);
67
- return Object.assign(Object.assign({}, o), { signTransaction: (n) => m(void 0, void 0, void 0, function* () {
68
- return p(n, o.privateKey);
66
+ const o = O(t);
67
+ return Object.assign(Object.assign({}, o), { signTransaction: (r) => m(void 0, void 0, void 0, function* () {
68
+ return p(r, o.privateKey);
69
69
  }) });
70
- }, c = (t, o, n) => m(void 0, void 0, void 0, function* () {
71
- var r;
72
- const i = yield K(t, o, (r = n == null ? void 0 : n.nonStrict) !== null && r !== void 0 ? r : !0);
70
+ }, c = (t, o, r) => m(void 0, void 0, void 0, function* () {
71
+ var n;
72
+ const i = yield _(t, o, (n = r == null ? void 0 : r.nonStrict) !== null && n !== void 0 ? n : !0);
73
73
  return Object.assign(Object.assign({}, i), { signTransaction: (s) => m(void 0, void 0, void 0, function* () {
74
74
  return p(s, i.privateKey);
75
75
  }) });
76
76
  }), u = () => {
77
- const t = w();
77
+ const t = j();
78
78
  return Object.assign(Object.assign({}, t), { signTransaction: (o) => m(void 0, void 0, void 0, function* () {
79
79
  return p(o, t.privateKey);
80
80
  }) });
81
- }, a = new y({
81
+ }, a = new f({
82
82
  create: u,
83
83
  privateKeyToAccount: e,
84
84
  decrypt: c
@@ -92,10 +92,13 @@ const et = (v) => {
92
92
  hashMessage: l,
93
93
  sign: g,
94
94
  recover: h,
95
- encrypt: b,
96
- wallet: a
95
+ encrypt: K,
96
+ wallet: a,
97
+ privateKeyToAddress: b,
98
+ parseAndValidatePrivateKey: A,
99
+ privateKeyToPublicKey: x
97
100
  };
98
101
  };
99
102
  export {
100
- et as initAccountsForContext
103
+ pt as initAccountsForContext
101
104
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={version:"4.2.2"};exports.Web3PkgInfo=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={version:"4.4.0"};exports.Web3PkgInfo=e;
@@ -1,4 +1,4 @@
1
- const o = { version: "4.2.2" };
1
+ const o = { version: "4.4.0" };
2
2
  export {
3
3
  o as Web3PkgInfo
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const v=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const l=require("../../../web3-core/lib/esm/utils.cjs"),q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const h=require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const g=require("../../../web3-utils/lib/esm/index.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../setimmediate/setImmediate.cjs");const a=require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const E=require("../../../web3-eth-contract/lib/esm/contract.cjs"),P=require("../../../web3-eth-ens/lib/esm/config.cjs"),d=require("../../../web3-eth-ens/lib/esm/ens.cjs"),f=require("../../../web3-eth-personal/lib/esm/personal.cjs"),w=require("../../../web3-net/lib/esm/net.cjs");require("../../../web3-net/lib/esm/rpc_method_wrappers.cjs");const j=require("./abi.cjs"),y=require("./accounts.cjs"),N=require("./version.cjs"),b=require("../../../web3-utils/lib/esm/validation.cjs");class u extends v.Web3Context{constructor(e){var n;(b.isNullish(e)||typeof e=="string"&&e.trim()===""||typeof e!="string"&&!l.isSupportedProvider(e)&&!e.provider)&&console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");let t={};typeof e=="string"||l.isSupportedProvider(e)?t.provider=e:e?t=e:t={},t.registeredSubscriptions=Object.assign(Object.assign({},a.registeredSubscriptions),(n=t.registeredSubscriptions)!==null&&n!==void 0?n:{}),super(t);const o=y.initAccountsForContext(this);this._wallet=o.wallet,this._accountProvider=o,this.utils=g;const r=this;class p extends E.Contract{constructor(c,i,s){if(typeof i=="object"&&typeof s=="object")throw new q.InvalidMethodParamsError("Should not provide options at both 2nd and 3rd parameters");if(b.isNullish(i))super(c,s,r.getContextObject());else if(typeof i=="object")super(c,i,r.getContextObject());else if(typeof i=="string")super(c,i,s??{},r.getContextObject());else throw new q.InvalidMethodParamsError;super.subscribeToContextEvents(r)}}const S=r.use(a.Web3Eth);this.eth=Object.assign(S,{ens:r.use(d.ENS,P.registryAddresses.main),Iban:h.Iban,net:r.use(w.Net),personal:r.use(f.Personal),Contract:p,abi:j.default,accounts:o})}}u.version=N.Web3PkgInfo.version;u.utils=g;u.modules={Web3Eth:a.Web3Eth,Iban:h.Iban,Net:w.Net,ENS:d.ENS,Personal:f.Personal};exports.Web3=u;exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const q=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const w=require("../../../web3-core/lib/esm/utils.cjs"),E=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const _=require("../../../web3-eth-iban/lib/esm/iban.cjs"),j=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const S=require("../../../web3-utils/lib/esm/index.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../setimmediate/setImmediate.cjs");const h=require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const T=require("../../../web3-eth-contract/lib/esm/contract.cjs"),M=require("../../../web3-eth-ens/lib/esm/config.cjs"),N=require("../../../web3-eth-ens/lib/esm/ens.cjs"),P=require("../../../web3-eth-personal/lib/esm/personal.cjs"),W=require("../../../web3-net/lib/esm/net.cjs");require("../../../web3-net/lib/esm/rpc_method_wrappers.cjs");const A=require("./abi.cjs"),D=require("./accounts.cjs"),k=require("./version.cjs"),n=require("../../../web3-utils/lib/esm/validation.cjs"),I=require("../../../web3-utils/lib/esm/formatter.cjs");class c extends q.Web3Context{constructor(e){var b;(n.isNullish(e)||typeof e=="string"&&e.trim()===""||typeof e!="string"&&!w.isSupportedProvider(e)&&!e.provider)&&console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");let t={};typeof e=="string"||w.isSupportedProvider(e)?t.provider=e:e?t=e:t={},t.registeredSubscriptions=Object.assign(Object.assign({},h.registeredSubscriptions),(b=t.registeredSubscriptions)!==null&&b!==void 0?b:{}),super(t);const f=D.initAccountsForContext(this);this._wallet=f.wallet,this._accountProvider=f,this.utils=S;const r=this;class p extends T.Contract{constructor(y,i,s,a,g){if(n.isContractInitOptions(i)&&n.isContractInitOptions(s))throw new E.InvalidMethodParamsError("Should not provide options at both 2nd and 3rd parameters");let d,o={},u,l=j.DEFAULT_RETURN_FORMAT;if(!n.isNullish(i)&&typeof i!="object"&&typeof i!="string")throw new E.InvalidMethodParamsError;typeof i=="string"&&(d=i),n.isContractInitOptions(i)?o=i:n.isContractInitOptions(s)?o=s:o={},i instanceof q.Web3Context?u=i:s instanceof q.Web3Context?u=s:a instanceof q.Web3Context?u=a:u=r.getContextObject(),g?l=g:I.isDataFormat(s)?l=s:I.isDataFormat(a)&&(l=a),super(y,d,o,u,l),super.subscribeToContextEvents(r)}}const v=r.use(h.Web3Eth);this.eth=Object.assign(v,{ens:r.use(N.ENS,M.registryAddresses.main),Iban:_.Iban,net:r.use(W.Net),personal:r.use(P.Personal),Contract:p,abi:A.default,accounts:f})}}c.version=k.Web3PkgInfo.version;c.utils=S;c.modules={Web3Eth:h.Web3Eth,Iban:_.Iban,Net:W.Net,ENS:N.ENS,Personal:P.Personal};exports.Web3=c;exports.default=c;
@@ -2,88 +2,84 @@ import "../../../web3-core/lib/esm/web3_config.js";
2
2
  import "../../../web3-core/lib/esm/web3_request_manager.js";
3
3
  import "../../../web3-core/lib/esm/web3_subscription_manager.js";
4
4
  import "../../../web3-core/lib/esm/web3_subscriptions.js";
5
- import { Web3Context as y } from "../../../web3-core/lib/esm/web3_context.js";
5
+ import { Web3Context as c } from "../../../web3-core/lib/esm/web3_context.js";
6
6
  import "../../../web3-core/lib/esm/web3_batch_request.js";
7
- import { isSupportedProvider as c } from "../../../web3-core/lib/esm/utils.js";
8
- import { InvalidMethodParamsError as u } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
7
+ import { isSupportedProvider as g } from "../../../web3-core/lib/esm/utils.js";
8
+ import { InvalidMethodParamsError as w } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
9
9
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
10
- import { Iban as l } from "../../../web3-eth-iban/lib/esm/iban.js";
11
- import "../../../web3-types/lib/esm/data_format_types.js";
10
+ import { Iban as j } from "../../../web3-eth-iban/lib/esm/iban.js";
11
+ import { DEFAULT_RETURN_FORMAT as d } from "../../../web3-types/lib/esm/data_format_types.js";
12
12
  import "../../../web3-types/lib/esm/eth_types.js";
13
13
  import "../../../web3-types/lib/esm/web3_base_provider.js";
14
- import * as a from "../../../web3-utils/lib/esm/index.js";
14
+ import * as S from "../../../web3-utils/lib/esm/index.js";
15
15
  import "../../../web3-validator/lib/esm/formats.js";
16
16
  import "../../../web3-validator/lib/esm/default_validator.js";
17
17
  import "../../../web3-core/lib/esm/web3_promi_event.js";
18
18
  import "../../../setimmediate/setImmediate.js";
19
- import { registeredSubscriptions as S, Web3Eth as b } from "../../../web3-eth/lib/esm/web3_eth.js";
19
+ import { registeredSubscriptions as v, Web3Eth as I } from "../../../web3-eth/lib/esm/web3_eth.js";
20
20
  import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
21
21
  import "../../../web3-eth/lib/esm/schemas.js";
22
22
  import "../../../web3-eth/lib/esm/constants.js";
23
23
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
24
24
  import "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
25
25
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
26
- import { Contract as E } from "../../../web3-eth-contract/lib/esm/contract.js";
27
- import { registryAddresses as P } from "../../../web3-eth-ens/lib/esm/config.js";
28
- import { ENS as h } from "../../../web3-eth-ens/lib/esm/ens.js";
29
- import { Personal as g } from "../../../web3-eth-personal/lib/esm/personal.js";
30
- import { Net as w } from "../../../web3-net/lib/esm/net.js";
26
+ import { Contract as k } from "../../../web3-eth-contract/lib/esm/contract.js";
27
+ import { registryAddresses as D } from "../../../web3-eth-ens/lib/esm/config.js";
28
+ import { ENS as N } from "../../../web3-eth-ens/lib/esm/ens.js";
29
+ import { Personal as P } from "../../../web3-eth-personal/lib/esm/personal.js";
30
+ import { Net as T } from "../../../web3-net/lib/esm/net.js";
31
31
  import "../../../web3-net/lib/esm/rpc_method_wrappers.js";
32
- import v from "./abi.js";
33
- import { initAccountsForContext as N } from "./accounts.js";
34
- import { Web3PkgInfo as W } from "./version.js";
35
- import { isNullish as f } from "../../../web3-utils/lib/esm/validation.js";
36
- class n extends y {
37
- constructor(t) {
38
- var s;
39
- (f(t) || typeof t == "string" && t.trim() === "" || typeof t != "string" && !c(t) && !t.provider) && console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");
40
- let i = {};
41
- typeof t == "string" || c(t) ? i.provider = t : t ? i = t : i = {}, i.registeredSubscriptions = Object.assign(Object.assign({}, S), (s = i.registeredSubscriptions) !== null && s !== void 0 ? s : {}), super(i);
42
- const m = N(this);
43
- this._wallet = m.wallet, this._accountProvider = m, this.utils = a;
44
- const o = this;
45
- class d extends E {
46
- constructor(p, e, r) {
47
- if (typeof e == "object" && typeof r == "object")
48
- throw new u("Should not provide options at both 2nd and 3rd parameters");
49
- if (f(e))
50
- super(p, r, o.getContextObject());
51
- else if (typeof e == "object")
52
- super(p, e, o.getContextObject());
53
- else if (typeof e == "string")
54
- super(p, e, r ?? {}, o.getContextObject());
55
- else
56
- throw new u();
57
- super.subscribeToContextEvents(o);
32
+ import M from "./abi.js";
33
+ import { initAccountsForContext as U } from "./accounts.js";
34
+ import { Web3PkgInfo as B } from "./version.js";
35
+ import { isNullish as y, isContractInitOptions as r } from "../../../web3-utils/lib/esm/validation.js";
36
+ import { isDataFormat as E } from "../../../web3-utils/lib/esm/formatter.js";
37
+ class h extends c {
38
+ constructor(i) {
39
+ var a;
40
+ (y(i) || typeof i == "string" && i.trim() === "" || typeof i != "string" && !g(i) && !i.provider) && console.warn("NOTE: web3.js is running without provider. You need to pass a provider in order to interact with the network!");
41
+ let t = {};
42
+ typeof i == "string" || g(i) ? t.provider = i : i ? t = i : t = {}, t.registeredSubscriptions = Object.assign(Object.assign({}, v), (a = t.registeredSubscriptions) !== null && a !== void 0 ? a : {}), super(t);
43
+ const b = U(this);
44
+ this._wallet = b.wallet, this._accountProvider = b, this.utils = S;
45
+ const e = this;
46
+ class _ extends k {
47
+ constructor(W, s, o, f, n) {
48
+ if (r(s) && r(o))
49
+ throw new w("Should not provide options at both 2nd and 3rd parameters");
50
+ let u, p = {}, m, l = d;
51
+ if (!y(s) && typeof s != "object" && typeof s != "string")
52
+ throw new w();
53
+ typeof s == "string" && (u = s), r(s) ? p = s : r(o) ? p = o : p = {}, s instanceof c ? m = s : o instanceof c ? m = o : f instanceof c ? m = f : m = e.getContextObject(), n ? l = n : E(o) ? l = o : E(f) && (l = f), super(W, u, p, m, l), super.subscribeToContextEvents(e);
58
54
  }
59
55
  }
60
- const j = o.use(b);
61
- this.eth = Object.assign(j, {
56
+ const A = e.use(I);
57
+ this.eth = Object.assign(A, {
62
58
  // ENS module
63
- ens: o.use(h, P.main),
59
+ ens: e.use(N, D.main),
64
60
  // Iban helpers
65
- Iban: l,
66
- net: o.use(w),
67
- personal: o.use(g),
61
+ Iban: j,
62
+ net: e.use(T),
63
+ personal: e.use(P),
68
64
  // Contract helper and module
69
- Contract: d,
65
+ Contract: _,
70
66
  // ABI Helpers
71
- abi: v,
67
+ abi: M,
72
68
  // Accounts helper
73
- accounts: m
69
+ accounts: b
74
70
  });
75
71
  }
76
72
  }
77
- n.version = W.version;
78
- n.utils = a;
79
- n.modules = {
80
- Web3Eth: b,
81
- Iban: l,
82
- Net: w,
83
- ENS: h,
84
- Personal: g
73
+ h.version = B.version;
74
+ h.utils = S;
75
+ h.modules = {
76
+ Web3Eth: I,
77
+ Iban: j,
78
+ Net: T,
79
+ ENS: N,
80
+ Personal: P
85
81
  };
86
82
  export {
87
- n as Web3,
88
- n as default
83
+ h as Web3,
84
+ h as default
89
85
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const o=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),e=s=>o.Web3BaseProvider.isWeb3Provider(s),c=s=>typeof s!="string"&&"request"in s&&s.request.constructor.name==="AsyncFunction"&&"isMetaMask"in s&&s.isMetaMask,t=s=>typeof s!="string"&&"request"in s&&s.request.constructor.name==="Function",n=s=>typeof s!="string"&&"request"in s&&s.request.constructor.name==="AsyncFunction",i=s=>typeof s!="string"&&"send"in s,r=s=>typeof s!="string"&&"sendAsync"in s,u=s=>s&&(e(s)||n(s)||t(s)||r(s)||i(s)),a=s=>s&&"supportsSubscriptions"in s?s.supportsSubscriptions():!!(s&&typeof s!="string"&&"on"in s);exports.isEIP1193Provider=n;exports.isLegacyRequestProvider=t;exports.isLegacySendAsyncProvider=r;exports.isLegacySendProvider=i;exports.isMetaMaskProvider=c;exports.isSupportSubscriptions=a;exports.isSupportedProvider=u;exports.isWeb3Provider=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const o=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),e=s=>o.Web3BaseProvider.isWeb3Provider(s),t=s=>typeof s!="string"&&"request"in s&&s.request.constructor.name==="Function",n=s=>typeof s!="string"&&"request"in s&&s.request.constructor.name==="AsyncFunction",i=s=>typeof s!="string"&&"send"in s,r=s=>typeof s!="string"&&"sendAsync"in s,c=s=>s&&(e(s)||n(s)||t(s)||r(s)||i(s)),u=s=>s&&"supportsSubscriptions"in s?s.supportsSubscriptions():!!(s&&typeof s!="string"&&"on"in s);exports.isEIP1193Provider=n;exports.isLegacyRequestProvider=t;exports.isLegacySendAsyncProvider=r;exports.isLegacySendProvider=i;exports.isSupportSubscriptions=u;exports.isSupportedProvider=c;exports.isWeb3Provider=e;
@@ -1,13 +1,12 @@
1
1
  import "../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../web3-types/lib/esm/eth_types.js";
3
3
  import { Web3BaseProvider as t } from "../../../web3-types/lib/esm/web3_base_provider.js";
4
- const n = (s) => t.isWeb3Provider(s), y = (s) => typeof s != "string" && "request" in s && s.request.constructor.name === "AsyncFunction" && "isMetaMask" in s && s.isMetaMask, e = (s) => typeof s != "string" && "request" in s && s.request.constructor.name === "Function", i = (s) => typeof s != "string" && "request" in s && s.request.constructor.name === "AsyncFunction", c = (s) => typeof s != "string" && "send" in s, o = (s) => typeof s != "string" && "sendAsync" in s, f = (s) => s && (n(s) || i(s) || e(s) || o(s) || c(s)), P = (s) => s && "supportsSubscriptions" in s ? s.supportsSubscriptions() : !!(s && typeof s != "string" && "on" in s);
4
+ const n = (s) => t.isWeb3Provider(s), e = (s) => typeof s != "string" && "request" in s && s.request.constructor.name === "Function", i = (s) => typeof s != "string" && "request" in s && s.request.constructor.name === "AsyncFunction", o = (s) => typeof s != "string" && "send" in s, c = (s) => typeof s != "string" && "sendAsync" in s, f = (s) => s && (n(s) || i(s) || e(s) || c(s) || o(s)), P = (s) => s && "supportsSubscriptions" in s ? s.supportsSubscriptions() : !!(s && typeof s != "string" && "on" in s);
5
5
  export {
6
6
  i as isEIP1193Provider,
7
7
  e as isLegacyRequestProvider,
8
- o as isLegacySendAsyncProvider,
9
- c as isLegacySendProvider,
10
- y as isMetaMaskProvider,
8
+ c as isLegacySendAsyncProvider,
9
+ o as isLegacySendProvider,
11
10
  P as isSupportSubscriptions,
12
11
  f as isSupportedProvider,
13
12
  n as isWeb3Provider
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../web3-errors/lib/esm/errors/core_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const r=require("./web3_event_emitter.cjs"),a=require("../../../web3-utils/lib/esm/converters.cjs"),n=require("../../../web3-utils/lib/esm/validation.cjs");exports.Web3ConfigEvent=void 0;(function(e){e.CONFIG_CHANGE="CONFIG_CHANGE"})(exports.Web3ConfigEvent||(exports.Web3ConfigEvent={}));class s extends r.Web3EventEmitter{constructor(t){super(),this.config={handleRevert:!1,defaultAccount:void 0,defaultBlock:"latest",transactionBlockTimeout:50,transactionConfirmationBlocks:24,transactionPollingInterval:1e3,transactionPollingTimeout:750*1e3,transactionReceiptPollingInterval:void 0,transactionSendTimeout:750*1e3,transactionConfirmationPollingInterval:void 0,blockHeaderTimeout:10,maxListenersWarningThreshold:100,contractDataInputFill:"input",defaultNetworkId:void 0,defaultChain:"mainnet",defaultHardfork:"london",defaultCommon:void 0,defaultTransactionType:"0x2",defaultMaxPriorityFeePerGas:a.toHex(25e8),enableExperimentalFeatures:{useSubscriptionWhenCheckingBlockTimeout:!1,useRpcCallSpecification:!1},transactionBuilder:void 0,transactionTypeParser:void 0},this.setConfig(t??{})}setConfig(t){Object.assign(this.config,t)}get handleRevert(){return this.config.handleRevert}set handleRevert(t){this._triggerConfigChange("handleRevert",t),this.config.handleRevert=t}get contractDataInputFill(){return this.config.contractDataInputFill}set contractDataInputFill(t){this._triggerConfigChange("contractDataInputFill",t),this.config.contractDataInputFill=t}get defaultAccount(){return this.config.defaultAccount}set defaultAccount(t){this._triggerConfigChange("defaultAccount",t),this.config.defaultAccount=t}get defaultBlock(){return this.config.defaultBlock}set defaultBlock(t){this._triggerConfigChange("defaultBlock",t),this.config.defaultBlock=t}get transactionSendTimeout(){return this.config.transactionSendTimeout}set transactionSendTimeout(t){this._triggerConfigChange("transactionSendTimeout",t),this.config.transactionSendTimeout=t}get transactionBlockTimeout(){return this.config.transactionBlockTimeout}set transactionBlockTimeout(t){this._triggerConfigChange("transactionBlockTimeout",t),this.config.transactionBlockTimeout=t}get transactionConfirmationBlocks(){return this.config.transactionConfirmationBlocks}set transactionConfirmationBlocks(t){this._triggerConfigChange("transactionConfirmationBlocks",t),this.config.transactionConfirmationBlocks=t}get transactionPollingInterval(){return this.config.transactionPollingInterval}set transactionPollingInterval(t){this._triggerConfigChange("transactionPollingInterval",t),this.config.transactionPollingInterval=t,this.transactionReceiptPollingInterval=t,this.transactionConfirmationPollingInterval=t}get transactionPollingTimeout(){return this.config.transactionPollingTimeout}set transactionPollingTimeout(t){this._triggerConfigChange("transactionPollingTimeout",t),this.config.transactionPollingTimeout=t}get transactionReceiptPollingInterval(){return this.config.transactionReceiptPollingInterval}set transactionReceiptPollingInterval(t){this._triggerConfigChange("transactionReceiptPollingInterval",t),this.config.transactionReceiptPollingInterval=t}get transactionConfirmationPollingInterval(){return this.config.transactionConfirmationPollingInterval}set transactionConfirmationPollingInterval(t){this._triggerConfigChange("transactionConfirmationPollingInterval",t),this.config.transactionConfirmationPollingInterval=t}get blockHeaderTimeout(){return this.config.blockHeaderTimeout}set blockHeaderTimeout(t){this._triggerConfigChange("blockHeaderTimeout",t),this.config.blockHeaderTimeout=t}get enableExperimentalFeatures(){return this.config.enableExperimentalFeatures}set enableExperimentalFeatures(t){this._triggerConfigChange("enableExperimentalFeatures",t),this.config.enableExperimentalFeatures=t}get maxListenersWarningThreshold(){return this.config.maxListenersWarningThreshold}set maxListenersWarningThreshold(t){this._triggerConfigChange("maxListenersWarningThreshold",t),this.setMaxListenerWarningThreshold(t),this.config.maxListenersWarningThreshold=t}get defaultNetworkId(){return this.config.defaultNetworkId}set defaultNetworkId(t){this._triggerConfigChange("defaultNetworkId",t),this.config.defaultNetworkId=t}get defaultChain(){return this.config.defaultChain}set defaultChain(t){if(!n.isNullish(this.config.defaultCommon)&&!n.isNullish(this.config.defaultCommon.baseChain)&&t!==this.config.defaultCommon.baseChain)throw new i.ConfigChainMismatchError(this.config.defaultChain,t);this._triggerConfigChange("defaultChain",t),this.config.defaultChain=t}get defaultHardfork(){return this.config.defaultHardfork}set defaultHardfork(t){if(!n.isNullish(this.config.defaultCommon)&&!n.isNullish(this.config.defaultCommon.hardfork)&&t!==this.config.defaultCommon.hardfork)throw new i.ConfigHardforkMismatchError(this.config.defaultCommon.hardfork,t);this._triggerConfigChange("defaultHardfork",t),this.config.defaultHardfork=t}get defaultCommon(){return this.config.defaultCommon}set defaultCommon(t){if(!n.isNullish(this.config.defaultHardfork)&&!n.isNullish(t)&&!n.isNullish(t.hardfork)&&this.config.defaultHardfork!==t.hardfork)throw new i.ConfigHardforkMismatchError(this.config.defaultHardfork,t.hardfork);if(!n.isNullish(this.config.defaultChain)&&!n.isNullish(t)&&!n.isNullish(t.baseChain)&&this.config.defaultChain!==t.baseChain)throw new i.ConfigChainMismatchError(this.config.defaultChain,t.baseChain);this._triggerConfigChange("defaultCommon",t),this.config.defaultCommon=t}get defaultTransactionType(){return this.config.defaultTransactionType}set defaultTransactionType(t){this._triggerConfigChange("defaultTransactionType",t),this.config.defaultTransactionType=t}get defaultMaxPriorityFeePerGas(){return this.config.defaultMaxPriorityFeePerGas}set defaultMaxPriorityFeePerGas(t){this._triggerConfigChange("defaultMaxPriorityFeePerGas",t),this.config.defaultMaxPriorityFeePerGas=t}get transactionBuilder(){return this.config.transactionBuilder}set transactionBuilder(t){this._triggerConfigChange("transactionBuilder",t),this.config.transactionBuilder=t}get transactionTypeParser(){return this.config.transactionTypeParser}set transactionTypeParser(t){this._triggerConfigChange("transactionTypeParser",t),this.config.transactionTypeParser=t}_triggerConfigChange(t,o){this.emit(exports.Web3ConfigEvent.CONFIG_CHANGE,{name:t,oldValue:this.config[t],newValue:o})}}exports.Web3Config=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../web3-errors/lib/esm/errors/core_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const a=require("./web3_event_emitter.cjs"),s=require("../../../web3-utils/lib/esm/converters.cjs"),n=require("../../../web3-utils/lib/esm/validation.cjs");exports.Web3ConfigEvent=void 0;(function(o){o.CONFIG_CHANGE="CONFIG_CHANGE"})(exports.Web3ConfigEvent||(exports.Web3ConfigEvent={}));class g extends a.Web3EventEmitter{constructor(t){super(),this.config={handleRevert:!1,defaultAccount:void 0,defaultBlock:"latest",transactionBlockTimeout:50,transactionConfirmationBlocks:24,transactionPollingInterval:1e3,transactionPollingTimeout:750*1e3,transactionReceiptPollingInterval:void 0,transactionSendTimeout:750*1e3,transactionConfirmationPollingInterval:void 0,blockHeaderTimeout:10,maxListenersWarningThreshold:100,contractDataInputFill:"data",defaultNetworkId:void 0,defaultChain:"mainnet",defaultHardfork:"london",defaultCommon:void 0,defaultTransactionType:"0x2",defaultMaxPriorityFeePerGas:s.toHex(25e8),enableExperimentalFeatures:{useSubscriptionWhenCheckingBlockTimeout:!1,useRpcCallSpecification:!1},transactionBuilder:void 0,transactionTypeParser:void 0},this.setConfig(t??{})}setConfig(t){const e=Object.keys(t);for(const r of e)this._triggerConfigChange(r,t[r]);Object.assign(this.config,t)}get handleRevert(){return this.config.handleRevert}set handleRevert(t){this._triggerConfigChange("handleRevert",t),this.config.handleRevert=t}get contractDataInputFill(){return this.config.contractDataInputFill}set contractDataInputFill(t){this._triggerConfigChange("contractDataInputFill",t),this.config.contractDataInputFill=t}get defaultAccount(){return this.config.defaultAccount}set defaultAccount(t){this._triggerConfigChange("defaultAccount",t),this.config.defaultAccount=t}get defaultBlock(){return this.config.defaultBlock}set defaultBlock(t){this._triggerConfigChange("defaultBlock",t),this.config.defaultBlock=t}get transactionSendTimeout(){return this.config.transactionSendTimeout}set transactionSendTimeout(t){this._triggerConfigChange("transactionSendTimeout",t),this.config.transactionSendTimeout=t}get transactionBlockTimeout(){return this.config.transactionBlockTimeout}set transactionBlockTimeout(t){this._triggerConfigChange("transactionBlockTimeout",t),this.config.transactionBlockTimeout=t}get transactionConfirmationBlocks(){return this.config.transactionConfirmationBlocks}set transactionConfirmationBlocks(t){this._triggerConfigChange("transactionConfirmationBlocks",t),this.config.transactionConfirmationBlocks=t}get transactionPollingInterval(){return this.config.transactionPollingInterval}set transactionPollingInterval(t){this._triggerConfigChange("transactionPollingInterval",t),this.config.transactionPollingInterval=t,this.transactionReceiptPollingInterval=t,this.transactionConfirmationPollingInterval=t}get transactionPollingTimeout(){return this.config.transactionPollingTimeout}set transactionPollingTimeout(t){this._triggerConfigChange("transactionPollingTimeout",t),this.config.transactionPollingTimeout=t}get transactionReceiptPollingInterval(){return this.config.transactionReceiptPollingInterval}set transactionReceiptPollingInterval(t){this._triggerConfigChange("transactionReceiptPollingInterval",t),this.config.transactionReceiptPollingInterval=t}get transactionConfirmationPollingInterval(){return this.config.transactionConfirmationPollingInterval}set transactionConfirmationPollingInterval(t){this._triggerConfigChange("transactionConfirmationPollingInterval",t),this.config.transactionConfirmationPollingInterval=t}get blockHeaderTimeout(){return this.config.blockHeaderTimeout}set blockHeaderTimeout(t){this._triggerConfigChange("blockHeaderTimeout",t),this.config.blockHeaderTimeout=t}get enableExperimentalFeatures(){return this.config.enableExperimentalFeatures}set enableExperimentalFeatures(t){this._triggerConfigChange("enableExperimentalFeatures",t),this.config.enableExperimentalFeatures=t}get maxListenersWarningThreshold(){return this.config.maxListenersWarningThreshold}set maxListenersWarningThreshold(t){this._triggerConfigChange("maxListenersWarningThreshold",t),this.setMaxListenerWarningThreshold(t),this.config.maxListenersWarningThreshold=t}get defaultNetworkId(){return this.config.defaultNetworkId}set defaultNetworkId(t){this._triggerConfigChange("defaultNetworkId",t),this.config.defaultNetworkId=t}get defaultChain(){return this.config.defaultChain}set defaultChain(t){if(!n.isNullish(this.config.defaultCommon)&&!n.isNullish(this.config.defaultCommon.baseChain)&&t!==this.config.defaultCommon.baseChain)throw new i.ConfigChainMismatchError(this.config.defaultChain,t);this._triggerConfigChange("defaultChain",t),this.config.defaultChain=t}get defaultHardfork(){return this.config.defaultHardfork}set defaultHardfork(t){if(!n.isNullish(this.config.defaultCommon)&&!n.isNullish(this.config.defaultCommon.hardfork)&&t!==this.config.defaultCommon.hardfork)throw new i.ConfigHardforkMismatchError(this.config.defaultCommon.hardfork,t);this._triggerConfigChange("defaultHardfork",t),this.config.defaultHardfork=t}get defaultCommon(){return this.config.defaultCommon}set defaultCommon(t){if(!n.isNullish(this.config.defaultHardfork)&&!n.isNullish(t)&&!n.isNullish(t.hardfork)&&this.config.defaultHardfork!==t.hardfork)throw new i.ConfigHardforkMismatchError(this.config.defaultHardfork,t.hardfork);if(!n.isNullish(this.config.defaultChain)&&!n.isNullish(t)&&!n.isNullish(t.baseChain)&&this.config.defaultChain!==t.baseChain)throw new i.ConfigChainMismatchError(this.config.defaultChain,t.baseChain);this._triggerConfigChange("defaultCommon",t),this.config.defaultCommon=t}get defaultTransactionType(){return this.config.defaultTransactionType}set defaultTransactionType(t){this._triggerConfigChange("defaultTransactionType",t),this.config.defaultTransactionType=t}get defaultMaxPriorityFeePerGas(){return this.config.defaultMaxPriorityFeePerGas}set defaultMaxPriorityFeePerGas(t){this._triggerConfigChange("defaultMaxPriorityFeePerGas",t),this.config.defaultMaxPriorityFeePerGas=t}get transactionBuilder(){return this.config.transactionBuilder}set transactionBuilder(t){this._triggerConfigChange("transactionBuilder",t),this.config.transactionBuilder=t}get transactionTypeParser(){return this.config.transactionTypeParser}set transactionTypeParser(t){this._triggerConfigChange("transactionTypeParser",t),this.config.transactionTypeParser=t}_triggerConfigChange(t,e){this.emit(exports.Web3ConfigEvent.CONFIG_CHANGE,{name:t,oldValue:this.config[t],newValue:e})}}exports.Web3Config=g;
@@ -1,13 +1,13 @@
1
- import { ConfigChainMismatchError as o, ConfigHardforkMismatchError as a } from "../../../web3-errors/lib/esm/errors/core_errors.js";
1
+ import { ConfigChainMismatchError as r, ConfigHardforkMismatchError as s } from "../../../web3-errors/lib/esm/errors/core_errors.js";
2
2
  import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
3
- import { Web3EventEmitter as s } from "./web3_event_emitter.js";
4
- import { toHex as g } from "../../../web3-utils/lib/esm/converters.js";
3
+ import { Web3EventEmitter as g } from "./web3_event_emitter.js";
4
+ import { toHex as f } from "../../../web3-utils/lib/esm/converters.js";
5
5
  import { isNullish as n } from "../../../web3-utils/lib/esm/validation.js";
6
- var i;
7
- (function(e) {
8
- e.CONFIG_CHANGE = "CONFIG_CHANGE";
9
- })(i || (i = {}));
10
- class d extends s {
6
+ var e;
7
+ (function(o) {
8
+ o.CONFIG_CHANGE = "CONFIG_CHANGE";
9
+ })(e || (e = {}));
10
+ class C extends g {
11
11
  constructor(t) {
12
12
  super(), this.config = {
13
13
  handleRevert: !1,
@@ -22,14 +22,14 @@ class d extends s {
22
22
  transactionConfirmationPollingInterval: void 0,
23
23
  blockHeaderTimeout: 10,
24
24
  maxListenersWarningThreshold: 100,
25
- contractDataInputFill: "input",
25
+ contractDataInputFill: "data",
26
26
  defaultNetworkId: void 0,
27
27
  defaultChain: "mainnet",
28
28
  defaultHardfork: "london",
29
29
  // TODO - Check if there is a default Common
30
30
  defaultCommon: void 0,
31
31
  defaultTransactionType: "0x2",
32
- defaultMaxPriorityFeePerGas: g(25e8),
32
+ defaultMaxPriorityFeePerGas: f(25e8),
33
33
  enableExperimentalFeatures: {
34
34
  useSubscriptionWhenCheckingBlockTimeout: !1,
35
35
  useRpcCallSpecification: !1
@@ -39,6 +39,9 @@ class d extends s {
39
39
  }, this.setConfig(t ?? {});
40
40
  }
41
41
  setConfig(t) {
42
+ const i = Object.keys(t);
43
+ for (const a of i)
44
+ this._triggerConfigChange(a, t[a]);
42
45
  Object.assign(this.config, t);
43
46
  }
44
47
  /**
@@ -244,7 +247,7 @@ class d extends s {
244
247
  }
245
248
  set defaultChain(t) {
246
249
  if (!n(this.config.defaultCommon) && !n(this.config.defaultCommon.baseChain) && t !== this.config.defaultCommon.baseChain)
247
- throw new o(this.config.defaultChain, t);
250
+ throw new r(this.config.defaultChain, t);
248
251
  this._triggerConfigChange("defaultChain", t), this.config.defaultChain = t;
249
252
  }
250
253
  /**
@@ -275,7 +278,7 @@ class d extends s {
275
278
  */
276
279
  set defaultHardfork(t) {
277
280
  if (!n(this.config.defaultCommon) && !n(this.config.defaultCommon.hardfork) && t !== this.config.defaultCommon.hardfork)
278
- throw new a(this.config.defaultCommon.hardfork, t);
281
+ throw new s(this.config.defaultCommon.hardfork, t);
279
282
  this._triggerConfigChange("defaultHardfork", t), this.config.defaultHardfork = t;
280
283
  }
281
284
  /**
@@ -300,9 +303,9 @@ class d extends s {
300
303
  */
301
304
  set defaultCommon(t) {
302
305
  if (!n(this.config.defaultHardfork) && !n(t) && !n(t.hardfork) && this.config.defaultHardfork !== t.hardfork)
303
- throw new a(this.config.defaultHardfork, t.hardfork);
306
+ throw new s(this.config.defaultHardfork, t.hardfork);
304
307
  if (!n(this.config.defaultChain) && !n(t) && !n(t.baseChain) && this.config.defaultChain !== t.baseChain)
305
- throw new o(this.config.defaultChain, t.baseChain);
308
+ throw new r(this.config.defaultChain, t.baseChain);
306
309
  this._triggerConfigChange("defaultCommon", t), this.config.defaultCommon = t;
307
310
  }
308
311
  get defaultTransactionType() {
@@ -329,15 +332,15 @@ class d extends s {
329
332
  set transactionTypeParser(t) {
330
333
  this._triggerConfigChange("transactionTypeParser", t), this.config.transactionTypeParser = t;
331
334
  }
332
- _triggerConfigChange(t, r) {
333
- this.emit(i.CONFIG_CHANGE, {
335
+ _triggerConfigChange(t, i) {
336
+ this.emit(e.CONFIG_CHANGE, {
334
337
  name: t,
335
338
  oldValue: this.config[t],
336
- newValue: r
339
+ newValue: i
337
340
  });
338
341
  }
339
342
  }
340
343
  export {
341
- d as Web3Config,
342
- i as Web3ConfigEvent
344
+ C as Web3Config,
345
+ e as Web3ConfigEvent
343
346
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const f=require("./utils.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("./web3_batch_request.cjs"),M=require("../../../web3-utils/lib/esm/validation.cjs");var q=globalThis&&globalThis.__awaiter||function(v,e,r,i){function s(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function u(a){try{o(i.next(a))}catch(d){n(d)}}function c(a){try{o(i.throw(a))}catch(d){n(d)}}function o(a){a.done?t(a.value):s(a.value).then(u,c)}o((i=i.apply(v,e||[])).next())})};class h extends l.Web3Config{constructor(e){var r;if(super(),this.providers=g.Web3RequestManager.providers,M.isNullish(e)||typeof e=="string"&&e.trim()!==""||f.isSupportedProvider(e)){this._requestManager=new g.Web3RequestManager(e),this._subscriptionManager=new p.Web3SubscriptionManager(this._requestManager,{});return}const{config:i,provider:s,requestManager:t,subscriptionManager:n,registeredSubscriptions:u,accountProvider:c,wallet:o}=e;this.setConfig(i??{}),this._requestManager=t??new g.Web3RequestManager(s,(r=i==null?void 0:i.enableExperimentalFeatures)===null||r===void 0?void 0:r.useSubscriptionWhenCheckingBlockTimeout),n?this._subscriptionManager=n:this._subscriptionManager=new p.Web3SubscriptionManager(this.requestManager,u??{}),c&&(this._accountProvider=c),o&&(this._wallet=o)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:(e=this.subscriptionManager)===null||e===void 0?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...r){const i=new e(...r,this.getContextObject());return this.on(l.Web3ConfigEvent.CONFIG_CHANGE,s=>{i.setConfig({[s.name]:s.newValue})}),i}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(l.Web3ConfigEvent.CONFIG_CHANGE,r=>{this.setConfig({[r.name]:r.newValue})})}registerPlugin(e){if(this[e.pluginNamespace]!==void 0)throw new b.ExistingPluginNamespaceError(e.pluginNamespace);const r={[e.pluginNamespace]:e};r[e.pluginNamespace].link(this),Object.assign(this,r)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return h.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return _.Web3BatchRequest.bind(void 0,this._requestManager)}extend(e){var r;return e.property&&!this[e.property]&&(this[e.property]={}),(r=e.methods)===null||r===void 0||r.forEach(i=>{const s=(...t)=>q(this,void 0,void 0,function*(){return this.requestManager.send({method:i.call,params:t})});e.property?this[e.property][i.name]=s:this[i.name]=s}),this}}h.providers=g.Web3RequestManager.providers;exports.Web3Context=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.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-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");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 b=require("./utils.cjs"),f=require("./web3_batch_request.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("../../../web3-utils/lib/esm/validation.cjs");var M=globalThis&&globalThis.__awaiter||function(v,e,r,i){function s(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function o(a){try{u(i.next(a))}catch(d){n(d)}}function c(a){try{u(i.throw(a))}catch(d){n(d)}}function u(a){a.done?t(a.value):s(a.value).then(o,c)}u((i=i.apply(v,e||[])).next())})};class h extends l.Web3Config{constructor(e){var r;if(super(),this.providers=g.Web3RequestManager.providers,_.isNullish(e)||typeof e=="string"&&e.trim()!==""||b.isSupportedProvider(e)){this._requestManager=new g.Web3RequestManager(e),this._subscriptionManager=new p.Web3SubscriptionManager(this._requestManager,{});return}const{config:i,provider:s,requestManager:t,subscriptionManager:n,registeredSubscriptions:o,accountProvider:c,wallet:u}=e;this.setConfig(i??{}),this._requestManager=t??new g.Web3RequestManager(s,(r=i==null?void 0:i.enableExperimentalFeatures)===null||r===void 0?void 0:r.useSubscriptionWhenCheckingBlockTimeout),n?this._subscriptionManager=n:this._subscriptionManager=new p.Web3SubscriptionManager(this.requestManager,o??{}),c&&(this._accountProvider=c),u&&(this._wallet=u)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:(e=this.subscriptionManager)===null||e===void 0?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...r){const i=new e(...r,this.getContextObject());return this.on(l.Web3ConfigEvent.CONFIG_CHANGE,s=>{i.setConfig({[s.name]:s.newValue})}),i}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(l.Web3ConfigEvent.CONFIG_CHANGE,r=>{this.setConfig({[r.name]:r.newValue})})}registerPlugin(e){if(this[e.pluginNamespace]!==void 0)throw new q.ExistingPluginNamespaceError(e.pluginNamespace);const r={[e.pluginNamespace]:e};r[e.pluginNamespace].link(this),Object.assign(this,r)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return h.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return f.Web3BatchRequest.bind(void 0,this._requestManager)}extend(e){var r;return e.property&&!this[e.property]&&(this[e.property]={}),(r=e.methods)===null||r===void 0||r.forEach(i=>{const s=(...t)=>M(this,void 0,void 0,function*(){return this.requestManager.send({method:i.call,params:t})});e.property?this[e.property][i.name]=s:this[i.name]=s}),this}}h.providers=g.Web3RequestManager.providers;exports.Web3Context=h;