itd-api 0.0.4 → 0.0.5
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.
- package/README.md +45 -8
- package/dist/{chunk-JV75JWOX.js → chunk-RUPF4X5L.js} +39 -12
- package/dist/chunk-RUPF4X5L.js.map +1 -0
- package/dist/{chunk-XG43KEYF.cjs → chunk-YM2YUO4D.cjs} +39 -12
- package/dist/chunk-YM2YUO4D.cjs.map +1 -0
- package/dist/{index-olL_q_yu.d.cts → index-Dv0LXpMf.d.cts} +42 -11
- package/dist/{index-olL_q_yu.d.ts → index-Dv0LXpMf.d.ts} +42 -11
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.cjs +83 -83
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/package.json +7 -3
- package/dist/chunk-JV75JWOX.js.map +0 -1
- package/dist/chunk-XG43KEYF.cjs.map +0 -1
|
@@ -1439,7 +1439,7 @@ declare const DEFAULT_TIMEOUT = 30000;
|
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Версия библиотеки — попадает в `User-Agent`.
|
|
1441
1441
|
*/
|
|
1442
|
-
declare const LIBRARY_VERSION = "0.0.
|
|
1442
|
+
declare const LIBRARY_VERSION = "0.0.5";
|
|
1443
1443
|
/**
|
|
1444
1444
|
* `User-Agent` по умолчанию.
|
|
1445
1445
|
*
|
|
@@ -1450,7 +1450,7 @@ declare const LIBRARY_VERSION = "0.0.4";
|
|
|
1450
1450
|
* В браузере заголовок не выставляется — `User-Agent` там запрещён к изменению, и среда
|
|
1451
1451
|
* молча его игнорирует.
|
|
1452
1452
|
*/
|
|
1453
|
-
declare const DEFAULT_USER_AGENT = "Mozilla/5.0 (compatible; itd-api/0.0.
|
|
1453
|
+
declare const DEFAULT_USER_AGENT = "Mozilla/5.0 (compatible; itd-api/0.0.5; +https://github.com/KiowDev/itd-api)";
|
|
1454
1454
|
/**
|
|
1455
1455
|
* Настройки повторов со всеми значениями по умолчанию.
|
|
1456
1456
|
*
|
|
@@ -2918,9 +2918,18 @@ declare class PostsResource extends BaseResource {
|
|
|
2918
2918
|
vote(postId: string, optionIds: string[], options?: RequestOptions): Promise<Poll>;
|
|
2919
2919
|
/** Запрашивает счётчики сразу для нескольких постов. */
|
|
2920
2920
|
stats(ids: string[], options?: RequestOptions): Promise<PostStats[]>;
|
|
2921
|
-
/**
|
|
2921
|
+
/**
|
|
2922
|
+
* Загружает страницу стены пользователя.
|
|
2923
|
+
*
|
|
2924
|
+
* Это **не только его собственные посты**: сюда попадают и записи, которые другие
|
|
2925
|
+
* оставили на его стене — у них `author` чужой, а `wallRecipient` указывает на владельца
|
|
2926
|
+
* стены. Поэтому число записей обычно больше, чем `postsCount` из профиля; чтобы
|
|
2927
|
+
* получить только авторские посты, отфильтруйте по `post.author.id`.
|
|
2928
|
+
*
|
|
2929
|
+
* Принимает и UUID, и имя пользователя.
|
|
2930
|
+
*/
|
|
2922
2931
|
byUser(user: UserRef, params?: UserPostsParams): Promise<Page<Post>>;
|
|
2923
|
-
/** Перебирает
|
|
2932
|
+
/** Перебирает стену пользователя. Что именно в неё входит — см. {@link byUser}. */
|
|
2924
2933
|
iterateByUser(user: UserRef, params?: UserPostsParams): Paginator<Post>;
|
|
2925
2934
|
/** Загружает страницу постов, которые пользователь отметил реакцией. */
|
|
2926
2935
|
likedByUser(user: UserRef, params?: UserPostsParams): Promise<Page<Post>>;
|
|
@@ -2959,9 +2968,16 @@ declare class PostsResource extends BaseResource {
|
|
|
2959
2968
|
voiceComment(postId: string, audio: FileInput, options?: RequestOptions): Promise<Comment>;
|
|
2960
2969
|
}
|
|
2961
2970
|
|
|
2962
|
-
/**
|
|
2971
|
+
/**
|
|
2972
|
+
* Параметры списков пользователей.
|
|
2973
|
+
*
|
|
2974
|
+
* ⚠️ Списки подписчиков, подписок и заблокированных на сервере **не листаются**:
|
|
2975
|
+
* `page` он игнорирует, а `limit` зажимает на 20. Подробности — в {@link UsersResource.followers}.
|
|
2976
|
+
*/
|
|
2963
2977
|
interface UserListParams extends RequestOptions {
|
|
2978
|
+
/** Сколько записей вернуть. Значения больше 20 сервер молча уменьшает до 20. */
|
|
2964
2979
|
limit?: number;
|
|
2980
|
+
/** Номер страницы. Сервер его игнорирует — оставлен на случай, если пагинацию починят. */
|
|
2965
2981
|
page?: number;
|
|
2966
2982
|
maxPages?: number;
|
|
2967
2983
|
}
|
|
@@ -3028,13 +3044,28 @@ declare class UsersResource extends BaseResource {
|
|
|
3028
3044
|
follow(user: UserRef, options?: RequestOptions): Promise<FollowResult>;
|
|
3029
3045
|
/** Отписывается от пользователя. */
|
|
3030
3046
|
unfollow(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3031
|
-
/**
|
|
3047
|
+
/**
|
|
3048
|
+
* Загружает подписчиков пользователя.
|
|
3049
|
+
*
|
|
3050
|
+
* ⚠️ **Сервер этот список не листает.** Возвращаются первые 20 записей и только они:
|
|
3051
|
+
* параметр `page` игнорируется (любая страница отдаёт те же записи и `pagination.page: 1`),
|
|
3052
|
+
* `limit` больше 20 молча уменьшается, а `hasMore` всегда `false`. Последнее честно —
|
|
3053
|
+
* получить продолжение нечем.
|
|
3054
|
+
*
|
|
3055
|
+
* Числу `total` доверять тоже не стоит: оно расходится с `followersCount` из профиля —
|
|
3056
|
+
* на проверенных аккаунтах занижено примерно на 1–4%.
|
|
3057
|
+
*/
|
|
3032
3058
|
followers(user: UserRef, params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3033
|
-
/**
|
|
3059
|
+
/**
|
|
3060
|
+
* Перебирает подписчиков.
|
|
3061
|
+
*
|
|
3062
|
+
* ⚠️ Перебор закончится после первых 20 записей: сервер список не листает —
|
|
3063
|
+
* см. {@link followers}. Метод оставлен на случай, если пагинацию починят.
|
|
3064
|
+
*/
|
|
3034
3065
|
iterateFollowers(user: UserRef, params?: UserListParams): Paginator<UserSummary>;
|
|
3035
|
-
/** Загружает
|
|
3066
|
+
/** Загружает подписки пользователя. Ограничения те же, что у {@link followers}. */
|
|
3036
3067
|
following(user: UserRef, params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3037
|
-
/** Перебирает подписки. */
|
|
3068
|
+
/** Перебирает подписки. Закончится после первых 20 записей — см. {@link followers}. */
|
|
3038
3069
|
iterateFollowing(user: UserRef, params?: UserListParams): Paginator<UserSummary>;
|
|
3039
3070
|
/**
|
|
3040
3071
|
* Проверяет, подписаны ли вы, сразу для нескольких пользователей.
|
|
@@ -3052,9 +3083,9 @@ declare class UsersResource extends BaseResource {
|
|
|
3052
3083
|
block(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3053
3084
|
/** Снимает блокировку. */
|
|
3054
3085
|
unblock(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3055
|
-
/** Загружает
|
|
3086
|
+
/** Загружает заблокированных пользователей. Ограничения те же, что у {@link followers}. */
|
|
3056
3087
|
blocked(params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3057
|
-
/** Перебирает
|
|
3088
|
+
/** Перебирает заблокированных. Закончится после первых 20 записей — см. {@link followers}. */
|
|
3058
3089
|
iterateBlocked(params?: UserListParams): Paginator<UserSummary>;
|
|
3059
3090
|
/** Загружает настройки приватности. */
|
|
3060
3091
|
getPrivacy(options?: RequestOptions): Promise<PrivacySettings>;
|
|
@@ -1439,7 +1439,7 @@ declare const DEFAULT_TIMEOUT = 30000;
|
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Версия библиотеки — попадает в `User-Agent`.
|
|
1441
1441
|
*/
|
|
1442
|
-
declare const LIBRARY_VERSION = "0.0.
|
|
1442
|
+
declare const LIBRARY_VERSION = "0.0.5";
|
|
1443
1443
|
/**
|
|
1444
1444
|
* `User-Agent` по умолчанию.
|
|
1445
1445
|
*
|
|
@@ -1450,7 +1450,7 @@ declare const LIBRARY_VERSION = "0.0.4";
|
|
|
1450
1450
|
* В браузере заголовок не выставляется — `User-Agent` там запрещён к изменению, и среда
|
|
1451
1451
|
* молча его игнорирует.
|
|
1452
1452
|
*/
|
|
1453
|
-
declare const DEFAULT_USER_AGENT = "Mozilla/5.0 (compatible; itd-api/0.0.
|
|
1453
|
+
declare const DEFAULT_USER_AGENT = "Mozilla/5.0 (compatible; itd-api/0.0.5; +https://github.com/KiowDev/itd-api)";
|
|
1454
1454
|
/**
|
|
1455
1455
|
* Настройки повторов со всеми значениями по умолчанию.
|
|
1456
1456
|
*
|
|
@@ -2918,9 +2918,18 @@ declare class PostsResource extends BaseResource {
|
|
|
2918
2918
|
vote(postId: string, optionIds: string[], options?: RequestOptions): Promise<Poll>;
|
|
2919
2919
|
/** Запрашивает счётчики сразу для нескольких постов. */
|
|
2920
2920
|
stats(ids: string[], options?: RequestOptions): Promise<PostStats[]>;
|
|
2921
|
-
/**
|
|
2921
|
+
/**
|
|
2922
|
+
* Загружает страницу стены пользователя.
|
|
2923
|
+
*
|
|
2924
|
+
* Это **не только его собственные посты**: сюда попадают и записи, которые другие
|
|
2925
|
+
* оставили на его стене — у них `author` чужой, а `wallRecipient` указывает на владельца
|
|
2926
|
+
* стены. Поэтому число записей обычно больше, чем `postsCount` из профиля; чтобы
|
|
2927
|
+
* получить только авторские посты, отфильтруйте по `post.author.id`.
|
|
2928
|
+
*
|
|
2929
|
+
* Принимает и UUID, и имя пользователя.
|
|
2930
|
+
*/
|
|
2922
2931
|
byUser(user: UserRef, params?: UserPostsParams): Promise<Page<Post>>;
|
|
2923
|
-
/** Перебирает
|
|
2932
|
+
/** Перебирает стену пользователя. Что именно в неё входит — см. {@link byUser}. */
|
|
2924
2933
|
iterateByUser(user: UserRef, params?: UserPostsParams): Paginator<Post>;
|
|
2925
2934
|
/** Загружает страницу постов, которые пользователь отметил реакцией. */
|
|
2926
2935
|
likedByUser(user: UserRef, params?: UserPostsParams): Promise<Page<Post>>;
|
|
@@ -2959,9 +2968,16 @@ declare class PostsResource extends BaseResource {
|
|
|
2959
2968
|
voiceComment(postId: string, audio: FileInput, options?: RequestOptions): Promise<Comment>;
|
|
2960
2969
|
}
|
|
2961
2970
|
|
|
2962
|
-
/**
|
|
2971
|
+
/**
|
|
2972
|
+
* Параметры списков пользователей.
|
|
2973
|
+
*
|
|
2974
|
+
* ⚠️ Списки подписчиков, подписок и заблокированных на сервере **не листаются**:
|
|
2975
|
+
* `page` он игнорирует, а `limit` зажимает на 20. Подробности — в {@link UsersResource.followers}.
|
|
2976
|
+
*/
|
|
2963
2977
|
interface UserListParams extends RequestOptions {
|
|
2978
|
+
/** Сколько записей вернуть. Значения больше 20 сервер молча уменьшает до 20. */
|
|
2964
2979
|
limit?: number;
|
|
2980
|
+
/** Номер страницы. Сервер его игнорирует — оставлен на случай, если пагинацию починят. */
|
|
2965
2981
|
page?: number;
|
|
2966
2982
|
maxPages?: number;
|
|
2967
2983
|
}
|
|
@@ -3028,13 +3044,28 @@ declare class UsersResource extends BaseResource {
|
|
|
3028
3044
|
follow(user: UserRef, options?: RequestOptions): Promise<FollowResult>;
|
|
3029
3045
|
/** Отписывается от пользователя. */
|
|
3030
3046
|
unfollow(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3031
|
-
/**
|
|
3047
|
+
/**
|
|
3048
|
+
* Загружает подписчиков пользователя.
|
|
3049
|
+
*
|
|
3050
|
+
* ⚠️ **Сервер этот список не листает.** Возвращаются первые 20 записей и только они:
|
|
3051
|
+
* параметр `page` игнорируется (любая страница отдаёт те же записи и `pagination.page: 1`),
|
|
3052
|
+
* `limit` больше 20 молча уменьшается, а `hasMore` всегда `false`. Последнее честно —
|
|
3053
|
+
* получить продолжение нечем.
|
|
3054
|
+
*
|
|
3055
|
+
* Числу `total` доверять тоже не стоит: оно расходится с `followersCount` из профиля —
|
|
3056
|
+
* на проверенных аккаунтах занижено примерно на 1–4%.
|
|
3057
|
+
*/
|
|
3032
3058
|
followers(user: UserRef, params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3033
|
-
/**
|
|
3059
|
+
/**
|
|
3060
|
+
* Перебирает подписчиков.
|
|
3061
|
+
*
|
|
3062
|
+
* ⚠️ Перебор закончится после первых 20 записей: сервер список не листает —
|
|
3063
|
+
* см. {@link followers}. Метод оставлен на случай, если пагинацию починят.
|
|
3064
|
+
*/
|
|
3034
3065
|
iterateFollowers(user: UserRef, params?: UserListParams): Paginator<UserSummary>;
|
|
3035
|
-
/** Загружает
|
|
3066
|
+
/** Загружает подписки пользователя. Ограничения те же, что у {@link followers}. */
|
|
3036
3067
|
following(user: UserRef, params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3037
|
-
/** Перебирает подписки. */
|
|
3068
|
+
/** Перебирает подписки. Закончится после первых 20 записей — см. {@link followers}. */
|
|
3038
3069
|
iterateFollowing(user: UserRef, params?: UserListParams): Paginator<UserSummary>;
|
|
3039
3070
|
/**
|
|
3040
3071
|
* Проверяет, подписаны ли вы, сразу для нескольких пользователей.
|
|
@@ -3052,9 +3083,9 @@ declare class UsersResource extends BaseResource {
|
|
|
3052
3083
|
block(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3053
3084
|
/** Снимает блокировку. */
|
|
3054
3085
|
unblock(user: UserRef, options?: RequestOptions): Promise<void>;
|
|
3055
|
-
/** Загружает
|
|
3086
|
+
/** Загружает заблокированных пользователей. Ограничения те же, что у {@link followers}. */
|
|
3056
3087
|
blocked(params?: UserListParams): Promise<Page<UserSummary>>;
|
|
3057
|
-
/** Перебирает
|
|
3088
|
+
/** Перебирает заблокированных. Закончится после первых 20 записей — см. {@link followers}. */
|
|
3058
3089
|
iterateBlocked(params?: UserListParams): Paginator<UserSummary>;
|
|
3059
3090
|
/** Загружает настройки приватности. */
|
|
3060
3091
|
getPrivacy(options?: RequestOptions): Promise<PrivacySettings>;
|
package/dist/index.cjs
CHANGED
|
@@ -1,340 +1,340 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYM2YUO4D_cjs = require('./chunk-YM2YUO4D.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ALLOWED_MIME_TYPES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYM2YUO4D_cjs.ALLOWED_MIME_TYPES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "AUDIO_MIME_TYPES", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYM2YUO4D_cjs.AUDIO_MIME_TYPES; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AUTH_FLAG_COOKIE", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYM2YUO4D_cjs.AUTH_FLAG_COOKIE; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AUTH_PATHS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYM2YUO4D_cjs.AUTH_PATHS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AttachmentType", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYM2YUO4D_cjs.AttachmentType; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CommentSort", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYM2YUO4D_cjs.CommentSort; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DEFAULT_BASE_URL", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYM2YUO4D_cjs.DEFAULT_BASE_URL; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "DEFAULT_TIMEOUT", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYM2YUO4D_cjs.DEFAULT_TIMEOUT; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DEFAULT_USER_AGENT", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYM2YUO4D_cjs.DEFAULT_USER_AGENT; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "DEVICE_ID_HEADER", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYM2YUO4D_cjs.DEVICE_ID_HEADER; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "DetectedRuntime", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYM2YUO4D_cjs.DetectedRuntime; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FeedTab", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYM2YUO4D_cjs.FeedTab; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "IMAGE_MIME_TYPES", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYM2YUO4D_cjs.IMAGE_MIME_TYPES; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ItdAbortError", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdAbortError; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ItdApiError", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdApiError; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ItdApiErrorKind", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdApiErrorKind; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ItdAuthError", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdAuthError; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ItdClient", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdClient; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ItdConfigError", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdConfigError; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ItdConflictError", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdConflictError; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ItdError", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdError; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ItdErrorCode", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdErrorCode; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ItdErrorKind", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdErrorKind; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ItdForbiddenError", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdForbiddenError; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "ItdNetworkError", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdNetworkError; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "ItdNotFoundError", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdNotFoundError; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "ItdPhoneVerificationError", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdPhoneVerificationError; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "ItdRateLimitError", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdRateLimitError; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "ItdRealtime", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdRealtime; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "ItdServerError", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdServerError; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "ItdTimeoutError", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdTimeoutError; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "ItdValidationError", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkYM2YUO4D_cjs.ItdValidationError; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "LIBRARY_VERSION", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkYM2YUO4D_cjs.LIBRARY_VERSION; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "LikesVisibility", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkYM2YUO4D_cjs.LikesVisibility; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "LocalStorageTokenStorage", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkYM2YUO4D_cjs.LocalStorageTokenStorage; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "MAX_RECONNECT_ATTEMPTS", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkYM2YUO4D_cjs.MAX_RECONNECT_ATTEMPTS; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "MemoryTokenStorage", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkYM2YUO4D_cjs.MemoryTokenStorage; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "NOTIFICATION_TYPE_ALIASES", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkYM2YUO4D_cjs.NOTIFICATION_TYPE_ALIASES; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "NotificationType", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkYM2YUO4D_cjs.NotificationType; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "OAuthProvider", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkYM2YUO4D_cjs.OAuthProvider; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "PaginationMode", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkYM2YUO4D_cjs.PaginationMode; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "Paginator", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkYM2YUO4D_cjs.Paginator; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "RECONNECT_BACKOFF", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkYM2YUO4D_cjs.RECONNECT_BACKOFF; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "RECONNECT_JITTER", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkYM2YUO4D_cjs.RECONNECT_JITTER; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "REFRESH_COOKIE", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkYM2YUO4D_cjs.REFRESH_COOKIE; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "REFRESH_COOKIE_PATH", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkYM2YUO4D_cjs.REFRESH_COOKIE_PATH; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "RealtimeStatus", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkYM2YUO4D_cjs.RealtimeStatus; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "RealtimeTransportKind", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkYM2YUO4D_cjs.RealtimeTransportKind; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "ReportReason", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkYM2YUO4D_cjs.ReportReason; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "ReportTargetType", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkYM2YUO4D_cjs.ReportTargetType; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "RuntimeMode", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkYM2YUO4D_cjs.RuntimeMode; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "STREAM_PATH", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkYM2YUO4D_cjs.STREAM_PATH; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "SignInStatus", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkYM2YUO4D_cjs.SignInStatus; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "TURNSTILE_SITE_KEY", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkYM2YUO4D_cjs.TURNSTILE_SITE_KEY; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "UnauthorizedStreamError", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkYM2YUO4D_cjs.UnauthorizedStreamError; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "VIDEO_MIME_TYPES", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkYM2YUO4D_cjs.VIDEO_MIME_TYPES; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "WallAccess", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkYM2YUO4D_cjs.WallAccess; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "canonicalNotificationType", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkYM2YUO4D_cjs.canonicalNotificationType; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "comment", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkYM2YUO4D_cjs.comment; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "createClient", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkYM2YUO4D_cjs.createClient; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "createTokenStorage", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkYM2YUO4D_cjs.createTokenStorage; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "formatNotificationText", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkYM2YUO4D_cjs.formatNotificationText; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "isBuilder", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkYM2YUO4D_cjs.isBuilder; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "isItdApiError", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdApiError; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "isItdAuthError", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdAuthError; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "isItdConflictError", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdConflictError; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "isItdError", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdError; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "isItdForbiddenError", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdForbiddenError; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "isItdNotFoundError", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdNotFoundError; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "isItdPhoneVerificationError", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdPhoneVerificationError; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "isItdRateLimitError", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdRateLimitError; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "isItdServerError", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdServerError; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "isItdValidationError", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkYM2YUO4D_cjs.isItdValidationError; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "isKnownNotificationType", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkYM2YUO4D_cjs.isKnownNotificationType; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "isMyProfile", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkYM2YUO4D_cjs.isMyProfile; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "normalizeNotification", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkYM2YUO4D_cjs.normalizeNotification; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "poll", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkYM2YUO4D_cjs.poll; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "post", {
|
|
316
316
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkYM2YUO4D_cjs.post; }
|
|
318
318
|
});
|
|
319
319
|
Object.defineProperty(exports, "readNotificationEvent", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkYM2YUO4D_cjs.readNotificationEvent; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "readUnreadCountEvent", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkYM2YUO4D_cjs.readUnreadCountEvent; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "report", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkYM2YUO4D_cjs.report; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "resolveNotificationUrl", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkYM2YUO4D_cjs.resolveNotificationUrl; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "toDate", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkYM2YUO4D_cjs.toDate; }
|
|
338
338
|
});
|
|
339
339
|
//# sourceMappingURL=index.cjs.map
|
|
340
340
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as Actor, g as AllowedMimeType, h as Announcement, i as AnnouncementButton, j as Attachment, k as AttachmentType, l as AudioMimeType, m as AuthInput, n as AuthResource, o as Author, B as BuilderInput, C as CaptchaCredentials, p as ChangelogEntry, q as Clan, r as ClientHooks, s as Comment, t as CommentBuilder, u as CommentInput, v as CommentReplyTo, w as CommentSort, x as CommentsParams, y as CommentsResource, z as CreateCommentInput, D as CreatePollInput, E as CreatePostInput, G as CreateReportInput, H as Credentials, J as CredentialsAuth, K as DEFAULT_BASE_URL, L as DEFAULT_TIMEOUT, M as DEFAULT_USER_AGENT, N as DEVICE_ID_HEADER, O as DetectedRuntime, P as DwellEntry, Q as ErrorContextHook, R as FeedParams, S as FeedTab, U as FileInput, V as FilesResource, W as FollowResult, X as ForgotPasswordInput, Y as Hashtag, Z as HashtagPostsParams, _ as HashtagsResource, $ as IMAGE_MIME_TYPES, a0 as ImageMimeType, a1 as InteractionEntry, a2 as IsoDate, a3 as ItdAbortError, a4 as ItdApiError, a5 as ItdApiErrorInit, a6 as ItdApiErrorKind, a7 as ItdAuthError, a8 as ItdBuilder, a as ItdClient, b as ItdClientOptions, a9 as ItdConfigError, aa as ItdConflictError, ab as ItdError, ac as ItdErrorCode, ad as ItdErrorKind, ae as ItdFieldErrors, af as ItdForbiddenError, ag as ItdNetworkError, ah as ItdNotFoundError, ai as ItdPhoneVerificationError, aj as ItdRateLimitError, ak as ItdRealtime, al as ItdServerError, I as ItdSession, am as ItdTimeoutError, an as ItdValidationError, ao as LIBRARY_VERSION, ap as LikeResult, aq as LikesVisibility, ar as Listener, as as LocalStorageTokenStorage, at as Logger, au as Loose, av as MAX_RECONNECT_ATTEMPTS, aw as MemoryTokenStorage, ax as MyProfile, ay as NOTIFICATION_TYPE_ALIASES, az as Notification, aA as NotificationEvent, aB as NotificationListParams, aC as NotificationSettings, aD as NotificationType, aE as NotificationsResource, aF as OAuthProvider, aG as Page, aH as PageState, aI as PaginationMode, aJ as Paginator, aK as PaymentMethod, aL as Pin, aM as PinPostResult, aN as PinsResult, aO as PlatformResource, aP as Poll, aQ as PollBuilder, aR as PollInput, aS as PollOption, aT as PollTransportOptions, aU as Portal, aV as Post, aW as PostBuilder, aX as PostInput, aY as PostStats, aZ as PostsResource, a_ as PrivacySettings, a$ as Profile, b0 as PublicProfile, b1 as RECONNECT_BACKOFF, b2 as RECONNECT_JITTER, b3 as REFRESH_COOKIE, b4 as REFRESH_COOKIE_PATH, b5 as RateLimitOptions, b6 as RawRequestOptions, b7 as RealtimeEvents, b8 as RealtimeOptions, b9 as RealtimeStatus, ba as RealtimeTransport, bb as RealtimeTransportKind, bc as ReconnectOptions, bd as RepliesParams, be as Report, bf as ReportBuilder, bg as ReportInput, bh as ReportReason, bi as ReportTargetType, bj as ReportsResource, bk as RequestContext, bl as RequestOptions, bm as ResetPasswordInput, bn as ResponseContext, bo as RetryContext, bp as RetryOptions, bq as RuntimeMode, br as STREAM_PATH, bs as SearchResource, bt as SearchResult, bu as Session, bv as SignInResult, bw as SignInStatus, bx as Span, by as SseTransportOptions, bz as Subscription, bA as SubscriptionResource, bB as SubscriptionState, bC as TURNSTILE_SITE_KEY, bD as TelemetryResource, T as TokenStorage, bE as TransportContext, bF as TransportEvent, bG as UnauthorizedStreamError, bH as Unsubscribe, bI as UpdateNotificationSettingsInput, bJ as UpdatePrivacyInput, bK as UpdateProfileInput, bL as UploadOptions, bM as UploadedFile, bN as UserId, bO as UserListParams, bP as UserPostsParams, bQ as UserRef, bR as UserSummary, bS as UsersResource, bT as VIDEO_MIME_TYPES, bU as VerificationResource, bV as VerificationStatus, bW as VideoMimeType, bX as WallAccess, bY as canonicalNotificationType, bZ as comment, cl as createClient, b_ as createTokenStorage, b$ as formatNotificationText, c0 as isBuilder, c1 as isItdApiError, c2 as isItdAuthError, c3 as isItdConflictError, c4 as isItdError, c5 as isItdForbiddenError, c6 as isItdNotFoundError, c7 as isItdPhoneVerificationError, c8 as isItdRateLimitError, c9 as isItdServerError, ca as isItdValidationError, cb as isKnownNotificationType, cc as isMyProfile, cd as normalizeNotification, ce as poll, cf as post, cg as readNotificationEvent, ch as readUnreadCountEvent, ci as report, cj as resolveNotificationUrl, ck as toDate } from './index-
|
|
1
|
+
export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as Actor, g as AllowedMimeType, h as Announcement, i as AnnouncementButton, j as Attachment, k as AttachmentType, l as AudioMimeType, m as AuthInput, n as AuthResource, o as Author, B as BuilderInput, C as CaptchaCredentials, p as ChangelogEntry, q as Clan, r as ClientHooks, s as Comment, t as CommentBuilder, u as CommentInput, v as CommentReplyTo, w as CommentSort, x as CommentsParams, y as CommentsResource, z as CreateCommentInput, D as CreatePollInput, E as CreatePostInput, G as CreateReportInput, H as Credentials, J as CredentialsAuth, K as DEFAULT_BASE_URL, L as DEFAULT_TIMEOUT, M as DEFAULT_USER_AGENT, N as DEVICE_ID_HEADER, O as DetectedRuntime, P as DwellEntry, Q as ErrorContextHook, R as FeedParams, S as FeedTab, U as FileInput, V as FilesResource, W as FollowResult, X as ForgotPasswordInput, Y as Hashtag, Z as HashtagPostsParams, _ as HashtagsResource, $ as IMAGE_MIME_TYPES, a0 as ImageMimeType, a1 as InteractionEntry, a2 as IsoDate, a3 as ItdAbortError, a4 as ItdApiError, a5 as ItdApiErrorInit, a6 as ItdApiErrorKind, a7 as ItdAuthError, a8 as ItdBuilder, a as ItdClient, b as ItdClientOptions, a9 as ItdConfigError, aa as ItdConflictError, ab as ItdError, ac as ItdErrorCode, ad as ItdErrorKind, ae as ItdFieldErrors, af as ItdForbiddenError, ag as ItdNetworkError, ah as ItdNotFoundError, ai as ItdPhoneVerificationError, aj as ItdRateLimitError, ak as ItdRealtime, al as ItdServerError, I as ItdSession, am as ItdTimeoutError, an as ItdValidationError, ao as LIBRARY_VERSION, ap as LikeResult, aq as LikesVisibility, ar as Listener, as as LocalStorageTokenStorage, at as Logger, au as Loose, av as MAX_RECONNECT_ATTEMPTS, aw as MemoryTokenStorage, ax as MyProfile, ay as NOTIFICATION_TYPE_ALIASES, az as Notification, aA as NotificationEvent, aB as NotificationListParams, aC as NotificationSettings, aD as NotificationType, aE as NotificationsResource, aF as OAuthProvider, aG as Page, aH as PageState, aI as PaginationMode, aJ as Paginator, aK as PaymentMethod, aL as Pin, aM as PinPostResult, aN as PinsResult, aO as PlatformResource, aP as Poll, aQ as PollBuilder, aR as PollInput, aS as PollOption, aT as PollTransportOptions, aU as Portal, aV as Post, aW as PostBuilder, aX as PostInput, aY as PostStats, aZ as PostsResource, a_ as PrivacySettings, a$ as Profile, b0 as PublicProfile, b1 as RECONNECT_BACKOFF, b2 as RECONNECT_JITTER, b3 as REFRESH_COOKIE, b4 as REFRESH_COOKIE_PATH, b5 as RateLimitOptions, b6 as RawRequestOptions, b7 as RealtimeEvents, b8 as RealtimeOptions, b9 as RealtimeStatus, ba as RealtimeTransport, bb as RealtimeTransportKind, bc as ReconnectOptions, bd as RepliesParams, be as Report, bf as ReportBuilder, bg as ReportInput, bh as ReportReason, bi as ReportTargetType, bj as ReportsResource, bk as RequestContext, bl as RequestOptions, bm as ResetPasswordInput, bn as ResponseContext, bo as RetryContext, bp as RetryOptions, bq as RuntimeMode, br as STREAM_PATH, bs as SearchResource, bt as SearchResult, bu as Session, bv as SignInResult, bw as SignInStatus, bx as Span, by as SseTransportOptions, bz as Subscription, bA as SubscriptionResource, bB as SubscriptionState, bC as TURNSTILE_SITE_KEY, bD as TelemetryResource, T as TokenStorage, bE as TransportContext, bF as TransportEvent, bG as UnauthorizedStreamError, bH as Unsubscribe, bI as UpdateNotificationSettingsInput, bJ as UpdatePrivacyInput, bK as UpdateProfileInput, bL as UploadOptions, bM as UploadedFile, bN as UserId, bO as UserListParams, bP as UserPostsParams, bQ as UserRef, bR as UserSummary, bS as UsersResource, bT as VIDEO_MIME_TYPES, bU as VerificationResource, bV as VerificationStatus, bW as VideoMimeType, bX as WallAccess, bY as canonicalNotificationType, bZ as comment, cl as createClient, b_ as createTokenStorage, b$ as formatNotificationText, c0 as isBuilder, c1 as isItdApiError, c2 as isItdAuthError, c3 as isItdConflictError, c4 as isItdError, c5 as isItdForbiddenError, c6 as isItdNotFoundError, c7 as isItdPhoneVerificationError, c8 as isItdRateLimitError, c9 as isItdServerError, ca as isItdValidationError, cb as isKnownNotificationType, cc as isMyProfile, cd as normalizeNotification, ce as poll, cf as post, cg as readNotificationEvent, ch as readUnreadCountEvent, ci as report, cj as resolveNotificationUrl, ck as toDate } from './index-Dv0LXpMf.cjs';
|