@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 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../../ethereum-cryptography/esm/keccak.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const S=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const m=require("../../../../@ethereumjs/rlp/dist/index.cjs"),x=require("./constants.cjs"),d=require("./utils.cjs"),i=require("../common/utils.cjs"),L=require("./baseTransaction.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),y=require("../../../../web3-utils/lib/esm/uint8array.cjs"),A=1,I=v.hexToBytes(A.toString(16).padStart(2,"0"));class o extends L.BaseTransaction{constructor(t,e={}){var s;super(Object.assign(Object.assign({},t),{type:A}),e),this.DEFAULT_HARDFORK="berlin";const{chainId:n,accessList:r,gasPrice:a}=t;if(this.common=this._getCommon(e.common,n),this.chainId=this.common.chainId(),!this.common.isActivatedEIP(2930))throw new Error("EIP-2930 not enabled on Common");this.activeCapabilities=this.activeCapabilities.concat([2718,2930]);const c=d.getAccessListData(r??[]);if(this.accessList=c.accessList,this.AccessListJSON=c.AccessListJSON,d.verifyAccessList(this.accessList),this.gasPrice=i.uint8ArrayToBigInt(i.toUint8Array(a===""?"0x":a)),this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),L.BaseTransaction._validateNotArray(t),this.gasPrice*this.gasLimit>x.MAX_INTEGER){const u=this._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");throw new Error(u)}this._validateYParity(),this._validateHighS(),((s=e==null?void 0:e.freeze)!==null&&s!==void 0?s:!0)&&Object.freeze(this)}static fromTxData(t,e={}){return new o(t,e)}static fromSerializedTx(t,e={}){if(!y.uint8ArrayEquals(t.subarray(0,1),I))throw new Error(`Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ${A}, received: ${v.bytesToHex(t.subarray(0,1))}`);const s=m.RLP.decode(Uint8Array.from(t.subarray(1)));if(!Array.isArray(s))throw new Error("Invalid serialized tx input: must be array");return o.fromValuesArray(s,e)}static fromValuesArray(t,e={}){if(t.length!==8&&t.length!==11)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");const[s,n,r,a,c,g,u,l,h,T,b]=t;this._validateNotArray({chainId:s,v:h}),S.validateNoLeadingZeroes({nonce:n,gasPrice:r,gasLimit:a,value:g,v:h,r:T,s:b});const U=[];return new o({chainId:i.uint8ArrayToBigInt(s),nonce:n,gasPrice:r,gasLimit:a,to:c,value:g,data:u,accessList:l??U,v:h!==void 0?i.uint8ArrayToBigInt(h):void 0,r:T,s:b},e)}getDataFee(){if(this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork())return this.cache.dataFee.value;let t=super.getDataFee();return t+=BigInt(d.getDataFeeEIP2930(this.accessList,this.common)),Object.isFrozen(this)&&(this.cache.dataFee={value:t,hardfork:this.common.hardfork()}),t}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}raw(){return[i.bigIntToUnpaddedUint8Array(this.chainId),i.bigIntToUnpaddedUint8Array(this.nonce),i.bigIntToUnpaddedUint8Array(this.gasPrice),i.bigIntToUnpaddedUint8Array(this.gasLimit),this.to!==void 0?this.to.buf:Uint8Array.from([]),i.bigIntToUnpaddedUint8Array(this.value),this.data,this.accessList,this.v!==void 0?i.bigIntToUnpaddedUint8Array(this.v):Uint8Array.from([]),this.r!==void 0?i.bigIntToUnpaddedUint8Array(this.r):Uint8Array.from([]),this.s!==void 0?i.bigIntToUnpaddedUint8Array(this.s):Uint8Array.from([])]}serialize(){const t=this.raw();return y.uint8ArrayConcat(I,m.RLP.encode(t))}getMessageToSign(t=!0){const e=this.raw().slice(0,8),s=y.uint8ArrayConcat(I,m.RLP.encode(e));return t?f.keccak256(s):s}hash(){if(!this.isSigned()){const t=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(t)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=f.keccak256(this.serialize())),this.cache.hash):f.keccak256(this.serialize())}getMessageToVerifySignature(){return this.getMessageToSign()}getSenderPublicKey(){if(!this.isSigned()){const r=this._errorMsg("Cannot call this method if transaction is not signed");throw new Error(r)}const t=this.getMessageToVerifySignature(),{v:e,r:s,s:n}=this;this._validateHighS();try{return i.ecrecover(t,e+BigInt(27),i.bigIntToUnpaddedUint8Array(s),i.bigIntToUnpaddedUint8Array(n))}catch{const a=this._errorMsg("Invalid Signature");throw new Error(a)}}_processSignature(t,e,s){const n=Object.assign(Object.assign({},this.txOptions),{common:this.common});return o.fromTxData({chainId:this.chainId,nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:t-BigInt(27),r:i.uint8ArrayToBigInt(e),s:i.uint8ArrayToBigInt(s)},n)}toJSON(){const t=d.getAccessListJSON(this.accessList);return{chainId:i.bigIntToHex(this.chainId),nonce:i.bigIntToHex(this.nonce),gasPrice:i.bigIntToHex(this.gasPrice),gasLimit:i.bigIntToHex(this.gasLimit),to:this.to!==void 0?this.to.toString():void 0,value:i.bigIntToHex(this.value),data:v.bytesToHex(this.data),accessList:t,v:this.v!==void 0?i.bigIntToHex(this.v):void 0,r:this.r!==void 0?i.bigIntToHex(this.r):void 0,s:this.s!==void 0?i.bigIntToHex(this.s):void 0}}errorStr(){var t,e;let s=this._getSharedErrorPostfix();return s+=` gasPrice=${this.gasPrice} accessListCount=${(e=(t=this.accessList)===null||t===void 0?void 0:t.length)!==null&&e!==void 0?e:0}`,s}_errorMsg(t){return`${t} (${this.errorStr()})`}}exports.AccessListEIP2930Transaction=o;
|
@@ -1,268 +0,0 @@
|
|
1
|
-
import { keccak256 as l } from "../../../../ethereum-cryptography/esm/keccak.js";
|
2
|
-
import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
3
|
-
import "../../../../web3-validator/lib/esm/formats.js";
|
4
|
-
import { validateNoLeadingZeroes as w } from "../../../../web3-validator/lib/esm/validation/string.js";
|
5
|
-
import "../../../../web3-validator/lib/esm/default_validator.js";
|
6
|
-
import "../../../../web3-types/lib/esm/data_format_types.js";
|
7
|
-
import "../../../../web3-types/lib/esm/eth_types.js";
|
8
|
-
import "../../../../web3-types/lib/esm/web3_base_provider.js";
|
9
|
-
import { RLP as v } from "../../../../@ethereumjs/rlp/dist/index.js";
|
10
|
-
import { MAX_INTEGER as E } from "./constants.js";
|
11
|
-
import { getAccessListData as T, verifyAccessList as x, getDataFeeEIP2930 as _, getAccessListJSON as O } from "./utils.js";
|
12
|
-
import { uint8ArrayToBigInt as c, toUint8Array as N, bigIntToUnpaddedUint8Array as e, ecrecover as C, bigIntToHex as n } from "../common/utils.js";
|
13
|
-
import { BaseTransaction as I } from "./baseTransaction.js";
|
14
|
-
import { hexToBytes as M, bytesToHex as S } from "../../../../web3-utils/lib/esm/converters.js";
|
15
|
-
import { uint8ArrayEquals as F, uint8ArrayConcat as b } from "../../../../web3-utils/lib/esm/uint8array.js";
|
16
|
-
const L = 1, y = M(L.toString(16).padStart(2, "0"));
|
17
|
-
class h extends I {
|
18
|
-
/**
|
19
|
-
* This constructor takes the values, validates them, assigns them and freezes the object.
|
20
|
-
*
|
21
|
-
* It is not recommended to use this constructor directly. Instead use
|
22
|
-
* the static factory methods to assist in creating a Transaction object from
|
23
|
-
* varying data types.
|
24
|
-
*/
|
25
|
-
constructor(t, i = {}) {
|
26
|
-
var s;
|
27
|
-
super(Object.assign(Object.assign({}, t), { type: L }), i), this.DEFAULT_HARDFORK = "berlin";
|
28
|
-
const { chainId: a, accessList: r, gasPrice: o } = t;
|
29
|
-
if (this.common = this._getCommon(i.common, a), this.chainId = this.common.chainId(), !this.common.isActivatedEIP(2930))
|
30
|
-
throw new Error("EIP-2930 not enabled on Common");
|
31
|
-
this.activeCapabilities = this.activeCapabilities.concat([2718, 2930]);
|
32
|
-
const d = T(r ?? []);
|
33
|
-
if (this.accessList = d.accessList, this.AccessListJSON = d.AccessListJSON, x(this.accessList), this.gasPrice = c(N(o === "" ? "0x" : o)), this._validateCannotExceedMaxInteger({
|
34
|
-
gasPrice: this.gasPrice
|
35
|
-
}), I._validateNotArray(t), this.gasPrice * this.gasLimit > E) {
|
36
|
-
const u = this._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");
|
37
|
-
throw new Error(u);
|
38
|
-
}
|
39
|
-
this._validateYParity(), this._validateHighS(), ((s = i == null ? void 0 : i.freeze) !== null && s !== void 0 ? s : !0) && Object.freeze(this);
|
40
|
-
}
|
41
|
-
/**
|
42
|
-
* Instantiate a transaction from a data dictionary.
|
43
|
-
*
|
44
|
-
* Format: { chainId, nonce, gasPrice, gasLimit, to, value, data, accessList,
|
45
|
-
* v, r, s }
|
46
|
-
*
|
47
|
-
* Notes:
|
48
|
-
* - `chainId` will be set automatically if not provided
|
49
|
-
* - All parameters are optional and have some basic default values
|
50
|
-
*/
|
51
|
-
static fromTxData(t, i = {}) {
|
52
|
-
return new h(t, i);
|
53
|
-
}
|
54
|
-
/**
|
55
|
-
* Instantiate a transaction from the serialized tx.
|
56
|
-
*
|
57
|
-
* Format: `0x01 || rlp([chainId, nonce, gasPrice, gasLimit, to, value, data, accessList,
|
58
|
-
* signatureYParity (v), signatureR (r), signatureS (s)])`
|
59
|
-
*/
|
60
|
-
static fromSerializedTx(t, i = {}) {
|
61
|
-
if (!F(t.subarray(0, 1), y))
|
62
|
-
throw new Error(`Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ${L}, received: ${S(t.subarray(0, 1))}`);
|
63
|
-
const s = v.decode(Uint8Array.from(t.subarray(1)));
|
64
|
-
if (!Array.isArray(s))
|
65
|
-
throw new Error("Invalid serialized tx input: must be array");
|
66
|
-
return h.fromValuesArray(s, i);
|
67
|
-
}
|
68
|
-
/**
|
69
|
-
* Create a transaction from a values array.
|
70
|
-
*
|
71
|
-
* Format: `[chainId, nonce, gasPrice, gasLimit, to, value, data, accessList,
|
72
|
-
* signatureYParity (v), signatureR (r), signatureS (s)]`
|
73
|
-
*/
|
74
|
-
static fromValuesArray(t, i = {}) {
|
75
|
-
if (t.length !== 8 && t.length !== 11)
|
76
|
-
throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");
|
77
|
-
const [s, a, r, o, d, m, u, f, g, A, p] = t;
|
78
|
-
this._validateNotArray({ chainId: s, v: g }), w({ nonce: a, gasPrice: r, gasLimit: o, value: m, v: g, r: A, s: p });
|
79
|
-
const P = [];
|
80
|
-
return new h({
|
81
|
-
chainId: c(s),
|
82
|
-
nonce: a,
|
83
|
-
gasPrice: r,
|
84
|
-
gasLimit: o,
|
85
|
-
to: d,
|
86
|
-
value: m,
|
87
|
-
data: u,
|
88
|
-
accessList: f ?? P,
|
89
|
-
v: g !== void 0 ? c(g) : void 0,
|
90
|
-
r: A,
|
91
|
-
s: p
|
92
|
-
}, i);
|
93
|
-
}
|
94
|
-
/**
|
95
|
-
* The amount of gas paid for the data in this tx
|
96
|
-
*/
|
97
|
-
getDataFee() {
|
98
|
-
if (this.cache.dataFee && this.cache.dataFee.hardfork === this.common.hardfork())
|
99
|
-
return this.cache.dataFee.value;
|
100
|
-
let t = super.getDataFee();
|
101
|
-
return t += BigInt(_(this.accessList, this.common)), Object.isFrozen(this) && (this.cache.dataFee = {
|
102
|
-
value: t,
|
103
|
-
hardfork: this.common.hardfork()
|
104
|
-
}), t;
|
105
|
-
}
|
106
|
-
/**
|
107
|
-
* The up front amount that an account must have for this transaction to be valid
|
108
|
-
*/
|
109
|
-
getUpfrontCost() {
|
110
|
-
return this.gasLimit * this.gasPrice + this.value;
|
111
|
-
}
|
112
|
-
/**
|
113
|
-
* Returns a Uint8Array Array of the raw Uint8Arrays of the EIP-2930 transaction, in order.
|
114
|
-
*
|
115
|
-
* Format: `[chainId, nonce, gasPrice, gasLimit, to, value, data, accessList,
|
116
|
-
* signatureYParity (v), signatureR (r), signatureS (s)]`
|
117
|
-
*
|
118
|
-
* Use {@link AccessListEIP2930Transaction.serialize} to add a transaction to a block
|
119
|
-
* with {@link Block.fromValuesArray}.
|
120
|
-
*
|
121
|
-
* For an unsigned tx this method uses the empty UINT8ARRAY values for the
|
122
|
-
* signature parameters `v`, `r` and `s` for encoding. For an EIP-155 compliant
|
123
|
-
* representation for external signing use {@link AccessListEIP2930Transaction.getMessageToSign}.
|
124
|
-
*/
|
125
|
-
raw() {
|
126
|
-
return [
|
127
|
-
e(this.chainId),
|
128
|
-
e(this.nonce),
|
129
|
-
e(this.gasPrice),
|
130
|
-
e(this.gasLimit),
|
131
|
-
this.to !== void 0 ? this.to.buf : Uint8Array.from([]),
|
132
|
-
e(this.value),
|
133
|
-
this.data,
|
134
|
-
this.accessList,
|
135
|
-
this.v !== void 0 ? e(this.v) : Uint8Array.from([]),
|
136
|
-
this.r !== void 0 ? e(this.r) : Uint8Array.from([]),
|
137
|
-
this.s !== void 0 ? e(this.s) : Uint8Array.from([])
|
138
|
-
];
|
139
|
-
}
|
140
|
-
/**
|
141
|
-
* Returns the serialized encoding of the EIP-2930 transaction.
|
142
|
-
*
|
143
|
-
* Format: `0x01 || rlp([chainId, nonce, gasPrice, gasLimit, to, value, data, accessList,
|
144
|
-
* signatureYParity (v), signatureR (r), signatureS (s)])`
|
145
|
-
*
|
146
|
-
* Note that in contrast to the legacy tx serialization format this is not
|
147
|
-
* valid RLP any more due to the raw tx type preceding and concatenated to
|
148
|
-
* the RLP encoding of the values.
|
149
|
-
*/
|
150
|
-
serialize() {
|
151
|
-
const t = this.raw();
|
152
|
-
return b(y, v.encode(t));
|
153
|
-
}
|
154
|
-
/**
|
155
|
-
* Returns the serialized unsigned tx (hashed or raw), which can be used
|
156
|
-
* to sign the transaction (e.g. for sending to a hardware wallet).
|
157
|
-
*
|
158
|
-
* Note: in contrast to the legacy tx the raw message format is already
|
159
|
-
* serialized and doesn't need to be RLP encoded any more.
|
160
|
-
*
|
161
|
-
* ```javascript
|
162
|
-
* const serializedMessage = tx.getMessageToSign(false) // use this for the HW wallet input
|
163
|
-
* ```
|
164
|
-
*
|
165
|
-
* @param hashMessage - Return hashed message if set to true (default: true)
|
166
|
-
*/
|
167
|
-
getMessageToSign(t = !0) {
|
168
|
-
const i = this.raw().slice(0, 8), s = b(y, v.encode(i));
|
169
|
-
return t ? l(s) : s;
|
170
|
-
}
|
171
|
-
/**
|
172
|
-
* Computes a sha3-256 hash of the serialized tx.
|
173
|
-
*
|
174
|
-
* This method can only be used for signed txs (it throws otherwise).
|
175
|
-
* Use {@link AccessListEIP2930Transaction.getMessageToSign} to get a tx hash for the purpose of signing.
|
176
|
-
*/
|
177
|
-
hash() {
|
178
|
-
if (!this.isSigned()) {
|
179
|
-
const t = this._errorMsg("Cannot call hash method if transaction is not signed");
|
180
|
-
throw new Error(t);
|
181
|
-
}
|
182
|
-
return Object.isFrozen(this) ? (this.cache.hash || (this.cache.hash = l(this.serialize())), this.cache.hash) : l(this.serialize());
|
183
|
-
}
|
184
|
-
/**
|
185
|
-
* Computes a sha3-256 hash which can be used to verify the signature
|
186
|
-
*/
|
187
|
-
getMessageToVerifySignature() {
|
188
|
-
return this.getMessageToSign();
|
189
|
-
}
|
190
|
-
/**
|
191
|
-
* Returns the public key of the sender
|
192
|
-
*/
|
193
|
-
getSenderPublicKey() {
|
194
|
-
if (!this.isSigned()) {
|
195
|
-
const r = this._errorMsg("Cannot call this method if transaction is not signed");
|
196
|
-
throw new Error(r);
|
197
|
-
}
|
198
|
-
const t = this.getMessageToVerifySignature(), { v: i, r: s, s: a } = this;
|
199
|
-
this._validateHighS();
|
200
|
-
try {
|
201
|
-
return C(
|
202
|
-
t,
|
203
|
-
i + BigInt(27),
|
204
|
-
// Recover the 27 which was stripped from ecsign
|
205
|
-
e(s),
|
206
|
-
e(a)
|
207
|
-
);
|
208
|
-
} catch {
|
209
|
-
const o = this._errorMsg("Invalid Signature");
|
210
|
-
throw new Error(o);
|
211
|
-
}
|
212
|
-
}
|
213
|
-
_processSignature(t, i, s) {
|
214
|
-
const a = Object.assign(Object.assign({}, this.txOptions), { common: this.common });
|
215
|
-
return h.fromTxData({
|
216
|
-
chainId: this.chainId,
|
217
|
-
nonce: this.nonce,
|
218
|
-
gasPrice: this.gasPrice,
|
219
|
-
gasLimit: this.gasLimit,
|
220
|
-
to: this.to,
|
221
|
-
value: this.value,
|
222
|
-
data: this.data,
|
223
|
-
accessList: this.accessList,
|
224
|
-
v: t - BigInt(27),
|
225
|
-
r: c(i),
|
226
|
-
s: c(s)
|
227
|
-
}, a);
|
228
|
-
}
|
229
|
-
/**
|
230
|
-
* Returns an object with the JSON representation of the transaction
|
231
|
-
*/
|
232
|
-
toJSON() {
|
233
|
-
const t = O(this.accessList);
|
234
|
-
return {
|
235
|
-
chainId: n(this.chainId),
|
236
|
-
nonce: n(this.nonce),
|
237
|
-
gasPrice: n(this.gasPrice),
|
238
|
-
gasLimit: n(this.gasLimit),
|
239
|
-
to: this.to !== void 0 ? this.to.toString() : void 0,
|
240
|
-
value: n(this.value),
|
241
|
-
data: S(this.data),
|
242
|
-
accessList: t,
|
243
|
-
v: this.v !== void 0 ? n(this.v) : void 0,
|
244
|
-
r: this.r !== void 0 ? n(this.r) : void 0,
|
245
|
-
s: this.s !== void 0 ? n(this.s) : void 0
|
246
|
-
};
|
247
|
-
}
|
248
|
-
/**
|
249
|
-
* Return a compact error string representation of the object
|
250
|
-
*/
|
251
|
-
errorStr() {
|
252
|
-
var t, i;
|
253
|
-
let s = this._getSharedErrorPostfix();
|
254
|
-
return s += ` gasPrice=${this.gasPrice} accessListCount=${(i = (t = this.accessList) === null || t === void 0 ? void 0 : t.length) !== null && i !== void 0 ? i : 0}`, s;
|
255
|
-
}
|
256
|
-
/**
|
257
|
-
* Internal helper function to create an annotated error message
|
258
|
-
*
|
259
|
-
* @param msg Base error message
|
260
|
-
* @hidden
|
261
|
-
*/
|
262
|
-
_errorMsg(t) {
|
263
|
-
return `${t} (${this.errorStr()})`;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
export {
|
267
|
-
h as AccessListEIP2930Transaction
|
268
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../@ethereumjs/rlp/dist/index.cjs"),d=require("../../../../ethereum-cryptography/esm/keccak.cjs");require("../../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../web3-validator/lib/esm/formats.cjs");const b=require("../../../../web3-validator/lib/esm/validation/string.cjs");require("../../../../web3-validator/lib/esm/default_validator.cjs");require("../../../../web3-types/lib/esm/data_format_types.cjs");require("../../../../web3-types/lib/esm/eth_types.cjs");require("../../../../web3-types/lib/esm/web3_base_provider.cjs");const i=require("../common/utils.cjs"),T=require("./constants.cjs"),y=require("./baseTransaction.cjs"),o=require("./types.cjs"),v=require("../../../../web3-utils/lib/esm/converters.cjs"),P=0;function I(m,t){const e=Number(m),n=Number(t)*2;return e===n+35||e===n+36}class h extends y.BaseTransaction{constructor(t,e={}){var n;if(super(Object.assign(Object.assign({},t),{type:P}),e),this.common=this._validateTxV(this.v,e.common),this.gasPrice=i.uint8ArrayToBigInt(i.toUint8Array(t.gasPrice===""?"0x":t.gasPrice)),this.gasPrice*this.gasLimit>T.MAX_INTEGER){const s=this._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");throw new Error(s)}this._validateCannotExceedMaxInteger({gasPrice:this.gasPrice}),y.BaseTransaction._validateNotArray(t),this.common.gteHardfork("spuriousDragon")&&(this.isSigned()?I(this.v,this.common.chainId())&&this.activeCapabilities.push(o.Capability.EIP155ReplayProtection):this.activeCapabilities.push(o.Capability.EIP155ReplayProtection)),((n=e==null?void 0:e.freeze)!==null&&n!==void 0?n:!0)&&Object.freeze(this)}static fromTxData(t,e={}){return new h(t,e)}static fromSerializedTx(t,e={}){const n=a.RLP.decode(t);if(!Array.isArray(n))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(n,e)}static fromValuesArray(t,e={}){if(t.length!==6&&t.length!==9)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");const[n,r,s,c,g,p,u,f,l]=t;return b.validateNoLeadingZeroes({nonce:n,gasPrice:r,gasLimit:s,value:g,v:u,r:f,s:l}),new h({nonce:n,gasPrice:r,gasLimit:s,to:c,value:g,data:p,v:u,r:f,s:l},e)}raw(){return[i.bigIntToUnpaddedUint8Array(this.nonce),i.bigIntToUnpaddedUint8Array(this.gasPrice),i.bigIntToUnpaddedUint8Array(this.gasLimit),this.to!==void 0?this.to.buf:Uint8Array.from([]),i.bigIntToUnpaddedUint8Array(this.value),this.data,this.v!==void 0?i.bigIntToUnpaddedUint8Array(this.v):Uint8Array.from([]),this.r!==void 0?i.bigIntToUnpaddedUint8Array(this.r):Uint8Array.from([]),this.s!==void 0?i.bigIntToUnpaddedUint8Array(this.s):Uint8Array.from([])]}serialize(){return a.RLP.encode(this.raw())}_getMessageToSign(){const t=[i.bigIntToUnpaddedUint8Array(this.nonce),i.bigIntToUnpaddedUint8Array(this.gasPrice),i.bigIntToUnpaddedUint8Array(this.gasLimit),this.to!==void 0?this.to.buf:Uint8Array.from([]),i.bigIntToUnpaddedUint8Array(this.value),this.data];return this.supports(o.Capability.EIP155ReplayProtection)&&(t.push(i.toUint8Array(this.common.chainId())),t.push(i.unpadUint8Array(i.toUint8Array(0))),t.push(i.unpadUint8Array(i.toUint8Array(0)))),t}getMessageToSign(t=!0){const e=this._getMessageToSign();return t?d.keccak256(a.RLP.encode(e)):e}getDataFee(){return this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork()?this.cache.dataFee.value:(Object.isFrozen(this)&&(this.cache.dataFee={value:super.getDataFee(),hardfork:this.common.hardfork()}),super.getDataFee())}getUpfrontCost(){return this.gasLimit*this.gasPrice+this.value}hash(){if(!this.isSigned()){const t=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(t)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=d.keccak256(a.RLP.encode(this.raw()))),this.cache.hash):d.keccak256(a.RLP.encode(this.raw()))}getMessageToVerifySignature(){if(!this.isSigned()){const e=this._errorMsg("This transaction is not signed");throw new Error(e)}const t=this._getMessageToSign();return d.keccak256(a.RLP.encode(t))}getSenderPublicKey(){const t=this.getMessageToVerifySignature(),{v:e,r:n,s:r}=this;this._validateHighS();try{return i.ecrecover(t,e,i.bigIntToUnpaddedUint8Array(n),i.bigIntToUnpaddedUint8Array(r),this.supports(o.Capability.EIP155ReplayProtection)?this.common.chainId():void 0)}catch{const c=this._errorMsg("Invalid Signature");throw new Error(c)}}_processSignature(t,e,n){let r=t;this.supports(o.Capability.EIP155ReplayProtection)&&(r+=this.common.chainId()*BigInt(2)+BigInt(8));const s=Object.assign(Object.assign({},this.txOptions),{common:this.common});return h.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:r,r:i.uint8ArrayToBigInt(e),s:i.uint8ArrayToBigInt(n)},s)}toJSON(){return{nonce:i.bigIntToHex(this.nonce),gasPrice:i.bigIntToHex(this.gasPrice),gasLimit:i.bigIntToHex(this.gasLimit),to:this.to!==void 0?this.to.toString():void 0,value:i.bigIntToHex(this.value),data:v.bytesToHex(this.data),v:this.v!==void 0?i.bigIntToHex(this.v):void 0,r:this.r!==void 0?i.bigIntToHex(this.r):void 0,s:this.s!==void 0?i.bigIntToHex(this.s):void 0}}_validateTxV(t,e){let n;const r=t!==void 0?Number(t):void 0;if(r!==void 0&&r<37&&r!==27&&r!==28)throw new Error(`Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ${r}`);if(r!==void 0&&r!==0&&(!e||e.gteHardfork("spuriousDragon"))&&r!==27&&r!==28)if(e){if(!I(BigInt(r),e.chainId()))throw new Error(`Incompatible EIP155-based V ${r} and chain id ${e.chainId()}. See the Common parameter of the Transaction constructor to set the chain id.`)}else{let s;(r-35)%2===0?s=35:s=36,n=BigInt(r-s)/BigInt(2)}return this._getCommon(e,n)}errorStr(){let t=this._getSharedErrorPostfix();return t+=` gasPrice=${this.gasPrice}`,t}_errorMsg(t){return`${t} (${this.errorStr()})`}}exports.Transaction=h;
|
@@ -1,256 +0,0 @@
|
|
1
|
-
import { RLP as o } from "../../../../@ethereumjs/rlp/dist/index.js";
|
2
|
-
import { keccak256 as c } from "../../../../ethereum-cryptography/esm/keccak.js";
|
3
|
-
import "../../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
4
|
-
import "../../../../web3-validator/lib/esm/formats.js";
|
5
|
-
import { validateNoLeadingZeroes as S } from "../../../../web3-validator/lib/esm/validation/string.js";
|
6
|
-
import "../../../../web3-validator/lib/esm/default_validator.js";
|
7
|
-
import "../../../../web3-types/lib/esm/data_format_types.js";
|
8
|
-
import "../../../../web3-types/lib/esm/eth_types.js";
|
9
|
-
import "../../../../web3-types/lib/esm/web3_base_provider.js";
|
10
|
-
import { uint8ArrayToBigInt as f, toUint8Array as d, bigIntToUnpaddedUint8Array as s, unpadUint8Array as P, ecrecover as w, bigIntToHex as a } from "../common/utils.js";
|
11
|
-
import { MAX_INTEGER as T } from "./constants.js";
|
12
|
-
import { BaseTransaction as I } from "./baseTransaction.js";
|
13
|
-
import { Capability as h } from "./types.js";
|
14
|
-
import { bytesToHex as A } from "../../../../web3-utils/lib/esm/converters.js";
|
15
|
-
const x = 0;
|
16
|
-
function y(b, t) {
|
17
|
-
const e = Number(b), r = Number(t) * 2;
|
18
|
-
return e === r + 35 || e === r + 36;
|
19
|
-
}
|
20
|
-
class g extends I {
|
21
|
-
/**
|
22
|
-
* This constructor takes the values, validates them, assigns them and freezes the object.
|
23
|
-
*
|
24
|
-
* It is not recommended to use this constructor directly. Instead use
|
25
|
-
* the static factory methods to assist in creating a Transaction object from
|
26
|
-
* varying data types.
|
27
|
-
*/
|
28
|
-
constructor(t, e = {}) {
|
29
|
-
var r;
|
30
|
-
if (super(Object.assign(Object.assign({}, t), { type: x }), e), this.common = this._validateTxV(this.v, e.common), this.gasPrice = f(d(t.gasPrice === "" ? "0x" : t.gasPrice)), this.gasPrice * this.gasLimit > T) {
|
31
|
-
const n = this._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");
|
32
|
-
throw new Error(n);
|
33
|
-
}
|
34
|
-
this._validateCannotExceedMaxInteger({ gasPrice: this.gasPrice }), I._validateNotArray(t), this.common.gteHardfork("spuriousDragon") && (this.isSigned() ? y(this.v, this.common.chainId()) && this.activeCapabilities.push(h.EIP155ReplayProtection) : this.activeCapabilities.push(h.EIP155ReplayProtection)), ((r = e == null ? void 0 : e.freeze) !== null && r !== void 0 ? r : !0) && Object.freeze(this);
|
35
|
-
}
|
36
|
-
/**
|
37
|
-
* Instantiate a transaction from a data dictionary.
|
38
|
-
*
|
39
|
-
* Format: { nonce, gasPrice, gasLimit, to, value, data, v, r, s }
|
40
|
-
*
|
41
|
-
* Notes:
|
42
|
-
* - All parameters are optional and have some basic default values
|
43
|
-
*/
|
44
|
-
static fromTxData(t, e = {}) {
|
45
|
-
return new g(t, e);
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* Instantiate a transaction from the serialized tx.
|
49
|
-
*
|
50
|
-
* Format: `rlp([nonce, gasPrice, gasLimit, to, value, data, v, r, s])`
|
51
|
-
*/
|
52
|
-
static fromSerializedTx(t, e = {}) {
|
53
|
-
const r = o.decode(t);
|
54
|
-
if (!Array.isArray(r))
|
55
|
-
throw new Error("Invalid serialized tx input. Must be array");
|
56
|
-
return this.fromValuesArray(r, e);
|
57
|
-
}
|
58
|
-
/**
|
59
|
-
* Create a transaction from a values array.
|
60
|
-
*
|
61
|
-
* Format: `[nonce, gasPrice, gasLimit, to, value, data, v, r, s]`
|
62
|
-
*/
|
63
|
-
static fromValuesArray(t, e = {}) {
|
64
|
-
if (t.length !== 6 && t.length !== 9)
|
65
|
-
throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");
|
66
|
-
const [r, i, n, u, m, E, l, p, v] = t;
|
67
|
-
return S({ nonce: r, gasPrice: i, gasLimit: n, value: m, v: l, r: p, s: v }), new g({
|
68
|
-
nonce: r,
|
69
|
-
gasPrice: i,
|
70
|
-
gasLimit: n,
|
71
|
-
to: u,
|
72
|
-
value: m,
|
73
|
-
data: E,
|
74
|
-
v: l,
|
75
|
-
r: p,
|
76
|
-
s: v
|
77
|
-
}, e);
|
78
|
-
}
|
79
|
-
/**
|
80
|
-
* Returns a Uint8Array Array of the raw Uint8Arrays of the legacy transaction, in order.
|
81
|
-
*
|
82
|
-
* Format: `[nonce, gasPrice, gasLimit, to, value, data, v, r, s]`
|
83
|
-
*
|
84
|
-
* For legacy txs this is also the correct format to add transactions
|
85
|
-
* to a block with {@link Block.fromValuesArray} (use the `serialize()` method
|
86
|
-
* for typed txs).
|
87
|
-
*
|
88
|
-
* For an unsigned tx this method returns the empty Uint8Array values
|
89
|
-
* for the signature parameters `v`, `r` and `s`. For an EIP-155 compliant
|
90
|
-
* representation have a look at {@link Transaction.getMessageToSign}.
|
91
|
-
*/
|
92
|
-
raw() {
|
93
|
-
return [
|
94
|
-
s(this.nonce),
|
95
|
-
s(this.gasPrice),
|
96
|
-
s(this.gasLimit),
|
97
|
-
this.to !== void 0 ? this.to.buf : Uint8Array.from([]),
|
98
|
-
s(this.value),
|
99
|
-
this.data,
|
100
|
-
this.v !== void 0 ? s(this.v) : Uint8Array.from([]),
|
101
|
-
this.r !== void 0 ? s(this.r) : Uint8Array.from([]),
|
102
|
-
this.s !== void 0 ? s(this.s) : Uint8Array.from([])
|
103
|
-
];
|
104
|
-
}
|
105
|
-
/**
|
106
|
-
* Returns the serialized encoding of the legacy transaction.
|
107
|
-
*
|
108
|
-
* Format: `rlp([nonce, gasPrice, gasLimit, to, value, data, v, r, s])`
|
109
|
-
*
|
110
|
-
* For an unsigned tx this method uses the empty Uint8Array values for the
|
111
|
-
* signature parameters `v`, `r` and `s` for encoding. For an EIP-155 compliant
|
112
|
-
* representation for external signing use {@link Transaction.getMessageToSign}.
|
113
|
-
*/
|
114
|
-
serialize() {
|
115
|
-
return o.encode(this.raw());
|
116
|
-
}
|
117
|
-
_getMessageToSign() {
|
118
|
-
const t = [
|
119
|
-
s(this.nonce),
|
120
|
-
s(this.gasPrice),
|
121
|
-
s(this.gasLimit),
|
122
|
-
this.to !== void 0 ? this.to.buf : Uint8Array.from([]),
|
123
|
-
s(this.value),
|
124
|
-
this.data
|
125
|
-
];
|
126
|
-
return this.supports(h.EIP155ReplayProtection) && (t.push(d(this.common.chainId())), t.push(P(d(0))), t.push(P(d(0)))), t;
|
127
|
-
}
|
128
|
-
getMessageToSign(t = !0) {
|
129
|
-
const e = this._getMessageToSign();
|
130
|
-
return t ? c(o.encode(e)) : e;
|
131
|
-
}
|
132
|
-
/**
|
133
|
-
* The amount of gas paid for the data in this tx
|
134
|
-
*/
|
135
|
-
getDataFee() {
|
136
|
-
return this.cache.dataFee && this.cache.dataFee.hardfork === this.common.hardfork() ? this.cache.dataFee.value : (Object.isFrozen(this) && (this.cache.dataFee = {
|
137
|
-
value: super.getDataFee(),
|
138
|
-
hardfork: this.common.hardfork()
|
139
|
-
}), super.getDataFee());
|
140
|
-
}
|
141
|
-
/**
|
142
|
-
* The up front amount that an account must have for this transaction to be valid
|
143
|
-
*/
|
144
|
-
getUpfrontCost() {
|
145
|
-
return this.gasLimit * this.gasPrice + this.value;
|
146
|
-
}
|
147
|
-
/**
|
148
|
-
* Computes a sha3-256 hash of the serialized tx.
|
149
|
-
*
|
150
|
-
* This method can only be used for signed txs (it throws otherwise).
|
151
|
-
* Use {@link Transaction.getMessageToSign} to get a tx hash for the purpose of signing.
|
152
|
-
*/
|
153
|
-
hash() {
|
154
|
-
if (!this.isSigned()) {
|
155
|
-
const t = this._errorMsg("Cannot call hash method if transaction is not signed");
|
156
|
-
throw new Error(t);
|
157
|
-
}
|
158
|
-
return Object.isFrozen(this) ? (this.cache.hash || (this.cache.hash = c(o.encode(this.raw()))), this.cache.hash) : c(o.encode(this.raw()));
|
159
|
-
}
|
160
|
-
/**
|
161
|
-
* Computes a sha3-256 hash which can be used to verify the signature
|
162
|
-
*/
|
163
|
-
getMessageToVerifySignature() {
|
164
|
-
if (!this.isSigned()) {
|
165
|
-
const e = this._errorMsg("This transaction is not signed");
|
166
|
-
throw new Error(e);
|
167
|
-
}
|
168
|
-
const t = this._getMessageToSign();
|
169
|
-
return c(o.encode(t));
|
170
|
-
}
|
171
|
-
/**
|
172
|
-
* Returns the public key of the sender
|
173
|
-
*/
|
174
|
-
getSenderPublicKey() {
|
175
|
-
const t = this.getMessageToVerifySignature(), { v: e, r, s: i } = this;
|
176
|
-
this._validateHighS();
|
177
|
-
try {
|
178
|
-
return w(t, e, s(r), s(i), this.supports(h.EIP155ReplayProtection) ? this.common.chainId() : void 0);
|
179
|
-
} catch {
|
180
|
-
const u = this._errorMsg("Invalid Signature");
|
181
|
-
throw new Error(u);
|
182
|
-
}
|
183
|
-
}
|
184
|
-
/**
|
185
|
-
* Process the v, r, s values from the `sign` method of the base transaction.
|
186
|
-
*/
|
187
|
-
_processSignature(t, e, r) {
|
188
|
-
let i = t;
|
189
|
-
this.supports(h.EIP155ReplayProtection) && (i += this.common.chainId() * BigInt(2) + BigInt(8));
|
190
|
-
const n = Object.assign(Object.assign({}, this.txOptions), { common: this.common });
|
191
|
-
return g.fromTxData({
|
192
|
-
nonce: this.nonce,
|
193
|
-
gasPrice: this.gasPrice,
|
194
|
-
gasLimit: this.gasLimit,
|
195
|
-
to: this.to,
|
196
|
-
value: this.value,
|
197
|
-
data: this.data,
|
198
|
-
v: i,
|
199
|
-
r: f(e),
|
200
|
-
s: f(r)
|
201
|
-
}, n);
|
202
|
-
}
|
203
|
-
/**
|
204
|
-
* Returns an object with the JSON representation of the transaction.
|
205
|
-
*/
|
206
|
-
toJSON() {
|
207
|
-
return {
|
208
|
-
nonce: a(this.nonce),
|
209
|
-
gasPrice: a(this.gasPrice),
|
210
|
-
gasLimit: a(this.gasLimit),
|
211
|
-
to: this.to !== void 0 ? this.to.toString() : void 0,
|
212
|
-
value: a(this.value),
|
213
|
-
data: A(this.data),
|
214
|
-
v: this.v !== void 0 ? a(this.v) : void 0,
|
215
|
-
r: this.r !== void 0 ? a(this.r) : void 0,
|
216
|
-
s: this.s !== void 0 ? a(this.s) : void 0
|
217
|
-
};
|
218
|
-
}
|
219
|
-
/**
|
220
|
-
* Validates tx's `v` value
|
221
|
-
*/
|
222
|
-
_validateTxV(t, e) {
|
223
|
-
let r;
|
224
|
-
const i = t !== void 0 ? Number(t) : void 0;
|
225
|
-
if (i !== void 0 && i < 37 && i !== 27 && i !== 28)
|
226
|
-
throw new Error(`Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ${i}`);
|
227
|
-
if (i !== void 0 && i !== 0 && (!e || e.gteHardfork("spuriousDragon")) && i !== 27 && i !== 28)
|
228
|
-
if (e) {
|
229
|
-
if (!y(BigInt(i), e.chainId()))
|
230
|
-
throw new Error(`Incompatible EIP155-based V ${i} and chain id ${e.chainId()}. See the Common parameter of the Transaction constructor to set the chain id.`);
|
231
|
-
} else {
|
232
|
-
let n;
|
233
|
-
(i - 35) % 2 === 0 ? n = 35 : n = 36, r = BigInt(i - n) / BigInt(2);
|
234
|
-
}
|
235
|
-
return this._getCommon(e, r);
|
236
|
-
}
|
237
|
-
/**
|
238
|
-
* Return a compact error string representation of the object
|
239
|
-
*/
|
240
|
-
errorStr() {
|
241
|
-
let t = this._getSharedErrorPostfix();
|
242
|
-
return t += ` gasPrice=${this.gasPrice}`, t;
|
243
|
-
}
|
244
|
-
/**
|
245
|
-
* Internal helper function to create an annotated error message
|
246
|
-
*
|
247
|
-
* @param msg Base error message
|
248
|
-
* @hidden
|
249
|
-
*/
|
250
|
-
_errorMsg(t) {
|
251
|
-
return `${t} (${this.errorStr()})`;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
export {
|
255
|
-
g as Transaction
|
256
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../common/utils.cjs"),c=require("./eip1559Transaction.cjs"),T=require("./eip2930Transaction.cjs"),i=require("./legacyTransaction.cjs"),u=require("../../../../web3-utils/lib/esm/uint8array.cjs"),a=new Map;class o{constructor(){}static typeToInt(r){return Number(s.uint8ArrayToBigInt(s.toUint8Array(r)))}static registerTransactionType(r,e){const n=o.typeToInt(r);a.set(n,e)}static fromTxData(r,e={}){if(!("type"in r)||r.type===void 0)return i.Transaction.fromTxData(r,e);const n=o.typeToInt(r.type);if(n===0)return i.Transaction.fromTxData(r,e);if(n===1)return T.AccessListEIP2930Transaction.fromTxData(r,e);if(n===2)return c.FeeMarketEIP1559Transaction.fromTxData(r,e);const t=a.get(n);if(t!=null&&t.fromTxData)return t.fromTxData(r,e);throw new Error(`Tx instantiation with type ${n} not supported`)}static fromSerializedData(r,e={}){if(r[0]<=127)switch(r[0]){case 1:return T.AccessListEIP2930Transaction.fromSerializedTx(r,e);case 2:return c.FeeMarketEIP1559Transaction.fromSerializedTx(r,e);default:{const n=a.get(Number(r[0]));if(n!=null&&n.fromSerializedTx)return n.fromSerializedTx(r,e);throw new Error(`TypedTransaction with ID ${r[0]} unknown`)}}else return i.Transaction.fromSerializedTx(r,e)}static fromBlockBodyData(r,e={}){if(u.isUint8Array(r))return this.fromSerializedData(r,e);if(Array.isArray(r))return i.Transaction.fromValuesArray(r,e);throw new Error("Cannot decode transaction: unknown type input")}}exports.TransactionFactory=o;
|
@@ -1,90 +0,0 @@
|
|
1
|
-
import { uint8ArrayToBigInt as m, toUint8Array as s } from "../common/utils.js";
|
2
|
-
import { FeeMarketEIP1559Transaction as a } from "./eip1559Transaction.js";
|
3
|
-
import { AccessListEIP2930Transaction as T } from "./eip2930Transaction.js";
|
4
|
-
import { Transaction as t } from "./legacyTransaction.js";
|
5
|
-
import { isUint8Array as c } from "../../../../web3-utils/lib/esm/uint8array.js";
|
6
|
-
const n = /* @__PURE__ */ new Map();
|
7
|
-
class f {
|
8
|
-
// It is not possible to instantiate a TransactionFactory object.
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function, no-useless-constructor
|
10
|
-
constructor() {
|
11
|
-
}
|
12
|
-
static typeToInt(r) {
|
13
|
-
return Number(m(s(r)));
|
14
|
-
}
|
15
|
-
static registerTransactionType(r, e) {
|
16
|
-
const o = f.typeToInt(r);
|
17
|
-
n.set(o, e);
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* Create a transaction from a `txData` object
|
21
|
-
*
|
22
|
-
* @param txData - The transaction data. The `type` field will determine which transaction type is returned (if undefined, creates a legacy transaction)
|
23
|
-
* @param txOptions - Options to pass on to the constructor of the transaction
|
24
|
-
*/
|
25
|
-
static fromTxData(r, e = {}) {
|
26
|
-
if (!("type" in r) || r.type === void 0)
|
27
|
-
return t.fromTxData(r, e);
|
28
|
-
const o = f.typeToInt(r.type);
|
29
|
-
if (o === 0)
|
30
|
-
return t.fromTxData(r, e);
|
31
|
-
if (o === 1)
|
32
|
-
return T.fromTxData(
|
33
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
34
|
-
r,
|
35
|
-
e
|
36
|
-
);
|
37
|
-
if (o === 2)
|
38
|
-
return a.fromTxData(
|
39
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
40
|
-
r,
|
41
|
-
e
|
42
|
-
);
|
43
|
-
const i = n.get(o);
|
44
|
-
if (i != null && i.fromTxData)
|
45
|
-
return i.fromTxData(r, e);
|
46
|
-
throw new Error(`Tx instantiation with type ${o} not supported`);
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* This method tries to decode serialized data.
|
50
|
-
*
|
51
|
-
* @param data - The data Uint8Array
|
52
|
-
* @param txOptions - The transaction options
|
53
|
-
*/
|
54
|
-
static fromSerializedData(r, e = {}) {
|
55
|
-
if (r[0] <= 127)
|
56
|
-
switch (r[0]) {
|
57
|
-
case 1:
|
58
|
-
return T.fromSerializedTx(r, e);
|
59
|
-
case 2:
|
60
|
-
return a.fromSerializedTx(r, e);
|
61
|
-
default: {
|
62
|
-
const o = n.get(Number(r[0]));
|
63
|
-
if (o != null && o.fromSerializedTx)
|
64
|
-
return o.fromSerializedTx(r, e);
|
65
|
-
throw new Error(`TypedTransaction with ID ${r[0]} unknown`);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
else
|
69
|
-
return t.fromSerializedTx(r, e);
|
70
|
-
}
|
71
|
-
/**
|
72
|
-
* When decoding a BlockBody, in the transactions field, a field is either:
|
73
|
-
* A Uint8Array (a TypedTransaction - encoded as TransactionType || rlp(TransactionPayload))
|
74
|
-
* A Uint8Array[] (Legacy Transaction)
|
75
|
-
* This method returns the right transaction.
|
76
|
-
*
|
77
|
-
* @param data - A Uint8Array or Uint8Array[]
|
78
|
-
* @param txOptions - The transaction options
|
79
|
-
*/
|
80
|
-
static fromBlockBodyData(r, e = {}) {
|
81
|
-
if (c(r))
|
82
|
-
return this.fromSerializedData(r, e);
|
83
|
-
if (Array.isArray(r))
|
84
|
-
return t.fromValuesArray(r, e);
|
85
|
-
throw new Error("Cannot decode transaction: unknown type input");
|
86
|
-
}
|
87
|
-
}
|
88
|
-
export {
|
89
|
-
f as TransactionFactory
|
90
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.Capability=void 0;(function(e){e[e.EIP155ReplayProtection=155]="EIP155ReplayProtection",e[e.EIP1559FeeMarket=1559]="EIP1559FeeMarket",e[e.EIP2718TypedTransaction=2718]="EIP2718TypedTransaction",e[e.EIP2930AccessLists=2930]="EIP2930AccessLists"})(exports.Capability||(exports.Capability={}));function s(e){if(e.length===0)return!0;const t=e[0];return!!Array.isArray(t)}function r(e){return!s(e)}exports.isAccessList=r;exports.isAccessListUint8Array=s;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
var r;
|
2
|
-
(function(e) {
|
3
|
-
e[e.EIP155ReplayProtection = 155] = "EIP155ReplayProtection", e[e.EIP1559FeeMarket = 1559] = "EIP1559FeeMarket", e[e.EIP2718TypedTransaction = 2718] = "EIP2718TypedTransaction", e[e.EIP2930AccessLists = 2930] = "EIP2930AccessLists";
|
4
|
-
})(r || (r = {}));
|
5
|
-
function t(e) {
|
6
|
-
if (e.length === 0)
|
7
|
-
return !0;
|
8
|
-
const s = e[0];
|
9
|
-
return !!Array.isArray(s);
|
10
|
-
}
|
11
|
-
function n(e) {
|
12
|
-
return !t(e);
|
13
|
-
}
|
14
|
-
export {
|
15
|
-
r as Capability,
|
16
|
-
n as isAccessList,
|
17
|
-
t as isAccessListUint8Array
|
18
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../common/utils.cjs"),h=require("./types.cjs"),g=require("../../../../web3-utils/lib/esm/converters.cjs"),y=(e,s)=>{const t=e.param("vm","maxInitCodeSize");if(t&&BigInt(s)>t)throw new Error(`the initcode size of this transaction is too large: it is ${s} while the max is ${e.param("vm","maxInitCodeSize")}`)},u=e=>{let s,t;if(h.isAccessList(e)){s=e;const n=[];for(let o=0;o<e.length;o+=1){const r=e[o],a=l.toUint8Array(r.address),i=[];for(let c=0;c<r.storageKeys.length;c+=1)i.push(l.toUint8Array(r.storageKeys[c]));n.push([a,i])}t=n}else{t=e??[];const n=[];for(let o=0;o<t.length;o+=1){const r=t[o],a=g.bytesToHex(r[0]),i=[];for(let d=0;d<r[1].length;d+=1)i.push(g.bytesToHex(r[1][d]));const c={address:a,storageKeys:i};n.push(c)}s=n}return{AccessListJSON:s,accessList:t}},f=e=>{for(let s=0;s<e.length;s+=1){const t=e[s],n=t[0],o=t[1];if(t[2]!==void 0)throw new Error("Access list item cannot have 3 elements. It can only have an address, and an array of storage slots.");if(n.length!==20)throw new Error("Invalid EIP-2930 transaction: address length should be 20 bytes");for(let r=0;r<o.length;r+=1)if(o[r].length!==32)throw new Error("Invalid EIP-2930 transaction: storage slot length should be 32 bytes")}},m=e=>{const s=[];for(let t=0;t<e.length;t+=1){const n=e[t],o={address:g.bytesToHex(l.setLengthLeft(n[0],20)),storageKeys:[]},r=n&&n[1];for(let a=0;a<r.length;a+=1){const i=r[a];o.storageKeys.push(g.bytesToHex(l.setLengthLeft(i,32)))}s.push(o)}return s},S=(e,s)=>{const t=s.param("gasPrices","accessListStorageKeyCost"),n=s.param("gasPrices","accessListAddressCost");let o=0;for(let a=0;a<e.length;a+=1){const c=e[a][1];o+=c.length}return e.length*Number(n)+o*Number(t)};exports.checkMaxInitCodeSize=y;exports.getAccessListData=u;exports.getAccessListJSON=m;exports.getDataFeeEIP2930=S;exports.verifyAccessList=f;
|