@dotpress/auth 2.0.0-alpha.0 → 2.0.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  JWT authentication plugin for [Dotpress](https://dotpress.dev): login, token rotation, cookie sessions, and typed `ctx.user`. Works with any ORM through a small data provider, and on any adapter.
4
4
 
5
- > 🚧 Dotpress V2 is under active development and not published yet.
5
+ > 🚧 Dotpress V2 is in alpha (`2.0.0-alpha`): the API may still change before 2.0.0. Until then, install this package with the `alpha` tag: without it, `@dotpress/auth` is the 1.x.
6
6
 
7
7
  ```sh
8
- pnpm add @dotpress/auth @dotpress/core zod
8
+ pnpm add @dotpress/auth@alpha @dotpress/core zod
9
9
  ```
10
10
 
11
11
  ## Quick start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotpress/auth",
3
- "version": "2.0.0-alpha.0",
3
+ "version": "2.0.0-alpha.1",
4
4
  "description": "JWT authentication plugin for Dotpress",
5
5
  "author": "Renaud Guyon",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "node": ">=22.12"
30
30
  },
31
31
  "peerDependencies": {
32
- "@dotpress/core": "^2.0.0-alpha.0",
32
+ "@dotpress/core": "^2.0.0-alpha.1",
33
33
  "zod": "^4.6.0"
34
34
  },
35
35
  "dependencies": {
@@ -37,8 +37,8 @@
37
37
  "jose": "^6.2.15"
38
38
  },
39
39
  "devDependencies": {
40
- "@dotpress/core": "2.0.0-alpha.0",
41
- "@dotpress/testing": "2.0.0-alpha.0",
40
+ "@dotpress/core": "2.0.0-alpha.1",
41
+ "@dotpress/testing": "2.0.0-alpha.1",
42
42
  "@types/jsonwebtoken": "^9.0.10",
43
43
  "jsonwebtoken": "^9.0.3",
44
44
  "zod": "^4.6.7"