itd-api 0.0.5 → 0.0.7

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/dist/node.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYM2YUO4D_cjs = require('./chunk-YM2YUO4D.cjs');
3
+ var chunk3RNNZJZ4_cjs = require('./chunk-3RNNZJZ4.cjs');
4
4
 
5
5
  // src/node.ts
6
6
  var nodeFileReader = async (path) => {
@@ -38,7 +38,7 @@ var FileTokenStorage = class {
38
38
  }
39
39
  }
40
40
  };
41
- var ItdClient2 = class extends chunkYM2YUO4D_cjs.ItdClient {
41
+ var ItdClient2 = class extends chunk3RNNZJZ4_cjs.ItdClient {
42
42
  constructor(options = {}) {
43
43
  super(options);
44
44
  this.setFileReader(nodeFileReader);
@@ -50,327 +50,347 @@ function createClient(options = {}) {
50
50
 
51
51
  Object.defineProperty(exports, "ALLOWED_MIME_TYPES", {
52
52
  enumerable: true,
53
- get: function () { return chunkYM2YUO4D_cjs.ALLOWED_MIME_TYPES; }
53
+ get: function () { return chunk3RNNZJZ4_cjs.ALLOWED_MIME_TYPES; }
54
54
  });
55
55
  Object.defineProperty(exports, "AUDIO_MIME_TYPES", {
56
56
  enumerable: true,
57
- get: function () { return chunkYM2YUO4D_cjs.AUDIO_MIME_TYPES; }
57
+ get: function () { return chunk3RNNZJZ4_cjs.AUDIO_MIME_TYPES; }
58
58
  });
59
59
  Object.defineProperty(exports, "AUTH_FLAG_COOKIE", {
60
60
  enumerable: true,
61
- get: function () { return chunkYM2YUO4D_cjs.AUTH_FLAG_COOKIE; }
61
+ get: function () { return chunk3RNNZJZ4_cjs.AUTH_FLAG_COOKIE; }
62
62
  });
63
63
  Object.defineProperty(exports, "AUTH_PATHS", {
64
64
  enumerable: true,
65
- get: function () { return chunkYM2YUO4D_cjs.AUTH_PATHS; }
65
+ get: function () { return chunk3RNNZJZ4_cjs.AUTH_PATHS; }
66
+ });
67
+ Object.defineProperty(exports, "AccessType", {
68
+ enumerable: true,
69
+ get: function () { return chunk3RNNZJZ4_cjs.AccessType; }
66
70
  });
67
71
  Object.defineProperty(exports, "AttachmentType", {
68
72
  enumerable: true,
69
- get: function () { return chunkYM2YUO4D_cjs.AttachmentType; }
73
+ get: function () { return chunk3RNNZJZ4_cjs.AttachmentType; }
70
74
  });
71
75
  Object.defineProperty(exports, "CommentSort", {
72
76
  enumerable: true,
73
- get: function () { return chunkYM2YUO4D_cjs.CommentSort; }
77
+ get: function () { return chunk3RNNZJZ4_cjs.CommentSort; }
74
78
  });
75
79
  Object.defineProperty(exports, "DEFAULT_BASE_URL", {
76
80
  enumerable: true,
77
- get: function () { return chunkYM2YUO4D_cjs.DEFAULT_BASE_URL; }
81
+ get: function () { return chunk3RNNZJZ4_cjs.DEFAULT_BASE_URL; }
78
82
  });
79
83
  Object.defineProperty(exports, "DEFAULT_TIMEOUT", {
80
84
  enumerable: true,
81
- get: function () { return chunkYM2YUO4D_cjs.DEFAULT_TIMEOUT; }
85
+ get: function () { return chunk3RNNZJZ4_cjs.DEFAULT_TIMEOUT; }
82
86
  });
83
87
  Object.defineProperty(exports, "DEFAULT_USER_AGENT", {
84
88
  enumerable: true,
85
- get: function () { return chunkYM2YUO4D_cjs.DEFAULT_USER_AGENT; }
89
+ get: function () { return chunk3RNNZJZ4_cjs.DEFAULT_USER_AGENT; }
86
90
  });
87
91
  Object.defineProperty(exports, "DEVICE_ID_HEADER", {
88
92
  enumerable: true,
89
- get: function () { return chunkYM2YUO4D_cjs.DEVICE_ID_HEADER; }
93
+ get: function () { return chunk3RNNZJZ4_cjs.DEVICE_ID_HEADER; }
90
94
  });
91
95
  Object.defineProperty(exports, "DetectedRuntime", {
92
96
  enumerable: true,
93
- get: function () { return chunkYM2YUO4D_cjs.DetectedRuntime; }
97
+ get: function () { return chunk3RNNZJZ4_cjs.DetectedRuntime; }
94
98
  });
95
99
  Object.defineProperty(exports, "FeedTab", {
96
100
  enumerable: true,
97
- get: function () { return chunkYM2YUO4D_cjs.FeedTab; }
101
+ get: function () { return chunk3RNNZJZ4_cjs.FeedTab; }
98
102
  });
99
103
  Object.defineProperty(exports, "IMAGE_MIME_TYPES", {
100
104
  enumerable: true,
101
- get: function () { return chunkYM2YUO4D_cjs.IMAGE_MIME_TYPES; }
105
+ get: function () { return chunk3RNNZJZ4_cjs.IMAGE_MIME_TYPES; }
106
+ });
107
+ Object.defineProperty(exports, "InteractionType", {
108
+ enumerable: true,
109
+ get: function () { return chunk3RNNZJZ4_cjs.InteractionType; }
102
110
  });
103
111
  Object.defineProperty(exports, "ItdAbortError", {
104
112
  enumerable: true,
105
- get: function () { return chunkYM2YUO4D_cjs.ItdAbortError; }
113
+ get: function () { return chunk3RNNZJZ4_cjs.ItdAbortError; }
106
114
  });
107
115
  Object.defineProperty(exports, "ItdApiError", {
108
116
  enumerable: true,
109
- get: function () { return chunkYM2YUO4D_cjs.ItdApiError; }
117
+ get: function () { return chunk3RNNZJZ4_cjs.ItdApiError; }
110
118
  });
111
119
  Object.defineProperty(exports, "ItdApiErrorKind", {
112
120
  enumerable: true,
113
- get: function () { return chunkYM2YUO4D_cjs.ItdApiErrorKind; }
121
+ get: function () { return chunk3RNNZJZ4_cjs.ItdApiErrorKind; }
114
122
  });
115
123
  Object.defineProperty(exports, "ItdAuthError", {
116
124
  enumerable: true,
117
- get: function () { return chunkYM2YUO4D_cjs.ItdAuthError; }
125
+ get: function () { return chunk3RNNZJZ4_cjs.ItdAuthError; }
118
126
  });
119
127
  Object.defineProperty(exports, "ItdConfigError", {
120
128
  enumerable: true,
121
- get: function () { return chunkYM2YUO4D_cjs.ItdConfigError; }
129
+ get: function () { return chunk3RNNZJZ4_cjs.ItdConfigError; }
122
130
  });
123
131
  Object.defineProperty(exports, "ItdConflictError", {
124
132
  enumerable: true,
125
- get: function () { return chunkYM2YUO4D_cjs.ItdConflictError; }
133
+ get: function () { return chunk3RNNZJZ4_cjs.ItdConflictError; }
126
134
  });
127
135
  Object.defineProperty(exports, "ItdError", {
128
136
  enumerable: true,
129
- get: function () { return chunkYM2YUO4D_cjs.ItdError; }
137
+ get: function () { return chunk3RNNZJZ4_cjs.ItdError; }
130
138
  });
131
139
  Object.defineProperty(exports, "ItdErrorCode", {
132
140
  enumerable: true,
133
- get: function () { return chunkYM2YUO4D_cjs.ItdErrorCode; }
141
+ get: function () { return chunk3RNNZJZ4_cjs.ItdErrorCode; }
134
142
  });
135
143
  Object.defineProperty(exports, "ItdErrorKind", {
136
144
  enumerable: true,
137
- get: function () { return chunkYM2YUO4D_cjs.ItdErrorKind; }
145
+ get: function () { return chunk3RNNZJZ4_cjs.ItdErrorKind; }
138
146
  });
139
147
  Object.defineProperty(exports, "ItdForbiddenError", {
140
148
  enumerable: true,
141
- get: function () { return chunkYM2YUO4D_cjs.ItdForbiddenError; }
149
+ get: function () { return chunk3RNNZJZ4_cjs.ItdForbiddenError; }
142
150
  });
143
151
  Object.defineProperty(exports, "ItdNetworkError", {
144
152
  enumerable: true,
145
- get: function () { return chunkYM2YUO4D_cjs.ItdNetworkError; }
153
+ get: function () { return chunk3RNNZJZ4_cjs.ItdNetworkError; }
146
154
  });
147
155
  Object.defineProperty(exports, "ItdNotFoundError", {
148
156
  enumerable: true,
149
- get: function () { return chunkYM2YUO4D_cjs.ItdNotFoundError; }
157
+ get: function () { return chunk3RNNZJZ4_cjs.ItdNotFoundError; }
150
158
  });
151
159
  Object.defineProperty(exports, "ItdPhoneVerificationError", {
152
160
  enumerable: true,
153
- get: function () { return chunkYM2YUO4D_cjs.ItdPhoneVerificationError; }
161
+ get: function () { return chunk3RNNZJZ4_cjs.ItdPhoneVerificationError; }
154
162
  });
155
163
  Object.defineProperty(exports, "ItdRateLimitError", {
156
164
  enumerable: true,
157
- get: function () { return chunkYM2YUO4D_cjs.ItdRateLimitError; }
165
+ get: function () { return chunk3RNNZJZ4_cjs.ItdRateLimitError; }
158
166
  });
159
167
  Object.defineProperty(exports, "ItdRealtime", {
160
168
  enumerable: true,
161
- get: function () { return chunkYM2YUO4D_cjs.ItdRealtime; }
169
+ get: function () { return chunk3RNNZJZ4_cjs.ItdRealtime; }
162
170
  });
163
171
  Object.defineProperty(exports, "ItdServerError", {
164
172
  enumerable: true,
165
- get: function () { return chunkYM2YUO4D_cjs.ItdServerError; }
173
+ get: function () { return chunk3RNNZJZ4_cjs.ItdServerError; }
166
174
  });
167
175
  Object.defineProperty(exports, "ItdTimeoutError", {
168
176
  enumerable: true,
169
- get: function () { return chunkYM2YUO4D_cjs.ItdTimeoutError; }
177
+ get: function () { return chunk3RNNZJZ4_cjs.ItdTimeoutError; }
170
178
  });
171
179
  Object.defineProperty(exports, "ItdValidationError", {
172
180
  enumerable: true,
173
- get: function () { return chunkYM2YUO4D_cjs.ItdValidationError; }
181
+ get: function () { return chunk3RNNZJZ4_cjs.ItdValidationError; }
174
182
  });
175
183
  Object.defineProperty(exports, "LIBRARY_VERSION", {
176
184
  enumerable: true,
177
- get: function () { return chunkYM2YUO4D_cjs.LIBRARY_VERSION; }
185
+ get: function () { return chunk3RNNZJZ4_cjs.LIBRARY_VERSION; }
178
186
  });
179
187
  Object.defineProperty(exports, "LikesVisibility", {
180
188
  enumerable: true,
181
- get: function () { return chunkYM2YUO4D_cjs.LikesVisibility; }
189
+ get: function () { return chunk3RNNZJZ4_cjs.LikesVisibility; }
182
190
  });
183
191
  Object.defineProperty(exports, "LocalStorageTokenStorage", {
184
192
  enumerable: true,
185
- get: function () { return chunkYM2YUO4D_cjs.LocalStorageTokenStorage; }
193
+ get: function () { return chunk3RNNZJZ4_cjs.LocalStorageTokenStorage; }
186
194
  });
187
195
  Object.defineProperty(exports, "MAX_RECONNECT_ATTEMPTS", {
188
196
  enumerable: true,
189
- get: function () { return chunkYM2YUO4D_cjs.MAX_RECONNECT_ATTEMPTS; }
197
+ get: function () { return chunk3RNNZJZ4_cjs.MAX_RECONNECT_ATTEMPTS; }
190
198
  });
191
199
  Object.defineProperty(exports, "MemoryTokenStorage", {
192
200
  enumerable: true,
193
- get: function () { return chunkYM2YUO4D_cjs.MemoryTokenStorage; }
201
+ get: function () { return chunk3RNNZJZ4_cjs.MemoryTokenStorage; }
194
202
  });
195
203
  Object.defineProperty(exports, "NOTIFICATION_TYPE_ALIASES", {
196
204
  enumerable: true,
197
- get: function () { return chunkYM2YUO4D_cjs.NOTIFICATION_TYPE_ALIASES; }
205
+ get: function () { return chunk3RNNZJZ4_cjs.NOTIFICATION_TYPE_ALIASES; }
198
206
  });
199
207
  Object.defineProperty(exports, "NotificationType", {
200
208
  enumerable: true,
201
- get: function () { return chunkYM2YUO4D_cjs.NotificationType; }
209
+ get: function () { return chunk3RNNZJZ4_cjs.NotificationType; }
202
210
  });
203
211
  Object.defineProperty(exports, "OAuthProvider", {
204
212
  enumerable: true,
205
- get: function () { return chunkYM2YUO4D_cjs.OAuthProvider; }
213
+ get: function () { return chunk3RNNZJZ4_cjs.OAuthProvider; }
206
214
  });
207
215
  Object.defineProperty(exports, "PaginationMode", {
208
216
  enumerable: true,
209
- get: function () { return chunkYM2YUO4D_cjs.PaginationMode; }
217
+ get: function () { return chunk3RNNZJZ4_cjs.PaginationMode; }
210
218
  });
211
219
  Object.defineProperty(exports, "Paginator", {
212
220
  enumerable: true,
213
- get: function () { return chunkYM2YUO4D_cjs.Paginator; }
221
+ get: function () { return chunk3RNNZJZ4_cjs.Paginator; }
214
222
  });
215
223
  Object.defineProperty(exports, "RECONNECT_BACKOFF", {
216
224
  enumerable: true,
217
- get: function () { return chunkYM2YUO4D_cjs.RECONNECT_BACKOFF; }
225
+ get: function () { return chunk3RNNZJZ4_cjs.RECONNECT_BACKOFF; }
218
226
  });
219
227
  Object.defineProperty(exports, "RECONNECT_JITTER", {
220
228
  enumerable: true,
221
- get: function () { return chunkYM2YUO4D_cjs.RECONNECT_JITTER; }
229
+ get: function () { return chunk3RNNZJZ4_cjs.RECONNECT_JITTER; }
222
230
  });
223
231
  Object.defineProperty(exports, "REFRESH_COOKIE", {
224
232
  enumerable: true,
225
- get: function () { return chunkYM2YUO4D_cjs.REFRESH_COOKIE; }
233
+ get: function () { return chunk3RNNZJZ4_cjs.REFRESH_COOKIE; }
226
234
  });
227
235
  Object.defineProperty(exports, "REFRESH_COOKIE_PATH", {
228
236
  enumerable: true,
229
- get: function () { return chunkYM2YUO4D_cjs.REFRESH_COOKIE_PATH; }
237
+ get: function () { return chunk3RNNZJZ4_cjs.REFRESH_COOKIE_PATH; }
230
238
  });
231
239
  Object.defineProperty(exports, "RealtimeStatus", {
232
240
  enumerable: true,
233
- get: function () { return chunkYM2YUO4D_cjs.RealtimeStatus; }
241
+ get: function () { return chunk3RNNZJZ4_cjs.RealtimeStatus; }
234
242
  });
235
243
  Object.defineProperty(exports, "RealtimeTransportKind", {
236
244
  enumerable: true,
237
- get: function () { return chunkYM2YUO4D_cjs.RealtimeTransportKind; }
245
+ get: function () { return chunk3RNNZJZ4_cjs.RealtimeTransportKind; }
238
246
  });
239
247
  Object.defineProperty(exports, "ReportReason", {
240
248
  enumerable: true,
241
- get: function () { return chunkYM2YUO4D_cjs.ReportReason; }
249
+ get: function () { return chunk3RNNZJZ4_cjs.ReportReason; }
242
250
  });
243
251
  Object.defineProperty(exports, "ReportTargetType", {
244
252
  enumerable: true,
245
- get: function () { return chunkYM2YUO4D_cjs.ReportTargetType; }
253
+ get: function () { return chunk3RNNZJZ4_cjs.ReportTargetType; }
246
254
  });
247
255
  Object.defineProperty(exports, "RuntimeMode", {
248
256
  enumerable: true,
249
- get: function () { return chunkYM2YUO4D_cjs.RuntimeMode; }
257
+ get: function () { return chunk3RNNZJZ4_cjs.RuntimeMode; }
250
258
  });
251
259
  Object.defineProperty(exports, "STREAM_PATH", {
252
260
  enumerable: true,
253
- get: function () { return chunkYM2YUO4D_cjs.STREAM_PATH; }
261
+ get: function () { return chunk3RNNZJZ4_cjs.STREAM_PATH; }
254
262
  });
255
263
  Object.defineProperty(exports, "SignInStatus", {
256
264
  enumerable: true,
257
- get: function () { return chunkYM2YUO4D_cjs.SignInStatus; }
265
+ get: function () { return chunk3RNNZJZ4_cjs.SignInStatus; }
266
+ });
267
+ Object.defineProperty(exports, "SpanType", {
268
+ enumerable: true,
269
+ get: function () { return chunk3RNNZJZ4_cjs.SpanType; }
258
270
  });
259
271
  Object.defineProperty(exports, "TURNSTILE_SITE_KEY", {
260
272
  enumerable: true,
261
- get: function () { return chunkYM2YUO4D_cjs.TURNSTILE_SITE_KEY; }
273
+ get: function () { return chunk3RNNZJZ4_cjs.TURNSTILE_SITE_KEY; }
262
274
  });
263
275
  Object.defineProperty(exports, "UnauthorizedStreamError", {
264
276
  enumerable: true,
265
- get: function () { return chunkYM2YUO4D_cjs.UnauthorizedStreamError; }
277
+ get: function () { return chunk3RNNZJZ4_cjs.UnauthorizedStreamError; }
266
278
  });
267
279
  Object.defineProperty(exports, "VIDEO_MIME_TYPES", {
268
280
  enumerable: true,
269
- get: function () { return chunkYM2YUO4D_cjs.VIDEO_MIME_TYPES; }
281
+ get: function () { return chunk3RNNZJZ4_cjs.VIDEO_MIME_TYPES; }
282
+ });
283
+ Object.defineProperty(exports, "ViewReason", {
284
+ enumerable: true,
285
+ get: function () { return chunk3RNNZJZ4_cjs.ViewReason; }
286
+ });
287
+ Object.defineProperty(exports, "ViewSource", {
288
+ enumerable: true,
289
+ get: function () { return chunk3RNNZJZ4_cjs.ViewSource; }
270
290
  });
271
291
  Object.defineProperty(exports, "WallAccess", {
272
292
  enumerable: true,
273
- get: function () { return chunkYM2YUO4D_cjs.WallAccess; }
293
+ get: function () { return chunk3RNNZJZ4_cjs.WallAccess; }
274
294
  });
275
295
  Object.defineProperty(exports, "canonicalNotificationType", {
276
296
  enumerable: true,
277
- get: function () { return chunkYM2YUO4D_cjs.canonicalNotificationType; }
297
+ get: function () { return chunk3RNNZJZ4_cjs.canonicalNotificationType; }
278
298
  });
279
299
  Object.defineProperty(exports, "comment", {
280
300
  enumerable: true,
281
- get: function () { return chunkYM2YUO4D_cjs.comment; }
301
+ get: function () { return chunk3RNNZJZ4_cjs.comment; }
282
302
  });
283
303
  Object.defineProperty(exports, "createTokenStorage", {
284
304
  enumerable: true,
285
- get: function () { return chunkYM2YUO4D_cjs.createTokenStorage; }
305
+ get: function () { return chunk3RNNZJZ4_cjs.createTokenStorage; }
286
306
  });
287
307
  Object.defineProperty(exports, "formatNotificationText", {
288
308
  enumerable: true,
289
- get: function () { return chunkYM2YUO4D_cjs.formatNotificationText; }
309
+ get: function () { return chunk3RNNZJZ4_cjs.formatNotificationText; }
290
310
  });
291
311
  Object.defineProperty(exports, "isBuilder", {
292
312
  enumerable: true,
293
- get: function () { return chunkYM2YUO4D_cjs.isBuilder; }
313
+ get: function () { return chunk3RNNZJZ4_cjs.isBuilder; }
294
314
  });
295
315
  Object.defineProperty(exports, "isItdApiError", {
296
316
  enumerable: true,
297
- get: function () { return chunkYM2YUO4D_cjs.isItdApiError; }
317
+ get: function () { return chunk3RNNZJZ4_cjs.isItdApiError; }
298
318
  });
299
319
  Object.defineProperty(exports, "isItdAuthError", {
300
320
  enumerable: true,
301
- get: function () { return chunkYM2YUO4D_cjs.isItdAuthError; }
321
+ get: function () { return chunk3RNNZJZ4_cjs.isItdAuthError; }
302
322
  });
303
323
  Object.defineProperty(exports, "isItdConflictError", {
304
324
  enumerable: true,
305
- get: function () { return chunkYM2YUO4D_cjs.isItdConflictError; }
325
+ get: function () { return chunk3RNNZJZ4_cjs.isItdConflictError; }
306
326
  });
307
327
  Object.defineProperty(exports, "isItdError", {
308
328
  enumerable: true,
309
- get: function () { return chunkYM2YUO4D_cjs.isItdError; }
329
+ get: function () { return chunk3RNNZJZ4_cjs.isItdError; }
310
330
  });
311
331
  Object.defineProperty(exports, "isItdForbiddenError", {
312
332
  enumerable: true,
313
- get: function () { return chunkYM2YUO4D_cjs.isItdForbiddenError; }
333
+ get: function () { return chunk3RNNZJZ4_cjs.isItdForbiddenError; }
314
334
  });
315
335
  Object.defineProperty(exports, "isItdNotFoundError", {
316
336
  enumerable: true,
317
- get: function () { return chunkYM2YUO4D_cjs.isItdNotFoundError; }
337
+ get: function () { return chunk3RNNZJZ4_cjs.isItdNotFoundError; }
318
338
  });
319
339
  Object.defineProperty(exports, "isItdPhoneVerificationError", {
320
340
  enumerable: true,
321
- get: function () { return chunkYM2YUO4D_cjs.isItdPhoneVerificationError; }
341
+ get: function () { return chunk3RNNZJZ4_cjs.isItdPhoneVerificationError; }
322
342
  });
323
343
  Object.defineProperty(exports, "isItdRateLimitError", {
324
344
  enumerable: true,
325
- get: function () { return chunkYM2YUO4D_cjs.isItdRateLimitError; }
345
+ get: function () { return chunk3RNNZJZ4_cjs.isItdRateLimitError; }
326
346
  });
327
347
  Object.defineProperty(exports, "isItdServerError", {
328
348
  enumerable: true,
329
- get: function () { return chunkYM2YUO4D_cjs.isItdServerError; }
349
+ get: function () { return chunk3RNNZJZ4_cjs.isItdServerError; }
330
350
  });
331
351
  Object.defineProperty(exports, "isItdValidationError", {
332
352
  enumerable: true,
333
- get: function () { return chunkYM2YUO4D_cjs.isItdValidationError; }
353
+ get: function () { return chunk3RNNZJZ4_cjs.isItdValidationError; }
334
354
  });
335
355
  Object.defineProperty(exports, "isKnownNotificationType", {
336
356
  enumerable: true,
337
- get: function () { return chunkYM2YUO4D_cjs.isKnownNotificationType; }
357
+ get: function () { return chunk3RNNZJZ4_cjs.isKnownNotificationType; }
338
358
  });
339
359
  Object.defineProperty(exports, "isMyProfile", {
340
360
  enumerable: true,
341
- get: function () { return chunkYM2YUO4D_cjs.isMyProfile; }
361
+ get: function () { return chunk3RNNZJZ4_cjs.isMyProfile; }
342
362
  });
343
363
  Object.defineProperty(exports, "normalizeNotification", {
344
364
  enumerable: true,
345
- get: function () { return chunkYM2YUO4D_cjs.normalizeNotification; }
365
+ get: function () { return chunk3RNNZJZ4_cjs.normalizeNotification; }
346
366
  });
347
367
  Object.defineProperty(exports, "poll", {
348
368
  enumerable: true,
349
- get: function () { return chunkYM2YUO4D_cjs.poll; }
369
+ get: function () { return chunk3RNNZJZ4_cjs.poll; }
350
370
  });
351
371
  Object.defineProperty(exports, "post", {
352
372
  enumerable: true,
353
- get: function () { return chunkYM2YUO4D_cjs.post; }
373
+ get: function () { return chunk3RNNZJZ4_cjs.post; }
354
374
  });
355
375
  Object.defineProperty(exports, "readNotificationEvent", {
356
376
  enumerable: true,
357
- get: function () { return chunkYM2YUO4D_cjs.readNotificationEvent; }
377
+ get: function () { return chunk3RNNZJZ4_cjs.readNotificationEvent; }
358
378
  });
359
379
  Object.defineProperty(exports, "readUnreadCountEvent", {
360
380
  enumerable: true,
361
- get: function () { return chunkYM2YUO4D_cjs.readUnreadCountEvent; }
381
+ get: function () { return chunk3RNNZJZ4_cjs.readUnreadCountEvent; }
362
382
  });
363
383
  Object.defineProperty(exports, "report", {
364
384
  enumerable: true,
365
- get: function () { return chunkYM2YUO4D_cjs.report; }
385
+ get: function () { return chunk3RNNZJZ4_cjs.report; }
366
386
  });
367
387
  Object.defineProperty(exports, "resolveNotificationUrl", {
368
388
  enumerable: true,
369
- get: function () { return chunkYM2YUO4D_cjs.resolveNotificationUrl; }
389
+ get: function () { return chunk3RNNZJZ4_cjs.resolveNotificationUrl; }
370
390
  });
371
391
  Object.defineProperty(exports, "toDate", {
372
392
  enumerable: true,
373
- get: function () { return chunkYM2YUO4D_cjs.toDate; }
393
+ get: function () { return chunk3RNNZJZ4_cjs.toDate; }
374
394
  });
375
395
  exports.FileTokenStorage = FileTokenStorage;
376
396
  exports.ItdClient = ItdClient2;
package/dist/node.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TokenStorage, I as ItdSession, a as ItdClient$1, b as ItdClientOptions, F as FileReader } from './index-Dv0LXpMf.cjs';
2
- 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, 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, 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, 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, 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';
1
+ import { T as TokenStorage, I as ItdSession, a as ItdClient$1, b as ItdClientOptions, F as FileReader } from './index-DNFPX_Z1.cjs';
2
+ export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as AccessType, g as Actor, h as AllowedMimeType, i as Announcement, j as AnnouncementButton, k as Attachment, l as AttachmentType, m as AudioMimeType, n as AuthInput, o as AuthResource, p as Author, B as BuilderInput, C as CaptchaCredentials, q as ChangelogEntry, r as Clan, s as ClientHooks, t as Comment, u as CommentBuilder, v as CommentInput, w as CommentReplyTo, x as CommentSort, y as CommentsParams, z as CommentsResource, D as CreateCommentInput, E as CreatePollInput, G as CreatePostInput, H as CreateReportInput, J as Credentials, K as CredentialsAuth, L as DEFAULT_BASE_URL, M as DEFAULT_TIMEOUT, N as DEFAULT_USER_AGENT, O as DEVICE_ID_HEADER, P as DetectedRuntime, Q as DwellEntry, R as ErrorContextHook, S as FeedParams, U as FeedTab, V as FileInput, W as FilesResource, X as FollowResult, Y as ForgotPasswordInput, Z as Hashtag, _ as HashtagPostsParams, $ as HashtagsResource, a0 as IMAGE_MIME_TYPES, a1 as ImageMimeType, a2 as InteractionEntry, a3 as InteractionType, a4 as IsoDate, a5 as ItdAbortError, a6 as ItdApiError, a7 as ItdApiErrorInit, a8 as ItdApiErrorKind, a9 as ItdAuthError, aa as ItdBuilder, ab as ItdConfigError, ac as ItdConflictError, ad as ItdError, ae as ItdErrorCode, af as ItdErrorKind, ag as ItdFieldErrors, ah as ItdForbiddenError, ai as ItdNetworkError, aj as ItdNotFoundError, ak as ItdPhoneVerificationError, al as ItdPlugin, am as ItdRateLimitError, an as ItdRealtime, ao as ItdServerError, ap as ItdTimeoutError, aq as ItdValidationError, ar as LIBRARY_VERSION, as as LikeResult, at as LikesVisibility, au as Listener, av as LocalStorageTokenStorage, aw as Logger, ax as Loose, ay as MAX_RECONNECT_ATTEMPTS, az as MemoryTokenStorage, aA as MyProfile, aB as NOTIFICATION_TYPE_ALIASES, aC as Notification, aD as NotificationEvent, aE as NotificationListParams, aF as NotificationSettings, aG as NotificationType, aH as NotificationsResource, aI as OAuthProvider, aJ as Page, aK as PageState, aL as PaginationMode, aM as Paginator, aN as PaymentMethod, aO as Pin, aP as PinPostResult, aQ as PinsResult, aR as PlatformResource, aS as PluginContext, aT as Poll, aU as PollBuilder, aV as PollInput, aW as PollOption, aX as PollTransportOptions, aY as Portal, aZ as Post, a_ as PostBuilder, a$ as PostInput, b0 as PostStats, b1 as PostsResource, b2 as PrivacySettings, b3 as Profile, b4 as PublicProfile, b5 as RECONNECT_BACKOFF, b6 as RECONNECT_JITTER, b7 as REFRESH_COOKIE, b8 as REFRESH_COOKIE_PATH, b9 as RateLimitOptions, ba as RawRequestOptions, bb as RealtimeEvents, bc as RealtimeOptions, bd as RealtimeStatus, be as RealtimeTransport, bf as RealtimeTransportKind, bg as ReconnectOptions, bh as RepliesParams, bi as Report, bj as ReportBuilder, bk as ReportInput, bl as ReportReason, bm as ReportTargetType, bn as ReportsResource, bo as RequestContext, bp as RequestOptions, bq as ResetPasswordInput, br as ResponseContext, bs as RetryContext, bt as RetryOptions, bu as RuntimeMode, bv as STREAM_PATH, bw as SearchResource, bx as SearchResult, by as Session, bz as SignInResult, bA as SignInStatus, bB as Span, bC as SpanType, bD as SseTransportOptions, bE as Subscription, bF as SubscriptionResource, bG as SubscriptionState, bH as TURNSTILE_SITE_KEY, bI as TelemetryOptions, bJ as TelemetryResource, bK as Transformer, bL as TransportContext, bM as TransportEvent, bN as UnauthorizedStreamError, bO as Unsubscribe, bP as UpdateNotificationSettingsInput, bQ as UpdatePrivacyInput, bR as UpdateProfileInput, bS as UploadOptions, bT as UploadedFile, bU as UserId, bV as UserListParams, bW as UserPostsParams, bX as UserRef, bY as UserSummary, bZ as UsersResource, b_ as VIDEO_MIME_TYPES, b$ as VerificationResource, c0 as VerificationStatus, c1 as VideoMimeType, c2 as ViewReason, c3 as ViewSource, c4 as WallAccess, c5 as canonicalNotificationType, c6 as comment, c7 as createTokenStorage, c8 as formatNotificationText, c9 as isBuilder, ca as isItdApiError, cb as isItdAuthError, cc as isItdConflictError, cd as isItdError, ce as isItdForbiddenError, cf as isItdNotFoundError, cg as isItdPhoneVerificationError, ch as isItdRateLimitError, ci as isItdServerError, cj as isItdValidationError, ck as isKnownNotificationType, cl as isMyProfile, cm as normalizeNotification, cn as poll, co as post, cp as readNotificationEvent, cq as readUnreadCountEvent, cr as report, cs as resolveNotificationUrl, ct as toDate } from './index-DNFPX_Z1.cjs';
3
3
 
4
4
  /**
5
5
  * `itd-api/node` — то же, что `itd-api`, плюс работа с файловой системой.
package/dist/node.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TokenStorage, I as ItdSession, a as ItdClient$1, b as ItdClientOptions, F as FileReader } from './index-Dv0LXpMf.js';
2
- 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, 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, 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, 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, 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.js';
1
+ import { T as TokenStorage, I as ItdSession, a as ItdClient$1, b as ItdClientOptions, F as FileReader } from './index-DNFPX_Z1.js';
2
+ export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as AccessType, g as Actor, h as AllowedMimeType, i as Announcement, j as AnnouncementButton, k as Attachment, l as AttachmentType, m as AudioMimeType, n as AuthInput, o as AuthResource, p as Author, B as BuilderInput, C as CaptchaCredentials, q as ChangelogEntry, r as Clan, s as ClientHooks, t as Comment, u as CommentBuilder, v as CommentInput, w as CommentReplyTo, x as CommentSort, y as CommentsParams, z as CommentsResource, D as CreateCommentInput, E as CreatePollInput, G as CreatePostInput, H as CreateReportInput, J as Credentials, K as CredentialsAuth, L as DEFAULT_BASE_URL, M as DEFAULT_TIMEOUT, N as DEFAULT_USER_AGENT, O as DEVICE_ID_HEADER, P as DetectedRuntime, Q as DwellEntry, R as ErrorContextHook, S as FeedParams, U as FeedTab, V as FileInput, W as FilesResource, X as FollowResult, Y as ForgotPasswordInput, Z as Hashtag, _ as HashtagPostsParams, $ as HashtagsResource, a0 as IMAGE_MIME_TYPES, a1 as ImageMimeType, a2 as InteractionEntry, a3 as InteractionType, a4 as IsoDate, a5 as ItdAbortError, a6 as ItdApiError, a7 as ItdApiErrorInit, a8 as ItdApiErrorKind, a9 as ItdAuthError, aa as ItdBuilder, ab as ItdConfigError, ac as ItdConflictError, ad as ItdError, ae as ItdErrorCode, af as ItdErrorKind, ag as ItdFieldErrors, ah as ItdForbiddenError, ai as ItdNetworkError, aj as ItdNotFoundError, ak as ItdPhoneVerificationError, al as ItdPlugin, am as ItdRateLimitError, an as ItdRealtime, ao as ItdServerError, ap as ItdTimeoutError, aq as ItdValidationError, ar as LIBRARY_VERSION, as as LikeResult, at as LikesVisibility, au as Listener, av as LocalStorageTokenStorage, aw as Logger, ax as Loose, ay as MAX_RECONNECT_ATTEMPTS, az as MemoryTokenStorage, aA as MyProfile, aB as NOTIFICATION_TYPE_ALIASES, aC as Notification, aD as NotificationEvent, aE as NotificationListParams, aF as NotificationSettings, aG as NotificationType, aH as NotificationsResource, aI as OAuthProvider, aJ as Page, aK as PageState, aL as PaginationMode, aM as Paginator, aN as PaymentMethod, aO as Pin, aP as PinPostResult, aQ as PinsResult, aR as PlatformResource, aS as PluginContext, aT as Poll, aU as PollBuilder, aV as PollInput, aW as PollOption, aX as PollTransportOptions, aY as Portal, aZ as Post, a_ as PostBuilder, a$ as PostInput, b0 as PostStats, b1 as PostsResource, b2 as PrivacySettings, b3 as Profile, b4 as PublicProfile, b5 as RECONNECT_BACKOFF, b6 as RECONNECT_JITTER, b7 as REFRESH_COOKIE, b8 as REFRESH_COOKIE_PATH, b9 as RateLimitOptions, ba as RawRequestOptions, bb as RealtimeEvents, bc as RealtimeOptions, bd as RealtimeStatus, be as RealtimeTransport, bf as RealtimeTransportKind, bg as ReconnectOptions, bh as RepliesParams, bi as Report, bj as ReportBuilder, bk as ReportInput, bl as ReportReason, bm as ReportTargetType, bn as ReportsResource, bo as RequestContext, bp as RequestOptions, bq as ResetPasswordInput, br as ResponseContext, bs as RetryContext, bt as RetryOptions, bu as RuntimeMode, bv as STREAM_PATH, bw as SearchResource, bx as SearchResult, by as Session, bz as SignInResult, bA as SignInStatus, bB as Span, bC as SpanType, bD as SseTransportOptions, bE as Subscription, bF as SubscriptionResource, bG as SubscriptionState, bH as TURNSTILE_SITE_KEY, bI as TelemetryOptions, bJ as TelemetryResource, bK as Transformer, bL as TransportContext, bM as TransportEvent, bN as UnauthorizedStreamError, bO as Unsubscribe, bP as UpdateNotificationSettingsInput, bQ as UpdatePrivacyInput, bR as UpdateProfileInput, bS as UploadOptions, bT as UploadedFile, bU as UserId, bV as UserListParams, bW as UserPostsParams, bX as UserRef, bY as UserSummary, bZ as UsersResource, b_ as VIDEO_MIME_TYPES, b$ as VerificationResource, c0 as VerificationStatus, c1 as VideoMimeType, c2 as ViewReason, c3 as ViewSource, c4 as WallAccess, c5 as canonicalNotificationType, c6 as comment, c7 as createTokenStorage, c8 as formatNotificationText, c9 as isBuilder, ca as isItdApiError, cb as isItdAuthError, cc as isItdConflictError, cd as isItdError, ce as isItdForbiddenError, cf as isItdNotFoundError, cg as isItdPhoneVerificationError, ch as isItdRateLimitError, ci as isItdServerError, cj as isItdValidationError, ck as isKnownNotificationType, cl as isMyProfile, cm as normalizeNotification, cn as poll, co as post, cp as readNotificationEvent, cq as readUnreadCountEvent, cr as report, cs as resolveNotificationUrl, ct as toDate } from './index-DNFPX_Z1.js';
3
3
 
4
4
  /**
5
5
  * `itd-api/node` — то же, что `itd-api`, плюс работа с файловой системой.
package/dist/node.js CHANGED
@@ -1,5 +1,5 @@
1
- import { ItdClient } from './chunk-RUPF4X5L.js';
2
- export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AUTH_FLAG_COOKIE, AUTH_PATHS, AttachmentType, CommentSort, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, DEFAULT_USER_AGENT, DEVICE_ID_HEADER, DetectedRuntime, FeedTab, IMAGE_MIME_TYPES, ItdAbortError, ItdApiError, ItdApiErrorKind, ItdAuthError, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdRealtime, ItdServerError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LikesVisibility, LocalStorageTokenStorage, MAX_RECONNECT_ATTEMPTS, MemoryTokenStorage, NOTIFICATION_TYPE_ALIASES, NotificationType, OAuthProvider, PaginationMode, Paginator, RECONNECT_BACKOFF, RECONNECT_JITTER, REFRESH_COOKIE, REFRESH_COOKIE_PATH, RealtimeStatus, RealtimeTransportKind, ReportReason, ReportTargetType, RuntimeMode, STREAM_PATH, SignInStatus, TURNSTILE_SITE_KEY, UnauthorizedStreamError, VIDEO_MIME_TYPES, WallAccess, canonicalNotificationType, comment, createTokenStorage, formatNotificationText, isBuilder, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdValidationError, isKnownNotificationType, isMyProfile, normalizeNotification, poll, post, readNotificationEvent, readUnreadCountEvent, report, resolveNotificationUrl, toDate } from './chunk-RUPF4X5L.js';
1
+ import { ItdClient } from './chunk-CG4SERVM.js';
2
+ export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AUTH_FLAG_COOKIE, AUTH_PATHS, AccessType, AttachmentType, CommentSort, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, DEFAULT_USER_AGENT, DEVICE_ID_HEADER, DetectedRuntime, FeedTab, IMAGE_MIME_TYPES, InteractionType, ItdAbortError, ItdApiError, ItdApiErrorKind, ItdAuthError, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdRealtime, ItdServerError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LikesVisibility, LocalStorageTokenStorage, MAX_RECONNECT_ATTEMPTS, MemoryTokenStorage, NOTIFICATION_TYPE_ALIASES, NotificationType, OAuthProvider, PaginationMode, Paginator, RECONNECT_BACKOFF, RECONNECT_JITTER, REFRESH_COOKIE, REFRESH_COOKIE_PATH, RealtimeStatus, RealtimeTransportKind, ReportReason, ReportTargetType, RuntimeMode, STREAM_PATH, SignInStatus, SpanType, TURNSTILE_SITE_KEY, UnauthorizedStreamError, VIDEO_MIME_TYPES, ViewReason, ViewSource, WallAccess, canonicalNotificationType, comment, createTokenStorage, formatNotificationText, isBuilder, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdValidationError, isKnownNotificationType, isMyProfile, normalizeNotification, poll, post, readNotificationEvent, readUnreadCountEvent, report, resolveNotificationUrl, toDate } from './chunk-CG4SERVM.js';
3
3
 
4
4
  // src/node.ts
5
5
  var nodeFileReader = async (path) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itd-api",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Клиент REST и realtime API социальной сети итд.com для JavaScript и TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,8 @@
35
35
  "access": "public"
36
36
  },
37
37
  "workspaces": [
38
- "turnstile"
38
+ "turnstile",
39
+ "crypto"
39
40
  ],
40
41
  "main": "./dist/index.cjs",
41
42
  "module": "./dist/index.js",
@@ -78,8 +79,8 @@
78
79
  "test:watch": "vitest",
79
80
  "test:coverage": "vitest run --coverage",
80
81
  "typecheck": "tsc --noEmit",
81
- "lint": "biome check src test turnstile/src turnstile/test",
82
- "lint:fix": "biome check --write src test turnstile/src turnstile/test",
82
+ "lint": "biome check src test turnstile/src turnstile/test crypto/src crypto/test",
83
+ "lint:fix": "biome check --write src test turnstile/src turnstile/test crypto/src crypto/test",
83
84
  "docs": "typedoc",
84
85
  "check:pack": "publint && attw --pack .",
85
86
  "prepublishOnly": "npm run typecheck && npm run test && npm run build && npm run check:pack"