itd-api 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/events/index.cjs +2 -2
  2. package/dist/events/index.d.cts +2 -2
  3. package/dist/events/index.d.ts +2 -2
  4. package/dist/events/index.js +2 -2
  5. package/dist/index.cjs +3 -3
  6. package/dist/index.d.cts +4 -4
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.js +3 -3
  9. package/dist/rest/index.cjs +2 -2
  10. package/dist/rest/index.d.cts +3 -3
  11. package/dist/rest/index.d.ts +3 -3
  12. package/dist/rest/index.js +2 -2
  13. package/dist/shared/{events-BpLAIiMj.d.ts → events-9215JDDd.d.ts} +2 -2
  14. package/dist/shared/{events-C2DJZyI0.cjs → events-BKyxZQNw.cjs} +2 -2
  15. package/dist/shared/{events-C2DJZyI0.cjs.map → events-BKyxZQNw.cjs.map} +1 -1
  16. package/dist/shared/{events-9L0Fonak.d.cts → events-FaXfdle0.d.cts} +2 -2
  17. package/dist/shared/{events-D1BfefBT.js → events-_iYo8EP5.js} +2 -2
  18. package/dist/shared/{events-D1BfefBT.js.map → events-_iYo8EP5.js.map} +1 -1
  19. package/dist/shared/{render-CrGXcj6L.cjs → render-BQvC5UxF.cjs} +20 -4
  20. package/dist/shared/render-BQvC5UxF.cjs.map +1 -0
  21. package/dist/shared/{render-UsQ1hb2U.d.ts → render-BS09ygcy.d.ts} +42 -60
  22. package/dist/shared/{render-D3vSEbLL.js → render-CFoF2WaH.js} +20 -4
  23. package/dist/shared/render-CFoF2WaH.js.map +1 -0
  24. package/dist/shared/{render-Dzw3KeN5.d.cts → render-X2JCo1JS.d.cts} +42 -60
  25. package/dist/shared/{url-Dg1u29cu.js → url-CdT4lMxQ.js} +2 -2
  26. package/dist/shared/{url-Dg1u29cu.js.map → url-CdT4lMxQ.js.map} +1 -1
  27. package/dist/shared/{url-C9YADYNg.d.ts → url-_R0oJ7gE.d.cts} +24 -29
  28. package/dist/shared/{url-C9YADYNg.d.cts → url-_R0oJ7gE.d.ts} +24 -29
  29. package/dist/shared/{url-B21Bdmw_.cjs → url-ioIaywDi.cjs} +2 -2
  30. package/dist/shared/{url-B21Bdmw_.cjs.map → url-ioIaywDi.cjs.map} +1 -1
  31. package/package.json +1 -1
  32. package/dist/shared/render-CrGXcj6L.cjs.map +0 -1
  33. package/dist/shared/render-D3vSEbLL.js.map +0 -1
