moqtail 0.15.0 → 0.17.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.
Files changed (43) hide show
  1. package/README.md +153 -473
  2. package/dist/client-CjdF7_cL.d.cts +1928 -0
  3. package/dist/{client-BviQ20Lc.cjs → client-FnSNJocV.cjs} +1102 -1192
  4. package/dist/client-I8mDg-Ls.d.mts +1928 -0
  5. package/dist/{client-zi0lmuIL.mjs → client-MXn-lkAA.mjs} +940 -1018
  6. package/dist/client.cjs +202 -7
  7. package/dist/client.d.cts +23 -1944
  8. package/dist/client.d.mts +23 -1944
  9. package/dist/client.mjs +195 -2
  10. package/dist/emitter-UbeRcbuf.mjs +109 -0
  11. package/dist/{logger-c2NoQqtx.cjs → emitter-qNJYD3yQ.cjs} +61 -2
  12. package/dist/{index-BY6e1obL.d.cts → index-BaZgHZ8D.d.mts} +124 -324
  13. package/dist/index-Bn8VlVoN.d.cts +2261 -0
  14. package/dist/index-Ch5QUygw.d.mts +2261 -0
  15. package/dist/index.cjs +18 -14
  16. package/dist/index.d.cts +20 -4
  17. package/dist/index.d.mts +20 -4
  18. package/dist/index.mjs +5 -4
  19. package/dist/logger-B8IYkljn.d.cts +64 -0
  20. package/dist/logger-B8IYkljn.d.mts +64 -0
  21. package/dist/model.cjs +380 -572
  22. package/dist/model.d.cts +2901 -2
  23. package/dist/model.d.mts +17 -2
  24. package/dist/model.mjs +380 -572
  25. package/dist/player/component.cjs +364 -0
  26. package/dist/player/component.d.cts +59 -0
  27. package/dist/player/component.d.mts +59 -0
  28. package/dist/player/component.mjs +362 -0
  29. package/dist/player-C6y-qpHz.cjs +8488 -0
  30. package/dist/player-DfJB6vBH.mjs +8293 -0
  31. package/dist/player.cjs +31 -0
  32. package/dist/player.d.cts +17 -0
  33. package/dist/player.d.mts +17 -0
  34. package/dist/player.mjs +1 -0
  35. package/dist/util.cjs +9 -10
  36. package/dist/util.d.cts +20 -13
  37. package/dist/util.d.mts +20 -13
  38. package/dist/util.mjs +4 -6
  39. package/package.json +46 -5
  40. package/dist/index-BY6e1obL.d.mts +0 -3087
  41. package/dist/logger-ByDB8lYF.mjs +0 -56
  42. package/dist/logger-dEoueCj7.d.cts +0 -35
  43. package/dist/logger-dEoueCj7.d.mts +0 -35
