@ozdao/prometheus-framework 0.2.112 → 0.2.114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (529) hide show
  1. package/dist/common.schema-BFhpUXUt.js +12 -0
  2. package/dist/common.schema-ChBVARrs.mjs +13 -0
  3. package/dist/community.server.js +6 -4
  4. package/dist/community.server.mjs +4 -2
  5. package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
  6. package/dist/engagement.schema-fdLNO2_6.js +27 -0
  7. package/dist/events.server.js +6 -4
  8. package/dist/events.server.mjs +4 -2
  9. package/dist/files.server.js +81 -29
  10. package/dist/files.server.mjs +81 -29
  11. package/dist/gallery.server.js +66 -39
  12. package/dist/gallery.server.mjs +66 -39
  13. package/dist/main-8APITHuW.mjs +14201 -0
  14. package/dist/main-8N2Jmsuk.js +2 -2
  15. package/dist/main-BJvlNekm.mjs +5 -5
  16. package/dist/main-BQisDfLk.js +2 -2
  17. package/dist/main-BV1Yv9Hy.js +2 -2
  18. package/dist/main-Bw0PvTs-.mjs +5 -5
  19. package/dist/main-ByCtZbHD.mjs +5 -5
  20. package/dist/main-CX2ISR43.mjs +5 -5
  21. package/dist/main-CXObXjv-.js +2 -2
  22. package/dist/main-CkeuHuCY.mjs +5 -5
  23. package/dist/main-CnfcBov2.mjs +5 -5
  24. package/dist/main-D50VqYhy.js +2 -2
  25. package/dist/main-D8gNZLSa.js +2 -2
  26. package/dist/main-DPsHxX0l.mjs +5 -5
  27. package/dist/main-DTlUA63C.mjs +5 -5
  28. package/dist/main-DfD5hLQo.mjs +5 -5
  29. package/dist/main-Dh6Zfei9.js +2 -2
  30. package/dist/main-DmNP-t33.mjs +5 -5
  31. package/dist/main-DwyUYWFX.js +2 -2
  32. package/dist/main-VcxO-jAt.js +92 -0
  33. package/dist/main-cffh4bbv.js +2 -2
  34. package/dist/main-pGo7JpSP.js +2 -2
  35. package/dist/main.css +1 -1
  36. package/dist/metadata.schema-6slGhpQS.js +40 -0
  37. package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
  38. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  39. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
  40. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
  41. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
  42. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  43. package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
  44. package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
  45. package/dist/node_modules/web3/lib/esm/index.js +45 -42
  46. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  47. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  48. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  49. package/dist/node_modules/web3/lib/esm/web3.js +40 -37
  50. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  51. package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
  52. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
  54. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  55. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
  56. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
  57. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
  58. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
  59. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
  60. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
  61. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
  62. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
  63. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
  64. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
  65. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
  66. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
  67. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
  68. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
  70. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
  72. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  73. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
  74. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
  76. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
  78. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  79. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
  80. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  81. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
  82. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  83. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
  84. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  85. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
  86. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  87. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
  88. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
  89. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
  90. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  91. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
  92. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
  93. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
  94. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
  95. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
  96. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  97. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
  98. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  99. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
  100. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  101. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
  102. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  103. package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
  104. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  105. package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
  106. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
  108. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  109. package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
  110. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  111. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
  112. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
  113. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
  114. package/dist/orders.server.js +1 -1
  115. package/dist/orders.server.mjs +1 -1
  116. package/dist/organizations.server.js +56 -59
  117. package/dist/organizations.server.mjs +56 -59
  118. package/dist/products.server.js +1 -1
  119. package/dist/products.server.mjs +1 -1
  120. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  121. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
  122. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
  124. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
  126. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
  128. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
  129. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
  130. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
  132. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
  134. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
  136. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
  137. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
  138. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
  140. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
  142. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
  144. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
  146. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
  148. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
  150. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  152. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  153. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
  154. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  156. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
  158. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
  160. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
  162. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  164. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
  166. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
  168. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
  170. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
  172. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
  174. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
  176. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +46 -46
  178. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
  180. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
  182. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
  184. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
  186. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  187. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  188. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  190. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
  192. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  194. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +214 -214
  198. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
  200. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  201. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
  202. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
  204. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
  206. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
  208. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
  209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
  211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
  213. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
  215. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
  218. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
  219. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
  221. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
  223. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
  224. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
  225. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
  226. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
  227. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
  229. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
  231. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
  232. package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
  233. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
  234. package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
  235. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
  236. package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
  237. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
  238. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
  239. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
  240. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
  241. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
  243. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  245. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
  247. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
  249. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
  251. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
  253. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
  255. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
  257. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
  259. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
  261. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
  265. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
  267. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  269. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
  271. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
  273. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  275. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
  277. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
  279. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
  280. package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
  281. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
  283. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
  285. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
  289. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
  291. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
  293. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
  295. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
  297. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
  299. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  301. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
  303. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
  305. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
  307. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
  309. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
  311. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
  313. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
  315. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  317. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
  319. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
  323. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
  325. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
  327. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
  328. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
  330. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
  332. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
  334. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
  336. package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
  338. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
  340. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
  342. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
  344. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
  346. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
  348. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
  350. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
  352. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
  354. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
  356. package/dist/prometheus-framework.cjs.js +1 -1
  357. package/dist/prometheus-framework.es.js +1 -1
  358. package/dist/queryProcessor-BJoJAetd.mjs +162 -0
  359. package/dist/queryProcessor-DWf9tsis.js +161 -0
  360. package/dist/style.css +1 -1
  361. package/dist/wallet.server.js +1 -1
  362. package/dist/wallet.server.mjs +1 -1
  363. package/dist/web-TGdVOTnw.js +1 -0
  364. package/dist/web-_W9a_nWD.mjs +54 -0
  365. package/package.json +1 -1
  366. package/src/components/Address/Address.vue +1 -1
  367. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  368. package/src/components/Block/Block.vue +1 -1
  369. package/src/components/Checkbox/Checkbox.vue +40 -43
  370. package/src/components/Chips/Chips.vue +2 -2
  371. package/src/components/DatePicker/Calendar.vue +29 -31
  372. package/src/components/Dropdown/Dropdown.vue +5 -11
  373. package/src/components/Feed/Feed.vue +98 -15
  374. package/src/components/FieldTags/BlockTags.vue +3 -3
  375. package/src/components/FieldTags/FieldTags.vue +1 -1
  376. package/src/components/FieldTags/vue-tags-input.scss +1 -1
  377. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  378. package/src/components/LocationSelection/LocationSelection.vue +5 -30
  379. package/src/components/Map/LoaderGMaps.js +66 -0
  380. package/src/components/Map/Map.vue +2 -1
  381. package/src/components/Marquee/Marquee.vue +1 -1
  382. package/src/components/Radio/Radio.vue +36 -13
  383. package/src/configurator/components/pages/Styles.vue +1 -1
  384. package/src/modules/auth/components/layouts/Auth.vue +1 -1
  385. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  386. package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
  387. package/src/modules/auth/components/pages/Invite.vue +2 -2
  388. package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
  389. package/src/modules/auth/components/pages/SignIn.vue +4 -4
  390. package/src/modules/auth/components/pages/SignUp.vue +3 -3
  391. package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
  392. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  393. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  394. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  395. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  396. package/src/modules/backoffice/components/admin/Users.vue +1 -1
  397. package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
  398. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  399. package/src/modules/community/components/layouts/Community.vue +2 -2
  400. package/src/modules/community/components/pages/BlogPost.vue +2 -2
  401. package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
  402. package/src/modules/community/components/sections/Comments.vue +2 -2
  403. package/src/modules/community/components/sections/Feed.vue +1 -1
  404. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  405. package/src/modules/constructor/components/elements/Image.vue +1 -1
  406. package/src/modules/constructor/components/elements/Video.vue +2 -2
  407. package/src/modules/events/components/blocks/CardEvent.vue +1 -1
  408. package/src/modules/events/components/pages/EditEvent.vue +32 -32
  409. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  410. package/src/modules/events/components/pages/Event.vue +3 -3
  411. package/src/modules/events/components/pages/Events.vue +4 -3
  412. package/src/modules/events/components/sections/Feed.vue +3 -3
  413. package/src/modules/events/components/sections/List.vue +2 -2
  414. package/src/modules/files/controllers/files.controller.js +8 -6
  415. package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
  416. package/src/modules/files/routes/files.routes.js +11 -9
  417. package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
  418. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
  419. package/src/modules/gallery/controllers/gallery.controller.js +57 -38
  420. package/src/modules/gallery/models/photo.model.js +20 -11
  421. package/src/modules/gallery/routes/gallery.routes.js +3 -3
  422. package/src/modules/gallery/store/gallery.js +3 -78
  423. package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
  424. package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
  425. package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
  426. package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
  427. package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
  428. package/src/modules/globals/components/layouts/Client.vue +273 -0
  429. package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
  430. package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
  431. package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
  432. package/src/modules/globals/models/common.schema.js +1 -1
  433. package/src/modules/globals/services/globals.store.js +11 -6
  434. package/src/modules/globals/store/globals.js +12 -10
  435. package/src/modules/icons/logos/Logotype.vue +23 -19
  436. package/src/modules/icons/navigation/IconCalendar.vue +18 -0
  437. package/src/modules/icons/navigation/IconFilter.vue +18 -0
  438. package/src/modules/icons/navigation/IconSearch.vue +1 -3
  439. package/src/modules/icons/navigation/IconSort.vue +21 -0
  440. package/src/modules/landing/components/pages/Home.vue +4 -4
  441. package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
  442. package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
  443. package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
  444. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  445. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  446. package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
  447. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
  448. package/src/modules/landing/landing.client.js +2 -0
  449. package/src/modules/landing/router/landing.js +1 -1
  450. package/src/modules/legal/components/pages/Legal.vue +2 -2
  451. package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
  452. package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
  453. package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
  454. package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
  455. package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
  456. package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
  457. package/src/modules/marketplace/components/sections/Filters.vue +63 -115
  458. package/src/modules/marketplace/store/marketplace.js +22 -167
  459. package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
  460. package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
  461. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  462. package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
  463. package/src/modules/orders/components/pages/Order.vue +8 -8
  464. package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
  465. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  466. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  467. package/src/modules/orders/components/pages/Orders.vue +3 -5
  468. package/src/modules/orders/components/partials/ShopCart.vue +5 -1
  469. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  470. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  471. package/src/modules/orders/store/applications.js +1 -1
  472. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  473. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  474. package/src/modules/organizations/components/pages/Department.vue +3 -3
  475. package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
  476. package/src/modules/organizations/components/pages/Members.vue +4 -4
  477. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  478. package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
  479. package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
  480. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  481. package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
  482. package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
  483. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  484. package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
  485. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  486. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  487. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  488. package/src/modules/organizations/controllers/organizations.controller.js +103 -93
  489. package/src/modules/organizations/models/organization.model.js +10 -7
  490. package/src/modules/organizations/store/organizations.js +3 -34
  491. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  492. package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
  493. package/src/modules/products/components/pages/Categories.vue +1 -1
  494. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  495. package/src/modules/products/components/pages/Leftovers.vue +4 -4
  496. package/src/modules/products/components/pages/Product.vue +1 -5
  497. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  498. package/src/modules/products/components/pages/Products.vue +2 -2
  499. package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
  500. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  501. package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
  502. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  503. package/src/modules/products/components/sections/PopularProducts.vue +2 -2
  504. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  505. package/src/modules/products/products.client.js +0 -2
  506. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  507. package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
  508. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  509. package/src/modules/spots/components/layouts/Spots.vue +0 -2
  510. package/src/modules/spots/components/pages/Spot.vue +4 -4
  511. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  512. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  513. package/src/modules/spots/components/sections/Places.vue +1 -1
  514. package/src/modules/users/components/pages/Profile.vue +5 -5
  515. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  516. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  517. package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
  518. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  519. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  520. package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
  521. package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
  522. package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
  523. package/src/styles/base/borders.scss +4 -0
  524. package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
  525. package/src/styles/config.scss +15 -9
  526. package/src/styles/layout.scss +37 -8
  527. package/src/styles/typography.scss +24 -24
  528. package/src/modules/products/components/sections/SortProducts.vue +0 -74
  529. /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1,106 +1,108 @@
