@ozdao/prometheus-framework 0.2.111 → 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 +5 -5
- 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 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
- 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/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- 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 +11 -11
- 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 +5 -5
- 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/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- 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 +11 -11
- 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 +17 -17
- 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/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
- 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 +35 -35
- 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 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
- 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 +14 -11
- 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/blocks/CardUser.vue +3 -3
- 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 +76 -14
- package/src/modules/users/users.client.js +5 -0
- 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 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");const T=require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const k=require("../../../web3-core/lib/esm/utils.cjs"),m=require("../../../web3-errors/lib/esm/errors/transaction_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");const c=require("../../../web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const n=require("./rpc_method_wrappers.cjs"),d=require("./web3_subscriptions.cjs"),R=require("../../../web3-utils/lib/esm/converters.cjs"),q=require("../../../web3-utils/lib/esm/validation.cjs");var r=function(p,t,e,i){function o(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function u(h){try{f(i.next(h))}catch(g){a(g)}}function l(h){try{f(i.throw(h))}catch(g){a(g)}}function f(h){h.done?s(h.value):o(h.value).then(u,l)}f((i=i.apply(p,t||[])).next())})};const b={logs:d.LogsSubscription,newPendingTransactions:d.NewPendingTransactionsSubscription,newHeads:d.NewHeadsSubscription,syncing:d.SyncingSubscription,pendingTransactions:d.NewPendingTransactionsSubscription,newBlockHeaders:d.NewHeadsSubscription};class F extends T.Web3Context{constructor(t){if(typeof t=="string"||k.isSupportedProvider(t)){super({provider:t,registeredSubscriptions:b});return}if(t.registeredSubscriptions){super(t);return}super(Object.assign(Object.assign({},t),{registeredSubscriptions:b})),this.getFeeData=this.calculateFeeData}getProtocolVersion(){return r(this,void 0,void 0,function*(){return c.getProtocolVersion(this.requestManager)})}isSyncing(){return r(this,void 0,void 0,function*(){return c.getSyncing(this.requestManager)})}getCoinbase(){return r(this,void 0,void 0,function*(){return c.getCoinbase(this.requestManager)})}isMining(){return r(this,void 0,void 0,function*(){return c.getMining(this.requestManager)})}getHashrate(t){var e;return t===void 0&&(t=(e=this.defaultReturnFormat)!==null&&e!==void 0?e:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){return this.getHashRate(t)})}getHashRate(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getHashRate(this,t)})}getGasPrice(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getGasPrice(this,t)})}getMaxPriorityFeePerGas(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getMaxPriorityFeePerGas(this,t)})}calculateFeeData(t=BigInt(2),e=R.ethUnitMap.Gwei){var i;return r(this,void 0,void 0,function*(){const o=yield this.getBlock(void 0,!1),s=(i=o==null?void 0:o.baseFeePerGas)!==null&&i!==void 0?i:void 0;let a;try{a=yield this.getGasPrice()}catch{}let u;try{u=yield this.getMaxPriorityFeePerGas()}catch{}let l;return s&&(u=u??e,l=s*t+u),{gasPrice:a,maxFeePerGas:l,maxPriorityFeePerGas:u,baseFeePerGas:s}})}getAccounts(){var t;return r(this,void 0,void 0,function*(){return((t=yield c.getAccounts(this.requestManager))!==null&&t!==void 0?t:[]).map(i=>R.toChecksumAddress(i))})}getBlockNumber(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockNumber(this,t)})}getBalance(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBalance(this,t,e,i)})}getStorageAt(t,e,i=this.defaultBlock,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getStorageAt(this,t,e,i,o)})}getCode(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getCode(this,t,e,i)})}getBlock(t=this.defaultBlock,e=!1,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlock(this,t,e,i)})}getBlockTransactionCount(t=this.defaultBlock,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockTransactionCount(this,t,e)})}getBlockUncleCount(t=this.defaultBlock,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getBlockUncleCount(this,t,e)})}getUncle(t=this.defaultBlock,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getUncle(this,t,e,i)})}getTransaction(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){const i=yield n.getTransaction(this,t,e);if(!i)throw new m.TransactionNotFound;return i})}getPendingTransactions(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getPendingTransactions(this,t)})}getTransactionFromBlock(t=this.defaultBlock,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getTransactionFromBlock(this,t,e,i)})}getTransactionReceipt(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){const i=yield n.getTransactionReceipt(this,t,e);if(!i)throw new m.TransactionNotFound;return i})}getTransactionCount(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getTransactionCount(this,t,e,i)})}sendTransaction(t,e=this.defaultReturnFormat,i){return n.sendTransaction(this,t,e,i)}sendSignedTransaction(t,e=this.defaultReturnFormat,i){return n.sendSignedTransaction(this,t,e,i)}sign(t,e,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.sign(this,t,e,i)})}signTransaction(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.signTransaction(this,t,e)})}call(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.call(this,t,e,i)})}estimateGas(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.estimateGas(this,t,e,i)})}getPastLogs(t,e=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getLogs(this,t,e)})}getWork(){return r(this,void 0,void 0,function*(){return c.getWork(this.requestManager)})}submitWork(t,e,i){return r(this,void 0,void 0,function*(){return c.submitWork(this.requestManager,t,e,i)})}requestAccounts(){return r(this,void 0,void 0,function*(){return c.requestAccounts(this.requestManager)})}getChainId(t=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getChainId(this,t)})}getNodeInfo(){return r(this,void 0,void 0,function*(){return c.getNodeInfo(this.requestManager)})}getProof(t,e,i=this.defaultBlock,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getProof(this,t,e,i,o)})}getFeeHistory(t,e=this.defaultBlock,i,o=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.getFeeHistory(this,t,e,i,o)})}createAccessList(t,e=this.defaultBlock,i=this.defaultReturnFormat){return r(this,void 0,void 0,function*(){return n.createAccessList(this,t,e,i)})}signTypedData(t,e,i,o){var s;return i===void 0&&(i=!1),o===void 0&&(o=(s=this.defaultReturnFormat)!==null&&s!==void 0?s:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){return n.signTypedData(this,t,e,i,o)})}subscribe(t,e,i){var o,s;return i===void 0&&(i=(o=this.defaultReturnFormat)!==null&&o!==void 0?o:v.DEFAULT_RETURN_FORMAT),r(this,void 0,void 0,function*(){const a=yield(s=this.subscriptionManager)===null||s===void 0?void 0:s.subscribe(t,e,i);return a instanceof d.LogsSubscription&&t==="logs"&&typeof e=="object"&&!q.isNullish(e.fromBlock)&&Number.isFinite(Number(e.fromBlock))&&setImmediate(()=>{this.getPastLogs(e).then(u=>{for(const l of u)a._processSubscriptionResult(l)}).catch(u=>{a._processSubscriptionError(u)})}),a})}static shouldClearSubscription({sub:t}){return!(t instanceof d.SyncingSubscription)}clearSubscriptions(t=!1){var e;return(e=this.subscriptionManager)===null||e===void 0?void 0:e.unsubscribe(t?F.shouldClearSubscription:void 0)}}exports.Web3Eth=F;exports.registeredSubscriptions=b;
|
@@ -1,68 +1,68 @@
|
|
1
|
-
import { DEFAULT_RETURN_FORMAT as
|
1
|
+
import { DEFAULT_RETURN_FORMAT as l } from "../../../web3-types/lib/esm/data_format_types.js";
|
2
2
|
import "../../../web3-types/lib/esm/eth_types.js";
|
3
3
|
import "../../../web3-types/lib/esm/web3_base_provider.js";
|
4
4
|
import "../../../web3-core/lib/esm/web3_config.js";
|
5
5
|
import "../../../web3-core/lib/esm/web3_request_manager.js";
|
6
6
|
import "../../../web3-core/lib/esm/web3_subscription_manager.js";
|
7
7
|
import "../../../web3-core/lib/esm/web3_subscriptions.js";
|
8
|
-
import { Web3Context as
|
8
|
+
import { Web3Context as k } from "../../../web3-core/lib/esm/web3_context.js";
|
9
9
|
import "../../../web3-core/lib/esm/web3_batch_request.js";
|
10
|
-
import { isSupportedProvider as
|
10
|
+
import { isSupportedProvider as B } from "../../../web3-core/lib/esm/utils.js";
|
11
11
|
import { TransactionNotFound as f } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
|
12
12
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
13
13
|
import "../../../web3-eth-iban/lib/esm/iban.js";
|
14
14
|
import "../../../web3-validator/lib/esm/formats.js";
|
15
15
|
import "../../../web3-validator/lib/esm/default_validator.js";
|
16
16
|
import "../../../web3-core/lib/esm/web3_promi_event.js";
|
17
|
-
import { getProtocolVersion as
|
17
|
+
import { getProtocolVersion as T, getSyncing as y, getCoinbase as P, getMining as S, getAccounts as M, getWork as w, submitWork as _, requestAccounts as A, getNodeInfo as G } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
|
18
18
|
import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
|
19
19
|
import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
|
20
|
-
import { getHashRate as
|
21
|
-
import { LogsSubscription as
|
20
|
+
import { getHashRate as q, getGasPrice as C, getMaxPriorityFeePerGas as N, getBlockNumber as H, getBalance as x, getStorageAt as U, getCode as D, getBlock as I, getBlockTransactionCount as L, getBlockUncleCount as W, getUncle as j, getTransaction as E, getPendingTransactions as V, getTransactionFromBlock as z, getTransactionReceipt as J, getTransactionCount as K, sendTransaction as Q, sendSignedTransaction as X, sign as Y, signTransaction as Z, call as $, estimateGas as O, getLogs as tt, getChainId as it, getProof as et, getFeeHistory as nt, createAccessList as rt, signTypedData as ot } from "./rpc_method_wrappers.js";
|
21
|
+
import { LogsSubscription as p, NewPendingTransactionsSubscription as g, NewHeadsSubscription as v, SyncingSubscription as F } from "./web3_subscriptions.js";
|
22
22
|
import { ethUnitMap as st, toChecksumAddress as ut } from "../../../web3-utils/lib/esm/converters.js";
|
23
|
-
import { isNullish as
|
24
|
-
var n = function(
|
25
|
-
function o
|
26
|
-
return
|
27
|
-
u(
|
23
|
+
import { isNullish as at } from "../../../web3-utils/lib/esm/validation.js";
|
24
|
+
var n = function(b, t, i, e) {
|
25
|
+
function r(o) {
|
26
|
+
return o instanceof i ? o : new i(function(u) {
|
27
|
+
u(o);
|
28
28
|
});
|
29
29
|
}
|
30
|
-
return new (i || (i = Promise))(function(
|
31
|
-
function
|
30
|
+
return new (i || (i = Promise))(function(o, u) {
|
31
|
+
function s(a) {
|
32
32
|
try {
|
33
|
-
|
34
|
-
} catch (
|
35
|
-
u(
|
33
|
+
c(e.next(a));
|
34
|
+
} catch (h) {
|
35
|
+
u(h);
|
36
36
|
}
|
37
37
|
}
|
38
|
-
function
|
38
|
+
function d(a) {
|
39
39
|
try {
|
40
|
-
|
41
|
-
} catch (
|
42
|
-
u(
|
40
|
+
c(e.throw(a));
|
41
|
+
} catch (h) {
|
42
|
+
u(h);
|
43
43
|
}
|
44
44
|
}
|
45
|
-
function
|
46
|
-
a.done ?
|
45
|
+
function c(a) {
|
46
|
+
a.done ? o(a.value) : r(a.value).then(s, d);
|
47
47
|
}
|
48
|
-
|
48
|
+
c((e = e.apply(b, t || [])).next());
|
49
49
|
});
|
50
50
|
};
|
51
|
-
const
|
52
|
-
logs:
|
51
|
+
const m = {
|
52
|
+
logs: p,
|
53
53
|
newPendingTransactions: g,
|
54
54
|
newHeads: v,
|
55
|
-
syncing:
|
55
|
+
syncing: F,
|
56
56
|
pendingTransactions: g,
|
57
57
|
newBlockHeaders: v
|
58
58
|
// the same as newHeads. just for support API like in version 1.x
|
59
59
|
};
|
60
|
-
class
|
60
|
+
class R extends k {
|
61
61
|
constructor(t) {
|
62
|
-
if (typeof t == "string" ||
|
62
|
+
if (typeof t == "string" || B(t)) {
|
63
63
|
super({
|
64
64
|
provider: t,
|
65
|
-
registeredSubscriptions:
|
65
|
+
registeredSubscriptions: m
|
66
66
|
});
|
67
67
|
return;
|
68
68
|
}
|
@@ -70,7 +70,7 @@ class k extends T {
|
|
70
70
|
super(t);
|
71
71
|
return;
|
72
72
|
}
|
73
|
-
super(Object.assign(Object.assign({}, t), { registeredSubscriptions:
|
73
|
+
super(Object.assign(Object.assign({}, t), { registeredSubscriptions: m })), this.getFeeData = this.calculateFeeData;
|
74
74
|
}
|
75
75
|
/**
|
76
76
|
* @returns Returns the ethereum protocol version of the node.
|
@@ -82,7 +82,7 @@ class k extends T {
|
|
82
82
|
*/
|
83
83
|
getProtocolVersion() {
|
84
84
|
return n(this, void 0, void 0, function* () {
|
85
|
-
return
|
85
|
+
return T(this.requestManager);
|
86
86
|
});
|
87
87
|
}
|
88
88
|
// TODO Add returnFormat parameter
|
@@ -104,7 +104,7 @@ class k extends T {
|
|
104
104
|
*/
|
105
105
|
isSyncing() {
|
106
106
|
return n(this, void 0, void 0, function* () {
|
107
|
-
return
|
107
|
+
return y(this.requestManager);
|
108
108
|
});
|
109
109
|
}
|
110
110
|
// TODO consider adding returnFormat parameter (to format address as bytes)
|
@@ -118,7 +118,7 @@ class k extends T {
|
|
118
118
|
*/
|
119
119
|
getCoinbase() {
|
120
120
|
return n(this, void 0, void 0, function* () {
|
121
|
-
return
|
121
|
+
return P(this.requestManager);
|
122
122
|
});
|
123
123
|
}
|
124
124
|
/**
|
@@ -133,7 +133,7 @@ class k extends T {
|
|
133
133
|
*/
|
134
134
|
isMining() {
|
135
135
|
return n(this, void 0, void 0, function* () {
|
136
|
-
return
|
136
|
+
return S(this.requestManager);
|
137
137
|
});
|
138
138
|
}
|
139
139
|
/**
|
@@ -150,8 +150,9 @@ class k extends T {
|
|
150
150
|
* > "0x788a8"
|
151
151
|
* ```
|
152
152
|
*/
|
153
|
-
getHashrate(t
|
154
|
-
|
153
|
+
getHashrate(t) {
|
154
|
+
var i;
|
155
|
+
return t === void 0 && (t = (i = this.defaultReturnFormat) !== null && i !== void 0 ? i : l), n(this, void 0, void 0, function* () {
|
155
156
|
return this.getHashRate(t);
|
156
157
|
});
|
157
158
|
}
|
@@ -167,9 +168,9 @@ class k extends T {
|
|
167
168
|
* > "0x788a8"
|
168
169
|
* ```
|
169
170
|
*/
|
170
|
-
getHashRate(t =
|
171
|
+
getHashRate(t = this.defaultReturnFormat) {
|
171
172
|
return n(this, void 0, void 0, function* () {
|
172
|
-
return
|
173
|
+
return q(this, t);
|
173
174
|
});
|
174
175
|
}
|
175
176
|
/**
|
@@ -184,9 +185,9 @@ class k extends T {
|
|
184
185
|
* > "0x4a817c800"
|
185
186
|
* ```
|
186
187
|
*/
|
187
|
-
getGasPrice(t =
|
188
|
+
getGasPrice(t = this.defaultReturnFormat) {
|
188
189
|
return n(this, void 0, void 0, function* () {
|
189
|
-
return
|
190
|
+
return C(this, t);
|
190
191
|
});
|
191
192
|
}
|
192
193
|
/**
|
@@ -201,9 +202,9 @@ class k extends T {
|
|
201
202
|
* > "0x4a817c800"
|
202
203
|
* ```
|
203
204
|
*/
|
204
|
-
getMaxPriorityFeePerGas(t =
|
205
|
+
getMaxPriorityFeePerGas(t = this.defaultReturnFormat) {
|
205
206
|
return n(this, void 0, void 0, function* () {
|
206
|
-
return
|
207
|
+
return N(this, t);
|
207
208
|
});
|
208
209
|
}
|
209
210
|
/**
|
@@ -236,19 +237,19 @@ class k extends T {
|
|
236
237
|
calculateFeeData(t = BigInt(2), i = st.Gwei) {
|
237
238
|
var e;
|
238
239
|
return n(this, void 0, void 0, function* () {
|
239
|
-
const
|
240
|
+
const r = yield this.getBlock(void 0, !1), o = (e = r == null ? void 0 : r.baseFeePerGas) !== null && e !== void 0 ? e : void 0;
|
240
241
|
let u;
|
241
242
|
try {
|
242
243
|
u = yield this.getGasPrice();
|
243
244
|
} catch {
|
244
245
|
}
|
245
|
-
let
|
246
|
+
let s;
|
246
247
|
try {
|
247
|
-
|
248
|
+
s = yield this.getMaxPriorityFeePerGas();
|
248
249
|
} catch {
|
249
250
|
}
|
250
|
-
let
|
251
|
-
return
|
251
|
+
let d;
|
252
|
+
return o && (s = s ?? i, d = o * t + s), { gasPrice: u, maxFeePerGas: d, maxPriorityFeePerGas: s, baseFeePerGas: o };
|
252
253
|
});
|
253
254
|
}
|
254
255
|
/**
|
@@ -262,7 +263,7 @@ class k extends T {
|
|
262
263
|
getAccounts() {
|
263
264
|
var t;
|
264
265
|
return n(this, void 0, void 0, function* () {
|
265
|
-
return ((t = yield
|
266
|
+
return ((t = yield M(this.requestManager)) !== null && t !== void 0 ? t : []).map((e) => ut(e));
|
266
267
|
});
|
267
268
|
}
|
268
269
|
/**
|
@@ -277,9 +278,9 @@ class k extends T {
|
|
277
278
|
* > "0xab8"
|
278
279
|
* ```
|
279
280
|
*/
|
280
|
-
getBlockNumber(t =
|
281
|
+
getBlockNumber(t = this.defaultReturnFormat) {
|
281
282
|
return n(this, void 0, void 0, function* () {
|
282
|
-
return
|
283
|
+
return H(this, t);
|
283
284
|
});
|
284
285
|
}
|
285
286
|
/**
|
@@ -298,7 +299,7 @@ class k extends T {
|
|
298
299
|
* > "0xe8d4a51000"
|
299
300
|
* ```
|
300
301
|
*/
|
301
|
-
getBalance(t, i = this.defaultBlock, e =
|
302
|
+
getBalance(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
302
303
|
return n(this, void 0, void 0, function* () {
|
303
304
|
return x(this, t, i, e);
|
304
305
|
});
|
@@ -330,9 +331,9 @@ class k extends T {
|
|
330
331
|
* ]
|
331
332
|
* ```
|
332
333
|
*/
|
333
|
-
getStorageAt(t, i, e = this.defaultBlock,
|
334
|
+
getStorageAt(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
|
334
335
|
return n(this, void 0, void 0, function* () {
|
335
|
-
return
|
336
|
+
return U(this, t, i, e, r);
|
336
337
|
});
|
337
338
|
}
|
338
339
|
/**
|
@@ -361,9 +362,9 @@ class k extends T {
|
|
361
362
|
* ]
|
362
363
|
* ```
|
363
364
|
*/
|
364
|
-
getCode(t, i = this.defaultBlock, e =
|
365
|
+
getCode(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
365
366
|
return n(this, void 0, void 0, function* () {
|
366
|
-
return
|
367
|
+
return D(this, t, i, e);
|
367
368
|
});
|
368
369
|
}
|
369
370
|
/**
|
@@ -430,9 +431,9 @@ class k extends T {
|
|
430
431
|
* }
|
431
432
|
* ```
|
432
433
|
*/
|
433
|
-
getBlock(t = this.defaultBlock, i = !1, e =
|
434
|
+
getBlock(t = this.defaultBlock, i = !1, e = this.defaultReturnFormat) {
|
434
435
|
return n(this, void 0, void 0, function* () {
|
435
|
-
return
|
436
|
+
return I(this, t, i, e);
|
436
437
|
});
|
437
438
|
}
|
438
439
|
/**
|
@@ -451,9 +452,9 @@ class k extends T {
|
|
451
452
|
* > 1
|
452
453
|
* ```
|
453
454
|
*/
|
454
|
-
getBlockTransactionCount(t = this.defaultBlock, i =
|
455
|
+
getBlockTransactionCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
|
455
456
|
return n(this, void 0, void 0, function* () {
|
456
|
-
return
|
457
|
+
return L(this, t, i);
|
457
458
|
});
|
458
459
|
}
|
459
460
|
/**
|
@@ -472,7 +473,7 @@ class k extends T {
|
|
472
473
|
* > 1
|
473
474
|
* ```
|
474
475
|
*/
|
475
|
-
getBlockUncleCount(t = this.defaultBlock, i =
|
476
|
+
getBlockUncleCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
|
476
477
|
return n(this, void 0, void 0, function* () {
|
477
478
|
return W(this, t, i);
|
478
479
|
});
|
@@ -540,7 +541,7 @@ class k extends T {
|
|
540
541
|
* }
|
541
542
|
* ```
|
542
543
|
*/
|
543
|
-
getUncle(t = this.defaultBlock, i, e =
|
544
|
+
getUncle(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
|
544
545
|
return n(this, void 0, void 0, function* () {
|
545
546
|
return j(this, t, i, e);
|
546
547
|
});
|
@@ -593,7 +594,7 @@ class k extends T {
|
|
593
594
|
* }
|
594
595
|
* ```
|
595
596
|
*/
|
596
|
-
getTransaction(t, i =
|
597
|
+
getTransaction(t, i = this.defaultReturnFormat) {
|
597
598
|
return n(this, void 0, void 0, function* () {
|
598
599
|
const e = yield E(this, t, i);
|
599
600
|
if (!e)
|
@@ -683,7 +684,7 @@ class k extends T {
|
|
683
684
|
* ]
|
684
685
|
* ```
|
685
686
|
*/
|
686
|
-
getPendingTransactions(t =
|
687
|
+
getPendingTransactions(t = this.defaultReturnFormat) {
|
687
688
|
return n(this, void 0, void 0, function* () {
|
688
689
|
return V(this, t);
|
689
690
|
});
|
@@ -738,7 +739,7 @@ class k extends T {
|
|
738
739
|
* }
|
739
740
|
* ```
|
740
741
|
*/
|
741
|
-
getTransactionFromBlock(t = this.defaultBlock, i, e =
|
742
|
+
getTransactionFromBlock(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
|
742
743
|
return n(this, void 0, void 0, function* () {
|
743
744
|
return z(this, t, i, e);
|
744
745
|
});
|
@@ -787,7 +788,7 @@ class k extends T {
|
|
787
788
|
* }
|
788
789
|
* ```
|
789
790
|
*/
|
790
|
-
getTransactionReceipt(t, i =
|
791
|
+
getTransactionReceipt(t, i = this.defaultReturnFormat) {
|
791
792
|
return n(this, void 0, void 0, function* () {
|
792
793
|
const e = yield J(this, t, i);
|
793
794
|
if (!e)
|
@@ -813,7 +814,7 @@ class k extends T {
|
|
813
814
|
* > 1
|
814
815
|
* ```
|
815
816
|
*/
|
816
|
-
getTransactionCount(t, i = this.defaultBlock, e =
|
817
|
+
getTransactionCount(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
817
818
|
return n(this, void 0, void 0, function* () {
|
818
819
|
return K(this, t, i, e);
|
819
820
|
});
|
@@ -924,7 +925,7 @@ class k extends T {
|
|
924
925
|
* > <Some TransactionError>
|
925
926
|
* ```
|
926
927
|
*/
|
927
|
-
sendTransaction(t, i =
|
928
|
+
sendTransaction(t, i = this.defaultReturnFormat, e) {
|
928
929
|
return Q(this, t, i, e);
|
929
930
|
}
|
930
931
|
/**
|
@@ -1011,7 +1012,7 @@ class k extends T {
|
|
1011
1012
|
* > <Some TransactionError>
|
1012
1013
|
* ```
|
1013
1014
|
*/
|
1014
|
-
sendSignedTransaction(t, i =
|
1015
|
+
sendSignedTransaction(t, i = this.defaultReturnFormat, e) {
|
1015
1016
|
return X(this, t, i, e);
|
1016
1017
|
}
|
1017
1018
|
/**
|
@@ -1041,7 +1042,7 @@ class k extends T {
|
|
1041
1042
|
* web3.eth.sign("0x48656c6c6f20776f726c64", 0).then(console.log);
|
1042
1043
|
* > "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"
|
1043
1044
|
*/
|
1044
|
-
sign(t, i, e =
|
1045
|
+
sign(t, i, e = this.defaultReturnFormat) {
|
1045
1046
|
return n(this, void 0, void 0, function* () {
|
1046
1047
|
return Y(this, t, i, e);
|
1047
1048
|
});
|
@@ -1097,7 +1098,7 @@ class k extends T {
|
|
1097
1098
|
* }
|
1098
1099
|
* ```
|
1099
1100
|
*/
|
1100
|
-
signTransaction(t, i =
|
1101
|
+
signTransaction(t, i = this.defaultReturnFormat) {
|
1101
1102
|
return n(this, void 0, void 0, function* () {
|
1102
1103
|
return Z(this, t, i);
|
1103
1104
|
});
|
@@ -1113,7 +1114,7 @@ class k extends T {
|
|
1113
1114
|
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1114
1115
|
* @returns The returned data of the call, e.g. a smart contract function's return value.
|
1115
1116
|
*/
|
1116
|
-
call(t, i = this.defaultBlock, e =
|
1117
|
+
call(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1117
1118
|
return n(this, void 0, void 0, function* () {
|
1118
1119
|
return $(this, t, i, e);
|
1119
1120
|
});
|
@@ -1144,7 +1145,7 @@ class k extends T {
|
|
1144
1145
|
* > 21000
|
1145
1146
|
* ```
|
1146
1147
|
*/
|
1147
|
-
estimateGas(t, i = this.defaultBlock, e =
|
1148
|
+
estimateGas(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1148
1149
|
return n(this, void 0, void 0, function* () {
|
1149
1150
|
return O(this, t, i, e);
|
1150
1151
|
});
|
@@ -1193,7 +1194,7 @@ class k extends T {
|
|
1193
1194
|
* {...}]
|
1194
1195
|
* ```
|
1195
1196
|
*/
|
1196
|
-
getPastLogs(t, i =
|
1197
|
+
getPastLogs(t, i = this.defaultReturnFormat) {
|
1197
1198
|
return n(this, void 0, void 0, function* () {
|
1198
1199
|
return tt(this, t, i);
|
1199
1200
|
});
|
@@ -1218,7 +1219,7 @@ class k extends T {
|
|
1218
1219
|
*/
|
1219
1220
|
getWork() {
|
1220
1221
|
return n(this, void 0, void 0, function* () {
|
1221
|
-
return
|
1222
|
+
return w(this.requestManager);
|
1222
1223
|
});
|
1223
1224
|
}
|
1224
1225
|
/**
|
@@ -1240,7 +1241,7 @@ class k extends T {
|
|
1240
1241
|
*/
|
1241
1242
|
submitWork(t, i, e) {
|
1242
1243
|
return n(this, void 0, void 0, function* () {
|
1243
|
-
return
|
1244
|
+
return _(this.requestManager, t, i, e);
|
1244
1245
|
});
|
1245
1246
|
}
|
1246
1247
|
// TODO - Format addresses
|
@@ -1259,7 +1260,7 @@ class k extends T {
|
|
1259
1260
|
*/
|
1260
1261
|
requestAccounts() {
|
1261
1262
|
return n(this, void 0, void 0, function* () {
|
1262
|
-
return
|
1263
|
+
return A(this.requestManager);
|
1263
1264
|
});
|
1264
1265
|
}
|
1265
1266
|
/**
|
@@ -1274,7 +1275,7 @@ class k extends T {
|
|
1274
1275
|
* > 61
|
1275
1276
|
* ```
|
1276
1277
|
*/
|
1277
|
-
getChainId(t =
|
1278
|
+
getChainId(t = this.defaultReturnFormat) {
|
1278
1279
|
return n(this, void 0, void 0, function* () {
|
1279
1280
|
return it(this, t);
|
1280
1281
|
});
|
@@ -1289,7 +1290,7 @@ class k extends T {
|
|
1289
1290
|
*/
|
1290
1291
|
getNodeInfo() {
|
1291
1292
|
return n(this, void 0, void 0, function* () {
|
1292
|
-
return
|
1293
|
+
return G(this.requestManager);
|
1293
1294
|
});
|
1294
1295
|
}
|
1295
1296
|
/**
|
@@ -1364,9 +1365,9 @@ class k extends T {
|
|
1364
1365
|
* }
|
1365
1366
|
* ```
|
1366
1367
|
*/
|
1367
|
-
getProof(t, i, e = this.defaultBlock,
|
1368
|
+
getProof(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
|
1368
1369
|
return n(this, void 0, void 0, function* () {
|
1369
|
-
return et(this, t, i, e,
|
1370
|
+
return et(this, t, i, e, r);
|
1370
1371
|
});
|
1371
1372
|
}
|
1372
1373
|
// TODO Throwing an error with Geth, but not Infura
|
@@ -1430,9 +1431,9 @@ class k extends T {
|
|
1430
1431
|
* }
|
1431
1432
|
* ```
|
1432
1433
|
*/
|
1433
|
-
getFeeHistory(t, i = this.defaultBlock, e,
|
1434
|
+
getFeeHistory(t, i = this.defaultBlock, e, r = this.defaultReturnFormat) {
|
1434
1435
|
return n(this, void 0, void 0, function* () {
|
1435
|
-
return nt(this, t, i, e,
|
1436
|
+
return nt(this, t, i, e, r);
|
1436
1437
|
});
|
1437
1438
|
}
|
1438
1439
|
/**
|
@@ -1466,7 +1467,7 @@ class k extends T {
|
|
1466
1467
|
* }
|
1467
1468
|
* ```
|
1468
1469
|
*/
|
1469
|
-
createAccessList(t, i = this.defaultBlock, e =
|
1470
|
+
createAccessList(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1470
1471
|
return n(this, void 0, void 0, function* () {
|
1471
1472
|
return rt(this, t, i, e);
|
1472
1473
|
});
|
@@ -1480,9 +1481,10 @@ class k extends T {
|
|
1480
1481
|
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the signed typed data should be formatted.
|
1481
1482
|
* @returns The signed typed data.
|
1482
1483
|
*/
|
1483
|
-
signTypedData(t, i, e
|
1484
|
-
|
1485
|
-
|
1484
|
+
signTypedData(t, i, e, r) {
|
1485
|
+
var o;
|
1486
|
+
return e === void 0 && (e = !1), r === void 0 && (r = (o = this.defaultReturnFormat) !== null && o !== void 0 ? o : l), n(this, void 0, void 0, function* () {
|
1487
|
+
return ot(this, t, i, e, r);
|
1486
1488
|
});
|
1487
1489
|
}
|
1488
1490
|
/**
|
@@ -1617,22 +1619,22 @@ class k extends T {
|
|
1617
1619
|
* }
|
1618
1620
|
*```
|
1619
1621
|
*/
|
1620
|
-
subscribe(t, i, e
|
1621
|
-
var o;
|
1622
|
-
return n(this, void 0, void 0, function* () {
|
1623
|
-
const
|
1624
|
-
return
|
1625
|
-
this.getPastLogs(i).then((
|
1626
|
-
for (const
|
1627
|
-
|
1628
|
-
}).catch((
|
1629
|
-
|
1622
|
+
subscribe(t, i, e) {
|
1623
|
+
var r, o;
|
1624
|
+
return e === void 0 && (e = (r = this.defaultReturnFormat) !== null && r !== void 0 ? r : l), n(this, void 0, void 0, function* () {
|
1625
|
+
const u = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i, e);
|
1626
|
+
return u instanceof p && t === "logs" && typeof i == "object" && !at(i.fromBlock) && Number.isFinite(Number(i.fromBlock)) && setImmediate(() => {
|
1627
|
+
this.getPastLogs(i).then((s) => {
|
1628
|
+
for (const d of s)
|
1629
|
+
u._processSubscriptionResult(d);
|
1630
|
+
}).catch((s) => {
|
1631
|
+
u._processSubscriptionError(s);
|
1630
1632
|
});
|
1631
|
-
}),
|
1633
|
+
}), u;
|
1632
1634
|
});
|
1633
1635
|
}
|
1634
1636
|
static shouldClearSubscription({ sub: t }) {
|
1635
|
-
return !(t instanceof
|
1637
|
+
return !(t instanceof F);
|
1636
1638
|
}
|
1637
1639
|
/**
|
1638
1640
|
* Resets subscriptions.
|
@@ -1649,11 +1651,11 @@ class k extends T {
|
|
1649
1651
|
var i;
|
1650
1652
|
return (i = this.subscriptionManager) === null || i === void 0 ? void 0 : i.unsubscribe(
|
1651
1653
|
// eslint-disable-next-line
|
1652
|
-
t ?
|
1654
|
+
t ? R.shouldClearSubscription : void 0
|
1653
1655
|
);
|
1654
1656
|
}
|
1655
1657
|
}
|
1656
1658
|
export {
|
1657
|
-
|
1658
|
-
|
1659
|
+
R as Web3Eth,
|
1660
|
+
m as registeredSubscriptions
|
1659
1661
|
};
|