@book000/pixivts 0.64.1-beta.9 → 0.65.0-beta.10

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 CHANGED
@@ -15,7 +15,7 @@ yarn add @book000/pixivts
15
15
  ## Features
16
16
 
17
17
  - **Zero runtime dependencies** — no axios, no zod at runtime; uses native `fetch`
18
- - **Result-typed API** — every method returns `Result<T, PixivError>` (no thrown exceptions)
18
+ - **Result-typed API** — request methods return `Result<T, PixivError>` instead of throwing for API errors
19
19
  - **ESM + CJS dual output** — works in Node.js (ESM/CJS) and edge runtimes
20
20
  - **Paginated results** — `PaginatedResultAsync` with async generator for multi-page iteration
21
21
  - **Resource-based API** — `illusts`, `novels`, `users`, `manga`, `ugoira`, `spotlight`, `images` namespaces
@@ -66,14 +66,14 @@ Creates a `PixivClient` by exchanging the given refresh token for an access toke
66
66
  | `refreshToken` | `string` | — | pixiv OAuth refresh token |
67
67
  | `opts.retry.maxRetries` | `number` | `3` | Max 429 retry attempts |
68
68
  | `opts.retry.waitMs` | `number` | `10000` | Default wait (ms) when no `Retry-After` header is present |
69
- | `opts.onResponse` | `ResponseInterceptor` | — | Called after every API response (used by `@book000/pixivts-db-mysql`) |
69
+ | `opts.onResponse` | `ResponseInterceptor` | — | Called after every successful (2xx) API response (used by `@book000/pixivts-db-mysql`) |
70
70
 
71
71
  ### Resources
72
72
 
73
73
  | Namespace | Methods |
74
74
  |---|---|
75
- | `illusts` | `detail`, `related`, `search`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `mypixiv`, `trendingTags`, `popularPreview` |
76
- | `novels` | `detail`, `text`, `related`, `search`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `bookmarkUsers`, `mypixiv`, `trendingTags`, `popularPreview`, `watchlist`, `markers` |
75
+ | `illusts` | `detail`, `related`, `search`, `popularPreview`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `follow`, `mypixiv`, `comments`, `commentReplies`, `bookmarkDetail`, `new`, `trendingTags` |
76
+ | `novels` | `detail`, `text`, `related`, `search`, `popularPreview`, `trendingTags`, `ranking`, `recommended`, `series`, `watchlist`, `markers`, `bookmarkAdd`, `bookmarkDelete`, `bookmarkUsers`, `follow`, `mypixiv`, `comments`, `commentReplies`, `new` |
77
77
  | `users` | `detail`, `detailV2`, `search`, `illusts`, `novels`, `following`, `followAdd`, `followDelete`, `related`, `recommended`, `follower`, `mypixiv`, `list`, `bookmarkTagsIllust`, `bookmarkTagsNovel`, `followDetail`, `editAiShowSettings`, `aiShowSettings`, `restrictedModeSettings`, `muteList`, `meState`, `hasUnreadNotifications` |
78
78
  | `users.bookmarks` | `illusts`, `novels` |
79
79
  | `manga` | `recommended`, `watchlist` |
@@ -103,10 +103,15 @@ if (result.isErr) {
103
103
  case 'network':
104
104
  console.error('Network error', err.cause)
105
105
  break
106
+ case 'parse_error':
107
+ console.error(`Parse error: ${err.message}`)
108
+ break
106
109
  }
107
110
  }
108
111
  ```
109
112
 
113
+ `PixivClient.of` is the exception to the Result pattern: it rejects with a `PixivAuthError` when the initial token exchange fails. The `.pages()` and `.items()` generators throw a `PixivFetchError` when a page cannot be fetched.
114
+
110
115
  ### Result API
111
116
 
112
117
  ```typescript
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/result.ts
2
+ // src/result.ts
3
3
  var OkResultImpl = class OkResultImpl {
4
4
  value;
5
5
  isOk = true;
@@ -156,8 +156,7 @@ var ResultAsync = class ResultAsync {
156
156
  return r.isOk ? r.value : fallback;
157
157
  }
158
158
  };
