cursedauth 0.9.2 → 0.9.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 +1 -0
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -48,6 +48,7 @@ logins and nothing else. The provider is a separate service reached over HTTPS a
|
|
|
48
48
|
| `cursedauth/sso` | both | the grant: its wire shape, its claims, its verification |
|
|
49
49
|
| `cursedauth/session-claims` | server | the bearer-token half: `SESSION_CLAIMS_KEY`, `SessionClaims`, `createRequireSession`. **Worker-safe** — reaches no `bun:sqlite` |
|
|
50
50
|
| `cursedauth/constant-time` | both | `constantTimeEqual` — compare two secrets without leaking where they differ |
|
|
51
|
+
| `cursedauth/secure-request` | both | `isSecureRequest` — whether a request arrived over HTTPS (reading `x-forwarded-proto` behind the tunnel), the one question the cookie `Secure` attribute turns on. Published 0.9.3 because `patterns` and `auth` each carried a copy (task 2106) |
|
|
51
52
|
| `cursedauth/offline-grant` | both | the bounded offline window: how long a device with no network may keep using cached content |
|
|
52
53
|
| `cursedauth/auth` | browser | `startSsoSignIn`, `useSsoAutoSignIn`, session hooks |
|
|
53
54
|
| `cursedauth/account-ui` | browser | the account menu |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cursedauth",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "The app side of fleet SSO — sign in through the accounts service, keep a local snapshot of who signed in, and gate the app on it. Bun + Hono + React, one SQLite file per app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -101,6 +101,12 @@
|
|
|
101
101
|
"source": "./src/constantTime.ts",
|
|
102
102
|
"import": "./dist/constantTime.js"
|
|
103
103
|
},
|
|
104
|
+
"./secure-request": {
|
|
105
|
+
"types": "./dist/secureRequest.d.ts",
|
|
106
|
+
"bun": "./src/secureRequest.ts",
|
|
107
|
+
"source": "./src/secureRequest.ts",
|
|
108
|
+
"import": "./dist/secureRequest.js"
|
|
109
|
+
},
|
|
104
110
|
"./offline-grant": {
|
|
105
111
|
"types": "./dist/offlineGrant.d.ts",
|
|
106
112
|
"bun": "./src/offlineGrant.ts",
|