@neon/ai-sdk-provider 0.5.0 → 0.6.0

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/README.md CHANGED
@@ -12,9 +12,11 @@ Model ids use the canonical Neon (unprefixed) form — `claude-sonnet-4-6`, `gpt
12
12
  npm install @neon/ai-sdk-provider ai@^6
13
13
  ```
14
14
 
15
+ > **Requirements:** Node.js >= 20.19.
16
+
15
17
  ## Configuration
16
18
 
17
- The gateway URL is branch-scoped, so both values come from the Neon Console (your project → a branch → **AI Gateway** tab), or from `neonctl env pull` / `neon dev`:
19
+ The gateway URL is branch-scoped, so both values come from the Neon Console (your project → a branch → **AI Gateway** tab), or from `neon env pull` / `neon dev`:
18
20
 
19
21
  ```bash
20
22
  NEON_AI_GATEWAY_BASE_URL="https://<branch-id>-api.ai.<region>.aws.neon.tech"
@@ -94,7 +96,7 @@ for await (const part of result.fullStream) {
94
96
  Against a live branch with AI Gateway enabled:
95
97
 
96
98
  ```bash
97
- cp .env.example .env # fill NEON_AI_GATEWAY_BASE_URL + NEON_AI_GATEWAY_TOKEN from `neonctl env pull`
99
+ cp .env.example .env # fill NEON_AI_GATEWAY_BASE_URL + NEON_AI_GATEWAY_TOKEN from `neon env pull`
98
100
  pnpm test:e2e
99
101
  ```
100
102
 
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.5.0";
2
+ var version = "0.6.0";
3
3
  //#endregion
4
4
  export { version };
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/ai-sdk-provider",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Community Vercel AI SDK provider for the Neon AI Gateway.",
5
5
  "keywords": [
6
6
  "neon",
@@ -47,7 +47,7 @@
47
47
  "zod": "^4.4.3"
48
48
  },
49
49
  "engines": {
50
- "node": ">=22"
50
+ "node": ">=20.19.0"
51
51
  },
52
52
  "publishConfig": {
53
53
  "provenance": false