@tpzdsp/next-toolkit 1.11.1 → 1.11.2
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": "@tpzdsp/next-toolkit",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "A reusable React component library for Next.js applications",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">= 24.12.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"release": "semantic-release"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@better-fetch/fetch": "1.1.
|
|
121
|
+
"@better-fetch/fetch": "^1.1.21",
|
|
122
122
|
"@eslint/js": "^9.30.1",
|
|
123
123
|
"@semantic-release/changelog": "^6.0.3",
|
|
124
124
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"zod": "^4.1.8"
|
|
201
201
|
},
|
|
202
202
|
"peerDependencies": {
|
|
203
|
-
"@better-fetch/fetch": "1.1.
|
|
203
|
+
"@better-fetch/fetch": "^1.1.21",
|
|
204
204
|
"@tanstack/react-query": "^5.89.0",
|
|
205
205
|
"@testing-library/react": "^16.0.0",
|
|
206
206
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -12,7 +12,7 @@ type ErrorBoundaryProps = {
|
|
|
12
12
|
|
|
13
13
|
export const ErrorBoundary = ({ children, fallback, onReset }: ErrorBoundaryProps) => {
|
|
14
14
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
|
-
const logError = (error:
|
|
15
|
+
const logError = (error: unknown, info: ErrorInfo) => {
|
|
16
16
|
// send error to third party api, etc
|
|
17
17
|
};
|
|
18
18
|
|