@orchestrator-ui/orchestrator-ui-components 1.30.3 → 1.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,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.30.3 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.31.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 1.86 MB
12
- ESM ⚡️ Build success in 743ms
13
- DTS ⚡️ Build success in 13941ms
12
+ ESM ⚡️ Build success in 697ms
13
+ DTS ⚡️ Build success in 15176ms
14
14
  DTS dist/index.d.ts 174.58 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.30.3 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.31.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,40 +1,40 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.30.3 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.31.0 test
3
3
  > jest
4
4
 
5
- PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
6
5
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
6
+ PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
7
7
  PASS Wfo-UI Tests src/utils/date.spec.ts
8
8
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
9
- PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
10
9
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
10
+ PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
11
11
  PASS Wfo-UI Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
12
12
  PASS Wfo-UI Tests src/utils/string.spec.ts
13
13
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
14
14
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
15
- PASS Wfo-UI Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
15
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
16
+ PASS Wfo-UI Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
17
17
  PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
18
18
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
19
19
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
20
- PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
21
20
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
21
+ PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
22
22
  PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
23
23
  PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
24
- PASS Wfo-UI Tests src/utils/filterData.spec.ts
25
24
  PASS Wfo-UI Tests src/utils/sortObjectKeys.spec.ts
25
+ PASS Wfo-UI Tests src/utils/filterData.spec.ts
26
26
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
27
27
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
28
+ PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
28
29
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
29
30
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
30
- PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
31
31
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
32
32
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
33
- PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
34
33
  PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
34
+ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
35
35
 
36
36
  Test Suites: 30 passed, 30 total
37
37
  Tests: 169 passed, 169 total
38
38
  Snapshots: 0 total
39
- Time: 3.844 s
39
+ Time: 4.027 s
40
40
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8e2c77c: Updates graphql error code to match backend
8
+
3
9
  ## 1.30.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -32690,7 +32690,7 @@ var orchestratorApi = createApi2({
32690
32690
  if (((_a2 = response == null ? void 0 : response.errors) == null ? void 0 : _a2.length) && authActive) {
32691
32691
  response.errors.map((error2) => {
32692
32692
  var _a3;
32693
- if (((_a3 = error2.extensions) == null ? void 0 : _a3.error_type) === "not_authorized") {
32693
+ if (((_a3 = error2.extensions) == null ? void 0 : _a3.error_type) === "not_authenticated") {
32694
32694
  signOut();
32695
32695
  }
32696
32696
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "1.30.3",
3
+ "version": "1.31.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Library of UI Components used to display the workflow orchestrator frontend",
6
6
  "author": {
package/src/rtk/api.ts CHANGED
@@ -108,7 +108,7 @@ export const orchestratorApi = createApi({
108
108
  // TODO: https://github.com/workfloworchestrator/orchestrator-ui-library/issues/1105
109
109
  if (
110
110
  error.extensions?.error_type ===
111
- 'not_authorized'
111
+ 'not_authenticated'
112
112
  ) {
113
113
  signOut();
114
114
  }