@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 +5 -0
- package/README.md +11 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.
|
|
38
|
+
Pin version 0.11.1 for reproducible installs:
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
npm install @silmaril-security/sdk@0.11.
|
|
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
|
-
|
|
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