@ozdao/prometheus-framework 0.2.128 → 0.2.130
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +3 -5
- package/dist/auth.server.js +12 -14
- package/dist/auth.server.mjs +12 -14
- package/dist/community.server.js +12 -22
- package/dist/community.server.mjs +12 -22
- package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
- package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
- package/dist/events.server.js +5 -8
- package/dist/events.server.mjs +5 -8
- package/dist/files.server.js +2 -3
- package/dist/files.server.mjs +2 -3
- package/dist/gallery.server.js +7 -3
- package/dist/gallery.server.mjs +7 -3
- package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
- package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
- package/dist/main-Ckn0Sslr.js +92 -0
- package/dist/{main-Ds3Z5x5d.mjs → main-DxyAONrm.mjs} +4707 -4475
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
- package/dist/node_modules/fast-deep-equal/index.js +10 -20
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +6 -10
- package/dist/organizations.server.mjs +6 -10
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
- 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 +3414 -3284
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
- package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
- package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
- package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
- 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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +71 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +24 -23
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +146 -114
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/mobile/components/Menu/Menu.vue.js → components/Menu/Menu.vue2.js} +1 -1
- package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +7 -7
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
- 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/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/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -7
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +115 -78
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +8 -23
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
- 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/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +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 +10 -10
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +22 -21
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- 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/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
- 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 +10 -10
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +21 -17
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
- 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 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +110 -94
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +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 +9 -9
- 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 +5 -5
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
- 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 +27 -28
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +23 -24
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +33 -32
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +73 -52
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +52 -54
- 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 +23 -23
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +64 -50
- 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 +44 -45
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +24 -25
- package/dist/reports.server.js +3 -5
- package/dist/reports.server.mjs +3 -5
- package/dist/style.css +1 -1
- package/dist/users.server.js +2 -4
- package/dist/users.server.mjs +2 -4
- package/dist/wallet.server.js +7 -13
- package/dist/wallet.server.mjs +7 -13
- package/dist/{web-BNKN7kk3.mjs → web-Be96Xqd4.mjs} +1 -1
- package/dist/{web-Bk_OtXgv.js → web-CgjTW1bL.js} +1 -1
- package/package.json +2 -2
- package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
- package/src/components/Button/Button.vue +20 -3
- package/src/components/Feed/Feed.vue +28 -3
- package/src/components/FieldBig/FieldBig.vue +2 -2
- package/src/components/Sidebar/Sidebar.vue +13 -5
- package/src/components/index.js +0 -1
- package/src/main.js +0 -7
- package/src/modules/auth/controllers/auth.controller.js +14 -16
- package/src/modules/auth/router/auth.js +1 -4
- package/src/modules/auth/store/auth.js +28 -24
- package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
- package/src/modules/backoffice/router/backoffice.js +4 -15
- package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +1 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
- package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
- package/src/modules/globals/components/layouts/Client.vue +99 -43
- package/src/modules/globals/components/pages/401.vue +5 -0
- package/src/modules/globals/components/pages/404.vue +5 -0
- package/src/modules/globals/components/partials/Footer.vue +17 -5
- package/src/modules/globals/components/partials/Header.vue +37 -18
- package/src/modules/globals/components/partials/Navigation.vue +7 -2
- package/src/modules/landing/components/sections/MobileApp.vue +2 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/landing/router/landing.js +2 -12
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
- package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
- package/src/modules/marketplace/router/marketplace.js +12 -10
- package/src/modules/marketplace/store/marketplace.js +25 -1
- package/src/modules/middlewares/client/auth.validation.js +5 -2
- package/src/modules/middlewares/server/authJwt.js +12 -6
- package/src/modules/middlewares/server/verifyAccesses.js +7 -3
- package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
- package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
- package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
- package/src/modules/orders/router/orders.router.js +6 -3
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
- package/src/modules/organizations/router/backoffice.router.js +25 -0
- package/src/modules/organizations/router/organizations.js +3 -1
- package/src/modules/pages/router/pages.router.js +15 -0
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
- package/src/modules/products/components/pages/Product.vue +7 -3
- package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
- package/src/modules/products/components/sections/FilterProducts.vue +6 -6
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/PopularProducts.vue +1 -3
- package/src/modules/products/components/sections/SectionProduct.vue +8 -8
- package/src/modules/spots/components/layouts/Spots.vue +33 -31
- package/src/modules/spots/components/pages/Map.vue +380 -353
- package/src/modules/spots/router/spots.js +3 -1
- package/src/modules/users/components/pages/Profile.vue +4 -4
- package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
- package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/config.scss +2 -1
- package/src/styles/layout.scss +0 -1
- package/dist/_virtual/browser-ponyfill.cjs +0 -1
- package/dist/_virtual/browser-ponyfill.js +0 -4
- package/dist/_virtual/crc32.cjs +0 -1
- package/dist/_virtual/crc32.js +0 -4
- package/dist/_virtual/index.cjs +0 -1
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.cjs +0 -1
- package/dist/_virtual/index2.js +0 -4
- package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
- package/dist/credentials.schema-CfhPcsuI.js +0 -105
- package/dist/index-CGIn4v5E.mjs +0 -217
- package/dist/index-CL9l0HRS.js +0 -216
- package/dist/main-8APITHuW.mjs +0 -14201
- package/dist/main-8N2Jmsuk.js +0 -91
- package/dist/main-BJvlNekm.mjs +0 -13631
- package/dist/main-BQisDfLk.js +0 -92
- package/dist/main-BV1Yv9Hy.js +0 -92
- package/dist/main-Ba3zK8PO.js +0 -92
- package/dist/main-Btlny-89.mjs +0 -14207
- package/dist/main-Bw0PvTs-.mjs +0 -13616
- package/dist/main-ByCtZbHD.mjs +0 -13752
- package/dist/main-CF35oB7q.js +0 -92
- package/dist/main-CX2ISR43.mjs +0 -13629
- package/dist/main-CXObXjv-.js +0 -92
- package/dist/main-CkeuHuCY.mjs +0 -13619
- package/dist/main-CmL_j3wv.mjs +0 -14223
- package/dist/main-CnfcBov2.mjs +0 -13740
- package/dist/main-D0va05OD.js +0 -92
- package/dist/main-D50VqYhy.js +0 -91
- package/dist/main-D8gNZLSa.js +0 -92
- package/dist/main-DL3vRQCi.js +0 -92
- package/dist/main-DPsHxX0l.mjs +0 -13633
- package/dist/main-DTlUA63C.mjs +0 -13617
- package/dist/main-DfD5hLQo.mjs +0 -13633
- package/dist/main-Dh6Zfei9.js +0 -92
- package/dist/main-DmNP-t33.mjs +0 -13625
- package/dist/main-DwyUYWFX.js +0 -92
- package/dist/main-VcxO-jAt.js +0 -92
- package/dist/main-cffh4bbv.js +0 -92
- package/dist/main-o_2eO2tP.mjs +0 -14208
- package/dist/main-pGo7JpSP.js +0 -92
- package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
- package/dist/metadata.schema-Cu_mPkjE.js +0 -77
- package/dist/metadata.schema-DWR97jhW.js +0 -54
- package/dist/metadata.schema-cbFgazeK.mjs +0 -78
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
- package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
- package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
- package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
- package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
- package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
- package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
- package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
- package/dist/node_modules/abitype/dist/index.cjs +0 -2
- package/dist/node_modules/abitype/dist/index.js +0 -299
- package/dist/node_modules/crc-32/crc32.cjs +0 -1
- package/dist/node_modules/crc-32/crc32.js +0 -51
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
- package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
- package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
- package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
- package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
- package/dist/node_modules/eventemitter3/index.cjs +0 -1
- package/dist/node_modules/eventemitter3/index.js +0 -117
- package/dist/node_modules/eventemitter3/index2.cjs +0 -1
- package/dist/node_modules/eventemitter3/index2.js +0 -5
- package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
- package/dist/node_modules/isomorphic-ws/browser.js +0 -6
- package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
- package/dist/node_modules/setimmediate/setImmediate.js +0 -99
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
- package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/abi.js +0 -19
- package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
- package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/index.js +0 -81
- package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/version.js +0 -4
- package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/web3.js +0 -91
- package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
- package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
- package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
- package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
- package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
- package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
- package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
- package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
- package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
- package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
- package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
- package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
- package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
- package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
- package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
- package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
- package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
- package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
- package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
- package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
- package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
- package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
- package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
- package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
- package/dist/node_modules/zod/lib/index.cjs +0 -1
- package/dist/node_modules/zod/lib/index.js +0 -2854
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
- package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
- package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -77
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -45
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
- package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
- package/dist/queryProcessor-BJoJAetd.mjs +0 -162
- package/dist/queryProcessor-BUDoM96e.js +0 -148
- package/dist/queryProcessor-Cl6sU582.mjs +0 -149
- package/dist/queryProcessor-DRMo_GWK.js +0 -161
- package/dist/queryProcessor-DWf9tsis.js +0 -161
- package/dist/web-B2xhKZNK.js +0 -1
- package/dist/web-B8tq3Fda.mjs +0 -54
- package/dist/web-BDaOF322.js +0 -1
- package/dist/web-BEJCRWop.mjs +0 -54
- package/dist/web-BHzpMOmk.mjs +0 -54
- package/dist/web-BX5um81l.js +0 -1
- package/dist/web-ByJkgGrt.js +0 -1
- package/dist/web-C0sFgeYh.mjs +0 -54
- package/dist/web-CQQEUA9l.js +0 -1
- package/dist/web-CQiHBOEN.mjs +0 -54
- package/dist/web-CXzcKdk4.mjs +0 -54
- package/dist/web-CciQvENI.js +0 -1
- package/dist/web-CkrMHYIU.js +0 -1
- package/dist/web-CtVocufd.js +0 -1
- package/dist/web-CvRd3N_J.mjs +0 -54
- package/dist/web-D0ugI6ra.js +0 -1
- package/dist/web-D2Em-p-C.mjs +0 -54
- package/dist/web-D9Cfcy5k.js +0 -1
- package/dist/web-DEysqj0n.js +0 -1
- package/dist/web-DNq1tHCE.mjs +0 -54
- package/dist/web-DTzbVshr.mjs +0 -54
- package/dist/web-Douq6xn6.js +0 -1
- package/dist/web-DtWmpLE-.mjs +0 -54
- package/dist/web-TGdVOTnw.js +0 -1
- package/dist/web-VFuzUsNl.mjs +0 -54
- package/dist/web-_W9a_nWD.mjs +0 -54
- package/dist/web-kg3KgbAF.js +0 -1
- package/dist/web-nVxTNRH4.mjs +0 -54
- package/src/components/Magnifier/Magnifier.vue +0 -89
- /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
- /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
- /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
- /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
- /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
- /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
- /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -1,1661 +0,0 @@
|
|
1
|
-
import { DEFAULT_RETURN_FORMAT as l } from "../../../web3-types/lib/esm/data_format_types.js";
|
2
|
-
import "../../../web3-types/lib/esm/eth_types.js";
|
3
|
-
import "../../../web3-types/lib/esm/web3_base_provider.js";
|
4
|
-
import "../../../web3-core/lib/esm/web3_config.js";
|
5
|
-
import "../../../web3-core/lib/esm/web3_request_manager.js";
|
6
|
-
import "../../../web3-core/lib/esm/web3_subscription_manager.js";
|
7
|
-
import "../../../web3-core/lib/esm/web3_subscriptions.js";
|
8
|
-
import { Web3Context as k } from "../../../web3-core/lib/esm/web3_context.js";
|
9
|
-
import "../../../web3-core/lib/esm/web3_batch_request.js";
|
10
|
-
import { isSupportedProvider as B } from "../../../web3-core/lib/esm/utils.js";
|
11
|
-
import { TransactionNotFound as f } from "../../../web3-errors/lib/esm/errors/transaction_errors.js";
|
12
|
-
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
13
|
-
import "../../../web3-eth-iban/lib/esm/iban.js";
|
14
|
-
import "../../../web3-validator/lib/esm/formats.js";
|
15
|
-
import "../../../web3-validator/lib/esm/default_validator.js";
|
16
|
-
import "../../../web3-core/lib/esm/web3_promi_event.js";
|
17
|
-
import { getProtocolVersion as T, getSyncing as y, getCoinbase as P, getMining as S, getAccounts as M, getWork as w, submitWork as _, requestAccounts as A, getNodeInfo as G } from "../../../web3-rpc-methods/lib/esm/eth_rpc_methods.js";
|
18
|
-
import "../../../web3-rpc-methods/lib/esm/net_rpc_methods.js";
|
19
|
-
import "../../../web3-rpc-methods/lib/esm/personal_rpc_methods.js";
|
20
|
-
import { getHashRate as q, getGasPrice as C, getMaxPriorityFeePerGas as N, getBlockNumber as H, getBalance as x, getStorageAt as U, getCode as D, getBlock as I, getBlockTransactionCount as L, getBlockUncleCount as W, getUncle as j, getTransaction as E, getPendingTransactions as V, getTransactionFromBlock as z, getTransactionReceipt as J, getTransactionCount as K, sendTransaction as Q, sendSignedTransaction as X, sign as Y, signTransaction as Z, call as $, estimateGas as O, getLogs as tt, getChainId as it, getProof as et, getFeeHistory as nt, createAccessList as rt, signTypedData as ot } from "./rpc_method_wrappers.js";
|
21
|
-
import { LogsSubscription as p, NewPendingTransactionsSubscription as g, NewHeadsSubscription as v, SyncingSubscription as F } from "./web3_subscriptions.js";
|
22
|
-
import { ethUnitMap as st, toChecksumAddress as ut } from "../../../web3-utils/lib/esm/converters.js";
|
23
|
-
import { isNullish as at } from "../../../web3-utils/lib/esm/validation.js";
|
24
|
-
var n = function(b, t, i, e) {
|
25
|
-
function r(o) {
|
26
|
-
return o instanceof i ? o : new i(function(u) {
|
27
|
-
u(o);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
return new (i || (i = Promise))(function(o, u) {
|
31
|
-
function s(a) {
|
32
|
-
try {
|
33
|
-
c(e.next(a));
|
34
|
-
} catch (h) {
|
35
|
-
u(h);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
function d(a) {
|
39
|
-
try {
|
40
|
-
c(e.throw(a));
|
41
|
-
} catch (h) {
|
42
|
-
u(h);
|
43
|
-
}
|
44
|
-
}
|
45
|
-
function c(a) {
|
46
|
-
a.done ? o(a.value) : r(a.value).then(s, d);
|
47
|
-
}
|
48
|
-
c((e = e.apply(b, t || [])).next());
|
49
|
-
});
|
50
|
-
};
|
51
|
-
const m = {
|
52
|
-
logs: p,
|
53
|
-
newPendingTransactions: g,
|
54
|
-
newHeads: v,
|
55
|
-
syncing: F,
|
56
|
-
pendingTransactions: g,
|
57
|
-
newBlockHeaders: v
|
58
|
-
// the same as newHeads. just for support API like in version 1.x
|
59
|
-
};
|
60
|
-
class R extends k {
|
61
|
-
constructor(t) {
|
62
|
-
if (typeof t == "string" || B(t)) {
|
63
|
-
super({
|
64
|
-
provider: t,
|
65
|
-
registeredSubscriptions: m
|
66
|
-
});
|
67
|
-
return;
|
68
|
-
}
|
69
|
-
if (t.registeredSubscriptions) {
|
70
|
-
super(t);
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
super(Object.assign(Object.assign({}, t), { registeredSubscriptions: m })), this.getFeeData = this.calculateFeeData;
|
74
|
-
}
|
75
|
-
/**
|
76
|
-
* @returns Returns the ethereum protocol version of the node.
|
77
|
-
*
|
78
|
-
* ```ts
|
79
|
-
* web3.eth.getProtocolVersion().then(console.log);
|
80
|
-
* > "63"
|
81
|
-
* ```
|
82
|
-
*/
|
83
|
-
getProtocolVersion() {
|
84
|
-
return n(this, void 0, void 0, function* () {
|
85
|
-
return T(this.requestManager);
|
86
|
-
});
|
87
|
-
}
|
88
|
-
// TODO Add returnFormat parameter
|
89
|
-
/**
|
90
|
-
* Checks if the node is currently syncing.
|
91
|
-
*
|
92
|
-
* @returns Either a {@link SyncingStatusAPI}, or `false`.
|
93
|
-
*
|
94
|
-
* ```ts
|
95
|
-
* web3.eth.isSyncing().then(console.log);
|
96
|
-
* > {
|
97
|
-
* startingBlock: 100,
|
98
|
-
* currentBlock: 312,
|
99
|
-
* highestBlock: 512,
|
100
|
-
* knownStates: 234566,
|
101
|
-
* pulledStates: 123455
|
102
|
-
* }
|
103
|
-
* ```
|
104
|
-
*/
|
105
|
-
isSyncing() {
|
106
|
-
return n(this, void 0, void 0, function* () {
|
107
|
-
return y(this.requestManager);
|
108
|
-
});
|
109
|
-
}
|
110
|
-
// TODO consider adding returnFormat parameter (to format address as bytes)
|
111
|
-
/**
|
112
|
-
* @returns Returns the coinbase address to which mining rewards will go.
|
113
|
-
*
|
114
|
-
* ```ts
|
115
|
-
* web3.eth.getCoinbase().then(console.log);
|
116
|
-
* > "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe"
|
117
|
-
* ```
|
118
|
-
*/
|
119
|
-
getCoinbase() {
|
120
|
-
return n(this, void 0, void 0, function* () {
|
121
|
-
return P(this.requestManager);
|
122
|
-
});
|
123
|
-
}
|
124
|
-
/**
|
125
|
-
* Checks whether the node is mining or not.
|
126
|
-
*
|
127
|
-
* @returns `true` if the node is mining, otherwise `false`.
|
128
|
-
*
|
129
|
-
* ```ts
|
130
|
-
* web3.eth.isMining().then(console.log);
|
131
|
-
* > true
|
132
|
-
* ```
|
133
|
-
*/
|
134
|
-
isMining() {
|
135
|
-
return n(this, void 0, void 0, function* () {
|
136
|
-
return S(this.requestManager);
|
137
|
-
});
|
138
|
-
}
|
139
|
-
/**
|
140
|
-
* @deprecated Will be removed in the future, please use {@link Web3Eth.getHashRate} method instead.
|
141
|
-
*
|
142
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
143
|
-
* @returns The number of hashes per second that the node is mining with.
|
144
|
-
*
|
145
|
-
* ```ts
|
146
|
-
* web3.eth.getHashrate().then(console.log);
|
147
|
-
* > 493736n
|
148
|
-
*
|
149
|
-
* web3.eth.getHashrate({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
150
|
-
* > "0x788a8"
|
151
|
-
* ```
|
152
|
-
*/
|
153
|
-
getHashrate(t) {
|
154
|
-
var i;
|
155
|
-
return t === void 0 && (t = (i = this.defaultReturnFormat) !== null && i !== void 0 ? i : l), n(this, void 0, void 0, function* () {
|
156
|
-
return this.getHashRate(t);
|
157
|
-
});
|
158
|
-
}
|
159
|
-
/**
|
160
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
161
|
-
* @returns The number of hashes per second that the node is mining with.
|
162
|
-
*
|
163
|
-
* ```ts
|
164
|
-
* web3.eth.getHashRate().then(console.log);
|
165
|
-
* > 493736n
|
166
|
-
*
|
167
|
-
* web3.eth.getHashRate({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
168
|
-
* > "0x788a8"
|
169
|
-
* ```
|
170
|
-
*/
|
171
|
-
getHashRate(t = this.defaultReturnFormat) {
|
172
|
-
return n(this, void 0, void 0, function* () {
|
173
|
-
return q(this, t);
|
174
|
-
});
|
175
|
-
}
|
176
|
-
/**
|
177
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
178
|
-
* @returns The gas price determined by the last few blocks median gas price.
|
179
|
-
*
|
180
|
-
* ```ts
|
181
|
-
* web3.eth.getGasPrice().then(console.log);
|
182
|
-
* > 20000000000n
|
183
|
-
*
|
184
|
-
* web3.eth.getGasPrice({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
185
|
-
* > "0x4a817c800"
|
186
|
-
* ```
|
187
|
-
*/
|
188
|
-
getGasPrice(t = this.defaultReturnFormat) {
|
189
|
-
return n(this, void 0, void 0, function* () {
|
190
|
-
return C(this, t);
|
191
|
-
});
|
192
|
-
}
|
193
|
-
/**
|
194
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
195
|
-
* @returns the current maxPriorityFeePerGas per gas in wei.
|
196
|
-
*
|
197
|
-
* ```ts
|
198
|
-
* web3.eth.getMaxPriorityFeePerGas().then(console.log);
|
199
|
-
* > 20000000000n
|
200
|
-
*
|
201
|
-
* web3.eth.getMaxPriorityFeePerGas({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
202
|
-
* > "0x4a817c800"
|
203
|
-
* ```
|
204
|
-
*/
|
205
|
-
getMaxPriorityFeePerGas(t = this.defaultReturnFormat) {
|
206
|
-
return n(this, void 0, void 0, function* () {
|
207
|
-
return N(this, t);
|
208
|
-
});
|
209
|
-
}
|
210
|
-
/**
|
211
|
-
* Calculates the current Fee Data.
|
212
|
-
* If the node supports EIP-1559, then the `maxFeePerGas` and `maxPriorityFeePerGas` will be calculated.
|
213
|
-
* If the node does not support EIP-1559, then the `gasPrice` will be returned and the rest are `null`s.
|
214
|
-
*
|
215
|
-
* @param baseFeePerGasFactor The factor to multiply the baseFeePerGas with, if the node supports EIP-1559.
|
216
|
-
* @param alternativeMaxPriorityFeePerGas The alternative maxPriorityFeePerGas to use, if the node supports EIP-1559, but does not support the method `eth_maxPriorityFeePerGas`.
|
217
|
-
* @returns The current fee data.
|
218
|
-
*
|
219
|
-
* ```ts
|
220
|
-
* web3.eth.calculateFeeData().then(console.log);
|
221
|
-
* > {
|
222
|
-
* gasPrice: 20000000000n,
|
223
|
-
* maxFeePerGas: 20000000000n,
|
224
|
-
* maxPriorityFeePerGas: 20000000000n,
|
225
|
-
* baseFeePerGas: 20000000000n
|
226
|
-
* }
|
227
|
-
*
|
228
|
-
* web3.eth.calculateFeeData(ethUnitMap.Gwei, 2n).then(console.log);
|
229
|
-
* > {
|
230
|
-
* gasPrice: 20000000000n,
|
231
|
-
* maxFeePerGas: 40000000000n,
|
232
|
-
* maxPriorityFeePerGas: 20000000000n,
|
233
|
-
* baseFeePerGas: 20000000000n
|
234
|
-
* }
|
235
|
-
* ```
|
236
|
-
*/
|
237
|
-
calculateFeeData(t = BigInt(2), i = st.Gwei) {
|
238
|
-
var e;
|
239
|
-
return n(this, void 0, void 0, function* () {
|
240
|
-
const r = yield this.getBlock(void 0, !1), o = (e = r == null ? void 0 : r.baseFeePerGas) !== null && e !== void 0 ? e : void 0;
|
241
|
-
let u;
|
242
|
-
try {
|
243
|
-
u = yield this.getGasPrice();
|
244
|
-
} catch {
|
245
|
-
}
|
246
|
-
let s;
|
247
|
-
try {
|
248
|
-
s = yield this.getMaxPriorityFeePerGas();
|
249
|
-
} catch {
|
250
|
-
}
|
251
|
-
let d;
|
252
|
-
return o && (s = s ?? i, d = o * t + s), { gasPrice: u, maxFeePerGas: d, maxPriorityFeePerGas: s, baseFeePerGas: o };
|
253
|
-
});
|
254
|
-
}
|
255
|
-
/**
|
256
|
-
* @returns A list of accounts the node controls (addresses are checksummed).
|
257
|
-
*
|
258
|
-
* ```ts
|
259
|
-
* web3.eth.getAccounts().then(console.log);
|
260
|
-
* > ["0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe", "0xDCc6960376d6C6dEa93647383FfB245CfCed97Cf"]
|
261
|
-
* ```
|
262
|
-
*/
|
263
|
-
getAccounts() {
|
264
|
-
var t;
|
265
|
-
return n(this, void 0, void 0, function* () {
|
266
|
-
return ((t = yield M(this.requestManager)) !== null && t !== void 0 ? t : []).map((e) => ut(e));
|
267
|
-
});
|
268
|
-
}
|
269
|
-
/**
|
270
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
271
|
-
* @returns The current block number.
|
272
|
-
*
|
273
|
-
* ```ts
|
274
|
-
* web3.eth.getBlockNumber().then(console.log);
|
275
|
-
* > 2744n
|
276
|
-
*
|
277
|
-
* web3.eth.getBlockNumber({ number: FMT_NUMBER.HEX , bytes: FMT_BYTES.HEX }).then(console.log);
|
278
|
-
* > "0xab8"
|
279
|
-
* ```
|
280
|
-
*/
|
281
|
-
getBlockNumber(t = this.defaultReturnFormat) {
|
282
|
-
return n(this, void 0, void 0, function* () {
|
283
|
-
return H(this, t);
|
284
|
-
});
|
285
|
-
}
|
286
|
-
/**
|
287
|
-
* Get the balance of an address at a given block.
|
288
|
-
*
|
289
|
-
* @param address The address to get the balance of.
|
290
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) Specifies what block to use as the current state for the balance query.
|
291
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
292
|
-
* @returns The current balance for the given address in `wei`.
|
293
|
-
*
|
294
|
-
* ```ts
|
295
|
-
* web3.eth.getBalance("0x407d73d8a49eeb85d32cf465507dd71d507100c1").then(console.log);
|
296
|
-
* > 1000000000000n
|
297
|
-
*
|
298
|
-
* web3.eth.getBalance("0x407d73d8a49eeb85d32cf465507dd71d507100c1").then(console.log);
|
299
|
-
* > "0xe8d4a51000"
|
300
|
-
* ```
|
301
|
-
*/
|
302
|
-
getBalance(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
303
|
-
return n(this, void 0, void 0, function* () {
|
304
|
-
return x(this, t, i, e);
|
305
|
-
});
|
306
|
-
}
|
307
|
-
/**
|
308
|
-
* Get the storage at a specific position of an address.
|
309
|
-
*
|
310
|
-
* @param address The address to get the storage from.
|
311
|
-
* @param storageSlot The index position of the storage.
|
312
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) Specifies what block to use as the current state for the storage query.
|
313
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
314
|
-
* @returns The value in storage at the given position.
|
315
|
-
*
|
316
|
-
* ```ts
|
317
|
-
* web3.eth.getStorageAt("0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234", 0).then(console.log);
|
318
|
-
* > "0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"
|
319
|
-
*
|
320
|
-
* web3.eth.getStorageAt(
|
321
|
-
* "0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234",
|
322
|
-
* 0,
|
323
|
-
* undefined,
|
324
|
-
* { number: FMT_NUMBER.HEX , bytes: FMT_BYTES.UINT8ARRAY }
|
325
|
-
* ).then(console.log);
|
326
|
-
* > Uint8Array(31) [
|
327
|
-
* 3, 52, 86, 115, 33, 35, 255, 255,
|
328
|
-
* 35, 66, 52, 45, 209, 35, 66, 67,
|
329
|
-
* 67, 36, 35, 66, 52, 253, 35, 79,
|
330
|
-
* 210, 63, 212, 242, 61, 66, 52
|
331
|
-
* ]
|
332
|
-
* ```
|
333
|
-
*/
|
334
|
-
getStorageAt(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
|
335
|
-
return n(this, void 0, void 0, function* () {
|
336
|
-
return U(this, t, i, e, r);
|
337
|
-
});
|
338
|
-
}
|
339
|
-
/**
|
340
|
-
* Get the code at a specific address.
|
341
|
-
*
|
342
|
-
* @param address The address to get the code from.
|
343
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) Specifies what block to use as the current state for the code query.
|
344
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
345
|
-
* @returns The [data](https://ethereum.org/en/developers/docs/transactions/#the-data-field) at the provided `address`.
|
346
|
-
*
|
347
|
-
* ```ts
|
348
|
-
* web3.eth.getCode("0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234").then(console.log);
|
349
|
-
* > "0x600160008035811a818181146012578301005b601b6001356025565b8060005260206000f25b600060078202905091905056"
|
350
|
-
*
|
351
|
-
* web3.eth.getCode(
|
352
|
-
* "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
|
353
|
-
* undefined,
|
354
|
-
* { number: FMT_NUMBER.HEX , bytes: FMT_BYTES.UINT8ARRAY }
|
355
|
-
* ).then(console.log);
|
356
|
-
* > Uint8Array(50) [
|
357
|
-
* 96, 1, 96, 0, 128, 53, 129, 26, 129, 129, 129,
|
358
|
-
* 20, 96, 18, 87, 131, 1, 0, 91, 96, 27, 96,
|
359
|
-
* 1, 53, 96, 37, 86, 91, 128, 96, 0, 82, 96,
|
360
|
-
* 32, 96, 0, 242, 91, 96, 0, 96, 7, 130, 2,
|
361
|
-
* 144, 80, 145, 144, 80, 86
|
362
|
-
* ]
|
363
|
-
* ```
|
364
|
-
*/
|
365
|
-
getCode(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
366
|
-
return n(this, void 0, void 0, function* () {
|
367
|
-
return D(this, t, i, e);
|
368
|
-
});
|
369
|
-
}
|
370
|
-
/**
|
371
|
-
* Retrieves a {@link Block} matching the provided block number, block hash or block tag.
|
372
|
-
*
|
373
|
-
* @param block The {@link BlockNumberOrTag} (defaults to {@link Web3Eth.defaultBlock}) or block hash of the desired block.
|
374
|
-
* @param hydrated If specified `true`, the returned block will contain all transactions as objects. If `false` it will only contain transaction hashes.
|
375
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted (does not format transaction objects or hashes).
|
376
|
-
* @returns A {@link Block} object matching the provided block number or block hash.
|
377
|
-
*
|
378
|
-
* ```ts
|
379
|
-
* web3.eth.getBlock(0).then(console.log);
|
380
|
-
* > {
|
381
|
-
* hash: '0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d',
|
382
|
-
* parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
383
|
-
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
384
|
-
* miner: '0x0000000000000000000000000000000000000000',
|
385
|
-
* stateRoot: '0x5ed9882897d363c4632a6e67fba6203df61bd994813dcf048da59be442a9c6c4',
|
386
|
-
* transactionsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
387
|
-
* receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
388
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
389
|
-
* difficulty: 1n,
|
390
|
-
* number: 0n,
|
391
|
-
* gasLimit: 30000000n,
|
392
|
-
* gasUsed: 0n,
|
393
|
-
* timestamp: 1658281638n,
|
394
|
-
* extraData: '0x',
|
395
|
-
* mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
396
|
-
* nonce: 0n,
|
397
|
-
* totalDifficulty: 1n,
|
398
|
-
* baseFeePerGas: 1000000000n,
|
399
|
-
* size: 514n,
|
400
|
-
* transactions: [],
|
401
|
-
* uncles: []
|
402
|
-
* }
|
403
|
-
*
|
404
|
-
* web3.eth.getBlock(
|
405
|
-
* "0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d",
|
406
|
-
* false,
|
407
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
408
|
-
* ).then(console.log);
|
409
|
-
* > {
|
410
|
-
* hash: '0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d',
|
411
|
-
* parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
412
|
-
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
413
|
-
* miner: '0x0000000000000000000000000000000000000000',
|
414
|
-
* stateRoot: '0x5ed9882897d363c4632a6e67fba6203df61bd994813dcf048da59be442a9c6c4',
|
415
|
-
* transactionsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
416
|
-
* receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
417
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
418
|
-
* difficulty: 1,
|
419
|
-
* number: 0,
|
420
|
-
* gasLimit: 30000000,
|
421
|
-
* gasUsed: 0,
|
422
|
-
* timestamp: 1658281638,
|
423
|
-
* extraData: '0x',
|
424
|
-
* mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
425
|
-
* nonce: 0,
|
426
|
-
* totalDifficulty: 1,
|
427
|
-
* baseFeePerGas: 1000000000,
|
428
|
-
* size: 514,
|
429
|
-
* transactions: [],
|
430
|
-
* uncles: []
|
431
|
-
* }
|
432
|
-
* ```
|
433
|
-
*/
|
434
|
-
getBlock(t = this.defaultBlock, i = !1, e = this.defaultReturnFormat) {
|
435
|
-
return n(this, void 0, void 0, function* () {
|
436
|
-
return I(this, t, i, e);
|
437
|
-
});
|
438
|
-
}
|
439
|
-
/**
|
440
|
-
* @param block The {@link BlockNumberOrTag} (defaults to {@link Web3Eth.defaultBlock}) or block hash of the desired block.
|
441
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
442
|
-
* @returns The number of transactions in the provided block.
|
443
|
-
*
|
444
|
-
* ```ts
|
445
|
-
* web3.eth.getBlockTransactionCount("0x407d73d8a49eeb85d32cf465507dd71d507100c1").then(console.log);
|
446
|
-
* > 1n
|
447
|
-
*
|
448
|
-
* web3.eth.getBlockTransactionCount(
|
449
|
-
* "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
|
450
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
451
|
-
* ).then(console.log);
|
452
|
-
* > 1
|
453
|
-
* ```
|
454
|
-
*/
|
455
|
-
getBlockTransactionCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
|
456
|
-
return n(this, void 0, void 0, function* () {
|
457
|
-
return L(this, t, i);
|
458
|
-
});
|
459
|
-
}
|
460
|
-
/**
|
461
|
-
* @param block The {@link BlockNumberOrTag} (defaults to {@link Web3Eth.defaultBlock}) or block hash of the desired block.
|
462
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
463
|
-
* @returns The number of [uncles](https://ethereum.org/en/glossary/#ommer) in the provided block.
|
464
|
-
*
|
465
|
-
* ```ts
|
466
|
-
* web3.eth.getBlockUncleCount("0x407d73d8a49eeb85d32cf465507dd71d507100c1").then(console.log);
|
467
|
-
* > 1n
|
468
|
-
*
|
469
|
-
* web3.eth.getBlockUncleCount(
|
470
|
-
* "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
|
471
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
472
|
-
* ).then(console.log);
|
473
|
-
* > 1
|
474
|
-
* ```
|
475
|
-
*/
|
476
|
-
getBlockUncleCount(t = this.defaultBlock, i = this.defaultReturnFormat) {
|
477
|
-
return n(this, void 0, void 0, function* () {
|
478
|
-
return W(this, t, i);
|
479
|
-
});
|
480
|
-
}
|
481
|
-
/**
|
482
|
-
*
|
483
|
-
* @param block The {@link BlockNumberOrTag} (defaults to {@link Web3Eth.defaultBlock}) or block hash of the desired block.
|
484
|
-
* @param uncleIndex The index position of the uncle.
|
485
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
486
|
-
* @returns A blocks [uncle](https://ethereum.org/en/glossary/#ommer) by a given uncle index position.
|
487
|
-
*
|
488
|
-
* ```ts
|
489
|
-
* web3.eth.getUncle(0, 1).then(console.log);
|
490
|
-
* > {
|
491
|
-
* hash: '0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d',
|
492
|
-
* parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
493
|
-
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
494
|
-
* miner: '0x0000000000000000000000000000000000000000',
|
495
|
-
* stateRoot: '0x5ed9882897d363c4632a6e67fba6203df61bd994813dcf048da59be442a9c6c4',
|
496
|
-
* transactionsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
497
|
-
* receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
498
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
499
|
-
* difficulty: 1n,
|
500
|
-
* number: 0n,
|
501
|
-
* gasLimit: 30000000n,
|
502
|
-
* gasUsed: 0n,
|
503
|
-
* timestamp: 1658281638n,
|
504
|
-
* extraData: '0x',
|
505
|
-
* mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
506
|
-
* nonce: 0n,
|
507
|
-
* totalDifficulty: 1n,
|
508
|
-
* baseFeePerGas: 1000000000n,
|
509
|
-
* size: 514n,
|
510
|
-
* transactions: [],
|
511
|
-
* uncles: []
|
512
|
-
* }
|
513
|
-
*
|
514
|
-
* web3.eth.getUncle(
|
515
|
-
* "0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d",
|
516
|
-
* 1,
|
517
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
518
|
-
* ).then(console.log);
|
519
|
-
* > {
|
520
|
-
* hash: '0x7dbfdc6a7a67a670cb9b0c3f81ca60c007762f1e4e598cb027a470678ff26d0d',
|
521
|
-
* parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
522
|
-
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
523
|
-
* miner: '0x0000000000000000000000000000000000000000',
|
524
|
-
* stateRoot: '0x5ed9882897d363c4632a6e67fba6203df61bd994813dcf048da59be442a9c6c4',
|
525
|
-
* transactionsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
526
|
-
* receiptsRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421',
|
527
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
528
|
-
* difficulty: 1,
|
529
|
-
* number: 0,
|
530
|
-
* gasLimit: 30000000,
|
531
|
-
* gasUsed: 0,
|
532
|
-
* timestamp: 1658281638,
|
533
|
-
* extraData: '0x',
|
534
|
-
* mixHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
535
|
-
* nonce: 0,
|
536
|
-
* totalDifficulty: 1,
|
537
|
-
* baseFeePerGas: 1000000000,
|
538
|
-
* size: 514,
|
539
|
-
* transactions: [],
|
540
|
-
* uncles: []
|
541
|
-
* }
|
542
|
-
* ```
|
543
|
-
*/
|
544
|
-
getUncle(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
|
545
|
-
return n(this, void 0, void 0, function* () {
|
546
|
-
return j(this, t, i, e);
|
547
|
-
});
|
548
|
-
}
|
549
|
-
/**
|
550
|
-
* @param transactionHash The hash of the desired transaction.
|
551
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
552
|
-
* @returns The desired transaction object.
|
553
|
-
*
|
554
|
-
* ```ts
|
555
|
-
* web3.eth.getTransaction('0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc').then(console.log);
|
556
|
-
* {
|
557
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
558
|
-
* type: 0n,
|
559
|
-
* nonce: 0n,
|
560
|
-
* blockHash: '0x43202bd16b6bd54bea1b310736bd78bdbe93a64ad940f7586739d9eb25ad8d00',
|
561
|
-
* blockNumber: 1n,
|
562
|
-
* transactionIndex: 0n,
|
563
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
564
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
565
|
-
* value: 1n,
|
566
|
-
* gas: 90000n,
|
567
|
-
* gasPrice: 2000000000n,
|
568
|
-
* input: '0x',
|
569
|
-
* v: 2709n,
|
570
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
571
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
572
|
-
* }
|
573
|
-
*
|
574
|
-
* web3.eth.getTransaction(
|
575
|
-
* web3.utils.hexToBytes("0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"),
|
576
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
577
|
-
* ).then(console.log);
|
578
|
-
* {
|
579
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
580
|
-
* type: 0,
|
581
|
-
* nonce: 0,
|
582
|
-
* blockHash: '0x43202bd16b6bd54bea1b310736bd78bdbe93a64ad940f7586739d9eb25ad8d00',
|
583
|
-
* blockNumber: 1,
|
584
|
-
* transactionIndex: 0,
|
585
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
586
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
587
|
-
* value: 1,
|
588
|
-
* gas: 90000,
|
589
|
-
* gasPrice: 2000000000,
|
590
|
-
* input: '0x',
|
591
|
-
* v: 2709,
|
592
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
593
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
594
|
-
* }
|
595
|
-
* ```
|
596
|
-
*/
|
597
|
-
getTransaction(t, i = this.defaultReturnFormat) {
|
598
|
-
return n(this, void 0, void 0, function* () {
|
599
|
-
const e = yield E(this, t, i);
|
600
|
-
if (!e)
|
601
|
-
throw new f();
|
602
|
-
return e;
|
603
|
-
});
|
604
|
-
}
|
605
|
-
/**
|
606
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
607
|
-
* @returns A list of pending transactions.
|
608
|
-
*
|
609
|
-
* ```ts
|
610
|
-
* web3.eth.getPendingTransactions().then(console.log);
|
611
|
-
* > [
|
612
|
-
* {
|
613
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
614
|
-
* type: 0n,
|
615
|
-
* nonce: 0n,
|
616
|
-
* blockHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
617
|
-
* blockNumber: null,
|
618
|
-
* transactionIndex: 0n,
|
619
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
620
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
621
|
-
* value: 1n,
|
622
|
-
* gas: 90000n,
|
623
|
-
* gasPrice: 2000000000n,
|
624
|
-
* input: '0x',
|
625
|
-
* v: 2709n,
|
626
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
627
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
628
|
-
* },
|
629
|
-
* {
|
630
|
-
* hash: '0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f',
|
631
|
-
* type: 0n,
|
632
|
-
* nonce: 1n,
|
633
|
-
* blockHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
634
|
-
* blockNumber: null,
|
635
|
-
* transactionIndex: 0n,
|
636
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
637
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
638
|
-
* value: 1n,
|
639
|
-
* gas: 90000n,
|
640
|
-
* gasPrice: 2000000000n,
|
641
|
-
* input: '0x',
|
642
|
-
* v: 2710n,
|
643
|
-
* r: '0x55ac19fade21db035a1b7ea0a8d49e265e05dbb926e75f273f836ad67ce5c96a',
|
644
|
-
* s: '0x6550036a7c3fd426d5c3d35d96a7075cd673957620b7889846a980d2d017ec08'
|
645
|
-
* }
|
646
|
-
* ]
|
647
|
-
*
|
648
|
-
* * web3.eth.getPendingTransactions({ number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }).then(console.log);
|
649
|
-
* > [
|
650
|
-
* {
|
651
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
652
|
-
* type: 0,
|
653
|
-
* nonce: 0,
|
654
|
-
* blockHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
655
|
-
* blockNumber: null,
|
656
|
-
* transactionIndex: 0,
|
657
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
658
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
659
|
-
* value: 1,
|
660
|
-
* gas: 90000,
|
661
|
-
* gasPrice: 2000000000,
|
662
|
-
* input: '0x',
|
663
|
-
* v: 2709,
|
664
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
665
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
666
|
-
* },
|
667
|
-
* {
|
668
|
-
* hash: '0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f',
|
669
|
-
* type: 0,
|
670
|
-
* nonce: 1,
|
671
|
-
* blockHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
|
672
|
-
* blockNumber: null,
|
673
|
-
* transactionIndex: 0,
|
674
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
675
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
676
|
-
* value: 1,
|
677
|
-
* gas: 90000,
|
678
|
-
* gasPrice: 2000000000,
|
679
|
-
* input: '0x',
|
680
|
-
* v: 2710,
|
681
|
-
* r: '0x55ac19fade21db035a1b7ea0a8d49e265e05dbb926e75f273f836ad67ce5c96a',
|
682
|
-
* s: '0x6550036a7c3fd426d5c3d35d96a7075cd673957620b7889846a980d2d017ec08'
|
683
|
-
* }
|
684
|
-
* ]
|
685
|
-
* ```
|
686
|
-
*/
|
687
|
-
getPendingTransactions(t = this.defaultReturnFormat) {
|
688
|
-
return n(this, void 0, void 0, function* () {
|
689
|
-
return V(this, t);
|
690
|
-
});
|
691
|
-
}
|
692
|
-
/**
|
693
|
-
* @param block The {@link BlockNumberOrTag} (defaults to {@link Web3Eth.defaultBlock}) or block hash of the desired block.
|
694
|
-
* @param transactionIndex The index position of the transaction.
|
695
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
696
|
-
* @returns The desired transaction object.
|
697
|
-
*
|
698
|
-
* ```ts
|
699
|
-
* web3.eth.getTransactionFromBlock('0x43202bd16b6bd54bea1b310736bd78bdbe93a64ad940f7586739d9eb25ad8d00', 0).then(console.log);
|
700
|
-
* {
|
701
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
702
|
-
* type: 0n,
|
703
|
-
* nonce: 0n,
|
704
|
-
* blockHash: '0x43202bd16b6bd54bea1b310736bd78bdbe93a64ad940f7586739d9eb25ad8d00',
|
705
|
-
* blockNumber: 1n,
|
706
|
-
* transactionIndex: 0n,
|
707
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
708
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
709
|
-
* value: 1n,
|
710
|
-
* gas: 90000n,
|
711
|
-
* gasPrice: 2000000000n,
|
712
|
-
* input: '0x',
|
713
|
-
* v: 2709n,
|
714
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
715
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
716
|
-
* }
|
717
|
-
*
|
718
|
-
* web3.eth.getTransactionFromBlock(
|
719
|
-
* hexToBytes("0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"),
|
720
|
-
* 0,
|
721
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
722
|
-
* ).then(console.log);
|
723
|
-
* {
|
724
|
-
* hash: '0x73aea70e969941f23f9d24103e91aa1f55c7964eb13daf1c9360c308a72686dc',
|
725
|
-
* type: 0,
|
726
|
-
* nonce: 0,
|
727
|
-
* blockHash: '0x43202bd16b6bd54bea1b310736bd78bdbe93a64ad940f7586739d9eb25ad8d00',
|
728
|
-
* blockNumber: 1,
|
729
|
-
* transactionIndex: 0,
|
730
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
731
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
732
|
-
* value: 1,
|
733
|
-
* gas: 90000,
|
734
|
-
* gasPrice: 2000000000,
|
735
|
-
* input: '0x',
|
736
|
-
* v: 2709,
|
737
|
-
* r: '0x8b336c290f6d7b2af3ccb2c02203a8356cc7d5b150ab19cce549d55636a3a78c',
|
738
|
-
* s: '0x5a83c6f816befc5cd4b0c997a347224a8aa002e5799c4b082a3ec726d0e9531d'
|
739
|
-
* }
|
740
|
-
* ```
|
741
|
-
*/
|
742
|
-
getTransactionFromBlock(t = this.defaultBlock, i, e = this.defaultReturnFormat) {
|
743
|
-
return n(this, void 0, void 0, function* () {
|
744
|
-
return z(this, t, i, e);
|
745
|
-
});
|
746
|
-
}
|
747
|
-
/**
|
748
|
-
* @param transactionHash Hash of the transaction to retrieve the receipt for.
|
749
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
750
|
-
* @returns The desired {@link TransactionReceipt} object.
|
751
|
-
*
|
752
|
-
* ```ts
|
753
|
-
* web3.eth.getTransactionReceipt("0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f").then(console.log);
|
754
|
-
* > {
|
755
|
-
* transactionHash: '0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f',
|
756
|
-
* transactionIndex: 0n,
|
757
|
-
* blockNumber: 2n,
|
758
|
-
* blockHash: '0xeb1565a08b23429552dafa92e32409f42eb43944f7611963c63ce40e7243941a',
|
759
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
760
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
761
|
-
* cumulativeGasUsed: 21000n,
|
762
|
-
* gasUsed: 21000n,
|
763
|
-
* logs: [],
|
764
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
765
|
-
* status: 1n,
|
766
|
-
* effectiveGasPrice: 2000000000n,
|
767
|
-
* type: 0n
|
768
|
-
* }
|
769
|
-
*
|
770
|
-
* web3.eth.getTransactionReceipt(
|
771
|
-
* "0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f",
|
772
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
773
|
-
* ).then(console.log);
|
774
|
-
* > {
|
775
|
-
* transactionHash: '0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f',
|
776
|
-
* transactionIndex: 0,
|
777
|
-
* blockNumber: 2,
|
778
|
-
* blockHash: '0xeb1565a08b23429552dafa92e32409f42eb43944f7611963c63ce40e7243941a',
|
779
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
780
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
781
|
-
* cumulativeGasUsed: 21000,
|
782
|
-
* gasUsed: 21000,
|
783
|
-
* logs: [],
|
784
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
785
|
-
* status: 1,
|
786
|
-
* effectiveGasPrice: 2000000000,
|
787
|
-
* type: 0n
|
788
|
-
* }
|
789
|
-
* ```
|
790
|
-
*/
|
791
|
-
getTransactionReceipt(t, i = this.defaultReturnFormat) {
|
792
|
-
return n(this, void 0, void 0, function* () {
|
793
|
-
const e = yield J(this, t, i);
|
794
|
-
if (!e)
|
795
|
-
throw new f();
|
796
|
-
return e;
|
797
|
-
});
|
798
|
-
}
|
799
|
-
/**
|
800
|
-
* @param address The address to get the number of transactions for.
|
801
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) Specifies what block to use as the current state for the query.
|
802
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
803
|
-
* @returns The number of transactions sent from the provided address.
|
804
|
-
*
|
805
|
-
* ```ts
|
806
|
-
* web3.eth.getTransactionCount("0x407d73d8a49eeb85d32cf465507dd71d507100c1").then(console.log);
|
807
|
-
* > 1n
|
808
|
-
*
|
809
|
-
* web3.eth.getTransactionCount(
|
810
|
-
* "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
|
811
|
-
* undefined,
|
812
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
813
|
-
* ).then(console.log);
|
814
|
-
* > 1
|
815
|
-
* ```
|
816
|
-
*/
|
817
|
-
getTransactionCount(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
818
|
-
return n(this, void 0, void 0, function* () {
|
819
|
-
return K(this, t, i, e);
|
820
|
-
});
|
821
|
-
}
|
822
|
-
/**
|
823
|
-
* @param transaction The {@link Transaction}, {@link TransactionWithFromLocalWalletIndex}, {@link TransactionWithToLocalWalletIndex} or {@link TransactionWithFromAndToLocalWalletIndex} to send. __Note:__ In the `to` and `from` fields when hex strings are used, it is assumed they are addresses, for any other form (number, string number, etc.) it is assumed they are wallet indexes.
|
824
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
825
|
-
* @param options A configuration object used to change the behavior of the `sendTransaction` method.
|
826
|
-
* @returns If `await`ed or `.then`d (i.e. the promise resolves), the transaction hash is returned.
|
827
|
-
* ```ts
|
828
|
-
* const transaction = {
|
829
|
-
* from: '0x6E599DA0bfF7A6598AC1224E4985430Bf16458a4',
|
830
|
-
* to: '0x6f1DF96865D09d21e8f3f9a7fbA3b17A11c7C53C',
|
831
|
-
* value: '0x1'
|
832
|
-
* }
|
833
|
-
*
|
834
|
-
* const transactionHash = await web3.eth.sendTransaction(transaction);
|
835
|
-
* console.log(transactionHash);
|
836
|
-
* > 0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f
|
837
|
-
*
|
838
|
-
* web3.eth.sendTransaction(transaction).then(console.log);
|
839
|
-
* > 0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f
|
840
|
-
*
|
841
|
-
* web3.eth.sendTransaction(transaction).catch(console.log);
|
842
|
-
* > <Some TransactionError>
|
843
|
-
*
|
844
|
-
* // Example using options.ignoreGasPricing = true
|
845
|
-
* web3.eth.sendTransaction(transaction, undefined, { ignoreGasPricing: true }).then(console.log);
|
846
|
-
* > 0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f
|
847
|
-
* ```
|
848
|
-
*
|
849
|
-
*
|
850
|
-
* Otherwise, a {@link Web3PromiEvent} is returned which has several events than can be listened to using the `.on` syntax, such as:
|
851
|
-
* - `sending`
|
852
|
-
* ```ts
|
853
|
-
* web3.eth.sendTransaction(transaction).on('sending', transactionToBeSent => console.log(transactionToBeSent));
|
854
|
-
* > {
|
855
|
-
* from: '0x6E599DA0bfF7A6598AC1224E4985430Bf16458a4',
|
856
|
-
* to: '0x6f1DF96865D09d21e8f3f9a7fbA3b17A11c7C53C',
|
857
|
-
* value: '0x1',
|
858
|
-
* gasPrice: '0x77359400',
|
859
|
-
* maxPriorityFeePerGas: undefined,
|
860
|
-
* maxFeePerGas: undefined
|
861
|
-
* }
|
862
|
-
* ```
|
863
|
-
* - `sent`
|
864
|
-
* ```ts
|
865
|
-
* web3.eth.sendTransaction(transaction).on('sent', sentTransaction => console.log(sentTransaction));
|
866
|
-
* > {
|
867
|
-
* from: '0x6E599DA0bfF7A6598AC1224E4985430Bf16458a4',
|
868
|
-
* to: '0x6f1DF96865D09d21e8f3f9a7fbA3b17A11c7C53C',
|
869
|
-
* value: '0x1',
|
870
|
-
* gasPrice: '0x77359400',
|
871
|
-
* maxPriorityFeePerGas: undefined,
|
872
|
-
* maxFeePerGas: undefined
|
873
|
-
* }
|
874
|
-
* ```
|
875
|
-
* - `transactionHash`
|
876
|
-
* ```ts
|
877
|
-
* web3.eth.sendTransaction(transaction).on('transactionHash', transactionHash => console.log(transactionHash));
|
878
|
-
* > 0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f
|
879
|
-
* ```
|
880
|
-
* - `receipt`
|
881
|
-
* ```ts
|
882
|
-
* web3.eth.sendTransaction(transaction).on('receipt', receipt => console.log(receipt));
|
883
|
-
* > {
|
884
|
-
* transactionHash: '0xdf7756865c2056ce34c4eabe4eff42ad251a9f920a1c620c00b4ea0988731d3f',
|
885
|
-
* transactionIndex: 0n,
|
886
|
-
* blockNumber: 2n,
|
887
|
-
* blockHash: '0xeb1565a08b23429552dafa92e32409f42eb43944f7611963c63ce40e7243941a',
|
888
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
889
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
890
|
-
* cumulativeGasUsed: 21000n,
|
891
|
-
* gasUsed: 21000n,
|
892
|
-
* logs: [],
|
893
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
894
|
-
* status: 1n,
|
895
|
-
* effectiveGasPrice: 2000000000n,
|
896
|
-
* type: 0n
|
897
|
-
* }
|
898
|
-
* ```
|
899
|
-
* - `confirmation`
|
900
|
-
* ```ts
|
901
|
-
* web3.eth.sendTransaction(transaction).on('confirmation', confirmation => console.log(confirmation));
|
902
|
-
* > {
|
903
|
-
* confirmations: 1n,
|
904
|
-
* receipt: {
|
905
|
-
* transactionHash: '0xb4a3a35ae0f3e77ef0ff7be42010d948d011b21a4e341072ee18717b67e99ab8',
|
906
|
-
* transactionIndex: 0n,
|
907
|
-
* blockNumber: 5n,
|
908
|
-
* blockHash: '0xb57fbe6f145cefd86a305a9a024a4351d15d4d39607d7af53d69a319bc3b5548',
|
909
|
-
* from: '0x6e599da0bff7a6598ac1224e4985430bf16458a4',
|
910
|
-
* to: '0x6f1df96865d09d21e8f3f9a7fba3b17a11c7c53c',
|
911
|
-
* cumulativeGasUsed: 21000n,
|
912
|
-
* gasUsed: 21000n,
|
913
|
-
* logs: [],
|
914
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
915
|
-
* status: 1n,
|
916
|
-
* effectiveGasPrice: 2000000000n,
|
917
|
-
* type: 0n
|
918
|
-
* },
|
919
|
-
* latestBlockHash: '0xb57fbe6f145cefd86a305a9a024a4351d15d4d39607d7af53d69a319bc3b5548'
|
920
|
-
* }
|
921
|
-
* ```
|
922
|
-
* - `error`
|
923
|
-
* ```ts
|
924
|
-
* web3.eth.sendTransaction(transaction).on('error', error => console.log);
|
925
|
-
* > <Some TransactionError>
|
926
|
-
* ```
|
927
|
-
*/
|
928
|
-
sendTransaction(t, i = this.defaultReturnFormat, e) {
|
929
|
-
return Q(this, t, i, e);
|
930
|
-
}
|
931
|
-
/**
|
932
|
-
* @param transaction Signed transaction in one of the valid {@link Bytes} format.
|
933
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
934
|
-
* @param options A configuration object used to change the behavior of the method
|
935
|
-
* @returns If `await`ed or `.then`d (i.e. the promise resolves), the transaction hash is returned.
|
936
|
-
* ```ts
|
937
|
-
* const signedTransaction = "0xf86580843b9aca0182520894e899f0130fd099c0b896b2ce4e5e15a25b23139a0180820a95a03a42d53ca5b71f845e1cd4c65359b05446a85d16881372d3bfaab8980935cb04a0711497bc8dd3b541152e2fed14fe650a647f1f0edab0d386ad9506f0e642410f"
|
938
|
-
*
|
939
|
-
* const transactionHash = await web3.eth.sendSignedTransaction(signedTransaction);
|
940
|
-
* console.log(transactionHash);
|
941
|
-
* > 0xed8c241ea44d57f4605dc22c63500de46254d6c7844fd65fa438b128c80cf700
|
942
|
-
*
|
943
|
-
* web3.eth.sendSignedTransaction(signedTransaction).then(console.log);
|
944
|
-
* > 0xed8c241ea44d57f4605dc22c63500de46254d6c7844fd65fa438b128c80cf700
|
945
|
-
*
|
946
|
-
* web3.eth.sendSignedTransaction(signedTransaction).catch(console.log);
|
947
|
-
* > <Some TransactionError>
|
948
|
-
* ```
|
949
|
-
*
|
950
|
-
*
|
951
|
-
* Otherwise, a {@link Web3PromiEvent} is returned which has several events than can be listened to using the `.on` syntax, such as:
|
952
|
-
* - `sending`
|
953
|
-
* ```ts
|
954
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('sending', transactionToBeSent => console.log(transactionToBeSent));
|
955
|
-
* > "0xf86580843b9aca0182520894e899f0130fd099c0b896b2ce4e5e15a25b23139a0180820a95a03a42d53ca5b71f845e1cd4c65359b05446a85d16881372d3bfaab8980935cb04a0711497bc8dd3b541152e2fed14fe650a647f1f0edab0d386ad9506f0e642410f"
|
956
|
-
* ```
|
957
|
-
* - `sent`
|
958
|
-
* ```ts
|
959
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('sent', sentTransaction => console.log(sentTransaction));
|
960
|
-
* > "0xf86580843b9aca0182520894e899f0130fd099c0b896b2ce4e5e15a25b23139a0180820a95a03a42d53ca5b71f845e1cd4c65359b05446a85d16881372d3bfaab8980935cb04a0711497bc8dd3b541152e2fed14fe650a647f1f0edab0d386ad9506f0e642410f"
|
961
|
-
* ```
|
962
|
-
* - `transactionHash`
|
963
|
-
* ```ts
|
964
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('transactionHash', transactionHash => console.log(transactionHash));
|
965
|
-
* > 0xed8c241ea44d57f4605dc22c63500de46254d6c7844fd65fa438b128c80cf700
|
966
|
-
* ```
|
967
|
-
* - `receipt`
|
968
|
-
* ```ts
|
969
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('receipt', receipt => console.log(receipt));
|
970
|
-
* > {
|
971
|
-
* blockHash: '0xff2b1687995d81066361bc6affe4455746120a7d4bb75fc938211a2692a50081',
|
972
|
-
* blockNumber: 1n,
|
973
|
-
* cumulativeGasUsed: 21000n,
|
974
|
-
* effectiveGasPrice: 1000000001n,
|
975
|
-
* from: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
976
|
-
* gasUsed: 21000n,
|
977
|
-
* logs: [],
|
978
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
979
|
-
* status: 1n,
|
980
|
-
* to: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
981
|
-
* transactionHash: '0xed8c241ea44d57f4605dc22c63500de46254d6c7844fd65fa438b128c80cf700',
|
982
|
-
* transactionIndex: 0n,
|
983
|
-
* type: 0n
|
984
|
-
* }
|
985
|
-
* ```
|
986
|
-
* - `confirmation`
|
987
|
-
* ```ts
|
988
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('confirmation', confirmation => console.log(confirmation));
|
989
|
-
* > {
|
990
|
-
* confirmations: 1n,
|
991
|
-
* receipt: {
|
992
|
-
* blockHash: '0xff2b1687995d81066361bc6affe4455746120a7d4bb75fc938211a2692a50081',
|
993
|
-
* blockNumber: 1n,
|
994
|
-
* cumulativeGasUsed: 21000n,
|
995
|
-
* effectiveGasPrice: 1000000001n,
|
996
|
-
* from: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
997
|
-
* gasUsed: 21000n,
|
998
|
-
* logs: [],
|
999
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
1000
|
-
* status: 1n,
|
1001
|
-
* to: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
1002
|
-
* transactionHash: '0xed8c241ea44d57f4605dc22c63500de46254d6c7844fd65fa438b128c80cf700',
|
1003
|
-
* transactionIndex: 0n,
|
1004
|
-
* type: 0n
|
1005
|
-
* },
|
1006
|
-
* latestBlockHash: '0xff2b1687995d81066361bc6affe4455746120a7d4bb75fc938211a2692a50081'
|
1007
|
-
* }
|
1008
|
-
* ```
|
1009
|
-
* - `error`
|
1010
|
-
* ```ts
|
1011
|
-
* web3.eth.sendSignedTransaction(signedTransaction).on('error', error => console.log(error));
|
1012
|
-
* > <Some TransactionError>
|
1013
|
-
* ```
|
1014
|
-
*/
|
1015
|
-
sendSignedTransaction(t, i = this.defaultReturnFormat, e) {
|
1016
|
-
return X(this, t, i, e);
|
1017
|
-
}
|
1018
|
-
/**
|
1019
|
-
* @param message Data to sign in one of the valid {@link Bytes} format.
|
1020
|
-
* @param address Address to sign data with, can be an address or the index of a local wallet.
|
1021
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
1022
|
-
* @returns The signed `message`.
|
1023
|
-
*
|
1024
|
-
* ```ts
|
1025
|
-
* // Using an unlocked account managed by connected RPC client
|
1026
|
-
* web3.eth.sign("0x48656c6c6f20776f726c64", "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe").then(console.log);
|
1027
|
-
* > "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"
|
1028
|
-
*
|
1029
|
-
* // Using an unlocked account managed by connected RPC client
|
1030
|
-
* web3.eth.sign("0x48656c6c6f20776f726c64", "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe", { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.UINT8ARRAY }).then(console.log);
|
1031
|
-
* > Uint8Array(65) [
|
1032
|
-
* 48, 117, 94, 214, 83, 150, 250, 207, 134, 197, 62,
|
1033
|
-
* 98, 23, 197, 43, 77, 174, 190, 114, 170, 73, 65,
|
1034
|
-
* 216, 150, 53, 64, 157, 228, 201, 199, 249, 70, 109,
|
1035
|
-
* 78, 154, 174, 199, 151, 127, 5, 233, 35, 136, 155,
|
1036
|
-
* 51, 192, 208, 221, 39, 215, 34, 107, 110, 111, 86,
|
1037
|
-
* 206, 115, 116, 101, 197, 207, 208, 75, 228, 0
|
1038
|
-
* ]
|
1039
|
-
* ```
|
1040
|
-
*
|
1041
|
-
* // Using an indexed account managed by local Web3 wallet
|
1042
|
-
* web3.eth.sign("0x48656c6c6f20776f726c64", 0).then(console.log);
|
1043
|
-
* > "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400"
|
1044
|
-
*/
|
1045
|
-
sign(t, i, e = this.defaultReturnFormat) {
|
1046
|
-
return n(this, void 0, void 0, function* () {
|
1047
|
-
return Y(this, t, i, e);
|
1048
|
-
});
|
1049
|
-
}
|
1050
|
-
/**
|
1051
|
-
* @param transaction The transaction object to sign.
|
1052
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) Specifies how the return data should be formatted.
|
1053
|
-
* @returns {@link SignedTransactionInfoAPI}, an object containing the [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/#top) encoded signed transaction (accessed via the `raw` property) and the signed transaction object (accessed via the `tx` property).
|
1054
|
-
*
|
1055
|
-
* ```ts
|
1056
|
-
* const transaction = {
|
1057
|
-
* from: '0xe899f0130FD099c0b896B2cE4E5E15A25b23139a',
|
1058
|
-
* to: '0xe899f0130FD099c0b896B2cE4E5E15A25b23139a',
|
1059
|
-
* value: '0x1',
|
1060
|
-
* gas: '21000',
|
1061
|
-
* gasPrice: await web3Eth.getGasPrice(),
|
1062
|
-
* nonce: '0x1',
|
1063
|
-
* type: '0x0'
|
1064
|
-
* }
|
1065
|
-
*
|
1066
|
-
* web3.eth.signTransaction(transaction).then(console.log);
|
1067
|
-
* > {
|
1068
|
-
* raw: '0xf86501843b9aca0182520894e899f0130fd099c0b896b2ce4e5e15a25b23139a0180820a96a0adb3468dbb4dce89fe1785ea9182e85fb56b399b378f82b93af7a8a12a4f9679a027d37d736e9bcf00121f78b2d10e4404fa5c45856d62b746574345f5cd278097',
|
1069
|
-
* tx: {
|
1070
|
-
* type: 0n,
|
1071
|
-
* nonce: 1n,
|
1072
|
-
* gasPrice: 1000000001n,
|
1073
|
-
* gas: 21000n,
|
1074
|
-
* value: 1n,
|
1075
|
-
* v: 2710n,
|
1076
|
-
* r: '0xadb3468dbb4dce89fe1785ea9182e85fb56b399b378f82b93af7a8a12a4f9679',
|
1077
|
-
* s: '0x27d37d736e9bcf00121f78b2d10e4404fa5c45856d62b746574345f5cd278097',
|
1078
|
-
* to: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
1079
|
-
* data: '0x'
|
1080
|
-
* }
|
1081
|
-
* }
|
1082
|
-
*
|
1083
|
-
* web3.eth.signTransaction(transaction, { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }).then(console.log);
|
1084
|
-
* > {
|
1085
|
-
* raw: '0xf86501843b9aca0182520894e899f0130fd099c0b896b2ce4e5e15a25b23139a0180820a96a0adb3468dbb4dce89fe1785ea9182e85fb56b399b378f82b93af7a8a12a4f9679a027d37d736e9bcf00121f78b2d10e4404fa5c45856d62b746574345f5cd278097',
|
1086
|
-
* tx: {
|
1087
|
-
* type: 0,
|
1088
|
-
* nonce: 1,
|
1089
|
-
* gasPrice: 1000000001,
|
1090
|
-
* gas: 21000,
|
1091
|
-
* value: 1,
|
1092
|
-
* v: 2710,
|
1093
|
-
* r: '0xadb3468dbb4dce89fe1785ea9182e85fb56b399b378f82b93af7a8a12a4f9679',
|
1094
|
-
* s: '0x27d37d736e9bcf00121f78b2d10e4404fa5c45856d62b746574345f5cd278097',
|
1095
|
-
* to: '0xe899f0130fd099c0b896b2ce4e5e15a25b23139a',
|
1096
|
-
* data: '0x'
|
1097
|
-
* }
|
1098
|
-
* }
|
1099
|
-
* ```
|
1100
|
-
*/
|
1101
|
-
signTransaction(t, i = this.defaultReturnFormat) {
|
1102
|
-
return n(this, void 0, void 0, function* () {
|
1103
|
-
return Z(this, t, i);
|
1104
|
-
});
|
1105
|
-
}
|
1106
|
-
// TODO Decide what to do with transaction.to
|
1107
|
-
// https://github.com/ChainSafe/web3.js/pull/4525#issuecomment-982330076
|
1108
|
-
/**
|
1109
|
-
* Executes a message call within the EVM without creating a transaction.
|
1110
|
-
* It does not publish anything to the blockchain and does not consume any gas.
|
1111
|
-
*
|
1112
|
-
* @param transaction - A transaction object where all properties are optional except `to`, however it's recommended to include the `from` property or it may default to `0x0000000000000000000000000000000000000000` depending on your node or provider.
|
1113
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) - Specifies what block to use as the current state of the blockchain while processing the transaction.
|
1114
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1115
|
-
* @returns The returned data of the call, e.g. a smart contract function's return value.
|
1116
|
-
*/
|
1117
|
-
call(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1118
|
-
return n(this, void 0, void 0, function* () {
|
1119
|
-
return $(this, t, i, e);
|
1120
|
-
});
|
1121
|
-
}
|
1122
|
-
/**
|
1123
|
-
* Simulates the transaction within the EVM to estimate the amount of gas to be used by the transaction.
|
1124
|
-
* The transaction will not be added to the blockchain, and actual gas usage can vary when interacting
|
1125
|
-
* with a contract as a result of updating the contract's state.
|
1126
|
-
*
|
1127
|
-
* @param transaction The {@link Transaction} object to estimate the gas for.
|
1128
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) - Specifies what block to use as the current state of the blockchain while processing the gas estimation.
|
1129
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1130
|
-
* @returns The used gas for the simulated transaction execution.
|
1131
|
-
*
|
1132
|
-
* ```ts
|
1133
|
-
* const transaction = {
|
1134
|
-
* from: '0xe899f0130FD099c0b896B2cE4E5E15A25b23139a',
|
1135
|
-
* to: '0xe899f0130FD099c0b896B2cE4E5E15A25b23139a',
|
1136
|
-
* value: '0x1',
|
1137
|
-
* nonce: '0x1',
|
1138
|
-
* type: '0x0'
|
1139
|
-
* }
|
1140
|
-
*
|
1141
|
-
* web3.eth.estimateGas(transaction).then(console.log);
|
1142
|
-
* > 21000n
|
1143
|
-
*
|
1144
|
-
* web3.eth.estimateGas(transaction, { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }).then(console.log);
|
1145
|
-
* > 21000
|
1146
|
-
* ```
|
1147
|
-
*/
|
1148
|
-
estimateGas(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1149
|
-
return n(this, void 0, void 0, function* () {
|
1150
|
-
return O(this, t, i, e);
|
1151
|
-
});
|
1152
|
-
}
|
1153
|
-
/**
|
1154
|
-
* Gets past logs, matching the provided `filter`.
|
1155
|
-
*
|
1156
|
-
* @param filter A {@link Filter} object containing the properties for the desired logs.
|
1157
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1158
|
-
* @returns {@link FilterResultsAPI}, an array of {@link Log} objects.
|
1159
|
-
*
|
1160
|
-
* ```ts
|
1161
|
-
* web3.eth.getPastLogs({
|
1162
|
-
* address: "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe",
|
1163
|
-
* topics: ["0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"]
|
1164
|
-
* }).then(console.log);
|
1165
|
-
* > [{
|
1166
|
-
* data: '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385',
|
1167
|
-
* topics: ['0xfd43ade1c09fade1c0d57a7af66ab4ead7c2c2eb7b11a91ffdd57a7af66ab4ead7', '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385']
|
1168
|
-
* logIndex: 0n,
|
1169
|
-
* transactionIndex: 0n,
|
1170
|
-
* transactionHash: '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385',
|
1171
|
-
* blockHash: '0xfd43ade1c09fade1c0d57a7af66ab4ead7c2c2eb7b11a91ffdd57a7af66ab4ead7',
|
1172
|
-
* blockNumber: 1234n,
|
1173
|
-
* address: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'
|
1174
|
-
* },
|
1175
|
-
* {...}]
|
1176
|
-
*
|
1177
|
-
* web3.eth.getPastLogs(
|
1178
|
-
* {
|
1179
|
-
* address: "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe",
|
1180
|
-
* topics: ["0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"]
|
1181
|
-
* },
|
1182
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
1183
|
-
* ).then(console.log);
|
1184
|
-
* > [{
|
1185
|
-
* data: '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385',
|
1186
|
-
* topics: ['0xfd43ade1c09fade1c0d57a7af66ab4ead7c2c2eb7b11a91ffdd57a7af66ab4ead7', '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385']
|
1187
|
-
* logIndex: 0,
|
1188
|
-
* transactionIndex: 0,
|
1189
|
-
* transactionHash: '0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385',
|
1190
|
-
* blockHash: '0xfd43ade1c09fade1c0d57a7af66ab4ead7c2c2eb7b11a91ffdd57a7af66ab4ead7',
|
1191
|
-
* blockNumber: 1234,
|
1192
|
-
* address: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'
|
1193
|
-
* },
|
1194
|
-
* {...}]
|
1195
|
-
* ```
|
1196
|
-
*/
|
1197
|
-
getPastLogs(t, i = this.defaultReturnFormat) {
|
1198
|
-
return n(this, void 0, void 0, function* () {
|
1199
|
-
return tt(this, t, i);
|
1200
|
-
});
|
1201
|
-
}
|
1202
|
-
/**
|
1203
|
-
* Gets work for miners to mine on. Returns the hash of the current block, the seedHash, and the boundary condition to be met ('target').
|
1204
|
-
*
|
1205
|
-
* @returns The mining work as an array of strings with the following structure:
|
1206
|
-
*
|
1207
|
-
* String 32 Bytes - at index 0: current block header pow-hash
|
1208
|
-
* String 32 Bytes - at index 1: the seed hash used for the DAG.
|
1209
|
-
* String 32 Bytes - at index 2: the boundary condition ('target'), 2^256 / difficulty.
|
1210
|
-
*
|
1211
|
-
* ```ts
|
1212
|
-
* web3.eth.getWork().then(console.log);
|
1213
|
-
* > [
|
1214
|
-
* "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
|
1215
|
-
* "0x5EED00000000000000000000000000005EED0000000000000000000000000000",
|
1216
|
-
* "0xd1ff1c01710000000000000000000000d1ff1c01710000000000000000000000"
|
1217
|
-
* ]
|
1218
|
-
* ```
|
1219
|
-
*/
|
1220
|
-
getWork() {
|
1221
|
-
return n(this, void 0, void 0, function* () {
|
1222
|
-
return w(this.requestManager);
|
1223
|
-
});
|
1224
|
-
}
|
1225
|
-
/**
|
1226
|
-
* Used for submitting a proof-of-work solution.
|
1227
|
-
*
|
1228
|
-
* @param nonce The nonce found (8 bytes).
|
1229
|
-
* @param hash The header’s pow-hash (32 bytes).
|
1230
|
-
* @param digest The mix digest (32 bytes).
|
1231
|
-
* @returns Returns `true` if the provided solution is valid, otherwise `false`.
|
1232
|
-
*
|
1233
|
-
* ```ts
|
1234
|
-
* web3.eth.submitWork([
|
1235
|
-
* "0x0000000000000001",
|
1236
|
-
* "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
|
1237
|
-
* "0xD1FE5700000000000000000000000000D1FE5700000000000000000000000000"
|
1238
|
-
* ]).then(console.log);
|
1239
|
-
* > true
|
1240
|
-
* ```
|
1241
|
-
*/
|
1242
|
-
submitWork(t, i, e) {
|
1243
|
-
return n(this, void 0, void 0, function* () {
|
1244
|
-
return _(this.requestManager, t, i, e);
|
1245
|
-
});
|
1246
|
-
}
|
1247
|
-
// TODO - Format addresses
|
1248
|
-
/**
|
1249
|
-
* This method will request/enable the accounts from the current environment and for supporting [EIP 1102](https://eips.ethereum.org/EIPS/eip-1102)
|
1250
|
-
* This method will only work if you’re using the injected provider from a application like Metamask, Status or TrustWallet.
|
1251
|
-
* It doesn’t work if you’re connected to a node with a default Web3.js provider (WebsocketProvider, HttpProvider and IpcProvider).
|
1252
|
-
* For more information about the behavior of this method please read [EIP-1102](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1102.md): Opt-in account exposure.
|
1253
|
-
*
|
1254
|
-
* @returns An array of enabled accounts.
|
1255
|
-
*
|
1256
|
-
* ```ts
|
1257
|
-
* web3.eth.requestAccounts().then(console.log);
|
1258
|
-
* > ['0aae0B295369a9FD31d5F28D9Ec85E40f4cb692BAf', '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe']
|
1259
|
-
* ```
|
1260
|
-
*/
|
1261
|
-
requestAccounts() {
|
1262
|
-
return n(this, void 0, void 0, function* () {
|
1263
|
-
return A(this.requestManager);
|
1264
|
-
});
|
1265
|
-
}
|
1266
|
-
/**
|
1267
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1268
|
-
* @returns The chain ID of the current connected node as described in the [EIP-695](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-695.md).
|
1269
|
-
*
|
1270
|
-
* ```ts
|
1271
|
-
* web3.eth.getChainId().then(console.log);
|
1272
|
-
* > 61n
|
1273
|
-
*
|
1274
|
-
* web3.eth.getChainId({ number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }).then(console.log);
|
1275
|
-
* > 61
|
1276
|
-
* ```
|
1277
|
-
*/
|
1278
|
-
getChainId(t = this.defaultReturnFormat) {
|
1279
|
-
return n(this, void 0, void 0, function* () {
|
1280
|
-
return it(this, t);
|
1281
|
-
});
|
1282
|
-
}
|
1283
|
-
/**
|
1284
|
-
* @returns The current client version.
|
1285
|
-
*
|
1286
|
-
* ```ts
|
1287
|
-
* web3.eth.getNodeInfo().then(console.log);
|
1288
|
-
* > "Mist/v0.9.3/darwin/go1.4.1"
|
1289
|
-
* ```
|
1290
|
-
*/
|
1291
|
-
getNodeInfo() {
|
1292
|
-
return n(this, void 0, void 0, function* () {
|
1293
|
-
return G(this.requestManager);
|
1294
|
-
});
|
1295
|
-
}
|
1296
|
-
/**
|
1297
|
-
* @param address The Address of the account or contract.
|
1298
|
-
* @param storageKeys Array of storage-keys which should be proofed and included. See {@link web3.getStorageAt}.
|
1299
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) - Specifies what block to use as the current state of the blockchain while processing the gas estimation.
|
1300
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1301
|
-
* @returns The account and storage-values of the specified account including the Merkle-proof as described in [EIP-1186](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1186.md).
|
1302
|
-
*
|
1303
|
-
* ```ts
|
1304
|
-
* web3.eth.getProof(
|
1305
|
-
* "0x1234567890123456789012345678901234567890",
|
1306
|
-
* ["0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000001"],
|
1307
|
-
* "latest"
|
1308
|
-
* ).then(console.log);
|
1309
|
-
* > {
|
1310
|
-
* "address": "0x1234567890123456789012345678901234567890",
|
1311
|
-
* "accountProof": [
|
1312
|
-
* "0xf90211a090dcaf88c40c7bbc95a912cbdde67c175767b31173df9ee4b0d733bfdd511c43a0babe369f6b12092f49181ae04ca173fb68d1a5456f18d20fa32cba73954052bda0473ecf8a7e36a829e75039a3b055e51b8332cbf03324ab4af2066bbd6fbf0021a0bbda34753d7aa6c38e603f360244e8f59611921d9e1f128372fec0d586d4f9e0a04e44caecff45c9891f74f6a2156735886eedf6f1a733628ebc802ec79d844648a0a5f3f2f7542148c973977c8a1e154c4300fec92f755f7846f1b734d3ab1d90e7a0e823850f50bf72baae9d1733a36a444ab65d0a6faaba404f0583ce0ca4dad92da0f7a00cbe7d4b30b11faea3ae61b7f1f2b315b61d9f6bd68bfe587ad0eeceb721a07117ef9fc932f1a88e908eaead8565c19b5645dc9e5b1b6e841c5edbdfd71681a069eb2de283f32c11f859d7bcf93da23990d3e662935ed4d6b39ce3673ec84472a0203d26456312bbc4da5cd293b75b840fc5045e493d6f904d180823ec22bfed8ea09287b5c21f2254af4e64fca76acc5cd87399c7f1ede818db4326c98ce2dc2208a06fc2d754e304c48ce6a517753c62b1a9c1d5925b89707486d7fc08919e0a94eca07b1c54f15e299bd58bdfef9741538c7828b5d7d11a489f9c20d052b3471df475a051f9dd3739a927c89e357580a4c97b40234aa01ed3d5e0390dc982a7975880a0a089d613f26159af43616fd9455bb461f4869bfede26f2130835ed067a8b967bfb80",
|
1313
|
-
* "0xf90211a0395d87a95873cd98c21cf1df9421af03f7247880a2554e20738eec2c7507a494a0bcf6546339a1e7e14eb8fb572a968d217d2a0d1f3bc4257b22ef5333e9e4433ca012ae12498af8b2752c99efce07f3feef8ec910493be749acd63822c3558e6671a0dbf51303afdc36fc0c2d68a9bb05dab4f4917e7531e4a37ab0a153472d1b86e2a0ae90b50f067d9a2244e3d975233c0a0558c39ee152969f6678790abf773a9621a01d65cd682cc1be7c5e38d8da5c942e0a73eeaef10f387340a40a106699d494c3a06163b53d956c55544390c13634ea9aa75309f4fd866f312586942daf0f60fb37a058a52c1e858b1382a8893eb9c1f111f266eb9e21e6137aff0dddea243a567000a037b4b100761e02de63ea5f1fcfcf43e81a372dafb4419d126342136d329b7a7ba032472415864b08f808ba4374092003c8d7c40a9f7f9fe9cc8291f62538e1cc14a074e238ff5ec96b810364515551344100138916594d6af966170ff326a092fab0a0d31ac4eef14a79845200a496662e92186ca8b55e29ed0f9f59dbc6b521b116fea090607784fe738458b63c1942bba7c0321ae77e18df4961b2bc66727ea996464ea078f757653c1b63f72aff3dcc3f2a2e4c8cb4a9d36d1117c742833c84e20de994a0f78407de07f4b4cb4f899dfb95eedeb4049aeb5fc1635d65cf2f2f4dfd25d1d7a0862037513ba9d45354dd3e36264aceb2b862ac79d2050f14c95657e43a51b85c80",
|
1314
|
-
* "0xf90171a04ad705ea7bf04339fa36b124fa221379bd5a38ffe9a6112cb2d94be3a437b879a08e45b5f72e8149c01efcb71429841d6a8879d4bbe27335604a5bff8dfdf85dcea00313d9b2f7c03733d6549ea3b810e5262ed844ea12f70993d87d3e0f04e3979ea0b59e3cdd6750fa8b15164612a5cb6567cdfb386d4e0137fccee5f35ab55d0efda0fe6db56e42f2057a071c980a778d9a0b61038f269dd74a0e90155b3f40f14364a08538587f2378a0849f9608942cf481da4120c360f8391bbcc225d811823c6432a026eac94e755534e16f9552e73025d6d9c30d1d7682a4cb5bd7741ddabfd48c50a041557da9a74ca68da793e743e81e2029b2835e1cc16e9e25bd0c1e89d4ccad6980a041dda0a40a21ade3a20fcd1a4abb2a42b74e9a32b02424ff8db4ea708a5e0fb9a09aaf8326a51f613607a8685f57458329b41e938bb761131a5747e066b81a0a16808080a022e6cef138e16d2272ef58434ddf49260dc1de1f8ad6dfca3da5d2a92aaaadc58080",
|
1315
|
-
* "0xf851808080a009833150c367df138f1538689984b8a84fc55692d3d41fe4d1e5720ff5483a6980808080808080808080a0a319c1c415b271afc0adcb664e67738d103ac168e0bc0b7bd2da7966165cb9518080"
|
1316
|
-
* ],
|
1317
|
-
* "balance": 0n,
|
1318
|
-
* "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
|
1319
|
-
* "nonce": 0n,
|
1320
|
-
* "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
1321
|
-
* "storageProof": [
|
1322
|
-
* {
|
1323
|
-
* "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
1324
|
-
* "value": 0n,
|
1325
|
-
* "proof": []
|
1326
|
-
* },
|
1327
|
-
* {
|
1328
|
-
* "key": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
1329
|
-
* "value": 0n,
|
1330
|
-
* "proof": []
|
1331
|
-
* }
|
1332
|
-
* ]
|
1333
|
-
* }
|
1334
|
-
*
|
1335
|
-
* web3.eth.getProof(
|
1336
|
-
* "0x1234567890123456789012345678901234567890",
|
1337
|
-
* ["0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000001"],
|
1338
|
-
* undefined,
|
1339
|
-
* { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }
|
1340
|
-
* ).then(console.log);
|
1341
|
-
* > {
|
1342
|
-
* "address": "0x1234567890123456789012345678901234567890",
|
1343
|
-
* "accountProof": [
|
1344
|
-
* "0xf90211a090dcaf88c40c7bbc95a912cbdde67c175767b31173df9ee4b0d733bfdd511c43a0babe369f6b12092f49181ae04ca173fb68d1a5456f18d20fa32cba73954052bda0473ecf8a7e36a829e75039a3b055e51b8332cbf03324ab4af2066bbd6fbf0021a0bbda34753d7aa6c38e603f360244e8f59611921d9e1f128372fec0d586d4f9e0a04e44caecff45c9891f74f6a2156735886eedf6f1a733628ebc802ec79d844648a0a5f3f2f7542148c973977c8a1e154c4300fec92f755f7846f1b734d3ab1d90e7a0e823850f50bf72baae9d1733a36a444ab65d0a6faaba404f0583ce0ca4dad92da0f7a00cbe7d4b30b11faea3ae61b7f1f2b315b61d9f6bd68bfe587ad0eeceb721a07117ef9fc932f1a88e908eaead8565c19b5645dc9e5b1b6e841c5edbdfd71681a069eb2de283f32c11f859d7bcf93da23990d3e662935ed4d6b39ce3673ec84472a0203d26456312bbc4da5cd293b75b840fc5045e493d6f904d180823ec22bfed8ea09287b5c21f2254af4e64fca76acc5cd87399c7f1ede818db4326c98ce2dc2208a06fc2d754e304c48ce6a517753c62b1a9c1d5925b89707486d7fc08919e0a94eca07b1c54f15e299bd58bdfef9741538c7828b5d7d11a489f9c20d052b3471df475a051f9dd3739a927c89e357580a4c97b40234aa01ed3d5e0390dc982a7975880a0a089d613f26159af43616fd9455bb461f4869bfede26f2130835ed067a8b967bfb80",
|
1345
|
-
* "0xf90211a0395d87a95873cd98c21cf1df9421af03f7247880a2554e20738eec2c7507a494a0bcf6546339a1e7e14eb8fb572a968d217d2a0d1f3bc4257b22ef5333e9e4433ca012ae12498af8b2752c99efce07f3feef8ec910493be749acd63822c3558e6671a0dbf51303afdc36fc0c2d68a9bb05dab4f4917e7531e4a37ab0a153472d1b86e2a0ae90b50f067d9a2244e3d975233c0a0558c39ee152969f6678790abf773a9621a01d65cd682cc1be7c5e38d8da5c942e0a73eeaef10f387340a40a106699d494c3a06163b53d956c55544390c13634ea9aa75309f4fd866f312586942daf0f60fb37a058a52c1e858b1382a8893eb9c1f111f266eb9e21e6137aff0dddea243a567000a037b4b100761e02de63ea5f1fcfcf43e81a372dafb4419d126342136d329b7a7ba032472415864b08f808ba4374092003c8d7c40a9f7f9fe9cc8291f62538e1cc14a074e238ff5ec96b810364515551344100138916594d6af966170ff326a092fab0a0d31ac4eef14a79845200a496662e92186ca8b55e29ed0f9f59dbc6b521b116fea090607784fe738458b63c1942bba7c0321ae77e18df4961b2bc66727ea996464ea078f757653c1b63f72aff3dcc3f2a2e4c8cb4a9d36d1117c742833c84e20de994a0f78407de07f4b4cb4f899dfb95eedeb4049aeb5fc1635d65cf2f2f4dfd25d1d7a0862037513ba9d45354dd3e36264aceb2b862ac79d2050f14c95657e43a51b85c80",
|
1346
|
-
* "0xf90171a04ad705ea7bf04339fa36b124fa221379bd5a38ffe9a6112cb2d94be3a437b879a08e45b5f72e8149c01efcb71429841d6a8879d4bbe27335604a5bff8dfdf85dcea00313d9b2f7c03733d6549ea3b810e5262ed844ea12f70993d87d3e0f04e3979ea0b59e3cdd6750fa8b15164612a5cb6567cdfb386d4e0137fccee5f35ab55d0efda0fe6db56e42f2057a071c980a778d9a0b61038f269dd74a0e90155b3f40f14364a08538587f2378a0849f9608942cf481da4120c360f8391bbcc225d811823c6432a026eac94e755534e16f9552e73025d6d9c30d1d7682a4cb5bd7741ddabfd48c50a041557da9a74ca68da793e743e81e2029b2835e1cc16e9e25bd0c1e89d4ccad6980a041dda0a40a21ade3a20fcd1a4abb2a42b74e9a32b02424ff8db4ea708a5e0fb9a09aaf8326a51f613607a8685f57458329b41e938bb761131a5747e066b81a0a16808080a022e6cef138e16d2272ef58434ddf49260dc1de1f8ad6dfca3da5d2a92aaaadc58080",
|
1347
|
-
* "0xf851808080a009833150c367df138f1538689984b8a84fc55692d3d41fe4d1e5720ff5483a6980808080808080808080a0a319c1c415b271afc0adcb664e67738d103ac168e0bc0b7bd2da7966165cb9518080"
|
1348
|
-
* ],
|
1349
|
-
* "balance": 0,
|
1350
|
-
* "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
|
1351
|
-
* "nonce": 0,
|
1352
|
-
* "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
|
1353
|
-
* "storageProof": [
|
1354
|
-
* {
|
1355
|
-
* "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
1356
|
-
* "value": 0,
|
1357
|
-
* "proof": []
|
1358
|
-
* },
|
1359
|
-
* {
|
1360
|
-
* "key": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
1361
|
-
* "value": 0,
|
1362
|
-
* "proof": []
|
1363
|
-
* }
|
1364
|
-
* ]
|
1365
|
-
* }
|
1366
|
-
* ```
|
1367
|
-
*/
|
1368
|
-
getProof(t, i, e = this.defaultBlock, r = this.defaultReturnFormat) {
|
1369
|
-
return n(this, void 0, void 0, function* () {
|
1370
|
-
return et(this, t, i, e, r);
|
1371
|
-
});
|
1372
|
-
}
|
1373
|
-
// TODO Throwing an error with Geth, but not Infura
|
1374
|
-
// TODO gasUsedRatio and reward not formatting
|
1375
|
-
/**
|
1376
|
-
* @param blockCount Number of blocks in the requested range. Between `1` and `1024` blocks can be requested in a single query. Less than requested may be returned if not all blocks are available.
|
1377
|
-
* @param newestBlock Highest number block of the requested range.
|
1378
|
-
* @param rewardPercentiles A monotonically increasing list of percentile values to sample from each block’s effective priority fees per gas in ascending order, weighted by gas used. Example: `['0', '25', '50', '75', '100']` or `['0', '0.5', '1', '1.5', '3', '80']`
|
1379
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
1380
|
-
* @returns `baseFeePerGas` and transaction effective `priorityFeePerGas` history for the requested block range if available.
|
1381
|
-
* The range between `headBlock - 4` and `headBlock` is guaranteed to be available while retrieving data from the `pending` block and older history are optional to support.
|
1382
|
-
* For pre-EIP-1559 blocks the `gasPrice`s are returned as `rewards` and zeroes are returned for the `baseFeePerGas`.
|
1383
|
-
*
|
1384
|
-
* ```ts
|
1385
|
-
* web3.eth.getFeeHistory(4, 'pending', [0, 25, 75, 100]).then(console.log);
|
1386
|
-
* > {
|
1387
|
-
* baseFeePerGas: [
|
1388
|
-
* 22983878621n,
|
1389
|
-
* 21417903463n,
|
1390
|
-
* 19989260230n,
|
1391
|
-
* 17770954829n,
|
1392
|
-
* 18850641304n
|
1393
|
-
* ],
|
1394
|
-
* gasUsedRatio: [
|
1395
|
-
* 0.22746546666666667,
|
1396
|
-
* 0.2331871,
|
1397
|
-
* 0.05610054885262125,
|
1398
|
-
* 0.7430227268212117
|
1399
|
-
* ],
|
1400
|
-
* oldestBlock: 15216343n,
|
1401
|
-
* reward: [
|
1402
|
-
* [ '0x3b9aca00', '0x53724e00', '0x77359400', '0x1d92c03423' ],
|
1403
|
-
* [ '0x3b9aca00', '0x3b9aca00', '0x3b9aca00', '0xee6b2800' ],
|
1404
|
-
* [ '0x3b9aca00', '0x4f86a721', '0x77d9743a', '0x9502f900' ],
|
1405
|
-
* [ '0xcc8ff9e', '0x53724e00', '0x77359400', '0x1ec9771bb3' ]
|
1406
|
-
* ]
|
1407
|
-
* }
|
1408
|
-
*
|
1409
|
-
* web3.eth.getFeeHistory(4, BlockTags.LATEST, [0, 25, 75, 100], { number: FMT_NUMBER.NUMBER , bytes: FMT_BYTES.HEX }).then(console.log);
|
1410
|
-
* > {
|
1411
|
-
* baseFeePerGas: [
|
1412
|
-
* 22983878621,
|
1413
|
-
* 21417903463,
|
1414
|
-
* 19989260230,
|
1415
|
-
* 17770954829,
|
1416
|
-
* 18850641304
|
1417
|
-
* ],
|
1418
|
-
* gasUsedRatio: [
|
1419
|
-
* 0.22746546666666667,
|
1420
|
-
* 0.2331871,
|
1421
|
-
* 0.05610054885262125,
|
1422
|
-
* 0.7430227268212117
|
1423
|
-
* ],
|
1424
|
-
* oldestBlock: 15216343,
|
1425
|
-
* reward: [
|
1426
|
-
* [ '0x3b9aca00', '0x53724e00', '0x77359400', '0x1d92c03423' ],
|
1427
|
-
* [ '0x3b9aca00', '0x3b9aca00', '0x3b9aca00', '0xee6b2800' ],
|
1428
|
-
* [ '0x3b9aca00', '0x4f86a721', '0x77d9743a', '0x9502f900' ],
|
1429
|
-
* [ '0xcc8ff9e', '0x53724e00', '0x77359400', '0x1ec9771bb3' ]
|
1430
|
-
* ]
|
1431
|
-
* }
|
1432
|
-
* ```
|
1433
|
-
*/
|
1434
|
-
getFeeHistory(t, i = this.defaultBlock, e, r = this.defaultReturnFormat) {
|
1435
|
-
return n(this, void 0, void 0, function* () {
|
1436
|
-
return nt(this, t, i, e, r);
|
1437
|
-
});
|
1438
|
-
}
|
1439
|
-
/**
|
1440
|
-
* This method generates an access list for a transaction.
|
1441
|
-
*
|
1442
|
-
* @param transaction - A transaction object where all properties are optional except `from`, however it's recommended to include the `to` property.
|
1443
|
-
* @param blockNumber ({@link BlockNumberOrTag} defaults to {@link Web3Eth.defaultBlock}) - Specifies what block to use as the current state of the blockchain while processing the transaction.
|
1444
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the createAccessList should be formatted.
|
1445
|
-
* @returns The returned data of the createAccessList, e.g. The generated access list for transaction.
|
1446
|
-
* @example
|
1447
|
-
* ```ts
|
1448
|
-
* web3.eth.createAccessList({
|
1449
|
-
* from: '0xDe95305a63302C3aa4d3A9B42654659AeA72b694',
|
1450
|
-
* data: '0x9a67c8b100000000000000000000000000000000000000000000000000000000000004d0',
|
1451
|
-
* gasPrice: '0x3b9aca00',
|
1452
|
-
* gas: '0x3d0900',
|
1453
|
-
* to: '0x940b25304947ae863568B3804434EC77E2160b87'
|
1454
|
-
* })
|
1455
|
-
* .then(console.log);
|
1456
|
-
*
|
1457
|
-
* > {
|
1458
|
-
* "accessList": [
|
1459
|
-
* {
|
1460
|
-
* "address": "0x15859bdf5aff2080a9968f6a410361e9598df62f",
|
1461
|
-
* "storageKeys": [
|
1462
|
-
* "0x0000000000000000000000000000000000000000000000000000000000000000"
|
1463
|
-
* ]
|
1464
|
-
* }
|
1465
|
-
* ],
|
1466
|
-
* "gasUsed": "0x7671"
|
1467
|
-
* }
|
1468
|
-
* ```
|
1469
|
-
*/
|
1470
|
-
createAccessList(t, i = this.defaultBlock, e = this.defaultReturnFormat) {
|
1471
|
-
return n(this, void 0, void 0, function* () {
|
1472
|
-
return rt(this, t, i, e);
|
1473
|
-
});
|
1474
|
-
}
|
1475
|
-
/**
|
1476
|
-
* This method sends EIP-712 typed data to the RPC provider to be signed.
|
1477
|
-
*
|
1478
|
-
* @param address The address that corresponds with the private key used to sign the typed data.
|
1479
|
-
* @param typedData The EIP-712 typed data object.
|
1480
|
-
* @param useLegacy A boolean flag determining whether the RPC call uses the legacy method `eth_signTypedData` or the newer method `eth_signTypedData_v4`
|
1481
|
-
* @param returnFormat ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the signed typed data should be formatted.
|
1482
|
-
* @returns The signed typed data.
|
1483
|
-
*/
|
1484
|
-
signTypedData(t, i, e, r) {
|
1485
|
-
var o;
|
1486
|
-
return e === void 0 && (e = !1), r === void 0 && (r = (o = this.defaultReturnFormat) !== null && o !== void 0 ? o : l), n(this, void 0, void 0, function* () {
|
1487
|
-
return ot(this, t, i, e, r);
|
1488
|
-
});
|
1489
|
-
}
|
1490
|
-
/**
|
1491
|
-
* Lets you subscribe to specific events in the blockchain.
|
1492
|
-
*
|
1493
|
-
* @param name - The subscription you want to subscribe to.
|
1494
|
-
* @param args - Optional additional parameters, depending on the subscription type.
|
1495
|
-
* @returns A subscription object of type {@link RegisteredSubscription}. The object contains:
|
1496
|
-
* - subscription.id: The subscription id, used to identify and unsubscribing the subscription.
|
1497
|
-
* - subscription.subscribe(): Can be used to re-subscribe with the same parameters.
|
1498
|
-
* - subscription.unsubscribe(): Unsubscribes the subscription and returns TRUE in the callback if successful.
|
1499
|
-
* - subscription.args: The subscription arguments, used when re-subscribing.
|
1500
|
-
*
|
1501
|
-
*
|
1502
|
-
* You can use the subscription object to listen on:
|
1503
|
-
*
|
1504
|
-
* - on("data") - Fires on each incoming log with the log object as argument.
|
1505
|
-
* - on("changed") - Fires on each log which was removed from the blockchain. The log will have the additional property "removed: true".
|
1506
|
-
* - on("error") - Fires when an error in the subscription occurs.
|
1507
|
-
* - on("connected") - Fires once after the subscription successfully connected. Returns the subscription id.
|
1508
|
-
*
|
1509
|
-
* @example **Subscribe to Smart Contract events**
|
1510
|
-
* ```ts
|
1511
|
-
* // Subscribe to `logs`
|
1512
|
-
* const logSubscription = web3.eth.subscribe('logs', {
|
1513
|
-
* address: '0x1234567890123456789012345678901234567890',
|
1514
|
-
* topics: ['0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234']
|
1515
|
-
* });
|
1516
|
-
* logSubscription.on('data', (data: any) => console.log(data));
|
1517
|
-
* logSubscription.on('error', (error: any) => console.log(error));
|
1518
|
-
*
|
1519
|
-
* ```
|
1520
|
-
*
|
1521
|
-
* @example **Subscribe to new block headers**
|
1522
|
-
* ```ts
|
1523
|
-
* // Subscribe to `newBlockHeaders`
|
1524
|
-
* const newBlocksSubscription = await web3.eth.subscribe('newBlockHeaders');
|
1525
|
-
*
|
1526
|
-
* newBlocksSubscription.on('data', async blockhead => {
|
1527
|
-
* console.log('New block header: ', blockhead);
|
1528
|
-
*
|
1529
|
-
* // You do not need the next line, if you like to keep notified for every new block
|
1530
|
-
* await newBlocksSubscription.unsubscribe();
|
1531
|
-
* console.log('Unsubscribed from new block headers.');
|
1532
|
-
* });
|
1533
|
-
* newBlocksSubscription.on('error', error =>
|
1534
|
-
* console.log('Error when subscribing to New block header: ', error),
|
1535
|
-
* );
|
1536
|
-
* ```
|
1537
|
-
*
|
1538
|
-
* ### subscribe('pendingTransactions')
|
1539
|
-
*
|
1540
|
-
* Subscribes to incoming pending transactions.
|
1541
|
-
* You can subscribe to pending transactions by calling web3.eth.subscribe('pendingTransactions').
|
1542
|
-
*
|
1543
|
-
* ```ts
|
1544
|
-
* (await web3.eth.subscribe('pendingTransactions')).on('data', console.log);
|
1545
|
-
* ```
|
1546
|
-
*
|
1547
|
-
* ### subscribe('newHeads')
|
1548
|
-
* ( same as subscribe('newBlockHeaders'))
|
1549
|
-
* Subscribes to incoming block headers. This can be used as timer to check for changes on the blockchain.
|
1550
|
-
*
|
1551
|
-
* The structure of a returned block header is {@link BlockHeaderOutput}:
|
1552
|
-
*
|
1553
|
-
* ```ts
|
1554
|
-
* (await web3.eth.subscribe('newHeads')).on( // 'newBlockHeaders' would work as well
|
1555
|
-
* 'data',
|
1556
|
-
* console.log
|
1557
|
-
* );
|
1558
|
-
* >{
|
1559
|
-
* parentHash: '0x9e746a1d906b299def98c75b06f714d62dacadd567c7515d76eeaa8c8074c738',
|
1560
|
-
* sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
|
1561
|
-
* miner: '0x0000000000000000000000000000000000000000',
|
1562
|
-
* stateRoot: '0xe0f04b04861ecfa95e82a9310d6a7ef7aef8d7417f5209c182582bfb98a8e307',
|
1563
|
-
* transactionsRoot: '0x31ab4ea571a9e10d3a19aaed07d190595b1dfa34e03960c04293fec565dea536',
|
1564
|
-
* logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
1565
|
-
* difficulty: 2n,
|
1566
|
-
* number: 21n,
|
1567
|
-
* gasLimit: 11738125n,
|
1568
|
-
* gasUsed: 830006n,
|
1569
|
-
* timestamp: 1678797237n,
|
1570
|
-
* extraData: '0xd883010b02846765746888676f312e32302e31856c696e757800000000000000e0a6e93cf40e2e71a72e493272210c3f43738ccc7e7d7b14ffd51833797d896c09117e8dc4fbcbc969bd21b42e5af3e276a911524038c001b2109b63b8e0352601',
|
1571
|
-
* nonce: 0n
|
1572
|
-
* }
|
1573
|
-
* ```
|
1574
|
-
*
|
1575
|
-
* ### subscribe('syncing')
|
1576
|
-
* 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.
|
1577
|
-
*
|
1578
|
-
* ```ts
|
1579
|
-
* (await web3.eth.subscribe('syncing')).on('changed', console.log);
|
1580
|
-
* > `true` // when syncing
|
1581
|
-
*
|
1582
|
-
* (await web3.eth.subscribe('syncing')).on('data', console.log);
|
1583
|
-
* > {
|
1584
|
-
* startingBlock: 0,
|
1585
|
-
* currentBlock: 0,
|
1586
|
-
* highestBlock: 0,
|
1587
|
-
* pulledStates: 0,
|
1588
|
-
* knownStates: 0
|
1589
|
-
* }
|
1590
|
-
* ```
|
1591
|
-
*
|
1592
|
-
* ### subscribe('logs', options)
|
1593
|
-
* 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.
|
1594
|
-
*
|
1595
|
-
* options: You can subscribe to logs matching a given filter object, which can take the following parameters:
|
1596
|
-
* - `fromBlock`: (optional, default: 'latest') Integer block number, or `'latest'` for the last mined block or `'pending'`, `'earliest'` for not yet mined transactions.
|
1597
|
-
* - `address`: (optional) Contract address or a list of addresses from which logs should originate.
|
1598
|
-
* - `topics`: (optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with `or` options.
|
1599
|
-
*
|
1600
|
-
* ```ts
|
1601
|
-
* (await web3.eth.subscribe('logs', {
|
1602
|
-
* address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
|
1603
|
-
* })).on('data', console.log);
|
1604
|
-
*
|
1605
|
-
* > {
|
1606
|
-
* removed: false,
|
1607
|
-
* logIndex: 119n,
|
1608
|
-
* transactionIndex: 58n,
|
1609
|
-
* transactionHash: '0x61533efa77937360215069d5d6cb0be09a22af9721e6dc3df59d957833ed8870',
|
1610
|
-
* blockHash: '0xe32bb97084479d32247f66f8b46d00af2fbc3c2db2bc6e5843fe2e4d1ca9b099',
|
1611
|
-
* blockNumber: 18771966n,
|
1612
|
-
* address: '0xdac17f958d2ee523a2206206994597c13d831ec7',
|
1613
|
-
* data: '0x00000000000000000000000000000000000000000000000000000000d88b2e40',
|
1614
|
-
* topics: [
|
1615
|
-
* '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
|
1616
|
-
* '0x0000000000000000000000002fb2457f6ec1865dc0d4e7300c696b69c2a1b989',
|
1617
|
-
* '0x00000000000000000000000027fd43babfbe83a81d14665b1a6fb8030a60c9b4'
|
1618
|
-
* ]
|
1619
|
-
* }
|
1620
|
-
*```
|
1621
|
-
*/
|
1622
|
-
subscribe(t, i, e) {
|
1623
|
-
var r, o;
|
1624
|
-
return e === void 0 && (e = (r = this.defaultReturnFormat) !== null && r !== void 0 ? r : l), n(this, void 0, void 0, function* () {
|
1625
|
-
const u = yield (o = this.subscriptionManager) === null || o === void 0 ? void 0 : o.subscribe(t, i, e);
|
1626
|
-
return u instanceof p && t === "logs" && typeof i == "object" && !at(i.fromBlock) && Number.isFinite(Number(i.fromBlock)) && setImmediate(() => {
|
1627
|
-
this.getPastLogs(i).then((s) => {
|
1628
|
-
for (const d of s)
|
1629
|
-
u._processSubscriptionResult(d);
|
1630
|
-
}).catch((s) => {
|
1631
|
-
u._processSubscriptionError(s);
|
1632
|
-
});
|
1633
|
-
}), u;
|
1634
|
-
});
|
1635
|
-
}
|
1636
|
-
static shouldClearSubscription({ sub: t }) {
|
1637
|
-
return !(t instanceof F);
|
1638
|
-
}
|
1639
|
-
/**
|
1640
|
-
* Resets subscriptions.
|
1641
|
-
*
|
1642
|
-
* @param notClearSyncing If `true` it keeps the `syncing` subscription.
|
1643
|
-
* @returns A promise to an array of subscription ids that were cleared.
|
1644
|
-
*
|
1645
|
-
* ```ts
|
1646
|
-
* web3.eth.clearSubscriptions().then(console.log);
|
1647
|
-
* > [...] An array of subscription ids that were cleared
|
1648
|
-
* ```
|
1649
|
-
*/
|
1650
|
-
clearSubscriptions(t = !1) {
|
1651
|
-
var i;
|
1652
|
-
return (i = this.subscriptionManager) === null || i === void 0 ? void 0 : i.unsubscribe(
|
1653
|
-
// eslint-disable-next-line
|
1654
|
-
t ? R.shouldClearSubscription : void 0
|
1655
|
-
);
|
1656
|
-
}
|
1657
|
-
}
|
1658
|
-
export {
|
1659
|
-
R as Web3Eth,
|
1660
|
-
m as registeredSubscriptions
|
1661
|
-
};
|