@knime/hub-features 1.14.6 → 1.14.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @knime/hub-features
2
2
 
3
+ ## 1.14.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 6da13f6: fix error handling on versions api
8
+
9
+ ## 1.14.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 7942e54: Minor UI fix to Version Panel header
14
+
3
15
  ## 1.14.6
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/hub-features",
3
- "version": "1.14.6",
3
+ "version": "1.14.8",
4
4
  "description": "Vue components & composables for shared hub features",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -146,7 +146,6 @@ const closeLabelPopovers = throttle(() => {
146
146
  & .header {
147
147
  background-color: var(--knime-white);
148
148
  z-index: 2;
149
- box-shadow: var(--shadow-elevation-1);
150
149
  padding: 32px 30px 30px;
151
150
 
152
151
  & h4 {
@@ -24,7 +24,7 @@ export const useVersionsApi = ({
24
24
  }: UseVersionsApiOptions) => {
25
25
  const $ofetch = getFetchClient(customFetchClientOptions);
26
26
 
27
- const doHubRequest = (path: string, fetchOptions?: FetchOptions) => {
27
+ const doHubRequest = async (path: string, fetchOptions?: FetchOptions) => {
28
28
  const defaults: FetchOptions = {
29
29
  method: "GET",
30
30
  };
@@ -35,10 +35,7 @@ export const useVersionsApi = ({
35
35
  options: fetchOptions,
36
36
  });
37
37
 
38
- return $ofetch(path, {
39
- ...defaults,
40
- ...fetchOptions,
41
- });
38
+ return await $ofetch(path, { ...defaults, ...fetchOptions });
42
39
  } catch (error) {
43
40
  if (error instanceof FetchError) {
44
41
  throw rfcErrors.tryParse(error);