@kayjs/auth 1.104.1 → 1.104.3
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 +2 -2
- package/llms/setup.md +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@ Auth for kay apps, built on kay's sessions: OAuth and OpenID Connect sign-in (Di
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
kayjs-auth is published to npm as `@kayjs/auth`, beside kay, and to the Forgejo registry at git.kaynooo.fr
|
|
7
|
+
kayjs-auth is published to npm as `@kayjs/auth`, beside kay, and as a mirror to the Forgejo registry at git.kaynooo.fr.
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
10
|
bun add @kayjs/auth
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
kay, Elysia and kayjs-ui (for the prebuilt pages) are peers, and `@kaynooo/pg-orm` too for the Postgres and SQLite store. It is released with kay, at kay's own version, and peers on kay's minor: install the one matching your kay, and move them together.
|
|
13
|
+
kay, Elysia and kayjs-ui (for the prebuilt pages) are peers, and `@kaynooo/pg-orm` too for the Postgres and SQLite store. It is released with kay, at kay's own version, and peers on kay's minor: install the one matching your kay, and move them together.
|
|
14
14
|
|
|
15
15
|
## Set up
|
|
16
16
|
|
package/llms/setup.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### Setup
|
|
6
6
|
|
|
7
|
-
kayjs-auth is published as `@kayjs/auth` to
|
|
7
|
+
kayjs-auth is published as `@kayjs/auth` to npm, beside kay. kay, Elysia (an implementation detail of kay: an app names `KayPlugin` and `Schema`, never Elysia's types), kayjs-ui (for the prebuilt pages) and `@kaynooo/pg-orm` (for the default store) are peer dependencies.
|
|
8
8
|
|
|
9
9
|
One line in kay.config.ts is the whole setup, and the app has no auth file:
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayjs/auth",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.104.
|
|
4
|
+
"version": "1.104.3",
|
|
5
5
|
"description": "Auth for kay apps on kay sessions: OAuth, passwords, two-factor, magic links and bearer tokens",
|
|
6
6
|
"author": "Kaynooo <https://github.com/Kayno0o>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"test": "$npm_execpath test --parallel=6 --timeout 20000 --path-ignore-patterns='**/{pgStore,lastOne,sharedDatabase}.test.ts' && $npm_execpath test --isolate --timeout 20000 pgStore.test lastOne.test sharedDatabase.test"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@kayjs/ui": "~1.104.
|
|
64
|
+
"@kayjs/ui": "~1.104.3",
|
|
65
65
|
"@kaynooo/pg-orm": "^7.1.2 || ^8.0.0",
|
|
66
66
|
"elysia": "^1.4.31",
|
|
67
67
|
"kay": "~1.104.0"
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"jose": "^6.2.13"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@kayjs/mail": "~1.104.
|
|
80
|
-
"@kayjs/ui": "~1.104.
|
|
79
|
+
"@kayjs/mail": "~1.104.3",
|
|
80
|
+
"@kayjs/ui": "~1.104.3",
|
|
81
81
|
"@kaynooo/eslint": "^7.1.6",
|
|
82
82
|
"@kaynooo/pg-orm": "^8.1.4",
|
|
83
83
|
"@types/bun": "^1.4.4",
|