ai-retry 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +13 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,8 +19,20 @@ It supports two types of retries:
19
19
 
20
20
  ### Installation
21
21
 
22
+ This library supports both AI SDK v5 and v6. The main branch reflects the latest stable version for AI SDK v6. See the [v0 branch](https://github.com/zirkelc/ai-retry/tree/v0) for documentation.
23
+
24
+ > [!WARNING]
25
+ > Version compatibility:
26
+ >
27
+ > - Use `ai-retry` version 0.x for AI SDK v5.
28
+ > - Use `ai-retry` version 1.x for AI SDK v6.
29
+
22
30
  ```bash
23
- npm install ai-retry
31
+ # AI SDK v5
32
+ npm install ai-retry@0
33
+
34
+ # AI SDK v6
35
+ npm install ai-retry@1
24
36
  ```
25
37
 
26
38
  ### Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-retry",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "AI SDK Retry",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",