@mos-connection/model
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [4.1.0](https://github.com/nrkno/sofie-mos-connection/compare/v4.0.0...v4.1.0) (2024-04-02) | ||
### Bug Fixes | ||
* add 'N/A' to supported profiles ([c56007a](https://github.com/nrkno/sofie-mos-connection/commit/c56007a161b034ebe411b9848fa079f684bc9d51)) | ||
* OpenMedia returns an empty object {} as time, will be set as current time instead. ([7a2531a](https://github.com/nrkno/sofie-mos-connection/commit/7a2531afd711f1d62d3bb121592b6f6194c42a91)) | ||
# [4.0.0](https://github.com/nrkno/sofie-mos-connection/compare/v3.0.7...v4.0.0) (2024-02-02) | ||
@@ -8,0 +20,0 @@ |
export * from './mosTypes'; | ||
export * from './model'; | ||
export { pad } from './mosTypes/lib'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.pad = void 0; | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./mosTypes"), exports); | ||
tslib_1.__exportStar(require("./model"), exports); | ||
var lib_1 = require("./mosTypes/lib"); | ||
Object.defineProperty(exports, "pad", { enumerable: true, get: function () { return lib_1.pad; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -255,3 +255,3 @@ import { IMOSTime, IMOSString128, IMOSDuration, IMOSExternalMetaData } from './mosTypes'; | ||
supportedProfiles: { | ||
deviceType: 'NCS' | 'MOS'; | ||
deviceType: 'NCS' | 'MOS' | 'N/A'; | ||
profile0?: boolean; | ||
@@ -258,0 +258,0 @@ profile1?: boolean; |
@@ -5,3 +5,3 @@ "use strict"; | ||
function pad(n, width, z) { | ||
z = z || '0'; | ||
z = z ?? '0'; | ||
n = '' + n; | ||
@@ -8,0 +8,0 @@ return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n; |
@@ -50,2 +50,5 @@ "use strict"; | ||
} | ||
else if (!strict) { | ||
time = new Date(); | ||
} | ||
else { | ||
@@ -52,0 +55,0 @@ throw new Error(`MosTime: Invalid input: "${timestamp}"`); |
{ | ||
"name": "@mos-connection/model", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Types and enums for the mos-connection library", | ||
@@ -44,3 +44,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "b9a544a88d1eae13a0f220b282d61e5d9859f5da" | ||
"gitHead": "dcf23cb18f12274b76f3c7f0cd356e2bff9e97f2" | ||
} |
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
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
59902
819