itd-api 0.0.6 → 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/{chunk-K7NBFQEE.cjs → chunk-3RNNZJZ4.cjs} +111 -52
- package/dist/chunk-3RNNZJZ4.cjs.map +1 -0
- package/dist/{chunk-CCRQI3ON.js → chunk-CG4SERVM.js} +108 -53
- package/dist/chunk-CG4SERVM.js.map +1 -0
- package/dist/{index-CDGXKy8r.d.cts → index-DNFPX_Z1.d.cts} +173 -58
- package/dist/{index-CDGXKy8r.d.ts → index-DNFPX_Z1.d.ts} +173 -58
- package/dist/index.cjs +101 -85
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.cjs +100 -84
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-CCRQI3ON.js.map +0 -1
- package/dist/chunk-K7NBFQEE.cjs.map +0 -1
package/dist/node.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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
|
|
41
|
+
var ItdClient2 = class extends chunk3RNNZJZ4_cjs.ItdClient {
|
|
42
42
|
constructor(options = {}) {
|
|
43
43
|
super(options);
|
|
44
44
|
this.setFileReader(nodeFileReader);
|
|
@@ -50,331 +50,347 @@ function createClient(options = {}) {
|
|
|
50
50
|
|
|
51
51
|
Object.defineProperty(exports, "ALLOWED_MIME_TYPES", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
73
|
+
get: function () { return chunk3RNNZJZ4_cjs.AttachmentType; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "CommentSort", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
97
|
+
get: function () { return chunk3RNNZJZ4_cjs.DetectedRuntime; }
|
|
94
98
|
});
|
|
95
99
|
Object.defineProperty(exports, "FeedTab", {
|
|
96
100
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
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
|
|
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
|
|
113
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdAbortError; }
|
|
106
114
|
});
|
|
107
115
|
Object.defineProperty(exports, "ItdApiError", {
|
|
108
116
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdApiError; }
|
|
110
118
|
});
|
|
111
119
|
Object.defineProperty(exports, "ItdApiErrorKind", {
|
|
112
120
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdApiErrorKind; }
|
|
114
122
|
});
|
|
115
123
|
Object.defineProperty(exports, "ItdAuthError", {
|
|
116
124
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdAuthError; }
|
|
118
126
|
});
|
|
119
127
|
Object.defineProperty(exports, "ItdConfigError", {
|
|
120
128
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdConfigError; }
|
|
122
130
|
});
|
|
123
131
|
Object.defineProperty(exports, "ItdConflictError", {
|
|
124
132
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdConflictError; }
|
|
126
134
|
});
|
|
127
135
|
Object.defineProperty(exports, "ItdError", {
|
|
128
136
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdError; }
|
|
130
138
|
});
|
|
131
139
|
Object.defineProperty(exports, "ItdErrorCode", {
|
|
132
140
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdErrorCode; }
|
|
134
142
|
});
|
|
135
143
|
Object.defineProperty(exports, "ItdErrorKind", {
|
|
136
144
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdErrorKind; }
|
|
138
146
|
});
|
|
139
147
|
Object.defineProperty(exports, "ItdForbiddenError", {
|
|
140
148
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdForbiddenError; }
|
|
142
150
|
});
|
|
143
151
|
Object.defineProperty(exports, "ItdNetworkError", {
|
|
144
152
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdNetworkError; }
|
|
146
154
|
});
|
|
147
155
|
Object.defineProperty(exports, "ItdNotFoundError", {
|
|
148
156
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdNotFoundError; }
|
|
150
158
|
});
|
|
151
159
|
Object.defineProperty(exports, "ItdPhoneVerificationError", {
|
|
152
160
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdPhoneVerificationError; }
|
|
154
162
|
});
|
|
155
163
|
Object.defineProperty(exports, "ItdRateLimitError", {
|
|
156
164
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdRateLimitError; }
|
|
158
166
|
});
|
|
159
167
|
Object.defineProperty(exports, "ItdRealtime", {
|
|
160
168
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdRealtime; }
|
|
162
170
|
});
|
|
163
171
|
Object.defineProperty(exports, "ItdServerError", {
|
|
164
172
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdServerError; }
|
|
166
174
|
});
|
|
167
175
|
Object.defineProperty(exports, "ItdTimeoutError", {
|
|
168
176
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdTimeoutError; }
|
|
170
178
|
});
|
|
171
179
|
Object.defineProperty(exports, "ItdValidationError", {
|
|
172
180
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunk3RNNZJZ4_cjs.ItdValidationError; }
|
|
174
182
|
});
|
|
175
183
|
Object.defineProperty(exports, "LIBRARY_VERSION", {
|
|
176
184
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunk3RNNZJZ4_cjs.LIBRARY_VERSION; }
|
|
178
186
|
});
|
|
179
187
|
Object.defineProperty(exports, "LikesVisibility", {
|
|
180
188
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunk3RNNZJZ4_cjs.LikesVisibility; }
|
|
182
190
|
});
|
|
183
191
|
Object.defineProperty(exports, "LocalStorageTokenStorage", {
|
|
184
192
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
209
|
+
get: function () { return chunk3RNNZJZ4_cjs.NotificationType; }
|
|
202
210
|
});
|
|
203
211
|
Object.defineProperty(exports, "OAuthProvider", {
|
|
204
212
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunk3RNNZJZ4_cjs.OAuthProvider; }
|
|
206
214
|
});
|
|
207
215
|
Object.defineProperty(exports, "PaginationMode", {
|
|
208
216
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunk3RNNZJZ4_cjs.PaginationMode; }
|
|
210
218
|
});
|
|
211
219
|
Object.defineProperty(exports, "Paginator", {
|
|
212
220
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunk3RNNZJZ4_cjs.Paginator; }
|
|
214
222
|
});
|
|
215
223
|
Object.defineProperty(exports, "RECONNECT_BACKOFF", {
|
|
216
224
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
241
|
+
get: function () { return chunk3RNNZJZ4_cjs.RealtimeStatus; }
|
|
234
242
|
});
|
|
235
243
|
Object.defineProperty(exports, "RealtimeTransportKind", {
|
|
236
244
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunk3RNNZJZ4_cjs.RealtimeTransportKind; }
|
|
238
246
|
});
|
|
239
247
|
Object.defineProperty(exports, "ReportReason", {
|
|
240
248
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunk3RNNZJZ4_cjs.ReportReason; }
|
|
242
250
|
});
|
|
243
251
|
Object.defineProperty(exports, "ReportTargetType", {
|
|
244
252
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunk3RNNZJZ4_cjs.ReportTargetType; }
|
|
246
254
|
});
|
|
247
255
|
Object.defineProperty(exports, "RuntimeMode", {
|
|
248
256
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunk3RNNZJZ4_cjs.RuntimeMode; }
|
|
250
258
|
});
|
|
251
259
|
Object.defineProperty(exports, "STREAM_PATH", {
|
|
252
260
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunk3RNNZJZ4_cjs.STREAM_PATH; }
|
|
254
262
|
});
|
|
255
263
|
Object.defineProperty(exports, "SignInStatus", {
|
|
256
264
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunk3RNNZJZ4_cjs.SignInStatus; }
|
|
258
266
|
});
|
|
259
267
|
Object.defineProperty(exports, "SpanType", {
|
|
260
268
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunk3RNNZJZ4_cjs.SpanType; }
|
|
262
270
|
});
|
|
263
271
|
Object.defineProperty(exports, "TURNSTILE_SITE_KEY", {
|
|
264
272
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunk3RNNZJZ4_cjs.TURNSTILE_SITE_KEY; }
|
|
266
274
|
});
|
|
267
275
|
Object.defineProperty(exports, "UnauthorizedStreamError", {
|
|
268
276
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunk3RNNZJZ4_cjs.UnauthorizedStreamError; }
|
|
270
278
|
});
|
|
271
279
|
Object.defineProperty(exports, "VIDEO_MIME_TYPES", {
|
|
272
280
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
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; }
|
|
274
290
|
});
|
|
275
291
|
Object.defineProperty(exports, "WallAccess", {
|
|
276
292
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunk3RNNZJZ4_cjs.WallAccess; }
|
|
278
294
|
});
|
|
279
295
|
Object.defineProperty(exports, "canonicalNotificationType", {
|
|
280
296
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunk3RNNZJZ4_cjs.canonicalNotificationType; }
|
|
282
298
|
});
|
|
283
299
|
Object.defineProperty(exports, "comment", {
|
|
284
300
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunk3RNNZJZ4_cjs.comment; }
|
|
286
302
|
});
|
|
287
303
|
Object.defineProperty(exports, "createTokenStorage", {
|
|
288
304
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunk3RNNZJZ4_cjs.createTokenStorage; }
|
|
290
306
|
});
|
|
291
307
|
Object.defineProperty(exports, "formatNotificationText", {
|
|
292
308
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunk3RNNZJZ4_cjs.formatNotificationText; }
|
|
294
310
|
});
|
|
295
311
|
Object.defineProperty(exports, "isBuilder", {
|
|
296
312
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunk3RNNZJZ4_cjs.isBuilder; }
|
|
298
314
|
});
|
|
299
315
|
Object.defineProperty(exports, "isItdApiError", {
|
|
300
316
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdApiError; }
|
|
302
318
|
});
|
|
303
319
|
Object.defineProperty(exports, "isItdAuthError", {
|
|
304
320
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdAuthError; }
|
|
306
322
|
});
|
|
307
323
|
Object.defineProperty(exports, "isItdConflictError", {
|
|
308
324
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdConflictError; }
|
|
310
326
|
});
|
|
311
327
|
Object.defineProperty(exports, "isItdError", {
|
|
312
328
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdError; }
|
|
314
330
|
});
|
|
315
331
|
Object.defineProperty(exports, "isItdForbiddenError", {
|
|
316
332
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdForbiddenError; }
|
|
318
334
|
});
|
|
319
335
|
Object.defineProperty(exports, "isItdNotFoundError", {
|
|
320
336
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdNotFoundError; }
|
|
322
338
|
});
|
|
323
339
|
Object.defineProperty(exports, "isItdPhoneVerificationError", {
|
|
324
340
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdPhoneVerificationError; }
|
|
326
342
|
});
|
|
327
343
|
Object.defineProperty(exports, "isItdRateLimitError", {
|
|
328
344
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdRateLimitError; }
|
|
330
346
|
});
|
|
331
347
|
Object.defineProperty(exports, "isItdServerError", {
|
|
332
348
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
349
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdServerError; }
|
|
334
350
|
});
|
|
335
351
|
Object.defineProperty(exports, "isItdValidationError", {
|
|
336
352
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunk3RNNZJZ4_cjs.isItdValidationError; }
|
|
338
354
|
});
|
|
339
355
|
Object.defineProperty(exports, "isKnownNotificationType", {
|
|
340
356
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunk3RNNZJZ4_cjs.isKnownNotificationType; }
|
|
342
358
|
});
|
|
343
359
|
Object.defineProperty(exports, "isMyProfile", {
|
|
344
360
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
361
|
+
get: function () { return chunk3RNNZJZ4_cjs.isMyProfile; }
|
|
346
362
|
});
|
|
347
363
|
Object.defineProperty(exports, "normalizeNotification", {
|
|
348
364
|
enumerable: true,
|
|
349
|
-
get: function () { return
|
|
365
|
+
get: function () { return chunk3RNNZJZ4_cjs.normalizeNotification; }
|
|
350
366
|
});
|
|
351
367
|
Object.defineProperty(exports, "poll", {
|
|
352
368
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
369
|
+
get: function () { return chunk3RNNZJZ4_cjs.poll; }
|
|
354
370
|
});
|
|
355
371
|
Object.defineProperty(exports, "post", {
|
|
356
372
|
enumerable: true,
|
|
357
|
-
get: function () { return
|
|
373
|
+
get: function () { return chunk3RNNZJZ4_cjs.post; }
|
|
358
374
|
});
|
|
359
375
|
Object.defineProperty(exports, "readNotificationEvent", {
|
|
360
376
|
enumerable: true,
|
|
361
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunk3RNNZJZ4_cjs.readNotificationEvent; }
|
|
362
378
|
});
|
|
363
379
|
Object.defineProperty(exports, "readUnreadCountEvent", {
|
|
364
380
|
enumerable: true,
|
|
365
|
-
get: function () { return
|
|
381
|
+
get: function () { return chunk3RNNZJZ4_cjs.readUnreadCountEvent; }
|
|
366
382
|
});
|
|
367
383
|
Object.defineProperty(exports, "report", {
|
|
368
384
|
enumerable: true,
|
|
369
|
-
get: function () { return
|
|
385
|
+
get: function () { return chunk3RNNZJZ4_cjs.report; }
|
|
370
386
|
});
|
|
371
387
|
Object.defineProperty(exports, "resolveNotificationUrl", {
|
|
372
388
|
enumerable: true,
|
|
373
|
-
get: function () { return
|
|
389
|
+
get: function () { return chunk3RNNZJZ4_cjs.resolveNotificationUrl; }
|
|
374
390
|
});
|
|
375
391
|
Object.defineProperty(exports, "toDate", {
|
|
376
392
|
enumerable: true,
|
|
377
|
-
get: function () { return
|
|
393
|
+
get: function () { return chunk3RNNZJZ4_cjs.toDate; }
|
|
378
394
|
});
|
|
379
395
|
exports.FileTokenStorage = FileTokenStorage;
|
|
380
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-
|
|
2
|
-
export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as
|
|
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-
|
|
2
|
-
export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as
|
|
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-
|
|
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, SpanType, 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-
|
|
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) => {
|