@streamscloud/embeddable 15.0.0-rc.2 → 15.0.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.
- package/dist/external-api/data-providers/internal-media-center-analytics-handler.d.ts +14 -14
- package/dist/external-api/data-providers/internal-post-analytics-handler.d.ts +6 -6
- package/dist/external-api/data-providers/internal-stream-analytics-handler.d.ts +13 -13
- package/dist/ui/shadow-dom/cmp.shadow-root.svelte +0 -13
- package/package.json +3 -3
|
@@ -3,18 +3,18 @@ import type { IPostAnalyticsHandler } from '../../posts/posts-player/types';
|
|
|
3
3
|
import type { IStreamAnalyticsHandler } from '../../streams/streams-player/types';
|
|
4
4
|
export declare class InternalMediaCenterAnalyticsHandler implements IPostAnalyticsHandler, IStreamAnalyticsHandler {
|
|
5
5
|
constructor(graphqlOrigin: string | undefined);
|
|
6
|
-
trackPostOpened: (postType: PostType, postId: string) =>
|
|
7
|
-
trackStreamView: (streamId: string) =>
|
|
8
|
-
trackStreamPageView: (pageId: string, streamId: string) =>
|
|
9
|
-
trackStreamEngagementTime: (streamId: string, engagementTime: number) =>
|
|
10
|
-
trackStreamScrollDepth: (streamId: string, scrollDepth: number) =>
|
|
11
|
-
trackStreamProductImpression: (productId: string, streamId: string) =>
|
|
12
|
-
trackStreamProductClicked: (productId: string, streamId: string) =>
|
|
13
|
-
reportPageVideoViews: (pageId: string, streamId: string) =>
|
|
14
|
-
trackShortVideoView: (videoId: string) =>
|
|
15
|
-
trackShortVideoProductImpression: (productId: string, videoId: string) =>
|
|
16
|
-
trackShortVideoProductClick: (productId: string, videoId: string) =>
|
|
17
|
-
trackShortVideoProgress: (pageId: string, videoId: string, progress: number, streamId: string) =>
|
|
18
|
-
trackAdClick: (adId: string) =>
|
|
19
|
-
trackAdImpression: (adId: string) =>
|
|
6
|
+
trackPostOpened: (postType: PostType, postId: string) => any;
|
|
7
|
+
trackStreamView: (streamId: string) => any;
|
|
8
|
+
trackStreamPageView: (pageId: string, streamId: string) => any;
|
|
9
|
+
trackStreamEngagementTime: (streamId: string, engagementTime: number) => any;
|
|
10
|
+
trackStreamScrollDepth: (streamId: string, scrollDepth: number) => any;
|
|
11
|
+
trackStreamProductImpression: (productId: string, streamId: string) => any;
|
|
12
|
+
trackStreamProductClicked: (productId: string, streamId: string) => any;
|
|
13
|
+
reportPageVideoViews: (pageId: string, streamId: string) => any;
|
|
14
|
+
trackShortVideoView: (videoId: string) => any;
|
|
15
|
+
trackShortVideoProductImpression: (productId: string, videoId: string) => any;
|
|
16
|
+
trackShortVideoProductClick: (productId: string, videoId: string) => any;
|
|
17
|
+
trackShortVideoProgress: (pageId: string, videoId: string, progress: number, streamId: string) => any;
|
|
18
|
+
trackAdClick: (adId: string) => any;
|
|
19
|
+
trackAdImpression: (adId: string) => any;
|
|
20
20
|
}
|
|
@@ -2,10 +2,10 @@ import type { PostType } from '../../core/enums';
|
|
|
2
2
|
import type { IPostAnalyticsHandler } from '../../posts/posts-player';
|
|
3
3
|
export declare class InternalPostAnalyticsHandler implements IPostAnalyticsHandler {
|
|
4
4
|
constructor(graphqlOrigin: string | undefined);
|
|
5
|
-
trackPostOpened: (postType: PostType, postId: string) =>
|
|
6
|
-
trackShortVideoView: (videoId: string) =>
|
|
7
|
-
trackShortVideoProductImpression: (productId: string, videoId: string) =>
|
|
8
|
-
trackShortVideoProductClick: (productId: string, videoId: string) =>
|
|
9
|
-
trackAdClick: (adId: string) =>
|
|
10
|
-
trackAdImpression: (adId: string) =>
|
|
5
|
+
trackPostOpened: (postType: PostType, postId: string) => any;
|
|
6
|
+
trackShortVideoView: (videoId: string) => any;
|
|
7
|
+
trackShortVideoProductImpression: (productId: string, videoId: string) => any;
|
|
8
|
+
trackShortVideoProductClick: (productId: string, videoId: string) => any;
|
|
9
|
+
trackAdClick: (adId: string) => any;
|
|
10
|
+
trackAdImpression: (adId: string) => any;
|
|
11
11
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { IStreamAnalyticsHandler } from '../../streams/streams-player/types';
|
|
2
2
|
export declare class InternalStreamAnalyticsHandler implements IStreamAnalyticsHandler {
|
|
3
3
|
constructor(graphqlOrigin: string | undefined);
|
|
4
|
-
trackStreamView: (streamId: string) =>
|
|
5
|
-
trackStreamPageView: (pageId: string, streamId: string) =>
|
|
6
|
-
trackStreamEngagementTime: (streamId: string, engagementTime: number) =>
|
|
7
|
-
trackStreamScrollDepth: (streamId: string, scrollDepth: number) =>
|
|
8
|
-
trackStreamProductImpression: (productId: string, streamId: string) =>
|
|
9
|
-
trackStreamProductClicked: (productId: string, streamId: string) =>
|
|
10
|
-
reportPageVideoViews: (pageId: string, streamId: string) =>
|
|
11
|
-
trackShortVideoView: (videoId: string) =>
|
|
12
|
-
trackShortVideoProductImpression: (productId: string, videoId: string) =>
|
|
13
|
-
trackShortVideoProductClick: (productId: string, videoId: string) =>
|
|
14
|
-
trackShortVideoProgress: (pageId: string, videoId: string, progress: number, streamId: string) =>
|
|
15
|
-
trackAdClick: (adId: string) =>
|
|
16
|
-
trackAdImpression: (adId: string) =>
|
|
4
|
+
trackStreamView: (streamId: string) => any;
|
|
5
|
+
trackStreamPageView: (pageId: string, streamId: string) => any;
|
|
6
|
+
trackStreamEngagementTime: (streamId: string, engagementTime: number) => any;
|
|
7
|
+
trackStreamScrollDepth: (streamId: string, scrollDepth: number) => any;
|
|
8
|
+
trackStreamProductImpression: (productId: string, streamId: string) => any;
|
|
9
|
+
trackStreamProductClicked: (productId: string, streamId: string) => any;
|
|
10
|
+
reportPageVideoViews: (pageId: string, streamId: string) => any;
|
|
11
|
+
trackShortVideoView: (videoId: string) => any;
|
|
12
|
+
trackShortVideoProductImpression: (productId: string, videoId: string) => any;
|
|
13
|
+
trackShortVideoProductClick: (productId: string, videoId: string) => any;
|
|
14
|
+
trackShortVideoProgress: (pageId: string, videoId: string, progress: number, streamId: string) => any;
|
|
15
|
+
trackAdClick: (adId: string) => any;
|
|
16
|
+
trackAdImpression: (adId: string) => any;
|
|
17
17
|
}
|
|
@@ -14,19 +14,6 @@ const styles = $derived.by(() => {
|
|
|
14
14
|
|
|
15
15
|
<svelte:head>
|
|
16
16
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300..700&display=swap" />
|
|
17
|
-
<meta name="theme-color" content="#242424" />
|
|
18
|
-
<meta name="color-scheme" content="dark" />
|
|
19
|
-
<meta name="mobile-web-app-capable" content="yes" />
|
|
20
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
21
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
22
|
-
|
|
23
|
-
<style>
|
|
24
|
-
html,
|
|
25
|
-
body {
|
|
26
|
-
background-color: #242424;
|
|
27
|
-
color-scheme: dark;
|
|
28
|
-
}
|
|
29
|
-
</style>
|
|
30
17
|
</svelte:head>
|
|
31
18
|
|
|
32
19
|
<div
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamscloud/embeddable",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"author": "StreamsCloud",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -135,8 +135,8 @@
|
|
|
135
135
|
"peerDependencies": {
|
|
136
136
|
"@fluentui/svg-icons": "^1.1.301",
|
|
137
137
|
"@popperjs/core": "^2.11.8",
|
|
138
|
-
"@streamscloud/streams-analytics-collector": "^4.0.
|
|
139
|
-
"@urql/core": "^5.1.1",
|
|
138
|
+
"@streamscloud/streams-analytics-collector": "^4.0.1",
|
|
139
|
+
"@urql/core": "^5.1.1 || ^6.0.0",
|
|
140
140
|
"dequal": "^2.0.3",
|
|
141
141
|
"dompurify": "^3.2.6",
|
|
142
142
|
"mobile-detect": "^1.4.5",
|