@oddin-gg/havik-player 1.0.2 → 1.0.4

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/docs/API.md CHANGED
@@ -1084,6 +1084,22 @@ first. Key revocation is not instantaneous (validation is cached for a few minut
1084
1084
  > **Never use a wildcard (`*`) origin allow‑list in production** — it removes the only
1085
1085
  > guardrail on a publishable key.
1086
1086
 
1087
+ ### Service URL discovery
1088
+
1089
+ Don't hard‑code `baseUrl` in your application. Serve it from your own backend, and
1090
+ keep the backend current from the endpoint directory:
1091
+
1092
+ ```http
1093
+ GET https://status.oddin-video.gg/v1/endpoints.json
1094
+ ```
1095
+
1096
+ The document lists the current base URL per region and is served with
1097
+ `Access-Control-Allow-Origin: *`, so any backend or build pipeline can consume it.
1098
+ If an endpoint moves — most likely in regions with distinct internet regulations —
1099
+ the directory updates and your backend follows, with no app release or store
1100
+ re‑review. Endpoint changes and live availability for every Havik service are
1101
+ published at [status.oddin-video.gg](https://status.oddin-video.gg).
1102
+
1087
1103
  ---
1088
1104
 
1089
1105
  ## Troubleshooting
package/embed/index.html CHANGED
@@ -18,7 +18,7 @@
18
18
  apiKey, parentOrigin). When injected, the URL query string is IGNORED for
19
19
  security; the api-key must NOT travel in the query in production.
20
20
  -->
21
- <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.0.2/dist/havik-player.global.js" integrity="sha384-NUQrfF/31PIMZEq+eH+zrJfZUqC6hlPgS8PFbP5kWwNiF7XjF8qEckdFYbBVFM7H" crossorigin="anonymous"></script>
21
+ <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.0.4/dist/havik-player.global.js" integrity="sha384-8W2HXm5xYHLzG0FOsVCuLr/RkD0TDgrDPNYvbmZrgQbCauE1qwAxnZ+sREKfMO/4" crossorigin="anonymous"></script>
22
22
  <script>
23
23
  HavikPlayer.bootEmbed();
24
24
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oddin-gg/havik-player",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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,