@ozdao/prometheus-framework 0.2.43 → 0.2.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-2247448a.js +91 -0
- package/dist/main-6c51a895.mjs +13628 -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 +4 -3
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
- 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/products.server.js +875 -0
- package/dist/products.server.mjs +875 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +227 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +63 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +2 -76
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +78 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +18 -18
- 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 +4 -1
- 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 +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
- 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 +4 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
- 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 +4 -1
- 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/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +1 -1
- 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 +4 -1
- 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 +5 -5
- 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 +4 -1
- 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 +4 -1
- 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/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.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 +4 -1
- 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 +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- 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/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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.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 +4 -1
- 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 +7 -7
- 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 +4 -1
- 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 +3 -3
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +3 -3
- 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 +4 -1
- 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 +3 -3
- 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 +4 -1
- 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/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.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 +4 -1
- 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 +3 -3
- 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 +4 -1
- 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 +2 -11
- 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/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- 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 +5 -5
- 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 +4 -1
- 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 +1 -1
- 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 +1 -1
- 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 +4 -1
- 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 +4 -4
- 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 +3 -3
- 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 +4 -1
- 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 +3 -3
- 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 +4 -4
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.js +43 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -0
- 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 +4 -1
- 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 +4 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +41 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -0
- 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 +4 -1
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +4 -1
- 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 +4 -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 +5 -5
- 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 +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +87 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +138 -0
- 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 +3 -3
- 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 +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -0
- 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 +4 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +53 -0
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/products.client.js +56 -0
- 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 +3 -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 +3 -3
- 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 +4 -1
- 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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- 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 +4 -1
- 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 +2 -2
- 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 +4 -1
- 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 +3 -3
- 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-65c35f46.mjs +55 -0
- package/dist/web-adbe95b6.js +1 -0
- package/package.json +1 -1
- package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
- package/src/modules/products/products.client.js +76 -20
- package/src/modules/products/products.server.js +10 -6
- package/src/modules/products/router/products.router.js +4 -2
@@ -5,31 +5,31 @@ 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
7
|
import { isNullish as a } from "../../../web3-validator/lib/esm/validation/object.js";
|
8
|
-
var
|
8
|
+
var f = globalThis && globalThis.__awaiter || function(n, o, t, e) {
|
9
9
|
function c(i) {
|
10
10
|
return i instanceof t ? i : new t(function(r) {
|
11
11
|
r(i);
|
12
12
|
});
|
13
13
|
}
|
14
14
|
return new (t || (t = Promise))(function(i, r) {
|
15
|
-
function
|
15
|
+
function l(u) {
|
16
16
|
try {
|
17
|
-
|
18
|
-
} catch (
|
19
|
-
r(
|
17
|
+
s(e.next(u));
|
18
|
+
} catch (d) {
|
19
|
+
r(d);
|
20
20
|
}
|
21
21
|
}
|
22
22
|
function m(u) {
|
23
23
|
try {
|
24
|
-
|
25
|
-
} catch (
|
26
|
-
r(
|
24
|
+
s(e.throw(u));
|
25
|
+
} catch (d) {
|
26
|
+
r(d);
|
27
27
|
}
|
28
28
|
}
|
29
|
-
function
|
30
|
-
u.done ? i(u.value) : c(u.value).then(
|
29
|
+
function s(u) {
|
30
|
+
u.done ? i(u.value) : c(u.value).then(l, m);
|
31
31
|
}
|
32
|
-
|
32
|
+
s((e = e.apply(n, o || [])).next());
|
33
33
|
});
|
34
34
|
};
|
35
35
|
function j(n) {
|
@@ -37,7 +37,7 @@ function j(n) {
|
|
37
37
|
typeof n.then == "function";
|
38
38
|
}
|
39
39
|
function p(n, o, t) {
|
40
|
-
return
|
40
|
+
return f(this, void 0, void 0, function* () {
|
41
41
|
let e;
|
42
42
|
const c = yield Promise.race([
|
43
43
|
n instanceof Promise ? n : n(),
|
@@ -55,12 +55,12 @@ function v(n, o) {
|
|
55
55
|
return [new Promise((c, i) => {
|
56
56
|
t = setInterval(
|
57
57
|
function r() {
|
58
|
-
return
|
58
|
+
return f(this, void 0, void 0, function* () {
|
59
59
|
try {
|
60
|
-
const
|
61
|
-
a(
|
62
|
-
} catch (
|
63
|
-
clearInterval(t), i(
|
60
|
+
const l = yield p(n, o);
|
61
|
+
a(l) || (clearInterval(t), c(l));
|
62
|
+
} catch (l) {
|
63
|
+
clearInterval(t), i(l);
|
64
64
|
}
|
65
65
|
}), r;
|
66
66
|
}(),
|
@@ -69,7 +69,7 @@ function v(n, o) {
|
|
69
69
|
}), t];
|
70
70
|
}
|
71
71
|
function x(n, o) {
|
72
|
-
return
|
72
|
+
return f(this, void 0, void 0, function* () {
|
73
73
|
return v(n, o)[0];
|
74
74
|
});
|
75
75
|
}
|
@@ -86,7 +86,7 @@ function R(n, o) {
|
|
86
86
|
let t;
|
87
87
|
const e = new Promise((c, i) => {
|
88
88
|
t = setInterval(() => {
|
89
|
-
|
89
|
+
f(this, void 0, void 0, function* () {
|
90
90
|
const r = yield n();
|
91
91
|
r && (clearInterval(t), i(r));
|
92
92
|
});
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../web3-errors/lib/esm/errors/connection_errors.cjs"),l=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../web3-errors/lib/esm/errors/connection_errors.cjs"),l=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const f=require("./web3_eip1193_provider.cjs"),v=require("./chunk_response_parser.cjs"),R=require("./validation.cjs"),g=require("./web3_deferred_promise.cjs"),c=require("./json_rpc.cjs");var p=globalThis&&globalThis.__awaiter||function(m,e,t,s){function i(n){return n instanceof t?n:new t(function(u){u(n)})}return new(t||(t=Promise))(function(n,u){function h(r){try{d(s.next(r))}catch(a){u(a)}}function _(r){try{d(s.throw(r))}catch(a){u(a)}}function d(r){r.done?n(r.value):i(r.value).then(h,_)}d((s=s.apply(m,e||[])).next())})};const q={autoReconnect:!0,delay:5e3,maxAttempts:5},E=1e3;class Q extends f.Eip1193Provider{constructor(e,t,s){if(super(),this._connectionStatus="connecting",this._onMessageHandler=this._onMessage.bind(this),this._onOpenHandler=this._onConnect.bind(this),this._onCloseHandler=this._onCloseEvent.bind(this),this._onErrorHandler=this._onError.bind(this),!this._validateProviderPath(e))throw new l.InvalidClientError(e);this._socketPath=e,this._socketOptions=t,this._reconnectOptions=Object.assign(Object.assign({},q),s??{}),this._pendingRequestsQueue=new Map,this._sentRequestsQueue=new Map,this._init(),this.connect(),this.chunkResponseParser=new v.ChunkResponseParser(this._eventEmitter,this._reconnectOptions.autoReconnect),this.chunkResponseParser.onError(()=>{this._clearQueues()}),this.isReconnecting=!1}get SocketConnection(){return this._socketConnection}_init(){this._reconnectAttempts=0}connect(){try{this._openSocketConnection(),this._connectionStatus="connecting",this._addSocketListeners()}catch(e){if(this.isReconnecting)setImmediate(()=>{this._reconnect()});else throw this._connectionStatus="disconnected",e&&e.message?new o.ConnectionError(`Error while connecting to ${this._socketPath}. Reason: ${e.message}`):new l.InvalidClientError(this._socketPath)}}_validateProviderPath(e){return!!e}getPendingRequestQueueSize(){return this._pendingRequestsQueue.size}getSentRequestsQueueSize(){return this._sentRequestsQueue.size}supportsSubscriptions(){return!0}on(e,t){this._eventEmitter.on(e,t)}once(e,t){this._eventEmitter.once(e,t)}removeListener(e,t){this._eventEmitter.removeListener(e,t)}_onDisconnect(e,t){this._connectionStatus="disconnected",super._onDisconnect(e,t)}disconnect(e,t){const s=e??E;this._removeSocketListeners(),this.getStatus()!=="disconnected"&&this._closeSocketConnection(s,t),this._onDisconnect(s,t)}safeDisconnect(e,t,s=!1,i=1e3){return p(this,void 0,void 0,function*(){let n=0;yield(()=>p(this,void 0,void 0,function*(){return new Promise(h=>{const _=setInterval(()=>{s&&n===5&&this.clearQueues(),this.getPendingRequestQueueSize()===0&&this.getSentRequestsQueueSize()===0&&(clearInterval(_),h(!0)),n+=1},i)})}))(),this.disconnect(e,t)})}removeAllListeners(e){this._eventEmitter.removeAllListeners(e)}_onError(e){this.isReconnecting?this._reconnect():this._eventEmitter.emit("error",e)}reset(){this._sentRequestsQueue.clear(),this._pendingRequestsQueue.clear(),this._init(),this._removeSocketListeners(),this._addSocketListeners()}_reconnect(){this.isReconnecting||(this.isReconnecting=!0,this._sentRequestsQueue.size>0&&this._sentRequestsQueue.forEach((e,t)=>{e.deferredPromise.reject(new o.PendingRequestsOnReconnectingError),this._sentRequestsQueue.delete(t)}),this._reconnectAttempts<this._reconnectOptions.maxAttempts?(this._reconnectAttempts+=1,setTimeout(()=>{this._removeSocketListeners(),this.connect(),this.isReconnecting=!1},this._reconnectOptions.delay)):(this.isReconnecting=!1,this._clearQueues(),this._removeSocketListeners(),this._eventEmitter.emit("error",new o.MaxAttemptsReachedOnReconnectingError(this._reconnectOptions.maxAttempts))))}request(e){return p(this,void 0,void 0,function*(){if(R.isNullish(this._socketConnection))throw new Error("Connection is undefined");this.getStatus()==="disconnected"&&this.connect();const t=c.isBatchRequest(e)?e[0].id:e.id;if(!t)throw new l.Web3WSProviderError("Request Id not defined");if(this._sentRequestsQueue.has(t))throw new o.RequestAlreadySentError(t);const s=new g.Web3DeferredPromise;s.catch(n=>{this._eventEmitter.emit("error",n)});const i={payload:e,deferredPromise:s};if(this.getStatus()==="connecting")return this._pendingRequestsQueue.set(t,i),i.deferredPromise;this._sentRequestsQueue.set(t,i);try{this._sendToSocket(i.payload)}catch(n){this._sentRequestsQueue.delete(t),this._eventEmitter.emit("error",n)}return s})}_onConnect(){this._connectionStatus="connected",this._reconnectAttempts=0,super._onConnect(),this._sendPendingRequests()}_sendPendingRequests(){for(const[e,t]of this._pendingRequestsQueue.entries())this._sendToSocket(t.payload),this._pendingRequestsQueue.delete(e),this._sentRequestsQueue.set(e,t)}_onMessage(e){const t=this._parseResponses(e);if(!(R.isNullish(t)||t.length===0))for(const s of t){if(c.isResponseWithNotification(s)&&s.method.endsWith("_subscription")){this._eventEmitter.emit("message",s);return}const i=c.isBatchResponse(s)?s[0].id:s.id,n=this._sentRequestsQueue.get(i);if(!n)return;(c.isBatchResponse(s)||c.isResponseWithResult(s)||c.isResponseWithError(s))&&(this._eventEmitter.emit("message",s),n.deferredPromise.resolve(s)),this._sentRequestsQueue.delete(i)}}clearQueues(e){this._clearQueues(e)}_clearQueues(e){this._pendingRequestsQueue.size>0&&this._pendingRequestsQueue.forEach((t,s)=>{t.deferredPromise.reject(new o.ConnectionNotOpenError(e)),this._pendingRequestsQueue.delete(s)}),this._sentRequestsQueue.size>0&&this._sentRequestsQueue.forEach((t,s)=>{t.deferredPromise.reject(new o.ConnectionNotOpenError(e)),this._sentRequestsQueue.delete(s)}),this._removeSocketListeners()}}exports.SocketProvider=Q;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { ConnectionError as R, PendingRequestsOnReconnectingError as g, MaxAttemptsReachedOnReconnectingError as v, RequestAlreadySentError as q, ConnectionNotOpenError as m } from "../../../web3-errors/lib/esm/errors/connection_errors.js";
|
2
|
-
import { InvalidClientError as
|
2
|
+
import { InvalidClientError as l, Web3WSProviderError as Q } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
|
3
3
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
4
4
|
import { Eip1193Provider as E } from "./web3_eip1193_provider.js";
|
5
5
|
import { ChunkResponseParser as S } from "./chunk_response_parser.js";
|
6
|
-
import { isNullish as
|
6
|
+
import { isNullish as f } from "./validation.js";
|
7
7
|
import { Web3DeferredPromise as w } from "./web3_deferred_promise.js";
|
8
8
|
import { isBatchRequest as P, isResponseWithNotification as k, isBatchResponse as p, isResponseWithResult as C, isResponseWithError as O } from "./json_rpc.js";
|
9
|
-
var
|
9
|
+
var d = globalThis && globalThis.__awaiter || function(a, e, t, s) {
|
10
10
|
function i(n) {
|
11
11
|
return n instanceof t ? n : new t(function(r) {
|
12
12
|
r(n);
|
@@ -16,15 +16,15 @@ var _ = function(a, e, t, s) {
|
|
16
16
|
function c(o) {
|
17
17
|
try {
|
18
18
|
h(s.next(o));
|
19
|
-
} catch (
|
20
|
-
r(
|
19
|
+
} catch (_) {
|
20
|
+
r(_);
|
21
21
|
}
|
22
22
|
}
|
23
23
|
function u(o) {
|
24
24
|
try {
|
25
25
|
h(s.throw(o));
|
26
|
-
} catch (
|
27
|
-
r(
|
26
|
+
} catch (_) {
|
27
|
+
r(_);
|
28
28
|
}
|
29
29
|
}
|
30
30
|
function h(o) {
|
@@ -38,7 +38,7 @@ const A = {
|
|
38
38
|
delay: 5e3,
|
39
39
|
maxAttempts: 5
|
40
40
|
}, L = 1e3;
|
41
|
-
class
|
41
|
+
class M extends E {
|
42
42
|
/**
|
43
43
|
* This is an abstract class for implementing a socket provider (e.g. WebSocket, IPC). It extends the EIP-1193 provider {@link EIP1193Provider}.
|
44
44
|
* @param socketPath - The path to the socket (e.g. /ipc/path or ws://localhost:8546)
|
@@ -47,7 +47,7 @@ class W extends E {
|
|
47
47
|
*/
|
48
48
|
constructor(e, t, s) {
|
49
49
|
if (super(), this._connectionStatus = "connecting", this._onMessageHandler = this._onMessage.bind(this), this._onOpenHandler = this._onConnect.bind(this), this._onCloseHandler = this._onCloseEvent.bind(this), this._onErrorHandler = this._onError.bind(this), !this._validateProviderPath(e))
|
50
|
-
throw new
|
50
|
+
throw new l(e);
|
51
51
|
this._socketPath = e, this._socketOptions = t, this._reconnectOptions = Object.assign(Object.assign({}, A), s ?? {}), this._pendingRequestsQueue = /* @__PURE__ */ new Map(), this._sentRequestsQueue = /* @__PURE__ */ new Map(), this._init(), this.connect(), this.chunkResponseParser = new S(this._eventEmitter, this._reconnectOptions.autoReconnect), this.chunkResponseParser.onError(() => {
|
52
52
|
this._clearQueues();
|
53
53
|
}), this.isReconnecting = !1;
|
@@ -70,7 +70,7 @@ class W extends E {
|
|
70
70
|
this._reconnect();
|
71
71
|
});
|
72
72
|
else
|
73
|
-
throw this._connectionStatus = "disconnected", e && e.message ? new R(`Error while connecting to ${this._socketPath}. Reason: ${e.message}`) : new
|
73
|
+
throw this._connectionStatus = "disconnected", e && e.message ? new R(`Error while connecting to ${this._socketPath}. Reason: ${e.message}`) : new l(this._socketPath);
|
74
74
|
}
|
75
75
|
}
|
76
76
|
// eslint-disable-next-line class-methods-use-this
|
@@ -130,15 +130,15 @@ class W extends E {
|
|
130
130
|
* @param data - The data to be sent to the server
|
131
131
|
*/
|
132
132
|
safeDisconnect(e, t, s = !1, i = 1e3) {
|
133
|
-
return
|
133
|
+
return d(this, void 0, void 0, function* () {
|
134
134
|
let n = 0;
|
135
|
-
yield
|
135
|
+
yield (() => d(this, void 0, void 0, function* () {
|
136
136
|
return new Promise((c) => {
|
137
137
|
const u = setInterval(() => {
|
138
138
|
s && n === 5 && this.clearQueues(), this.getPendingRequestQueueSize() === 0 && this.getSentRequestsQueueSize() === 0 && (clearInterval(u), c(!0)), n += 1;
|
139
139
|
}, i);
|
140
140
|
});
|
141
|
-
}), this.disconnect(e, t);
|
141
|
+
}))(), this.disconnect(e, t);
|
142
142
|
});
|
143
143
|
}
|
144
144
|
/**
|
@@ -168,8 +168,8 @@ class W extends E {
|
|
168
168
|
* Creates a request object to be sent to the server
|
169
169
|
*/
|
170
170
|
request(e) {
|
171
|
-
return
|
172
|
-
if (
|
171
|
+
return d(this, void 0, void 0, function* () {
|
172
|
+
if (f(this._socketConnection))
|
173
173
|
throw new Error("Connection is undefined");
|
174
174
|
this.getStatus() === "disconnected" && this.connect();
|
175
175
|
const t = P(e) ? e[0].id : e.id;
|
@@ -205,7 +205,7 @@ class W extends E {
|
|
205
205
|
}
|
206
206
|
_onMessage(e) {
|
207
207
|
const t = this._parseResponses(e);
|
208
|
-
if (!(
|
208
|
+
if (!(f(t) || t.length === 0))
|
209
209
|
for (const s of t) {
|
210
210
|
if (k(s) && s.method.endsWith("_subscription")) {
|
211
211
|
this._eventEmitter.emit("message", s);
|
@@ -229,5 +229,5 @@ class W extends E {
|
|
229
229
|
}
|
230
230
|
}
|
231
231
|
export {
|
232
|
-
|
232
|
+
M as SocketProvider
|
233
233
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");var a=function(c,t,e,s){function n(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function _(r){try{u(s.next(r))}catch(h){o(h)}}function
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");var a=globalThis&&globalThis.__awaiter||function(c,t,e,s){function n(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function _(r){try{u(s.next(r))}catch(h){o(h)}}function l(r){try{u(s.throw(r))}catch(h){o(h)}}function u(r){r.done?i(r.value):n(r.value).then(_,l)}u((s=s.apply(c,t||[])).next())})},m;class d{constructor({timeout:t,eagerStart:e,timeoutMessage:s}={timeout:0,eagerStart:!1,timeoutMessage:"DeferredPromise timed out"}){this[m]="Promise",this._state="pending",this._promise=new Promise((n,i)=>{this._resolve=n,this._reject=i}),this._timeoutMessage=s,this._timeoutInterval=t,e&&this.startTimer()}get state(){return this._state}then(t,e){return a(this,void 0,void 0,function*(){return this._promise.then(t,e)})}catch(t){return a(this,void 0,void 0,function*(){return this._promise.catch(t)})}finally(t){return a(this,void 0,void 0,function*(){return this._promise.finally(t)})}resolve(t){this._resolve(t),this._state="fulfilled",this._clearTimeout()}reject(t){this._reject(t),this._state="rejected",this._clearTimeout()}startTimer(){this._timeoutInterval&&this._timeoutInterval>0&&(this._timeoutId=setTimeout(this._checkTimeout.bind(this),this._timeoutInterval))}_checkTimeout(){this._state==="pending"&&this._timeoutId&&this.reject(new f.OperationTimeoutError(this._timeoutMessage))}_clearTimeout(){this._timeoutId&&clearTimeout(this._timeoutId)}}m=Symbol.toStringTag;exports.Web3DeferredPromise=d;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { OperationTimeoutError as
|
1
|
+
import { OperationTimeoutError as f } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
|
2
2
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
3
|
-
var a = function(m, t, e, r) {
|
3
|
+
var a = globalThis && globalThis.__awaiter || function(m, t, e, r) {
|
4
4
|
function n(i) {
|
5
5
|
return i instanceof e ? i : new e(function(o) {
|
6
6
|
o(i);
|
@@ -14,7 +14,7 @@ var a = function(m, t, e, r) {
|
|
14
14
|
o(u);
|
15
15
|
}
|
16
16
|
}
|
17
|
-
function
|
17
|
+
function l(s) {
|
18
18
|
try {
|
19
19
|
h(r.throw(s));
|
20
20
|
} catch (u) {
|
@@ -22,7 +22,7 @@ var a = function(m, t, e, r) {
|
|
22
22
|
}
|
23
23
|
}
|
24
24
|
function h(s) {
|
25
|
-
s.done ? i(s.value) : n(s.value).then(_,
|
25
|
+
s.done ? i(s.value) : n(s.value).then(_, l);
|
26
26
|
}
|
27
27
|
h((r = r.apply(m, t || [])).next());
|
28
28
|
});
|
@@ -102,7 +102,7 @@ class p {
|
|
102
102
|
this._timeoutInterval && this._timeoutInterval > 0 && (this._timeoutId = setTimeout(this._checkTimeout.bind(this), this._timeoutInterval));
|
103
103
|
}
|
104
104
|
_checkTimeout() {
|
105
|
-
this._state === "pending" && this._timeoutId && this.reject(new
|
105
|
+
this._state === "pending" && this._timeoutId && this.reject(new f(this._timeoutMessage));
|
106
106
|
}
|
107
107
|
_clearTimeout() {
|
108
108
|
this._timeoutId && clearTimeout(this._timeoutId);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const v=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),m=require("../../../events/events.cjs"),f=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),a=require("./json_rpc.cjs");var d=function(h,t,e,
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");const v=require("../../../web3-types/lib/esm/web3_base_provider.cjs"),m=require("../../../events/events.cjs"),f=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),a=require("./json_rpc.cjs");var d=globalThis&&globalThis.__awaiter||function(h,t,e,o){function u(i){return i instanceof e?i:new e(function(r){r(i)})}return new(e||(e=Promise))(function(i,r){function _(n){try{c(o.next(n))}catch(s){r(s)}}function l(n){try{c(o.throw(n))}catch(s){r(s)}}function c(n){n.done?i(n.value):u(n.value).then(_,l)}c((o=o.apply(h,t||[])).next())})};class p extends v.Web3BaseProvider{constructor(){super(...arguments),this._eventEmitter=new m.eventsExports.EventEmitter,this._chainId="",this._accounts=[]}_getChainId(){var t;return d(this,void 0,void 0,function*(){const e=yield this.request(a.toPayload({method:"eth_chainId",params:[]}));return(t=e==null?void 0:e.result)!==null&&t!==void 0?t:""})}_getAccounts(){var t;return d(this,void 0,void 0,function*(){const e=yield this.request(a.toPayload({method:"eth_accounts",params:[]}));return(t=e==null?void 0:e.result)!==null&&t!==void 0?t:[]})}_onConnect(){Promise.all([this._getChainId().then(t=>{t!==this._chainId&&(this._chainId=t,this._eventEmitter.emit("chainChanged",this._chainId))}).catch(t=>{console.error(t)}),this._getAccounts().then(t=>{this._accounts.length===t.length&&t.every(e=>t.includes(e))||(this._accounts=t,this._onAccountsChanged())}).catch(t=>{console.error(t)})]).then(()=>this._eventEmitter.emit("connect",{chainId:this._chainId})).catch(t=>{console.error(t)})}_onDisconnect(t,e){this._eventEmitter.emit("disconnect",new f.EIP1193ProviderRpcError(t,e))}_onAccountsChanged(){this._eventEmitter.emit("accountsChanged",this._accounts)}}exports.Eip1193Provider=p;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import "../../../web3-types/lib/esm/data_format_types.js";
|
2
2
|
import "../../../web3-types/lib/esm/eth_types.js";
|
3
|
-
import { Web3BaseProvider as
|
3
|
+
import { Web3BaseProvider as m } from "../../../web3-types/lib/esm/web3_base_provider.js";
|
4
4
|
import { e as v } from "../../../events/events.js";
|
5
5
|
import { EIP1193ProviderRpcError as f } from "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
6
6
|
import { toPayload as a } from "./json_rpc.js";
|
7
|
-
var d = function(h, t, e, o) {
|
7
|
+
var d = globalThis && globalThis.__awaiter || function(h, t, e, o) {
|
8
8
|
function u(i) {
|
9
9
|
return i instanceof e ? i : new e(function(r) {
|
10
10
|
r(i);
|
@@ -18,7 +18,7 @@ var d = function(h, t, e, o) {
|
|
18
18
|
r(s);
|
19
19
|
}
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function l(n) {
|
22
22
|
try {
|
23
23
|
c(o.throw(n));
|
24
24
|
} catch (s) {
|
@@ -26,12 +26,12 @@ var d = function(h, t, e, o) {
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
function c(n) {
|
29
|
-
n.done ? i(n.value) : u(n.value).then(_,
|
29
|
+
n.done ? i(n.value) : u(n.value).then(_, l);
|
30
30
|
}
|
31
31
|
c((o = o.apply(h, t || [])).next());
|
32
32
|
});
|
33
33
|
};
|
34
|
-
class C extends
|
34
|
+
class C extends m {
|
35
35
|
constructor() {
|
36
36
|
super(...arguments), this._eventEmitter = new v.EventEmitter(), this._chainId = "", this._accounts = [];
|
37
37
|
}
|