@longzai-intelligence-auth/ws 0.1.8 → 0.1.10

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/dist/index.d.ts +0 -2
  2. package/package.json +9 -12
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { AuthOrchestrationOptions, TransportAuthResult, TransportAuthenticator } from "@longzai-intelligence-auth/core";
2
- //#region src/index.d.ts
3
2
  /**
4
3
  * WebSocket 认证失败的常用关闭码
5
4
  *
@@ -29,5 +28,4 @@ declare function buildWsAuthFailureResponse(result: Extract<TransportAuthResult,
29
28
  * @returns 实现 TransportAuthenticator 的 WS 认证器
30
29
  */
31
30
  declare function createWsAuthenticator(options: WsAuthenticatorOptions): TransportAuthenticator;
32
- //#endregion
33
31
  export { WS_AUTH_CLOSE_CODE, WsAuthenticatorOptions, buildWsAuthFailureResponse, createWsAuthenticator };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longzai-intelligence-auth/ws",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Longzai Intelligence Auth WebSocket 传输认证包",
5
5
  "keywords": [
6
6
  "auth",
@@ -29,25 +29,22 @@
29
29
  "build": "lzi-builder",
30
30
  "build:prod": "NODE_ENV=production bun run build",
31
31
  "prepublishOnly": "bun run build:prod",
32
- "typecheck": "bun run typecheck:app && bun run typecheck:node && bun run typecheck:test",
33
- "typecheck:app": "lzi-tsgo typecheck tsconfig/app.json",
34
- "typecheck:node": "lzi-tsgo typecheck tsconfig/node.json",
35
- "typecheck:test": "lzi-tsgo typecheck tsconfig/test.json",
36
- "lint": "oxlint && oxfmt --check",
37
- "lint:fix": "oxlint --fix && oxfmt",
32
+ "typecheck": "lzi-typecheck",
33
+ "lint": "lzi-lint lint",
34
+ "lint:fix": "lzi-lint fix",
38
35
  "test": "bun test",
39
36
  "test:watch": "bun test --watch",
40
37
  "test:coverage": "bun test --coverage",
41
38
  "test:unit": "bun test src/__tests__/unit/",
42
39
  "test:integration": "bun test src/__tests__/integration/",
43
- "clean": "lzi-dev-cli clean"
40
+ "clean": "lzi-dev-tools clean"
44
41
  },
45
42
  "dependencies": {
46
- "@longzai-intelligence-auth/core": "0.1.8"
43
+ "@longzai-intelligence-auth/core": "0.1.10"
47
44
  },
48
45
  "devDependencies": {
49
- "@longzai-intelligence-auth/bearer-jwt-strategy": "0.1.8",
50
- "@longzai-intelligence-auth/credential": "0.1.8",
51
- "@longzai-intelligence-auth/jwt": "0.1.8"
46
+ "@longzai-intelligence-auth/bearer-jwt-strategy": "0.1.10",
47
+ "@longzai-intelligence-auth/credential": "0.1.10",
48
+ "@longzai-intelligence-auth/jwt": "0.1.10"
52
49
  }
53
50
  }