@pixwel/pixwel-sdk 2.1.4 → 2.1.5

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.
@@ -20,28 +20,28 @@
20
20
  </h1>
21
21
  <div class='clearfix'>
22
22
  <div class='fl pad1y space-right2'>
23
- <span class="strong">66.67% </span>
23
+ <span class="strong">0% </span>
24
24
  <span class="quiet">Statements</span>
25
- <span class='fraction'>8/12</span>
25
+ <span class='fraction'>0/12</span>
26
26
  </div>
27
27
  <div class='fl pad1y space-right2'>
28
- <span class="strong">50% </span>
28
+ <span class="strong">0% </span>
29
29
  <span class="quiet">Branches</span>
30
- <span class='fraction'>4/8</span>
30
+ <span class='fraction'>0/8</span>
31
31
  </div>
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">100% </span>
33
+ <span class="strong">0% </span>
34
34
  <span class="quiet">Functions</span>
35
- <span class='fraction'>1/1</span>
35
+ <span class='fraction'>0/1</span>
36
36
  </div>
37
37
  <div class='fl pad1y space-right2'>
38
- <span class="strong">66.67% </span>
38
+ <span class="strong">0% </span>
39
39
  <span class="quiet">Lines</span>
40
- <span class='fraction'>8/12</span>
40
+ <span class='fraction'>0/12</span>
41
41
  </div>
42
42
  </div>
43
43
  </div>
44
- <div class='status-line medium'></div>
44
+ <div class='status-line low'></div>
45
45
  <pre><table class="coverage">
46
46
  <tr><td class="line-count quiet">1
47
47
  2
@@ -65,42 +65,42 @@
65
65
  20
66
66
  21</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
67
67
  <span class="cline-any cline-neutral">&nbsp;</span>
68
- <span class="cline-any cline-yes">1x</span>
68
+ <span class="cline-any cline-no">&nbsp;</span>
69
69
  <span class="cline-any cline-no">&nbsp;</span>
70
70
  <span class="cline-any cline-neutral">&nbsp;</span>
71
- <span class="cline-any cline-yes">1x</span>
71
+ <span class="cline-any cline-no">&nbsp;</span>
72
72
  <span class="cline-any cline-no">&nbsp;</span>
73
73
  <span class="cline-any cline-neutral">&nbsp;</span>
74
- <span class="cline-any cline-yes">1x</span>
74
+ <span class="cline-any cline-no">&nbsp;</span>
75
75
  <span class="cline-any cline-no">&nbsp;</span>
76
76
  <span class="cline-any cline-neutral">&nbsp;</span>
77
- <span class="cline-any cline-yes">1x</span>
77
+ <span class="cline-any cline-no">&nbsp;</span>
78
78
  <span class="cline-any cline-no">&nbsp;</span>
79
79
  <span class="cline-any cline-neutral">&nbsp;</span>
80
- <span class="cline-any cline-yes">1x</span>
81
- <span class="cline-any cline-yes">1x</span>
82
- <span class="cline-any cline-yes">1x</span>
83
- <span class="cline-any cline-yes">1x</span>
80
+ <span class="cline-any cline-no">&nbsp;</span>
81
+ <span class="cline-any cline-no">&nbsp;</span>
82
+ <span class="cline-any cline-no">&nbsp;</span>
83
+ <span class="cline-any cline-no">&nbsp;</span>
84
84
  <span class="cline-any cline-neutral">&nbsp;</span>
85
85
  <span class="cline-any cline-neutral">&nbsp;</span>