@@ -1516,7 +1516,7 @@ interface OperationDefinition extends OperationMetadata {
1516
1516
  //#endregion
1517
1517
  //#region src/core/version.d.ts
1518
1518
  /** Версия библиотеки. Попадает в `User-Agent`. */
1519
- declare const LIBRARY_VERSION = "0.12.0";
1519
+ declare const LIBRARY_VERSION = "0.12.1";
1520
1520
  //#endregion
1521
1521
  //#region src/core/config.d.ts
1522
1522
  /** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
@@ -2052,14 +2052,20 @@ interface Pin {
2052
2052
  grantedAt?: IsoDate;
2053
2053
  }
2054
2054
  /**
2055
- * Автор поста или комментария.
2056
- *
2057
- * Встречается внутри `post.author` и `comment.author`.
2055
+ * Общая часть всех моделей пользователя: автора, участника уведомления, пользователя
2056
+ * из списка, профиля.
2058
2057
  */
2059
- interface Author {
2058
+ interface UserBase {
2060
2059
  id: UserId;
2061
2060
  username: string;
2062
2061
  displayName: string;
2062
+ }
2063
+ /**
2064
+ * Автор поста или комментария.
2065
+ *
2066
+ * Встречается внутри `post.author` и `comment.author`.
2067
+ */
2068
+ interface Author extends UserBase {
2063
2069
  /**
2064
2070
  * Аватар: обычно эмодзи — символ клана (`🩵`, `🦎`), который отрисовывают как текст.
2065
2071
  *
@@ -2079,10 +2085,7 @@ interface Author {
2079
2085
  *
2080
2086
  * Отличается от {@link Author} набором полей: вместо значков приходит связь с вами.
2081
2087
  */
2082
- interface Actor {
2083
- id: UserId;
2084
- username: string;
2085
- displayName: string;
2088
+ interface Actor extends UserBase {
2086
2089
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2087
2090
  avatar: string;
2088
2091
  /** Подписаны ли вы на этого пользователя. */
@@ -2097,10 +2100,7 @@ interface Actor {
2097
2100
  * поиск и рекомендации — `followersCount` и `hasNuksta`. Необязательные поля отражают
2098
2101
  * это различие.
2099
2102
  */
2100
- interface UserSummary {
2101
- id: UserId;
2102
- username: string;
2103
- displayName: string;
2103
+ interface UserSummary extends UserBase {
2104
2104
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2105
2105
  avatar: string;
2106
2106
  verified: boolean;
@@ -2112,10 +2112,7 @@ interface UserSummary {
2112
2112
  followersCount?: number;
2113
2113
  }
2114
2114
  /** Поля профиля, общие для своего и чужого. */
2115
- interface ProfileBase {
2116
- id: UserId;
2117
- username: string;
2118
- displayName: string;
2115
+ interface ProfileBase extends UserBase {
2119
2116
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2120
2117
  avatar: string;
2121
2118
  /**
@@ -2158,16 +2155,8 @@ interface MyProfile extends ProfileBase {
2158
2155
  /** Своя премиум-подписка. */
2159
2156
  subscription: SubscriptionState;
2160
2157
  }
2161
- /**
2162
- * Состояние авторизации — ответ `GET /api/profile`.
2163
- *
2164
- * Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
2165
- * а `user` — `null`.
2166
- */
2167
- interface AuthUser {
2168
- id: UserId;
2169
- username: string;
2170
- displayName: string;
2158
+ /** Компактные данные текущего пользователя из {@link AuthState}. */
2159
+ interface AuthUser extends UserBase {
2171
2160
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2172
2161
  avatar: string;
2173
2162
  /** Эмодзи клана. Совпадает с `avatar`, пока аватар — эмодзи. */
@@ -2178,6 +2167,12 @@ interface AuthUser {
2178
2167
  /** Роли текущего пользователя, например `user`. */
2179
2168
  roles: string[];
2180
2169
  }
2170
+ /**
2171
+ * Состояние авторизации — ответ `GET /api/profile`.
2172
+ *
2173
+ * Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
2174
+ * а `user` — `null`.
2175
+ */
2181
2176
  interface AuthState {
2182
2177
  /** Есть ли действующая сессия. */
2183
2178
  authenticated: boolean;
@@ -2416,5 +2411,5 @@ declare function isKnownNotificationType(type: string): boolean;
2416
2411
  */
2417
2412
  declare function resolveNotificationUrl(notification: Notification): string;
2418
2413
  //#endregion
2419
- export { isItdPhoneVerificationError as $, operationBucket as $t, ItdConflictError as A, UsernameUnavailableReason as An, RequestContext as At, ItdRateLimitError as B, ServiceDefinition as Bt, UsernameAvailability as C, MessageAccess as Cn, ErrorContextHook as Ct, ItdApiErrorKind as D, ReportTargetType as Dn, RateLimitBucketOverride as Dt, ItdApiErrorInit as E, ReportReason as En, RateLimitBucketContext as Et, ItdFileErrorReason as F, RetryDecisionContext as Ft, TimeoutBudget as G, ItdClock as Gt, ItdStateError as H, RuntimeMode as Ht, ItdForbiddenError as I, RetryOptions as It, isItdConflictError as J, CustomOperationId as Jt, isItdApiError as K, systemClock as Kt, ItdNetworkError as L, RuntimeOptions as Lt, ItdErrorKind as M, ViewSource as Mn, RequestOptions as Mt, ItdFieldErrors as N, WallAccess as Nn, ResponseContext as Nt, ItdAuthError as O, ServiceState as On, RateLimitOptions as Ot, ItdFileError as P, RetryContext as Pt, isItdNotFoundError as Q, isBuiltInOperationId as Qt, ItdNotFoundError as R, QueryParams as Rt, UserSummary as S, Loose as Sn, ClientHooks as St, ItdApiError as T, QrLocationPrecision as Tn, PaginationOptions as Tt, ItdTimeoutError as U, LogLevel as Ut, ItdServerError as V, RateLimitPacing as Vt, ItdValidationError as W, Logger as Wt, isItdFileError as X, OPERATIONS as Xt, isItdError as Y, ItdOperationDefinition as Yt, isItdForbiddenError as Z, OperationId as Zt, PinsResult as _, IncidentKind as _n, OperationAnnotations as _t, NotificationEvent as a, IsoDate as an, Listener as at, PublicProfile as b, LastSeenUnit as bn, OperationMethod as bt, NotificationSettings as c, UserRef as cn, AuthIdentity as ct, AuthUser as d, CaptchaChoice as dn, bearerToken as dt, operationMethod as en, isItdRateLimitError as et, Author as f, CaptchaField as fn, tokenProvider as ft, Pin as g, FeedTab as gn, FeatureOperationId as gt, MyProfile as h, EventChannelStatus as hn, LIBRARY_VERSION as ht, formatNotificationText as i, RateLimitBucket as in, Emitter as it, ItdError as j, ViewReason as jn, RequestExtensions as jt, ItdConfigError as k, SpanType as kn, RawRequestOptions as kt, Actor as l, AccessType as ln, AuthProvider as lt, LastSeen as m, CommentSort as mn, STATUS_SERVICE as mt, canonicalNotificationType as n, BUCKET_LIMITS as nn, isItdStateError as nt, normalizeNotification as o, Span as on, Unsubscribe as ot, FollowResult as p, CaptchaType as pn, DEFAULT_BASE_URL as pt, isItdAuthError as q, BuiltInOperationId as qt, isKnownNotificationType as r, DEFAULT_RATE_LIMIT_BUCKET as rn, isItdValidationError as rt, Notification as s, UserId as sn, ClientConnection as st, resolveNotificationUrl as t, operationRetrySafety as tn, isItdServerError as tt, AuthState as u, AttachmentType as un, anonymousAuth as ut, PrivacySettings as v, InteractionType as vn, OperationContract as vt, ItdAbortError as w, NotificationType as wn, OperationRequestOptions as wt, SubscriptionState as x, LikesVisibility as xn, RetrySafety as xt, Profile as y, ItdErrorCode as yn, OperationMetadata as yt, ItdPhoneVerificationError as z, QueryValue as zt };
2420
- //# sourceMappingURL=url-C9YADYNg.d.ts.map
2414
+ export { isItdNotFoundError as $, isBuiltInOperationId as $t, ItdConfigError as A, SpanType as An, RawRequestOptions as At, ItdPhoneVerificationError as B, QueryValue as Bt, UserSummary as C, Loose as Cn, ClientHooks as Ct, ItdApiErrorInit as D, ReportReason as Dn, RateLimitBucketContext as Dt, ItdApiError as E, QrLocationPrecision as En, PaginationOptions as Et, ItdFileError as F, RetryContext as Ft, ItdValidationError as G, Logger as Gt, ItdServerError as H, RateLimitPacing as Ht, ItdFileErrorReason as I, RetryDecisionContext as It, isItdAuthError as J, BuiltInOperationId as Jt, TimeoutBudget as K, ItdClock as Kt, ItdForbiddenError as L, RetryOptions as Lt, ItdError as M, ViewReason as Mn, RequestExtensions as Mt, ItdErrorKind as N, ViewSource as Nn, RequestOptions as Nt, ItdApiErrorKind as O, ReportTargetType as On, RateLimitBucketOverride as Ot, ItdFieldErrors as P, WallAccess as Pn, ResponseContext as Pt, isItdForbiddenError as Q, OperationId as Qt, ItdNetworkError as R, RuntimeOptions as Rt, UserBase as S, LikesVisibility as Sn, RetrySafety as St, ItdAbortError as T, NotificationType as Tn, OperationRequestOptions as Tt, ItdStateError as U, RuntimeMode as Ut, ItdRateLimitError as V, ServiceDefinition as Vt, ItdTimeoutError as W, LogLevel as Wt, isItdError as X, ItdOperationDefinition as Xt, isItdConflictError as Y, CustomOperationId as Yt, isItdFileError as Z, OPERATIONS as Zt, PinsResult as _, FeedTab as _n, FeatureOperationId as _t, NotificationEvent as a, RateLimitBucket as an, Emitter as at, PublicProfile as b, ItdErrorCode as bn, OperationMetadata as bt, NotificationSettings as c, UserId as cn, ClientConnection as ct, AuthUser as d, AttachmentType as dn, anonymousAuth as dt, operationBucket as en, isItdPhoneVerificationError as et, Author as f, CaptchaChoice as fn, bearerToken as ft, Pin as g, EventChannelStatus as gn, LIBRARY_VERSION as gt, MyProfile as h, CommentSort as hn, STATUS_SERVICE as ht, formatNotificationText as i, DEFAULT_RATE_LIMIT_BUCKET as in, isItdValidationError as it, ItdConflictError as j, UsernameUnavailableReason as jn, RequestContext as jt, ItdAuthError as k, ServiceState as kn, RateLimitOptions as kt, Actor as l, UserRef as ln, AuthIdentity as lt, LastSeen as m, CaptchaType as mn, DEFAULT_BASE_URL as mt, canonicalNotificationType as n, operationRetrySafety as nn, isItdServerError as nt, normalizeNotification as o, IsoDate as on, Listener as ot, FollowResult as p, CaptchaField as pn, tokenProvider as pt, isItdApiError as q, systemClock as qt, isKnownNotificationType as r, BUCKET_LIMITS as rn, isItdStateError as rt, Notification as s, Span as sn, Unsubscribe as st, resolveNotificationUrl as t, operationMethod as tn, isItdRateLimitError as tt, AuthState as u, AccessType as un, AuthProvider as ut, PrivacySettings as v, IncidentKind as vn, OperationAnnotations as vt, UsernameAvailability as w, MessageAccess as wn, ErrorContextHook as wt, SubscriptionState as x, LastSeenUnit as xn, OperationMethod as xt, Profile as y, InteractionType as yn, OperationContract as yt, ItdNotFoundError as z, QueryParams as zt };
2415
+ //# sourceMappingURL=url-_R0oJ7gE.d.cts.map
@@ -1516,7 +1516,7 @@ interface OperationDefinition extends OperationMetadata {
1516
1516
  //#endregion
1517
1517
  //#region src/core/version.d.ts
1518
1518
  /** Версия библиотеки. Попадает в `User-Agent`. */
1519
- declare const LIBRARY_VERSION = "0.12.0";
1519
+ declare const LIBRARY_VERSION = "0.12.1";
1520
1520
  //#endregion
1521
1521
  //#region src/core/config.d.ts
1522
1522
  /** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
@@ -2052,14 +2052,20 @@ interface Pin {
2052
2052
  grantedAt?: IsoDate;
2053
2053
  }
2054
2054
  /**
2055
- * Автор поста или комментария.
2056
- *
2057
- * Встречается внутри `post.author` и `comment.author`.
2055
+ * Общая часть всех моделей пользователя: автора, участника уведомления, пользователя
2056
+ * из списка, профиля.
2058
2057
  */
2059
- interface Author {
2058
+ interface UserBase {
2060
2059
  id: UserId;
2061
2060
  username: string;
2062
2061
  displayName: string;
2062
+ }
2063
+ /**
2064
+ * Автор поста или комментария.
2065
+ *
2066
+ * Встречается внутри `post.author` и `comment.author`.
2067
+ */
2068
+ interface Author extends UserBase {
2063
2069
  /**
2064
2070
  * Аватар: обычно эмодзи — символ клана (`🩵`, `🦎`), который отрисовывают как текст.
2065
2071
  *
@@ -2079,10 +2085,7 @@ interface Author {
2079
2085
  *
2080
2086
  * Отличается от {@link Author} набором полей: вместо значков приходит связь с вами.
2081
2087
  */
2082
- interface Actor {
2083
- id: UserId;
2084
- username: string;
2085
- displayName: string;
2088
+ interface Actor extends UserBase {
2086
2089
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2087
2090
  avatar: string;
2088
2091
  /** Подписаны ли вы на этого пользователя. */
@@ -2097,10 +2100,7 @@ interface Actor {
2097
2100
  * поиск и рекомендации — `followersCount` и `hasNuksta`. Необязательные поля отражают
2098
2101
  * это различие.
2099
2102
  */
2100
- interface UserSummary {
2101
- id: UserId;
2102
- username: string;
2103
- displayName: string;
2103
+ interface UserSummary extends UserBase {
2104
2104
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2105
2105
  avatar: string;
2106
2106
  verified: boolean;
@@ -2112,10 +2112,7 @@ interface UserSummary {
2112
2112
  followersCount?: number;
2113
2113
  }
2114
2114
  /** Поля профиля, общие для своего и чужого. */
2115
- interface ProfileBase {
2116
- id: UserId;
2117
- username: string;
2118
- displayName: string;
2115
+ interface ProfileBase extends UserBase {
2119
2116
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2120
2117
  avatar: string;
2121
2118
  /**
@@ -2158,16 +2155,8 @@ interface MyProfile extends ProfileBase {
2158
2155
  /** Своя премиум-подписка. */
2159
2156
  subscription: SubscriptionState;
2160
2157
  }
2161
- /**
2162
- * Состояние авторизации — ответ `GET /api/profile`.
2163
- *
2164
- * Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
2165
- * а `user` — `null`.
2166
- */
2167
- interface AuthUser {
2168
- id: UserId;
2169
- username: string;
2170
- displayName: string;
2158
+ /** Компактные данные текущего пользователя из {@link AuthState}. */
2159
+ interface AuthUser extends UserBase {
2171
2160
  /** Аватар: эмодзи или адрес изображения, см. {@link Author.avatar}. */
2172
2161
  avatar: string;
2173
2162
  /** Эмодзи клана. Совпадает с `avatar`, пока аватар — эмодзи. */
@@ -2178,6 +2167,12 @@ interface AuthUser {
2178
2167
  /** Роли текущего пользователя, например `user`. */
2179
2168
  roles: string[];
2180
2169
  }
2170
+ /**
2171
+ * Состояние авторизации — ответ `GET /api/profile`.
2172
+ *
2173
+ * Endpoint доступен без сессии: в этом случае `authenticated` равен `false`,
2174
+ * а `user` — `null`.
2175
+ */
2181
2176
  interface AuthState {
2182
2177
  /** Есть ли действующая сессия. */
2183
2178
  authenticated: boolean;
@@ -2416,5 +2411,5 @@ declare function isKnownNotificationType(type: string): boolean;
2416
2411
  */
2417
2412
  declare function resolveNotificationUrl(notification: Notification): string;
2418
2413
  //#endregion
2419
- export { isItdPhoneVerificationError as $, operationBucket as $t, ItdConflictError as A, UsernameUnavailableReason as An, RequestContext as At, ItdRateLimitError as B, ServiceDefinition as Bt, UsernameAvailability as C, MessageAccess as Cn, ErrorContextHook as Ct, ItdApiErrorKind as D, ReportTargetType as Dn, RateLimitBucketOverride as Dt, ItdApiErrorInit as E, ReportReason as En, RateLimitBucketContext as Et, ItdFileErrorReason as F, RetryDecisionContext as Ft, TimeoutBudget as G, ItdClock as Gt, ItdStateError as H, RuntimeMode as Ht, ItdForbiddenError as I, RetryOptions as It, isItdConflictError as J, CustomOperationId as Jt, isItdApiError as K, systemClock as Kt, ItdNetworkError as L, RuntimeOptions as Lt, ItdErrorKind as M, ViewSource as Mn, RequestOptions as Mt, ItdFieldErrors as N, WallAccess as Nn, ResponseContext as Nt, ItdAuthError as O, ServiceState as On, RateLimitOptions as Ot, ItdFileError as P, RetryContext as Pt, isItdNotFoundError as Q, isBuiltInOperationId as Qt, ItdNotFoundError as R, QueryParams as Rt, UserSummary as S, Loose as Sn, ClientHooks as St, ItdApiError as T, QrLocationPrecision as Tn, PaginationOptions as Tt, ItdTimeoutError as U, LogLevel as Ut, ItdServerError as V, RateLimitPacing as Vt, ItdValidationError as W, Logger as Wt, isItdFileError as X, OPERATIONS as Xt, isItdError as Y, ItdOperationDefinition as Yt, isItdForbiddenError as Z, OperationId as Zt, PinsResult as _, IncidentKind as _n, OperationAnnotations as _t, NotificationEvent as a, IsoDate as an, Listener as at, PublicProfile as b, LastSeenUnit as bn, OperationMethod as bt, NotificationSettings as c, UserRef as cn, AuthIdentity as ct, AuthUser as d, CaptchaChoice as dn, bearerToken as dt, operationMethod as en, isItdRateLimitError as et, Author as f, CaptchaField as fn, tokenProvider as ft, Pin as g, FeedTab as gn, FeatureOperationId as gt, MyProfile as h, EventChannelStatus as hn, LIBRARY_VERSION as ht, formatNotificationText as i, RateLimitBucket as in, Emitter as it, ItdError as j, ViewReason as jn, RequestExtensions as jt, ItdConfigError as k, SpanType as kn, RawRequestOptions as kt, Actor as l, AccessType as ln, AuthProvider as lt, LastSeen as m, CommentSort as mn, STATUS_SERVICE as mt, canonicalNotificationType as n, BUCKET_LIMITS as nn, isItdStateError as nt, normalizeNotification as o, Span as on, Unsubscribe as ot, FollowResult as p, CaptchaType as pn, DEFAULT_BASE_URL as pt, isItdAuthError as q, BuiltInOperationId as qt, isKnownNotificationType as r, DEFAULT_RATE_LIMIT_BUCKET as rn, isItdValidationError as rt, Notification as s, UserId as sn, ClientConnection as st, resolveNotificationUrl as t, operationRetrySafety as tn, isItdServerError as tt, AuthState as u, AttachmentType as un, anonymousAuth as ut, PrivacySettings as v, InteractionType as vn, OperationContract as vt, ItdAbortError as w, NotificationType as wn, OperationRequestOptions as wt, SubscriptionState as x, LikesVisibility as xn, RetrySafety as xt, Profile as y, ItdErrorCode as yn, OperationMetadata as yt, ItdPhoneVerificationError as z, QueryValue as zt };
2420
- //# sourceMappingURL=url-C9YADYNg.d.cts.map
2414
+ export { isItdNotFoundError as $, isBuiltInOperationId as $t, ItdConfigError as A, SpanType as An, RawRequestOptions as At, ItdPhoneVerificationError as B, QueryValue as Bt, UserSummary as C, Loose as Cn, ClientHooks as Ct, ItdApiErrorInit as D, ReportReason as Dn, RateLimitBucketContext as Dt, ItdApiError as E, QrLocationPrecision as En, PaginationOptions as Et, ItdFileError as F, RetryContext as Ft, ItdValidationError as G, Logger as Gt, ItdServerError as H, RateLimitPacing as Ht, ItdFileErrorReason as I, RetryDecisionContext as It, isItdAuthError as J, BuiltInOperationId as Jt, TimeoutBudget as K, ItdClock as Kt, ItdForbiddenError as L, RetryOptions as Lt, ItdError as M, ViewReason as Mn, RequestExtensions as Mt, ItdErrorKind as N, ViewSource as Nn, RequestOptions as Nt, ItdApiErrorKind as O, ReportTargetType as On, RateLimitBucketOverride as Ot, ItdFieldErrors as P, WallAccess as Pn, ResponseContext as Pt, isItdForbiddenError as Q, OperationId as Qt, ItdNetworkError as R, RuntimeOptions as Rt, UserBase as S, LikesVisibility as Sn, RetrySafety as St, ItdAbortError as T, NotificationType as Tn, OperationRequestOptions as Tt, ItdStateError as U, RuntimeMode as Ut, ItdRateLimitError as V, ServiceDefinition as Vt, ItdTimeoutError as W, LogLevel as Wt, isItdError as X, ItdOperationDefinition as Xt, isItdConflictError as Y, CustomOperationId as Yt, isItdFileError as Z, OPERATIONS as Zt, PinsResult as _, FeedTab as _n, FeatureOperationId as _t, NotificationEvent as a, RateLimitBucket as an, Emitter as at, PublicProfile as b, ItdErrorCode as bn, OperationMetadata as bt, NotificationSettings as c, UserId as cn, ClientConnection as ct, AuthUser as d, AttachmentType as dn, anonymousAuth as dt, operationBucket as en, isItdPhoneVerificationError as et, Author as f, CaptchaChoice as fn, bearerToken as ft, Pin as g, EventChannelStatus as gn, LIBRARY_VERSION as gt, MyProfile as h, CommentSort as hn, STATUS_SERVICE as ht, formatNotificationText as i, DEFAULT_RATE_LIMIT_BUCKET as in, isItdValidationError as it, ItdConflictError as j, UsernameUnavailableReason as jn, RequestContext as jt, ItdAuthError as k, ServiceState as kn, RateLimitOptions as kt, Actor as l, UserRef as ln, AuthIdentity as lt, LastSeen as m, CaptchaType as mn, DEFAULT_BASE_URL as mt, canonicalNotificationType as n, operationRetrySafety as nn, isItdServerError as nt, normalizeNotification as o, IsoDate as on, Listener as ot, FollowResult as p, CaptchaField as pn, tokenProvider as pt, isItdApiError as q, systemClock as qt, isKnownNotificationType as r, BUCKET_LIMITS as rn, isItdStateError as rt, Notification as s, Span as sn, Unsubscribe as st, resolveNotificationUrl as t, operationMethod as tn, isItdRateLimitError as tt, AuthState as u, AccessType as un, AuthProvider as ut, PrivacySettings as v, IncidentKind as vn, OperationAnnotations as vt, UsernameAvailability as w, MessageAccess as wn, ErrorContextHook as wt, SubscriptionState as x, LastSeenUnit as xn, OperationMethod as xt, Profile as y, InteractionType as yn, OperationContract as yt, ItdNotFoundError as z, QueryParams as zt };
2415
+ //# sourceMappingURL=url-_R0oJ7gE.d.ts.map
@@ -64,7 +64,7 @@ const RateLimitPacing = Object.freeze({
64
64
  //#endregion
65
65
  //#region src/core/version.ts
66
66
  /** Версия библиотеки. Попадает в `User-Agent`. */
67
- const LIBRARY_VERSION = "0.12.0";
67
+ const LIBRARY_VERSION = "0.12.1";
68
68
  //#endregion
69
69
  //#region src/core/config.ts
70
70
  /** Базовый URL API итд.com. Домен записан в punycode: `итд.com`. */
@@ -4695,4 +4695,4 @@ Object.defineProperty(exports, "voidResult", {
4695
4695
  }
4696
4696
  });
4697
4697
 
4698
- //# sourceMappingURL=url-B21Bdmw_.cjs.map
4698
+ //# sourceMappingURL=url-ioIaywDi.cjs.map