@pixwel/pixwel-sdk 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,10 +60,6 @@ var Filename = function () {
60
60
  throw "missing asset.type";
61
61
  }
62
62
 
63
- if (asset.type.match(/^film-clip|^featurette/) && !asset.length) {
64
- throw "missing asset.length";
65
- }
66
-
67
63
  var defaults = {
68
64
  language: null,
69
65
  country: null,
@@ -159,7 +159,7 @@ var Ingest = function () {
159
159
  if (order.isSub()) return "sub";
160
160
  }();
161
161
 
162
- var isPreviewEnabled = tags.Codec == "prores" && tags.Resolution.split("x")[1] == "1080" && (tags.Framerate == "23.98" || tags.Framerate == "25") && watermarks.length;
162
+ var isPreviewEnabled = tags.Codec == "prores" && tags.Resolution.split("x")[1] == "1080" && (tags.Framerate == "23.98" || tags.Framerate == "25") && watermarks.length || null;
163
163
 
164
164
  var watermark = watermarks[0] ? watermarks[0]._id : "";
165
165
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixwel/pixwel-sdk",
3
3
  "description": "",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "author": "Pixwel",
6
6
  "license": "UNLICENSED",
7
7
  "main": "./dist/index.js",