@webitel/ui-sdk 26.4.76 → 26.4.77
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.77",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
|
@@ -75,6 +75,8 @@ export function normalizeVidstackMediaSrc({ src, type }: SrcInput) {
|
|
|
75
75
|
/**
|
|
76
76
|
* Assume that the src and type are supported by vidstack
|
|
77
77
|
* by normalizing its type and then re-checking it using vidstack's native check function
|
|
78
|
+
*
|
|
79
|
+
* @see https://webitel.atlassian.net/browse/WTEL-9557?focusedCommentId=753995
|
|
78
80
|
*/
|
|
79
81
|
export function assumeVidstackSupportedAudioType({ src, type }: SrcInput) {
|
|
80
82
|
const normalizedSrc = normalizeVidstackMediaSrc({
|
|
@@ -88,6 +90,8 @@ export function assumeVidstackSupportedAudioType({ src, type }: SrcInput) {
|
|
|
88
90
|
/**
|
|
89
91
|
* Assume that the src and type are supported by vidstack
|
|
90
92
|
* by normalizing its type and then re-checking it using vidstack's native check function
|
|
93
|
+
*
|
|
94
|
+
* @see https://webitel.atlassian.net/browse/WTEL-9557?focusedCommentId=753995
|
|
91
95
|
*/
|
|
92
96
|
export function assumeVidstackSupportedVideoType({ src, type }: SrcInput) {
|
|
93
97
|
const normalizedSrc = normalizeVidstackMediaSrc({
|
|
@@ -30,4 +30,14 @@ export const USER_NOTIFICATION_CONFIGS_MAP = new Map<
|
|
|
30
30
|
},
|
|
31
31
|
}),
|
|
32
32
|
],
|
|
33
|
+
[
|
|
34
|
+
ApiUserWarningId.LicenseExpired,
|
|
35
|
+
({ warningData: data }) => ({
|
|
36
|
+
type: 'info',
|
|
37
|
+
localeKey: 'licenseExpirationMessage',
|
|
38
|
+
params: {
|
|
39
|
+
name: data.licenseExpiry.licenseName,
|
|
40
|
+
},
|
|
41
|
+
}),
|
|
42
|
+
],
|
|
33
43
|
]);
|
|
@@ -19,10 +19,14 @@ export declare function normalizeVidstackMediaSrc({ src, type }: SrcInput): {
|
|
|
19
19
|
/**
|
|
20
20
|
* Assume that the src and type are supported by vidstack
|
|
21
21
|
* by normalizing its type and then re-checking it using vidstack's native check function
|
|
22
|
+
*
|
|
23
|
+
* @see https://webitel.atlassian.net/browse/WTEL-9557?focusedCommentId=753995
|
|
22
24
|
*/
|
|
23
25
|
export declare function assumeVidstackSupportedAudioType({ src, type }: SrcInput): boolean;
|
|
24
26
|
/**
|
|
25
27
|
* Assume that the src and type are supported by vidstack
|
|
26
28
|
* by normalizing its type and then re-checking it using vidstack's native check function
|
|
29
|
+
*
|
|
30
|
+
* @see https://webitel.atlassian.net/browse/WTEL-9557?focusedCommentId=753995
|
|
27
31
|
*/
|
|
28
32
|
export declare function assumeVidstackSupportedVideoType({ src, type }: SrcInput): boolean;
|