@@ -0,0 +1,31 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_player = require("./player-C6y-qpHz.cjs");
3
+ exports.ABR = require_player.ABR;
4
+ exports.Action = require_player.Action;
5
+ exports.BaseElement = require_player.BaseElement;
6
+ exports.CONNECTION_CAPACITY = require_player.CONNECTION_CAPACITY;
7
+ exports.CapabilityCode = require_player.CapabilityCode;
8
+ exports.DEFAULT_PRIORITY = require_player.DEFAULT_PRIORITY;
9
+ exports.MEDIA_SINK = require_player.MEDIA_SINK;
10
+ exports.MEDIA_SOURCE = require_player.MEDIA_SOURCE;
11
+ exports.MOQtailPlayer = require_player.MOQtailPlayer;
12
+ exports.MSE = require_player.MSE;
13
+ exports.MlAbrController = require_player.MlAbrController;
14
+ exports.Pad = require_player.Pad;
15
+ exports.PlayerError = require_player.PlayerError;
16
+ exports.SSTS_ALGORITHMS = require_player.SSTS_ALGORITHMS;
17
+ exports.SinkElement = require_player.SinkElement;
18
+ exports.SourceElement = require_player.SourceElement;
19
+ exports.SstsSource = require_player.SstsSource;
20
+ exports.TransformElement = require_player.TransformElement;
21
+ exports.abr = require_player.abr;
22
+ exports.defineElement = require_player.defineElement;
23
+ exports.definePlugin = require_player.definePlugin;
24
+ exports.eachClient = require_player.eachClient;
25
+ exports.followData = require_player.followData;
26
+ exports.formatMsfUrl = require_player.formatMsfUrl;
27
+ exports.hasInterface = require_player.hasInterface;
28
+ exports.liveBuffer = require_player.liveBuffer;
29
+ exports.parseMsfUrl = require_player.parseMsfUrl;
30
+ exports.rangeAt = require_player.rangeAt;
31
+ exports.ssts = require_player.ssts;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2026 The MOQtail Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { $ as ElementDefinition, A as CatalogElement, At as TimeRange, B as PadEvent, C as AbrController, Ct as MediaTimelineTemplate, D as PluginDefinition, Dt as PlayerErrorCode, E as Plugin, Et as PlayerErrorCategory, F as SinkElement, G as ElementContext, H as PadOutput, I as SourceElement, J as Capabilities, K as ElementLoadRequest, L as TransformElement, M as TimelineRecord, Mt as parseMsfUrl, N as BaseElement, O as definePlugin, Ot as LocationRange, P as ElementEvents, Q as DEFAULT_PRIORITY, R as CONNECTION_CAPACITY, S as PlayerState, St as CatalogTrack, T as Feature, Tt as PlayerError, U as PadProperties, V as PadItem, W as PadSignal, X as CapabilityBundles, Y as Capability, Z as CapabilityCode, _ as MSE, _t as RequestHooks, a as MlAbrConfig, at as defineElement, b as PlayerEvents, bt as Catalog, c as MlAbrController, ct as CatalogReader, d as Observation, dt as MEDIA_SINK, et as Identifiers, f as LiveBufferConfig, ft as MEDIA_SOURCE, g as rangeAt, gt as Rendition, h as followData, ht as MediaSourceOptions, i as SstsSource, it as TransformElementDefinition, j as TimelineEvent, jt as formatMsfUrl, k as MSEOptions, kt as MsfSource, l as ModelBlob, lt as ElementInterfaces, m as eachClient, mt as MediaSourceElement, n as ssts, nt as SinkElementDefinition, o as abr, ot as hasInterface, p as liveBuffer, pt as MediaSinkElement, q as PlayerHandle, r as SSTS_ALGORITHMS, rt as SourceElementDefinition, s as Decision, st as ABR, t as SstsConfig, tt as Provided, u as Action, ut as InterfaceKey, v as MOQtailPlayer, vt as SwitchingSetOptions, w as BufferController, wt as InitData, x as StreamType, xt as CatalogJson, y as MOQtailPlayerOptions, yt as TimelineReader, z as Pad } from "./index-Bn8VlVoN.cjs";
17
+ export { ABR, type AbrController, Action, BaseElement, type BufferController, CONNECTION_CAPACITY, type Capabilities, type Capability, type CapabilityBundles, CapabilityCode, type Catalog, type CatalogElement, type CatalogJson, type CatalogReader, type CatalogTrack, DEFAULT_PRIORITY, type Decision, type ElementContext, type ElementDefinition, type ElementEvents, type ElementInterfaces, type ElementLoadRequest, type Feature, type Identifiers, type InitData, type InterfaceKey, type LiveBufferConfig, type LocationRange, MEDIA_SINK, MEDIA_SOURCE, MOQtailPlayer, type MOQtailPlayerOptions, MSE, type MSEOptions, type MediaSinkElement, type MediaSourceElement, type MediaSourceOptions, type MediaTimelineTemplate, type MlAbrConfig, MlAbrController, type ModelBlob, type MsfSource, type Observation, Pad, type PadEvent, type PadItem, type PadOutput, type PadProperties, type PadSignal, PlayerError, type PlayerErrorCategory, type PlayerErrorCode, type PlayerEvents, type PlayerHandle, type PlayerState, type Plugin, type PluginDefinition, type Provided, type Rendition, type RequestHooks, SSTS_ALGORITHMS, SinkElement, type SinkElementDefinition, SourceElement, type SourceElementDefinition, type SstsConfig, SstsSource, type StreamType, type SwitchingSetOptions, type TimeRange, type TimelineEvent, type TimelineReader, type TimelineRecord, TransformElement, type TransformElementDefinition, abr, defineElement, definePlugin, eachClient, followData, formatMsfUrl, hasInterface, liveBuffer, parseMsfUrl, rangeAt, ssts };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright 2026 The MOQtail Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { $ as ElementDefinition, A as CatalogElement, At as TimeRange, B as PadEvent, C as AbrController, Ct as MediaTimelineTemplate, D as PluginDefinition, Dt as PlayerErrorCode, E as Plugin, Et as PlayerErrorCategory, F as SinkElement, G as ElementContext, H as PadOutput, I as SourceElement, J as Capabilities, K as ElementLoadRequest, L as TransformElement, M as TimelineRecord, Mt as parseMsfUrl, N as BaseElement, O as definePlugin, Ot as LocationRange, P as ElementEvents, Q as DEFAULT_PRIORITY, R as CONNECTION_CAPACITY, S as PlayerState, St as CatalogTrack, T as Feature, Tt as PlayerError, U as PadProperties, V as PadItem, W as PadSignal, X as CapabilityBundles, Y as Capability, Z as CapabilityCode, _ as MSE, _t as RequestHooks, a as MlAbrConfig, at as defineElement, b as PlayerEvents, bt as Catalog, c as MlAbrController, ct as CatalogReader, d as Observation, dt as MEDIA_SINK, et as Identifiers, f as LiveBufferConfig, ft as MEDIA_SOURCE, g as rangeAt, gt as Rendition, h as followData, ht as MediaSourceOptions, i as SstsSource, it as TransformElementDefinition, j as TimelineEvent, jt as formatMsfUrl, k as MSEOptions, kt as MsfSource, l as ModelBlob, lt as ElementInterfaces, m as eachClient, mt as MediaSourceElement, n as ssts, nt as SinkElementDefinition, o as abr, ot as hasInterface, p as liveBuffer, pt as MediaSinkElement, q as PlayerHandle, r as SSTS_ALGORITHMS, rt as SourceElementDefinition, s as Decision, st as ABR, t as SstsConfig, tt as Provided, u as Action, ut as InterfaceKey, v as MOQtailPlayer, vt as SwitchingSetOptions, w as BufferController, wt as InitData, x as StreamType, xt as CatalogJson, y as MOQtailPlayerOptions, yt as TimelineReader, z as Pad } from "./index-Ch5QUygw.mjs";
17
+ export { ABR, type AbrController, Action, BaseElement, type BufferController, CONNECTION_CAPACITY, type Capabilities, type Capability, type CapabilityBundles, CapabilityCode, type Catalog, type CatalogElement, type CatalogJson, type CatalogReader, type CatalogTrack, DEFAULT_PRIORITY, type Decision, type ElementContext, type ElementDefinition, type ElementEvents, type ElementInterfaces, type ElementLoadRequest, type Feature, type Identifiers, type InitData, type InterfaceKey, type LiveBufferConfig, type LocationRange, MEDIA_SINK, MEDIA_SOURCE, MOQtailPlayer, type MOQtailPlayerOptions, MSE, type MSEOptions, type MediaSinkElement, type MediaSourceElement, type MediaSourceOptions, type MediaTimelineTemplate, type MlAbrConfig, MlAbrController, type ModelBlob, type MsfSource, type Observation, Pad, type PadEvent, type PadItem, type PadOutput, type PadProperties, type PadSignal, PlayerError, type PlayerErrorCategory, type PlayerErrorCode, type PlayerEvents, type PlayerHandle, type PlayerState, type Plugin, type PluginDefinition, type Provided, type Rendition, type RequestHooks, SSTS_ALGORITHMS, SinkElement, type SinkElementDefinition, SourceElement, type SourceElementDefinition, type SstsConfig, SstsSource, type StreamType, type SwitchingSetOptions, type TimeRange, type TimelineEvent, type TimelineReader, type TimelineRecord, TransformElement, type TransformElementDefinition, abr, defineElement, definePlugin, eachClient, followData, formatMsfUrl, hasInterface, liveBuffer, parseMsfUrl, rangeAt, ssts };
@@ -0,0 +1 @@
1
+ export { m as ABR, o as Action, _ as BaseElement, x as CONNECTION_CAPACITY, C as CapabilityCode, w as DEFAULT_PRIORITY, h as MEDIA_SINK, g as MEDIA_SOURCE, u as MOQtailPlayer, f as MSE, a as MlAbrController, S as Pad, k as PlayerError, r as SSTS_ALGORITHMS, v as SinkElement, y as SourceElement, n as SstsSource, b as TransformElement, i as abr, T as defineElement, d as definePlugin, c as eachClient, l as followData, D as formatMsfUrl, E as hasInterface, s as liveBuffer, O as parseMsfUrl, p as rangeAt, t as ssts } from "./player-DfJB6vBH.mjs";
package/dist/util.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_logger = require("./logger-c2NoQqtx.cjs");
3
- //#region src/util/telemetry.ts
2
+ const require_emitter = require("./emitter-qNJYD3yQ.cjs");
3
+ // src/util/telemetry.ts
4
4
  /**
5
5
  * Copyright 2025 The MOQtail Authors
6
6
  *
@@ -44,8 +44,7 @@ var NetworkTelemetry = class {
44
44
  return this.events.reduce((sum, e) => sum + e.latency, 0) / this.events.length;
45
45
  }
46
46
  };
47
- //#endregion
48
- //#region src/util/clock_normalizer.ts
47
+ // src/util/clock_normalizer.ts
49
48
  /**
50
49
  * Copyright 2025 The MOQtail Authors
51
50
  *
@@ -118,11 +117,11 @@ var ClockNormalizer = class ClockNormalizer {
118
117
  };
119
118
  }
120
119
  };
121
- //#endregion
122
120
  exports.ClockNormalizer = ClockNormalizer;
123
- exports.LogLevel = require_logger.LogLevel;
124
- exports.Logger = require_logger.Logger;
121
+ exports.Emitter = require_emitter.Emitter;
122
+ exports.LogLevel = require_emitter.LogLevel;
123
+ exports.Logger = require_emitter.Logger;
125
124
  exports.NetworkTelemetry = NetworkTelemetry;
126
- exports.logger = require_logger.logger;
127
- exports.setLogEnabledModules = require_logger.setLogEnabledModules;
128
- exports.setLogLevel = require_logger.setLogLevel;
125
+ exports.logger = require_emitter.logger;
126
+ exports.setLogEnabledModules = require_emitter.setLogEnabledModules;
127
+ exports.setLogLevel = require_emitter.setLogLevel;
package/dist/util.d.cts CHANGED
@@ -1,6 +1,3 @@
1
- import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.cjs";
2
-
3
- //#region src/util/telemetry.d.ts
4
1
  /**
5
2
  * Copyright 2025 The MOQtail Authors
6
3
  *
@@ -16,14 +13,27 @@ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger,
16
13
  * See the License for the specific language governing permissions and
17
14
  * limitations under the License.
18
15
  */
