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

atem-connection

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atem-connection - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

11

CHANGELOG.md

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

<a name="0.1.1"></a>
## [0.1.1](https://github.com/nrkno/tv-automation-atem-connection/compare/0.1.0...0.1.1) (2018-06-07)
### Bug Fixes
* export Abstract Command ([88a12b6](https://github.com/nrkno/tv-automation-atem-connection/commit/88a12b6))
* MaskFlags are a static property ([ddafc4f](https://github.com/nrkno/tv-automation-atem-connection/commit/ddafc4f))
<a name="0.1.0"></a>

@@ -7,0 +18,0 @@ # 0.1.0 (2018-06-05)

8

dist/commands/DownstreamKey/DownstreamKeyGeneralCommand.d.ts

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

export declare class DownstreamKeyGeneralCommand extends AbstractCommand {
rawName: string;
downstreamKeyerId: number;
properties: DownstreamKeyerGeneral;
MaskFlags: {
static MaskFlags: {
preMultiply: number;

@@ -15,4 +12,7 @@ clip: number;

};
rawName: string;
downstreamKeyerId: number;
properties: DownstreamKeyerGeneral;
serialize(): Buffer;
updateProps(newProps: Partial<DownstreamKeyerGeneral>): void;
}

@@ -8,8 +8,2 @@ "use strict";

this.rawName = 'CDsG';
this.MaskFlags = {
preMultiply: 1 << 0,
clip: 1 << 1,
gain: 1 << 2,
invert: 1 << 3
};
}

@@ -30,3 +24,9 @@ serialize() {

}
DownstreamKeyGeneralCommand.MaskFlags = {
preMultiply: 1 << 0,
clip: 1 << 1,
gain: 1 << 2,
invert: 1 << 3
};
exports.DownstreamKeyGeneralCommand = DownstreamKeyGeneralCommand;
//# sourceMappingURL=DownstreamKeyGeneralCommand.js.map

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

export declare class DownstreamKeyMaskCommand extends AbstractCommand {
rawName: string;
downstreamKeyerId: number;
properties: DownstreamKeyerMask;
MaskFlags: {
static MaskFlags: {
enabled: number;

@@ -16,4 +13,7 @@ top: number;

};
rawName: string;
downstreamKeyerId: number;
properties: DownstreamKeyerMask;
serialize(): Buffer;
updateProps(newProps: Partial<DownstreamKeyerMask>): void;
}

@@ -8,9 +8,2 @@ "use strict";

this.rawName = 'CDsM';
this.MaskFlags = {
enabled: 1 << 0,
top: 1 << 1,
bottom: 1 << 2,
left: 1 << 3,
right: 1 << 4
};
}

@@ -32,3 +25,10 @@ serialize() {

}
DownstreamKeyMaskCommand.MaskFlags = {
enabled: 1 << 0,
top: 1 << 1,
bottom: 1 << 2,
left: 1 << 3,
right: 1 << 4
};
exports.DownstreamKeyMaskCommand = DownstreamKeyMaskCommand;
//# sourceMappingURL=DownstreamKeyMaskCommand.js.map

@@ -8,3 +8,4 @@ export * from './DeviceProfile';

export * from './SuperSource';
export * from './AbstractCommand';
export * from './AuxSourceCommand';
export * from './InitCompleteCommand';

@@ -11,4 +11,5 @@ "use strict";

tslib_1.__exportStar(require("./SuperSource"), exports);
tslib_1.__exportStar(require("./AbstractCommand"), exports);
tslib_1.__exportStar(require("./AuxSourceCommand"), exports);
tslib_1.__exportStar(require("./InitCompleteCommand"), exports);
//# sourceMappingURL=index.js.map

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

export declare class InputPropertiesCommand extends AbstractCommand {
rawName: string;
inputId: number;
MaskFlags: {
static MaskFlags: {
longName: number;

@@ -14,2 +12,4 @@ shortName: number;

};
rawName: string;
inputId: number;
properties: InputChannel;

@@ -16,0 +16,0 @@ updateProps(newProps: Partial<InputChannel>): void;

@@ -10,7 +10,2 @@ "use strict";

this.rawName = 'InPr';
this.MaskFlags = {
longName: 1 << 0,
shortName: 1 << 1,
isExternal: 1 << 2
};
}

@@ -67,3 +62,8 @@ updateProps(newProps) {

}
InputPropertiesCommand.MaskFlags = {
longName: 1 << 0,
shortName: 1 << 1,
isExternal: 1 << 2
};
exports.InputPropertiesCommand = InputPropertiesCommand;
//# sourceMappingURL=InputPropertiesCommand.js.map

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

export declare class MediaPlayerStatusCommand extends AbstractCommand {
rawName: string;
mediaPlayerId: number;
MaskFlags: {
static MaskFlags: {
playing: number;

@@ -15,2 +13,4 @@ loop: number;

};
rawName: string;
mediaPlayerId: number;
properties: MediaPlayer;

@@ -17,0 +17,0 @@ updateProps(newProps: Partial<MediaPlayer>): void;

@@ -8,8 +8,2 @@ "use strict";

this.rawName = 'RCPS';
this.MaskFlags = {
playing: 1 << 0,
loop: 1 << 1,
atBeginning: 1 << 2,
frame: 1 << 3
};
}

@@ -46,3 +40,9 @@ updateProps(newProps) {

}
MediaPlayerStatusCommand.MaskFlags = {
playing: 1 << 0,
loop: 1 << 1,
atBeginning: 1 << 2,
frame: 1 << 3
};
exports.MediaPlayerStatusCommand = MediaPlayerStatusCommand;
//# sourceMappingURL=MediaPlayerStatusCommand.js.map

@@ -6,7 +6,3 @@ /// <reference types="node" />

export declare class MixEffectKeyChromaCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerChromaSettings;
MaskFlags: {
static MaskFlags: {
hue: number;

@@ -18,2 +14,6 @@ gain: number;

};
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerChromaSettings;
deserialize(rawCommand: Buffer): void;

@@ -20,0 +20,0 @@ serialize(): Buffer;

@@ -8,9 +8,2 @@ "use strict";

this.rawName = 'KeCk';
this.MaskFlags = {
hue: 1 << 0,
gain: 1 << 1,
ySuppress: 1 << 2,
lift: 1 << 3,
narrow: 1 << 4
};
}

@@ -46,3 +39,10 @@ deserialize(rawCommand) {

}
MixEffectKeyChromaCommand.MaskFlags = {
hue: 1 << 0,
gain: 1 << 1,
ySuppress: 1 << 2,
lift: 1 << 3,
narrow: 1 << 4
};
exports.MixEffectKeyChromaCommand = MixEffectKeyChromaCommand;
//# sourceMappingURL=MixEffectKeyChromaCommand.js.map

@@ -6,7 +6,3 @@ /// <reference types="node" />

export declare class MixEffectKeyDVECommand extends AbstractCommand {
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerDVESettings;
MaskFlags: {
static MaskFlags: {
sizeX: number;

@@ -39,2 +35,6 @@ sizeY: number;

};
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerDVESettings;
deserialize(rawCommand: Buffer): void;

@@ -41,0 +41,0 @@ serialize(): Buffer;

@@ -8,30 +8,2 @@ "use strict";

this.rawName = 'KeDV';
this.MaskFlags = {
sizeX: 1 << 0,
sizeY: 1 << 1,
positionX: 1 << 2,
positionY: 1 << 3,
rotation: 1 << 4,
borderEnabled: 1 << 5,
shadowEnabled: 1 << 6,
borderBevel: 1 << 7,
borderOuterWidth: 1 << 8,
borderInnerWidth: 1 << 9,
borderOuterSoftness: 1 << 10,
borderInnerSoftness: 1 << 11,
borderBevelSoftness: 1 << 12,
borderBevelPosition: 1 << 13,
borderOpacity: 1 << 14,
borderHue: 1 << 15,
borderSaturation: 1 << 16,
borderLuma: 1 << 17,
lightSourceDirection: 1 << 18,
lightSourceAltitude: 1 << 19,
maskEnabled: 1 << 20,
maskTop: 1 << 21,
maskBottom: 1 << 22,
maskLeft: 1 << 23,
maskRight: 1 << 24,
rate: 1 << 25
};
}

@@ -109,3 +81,31 @@ deserialize(rawCommand) {

}
MixEffectKeyDVECommand.MaskFlags = {
sizeX: 1 << 0,
sizeY: 1 << 1,
positionX: 1 << 2,
positionY: 1 << 3,
rotation: 1 << 4,
borderEnabled: 1 << 5,
shadowEnabled: 1 << 6,
borderBevel: 1 << 7,
borderOuterWidth: 1 << 8,
borderInnerWidth: 1 << 9,
borderOuterSoftness: 1 << 10,
borderInnerSoftness: 1 << 11,
borderBevelSoftness: 1 << 12,
borderBevelPosition: 1 << 13,
borderOpacity: 1 << 14,
borderHue: 1 << 15,
borderSaturation: 1 << 16,
borderLuma: 1 << 17,
lightSourceDirection: 1 << 18,
lightSourceAltitude: 1 << 19,
maskEnabled: 1 << 20,
maskTop: 1 << 21,
maskBottom: 1 << 22,
maskLeft: 1 << 23,
maskRight: 1 << 24,
rate: 1 << 25
};
exports.MixEffectKeyDVECommand = MixEffectKeyDVECommand;
//# sourceMappingURL=MixEffectKeyDVECommand.js.map

@@ -6,7 +6,3 @@ /// <reference types="node" />

export declare class MixEffectKeyLumaCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerLumaSettings;
MaskFlags: {
static MaskFlags: {
preMultiplied: number;

@@ -17,2 +13,6 @@ clip: number;

};
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerLumaSettings;
deserialize(rawCommand: Buffer): void;

@@ -19,0 +19,0 @@ serialize(): Buffer;

@@ -8,8 +8,2 @@ "use strict";

this.rawName = 'KeLm';
this.MaskFlags = {
preMultiplied: 1 << 0,
clip: 1 << 1,
gain: 1 << 2,
invert: 1 << 3
};
}

@@ -43,3 +37,9 @@ deserialize(rawCommand) {

}
MixEffectKeyLumaCommand.MaskFlags = {
preMultiplied: 1 << 0,
clip: 1 << 1,
gain: 1 << 2,
invert: 1 << 3
};
exports.MixEffectKeyLumaCommand = MixEffectKeyLumaCommand;
//# sourceMappingURL=MixEffectKeyLumaCommand.js.map

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

export declare class MixEffectKeyMaskSetCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerMaskSettings;
MaskFlags: {
static MaskFlags: {
maskEnabled: number;

@@ -17,3 +13,7 @@ maskTop: number;

};
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerMaskSettings;
serialize(): Buffer;
}

@@ -8,9 +8,2 @@ "use strict";

this.rawName = 'CKMs';
this.MaskFlags = {
maskEnabled: 1 << 0,
maskTop: 1 << 1,
maskBottom: 1 << 2,
maskLeft: 1 << 3,
maskRight: 1 << 4
};
}

@@ -30,3 +23,10 @@ serialize() {

}
MixEffectKeyMaskSetCommand.MaskFlags = {
maskEnabled: 1 << 0,
maskTop: 1 << 1,
maskBottom: 1 << 2,
maskLeft: 1 << 3,
maskRight: 1 << 4
};
exports.MixEffectKeyMaskSetCommand = MixEffectKeyMaskSetCommand;
//# sourceMappingURL=MixEffectKeyMaskSetCommand.js.map

@@ -6,7 +6,3 @@ /// <reference types="node" />

export declare class MixEffectKeyPatternCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerPatternSettings;
MaskFlags: {
static MaskFlags: {
style: number;

@@ -20,2 +16,6 @@ size: number;

};
rawName: string;
mixEffect: number;
upstreamKeyerId: number;
properties: UpstreamKeyerPatternSettings;
deserialize(rawCommand: Buffer): void;

@@ -22,0 +22,0 @@ serialize(): Buffer;

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

this.rawName = 'KePt';
this.MaskFlags = {
style: 1 << 0,
size: 1 << 1,
symmetry: 1 << 2,
softness: 1 << 3,
positionX: 1 << 4,
positionY: 1 << 5,
invert: 1 << 6
};
}

@@ -52,3 +43,12 @@ deserialize(rawCommand) {

}
MixEffectKeyPatternCommand.MaskFlags = {
style: 1 << 0,
size: 1 << 1,
symmetry: 1 << 2,
softness: 1 << 3,
positionX: 1 << 4,
positionY: 1 << 5,
invert: 1 << 6
};
exports.MixEffectKeyPatternCommand = MixEffectKeyPatternCommand;
//# sourceMappingURL=MixEffectKeyPatternCommand.js.map

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

export declare class MixEffectKeyTypeSetCommand extends AbstractCommand {
static MaskFlags: {
keyType: number;
flyEnabled: number;
};
rawName: string;

@@ -10,7 +14,3 @@ mixEffect: number;

properties: UpstreamKeyerTypeSettings;
MaskFlags: {
keyType: number;
flyEnabled: number;
};
serialize(): Buffer;
}

@@ -8,6 +8,2 @@ "use strict";

this.rawName = 'CKTp';
this.MaskFlags = {
keyType: 1 << 0,
flyEnabled: 1 << 1
};
}

@@ -24,3 +20,7 @@ serialize() {

}
MixEffectKeyTypeSetCommand.MaskFlags = {
keyType: 1 << 0,
flyEnabled: 1 << 1
};
exports.MixEffectKeyTypeSetCommand = MixEffectKeyTypeSetCommand;
//# sourceMappingURL=MixEffectKeyTypeSetCommand.js.map

@@ -6,8 +6,8 @@ /// <reference types="node" />

export declare class TransitionDipCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
MaskFlags: {
static MaskFlags: {
rate: number;
input: number;
};
rawName: string;
mixEffect: number;
properties: DipTransitionSettings;

@@ -14,0 +14,0 @@ updateProps(newProps: Partial<DipTransitionSettings>): void;

@@ -8,6 +8,2 @@ "use strict";

this.rawName = 'TDpP';
this.MaskFlags = {
rate: 1 << 0,
input: 1 << 1
};
}

@@ -43,3 +39,7 @@ updateProps(newProps) {

}
TransitionDipCommand.MaskFlags = {
rate: 1 << 0,
input: 1 << 1
};
exports.TransitionDipCommand = TransitionDipCommand;
//# sourceMappingURL=TransitionDipCommand.js.map

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

export declare class TransitionDVECommand extends AbstractCommand {
rawName: string;
mixEffect: number;
MaskFlags: {
static MaskFlags: {
rate: number;

@@ -23,2 +21,4 @@ logoRate: number;

};
rawName: string;
mixEffect: number;
properties: DVETransitionSettings;

@@ -25,0 +25,0 @@ updateProps(newProps: Partial<DVETransitionSettings>): void;

@@ -8,16 +8,2 @@ "use strict";

this.rawName = 'TDvP';
this.MaskFlags = {
rate: 1 << 0,
logoRate: 1 << 1,
style: 1 << 2,
fillSource: 1 << 3,
keySource: 1 << 4,
enableKey: 1 << 5,
preMultiplied: 1 << 6,
clip: 1 << 7,
gain: 1 << 8,
invertKey: 1 << 9,
reverse: 1 << 10,
flipFlop: 1 << 11
};
}

@@ -70,3 +56,17 @@ updateProps(newProps) {

}
TransitionDVECommand.MaskFlags = {
rate: 1 << 0,
logoRate: 1 << 1,
style: 1 << 2,
fillSource: 1 << 3,
keySource: 1 << 4,
enableKey: 1 << 5,
preMultiplied: 1 << 6,
clip: 1 << 7,
gain: 1 << 8,
invertKey: 1 << 9,
reverse: 1 << 10,
flipFlop: 1 << 11
};
exports.TransitionDVECommand = TransitionDVECommand;
//# sourceMappingURL=TransitionDVECommand.js.map

@@ -6,8 +6,8 @@ /// <reference types="node" />

export declare class TransitionPropertiesCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
MaskFlags: {
static MaskFlags: {
style: number;
selection: number;
};
rawName: string;
mixEffect: number;
properties: TransitionProperties;

@@ -14,0 +14,0 @@ updateProps(newProps: Partial<TransitionProperties>): void;

@@ -8,6 +8,2 @@ "use strict";

this.rawName = 'TrSS';
this.MaskFlags = {
style: 1 << 0,
selection: 1 << 1
};
}

@@ -42,3 +38,7 @@ updateProps(newProps) {

}
TransitionPropertiesCommand.MaskFlags = {
style: 1 << 0,
selection: 1 << 1
};
exports.TransitionPropertiesCommand = TransitionPropertiesCommand;
//# sourceMappingURL=TransitionPropertiesCommand.js.map

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

export declare class TransitionStingerCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
MaskFlags: {
static MaskFlags: {
source: number;

@@ -20,2 +18,4 @@ preMultipliedKey: number;

};
rawName: string;
mixEffect: number;
properties: StingerTransitionSettings;

@@ -22,0 +22,0 @@ updateProps(newProps: Partial<StingerTransitionSettings>): void;

@@ -8,13 +8,2 @@ "use strict";

this.rawName = 'TStP';
this.MaskFlags = {
source: 1 << 0,
preMultipliedKey: 1 << 1,
clip: 1 << 2,
gain: 1 << 3,
invert: 1 << 4,
preroll: 1 << 5,
clipDuration: 1 << 6,
triggerPoint: 1 << 7,
mixRate: 1 << 8
};
}

@@ -61,3 +50,14 @@ updateProps(newProps) {

}
TransitionStingerCommand.MaskFlags = {
source: 1 << 0,
preMultipliedKey: 1 << 1,
clip: 1 << 2,
gain: 1 << 3,
invert: 1 << 4,
preroll: 1 << 5,
clipDuration: 1 << 6,
triggerPoint: 1 << 7,
mixRate: 1 << 8
};
exports.TransitionStingerCommand = TransitionStingerCommand;
//# sourceMappingURL=TransitionStingerCommand.js.map

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

export declare class TransitionWipeCommand extends AbstractCommand {
rawName: string;
mixEffect: number;
MaskFlags: {
static MaskFlags: {
rate: number;

@@ -21,2 +19,4 @@ pattern: number;

};
rawName: string;
mixEffect: number;
properties: WipeTransitionSettings;

@@ -23,0 +23,0 @@ updateProps(newProps: Partial<WipeTransitionSettings>): void;

@@ -8,14 +8,2 @@ "use strict";

this.rawName = 'TWpP';
this.MaskFlags = {
rate: 1 << 0,
pattern: 1 << 1,
borderWidth: 1 << 2,
borderInput: 1 << 3,
symmetry: 1 << 4,
borderSoftness: 1 << 5,
xPosition: 1 << 6,
yPosition: 1 << 7,
reverseDirection: 1 << 8,
flipFlop: 1 << 9
};
}

@@ -64,3 +52,15 @@ updateProps(newProps) {

}
TransitionWipeCommand.MaskFlags = {
rate: 1 << 0,
pattern: 1 << 1,
borderWidth: 1 << 2,
borderInput: 1 << 3,
symmetry: 1 << 4,
borderSoftness: 1 << 5,
xPosition: 1 << 6,
yPosition: 1 << 7,
reverseDirection: 1 << 8,
flipFlop: 1 << 9
};
exports.TransitionWipeCommand = TransitionWipeCommand;
//# sourceMappingURL=TransitionWipeCommand.js.map

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

export declare class SuperSourceBoxParametersCommand extends AbstractCommand {
rawName: string;
boxId: number;
properties: SuperSourceBox;
MaskFlags: {
static MaskFlags: {
enabled: number;

@@ -22,2 +19,5 @@ source: number;

};
rawName: string;
boxId: number;
properties: SuperSourceBox;
updateProps(newProps: Partial<SuperSourceBox>): void;

@@ -24,0 +24,0 @@ deserialize(rawCommand: Buffer): void;

@@ -8,14 +8,2 @@ "use strict";

this.rawName = 'SSBP';
this.MaskFlags = {
enabled: 1 << 0,
source: 1 << 1,
x: 1 << 2,
y: 1 << 3,
size: 1 << 4,
cropped: 1 << 5,
cropTop: 1 << 6,
cropBottom: 1 << 7,
cropLeft: 1 << 8,
cropRight: 1 << 9
};
}

@@ -60,3 +48,15 @@ updateProps(newProps) {

}
SuperSourceBoxParametersCommand.MaskFlags = {
enabled: 1 << 0,
source: 1 << 1,
x: 1 << 2,
y: 1 << 3,
size: 1 << 4,
cropped: 1 << 5,
cropTop: 1 << 6,
cropBottom: 1 << 7,
cropLeft: 1 << 8,
cropRight: 1 << 9
};
exports.SuperSourceBoxParametersCommand = SuperSourceBoxParametersCommand;
//# sourceMappingURL=SuperSourceBoxParametersCommand.js.map
{
"name": "atem-connection",
"version": "0.1.0",
"version": "0.1.1",
"description": "Typescript Node.js library for connecting with an ATEM switcher.",

@@ -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

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

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

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