159
- //#endregion
160
- //#region src/errors.ts
159
+ // src/errors.ts
161
160
  /**
162
161
  * An `Error` subclass that wraps a `PixivError` for use in thrown contexts
163
162
  * (e.g. async generators that must throw proper `Error` objects).
@@ -186,6 +185,42 @@ var PixivFetchError = class extends Error {
186
185
  Object.assign(this, pixivError);
187
186
  }
188
187
  };
188
+ const MAX_AUTH_BODY_LENGTH = 200;
189
+ /**
190
+ * Replaces control characters, redacts token-like strings and truncates to
191
+ * `MAX_AUTH_BODY_LENGTH` characters, so the result is safe to log on one line.
192
+ */
193
+ function sanitizeAuthBody(raw) {
194
+ const redacted = raw.replaceAll(/\p{Cc}/gu, " ").replaceAll(/[\w-]{20,}/g, "[REDACTED]");
195
+ return redacted.length > MAX_AUTH_BODY_LENGTH ? `${redacted.slice(0, MAX_AUTH_BODY_LENGTH)}...` : redacted;
196
+ }
197
+ /**
198
+ * Thrown by `AuthManager.refresh()` when the token endpoint returns a non-200
199
+ * response. The message keeps the `Failed to refresh pixiv token: HTTP <status>`
200
+ * prefix and appends the error code when one is available (for example
201
+ * `invalid_grant` for a revoked refresh token).
202
+ */
203
+ var PixivAuthError = class extends Error {
204
+ /** HTTP status code of the token endpoint response. */
205
+ status;
206
+ /** OAuth `error` code or pixiv `errors.system.message`, if present in the JSON body. */
207
+ code;
208
+ /** Truncated response body with token-like strings redacted. */
209
+ body;
210
+ constructor(status, rawBody) {
211
+ let code;
212
+ try {
213
+ const json = JSON.parse(rawBody);
214
+ const c = json.error ?? json.errors?.system?.message;
215
+ if (typeof c === "string") code = sanitizeAuthBody(c);
216
+ } catch {}
217
+ super(`Failed to refresh pixiv token: HTTP ${status}${code ? ` (${code})` : ""}`);
218
+ this.name = "PixivAuthError";
219
+ this.status = status;
220
+ this.code = code;
221
+ this.body = sanitizeAuthBody(rawBody);
222
+ }
223
+ };
189
224
  /** Creates a rate-limit error. */
190
225
  function rateLimitError(retryAfter) {
191
226
  return {
@@ -224,8 +259,7 @@ function parseError(message, body, cause) {
224
259
  cause
225
260
  };
226
261
  }
227
- //#endregion
228
- //#region src/paginated.ts
262
+ // src/paginated.ts
229
263
  /**
230
264
  * A `ResultAsync<TPage, PixivError>` with additional `.pages()` / `.items()`
231
265
  * async generators for consuming paginated pixiv list responses.
@@ -303,14 +337,13 @@ var PaginatedResultAsync = class PaginatedResultAsync extends ResultAsync {
303
337
  function failedPaginated(error, http, getItems) {
304
338
  return new PaginatedResultAsync(Promise.resolve(err(error)), http, getItems);
305
339
  }
306
- //#endregion
307
- //#region src/params.ts
340
+ // src/params.ts
308
341
  /**
309
342
  * Parameter building utilities.
310
343
  *
311
- * Provides camelCase → snake_case conversion and a URLSearchParams builder
312
- * that replicates the behaviour of the `qs` library used in the legacy code
313
- * (without the `qs` runtime dependency).
344
+ * Provides camelCase ↔ snake_case key conversion, a `URLSearchParams` builder
345
+ * that serialises arrays as `key[]=value` (the Rails convention the pixiv API
346
+ * expects), and `parseNextUrl` for extracting pagination cursors.
314
347
  */
315
348
  /**
316
349
  * Converts a camelCase string to snake_case.
@@ -448,8 +481,7 @@ function parseNextUrl(url) {
448
481
  if (lastOrder !== void 0) result.lastOrder = lastOrder;
449
482
  return result;
450
483
  }
451
- //#endregion
452
- //#region src/options.ts
484
+ // src/options.ts
453
485
  /**
454
486
  * Public option constants for @book000/pixivts.
455
487
  *
@@ -579,8 +611,17 @@ const UserIllustType = {
579
611
  ILLUST: "illust",
580
612
  MANGA: "manga"
581
613
  };
582
- //#endregion
583
- //#region src/auth.ts
614
+ // src/auth.ts
615
+ /**
616
+ * Authentication manager for the pixiv API.
617
+ *
618
+ * Handles the OAuth 2.0 token refresh flow and generates the
619
+ * x-client-hash header required by the pixiv iOS app API.
620
+ *
621
+ * The MD5 implementation is pure TypeScript to ensure Edge/browser compatibility —
622
+ * Node's `crypto.createHash('md5')` is unavailable in Edge runtimes, and
623
+ * `crypto.subtle` does not support MD5.
624
+ */
584
625
  const T = Array.from({ length: 64 }, (_, i) => Math.floor(Math.abs(Math.sin(i + 1)) * 2 ** 32));
585
626
  const S = [
586
627
  7,
@@ -712,21 +753,15 @@ function md5Bytes(bytes) {
712
753
  /**
713
754
  * Produces a hex-encoded MD5 digest of `input`.
714
755
  *
715
- * This is a minimal, spec-compliant implementation (RFC 1321) that avoids
716
- * any runtime platform dependency.
756
+ * This is a minimal, spec-compliant implementation (RFC 1321) that uses no
757
+ * Node-specific APIs; the only platform requirement is the standard
758
+ * `TextEncoder` global for UTF-8 encoding.
717
759
  *
718
760
  * @param input - UTF-8 string to hash
719
761
  * @returns Lowercase hex-encoded MD5 digest
720
762
  */
721
763
  function md5(input) {
722
- const bytes = [];
723
- for (let i = 0; i < input.length; i++) {
724
- const code = input.codePointAt(i) ?? 0;
725
- if (code < 128) bytes.push(code);
726
- else if (code < 2048) bytes.push(192 | code >> 6, 128 | code & 63);
727
- else bytes.push(224 | code >> 12, 128 | code >> 6 & 63, 128 | code & 63);
728
- }
729
- return md5Bytes(bytes);
764
+ return md5Bytes([...new TextEncoder().encode(input)]);
730
765
  }
731
766
  const CLIENT_ID = "MOBrBDS8blbauoSck0ZfDbtuzpyT";
732
767
  const CLIENT_SECRET = "lsACyCD94FhDUtGTXi3QzcFE2uU1hqtDaKeqrdwj";
@@ -764,7 +799,7 @@ var AuthManager = class AuthManager {
764
799
  * Exchanges the stored refresh token for a fresh access token.
765
800
  *
766
801
  * Updates the internal credentials on success.
767
- * Throws if the token endpoint returns a non-200 response.
802
+ * Throws `PixivAuthError` if the token endpoint returns a non-200 response.
768
803
  */
769
804
  async refresh() {
770
805
  const localTime = (/* @__PURE__ */ new Date()).toISOString().replace(/Z$/, "+00:00");
@@ -788,7 +823,7 @@ var AuthManager = class AuthManager {
788
823
  headers,
789
824
  body
790
825
  });
791
- if (response.status !== 200) throw new Error(`Failed to refresh pixiv token: HTTP ${response.status}`);
826
+ if (response.status !== 200) throw new PixivAuthError(response.status, await response.text().catch(() => ""));
792
827
  const data = await response.json();
793
828
  this.#accessToken = data.response.access_token;
794
829
  this.#refreshToken = data.response.refresh_token;
@@ -810,12 +845,16 @@ var AuthManager = class AuthManager {
810
845
  return manager;
811
846
  }
812
847
  };
813
- //#endregion
814
- //#region src/http.ts
848
+ // src/http.ts
815
849
  const DEFAULT_RETRY = {
816
850
  maxRetries: 3,
817
851
  waitMs: 1e4
818
852
  };
853
+ const REDACTED = "[REDACTED]";
854
+ /** Returns a copy of the headers with the `Authorization` value masked. */
855
+ function redactRequestHeaders(headers) {
856
+ return Object.fromEntries(Object.entries(headers).map(([name, value]) => [name, name.toLowerCase() === "authorization" ? REDACTED : value]));
857
+ }
819
858
  const BASE_URL = "https://app-api.pixiv.net";
820
859
  const DEFAULT_HEADERS = {
821
860
  Host: "app-api.pixiv.net",
@@ -898,7 +937,7 @@ var HttpClient = class {
898
937
  "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36",
899
938
  Referer: "https://www.pixiv.net/"
900
939
  } }), networkError).andThen((response) => {
901
- return response.ok ? ResultAsync.fromResult(ok(response)) : ResultAsync.fromResult(err(apiError(response.status, null)));
940
+ return ResultAsync.fromResult(response.ok ? ok(response) : err(apiError(response.status, null)));
902
941
  });
903
942
  }
