@djangocfg/centrifugo 2.1.102 → 2.1.104
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 +22 -27
- package/src/components/CentrifugoMonitor/CentrifugoMonitor.tsx +1 -1
- package/src/components/CentrifugoMonitor/CentrifugoMonitorDialog.tsx +2 -2
- package/src/components/CentrifugoMonitor/CentrifugoMonitorWidget.tsx +1 -1
- package/src/components/ConnectionStatus/ConnectionStatus.tsx +1 -1
- package/src/components/ConnectionStatus/ConnectionStatusCard.tsx +1 -1
- package/src/components/MessagesFeed/MessageFilters.tsx +1 -1
- package/src/components/MessagesFeed/MessagesFeed.tsx +1 -1
- package/src/components/SubscriptionsList/SubscriptionsList.tsx +1 -1
- package/src/components/index.ts +2 -0
- package/src/debug/ConnectionTab/ConnectionTab.tsx +1 -1
- package/src/debug/DebugPanel/DebugPanel.tsx +1 -1
- package/src/debug/LogsTab/LogsTab.tsx +1 -1
- package/src/debug/SubscriptionsTab/SubscriptionsTab.tsx +1 -1
- package/src/hooks/index.ts +2 -0
- package/src/index.ts +2 -0
- package/dist/components.cjs +0 -871
- package/dist/components.cjs.map +0 -1
- package/dist/components.d.mts +0 -129
- package/dist/components.d.ts +0 -129
- package/dist/components.mjs +0 -857
- package/dist/components.mjs.map +0 -1
- package/dist/hooks.cjs +0 -379
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.d.mts +0 -128
- package/dist/hooks.d.ts +0 -128
- package/dist/hooks.mjs +0 -374
- package/dist/hooks.mjs.map +0 -1
- package/dist/index.cjs +0 -3007
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.mts +0 -838
- package/dist/index.d.ts +0 -838
- package/dist/index.mjs +0 -2948
- package/dist/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/centrifugo",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.104",
|
|
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",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"url": "https://github.com/markolofsen/django-cfg/issues"
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
|
-
"main": "./
|
|
33
|
-
"module": "./
|
|
34
|
-
"types": "./
|
|
32
|
+
"main": "./src/index.ts",
|
|
33
|
+
"module": "./src/index.ts",
|
|
34
|
+
"types": "./src/index.ts",
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
|
37
|
-
"types": "./
|
|
38
|
-
"import": "./
|
|
39
|
-
"require": "./
|
|
37
|
+
"types": "./src/index.ts",
|
|
38
|
+
"import": "./src/index.ts",
|
|
39
|
+
"require": "./src/index.ts"
|
|
40
40
|
},
|
|
41
41
|
"./components": {
|
|
42
|
-
"types": "./
|
|
43
|
-
"import": "./
|
|
44
|
-
"require": "./
|
|
42
|
+
"types": "./src/components/index.ts",
|
|
43
|
+
"import": "./src/components/index.ts",
|
|
44
|
+
"require": "./src/components/index.ts"
|
|
45
45
|
},
|
|
46
46
|
"./hooks": {
|
|
47
|
-
"types": "./
|
|
48
|
-
"import": "./
|
|
49
|
-
"require": "./
|
|
47
|
+
"types": "./src/hooks/index.ts",
|
|
48
|
+
"import": "./src/hooks/index.ts",
|
|
49
|
+
"require": "./src/hooks/index.ts"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
@@ -56,9 +56,6 @@
|
|
|
56
56
|
"LICENSE"
|
|
57
57
|
],
|
|
58
58
|
"scripts": {
|
|
59
|
-
"build": "tsup",
|
|
60
|
-
"clean": "rm -rf dist",
|
|
61
|
-
"dev": "tsup --watch",
|
|
62
59
|
"check": "tsc --noEmit",
|
|
63
60
|
"lint": "eslint . --max-warnings 0"
|
|
64
61
|
},
|
|
@@ -66,10 +63,10 @@
|
|
|
66
63
|
"centrifuge": "^5.2.2"
|
|
67
64
|
},
|
|
68
65
|
"peerDependencies": {
|
|
69
|
-
"@djangocfg/api": "^2.1.
|
|
70
|
-
"@djangocfg/ui-
|
|
71
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
72
|
-
"@djangocfg/layouts": "^2.1.
|
|
66
|
+
"@djangocfg/api": "^2.1.104",
|
|
67
|
+
"@djangocfg/ui-core": "^2.1.104",
|
|
68
|
+
"@djangocfg/ui-tools": "^2.1.104",
|
|
69
|
+
"@djangocfg/layouts": "^2.1.104",
|
|
73
70
|
"consola": "^3.4.2",
|
|
74
71
|
"lucide-react": "^0.545.0",
|
|
75
72
|
"moment": "^2.30.1",
|
|
@@ -77,17 +74,15 @@
|
|
|
77
74
|
"react-dom": "^19.1.0"
|
|
78
75
|
},
|
|
79
76
|
"devDependencies": {
|
|
80
|
-
"@djangocfg/api": "^2.1.
|
|
81
|
-
"@djangocfg/layouts": "^2.1.
|
|
82
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
83
|
-
"@djangocfg/ui-core": "^2.1.
|
|
84
|
-
"@djangocfg/ui-
|
|
85
|
-
"@djangocfg/ui-tools": "^2.1.102",
|
|
77
|
+
"@djangocfg/api": "^2.1.104",
|
|
78
|
+
"@djangocfg/layouts": "^2.1.104",
|
|
79
|
+
"@djangocfg/typescript-config": "^2.1.104",
|
|
80
|
+
"@djangocfg/ui-core": "^2.1.104",
|
|
81
|
+
"@djangocfg/ui-tools": "^2.1.104",
|
|
86
82
|
"@types/node": "^24.7.2",
|
|
87
83
|
"@types/react": "^19.1.0",
|
|
88
84
|
"@types/react-dom": "^19.1.0",
|
|
89
85
|
"moment": "^2.30.1",
|
|
90
|
-
"tsup": "^8.5.0",
|
|
91
86
|
"typescript": "^5.9.3"
|
|
92
87
|
},
|
|
93
88
|
"publishConfig": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
12
|
-
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@djangocfg/ui-
|
|
12
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@djangocfg/ui-core/components';
|
|
13
13
|
|
|
14
14
|
import { ConnectionStatus } from '../ConnectionStatus';
|
|
15
15
|
import { MessagesFeed } from '../MessagesFeed';
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { Activity } from 'lucide-react';
|
|
11
11
|
import React, { useState } from 'react';
|
|
12
12
|
|
|
13
|
-
import { useEventListener } from '@djangocfg/ui-core
|
|
13
|
+
import { useEventListener } from '@djangocfg/ui-core';
|
|
14
14
|
import {
|
|
15
15
|
Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle
|
|
16
|
-
} from '@djangocfg/ui-
|
|
16
|
+
} from '@djangocfg/ui-core';
|
|
17
17
|
|
|
18
18
|
import { CENTRIFUGO_MONITOR_EVENTS, OpenMonitorDialogPayload} from '../../events';
|
|
19
19
|
import { CentrifugoMonitor } from './CentrifugoMonitor';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { Activity, Maximize2 } from 'lucide-react';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
|
|
13
|
-
import { Button, Card, CardContent, CardHeader, CardTitle } from '@djangocfg/ui-
|
|
13
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from '@djangocfg/ui-core/components';
|
|
14
14
|
|
|
15
15
|
import { emitOpenMonitorDialog } from '../../events';
|
|
16
16
|
import { ConnectionStatus } from '../ConnectionStatus';
|
|
@@ -11,7 +11,7 @@ import { Clock, Radio, Wifi, WifiOff } from 'lucide-react';
|
|
|
11
11
|
import moment from 'moment';
|
|
12
12
|
import React, { useEffect, useState } from 'react';
|
|
13
13
|
|
|
14
|
-
import { Badge } from '@djangocfg/ui-
|
|
14
|
+
import { Badge } from '@djangocfg/ui-core/components';
|
|
15
15
|
|
|
16
16
|
import { getConsolaLogger } from '../../core/logger/consolaLogger';
|
|
17
17
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { Wifi, WifiOff } from 'lucide-react';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
|
|
13
|
-
import { Card, CardContent, CardHeader, CardTitle } from '@djangocfg/ui-
|
|
13
|
+
import { Card, CardContent, CardHeader, CardTitle } from '@djangocfg/ui-core/components';
|
|
14
14
|
|
|
15
15
|
import { emitOpenMonitorDialog } from '../../events';
|
|
16
16
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { Filter, Search, X } from 'lucide-react';
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
12
|
-
import { Badge, Button, Input } from '@djangocfg/ui-
|
|
12
|
+
import { Badge, Button, Input } from '@djangocfg/ui-core/components';
|
|
13
13
|
|
|
14
14
|
import type { MessageFilters as MessageFiltersType } from './types';
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
|
|
15
15
|
|
|
16
16
|
import {
|
|
17
17
|
Badge, Button, Card, CardContent, CardHeader, CardTitle, ScrollArea
|
|
18
|
-
} from '@djangocfg/ui-
|
|
18
|
+
} from '@djangocfg/ui-core/components';
|
|
19
19
|
|
|
20
20
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
|
21
21
|
import { MessageFilters as MessageFiltersComponent } from './MessageFilters';
|
|
@@ -12,7 +12,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
14
|
Badge, Button, Card, CardContent, CardHeader, CardTitle, ScrollArea
|
|
15
|
-
} from '@djangocfg/ui-
|
|
15
|
+
} from '@djangocfg/ui-core/components';
|
|
16
16
|
|
|
17
17
|
import { getConsolaLogger } from '../../core/logger/consolaLogger';
|
|
18
18
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
package/src/components/index.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Clock, RefreshCw, Wifi, WifiOff } from 'lucide-react';
|
|
|
10
10
|
|
|
11
11
|
import {
|
|
12
12
|
Badge, Button, Card, CardContent, CardHeader, CardTitle, Separator
|
|
13
|
-
} from '@djangocfg/ui-
|
|
13
|
+
} from '@djangocfg/ui-core/components';
|
|
14
14
|
|
|
15
15
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
|
16
16
|
|
|
@@ -13,7 +13,7 @@ import { useState } from 'react';
|
|
|
13
13
|
import {
|
|
14
14
|
Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, Tabs, TabsContent, TabsList,
|
|
15
15
|
TabsTrigger
|
|
16
|
-
} from '@djangocfg/ui-
|
|
16
|
+
} from '@djangocfg/ui-core/components';
|
|
17
17
|
|
|
18
18
|
import { ConnectionTab } from '../ConnectionTab';
|
|
19
19
|
import { LogsTab } from '../LogsTab';
|
|
@@ -14,7 +14,7 @@ import { useEffect, useRef, useState } from 'react';
|
|
|
14
14
|
import {
|
|
15
15
|
Badge, Button, Card, CardContent, CardHeader, CardTitle, Input, ScrollArea, Select,
|
|
16
16
|
SelectContent, SelectItem, SelectTrigger, SelectValue
|
|
17
|
-
} from '@djangocfg/ui-
|
|
17
|
+
} from '@djangocfg/ui-core/components';
|
|
18
18
|
import { PrettyCode } from '@djangocfg/ui-tools';
|
|
19
19
|
|
|
20
20
|
import { useLogs } from '../../providers/LogsProvider';
|
|
@@ -11,7 +11,7 @@ import { Fragment } from 'react';
|
|
|
11
11
|
|
|
12
12
|
import {
|
|
13
13
|
Badge, Button, Card, CardContent, CardHeader, CardTitle, ScrollArea, Separator
|
|
14
|
-
} from '@djangocfg/ui-
|
|
14
|
+
} from '@djangocfg/ui-core/components';
|
|
15
15
|
|
|
16
16
|
import { useCentrifugo } from '../../providers/CentrifugoProvider';
|
|
17
17
|
|
package/src/hooks/index.ts
CHANGED