ozone-api-upload 6.0.1 → 6.1.0
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/dist/ozone-api-upload.js +1 -2
- package/package.json +7 -7
package/dist/ozone-api-upload.js
CHANGED
|
@@ -168,8 +168,7 @@ export class UploadFileRequest {
|
|
|
168
168
|
.then((result) => this._endUploadSession(result))
|
|
169
169
|
.then((result) => this._waitForTask(result.uploadFileId, options))
|
|
170
170
|
.then((result) => {
|
|
171
|
-
|
|
172
|
-
if (!((_a = result) === null || _a === void 0 ? void 0 : _a.mediaId)) {
|
|
171
|
+
if (!(result === null || result === void 0 ? void 0 : result.mediaId)) {
|
|
173
172
|
throw Error('No media define in Ozone');
|
|
174
173
|
}
|
|
175
174
|
this.status = 200;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ozone-api-upload",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"ozone-type": "^6.0.
|
|
24
|
+
"ozone-type": "^6.0.3"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"ozone-api-request": "^6.0.
|
|
28
|
-
"ozone-config": "^6.0.
|
|
29
|
-
"ozone-default-client": "^6.0
|
|
30
|
-
"ozone-typescript-client": "^6.0
|
|
27
|
+
"ozone-api-request": "^6.0.3",
|
|
28
|
+
"ozone-config": "^6.0.3",
|
|
29
|
+
"ozone-default-client": "^6.1.0",
|
|
30
|
+
"ozone-typescript-client": "^6.1.0"
|
|
31
31
|
},
|
|
32
32
|
"repository": "https://github.com/taktik/ozone-components/packages/ozone-api/ozone-api-upload",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "a723ead1ef0f5b31a3a055f10366be78dc4cd3b4"
|
|
34
34
|
}
|