@ozdao/prometheus-framework 0.2.112 → 0.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.schema-BFhpUXUt.js +12 -0
- package/dist/common.schema-ChBVARrs.mjs +13 -0
- package/dist/community.server.js +6 -4
- package/dist/community.server.mjs +4 -2
- package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
- package/dist/engagement.schema-fdLNO2_6.js +27 -0
- package/dist/events.server.js +6 -4
- package/dist/events.server.mjs +4 -2
- package/dist/files.server.js +81 -29
- package/dist/files.server.mjs +81 -29
- package/dist/gallery.server.js +66 -39
- package/dist/gallery.server.mjs +66 -39
- package/dist/main-8APITHuW.mjs +14201 -0
- package/dist/main-8N2Jmsuk.js +2 -2
- package/dist/main-BJvlNekm.mjs +5 -5
- package/dist/main-BQisDfLk.js +2 -2
- package/dist/main-BV1Yv9Hy.js +2 -2
- package/dist/main-Bw0PvTs-.mjs +5 -5
- package/dist/main-ByCtZbHD.mjs +5 -5
- package/dist/main-CX2ISR43.mjs +5 -5
- package/dist/main-CXObXjv-.js +2 -2
- package/dist/main-CkeuHuCY.mjs +5 -5
- package/dist/main-CnfcBov2.mjs +5 -5
- package/dist/main-D50VqYhy.js +2 -2
- package/dist/main-D8gNZLSa.js +2 -2
- package/dist/main-DPsHxX0l.mjs +5 -5
- package/dist/main-DTlUA63C.mjs +5 -5
- package/dist/main-DfD5hLQo.mjs +5 -5
- package/dist/main-Dh6Zfei9.js +2 -2
- package/dist/main-DmNP-t33.mjs +5 -5
- package/dist/main-DwyUYWFX.js +2 -2
- package/dist/main-VcxO-jAt.js +92 -0
- package/dist/main-cffh4bbv.js +2 -2
- package/dist/main-pGo7JpSP.js +2 -2
- package/dist/main.css +1 -1
- package/dist/metadata.schema-6slGhpQS.js +40 -0
- package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +45 -42
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +40 -37
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +56 -59
- package/dist/organizations.server.mjs +56 -59
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +4 -4
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +34 -34
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +13 -10
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJoJAetd.mjs +162 -0
- package/dist/queryProcessor-DWf9tsis.js +161 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-TGdVOTnw.js +1 -0
- package/dist/web-_W9a_nWD.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +40 -43
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/DatePicker/Calendar.vue +29 -31
- package/src/components/Dropdown/Dropdown.vue +5 -11
- package/src/components/Feed/Feed.vue +98 -15
- package/src/components/FieldTags/BlockTags.vue +3 -3
- package/src/components/FieldTags/FieldTags.vue +1 -1
- package/src/components/FieldTags/vue-tags-input.scss +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/LocationSelection/LocationSelection.vue +5 -30
- package/src/components/Map/LoaderGMaps.js +66 -0
- package/src/components/Map/Map.vue +2 -1
- package/src/components/Marquee/Marquee.vue +1 -1
- package/src/components/Radio/Radio.vue +36 -13
- package/src/configurator/components/pages/Styles.vue +1 -1
- package/src/modules/auth/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
- package/src/modules/auth/components/pages/Invite.vue +2 -2
- package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/components/pages/SignIn.vue +4 -4
- package/src/modules/auth/components/pages/SignUp.vue +3 -3
- package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +1 -1
- package/src/modules/constructor/components/elements/Video.vue +2 -2
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +32 -32
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +3 -3
- package/src/modules/events/components/pages/Events.vue +4 -3
- package/src/modules/events/components/sections/Feed.vue +3 -3
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +8 -6
- package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
- package/src/modules/files/routes/files.routes.js +11 -9
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
- package/src/modules/gallery/controllers/gallery.controller.js +57 -38
- package/src/modules/gallery/models/photo.model.js +20 -11
- package/src/modules/gallery/routes/gallery.routes.js +3 -3
- package/src/modules/gallery/store/gallery.js +3 -78
- package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
- package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
- package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
- package/src/modules/globals/components/layouts/Client.vue +273 -0
- package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
- package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
- package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
- package/src/modules/globals/models/common.schema.js +1 -1
- package/src/modules/globals/services/globals.store.js +11 -6
- package/src/modules/globals/store/globals.js +12 -10
- package/src/modules/icons/logos/Logotype.vue +23 -19
- package/src/modules/icons/navigation/IconCalendar.vue +18 -0
- package/src/modules/icons/navigation/IconFilter.vue +18 -0
- package/src/modules/icons/navigation/IconSearch.vue +1 -3
- package/src/modules/icons/navigation/IconSort.vue +21 -0
- package/src/modules/landing/components/pages/Home.vue +4 -4
- package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
- package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
- package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
- package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
- package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
- package/src/modules/marketplace/components/sections/Filters.vue +63 -115
- package/src/modules/marketplace/store/marketplace.js +22 -167
- package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
- package/src/modules/orders/components/pages/Order.vue +8 -8
- package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -5
- package/src/modules/orders/components/partials/ShopCart.vue +5 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/pages/Department.vue +3 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +4 -4
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +103 -93
- package/src/modules/organizations/models/organization.model.js +10 -7
- package/src/modules/organizations/store/organizations.js +3 -34
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
- package/src/modules/products/components/pages/Categories.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +4 -4
- package/src/modules/products/components/pages/Product.vue +1 -5
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/products.client.js +0 -2
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +0 -2
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/pages/Profile.vue +5 -5
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/sections/FeaturedUsers.vue +3 -3
- package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
- package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
- package/src/styles/base/borders.scss +4 -0
- package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
- package/src/styles/config.scss +15 -9
- package/src/styles/layout.scss +37 -8
- package/src/styles/typography.scss +24 -24
- package/src/modules/products/components/sections/SortProducts.vue +0 -74
- /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 =
|
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
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
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
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
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
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
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.
|
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
|
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 =
|
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.
|
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,
|
25
|
-
this.errorName = t, this.errorSignature = e, this.errorArgs =
|
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 =
|
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,
|
40
|
-
super(`data: ${(e = t.data) !== null && e !== void 0 ? e : "undefined"}, input: ${(
|
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
|
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
|
2
|
-
import { ERR_INVALID_RESPONSE as
|
3
|
-
const
|
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"),
|
6
|
-
class
|
7
|
-
constructor(r,
|
8
|
-
var
|
9
|
-
super(
|
10
|
-
var
|
11
|
-
return (
|
12
|
-
}) : (
|
13
|
-
let
|
14
|
-
"error" in r ?
|
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
|
21
|
-
constructor(r,
|
22
|
-
super(r, void 0,
|
23
|
-
let
|
24
|
-
"error" in r ?
|
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
|
-
|
29
|
-
|
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"),
|
2
|
-
${
|
3
|
-
${
|
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
|
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.
|
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.
|
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"),
|
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
|
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
|
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
|
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, "
|
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, "
|
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, "
|
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
|
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, "
|
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, "
|
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, "
|
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
|
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
|
-
|
69
|
+
V as HexProcessingError,
|
65
70
|
L as InvalidAddressError,
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
A as
|
74
|
-
|
75
|
-
|
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
|
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
|
-
|
2
|
-
|
3
|
-
|
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
|
-
|
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
|
9
|
-
return
|
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
|
-
|
29
|
+
cause: this.cause,
|
30
|
+
// deprecated
|
31
|
+
innerError: this.cause
|
17
32
|
};
|
18
33
|
}
|
19
34
|
}
|
20
|
-
class
|
21
|
-
constructor(r
|
22
|
-
super(`
|
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
|
-
|
27
|
-
|
46
|
+
n as BaseWeb3Error,
|
47
|
+
h as InvalidValueError,
|
48
|
+
s as MultipleErrors
|
28
49
|
};
|