1
- const R = 100, _ = 101, E = 201, I = 202, N = 203, T = 204, A = 205, o = 206, t = 207, c = 300, n = 301, s = 310, O = 311, S = 400, D = 402, C = 405, L = 407, P = 408, V = 410, M = 411, U = 412, X = 413, G = 414, H = 415, B = 416, K = 417, F = 418, Y = 419, J = 420, W = 421, Q = 422, Z = 423, e = 424, p = 425, r = 426, x = 427, a = 428, b = 429, d = 430, f = 431, g = 432, h = 433, i = 434, j = 435, k = 436, l = 437, m = 438, q = 439, u = 440, v = 441, w = 500, y = 503, z = 505, $ = 506, RR = 507, _R = 600, ER = 602, IR = 603, NR = 604, TR = 701, AR = 702, oR = 703, tR = 704, cR = 705, nR = 706, sR = 707, OR = 709, SR = 801, DR = 802, CR = 4001, LR = 4100, PR = 4200, VR = 4900, MR = 4901, UR = 902, XR = 903, GR = 1001, HR = 1002, BR = 1003, KR = 1004, FR = 1005, YR = 1006, JR = 1008, WR = 1009, QR = 1010, ZR = 1011, eR = 1012, pR = 1014, rR = 1100, xR = 1101, aR = 1200, bR = -32700, dR = -32600, fR = -32601, gR = -32602, hR = -32603, iR = -32e3, jR = -32001, kR = -32002, lR = -32003, mR = -32004, qR = -32005, uR = -32006;
1
+ const R = 100, _ = 101, E = 201, I = 202, N = 203, T = 204, A = 205, o = 206, t = 207, c = 208, n = 300, s = 301, O = 310, S = 311, D = 400, C = 402, L = 405, P = 407, V = 408, M = 410, U = 411, X = 412, G = 413, H = 414, B = 415, K = 416, F = 417, Y = 418, J = 419, W = 420, Q = 421, Z = 422, e = 423, p = 424, r = 425, x = 426, a = 427, b = 428, d = 429, f = 430, g = 431, h = 432, i = 433, j = 434, k = 435, l = 436, m = 437, q = 438, u = 439, v = 440, w = 441, y = 500, z = 503, $ = 505, RR = 506, _R = 507, ER = 600, IR = 602, NR = 603, TR = 604, AR = 701, oR = 702, tR = 703, cR = 704, nR = 705, sR = 706, OR = 707, SR = 709, DR = 801, CR = 802, LR = 4001, PR = 4100, VR = 4200, MR = 4900, UR = 4901, XR = 902, GR = 903, HR = 1001, BR = 1002, KR = 1003, FR = 1004, YR = 1005, JR = 1006, WR = 1008, QR = 1009, ZR = 1010, eR = 1011, pR = 1012, rR = 1014, xR = 1015, aR = 1100, bR = 1101, dR = 1200, fR = -32700, gR = -32600, hR = -32601, iR = -32602, jR = -32603, kR = -32e3, lR = -32001, mR = -32002, qR = -32003, uR = -32004, vR = -32005, wR = -32006;
2
2
  export {
3
3
  A as ERR_ABI_ENCODING,
4
- w as ERR_CONN,
5
- z as ERR_CONN_MAX_ATTEMPTS,
6
- y as ERR_CONN_NOT_OPEN,
7
- $ as ERR_CONN_PENDING_REQUESTS,
8
- c as ERR_CONTRACT,
9
- s as ERR_CONTRACT_EXECUTION_REVERTED,
10
- n as ERR_CONTRACT_RESOLVER_MISSING,
11
- O as ERR_CONTRACT_TX_DATA_AND_INPUT,
12
- xR as ERR_CORE_HARDFORK_MISMATCH,
13
- XR as ERR_ENS_NETWORK_NOT_SYNCED,
14
- UR as ERR_ENS_UNSUPPORTED_NETWORK,
4
+ y as ERR_CONN,
5
+ $ as ERR_CONN_MAX_ATTEMPTS,
6
+ z as ERR_CONN_NOT_OPEN,
7
+ RR as ERR_CONN_PENDING_REQUESTS,
8
+ n as ERR_CONTRACT,
9
+ O as ERR_CONTRACT_EXECUTION_REVERTED,
10
+ s as ERR_CONTRACT_RESOLVER_MISSING,
11
+ S as ERR_CONTRACT_TX_DATA_AND_INPUT,
12
+ bR as ERR_CORE_HARDFORK_MISMATCH,
13
+ GR as ERR_ENS_NETWORK_NOT_SYNCED,
14
+ XR as ERR_ENS_UNSUPPORTED_NETWORK,
15
15
  o as ERR_EXISTING_PLUGIN_NAMESPACE,
16
16
  E as ERR_FORMATTERS,
17
- FR as ERR_INVALID_ADDRESS,
18
- eR as ERR_INVALID_BLOCK,
19
- JR as ERR_INVALID_BOOLEAN,
20
- HR as ERR_INVALID_BYTES,
21
- ER as ERR_INVALID_CLIENT,
22
- YR as ERR_INVALID_HEX,
23
- ZR as ERR_INVALID_LARGE_VALUE,
17
+ YR as ERR_INVALID_ADDRESS,
18
+ pR as ERR_INVALID_BLOCK,
19
+ WR as ERR_INVALID_BOOLEAN,
20
+ BR as ERR_INVALID_BYTES,
21
+ IR as ERR_INVALID_CLIENT,
22
+ JR as ERR_INVALID_HEX,
23
+ xR as ERR_INVALID_INTEGER,
24
+ eR as ERR_INVALID_LARGE_VALUE,
24
25
  t as ERR_INVALID_METHOD_PARAMS,
25
- pR as ERR_INVALID_NIBBLE_WIDTH,
26
- BR as ERR_INVALID_NUMBER,
27
- nR as ERR_INVALID_PASSWORD,
28
- AR as ERR_INVALID_PRIVATE_KEY,
26
+ rR as ERR_INVALID_NIBBLE_WIDTH,
27
+ KR as ERR_INVALID_NUMBER,
28
+ sR as ERR_INVALID_PASSWORD,
29
+ oR as ERR_INVALID_PRIVATE_KEY,
29
30
  _ as ERR_INVALID_RESPONSE,
30
- DR as ERR_INVALID_SIGNATURE,
31
- QR as ERR_INVALID_SIZE,
32
- GR as ERR_INVALID_STRING,
33
- KR as ERR_INVALID_UNIT,
34
- WR as ERR_INVALID_UNSIGNED_INTEGER,
35
- sR as ERR_IV_LENGTH,
36
- tR as ERR_KEY_DERIVATION_FAIL,
37
- cR as ERR_KEY_VERSION_UNSUPPORTED,
31
+ CR as ERR_INVALID_SIGNATURE,
32
+ ZR as ERR_INVALID_SIZE,
33
+ HR as ERR_INVALID_STRING,
34
+ FR as ERR_INVALID_UNIT,
35
+ QR as ERR_INVALID_UNSIGNED_INTEGER,
36
+ OR as ERR_IV_LENGTH,
37
+ cR as ERR_KEY_DERIVATION_FAIL,
38
+ nR as ERR_KEY_VERSION_UNSUPPORTED,
38
39
  I as ERR_METHOD_NOT_IMPLEMENTED,
40
+ c as ERR_MULTIPLE_ERRORS,
39
41
  T as ERR_OPERATION_ABORT,
40
42
  N as ERR_OPERATION_TIMEOUT,
41
- OR as ERR_PBKDF2_ITERATIONS,
42
- TR as ERR_PRIVATE_KEY_LENGTH,
43
- _R as ERR_PROVIDER,
44
- L as ERR_RAW_TX_UNDEFINED,
45
- RR as ERR_REQ_ALREADY_SENT,
43
+ SR as ERR_PBKDF2_ITERATIONS,
44
+ AR as ERR_PRIVATE_KEY_LENGTH,
45
+ ER as ERR_PROVIDER,
46
+ P as ERR_RAW_TX_UNDEFINED,
47
+ _R as ERR_REQ_ALREADY_SENT,
46
48
  R as ERR_RESPONSE,
47
- hR as ERR_RPC_INTERNAL_ERROR,
48
- iR as ERR_RPC_INVALID_INPUT,
49
- bR as ERR_RPC_INVALID_JSON,
50
- fR as ERR_RPC_INVALID_METHOD,
51
- gR as ERR_RPC_INVALID_PARAMS,
52
- dR as ERR_RPC_INVALID_REQUEST,
53
- qR as ERR_RPC_LIMIT_EXCEEDED,
54
- jR as ERR_RPC_MISSING_RESOURCE,
55
- uR as ERR_RPC_NOT_SUPPORTED,
56
- lR as ERR_RPC_TRANSACTION_REJECTED,
57
- kR as ERR_RPC_UNAVAILABLE_RESOURCE,
58
- mR as ERR_RPC_UNSUPPORTED_METHOD,
59
- aR as ERR_SCHEMA_FORMAT,
60
- SR as ERR_SIGNATURE_FAILED,
61
- IR as ERR_SUBSCRIPTION,
62
- S as ERR_TX,
63
- g as ERR_TX_BLOCK_TIMEOUT,
64
- U as ERR_TX_CHAIN_ID_MISMATCH,
65
- j as ERR_TX_CHAIN_MISMATCH,
66
- p as ERR_TX_DATA_AND_INPUT,
67
- i as ERR_TX_GAS_MISMATCH,
68
- v as ERR_TX_GAS_MISMATCH_INNER_ERROR,
69
- k as ERR_TX_HARDFORK_MISMATCH,
70
- X as ERR_TX_INVALID_CHAIN_INFO,
71
- K as ERR_TX_INVALID_FEE_MARKET_GAS,
72
- F as ERR_TX_INVALID_FEE_MARKET_GAS_PRICE,
73
- Y as ERR_TX_INVALID_LEGACY_FEE_MARKET,
74
- B as ERR_TX_INVALID_LEGACY_GAS,
75
- W as ERR_TX_INVALID_NONCE_OR_CHAIN_ID,
76
- J as ERR_TX_INVALID_OBJECT,
77
- q as ERR_TX_INVALID_PROPERTIES_FOR_TYPE,
78
- l as ERR_TX_INVALID_RECEIVER,
79
- P as ERR_TX_INVALID_SENDER,
80
- b as ERR_TX_LOCAL_WALLET_NOT_AVAILABLE,
81
- G as ERR_TX_MISSING_CHAIN_INFO,
82
- V as ERR_TX_MISSING_CUSTOM_CHAIN,
83
- M as ERR_TX_MISSING_CUSTOM_CHAIN_ID,
84
- H as ERR_TX_MISSING_GAS,
85
- u as ERR_TX_MISSING_GAS_INNER_ERROR,
86
- d as ERR_TX_NOT_FOUND,
87
- r as ERR_TX_POLLING_TIMEOUT,
88
- a as ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER,
89
- x as ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL,
90
- D as ERR_TX_REVERT_TRANSACTION,
91
- m as ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR,
92
- C as ERR_TX_REVERT_WITHOUT_REASON,
93
- f as ERR_TX_SEND_TIMEOUT,
94
- h as ERR_TX_SIGNING,
95
- Q as ERR_TX_UNABLE_TO_POPULATE_NONCE,
96
- Z as ERR_TX_UNSUPPORTED_EIP_1559,
97
- e as ERR_TX_UNSUPPORTED_TYPE,
98
- oR as ERR_UNSUPPORTED_KDF,
99
- rR as ERR_VALIDATION,
100
- NR as ERR_WS_PROVIDER,
101
- MR as JSONRPC_ERR_CHAIN_DISCONNECTED,
102
- VR as JSONRPC_ERR_DISCONNECTED,
103
- CR as JSONRPC_ERR_REJECTED_REQUEST,
104
- LR as JSONRPC_ERR_UNAUTHORIZED,
105
- PR as JSONRPC_ERR_UNSUPPORTED_METHOD
49
+ jR as ERR_RPC_INTERNAL_ERROR,
50
+ kR as ERR_RPC_INVALID_INPUT,
51
+ fR as ERR_RPC_INVALID_JSON,
52
+ hR as ERR_RPC_INVALID_METHOD,
53
+ iR as ERR_RPC_INVALID_PARAMS,
54
+ gR as ERR_RPC_INVALID_REQUEST,
55
+ vR as ERR_RPC_LIMIT_EXCEEDED,
56
+ lR as ERR_RPC_MISSING_RESOURCE,
57
+ wR as ERR_RPC_NOT_SUPPORTED,
58
+ qR as ERR_RPC_TRANSACTION_REJECTED,
59
+ mR as ERR_RPC_UNAVAILABLE_RESOURCE,
60
+ uR as ERR_RPC_UNSUPPORTED_METHOD,
61
+ dR as ERR_SCHEMA_FORMAT,
62
+ DR as ERR_SIGNATURE_FAILED,
63
+ NR as ERR_SUBSCRIPTION,
64
+ D as ERR_TX,
65
+ h as ERR_TX_BLOCK_TIMEOUT,
66
+ X as ERR_TX_CHAIN_ID_MISMATCH,
67
+ k as ERR_TX_CHAIN_MISMATCH,
68
+ r as ERR_TX_DATA_AND_INPUT,
69
+ j as ERR_TX_GAS_MISMATCH,
70
+ w as ERR_TX_GAS_MISMATCH_INNER_ERROR,
71
+ l as ERR_TX_HARDFORK_MISMATCH,
72
+ G as ERR_TX_INVALID_CHAIN_INFO,
73
+ F as ERR_TX_INVALID_FEE_MARKET_GAS,
74
+ Y as ERR_TX_INVALID_FEE_MARKET_GAS_PRICE,
75
+ J as ERR_TX_INVALID_LEGACY_FEE_MARKET,
76
+ K as ERR_TX_INVALID_LEGACY_GAS,
77
+ Q as ERR_TX_INVALID_NONCE_OR_CHAIN_ID,
78
+ W as ERR_TX_INVALID_OBJECT,
79
+ u as ERR_TX_INVALID_PROPERTIES_FOR_TYPE,
80
+ m as ERR_TX_INVALID_RECEIVER,
81
+ V as ERR_TX_INVALID_SENDER,
82
+ d as ERR_TX_LOCAL_WALLET_NOT_AVAILABLE,
83
+ H as ERR_TX_MISSING_CHAIN_INFO,
84
+ M as ERR_TX_MISSING_CUSTOM_CHAIN,
85
+ U as ERR_TX_MISSING_CUSTOM_CHAIN_ID,
86
+ B as ERR_TX_MISSING_GAS,
87
+ v as ERR_TX_MISSING_GAS_INNER_ERROR,
88
+ f as ERR_TX_NOT_FOUND,
89
+ x as ERR_TX_POLLING_TIMEOUT,
90
+ b as ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER,
91
+ a as ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL,
92
+ C as ERR_TX_REVERT_TRANSACTION,
93
+ q as ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR,
94
+ L as ERR_TX_REVERT_WITHOUT_REASON,
95
+ g as ERR_TX_SEND_TIMEOUT,
96
+ i as ERR_TX_SIGNING,
97
+ Z as ERR_TX_UNABLE_TO_POPULATE_NONCE,
98
+ e as ERR_TX_UNSUPPORTED_EIP_1559,
99
+ p as ERR_TX_UNSUPPORTED_TYPE,
100
+ tR as ERR_UNSUPPORTED_KDF,
101
+ aR as ERR_VALIDATION,
102
+ TR as ERR_WS_PROVIDER,
103
+ UR as JSONRPC_ERR_CHAIN_DISCONNECTED,
104
+ MR as JSONRPC_ERR_DISCONNECTED,
105
+ LR as JSONRPC_ERR_REJECTED_REQUEST,
106
+ PR as JSONRPC_ERR_UNAUTHORIZED,
107
+ VR as JSONRPC_ERR_UNSUPPORTED_METHOD
106
108
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../error_codes.cjs"),o=require("../web3_error_base.cjs");class i extends o.BaseWeb3Error{constructor(t,e){super(t),this.code=s.ERR_CONTRACT,this.receipt=e}}class c extends o.BaseWeb3Error{constructor(t,e){super(`The resolver at ${t} does not implement requested method: "${e}".`),this.address=t,this.name=e,this.code=s.ERR_CONTRACT_RESOLVER_MISSING}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{address:this.address,name:this.name})}}class a extends i{constructor(t){if(super(t.message||"Error"),this.name="name"in t&&t.name||this.constructor.name,this.stack="stack"in t&&t.stack||void 0,this.code=t.code,typeof t.data=="object"){let e;"originalError"in t.data?e=t.data.originalError:e=t.data,this.data=e.data,this.innerError=new a(e)}else this.data=t.data}setDecodedProperties(t,e,r){this.errorName=t,this.errorSignature=e,this.errorArgs=r}toJSON(){let t=Object.assign(Object.assign({},super.toJSON()),{data:this.data});return this.errorName&&(t=Object.assign(Object.assign({},t),{errorName:this.errorName,errorSignature:this.errorSignature,errorArgs:this.errorArgs})),t}}class d extends i{constructor(t){super("Error happened while trying to execute a function inside a smart contract"),this.code=s.ERR_CONTRACT_EXECUTION_REVERTED,this.innerError=new a(t)}}class u extends o.InvalidValueError{constructor(t){var e,r;super(`data: ${(e=t.data)!==null&&e!==void 0?e:"undefined"}, input: ${(r=t.input)!==null&&r!==void 0?r:"undefined"}`,`You can't have "data" and "input" as properties of a contract at the same time, please use either "data" or "input" instead.`),this.code=s.ERR_CONTRACT_TX_DATA_AND_INPUT}}exports.ContractExecutionError=d;exports.ContractTransactionDataAndInputError=u;exports.Eip838ExecutionError=a;exports.ResolverMethodMissingError=c;exports.Web3ContractError=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../error_codes.cjs"),o=require("../web3_error_base.cjs");class i extends o.BaseWeb3Error{constructor(t,e){super(t),this.code=s.ERR_CONTRACT,this.receipt=e}}class c extends o.BaseWeb3Error{constructor(t,e){super(`The resolver at ${t} does not implement requested method: "${e}".`),this.address=t,this.name=e,this.code=s.ERR_CONTRACT_RESOLVER_MISSING}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{address:this.address,name:this.name})}}class a extends i{constructor(t){if(super(t.message||"Error"),this.name="name"in t&&t.name||this.constructor.name,this.stack="stack"in t&&t.stack||void 0,this.code=t.code,typeof t.data=="object"){let e;"originalError"in t.data?e=t.data.originalError:e=t.data,this.data=e.data,this.cause=new a(e)}else this.data=t.data}setDecodedProperties(t,e,r){this.errorName=t,this.errorSignature=e,this.errorArgs=r}toJSON(){let t=Object.assign(Object.assign({},super.toJSON()),{data:this.data});return this.errorName&&(t=Object.assign(Object.assign({},t),{errorName:this.errorName,errorSignature:this.errorSignature,errorArgs:this.errorArgs})),t}}class d extends i{constructor(t){super("Error happened while trying to execute a function inside a smart contract"),this.code=s.ERR_CONTRACT_EXECUTION_REVERTED,this.cause=new a(t)}}class u extends o.InvalidValueError{constructor(t){var e,r;super(`data: ${(e=t.data)!==null&&e!==void 0?e:"undefined"}, input: ${(r=t.input)!==null&&r!==void 0?r:"undefined"}`,`You can't have "data" and "input" as properties of a contract at the same time, please use either "data" or "input" instead.`),this.code=s.ERR_CONTRACT_TX_DATA_AND_INPUT}}exports.ContractExecutionError=d;exports.ContractTransactionDataAndInputError=u;exports.Eip838ExecutionError=a;exports.ResolverMethodMissingError=c;exports.Web3ContractError=i;
@@ -1,4 +1,4 @@
1
- import { ERR_CONTRACT as o, ERR_CONTRACT_RESOLVER_MISSING as d, ERR_CONTRACT_EXECUTION_REVERTED as c, ERR_CONTRACT_TX_DATA_AND_INPUT as u } from "../error_codes.js";
1
+ import { ERR_CONTRACT as o, ERR_CONTRACT_RESOLVER_MISSING as c, ERR_CONTRACT_EXECUTION_REVERTED as d, ERR_CONTRACT_TX_DATA_AND_INPUT as u } from "../error_codes.js";
2
2
  import { BaseWeb3Error as i, InvalidValueError as h } from "../web3_error_base.js";
