vigor-fetch 1.0.19 → 1.0.20

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -76,7 +76,7 @@ Builds and executes an HTTP request.
76
76
  | `.headers(obj)` | Set request headers |
77
77
  | `.body(obj)` | Set the request body (objects/arrays are automatically JSON-serialized) |
78
78
  | `.offset(obj)` | Pass options directly to `fetch` |
79
- | `.maxDelay(ms)` | Maximum wait time per retry (ms) |
79
+ | `.limit(ms)` | Maximum wait time per retry (ms) |
80
80
  | `.retryHeaders(...str)` | Add custom headers for Rate Limit detection |
81
81
  | `.unretry(...int)` | Set HTTP status codes that should not be retried |
82
82
  | `.retryConfig(fn)` | Customize the internal VigorRetry configuration |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigor-fetch",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Smart, zero-dependency HTTP client with self-healing retries for rate-limited servers.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",