@puzzle-ui/session 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.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +7 -2
package/README.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  Secure, database-independent session management for Puzzle Auth.
4
4
 
5
+ **Documentation:** [https://puzzle-ui.com/docs/auth](https://puzzle-ui.com/docs/auth)
6
+
7
+ `@puzzle-ui/session` issues, validates, rotates, and revokes server-side
8
+ sessions on top of any [`@puzzle-ui/storage`](https://puzzle-ui.com/docs/storage)
9
+ adapter. [`@puzzle-ui/auth`](https://puzzle-ui.com/docs/auth) and
10
+ [`@puzzle-ui/fullstack`](https://puzzle-ui.com/docs/fullstack) use it for
11
+ their session handling; use it directly when you need sessions without the
12
+ full authentication stack, such as anonymous carts or custom sign-in flows.
13
+
5
14
  ## Features
6
15
 
7
16
  - Cryptographically secure opaque session tokens.
@@ -29,7 +38,13 @@ Session management fails closed when these capabilities are unavailable.
29
38
  ## Installation
30
39
 
31
40
  ```sh
41
+ npm install @puzzle-ui/session
42
+ # or
32
43
  bun add @puzzle-ui/session
44
+ # or
45
+ pnpm add @puzzle-ui/session
46
+ # or
47
+ yarn add @puzzle-ui/session
33
48
  ```
34
49
 
35
50
  ## Initialization
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@puzzle-ui/session",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Secure, database-independent session management for Puzzle Auth.",
5
+ "homepage": "https://puzzle-ui.com",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/senorprogramador/puzzle.git"
9
+ },
5
10
  "license": "MIT",
6
11
  "publishConfig": {
7
12
  "access": "public",
@@ -40,6 +45,6 @@
40
45
  "typescript": "^7.0.2"
41
46
  },
42
47
  "dependencies": {
43
- "@puzzle-ui/storage": "^0.5.0"
48
+ "@puzzle-ui/storage": "^0.6.0"
44
49
  }
45
50
  }