@dolbyio/dolbyio-rest-apis-client 4.0.0 → 4.0.1

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.
package/README.md CHANGED
@@ -164,7 +164,7 @@ const inputUrl = 'dlb://in/file.mp4';
164
164
  // Local path of the file to upload
165
165
  const originalFilePath = '/path/to/original_file.mp4';
166
166
 
167
- await dolbyio.io.uploadFile(jwt, inputUrl, originalFilePath);
167
+ await dolbyio.media.io.uploadFile(jwt, inputUrl, originalFilePath);
168
168
  ```
169
169
 
170
170
  ### Start an enhance job
@@ -168,7 +168,7 @@ function _startRts() {
168
168
  if (optionsExt.mixId) body['mixId'] = optionsExt.mixId;
169
169
  requestOptions = {
170
170
  hostname: Urls.getCommsHostname(),
171
- path: "/v2/conferences/mix/".concat(options.conferenceId, "/rts/start"),
171
+ path: "/v3/conferences/mix/".concat(options.conferenceId, "/rts/start"),
172
172
  headers: {
173
173
  Accept: 'application/json',
174
174
  'Content-Type': 'application/json',
@@ -197,7 +197,7 @@ var stopRts = /*#__PURE__*/function () {
197
197
  case 0:
198
198
  options = {
199
199
  hostname: Urls.getCommsHostname(),
200
- path: "/v2/conferences/mix/".concat(conferenceId, "/rts/stop"),
200
+ path: "/v3/conferences/mix/".concat(conferenceId, "/rts/stop"),
201
201
  headers: {
202
202
  Accept: 'application/json',
203
203
  'Content-Type': 'application/json',
package/dist/index.js CHANGED
@@ -17,5 +17,5 @@ var urls = _interopRequireWildcard(require("./urls"));
17
17
  exports.urls = urls;
18
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
19
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
- var version = "4.0.0";
20
+ var version = "4.0.1";
21
21
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolbyio/dolbyio-rest-apis-client",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Node.JS wrapper for the dolby.io REST APIs",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {