@vapi-ai/web 1.0.34 → 1.0.36

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/player.js CHANGED
@@ -31,7 +31,7 @@ class ContinuousPlayer extends events_1.default {
31
31
  appendNextChunk() {
32
32
  var _a;
33
33
  console.log(`Current playing status: ${this.audio.paused ? "Paused" : "Playing"}`);
34
- console.log(`Buffered status: ${(_a = this.sourceBuffer) === null || _a === void 0 ? void 0 : _a.buffered}`);
34
+ console.log(`Buffered status: ${(_a = this.sourceBuffer) === null || _a === void 0 ? void 0 : _a.buffered.end}`);
35
35
  console.log(`MediaSource readyState: ${this.mediaSource.readyState}`);
36
36
  if (this.sourceBuffer &&
37
37
  !this.sourceBuffer.updating &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-ai/web",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "dist/vapi.js",
6
6
  "types": "dist/vapi.d.ts",
package/player.ts CHANGED
@@ -39,7 +39,7 @@ export class ContinuousPlayer extends EventEmitter {
39
39
  console.log(
40
40
  `Current playing status: ${this.audio.paused ? "Paused" : "Playing"}`
41
41
  );
42
- console.log(`Buffered status: ${this.sourceBuffer?.buffered}`);
42
+ console.log(`Buffered status: ${this.sourceBuffer?.buffered.end}`);
43
43
  console.log(`MediaSource readyState: ${this.mediaSource.readyState}`);
44
44
  if (
45
45
  this.sourceBuffer &&