@oddin-gg/havik-player 2.12.0 → 2.13.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/README.md +4 -1
- 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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +310 -266
- package/dist/index.js.map +1 -1
- package/docs/API.md +9 -9
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1243,7 +1243,11 @@ export declare interface WatchStatusOptions {
|
|
|
1243
1243
|
* polls (304 or an identical body) stay silent.
|
|
1244
1244
|
*/
|
|
1245
1245
|
onChange: (status: MatchStatus) => void;
|
|
1246
|
-
/**
|
|
1246
|
+
/**
|
|
1247
|
+
* Fired on a poll error. Polling continues, except after a terminal answer
|
|
1248
|
+
* about the URN itself (`NOT_FOUND`, `GONE`, `INVALID_URN`): the watcher
|
|
1249
|
+
* stops on its own and this is the last call it makes.
|
|
1250
|
+
*/
|
|
1247
1251
|
onError?: (err: PlaybackError) => void;
|
|
1248
1252
|
/** Poll interval in ms. Floored at 2000. Default: 10000 (catalog max-age). */
|
|
1249
1253
|
intervalMs?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1243,7 +1243,11 @@ export declare interface WatchStatusOptions {
|
|
|
1243
1243
|
* polls (304 or an identical body) stay silent.
|
|
1244
1244
|
*/
|
|
1245
1245
|
onChange: (status: MatchStatus) => void;
|
|
1246
|
-
/**
|
|
1246
|
+
/**
|
|
1247
|
+
* Fired on a poll error. Polling continues, except after a terminal answer
|
|
1248
|
+
* about the URN itself (`NOT_FOUND`, `GONE`, `INVALID_URN`): the watcher
|
|
1249
|
+
* stops on its own and this is the last call it makes.
|
|
1250
|
+
*/
|
|
1247
1251
|
onError?: (err: PlaybackError) => void;
|
|
1248
1252
|
/** Poll interval in ms. Floored at 2000. Default: 10000 (catalog max-age). */
|
|
1249
1253
|
intervalMs?: number;
|