@ozdao/prometheus-framework 0.2.46 → 0.2.47
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-AMWMdo3t.js +91 -0
- package/dist/main-R6dlNKp-.mjs +13606 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +1 -4
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- 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 +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- 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 +110 -110
- 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 +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- 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 +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- 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 +17 -17
- 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 +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- 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 +25 -25
- 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 +19 -19
- 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 +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- 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 +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -63
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -72
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -97
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
- 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 +3 -3
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
- 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/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- 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 -4
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
- 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 +1 -1
- 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/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
- 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 +14 -14
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
- 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 +20 -21
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
- 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 +90 -80
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +1 -4
- 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 +7 -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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -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 +51 -62
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/web-HvAJWryM.js +1 -0
- package/dist/web-XMv5d7hK.mjs +55 -0
- package/package.json +1 -1
- package/src/components/Feed/Feed.vue +9 -7
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +2 -3
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +15 -0
- package/src/modules/products/components/pages/Products.vue +1 -0
- package/src/modules/products/components/sections/SectionProduct.vue +10 -10
- package/src/styles/base/all.scss +4 -1
@@ -1,59 +1,59 @@
|
|
1
|
-
import
|
1
|
+
import u from "../../../cross-fetch/dist/browser-ponyfill.js";
|
2
2
|
import "../../../web3-types/lib/esm/data_format_types.js";
|
3
3
|
import "../../../web3-types/lib/esm/eth_types.js";
|
4
|
-
import { Web3BaseProvider as
|
5
|
-
import { MethodNotImplementedError as
|
4
|
+
import { Web3BaseProvider as l } from "../../../web3-types/lib/esm/web3_base_provider.js";
|
5
|
+
import { MethodNotImplementedError as n } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
|
6
6
|
import { InvalidClientError as m } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
|
7
7
|
import { ResponseError as v } from "../../../web3-errors/lib/esm/errors/response_errors.js";
|
8
8
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
9
|
-
var
|
9
|
+
var O = function(h, t, o, r) {
|
10
10
|
function s(e) {
|
11
|
-
return e instanceof
|
12
|
-
|
11
|
+
return e instanceof o ? e : new o(function(c) {
|
12
|
+
c(e);
|
13
13
|
});
|
14
14
|
}
|
15
|
-
return new (
|
15
|
+
return new (o || (o = Promise))(function(e, c) {
|
16
16
|
function w(i) {
|
17
17
|
try {
|
18
|
-
|
18
|
+
d(r.next(i));
|
19
19
|
} catch (p) {
|
20
|
-
|
20
|
+
c(p);
|
21
21
|
}
|
22
22
|
}
|
23
|
-
function
|
23
|
+
function f(i) {
|
24
24
|
try {
|
25
|
-
|
25
|
+
d(r.throw(i));
|
26
26
|
} catch (p) {
|
27
|
-
|
27
|
+
c(p);
|
28
28
|
}
|
29
29
|
}
|
30
|
-
function
|
31
|
-
i.done ? e(i.value) : s(i.value).then(w,
|
30
|
+
function d(i) {
|
31
|
+
i.done ? e(i.value) : s(i.value).then(w, f);
|
32
32
|
}
|
33
|
-
|
33
|
+
d((r = r.apply(h, t || [])).next());
|
34
34
|
});
|
35
35
|
};
|
36
|
-
class
|
37
|
-
constructor(t,
|
38
|
-
if (super(), !
|
36
|
+
class a extends l {
|
37
|
+
constructor(t, o) {
|
38
|
+
if (super(), !a.validateClientUrl(t))
|
39
39
|
throw new m(t);
|
40
|
-
this.clientUrl = t, this.httpProviderOptions =
|
40
|
+
this.clientUrl = t, this.httpProviderOptions = o;
|
41
41
|
}
|
42
42
|
static validateClientUrl(t) {
|
43
43
|
return typeof t == "string" ? /^http(s)?:\/\//i.test(t) : !1;
|
44
44
|
}
|
45
45
|
/* eslint-disable class-methods-use-this */
|
46
46
|
getStatus() {
|
47
|
-
throw new
|
47
|
+
throw new n();
|
48
48
|
}
|
49
49
|
/* eslint-disable class-methods-use-this */
|
50
50
|
supportsSubscriptions() {
|
51
51
|
return !1;
|
52
52
|
}
|
53
|
-
request(t,
|
53
|
+
request(t, o) {
|
54
54
|
var r;
|
55
|
-
return
|
56
|
-
const s = Object.assign(Object.assign({}, (r = this.httpProviderOptions) === null || r === void 0 ? void 0 : r.providerOptions),
|
55
|
+
return O(this, void 0, void 0, function* () {
|
56
|
+
const s = Object.assign(Object.assign({}, (r = this.httpProviderOptions) === null || r === void 0 ? void 0 : r.providerOptions), o), e = yield u(this.clientUrl, Object.assign(Object.assign({}, s), { method: "POST", headers: Object.assign(Object.assign({}, s.headers), { "Content-Type": "application/json" }), body: JSON.stringify(t) }));
|
57
57
|
if (!e.ok)
|
58
58
|
throw new v(yield e.json());
|
59
59
|
return yield e.json();
|
@@ -61,38 +61,38 @@ class h extends u {
|
|
61
61
|
}
|
62
62
|
/* eslint-disable class-methods-use-this */
|
63
63
|
on() {
|
64
|
-
throw new
|
64
|
+
throw new n();
|
65
65
|
}
|
66
66
|
/* eslint-disable class-methods-use-this */
|
67
67
|
removeListener() {
|
68
|
-
throw new
|
68
|
+
throw new n();
|
69
69
|
}
|
70
70
|
/* eslint-disable class-methods-use-this */
|
71
71
|
once() {
|
72
|
-
throw new
|
72
|
+
throw new n();
|
73
73
|
}
|
74
74
|
/* eslint-disable class-methods-use-this */
|
75
75
|
removeAllListeners() {
|
76
|
-
throw new
|
76
|
+
throw new n();
|
77
77
|
}
|
78
78
|
/* eslint-disable class-methods-use-this */
|
79
79
|
connect() {
|
80
|
-
throw new
|
80
|
+
throw new n();
|
81
81
|
}
|
82
82
|
/* eslint-disable class-methods-use-this */
|
83
83
|
disconnect() {
|
84
|
-
throw new
|
84
|
+
throw new n();
|
85
85
|
}
|
86
86
|
/* eslint-disable class-methods-use-this */
|
87
87
|
reset() {
|
88
|
-
throw new
|
88
|
+
throw new n();
|
89
89
|
}
|
90
90
|
/* eslint-disable class-methods-use-this */
|
91
91
|
reconnect() {
|
92
|
-
throw new
|
92
|
+
throw new n();
|
93
93
|
}
|
94
94
|
}
|
95
95
|
export {
|
96
|
-
|
97
|
-
|
96
|
+
a as HttpProvider,
|
97
|
+
a as default
|
98
98
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const i=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");var o=
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");const i=require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");var o=function(t,n,e,r){function u(d){return d instanceof e?d:new e(function(s){s(d)})}return new(e||(e=Promise))(function(d,s){function v(a){try{c(r.next(a))}catch(h){s(h)}}function g(a){try{c(r.throw(a))}catch(h){s(h)}}function c(a){a.done?d(a.value):u(a.value).then(v,g)}c((r=r.apply(t,n||[])).next())})};function l(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_protocolVersion",params:[]})})}function m(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_syncing",params:[]})})}function f(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_coinbase",params:[]})})}function B(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_mining",params:[]})})}function y(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_hashrate",params:[]})})}function p(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_gasPrice",params:[]})})}function T(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_accounts",params:[]})})}function _(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_blockNumber",params:[]})})}function b(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getBalance",params:[n,e]})})}function k(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getStorageAt",params:[n,e,r]})})}function A(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getTransactionCount",params:[n,e]})})}function C(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getBlockTransactionCountByHash",params:[n]})})}function N(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getBlockTransactionCountByNumber",params:[n]})})}function x(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getUncleCountByBlockHash",params:[n]})})}function H(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[n]),t.send({method:"eth_getUncleCountByBlockNumber",params:[n]})})}function O(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","blockNumberOrTag"],[n,e]),t.send({method:"eth_getCode",params:[n,e]})})}function I(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","hex"],[n,e]),t.send({method:"eth_sign",params:[n,e]})})}function U(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_signTransaction",params:[n]})})}function q(t,n){return o(this,void 0,void 0,function*(){return t.send({method:"eth_sendTransaction",params:[n]})})}function P(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["hex"],[n]),t.send({method:"eth_sendRawTransaction",params:[n]})})}function w(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_call",params:[n,e]})})}function R(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_estimateGas",params:[n,e]})})}function L(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","bool"],[n,e]),t.send({method:"eth_getBlockByHash",params:[n,e]})})}function S(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","bool"],[n,e]),t.send({method:"eth_getBlockByNumber",params:[n,e]})})}function W(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionByHash",params:[n]})})}function G(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockHashAndIndex",params:[n,e]})})}function V(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getTransactionByBlockNumberAndIndex",params:[n,e]})})}function D(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32"],[n]),t.send({method:"eth_getTransactionReceipt",params:[n]})})}function M(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes32","hex"],[n,e]),t.send({method:"eth_getUncleByBlockHashAndIndex",params:[n,e]})})}function F(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag","hex"],[n,e]),t.send({method:"eth_getUncleByBlockNumberAndIndex",params:[n,e]})})}function j(t,n){return o(this,void 0,void 0,function*(){return i.validator.validate(["filter"],[n]),t.send({method:"eth_getLogs",params:[n]})})}function $(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_getWork",params:[]})})}function z(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["bytes8","bytes32","bytes32"],[n,e,r]),t.send({method:"eth_submitWork",params:[n,e,r]})})}function E(t,n,e,r){return o(this,void 0,void 0,function*(){i.validator.validate(["hex","blockNumberOrTag"],[n,e]);for(const u of r)i.validator.validate(["number"],[u]);return t.send({method:"eth_feeHistory",params:[n,e,r]})})}function J(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_pendingTransactions",params:[]})})}function Q(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_requestAccounts",params:[]})})}function X(t){return o(this,void 0,void 0,function*(){return t.send({method:"eth_chainId",params:[]})})}function Y(t,n,e,r){return o(this,void 0,void 0,function*(){return i.validator.validate(["address","bytes32[]","blockNumberOrTag"],[n,e,r]),t.send({method:"eth_getProof",params:[n,e,r]})})}function Z(t){return o(this,void 0,void 0,function*(){return t.send({method:"web3_clientVersion",params:[]})})}function K(t,n,e){return o(this,void 0,void 0,function*(){return i.validator.validate(["blockNumberOrTag"],[e]),t.send({method:"eth_createAccessList",params:[n,e]})})}function tt(t,n,e,r=!1){return o(this,void 0,void 0,function*(){return i.validator.validate(["address"],[n]),t.send({method:`eth_signTypedData${r?"":"_v4"}`,params:[n,e]})})}exports.call=w;exports.createAccessList=K;exports.estimateGas=R;exports.getAccounts=T;exports.getBalance=b;exports.getBlockByHash=L;exports.getBlockByNumber=S;exports.getBlockNumber=_;exports.getBlockTransactionCountByHash=C;exports.getBlockTransactionCountByNumber=N;exports.getChainId=X;exports.getCode=O;exports.getCoinbase=f;exports.getFeeHistory=E;exports.getGasPrice=p;exports.getHashRate=y;exports.getLogs=j;exports.getMining=B;exports.getNodeInfo=Z;exports.getPendingTransactions=J;exports.getProof=Y;exports.getProtocolVersion=l;exports.getStorageAt=k;exports.getSyncing=m;exports.getTransactionByBlockHashAndIndex=G;exports.getTransactionByBlockNumberAndIndex=V;exports.getTransactionByHash=W;exports.getTransactionCount=A;exports.getTransactionReceipt=D;exports.getUncleByBlockHashAndIndex=M;exports.getUncleByBlockNumberAndIndex=F;exports.getUncleCountByBlockHash=x;exports.getUncleCountByBlockNumber=H;exports.getWork=$;exports.requestAccounts=Q;exports.sendRawTransaction=P;exports.sendTransaction=q;exports.sign=I;exports.signTransaction=U;exports.signTypedData=tt;exports.submitWork=z;
|
@@ -4,7 +4,7 @@ import { validator as o } from "../../../web3-validator/lib/esm/default_validato
|
|
4
4
|
import "../../../web3-types/lib/esm/data_format_types.js";
|
5
5
|
import "../../../web3-types/lib/esm/eth_types.js";
|
6
6
|
import "../../../web3-types/lib/esm/web3_base_provider.js";
|
7
|
-
var i =
|
7
|
+
var i = function(t, n, e, r) {
|
8
8
|
function s(d) {
|
9
9
|
return d instanceof e ? d : new e(function(u) {
|
10
10
|
u(d);
|
@@ -31,7 +31,7 @@ var i = globalThis && globalThis.__awaiter || function(t, n, e, r) {
|
|
31
31
|
c((r = r.apply(t, n || [])).next());
|
32
32
|
});
|
33
33
|
};
|
34
|
-
function
|
34
|
+
function y(t) {
|
35
35
|
return i(this, void 0, void 0, function* () {
|
36
36
|
return t.send({
|
37
37
|
method: "eth_protocolVersion",
|
@@ -39,7 +39,7 @@ function T(t) {
|
|
39
39
|
});
|
40
40
|
});
|
41
41
|
}
|
42
|
-
function
|
42
|
+
function T(t) {
|
43
43
|
return i(this, void 0, void 0, function* () {
|
44
44
|
return t.send({
|
45
45
|
method: "eth_syncing",
|
@@ -384,9 +384,9 @@ export {
|
|
384
384
|
ot as getNodeInfo,
|
385
385
|
tt as getPendingTransactions,
|
386
386
|
it as getProof,
|
387
|
-
|
387
|
+
y as getProtocolVersion,
|
388
388
|
H as getStorageAt,
|
389
|
-
|
389
|
+
T as getSyncing,
|
390
390
|
j as getTransactionByBlockHashAndIndex,
|
391
391
|
z as getTransactionByBlockNumberAndIndex,
|
392
392
|
$ as getTransactionByHash,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var c=function(n,f,i,o){function s(e){return e instanceof i?e:new i(function(u){u(e)})}return new(i||(i=Promise))(function(e,u){function a(t){try{r(o.next(t))}catch(d){u(d)}}function h(t){try{r(o.throw(t))}catch(d){u(d)}}function r(t){t.done?e(t.value):s(t.value).then(a,h)}r((o=o.apply(n,f||[])).next())})};function p(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_version",params:[]})})}function v(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_peerCount",params:[]})})}function m(n){return c(this,void 0,void 0,function*(){return n.send({method:"net_listening",params:[]})})}exports.getId=p;exports.getPeerCount=v;exports.isListening=m;
|
@@ -1,32 +1,32 @@
|
|
1
|
-
var
|
2
|
-
function s(
|
3
|
-
return
|
4
|
-
|
1
|
+
var c = function(n, f, i, o) {
|
2
|
+
function s(e) {
|
3
|
+
return e instanceof i ? e : new i(function(u) {
|
4
|
+
u(e);
|
5
5
|
});
|
6
6
|
}
|
7
|
-
return new (
|
7
|
+
return new (i || (i = Promise))(function(e, u) {
|
8
8
|
function a(t) {
|
9
9
|
try {
|
10
|
-
|
11
|
-
} catch (
|
12
|
-
|
10
|
+
r(o.next(t));
|
11
|
+
} catch (d) {
|
12
|
+
u(d);
|
13
13
|
}
|
14
14
|
}
|
15
15
|
function h(t) {
|
16
16
|
try {
|
17
|
-
|
18
|
-
} catch (
|
19
|
-
|
17
|
+
r(o.throw(t));
|
18
|
+
} catch (d) {
|
19
|
+
u(d);
|
20
20
|
}
|
21
21
|
}
|
22
|
-
function
|
23
|
-
t.done ?
|
22
|
+
function r(t) {
|
23
|
+
t.done ? e(t.value) : s(t.value).then(a, h);
|
24
24
|
}
|
25
|
-
|
25
|
+
r((o = o.apply(n, f || [])).next());
|
26
26
|
});
|
27
27
|
};
|
28
28
|
function p(n) {
|
29
|
-
return
|
29
|
+
return c(this, void 0, void 0, function* () {
|
30
30
|
return n.send({
|
31
31
|
method: "net_version",
|
32
32
|
params: []
|
@@ -34,15 +34,15 @@ function p(n) {
|
|
34
34
|
});
|
35
35
|
}
|
36
36
|
function v(n) {
|
37
|
-
return
|
37
|
+
return c(this, void 0, void 0, function* () {
|
38
38
|
return n.send({
|
39
39
|
method: "net_peerCount",
|
40
40
|
params: []
|
41
41
|
});
|
42
42
|
});
|
43
43
|
}
|
44
|
-
function
|
45
|
-
return
|
44
|
+
function m(n) {
|
45
|
+
return c(this, void 0, void 0, function* () {
|
46
46
|
return n.send({
|
47
47
|
method: "net_listening",
|
48
48
|
params: []
|
@@ -52,5 +52,5 @@ function l(n) {
|
|
52
52
|
export {
|
53
53
|
p as getId,
|
54
54
|
v as getPeerCount,
|
55
|
-
|
55
|
+
m as isListening
|
56
56
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(n,o,t,c){function u(d){return d instanceof t?d:new t(function(s){s(d)})}return new(t||(t=Promise))(function(d,s){function v(i){try{r(c.next(i))}catch(a){s(a)}}function p(i){try{r(c.throw(i))}catch(a){s(a)}}function r(i){i.done?d(i.value):u(i.value).then(v,p)}r((c=c.apply(n,o||[])).next())})};const m=n=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_listAccounts",params:[]})}),f=(n,o)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_newAccount",params:[o]})}),l=(n,o,t,c)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_unlockAccount",params:[o,t,c]})}),h=(n,o)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_lockAccount",params:[o]})}),_=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_importRawKey",params:[o,t]})}),A=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_sendTransaction",params:[o,t]})}),w=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_signTransaction",params:[o,t]})}),y=(n,o,t,c)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_sign",params:[o,t,c]})}),g=(n,o,t)=>e(void 0,void 0,void 0,function*(){return n.send({method:"personal_ecRecover",params:[o,t]})});exports.ecRecover=g;exports.getAccounts=m;exports.importRawKey=_;exports.lockAccount=h;exports.newAccount=f;exports.sendTransaction=A;exports.sign=y;exports.signTransaction=w;exports.unlockAccount=l;
|
@@ -1,84 +1,84 @@
|
|
1
|
-
var
|
2
|
-
function u(
|
3
|
-
return
|
4
|
-
d
|
1
|
+
var e = function(n, o, t, i) {
|
2
|
+
function u(d) {
|
3
|
+
return d instanceof t ? d : new t(function(s) {
|
4
|
+
s(d);
|
5
5
|
});
|
6
6
|
}
|
7
|
-
return new (t || (t = Promise))(function(
|
7
|
+
return new (t || (t = Promise))(function(d, s) {
|
8
8
|
function v(c) {
|
9
9
|
try {
|
10
|
-
r(
|
10
|
+
r(i.next(c));
|
11
11
|
} catch (a) {
|
12
|
-
|
12
|
+
s(a);
|
13
13
|
}
|
14
14
|
}
|
15
15
|
function p(c) {
|
16
16
|
try {
|
17
|
-
r(
|
17
|
+
r(i.throw(c));
|
18
18
|
} catch (a) {
|
19
|
-
|
19
|
+
s(a);
|
20
20
|
}
|
21
21
|
}
|
22
22
|
function r(c) {
|
23
|
-
c.done ?
|
23
|
+
c.done ? d(c.value) : u(c.value).then(v, p);
|
24
24
|
}
|
25
|
-
r((
|
25
|
+
r((i = i.apply(n, o || [])).next());
|
26
26
|
});
|
27
27
|
};
|
28
|
-
const
|
28
|
+
const f = (n) => e(void 0, void 0, void 0, function* () {
|
29
29
|
return n.send({
|
30
30
|
method: "personal_listAccounts",
|
31
31
|
params: []
|
32
32
|
});
|
33
|
-
}),
|
33
|
+
}), m = (n, o) => e(void 0, void 0, void 0, function* () {
|
34
34
|
return n.send({
|
35
35
|
method: "personal_newAccount",
|
36
36
|
params: [o]
|
37
37
|
});
|
38
|
-
}),
|
38
|
+
}), l = (n, o, t, i) => e(void 0, void 0, void 0, function* () {
|
39
39
|
return n.send({
|
40
40
|
method: "personal_unlockAccount",
|
41
|
-
params: [o, t,
|
41
|
+
params: [o, t, i]
|
42
42
|
});
|
43
|
-
}), h = (n, o) =>
|
43
|
+
}), h = (n, o) => e(void 0, void 0, void 0, function* () {
|
44
44
|
return n.send({
|
45
45
|
method: "personal_lockAccount",
|
46
46
|
params: [o]
|
47
47
|
});
|
48
|
-
}), _ = (n, o, t) =>
|
48
|
+
}), _ = (n, o, t) => e(void 0, void 0, void 0, function* () {
|
49
49
|
return n.send({
|
50
50
|
method: "personal_importRawKey",
|
51
51
|
params: [o, t]
|
52
52
|
});
|
53
|
-
}), w = (n, o, t) =>
|
53
|
+
}), w = (n, o, t) => e(void 0, void 0, void 0, function* () {
|
54
54
|
return n.send({
|
55
55
|
method: "personal_sendTransaction",
|
56
56
|
params: [o, t]
|
57
57
|
});
|
58
|
-
}), A = (n, o, t) =>
|
58
|
+
}), A = (n, o, t) => e(void 0, void 0, void 0, function* () {
|
59
59
|
return n.send({
|
60
60
|
method: "personal_signTransaction",
|
61
61
|
params: [o, t]
|
62
62
|
});
|
63
|
-
}),
|
63
|
+
}), y = (n, o, t, i) => e(void 0, void 0, void 0, function* () {
|
64
64
|
return n.send({
|
65
65
|
method: "personal_sign",
|
66
|
-
params: [o, t,
|
66
|
+
params: [o, t, i]
|
67
67
|
});
|
68
|
-
}),
|
68
|
+
}), k = (n, o, t) => e(void 0, void 0, void 0, function* () {
|
69
69
|
return n.send({
|
70
70
|
method: "personal_ecRecover",
|
71
71
|
params: [o, t]
|
72
72
|
});
|
73
73
|
});
|
74
74
|
export {
|
75
|
-
|
76
|
-
|
75
|
+
k as ecRecover,
|
76
|
+
f as getAccounts,
|
77
77
|
_ as importRawKey,
|
78
78
|
h as lockAccount,
|
79
|
-
|
79
|
+
m as newAccount,
|
80
80
|
w as sendTransaction,
|
81
|
-
|
81
|
+
y as sign,
|
82
82
|
A as signTransaction,
|
83
|
-
|
83
|
+
l as unlockAccount
|
84
84
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var f=function(l,e,n,t){function s(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function h(i){try{u(t.next(i))}catch(c){o(c)}}function b(i){try{u(t.throw(i))}catch(c){o(c)}}function u(i){i.done?r(i.value):s(i.value).then(h,b)}u((t=t.apply(l,e||[])).next())})};const a=Symbol.for("web3/base-provider");class d{static isWeb3Provider(e){return e instanceof d||!!(e&&e[a])}get[a](){return!0}send(e,n){this.request(e).then(t=>{n(null,t)}).catch(t=>{n(t)})}sendAsync(e){return f(this,void 0,void 0,function*(){return this.request(e)})}asEIP1193Provider(){const e=Object.create(this),n=e.request;return e.request=function(s){return f(this,void 0,void 0,function*(){return(yield n(s)).result})},e.asEIP1193Provider=void 0,e}}exports.Web3BaseProvider=d;
|
@@ -1,34 +1,34 @@
|
|
1
|
-
var
|
2
|
-
function r
|
3
|
-
return
|
4
|
-
|
1
|
+
var d = function(h, e, n, t) {
|
2
|
+
function o(r) {
|
3
|
+
return r instanceof n ? r : new n(function(s) {
|
4
|
+
s(r);
|
5
5
|
});
|
6
6
|
}
|
7
|
-
return new (
|
7
|
+
return new (n || (n = Promise))(function(r, s) {
|
8
8
|
function l(i) {
|
9
9
|
try {
|
10
|
-
u(
|
10
|
+
u(t.next(i));
|
11
11
|
} catch (c) {
|
12
|
-
|
12
|
+
s(c);
|
13
13
|
}
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function v(i) {
|
16
16
|
try {
|
17
|
-
u(
|
17
|
+
u(t.throw(i));
|
18
18
|
} catch (c) {
|
19
|
-
|
19
|
+
s(c);
|
20
20
|
}
|
21
21
|
}
|
22
22
|
function u(i) {
|
23
|
-
i.done ?
|
23
|
+
i.done ? r(i.value) : o(i.value).then(l, v);
|
24
24
|
}
|
25
|
-
u((
|
25
|
+
u((t = t.apply(h, e || [])).next());
|
26
26
|
});
|
27
27
|
};
|
28
28
|
const f = Symbol.for("web3/base-provider");
|
29
|
-
class
|
29
|
+
class a {
|
30
30
|
static isWeb3Provider(e) {
|
31
|
-
return e instanceof
|
31
|
+
return e instanceof a || !!(e && e[f]);
|
32
32
|
}
|
33
33
|
// To match an object "instanceof" does not work if
|
34
34
|
// matcher class and object is using different package versions
|
@@ -43,11 +43,11 @@ class d {
|
|
43
43
|
* @param payload - Request Payload
|
44
44
|
* @param callback - Callback
|
45
45
|
*/
|
46
|
-
send(e,
|
47
|
-
this.request(e).then((
|
48
|
-
|
49
|
-
}).catch((
|
50
|
-
t
|
46
|
+
send(e, n) {
|
47
|
+
this.request(e).then((t) => {
|
48
|
+
n(null, t);
|
49
|
+
}).catch((t) => {
|
50
|
+
n(t);
|
51
51
|
});
|
52
52
|
}
|
53
53
|
/**
|
@@ -55,7 +55,7 @@ class d {
|
|
55
55
|
* @param payload - Request Payload
|
56
56
|
*/
|
57
57
|
sendAsync(e) {
|
58
|
-
return
|
58
|
+
return d(this, void 0, void 0, function* () {
|
59
59
|
return this.request(e);
|
60
60
|
});
|
61
61
|
}
|
@@ -76,14 +76,14 @@ class d {
|
|
76
76
|
* ```
|
77
77
|
*/
|
78
78
|
asEIP1193Provider() {
|
79
|
-
const e = Object.create(this),
|
80
|
-
return e.request = function(
|
81
|
-
return
|
82
|
-
return (yield
|
79
|
+
const e = Object.create(this), n = e.request;
|
80
|
+
return e.request = function(o) {
|
81
|
+
return d(this, void 0, void 0, function* () {
|
82
|
+
return (yield n(o)).result;
|
83
83
|
});
|
84
84
|
}, e.asEIP1193Provider = void 0, e;
|
85
85
|
}
|
86
86
|
}
|
87
87
|
export {
|
88
|
-
|
88
|
+
a as Web3BaseProvider
|
89
89
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../events/events.cjs");var E=function(o,e,t,n){function s(i){return i instanceof t?i:new t(function(u){u(i)})}return new(t||(t=Promise))(function(i,u){function l(r){try{c(n.next(r))}catch(h){u(h)}}function a(r){try{c(n.throw(r))}catch(h){u(h)}}function c(r){r.done?i(r.value):s(r.value).then(l,a)}c((n=n.apply(o,e||[])).next())})};const v=o=>e=>o(e.detail);class p extends EventTarget{constructor(){super(...arguments),this._listeners={},this.maxListeners=Number.MAX_SAFE_INTEGER}on(e,t){return this.addEventListener(e,t),this}once(e,t){const n=s=>E(this,void 0,void 0,function*(){this.off(e,n),yield t(s)});return this.on(e,n)}off(e,t){return this.removeEventListener(e,t),this}emit(e,t){const n=new CustomEvent(e,{detail:t});return super.dispatchEvent(n)}listenerCount(e){const t=this._listeners[e];return t?t.length:0}listeners(e){return this._listeners[e].map(t=>t[0])||[]}eventNames(){return Object.keys(this._listeners)}removeAllListeners(){return Object.keys(this._listeners).forEach(e=>{this._listeners[e].forEach(t=>{super.removeEventListener(e,t[1])})}),this._listeners={},this}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}addEventListener(e,t){const n=v(t);super.addEventListener(e,n),this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push([t,n])}removeEventListener(e,t){const n=this._listeners[e];if(n){const s=n.findIndex(i=>i[0]===t);s!==-1&&(super.removeEventListener(e,n[s][1]),n.splice(s,1))}}}let d;typeof window>"u"?d=f.eventsExports.EventEmitter:d=p;class _ extends d{}exports.EventEmitter=_;
|
@@ -1,29 +1,29 @@
|
|
1
1
|
import { e as f } from "../../../events/events.js";
|
2
|
-
var E =
|
2
|
+
var E = function(o, e, t, s) {
|
3
3
|
function n(i) {
|
4
4
|
return i instanceof t ? i : new t(function(c) {
|
5
5
|
c(i);
|
6
6
|
});
|
7
7
|
}
|
8
8
|
return new (t || (t = Promise))(function(i, c) {
|
9
|
-
function
|
9
|
+
function l(r) {
|
10
10
|
try {
|
11
|
-
|
12
|
-
} catch (
|
13
|
-
c(
|
11
|
+
u(s.next(r));
|
12
|
+
} catch (h) {
|
13
|
+
c(h);
|
14
14
|
}
|
15
15
|
}
|
16
|
-
function
|
16
|
+
function a(r) {
|
17
17
|
try {
|
18
|
-
|
19
|
-
} catch (
|
20
|
-
c(
|
18
|
+
u(s.throw(r));
|
19
|
+
} catch (h) {
|
20
|
+
c(h);
|
21
21
|
}
|
22
22
|
}
|
23
|
-
function
|
24
|
-
r.done ? i(r.value) : n(r.value).then(
|
23
|
+
function u(r) {
|
24
|
+
r.done ? i(r.value) : n(r.value).then(l, a);
|
25
25
|
}
|
26
|
-
|
26
|
+
u((s = s.apply(o, e || [])).next());
|
27
27
|
});
|
28
28
|
};
|
29
29
|
const p = (o) => (e) => o(e.detail);
|
@@ -82,9 +82,9 @@ class v extends EventTarget {
|
|
82
82
|
}
|
83
83
|
}
|
84
84
|
}
|
85
|
-
let
|
86
|
-
typeof window > "u" ?
|
87
|
-
class m extends
|
85
|
+
let d;
|
86
|
+
typeof window > "u" ? d = f.EventEmitter : d = v;
|
87
|
+
class m extends d {
|
88
88
|
}
|
89
89
|
export {
|
90
90
|
m as EventEmitter
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const I=require("../../../web3-validator/lib/esm/validation/object.cjs");var f=
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const I=require("../../../web3-validator/lib/esm/validation/object.cjs");var f=function(t,r,e,n){function u(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function l(c){try{d(n.next(c))}catch(s){o(s)}}function m(c){try{d(n.throw(c))}catch(s){o(s)}}function d(c){c.done?i(c.value):u(c.value).then(l,m)}d((n=n.apply(t,r||[])).next())})};function h(t){return(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function a(t,r,e){return f(this,void 0,void 0,function*(){let n;const u=yield Promise.race([t instanceof Promise?t:t(),new Promise((i,o)=>{n=setTimeout(()=>e?o(e):i(void 0),r)})]);if(n&&clearTimeout(n),u instanceof Error)throw u;return u})}function v(t,r){let e;return[new Promise((u,i)=>{e=setInterval(function o(){return f(this,void 0,void 0,function*(){try{const l=yield a(t,r);I.isNullish(l)||(clearInterval(e),u(l))}catch(l){clearInterval(e),i(l)}}),o}(),r)}),e]}function p(t,r){return f(this,void 0,void 0,function*(){return v(t,r)[0]})}function T(t,r){let e;const n=new Promise((u,i)=>{e=setTimeout(()=>{i(r)},t)});return[e,n]}function y(t,r){let e;const n=new Promise((u,i)=>{e=setInterval(()=>{f(this,void 0,void 0,function*(){const o=yield t();o&&(clearInterval(e),i(o))})},r)});return[e,n]}exports.isPromise=h;exports.pollTillDefined=p;exports.pollTillDefinedAndReturnIntervalId=v;exports.rejectIfConditionAtInterval=y;exports.rejectIfTimeout=T;exports.waitWithTimeout=a;
|