86
86
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">export default class Asset {
87
- static mapFromOrder(order) {
88
- <span class="missing-if-branch" title="if path not taken" >I</span>if (!order) {
87
+ <span class="fstat-no" title="function not covered" > st</span>atic mapFromOrder(order) {
88
+ <span class="cstat-no" title="statement not covered" > if (!order) {</span>
89
89
  <span class="cstat-no" title="statement not covered" > throw new Error("missing order");</span>
90
90
  }
91
- <span class="missing-if-branch" title="if path not taken" >I</span>if (!order.asset) {
91
+ <span class="cstat-no" title="statement not covered" > if (!order.asset) {</span>
92
92
  <span class="cstat-no" title="statement not covered" > throw new Error("missing order.asset");</span>
93
93
  }
94
- <span class="missing-if-branch" title="if path not taken" >I</span>if (!order.project) {
94
+ <span class="cstat-no" title="statement not covered" > if (!order.project) {</span>
95
95
  <span class="cstat-no" title="statement not covered" > throw new Error("missing order.project");</span>
96
96
  }
97
- <span class="missing-if-branch" title="if path not taken" >I</span>if (!order.project.slug) {
97
+ <span class="cstat-no" title="statement not covered" > if (!order.project.slug) {</span>
98
98
  <span class="cstat-no" title="statement not covered" > throw new Error("missing order.project.slug");</span>
99
99
  }
100
- var asset = order.asset;
101
- asset.project = order.project;
102
- asset.project.filePrefix = order.project.slug.toUpperCase();
103
- return asset;
100
+ var asset = <span class="cstat-no" title="statement not covered" >order.asset;</span>
101
+ <span class="cstat-no" title="statement not covered" > asset.project = order.project;</span>
102
+ <span class="cstat-no" title="statement not covered" > asset.project.filePrefix = order.project.slug.toUpperCase();</span>
103
+ <span class="cstat-no" title="statement not covered" > return asset;</span>
104
104
  }
105
105
  }
106
106
  &nbsp;</pre></td></tr>
@@ -109,7 +109,7 @@
109
109
  </div><!-- /wrapper -->
110
110
  <div class='footer quiet pad2 space-top1 center small'>
111
111
  Code coverage
112
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
112
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
113
113
  </div>
114
114
  </div>
115
115
  <script src="prettify.js"></script>
@@ -82,7 +82,7 @@ export default class AssetType extends Model {
82
82
  </div><!-- /wrapper -->
83
83
  <div class='footer quiet pad2 space-top1 center small'>
84
84
  Code coverage
85
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
85
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
86
86
  </div>
87
87
  </div>
88
88
  <script src="prettify.js"></script>
@@ -82,7 +82,7 @@ export default class Encode extends Model {
82
82
  </div><!-- /wrapper -->
83
83
  <div class='footer quiet pad2 space-top1 center small'>
84
84
  Code coverage
85
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
85
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
86
86
  </div>
87
87
  </div>
88
88
  <script src="prettify.js"></script>
@@ -82,7 +82,7 @@ export default class File extends Model {
82
82
  </div><!-- /wrapper -->
83
83
  <div class='footer quiet pad2 space-top1 center small'>
84
84
  Code coverage
85
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
85
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
86
86
  </div>
87
87
  </div>
88
88
  <script src="prettify.js"></script>
@@ -76,7 +76,7 @@ export default class Filename {
76
76
  </div><!-- /wrapper -->
77
77
  <div class='footer quiet pad2 space-top1 center small'>
78
78
  Code coverage
79
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
79
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
80
80
  </div>
81
81
  </div>
82
82
  <script src="prettify.js"></script>
@@ -1635,7 +1635,7 @@ export default class Ingest extends Model {
1635
1635
  */
1636
1636
  mapFromMediainfo() {
1637
1637
  let info = this.mediainfo;
1638
- let mediaType = this.asset.mediaType;
1638
+ let mediaType = this.source.mediaType;
1639
1639
  &nbsp;
1640
1640
  let schema = {
1641
1641
  Aspect: null,
@@ -2017,7 +2017,7 @@ function flatValues(data) {
2017
2017
  </div><!-- /wrapper -->
2018
2018
  <div class='footer quiet pad2 space-top1 center small'>
2019
2019
  Code coverage
2020
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
2020
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
2021
2021
  </div>
2022
2022
  </div>
2023
2023
  <script src="prettify.js"></script>
@@ -67,7 +67,7 @@
67
67
  </div><!-- /wrapper -->
68
68
  <div class='footer quiet pad2 space-top1 center small'>
69
69
  Code coverage
70
- generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:23:38 GMT-0500 (Central Daylight Time)
70
+ generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Aug 19 2019 10:52:04 GMT-0500 (Central Daylight Time)
71
71
  </div>
72
72
  </div>
73
73
  <script src="prettify.js"></script>