@pixwel/pixwel-sdk 2.1.35 → 2.1.37

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.
Files changed (45) hide show
  1. package/.babelrc +1 -1
  2. package/dist/index.js +41 -2
  3. package/dist/src/Ass.js +2408 -33
  4. package/dist/src/Asset.js +355 -1
  5. package/dist/src/AssetType.js +125 -5
  6. package/dist/src/Encode.js +125 -5
  7. package/dist/src/File.js +125 -5
  8. package/dist/src/Filename.js +26 -0
  9. package/dist/src/Ingest.js +7940 -110
  10. package/dist/src/IngestFile.js +68 -0
  11. package/dist/src/Model.js +2305 -66
  12. package/dist/src/Order.js +533 -2
  13. package/dist/src/Srt.js +1086 -18
  14. package/dist/src/Sub.js +551 -6
  15. package/dist/src/Tag.js +125 -5
  16. package/dist/src/TimeFormat.js +929 -13
  17. package/dist/src/fileType.js +323 -4
  18. package/package.json +1 -1
  19. package/src/Ingest.js +4 -0
  20. package/update-sdk.sh +8 -0
  21. package/coverage/clover.xml +0 -617
  22. package/coverage/coverage-final.json +0 -16
  23. package/coverage/lcov-report/Ass.js.html +0 -647
  24. package/coverage/lcov-report/Asset.js.html +0 -125
  25. package/coverage/lcov-report/AssetType.js.html +0 -98
  26. package/coverage/lcov-report/Encode.js.html +0 -98
  27. package/coverage/lcov-report/File.js.html +0 -98
  28. package/coverage/lcov-report/Filename.js.html +0 -92
  29. package/coverage/lcov-report/Ingest.js.html +0 -2027
  30. package/coverage/lcov-report/IngestFile.js.html +0 -83
  31. package/coverage/lcov-report/Model.js.html +0 -821
  32. package/coverage/lcov-report/Order.js.html +0 -206
  33. package/coverage/lcov-report/Srt.js.html +0 -329
  34. package/coverage/lcov-report/Sub.js.html +0 -173
  35. package/coverage/lcov-report/Tag.js.html +0 -98
  36. package/coverage/lcov-report/TimeFormat.js.html +0 -206
  37. package/coverage/lcov-report/base.css +0 -212
  38. package/coverage/lcov-report/fileType.js.html +0 -188
  39. package/coverage/lcov-report/index.html +0 -275
  40. package/coverage/lcov-report/prettify.css +0 -1
  41. package/coverage/lcov-report/prettify.js +0 -1
  42. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  43. package/coverage/lcov-report/sorter.js +0 -158
  44. package/coverage/lcov.info +0 -1213
  45. package/npm-update.sh +0 -8
package/dist/src/File.js CHANGED
@@ -1,5 +1,118 @@
1
1
  "use strict";
2
2
 
3
+ var cov_gfvetowkb = function () {
4
+ var path = "/home/ec2-user/platform/pixwel-sdk/src/File.js",
5
+ hash = "06a484e1fb63dc2f2958cda892d8024f7d4021fc",
6
+ Function = function () {}.constructor,
7
+ global = new Function('return this')(),
8
+ gcv = "__coverage__",
9
+ coverageData = {
10
+ path: "/home/ec2-user/platform/pixwel-sdk/src/File.js",
11
+ statementMap: {
12
+ "0": {
13
+ start: {
14
+ line: 5,
15
+ column: 2
16
+ },
17
+ end: {
18
+ line: 5,
19
+ column: 14
20
+ }
21
+ },
22
+ "1": {
23
+ start: {
24
+ line: 6,
25
+ column: 2
26
+ },
27
+ end: {
28
+ line: 6,
29
+ column: 27
30
+ }
31
+ },
32
+ "2": {
33
+ start: {
34
+ line: 9,
35
+ column: 2
36
+ },
37
+ end: {
38
+ line: 9,
39
+ column: 17
40
+ }
41
+ }
42
+ },
43
+ fnMap: {
44
+ "0": {
45
+ name: "(anonymous_0)",
46
+ decl: {
47
+ start: {
48
+ line: 4,
49
+ column: 1
50
+ },
51
+ end: {
52
+ line: 4,
53
+ column: 2
54
+ }
55
+ },
56
+ loc: {
57
+ start: {
58
+ line: 4,
59
+ column: 19
60
+ },
61
+ end: {
62
+ line: 7,
63
+ column: 2
64
+ }
65
+ },
66
+ line: 4
67
+ },
68
+ "1": {
69
+ name: "(anonymous_1)",
70
+ decl: {
71
+ start: {
72
+ line: 8,
73
+ column: 1
74
+ },
75
+ end: {
76
+ line: 8,
77
+ column: 2
78
+ }
79
+ },
80
+ loc: {
81
+ start: {
82
+ line: 8,
83
+ column: 24
84
+ },
85
+ end: {
86
+ line: 10,
87
+ column: 2
88
+ }
89
+ },
90
+ line: 8
91
+ }
92
+ },
93
+ branchMap: {},
94
+ s: {
95
+ "0": 0,
96
+ "1": 0,
97
+ "2": 0
98
+ },
99
+ f: {
100
+ "0": 0,
101
+ "1": 0
102
+ },
103
+ b: {},
104
+ _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
105
+ },
106
+ coverage = global[gcv] || (global[gcv] = {});
107
+
108
+ if (coverage[path] && coverage[path].hash === hash) {
109
+ return coverage[path];
110
+ }
111
+
112
+ coverageData.hash = hash;
113
+ return coverage[path] = coverageData;
114
+ }();
115
+
3
116
  Object.defineProperty(exports, "__esModule", {
4
117
  value: true
5
118
  });
