@geekmidas/auth 10.0.0-alpha.18 → 10.0.0-alpha.181
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 +10 -0
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -486,6 +486,16 @@ interface TokenExtractionOptions {
|
|
|
486
486
|
- `hono` - Hono framework (peer dependency for middleware)
|
|
487
487
|
- `@types/aws-lambda` - AWS Lambda types (peer dependency for authorizers)
|
|
488
488
|
|
|
489
|
+
## Optional peers
|
|
490
|
+
|
|
491
|
+
<!-- optional-peers:start -->
|
|
492
|
+
|
|
493
|
+
<!-- Generated by `node scripts/check-optional-peers.mjs --write-docs`; CI fails when it drifts. -->
|
|
494
|
+
|
|
495
|
+
No entry imports an optional peer when it loads. `@geekmidas/cache`, `@types/aws-lambda`, `hono` are loaded only when a feature that uses one runs (an `import()` inside a `try`, whose error names the package to install), or named only in types.
|
|
496
|
+
|
|
497
|
+
<!-- optional-peers:end -->
|
|
498
|
+
|
|
489
499
|
## License
|
|
490
500
|
|
|
491
501
|
MIT License - see the LICENSE file for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/auth",
|
|
3
|
-
"version": "10.0.0-alpha.
|
|
3
|
+
"version": "10.0.0-alpha.181",
|
|
4
4
|
"description": "JWT and OIDC authentication with token verification, Hono middleware, and Lambda authorizers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@types/jsonwebtoken": "~9.0.10",
|
|
117
|
-
"@geekmidas/cache": "
|
|
117
|
+
"@geekmidas/cache": ">=10.0.0-alpha.181 <10.0.0"
|
|
118
118
|
},
|
|
119
119
|
"peerDependencies": {
|
|
120
120
|
"@types/aws-lambda": ">=8.10.163",
|
|
121
121
|
"hono": ">=4.13.8",
|
|
122
|
-
"@geekmidas/cache": "
|
|
122
|
+
"@geekmidas/cache": ">=10.0.0-alpha.181 <10.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependenciesMeta": {
|
|
125
125
|
"@geekmidas/cache": {
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
"scripts": {
|
|
136
|
-
"play": "tsx src/playground.ts"
|
|
136
|
+
"play": "tsx src/playground.ts",
|
|
137
|
+
"build": "tsdown --config ../../tsdown.config.ts --filter ."
|
|
137
138
|
}
|
|
138
139
|
}
|