livekit-client 2.7.1 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "JavaScript/TypeScript client SDK for LiveKit",
5
5
  "main": "./dist/livekit-client.umd.js",
6
6
  "unpkg": "./dist/livekit-client.umd.js",
@@ -2027,7 +2027,7 @@ export default class LocalParticipant extends Participant {
2027
2027
  if (publishPromiseEntry) {
2028
2028
  return publishPromiseEntry[1];
2029
2029
  }
2030
- sleep(20);
2030
+ await sleep(20);
2031
2031
  }
2032
2032
  throw new Error('waiting for pending publication promise timed out');
2033
2033
  }