@streamscloud/embeddable 2.8.1 → 2.8.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isLocale } from '../../core/locale';
|
|
2
2
|
export class ShortVideoProductLocalization {
|
|
3
|
-
beforeNowPrefix
|
|
3
|
+
beforeNowPrefix;
|
|
4
4
|
constructor(init) {
|
|
5
5
|
this.beforeNowPrefix = isLocale(init) ? loc.beforeNowPrefix[init] : init?.beforeNowPrefix || loc.beforeNowPrefix.en;
|
|
6
6
|
}
|
|
@@ -2,5 +2,5 @@ export const isShortVideosProviderInit = (init) => {
|
|
|
2
2
|
return typeof init === 'object' && init !== null && 'shortVideosProvider' in init;
|
|
3
3
|
};
|
|
4
4
|
export function isIdsInit(init) {
|
|
5
|
-
return typeof init === 'object' && init !== null && 'ids' in init && '
|
|
5
|
+
return typeof init === 'object' && init !== null && 'ids' in init && 'graphqlOrigin' in init;
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamscloud/embeddable",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"author": "StreamsCloud",
|
|
5
5
|
"repository": "https://github.com/StreamsCloud/streamscloud-frontend-packages.git",
|
|
6
6
|
"type": "module",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"@fluentui/svg-icons": "^1.1.292",
|
|
100
|
-
"@streamscloud/streams-analytics-collector": "
|
|
100
|
+
"@streamscloud/streams-analytics-collector": "^2.0.1",
|
|
101
101
|
"@urql/core": "^5.1.1",
|
|
102
102
|
"dompurify": "^3.2.6",
|
|
103
103
|
"mobile-detect": "^1.4.5",
|