904
943
  /**
@@ -984,27 +1023,29 @@ var HttpClient = class {
984
1023
  responseUrl: response.url || void 0,
985
1024
  endpoint
986
1025
  };
987
- if (this.#interceptor) {
1026
+ const interceptor = this.#interceptor;
1027
+ if (interceptor) {
988
1028
  const record = {
989
1029
  method,
990
1030
  endpoint,
991
1031
  url: response.url || url,
992
- requestHeaders: JSON.stringify(requestHeaders),
1032
+ requestHeaders: JSON.stringify(redactRequestHeaders(requestHeaders)),
993
1033
  requestBody: body ?? null,
994
1034
  responseType: isJson ? "JSON" : "TEXT",
995
1035
  statusCode: response.status,
996
1036
  responseHeaders: JSON.stringify(responseHeaders),
997
1037
  responseBody: text
998
1038
  };
999
- Promise.resolve(this.#interceptor(record)).catch(() => void 0);
1039
+ new Promise((resolve) => {
1040
+ resolve(interceptor(record));
1041
+ }).catch(() => void 0);
1000
1042
  }
1001
1043
  return ok(httpResponse.data);
1002
1044
  }
1003
1045
  return err(rateLimitError(lastRetryAfterMs));
1004
1046
  }
1005
1047
  };
1006
- //#endregion
1007
- //#region src/resources/illusts.ts
1048
+ // src/resources/illusts.ts
1008
1049
  /** Methods for the illust API namespace. */
1009
1050
  var IllustResource = class {
1010
1051
  #http;
@@ -1256,8 +1297,7 @@ var IllustResource = class {
1256
1297
  return this.#http.get("/v1/trending-tags/illust", buildParams({ filter: params.filter ?? "for_ios" }));
1257
1298
  }
1258
1299
  };
1259
- //#endregion
1260
- //#region src/webview-novel.ts
1300
+ // src/webview-novel.ts
1261
1301
  /**
1262
1302
  * Parses the structured novel data embedded in the WebView HTML page
1263
1303
  * (GET /webview/v2/novel).
@@ -1294,8 +1334,7 @@ function parseWebviewNovel(html) {
1294
1334
  const camelized = camelizeKeys(parsed);
1295
1335
  return isWebviewNovelShape(camelized) ? ok(camelized) : err(parseError("Embedded novel JSON does not match the expected WebviewNovel shape", html));
1296
1336
  }
1297
- //#endregion
1298
- //#region src/resources/novels.ts
1337
+ // src/resources/novels.ts
1299
1338
  /**
1300
1339
  * Formats a view timestamp as ISO 8601 with milliseconds and the local UTC
1301
1340
  * offset of that instant. Strings are returned unchanged.
@@ -1597,8 +1636,7 @@ var NovelResource = class {
1597
1636
  })), this.#http, (page) => page.novels);
1598
1637
  }
1599
1638
  };
1600
- //#endregion
1601
- //#region src/resources/users.ts
1639
+ // src/resources/users.ts
1602
1640
  /** Methods for the user bookmarks sub-namespace. */