3
3
  class n extends i {
4
4
  constructor(t, e) {
@@ -7,7 +7,7 @@ class n extends i {
7
7
  }
8
8
  class l extends i {
9
9
  constructor(t, e) {
10
- super(`The resolver at ${t} does not implement requested method: "${e}".`), this.address = t, this.name = e, this.code = d;
10
+ super(`The resolver at ${t} does not implement requested method: "${e}".`), this.address = t, this.name = e, this.code = c;
11
11
  }
12
12
  toJSON() {
13
13
  return Object.assign(Object.assign({}, super.toJSON()), { address: this.address, name: this.name });
@@ -17,12 +17,12 @@ class a extends n {
17
17
  constructor(t) {
18
18
  if (super(t.message || "Error"), this.name = "name" in t && t.name || this.constructor.name, this.stack = "stack" in t && t.stack || void 0, this.code = t.code, typeof t.data == "object") {
19
19
  let e;
20
- "originalError" in t.data ? e = t.data.originalError : e = t.data, this.data = e.data, this.innerError = new a(e);
20
+ "originalError" in t.data ? e = t.data.originalError : e = t.data, this.data = e.data, this.cause = new a(e);
21
21
  } else
22
22
  this.data = t.data;
23
23
  }
24
- setDecodedProperties(t, e, r) {
25
- this.errorName = t, this.errorSignature = e, this.errorArgs = r;
24
+ setDecodedProperties(t, e, s) {
25
+ this.errorName = t, this.errorSignature = e, this.errorArgs = s;
26
26
  }
27
27
  toJSON() {
28
28
  let t = Object.assign(Object.assign({}, super.toJSON()), { data: this.data });
@@ -31,13 +31,13 @@ class a extends n {
31
31
  }
32
32
  class m extends n {
33
33
  constructor(t) {
34
- super("Error happened while trying to execute a function inside a smart contract"), this.code = c, this.innerError = new a(t);
34
+ super("Error happened while trying to execute a function inside a smart contract"), this.code = d, this.cause = new a(t);
35
35
  }
36
36
  }
37
37
  class g extends h {
38
38
  constructor(t) {
39
- var e, r;
40
- super(`data: ${(e = t.data) !== null && e !== void 0 ? e : "undefined"}, input: ${(r = t.input) !== null && r !== void 0 ? r : "undefined"}`, `You can't have "data" and "input" as properties of a contract at the same time, please use either "data" or "input" instead.`), this.code = u;
39
+ var e, s;
40
+ super(`data: ${(e = t.data) !== null && e !== void 0 ? e : "undefined"}, input: ${(s = t.input) !== null && s !== void 0 ? s : "undefined"}`, `You can't have "data" and "input" as properties of a contract at the same time, please use either "data" or "input" instead.`), this.code = u;
41
41
  }
42
42
  }
43
43
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../web3_error_base.cjs"),c=require("../error_codes.cjs"),s=i=>!Array.isArray(i)&&i.jsonrpc==="2.0"&&!!i&&(i.result===void 0||i.result===null)&&"error"in i&&(typeof i.id=="number"||typeof i.id=="string"),u=i=>s(i)?i.error.message:"";class l extends E.BaseWeb3Error{constructor(r,t,o){var a;super(t??`Returned error: ${Array.isArray(r)?r.map(e=>u(e)).join(","):u(r)}`),this.code=c.ERR_RESPONSE,t||(this.data=Array.isArray(r)?r.map(e=>{var n;return(n=e.error)===null||n===void 0?void 0:n.data}):(a=r==null?void 0:r.error)===null||a===void 0?void 0:a.data),this.request=o;let d;"error"in r?d=r.error:r instanceof Array&&(d=r.map(e=>e.error)),this.innerError=d}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{data:this.data,request:this.request})}}class f extends l{constructor(r,t){super(r,void 0,t),this.code=c.ERR_INVALID_RESPONSE;let o;"error"in r?o=r.error:r instanceof Array&&(o=r.map(a=>a.error)),this.innerError=o}}exports.InvalidResponseError=f;exports.ResponseError=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../web3_error_base.cjs"),n=require("../error_codes.cjs"),E=i=>!Array.isArray(i)&&i.jsonrpc==="2.0"&&!!i&&(i.result===void 0||i.result===null)&&"error"in i&&(typeof i.id=="number"||typeof i.id=="string"),s=i=>E(i)?i.error.message:"";class c extends l.BaseWeb3Error{constructor(r,a,t){var d;super(a??`Returned error: ${Array.isArray(r)?r.map(e=>s(e)).join(","):s(r)}`),this.code=n.ERR_RESPONSE,a||(this.data=Array.isArray(r)?r.map(e=>{var u;return(u=e.error)===null||u===void 0?void 0:u.data}):(d=r==null?void 0:r.error)===null||d===void 0?void 0:d.data),this.request=t;let o;"error"in r?o=r.error:r instanceof Array&&(o=r.filter(e=>e.error).map(e=>e.error)),Array.isArray(o)&&o.length>0?this.cause=new l.MultipleErrors(o):this.cause=o}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{data:this.data,request:this.request})}}class y extends c{constructor(r,a){super(r,void 0,a),this.code=n.ERR_INVALID_RESPONSE;let t;"error"in r?t=r.error:r instanceof Array&&(t=r.map(d=>d.error)),Array.isArray(t)?this.cause=new l.MultipleErrors(t):this.cause=t}}exports.InvalidResponseError=y;exports.ResponseError=c;
@@ -1,30 +1,30 @@
1
- import { BaseWeb3Error as l } from "../web3_error_base.js";
2
- import { ERR_INVALID_RESPONSE as c, ERR_RESPONSE as E } from "../error_codes.js";
3
- const f = (i) => !Array.isArray(i) && i.jsonrpc === "2.0" && !!i && // eslint-disable-next-line no-null/no-null
1
+ import { MultipleErrors as c, BaseWeb3Error as n } from "../web3_error_base.js";
2
+ import { ERR_INVALID_RESPONSE as f, ERR_RESPONSE as s } from "../error_codes.js";
3
+ const y = (i) => !Array.isArray(i) && i.jsonrpc === "2.0" && !!i && // eslint-disable-next-line no-null/no-null
4
4
  (i.result === void 0 || i.result === null) && // JSON RPC consider "null" as valid response
5
- "error" in i && (typeof i.id == "number" || typeof i.id == "string"), u = (i) => f(i) ? i.error.message : "";
6
- class v extends l {
7
- constructor(r, t, o) {
8
- var a;
9
- super(t ?? `Returned error: ${Array.isArray(r) ? r.map((d) => u(d)).join(",") : u(r)}`), this.code = E, t || (this.data = Array.isArray(r) ? r.map((d) => {
10
- var e;
11
- return (e = d.error) === null || e === void 0 ? void 0 : e.data;
12
- }) : (a = r == null ? void 0 : r.error) === null || a === void 0 ? void 0 : a.data), this.request = o;
13
- let n;
14
- "error" in r ? n = r.error : r instanceof Array && (n = r.map((d) => d.error)), this.innerError = n;
5
+ "error" in i && (typeof i.id == "number" || typeof i.id == "string"), l = (i) => y(i) ? i.error.message : "";
6
+ class E extends n {
7
+ constructor(r, o, t) {
8
+ var d;
9
+ super(o ?? `Returned error: ${Array.isArray(r) ? r.map((a) => l(a)).join(",") : l(r)}`), this.code = s, o || (this.data = Array.isArray(r) ? r.map((a) => {
10
+ var u;
11
+ return (u = a.error) === null || u === void 0 ? void 0 : u.data;
12
+ }) : (d = r == null ? void 0 : r.error) === null || d === void 0 ? void 0 : d.data), this.request = t;
13
+ let e;
14
+ "error" in r ? e = r.error : r instanceof Array && (e = r.filter((a) => a.error).map((a) => a.error)), Array.isArray(e) && e.length > 0 ? this.cause = new c(e) : this.cause = e;
15
15
  }
16
16
  toJSON() {
17
17
  return Object.assign(Object.assign({}, super.toJSON()), { data: this.data, request: this.request });
18
18
  }
19
19
  }
20
- class h extends v {
21
- constructor(r, t) {
22
- super(r, void 0, t), this.code = c;
23
- let o;
24
- "error" in r ? o = r.error : r instanceof Array && (o = r.map((a) => a.error)), this.innerError = o;
20
+ class v extends E {
21
+ constructor(r, o) {
22
+ super(r, void 0, o), this.code = f;
23
+ let t;
24
+ "error" in r ? t = r.error : r instanceof Array && (t = r.map((d) => d.error)), Array.isArray(t) ? this.cause = new c(t) : this.cause = t;
25
25
  }
26
26
  }
27
27
  export {
28
- h as InvalidResponseError,
29
- v as ResponseError
28
+ v as InvalidResponseError,
29
+ E as ResponseError
30
30
  };
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../error_codes.cjs"),t=require("../web3_error_base.cjs");class c extends t.BaseWeb3Error{constructor(r,s){super(r),this.receipt=s,this.code=o.ERR_TX}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{receipt:this.receipt})}}class d extends t.BaseWeb3Error{constructor(r,s,e,a){super(`Transaction has been reverted by the EVM${e===void 0?"":`:
2
- ${t.BaseWeb3Error.convertToString(e)}`}`),this.reason=r,this.signature=s,this.receipt=e,this.data=a,this.code=o.ERR_TX_REVERT_TRANSACTION}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,signature:this.signature,receipt:this.receipt,data:this.data})}}class T extends d{constructor(r,s,e,a,i,h,_){super(r),this.reason=r,this.customErrorName=s,this.customErrorDecodedSignature=e,this.customErrorArguments=a,this.signature=i,this.receipt=h,this.data=_,this.code=o.ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,customErrorName:this.customErrorName,customErrorDecodedSignature:this.customErrorDecodedSignature,customErrorArguments:this.customErrorArguments,signature:this.signature,receipt:this.receipt,data:this.data})}}class p extends c{constructor(r){super(`Transaction has been reverted by the EVM${r===void 0?"":`:
3
- ${t.BaseWeb3Error.convertToString(r)}`}`,r),this.code=o.ERR_TX_REVERT_WITHOUT_REASON}}class I extends c{constructor(){super("Raw transaction undefined"),this.code=o.ERR_RAW_TX_UNDEFINED}}class R extends c{constructor(){super("Transaction not found"),this.code=o.ERR_TX_NOT_FOUND}}class m extends t.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid sender"),this.code=o.ERR_TX_INVALID_SENDER}}class v extends t.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid receiver"),this.code=o.ERR_TX_INVALID_RECEIVER}}class N extends t.InvalidValueError{constructor(){super("MissingCustomChainError","If tx.common is provided it must have tx.common.customChain"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN}}class g extends t.InvalidValueError{constructor(){super("MissingCustomChainIdError","If tx.common is provided it must have tx.common.customChain and tx.common.customChain.chainId"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN_ID}}class P extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain Id doesnt match in tx.chainId tx.common.customChain.chainId"),this.code=o.ERR_TX_CHAIN_ID_MISMATCH}}class x extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain doesnt match in tx.chain tx.common.basechain"),this.code=o.ERR_TX_CHAIN_MISMATCH}}class b extends t.InvalidValueError{constructor(r){super(JSON.stringify(r),"hardfork doesnt match in tx.hardfork tx.common.hardfork"),this.code=o.ERR_TX_HARDFORK_MISMATCH}}class O extends t.InvalidValueError{constructor(){super("CommonOrChainAndHardforkError","Please provide the common object or the chain and hardfork property but not all together."),this.code=o.ERR_TX_INVALID_CHAIN_INFO}}class S extends t.InvalidValueError{constructor(r){var s,e;super("MissingChainOrHardforkError",`When specifying chain and hardfork, both values must be defined. Received "chain": ${(s=r.chain)!==null&&s!==void 0?s:"undefined"}, "hardfork": ${(e=r.hardfork)!==null&&e!==void 0?e:"undefined"}`),this.code=o.ERR_TX_MISSING_CHAIN_INFO}}class u extends t.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions'),this.code=o.ERR_TX_MISSING_GAS_INNER_ERROR}}class f extends t.InvalidValueError{constructor(r){var s,e,a,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(a=r.maxPriorityFeePerGas)!==null&&a!==void 0?a:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,'"gas" is missing'),this.code=o.ERR_TX_MISSING_GAS,this.innerError=new u}}class E extends t.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions, not both'),this.code=o.ERR_TX_GAS_MISMATCH_INNER_ERROR}}class C extends t.InvalidValueError{constructor(r){var s,e,a,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(a=r.maxPriorityFeePerGas)!==null&&a!==void 0?a:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,"transaction must specify legacy or fee market gas properties, not both"),this.code=o.ERR_TX_GAS_MISMATCH,this.innerError=new E}}class M extends t.InvalidValueError{constructor(r){var s,e;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}`,"Gas or gasPrice is lower than 0"),this.code=o.ERR_TX_INVALID_LEGACY_GAS}}class A extends t.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"maxPriorityFeePerGas or maxFeePerGas is lower than 0"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS}}class G extends t.InvalidValueError{constructor(r){super(r,"eip-1559 transactions don't support gasPrice"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS_PRICE}}class y extends t.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"pre-eip-1559 transaction don't support maxFeePerGas/maxPriorityFeePerGas"),this.code=o.ERR_TX_INVALID_LEGACY_FEE_MARKET}}class F extends t.InvalidValueError{constructor(r){super(r,"invalid transaction object"),this.code=o.ERR_TX_INVALID_OBJECT}}class V extends t.InvalidValueError{constructor(r){var s,e;super(`nonce: ${(s=r.nonce)!==null&&s!==void 0?s:"undefined"}, chainId: ${(e=r.chainId)!==null&&e!==void 0?e:"undefined"}`,"Nonce or chainId is lower than 0"),this.code=o.ERR_TX_INVALID_NONCE_OR_CHAIN_ID}}class $ extends t.InvalidValueError{constructor(){super("UnableToPopulateNonceError","unable to populate nonce, no from address available"),this.code=o.ERR_TX_UNABLE_TO_POPULATE_NONCE}}class H extends t.InvalidValueError{constructor(){super("Eip1559NotSupportedError","Network doesn't support eip-1559"),this.code=o.ERR_TX_UNSUPPORTED_EIP_1559}}class X extends t.InvalidValueError{constructor(r){super(r,"unsupported transaction type"),this.code=o.ERR_TX_UNSUPPORTED_TYPE}}class k extends t.InvalidValueError{constructor(r){var s,e;super(`data: ${(s=r.data)!==null&&s!==void 0?s:"undefined"}, input: ${(e=r.input)!==null&&e!==void 0?e:"undefined"}`,`You can't have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.`),this.code=o.ERR_TX_DATA_AND_INPUT}}class L extends t.BaseWeb3Error{constructor(r){super(`The connected Ethereum Node did not respond within ${r.numberOfSeconds} seconds, please make sure your transaction was properly sent and you are connected to a healthy Node. Be aware that transaction might still be pending or mined!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../error_codes.cjs"),a=require("../web3_error_base.cjs");class c extends a.BaseWeb3Error{constructor(r,s){super(r),this.receipt=s,this.code=o.ERR_TX}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{receipt:this.receipt})}}class d extends a.BaseWeb3Error{constructor(r,s,e,t){super(`Transaction has been reverted by the EVM${e===void 0?"":`:
2
+ ${a.BaseWeb3Error.convertToString(e)}`}`),this.reason=r,this.signature=s,this.receipt=e,this.data=t,this.code=o.ERR_TX_REVERT_TRANSACTION}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,signature:this.signature,receipt:this.receipt,data:this.data})}}class T extends d{constructor(r,s,e,t,i,h,_){super(r),this.reason=r,this.customErrorName=s,this.customErrorDecodedSignature=e,this.customErrorArguments=t,this.signature=i,this.receipt=h,this.data=_,this.code=o.ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reason:this.reason,customErrorName:this.customErrorName,customErrorDecodedSignature:this.customErrorDecodedSignature,customErrorArguments:this.customErrorArguments,signature:this.signature,receipt:this.receipt,data:this.data})}}class p extends c{constructor(r){super(`Transaction has been reverted by the EVM${r===void 0?"":`:
3
+ ${a.BaseWeb3Error.convertToString(r)}`}`,r),this.code=o.ERR_TX_REVERT_WITHOUT_REASON}}class I extends c{constructor(){super("Raw transaction undefined"),this.code=o.ERR_RAW_TX_UNDEFINED}}class R extends c{constructor(){super("Transaction not found"),this.code=o.ERR_TX_NOT_FOUND}}class m extends a.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid sender"),this.code=o.ERR_TX_INVALID_SENDER}}class v extends a.InvalidValueError{constructor(r){super(r,"invalid transaction with invalid receiver"),this.code=o.ERR_TX_INVALID_RECEIVER}}class N extends a.InvalidValueError{constructor(){super("MissingCustomChainError","If tx.common is provided it must have tx.common.customChain"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN}}class g extends a.InvalidValueError{constructor(){super("MissingCustomChainIdError","If tx.common is provided it must have tx.common.customChain and tx.common.customChain.chainId"),this.code=o.ERR_TX_MISSING_CUSTOM_CHAIN_ID}}class P extends a.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain Id doesnt match in tx.chainId tx.common.customChain.chainId"),this.code=o.ERR_TX_CHAIN_ID_MISMATCH}}class x extends a.InvalidValueError{constructor(r){super(JSON.stringify(r),"Chain doesnt match in tx.chain tx.common.basechain"),this.code=o.ERR_TX_CHAIN_MISMATCH}}class b extends a.InvalidValueError{constructor(r){super(JSON.stringify(r),"hardfork doesnt match in tx.hardfork tx.common.hardfork"),this.code=o.ERR_TX_HARDFORK_MISMATCH}}class O extends a.InvalidValueError{constructor(){super("CommonOrChainAndHardforkError","Please provide the common object or the chain and hardfork property but not all together."),this.code=o.ERR_TX_INVALID_CHAIN_INFO}}class S extends a.InvalidValueError{constructor(r){var s,e;super("MissingChainOrHardforkError",`When specifying chain and hardfork, both values must be defined. Received "chain": ${(s=r.chain)!==null&&s!==void 0?s:"undefined"}, "hardfork": ${(e=r.hardfork)!==null&&e!==void 0?e:"undefined"}`),this.code=o.ERR_TX_MISSING_CHAIN_INFO}}class u extends a.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions'),this.code=o.ERR_TX_MISSING_GAS_INNER_ERROR}}class f extends a.InvalidValueError{constructor(r){var s,e,t,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(t=r.maxPriorityFeePerGas)!==null&&t!==void 0?t:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,'"gas" is missing'),this.code=o.ERR_TX_MISSING_GAS,this.cause=new u}}class E extends a.BaseWeb3Error{constructor(){super('Missing properties in transaction, either define "gas" and "gasPrice" for type 0 transactions or "gas", "maxPriorityFeePerGas" and "maxFeePerGas" for type 2 transactions, not both'),this.code=o.ERR_TX_GAS_MISMATCH_INNER_ERROR}}class C extends a.InvalidValueError{constructor(r){var s,e,t,i;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}, maxPriorityFeePerGas: ${(t=r.maxPriorityFeePerGas)!==null&&t!==void 0?t:"undefined"}, maxFeePerGas: ${(i=r.maxFeePerGas)!==null&&i!==void 0?i:"undefined"}`,"transaction must specify legacy or fee market gas properties, not both"),this.code=o.ERR_TX_GAS_MISMATCH,this.cause=new E}}class M extends a.InvalidValueError{constructor(r){var s,e;super(`gas: ${(s=r.gas)!==null&&s!==void 0?s:"undefined"}, gasPrice: ${(e=r.gasPrice)!==null&&e!==void 0?e:"undefined"}`,"Gas or gasPrice is lower than 0"),this.code=o.ERR_TX_INVALID_LEGACY_GAS}}class A extends a.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"maxPriorityFeePerGas or maxFeePerGas is lower than 0"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS}}class G extends a.InvalidValueError{constructor(r){super(r,"eip-1559 transactions don't support gasPrice"),this.code=o.ERR_TX_INVALID_FEE_MARKET_GAS_PRICE}}class y extends a.InvalidValueError{constructor(r){var s,e;super(`maxPriorityFeePerGas: ${(s=r.maxPriorityFeePerGas)!==null&&s!==void 0?s:"undefined"}, maxFeePerGas: ${(e=r.maxFeePerGas)!==null&&e!==void 0?e:"undefined"}`,"pre-eip-1559 transaction don't support maxFeePerGas/maxPriorityFeePerGas"),this.code=o.ERR_TX_INVALID_LEGACY_FEE_MARKET}}class F extends a.InvalidValueError{constructor(r){super(r,"invalid transaction object"),this.code=o.ERR_TX_INVALID_OBJECT}}class V extends a.InvalidValueError{constructor(r){var s,e;super(`nonce: ${(s=r.nonce)!==null&&s!==void 0?s:"undefined"}, chainId: ${(e=r.chainId)!==null&&e!==void 0?e:"undefined"}`,"Nonce or chainId is lower than 0"),this.code=o.ERR_TX_INVALID_NONCE_OR_CHAIN_ID}}class $ extends a.InvalidValueError{constructor(){super("UnableToPopulateNonceError","unable to populate nonce, no from address available"),this.code=o.ERR_TX_UNABLE_TO_POPULATE_NONCE}}class H extends a.InvalidValueError{constructor(){super("Eip1559NotSupportedError","Network doesn't support eip-1559"),this.code=o.ERR_TX_UNSUPPORTED_EIP_1559}}class X extends a.InvalidValueError{constructor(r){super(r,"unsupported transaction type"),this.code=o.ERR_TX_UNSUPPORTED_TYPE}}class k extends a.InvalidValueError{constructor(r){var s,e;super(`data: ${(s=r.data)!==null&&s!==void 0?s:"undefined"}, input: ${(e=r.input)!==null&&e!==void 0?e:"undefined"}`,`You can't have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.`),this.code=o.ERR_TX_DATA_AND_INPUT}}class L extends a.BaseWeb3Error{constructor(r){super(`The connected Ethereum Node did not respond within ${r.numberOfSeconds} seconds, please make sure your transaction was properly sent and you are connected to a healthy Node. Be aware that transaction might still be pending or mined!
4
4
  Transaction Hash: ${r.transactionHash?r.transactionHash.toString():"not available"}`),this.code=o.ERR_TX_SEND_TIMEOUT}}function l(n){return`Please make sure your transaction was properly sent and there are no previous pending transaction for the same account. However, be aware that it might still be mined!
