@ozdao/prometheus-framework 0.2.129 → 0.2.130
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -1
- package/dist/_virtual/_commonjsHelpers.js +3 -5
- package/dist/community.server.js +11 -21
- package/dist/community.server.mjs +11 -21
- 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 +4 -7
- package/dist/events.server.mjs +4 -7
- package/dist/files.server.js +1 -2
- package/dist/files.server.mjs +1 -2
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/main-Ckn0Sslr.js +92 -0
- package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
- package/dist/main.css +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/organizations.server.js +5 -9
- package/dist/organizations.server.mjs +5 -9
- 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 +89 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
- 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 +27 -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 +58 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +3 -3
- 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/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 +127 -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 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -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 +1 -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 +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/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 +7 -7
- 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 +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/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.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- 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 +1 -1
- 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/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -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 +31 -31
- 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 +3 -5
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +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/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/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- 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/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/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 +8 -8
- 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 +3 -3
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
- 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/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/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/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 +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +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 +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/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 +2 -2
- 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 +5 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/reports.server.js +2 -4
- package/dist/reports.server.mjs +2 -4
- package/dist/style.css +1 -1
- package/dist/users.server.js +2 -4
- package/dist/users.server.mjs +2 -4
- package/dist/wallet.server.js +6 -12
- package/dist/wallet.server.mjs +6 -12
- package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
- package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
- package/package.json +1 -2
- package/src/main.js +0 -3
- 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/main-hLtpe4Hr.js +0 -92
- 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/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/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 -2983
- 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/src/components/Address/Address.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
- 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/Chips/Chips.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -27
- 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 -58
- 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/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 -127
- 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/Menu/Menu.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.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 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
- 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 -1
- 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 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
- 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/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/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/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/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/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/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
@@ -1,58 +0,0 @@
|
|
1
|
-
import { Web3EventEmitter as m } from "./web3_event_emitter.js";
|
2
|
-
var s = function(f, n, t, r) {
|
3
|
-
function a(e) {
|
4
|
-
return e instanceof t ? e : new t(function(o) {
|
5
|
-
o(e);
|
6
|
-
});
|
7
|
-
}
|
8
|
-
return new (t || (t = Promise))(function(e, o) {
|
9
|
-
function d(i) {
|
10
|
-
try {
|
11
|
-
u(r.next(i));
|
12
|
-
} catch (c) {
|
13
|
-
o(c);
|
14
|
-
}
|
15
|
-
}
|
16
|
-
function p(i) {
|
17
|
-
try {
|
18
|
-
u(r.throw(i));
|
19
|
-
} catch (c) {
|
20
|
-
o(c);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function u(i) {
|
24
|
-
i.done ? e(i.value) : a(i.value).then(d, p);
|
25
|
-
}
|
26
|
-
u((r = r.apply(f, n || [])).next());
|
27
|
-
});
|
28
|
-
}, h;
|
29
|
-
class _ extends m {
|
30
|
-
constructor(n) {
|
31
|
-
super(), this[h] = "Promise", this._promise = new Promise(n);
|
32
|
-
}
|
33
|
-
then(n, t) {
|
34
|
-
return s(this, void 0, void 0, function* () {
|
35
|
-
return this._promise.then(n, t);
|
36
|
-
});
|
37
|
-
}
|
38
|
-
catch(n) {
|
39
|
-
return s(this, void 0, void 0, function* () {
|
40
|
-
return this._promise.catch(n);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
finally(n) {
|
44
|
-
return s(this, void 0, void 0, function* () {
|
45
|
-
return this._promise.finally(n);
|
46
|
-
});
|
47
|
-
}
|
48
|
-
on(n, t) {
|
49
|
-
return super.on(n, t), this;
|
50
|
-
}
|
51
|
-
once(n, t) {
|
52
|
-
return super.once(n, t), this;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
h = Symbol.toStringTag;
|
56
|
-
export {
|
57
|
-
_ as Web3PromiEvent
|
58
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../../../web3-errors/lib/esm/errors/contract_errors.cjs"),E=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),R=require("../../../web3-errors/lib/esm/errors/response_errors.cjs"),w=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),g=require("../../../web3-providers-http/lib/esm/index.cjs"),b=require("../../../web3-providers-ws/lib/esm/index.cjs"),a=require("./utils.cjs"),m=require("./web3_event_emitter.cjs"),y=require("../../../web3-utils/lib/esm/promise_helpers.cjs"),i=require("../../../web3-utils/lib/esm/json_rpc.cjs"),h=require("../../../web3-utils/lib/esm/validation.cjs");var _=function(f,r,e,s){function t(o){return o instanceof e?o:new e(function(n){n(o)})}return new(e||(e=Promise))(function(o,n){function d(u){try{c(s.next(u))}catch(l){n(l)}}function p(u){try{c(s.throw(u))}catch(l){n(l)}}function c(u){u.done?o(u.value):t(u.value).then(d,p)}c((s=s.apply(f,r||[])).next())})};exports.Web3RequestManagerEvent=void 0;(function(f){f.PROVIDER_CHANGED="PROVIDER_CHANGED",f.BEFORE_PROVIDER_CHANGE="BEFORE_PROVIDER_CHANGE"})(exports.Web3RequestManagerEvent||(exports.Web3RequestManagerEvent={}));const q={HttpProvider:g.default,WebsocketProvider:b.default};class v extends m.Web3EventEmitter{constructor(r,e,s){super(),h.isNullish(r)||this.setProvider(r),this.useRpcCallSpecification=e,h.isNullish(s)||(this.middleware=s)}static get providers(){return q}get provider(){return this._provider}get providers(){return q}setProvider(r){let e;if(r&&typeof r=="string"&&this.providers)if(/^http(s)?:\/\//i.test(r))e=new this.providers.HttpProvider(r);else if(/^ws(s)?:\/\//i.test(r))e=new this.providers.WebsocketProvider(r);else throw new E.ProviderError(`Can't autodetect provider for "${r}"`);else h.isNullish(r)?e=void 0:e=r;return this.emit(exports.Web3RequestManagerEvent.BEFORE_PROVIDER_CHANGE,this._provider),this._provider=e,this.emit(exports.Web3RequestManagerEvent.PROVIDER_CHANGED,this._provider),!0}setMiddleware(r){this.middleware=r}send(r){return _(this,void 0,void 0,function*(){const e=Object.assign({},r);let s=yield this._sendRequest(e);if(h.isNullish(this.middleware)||(s=yield this.middleware.processResponse(s)),i.isResponseWithResult(s))return s.result;throw new R.ResponseError(s)})}sendBatch(r){return _(this,void 0,void 0,function*(){return yield this._sendRequest(r)})}_sendRequest(r){return _(this,void 0,void 0,function*(){const{provider:e}=this;if(h.isNullish(e))throw new E.ProviderError("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");let s=i.isBatchRequest(r)?i.toBatchPayload(r):i.toPayload(r);if(h.isNullish(this.middleware)||(s=yield this.middleware.processRequest(s)),a.isWeb3Provider(e)){let t;try{t=yield e.request(s)}catch(o){t=o}return this._processJsonRpcResponse(s,t,{legacy:!1,error:!1})}if(a.isEIP1193Provider(e))return e.request(s).then(t=>this._processJsonRpcResponse(s,t,{legacy:!0,error:!1})).catch(t=>this._processJsonRpcResponse(s,t,{legacy:!0,error:!0}));if(a.isLegacyRequestProvider(e))return new Promise((t,o)=>{const n=c=>{o(this._processJsonRpcResponse(s,c,{legacy:!0,error:!0}))},d=c=>t(this._processJsonRpcResponse(s,c,{legacy:!0,error:!1})),p=e.request(s,(c,u)=>c?n(c):d(u));y.isPromise(p)&&p.then(d).catch(u=>{try{const l=this._processJsonRpcResponse(s,u,{legacy:!0,error:!0});o(l)}catch(l){o(l)}})});if(a.isLegacySendProvider(e))return new Promise((t,o)=>{e.send(s,(n,d)=>{if(n)return o(this._processJsonRpcResponse(s,n,{legacy:!0,error:!0}));if(h.isNullish(d))throw new R.ResponseError({},'Got a "nullish" response from provider.');return t(this._processJsonRpcResponse(s,d,{legacy:!0,error:!1}))})});if(a.isLegacySendAsyncProvider(e))return e.sendAsync(s).then(t=>this._processJsonRpcResponse(s,t,{legacy:!0,error:!1})).catch(t=>this._processJsonRpcResponse(s,t,{legacy:!0,error:!0}));throw new E.ProviderError("Provider does not have a request or send method to use.")})}_processJsonRpcResponse(r,e,{legacy:s,error:t}){if(h.isNullish(e))return this._buildResponse(r,null,t);if(i.isResponseWithError(e)){if(this.useRpcCallSpecification&&i.isResponseRpcError(e)){const o=e;if(w.rpcErrorsMap.get(o.error.code)){const n=w.rpcErrorsMap.get(o.error.code).error;throw new n(o)}else throw new w.RpcError(o)}else if(!v._isReverted(e))throw new R.InvalidResponseError(e,r)}if(i.isResponseWithResult(e))return e;if(e instanceof Error)throw v._isReverted(e),e;if(!s&&i.isBatchRequest(r)&&i.isBatchResponse(e)||s&&!t&&i.isBatchRequest(r))return e;if(s&&t&&i.isBatchRequest(r))throw e;if(s&&!i.isResponseWithError(e)&&!i.isResponseWithResult(e))return this._buildResponse(r,e,t);throw i.isBatchRequest(r)&&!Array.isArray(e)?new R.ResponseError(e,"Got normal response for a batch request."):!i.isBatchRequest(r)&&Array.isArray(e)?new R.ResponseError(e,"Got batch response for a normal request."):(i.isResponseWithError(e)||i.isResponseWithResult(e))&&!i.isBatchRequest(r)&&e.id&&r.id!==e.id?new R.InvalidResponseError(e):new R.ResponseError(e,"Invalid response")}static _isReverted(r){let e;if(i.isResponseWithError(r)?e=r.error:r instanceof Error&&(e=r),e!=null&&e.message.includes("revert"))throw new P.ContractExecutionError(e);return!1}_buildResponse(r,e,s){const t={jsonrpc:"2.0",id:i.isBatchRequest(r)?r[0].id:"id"in r?r.id:null};return s?Object.assign(Object.assign({},t),{error:e}):Object.assign(Object.assign({},t),{result:e})}}exports.Web3RequestManager=v;
|
@@ -1,245 +0,0 @@
|
|
1
|
-
import { ContractExecutionError as b } from "../../../web3-errors/lib/esm/errors/contract_errors.js";
|
2
|
-
import { ProviderError as m } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
|
3
|
-
import { ResponseError as l, InvalidResponseError as P } from "../../../web3-errors/lib/esm/errors/response_errors.js";
|
4
|
-
import { rpcErrorsMap as g, RpcError as O } from "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
5
|
-
import A from "../../../web3-providers-http/lib/esm/index.js";
|
6
|
-
import J from "../../../web3-providers-ws/lib/esm/index.js";
|
7
|
-
import { isWeb3Provider as C, isEIP1193Provider as q, isLegacyRequestProvider as D, isLegacySendProvider as G, isLegacySendAsyncProvider as H } from "./utils.js";
|
8
|
-
import { Web3EventEmitter as I } from "./web3_event_emitter.js";
|
9
|
-
import { isPromise as W } from "../../../web3-utils/lib/esm/promise_helpers.js";
|
10
|
-
import { isResponseWithResult as p, isBatchRequest as u, toBatchPayload as B, toPayload as N, isResponseWithError as v, isResponseRpcError as j, isBatchResponse as V } from "../../../web3-utils/lib/esm/json_rpc.js";
|
11
|
-
import { isNullish as d } from "../../../web3-utils/lib/esm/validation.js";
|
12
|
-
var E = function(R, r, e, t) {
|
13
|
-
function i(s) {
|
14
|
-
return s instanceof e ? s : new e(function(o) {
|
15
|
-
o(s);
|
16
|
-
});
|
17
|
-
}
|
18
|
-
return new (e || (e = Promise))(function(s, o) {
|
19
|
-
function f(c) {
|
20
|
-
try {
|
21
|
-
n(t.next(c));
|
22
|
-
} catch (h) {
|
23
|
-
o(h);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
function a(c) {
|
27
|
-
try {
|
28
|
-
n(t.throw(c));
|
29
|
-
} catch (h) {
|
30
|
-
o(h);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
function n(c) {
|
34
|
-
c.done ? s(c.value) : i(c.value).then(f, a);
|
35
|
-
}
|
36
|
-
n((t = t.apply(R, r || [])).next());
|
37
|
-
});
|
38
|
-
}, w;
|
39
|
-
(function(R) {
|
40
|
-
R.PROVIDER_CHANGED = "PROVIDER_CHANGED", R.BEFORE_PROVIDER_CHANGE = "BEFORE_PROVIDER_CHANGE";
|
41
|
-
})(w || (w = {}));
|
42
|
-
const y = {
|
43
|
-
HttpProvider: A,
|
44
|
-
WebsocketProvider: J
|
45
|
-
};
|
46
|
-
class _ extends I {
|
47
|
-
constructor(r, e, t) {
|
48
|
-
super(), d(r) || this.setProvider(r), this.useRpcCallSpecification = e, d(t) || (this.middleware = t);
|
49
|
-
}
|
50
|
-
/**
|
51
|
-
* Will return all available providers
|
52
|
-
*/
|
53
|
-
static get providers() {
|
54
|
-
return y;
|
55
|
-
}
|
56
|
-
/**
|
57
|
-
* Will return the current provider.
|
58
|
-
*
|
59
|
-
* @returns Returns the current provider
|
60
|
-
*/
|
61
|
-
get provider() {
|
62
|
-
return this._provider;
|
63
|
-
}
|
64
|
-
/**
|
65
|
-
* Will return all available providers
|
66
|
-
*/
|
67
|
-
// eslint-disable-next-line class-methods-use-this
|
68
|
-
get providers() {
|
69
|
-
return y;
|
70
|
-
}
|
71
|
-
/**
|
72
|
-
* Use to set provider. Provider can be a provider instance or a string.
|
73
|
-
*
|
74
|
-
* @param provider - The provider to set
|
75
|
-
*/
|
76
|
-
setProvider(r) {
|
77
|
-
let e;
|
78
|
-
if (r && typeof r == "string" && this.providers)
|
79
|
-
if (/^http(s)?:\/\//i.test(r))
|
80
|
-
e = new this.providers.HttpProvider(r);
|
81
|
-
else if (/^ws(s)?:\/\//i.test(r))
|
82
|
-
e = new this.providers.WebsocketProvider(r);
|
83
|
-
else
|
84
|
-
throw new m(`Can't autodetect provider for "${r}"`);
|
85
|
-
else
|
86
|
-
d(r) ? e = void 0 : e = r;
|
87
|
-
return this.emit(w.BEFORE_PROVIDER_CHANGE, this._provider), this._provider = e, this.emit(w.PROVIDER_CHANGED, this._provider), !0;
|
88
|
-
}
|
89
|
-
setMiddleware(r) {
|
90
|
-
this.middleware = r;
|
91
|
-
}
|
92
|
-
/**
|
93
|
-
*
|
94
|
-
* Will execute a request
|
95
|
-
*
|
96
|
-
* @param request - {@link Web3APIRequest} The request to send
|
97
|
-
*
|
98
|
-
* @returns The response of the request {@link ResponseType}. If there is error
|
99
|
-
* in the response, will throw an error
|
100
|
-
*/
|
101
|
-
send(r) {
|
102
|
-
return E(this, void 0, void 0, function* () {
|
103
|
-
const e = Object.assign({}, r);
|
104
|
-
let t = yield this._sendRequest(e);
|
105
|
-
if (d(this.middleware) || (t = yield this.middleware.processResponse(t)), p(t))
|
106
|
-
return t.result;
|
107
|
-
throw new l(t);
|
108
|
-
});
|
109
|
-
}
|
110
|
-
/**
|
111
|
-
* Same as send, but, will execute a batch of requests
|
112
|
-
*
|
113
|
-
* @param request {@link JsonRpcBatchRequest} The batch request to send
|
114
|
-
*/
|
115
|
-
sendBatch(r) {
|
116
|
-
return E(this, void 0, void 0, function* () {
|
117
|
-
return yield this._sendRequest(r);
|
118
|
-
});
|
119
|
-
}
|
120
|
-
_sendRequest(r) {
|
121
|
-
return E(this, void 0, void 0, function* () {
|
122
|
-
const { provider: e } = this;
|
123
|
-
if (d(e))
|
124
|
-
throw new m("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");
|
125
|
-
let t = u(r) ? B(r) : N(r);
|
126
|
-
if (d(this.middleware) || (t = yield this.middleware.processRequest(t)), C(e)) {
|
127
|
-
let i;
|
128
|
-
try {
|
129
|
-
i = yield e.request(t);
|
130
|
-
} catch (s) {
|
131
|
-
i = s;
|
132
|
-
}
|
133
|
-
return this._processJsonRpcResponse(t, i, { legacy: !1, error: !1 });
|
134
|
-
}
|
135
|
-
if (q(e))
|
136
|
-
return e.request(t).then((i) => this._processJsonRpcResponse(t, i, {
|
137
|
-
legacy: !0,
|
138
|
-
error: !1
|
139
|
-
})).catch((i) => this._processJsonRpcResponse(t, i, { legacy: !0, error: !0 }));
|
140
|
-
if (D(e))
|
141
|
-
return new Promise((i, s) => {
|
142
|
-
const o = (n) => {
|
143
|
-
s(this._processJsonRpcResponse(t, n, {
|
144
|
-
legacy: !0,
|
145
|
-
error: !0
|
146
|
-
}));
|
147
|
-
}, f = (n) => i(this._processJsonRpcResponse(t, n, {
|
148
|
-
legacy: !0,
|
149
|
-
error: !1
|
150
|
-
})), a = e.request(
|
151
|
-
t,
|
152
|
-
// a callback that is expected to be called after getting the response:
|
153
|
-
(n, c) => n ? o(n) : f(c)
|
154
|
-
);
|
155
|
-
W(a) && a.then(f).catch((c) => {
|
156
|
-
try {
|
157
|
-
const h = this._processJsonRpcResponse(t, c, { legacy: !0, error: !0 });
|
158
|
-
s(h);
|
159
|
-
} catch (h) {
|
160
|
-
s(h);
|
161
|
-
}
|
162
|
-
});
|
163
|
-
});
|
164
|
-
if (G(e))
|
165
|
-
return new Promise((i, s) => {
|
166
|
-
e.send(t, (o, f) => {
|
167
|
-
if (o)
|
168
|
-
return s(this._processJsonRpcResponse(t, o, {
|
169
|
-
legacy: !0,
|
170
|
-
error: !0
|
171
|
-
}));
|
172
|
-
if (d(f))
|
173
|
-
throw new l({}, 'Got a "nullish" response from provider.');
|
174
|
-
return i(this._processJsonRpcResponse(t, f, {
|
175
|
-
legacy: !0,
|
176
|
-
error: !1
|
177
|
-
}));
|
178
|
-
});
|
179
|
-
});
|
180
|
-
if (H(e))
|
181
|
-
return e.sendAsync(t).then((i) => this._processJsonRpcResponse(t, i, { legacy: !0, error: !1 })).catch((i) => this._processJsonRpcResponse(t, i, {
|
182
|
-
legacy: !0,
|
183
|
-
error: !0
|
184
|
-
}));
|
185
|
-
throw new m("Provider does not have a request or send method to use.");
|
186
|
-
});
|
187
|
-
}
|
188
|
-
// eslint-disable-next-line class-methods-use-this
|
189
|
-
_processJsonRpcResponse(r, e, { legacy: t, error: i }) {
|
190
|
-
if (d(e))
|
191
|
-
return this._buildResponse(
|
192
|
-
r,
|
193
|
-
// Some providers uses "null" as valid empty response
|
194
|
-
// eslint-disable-next-line no-null/no-null
|
195
|
-
null,
|
196
|
-
i
|
197
|
-
);
|
198
|
-
if (v(e)) {
|
199
|
-
if (this.useRpcCallSpecification && j(e)) {
|
200
|
-
const s = e;
|
201
|
-
if (g.get(s.error.code)) {
|
202
|
-
const o = g.get(s.error.code).error;
|
203
|
-
throw new o(s);
|
204
|
-
} else
|
205
|
-
throw new O(s);
|
206
|
-
} else if (!_._isReverted(e))
|
207
|
-
throw new P(e, r);
|
208
|
-
}
|
209
|
-
if (p(e))
|
210
|
-
return e;
|
211
|
-
if (e instanceof Error)
|
212
|
-
throw _._isReverted(e), e;
|
213
|
-
if (!t && u(r) && V(e) || t && !i && u(r))
|
214
|
-
return e;
|
215
|
-
if (t && i && u(r))
|
216
|
-
throw e;
|
217
|
-
if (t && !v(e) && !p(e))
|
218
|
-
return this._buildResponse(r, e, i);
|
219
|
-
throw u(r) && !Array.isArray(e) ? new l(e, "Got normal response for a batch request.") : !u(r) && Array.isArray(e) ? new l(e, "Got batch response for a normal request.") : (v(e) || p(e)) && !u(r) && e.id && r.id !== e.id ? new P(e) : new l(e, "Invalid response");
|
220
|
-
}
|
221
|
-
static _isReverted(r) {
|
222
|
-
let e;
|
223
|
-
if (v(r) ? e = r.error : r instanceof Error && (e = r), e != null && e.message.includes("revert"))
|
224
|
-
throw new b(e);
|
225
|
-
return !1;
|
226
|
-
}
|
227
|
-
// Need to use same types as _processJsonRpcResponse so have to declare as instance method
|
228
|
-
// eslint-disable-next-line class-methods-use-this
|
229
|
-
_buildResponse(r, e, t) {
|
230
|
-
const i = {
|
231
|
-
jsonrpc: "2.0",
|
232
|
-
// eslint-disable-next-line no-nested-ternary
|
233
|
-
id: u(r) ? r[0].id : "id" in r ? r.id : (
|
234
|
-
// Have to use the null here explicitly
|
235
|
-
// eslint-disable-next-line no-null/no-null
|
236
|
-
null
|
237
|
-
)
|
238
|
-
};
|
239
|
-
return t ? Object.assign(Object.assign({}, i), { error: e }) : Object.assign(Object.assign({}, i), { result: e });
|
240
|
-
}
|
241
|
-
}
|
242
|
-
export {
|
243
|
-
_ as Web3RequestManager,
|
244
|
-
w as Web3RequestManagerEvent
|
245
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const o=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const S=require("./utils.cjs"),h=require("./web3_request_manager.cjs"),a=require("../../../web3-utils/lib/esm/validation.cjs");var c=function(b,i,r,s){function e(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function l(u){try{d(s.next(u))}catch(p){n(p)}}function v(u){try{d(s.throw(u))}catch(p){n(p)}}function d(u){u.done?t(u.value):e(u.value).then(l,v)}d((s=s.apply(b,i||[])).next())})};class w{constructor(i,r,s=!1){this.requestManager=i,this.registeredSubscriptions=r,this.tolerateUnlinkedSubscription=s,this._subscriptions=new Map,this.requestManager.on(h.Web3RequestManagerEvent.BEFORE_PROVIDER_CHANGE,()=>c(this,void 0,void 0,function*(){yield this.unsubscribe()})),this.requestManager.on(h.Web3RequestManagerEvent.PROVIDER_CHANGED,()=>{this.clear(),this.listenToProviderEvents()}),this.listenToProviderEvents()}listenToProviderEvents(){const i=this.requestManager.provider;!this.requestManager.provider||typeof(i==null?void 0:i.supportsSubscriptions)=="function"&&!(i!=null&&i.supportsSubscriptions())||typeof this.requestManager.provider.on=="function"&&(typeof this.requestManager.provider.request=="function"?this.requestManager.provider.on("message",r=>this.messageListener(r)):i.on("data",r=>this.messageListener(r)))}messageListener(i){var r,s,e;if(!i)throw new o.SubscriptionError("Should not call messageListener with no data. Type was");const t=((r=i.params)===null||r===void 0?void 0:r.subscription)||((s=i.data)===null||s===void 0?void 0:s.subscription)||((e=i.id)===null||e===void 0?void 0:e.toString(16));if(t){const n=this._subscriptions.get(t);n==null||n.processSubscriptionData(i)}}subscribe(i,r,s=f.DEFAULT_RETURN_FORMAT){return c(this,void 0,void 0,function*(){const e=this.registeredSubscriptions[i];if(!e)throw new o.SubscriptionError("Invalid subscription type");const t=new e(r??void 0,{subscriptionManager:this,returnFormat:s});return yield this.addSubscription(t),t})}get subscriptions(){return this._subscriptions}addSubscription(i){return c(this,void 0,void 0,function*(){if(!this.requestManager.provider)throw new o.ProviderError("Provider not available");if(!this.supportsSubscriptions())throw new o.SubscriptionError("The current provider does not support subscriptions");if(i.id&&this._subscriptions.has(i.id))throw new o.SubscriptionError(`Subscription with id "${i.id}" already exists`);if(yield i.sendSubscriptionRequest(),a.isNullish(i.id))throw new o.SubscriptionError("Subscription is not subscribed yet.");return this._subscriptions.set(i.id,i),i.id})}removeSubscription(i){return c(this,void 0,void 0,function*(){const{id:r}=i;if(a.isNullish(r))throw new o.SubscriptionError("Subscription is not subscribed yet. Or, had already been unsubscribed but not through the Subscription Manager.");if(!this._subscriptions.has(r)&&!this.tolerateUnlinkedSubscription)throw new o.SubscriptionError(`Subscription with id "${r.toString()}" does not exists`);return yield i.sendUnsubscribeRequest(),this._subscriptions.delete(r),r})}unsubscribe(i){return c(this,void 0,void 0,function*(){const r=[];for(const[s,e]of this.subscriptions.entries())(!i||typeof i=="function"&&i({id:s,sub:e}))&&r.push(this.removeSubscription(e));return Promise.all(r)})}clear(){this._subscriptions.clear()}supportsSubscriptions(){return a.isNullish(this.requestManager.provider)?!1:S.isSupportSubscriptions(this.requestManager.provider)}}exports.Web3SubscriptionManager=w;
|
@@ -1,155 +0,0 @@
|
|
1
|
-
import { DEFAULT_RETURN_FORMAT as f } 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 { SubscriptionError as u, ProviderError as w } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
|
5
|
-
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
6
|
-
import { isSupportSubscriptions as S } from "./utils.js";
|
7
|
-
import { Web3RequestManagerEvent as b } from "./web3_request_manager.js";
|
8
|
-
import { isNullish as a } from "../../../web3-utils/lib/esm/validation.js";
|
9
|
-
var p = function(h, i, t, s) {
|
10
|
-
function r(e) {
|
11
|
-
return e instanceof t ? e : new t(function(n) {
|
12
|
-
n(e);
|
13
|
-
});
|
14
|
-
}
|
15
|
-
return new (t || (t = Promise))(function(e, n) {
|
16
|
-
function l(o) {
|
17
|
-
try {
|
18
|
-
c(s.next(o));
|
19
|
-
} catch (d) {
|
20
|
-
n(d);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function v(o) {
|
24
|
-
try {
|
25
|
-
c(s.throw(o));
|
26
|
-
} catch (d) {
|
27
|
-
n(d);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
function c(o) {
|
31
|
-
o.done ? e(o.value) : r(o.value).then(l, v);
|
32
|
-
}
|
33
|
-
c((s = s.apply(h, i || [])).next());
|
34
|
-
});
|
35
|
-
};
|
36
|
-
class T {
|
37
|
-
constructor(i, t, s = !1) {
|
38
|
-
this.requestManager = i, this.registeredSubscriptions = t, this.tolerateUnlinkedSubscription = s, this._subscriptions = /* @__PURE__ */ new Map(), this.requestManager.on(b.BEFORE_PROVIDER_CHANGE, () => p(this, void 0, void 0, function* () {
|
39
|
-
yield this.unsubscribe();
|
40
|
-
})), this.requestManager.on(b.PROVIDER_CHANGED, () => {
|
41
|
-
this.clear(), this.listenToProviderEvents();
|
42
|
-
}), this.listenToProviderEvents();
|
43
|
-
}
|
44
|
-
listenToProviderEvents() {
|
45
|
-
const i = this.requestManager.provider;
|
46
|
-
!this.requestManager.provider || typeof (i == null ? void 0 : i.supportsSubscriptions) == "function" && !(i != null && i.supportsSubscriptions()) || typeof this.requestManager.provider.on == "function" && (typeof this.requestManager.provider.request == "function" ? this.requestManager.provider.on(
|
47
|
-
"message",
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
49
|
-
(t) => this.messageListener(t)
|
50
|
-
) : i.on("data", (t) => this.messageListener(t)));
|
51
|
-
}
|
52
|
-
messageListener(i) {
|
53
|
-
var t, s, r;
|
54
|
-
if (!i)
|
55
|
-
throw new u("Should not call messageListener with no data. Type was");
|
56
|
-
const e = ((t = i.params) === null || t === void 0 ? void 0 : t.subscription) || ((s = i.data) === null || s === void 0 ? void 0 : s.subscription) || ((r = i.id) === null || r === void 0 ? void 0 : r.toString(16));
|
57
|
-
if (e) {
|
58
|
-
const n = this._subscriptions.get(e);
|
59
|
-
n == null || n.processSubscriptionData(i);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
/**
|
63
|
-
* Will create a new subscription
|
64
|
-
*
|
65
|
-
* @param name - The subscription you want to subscribe to
|
66
|
-
* @param args - Optional additional parameters, depending on the subscription type
|
67
|
-
* @param returnFormat- ({@link DataFormat} defaults to {@link DEFAULT_RETURN_FORMAT}) - Specifies how the return data from the call should be formatted.
|
68
|
-
*
|
69
|
-
* Will subscribe to a specific topic (note: name)
|
70
|
-
* @returns The subscription object
|
71
|
-
*/
|
72
|
-
subscribe(i, t, s = f) {
|
73
|
-
return p(this, void 0, void 0, function* () {
|
74
|
-
const r = this.registeredSubscriptions[i];
|
75
|
-
if (!r)
|
76
|
-
throw new u("Invalid subscription type");
|
77
|
-
const e = new r(t ?? void 0, {
|
78
|
-
subscriptionManager: this,
|
79
|
-
returnFormat: s
|
80
|
-
});
|
81
|
-
return yield this.addSubscription(e), e;
|
82
|
-
});
|
83
|
-
}
|
84
|
-
/**
|
85
|
-
* Will returns all subscriptions.
|
86
|
-
*/
|
87
|
-
get subscriptions() {
|
88
|
-
return this._subscriptions;
|
89
|
-
}
|
90
|
-
/**
|
91
|
-
*
|
92
|
-
* Adds an instance of {@link Web3Subscription} and subscribes to it
|
93
|
-
*
|
94
|
-
* @param sub - A {@link Web3Subscription} object
|
95
|
-
*/
|
96
|
-
addSubscription(i) {
|
97
|
-
return p(this, void 0, void 0, function* () {
|
98
|
-
if (!this.requestManager.provider)
|
99
|
-
throw new w("Provider not available");
|
100
|
-
if (!this.supportsSubscriptions())
|
101
|
-
throw new u("The current provider does not support subscriptions");
|
102
|
-
if (i.id && this._subscriptions.has(i.id))
|
103
|
-
throw new u(`Subscription with id "${i.id}" already exists`);
|
104
|
-
if (yield i.sendSubscriptionRequest(), a(i.id))
|
105
|
-
throw new u("Subscription is not subscribed yet.");
|
106
|
-
return this._subscriptions.set(i.id, i), i.id;
|
107
|
-
});
|
108
|
-
}
|
109
|
-
/**
|
110
|
-
* Will clear a subscription
|
111
|
-
*
|
112
|
-
* @param id - The subscription of type {@link Web3Subscription} to remove
|
113
|
-
*/
|
114
|
-
removeSubscription(i) {
|
115
|
-
return p(this, void 0, void 0, function* () {
|
116
|
-
const { id: t } = i;
|
117
|
-
if (a(t))
|
118
|
-
throw new u("Subscription is not subscribed yet. Or, had already been unsubscribed but not through the Subscription Manager.");
|
119
|
-
if (!this._subscriptions.has(t) && !this.tolerateUnlinkedSubscription)
|
120
|
-
throw new u(`Subscription with id "${t.toString()}" does not exists`);
|
121
|
-
return yield i.sendUnsubscribeRequest(), this._subscriptions.delete(t), t;
|
122
|
-
});
|
123
|
-
}
|
124
|
-
/**
|
125
|
-
* Will unsubscribe all subscriptions that fulfill the condition
|
126
|
-
*
|
127
|
-
* @param condition - A function that access and `id` and a `subscription` and return `true` or `false`
|
128
|
-
* @returns An array of all the un-subscribed subscriptions
|
129
|
-
*/
|
130
|
-
unsubscribe(i) {
|
131
|
-
return p(this, void 0, void 0, function* () {
|
132
|
-
const t = [];
|
133
|
-
for (const [s, r] of this.subscriptions.entries())
|
134
|
-
(!i || typeof i == "function" && i({ id: s, sub: r })) && t.push(this.removeSubscription(r));
|
135
|
-
return Promise.all(t);
|
136
|
-
});
|
137
|
-
}
|
138
|
-
/**
|
139
|
-
* Clears all subscriptions
|
140
|
-
*/
|
141
|
-
clear() {
|
142
|
-
this._subscriptions.clear();
|
143
|
-
}
|
144
|
-
/**
|
145
|
-
* Check whether the current provider supports subscriptions.
|
146
|
-
*
|
147
|
-
* @returns `true` or `false` depending on if the current provider supports subscriptions
|
148
|
-
*/
|
149
|
-
supportsSubscriptions() {
|
150
|
-
return a(this.requestManager.provider) ? !1 : S(this.requestManager.provider);
|
151
|
-
}
|
152
|
-
}
|
153
|
-
export {
|
154
|
-
T as Web3SubscriptionManager
|
155
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");const b=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const _=require("./web3_subscription_manager.cjs"),v=require("./web3_event_emitter.cjs"),f=require("../../../web3-utils/lib/esm/json_rpc.cjs");var u=function(d,i,r,e){function n(t){return t instanceof r?t:new r(function(o){o(t)})}return new(r||(r=Promise))(function(t,o){function h(s){try{c(e.next(s))}catch(a){o(a)}}function l(s){try{c(e.throw(s))}catch(a){o(a)}}function c(s){s.done?t(s.value):n(s.value).then(h,l)}c((e=e.apply(d,i||[])).next())})};class m extends v.Web3EventEmitter{constructor(i,r){var e;super(),this.args=i;const{requestManager:n}=r,{subscriptionManager:t}=r;if(n&&t)throw new b.SubscriptionError("Only requestManager or subscriptionManager should be provided at Subscription constructor");if(!n&&!t)throw new b.SubscriptionError("Either requestManager or subscriptionManager should be provided at Subscription constructor");n?this._subscriptionManager=new _.Web3SubscriptionManager(n,{},!0):this._subscriptionManager=t,this._returnFormat=(e=r==null?void 0:r.returnFormat)!==null&&e!==void 0?e:p.DEFAULT_RETURN_FORMAT}get id(){return this._id}get lastBlock(){return this._lastBlock}subscribe(){return u(this,void 0,void 0,function*(){return this._subscriptionManager.addSubscription(this)})}processSubscriptionData(i){var r,e;i!=null&&i.data?this._processSubscriptionResult((e=(r=i==null?void 0:i.data)===null||r===void 0?void 0:r.result)!==null&&e!==void 0?e:i==null?void 0:i.data):i&&f.isResponseWithNotification(i)&&this._processSubscriptionResult(i==null?void 0:i.params.result)}sendSubscriptionRequest(){return u(this,void 0,void 0,function*(){return this._id=yield this._subscriptionManager.requestManager.send({method:"eth_subscribe",params:this._buildSubscriptionParams()}),this.emit("connected",this._id),this._id})}get returnFormat(){return this._returnFormat}get subscriptionManager(){return this._subscriptionManager}resubscribe(){return u(this,void 0,void 0,function*(){yield this.unsubscribe(),yield this.subscribe()})}unsubscribe(){return u(this,void 0,void 0,function*(){this.id&&(yield this._subscriptionManager.removeSubscription(this))})}sendUnsubscribeRequest(){return u(this,void 0,void 0,function*(){yield this._subscriptionManager.requestManager.send({method:"eth_unsubscribe",params:[this.id]}),this._id=void 0})}formatSubscriptionResult(i){return i}_processSubscriptionResult(i){this.emit("data",this.formatSubscriptionResult(i))}_processSubscriptionError(i){this.emit("error",i)}_buildSubscriptionParams(){throw new Error("Implement in the child class")}}exports.Web3Subscription=m;
|
@@ -1,111 +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 { SubscriptionError as b } from "../../../web3-errors/lib/esm/errors/provider_errors.js";
|
5
|
-
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
6
|
-
import { Web3SubscriptionManager as m } from "./web3_subscription_manager.js";
|
7
|
-
import { Web3EventEmitter as f } from "./web3_event_emitter.js";
|
8
|
-
import { isResponseWithNotification as _ } from "../../../web3-utils/lib/esm/json_rpc.js";
|
9
|
-
var o = function(a, i, r, t) {
|
10
|
-
function n(s) {
|
11
|
-
return s instanceof r ? s : new r(function(u) {
|
12
|
-
u(s);
|
13
|
-
});
|
14
|
-
}
|
15
|
-
return new (r || (r = Promise))(function(s, u) {
|
16
|
-
function h(e) {
|
17
|
-
try {
|
18
|
-
c(t.next(e));
|
19
|
-
} catch (d) {
|
20
|
-
u(d);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function p(e) {
|
24
|
-
try {
|
25
|
-
c(t.throw(e));
|
26
|
-
} catch (d) {
|
27
|
-
u(d);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
function c(e) {
|
31
|
-
e.done ? s(e.value) : n(e.value).then(h, p);
|
32
|
-
}
|
33
|
-
c((t = t.apply(a, i || [])).next());
|
34
|
-
});
|
35
|
-
};
|
36
|
-
class q extends f {
|
37
|
-
constructor(i, r) {
|
38
|
-
var t;
|
39
|
-
super(), this.args = i;
|
40
|
-
const { requestManager: n } = r, { subscriptionManager: s } = r;
|
41
|
-
if (n && s)
|
42
|
-
throw new b("Only requestManager or subscriptionManager should be provided at Subscription constructor");
|
43
|
-
if (!n && !s)
|
44
|
-
throw new b("Either requestManager or subscriptionManager should be provided at Subscription constructor");
|
45
|
-
n ? this._subscriptionManager = new m(n, {}, !0) : this._subscriptionManager = s, this._returnFormat = (t = r == null ? void 0 : r.returnFormat) !== null && t !== void 0 ? t : l;
|
46
|
-
}
|
47
|
-
get id() {
|
48
|
-
return this._id;
|
49
|
-
}
|
50
|
-
get lastBlock() {
|
51
|
-
return this._lastBlock;
|
52
|
-
}
|
53
|
-
subscribe() {
|
54
|
-
return o(this, void 0, void 0, function* () {
|
55
|
-
return this._subscriptionManager.addSubscription(this);
|
56
|
-
});
|
57
|
-
}
|
58
|
-
processSubscriptionData(i) {
|
59
|
-
var r, t;
|
60
|
-
i != null && i.data ? this._processSubscriptionResult((t = (r = i == null ? void 0 : i.data) === null || r === void 0 ? void 0 : r.result) !== null && t !== void 0 ? t : i == null ? void 0 : i.data) : i && _(i) && this._processSubscriptionResult(i == null ? void 0 : i.params.result);
|
61
|
-
}
|
62
|
-
sendSubscriptionRequest() {
|
63
|
-
return o(this, void 0, void 0, function* () {
|
64
|
-
return this._id = yield this._subscriptionManager.requestManager.send({
|
65
|
-
method: "eth_subscribe",
|
66
|
-
params: this._buildSubscriptionParams()
|
67
|
-
}), this.emit("connected", this._id), this._id;
|
68
|
-
});
|
69
|
-
}
|
70
|
-
get returnFormat() {
|
71
|
-
return this._returnFormat;
|
72
|
-
}
|
73
|
-
get subscriptionManager() {
|
74
|
-
return this._subscriptionManager;
|
75
|
-
}
|
76
|
-
resubscribe() {
|
77
|
-
return o(this, void 0, void 0, function* () {
|
78
|
-
yield this.unsubscribe(), yield this.subscribe();
|
79
|
-
});
|
80
|
-
}
|
81
|
-
unsubscribe() {
|
82
|
-
return o(this, void 0, void 0, function* () {
|
83
|
-
this.id && (yield this._subscriptionManager.removeSubscription(this));
|
84
|
-
});
|
85
|
-
}
|
86
|
-
sendUnsubscribeRequest() {
|
87
|
-
return o(this, void 0, void 0, function* () {
|
88
|
-
yield this._subscriptionManager.requestManager.send({
|
89
|
-
method: "eth_unsubscribe",
|
90
|
-
params: [this.id]
|
91
|
-
}), this._id = void 0;
|
92
|
-
});
|
93
|
-
}
|
94
|
-
// eslint-disable-next-line class-methods-use-this
|
95
|
-
formatSubscriptionResult(i) {
|
96
|
-
return i;
|
97
|
-
}
|
98
|
-
_processSubscriptionResult(i) {
|
99
|
-
this.emit("data", this.formatSubscriptionResult(i));
|
100
|
-
}
|
101
|
-
_processSubscriptionError(i) {
|
102
|
-
this.emit("error", i);
|
103
|
-
}
|
104
|
-
// eslint-disable-next-line class-methods-use-this
|
105
|
-
_buildSubscriptionParams() {
|
106
|
-
throw new Error("Implement in the child class");
|
107
|
-
}
|
108
|
-
}
|
109
|
-
export {
|
110
|
-
q as Web3Subscription
|
111
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=100,_=101,E=201,I=202,N=203,T=204,A=205,O=206,S=207,D=208,C=300,L=301,P=310,t=311,o=400,c=402,n=405,s=407,V=408,M=410,U=411,X=412,G=413,H=414,B=415,K=416,F=417,Y=418,J=419,W=420,Q=421,e=422,r=423,Z=424,i=425,l=426,u=427,a=428,b=429,d=430,g=431,y=432,f=433,j=434,m=435,p=436,v=437,h=438,k=439,q=440,w=441,x=500,z=503,$=505,RR=506,_R=507,ER=600,IR=602,NR=603,TR=604,AR=701,OR=702,SR=703,DR=704,CR=705,LR=706,PR=707,tR=709,oR=801,cR=802,nR=4001,sR=4100,VR=4200,MR=4900,UR=4901,XR=902,GR=903,HR=1001,BR=1002,KR=1003,FR=1004,YR=1005,JR=1006,WR=1008,QR=1009,eR=1010,rR=1011,ZR=1012,iR=1014,lR=1015,uR=1100,aR=1101,bR=1200,dR=-32700,gR=-32600,yR=-32601,fR=-32602,jR=-32603,mR=-32e3,pR=-32001,vR=-32002,hR=-32003,kR=-32004,qR=-32005,wR=-32006;exports.ERR_ABI_ENCODING=A;exports.ERR_CONN=x;exports.ERR_CONN_MAX_ATTEMPTS=$;exports.ERR_CONN_NOT_OPEN=z;exports.ERR_CONN_PENDING_REQUESTS=RR;exports.ERR_CONTRACT=C;exports.ERR_CONTRACT_EXECUTION_REVERTED=P;exports.ERR_CONTRACT_RESOLVER_MISSING=L;exports.ERR_CONTRACT_TX_DATA_AND_INPUT=t;exports.ERR_CORE_HARDFORK_MISMATCH=aR;exports.ERR_ENS_NETWORK_NOT_SYNCED=GR;exports.ERR_ENS_UNSUPPORTED_NETWORK=XR;exports.ERR_EXISTING_PLUGIN_NAMESPACE=O;exports.ERR_FORMATTERS=E;exports.ERR_INVALID_ADDRESS=YR;exports.ERR_INVALID_BLOCK=ZR;exports.ERR_INVALID_BOOLEAN=WR;exports.ERR_INVALID_BYTES=BR;exports.ERR_INVALID_CLIENT=IR;exports.ERR_INVALID_HEX=JR;exports.ERR_INVALID_INTEGER=lR;exports.ERR_INVALID_LARGE_VALUE=rR;exports.ERR_INVALID_METHOD_PARAMS=S;exports.ERR_INVALID_NIBBLE_WIDTH=iR;exports.ERR_INVALID_NUMBER=KR;exports.ERR_INVALID_PASSWORD=LR;exports.ERR_INVALID_PRIVATE_KEY=OR;exports.ERR_INVALID_RESPONSE=_;exports.ERR_INVALID_SIGNATURE=cR;exports.ERR_INVALID_SIZE=eR;exports.ERR_INVALID_STRING=HR;exports.ERR_INVALID_UNIT=FR;exports.ERR_INVALID_UNSIGNED_INTEGER=QR;exports.ERR_IV_LENGTH=PR;exports.ERR_KEY_DERIVATION_FAIL=DR;exports.ERR_KEY_VERSION_UNSUPPORTED=CR;exports.ERR_METHOD_NOT_IMPLEMENTED=I;exports.ERR_MULTIPLE_ERRORS=D;exports.ERR_OPERATION_ABORT=T;exports.ERR_OPERATION_TIMEOUT=N;exports.ERR_PBKDF2_ITERATIONS=tR;exports.ERR_PRIVATE_KEY_LENGTH=AR;exports.ERR_PROVIDER=ER;exports.ERR_RAW_TX_UNDEFINED=s;exports.ERR_REQ_ALREADY_SENT=_R;exports.ERR_RESPONSE=R;exports.ERR_RPC_INTERNAL_ERROR=jR;exports.ERR_RPC_INVALID_INPUT=mR;exports.ERR_RPC_INVALID_JSON=dR;exports.ERR_RPC_INVALID_METHOD=yR;exports.ERR_RPC_INVALID_PARAMS=fR;exports.ERR_RPC_INVALID_REQUEST=gR;exports.ERR_RPC_LIMIT_EXCEEDED=qR;exports.ERR_RPC_MISSING_RESOURCE=pR;exports.ERR_RPC_NOT_SUPPORTED=wR;exports.ERR_RPC_TRANSACTION_REJECTED=hR;exports.ERR_RPC_UNAVAILABLE_RESOURCE=vR;exports.ERR_RPC_UNSUPPORTED_METHOD=kR;exports.ERR_SCHEMA_FORMAT=bR;exports.ERR_SIGNATURE_FAILED=oR;exports.ERR_SUBSCRIPTION=NR;exports.ERR_TX=o;exports.ERR_TX_BLOCK_TIMEOUT=y;exports.ERR_TX_CHAIN_ID_MISMATCH=X;exports.ERR_TX_CHAIN_MISMATCH=m;exports.ERR_TX_DATA_AND_INPUT=i;exports.ERR_TX_GAS_MISMATCH=j;exports.ERR_TX_GAS_MISMATCH_INNER_ERROR=w;exports.ERR_TX_HARDFORK_MISMATCH=p;exports.ERR_TX_INVALID_CHAIN_INFO=G;exports.ERR_TX_INVALID_FEE_MARKET_GAS=F;exports.ERR_TX_INVALID_FEE_MARKET_GAS_PRICE=Y;exports.ERR_TX_INVALID_LEGACY_FEE_MARKET=J;exports.ERR_TX_INVALID_LEGACY_GAS=K;exports.ERR_TX_INVALID_NONCE_OR_CHAIN_ID=Q;exports.ERR_TX_INVALID_OBJECT=W;exports.ERR_TX_INVALID_PROPERTIES_FOR_TYPE=k;exports.ERR_TX_INVALID_RECEIVER=v;exports.ERR_TX_INVALID_SENDER=V;exports.ERR_TX_LOCAL_WALLET_NOT_AVAILABLE=b;exports.ERR_TX_MISSING_CHAIN_INFO=H;exports.ERR_TX_MISSING_CUSTOM_CHAIN=M;exports.ERR_TX_MISSING_CUSTOM_CHAIN_ID=U;exports.ERR_TX_MISSING_GAS=B;exports.ERR_TX_MISSING_GAS_INNER_ERROR=q;exports.ERR_TX_NOT_FOUND=d;exports.ERR_TX_POLLING_TIMEOUT=l;exports.ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER=a;exports.ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL=u;exports.ERR_TX_REVERT_TRANSACTION=c;exports.ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR=h;exports.ERR_TX_REVERT_WITHOUT_REASON=n;exports.ERR_TX_SEND_TIMEOUT=g;exports.ERR_TX_SIGNING=f;exports.ERR_TX_UNABLE_TO_POPULATE_NONCE=e;exports.ERR_TX_UNSUPPORTED_EIP_1559=r;exports.ERR_TX_UNSUPPORTED_TYPE=Z;exports.ERR_UNSUPPORTED_KDF=SR;exports.ERR_VALIDATION=uR;exports.ERR_WS_PROVIDER=TR;exports.JSONRPC_ERR_CHAIN_DISCONNECTED=UR;exports.JSONRPC_ERR_DISCONNECTED=MR;exports.JSONRPC_ERR_REJECTED_REQUEST=nR;exports.JSONRPC_ERR_UNAUTHORIZED=sR;exports.JSONRPC_ERR_UNSUPPORTED_METHOD=VR;
|