@atlaskit/media-store
Advanced tools
Comparing version 9.1.5 to 9.1.6
# @atlaskit/media-store | ||
## 9.1.6 | ||
- Updated dependencies [46dfcfbeca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/46dfcfbeca): | ||
- @atlaskit/media-test-helpers@20.1.4 | ||
- @atlaskit/media-card@53.0.0 | ||
## 9.1.5 | ||
@@ -4,0 +9,0 @@ - Updated dependencies [69c8d0c19c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/69c8d0c19c): |
@@ -26,3 +26,2 @@ import { MediaFileArtifacts } from './artifacts'; | ||
readonly occurrenceKey: string; | ||
readonly type: 'file' | 'link'; | ||
readonly details: MediaCollectionItemDetails; | ||
@@ -29,0 +28,0 @@ }; |
@@ -79,6 +79,6 @@ var _this = this; | ||
.then(function (_a) { | ||
var uploadId = _a[0]; | ||
var _b = tslib_1.__read(_a, 1), uploadId = _b[0]; | ||
return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_b) { | ||
switch (_b.label) { | ||
return tslib_1.__generator(this, function (_c) { | ||
switch (_c.label) { | ||
case 0: return [4 /*yield*/, store.createFileFromUpload({ uploadId: uploadId, name: name, mimeType: mimeType }, { | ||
@@ -90,3 +90,3 @@ occurrenceKey: occurrenceKey, | ||
case 1: | ||
_b.sent(); | ||
_c.sent(); | ||
onUploadFinish(); | ||
@@ -93,0 +93,0 @@ return [2 /*return*/]; |
@@ -26,3 +26,2 @@ import { MediaFileArtifacts } from './artifacts'; | ||
readonly occurrenceKey: string; | ||
readonly type: 'file' | 'link'; | ||
readonly details: MediaCollectionItemDetails; | ||
@@ -29,0 +28,0 @@ }; |
@@ -81,6 +81,6 @@ "use strict"; | ||
.then(function (_a) { | ||
var uploadId = _a[0]; | ||
var _b = tslib_1.__read(_a, 1), uploadId = _b[0]; | ||
return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_b) { | ||
switch (_b.label) { | ||
return tslib_1.__generator(this, function (_c) { | ||
switch (_c.label) { | ||
case 0: return [4 /*yield*/, store.createFileFromUpload({ uploadId: uploadId, name: name, mimeType: mimeType }, { | ||
@@ -92,3 +92,3 @@ occurrenceKey: occurrenceKey, | ||
case 1: | ||
_b.sent(); | ||
_c.sent(); | ||
onUploadFinish(); | ||
@@ -95,0 +95,0 @@ return [2 /*return*/]; |
{ | ||
"name": "@atlaskit/media-store", | ||
"version": "9.1.5", | ||
"version": "9.1.6", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/media-store", | ||
"version": "9.1.5", | ||
"version": "9.1.6", | ||
"description": "Media Store API Web Client Library", | ||
@@ -31,4 +31,4 @@ "license": "Apache-2.0", | ||
"@atlaskit/docs": "^6.0.0", | ||
"@atlaskit/media-card": "^52.0.0", | ||
"@atlaskit/media-test-helpers": "^20.1.0", | ||
"@atlaskit/media-card": "^53.0.0", | ||
"@atlaskit/media-test-helpers": "^20.1.4", | ||
"@types/fetch-mock": "^6.0.3", | ||
@@ -35,0 +35,0 @@ "fetch-mock": "^6.5.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134517
2113