@djangocfg/centrifugo 2.1.153 → 2.1.154

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/centrifugo",
3
- "version": "2.1.153",
3
+ "version": "2.1.154",
4
4
  "description": "Production-ready Centrifugo WebSocket client for React with real-time subscriptions, RPC patterns, and connection state management",
5
5
  "keywords": [
6
6
  "centrifugo",
@@ -63,10 +63,10 @@
63
63
  "centrifuge": "^5.2.2"
64
64
  },
65
65
  "peerDependencies": {
66
- "@djangocfg/api": "^2.1.153",
67
- "@djangocfg/i18n": "^2.1.153",
68
- "@djangocfg/ui-core": "^2.1.153",
69
- "@djangocfg/ui-tools": "^2.1.153",
66
+ "@djangocfg/api": "^2.1.154",
67
+ "@djangocfg/i18n": "^2.1.154",
68
+ "@djangocfg/ui-core": "^2.1.154",
69
+ "@djangocfg/ui-tools": "^2.1.154",
70
70
  "consola": "^3.4.2",
71
71
  "lucide-react": "^0.545.0",
72
72
  "moment": "^2.30.1",
@@ -74,11 +74,11 @@
74
74
  "react-dom": "^19.1.0"
75
75
  },
76
76
  "devDependencies": {
77
- "@djangocfg/api": "^2.1.153",
78
- "@djangocfg/i18n": "^2.1.153",
79
- "@djangocfg/typescript-config": "^2.1.153",
80
- "@djangocfg/ui-core": "^2.1.153",
81
- "@djangocfg/ui-tools": "^2.1.153",
77
+ "@djangocfg/api": "^2.1.154",
78
+ "@djangocfg/i18n": "^2.1.154",
79
+ "@djangocfg/typescript-config": "^2.1.154",
80
+ "@djangocfg/ui-core": "^2.1.154",
81
+ "@djangocfg/ui-tools": "^2.1.154",
82
82
  "@types/node": "^24.7.2",
83
83
  "@types/react": "^19.1.0",
84
84
  "@types/react-dom": "^19.1.0",
@@ -44,18 +44,15 @@ function getLevelColor(level: LogLevel): string {
44
44
  }
45
45
  }
46
46
 
47
- function _getLevelBadgeVariant(level: LogLevel): 'default' | 'secondary' | 'destructive' | 'outline' {
48
- switch (level) {
49
- case 'error':
50
- return 'destructive';
51
- case 'warning':
52
- return 'outline';
53
- case 'success':
54
- return 'default';
55
- default:
56
- return 'secondary';
57
- }
58
- }
47
+ // Reserved for future use
48
+ // function getLevelBadgeVariant(level: LogLevel): 'default' | 'secondary' | 'destructive' | 'outline' {
49
+ // switch (level) {
50
+ // case 'error': return 'destructive';
51
+ // case 'warning': return 'outline';
52
+ // case 'success': return 'default';
53
+ // default: return 'secondary';
54
+ // }
55
+ // }
59
56
 
60
57
  // ─────────────────────────────────────────────────────────────────────────
61
58
  // Component