@ozdao/prometheus-framework 0.2.57 → 0.2.58
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_commonjsHelpers-CUmg6egw.mjs +6 -0
- package/dist/_commonjsHelpers-DHfMLFPC.js +5 -0
- package/dist/_virtual/index.cjs +1 -1
- package/dist/_virtual/index.js +2 -2
- package/dist/_virtual/index2.cjs +1 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/addMembersQuantity-B8UgqlUM.js +97 -0
- package/dist/addMembersQuantity-BXp_LeQd.mjs +98 -0
- package/dist/auth.server.js +5 -9
- package/dist/auth.server.mjs +5 -9
- package/dist/community.server.js +3 -5
- package/dist/community.server.mjs +3 -5
- package/dist/events.server.js +3 -5
- package/dist/events.server.mjs +3 -5
- package/dist/files.server.js +2 -4
- package/dist/files.server.mjs +2 -4
- package/dist/gallery.server.js +2 -4
- package/dist/gallery.server.mjs +2 -4
- package/dist/globals.server.js +2 -5
- package/dist/globals.server.mjs +2 -5
- package/dist/index-CGIn4v5E.mjs +217 -0
- package/dist/index-CL9l0HRS.js +216 -0
- package/dist/mailing-CxEcQ8NY.js +77 -0
- package/dist/mailing-DT2ZSkCD.mjs +78 -0
- package/dist/main-nO9P-mgH.js +91 -0
- package/dist/main-yJ9uXsVC.mjs +13748 -0
- package/dist/main.css +1 -1
- package/dist/metadata.schema-C_AgyVgg.mjs +210 -0
- package/dist/metadata.schema-IGS4BjqG.js +209 -0
- package/dist/middlewares.server.js +2 -4
- package/dist/middlewares.server.mjs +2 -4
- package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -1
- package/dist/node_modules/@ethereumjs/rlp/dist/index.js +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/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +334 -332
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +1 -1
- 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/eventemitter3/index.cjs +1 -0
- package/dist/node_modules/eventemitter3/index.js +117 -0
- package/dist/node_modules/eventemitter3/index2.cjs +1 -0
- package/dist/node_modules/eventemitter3/index2.js +5 -0
- 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/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +41 -40
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +50 -47
- package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +1 -0
- package/dist/node_modules/web3/lib/esm/web3_eip6963.js +50 -0
- 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 +171 -164
- 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 +327 -265
- 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/abi/ens/PublicResolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +18 -0
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +35 -20
- 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 +53 -47
- 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 +69 -60
- 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 +6 -82
- package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/objects.js +9 -9
- 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 +20 -20
- package/dist/organizations.server.js +2 -2
- package/dist/organizations.server.mjs +2 -2
- package/dist/products.server.js +2 -4
- package/dist/products.server.mjs +2 -4
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -4
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3113 -3253
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +11 -12
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +14 -14
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +3 -3
- package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/formatters.js +518 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/add.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/add.js +20 -0
- package/dist/prometheus-framework/node_modules/date-fns/addDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addDays.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/addHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addHours.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMilliseconds.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/addQuarters.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addQuarters.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/addYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/addYears.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/constants.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/constants.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/constructFrom.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarDays.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.js +19 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.js +20 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/endOfYear.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.js +60 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDay.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDaysInMonth.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getDefaultOptions.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getHours.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISODay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISODay.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMinutes.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMinutes.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getMonth.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/getSeconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getSeconds.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeek.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/prometheus-framework/node_modules/date-fns/getYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/getYear.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/isAfter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isAfter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isBefore.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isBefore.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isDate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isDate.js +7 -0
- package/dist/prometheus-framework/node_modules/date-fns/isEqual.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isEqual.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isSameQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/isValid.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +17 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Parser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +40 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/constants.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/utils.js +103 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/parse.js +90 -0
- package/dist/prometheus-framework/node_modules/date-fns/set.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/set.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/setDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setDay.js +12 -0
- package/dist/prometheus-framework/node_modules/date-fns/setHours.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setHours.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISODay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISODay.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setISOWeek.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMilliseconds.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMinutes.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMinutes.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setMonth.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/setSeconds.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setSeconds.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/setWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setWeek.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/setYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/setYear.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfQuarter.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/prometheus-framework/node_modules/date-fns/sub.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/sub.js +19 -0
- package/dist/prometheus-framework/node_modules/date-fns/subDays.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subDays.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/subMonths.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subMonths.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/subYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/subYears.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/toDate.js +8 -0
- package/dist/prometheus-framework/node_modules/date-fns/transpose.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/transpose.js +18 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- 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 +223 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -4
- 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 +13 -13
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +81 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -83
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.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/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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
- 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 +8 -10
- 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 +1 -4
- 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 +1 -4
- 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 +1 -4
- 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 +1 -4
- 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 +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +40 -43
- 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/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -4
- 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 +34 -34
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +30 -92
- 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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +29 -26
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +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/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 +1 -4
- 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.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 +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 +14 -14
- 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 +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 +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.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +30 -50
- 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/components/sections/SectionSpecialGuests.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +28 -48
- 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 +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 +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 +1 -4
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/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 +1 -4
- 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 +1 -4
- 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 +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +3 -3
- 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/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +26 -30
- 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 +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 +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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +11 -12
- 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/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 +113 -116
- 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 +2 -2
- 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 +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 +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 +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 +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 +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/router/departments.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +63 -18
- 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/CardCategory.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.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 +2 -2
- 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.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/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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- 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/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.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 +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 +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.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 +3 -3
- 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 +94 -63
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- 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.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 +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +20 -22
- package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/categories.router.js +24 -0
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +47 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/router/products.router.js +38 -0
- 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/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/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 +1 -4
- 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 +1 -4
- 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 +23 -22
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +35 -36
- package/dist/reports.server.js +2 -4
- package/dist/reports.server.mjs +2 -4
- package/dist/style.css +1 -1
- package/dist/users.server.js +2 -3
- package/dist/users.server.mjs +2 -3
- package/dist/web-YZLDTHc-.mjs +54 -0
- package/dist/web-zz-VV8RJ.js +1 -0
- package/package.json +30 -30
- package/src/components/Feed/Feed.vue +2 -1
- package/src/components/Radio/Radio.vue +0 -2
- package/src/modules/auth/components/sections/SliderFeatures.vue +37 -18
- package/src/modules/auth/controllers/auth.controller.js +0 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/backoffice/router/account.js +0 -33
- package/src/modules/backoffice/router/backoffice.js +20 -63
- package/src/modules/community/components/pages/Community.vue +7 -1
- package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
- package/src/modules/events/store/events.js +1 -0
- package/src/modules/landing/components/pages/Home.vue +2 -3
- package/src/modules/orders/components/pages/FormOrder.vue +15 -2
- package/src/modules/orders/components/pages/Order.vue +9 -16
- package/src/modules/orders/components/pages/Orders.vue +1 -1
- package/src/modules/orders/components/sections/FormClientDetails.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +5 -3
- package/src/modules/orders/components/sections/FormPayment.vue +1 -1
- package/src/modules/orders/controllers/orders.controller.js +1 -1
- package/src/modules/orders/models/order.model.js +1 -1
- package/src/modules/orders/router/orders.router.js +1 -1
- package/src/modules/orders/routes/orders.routes.js +4 -2
- package/src/modules/orders/store/orders.js +15 -15
- package/src/modules/organizations/components/blocks/EditArray.vue +1 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +0 -1
- package/src/modules/organizations/router/departments.router.js +3 -3
- package/src/modules/organizations/router/members.router.js +6 -3
- package/src/modules/organizations/router/organizations.js +59 -12
- package/src/modules/products/components/pages/Products.vue +44 -8
- package/src/modules/products/products.client.js +0 -13
- package/src/modules/products/router/categories.router.js +24 -0
- package/src/modules/products/router/leftovers.router.js +38 -0
- package/src/modules/products/router/products.router.js +35 -0
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +0 -1
- package/src/styles/config.scss +4 -3
- package/src/modules/landing/components/sections/SliderFeatures.vue +0 -131
- package/src/modules/organizations/router/organizations.router.js +0 -54
- package/src/modules/organizations/router/products.router.js +0 -78
- package/src/modules/products/components/pages/ProductsBackoffice.vue +0 -90
@@ -7,62 +7,62 @@ import "../../../web3-core/lib/esm/web3_subscription_manager.js";
|
|
7
7
|
import "../../../web3-core/lib/esm/web3_subscriptions.js";
|
8
8
|
import { Web3Context as T } from "../../../web3-core/lib/esm/web3_context.js";
|
9
9
|
import "../../../web3-core/lib/esm/web3_batch_request.js";
|
10
|
-
import { isSupportedProvider as
|
11
|
-
import { TransactionNotFound as
|
10
|
+
import { isSupportedProvider as y } from "../../../web3-core/lib/esm/utils.js";
|
11
|
+
import { TransactionNotFound as f } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
|
12
12
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
13
13
|
import "../../../web3-eth-iban/lib/esm/iban.js";
|
14
14
|
import "../../../web3-validator/lib/esm/formats.js";
|
15
15
|
import "../../../web3-validator/lib/esm/default_validator.js";
|
16
16
|
import "../../../web3-core/lib/esm/web3_promi_event.js";
|
17
|
-
import { getProtocolVersion as
|
17
|
+
import { getProtocolVersion as P, getSyncing as S, getCoinbase as F, getMining as M, getAccounts as w, getWork as A, submitWork as G, requestAccounts as q, getNodeInfo as C } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
|
18
18
|
import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
|
19
19
|
import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
|
20
|
-
import { getHashRate as
|
21
|
-
import { LogsSubscription as
|
22
|
-
import { toChecksumAddress as
|
23
|
-
import { isNullish as
|
24
|
-
var
|
20
|
+
import { getHashRate as N, getGasPrice as _, getMaxPriorityFeePerGas as H, getBlockNumber as R, getBalance as x, getStorageAt as L, getCode as U, getBlock as D, getBlockTransactionCount as I, getBlockUncleCount as W, getUncle as j, getTransaction as E, getPendingTransactions as V, getTransactionFromBlock as z, getTransactionReceipt as J, getTransactionCount as K, sendTransaction as Q, sendSignedTransaction as X, sign as Y, signTransaction as Z, call as $, estimateGas as O, getLogs as tt, getChainId as it, getProof as et, getFeeHistory as nt, createAccessList as rt, signTypedData as ot } from "./rpc_method_wrappers.js";
|
21
|
+
import { LogsSubscription as m, NewPendingTransactionsSubscription as g, NewHeadsSubscription as v, SyncingSubscription as b } from "./web3_subscriptions.js";
|
22
|
+
import { ethUnitMap as st, toChecksumAddress as ut } from "../../../web3-utils/lib/esm/converters.js";
|
23
|
+
import { isNullish as ct } from "../../../web3-utils/lib/esm/validation.js";
|
24
|
+
var n = function(B, t, i, e) {
|
25
25
|
function o(s) {
|
26
26
|
return s instanceof i ? s : new i(function(u) {
|
27
27
|
u(s);
|
28
28
|
});
|
29
29
|
}
|
30
30
|
return new (i || (i = Promise))(function(s, u) {
|
31
|
-
function a
|
31
|
+
function c(a) {
|
32
32
|
try {
|
33
|
-
d(
|
34
|
-
} catch (
|
35
|
-
u(
|
33
|
+
d(e.next(a));
|
34
|
+
} catch (l) {
|
35
|
+
u(l);
|
36
36
|
}
|
37
37
|
}
|
38
|
-
function
|
38
|
+
function h(a) {
|
39
39
|
try {
|
40
|
-
d(
|
41
|
-
} catch (
|
42
|
-
u(
|
40
|
+
d(e.throw(a));
|
41
|
+
} catch (l) {
|
42
|
+
u(l);
|
43
43
|
}
|
44
44
|
}
|
45
|
-
function d(
|
46
|
-
|
45
|
+
function d(a) {
|
46
|
+
a.done ? s(a.value) : o(a.value).then(c, h);
|
47
47
|
}
|
48
|
-
d((
|
48
|
+
d((e = e.apply(B, t || [])).next());
|
49
49
|
});
|
50
50
|
};
|
51
|
-
const
|
52
|
-
logs:
|
53
|
-
newPendingTransactions:
|
54
|
-
newHeads:
|
55
|
-
syncing:
|
56
|
-
pendingTransactions:
|
57
|
-
newBlockHeaders:
|
51
|
+
const p = {
|
52
|
+
logs: m,
|
53
|
+
newPendingTransactions: g,
|
54
|
+
newHeads: v,
|
55
|
+
syncing: b,
|
56
|
+
pendingTransactions: g,
|
57
|
+
newBlockHeaders: v
|
58
58
|
// the same as newHeads. just for support API like in version 1.x
|
59
59
|
};
|
60
|
-
class
|
60
|
+
class k extends T {
|
61
61
|
constructor(t) {
|
62
|
-
if (typeof t == "string" ||
|
62
|
+
if (typeof t == "string" || y(t)) {
|
63
63
|
super({
|
64
64
|
provider: t,
|
65
|
-
registeredSubscriptions:
|
65
|
+
registeredSubscriptions: p
|
66
66
|
});
|
67
67
|
return;
|
68
68
|
}
|
@@ -70,7 +70,7 @@ class b extends T {
|
|
70
70
|
super(t);
|
71
71
|
return;
|
72
72
|
}
|
73
|
-
super(Object.assign(Object.assign({}, t), { registeredSubscriptions:
|
73
|
+
super(Object.assign(Object.assign({}, t), { registeredSubscriptions: p })), this.getFeeData = this.calculateFeeData;
|
74
74
|
}
|
75
75
|
/**
|
76
76
|
* @returns Returns the ethereum protocol version of the node.
|
@@ -81,8 +81,8 @@ class b extends T {
|
|
81
81
|
* ```
|
82
82
|
*/
|
83
83
|
getProtocolVersion() {
|
84
|
-
return
|
85
|
-
return
|
84
|
+
return n(this, void 0, void 0, function* () {
|
85
|
+
return P(this.requestManager);
|
86
86
|
});
|
87
87
|
}
|
88
88
|
// TODO Add returnFormat parameter
|
@@ -103,8 +103,8 @@ class b extends T {
|
|
103
103
|
* ```
|
104
104
|
*/
|
105
105
|
isSyncing() {
|
106
|
-
return
|
107
|
-
return
|
106
|
+
return n(this, void 0, void 0, function* () {
|
107
|
+
return S(this.requestManager);
|
108
108
|
});
|
109
109
|
}
|
110
110
|
// TODO consider adding returnFormat parameter (to format address as bytes)
|
@@ -117,8 +117,8 @@ class b extends T {
|
|
117
117
|
* ```
|
118
118
|
*/
|
119
119
|
getCoinbase() {
|
120
|
-
return
|
121
|
-
return
|
120
|
+
return n(this, void 0, void 0, function* () {
|
121
|
+
return F(this.requestManager);
|
122
122
|
});
|
123
123
|
}
|
124
124
|
/**
|
@@ -132,8 +132,8 @@ class b extends T {
|
|
132
132
|
* ```
|
133
133
|
*/
|
134
134
|
isMining() {
|
135
|
-
return
|
136
|
-
return
|
135
|
+
return n(this, void 0, void 0, function* () {
|
136
|
+
return M(this.requestManager);
|
137
137
|
});
|
138
138
|
}
|
139
139
|
/**
|
@@ -151,7 +151,7 @@ class b extends T {
|
|
151
151
|
* ```
|
152
152
|
*/
|
153
153
|
getHashrate(t = r) {
|
154
|
-
return
|
154
|
+
return n(this, void 0, void 0, function* () {
|
155
155
|
return this.getHashRate(t);
|
156
156
|
});
|
157
157
|
}
|
@@ -168,8 +168,8 @@ class b extends T {
|
|
168
168
|
* ```
|
169
169
|
*/
|
170
170
|
getHashRate(t = r) {
|
171
|
-
return
|
172
|
-
return
|
171
|
+
return n(this, void 0, void 0, function* () {
|
172
|
+
return N(this, t);
|
173
173
|
});
|
174
174
|
}
|
175
175
|
/**
|
@@ -185,8 +185,70 @@ class b extends T {
|
|
185
185
|
* ```
|
186
186
|
*/
|
187
187
|
getGasPrice(t = r) {
|
188
|
-
return
|
189
|
-
return
|
188
|
+
return n(this, void 0, void 0, function* () {
|
189
|
+
return _(this, t);
|
190
|
+
});
|
191
|
+
}
|
192
|
+
/**
|
193
|
+
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
194
|
+
* @returns the current maxPriorityFeePerGas per gas in wei.
|
195
|
+
*
|
196
|
+
* ```ts
|
197
|
+
* web3.eth.getMaxPriorityFeePerGas().then(console.log);
|
198
|
+
* > 20000000000n
|
199
|
+
*
|
200
|
+
* web3.eth.getMaxPriorityFeePerGas({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
201
|
+
* > "0x4a817c800"
|
202
|
+
* ```
|
203
|
+
*/
|
204
|
+
getMaxPriorityFeePerGas(t = r) {
|
205
|
+
return n(this, void 0, void 0, function* () {
|
206
|
+
return H(this, t);
|
207
|
+
});
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* Calculates the current Fee Data.
|
211
|
+
* If the node supports EIP-1559, then the `maxFeePerGas` and `maxPriorityFeePerGas` will be calculated.
|
212
|
+
* If the node does not support EIP-1559, then the `gasPrice` will be returned and the rest are `null`s.
|
213
|
+
*
|
214
|
+
* @param baseFeePerGasFactor The factor to multiply the baseFeePerGas with, if the node supports EIP-1559.
|
215
|
+
* @param alternativeMaxPriorityFeePerGas The alternative maxPriorityFeePerGas to use, if the node supports EIP-1559, but does not support the method `eth_maxPriorityFeePerGas`.
|
216
|
+
* @returns The current fee data.
|
217
|
+
*
|
218
|
+
* ```ts
|
219
|
+
* web3.eth.calculateFeeData().then(console.log);
|
220
|
+
* > {
|
221
|
+
* gasPrice: 20000000000n,
|
222
|
+
* maxFeePerGas: 20000000000n,
|
223
|
+
* maxPriorityFeePerGas: 20000000000n,
|
224
|
+
* baseFeePerGas: 20000000000n
|
225
|
+
* }
|
226
|
+
*
|
227
|
+
* web3.eth.calculateFeeData(ethUnitMap.Gwei, 2n).then(console.log);
|
228
|
+
* > {
|
229
|
+
* gasPrice: 20000000000n,
|
230
|
+
* maxFeePerGas: 40000000000n,
|
231
|
+
* maxPriorityFeePerGas: 20000000000n,
|
232
|
+
* baseFeePerGas: 20000000000n
|
233
|
+
* }
|
234
|
+
* ```
|
235
|
+
*/
|
236
|
+
calculateFeeData(t = BigInt(2), i = st.Gwei) {
|
237
|
+
var e;
|
238
|
+
return n(this, void 0, void 0, function* () {
|
239
|
+
const o = yield this.getBlock(void 0, !1), s = (e = o == null ? void 0 : o.baseFeePerGas) !== null && e !== void 0 ? e : void 0;
|
240
|
+
let u;
|
241
|
+
try {
|
242
|
+
u = yield this.getGasPrice();
|
243
|
+
} catch {
|
244
|
+
}
|
245
|
+
let c;
|
246
|
+
try {
|
247
|
+
c = yield this.getMaxPriorityFeePerGas();
|
248
|
+
} catch {
|
249
|
+
}
|
250
|
+
let h;
|
251
|
+
return s && (c = c ?? i, h = s * t + c), { gasPrice: u, maxFeePerGas: h, maxPriorityFeePerGas: c, baseFeePerGas: s };
|
190
252
|
});
|
191
253
|
}
|
192
254
|
/**
|
@@ -199,8 +261,8 @@ class b extends T {
|
|
199
261
|
*/
|
200
262
|
getAccounts() {
|
201
263
|
var t;
|
202
|
-
return
|
203
|
-
return ((t = yield
|
264
|
+
return n(this, void 0, void 0, function* () {
|
265
|
+
return ((t = yield w(this.requestManager)) !== null && t !== void 0 ? t : []).map((e) => ut(e));
|
204
266
|
});
|
205
267
|
}
|
206
268
|
/**
|
@@ -216,8 +278,8 @@ class b extends T {
|
|
216
278
|
* ```
|
217
279
|
*/
|
218
280
|
getBlockNumber(t = r) {
|
219
|
-
return
|
220
|
-
return
|
281
|
+
return n(this, void 0, void 0, function* () {
|
282
|
+
return R(this, t);
|
221
283
|
});
|
222
284
|
}
|
223
285
|
/**
|
@@ -236,9 +298,9 @@ class b extends T {
|
|
236
298
|
* > "0xe8d4a51000"
|
237
299
|
* ```
|
238
300
|
*/
|
239
|
-
getBalance(t, i = this.defaultBlock,
|
240
|
-
return
|
241
|
-
return
|
301
|
+
getBalance(t, i = this.defaultBlock, e = r) {
|
302
|
+
return n(this, void 0, void 0, function* () {
|
303
|
+
return x(this, t, i, e);
|
242
304
|
});
|
243
305
|
}
|
244
306
|
/**
|
@@ -268,9 +330,9 @@ class b extends T {
|
|
268
330
|
* ]
|
269
331
|
* ```
|
270
332
|
*/
|
271
|
-
getStorageAt(t, i,
|
272
|
-
return
|
273
|
-
return
|
333
|
+
getStorageAt(t, i, e = this.defaultBlock, o = r) {
|
334
|
+
return n(this, void 0, void 0, function* () {
|
335
|
+
return L(this, t, i, e, o);
|
274
336
|
});
|
275
337
|
}
|
276
338
|
/**
|
@@ -299,9 +361,9 @@ class b extends T {
|
|
299
361
|
* ]
|
300
362
|
* ```
|
301
363
|
*/
|
302
|
-
getCode(t, i = this.defaultBlock,
|
303
|
-
return
|
304
|
-
return
|
364
|
+
getCode(t, i = this.defaultBlock, e = r) {
|
365
|
+
return n(this, void 0, void 0, function* () {
|
366
|
+
return U(this, t, i, e);
|
305
367
|
});
|
306
368
|
}
|
307
369
|
/**
|
@@ -368,9 +430,9 @@ class b extends T {
|
|
368
430
|
* }
|
369
431
|
* ```
|
370
432
|
*/
|
371
|
-
getBlock(t = this.defaultBlock, i = !1,
|
372
|
-
return
|
373
|
-
return
|
433
|
+
getBlock(t = this.defaultBlock, i = !1, e = r) {
|
434
|
+
return n(this, void 0, void 0, function* () {
|
435
|
+
return D(this, t, i, e);
|
374
436
|
});
|
375
437
|
}
|
376
438
|
/**
|
@@ -390,8 +452,8 @@ class b extends T {
|
|
390
452
|
* ```
|
391
453
|
*/
|
392
454
|
getBlockTransactionCount(t = this.defaultBlock, i = r) {
|
393
|
-
return
|
394
|
-
return
|
455
|
+
return n(this, void 0, void 0, function* () {
|
456
|
+
return I(this, t, i);
|
395
457
|
});
|
396
458
|
}
|
397
459
|
/**
|
@@ -411,8 +473,8 @@ class b extends T {
|
|
411
473
|
* ```
|
412
474
|
*/
|
413
475
|
getBlockUncleCount(t = this.defaultBlock, i = r) {
|
414
|
-
return
|
415
|
-
return
|
476
|
+
return n(this, void 0, void 0, function* () {
|
477
|
+
return W(this, t, i);
|
416
478
|
});
|
417
479
|
}
|
418
480
|
/**
|
@@ -478,9 +540,9 @@ class b extends T {
|
|
478
540
|
* }
|
479
541
|
* ```
|
480
542
|
*/
|
481
|
-
getUncle(t = this.defaultBlock, i,
|
482
|
-
return
|
483
|
-
return
|
543
|
+
getUncle(t = this.defaultBlock, i, e = r) {
|
544
|
+
return n(this, void 0, void 0, function* () {
|
545
|
+
return j(this, t, i, e);
|
484
546
|
});
|
485
547
|
}
|
486
548
|
/**
|
@@ -532,11 +594,11 @@ class b extends T {
|
|
532
594
|
* ```
|
533
595
|
*/
|
534
596
|
getTransaction(t, i = r) {
|
535
|
-
return
|
536
|
-
const
|
537
|
-
if (!
|
538
|
-
throw new
|
539
|
-
return
|
597
|
+
return n(this, void 0, void 0, function* () {
|
598
|
+
const e = yield E(this, t, i);
|
599
|
+
if (!e)
|
600
|
+
throw new f();
|
601
|
+
return e;
|
540
602
|
});
|
541
603
|
}
|
542
604
|
/**
|
@@ -622,8 +684,8 @@ class b extends T {
|
|
622
684
|
* ```
|
623
685
|
*/
|
624
686
|
getPendingTransactions(t = r) {
|
625
|
-
return
|
626
|
-
return
|
687
|
+
return n(this, void 0, void 0, function* () {
|
688
|
+
return V(this, t);
|
627
689
|
});
|
628
690
|
}
|
629
691
|
/**
|
@@ -676,9 +738,9 @@ class b extends T {
|
|
676
738
|
* }
|
677
739
|
* ```
|
678
740
|
*/
|
679
|
-
getTransactionFromBlock(t = this.defaultBlock, i,
|
680
|
-
return
|
681
|
-
return
|
741
|
+
getTransactionFromBlock(t = this.defaultBlock, i, e = r) {
|
742
|
+
return n(this, void 0, void 0, function* () {
|
743
|
+
return z(this, t, i, e);
|
682
744
|
});
|
683
745
|
}
|
684
746
|
/**
|
@@ -726,11 +788,11 @@ class b extends T {
|
|
726
788
|
* ```
|
727
789
|
*/
|
728
790
|
getTransactionReceipt(t, i = r) {
|
729
|
-
return
|
730
|
-
const
|
731
|
-
if (!
|
732
|
-
throw new
|
733
|
-
return
|
791
|
+
return n(this, void 0, void 0, function* () {
|
792
|
+
const e = yield J(this, t, i);
|
793
|
+
if (!e)
|
794
|
+
throw new f();
|
795
|
+
return e;
|
734
796
|
});
|
735
797
|
}
|
736
798
|
/**
|
@@ -751,9 +813,9 @@ class b extends T {
|
|
751
813
|
* > 1
|
752
814
|
* ```
|
753
815
|
*/
|
754
|
-
getTransactionCount(t, i = this.defaultBlock,
|
755
|
-
return
|
756
|
-
return
|
816
|
+
getTransactionCount(t, i = this.defaultBlock, e = r) {
|
817
|
+
return n(this, void 0, void 0, function* () {
|
818
|
+
return K(this, t, i, e);
|
757
819
|
});
|
758
820
|
}
|
759
821
|
/**
|
@@ -862,8 +924,8 @@ class b extends T {
|
|
862
924
|
* > <Some TransactionError>
|
863
925
|
* ```
|
864
926
|
*/
|
865
|
-
sendTransaction(t, i = r,
|
866
|
-
return
|
927
|
+
sendTransaction(t, i = r, e) {
|
928
|
+
return Q(this, t, i, e);
|
867
929
|
}
|
868
930
|
/**
|
869
931
|
* @param transaction Signed transaction in one of the valid {@link Bytes} format.
|
@@ -949,8 +1011,8 @@ class b extends T {
|
|
949
1011
|
* > <Some TransactionError>
|
950
1012
|
* ```
|
951
1013
|
*/
|
952
|
-
sendSignedTransaction(t, i = r,
|
953
|
-
return
|
1014
|
+
sendSignedTransaction(t, i = r, e) {
|
1015
|
+
return X(this, t, i, e);
|
954
1016
|
}
|
955
1017
|
/**
|
956
1018
|
* @param message Data to sign in one of the valid {@link Bytes} format.
|
@@ -979,9 +1041,9 @@ class b extends T {
|
|
979
1041
|
* web3.eth.sign("0x48656c6c6f20776f726c64", 0).then(console.log);
|
980
1042
|
* > "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"
|
981
1043
|
*/
|
982
|
-
sign(t, i,
|
983
|
-
return
|
984
|
-
return
|
1044
|
+
sign(t, i, e = r) {
|
1045
|
+
return n(this, void 0, void 0, function* () {
|
1046
|
+
return Y(this, t, i, e);
|
985
1047
|
});
|
986
1048
|
}
|
987
1049
|
/**
|
@@ -1036,8 +1098,8 @@ class b extends T {
|
|
1036
1098
|
* ```
|
1037
1099
|
*/
|
1038
1100
|
signTransaction(t, i = r) {
|
1039
|
-
return
|
1040
|
-
return
|
1101
|
+
return n(this, void 0, void 0, function* () {
|
1102
|
+
return Z(this, t, i);
|
1041
1103
|
});
|
1042
1104
|
}
|
1043
1105
|
// TODO Decide what to do with transaction.to
|
@@ -1051,9 +1113,9 @@ class b extends T {
|
|
1051
1113
|
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1052
1114
|
* @returns The returned data of the call, e.g. a smart contract function's return value.
|
1053
1115
|
*/
|
1054
|
-
call(t, i = this.defaultBlock,
|
1055
|
-
return
|
1056
|
-
return
|
1116
|
+
call(t, i = this.defaultBlock, e = r) {
|
1117
|
+
return n(this, void 0, void 0, function* () {
|
1118
|
+
return $(this, t, i, e);
|
1057
1119
|
});
|
1058
1120
|
}
|
1059
1121
|
/**
|
@@ -1082,9 +1144,9 @@ class b extends T {
|
|
1082
1144
|
* > 21000
|
1083
1145
|
* ```
|
1084
1146
|
*/
|
1085
|
-
estimateGas(t, i = this.defaultBlock,
|
1086
|
-
return
|
1087
|
-
return
|
1147
|
+
estimateGas(t, i = this.defaultBlock, e = r) {
|
1148
|
+
return n(this, void 0, void 0, function* () {
|
1149
|
+
return O(this, t, i, e);
|
1088
1150
|
});
|
1089
1151
|
}
|
1090
1152
|
/**
|
@@ -1132,8 +1194,8 @@ class b extends T {
|
|
1132
1194
|
* ```
|
1133
1195
|
*/
|
1134
1196
|
getPastLogs(t, i = r) {
|
1135
|
-
return
|
1136
|
-
return
|
1197
|
+
return n(this, void 0, void 0, function* () {
|
1198
|
+
return tt(this, t, i);
|
1137
1199
|
});
|
1138
1200
|
}
|
1139
1201
|
/**
|
@@ -1155,8 +1217,8 @@ class b extends T {
|
|
1155
1217
|
* ```
|
1156
1218
|
*/
|
1157
1219
|
getWork() {
|
1158
|
-
return
|
1159
|
-
return
|
1220
|
+
return n(this, void 0, void 0, function* () {
|
1221
|
+
return A(this.requestManager);
|
1160
1222
|
});
|
1161
1223
|
}
|
1162
1224
|
/**
|
@@ -1176,9 +1238,9 @@ class b extends T {
|
|
1176
1238
|
* > true
|
1177
1239
|
* ```
|
1178
1240
|
*/
|
1179
|
-
submitWork(t, i,
|
1180
|
-
return
|
1181
|
-
return
|
1241
|
+
submitWork(t, i, e) {
|
1242
|
+
return n(this, void 0, void 0, function* () {
|
1243
|
+
return G(this.requestManager, t, i, e);
|
1182
1244
|
});
|
1183
1245
|
}
|
1184
1246
|
// TODO - Format addresses
|
@@ -1196,8 +1258,8 @@ class b extends T {
|
|
1196
1258
|
* ```
|
1197
1259
|
*/
|
1198
1260
|
requestAccounts() {
|
1199
|
-
return
|
1200
|
-
return
|
1261
|
+
return n(this, void 0, void 0, function* () {
|
1262
|
+
return q(this.requestManager);
|
1201
1263
|
});
|
1202
1264
|
}
|
1203
1265
|
/**
|
@@ -1213,8 +1275,8 @@ class b extends T {
|
|
1213
1275
|
* ```
|
1214
1276
|
*/
|
1215
1277
|
getChainId(t = r) {
|
1216
|
-
return
|
1217
|
-
return
|
1278
|
+
return n(this, void 0, void 0, function* () {
|
1279
|
+
return it(this, t);
|
1218
1280
|
});
|
1219
1281
|
}
|
1220
1282
|
/**
|
@@ -1226,8 +1288,8 @@ class b extends T {
|
|
1226
1288
|
* ```
|
1227
1289
|
*/
|
1228
1290
|
getNodeInfo() {
|
1229
|
-
return
|
1230
|
-
return
|
1291
|
+
return n(this, void 0, void 0, function* () {
|
1292
|
+
return C(this.requestManager);
|
1231
1293
|
});
|
1232
1294
|
}
|
1233
1295
|
/**
|
@@ -1302,9 +1364,9 @@ class b extends T {
|
|
1302
1364
|
* }
|
1303
1365
|
* ```
|
1304
1366
|
*/
|
1305
|
-
getProof(t, i,
|
1306
|
-
return
|
1307
|
-
return
|
1367
|
+
getProof(t, i, e = this.defaultBlock, o = r) {
|
1368
|
+
return n(this, void 0, void 0, function* () {
|
1369
|
+
return et(this, t, i, e, o);
|
1308
1370
|
});
|
1309
1371
|
}
|
1310
1372
|
// TODO Throwing an error with Geth, but not Infura
|
@@ -1368,9 +1430,9 @@ class b extends T {
|
|
1368
1430
|
* }
|
1369
1431
|
* ```
|
1370
1432
|
*/
|
1371
|
-
getFeeHistory(t, i = this.defaultBlock,
|
1372
|
-
return
|
1373
|
-
return nt(this, t, i,
|
1433
|
+
getFeeHistory(t, i = this.defaultBlock, e, o = r) {
|
1434
|
+
return n(this, void 0, void 0, function* () {
|
1435
|
+
return nt(this, t, i, e, o);
|
1374
1436
|
});
|
1375
1437
|
}
|
1376
1438
|
/**
|
@@ -1404,9 +1466,9 @@ class b extends T {
|
|
1404
1466
|
* }
|
1405
1467
|
* ```
|
1406
1468
|
*/
|
1407
|
-
createAccessList(t, i = this.defaultBlock,
|
1408
|
-
return
|
1409
|
-
return
|
1469
|
+
createAccessList(t, i = this.defaultBlock, e = r) {
|
1470
|
+
return n(this, void 0, void 0, function* () {
|
1471
|
+
return rt(this, t, i, e);
|
1410
1472
|
});
|
1411
1473
|
}
|
1412
1474
|
/**
|
@@ -1418,151 +1480,151 @@ class b extends T {
|
|
1418
1480
|
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the signed typed data should be formatted.
|
1419
1481
|
* @returns The signed typed data.
|
1420
1482
|
*/
|
1421
|
-
signTypedData(t, i,
|
1422
|
-
return
|
1423
|
-
return
|
1483
|
+
signTypedData(t, i, e = !1, o = r) {
|
1484
|
+
return n(this, void 0, void 0, function* () {
|
1485
|
+
return ot(this, t, i, e, o);
|
1424
1486
|
});
|
1425
1487
|
}
|
1426
1488
|
/**
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
subscribe(t, i,
|
1489
|
+
* Lets you subscribe to specific events in the blockchain.
|
1490
|
+
*
|
1491
|
+
* @param name - The subscription you want to subscribe to.
|
1492
|
+
* @param args - Optional additional parameters, depending on the subscription type.
|
1493
|
+
* @returns A subscription object of type {@link RegisteredSubscription}. The object contains:
|
1494
|
+
* - subscription.id: The subscription id, used to identify and unsubscribing the subscription.
|
1495
|
+
* - subscription.subscribe(): Can be used to re-subscribe with the same parameters.
|
1496
|
+
* - subscription.unsubscribe(): Unsubscribes the subscription and returns TRUE in the callback if successful.
|
1497
|
+
* - subscription.args: The subscription arguments, used when re-subscribing.
|
1498
|
+
*
|
1499
|
+
*
|
1500
|
+
* You can use the subscription object to listen on:
|
1501
|
+
*
|
1502
|
+
* - on("data") - Fires on each incoming log with the log object as argument.
|
1503
|
+
* - on("changed") - Fires on each log which was removed from the blockchain. The log will have the additional property "removed: true".
|
1504
|
+
* - on("error") - Fires when an error in the subscription occurs.
|
1505
|
+
* - on("connected") - Fires once after the subscription successfully connected. Returns the subscription id.
|
1506
|
+
*
|
1507
|
+
* @example **Subscribe to Smart Contract events**
|
1508
|
+
* ```ts
|
1509
|
+
* // Subscribe to `logs`
|
1510
|
+
* const logSubscription = web3.eth.subscribe('logs', {
|
1511
|
+
* address: '0x1234567890123456789012345678901234567890',
|
1512
|
+
* topics: ['0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234']
|
1513
|
+
* });
|
1514
|
+
* logSubscription.on('data', (data: any) => console.log(data));
|
1515
|
+
* logSubscription.on('error', (error: any) => console.log(error));
|
1516
|
+
*
|
1517
|
+
* ```
|
1518
|
+
*
|
1519
|
+
* @example **Subscribe to new block headers**
|
1520
|
+
* ```ts
|
1521
|
+
* // Subscribe to `newBlockHeaders`
|
1522
|
+
* const newBlocksSubscription = await web3.eth.subscribe('newBlockHeaders');
|
1523
|
+
*
|
1524
|
+
* newBlocksSubscription.on('data', async blockhead => {
|
1525
|
+
* console.log('New block header: ', blockhead);
|
1526
|
+
*
|
1527
|
+
* // You do not need the next line, if you like to keep notified for every new block
|
1528
|
+
* await newBlocksSubscription.unsubscribe();
|
1529
|
+
* console.log('Unsubscribed from new block headers.');
|
1530
|
+
* });
|
1531
|
+
* newBlocksSubscription.on('error', error =>
|
1532
|
+
* console.log('Error when subscribing to New block header: ', error),
|
1533
|
+
* );
|
1534
|
+
* ```
|
1535
|
+
*
|
1536
|
+
* ### subscribe('pendingTransactions')
|
1537
|
+
*
|
1538
|
+
* Subscribes to incoming pending transactions.
|
1539
|
+
* You can subscribe to pending transactions by calling web3.eth.subscribe('pendingTransactions').
|
1540
|
+
*
|
1541
|
+
* ```ts
|
1542
|
+
* (await web3.eth.subscribe('pendingTransactions')).on('data', console.log);
|
1543
|
+
* ```
|
1544
|
+
*
|
1545
|
+
* ### subscribe('newHeads')
|
1546
|
+
* ( same as subscribe('newBlockHeaders'))
|
1547
|
+
* Subscribes to incoming block headers. This can be used as timer to check for changes on the blockchain.
|
1548
|
+
*
|
1549
|
+
* The structure of a returned block header is {@link BlockHeaderOutput}:
|
1550
|
+
*
|
1551
|
+
* ```ts
|
1552
|
+
* (await web3.eth.subscribe('newHeads')).on( // 'newBlockHeaders' would work as well
|
1553
|
+
* 'data',
|
1554
|
+
* console.log
|
1555
|
+
* );
|
1556
|
+
* >{
|
1557
|
+
* parentHash: '0x9e746a1d906b299def98c75b06f714d62dacadd567c7515d76eeaa8c8074c738',
|
1558
|
+
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
1559
|
+
* miner: '0x0000000000000000000000000000000000000000',
|
1560
|
+
* stateRoot: '0xe0f04b04861ecfa95e82a9310d6a7ef7aef8d7417f5209c182582bfb98a8e307',
|
1561
|
+
* transactionsRoot: '0x31ab4ea571a9e10d3a19aaed07d190595b1dfa34e03960c04293fec565dea536',
|
1562
|
+
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
1563
|
+
* difficulty: 2n,
|
1564
|
+
* number: 21n,
|
1565
|
+
* gasLimit: 11738125n,
|
1566
|
+
* gasUsed: 830006n,
|
1567
|
+
* timestamp: 1678797237n,
|
1568
|
+
* extraData: '0xd883010b02846765746888676f312e32302e31856c696e757800000000000000e0a6e93cf40e2e71a72e493272210c3f43738ccc7e7d7b14ffd51833797d896c09117e8dc4fbcbc969bd21b42e5af3e276a911524038c001b2109b63b8e0352601',
|
1569
|
+
* nonce: 0n
|
1570
|
+
* }
|
1571
|
+
* ```
|
1572
|
+
*
|
1573
|
+
* ### subscribe('syncing')
|
1574
|
+
* Subscribe to syncing events. This will return `true` when the node is syncing and when it’s finished syncing will return `false`, for the `changed` event.
|
1575
|
+
*
|
1576
|
+
* ```ts
|
1577
|
+
* (await web3.eth.subscribe('syncing')).on('changed', console.log);
|
1578
|
+
* > `true` // when syncing
|
1579
|
+
*
|
1580
|
+
* (await web3.eth.subscribe('syncing')).on('data', console.log);
|
1581
|
+
* > {
|
1582
|
+
* startingBlock: 0,
|
1583
|
+
* currentBlock: 0,
|
1584
|
+
* highestBlock: 0,
|
1585
|
+
* pulledStates: 0,
|
1586
|
+
* knownStates: 0
|
1587
|
+
* }
|
1588
|
+
* ```
|
1589
|
+
*
|
1590
|
+
* ### subscribe('logs', options)
|
1591
|
+
* Subscribes to incoming logs, filtered by the given options. If a valid numerical fromBlock options property is set, web3.js will retrieve logs beginning from this point, backfilling the response as necessary.
|
1592
|
+
*
|
1593
|
+
* options: You can subscribe to logs matching a given filter object, which can take the following parameters:
|
1594
|
+
* - `fromBlock`: (optional, default: 'latest') Integer block number, or `'latest'` for the last mined block or `'pending'`, `'earliest'` for not yet mined transactions.
|
1595
|
+
* - `address`: (optional) Contract address or a list of addresses from which logs should originate.
|
1596
|
+
* - `topics`: (optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with `or` options.
|
1597
|
+
*
|
1598
|
+
* ```ts
|
1599
|
+
* (await web3.eth.subscribe('logs', {
|
1600
|
+
* address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
|
1601
|
+
* })).on('data', console.log);
|
1602
|
+
*
|
1603
|
+
* > {
|
1604
|
+
* removed: false,
|
1605
|
+
* logIndex: 119n,
|
1606
|
+
* transactionIndex: 58n,
|
1607
|
+
* transactionHash: '0x61533efa77937360215069d5d6cb0be09a22af9721e6dc3df59d957833ed8870',
|
1608
|
+
* blockHash: '0xe32bb97084479d32247f66f8b46d00af2fbc3c2db2bc6e5843fe2e4d1ca9b099',
|
1609
|
+
* blockNumber: 18771966n,
|
1610
|
+
* address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
|
1611
|
+
* data: '0x00000000000000000000000000000000000000000000000000000000d88b2e40',
|
1612
|
+
* topics: [
|
1613
|
+
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
1614
|
+
* '0x0000000000000000000000002fb2457f6ec1865dc0d4e7300c696b69c2a1b989',
|
1615
|
+
* '0x00000000000000000000000027fd43babfbe83a81d14665b1a6fb8030a60c9b4'
|
1616
|
+
* ]
|
1617
|
+
* }
|
1618
|
+
*```
|
1619
|
+
*/
|
1620
|
+
subscribe(t, i, e = r) {
|
1559
1621
|
var o;
|
1560
|
-
return
|
1561
|
-
const s = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i,
|
1562
|
-
return s instanceof
|
1622
|
+
return n(this, void 0, void 0, function* () {
|
1623
|
+
const s = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i, e);
|
1624
|
+
return s instanceof m && t === "logs" && typeof i == "object" && !ct(i.fromBlock) && Number.isFinite(Number(i.fromBlock)) && setImmediate(() => {
|
1563
1625
|
this.getPastLogs(i).then((u) => {
|
1564
|
-
for (const
|
1565
|
-
s._processSubscriptionResult(
|
1626
|
+
for (const c of u)
|
1627
|
+
s._processSubscriptionResult(c);
|
1566
1628
|
}).catch((u) => {
|
1567
1629
|
s._processSubscriptionError(u);
|
1568
1630
|
});
|
@@ -1570,7 +1632,7 @@ class b extends T {
|
|
1570
1632
|
});
|
1571
1633
|
}
|
1572
1634
|
static shouldClearSubscription({ sub: t }) {
|
1573
|
-
return !(t instanceof
|
1635
|
+
return !(t instanceof b);
|
1574
1636
|
}
|
1575
1637
|
/**
|
1576
1638
|
* Resets subscriptions.
|
@@ -1587,11 +1649,11 @@ class b extends T {
|
|
1587
1649
|
var i;
|
1588
1650
|
return (i = this.subscriptionManager) === null || i === void 0 ? void 0 : i.unsubscribe(
|
1589
1651
|
// eslint-disable-next-line
|
1590
|
-
t ?
|
1652
|
+
t ? k.shouldClearSubscription : void 0
|
1591
1653
|
);
|
1592
1654
|
}
|
1593
1655
|
}
|
1594
1656
|
export {
|
1595
|
-
|
1596
|
-
|
1657
|
+
k as Web3Eth,
|
1658
|
+
p as registeredSubscriptions
|
1597
1659
|
};
|