@commercetools-frontend-extensions/export-resources-modal 1.5.0 → 1.5.1

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.
@@ -1117,6 +1117,8 @@ const ExportResourcesContextProvider = props => {
1117
1117
  actionsGlobal.showApiErrorNotification({
1118
1118
  errors
1119
1119
  });
1120
+ } finally {
1121
+ props.closeModal();
1120
1122
  }
1121
1123
  };
1122
1124
  const formik$1 = formik.useFormik({
@@ -1081,6 +1081,8 @@ const ExportResourcesContextProvider = props => {
1081
1081
  actionsGlobal.showApiErrorNotification({
1082
1082
  errors
1083
1083
  });
1084
+ } finally {
1085
+ props.closeModal();
1084
1086
  }
1085
1087
  };
1086
1088
  const formik$1 = formik.useFormik({
@@ -1092,6 +1092,8 @@ const ExportResourcesContextProvider = props => {
1092
1092
  showApiErrorNotification({
1093
1093
  errors
1094
1094
  });
1095
+ } finally {
1096
+ props.closeModal();
1095
1097
  }
1096
1098
  };
1097
1099
  const formik = useFormik({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/export-resources-modal",
3
3
  "description": "Shared export modal for exporting resources",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -15,11 +15,11 @@
15
15
  "README.md"
16
16
  ],
17
17
  "dependencies": {
18
- "@babel/runtime": "7.23.8",
19
- "@babel/runtime-corejs3": "7.23.8",
18
+ "@babel/runtime": "7.23.9",
19
+ "@babel/runtime-corejs3": "7.23.9",
20
20
  "@emotion/react": "11.11.3",
21
21
  "@emotion/styled": "11.11.0",
22
- "@formatjs/cli": "6.2.4",
22
+ "@formatjs/cli": "6.2.7",
23
23
  "formik": "^2.2.9",
24
24
  "gql-query-builder": "^3.8.0",
25
25
  "jest": "29.7.0",
@@ -27,7 +27,7 @@
27
27
  "omit-empty-es": "^1.1.3",
28
28
  "prop-types": "15.8.1",
29
29
  "react": "17.0.2",
30
- "react-intl": "6.5.5"
30
+ "react-intl": "6.6.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@commercetools-frontend/actions-global": "22.16.0",
@@ -40,7 +40,7 @@
40
40
  "@commercetools-frontend/sentry": "22.16.0",
41
41
  "@commercetools-frontend/ui-kit": "17.0.1",
42
42
  "@commercetools-uikit/design-system": "17.0.1",
43
- "@preconstruct/cli": "2.8.2",
43
+ "@preconstruct/cli": "2.8.3",
44
44
  "rimraf": "5.0.5"
45
45
  },
46
46
  "peerDependencies": {