camstreamerlib 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/HttpServer.js +4 -2
  2. package/package.json +1 -1
package/HttpServer.js CHANGED
@@ -4,7 +4,7 @@ const fs = require('fs');
4
4
  const path = require('path');
5
5
  const EventEmitter = require('events');
6
6
 
7
- export class HttpServer extends EventEmitter {
7
+ class HttpServer extends EventEmitter {
8
8
  constructor(options) {
9
9
  super();
10
10
  this.port = process.env.HTTP_PORT;
@@ -97,4 +97,6 @@ export class HttpServer extends EventEmitter {
97
97
  this.sockets[socketID].destroy();
98
98
  }
99
99
  }
100
- }
100
+ }
101
+
102
+ module.exports = HttpServer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "main": "CameraVapix.js",
6
6
  "dependencies": {