@comet/admin 8.30.1 → 8.31.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createErrorDialogApolloLink.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/createErrorDialogApolloLink.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,GAAI,SAAS;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"createErrorDialogApolloLink.d.ts","sourceRoot":"","sources":["../../../src/error/errordialog/createErrorDialogApolloLink.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,GAAI,SAAS;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,wCAkD1E,CAAC"}
|
|
@@ -20,7 +20,11 @@ var createErrorDialogApolloLink = exports.createErrorDialogApolloLink = function
|
|
|
20
20
|
var error;
|
|
21
21
|
var errorType;
|
|
22
22
|
var httpStatus;
|
|
23
|
-
if (graphQLErrors) {
|
|
23
|
+
if (graphQLErrors !== null && graphQLErrors !== void 0 && graphQLErrors.length) {
|
|
24
|
+
error = graphQLErrors.map(function (_ref2) {
|
|
25
|
+
var message = _ref2.message;
|
|
26
|
+
return message;
|
|
27
|
+
});
|
|
24
28
|
if (graphQLErrors.some(function (e) {
|
|
25
29
|
var _e$extensions;
|
|
26
30
|
return ((_e$extensions = e.extensions) === null || _e$extensions === void 0 ? void 0 : _e$extensions.code) === "FORBIDDEN";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/admin",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.31.0",
|
|
4
4
|
"description": "Comet Admin package",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/admin/admin",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"react-dropzone": "^14.3.8",
|
|
29
29
|
"use-constant": "^2.0.0",
|
|
30
30
|
"uuid": "^11.1.0",
|
|
31
|
-
"@comet/admin-icons": "8.
|
|
31
|
+
"@comet/admin-icons": "8.31.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@apollo/client": "^3.14.0",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"typescript": "^5.9.3",
|
|
83
83
|
"vite-tsconfig-paths": "^6.0.4",
|
|
84
84
|
"vitest": "^4.0.16",
|
|
85
|
-
"@comet/admin-babel-preset": "8.
|
|
86
|
-
"@comet/eslint-config": "8.
|
|
87
|
-
"@comet/eslint-plugin": "8.
|
|
85
|
+
"@comet/admin-babel-preset": "8.31.0",
|
|
86
|
+
"@comet/eslint-config": "8.31.0",
|
|
87
|
+
"@comet/eslint-plugin": "8.31.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@apollo/client": "^3.7.0",
|