@ozdao/prometheus-framework 0.2.30 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (733) hide show
  1. package/dist/addMembersQuantity-3505b6f3.mjs +98 -0
  2. package/dist/addMembersQuantity-fb552ca0.js +97 -0
  3. package/dist/auth.server.js +6 -9
  4. package/dist/auth.server.mjs +6 -9
  5. package/dist/community.server.js +28 -21
  6. package/dist/community.server.mjs +28 -21
  7. package/dist/events.server.js +1 -1
  8. package/dist/events.server.mjs +1 -1
  9. package/dist/files.server.js +114 -111
  10. package/dist/files.server.mjs +114 -111
  11. package/dist/gallery.server.js +3 -3
  12. package/dist/gallery.server.mjs +3 -3
  13. package/dist/globals.server.js +1 -1
  14. package/dist/globals.server.mjs +1 -1
  15. package/dist/index-a8dffc0c.js +213 -0
  16. package/dist/index-d769324d.mjs +214 -0
  17. package/dist/mailing-37c2ba41.mjs +68 -0
  18. package/dist/mailing-fe16a26a.js +67 -0
  19. package/dist/main.css +1 -1
  20. package/dist/middlewares.server.js +1 -1
  21. package/dist/middlewares.server.mjs +1 -1
  22. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
  23. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
  24. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
  25. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
  26. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
  27. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
  28. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  29. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
  30. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
  31. package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
  32. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  33. package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
  34. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
  35. package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
  36. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  37. package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
  38. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
  39. package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
  40. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
  41. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
  42. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
  43. package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
  44. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
  45. package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
  46. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  47. package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
  48. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  49. package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
  50. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  51. package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
  54. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
  55. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
  56. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
  57. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
  58. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
  59. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
  60. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
  61. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
  62. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  63. package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
  64. package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
  65. package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
  66. package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
  67. package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
  68. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
  69. package/dist/node_modules/web3/lib/esm/abi.js +5 -10
  70. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  71. package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
  72. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  73. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  74. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  75. package/dist/node_modules/web3/lib/esm/web3.js +53 -57
  76. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
  77. package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
  78. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  79. package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
  80. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  81. package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
  82. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  83. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
  84. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
  85. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  86. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  88. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
  89. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  90. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
  91. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  92. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
  93. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
  94. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
  95. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  96. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
  97. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  98. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
  99. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
  100. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
  101. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
  102. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
  103. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
  104. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
  105. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
  106. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
  107. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
  108. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
  109. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
  110. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  111. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
  112. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
  113. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
  114. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
  115. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
  116. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
  117. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
  118. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  119. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
  120. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  121. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
  122. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
  123. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
  124. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
  125. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
  126. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  127. package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
  128. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  129. package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
  130. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
  131. package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
  132. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
  133. package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
  134. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  135. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
  136. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
  137. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
  138. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
  139. package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
  140. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  141. package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
  142. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
  143. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
  144. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  145. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
  146. package/dist/organizations.server.js +125 -25
  147. package/dist/organizations.server.mjs +125 -25
  148. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
  149. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
  150. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  151. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
  152. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
  153. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
  154. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
  155. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
  156. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  157. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
  158. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
  159. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
  160. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  161. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
  162. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  163. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
  164. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  165. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
  166. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
  167. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
  168. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
  169. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
  170. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
  171. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
  172. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  173. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  174. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
  176. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
  178. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
  179. package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
  180. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
  182. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
  184. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
  186. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
  188. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
  190. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  192. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  193. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  194. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
  196. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
  197. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
  198. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
  200. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
  202. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  203. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
  204. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
  206. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
  208. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
  210. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
  211. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
  212. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
  214. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  215. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
  216. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  217. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  218. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
  219. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
  220. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
  221. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
  222. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
  224. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  225. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
  226. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
  228. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  229. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
  230. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
  232. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
  234. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
  236. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
  238. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
  240. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
  242. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
  244. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
  246. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
  248. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  250. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  252. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
  254. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +90 -47
  256. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
  258. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
  260. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +105 -41
  262. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
  264. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
  266. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
  268. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
  269. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +108 -94
  271. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
  273. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
  275. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
  276. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
  278. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
  280. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  282. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
  284. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
  286. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
  287. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
  288. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
  289. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
  290. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
  291. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
  292. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
  293. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
  294. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +106 -85
  296. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +31 -34
  298. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
  299. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  303. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  305. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  307. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
  309. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
  311. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
  313. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
  315. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
  317. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
  318. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
  319. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
  320. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
  321. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
  322. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
  323. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
  325. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
  327. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
  329. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
  330. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
  331. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
  333. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
  334. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
  335. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
  336. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
  337. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
  338. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
  339. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
  340. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
  341. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
  342. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
  343. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
  345. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
  347. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
  349. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
  353. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
  355. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
  357. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
  359. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
  360. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
  361. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
  363. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
  365. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
  367. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
  368. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
  369. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
  371. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
  373. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
  375. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
  376. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
  377. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
  379. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
  381. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
  383. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +85 -79
  385. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
  387. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
  389. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
  391. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
  393. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +55 -169
  395. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +48 -59
  397. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +173 -94
  399. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +27 -20
  401. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
  403. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +67 -63
  405. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
  407. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
  409. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  411. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
  413. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
  415. package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
  417. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  419. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  421. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
  423. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
  425. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
  427. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +73 -44
  429. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
  431. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  432. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
  433. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  434. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
  435. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
  436. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
  437. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  438. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
  439. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  440. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
  441. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
  442. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
  443. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
  444. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
  445. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  446. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
  447. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  448. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
  449. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  450. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +246 -102
  451. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  452. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
  453. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  454. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
  455. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  456. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +56 -7
  457. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  458. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +82 -65
  459. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  460. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
  461. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
  462. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
  463. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  464. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
  465. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  466. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
  467. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  468. package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
  469. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  470. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
  471. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  472. package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
  473. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  474. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +89 -94
  475. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  476. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  477. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  478. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
  479. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  480. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  481. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  482. package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
  483. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  484. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +80 -71
  485. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
  486. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
  487. package/dist/prometheus-framework.cjs.js +30 -29
  488. package/dist/prometheus-framework.es.js +2478 -2282
  489. package/dist/reports.server.js +1 -1
  490. package/dist/reports.server.mjs +1 -1
  491. package/dist/style.css +1 -1
  492. package/dist/users.server.js +1 -1
  493. package/dist/users.server.mjs +1 -1
  494. package/package.json +4 -2
  495. package/src/assets/images/logo.svg +7 -7
  496. package/src/components/Block/Block.vue +77 -0
  497. package/src/components/Breadcrumbs/Breadcrumbs.vue +2 -2
  498. package/src/components/Button/Button.vue +32 -227
  499. package/src/components/Checkbox/Checkbox.vue +1 -1
  500. package/src/components/Chips/Chips.vue +8 -8
  501. package/src/components/DatePicker/DatePicker.vue +3 -4
  502. package/src/components/EditImages/EditImages.vue +32 -14
  503. package/src/{modules/globals/components/sections → components/Feed}/Feed.vue +60 -45
  504. package/src/components/FieldBig/FieldBig.vue +16 -5
  505. package/src/components/FieldPhone/FieldPhone.vue +2 -1
  506. package/src/components/Footer/Footer.vue +36 -27
  507. package/src/components/Header/Header.vue +161 -166
  508. package/src/components/Loader/Loader.vue +9 -2
  509. package/src/components/LocationMarker/LocationMarker.vue +38 -12
  510. package/src/components/LocationSelection/LocationSelection.vue +67 -75
  511. package/src/components/Magnifier/Magnifier.vue +3 -3
  512. package/src/components/Navigation/Navigation.vue +16 -16
  513. package/src/components/Popup/Popup.vue +8 -6
  514. package/src/components/Select/Select.vue +35 -6
  515. package/src/components/SelectMulti/SelectMulti.vue +5 -13
  516. package/src/components/Shader/Shader.vue +128 -0
  517. package/src/components/Sidebar/Sidebar.vue +71 -35
  518. package/src/components/Spoiler/Spoiler.vue +1 -1
  519. package/src/components/Tab/Tab.vue +1 -1
  520. package/src/components/Tooltip/Tooltip.vue +1 -1
  521. package/src/components/UploadImage/UploadImage.vue +4 -4
  522. package/src/components/UploadImageMultiple/UploadImageMultiple.vue +54 -10
  523. package/src/modules/applications/controllers/applications.controller.js +0 -1
  524. package/src/modules/auth/components/pages/EnterCode.vue +1 -1
  525. package/src/modules/auth/components/pages/EnterPassword.vue +3 -3
  526. package/src/modules/auth/components/pages/ResetPassword.vue +1 -2
  527. package/src/modules/auth/components/pages/SignIn.vue +26 -10
  528. package/src/modules/auth/components/pages/SignUp.vue +1 -2
  529. package/src/modules/auth/controllers/twofa.controller.js +4 -4
  530. package/src/modules/auth/localization/EnterCode.json +2 -2
  531. package/src/modules/auth/localization/EnterPassword.json +2 -2
  532. package/src/modules/auth/localization/ResetPassword.json +2 -2
  533. package/src/modules/auth/localization/SignIn.json +3 -3
  534. package/src/modules/auth/localization/SignUp.json +3 -3
  535. package/src/modules/auth/utils/server/verifyAppleIdToken.js +0 -1
  536. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  537. package/src/modules/backoffice/components/pages/Dashboard.vue +171 -120
  538. package/src/modules/backoffice/router/backoffice.js +119 -129
  539. package/src/modules/chats/components/blocks/ChatMessage.vue +25 -0
  540. package/src/modules/chats/components/pages/ChatPage.vue +50 -0
  541. package/src/modules/chats/components/sections/ChatWindow.vue +38 -0
  542. package/src/modules/chats/controllers/chats.controller.js +32 -0
  543. package/src/modules/chats/models/chat.model.js +26 -0
  544. package/src/modules/chats/routes/chats.routes.js +53 -0
  545. package/src/modules/chats/store/chat.store.js +61 -0
  546. package/src/modules/community/components/blocks/CardBlogpost.vue +19 -4
  547. package/src/modules/community/components/layouts/Community.vue +96 -39
  548. package/src/modules/community/components/pages/Blog.vue +4 -3
  549. package/src/modules/community/components/pages/BlogPost.vue +10 -1
  550. package/src/modules/community/components/pages/CreateBlogPost.vue +36 -17
  551. package/src/modules/community/components/sections/HotPosts.vue +3 -3
  552. package/src/modules/community/components/sections/JoinUs.vue +19 -13
  553. package/src/modules/community/controllers/blog.controller.js +3 -4
  554. package/src/modules/community/controllers/utils/queryProcessor.js +16 -17
  555. package/src/modules/community/models/blogpost.model.js +6 -3
  556. package/src/modules/community/store/blogposts.js +1 -0
  557. package/src/modules/constructor/components/elements/Embed.vue +12 -1
  558. package/src/modules/constructor/components/elements/ImageUpload.vue +2 -2
  559. package/src/modules/constructor/components/elements/Textarea.vue +6 -1
  560. package/src/modules/constructor/components/elements/Video.vue +79 -0
  561. package/src/modules/constructor/components/elements/VideoPlayer.vue +59 -0
  562. package/src/modules/constructor/components/elements/Youtube.vue +52 -0
  563. package/src/modules/constructor/components/sections/Constructor.vue +27 -3
  564. package/src/modules/events/components/layouts/layoutEvents.vue +7 -28
  565. package/src/modules/files/controllers/files.controller.js +9 -22
  566. package/src/modules/files/middlewares/server/index.js +2 -2
  567. package/src/modules/files/middlewares/server/middlewareBusboy.js +137 -0
  568. package/src/modules/files/routes/files.routes.js +9 -9
  569. package/src/modules/globals/localization/vue-i18n.js +8 -1
  570. package/src/modules/globals/mixins/mixins.js +23 -13
  571. package/src/modules/globals/router/routerGuards.js +2 -2
  572. package/src/modules/globals/store/globals.js +86 -9
  573. package/src/modules/globals/utils/mailing.js +24 -3
  574. package/src/modules/icons/entities/IconCommunity.vue +4 -4
  575. package/src/modules/icons/entities/IconEvents.vue +1 -1
  576. package/src/modules/icons/entities/IconGroups.vue +1 -1
  577. package/src/modules/icons/entities/IconPrice.vue +5 -0
  578. package/src/modules/icons/entities/IconProfile.vue +5 -0
  579. package/src/modules/icons/entities/IconShopcart.vue +5 -0
  580. package/src/modules/icons/entities/IconTime.vue +5 -0
  581. package/src/modules/icons/icons.client.js +4 -0
  582. package/src/modules/icons/labels/LabelAppStore.vue +24 -24
  583. package/src/modules/icons/labels/LabelGooglePlay.vue +9 -9
  584. package/src/modules/icons/logos/Logotype.vue +20 -0
  585. package/src/modules/icons/navigation/IconAdd.vue +17 -0
  586. package/src/modules/icons/navigation/IconChevronBottom.vue +18 -0
  587. package/src/modules/icons/navigation/IconChevronRight.vue +3 -3
  588. package/src/modules/icons/navigation/IconDelete.vue +19 -0
  589. package/src/modules/icons/navigation/IconMinus.vue +15 -0
  590. package/src/modules/icons/navigation/IconSearch.vue +17 -0
  591. package/src/modules/icons/navigation/IconUpload.vue +16 -0
  592. package/src/modules/icons/placeholders/PlaceholderImage.vue +5 -0
  593. package/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue +20 -0
  594. package/src/modules/icons/placeholders/PlaceholderUserpic.vue +4 -18
  595. package/src/modules/icons/socials/instagram.vue +1 -1
  596. package/src/modules/icons/socials/line.vue +1 -1
  597. package/src/modules/icons/socials/reddit.vue +1 -1
  598. package/src/modules/icons/socials/telegram.vue +1 -1
  599. package/src/modules/icons/socials/twitter.vue +1 -1
  600. package/src/modules/icons/socials/youtube.vue +1 -1
  601. package/src/modules/landing/components/sections/Guide.vue +92 -0
  602. package/src/modules/landing/components/sections/MobileApp.vue +23 -12
  603. package/src/modules/marketplace/components/layouts/Marketplace.vue +76 -188
  604. package/src/modules/marketplace/components/pages/Catalog.vue +65 -119
  605. package/src/modules/marketplace/components/sections/Filters.vue +195 -0
  606. package/src/modules/marketplace/store/marketplace.js +2 -2
  607. package/src/modules/middlewares/client/auth.validation.js +0 -6
  608. package/src/modules/middlewares/client/states.validation.js +2 -8
  609. package/src/modules/middlewares/server/authJwt.js +1 -1
  610. package/src/modules/mobile/components/Menu/MenuItem.vue +3 -6
  611. package/src/modules/openai/controllers/openai.controller.js +0 -1
  612. package/src/modules/orders/components/blocks/CardOrder.vue +166 -0
  613. package/src/modules/orders/components/blocks/CardOrderItem.vue +59 -66
  614. package/src/modules/orders/components/blocks/Positions.vue +4 -4
  615. package/src/modules/orders/components/pages/EditOrder.vue +78 -142
  616. package/src/modules/orders/components/pages/FormOrder.vue +192 -0
  617. package/src/modules/orders/components/pages/Order.vue +326 -120
  618. package/src/modules/orders/components/pages/Orders.vue +11 -11
  619. package/src/modules/orders/components/pages/{ViewOrder.vue → Orders_refact.vue} +13 -10
  620. package/src/modules/orders/components/partials/ShopCart.vue +22 -13
  621. package/src/modules/orders/components/sections/EmptyState.vue +1 -1
  622. package/src/modules/orders/components/sections/{Form.vue → FormOrderDetails.vue} +38 -106
  623. package/src/modules/orders/controllers/orders.controller.js +37 -28
  624. package/src/modules/orders/models/order.model.js +39 -9
  625. package/src/modules/orders/router/orders.router.js +23 -2
  626. package/src/modules/orders/routes/orders.routes.js +14 -17
  627. package/src/modules/orders/store/orders.js +24 -9
  628. package/src/modules/orders/store/shopcart.js +20 -19
  629. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  630. package/src/modules/organizations/components/blocks/CardOrganization.vue +98 -46
  631. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  632. package/src/modules/organizations/components/blocks/Socials.vue +11 -3
  633. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  634. package/src/modules/organizations/components/pages/Department.vue +1 -1
  635. package/src/modules/organizations/components/pages/DepartmentEdit.vue +4 -4
  636. package/src/modules/organizations/components/pages/Members.vue +6 -4
  637. package/src/modules/organizations/components/pages/Organization.vue +120 -49
  638. package/src/modules/organizations/components/pages/OrganizationEdit.vue +8 -1
  639. package/src/modules/organizations/components/pages/Organizations.vue +27 -6
  640. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -9
  641. package/src/modules/organizations/components/sections/Feed.vue +0 -3
  642. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  643. package/src/modules/organizations/controllers/organizations.controller.js +126 -15
  644. package/src/modules/organizations/controllers/utils/addMembersQuantity.js +19 -9
  645. package/src/modules/organizations/models/organization.model.js +5 -2
  646. package/src/modules/organizations/router/members.router.js +1 -3
  647. package/src/modules/organizations/router/organizations.js +8 -6
  648. package/src/modules/organizations/router/products.router.js +36 -2
  649. package/src/modules/organizations/store/organizations.js +38 -84
  650. package/src/modules/pages/controllers/pages.controller.js +0 -4
  651. package/src/modules/payments/controller/payments.controller.js +1 -1
  652. package/src/modules/products/components/blocks/CardLeftover.vue +17 -22
  653. package/src/modules/products/components/blocks/CardPosition.vue +96 -49
  654. package/src/modules/products/components/blocks/CardProduct.vue +24 -53
  655. package/src/modules/products/components/blocks/Images360.vue +4 -4
  656. package/src/modules/products/components/blocks/ImagesThumbnails.vue +2 -7
  657. package/src/modules/products/components/blocks/ListPositions.vue +74 -0
  658. package/src/modules/products/components/elements/Price.vue +11 -5
  659. package/src/modules/products/components/elements/THC.vue +6 -6
  660. package/src/modules/products/components/pages/{LeftoverAdd.vue → EditLeftover.vue} +93 -79
  661. package/src/modules/products/components/pages/Leftovers.vue +74 -70
  662. package/src/modules/products/components/pages/Product.vue +4 -7
  663. package/src/modules/products/components/pages/ProductEdit.vue +230 -88
  664. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  665. package/src/modules/products/components/pages/Products.vue +6 -3
  666. package/src/modules/products/components/pages/ProductsBackoffice.vue +3 -5
  667. package/src/modules/products/components/sections/EditModifications.vue +3 -3
  668. package/src/modules/products/components/sections/EditProductInfo.vue +40 -50
  669. package/src/modules/products/components/sections/FilterProducts.vue +56 -18
  670. package/src/modules/products/components/sections/HeroRecommendation.vue +233 -99
  671. package/src/modules/products/components/sections/MenuSection.vue +127 -0
  672. package/src/modules/products/components/sections/PopularProducts.vue +81 -37
  673. package/src/modules/products/components/sections/SectionProduct.vue +21 -23
  674. package/src/modules/products/controllers/leftovers.controller.js +11 -1
  675. package/src/modules/products/controllers/products.controller.js +100 -97
  676. package/src/modules/products/models/leftover.model.js +6 -4
  677. package/src/modules/products/models/product.model.js +13 -1
  678. package/src/modules/products/routes/products.routes.js +4 -4
  679. package/src/modules/products/store/leftovers.js +4 -24
  680. package/src/modules/products/store/products.js +44 -30
  681. package/src/modules/spots/components/blocks/CardSpot.vue +43 -72
  682. package/src/modules/spots/components/layouts/Spots.vue +9 -91
  683. package/src/modules/spots/components/pages/Map.vue +171 -62
  684. package/src/modules/spots/components/pages/Spot.vue +1 -1
  685. package/src/modules/spots/components/pages/SpotEdit.vue +131 -174
  686. package/src/modules/spots/controllers/spots.controller.js +1 -0
  687. package/src/modules/spots/models/spot.model.js +6 -3
  688. package/src/modules/spots/store/spots.js +42 -48
  689. package/src/modules/users/components/pages/Profile.vue +6 -28
  690. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  691. package/src/modules/users/components/pages/ProfileEdit.vue +1 -1
  692. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  693. package/src/modules/users/components/pages/ProfileOrganizations.vue +1 -1
  694. package/src/modules/users/router/users.js +1 -1
  695. package/src/modules/wallet/components/pages/Wallet.vue +104 -109
  696. package/src/modules/wallet/controllers/crypto.controller.js +129 -0
  697. package/src/modules/wallet/models/reward.model.js +53 -0
  698. package/src/modules/wallet/routes/crypto.routes.js +36 -0
  699. package/src/modules/wallet/store/wallet.js +52 -49
  700. package/src/styles/base/all.scss +143 -11
  701. package/src/styles/base/backgrounds.scss +2 -34
  702. package/src/styles/base/borders.scss +18 -23
  703. package/src/styles/base/scrolling.scss +97 -29
  704. package/src/styles/base/{shadows.scss → shadow_transitions_hover_refactor.scss} +55 -2
  705. package/src/styles/config.scss +69 -17
  706. package/src/styles/layout.scss +12 -182
  707. package/src/styles/reset.scss +20 -21
  708. package/src/styles/responsive.scss +4 -67
  709. package/src/styles/theme.scss +3 -4
  710. package/src/styles/typography.scss +15 -17
  711. package/src/assets/fonts/AvenirNext-Bold.woff2 +0 -0
  712. package/src/assets/fonts/AvenirNext-DemiBold.woff2 +0 -0
  713. package/src/assets/fonts/AvenirNext-Heavy.woff2 +0 -0
  714. package/src/assets/fonts/AvenirNext-Medium.woff2 +0 -0
  715. package/src/assets/fonts/AvenirNext-Regular.woff2 +0 -0
  716. package/src/assets/fonts/AvenirNext-UltraLight.woff2 +0 -0
  717. package/src/modules/files/middlewares/server/md.js +0 -152
  718. package/src/modules/files/middlewares/server/middlewareMulter.js +0 -121
  719. package/src/modules/organizations/controllers/organizations.new.controller.js +0 -372
  720. package/src/modules/products/components/blocks/EditCategories.vue +0 -68
  721. package/src/modules/products/components/sections/EditParameters.vue +0 -58
  722. package/src/modules/products/components/sections/EditProductImages.vue +0 -67
  723. package/src/modules/spots/components/sections/Feed.vue +0 -64
  724. package/src/styles/base/border-radius.scss +0 -47
  725. package/src/styles/base/cursors.scss +0 -23
  726. package/src/styles/base/height.scss +0 -60
  727. package/src/styles/base/hovers.scss +0 -110
  728. package/src/styles/base/positions.scss +0 -192
  729. package/src/styles/base/transitions.scss +0 -137
  730. package/src/styles/base/width.scss +0 -2
  731. package/src/styles/components/block.scss +0 -18
  732. package/src/styles/components/breadcrumbs.scss +0 -0
  733. package/src/styles/components/input.scss +0 -319
@@ -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;