@vkontakte/videoplayer-core 2.0.170 → 2.0.171-beta.0
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/es2015.cjs +5 -5
- package/es2015.esm.js +6 -6
- package/esnext.cjs +5 -5
- package/esnext.esm.js +5 -5
- package/evergreen.esm.js +5 -5
- package/package.json +2 -2
- package/types/providers/DashLiveProvider/utils/LiveDashPlayer.d.ts +1 -0
- package/types/providers/ProviderContainer/Mayday/heuristics/HangupHeuristic.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer-core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.171-beta.0",
|
|
4
4
|
"author": "vk.ru",
|
|
5
5
|
"description": "Videoplayer core library based on the vk.ru platform",
|
|
6
6
|
"homepage": "https://vk.ru",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"**/*.d.ts"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@vkontakte/videoplayer-shared": "1.0.
|
|
45
|
+
"@vkontakte/videoplayer-shared": "1.0.100-beta.0"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { Subject } from "@vkontakte/videoplayer-shared";
|
|
1
2
|
import type { IError } from "@vkontakte/videoplayer-shared";
|
|
2
|
-
import type { IHeuristicDeps } from "../types";
|
|
3
|
+
import type { IHeuristicDeps, IMaydayEvent } from "../types";
|
|
3
4
|
import type { IAsyncHeuristic, HeuristicResult } from "./IHeuristic";
|
|
4
5
|
export declare class HangupHeuristic implements IAsyncHeuristic {
|
|
5
6
|
private deps;
|
|
6
7
|
static readonly heuristicName = "HangupHeuristic";
|
|
7
8
|
readonly type = "async";
|
|
8
|
-
readonly recommendation
|
|
9
|
+
readonly recommendation$: Subject<IMaydayEvent>;
|
|
9
10
|
private timerId;
|
|
10
11
|
private sub;
|
|
11
12
|
private error;
|