@ozdao/prometheus-framework 0.2.112 → 0.2.114
Sign up to get free protection for your applications and to get access to all the features.
- 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 -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/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
- 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 +46 -46
- 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/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- 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/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- 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 +214 -214
- 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 +1 -13
- 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 +13 -1
- 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/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 -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 +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/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 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const P=require("../../../web3-errors/lib/esm/errors/signature_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");const N=require("../../../web3-validator/lib/esm/validation/string.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");const p=require("../../../web3-validator/lib/esm/validation/bytes.cjs"),g=require("../../../web3-validator/lib/esm/validation/block.cjs"),_=require("../../../web3-validator/lib/esm/validation/object.cjs"),H=require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const U=require("../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),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 I=require("./utils/decode_signed_transaction.cjs"),y=require("./schemas.cjs"),R=require("./utils/transaction_builder.cjs"),A=require("./utils/format_transaction.cjs"),j=require("./utils/try_send_transaction.cjs"),O=require("./utils/wait_for_transaction_receipt.cjs"),b=require("./constants.cjs"),E=require("./utils/send_tx_helper.cjs"),i=require("../../../web3-utils/lib/esm/formatter.cjs"),F=require("../../../web3-utils/lib/esm/converters.cjs");var f=function(t,r,e,n){function o(a){return a instanceof e?a:new e(function(d){d(a)})}return new(e||(e=Promise))(function(a,d){function u(l){try{T(n.next(l))}catch(h){d(h)}}function m(l){try{T(n.throw(l))}catch(h){d(h)}}function T(l){l.done?a(l.value):o(l.value).then(u,m)}T((n=n.apply(t,r||[])).next())})},G=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]]);return e};const L=t=>f(void 0,void 0,void 0,function*(){return c.getSyncing(t.requestManager)});function W(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getHashRate(t.requestManager);return i.format({format:"uint"},e,r)})}function z(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getGasPrice(t.requestManager);return i.format({format:"uint"},e,r)})}function J(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getMaxPriorityFeePerGas(t.requestManager);return i.format({format:"uint"},e,r)})}function K(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getBlockNumber(t.requestManager);return i.format({format:"uint"},e,r)})}function Q(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getBalance(t.requestManager,r,o);return i.format({format:"uint"},a,n)})}function V(t,r,e,n=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const a=i.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=g.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT),u=yield c.getStorageAt(t.requestManager,r,a,d);return i.format({format:"bytes"},u,o)})}function X(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getCode(t.requestManager,r,o);return i.format({format:"bytes"},a,n)})}function Y(t,r=t.defaultBlock,e=!1,n){return f(this,void 0,void 0,function*(){let o;if(p.isBytes(r)){const a=i.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);o=yield c.getBlockByHash(t.requestManager,a,e)}else{const a=g.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT);o=yield c.getBlockByNumber(t.requestManager,a,e)}return i.format(y.blockSchema,o,n)})}function Z(t,r=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let n;if(p.isBytes(r)){const o=i.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);n=yield c.getBlockTransactionCountByHash(t.requestManager,o)}else{const o=g.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT);n=yield c.getBlockTransactionCountByNumber(t.requestManager,o)}return i.format({format:"uint"},n,e)})}function w(t,r=t.defaultBlock,e){return f(this,void 0,void 0,function*(){let n;if(p.isBytes(r)){const o=i.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);n=yield c.getUncleCountByBlockHash(t.requestManager,o)}else{const o=g.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT);n=yield c.getUncleCountByBlockNumber(t.requestManager,o)}return i.format({format:"uint"},n,e)})}function x(t,r=t.defaultBlock,e,n){return f(this,void 0,void 0,function*(){const o=i.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(p.isBytes(r)){const d=i.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockHashAndIndex(t.requestManager,d,o)}else{const d=g.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockNumberAndIndex(t.requestManager,d,o)}return i.format(y.blockSchema,a,n)})}function C(t,r,e){return f(this,void 0,void 0,function*(){const n=i.format({format:"bytes32"},r,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionByHash(t.requestManager,n);return _.isNullish(o)?o:A.formatTransaction(o,e,{fillInputAndData:!0})})}function $(t,r){return f(this,void 0,void 0,function*(){return(yield c.getPendingTransactions(t.requestManager)).map(n=>A.formatTransaction(n,r,{fillInputAndData:!0}))})}function tt(t,r=t.defaultBlock,e,n){return f(this,void 0,void 0,function*(){const o=i.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(p.isBytes(r)){const d=i.format({format:"bytes32"},r,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockHashAndIndex(t.requestManager,d,o)}else{const d=g.isBlockTag(r)?r:i.format({format:"uint"},r,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockNumberAndIndex(t.requestManager,d,o)}return _.isNullish(a)?a:A.formatTransaction(a,n,{fillInputAndData:!0})})}function et(t,r,e){return f(this,void 0,void 0,function*(){const n=i.format({format:"bytes32"},r,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionReceipt(t.requestManager,n);return _.isNullish(o)?o:i.format(y.transactionReceiptSchema,o,e)})}function rt(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getTransactionCount(t.requestManager,r,o);return i.format({format:"uint"},a,n)})}function nt(t,r,e,n={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((a,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:n,returnFormat:e});let m=A.formatTransaction(Object.assign(Object.assign({},r),{from:R.getTransactionFromOrToAttr("from",t,r),to:R.getTransactionFromOrToAttr("to",t,r)}),s.ETH_DATA_FORMAT);try{m=yield u.populateGasPrice({transaction:r,transactionFormatted:m}),yield u.checkRevertBeforeSending(m),u.emitSending(m);let T;t.wallet&&!_.isNullish(m.from)&&(T=t.wallet.get(m.from));const l=yield u.signAndSend({wallet:T,tx:m}),h=i.format({format:"bytes32"},l,e);u.emitSent(m),u.emitTransactionHash(h);const M=yield O.waitForTransactionReceipt(t,l,e),v=u.getReceiptWithEvents(i.format(y.transactionReceiptSchema,M,e));u.emitReceipt(v),a(yield u.handleResolve({receipt:v,tx:m})),u.emitConfirmation({receipt:v,transactionHash:l})}catch(T){d(yield u.handleError({error:T,tx:m}))}})})});return o}function ot(t,r,e,n={checkRevertBeforeSending:!0}){const o=new H.Web3PromiEvent((a,d)=>{setImmediate(()=>{f(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:n,returnFormat:e}),m=i.format({format:"bytes"},r,s.ETH_DATA_FORMAT),T=U.TransactionFactory.fromSerializedData(F.bytesToUint8Array(F.hexToBytes(m))),l=Object.assign(Object.assign({},T.toJSON()),{from:T.getSenderAddress().toString()});try{const{v:h,r:M,s:v}=l,S=G(l,["v","r","s"]);yield u.checkRevertBeforeSending(S),u.emitSending(m);const q=yield j.trySendTransaction(t,()=>f(this,void 0,void 0,function*(){return c.sendRawTransaction(t.requestManager,m)}));u.emitSent(m);const D=i.format({format:"bytes32"},q,e);u.emitTransactionHash(D);const k=yield O.waitForTransactionReceipt(t,q,e),B=u.getReceiptWithEvents(i.format(y.transactionReceiptSchema,k,e));u.emitReceipt(B),a(yield u.handleResolve({receipt:B,tx:l})),u.emitConfirmation({receipt:B,transactionHash:q})}catch(h){d(yield u.handleError({error:h,tx:l}))}})})});return o}function it(t,r,e,n){var o;return f(this,void 0,void 0,function*(){const a=i.format({format:"bytes"},r,s.DEFAULT_RETURN_FORMAT);if(!((o=t.wallet)===null||o===void 0)&&o.get(e)){const m=t.wallet.get(e).sign(a);return i.format(y.SignatureObjectSchema,m,n)}if(typeof e=="number")throw new P.SignatureError(r,'RPC method "eth_sign" does not support index signatures');const d=yield c.sign(t.requestManager,e,a);return i.format({format:"bytes"},d,n)})}function at(t,r,e){return f(this,void 0,void 0,function*(){const n=yield c.signTransaction(t.requestManager,A.formatTransaction(r,s.ETH_DATA_FORMAT));return N.isString(n)?I.decodeSignedTransaction(n,e,{fillInputAndData:!0}):{raw:i.format({format:"bytes"},n.raw,e),tx:A.formatTransaction(n.tx,e,{fillInputAndData:!0})}})}function st(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.call(t.requestManager,A.formatTransaction(r,s.ETH_DATA_FORMAT),o);return i.format({format:"bytes"},a,n)})}function ct(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=A.formatTransaction(r,s.ETH_DATA_FORMAT),a=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),d=yield c.estimateGas(t.requestManager,o,a);return i.format({format:"uint"},d,n)})}function ut(t,r,e){return f(this,void 0,void 0,function*(){let{toBlock:n,fromBlock:o}=r;_.isNullish(n)||(typeof n=="number"||typeof n=="bigint")&&(n=F.numberToHex(n)),_.isNullish(o)||(typeof o=="number"||typeof o=="bigint")&&(o=F.numberToHex(o));const a=Object.assign(Object.assign({},r),{fromBlock:o,toBlock:n});return(yield c.getLogs(t.requestManager,a)).map(m=>typeof m=="string"?m:i.format(y.logSchema,m,e))})}function ft(t,r){return f(this,void 0,void 0,function*(){const e=yield c.getChainId(t.requestManager);return i.format({format:"uint"},e,r)})}function dt(t,r,e,n=t.defaultBlock,o){return f(this,void 0,void 0,function*(){const a=e.map(m=>i.format({format:"bytes"},m,s.ETH_DATA_FORMAT)),d=g.isBlockTag(n)?n:i.format({format:"uint"},n,s.ETH_DATA_FORMAT),u=yield c.getProof(t.requestManager,r,a,d);return i.format(y.accountSchema,u,o)})}function mt(t,r,e=t.defaultBlock,n,o){return f(this,void 0,void 0,function*(){const a=i.format({format:"uint"},r,s.ETH_DATA_FORMAT),d=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),u=i.format({type:"array",items:{format:"uint"}},n,b.NUMBER_DATA_FORMAT),m=yield c.getFeeHistory(t.requestManager,a,d,u);return i.format(y.feeHistorySchema,m,o)})}function lt(t,r,e=t.defaultBlock,n){return f(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:i.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.createAccessList(t.requestManager,A.formatTransaction(r,s.ETH_DATA_FORMAT),o);return i.format(y.accessListResultSchema,a,n)})}function gt(t,r,e,n,o){return f(this,void 0,void 0,function*(){const a=yield c.signTypedData(t.requestManager,r,e,n);return i.format({format:"bytes"},a,o)})}exports.call=st;exports.createAccessList=lt;exports.estimateGas=ct;exports.getBalance=Q;exports.getBlock=Y;exports.getBlockNumber=K;exports.getBlockTransactionCount=Z;exports.getBlockUncleCount=w;exports.getChainId=ft;exports.getCode=X;exports.getFeeHistory=mt;exports.getGasPrice=z;exports.getHashRate=W;exports.getLogs=ut;exports.getMaxPriorityFeePerGas=J;exports.getPendingTransactions=$;exports.getProof=dt;exports.getStorageAt=V;exports.getTransaction=C;exports.getTransactionCount=rt;exports.getTransactionFromBlock=tt;exports.getTransactionReceipt=et;exports.getUncle=x;exports.isSyncing=L;exports.sendSignedTransaction=ot;exports.sendTransaction=nt;exports.sign=it;exports.signTransaction=at;exports.signTypedData=gt;
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=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");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");const P=require("../../../web3-errors/lib/esm/errors/signature_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");const N=require("../../../web3-validator/lib/esm/validation/string.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");const h=require("../../../web3-validator/lib/esm/validation/bytes.cjs"),g=require("../../../web3-validator/lib/esm/validation/block.cjs"),R=require("../../../web3-validator/lib/esm/validation/object.cjs"),F=require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const U=require("../../../web3-eth-accounts/lib/esm/tx/transactionFactory.cjs"),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 I=require("./utils/decode_signed_transaction.cjs"),y=require("./schemas.cjs"),H=require("./utils/transaction_builder.cjs"),A=require("./utils/format_transaction.cjs"),j=require("./utils/try_send_transaction.cjs"),O=require("./utils/wait_for_transaction_receipt.cjs"),G=require("./constants.cjs"),E=require("./utils/send_tx_helper.cjs"),r=require("../../../web3-utils/lib/esm/formatter.cjs"),p=require("../../../web3-utils/lib/esm/converters.cjs");var d=function(t,n,e,i){function o(a){return a instanceof e?a:new e(function(f){f(a)})}return new(e||(e=Promise))(function(a,f){function u(m){try{T(i.next(m))}catch(v){f(v)}}function l(m){try{T(i.throw(m))}catch(v){f(v)}}function T(m){m.done?a(m.value):o(m.value).then(u,l)}T((i=i.apply(t,n||[])).next())})},L=function(t,n){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)n.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(e[i[o]]=t[i[o]]);return e};const W=t=>d(void 0,void 0,void 0,function*(){return c.getSyncing(t.requestManager)});function z(t,n){return d(this,void 0,void 0,function*(){const e=yield c.getHashRate(t.requestManager);return r.format({format:"uint"},e,n??t.defaultReturnFormat)})}function J(t,n){return d(this,void 0,void 0,function*(){const e=yield c.getGasPrice(t.requestManager);return r.format({format:"uint"},e,n??t.defaultReturnFormat)})}function K(t,n){return d(this,void 0,void 0,function*(){const e=yield c.getMaxPriorityFeePerGas(t.requestManager);return r.format({format:"uint"},e,n??t.defaultReturnFormat)})}function Q(t,n){return d(this,void 0,void 0,function*(){const e=yield c.getBlockNumber(t.requestManager);return r.format({format:"uint"},e,n??t.defaultReturnFormat)})}function V(t,n,e=t.defaultBlock,i){return d(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getBalance(t.requestManager,n,o);return r.format({format:"uint"},a,i??t.defaultReturnFormat)})}function X(t,n,e,i=t.defaultBlock,o){return d(this,void 0,void 0,function*(){const a=r.format({format:"uint"},e,s.ETH_DATA_FORMAT),f=g.isBlockTag(i)?i:r.format({format:"uint"},i,s.ETH_DATA_FORMAT),u=yield c.getStorageAt(t.requestManager,n,a,f);return r.format({format:"bytes"},u,o??t.defaultReturnFormat)})}function Y(t,n,e=t.defaultBlock,i){return d(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getCode(t.requestManager,n,o);return r.format({format:"bytes"},a,i??t.defaultReturnFormat)})}function Z(t,n=t.defaultBlock,e=!1,i){return d(this,void 0,void 0,function*(){let o;if(h.isBytes(n)){const a=r.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);o=yield c.getBlockByHash(t.requestManager,a,e)}else{const a=g.isBlockTag(n)?n:r.format({format:"uint"},n,s.ETH_DATA_FORMAT);o=yield c.getBlockByNumber(t.requestManager,a,e)}return r.format(y.blockSchema,o,i??t.defaultReturnFormat)})}function $(t,n=t.defaultBlock,e){return d(this,void 0,void 0,function*(){let i;if(h.isBytes(n)){const o=r.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);i=yield c.getBlockTransactionCountByHash(t.requestManager,o)}else{const o=g.isBlockTag(n)?n:r.format({format:"uint"},n,s.ETH_DATA_FORMAT);i=yield c.getBlockTransactionCountByNumber(t.requestManager,o)}return r.format({format:"uint"},i,e??t.defaultReturnFormat)})}function b(t,n=t.defaultBlock,e){return d(this,void 0,void 0,function*(){let i;if(h.isBytes(n)){const o=r.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);i=yield c.getUncleCountByBlockHash(t.requestManager,o)}else{const o=g.isBlockTag(n)?n:r.format({format:"uint"},n,s.ETH_DATA_FORMAT);i=yield c.getUncleCountByBlockNumber(t.requestManager,o)}return r.format({format:"uint"},i,e??t.defaultReturnFormat)})}function w(t,n=t.defaultBlock,e,i){return d(this,void 0,void 0,function*(){const o=r.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(h.isBytes(n)){const f=r.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockHashAndIndex(t.requestManager,f,o)}else{const f=g.isBlockTag(n)?n:r.format({format:"uint"},n,s.ETH_DATA_FORMAT);a=yield c.getUncleByBlockNumberAndIndex(t.requestManager,f,o)}return r.format(y.blockSchema,a,i??t.defaultReturnFormat)})}function x(t,n,e=t.defaultReturnFormat){return d(this,void 0,void 0,function*(){const i=r.format({format:"bytes32"},n,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionByHash(t.requestManager,i);return R.isNullish(o)?o:A.formatTransaction(o,e,{fillInputAndData:!0})})}function C(t,n){return d(this,void 0,void 0,function*(){return(yield c.getPendingTransactions(t.requestManager)).map(i=>A.formatTransaction(i,n??t.defaultReturnFormat,{fillInputAndData:!0}))})}function tt(t,n=t.defaultBlock,e,i){return d(this,void 0,void 0,function*(){const o=r.format({format:"uint"},e,s.ETH_DATA_FORMAT);let a;if(h.isBytes(n)){const f=r.format({format:"bytes32"},n,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockHashAndIndex(t.requestManager,f,o)}else{const f=g.isBlockTag(n)?n:r.format({format:"uint"},n,s.ETH_DATA_FORMAT);a=yield c.getTransactionByBlockNumberAndIndex(t.requestManager,f,o)}return R.isNullish(a)?a:A.formatTransaction(a,i??t.defaultReturnFormat,{fillInputAndData:!0})})}function et(t,n,e){return d(this,void 0,void 0,function*(){const i=r.format({format:"bytes32"},n,s.DEFAULT_RETURN_FORMAT),o=yield c.getTransactionReceipt(t.requestManager,i);return R.isNullish(o)?o:r.format(y.transactionReceiptSchema,o,e??t.defaultReturnFormat)})}function nt(t,n,e=t.defaultBlock,i){return d(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.getTransactionCount(t.requestManager,n,o);return r.format({format:"uint"},a,i??t.defaultReturnFormat)})}function it(t,n,e,i={checkRevertBeforeSending:!0}){const o=new F.Web3PromiEvent((a,f)=>{setImmediate(()=>{d(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:i,returnFormat:e});let l=A.formatTransaction(Object.assign(Object.assign({},n),{from:H.getTransactionFromOrToAttr("from",t,n),to:H.getTransactionFromOrToAttr("to",t,n)}),s.ETH_DATA_FORMAT);try{l=yield u.populateGasPrice({transaction:n,transactionFormatted:l}),yield u.checkRevertBeforeSending(l),u.emitSending(l);let T;t.wallet&&!R.isNullish(l.from)&&(T=t.wallet.get(l.from));const m=yield u.signAndSend({wallet:T,tx:l}),v=r.format({format:"bytes32"},m,e??t.defaultReturnFormat);u.emitSent(l),u.emitTransactionHash(v);const M=yield O.waitForTransactionReceipt(t,m,e??t.defaultReturnFormat),_=u.getReceiptWithEvents(r.format(y.transactionReceiptSchema,M,e??t.defaultReturnFormat));u.emitReceipt(_),a(yield u.handleResolve({receipt:_,tx:l})),u.emitConfirmation({receipt:_,transactionHash:m})}catch(T){f(yield u.handleError({error:T,tx:l}))}})})});return o}function ot(t,n,e,i={checkRevertBeforeSending:!0}){const o=new F.Web3PromiEvent((a,f)=>{setImmediate(()=>{d(this,void 0,void 0,function*(){const u=new E.SendTxHelper({web3Context:t,promiEvent:o,options:i,returnFormat:e}),l=r.format({format:"bytes"},n,s.ETH_DATA_FORMAT),T=U.TransactionFactory.fromSerializedData(p.bytesToUint8Array(p.hexToBytes(l))),m=Object.assign(Object.assign({},T.toJSON()),{from:T.getSenderAddress().toString()});try{const{v,r:M,s:_}=m,S=L(m,["v","r","s"]);yield u.checkRevertBeforeSending(S),u.emitSending(l);const q=yield j.trySendTransaction(t,()=>d(this,void 0,void 0,function*(){return c.sendRawTransaction(t.requestManager,l)}));u.emitSent(l);const D=r.format({format:"bytes32"},q,e??t.defaultReturnFormat);u.emitTransactionHash(D);const k=yield O.waitForTransactionReceipt(t,q,e??t.defaultReturnFormat),B=u.getReceiptWithEvents(r.format(y.transactionReceiptSchema,k,e??t.defaultReturnFormat));u.emitReceipt(B),a(yield u.handleResolve({receipt:B,tx:m})),u.emitConfirmation({receipt:B,transactionHash:q})}catch(v){f(yield u.handleError({error:v,tx:m}))}})})});return o}function rt(t,n,e,i=t.defaultReturnFormat){var o;return d(this,void 0,void 0,function*(){const a=r.format({format:"bytes"},n,s.DEFAULT_RETURN_FORMAT);if(!((o=t.wallet)===null||o===void 0)&&o.get(e)){const l=t.wallet.get(e).sign(a);return r.format(y.SignatureObjectSchema,l,i)}if(typeof e=="number")throw new P.SignatureError(n,'RPC method "eth_sign" does not support index signatures');const f=yield c.sign(t.requestManager,e,a);return r.format({format:"bytes"},f,i)})}function at(t,n,e=t.defaultReturnFormat){return d(this,void 0,void 0,function*(){const i=yield c.signTransaction(t.requestManager,A.formatTransaction(n,s.ETH_DATA_FORMAT));return N.isString(i)?I.decodeSignedTransaction(i,e,{fillInputAndData:!0}):{raw:r.format({format:"bytes"},i.raw,e),tx:A.formatTransaction(i.tx,e,{fillInputAndData:!0})}})}function st(t,n,e=t.defaultBlock,i=t.defaultReturnFormat){return d(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.call(t.requestManager,A.formatTransaction(n,s.ETH_DATA_FORMAT),o);return r.format({format:"bytes"},a,i)})}function ct(t,n,e=t.defaultBlock,i){return d(this,void 0,void 0,function*(){const o=A.formatTransaction(n,s.ETH_DATA_FORMAT),a=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),f=yield c.estimateGas(t.requestManager,o,a);return r.format({format:"uint"},f,i??t.defaultReturnFormat)})}function ut(t,n,e){return d(this,void 0,void 0,function*(){let{toBlock:i,fromBlock:o}=n;R.isNullish(i)||(typeof i=="number"||typeof i=="bigint")&&(i=p.numberToHex(i)),R.isNullish(o)||(typeof o=="number"||typeof o=="bigint")&&(o=p.numberToHex(o));const a=Object.assign(Object.assign({},n),{fromBlock:o,toBlock:i});return(yield c.getLogs(t.requestManager,a)).map(l=>typeof l=="string"?l:r.format(y.logSchema,l,e??t.defaultReturnFormat))})}function dt(t,n){return d(this,void 0,void 0,function*(){const e=yield c.getChainId(t.requestManager);return r.format({format:"uint"},e,n??t.defaultReturnFormat)})}function ft(t,n,e,i=t.defaultBlock,o){return d(this,void 0,void 0,function*(){const a=e.map(l=>r.format({format:"bytes"},l,s.ETH_DATA_FORMAT)),f=g.isBlockTag(i)?i:r.format({format:"uint"},i,s.ETH_DATA_FORMAT),u=yield c.getProof(t.requestManager,n,a,f);return r.format(y.accountSchema,u,o??t.defaultReturnFormat)})}function lt(t,n,e=t.defaultBlock,i,o){return d(this,void 0,void 0,function*(){const a=r.format({format:"uint"},n,s.ETH_DATA_FORMAT),f=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),u=r.format({type:"array",items:{format:"uint"}},i,G.NUMBER_DATA_FORMAT),l=yield c.getFeeHistory(t.requestManager,a,f,u);return r.format(y.feeHistorySchema,l,o??t.defaultReturnFormat)})}function mt(t,n,e=t.defaultBlock,i){return d(this,void 0,void 0,function*(){const o=g.isBlockTag(e)?e:r.format({format:"uint"},e,s.ETH_DATA_FORMAT),a=yield c.createAccessList(t.requestManager,A.formatTransaction(n,s.ETH_DATA_FORMAT),o);return r.format(y.accessListResultSchema,a,i??t.defaultReturnFormat)})}function gt(t,n,e,i,o){return d(this,void 0,void 0,function*(){const a=yield c.signTypedData(t.requestManager,n,e,i);return r.format({format:"bytes"},a,o??t.defaultReturnFormat)})}exports.call=st;exports.createAccessList=mt;exports.estimateGas=ct;exports.getBalance=V;exports.getBlock=Z;exports.getBlockNumber=Q;exports.getBlockTransactionCount=$;exports.getBlockUncleCount=b;exports.getChainId=dt;exports.getCode=Y;exports.getFeeHistory=lt;exports.getGasPrice=J;exports.getHashRate=z;exports.getLogs=ut;exports.getMaxPriorityFeePerGas=K;exports.getPendingTransactions=C;exports.getProof=ft;exports.getStorageAt=X;exports.getTransaction=x;exports.getTransactionCount=nt;exports.getTransactionFromBlock=tt;exports.getTransactionReceipt=et;exports.getUncle=w;exports.isSyncing=W;exports.sendSignedTransaction=ot;exports.sendTransaction=it;exports.sign=rt;exports.signTransaction=at;exports.signTypedData=gt;
|