@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/.babelrc CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "presets": ["env"],
3
- "plugins": ["transform-runtime"]
3
+ "plugins": ["transform-runtime", "istanbul"]
4
4
  }
package/dist/index.js CHANGED
@@ -1,5 +1,44 @@
1
1
  'use strict';
2
2
 
3
+ var cov_16fubbq9ph = function () {
4
+ var path = '/home/ec2-user/platform/pixwel-sdk/index.js',
5
+ hash = 'b10d45e42d63234dc36f09b26676b2980ea495a2',
6
+ Function = function () {}.constructor,
7
+ global = new Function('return this')(),
8
+ gcv = '__coverage__',
9
+ coverageData = {
10
+ path: '/home/ec2-user/platform/pixwel-sdk/index.js',
11
+ statementMap: {
12
+ '0': {
13
+ start: {
14
+ line: 1,
15
+ column: 20
16
+ },
17
+ end: {
18
+ line: 6,
19
+ column: 1
20
+ }
21
+ }
22
+ },
23
+ fnMap: {},
24
+ branchMap: {},
25
+ s: {
26
+ '0': 0
27
+ },
28
+ f: {},
29
+ b: {},
30
+ _coverageSchema: '332fd63041d2c1bcb487cc26dd0d5f7d97098a6c'
31
+ },
32
+ coverage = global[gcv] || (global[gcv] = {});
33
+
34
+ if (coverage[path] && coverage[path].hash === hash) {
35
+ return coverage[path];
36
+ }
37
+
38
+ coverageData.hash = hash;
39
+ return coverage[path] = coverageData;
40
+ }();
41
+
3
42
  Object.defineProperty(exports, "__esModule", {
4
43
  value: true
5
44
  });
@@ -105,9 +144,9 @@ Object.defineProperty(exports, 'TimeFormat', {
105
144
 
106
145
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
107
146
 
108
- var Pixwel = exports.Pixwel = {
147
+ var Pixwel = exports.Pixwel = (cov_16fubbq9ph.s[0]++, {
109
148
  credentials: {
110
149
  token: null
111
150
  },
112
151
  endpoint: 'https://api.pixwel.com/api'
113
- };
152
+ });