@scorehub/auth-sdk 1.1.0 → 1.1.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.
@@ -19,7 +19,7 @@ interface KoaMiddlewareOptions {
19
19
  *
20
20
  * 用法:
21
21
  * ```
22
- * const { AuthClient, koaAuthMiddleware } = require('@siketech/auth-sdk');
22
+ * const { AuthClient, koaAuthMiddleware } = require('@scorehub/auth-sdk');
23
23
  * const authClient = new AuthClient({ serviceUrl, clientId, clientSecret, publicKey });
24
24
  * app.use(koaAuthMiddleware(authClient, { exclude: ['/health'] }));
25
25
  * // 验证后 ctx.state.admin = payload (兼容现有代码)
@@ -19,7 +19,7 @@ const defaultExtractors = [
19
19
  *
20
20
  * 用法:
21
21
  * ```
22
- * const { AuthClient, koaAuthMiddleware } = require('@siketech/auth-sdk');
22
+ * const { AuthClient, koaAuthMiddleware } = require('@scorehub/auth-sdk');
23
23
  * const authClient = new AuthClient({ serviceUrl, clientId, clientSecret, publicKey });
24
24
  * app.use(koaAuthMiddleware(authClient, { exclude: ['/health'] }));
25
25
  * // 验证后 ctx.state.admin = payload (兼容现有代码)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scorehub/auth-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Auth-Service SDK for Node.js applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",