atem-connection
Advanced tools
Comparing version 2.3.0-nightly-latest-20210304-180451-8963dd5.0 to 2.3.0-nightly-latest-20210307-130158-273f413.0
@@ -8,2 +8,3 @@ /// <reference types="node" /> | ||
} | ||
/** Base type for a receivable command */ | ||
export declare abstract class DeserializedCommand<T> implements IDeserializedCommand { | ||
@@ -19,2 +20,3 @@ static readonly rawName?: string; | ||
} | ||
/** Base command type for a simple writable command, which has a few values which must all be sent */ | ||
export declare abstract class BasicWritableCommand<T> implements ISerializableCommand { | ||
@@ -28,2 +30,3 @@ static readonly rawName?: string; | ||
} | ||
/** Base command type for a full writable command, which uses flags to indicate the changed properties */ | ||
export declare abstract class WritableCommand<T> extends BasicWritableCommand<Partial<T>> { | ||
@@ -35,2 +38,3 @@ static readonly MaskFlags?: { | ||
constructor(); | ||
/** Update the values of some properties with this command */ | ||
updateProps(newProps: Partial<T>): boolean; | ||
@@ -41,4 +45,5 @@ protected _updateProps(newProps: { | ||
} | ||
/** Base command type for a command which gets sent in both directions */ | ||
export declare abstract class SymmetricalCommand<T> extends DeserializedCommand<T> implements ISerializableCommand { | ||
abstract serialize(version: ProtocolVersion): Buffer; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** Base type for a receivable command */ | ||
class DeserializedCommand { | ||
@@ -9,2 +10,3 @@ constructor(properties) { | ||
exports.DeserializedCommand = DeserializedCommand; | ||
/** Base command type for a simple writable command, which has a few values which must all be sent */ | ||
class BasicWritableCommand { | ||
@@ -19,2 +21,3 @@ constructor(properties) { | ||
exports.BasicWritableCommand = BasicWritableCommand; | ||
/** Base command type for a full writable command, which uses flags to indicate the changed properties */ | ||
class WritableCommand extends BasicWritableCommand { | ||
@@ -25,2 +28,3 @@ constructor() { | ||
} | ||
/** Update the values of some properties with this command */ | ||
updateProps(newProps) { | ||
@@ -47,2 +51,3 @@ return this._updateProps(newProps); | ||
exports.WritableCommand = WritableCommand; | ||
/** Base command type for a command which gets sent in both directions */ | ||
class SymmetricalCommand extends DeserializedCommand { | ||
@@ -49,0 +54,0 @@ } |
{ | ||
"name": "atem-connection", | ||
"version": "2.3.0-nightly-latest-20210304-180451-8963dd5.0", | ||
"version": "2.3.0-nightly-latest-20210307-130158-273f413.0", | ||
"description": "Typescript Node.js library for connecting with an ATEM switcher.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,3 +13,3 @@ # Sofie: The Modern TV News Studio Automation System (ATEM connection library) | ||
| ------------- | ----------------------------------------------------------------- | | ||
| v8.0 - v8.4 | Primary focus. Target for new features | | ||
| v8.0 - v8.6 | Primary focus. Target for new features | | ||
| v7.2 | Previous focus, should still work well | | ||
@@ -21,2 +21,4 @@ | v7.3 - v7.5.2 | Community tested, we may accept PRs but will not be testing these | | ||
We have no intention of dropping support for older firmwares, but we may do at some point. If we do this will be done in a major version bump, and will only be for significantly older firmware. | ||
It is tested on a variety of models spanning every generation, and the aim is to provide support for every model. | ||
@@ -29,3 +31,2 @@ | ||
- Typescript | ||
- Yarn | ||
- Jest | ||
@@ -51,3 +52,3 @@ - standard-version | ||
If you want to make a contribution, feel free to open a PR. | ||
We welcome any contributions. Please read [our guide](.github/CONTRIBUTING.md) on how to add new commands before raising a PR. | ||
@@ -54,0 +55,0 @@ ## Usage |
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
685998
9449
132