@oddin-gg/havik-player 2.9.1 → 2.9.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/dist/havik-player.global.js +18 -18
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +210 -204
- package/dist/index.js.map +1 -1
- package/docs/API.md +7 -0
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/docs/API.md
CHANGED
|
@@ -1131,6 +1131,11 @@ interface CatalogMatch {
|
|
|
1131
1131
|
matchUrn: string;
|
|
1132
1132
|
matchName: string;
|
|
1133
1133
|
status: MatchLiveStatus;
|
|
1134
|
+
// The server's status string verbatim. Equals `status` for values this SDK
|
|
1135
|
+
// knows; carries the new value when the server's vocabulary has grown past
|
|
1136
|
+
// it — read this to act on a status the `MatchLiveStatus` union does not
|
|
1137
|
+
// name yet.
|
|
1138
|
+
statusRaw?: string;
|
|
1134
1139
|
datePlannedStart?: string;
|
|
1135
1140
|
tournamentUrn: string;
|
|
1136
1141
|
tournamentName: string;
|
|
@@ -1146,6 +1151,8 @@ interface MatchStatus {
|
|
|
1146
1151
|
matchUrn: string;
|
|
1147
1152
|
matchName?: string;
|
|
1148
1153
|
status: MatchLiveStatus;
|
|
1154
|
+
// The server's status string verbatim — see CatalogMatch.statusRaw.
|
|
1155
|
+
statusRaw?: string;
|
|
1149
1156
|
datePlannedStart?: string;
|
|
1150
1157
|
}
|
|
1151
1158
|
```
|
package/embed/index.html
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
beacons endpoint can be derived and QoE analytics is silently off.
|
|
29
29
|
`analytics` is honoured from the injected config only, never the query.
|
|
30
30
|
-->
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.9.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.9.2/dist/havik-player.global.js" integrity="sha384-zzERUxDevYM1StQDU+Jr0hqqRROD5KiBAzm+ctOvtlPVa33Tr2VJeAJdStSDRNIy" crossorigin="anonymous"></script>
|
|
32
32
|
<script>
|
|
33
33
|
HavikPlayer.bootEmbed();
|
|
34
34
|
</script>
|
package/examples/vanilla.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
shipped in each npm release is pinned to that release with Subresource
|
|
13
13
|
Integrity, injected at publish time (scripts/inject-sri.mjs). In
|
|
14
14
|
production, always use a pinned + SRI'd tag like the released copy. -->
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.9.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.9.2/dist/havik-player.global.js" integrity="sha384-zzERUxDevYM1StQDU+Jr0hqqRROD5KiBAzm+ctOvtlPVa33Tr2VJeAJdStSDRNIy" crossorigin="anonymous"></script>
|
|
16
16
|
<script>
|
|
17
17
|
(async () => {
|
|
18
18
|
const player = await HavikPlayer.createPlayer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oddin-gg/havik-player",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "Havik HTML5 player SDK — LL-HLS + DRM playback for Oddin live streams (managed, bring-your-own-player, and iframe-embed modes).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|