mos-connection
Advanced tools
Comparing version 0.6.4 to 0.6.5
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="0.6.5"></a> | ||
## [0.6.5](https://github.com/nrkno/tv-automation-mos-connection/compare/0.6.4...0.6.5) (2018-12-11) | ||
### Bug Fixes | ||
* add exports ([918f486](https://github.com/nrkno/tv-automation-mos-connection/commit/918f486)) | ||
* add missing dependency ([22089f9](https://github.com/nrkno/tv-automation-mos-connection/commit/22089f9)) | ||
<a name="0.6.4"></a> | ||
@@ -7,0 +18,0 @@ ## [0.6.4](https://github.com/nrkno/tv-automation-mos-connection/compare/0.6.3...0.6.4) (2018-11-16) |
@@ -229,3 +229,3 @@ import { IProfiles } from './config/connectionConfig'; | ||
VIDEO = "VIDEO", | ||
OTHER = "OTHER", | ||
OTHER = "OTHER" | ||
} | ||
@@ -243,11 +243,11 @@ export declare enum IMOSObjectStatus { | ||
PLAY = "PLAY", | ||
STOP = "STOP", | ||
STOP = "STOP" | ||
} | ||
export declare enum IMOSAckStatus { | ||
ACK = "ACK", | ||
NACK = "NACK", | ||
NACK = "NACK" | ||
} | ||
export declare enum IMOSObjectAirStatus { | ||
READY = "READY", | ||
NOT_READY = "NOT READY", | ||
NOT_READY = "NOT READY" | ||
} | ||
@@ -262,4 +262,4 @@ export interface IMOSObjectPath { | ||
PROXY_PATH = "PROXY PATH", | ||
METADATA_PATH = "METADATA PATH", | ||
METADATA_PATH = "METADATA PATH" | ||
} | ||
export { IMOSExternalMetaData }; |
@@ -63,19 +63,19 @@ /// <reference types="node" /> | ||
private connected; | ||
private _sendReply(messageId, err, res); | ||
private _sendReply; | ||
/** */ | ||
private executeCommand(message, isRetry?); | ||
private executeCommand; | ||
/** */ | ||
private _autoReconnectionAttempt(); | ||
private _autoReconnectionAttempt; | ||
/** */ | ||
private _clearConnectionAttemptTimer(); | ||
private _clearConnectionAttemptTimer; | ||
/** */ | ||
/** */ | ||
private _onConnected(); | ||
private _onConnected; | ||
/** */ | ||
private _onData(data); | ||
private _onData; | ||
/** */ | ||
private _onError(error); | ||
private _onError; | ||
/** */ | ||
private _onClose(hadError); | ||
private _triggerQueueCleanup(); | ||
private _onClose; | ||
private _triggerQueueCleanup; | ||
} |
@@ -20,7 +20,7 @@ /// <reference types="node" /> | ||
/** */ | ||
private _onClientConnection(socket); | ||
private _onClientConnection; | ||
/** */ | ||
private _onServerError(error); | ||
private _onServerError; | ||
/** */ | ||
private _onServerClose(); | ||
private _onServerClose; | ||
} |
@@ -55,3 +55,3 @@ /// <reference types="node" /> | ||
dispose(): Promise<void>; | ||
private _sendHeartBeats(); | ||
private _sendHeartBeats; | ||
} |
@@ -11,3 +11,3 @@ /// <reference types="node" /> | ||
REGISTER = "eventsocketconnectionregister", | ||
UNREGISTER = "eventsocketconnectionunregister", | ||
UNREGISTER = "eventsocketconnectionunregister" | ||
} | ||
@@ -18,3 +18,3 @@ /** */ | ||
ERROR = "eventsocketserverclienterror", | ||
CLOSE = "eventsocketserverclientclose", | ||
CLOSE = "eventsocketserverclientclose" | ||
} | ||
@@ -21,0 +21,0 @@ /** */ |
@@ -10,3 +10,3 @@ import * as XMLBuilder from 'xmlbuilder'; | ||
STORY = "STORY", | ||
PLAYLIST = "PLAYLIST", | ||
PLAYLIST = "PLAYLIST" | ||
} | ||
@@ -13,0 +13,0 @@ export declare class MosExternalMetaData { |
@@ -13,3 +13,3 @@ export declare class MosString128 { | ||
/** */ | ||
private _validate(); | ||
private _validate; | ||
} |
@@ -14,5 +14,5 @@ export declare class MosTime { | ||
/** */ | ||
private _parseTimeOffset(timestamp); | ||
private _parseTimeOffset; | ||
/** */ | ||
private _parseMosCustomFormat(timestamp); | ||
private _parseMosCustomFormat; | ||
} |
@@ -6,3 +6,4 @@ export * from './MosConnection'; | ||
export { MosDuration } from './dataTypes/mosDuration'; | ||
export { IMOSScope, IMOSExternalMetaData } from './dataTypes/mosExternalMetaData'; | ||
export { MosTime } from './dataTypes/mosTime'; | ||
export { MosDevice } from './MosDevice'; |
@@ -12,2 +12,4 @@ "use strict"; | ||
exports.MosDuration = mosDuration_1.MosDuration; | ||
var mosExternalMetaData_1 = require("./dataTypes/mosExternalMetaData"); | ||
exports.IMOSScope = mosExternalMetaData_1.IMOSScope; | ||
var mosTime_1 = require("./dataTypes/mosTime"); | ||
@@ -14,0 +16,0 @@ exports.MosTime = mosTime_1.MosTime; |
@@ -54,11 +54,11 @@ /// <reference types="node" /> | ||
setDebug(debug: boolean): void; | ||
private _registerMosDevice(myMosID, theirMosId0, theirMosId1, primary, secondary); | ||
private _registerMosDevice; | ||
/** Set up TCP-server */ | ||
private _initiateIncomingConnections(); | ||
private _initiateIncomingConnections; | ||
/** */ | ||
private _registerIncomingClient(client); | ||
private _registerIncomingClient; | ||
/** Close socket and clean up */ | ||
private _disposeIncomingSocket(socketID); | ||
private _disposeIncomingSocket; | ||
/** Get new unique id */ | ||
private static readonly nextSocketID; | ||
} |
@@ -107,5 +107,5 @@ /// <reference types="node" /> | ||
setDebug(debug: boolean): void; | ||
private executeCommand(message, resend?); | ||
private switchConnections(message?); | ||
private _emitConnectionChange(); | ||
private executeCommand; | ||
private switchConnections; | ||
private _emitConnectionChange; | ||
} |
@@ -10,3 +10,3 @@ import { MosTime } from '../dataTypes/mosTime'; | ||
CONTAINED = "CONTAINED", | ||
TOOLBAR = "TOOLBAR", | ||
TOOLBAR = "TOOLBAR" | ||
} | ||
@@ -13,0 +13,0 @@ export interface IMOSDefaultActiveX { |
@@ -8,3 +8,3 @@ import * as XMLBuilder from 'xmlbuilder'; | ||
STORY = "STORY", | ||
ITEM = "ITEM", | ||
ITEM = "ITEM" | ||
} | ||
@@ -11,0 +11,0 @@ export interface ROElementStatOptions { |
@@ -9,3 +9,3 @@ import * as XMLBuilder from 'xmlbuilder'; | ||
private _messageID; | ||
private static getNewMessageID(); | ||
private static getNewMessageID; | ||
/** */ | ||
@@ -18,3 +18,3 @@ prepare(messageID?: number): void; | ||
/** */ | ||
protected readonly abstract messageXMLBlocks: XMLBuilder.XMLElementOrXMLNode; | ||
protected abstract readonly messageXMLBlocks: XMLBuilder.XMLElementOrXMLNode; | ||
} |
{ | ||
"name": "mos-connection", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"description": "MOS compliant TCP/IP Socket connection.", | ||
@@ -53,3 +53,3 @@ "main": "dist/index.js", | ||
"ci": "yarn test && yarn docs:test", | ||
"validate:dependencies": "nsp check && yarn license-validate", | ||
"validate:dependencies": "yarn audit", | ||
"license-validate": "node-license-validator -p -d --allow-licenses MIT BSD BSD-3-Clause ISC Apache" | ||
@@ -87,19 +87,18 @@ }, | ||
"@types/node": "^8.0.4", | ||
"codecov": "^2.2.0", | ||
"codecov": "^3.1.0", | ||
"cpx": "^1.5.0", | ||
"gh-pages": "^1.0.0", | ||
"gh-pages": "^2.0.1", | ||
"jest": "^22.4.2", | ||
"mkdirp": "^0.5.1", | ||
"node-license-validator": "^1.3.0", | ||
"npm-scripts-info": "^0.3.6", | ||
"nsp": "^3.2.1", | ||
"nyc": "^11.0.3", | ||
"opn-cli": "^3.1.0", | ||
"npm-scripts-info": "^0.3.9", | ||
"nyc": "^13.1.0", | ||
"opn-cli": "^4.0.0", | ||
"sleep-ms": "^2.0.1", | ||
"standard-version": "^4.0.0", | ||
"standard-version": "^4.4.0", | ||
"trash-cli": "^1.4.0", | ||
"ts-jest": "^22.4.4", | ||
"tslint": "^5.10.0", | ||
"tslint-config-standard": "^7.0.0", | ||
"typedoc": "^0.11.1", | ||
"tslint-config-standard": "^8.0.1", | ||
"typedoc": "^0.13.0", | ||
"typescript": "^2.8.3" | ||
@@ -122,7 +121,8 @@ }, | ||
"dependencies": { | ||
"@types/xmlbuilder": "^0.0.32", | ||
"moment": "^2.20.1", | ||
"tslib": "^1.6.0", | ||
"xml-js": "^1.6.4", | ||
"xmlbuilder": "^9.0.7" | ||
"@types/xmlbuilder": "^0.0.34", | ||
"iconv-lite": "^0.4.24", | ||
"moment": "^2.22.2", | ||
"tslib": "^1.9.3", | ||
"xml-js": "^1.6.8", | ||
"xmlbuilder": "^10.1.1" | ||
}, | ||
@@ -129,0 +129,0 @@ "standard-version": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
332082
19
4517
6
+ Addediconv-lite@^0.4.24
+ Added@types/xmlbuilder@0.0.34(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedxmlbuilder@10.1.1(transitive)
- Removed@types/xmlbuilder@0.0.32(transitive)
- Removedxmlbuilder@9.0.7(transitive)
Updated@types/xmlbuilder@^0.0.34
Updatedmoment@^2.22.2
Updatedtslib@^1.9.3
Updatedxml-js@^1.6.8
Updatedxmlbuilder@^10.1.1