5
- Transaction Hash: ${n?n.toString():"not available"}`}class D extends t.BaseWeb3Error{constructor(r){super(`Transaction was not mined within ${r.numberOfSeconds} seconds. ${l(r.transactionHash)}`),this.code=o.ERR_TX_POLLING_TIMEOUT}}class B extends t.BaseWeb3Error{constructor(r){super(`Transaction started at ${r.starterBlockNumber} but was not mined within ${r.numberOfBlocks} blocks. ${l(r.transactionHash)}`),this.code=o.ERR_TX_BLOCK_TIMEOUT}}class U extends t.InvalidValueError{constructor(r){var s,e;super(`receipt: ${JSON.stringify(r.receipt)}, blockHash: ${(s=r.blockHash)===null||s===void 0?void 0:s.toString()}, transactionHash: ${(e=r.transactionHash)===null||e===void 0?void 0:e.toString()}`,"Receipt missing or blockHash null"),this.code=o.ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL}}class w extends t.InvalidValueError{constructor(r){super(`receipt: ${JSON.stringify(r.receipt)}`,"Receipt missing block number"),this.code=o.ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER}}class W extends t.BaseWeb3Error{constructor(r){super(`Invalid signature. "${r}"`),this.code=o.ERR_TX_SIGNING}}class j extends t.InvalidValueError{constructor(){super("LocalWalletNotAvailableError","Attempted to index account in local wallet, but no wallet is available"),this.code=o.ERR_TX_LOCAL_WALLET_NOT_AVAILABLE}}class J extends t.BaseWeb3Error{constructor(r,s){const e=[];r.forEach(a=>e.push(a.keyword)),super(`The following properties are invalid for the transaction type ${s}: ${e.join(", ")}`),this.code=o.ERR_TX_INVALID_PROPERTIES_FOR_TYPE}}exports.ChainIdMismatchError=P;exports.ChainMismatchError=x;exports.CommonOrChainAndHardforkError=O;exports.Eip1559GasPriceError=G;exports.Eip1559NotSupportedError=H;exports.HardforkMismatchError=b;exports.InvalidGasOrGasPrice=M;exports.InvalidMaxPriorityFeePerGasOrMaxFeePerGas=A;exports.InvalidNonceOrChainIdError=V;exports.InvalidPropertiesForTransactionTypeError=J;exports.InvalidTransactionObjectError=F;exports.InvalidTransactionWithReceiver=v;exports.InvalidTransactionWithSender=m;exports.LocalWalletNotAvailableError=j;exports.MissingChainOrHardforkError=S;exports.MissingCustomChainError=N;exports.MissingCustomChainIdError=g;exports.MissingGasError=f;exports.MissingGasInnerError=u;exports.TransactionBlockTimeoutError=B;exports.TransactionDataAndInputError=k;exports.TransactionError=c;exports.TransactionGasMismatchError=C;exports.TransactionGasMismatchInnerError=E;exports.TransactionMissingReceiptOrBlockHashError=U;exports.TransactionNotFound=R;exports.TransactionPollingTimeoutError=D;exports.TransactionReceiptMissingBlockNumberError=w;exports.TransactionRevertInstructionError=d;exports.TransactionRevertWithCustomError=T;exports.TransactionRevertedWithoutReasonError=p;exports.TransactionSendTimeoutError=L;exports.TransactionSigningError=W;exports.UnableToPopulateNonceError=$;exports.UndefinedRawTransactionError=I;exports.UnsupportedFeeMarketError=y;exports.UnsupportedTransactionTypeError=X;
5
+ Transaction Hash: ${n?n.toString():"not available"}`}class D extends a.BaseWeb3Error{constructor(r){super(`Transaction was not mined within ${r.numberOfSeconds} seconds. ${l(r.transactionHash)}`),this.code=o.ERR_TX_POLLING_TIMEOUT}}class B extends a.BaseWeb3Error{constructor(r){super(`Transaction started at ${r.starterBlockNumber} but was not mined within ${r.numberOfBlocks} blocks. ${l(r.transactionHash)}`),this.code=o.ERR_TX_BLOCK_TIMEOUT}}class U extends a.InvalidValueError{constructor(r){var s,e;super(`receipt: ${JSON.stringify(r.receipt)}, blockHash: ${(s=r.blockHash)===null||s===void 0?void 0:s.toString()}, transactionHash: ${(e=r.transactionHash)===null||e===void 0?void 0:e.toString()}`,"Receipt missing or blockHash null"),this.code=o.ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL}}class w extends a.InvalidValueError{constructor(r){super(`receipt: ${JSON.stringify(r.receipt)}`,"Receipt missing block number"),this.code=o.ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER}}class W extends a.BaseWeb3Error{constructor(r){super(`Invalid signature. "${r}"`),this.code=o.ERR_TX_SIGNING}}class j extends a.InvalidValueError{constructor(){super("LocalWalletNotAvailableError","Attempted to index account in local wallet, but no wallet is available"),this.code=o.ERR_TX_LOCAL_WALLET_NOT_AVAILABLE}}class J extends a.BaseWeb3Error{constructor(r,s){const e=[];r.forEach(t=>e.push(t.keyword)),super(`The following properties are invalid for the transaction type ${s}: ${e.join(", ")}`),this.code=o.ERR_TX_INVALID_PROPERTIES_FOR_TYPE}}exports.ChainIdMismatchError=P;exports.ChainMismatchError=x;exports.CommonOrChainAndHardforkError=O;exports.Eip1559GasPriceError=G;exports.Eip1559NotSupportedError=H;exports.HardforkMismatchError=b;exports.InvalidGasOrGasPrice=M;exports.InvalidMaxPriorityFeePerGasOrMaxFeePerGas=A;exports.InvalidNonceOrChainIdError=V;exports.InvalidPropertiesForTransactionTypeError=J;exports.InvalidTransactionObjectError=F;exports.InvalidTransactionWithReceiver=v;exports.InvalidTransactionWithSender=m;exports.LocalWalletNotAvailableError=j;exports.MissingChainOrHardforkError=S;exports.MissingCustomChainError=N;exports.MissingCustomChainIdError=g;exports.MissingGasError=f;exports.MissingGasInnerError=u;exports.TransactionBlockTimeoutError=B;exports.TransactionDataAndInputError=k;exports.TransactionError=c;exports.TransactionGasMismatchError=C;exports.TransactionGasMismatchInnerError=E;exports.TransactionMissingReceiptOrBlockHashError=U;exports.TransactionNotFound=R;exports.TransactionPollingTimeoutError=D;exports.TransactionReceiptMissingBlockNumberError=w;exports.TransactionRevertInstructionError=d;exports.TransactionRevertWithCustomError=T;exports.TransactionRevertedWithoutReasonError=p;exports.TransactionSendTimeoutError=L;exports.TransactionSigningError=W;exports.UnableToPopulateNonceError=$;exports.UndefinedRawTransactionError=I;exports.UnsupportedFeeMarketError=y;exports.UnsupportedTransactionTypeError=X;
@@ -99,7 +99,7 @@ class q extends a {
99
99
  class Er extends n {
100
100
  constructor(r) {
101
101
  var s, e, o, i;
102
- super(`gas: ${(s = r.gas) !== null && s !== void 0 ? s : "undefined"}, gasPrice: ${(e = r.gasPrice) !== null && e !== void 0 ? e : "undefined"}, maxPriorityFeePerGas: ${(o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : "undefined"}, maxFeePerGas: ${(i = r.maxFeePerGas) !== null && i !== void 0 ? i : "undefined"}`, '"gas" is missing'), this.code = $, this.innerError = new q();
102
+ super(`gas: ${(s = r.gas) !== null && s !== void 0 ? s : "undefined"}, gasPrice: ${(e = r.gasPrice) !== null && e !== void 0 ? e : "undefined"}, maxPriorityFeePerGas: ${(o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : "undefined"}, maxFeePerGas: ${(i = r.maxFeePerGas) !== null && i !== void 0 ? i : "undefined"}`, '"gas" is missing'), this.code = $, this.cause = new q();
103
103
  }
104
104
  }
105
105
  class z extends a {
@@ -110,7 +110,7 @@ class z extends a {
110
110
  class lr extends n {
111
111
  constructor(r) {
112
112
  var s, e, o, i;
113
- super(`gas: ${(s = r.gas) !== null && s !== void 0 ? s : "undefined"}, gasPrice: ${(e = r.gasPrice) !== null && e !== void 0 ? e : "undefined"}, maxPriorityFeePerGas: ${(o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : "undefined"}, maxFeePerGas: ${(i = r.maxFeePerGas) !== null && i !== void 0 ? i : "undefined"}`, "transaction must specify legacy or fee market gas properties, not both"), this.code = F, this.innerError = new z();
113
+ super(`gas: ${(s = r.gas) !== null && s !== void 0 ? s : "undefined"}, gasPrice: ${(e = r.gasPrice) !== null && e !== void 0 ? e : "undefined"}, maxPriorityFeePerGas: ${(o = r.maxPriorityFeePerGas) !== null && o !== void 0 ? o : "undefined"}, maxFeePerGas: ${(i = r.maxFeePerGas) !== null && i !== void 0 ? i : "undefined"}`, "transaction must specify legacy or fee market gas properties, not both"), this.code = F, this.cause = new z();
114
114
  }
115
115
  }
116
116
  class pr extends n {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../error_codes.cjs"),s=require("../web3_error_base.cjs");class o extends s.InvalidValueError{constructor(r){super(r,"can not parse as byte data"),this.code=e.ERR_INVALID_BYTES}}class a extends s.InvalidValueError{constructor(r){super(r,"can not parse as number data"),this.code=e.ERR_INVALID_NUMBER}}class t extends s.InvalidValueError{constructor(r){super(r,"invalid ethereum address"),this.code=e.ERR_INVALID_ADDRESS}}class i extends s.InvalidValueError{constructor(r){super(r,"not a valid string"),this.code=e.ERR_INVALID_STRING}}class d extends s.InvalidValueError{constructor(r){super(r,"invalid unit"),this.code=e.ERR_INVALID_UNIT}}class l extends s.InvalidValueError{constructor(r){super(r,"can not be converted to hex"),this.code=e.ERR_INVALID_HEX}}class I extends s.InvalidValueError{constructor(r){super(r,"value greater than the nibble width"),this.code=e.ERR_INVALID_NIBBLE_WIDTH}}class c extends s.InvalidValueError{constructor(r){super(r,"not a valid boolean."),this.code=e.ERR_INVALID_BOOLEAN}}class E extends s.InvalidValueError{constructor(r){super(r,"not a valid unsigned integer."),this.code=e.ERR_INVALID_UNSIGNED_INTEGER}}class u extends s.InvalidValueError{constructor(r){super(r,"invalid size given."),this.code=e.ERR_INVALID_SIZE}}class v extends s.InvalidValueError{constructor(r){super(r,"value is larger than size."),this.code=e.ERR_INVALID_LARGE_VALUE}}class _ extends s.InvalidValueError{constructor(r){super(r,"invalid string given"),this.code=e.ERR_INVALID_BLOCK}}exports.HexProcessingError=l;exports.InvalidAddressError=t;exports.InvalidBlockError=_;exports.InvalidBooleanError=c;exports.InvalidBytesError=o;exports.InvalidLargeValueError=v;exports.InvalidNumberError=a;exports.InvalidSizeError=u;exports.InvalidStringError=i;exports.InvalidUnitError=d;exports.InvalidUnsignedIntegerError=E;exports.NibbleWidthError=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../error_codes.cjs"),n=require("../web3_error_base.cjs");class o extends n.InvalidValueError{constructor(r){super(r,"can not parse as byte data"),this.code=e.ERR_INVALID_BYTES}}class a extends n.InvalidValueError{constructor(r){super(r,"can not parse as number data"),this.code=e.ERR_INVALID_NUMBER}}class t extends n.InvalidValueError{constructor(r){super(r,"invalid ethereum address"),this.code=e.ERR_INVALID_ADDRESS}}class i extends n.InvalidValueError{constructor(r){super(r,"not a valid string"),this.code=e.ERR_INVALID_STRING}}class d extends n.InvalidValueError{constructor(r){super(r,"invalid unit"),this.code=e.ERR_INVALID_UNIT}}class l extends n.InvalidValueError{constructor(r){super(r,"not a valid unit. Must be a positive integer"),this.code=e.ERR_INVALID_INTEGER}}class I extends n.InvalidValueError{constructor(r){super(r,"can not be converted to hex"),this.code=e.ERR_INVALID_HEX}}class E extends n.InvalidValueError{constructor(r){super(r,"value greater than the nibble width"),this.code=e.ERR_INVALID_NIBBLE_WIDTH}}class c extends n.InvalidValueError{constructor(r){super(r,"not a valid boolean."),this.code=e.ERR_INVALID_BOOLEAN}}class u extends n.InvalidValueError{constructor(r){super(r,"not a valid unsigned integer."),this.code=e.ERR_INVALID_UNSIGNED_INTEGER}}class v extends n.InvalidValueError{constructor(r){super(r,"invalid size given."),this.code=e.ERR_INVALID_SIZE}}class R extends n.InvalidValueError{constructor(r){super(r,"value is larger than size."),this.code=e.ERR_INVALID_LARGE_VALUE}}class _ extends n.InvalidValueError{constructor(r){super(r,"invalid string given"),this.code=e.ERR_INVALID_BLOCK}}exports.HexProcessingError=I;exports.InvalidAddressError=t;exports.InvalidBlockError=_;exports.InvalidBooleanError=c;exports.InvalidBytesError=o;exports.InvalidIntegerError=l;exports.InvalidLargeValueError=R;exports.InvalidNumberError=a;exports.InvalidSizeError=v;exports.InvalidStringError=i;exports.InvalidUnitError=d;exports.InvalidUnsignedIntegerError=u;exports.NibbleWidthError=E;
@@ -1,11 +1,11 @@
1
- import { ERR_INVALID_BYTES as t, ERR_INVALID_NUMBER as n, ERR_INVALID_ADDRESS as o, ERR_INVALID_UNIT as a, ERR_INVALID_HEX as i, ERR_INVALID_NIBBLE_WIDTH as c, ERR_INVALID_BOOLEAN as d, ERR_INVALID_BLOCK as I, ERR_INVALID_STRING as l, ERR_INVALID_UNSIGNED_INTEGER as E, ERR_INVALID_SIZE as u, ERR_INVALID_LARGE_VALUE as R } from "../error_codes.js";
1
+ import { ERR_INVALID_BYTES as t, ERR_INVALID_NUMBER as n, ERR_INVALID_ADDRESS as o, ERR_INVALID_UNIT as i, ERR_INVALID_INTEGER as a, ERR_INVALID_HEX as c, ERR_INVALID_NIBBLE_WIDTH as d, ERR_INVALID_BOOLEAN as I, ERR_INVALID_BLOCK as l, ERR_INVALID_STRING as E, ERR_INVALID_UNSIGNED_INTEGER as u, ERR_INVALID_SIZE as R, ERR_INVALID_LARGE_VALUE as _ } from "../error_codes.js";
2
2
  import { InvalidValueError as e } from "../web3_error_base.js";
3
- class N extends e {
3
+ class h extends e {
4
4
  constructor(r) {
5
5
  super(r, "can not parse as byte data"), this.code = t;
6
6
  }
7
7
  }
8
- class h extends e {
8
+ class p extends e {
9
9
  constructor(r) {
10
10
  super(r, "can not parse as number data"), this.code = n;
11
11
  }
@@ -15,62 +15,68 @@ class L extends e {
15
15
  super(r, "invalid ethereum address"), this.code = o;
16
16
  }
17
17
  }
18
- class p extends e {
19
- constructor(r) {
20
- super(r, "not a valid string"), this.code = l;
21
- }
22
- }
23
18
  class A extends e {
24
19
  constructor(r) {
25
- super(r, "invalid unit"), this.code = a;
20
+ super(r, "not a valid string"), this.code = E;
26
21
  }
27
22
  }
28
23
  class D extends e {
29
24
  constructor(r) {
30
- super(r, "can not be converted to hex"), this.code = i;
25
+ super(r, "invalid unit"), this.code = i;
31
26
  }
32
27
  }
33
28
  class x extends e {
34
29
  constructor(r) {
35
- super(r, "value greater than the nibble width"), this.code = c;
30
+ super(r, "not a valid unit. Must be a positive integer"), this.code = a;
36
31
  }
37
32
  }
38
33
  class V extends e {
39
34
  constructor(r) {
40
- super(r, "not a valid boolean."), this.code = d;
35
+ super(r, "can not be converted to hex"), this.code = c;
41
36
  }
42
37
  }
43
38
  class g extends e {
44
39
  constructor(r) {
45
- super(r, "not a valid unsigned integer."), this.code = E;
40
+ super(r, "value greater than the nibble width"), this.code = d;
46
41
  }
47
42
  }
48
43
  class b extends e {
49
44
  constructor(r) {
50
- super(r, "invalid size given."), this.code = u;
45
+ super(r, "not a valid boolean."), this.code = I;
51
46
  }
52
47
  }
53
48
  class B extends e {
54
49
  constructor(r) {
55
- super(r, "value is larger than size."), this.code = R;
50
+ super(r, "not a valid unsigned integer."), this.code = u;
56
51
  }
57
52
  }
58
53
  class S extends e {
59
54
  constructor(r) {
60
- super(r, "invalid string given"), this.code = I;
55
+ super(r, "invalid size given."), this.code = R;
56
+ }
57
+ }
58
+ class m extends e {
59
+ constructor(r) {
60
+ super(r, "value is larger than size."), this.code = _;
61
+ }
62
+ }
63
+ class T extends e {
64
+ constructor(r) {
65
+ super(r, "invalid string given"), this.code = l;
61
66
  }
62
67
  }
63
68
  export {
64
- D as HexProcessingError,
69
+ V as HexProcessingError,
65
70
  L as InvalidAddressError,
66
- S as InvalidBlockError,
67
- V as InvalidBooleanError,
68
- N as InvalidBytesError,
69
- B as InvalidLargeValueError,
70
- h as InvalidNumberError,
71
- b as InvalidSizeError,
72
- p as InvalidStringError,
73
- A as InvalidUnitError,
74
- g as InvalidUnsignedIntegerError,
75
- x as NibbleWidthError
71
+ T as InvalidBlockError,
72
+ b as InvalidBooleanError,
73
+ h as InvalidBytesError,
74
+ x as InvalidIntegerError,
75
+ m as InvalidLargeValueError,
76
+ p as InvalidNumberError,
77
+ S as InvalidSizeError,
78
+ A as InvalidStringError,
79
+ D as InvalidUnitError,
80
+ B as InvalidUnsignedIntegerError,
81
+ g as NibbleWidthError
76
82
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class n extends Error{constructor(r,e){super(r),this.innerError=e,this.name=this.constructor.name,typeof Error.captureStackTrace=="function"?Error.captureStackTrace(new.target.constructor):this.stack=new Error().stack}static convertToString(r,e=!1){if(r==null)return"undefined";const s=JSON.stringify(r,(c,t)=>typeof t=="bigint"?t.toString():t);return e&&["bigint","string"].includes(typeof r)?s.replace(/['\\"]+/g,""):s}toJSON(){return{name:this.name,code:this.code,message:this.message,innerError:this.innerError}}}class i extends n{constructor(r,e){super(`Invalid value given "${n.convertToString(r,!0)}". Error: ${e}.`),this.name=this.constructor.name}}exports.BaseWeb3Error=n;exports.InvalidValueError=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./error_codes.cjs");class s extends Error{constructor(r,e){super(r),Array.isArray(e)?this.cause=new t(e):this.cause=e,this.name=this.constructor.name,typeof Error.captureStackTrace=="function"?Error.captureStackTrace(new.target.constructor):this.stack=new Error().stack}get innerError(){return this.cause instanceof t?this.cause.errors:this.cause}set innerError(r){Array.isArray(r)?this.cause=new t(r):this.cause=r}static convertToString(r,e=!1){if(r==null)return"undefined";const o=JSON.stringify(r,(u,n)=>typeof n=="bigint"?n.toString():n);return e&&["bigint","string"].includes(typeof r)?o.replace(/['\\"]+/g,""):o}toJSON(){return{name:this.name,code:this.code,message:this.message,cause:this.cause,innerError:this.cause}}}class t extends s{constructor(r){super(`Multiple errors occurred: [${r.map(e=>e.message).join("], [")}]`),this.code=c.ERR_MULTIPLE_ERRORS,this.errors=r}}class a extends s{constructor(r,e){super(`Invalid value given "${s.convertToString(r,!0)}". Error: ${e}.`),this.name=this.constructor.name}}exports.BaseWeb3Error=s;exports.InvalidValueError=a;exports.MultipleErrors=t;
@@ -1,28 +1,49 @@
1
- class s extends Error {
2
- constructor(r, t) {
3
- super(r), this.innerError = t, this.name = this.constructor.name, typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(new.target.constructor) : this.stack = new Error().stack;
1
+ import { ERR_MULTIPLE_ERRORS as c } from "./error_codes.js";
2
+ class n extends Error {
3
+ constructor(r, e) {
4
+ super(r), Array.isArray(e) ? this.cause = new s(e) : this.cause = e, this.name = this.constructor.name, typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(new.target.constructor) : this.stack = new Error().stack;
4
5
  }
5
- static convertToString(r, t = !1) {
6
+ /**
7
+ * @deprecated Use the `cause` property instead.
8
+ */
9
+ get innerError() {
10
+ return this.cause instanceof s ? this.cause.errors : this.cause;
11
+ }
12
+ /**
13
+ * @deprecated Use the `cause` property instead.
14
+ */
15
+ set innerError(r) {
16
+ Array.isArray(r) ? this.cause = new s(r) : this.cause = r;
17
+ }
18
+ static convertToString(r, e = !1) {
6
19
  if (r == null)
7
20
  return "undefined";
8
- const n = JSON.stringify(r, (i, e) => typeof e == "bigint" ? e.toString() : e);
9
- return t && ["bigint", "string"].includes(typeof r) ? n.replace(/['\\"]+/g, "") : n;
21
+ const o = JSON.stringify(r, (a, t) => typeof t == "bigint" ? t.toString() : t);
22
+ return e && ["bigint", "string"].includes(typeof r) ? o.replace(/['\\"]+/g, "") : o;
10
23
  }
11
24
  toJSON() {
12
25
  return {
13
26
  name: this.name,
14
27
  code: this.code,
15
28
  message: this.message,
16
- innerError: this.innerError
29
+ cause: this.cause,
30
+ // deprecated
31
+ innerError: this.cause
17
32
  };
18
33
  }
19
34
  }
20
- class c extends s {
21
- constructor(r, t) {
22
- super(`Invalid value given "${s.convertToString(r, !0)}". Error: ${t}.`), this.name = this.constructor.name;
35
+ class s extends n {
36
+ constructor(r) {
37
+ super(`Multiple errors occurred: [${r.map((e) => e.message).join("], [")}]`), this.code = c, this.errors = r;
38
+ }
39
+ }
40
+ class h extends n {
41
+ constructor(r, e) {
42
+ super(`Invalid value given "${n.convertToString(r, !0)}". Error: ${e}.`), this.name = this.constructor.name;
23
43
  }
24
44
  }
25
45
  export {
26
- s as BaseWeb3Error,
27
- c as InvalidValueError
46
+ n as BaseWeb3Error,
47
+ h as InvalidValueError,
48
+ s as MultipleErrors
28
49
  };