@twilio/player
Advanced tools
Comparing version 1.0.0-beta.7 to 1.0.0-beta.8
@@ -155,3 +155,3 @@ /// <reference types="react" /> | ||
play: (start?: number | undefined, end?: number | undefined) => Promise<void>; | ||
pause: () => Promise<void> | undefined; | ||
pause: () => Promise<void>; | ||
getCurrentTime: () => number; | ||
@@ -192,3 +192,3 @@ isPlaying: () => boolean; | ||
play: (start?: number | undefined, end?: number | undefined) => Promise<void>; | ||
pause: () => Promise<void> | undefined; | ||
pause: () => Promise<void>; | ||
seekToSecond: (seconds: number) => void; | ||
@@ -195,0 +195,0 @@ componentDidMount(): void; |
@@ -421,3 +421,3 @@ 'use strict'; | ||
} | ||
return this.ws.pause(); | ||
return this.ws.pause() || Promise.resolve(); | ||
}; | ||
@@ -424,0 +424,0 @@ this.getCurrentTime = () => { |
{ | ||
"name": "@twilio/player", | ||
"version": "1.0.0-beta.7", | ||
"version": "1.0.0-beta.8", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
412951