1603
1641
  var UserBookmarksResource = class {
1604
1642
  #http;
@@ -1940,8 +1978,7 @@ var UserResource = class {
1940
1978
  return this.#http.get("/v1/notification/has-unread-notifications");
1941
1979
  }
1942
1980
  };
1943
- //#endregion
1944
- //#region src/resources/manga.ts
1981
+ // src/resources/manga.ts
1945
1982
  /** Methods for the manga API namespace. */
1946
1983
  var MangaResource = class {
1947
1984
  #http;
@@ -1972,8 +2009,7 @@ var MangaResource = class {
1972
2009
  return PaginatedResultAsync.fromResultAsync(this.#http.get("/v1/watchlist/manga"), this.#http, (page) => page.series);
1973
2010
  }
1974
2011
  };
1975
- //#endregion
1976
- //#region src/resources/ugoira.ts
2012
+ // src/resources/ugoira.ts
1977
2013
  /** Methods for the ugoira API namespace. */
1978
2014
  var UgoiraResource = class {
1979
2015
  #http;
@@ -1990,8 +2026,7 @@ var UgoiraResource = class {
1990
2026
  return this.#http.get("/v1/ugoira/metadata", buildParams({ illustId: params.illustId }));
1991
2027
  }
1992
2028
  };
1993
- //#endregion
1994
- //#region src/resources/spotlight.ts
2029
+ // src/resources/spotlight.ts
1995
2030
  /** Methods for the pixivision spotlight API namespace. */
1996
2031
  var SpotlightResource = class {
1997
2032
  #http;
@@ -2012,8 +2047,7 @@ var SpotlightResource = class {
2012
2047
  })), this.#http, (page) => page.spotlightArticles);
2013
2048
  }
2014
2049
  };
2015
- //#endregion
2016
- //#region src/resources/images.ts
2050
+ // src/resources/images.ts
2017
2051
  /** Methods for fetching pixiv images. */
2018
2052
  var ImageResource = class {
2019
2053
  #http;
@@ -2032,8 +2066,7 @@ var ImageResource = class {
2032
2066
  return this.#http.fetchImage(imageUrl);
2033
2067
  }
2034
2068
  };
2035
- //#endregion
2036
- //#region src/client.ts
2069
+ // src/client.ts
2037
2070
  /**
2038
2071
  * PixivClient — main entry point for the @book000/pixivts library.
2039
2072
  *
@@ -2131,12 +2164,12 @@ var PixivClient = class PixivClient {
2131
2164
  return new PixivClient(auth, http);
2132
2165
  }
2133
2166
  };
2134
- //#endregion
2135
2167
  exports.BookmarkRestrict = BookmarkRestrict;
2136
2168
  exports.FollowRestrict = FollowRestrict;
2137
2169
  exports.NovelRankingMode = NovelRankingMode;
2138
2170
  exports.OSFilter = OSFilter;
2139
2171
  exports.PaginatedResultAsync = PaginatedResultAsync;
2172
+ exports.PixivAuthError = PixivAuthError;
2140
2173
  exports.PixivClient = PixivClient;
2141
2174
  exports.PixivFetchError = PixivFetchError;
2142
2175
  exports.RankingMode = RankingMode;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,15 @@
1
- //#region src/result.d.ts
1
+ /**
2
+ * @book000/pixivts — pixiv Unofficial API Library for TypeScript
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { PixivClient } from '@book000/pixivts'
7
+ *
8
+ * const client = await PixivClient.of(process.env.PIXIV_REFRESH_TOKEN!)
9
+ * const result = await client.illusts.detail({ illustId: 12345 })
10
+ * if (result.isOk) console.log(result.value.illust.title)
11
+ * ```
12
+ */
2
13
  /**
3
14
  * Zero-dependency Result / ResultAsync implementation.
4
15
  *
@@ -138,8 +149,6 @@ export declare class ResultAsync<T, E> implements PromiseLike<Result<T, E>> {
138
149
  */
139
150
  unwrapOr(fallback: T): Promise<T>;
140
151
  }
141
- //#endregion
142
- //#region src/auth.d.ts
143
152
  /**
144
153
  * Authentication manager for the pixiv API.
145
154
  *
@@ -148,7 +157,7 @@ export declare class ResultAsync<T, E> implements PromiseLike<Result<T, E>> {
148
157
  *
149
158
  * The MD5 implementation is pure TypeScript to ensure Edge/browser compatibility —
150
159
  * Node's `crypto.createHash('md5')` is unavailable in Edge runtimes, and
151
- * `crypto.subtle` does not support MD5 (non-cryptographic hash).
160
+ * `crypto.subtle` does not support MD5.
152
161
  */
153
162
  /** Auth credentials returned by the pixiv token endpoint. */