@@ -24,20 +137,24 @@ var _inherits2 = require("babel-runtime/helpers/inherits");
24
137
 
25
138
  var _inherits3 = _interopRequireDefault(_inherits2);
26
139
 
27
- var _Model2 = require("./Model");
140
+ var _Model = require("./Model");
28
141
 
29
- var _Model3 = _interopRequireDefault(_Model2);
142
+ var _Model2 = _interopRequireDefault(_Model);
30
143
 
31
144
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
32
145
 
33
- var File = function (_Model) {
34
- (0, _inherits3.default)(File, _Model);
146
+ var File = function (_ref) {
147
+ (0, _inherits3.default)(File, _ref);
35
148
 
36
149
  function File(data) {
37
150
  (0, _classCallCheck3.default)(this, File);
151
+ cov_gfvetowkb.f[0]++;
152
+ cov_gfvetowkb.s[0]++;
38
153
 
39
154
  var _this = (0, _possibleConstructorReturn3.default)(this, (File.__proto__ || (0, _getPrototypeOf2.default)(File)).call(this, data));
40
155
 
156
+ cov_gfvetowkb.s[1]++;
157
+
41
158
  _this._resource = "files";
42
159
  return _this;
43
160
  }
@@ -45,10 +162,13 @@ var File = function (_Model) {
45
162
  (0, _createClass3.default)(File, null, [{
46
163
  key: "_resource",
47
164
  get: function get() {
165
+ cov_gfvetowkb.f[1]++;
166
+ cov_gfvetowkb.s[2]++;
167
+
48
168
  return 'files';
49
169
  }
50
170
  }]);
51
171
  return File;
52
- }(_Model3.default);
172
+ }((_Model2.default));
53
173
 
54
174
  exports.default = File;
@@ -1,5 +1,31 @@
1
1
  "use strict";
2
2
 
3
+ var cov_25lmbgb7li = function () {
4
+ var path = "/home/ec2-user/platform/pixwel-sdk/src/Filename.js",
5
+ hash = "5dc7e437ecb20555088fb45b83ec2c2e203431ad",
6
+ Function = function () {}.constructor,
7
+ global = new Function('return this')(),
8
+ gcv = "__coverage__",
9
+ coverageData = {
10
+ path: "/home/ec2-user/platform/pixwel-sdk/src/Filename.js",
11
+ statementMap: {},
12
+ fnMap: {},
13
+ branchMap: {},
14
+ s: {},
15
+ f: {},
16
+ b: {},
17
+ _coverageSchema: "332fd63041d2c1bcb487cc26dd0d5f7d97098a6c"
18
+ },
19
+ coverage = global[gcv] || (global[gcv] = {});
20
+
21
+ if (coverage[path] && coverage[path].hash === hash) {
22
+ return coverage[path];
23
+ }
24
+
25
+ coverageData.hash = hash;
26
+ return coverage[path] = coverageData;
27
+ }();
28
+
3
29
  Object.defineProperty(exports, "__esModule", {
4
30
  value: true
5
31
  });