@ahoo-wang/fetcher-cosec 3.15.2 → 3.15.4

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 CHANGED
@@ -21,9 +21,8 @@ This package provides seamless integration between the Fetcher HTTP client and t
21
21
  - **📱 Device Management**: Persistent device ID management with localStorage and fallback support
22
22
  - **🔄 Token Refresh**: Intelligent token refresh based on 401 responses with retry logic
23
23
  - **🌈 Request Attribution**: Unique request ID generation for comprehensive API tracking
24
- - **💾 Secure Token Storage**: Encrypted JWT token storage with configurable backends
25
- - **🛡️ Enterprise Security**: Multi-tenant support, rate limiting, and security monitoring
26
- - **⚡ Performance Optimized**: Minimal overhead with connection pooling and caching
24
+ - **💾 Token Storage**: JWT token storage with localStorage backend
25
+ - **🛡️ Enterprise Security**: CoSec authentication framework integration with space/tenant attribution
27
26
  - **🛠️ TypeScript First**: Complete type definitions with strict type safety
28
27
  - **🔌 Pluggable Architecture**: Modular design for easy integration and customization
29
28
  - **⚙️ Simplified Configuration**: One-line setup with `CoSecConfigurer` for minimal configuration overhead
package/README.zh-CN.md CHANGED
@@ -21,9 +21,9 @@
21
21
  - **📱 设备管理**:持久化设备 ID 管理,支持 localStorage 和后备存储
22
22
  - **🔄 令牌刷新**:基于 401 响应的智能令牌刷新,包含重试逻辑
23
23
  - **🌈 请求归属**:唯一请求 ID 生成,用于全面 API 跟踪
24
- - **💾 安全令牌存储**:加密 JWT 令牌存储,支持可配置后端
25
- - **🛡️ 企业级安全**:多租户支持、速率限制和安全监控
26
- - **⚡ 性能优化**:最小开销,支持连接池和缓存
24
+ - **💾 令牌存储**:JWT 令牌存储,支持 localStorage 后端
25
+ - **🛡️ 企业级安全**:CoSec 认证框架集成,支持空间/租户归属
26
+ - **⚡ 性能优化**:最小开销
27
27
  - **🛠️ TypeScript 优先**:完整类型定义,严格类型安全
28
28
  - **🔌 可插拔架构**:模块化设计,易于集成和定制
29
29
  - **⚙️ 简化配置**:使用 `CoSecConfigurer` 的一行设置,最小化配置开销
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahoo-wang/fetcher-cosec",
3
- "version": "3.15.2",
3
+ "version": "3.15.4",
4
4
  "description": "Enterprise-grade CoSec authentication integration for the Fetcher HTTP client with comprehensive security features including automatic token management, device tracking, and request attribution.",
5
5
  "keywords": [
6
6
  "fetch",
@@ -51,10 +51,10 @@
51
51
  "@vitest/coverage-v8": "^4.1.4",
52
52
  "@vitest/ui": "^4.1.4",
53
53
  "eslint": "^9.39.4",
54
- "globals": "^17.4.0",
54
+ "globals": "^17.5.0",
55
55
  "prettier": "^3.8.1",
56
56
  "typescript": "^6.0.2",
57
- "typescript-eslint": "^8.58.1",
57
+ "typescript-eslint": "^8.58.2",
58
58
  "unplugin-dts": "1.0.0-beta.6",
59
59
  "vite": "^8.0.8",
60
60
  "vite-bundle-analyzer": "^1.3.7",