@cubicecho/server-kit 0.6.2 → 0.7.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/_agents/docs/04-auth.md +1 -1
- package/llms.txt +1 -1
- package/package.json +9 -2
package/_agents/docs/04-auth.md
CHANGED
|
@@ -39,7 +39,7 @@ const auth = betterAuth({
|
|
|
39
39
|
- `deliver: undefined` is an instance that cannot email. `sendsMagicLinks(auth)` says which it is.
|
|
40
40
|
- `paths` moves the app's `login`, `verify` and `signedIn` pages.
|
|
41
41
|
- An option after the spread replaces the preset's whole value, so `session: { … }` has to repeat `expiresIn`.
|
|
42
|
-
-
|
|
42
|
+
- `/auth` needs three optional peers: `better-auth`, `@better-auth/sso` and `@cubicecho/better-auth-oidc-pairing`. Install all three in the server, with `oidc: false` too.
|
|
43
43
|
|
|
44
44
|
## Rate limiting sign-in
|
|
45
45
|
|
package/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Agent-facing docs for @cubicecho/server-kit: one task or concept per page, then what each package.json "exports" entry exports. Generated from _agents/docs/ and the doc comments in src/ by @cubicecho/agent-docs; edit those, not this file.
|
|
6
6
|
|
|
7
|
-
Requires Node >=22. Peer dependencies: `@better-auth/sso` >=1.7.28 <1.8.0 (optional), `@cubicecho/graphql-mcp` ^3.1.0 (optional), `@electric-sql/pglite` ^0.5.0 (optional), `better-auth` >=1.7.28 <1.8.0, `drizzle-orm` 1.0.0-rc.5, `express` ^5.0.0, `graphql` ^16.0.0, `graphql-yoga` ^6.0.0, `postgres` ^3.4.0 (optional), `vitest` ^5.0.0 (optional).
|
|
7
|
+
Requires Node >=22. Peer dependencies: `@better-auth/sso` >=1.7.28 <1.8.0 (optional), `@cubicecho/better-auth-oidc-pairing` ^1.1.0 (optional), `@cubicecho/graphql-mcp` ^3.1.0 (optional), `@electric-sql/pglite` ^0.5.0 (optional), `better-auth` >=1.7.28 <1.8.0 (optional), `drizzle-orm` 1.0.0-rc.5, `express` ^5.0.0, `graphql` ^16.0.0, `graphql-yoga` ^6.0.0, `postgres` ^3.4.0 (optional), `vitest` ^5.0.0 (optional).
|
|
8
8
|
|
|
9
9
|
## Docs
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubicecho/server-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "The server code every cubicecho GraphQL backend shares: database boot, id columns and the checks that keep a schema to the standard.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Benjamin Van Treese",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@better-auth/sso": ">=1.7.28 <1.8.0",
|
|
75
|
+
"@cubicecho/better-auth-oidc-pairing": "^1.1.0",
|
|
75
76
|
"@cubicecho/graphql-mcp": "^3.1.0",
|
|
76
77
|
"@electric-sql/pglite": "^0.5.0",
|
|
77
78
|
"better-auth": ">=1.7.28 <1.8.0",
|
|
@@ -86,12 +87,18 @@
|
|
|
86
87
|
"@better-auth/sso": {
|
|
87
88
|
"optional": true
|
|
88
89
|
},
|
|
90
|
+
"@cubicecho/better-auth-oidc-pairing": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
89
93
|
"@cubicecho/graphql-mcp": {
|
|
90
94
|
"optional": true
|
|
91
95
|
},
|
|
92
96
|
"@electric-sql/pglite": {
|
|
93
97
|
"optional": true
|
|
94
98
|
},
|
|
99
|
+
"better-auth": {
|
|
100
|
+
"optional": true
|
|
101
|
+
},
|
|
95
102
|
"postgres": {
|
|
96
103
|
"optional": true
|
|
97
104
|
},
|
|
@@ -103,6 +110,7 @@
|
|
|
103
110
|
"@better-auth/sso": "^1.7.28",
|
|
104
111
|
"@biomejs/biome": "^2.6.2",
|
|
105
112
|
"@cubicecho/agent-docs": "^0.2.0",
|
|
113
|
+
"@cubicecho/better-auth-oidc-pairing": "^1.1.0",
|
|
106
114
|
"@cubicecho/graphql-mcp": "^3.2.0",
|
|
107
115
|
"@electric-sql/pglite": "^0.5.17",
|
|
108
116
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
@@ -127,7 +135,6 @@
|
|
|
127
135
|
"zod": "^4.6.7"
|
|
128
136
|
},
|
|
129
137
|
"dependencies": {
|
|
130
|
-
"@cubicecho/better-auth-oidc-pairing": "^1.1.0",
|
|
131
138
|
"@escape.tech/graphql-armor-max-aliases": "^2.6.3",
|
|
132
139
|
"@escape.tech/graphql-armor-max-depth": "^2.4.3",
|
|
133
140
|
"graphql-query-complexity": "^2.0.0"
|