@silmaril-security/sdk 0.11.0 → 0.11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.1
4
+
5
+ - Pin the Vercel AI SDK install recipes to compatible AI SDK and OpenAI
6
+ provider versions.
7
+
3
8
  ## 0.11.0
4
9
 
5
10
  - Breaking: rename the tenant acceptable-use policy outcome to `abuse`.
package/README.md CHANGED
@@ -35,10 +35,10 @@ This SDK is distributed as an npm package.
35
35
  npm install @silmaril-security/sdk
36
36
  ```
37
37
 
38
- Pin version 0.11.0 for reproducible installs:
38
+ Pin version 0.11.1 for reproducible installs:
39
39
 
40
40
  ```sh
41
- npm install @silmaril-security/sdk@0.11.0
41
+ npm install @silmaril-security/sdk@0.11.1
42
42
  ```
43
43
 
44
44
  Requires Node 20 or later.
@@ -56,7 +56,11 @@ existing `adapters/vercel` middleware remains compatible with Vercel AI SDK v5
56
56
  and v6:
57
57
 
58
58
  ```sh
59
- npm install ai @ai-sdk/openai
59
+ # AI SDK 5
60
+ npm install ai@^5 @ai-sdk/openai@^2
61
+
62
+ # AI SDK 6
63
+ npm install ai@^6 @ai-sdk/openai@^3
60
64
  ```
61
65
 
62
66
  AI SDK 7 applications require Node 22 or later and use the separate
@@ -667,6 +671,10 @@ AI SDK 7 uses the `LanguageModelV4Middleware` contract and requires Node 22 or
667
671
  later. Import its adapter explicitly; `Firewall.asMiddleware()` intentionally
668
672
  retains the AI SDK 5/6 v3 contract.
669
673
 
674
+ ```sh
675
+ npm install ai@7.0.166 @ai-sdk/openai@4.0.111
676
+ ```
677
+
670
678
  ```ts
671
679
  import { generateText, wrapLanguageModel } from "ai";
672
680
  import { openai } from "@ai-sdk/openai";
package/dist/index.cjs CHANGED
@@ -1580,7 +1580,7 @@ function sanitizeText(text) {
1580
1580
  }
1581
1581
 
1582
1582
  // src/firewall.ts
1583
- var SDK_VERSION = "0.11.0";
1583
+ var SDK_VERSION = "0.11.1";
1584
1584
  var DEFAULT_TIMEOUT_MS = 1e4;
1585
1585
  var DEFAULT_MAX_RETRIES = 5;
1586
1586
  var MAX_BACKOFF_SECONDS = 30;