@ozdao/prometheus-framework 0.2.41 → 0.2.43
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +9 -0
- package/dist/events.server.mjs +9 -0
- package/dist/files.server.js +4 -1
- package/dist/files.server.mjs +4 -1
- package/dist/main-Ft_OvlW_.mjs +13606 -0
- package/dist/main-iZBAe91V.js +91 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.cjs +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +52 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
- package/dist/node_modules/@capacitor/core/dist/index.cjs +1 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +337 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
- package/dist/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/main.css.js +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
- package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +4912 -0
- package/dist/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/node_modules/axios/lib/adapters/xhr.cjs +1 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +109 -0
- package/dist/node_modules/axios/lib/axios.cjs +1 -0
- package/dist/node_modules/axios/lib/axios.js +47 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +73 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/axios/lib/core/Axios.cjs +2 -0
- package/dist/node_modules/axios/lib/core/Axios.js +131 -0
- package/dist/node_modules/axios/lib/core/AxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +72 -0
- package/dist/node_modules/axios/lib/core/settle.cjs +1 -0
- package/dist/node_modules/axios/lib/core/settle.js +14 -0
- package/dist/node_modules/axios/lib/core/transformData.cjs +1 -0
- package/dist/node_modules/axios/lib/core/transformData.js +13 -0
- package/dist/node_modules/axios/lib/defaults/index.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/index.js +88 -0
- package/dist/node_modules/axios/lib/defaults/transitional.cjs +1 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/axios/lib/env/data.cjs +1 -0
- package/dist/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/node_modules/axios/lib/helpers/bind.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/axios/lib/helpers/cookies.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +32 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/dist/node_modules/axios/lib/helpers/null.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/node_modules/axios/lib/helpers/spread.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +84 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/node_modules/axios/lib/helpers/validator.cjs +1 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +51 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.cjs +1 -0
- package/dist/node_modules/axios/lib/utils.js +224 -0
- package/dist/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +8 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/assign/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultLocale/index.js +4 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/defaultOptions/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/formatters/index.js +573 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +58 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +76 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/protectedTokens/index.js +22 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/requiredArgs/index.js +7 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCDay/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +12 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/_lib/toInteger/index.js +9 -0
- package/dist/node_modules/date-fns/esm/add/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/add/index.js +15 -0
- package/dist/node_modules/date-fns/esm/addDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addMonths/index.js +18 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addQuarters/index.js +11 -0
- package/dist/node_modules/date-fns/esm/addYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/addYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/constants/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/constants/index.js +6 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/differenceInCalendarDays/index.js +12 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachDayOfInterval/index.js +20 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/eachQuarterOfInterval/index.js +18 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/endOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/format/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/format/index.js +62 -0
- package/dist/node_modules/date-fns/esm/getDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getDaysInMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getHours/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getISOWeekYear/index.js +15 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMinutes/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getMonth/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getSeconds/index.js +10 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeek/index.js +13 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getWeekYear/index.js +21 -0
- package/dist/node_modules/date-fns/esm/getYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/getYear/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isAfter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isBefore/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isDate/index.js +8 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isEqual/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isSameQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/isValid/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/isValid/index.js +12 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +9 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +17 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +31 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +20 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +70 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +34 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +14 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +124 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +89 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/locale/en-US/index.js +21 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Parser.js +27 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/Setter.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/constants.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js +80 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js +54 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js +33 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js +36 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js +49 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js +89 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js +46 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js +50 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js +61 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js +48 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js +90 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js +76 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js +35 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js +59 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/parsers/index.js +67 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/_lib/utils.js +102 -0
- package/dist/node_modules/date-fns/esm/parse/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parse/index.js +128 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/parseISO/index.js +120 -0
- package/dist/node_modules/date-fns/esm/set/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/set/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setHours/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setHours/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMinutes/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setMonth/index.js +14 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setSeconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/setYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/setYear/index.js +11 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfDay/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeek/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfISOWeekYear/index.js +13 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfQuarter/index.js +10 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeek/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfWeekYear/index.js +16 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/startOfYear/index.js +10 -0
- package/dist/node_modules/date-fns/esm/sub/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/sub/index.js +14 -0
- package/dist/node_modules/date-fns/esm/subDays/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subDays/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMilliseconds/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subMonths/index.js +11 -0
- package/dist/node_modules/date-fns/esm/subYears/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/subYears/index.js +11 -0
- package/dist/node_modules/date-fns/esm/toDate/index.cjs +1 -0
- package/dist/node_modules/date-fns/esm/toDate/index.js +10 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
- package/dist/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/ParseError.js +113 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/PhoneNumber.js +150 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/constants.js +10 -0
- package/dist/node_modules/libphonenumber-js/es6/format.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/format.js +134 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +11 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +18 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +47 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +22 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +35 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +31 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +23 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +27 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +17 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +58 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +56 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +14 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isObject.js +7 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +20 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +6 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +43 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +79 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +19 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isPossible.js +38 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/isValid.js +12 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +460 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/normalizeArguments.js +96 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parse.js +121 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -0
- package/dist/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +53 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +9 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +33 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +41 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/es6/tools/semver-compare.js +18 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +8 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +1 -0
- package/dist/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +8 -0
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +1 -4
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +26 -28
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -46
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
- 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 +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 +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +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 +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +19 -18
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +123 -79
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +65 -56
- 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 +67 -53
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +48 -37
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +71 -57
- 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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +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/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +20 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.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/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -19
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +30 -27
- 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/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.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/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +75 -77
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -36
- package/dist/prometheus-framework.es.js +37 -9149
- package/dist/style.css +1 -1
- package/dist/web-Ot-Nyiix.mjs +55 -0
- package/dist/web-tkW-RBhL.js +1 -0
- package/package.json +2 -2
- package/src/components/Status/Status.vue +3 -1
- package/src/components/index.js +20 -0
- package/src/main.js +60 -2
- package/src/modules/payments/{controller → controllers}/payments.controller.js +15 -11
- package/src/modules/products/products.client.js +35 -0
- package/src/modules/wallet/components/pages/Wallet.vue +3 -3
- /package/src/modules/payments/{controller → controllers}/payments.tinkoff.controller.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const f=require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const l=require("../../../web3-eth-accounts/lib/esm/wallet.cjs"),r=require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const T=require("../../../web3-utils/lib/esm/formatter.cjs");var v=function(y,s,c,a){function q(u){return u instanceof c?u:new c(function(e){e(u)})}return new(c||(c=Promise))(function(u,e){function t(i){try{o(a.next(i))}catch(d){e(d)}}function n(i){try{o(a.throw(i))}catch(d){e(d)}}function o(i){i.done?u(i.value):q(i.value).then(t,n)}o((a=a.apply(y,s||[])).next())})};const g=y=>{const s=(e,t)=>v(void 0,void 0,void 0,function*(){const n=yield f.prepareTransactionForSigning(e,y),o=T.format({format:"bytes"},t,p.ETH_DATA_FORMAT);return r.signTransaction(n,o)}),c=e=>{const t=r.privateKeyToAccount(e);return Object.assign(Object.assign({},t),{signTransaction:n=>v(void 0,void 0,void 0,function*(){return s(n,t.privateKey)})})},a=(e,t,n)=>v(void 0,void 0,void 0,function*(){var o;const i=yield r.decrypt(e,t,(o=n==null?void 0:n.nonStrict)!==null&&o!==void 0?o:!0);return Object.assign(Object.assign({},i),{signTransaction:d=>v(void 0,void 0,void 0,function*(){return s(d,i.privateKey)})})}),q=()=>{const e=r.create();return Object.assign(Object.assign({},e),{signTransaction:t=>v(void 0,void 0,void 0,function*(){return s(t,e.privateKey)})})},u=new l.Wallet({create:q,privateKeyToAccount:c,decrypt:a});return{signTransaction:s,create:q,privateKeyToAccount:c,decrypt:a,recoverTransaction:r.recoverTransaction,hashMessage:r.hashMessage,sign:r.sign,recover:r.recover,encrypt:r.encrypt,wallet:u,privateKeyToAddress:r.privateKeyToAddress,parseAndValidatePrivateKey:r.parseAndValidatePrivateKey,privateKeyToPublicKey:r.privateKeyToPublicKey}};exports.initAccountsForContext=g;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ETH_DATA_FORMAT as
|
1
|
+
import { ETH_DATA_FORMAT as v } from "../../../web3-types/lib/esm/data_format_types.js";
|
2
2
|
import "../../../web3-types/lib/esm/eth_types.js";
|
3
3
|
import "../../../web3-types/lib/esm/web3_base_provider.js";
|
4
4
|
import "../../../setimmediate/setImmediate.js";
|
@@ -10,7 +10,7 @@ import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
|
|
10
10
|
import "../../../web3-eth/lib/esm/schemas.js";
|
11
11
|
import "../../../web3-eth/lib/esm/constants.js";
|
12
12
|
import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
|
13
|
-
import { prepareTransactionForSigning as
|
13
|
+
import { prepareTransactionForSigning as f } from "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
|
14
14
|
import "../../../web3-core/lib/esm/web3_config.js";
|
15
15
|
import "../../../web3-core/lib/esm/web3_request_manager.js";
|
16
16
|
import "../../../web3-core/lib/esm/web3_subscription_manager.js";
|
@@ -20,8 +20,8 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
|
|
20
20
|
import "../../../web3-eth-iban/lib/esm/iban.js";
|
21
21
|
import "../../../web3-core/lib/esm/web3_promi_event.js";
|
22
22
|
import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
|
23
|
-
import { Wallet as
|
24
|
-
import { recoverTransaction as T, hashMessage as l, sign as g, recover as
|
23
|
+
import { Wallet as y } from "../../../web3-eth-accounts/lib/esm/wallet.js";
|
24
|
+
import { recoverTransaction as T, hashMessage as l, sign as g, recover as K, encrypt as h, privateKeyToAddress as A, parseAndValidatePrivateKey as x, privateKeyToPublicKey as b, signTransaction as w, privateKeyToAccount as O, decrypt as _, create as j } from "../../../web3-eth-accounts/lib/esm/account.js";
|
25
25
|
import "../../../crc-32/crc32.js";
|
26
26
|
import "../../../web3-eth-accounts/lib/esm/common/types.js";
|
27
27
|
import "../../../web3-eth-accounts/lib/esm/tx/constants.js";
|
@@ -31,72 +31,72 @@ import "../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
|
|
31
31
|
import "../../../@ethereumjs/rlp/dist/index.js";
|
32
32
|
import "../../../web3-eth-accounts/lib/esm/tx/types.js";
|
33
33
|
import { format as C } from "../../../web3-utils/lib/esm/formatter.js";
|
34
|
-
var m =
|
35
|
-
function
|
34
|
+
var m = function(u, p, e, c) {
|
35
|
+
function d(a) {
|
36
36
|
return a instanceof e ? a : new e(function(t) {
|
37
37
|
t(a);
|
38
38
|
});
|
39
39
|
}
|
40
40
|
return new (e || (e = Promise))(function(a, t) {
|
41
|
-
function o
|
41
|
+
function i(o) {
|
42
42
|
try {
|
43
|
-
|
43
|
+
r(c.next(o));
|
44
44
|
} catch (s) {
|
45
45
|
t(s);
|
46
46
|
}
|
47
47
|
}
|
48
|
-
function
|
48
|
+
function n(o) {
|
49
49
|
try {
|
50
|
-
|
50
|
+
r(c.throw(o));
|
51
51
|
} catch (s) {
|
52
52
|
t(s);
|
53
53
|
}
|
54
54
|
}
|
55
|
-
function
|
56
|
-
|
55
|
+
function r(o) {
|
56
|
+
o.done ? a(o.value) : d(o.value).then(i, n);
|
57
57
|
}
|
58
|
-
|
58
|
+
r((c = c.apply(u, p || [])).next());
|
59
59
|
});
|
60
60
|
};
|
61
|
-
const pt = (
|
62
|
-
const p = (t,
|
63
|
-
const
|
64
|
-
return w(
|
61
|
+
const pt = (u) => {
|
62
|
+
const p = (t, i) => m(void 0, void 0, void 0, function* () {
|
63
|
+
const n = yield f(t, u), r = C({ format: "bytes" }, i, v);
|
64
|
+
return w(n, r);
|
65
65
|
}), e = (t) => {
|
66
|
-
const
|
67
|
-
return Object.assign(Object.assign({},
|
68
|
-
return p(
|
66
|
+
const i = O(t);
|
67
|
+
return Object.assign(Object.assign({}, i), { signTransaction: (n) => m(void 0, void 0, void 0, function* () {
|
68
|
+
return p(n, i.privateKey);
|
69
69
|
}) });
|
70
|
-
}, c = (t,
|
71
|
-
var
|
72
|
-
const
|
73
|
-
return Object.assign(Object.assign({},
|
74
|
-
return p(s,
|
70
|
+
}, c = (t, i, n) => m(void 0, void 0, void 0, function* () {
|
71
|
+
var r;
|
72
|
+
const o = yield _(t, i, (r = n == null ? void 0 : n.nonStrict) !== null && r !== void 0 ? r : !0);
|
73
|
+
return Object.assign(Object.assign({}, o), { signTransaction: (s) => m(void 0, void 0, void 0, function* () {
|
74
|
+
return p(s, o.privateKey);
|
75
75
|
}) });
|
76
|
-
}),
|
76
|
+
}), d = () => {
|
77
77
|
const t = j();
|
78
|
-
return Object.assign(Object.assign({}, t), { signTransaction: (
|
79
|
-
return p(
|
78
|
+
return Object.assign(Object.assign({}, t), { signTransaction: (i) => m(void 0, void 0, void 0, function* () {
|
79
|
+
return p(i, t.privateKey);
|
80
80
|
}) });
|
81
|
-
}, a = new
|
82
|
-
create:
|
81
|
+
}, a = new y({
|
82
|
+
create: d,
|
83
83
|
privateKeyToAccount: e,
|
84
84
|
decrypt: c
|
85
85
|
});
|
86
86
|
return {
|
87
87
|
signTransaction: p,
|
88
|
-
create:
|
88
|
+
create: d,
|
89
89
|
privateKeyToAccount: e,
|
90
90
|
decrypt: c,
|
91
91
|
recoverTransaction: T,
|
92
92
|
hashMessage: l,
|
93
93
|
sign: g,
|
94
|
-
recover:
|
95
|
-
encrypt:
|
94
|
+
recover: K,
|
95
|
+
encrypt: h,
|
96
96
|
wallet: a,
|
97
|
-
privateKeyToAddress:
|
98
|
-
parseAndValidatePrivateKey:
|
99
|
-
privateKeyToPublicKey:
|
97
|
+
privateKeyToAddress: A,
|
98
|
+
parseAndValidatePrivateKey: x,
|
99
|
+
privateKeyToPublicKey: b
|
100
100
|
};
|
101
101
|
};
|
102
102
|
export {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=function(d,r,t,s){function i(o){return o instanceof t?o:new t(function(n){n(o)})}return new(t||(t=Promise))(function(o,n){function e(u){try{c(s.next(u))}catch(h){n(h)}}function a(u){try{c(s.throw(u))}catch(h){n(h)}}function c(u){u.done?o(u.value):i(u.value).then(e,a)}c((s=s.apply(d,r||[])).next())})};const m=1e3;class v{constructor(r){this._requestManager=r,this._requests=new Map}get requests(){return[...this._requests.values()].map(r=>r.payload)}add(r){const t=l.toPayload(r),s=new p.Web3DeferredPromise;return this._requests.set(t.id,{payload:t,promise:s}),s}execute(r){var t;return f(this,void 0,void 0,function*(){if(this.requests.length===0)return Promise.resolve([]);const s=new p.Web3DeferredPromise({timeout:(t=r==null?void 0:r.timeout)!==null&&t!==void 0?t:m,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(s).catch(i=>s.reject(i)),s.catch(i=>{i instanceof q.OperationTimeoutError&&this._abortAllRequests("Batch request timeout"),s.reject(i)}),s})}_processBatchRequest(r){var t,s;return f(this,void 0,void 0,function*(){const i=yield this._requestManager.sendBatch([...this._requests.values()].map(e=>e.payload));if(i.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${i.length}`);const o=this.requests.map(e=>e.id).map(Number).sort((e,a)=>e-a),n=i.map(e=>e.id).map(Number).sort((e,a)=>e-a);if(JSON.stringify(o)!==JSON.stringify(n))throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request mismatch the results. Requests: [${o.join()}], Responses: [${n.join()}]`);for(const e of i)l.isResponseWithResult(e)?(t=this._requests.get(e.id))===null||t===void 0||t.promise.resolve(e.result):l.isResponseWithError(e)&&((s=this._requests.get(e.id))===null||s===void 0||s.promise.reject(e.error));r.resolve(i)})}_abortAllRequests(r){for(const{promise:t}of this._requests.values())t.reject(new q.OperationAbortError(r))}}exports.DEFAULT_BATCH_REQUEST_TIMEOUT=m;exports.Web3BatchRequest=v;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { OperationTimeoutError as f, OperationAbortError as q } from "../../../web3-errors/lib/esm/errors/generic_errors.js";
|
2
|
-
import { ResponseError as
|
2
|
+
import { ResponseError as d } from "../../../web3-errors/lib/esm/errors/response_errors.js";
|
3
3
|
import "../../../web3-errors/lib/esm/errors/rpc_errors.js";
|
4
|
-
import { Web3DeferredPromise as
|
4
|
+
import { Web3DeferredPromise as p } from "../../../web3-utils/lib/esm/web3_deferred_promise.js";
|
5
5
|
import { toPayload as _, isResponseWithResult as v, isResponseWithError as R } from "../../../web3-utils/lib/esm/json_rpc.js";
|
6
|
-
var
|
7
|
-
function o
|
8
|
-
return
|
9
|
-
n(
|
6
|
+
var m = function(l, r, t, s) {
|
7
|
+
function i(o) {
|
8
|
+
return o instanceof t ? o : new t(function(n) {
|
9
|
+
n(o);
|
10
10
|
});
|
11
11
|
}
|
12
|
-
return new (t || (t = Promise))(function(
|
12
|
+
return new (t || (t = Promise))(function(o, n) {
|
13
13
|
function e(u) {
|
14
14
|
try {
|
15
15
|
c(s.next(u));
|
@@ -25,13 +25,13 @@ var d = globalThis && globalThis.__awaiter || function(l, r, t, s) {
|
|
25
25
|
}
|
26
26
|
}
|
27
27
|
function c(u) {
|
28
|
-
u.done ?
|
28
|
+
u.done ? o(u.value) : i(u.value).then(e, a);
|
29
29
|
}
|
30
30
|
c((s = s.apply(l, r || [])).next());
|
31
31
|
});
|
32
32
|
};
|
33
|
-
const
|
34
|
-
class
|
33
|
+
const w = 1e3;
|
34
|
+
class A {
|
35
35
|
constructor(r) {
|
36
36
|
this._requestManager = r, this._requests = /* @__PURE__ */ new Map();
|
37
37
|
}
|
@@ -39,37 +39,37 @@ class T {
|
|
39
39
|
return [...this._requests.values()].map((r) => r.payload);
|
40
40
|
}
|
41
41
|
add(r) {
|
42
|
-
const t = _(r), s = new
|
42
|
+
const t = _(r), s = new p();
|
43
43
|
return this._requests.set(t.id, { payload: t, promise: s }), s;
|
44
44
|
}
|
45
45
|
// eslint-disable-next-line class-methods-use-this
|
46
46
|
execute(r) {
|
47
47
|
var t;
|
48
|
-
return
|
48
|
+
return m(this, void 0, void 0, function* () {
|
49
49
|
if (this.requests.length === 0)
|
50
50
|
return Promise.resolve([]);
|
51
|
-
const s = new
|
52
|
-
timeout: (t = r == null ? void 0 : r.timeout) !== null && t !== void 0 ? t :
|
51
|
+
const s = new p({
|
52
|
+
timeout: (t = r == null ? void 0 : r.timeout) !== null && t !== void 0 ? t : w,
|
53
53
|
eagerStart: !0,
|
54
54
|
timeoutMessage: "Batch request timeout"
|
55
55
|
});
|
56
|
-
return this._processBatchRequest(s).catch((
|
57
|
-
|
56
|
+
return this._processBatchRequest(s).catch((i) => s.reject(i)), s.catch((i) => {
|
57
|
+
i instanceof f && this._abortAllRequests("Batch request timeout"), s.reject(i);
|
58
58
|
}), s;
|
59
59
|
});
|
60
60
|
}
|
61
61
|
_processBatchRequest(r) {
|
62
62
|
var t, s;
|
63
|
-
return
|
64
|
-
const
|
65
|
-
if (
|
66
|
-
throw this._abortAllRequests("Invalid batch response"), new
|
67
|
-
const
|
68
|
-
if (JSON.stringify(
|
69
|
-
throw this._abortAllRequests("Invalid batch response"), new
|
70
|
-
for (const e of
|
63
|
+
return m(this, void 0, void 0, function* () {
|
64
|
+
const i = yield this._requestManager.sendBatch([...this._requests.values()].map((e) => e.payload));
|
65
|
+
if (i.length !== this._requests.size)
|
66
|
+
throw this._abortAllRequests("Invalid batch response"), new d(i, `Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${i.length}`);
|
67
|
+
const o = this.requests.map((e) => e.id).map(Number).sort((e, a) => e - a), n = i.map((e) => e.id).map(Number).sort((e, a) => e - a);
|
68
|
+
if (JSON.stringify(o) !== JSON.stringify(n))
|
69
|
+
throw this._abortAllRequests("Invalid batch response"), new d(i, `Batch request mismatch the results. Requests: [${o.join()}], Responses: [${n.join()}]`);
|
70
|
+
for (const e of i)
|
71
71
|
v(e) ? (t = this._requests.get(e.id)) === null || t === void 0 || t.promise.resolve(e.result) : R(e) && ((s = this._requests.get(e.id)) === null || s === void 0 || s.promise.reject(e.error));
|
72
|
-
r.resolve(
|
72
|
+
r.resolve(i);
|
73
73
|
});
|
74
74
|
}
|
75
75
|
_abortAllRequests(r) {
|
@@ -78,6 +78,6 @@ class T {
|
|
78
78
|
}
|
79
79
|
}
|
80
80
|
export {
|
81
|
-
|
82
|
-
|
81
|
+
w as DEFAULT_BATCH_REQUEST_TIMEOUT,
|
82
|
+
A as Web3BatchRequest
|
83
83
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-validator/lib/esm/formats.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");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const b=require("./utils.cjs"),f=require("./web3_batch_request.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("../../../web3-utils/lib/esm/validation.cjs");var M=
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-eth-accounts/lib/esm/wallet.cjs");require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-validator/lib/esm/formats.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");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const b=require("./utils.cjs"),f=require("./web3_batch_request.cjs"),l=require("./web3_config.cjs"),g=require("./web3_request_manager.cjs"),p=require("./web3_subscription_manager.cjs"),_=require("../../../web3-utils/lib/esm/validation.cjs");var M=function(v,e,r,i){function s(t){return t instanceof r?t:new r(function(n){n(t)})}return new(r||(r=Promise))(function(t,n){function o(u){try{a(i.next(u))}catch(d){n(d)}}function c(u){try{a(i.throw(u))}catch(d){n(d)}}function a(u){u.done?t(u.value):s(u.value).then(o,c)}a((i=i.apply(v,e||[])).next())})};class h extends l.Web3Config{constructor(e){var r;if(super(),this.providers=g.Web3RequestManager.providers,_.isNullish(e)||typeof e=="string"&&e.trim()!==""||b.isSupportedProvider(e)){this._requestManager=new g.Web3RequestManager(e),this._subscriptionManager=new p.Web3SubscriptionManager(this._requestManager,{});return}const{config:i,provider:s,requestManager:t,subscriptionManager:n,registeredSubscriptions:o,accountProvider:c,wallet:a}=e;this.setConfig(i??{}),this._requestManager=t??new g.Web3RequestManager(s,(r=i==null?void 0:i.enableExperimentalFeatures)===null||r===void 0?void 0:r.useSubscriptionWhenCheckingBlockTimeout),n?this._subscriptionManager=n:this._subscriptionManager=new p.Web3SubscriptionManager(this.requestManager,o??{}),c&&(this._accountProvider=c),a&&(this._wallet=a)}get requestManager(){return this._requestManager}get subscriptionManager(){return this._subscriptionManager}get wallet(){return this._wallet}get accountProvider(){return this._accountProvider}static fromContextObject(...e){return new this(...e.reverse())}getContextObject(){var e;return{config:this.config,provider:this.provider,requestManager:this.requestManager,subscriptionManager:this.subscriptionManager,registeredSubscriptions:(e=this.subscriptionManager)===null||e===void 0?void 0:e.registeredSubscriptions,providers:this.providers,wallet:this.wallet,accountProvider:this.accountProvider}}use(e,...r){const i=new e(...r,this.getContextObject());return this.on(l.Web3ConfigEvent.CONFIG_CHANGE,s=>{i.setConfig({[s.name]:s.newValue})}),i}link(e){this.setConfig(e.config),this._requestManager=e.requestManager,this.provider=e.provider,this._subscriptionManager=e.subscriptionManager,this._wallet=e.wallet,this._accountProvider=e._accountProvider,e.on(l.Web3ConfigEvent.CONFIG_CHANGE,r=>{this.setConfig({[r.name]:r.newValue})})}registerPlugin(e){if(this[e.pluginNamespace]!==void 0)throw new q.ExistingPluginNamespaceError(e.pluginNamespace);const r={[e.pluginNamespace]:e};r[e.pluginNamespace].link(this),Object.assign(this,r)}get provider(){return this.currentProvider}set provider(e){this.requestManager.setProvider(e)}get currentProvider(){return this.requestManager.provider}set currentProvider(e){this.requestManager.setProvider(e)}get givenProvider(){return h.givenProvider}setProvider(e){return this.provider=e,!0}get BatchRequest(){return f.Web3BatchRequest.bind(void 0,this._requestManager)}extend(e){var r;return e.property&&!this[e.property]&&(this[e.property]={}),(r=e.methods)===null||r===void 0||r.forEach(i=>{const s=(...t)=>M(this,void 0,void 0,function*(){return this.requestManager.send({method:i.call,params:t})});e.property?this[e.property][i.name]=s:this[i.name]=s}),this}}h.providers=g.Web3RequestManager.providers;exports.Web3Context=h;
|
@@ -17,46 +17,46 @@ import "../../../@ethereumjs/rlp/dist/index.js";
|
|
17
17
|
import "../../../web3-eth-accounts/lib/esm/tx/types.js";
|
18
18
|
import { isSupportedProvider as f } from "./utils.js";
|
19
19
|
import { Web3BatchRequest as M } from "./web3_batch_request.js";
|
20
|
-
import { Web3Config as _, Web3ConfigEvent as
|
20
|
+
import { Web3Config as _, Web3ConfigEvent as g } from "./web3_config.js";
|
21
21
|
import { Web3RequestManager as p } from "./web3_request_manager.js";
|
22
22
|
import { Web3SubscriptionManager as l } from "./web3_subscription_manager.js";
|
23
|
-
import { isNullish as
|
24
|
-
var
|
23
|
+
import { isNullish as w } from "../../../web3-utils/lib/esm/validation.js";
|
24
|
+
var b = function(m, r, e, i) {
|
25
25
|
function s(t) {
|
26
|
-
return t instanceof e ? t : new e(function(
|
27
|
-
|
26
|
+
return t instanceof e ? t : new e(function(n) {
|
27
|
+
n(t);
|
28
28
|
});
|
29
29
|
}
|
30
|
-
return new (e || (e = Promise))(function(t,
|
31
|
-
function u(
|
30
|
+
return new (e || (e = Promise))(function(t, n) {
|
31
|
+
function u(o) {
|
32
32
|
try {
|
33
|
-
a(i.next(
|
33
|
+
a(i.next(o));
|
34
34
|
} catch (h) {
|
35
|
-
|
35
|
+
n(h);
|
36
36
|
}
|
37
37
|
}
|
38
|
-
function c(
|
38
|
+
function c(o) {
|
39
39
|
try {
|
40
|
-
a(i.throw(
|
40
|
+
a(i.throw(o));
|
41
41
|
} catch (h) {
|
42
|
-
|
42
|
+
n(h);
|
43
43
|
}
|
44
44
|
}
|
45
|
-
function a(
|
46
|
-
|
45
|
+
function a(o) {
|
46
|
+
o.done ? t(o.value) : s(o.value).then(u, c);
|
47
47
|
}
|
48
48
|
a((i = i.apply(m, r || [])).next());
|
49
49
|
});
|
50
50
|
};
|
51
|
-
class
|
51
|
+
class d extends _ {
|
52
52
|
constructor(r) {
|
53
53
|
var e;
|
54
|
-
if (super(), this.providers = p.providers,
|
54
|
+
if (super(), this.providers = p.providers, w(r) || typeof r == "string" && r.trim() !== "" || f(r)) {
|
55
55
|
this._requestManager = new p(r), this._subscriptionManager = new l(this._requestManager, {});
|
56
56
|
return;
|
57
57
|
}
|
58
|
-
const { config: i, provider: s, requestManager: t, subscriptionManager:
|
59
|
-
this.setConfig(i ?? {}), this._requestManager = t ?? new p(s, (e = i == null ? void 0 : i.enableExperimentalFeatures) === null || e === void 0 ? void 0 : e.useSubscriptionWhenCheckingBlockTimeout),
|
58
|
+
const { config: i, provider: s, requestManager: t, subscriptionManager: n, registeredSubscriptions: u, accountProvider: c, wallet: a } = r;
|
59
|
+
this.setConfig(i ?? {}), this._requestManager = t ?? new p(s, (e = i == null ? void 0 : i.enableExperimentalFeatures) === null || e === void 0 ? void 0 : e.useSubscriptionWhenCheckingBlockTimeout), n ? this._subscriptionManager = n : this._subscriptionManager = new l(this.requestManager, u ?? {}), c && (this._accountProvider = c), a && (this._wallet = a);
|
60
60
|
}
|
61
61
|
get requestManager() {
|
62
62
|
return this._requestManager;
|
@@ -97,7 +97,7 @@ class g extends _ {
|
|
97
97
|
*/
|
98
98
|
use(r, ...e) {
|
99
99
|
const i = new r(...e, this.getContextObject());
|
100
|
-
return this.on(
|
100
|
+
return this.on(g.CONFIG_CHANGE, (s) => {
|
101
101
|
i.setConfig({ [s.name]: s.newValue });
|
102
102
|
}), i;
|
103
103
|
}
|
@@ -105,7 +105,7 @@ class g extends _ {
|
|
105
105
|
* Link current context to another context.
|
106
106
|
*/
|
107
107
|
link(r) {
|
108
|
-
this.setConfig(r.config), this._requestManager = r.requestManager, this.provider = r.provider, this._subscriptionManager = r.subscriptionManager, this._wallet = r.wallet, this._accountProvider = r._accountProvider, r.on(
|
108
|
+
this.setConfig(r.config), this._requestManager = r.requestManager, this.provider = r.provider, this._subscriptionManager = r.subscriptionManager, this._wallet = r.wallet, this._accountProvider = r._accountProvider, r.on(g.CONFIG_CHANGE, (e) => {
|
109
109
|
this.setConfig({ [e.name]: e.newValue });
|
110
110
|
});
|
111
111
|
}
|
@@ -202,7 +202,7 @@ class g extends _ {
|
|
202
202
|
*/
|
203
203
|
// eslint-disable-next-line class-methods-use-this
|
204
204
|
get givenProvider() {
|
205
|
-
return
|
205
|
+
return d.givenProvider;
|
206
206
|
}
|
207
207
|
/**
|
208
208
|
* Will set the provider.
|
@@ -226,7 +226,7 @@ class g extends _ {
|
|
226
226
|
extend(r) {
|
227
227
|
var e;
|
228
228
|
return r.property && !this[r.property] && (this[r.property] = {}), (e = r.methods) === null || e === void 0 || e.forEach((i) => {
|
229
|
-
const s = (...t) =>
|
229
|
+
const s = (...t) => b(this, void 0, void 0, function* () {
|
230
230
|
return this.requestManager.send({
|
231
231
|
method: i.call,
|
232
232
|
params: t
|
@@ -236,7 +236,7 @@ class g extends _ {
|
|
236
236
|
}), this;
|
237
237
|
}
|
238
238
|
}
|
239
|
-
|
239
|
+
d.providers = p.providers;
|
240
240
|
export {
|
241
|
-
|
241
|
+
d as Web3Context
|
242
242
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./web3_event_emitter.cjs");var s=function(f,t,e,r){function a(i){return i instanceof e?i:new e(function(o){o(i)})}return new(e||(e=Promise))(function(i,o){function d(n){try{u(r.next(n))}catch(c){o(c)}}function m(n){try{u(r.throw(n))}catch(c){o(c)}}function u(n){n.done?i(n.value):a(n.value).then(d,m)}u((r=r.apply(f,t||[])).next())})},h;class p extends v.Web3EventEmitter{constructor(t){super(),this[h]="Promise",this._promise=new Promise(t)}then(t,e){return s(this,void 0,void 0,function*(){return this._promise.then(t,e)})}catch(t){return s(this,void 0,void 0,function*(){return this._promise.catch(t)})}finally(t){return s(this,void 0,void 0,function*(){return this._promise.finally(t)})}on(t,e){return super.on(t,e),this}once(t,e){return super.once(t,e),this}}h=Symbol.toStringTag;exports.Web3PromiEvent=p;
|
@@ -1,58 +1,58 @@
|
|
1
1
|
import { Web3EventEmitter as m } from "./web3_event_emitter.js";
|
2
|
-
var
|
3
|
-
function
|
4
|
-
return e instanceof
|
5
|
-
|
2
|
+
var s = function(f, n, t, r) {
|
3
|
+
function a(e) {
|
4
|
+
return e instanceof t ? e : new t(function(o) {
|
5
|
+
o(e);
|
6
6
|
});
|
7
7
|
}
|
8
|
-
return new (
|
9
|
-
function
|
8
|
+
return new (t || (t = Promise))(function(e, o) {
|
9
|
+
function d(i) {
|
10
10
|
try {
|
11
|
-
|
11
|
+
u(r.next(i));
|
12
12
|
} catch (c) {
|
13
|
-
|
13
|
+
o(c);
|
14
14
|
}
|
15
15
|
}
|
16
|
-
function
|
16
|
+
function p(i) {
|
17
17
|
try {
|
18
|
-
|
18
|
+
u(r.throw(i));
|
19
19
|
} catch (c) {
|
20
|
-
|
20
|
+
o(c);
|
21
21
|
}
|
22
22
|
}
|
23
|
-
function
|
24
|
-
i.done ? e(i.value) :
|
23
|
+
function u(i) {
|
24
|
+
i.done ? e(i.value) : a(i.value).then(d, p);
|
25
25
|
}
|
26
|
-
|
26
|
+
u((r = r.apply(f, n || [])).next());
|
27
27
|
});
|
28
|
-
},
|
29
|
-
class
|
30
|
-
constructor(
|
31
|
-
super(), this[
|
28
|
+
}, h;
|
29
|
+
class _ extends m {
|
30
|
+
constructor(n) {
|
31
|
+
super(), this[h] = "Promise", this._promise = new Promise(n);
|
32
32
|
}
|
33
|
-
then(
|
34
|
-
return
|
35
|
-
return this._promise.then(
|
33
|
+
then(n, t) {
|
34
|
+
return s(this, void 0, void 0, function* () {
|
35
|
+
return this._promise.then(n, t);
|
36
36
|
});
|
37
37
|
}
|
38
|
-
catch(
|
39
|
-
return
|
40
|
-
return this._promise.catch(
|
38
|
+
catch(n) {
|
39
|
+
return s(this, void 0, void 0, function* () {
|
40
|
+
return this._promise.catch(n);
|
41
41
|
});
|
42
42
|
}
|
43
|
-
finally(
|
44
|
-
return
|
45
|
-
return this._promise.finally(
|
43
|
+
finally(n) {
|
44
|
+
return s(this, void 0, void 0, function* () {
|
45
|
+
return this._promise.finally(n);
|
46
46
|
});
|
47
47
|
}
|
48
|
-
on(
|
49
|
-
return super.on(
|
48
|
+
on(n, t) {
|
49
|
+
return super.on(n, t), this;
|
50
50
|
}
|
51
|
-
once(
|
52
|
-
return super.once(
|
51
|
+
once(n, t) {
|
52
|
+
return super.once(n, t), this;
|
53
53
|
}
|
54
54
|
}
|
55
|
-
|
55
|
+
h = Symbol.toStringTag;
|
56
56
|
export {
|
57
|
-
|
57
|
+
_ as Web3PromiEvent
|
58
58
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/contract_errors.cjs"),E=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),R=require("../../../web3-errors/lib/esm/errors/response_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),g=require("../../../web3-providers-http/lib/esm/index.cjs"),b=require("../../../web3-providers-ws/lib/esm/index.cjs"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/contract_errors.cjs"),E=require("../../../web3-errors/lib/esm/errors/provider_errors.cjs"),R=require("../../../web3-errors/lib/esm/errors/response_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs"),g=require("../../../web3-providers-http/lib/esm/index.cjs"),b=require("../../../web3-providers-ws/lib/esm/index.cjs"),d=require("./utils.cjs"),W=require("./web3_event_emitter.cjs"),m=require("../../../web3-utils/lib/esm/promise_helpers.cjs"),i=require("../../../web3-utils/lib/esm/json_rpc.cjs"),a=require("../../../web3-utils/lib/esm/validation.cjs");var w=function(l,r,e,t){function s(o){return o instanceof e?o:new e(function(n){n(o)})}return new(e||(e=Promise))(function(o,n){function h(u){try{c(t.next(u))}catch(p){n(p)}}function f(u){try{c(t.throw(u))}catch(p){n(p)}}function c(u){u.done?o(u.value):s(u.value).then(h,f)}c((t=t.apply(l,r||[])).next())})};exports.Web3RequestManagerEvent=void 0;(function(l){l.PROVIDER_CHANGED="PROVIDER_CHANGED",l.BEFORE_PROVIDER_CHANGE="BEFORE_PROVIDER_CHANGE"})(exports.Web3RequestManagerEvent||(exports.Web3RequestManagerEvent={}));const P={HttpProvider:g.default,WebsocketProvider:b.default};class v extends W.Web3EventEmitter{constructor(r,e){super(),a.isNullish(r)||this.setProvider(r),this.useRpcCallSpecification=e}static get providers(){return P}get provider(){return this._provider}get providers(){return P}setProvider(r){let e;if(r&&typeof r=="string"&&this.providers)if(/^http(s)?:\/\//i.test(r))e=new this.providers.HttpProvider(r);else if(/^ws(s)?:\/\//i.test(r))e=new this.providers.WebsocketProvider(r);else throw new E.ProviderError(`Can't autodetect provider for "${r}"`);else a.isNullish(r)?e=void 0:e=r;return this.emit(exports.Web3RequestManagerEvent.BEFORE_PROVIDER_CHANGE,this._provider),this._provider=e,this.emit(exports.Web3RequestManagerEvent.PROVIDER_CHANGED,this._provider),!0}send(r){return w(this,void 0,void 0,function*(){const e=yield this._sendRequest(r);if(i.isResponseWithResult(e))return e.result;throw new R.ResponseError(e)})}sendBatch(r){return w(this,void 0,void 0,function*(){return yield this._sendRequest(r)})}_sendRequest(r){return w(this,void 0,void 0,function*(){const{provider:e}=this;if(a.isNullish(e))throw new E.ProviderError("Provider not available. Use `.setProvider` or `.provider=` to initialize the provider.");const t=i.isBatchRequest(r)?i.toBatchPayload(r):i.toPayload(r);if(d.isWeb3Provider(e)){let s;try{s=yield e.request(t)}catch(o){s=o}return this._processJsonRpcResponse(t,s,{legacy:!1,error:!1})}if(d.isEIP1193Provider(e))return e.request(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));if(d.isLegacyRequestProvider(e))return new Promise((s,o)=>{const n=c=>o(this._processJsonRpcResponse(t,c,{legacy:!0,error:!0})),h=c=>s(this._processJsonRpcResponse(t,c,{legacy:!0,error:!1})),f=e.request(t,(c,u)=>c?n(c):h(u));m.isPromise(f)&&f.then(h).catch(n)});if(d.isLegacySendProvider(e))return new Promise((s,o)=>{e.send(t,(n,h)=>{if(n)return o(this._processJsonRpcResponse(t,n,{legacy:!0,error:!0}));if(a.isNullish(h))throw new R.ResponseError("",'Got a "nullish" response from provider.');return s(this._processJsonRpcResponse(t,h,{legacy:!0,error:!1}))})});if(d.isLegacySendAsyncProvider(e))return e.sendAsync(t).then(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!1})).catch(s=>this._processJsonRpcResponse(t,s,{legacy:!0,error:!0}));throw new E.ProviderError("Provider does not have a request or send method to use.")})}_processJsonRpcResponse(r,e,{legacy:t,error:s}){if(a.isNullish(e))return this._buildResponse(r,null,s);if(i.isResponseWithError(e)){if(this.useRpcCallSpecification&&i.isResponseRpcError(e)){const o=e;if(_.rpcErrorsMap.get(o.error.code)){const n=_.rpcErrorsMap.get(o.error.code).error;throw new n(o)}else throw new _.RpcError(o)}else if(!v._isReverted(e))throw new R.InvalidResponseError(e,r)}if(i.isResponseWithResult(e))return e;if(e instanceof Error)throw v._isReverted(e),e;if(!t&&i.isBatchRequest(r)&&i.isBatchResponse(e)||t&&!s&&i.isBatchRequest(r))return e;if(t&&s&&i.isBatchRequest(r))throw e;if(t&&!i.isResponseWithError(e)&&!i.isResponseWithResult(e))return this._buildResponse(r,e,s);throw i.isBatchRequest(r)&&!Array.isArray(e)?new R.ResponseError(e,"Got normal response for a batch request."):!i.isBatchRequest(r)&&Array.isArray(e)?new R.ResponseError(e,"Got batch response for a normal request."):(i.isResponseWithError(e)||i.isResponseWithResult(e))&&!i.isBatchRequest(r)&&e.id&&r.id!==e.id?new R.InvalidResponseError(e):new R.ResponseError(e,"Invalid response")}static _isReverted(r){let e;if(i.isResponseWithError(r)?e=r.error:r instanceof Error&&(e=r),e!=null&&e.message.includes("revert"))throw new q.ContractExecutionError(e);return!1}_buildResponse(r,e,t){const s={jsonrpc:"2.0",id:i.isBatchRequest(r)?r[0].id:"id"in r?r.id:null};return t?Object.assign(Object.assign({},s),{error:e}):Object.assign(Object.assign({},s),{result:e})}}exports.Web3RequestManager=v;
|