@neondatabase/neon-js 0.1.0-beta.14 → 0.1.0-beta.15
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 +0 -25
- package/dist/package.json +3 -4
- package/llms-full.txt +1181 -0
- package/llms.txt +264 -0
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -537,31 +537,6 @@ This package combines two underlying packages:
|
|
|
537
537
|
- [`@neondatabase/auth`](../auth) - Authentication adapters (can be used standalone)
|
|
538
538
|
- [`@neondatabase/postgrest-js`](../postgrest-js) - PostgreSQL client (can be used standalone)
|
|
539
539
|
|
|
540
|
-
## Migration from Previous Version
|
|
541
|
-
|
|
542
|
-
If you're migrating from the old API that used `dataApiUrl` and `authUrl` directly:
|
|
543
|
-
|
|
544
|
-
```typescript
|
|
545
|
-
// Before (old API)
|
|
546
|
-
const client = createClient({
|
|
547
|
-
dataApiUrl: 'https://data-api.example.com/rest/v1',
|
|
548
|
-
authUrl: 'https://auth.example.com',
|
|
549
|
-
});
|
|
550
|
-
|
|
551
|
-
// After (new API with adapters)
|
|
552
|
-
import { createClient, SupabaseAuthAdapter } from '@neondatabase/neon-js';
|
|
553
|
-
|
|
554
|
-
const client = createClient({
|
|
555
|
-
auth: {
|
|
556
|
-
adapter: SupabaseAuthAdapter(),
|
|
557
|
-
url: 'https://auth.example.com',
|
|
558
|
-
},
|
|
559
|
-
dataApi: {
|
|
560
|
-
url: 'https://data-api.example.com/rest/v1',
|
|
561
|
-
},
|
|
562
|
-
});
|
|
563
|
-
```
|
|
564
|
-
|
|
565
540
|
## Resources
|
|
566
541
|
|
|
567
542
|
- [Neon Documentation](https://neon.tech/docs)
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neondatabase/neon-js",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.14",
|
|
4
4
|
"description": "TypeScript SDK for Neon Auth and Data API - authentication and PostgreSQL querying",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -93,9 +93,8 @@
|
|
|
93
93
|
},
|
|
94
94
|
"files": [
|
|
95
95
|
"dist",
|
|
96
|
-
"llms-full.txt",
|
|
97
96
|
"llms.txt",
|
|
98
|
-
"llms-
|
|
97
|
+
"llms-full.txt"
|
|
99
98
|
],
|
|
100
99
|
"publishConfig": {
|
|
101
100
|
"access": "public"
|
|
@@ -117,7 +116,7 @@
|
|
|
117
116
|
},
|
|
118
117
|
"dependencies": {
|
|
119
118
|
"@neondatabase/postgrest-js": "^0.1.0-alpha.1",
|
|
120
|
-
"@neondatabase/auth": "^0.1.0-beta.
|
|
119
|
+
"@neondatabase/auth": "^0.1.0-beta.15",
|
|
121
120
|
"@supabase/postgres-meta": "0.93.1",
|
|
122
121
|
"meow": "14.0.0",
|
|
123
122
|
"zod": "4.1.12"
|