Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mos-connection

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mos-connection - npm Package Compare versions

Comparing version 0.5.6 to 0.6.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="0.6.0"></a>
# [0.6.0](https://github.com/nrkno/tv-automation-mos-connection/compare/0.5.6...0.6.0) (2018-10-10)
### Features
* set debug flag dynamically ([51c3718](https://github.com/nrkno/tv-automation-mos-connection/commit/51c3718))
<a name="0.5.6"></a>

@@ -7,0 +17,0 @@ ## [0.5.6](https://github.com/nrkno/tv-automation-mos-connection/compare/0.5.5...0.5.6) (2018-09-25)

1

dist/connection/mosSocketClient.d.ts

@@ -57,2 +57,3 @@ /// <reference types="node" />

log(args: any): void;
setDebug(debug: boolean): void;
/** */

@@ -59,0 +60,0 @@ /** */

@@ -170,2 +170,5 @@ "use strict";

}
setDebug(debug) {
this._debug = debug;
}
/** */

@@ -172,0 +175,0 @@ set connected(connected) {

@@ -16,2 +16,3 @@ /// <reference types="node" />

listen(): Promise<void>;
setDebug(debug: boolean): void;
readonly port: number;

@@ -18,0 +19,0 @@ readonly portDescription: IncomingConnectionType;

@@ -82,2 +82,5 @@ "use strict";

}
setDebug(debug) {
this._debug = debug;
}
get port() {

@@ -84,0 +87,0 @@ return this._port;

@@ -40,2 +40,3 @@ /// <reference types="node" />

onConnectionChange(cb: () => void): void;
setDebug(debug: boolean): void;
readonly connected: boolean;

@@ -42,0 +43,0 @@ /** */

@@ -99,2 +99,11 @@ "use strict";

}
setDebug(debug) {
this._debug = debug;
Object.keys(this._clients).forEach((clientID) => {
let cd = this._clients[clientID];
if (cd) {
cd.client.setDebug(debug);
}
});
}
get connected() {

@@ -101,0 +110,0 @@ if (!this._connected)

7

dist/MosConnection.d.ts

@@ -13,5 +13,5 @@ /// <reference types="node" />

private _debug;
private _lowerSocketServer;
private _upperSocketServer;
private _querySocketServer;
private _lowerSocketServer?;
private _upperSocketServer?;
private _querySocketServer?;
private _incomingSockets;

@@ -54,2 +54,3 @@ private _ncsConnections;

readonly complianceText: string;
setDebug(debug: boolean): void;
private _registerMosDevice(myMosID, theirMosId0, theirMosId1, primary, secondary);

@@ -56,0 +57,0 @@ /** Set up TCP-server */

@@ -130,5 +130,5 @@ "use strict";

let disposePromises1 = [
this._lowerSocketServer.dispose([]),
this._upperSocketServer.dispose([]),
this._querySocketServer.dispose([])
this._lowerSocketServer ? this._lowerSocketServer.dispose([]) : Promise.resolve(),
this._upperSocketServer ? this._upperSocketServer.dispose([]) : Promise.resolve(),
this._querySocketServer ? this._querySocketServer.dispose([]) : Promise.resolve()
];

@@ -204,2 +204,20 @@ let disposePromises2 = [];

}
setDebug(debug) {
this._debug = debug;
this.getDevices().forEach((device) => {
device.setDebug(debug);
});
Object.keys(this._ncsConnections).forEach((host) => {
let conn = this._ncsConnections[host];
if (conn) {
conn.setDebug(debug);
}
});
if (this._lowerSocketServer)
this._lowerSocketServer.setDebug(debug);
if (this._upperSocketServer)
this._upperSocketServer.setDebug(debug);
if (this._querySocketServer)
this._querySocketServer.setDebug(debug);
}
_registerMosDevice(myMosID, theirMosId0, theirMosId1, primary, secondary) {

@@ -206,0 +224,0 @@ let id0 = myMosID + '_' + theirMosId0;

@@ -106,2 +106,3 @@ /// <reference types="node" />

onROStory(cb: (story: IMOSROFullStory) => Promise<IMOSROAck>): void;
setDebug(debug: boolean): void;
private executeCommand(message, resend?);

@@ -108,0 +109,0 @@ private switchConnections(message?);

@@ -755,2 +755,5 @@ "use strict";

}
setDebug(debug) {
this._debug = debug;
}
executeCommand(message, resend) {

@@ -757,0 +760,0 @@ if (this._currentConnection) {

{
"name": "mos-connection",
"version": "0.5.6",
"version": "0.6.0",
"description": "MOS compliant TCP/IP Socket connection.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc