@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/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
- /** Fired on a poll error; polling continues. */
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
- /** Fired on a poll error; polling continues. */
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;