@djangocfg/layouts 2.1.322 → 2.1.327
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/layouts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.327",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"check": "tsc --noEmit"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@djangocfg/api": "^2.1.
|
|
88
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
89
|
-
"@djangocfg/debuger": "^2.1.
|
|
90
|
-
"@djangocfg/i18n": "^2.1.
|
|
91
|
-
"@djangocfg/monitor": "^2.1.
|
|
92
|
-
"@djangocfg/ui-core": "^2.1.
|
|
93
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
87
|
+
"@djangocfg/api": "^2.1.327",
|
|
88
|
+
"@djangocfg/centrifugo": "^2.1.327",
|
|
89
|
+
"@djangocfg/debuger": "^2.1.327",
|
|
90
|
+
"@djangocfg/i18n": "^2.1.327",
|
|
91
|
+
"@djangocfg/monitor": "^2.1.327",
|
|
92
|
+
"@djangocfg/ui-core": "^2.1.327",
|
|
93
|
+
"@djangocfg/ui-nextjs": "^2.1.327",
|
|
94
94
|
"@hookform/resolvers": "^5.2.2",
|
|
95
95
|
"consola": "^3.4.2",
|
|
96
96
|
"lucide-react": "^0.545.0",
|
|
@@ -120,15 +120,15 @@
|
|
|
120
120
|
"uuid": "^11.1.0"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@djangocfg/api": "^2.1.
|
|
124
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
125
|
-
"@djangocfg/debuger": "^2.1.
|
|
126
|
-
"@djangocfg/i18n": "^2.1.
|
|
127
|
-
"@djangocfg/monitor": "^2.1.
|
|
128
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
129
|
-
"@djangocfg/ui-core": "^2.1.
|
|
130
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
131
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
123
|
+
"@djangocfg/api": "^2.1.327",
|
|
124
|
+
"@djangocfg/centrifugo": "^2.1.327",
|
|
125
|
+
"@djangocfg/debuger": "^2.1.327",
|
|
126
|
+
"@djangocfg/i18n": "^2.1.327",
|
|
127
|
+
"@djangocfg/monitor": "^2.1.327",
|
|
128
|
+
"@djangocfg/typescript-config": "^2.1.327",
|
|
129
|
+
"@djangocfg/ui-core": "^2.1.327",
|
|
130
|
+
"@djangocfg/ui-nextjs": "^2.1.327",
|
|
131
|
+
"@djangocfg/ui-tools": "^2.1.327",
|
|
132
132
|
"@types/node": "^24.7.2",
|
|
133
133
|
"@types/react": "^19.1.0",
|
|
134
134
|
"@types/react-dom": "^19.1.0",
|
|
@@ -43,7 +43,7 @@ import { SWRConfig } from 'swr';
|
|
|
43
43
|
|
|
44
44
|
import { MonitorProvider, FrontendMonitor } from '@djangocfg/monitor/client';
|
|
45
45
|
import { errorDetailToMonitorEvent } from '../../components/errors/ErrorsTracker';
|
|
46
|
-
import {
|
|
46
|
+
import { CentrifugoAuth } from '@djangocfg/api';
|
|
47
47
|
import { AuthProvider } from '@djangocfg/api/auth';
|
|
48
48
|
import { CentrifugoProvider } from '@djangocfg/centrifugo';
|
|
49
49
|
import { Toaster, TooltipProvider } from '@djangocfg/ui-core/components';
|
|
@@ -146,8 +146,8 @@ export function BaseApp({
|
|
|
146
146
|
autoConnect={centrifugoEnabled && centrifugo?.autoConnect}
|
|
147
147
|
url={centrifugoUrl}
|
|
148
148
|
onTokenRefresh={async () => {
|
|
149
|
-
const
|
|
150
|
-
return
|
|
149
|
+
const result = await CentrifugoAuth.cfgCentrifugoAuthTokenRetrieve({ throwOnError: true });
|
|
150
|
+
return result.data.token;
|
|
151
151
|
}}
|
|
152
152
|
>
|
|
153
153
|
<PwaProvider enabled={pwaInstallEnabled}>
|