ani-client 2.1.4 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -186,7 +186,7 @@ interface RedisCacheOptions {
186
186
  client: RedisLikeClient;
187
187
  /** Key prefix to namespace ani-client entries (default: `"ani:"`) */
188
188
  prefix?: string;
189
- /** TTL in seconds (default: 86 400 = 24 h) */
189
+ /** TTL in milliseconds (default: 86 400 000 = 24h) */
190
190
  ttl?: number;
191
191
  }
192
192
  /**
@@ -186,7 +186,7 @@ interface RedisCacheOptions {
186
186
  client: RedisLikeClient;
187
187
  /** Key prefix to namespace ani-client entries (default: `"ani:"`) */
188
188
  prefix?: string;
189
- /** TTL in seconds (default: 86 400 = 24 h) */
189
+ /** TTL in milliseconds (default: 86 400 000 = 24h) */
190
190
  ttl?: number;
191
191
  }
192
192
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ani-client",
3
- "version": "2.1.4",
3
+ "version": "2.2.1",
4
4
  "description": "A simple and typed client to fetch anime, manga, characters and user data from AniList",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -49,7 +49,7 @@
49
49
  "author": "gonzyui",
50
50
  "license": "MIT",
51
51
  "engines": {
52
- "node": ">=20"
52
+ "node": ">=22.13.0"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
@@ -71,15 +71,5 @@
71
71
  "vitest": "^4.1.5",
72
72
  "vue": "^3.5.33"
73
73
  },
74
- "packageManager": "pnpm@10.33.2",
75
- "pnpm": {
76
- "overrides": {
77
- "esbuild": "^0.25.0"
78
- },
79
- "onlyBuiltDependencies": [
80
- "@biomejs/biome",
81
- "@parcel/watcher",
82
- "esbuild"
83
- ]
84
- }
74
+ "packageManager": "pnpm@11.5.1"
85
75
  }