@djangocfg/layouts 2.1.237 → 2.1.239
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.239",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"check": "tsc --noEmit"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@djangocfg/api": "^2.1.
|
|
78
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
79
|
-
"@djangocfg/i18n": "^2.1.
|
|
80
|
-
"@djangocfg/monitor": "^2.1.
|
|
81
|
-
"@djangocfg/debuger": "^2.1.
|
|
82
|
-
"@djangocfg/ui-core": "^2.1.
|
|
83
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
84
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
77
|
+
"@djangocfg/api": "^2.1.239",
|
|
78
|
+
"@djangocfg/centrifugo": "^2.1.239",
|
|
79
|
+
"@djangocfg/i18n": "^2.1.239",
|
|
80
|
+
"@djangocfg/monitor": "^2.1.239",
|
|
81
|
+
"@djangocfg/debuger": "^2.1.239",
|
|
82
|
+
"@djangocfg/ui-core": "^2.1.239",
|
|
83
|
+
"@djangocfg/ui-nextjs": "^2.1.239",
|
|
84
|
+
"@djangocfg/ui-tools": "^2.1.239",
|
|
85
85
|
"@hookform/resolvers": "^5.2.2",
|
|
86
86
|
"consola": "^3.4.2",
|
|
87
87
|
"lucide-react": "^0.545.0",
|
|
@@ -109,15 +109,15 @@
|
|
|
109
109
|
"uuid": "^11.1.0"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@djangocfg/api": "^2.1.
|
|
113
|
-
"@djangocfg/i18n": "^2.1.
|
|
114
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
115
|
-
"@djangocfg/monitor": "^2.1.
|
|
116
|
-
"@djangocfg/debuger": "^2.1.
|
|
117
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
118
|
-
"@djangocfg/ui-core": "^2.1.
|
|
119
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
120
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
112
|
+
"@djangocfg/api": "^2.1.239",
|
|
113
|
+
"@djangocfg/i18n": "^2.1.239",
|
|
114
|
+
"@djangocfg/centrifugo": "^2.1.239",
|
|
115
|
+
"@djangocfg/monitor": "^2.1.239",
|
|
116
|
+
"@djangocfg/debuger": "^2.1.239",
|
|
117
|
+
"@djangocfg/typescript-config": "^2.1.239",
|
|
118
|
+
"@djangocfg/ui-core": "^2.1.239",
|
|
119
|
+
"@djangocfg/ui-nextjs": "^2.1.239",
|
|
120
|
+
"@djangocfg/ui-tools": "^2.1.239",
|
|
121
121
|
"@types/node": "^24.7.2",
|
|
122
122
|
"@types/react": "^19.1.0",
|
|
123
123
|
"@types/react-dom": "^19.1.0",
|
|
@@ -260,16 +260,17 @@ export function ErrorTrackingProvider({
|
|
|
260
260
|
return updated.slice(0, config.maxErrors);
|
|
261
261
|
});
|
|
262
262
|
|
|
263
|
-
//
|
|
264
|
-
|
|
263
|
+
// Call custom error handler
|
|
264
|
+
const shouldShowToast = onError?.(detail) !== false;
|
|
265
|
+
|
|
266
|
+
// Forward raw ErrorDetail to monitor bridge only for unique errors
|
|
267
|
+
// (prevents flooding ingest with duplicate events)
|
|
268
|
+
if (onMonitorCapture && isUnique) {
|
|
265
269
|
try {
|
|
266
270
|
onMonitorCapture(detail);
|
|
267
271
|
} catch { /* never crash */ }
|
|
268
272
|
}
|
|
269
273
|
|
|
270
|
-
// Call custom error handler
|
|
271
|
-
const shouldShowToast = onError?.(detail) !== false;
|
|
272
|
-
|
|
273
274
|
// Show toast notification (only for unique errors)
|
|
274
275
|
if (config.showToast && shouldShowToast && isUnique) {
|
|
275
276
|
if (!isProduction || isDebugMode) {
|