19
- declare class NetworkTelemetry {
16
+ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, o as Emitter, r as logger, t as LogLevel } from "./logger-B8IYkljn.cjs";
17
+ /**
18
+ * Copyright 2025 The MOQtail Authors
19
+ *
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
23
+ *
24
+ * http://www.apache.org/licenses/LICENSE-2.0
25
+ *
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
31
+ */
32
+ export declare class NetworkTelemetry {
20
33
  private events;
21
34
  private windowMs;
22
35
  constructor(windowMs?: number);
23
- push({
24
- latency,
25
- size
26
- }: {
36
+ push({ latency, size }: {
27
37
  latency: number;
28
38
  size: number;
29
39
  }): void;
@@ -31,8 +41,6 @@ declare class NetworkTelemetry {
31
41
  get throughput(): number;
32
42
  get latency(): number;
33
43
  }
34
- //#endregion
35
- //#region src/util/clock_normalizer.d.ts
36
44
  /**
37
45
  * Copyright 2025 The MOQtail Authors
38
46
  *
@@ -48,7 +56,7 @@ declare class NetworkTelemetry {
48
56
  * See the License for the specific language governing permissions and
49
57
  * limitations under the License.
50
58
  */
51
- declare class ClockNormalizer {
59
+ export declare class ClockNormalizer {
52
60
  private offset;
53
61
  private timeServerUrl;
54
62
  private numSamples;
@@ -60,5 +68,4 @@ declare class ClockNormalizer {
60
68
  private static calculateSkew;
61
69
  private static takeSingleSample;
62
70
  }
63
- //#endregion
64
- export { ClockNormalizer, LogLevel, Logger, NetworkTelemetry, logger, setLogEnabledModules, setLogLevel };
71
+ export { Emitter, LogLevel, Logger, logger, setLogEnabledModules, setLogLevel };
package/dist/util.d.mts CHANGED
@@ -1,6 +1,3 @@
1
- import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.mjs";
2
-
3
- //#region src/util/telemetry.d.ts
4
1
  /**
5
2
  * Copyright 2025 The MOQtail Authors
6
3
  *
@@ -16,14 +13,27 @@ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger,
16
13
  * See the License for the specific language governing permissions and
17
14
  * limitations under the License.
18
15
  */
19
- declare class NetworkTelemetry {
16
+ import { a as setLogLevel, i as setLogEnabledModules, n as Logger, o as Emitter, r as logger, t as LogLevel } from "./logger-B8IYkljn.mjs";
17
+ /**
18
+ * Copyright 2025 The MOQtail Authors
19
+ *
20
+ * Licensed under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License.
22
+ * You may obtain a copy of the License at
23
+ *
24
+ * http://www.apache.org/licenses/LICENSE-2.0
25
+ *
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ * See the License for the specific language governing permissions and
30
+ * limitations under the License.
31
+ */
32
+ export declare class NetworkTelemetry {
20
33
  private events;
21
34
  private windowMs;
22
35
  constructor(windowMs?: number);
23
- push({
24
- latency,
25
- size
26
- }: {
36
+ push({ latency, size }: {
27
37
  latency: number;
28
38
  size: number;
29
39
  }): void;
@@ -31,8 +41,6 @@ declare class NetworkTelemetry {
31
41
  get throughput(): number;
32
42
  get latency(): number;
33
43
  }
34
- //#endregion
35
- //#region src/util/clock_normalizer.d.ts
36
44
  /**
37
45
  * Copyright 2025 The MOQtail Authors
38
46
  *
@@ -48,7 +56,7 @@ declare class NetworkTelemetry {
48
56
  * See the License for the specific language governing permissions and
49
57
  * limitations under the License.
50
58
  */
51
- declare class ClockNormalizer {
59
+ export declare class ClockNormalizer {
52
60
  private offset;
53
61
  private timeServerUrl;
54
62
  private numSamples;
@@ -60,5 +68,4 @@ declare class ClockNormalizer {
60
68
  private static calculateSkew;
61
69
  private static takeSingleSample;
62
70
  }
63
- //#endregion
64
- export { ClockNormalizer, LogLevel, Logger, NetworkTelemetry, logger, setLogEnabledModules, setLogLevel };
71
+ export { Emitter, LogLevel, Logger, logger, setLogEnabledModules, setLogLevel };
package/dist/util.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-ByDB8lYF.mjs";
2
- //#region src/util/telemetry.ts
1
+ import { a as setLogEnabledModules, i as logger, n as LogLevel, o as setLogLevel, r as Logger, t as Emitter } from "./emitter-UbeRcbuf.mjs";
2
+ // src/util/telemetry.ts
3
3
  /**
4
4
  * Copyright 2025 The MOQtail Authors
5
5
  *
@@ -43,8 +43,7 @@ var NetworkTelemetry = class {
43
43
  return this.events.reduce((sum, e) => sum + e.latency, 0) / this.events.length;
44
44
  }
45
45
  };
46
- //#endregion
47
- //#region src/util/clock_normalizer.ts
46
+ // src/util/clock_normalizer.ts
48
47
  /**
49
48
  * Copyright 2025 The MOQtail Authors
50
49
  *
@@ -117,5 +116,4 @@ var ClockNormalizer = class ClockNormalizer {
117
116
  };
118
117
  }
119
118
  };
120
- //#endregion
121
- export { ClockNormalizer, LogLevel, Logger, NetworkTelemetry, logger, setLogEnabledModules, setLogLevel };
119
+ export { ClockNormalizer, Emitter, LogLevel, Logger, NetworkTelemetry, logger, setLogEnabledModules, setLogLevel };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "moqtail",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Media Over QUIC Transport client implementation",
5
5
  "type": "module",
6
+ "sideEffects": false,
6
7
  "license": "Apache-2.0",
7
8
  "keywords": [
8
9
  "moqtail",
@@ -63,6 +64,26 @@
63
64
  "default": "./dist/model.cjs"
64
65
  }
65
66
  },
67
+ "./player": {
68
+ "import": {
69
+ "types": "./dist/player.d.mts",
70
+ "default": "./dist/player.mjs"
71
+ },
72
+ "require": {
73
+ "types": "./dist/player.d.cts",
74
+ "default": "./dist/player.cjs"
75
+ }
76
+ },
77
+ "./player/component": {
78
+ "import": {
79
+ "types": "./dist/player/component.d.mts",
80
+ "default": "./dist/player/component.mjs"
81
+ },
82
+ "require": {
83
+ "types": "./dist/player/component.d.cts",
84
+ "default": "./dist/player/component.cjs"
85
+ }
86
+ },
66
87
  "./util": {
67
88
  "import": {
68
89
  "types": "./dist/util.d.mts",
@@ -81,15 +102,35 @@
81
102
  "test": "vitest",
82
103
  "format": "prettier --check .",
83
104
  "test:run": "vitest run",
105
+ "test:browser": "vitest run --config vitest.browser.config.ts",
84
106
  "docs": "typedoc"
85
107
  },
86
108
  "devDependencies": {
87
- "@microsoft/api-extractor": "^7.58.9",
109
+ "@microsoft/api-extractor": "^7.60.1",
88
110
  "@tsconfig/strictest": "^2.0.8",
89
- "tslib": "^2.8.1",
90
- "tsdown": "^0.22.3",
111
+ "@vitest/browser-playwright": "5.1.0",
112
+ "custom-media-element": "^1.4.7",
113
+ "media-tracks": "^0.3.5",
114
+ "playwright": "^1.65.0",
115
+ "tsdown": "^0.23.7",
116
+ "tslib": "^2.9.1",
91
117
  "typedoc": "^0.28.20",
92
118
  "typescript": "^6.0.3",
93
- "vitest": "^5.0.3"
119
+ "vitest": "^5.1.0"
120
+ },
121
+ "peerDependencies": {
122
+ "custom-media-element": "^1.4.7",
123
+ "media-tracks": "^0.3.5"
124
+ },
125
+ "peerDependenciesMeta": {
126
+ "custom-media-element": {
127
+ "optional": true
128
+ },
129
+ "media-tracks": {
130
+ "optional": true
131
+ }
132
+ },
133
+ "dependencies": {
134
+ "valibot": "^1.5.0"
94
135
  }
95
136
  }