@knime/hub-features 1.18.0 → 1.18.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/CHANGELOG.md +12 -0
- package/package.json +3 -3
- package/src/embeddingSDK/host.ts +1 -5
- package/src/embeddingSDK/types.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 1.18.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 628f341: Fix sending entire embedding context to avoid missing properties
|
|
8
|
+
|
|
9
|
+
## 1.18.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d9aeb5f: add property to embedding context to determine if analytics can be used
|
|
14
|
+
|
|
3
15
|
## 1.18.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.2",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"lodash-es": "4.17.23",
|
|
37
37
|
"ofetch": "^1.4.1",
|
|
38
38
|
"typescript": "^5.8.3",
|
|
39
|
-
"@knime/
|
|
39
|
+
"@knime/styles": "1.15.0",
|
|
40
40
|
"@knime/utils": "1.9.2",
|
|
41
|
-
"@knime/
|
|
41
|
+
"@knime/components": "1.45.4"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"consola": "3.x",
|
package/src/embeddingSDK/host.ts
CHANGED
|
@@ -62,12 +62,8 @@ export const sendEmbeddingContext = (
|
|
|
62
62
|
// AP uses `url` instead of `wsConnectionUri` in older versions, so it needs
|
|
63
63
|
// to be present to preserve backwards compatibility
|
|
64
64
|
url: context.wsConnectionUri,
|
|
65
|
-
wsConnectionUri: context.wsConnectionUri,
|
|
66
65
|
|
|
67
|
-
|
|
68
|
-
userIdleTimeout: context.userIdleTimeout,
|
|
69
|
-
sessionId: context.sessionId,
|
|
70
|
-
jobId: context.jobId,
|
|
66
|
+
...context,
|
|
71
67
|
} satisfies EmbeddingContext,
|
|
72
68
|
},
|
|
73
69
|
targetOrigin,
|
|
@@ -34,6 +34,10 @@ export type EmbeddingContext = {
|
|
|
34
34
|
* are being made on the page
|
|
35
35
|
*/
|
|
36
36
|
userIdleTimeout?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the embedded application can send analytic and tracking events
|
|
39
|
+
*/
|
|
40
|
+
enableAnalytics?: boolean;
|
|
37
41
|
};
|
|
38
42
|
|
|
39
43
|
type ShowNotificationEvent = {
|