mpegts-vue3 0.1.0 → 0.2.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.cjs CHANGED
@@ -58,7 +58,10 @@ const _sfc_main = /* @__PURE__ */ (0, vue.defineComponent)({
58
58
  cors: { type: Boolean },
59
59
  withCredentials: { type: Boolean },
60
60
  hasAudio: { type: Boolean },
61
- hasVideo: { type: Boolean },
61
+ hasVideo: {
62
+ type: Boolean,
63
+ default: true
64
+ },
62
65
  duration: {},
63
66
  filesize: {},
64
67
  config: { default: () => ({}) }
package/dist/index.d.cts CHANGED
@@ -38,6 +38,7 @@ declare const _default: vue0.DefineComponent<Props, {
38
38
  isLive: boolean;
39
39
  muted: boolean;
40
40
  type: string;
41
+ hasVideo: boolean;
41
42
  config: Partial<MpegtsConfig>;
42
43
  }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
43
44
  //#endregion
package/dist/index.d.ts CHANGED
@@ -38,6 +38,7 @@ declare const _default: vue0.DefineComponent<Props, {
38
38
  isLive: boolean;
39
39
  muted: boolean;
40
40
  type: string;
41
+ hasVideo: boolean;
41
42
  config: Partial<MpegtsConfig>;
42
43
  }, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>;
43
44
  //#endregion
package/dist/index.js CHANGED
@@ -34,7 +34,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  cors: { type: Boolean },
35
35
  withCredentials: { type: Boolean },
36
36
  hasAudio: { type: Boolean },
37
- hasVideo: { type: Boolean },
37
+ hasVideo: {
38
+ type: Boolean,
39
+ default: true
40
+ },
38
41
  duration: {},
39
42
  filesize: {},
40
43
  config: { default: () => ({}) }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mpegts-vue3",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Vue 3 component for mpegts.js video streaming player",
6
6
  "keywords": [