154
163
  interface AuthCredentials {
@@ -178,7 +187,7 @@ declare class AuthManager {
178
187
  * Exchanges the stored refresh token for a fresh access token.
179
188
  *
180
189
  * Updates the internal credentials on success.
181
- * Throws if the token endpoint returns a non-200 response.
190
+ * Throws `PixivAuthError` if the token endpoint returns a non-200 response.
182
191
  */
183
192
  refresh(): Promise<void>;
184
193
  /**
@@ -189,8 +198,6 @@ declare class AuthManager {
189
198
  */
190
199
  static login(refreshToken: string): Promise<AuthManager>;
191
200
  }
192
- //#endregion
193
- //#region src/interceptor.d.ts
194
201
  /**
195
202
  * Response interceptor types for the pixiv API client.
196
203
  *
@@ -218,7 +225,10 @@ interface ResponseRecord {
218
225
  endpoint: string;
219
226
  /** Full request URL including query string (null if unavailable). */
220
227
  url: string | null;
221
- /** JSON-serialized request headers (null if unavailable). */
228
+ /**
229
+ * JSON-serialized request headers (null if unavailable).
230
+ * The `Authorization` header value is replaced with `[REDACTED]`.
231
+ */
222
232
  requestHeaders: string | null;
223
233
  /** URL-encoded request body for POST requests (null for GET). */
224
234
  requestBody: string | null;
@@ -232,15 +242,14 @@ interface ResponseRecord {
232
242
  responseBody: string;
233
243
  }
234
244
  /**
235
- * A callback invoked after every successful API response.
245
+ * A callback invoked after every successful (2xx) API response.
236
246
  *
237
- * Implementations should be non-blocking — awaiting a slow DB write here will
238
- * add latency to every API call. Consider queueing the record and writing
239
- * asynchronously if persistence latency matters.
247
+ * The HTTP client does not await the returned promise, so a slow callback does
248
+ * not delay the API call. A rejected promise is silently discarded and does
249
+ * not fail the request, so implementations must handle and report their own
250
+ * errors.
240
251
  */
241
252
  type ResponseInterceptor = (record: ResponseRecord) => void | Promise<void>;
242
- //#endregion
243
- //#region src/errors.d.ts
244
253
  /**
245
254
  * Discriminated union of all errors that can occur when using the pixiv API client.
246
255
  *
@@ -307,6 +316,21 @@ export declare class PixivFetchError extends Error {
307
316
  readonly pixivError: PixivError;
308
317
  constructor(pixivError: PixivError);
309
318
  }
319
+ /**
320
+ * Thrown by `AuthManager.refresh()` when the token endpoint returns a non-200
321
+ * response. The message keeps the `Failed to refresh pixiv token: HTTP <status>`
322
+ * prefix and appends the error code when one is available (for example
323
+ * `invalid_grant` for a revoked refresh token).
324
+ */
325
+ export declare class PixivAuthError extends Error {
326
+ /** HTTP status code of the token endpoint response. */
327
+ readonly status: number;
328
+ /** OAuth `error` code or pixiv `errors.system.message`, if present in the JSON body. */
329
+ readonly code?: string;
330
+ /** Truncated response body with token-like strings redacted. */
331
+ readonly body: string;
332
+ constructor(status: number, rawBody: string);
333
+ }
310
334
  /** Creates a rate-limit error. */
311
335
  export declare function rateLimitError(retryAfter: number): PixivError;
312
336
  /** Creates an auth-failed error. */
@@ -317,8 +341,6 @@ export declare function networkError(cause: unknown): PixivError;
317
341
  export declare function apiError(status: number, body: unknown): PixivError;
318
342
  /** Creates a parse error. */
319
343
  export declare function parseError(message: string, body: string, cause?: unknown): PixivError;
320
- //#endregion
321
- //#region src/http.d.ts
322
344
  /** Options for controlling retry behaviour on rate-limited requests. */
323
345
  interface RateLimitRetryOptions {
324
346
  /** Maximum number of retries when a 429 response is received. Defaults to 3. */
@@ -374,8 +396,6 @@ declare class HttpClient {
374
396
  */
375
397
  getAbsolute<T>(absoluteUrl: string): ResultAsync<T, PixivError>;
376
398
  }
377
- //#endregion
378
- //#region src/paginated.d.ts
379
399
  /**
380
400
  * A page returned by a pixiv list endpoint.
381
401
  *
@@ -439,8 +459,6 @@ export declare class PaginatedResultAsync<TPage extends PagedResponse, TItem> ex
439
459
  * @param getItems - Item extractor (used for signature compatibility)
440
460
  */
441
461
  export declare function failedPaginated<TPage extends PagedResponse, TItem>(error: PixivError, http: HttpClient, getItems: (page: TPage) => TItem[]): PaginatedResultAsync<TPage, TItem>;
442
- //#endregion
443
- //#region src/params.d.ts
444
462
  /**
445
463
  * Typed cursor parameters extracted from a pixiv `next_url`.
446
464
  *
@@ -490,8 +508,6 @@ interface ParsedNextUrl {
490
508
  * @returns Typed cursor parameters; fields absent in the URL are `undefined`
491
509
  */
492
510
  export declare function parseNextUrl(url: string): ParsedNextUrl;
493
- //#endregion
494
- //#region src/options.d.ts
495
511
  /**
496
512
  * Public option constants for @book000/pixivts.
497
513
  *
@@ -621,8 +637,6 @@ export declare const UserIllustType: {
621
637
  readonly ILLUST: "illust";
622
638
  readonly MANGA: "manga";
623
639
  };
624
- //#endregion
625
- //#region src/types.d.ts
626
640
  /**
627
641
  * Public types for @book000/pixivts.
628
642
  *
@@ -1870,8 +1884,6 @@ interface UserFollowDetailResponse {
1870
1884
  /** Follow state for the requested user. */
1871
1885
  followDetail: FollowDetail;
1872
1886
  }
1873
- //#endregion
1874
- //#region src/resources/illusts.d.ts
1875
1887
  /** Parameters for fetching a single illust by ID. */
1876
1888
  interface IllustDetailParams {
1877
1889
  /** ID of the illust to fetch. */
@@ -2210,8 +2222,6 @@ declare class IllustResource {
2210
2222
  */
2211
2223
  trendingTags(params?: IllustTrendingTagsParams): ResultAsync<TrendingTagsIllustResponse, PixivError>;
2212
2224
  }
2213
- //#endregion
2214
- //#region src/resources/novels.d.ts
2215
2225
  /** Parameters for fetching a single novel by ID. */
2216
2226
  interface NovelDetailParams {
2217
2227
  /** ID of the novel to fetch. */
@@ -2573,8 +2583,6 @@ declare class NovelResource {
2573
2583
  */
2574
2584
  new(params?: NovelNewParams): PaginatedResultAsync<NovelListPage, PixivNovelItem>;
2575
2585
  }
2576
- //#endregion
2577
- //#region src/resources/users.d.ts
2578
2586
  /** Parameters for fetching a user's bookmarked illusts. */
2579
2587
  interface UserBookmarksIllustParams {
2580
2588
  /** ID of the user whose bookmarks to fetch. */
@@ -2952,8 +2960,6 @@ declare class UserResource {
2952
2960
  */
2953
2961
  hasUnreadNotifications(): ResultAsync<HasUnreadNotificationsResponse, PixivError>;
2954
2962
  }
2955
- //#endregion
2956
- //#region src/resources/spotlight.d.ts
2957
2963
  /** Parameters for fetching spotlight articles. */
2958
2964
  interface SpotlightArticlesParams {
2959
2965
  /**
@@ -2980,8 +2986,6 @@ declare class SpotlightResource {
2980
2986
  */
2981
2987
  articles(params?: SpotlightArticlesParams): PaginatedResultAsync<SpotlightArticlesPage, SpotlightArticle>;
2982
2988
  }
2983
- //#endregion
2984
- //#region src/resources/manga.d.ts
2985
2989
  /** Parameters for fetching recommended manga. */
2986
2990
  interface MangaRecommendedParams {
2987
2991
  /** OS filter to apply (default: `"for_ios"`). */
@@ -3008,8 +3012,6 @@ declare class MangaResource {
3008
3012
  */
3009
3013
  watchlist(): PaginatedResultAsync<WatchlistMangaPage, WatchlistSeries>;
3010
3014
  }
3011
- //#endregion
3012
- //#region src/resources/ugoira.d.ts
3013
3015
  /** Parameters for fetching ugoira metadata. */
3014
3016
  interface UgoiraMetadataParams {
3015
3017
  /** ID of the ugoira illust whose metadata to fetch. */
@@ -3027,8 +3029,6 @@ declare class UgoiraResource {
3027
3029
  */
3028
3030
  metadata(params: UgoiraMetadataParams): ResultAsync<UgoiraMetadataResponse, PixivError>;
3029
3031
  }
3030
- //#endregion
3031
- //#region src/resources/images.d.ts
3032
3032
  /** Methods for fetching pixiv images. */
3033
3033
  declare class ImageResource {
3034
3034
  #private;
@@ -3043,8 +3043,6 @@ declare class ImageResource {
3043
3043
  */
3044
3044
  fetch(imageUrl: string): ResultAsync<Response, PixivError>;
3045
3045
  }
3046
- //#endregion
3047
- //#region src/client.d.ts
3048
3046
  /** Options for constructing a {@link PixivClient}. */
3049
3047
  interface PixivClientOptions {
3050
3048
  /** Rate-limit retry configuration. */
@@ -3118,6 +3116,5 @@ export declare class PixivClient {
3118
3116
  */
3119
3117
  static of(refreshToken: string, options?: PixivClientOptions): Promise<PixivClient>;
3120
3118
  }
3121
- //#endregion
3122
- export type { AiShowSettingsResponse, BookmarkDetail, BookmarkDetailTag, BookmarkTag, ErrResult, FollowDetail, Frame, HasUnreadNotificationsResponse, HttpMethod, IllustBookmarkAddParams, IllustBookmarkDeleteParams, IllustBookmarkDetailParams, IllustBookmarkDetailResponse, IllustComment, IllustCommentRepliesPage, IllustCommentRepliesParams, IllustCommentStamp, IllustCommentsPage, IllustCommentsParams, IllustDetailParams, IllustDetailResponse, IllustFollowParams, IllustListPage, IllustMypixivParams, IllustNewParams, IllustPopularPreviewParams, IllustPopularPreviewResponse, IllustRankingParams, IllustRecommendedPage, IllustRecommendedParams, IllustRelatedParams, IllustRequest, IllustRequestCollaborateStatus, IllustRequestCollaborateUserSample, IllustRequestInfo, IllustRequestUser, IllustSearchParams, IllustSeriesDetail, IllustSeriesPage, IllustSeriesParams, IllustTrendingTagsParams, ImageUrls, MangaRecommendedPage, MarkedNovel, MetaPages, MetaSinglePage, MuteListResponse, MutedTag, NovelBookmarkAddParams, NovelBookmarkDeleteParams, NovelBookmarkUsersPage, NovelBookmarkUsersParams, NovelComment, NovelCommentRepliesPage, NovelCommentRepliesParams, NovelCommentsPage, NovelCommentsParams, NovelDetailParams, NovelDetailResponse, NovelFollowParams, NovelListPage, NovelMarker, NovelMarkersPage, NovelMypixivParams, NovelNewParams, NovelPopularPreviewParams, NovelPopularPreviewResponse, NovelRankingParams, NovelRecommendedPage, NovelRecommendedParams, NovelRelatedParams, NovelSearchParams, NovelSeriesDetail, NovelSeriesPage, NovelSeriesParams, NovelTextParams, NovelViewedEntry, OkResult, PagedResponse, ParsedNextUrl, PixivApiErrorBody, PixivClientOptions, PixivError, PixivIllustItem, PixivNovelItem, PixivUgoiraItem, PixivUser, PixivUserItem, PixivUserPreviewItem, PixivUserProfile, PixivUserProfileBadge, PixivUserProfilePublicity, PixivUserProfilePublicityV2, PixivUserProfileV2, PixivUserProfileWorkspace, PixivUserProfileWorkspaceV2, PrivacyPolicy, ProfileImageUrls, ResponseInterceptor, ResponseRecord, RestrictedModeSettingsResponse, Result, Series, SpotlightArticle, SpotlightArticlesPage, SpotlightArticlesParams, Tag, TrendingTagIllust, TrendingTagsIllustResponse, TrendingTagsNovelResponse, UgoiraMetadataResponse, UserBookmarkTagsIllustPage, UserBookmarkTagsIllustParams, UserBookmarkTagsNovelPage, UserBookmarkTagsNovelParams, UserBookmarksIllustPage, UserBookmarksIllustParams, UserBookmarksNovelPage, UserBookmarksNovelParams, UserDetailParams, UserDetailResponse, UserDetailV2Response, UserEditAiShowSettingsParams, UserFollowAddParams, UserFollowDeleteParams, UserFollowDetailParams, UserFollowDetailResponse, UserFollowerPage, UserFollowerParams, UserFollowingPage, UserFollowingParams, UserIllustsPage, UserIllustsParams, UserListPage, UserListParams, UserMeProfile, UserMeState, UserMeStateResponse, UserMypixivPage, UserMypixivParams, UserNovelsPage, UserNovelsParams, UserRecommendedPage, UserRecommendedParams, UserRelatedPage, UserRelatedParams, UserSearchPage, UserSearchParams, WatchlistMangaPage, WatchlistNovelPage, WatchlistSeries, WebviewNovel, WebviewNovelNavigationInfo, WebviewNovelRating, WebviewNovelSeriesNavigation, ZipUrls };
3119
+ export type { AiShowSettingsResponse, BookmarkDetail, BookmarkDetailTag, BookmarkTag, ErrResult, FollowDetail, Frame, HasUnreadNotificationsResponse, HttpMethod, IllustBookmarkAddParams, IllustBookmarkDeleteParams, IllustBookmarkDetailParams, IllustBookmarkDetailResponse, IllustComment, IllustCommentRepliesPage, IllustCommentRepliesParams, IllustCommentStamp, IllustCommentsPage, IllustCommentsParams, IllustDetailParams, IllustDetailResponse, IllustFollowParams, IllustListPage, IllustMypixivParams, IllustNewParams, IllustPopularPreviewParams, IllustPopularPreviewResponse, IllustRankingParams, IllustRecommendedPage, IllustRecommendedParams, IllustRelatedParams, IllustRequest, IllustRequestCollaborateStatus, IllustRequestCollaborateUserSample, IllustRequestInfo, IllustRequestUser, IllustResource, IllustSearchParams, IllustSeriesDetail, IllustSeriesPage, IllustSeriesParams, IllustTrendingTagsParams, ImageResource, ImageUrls, MangaRecommendedPage, MangaRecommendedParams, MangaResource, MarkedNovel, MetaPages, MetaSinglePage, MuteListResponse, MutedTag, NovelBookmarkAddParams, NovelBookmarkDeleteParams, NovelBookmarkUsersPage, NovelBookmarkUsersParams, NovelComment, NovelCommentRepliesPage, NovelCommentRepliesParams, NovelCommentsPage, NovelCommentsParams, NovelDetailParams, NovelDetailResponse, NovelFollowParams, NovelListPage, NovelMarker, NovelMarkersPage, NovelMypixivParams, NovelNewParams, NovelPopularPreviewParams, NovelPopularPreviewResponse, NovelRankingParams, NovelRecommendedPage, NovelRecommendedParams, NovelRelatedParams, NovelResource, NovelSearchParams, NovelSeriesDetail, NovelSeriesPage, NovelSeriesParams, NovelTextParams, NovelViewedEntry, OkResult, PagedResponse, ParsedNextUrl, PixivApiErrorBody, PixivClientOptions, PixivError, PixivIllustItem, PixivNovelItem, PixivUgoiraItem, PixivUser, PixivUserItem, PixivUserPreviewItem, PixivUserProfile, PixivUserProfileBadge, PixivUserProfilePublicity, PixivUserProfilePublicityV2, PixivUserProfileV2, PixivUserProfileWorkspace, PixivUserProfileWorkspaceV2, PrivacyPolicy, ProfileImageUrls, RateLimitRetryOptions, ResponseInterceptor, ResponseRecord, RestrictedModeSettingsResponse, Result, Series, SpotlightArticle, SpotlightArticlesPage, SpotlightArticlesParams, SpotlightResource, Tag, TrendingTagIllust, TrendingTagsIllustResponse, TrendingTagsNovelResponse, UgoiraMetadataParams, UgoiraMetadataResponse, UgoiraResource, UserBookmarkTagsIllustPage, UserBookmarkTagsIllustParams, UserBookmarkTagsNovelPage, UserBookmarkTagsNovelParams, UserBookmarksIllustPage, UserBookmarksIllustParams, UserBookmarksNovelPage, UserBookmarksNovelParams, UserBookmarksResource, UserDetailParams, UserDetailResponse, UserDetailV2Response, UserEditAiShowSettingsParams, UserFollowAddParams, UserFollowDeleteParams, UserFollowDetailParams, UserFollowDetailResponse, UserFollowerPage, UserFollowerParams, UserFollowingPage, UserFollowingParams, UserIllustsPage, UserIllustsParams, UserListPage, UserListParams, UserMeProfile, UserMeState, UserMeStateResponse, UserMypixivPage, UserMypixivParams, UserNovelsPage, UserNovelsParams, UserRecommendedPage, UserRecommendedParams, UserRelatedPage, UserRelatedParams, UserResource, UserSearchPage, UserSearchParams, WatchlistMangaPage, WatchlistNovelPage, WatchlistSeries, WebviewNovel, WebviewNovelNavigationInfo, WebviewNovelRating, WebviewNovelSeriesNavigation, ZipUrls };
3123
3120
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/result.ts","../src/auth.ts","../src/interceptor.ts","../src/errors.ts","../src/http.ts","../src/paginated.ts","../src/params.ts","../src/options.ts","../src/types.ts","../src/resources/illusts.ts","../src/resources/novels.ts","../src/resources/users.ts","../src/resources/spotlight.ts","../src/resources/manga.ts","../src/resources/ugoira.ts","../src/resources/images.ts","../src/client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;UAuBiB,SAAS;;WAEf;;WAEA;;WAEA,OAAO;;EAEhB,IAAI,GAAG,KAAK,OAAO,MAAM,IAAI,SAAS;;EAGtC,OAAO,GAAG,MAAM,iBAAiB,IAAI,SAAS;;E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;EAGC,YAAA,MAAM;;;;;;;EAUlB,YACE,SAAQ,yBACP,qBAAqB,sBAAsB;;;;;;;EAsB9C,aAAa,qBAAqB,oBAAoB;;;;;UClDvC;;EAEf;;;cAIW;;EAGC,YAAA,MAAM;;;;;;;EAUlB,SACE,QAAQ,uBACP,YAAY,wBAAwB;;;;;cCvB5B;;EAGC,YAAA,MAAM;;;;;;;;;EAYlB,MAAM,mBAAmB,YAAY,UAAU;;;;;UCChC;;EAEf,QAAQ,QAAQ;;EAEhB,aAAa;;;;;;;;qBASF;;;WAEF,SAAS;;WAET,QAAQ;;WAER,OAAO;;WAEP,OAAO;;WAEP,QAAQ;;WAER,WAAW;;WAEX,QAAQ;UAIV;;;;;;;;;;;;;;;MAyBH;;;;;;;;;;EAiBJ;;;;;;;;;EAYA;;;;;;;;SAWa,GACX,sBACA,UAAU,qBACT,QAAQ"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/result.ts","../src/auth.ts","../src/interceptor.ts","../src/errors.ts","../src/http.ts","../src/paginated.ts","../src/params.ts","../src/options.ts","../src/types.ts","../src/resources/illusts.ts","../src/resources/novels.ts","../src/resources/users.ts","../src/resources/spotlight.ts","../src/resources/manga.ts","../src/resources/ugoira.ts","../src/resources/images.ts","../src/client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuBiB,SAAS;;WAEf;;WAEA;;WAEA,OAAO;;EAEhB,IAAI,GAAG,KAAK,OAAO,MAAM,IAAI,SAAS;;EAGtC,OAAO,GAAG,MAAM,iBAAiB,IAAI,SAAS;;EAE9C,QAAQ,GAAG,GAAG,KAAK,OAAO,MAAM,OAAO,GAAG,KAAK,OAAO,GAAG;;EAEzD,MAAM,GAAG,OAAO,OAAO,MAAM,GAAG,SAAS,iBAAiB,IAAI;;EAE9D,SAAS,WAAW,IAAI;;;UAIT,UAAU;;WAEhB;;WAEA;;WAEA,OAAO;;EAGhB,IAAI,GAAG,MAAM,iBAAiB,IAAI,UAAU;;E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