videomail-client 9.2.22 → 9.2.23

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.
@@ -30,10 +30,10 @@ jobs:
30
30
  - name: Build assets
31
31
  run: npm run build
32
32
 
33
- # Electron issues, to fix later:
34
- # https://github.com/marketplace/actions/run-with-xvfb
35
- # - name: Run tests
36
- # run: npm run test
33
+ - name: Run tests
34
+ uses: coactions/setup-xvfb@v1
35
+ with:
36
+ run: npm run test
37
37
 
38
38
  - name: Run prettier
39
39
  run: npm run prettier
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "9.2.22",
3
+ "version": "9.2.23",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -17268,7 +17268,7 @@ function wrappy (fn, cb) {
17268
17268
  },{}],116:[function(_dereq_,module,exports){
17269
17269
  module.exports={
17270
17270
  "name": "videomail-client",
17271
- "version": "9.2.22",
17271
+ "version": "9.2.23",
17272
17272
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
17273
17273
  "keywords": [
17274
17274
  "webcam",
@@ -22282,14 +22282,15 @@ var Recorder = function Recorder(visuals, replay) {
22282
22282
 
22283
22283
  stream.on("close", function (err) {
22284
22284
  debug("".concat(PIPE_SYMBOL, "Stream has closed"));
22285
- connecting = connected = false;
22286
22285
  if (err) {
22286
+ connecting = connected = false;
22287
22287
  self.emit(_events.default.ERROR, err || "Unhandled websocket error");
22288
22288
  } else {
22289
- self.emit(_events.default.DISCONNECTED);
22290
-
22291
- // prevents from https://github.com/binarykitchen/videomail.io/issues/297 happening
22292
- cancelAnimationFrame();
22289
+ // COMMENTED OUT TEMPORARILY, PROBABLY OLD CODE TOO
22290
+ // UPON CLOSE IT SHOULD TRY TO RECONNECT INSTEAD OF DISCONNECT.
22291
+ // self.emit(Events.DISCONNECTED);
22292
+ // // prevents from https://github.com/binarykitchen/videomail.io/issues/297 happening
22293
+ // cancelAnimationFrame();
22293
22294
  }
22294
22295
  });
22295
22296
  stream.on("connect", function () {