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

@tv2media/v-connection

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tv2media/v-connection - npm Package Compare versions

Comparing version 6.0.3 to 6.1.0

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## [6.1.0](https://github.com/tv2/v-connection/compare/v6.0.3...v6.1.0) (2022-10-27)
### Features
- SOF-1140 allow creating elements that have more fields than mastertemplate supports ([466c722](https://github.com/tv2/v-connection/commit/466c7228efdda63e8229931dc4e507f4c85c5c51))
### [6.0.3](https://github.com/tv2/v-connection/compare/v6.0.1...v6.0.3) (2022-10-14)

@@ -7,0 +13,0 @@

0

dist/index.d.ts
export * from './v-connection';
export { createMSE } from './mse';
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

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

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { VRundown, VTemplate, InternalElement, ExternalElement, VElement, ExternalElementId, ElementId, InternalElementId, InternalElementIdWithCreator } from './v-connection';

12

dist/rundown.js

@@ -26,3 +26,3 @@ "use strict";

this.msehttp = (0, msehttp_1.createHTTPContext)(this.profile, this.mse.resthost ? this.mse.resthost : this.mse.hostname, this.mse.restPort);
this.initialChannelMapPromise = this.buildChannelMap().catch((err) => console.error(`Warning: Failed to build channel map: ${err.message}`));
this.initialChannelMapPromise = this.buildChannelMap().catch((err) => this.mse.emit('warning', `Failed to build channel map: ${err.message}`));
}

@@ -113,3 +113,3 @@ get pep() {

else {
throw new Error(`Could not retrieve field definitions for tempalte '${templateName}'. Not creating element '${elementId.instanceName}'.`);
throw new Error(`Could not retrieve field definitions for template '${templateName}'. Not creating element '${elementId.instanceName}'.`);
}

@@ -120,8 +120,8 @@ let fieldNames = fielddef ? fielddef.map((x) => x.$.name) : [];

if (textFields.length > fieldNames.length) {
throw new Error(`For template '${templateName}' with ${fieldNames.length} field(s), ${textFields.length} fields have been provided.`);
this.mse.emit('warning', `For template '${templateName}' with ${fieldNames.length} field(s), ${textFields.length} fields have been provided.`);
}
fieldNames = fieldNames.sort();
for (let x = 0; x < fieldNames.length; x++) {
entries += ` <entry name="${fieldNames[x]}">${textFields[x] ? textFields[x] : ''}</entry>\n`;
data[fieldNames[x]] = textFields[x] ? textFields[x] : '';
entries += ` <entry name="${fieldNames[x]}">${textFields[x] ?? ''}</entry>\n`;
data[fieldNames[x]] = textFields[x] ?? '';
}

@@ -164,3 +164,3 @@ const vizProgram = channel ? ` viz_program="${channel}"` : '';

catch (err) {
console.error(`Warning: createElement: Channel map not built: ${(0, peptalk_1.getPepErrorMessage)(err)}`);
this.mse.emit('warning', `createElement: Channel map not built: ${(0, peptalk_1.getPepErrorMessage)(err)}`);
}

@@ -167,0 +167,0 @@ }

export declare function wrapInBracesIfNeeded(value: string): string;
export declare function has(object: Record<string | number, any>, property: string | number): boolean;
//# sourceMappingURL=util.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

@@ -476,2 +476,3 @@ /**

on(event: 'connected', listener: () => void): this;
on(event: 'warning', listener: (message: string) => void): this;
/** Add a listener for all error messages from the server. */

@@ -478,0 +479,0 @@ on(event: 'disconnected', listener: (err?: Error) => void): this;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

{
"name": "@tv2media/v-connection",
"version": "6.0.3",
"version": "6.1.0",
"description": "Sofie TV Automation Vizrt Media Sequencer Engine connection library",

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

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