@atlaskit/media-client 33.2.0 → 33.3.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/CHANGELOG.md +12 -0
- package/dist/cjs/client/file-fetcher/index.js +6 -6
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/models/file-state.js +4 -1
- package/dist/es2019/client/file-fetcher/index.js +6 -6
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/models/file-state.js +1 -0
- package/dist/esm/client/file-fetcher/index.js +6 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/file-state.js +3 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/file-state.d.ts +4 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/models/file-state.d.ts +4 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 33.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#152511](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152511)
|
|
8
|
+
[`c5dbe965a1abe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5dbe965a1abe) -
|
|
9
|
+
Exported hasArtifacts utility
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 33.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -261,21 +261,21 @@ var FileFetcherImpl = exports.FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
261
261
|
return _this.getOrFetchFileState(id, collectionName);
|
|
262
262
|
case 2:
|
|
263
263
|
fileState = _context4.sent;
|
|
264
|
-
if (!(fileState.status !==
|
|
264
|
+
if (!(fileState.status !== 'processed' || fileState.mediaType !== 'video' || !fileState.artifacts['video.mp4'])) {
|
|
265
265
|
_context4.next = 5;
|
|
266
266
|
break;
|
|
267
267
|
}
|
|
268
|
-
throw new Error(
|
|
268
|
+
throw new Error('File is not a video');
|
|
269
269
|
case 5:
|
|
270
270
|
_context4.next = 7;
|
|
271
|
-
return _this.getArtifactURL(fileState.artifacts,
|
|
271
|
+
return _this.getArtifactURL(fileState.artifacts, 'video.mp4');
|
|
272
272
|
case 7:
|
|
273
273
|
aritfactUrl = _context4.sent;
|
|
274
274
|
artifactPath = new URL(aritfactUrl).pathname;
|
|
275
275
|
_context4.next = 11;
|
|
276
276
|
return _this.mediaApi.request(artifactPath, {
|
|
277
277
|
headers: {
|
|
278
|
-
Range:
|
|
278
|
+
Range: 'bytes=0-199'
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
281
|
case 11:
|
|
@@ -325,7 +325,7 @@ var FileFetcherImpl = exports.FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
325
325
|
_context4.next = 36;
|
|
326
326
|
break;
|
|
327
327
|
}
|
|
328
|
-
throw new Error(
|
|
328
|
+
throw new Error('Unable to find mvhd bytes');
|
|
329
329
|
case 36:
|
|
330
330
|
// Create DataView for reading big-endian integers
|
|
331
331
|
dataView = new DataView(arrayBuffer);
|
|
@@ -344,7 +344,7 @@ var FileFetcherImpl = exports.FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
344
344
|
_context4.next = 44;
|
|
345
345
|
break;
|
|
346
346
|
}
|
|
347
|
-
throw new Error(
|
|
347
|
+
throw new Error('Timescale is invalid');
|
|
348
348
|
case 44:
|
|
349
349
|
// get the video length in seconds
|
|
350
350
|
videoLength = Math.floor(duration / timeScale);
|
package/dist/cjs/index.js
CHANGED
|
@@ -171,6 +171,12 @@ Object.defineProperty(exports, "globalMediaEventEmitter", {
|
|
|
171
171
|
return _globalMediaEventEmitter.globalMediaEventEmitter;
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
+
Object.defineProperty(exports, "hasArtifacts", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function get() {
|
|
177
|
+
return _fileState.hasArtifacts;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
174
180
|
Object.defineProperty(exports, "imageResizeModeToFileImageMode", {
|
|
175
181
|
enumerable: true,
|
|
176
182
|
get: function get() {
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.mapMediaItemToFileState = exports.mapMediaFileToFileState = exports.isUploadingFileState = exports.isProcessingFileState = exports.isProcessedFileState = exports.isPreviewableFileState = exports.isNonErrorFinalFileState = exports.isImageRepresentationReady = exports.isFinalFileState = exports.isErrorFileState = void 0;
|
|
7
|
+
exports.mapMediaItemToFileState = exports.mapMediaFileToFileState = exports.isUploadingFileState = exports.isProcessingFileState = exports.isProcessedFileState = exports.isPreviewableFileState = exports.isNonErrorFinalFileState = exports.isImageRepresentationReady = exports.isFinalFileState = exports.isErrorFileState = exports.hasArtifacts = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -29,6 +29,9 @@ var isFinalFileState = exports.isFinalFileState = function isFinalFileState(file
|
|
|
29
29
|
var isNonErrorFinalFileState = exports.isNonErrorFinalFileState = function isNonErrorFinalFileState(fileState) {
|
|
30
30
|
return ['processed', 'failed-processing'].includes(fileState.status);
|
|
31
31
|
};
|
|
32
|
+
var hasArtifacts = exports.hasArtifacts = function hasArtifacts(fileState) {
|
|
33
|
+
return 'artifacts' in fileState && fileState.artifacts !== undefined;
|
|
34
|
+
};
|
|
32
35
|
var isImageRepresentationReady = exports.isImageRepresentationReady = function isImageRepresentationReady(fileState) {
|
|
33
36
|
switch (fileState.status) {
|
|
34
37
|
case 'processing':
|
|
@@ -163,14 +163,14 @@ export class FileFetcherImpl {
|
|
|
163
163
|
});
|
|
164
164
|
_defineProperty(this, "getDurationOfVideo", async (id, collectionName) => {
|
|
165
165
|
const fileState = await this.getOrFetchFileState(id, collectionName);
|
|
166
|
-
if (fileState.status !==
|
|
167
|
-
throw new Error(
|
|
166
|
+
if (fileState.status !== 'processed' || fileState.mediaType !== 'video' || !fileState.artifacts['video.mp4']) {
|
|
167
|
+
throw new Error('File is not a video');
|
|
168
168
|
}
|
|
169
|
-
const aritfactUrl = await this.getArtifactURL(fileState.artifacts,
|
|
169
|
+
const aritfactUrl = await this.getArtifactURL(fileState.artifacts, 'video.mp4');
|
|
170
170
|
const artifactPath = new URL(aritfactUrl).pathname;
|
|
171
171
|
const res = await this.mediaApi.request(artifactPath, {
|
|
172
172
|
headers: {
|
|
173
|
-
Range:
|
|
173
|
+
Range: 'bytes=0-199'
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
|
|
@@ -193,7 +193,7 @@ export class FileFetcherImpl {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
if (mvhdIndex === -1) {
|
|
196
|
-
throw new Error(
|
|
196
|
+
throw new Error('Unable to find mvhd bytes');
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
// Create DataView for reading big-endian integers
|
|
@@ -209,7 +209,7 @@ export class FileFetcherImpl {
|
|
|
209
209
|
const timeScale = dataView.getUint32(start, false);
|
|
210
210
|
const duration = dataView.getUint32(start + 4, false);
|
|
211
211
|
if (timeScale === 0) {
|
|
212
|
-
throw new Error(
|
|
212
|
+
throw new Error('Timescale is invalid');
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
// get the video length in seconds
|
package/dist/es2019/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { UploadController } from './upload-controller';
|
|
|
3
3
|
export { isPreviewableType } from './models/media';
|
|
4
4
|
export { getArtifactUrl } from './models/artifacts';
|
|
5
5
|
export { isMediaClientError, getMediaClientErrorReason, isCommonMediaClientError, toCommonMediaClientError } from './models/errors';
|
|
6
|
-
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState } from './models/file-state';
|
|
6
|
+
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, hasArtifacts } from './models/file-state';
|
|
7
7
|
export { uploadFile } from './uploader';
|
|
8
8
|
export { request, RequestError, isRequestError, isRateLimitedError, createRequestErrorReason } from './utils/request';
|
|
9
9
|
export { isAbortedRequestError, createUrl } from './utils/request/helpers';
|
|
@@ -5,6 +5,7 @@ export const isErrorFileState = fileState => fileState.status === 'error';
|
|
|
5
5
|
export const isPreviewableFileState = fileState => !isErrorFileState(fileState) && !!fileState.preview;
|
|
6
6
|
export const isFinalFileState = fileState => ['processed', 'failed-processing', 'error'].includes(fileState.status);
|
|
7
7
|
export const isNonErrorFinalFileState = fileState => ['processed', 'failed-processing'].includes(fileState.status);
|
|
8
|
+
export const hasArtifacts = fileState => 'artifacts' in fileState && fileState.artifacts !== undefined;
|
|
8
9
|
export const isImageRepresentationReady = fileState => {
|
|
9
10
|
switch (fileState.status) {
|
|
10
11
|
case 'processing':
|
|
@@ -243,21 +243,21 @@ export var FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
243
243
|
return _this.getOrFetchFileState(id, collectionName);
|
|
244
244
|
case 2:
|
|
245
245
|
fileState = _context4.sent;
|
|
246
|
-
if (!(fileState.status !==
|
|
246
|
+
if (!(fileState.status !== 'processed' || fileState.mediaType !== 'video' || !fileState.artifacts['video.mp4'])) {
|
|
247
247
|
_context4.next = 5;
|
|
248
248
|
break;
|
|
249
249
|
}
|
|
250
|
-
throw new Error(
|
|
250
|
+
throw new Error('File is not a video');
|
|
251
251
|
case 5:
|
|
252
252
|
_context4.next = 7;
|
|
253
|
-
return _this.getArtifactURL(fileState.artifacts,
|
|
253
|
+
return _this.getArtifactURL(fileState.artifacts, 'video.mp4');
|
|
254
254
|
case 7:
|
|
255
255
|
aritfactUrl = _context4.sent;
|
|
256
256
|
artifactPath = new URL(aritfactUrl).pathname;
|
|
257
257
|
_context4.next = 11;
|
|
258
258
|
return _this.mediaApi.request(artifactPath, {
|
|
259
259
|
headers: {
|
|
260
|
-
Range:
|
|
260
|
+
Range: 'bytes=0-199'
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
263
|
case 11:
|
|
@@ -307,7 +307,7 @@ export var FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
307
307
|
_context4.next = 36;
|
|
308
308
|
break;
|
|
309
309
|
}
|
|
310
|
-
throw new Error(
|
|
310
|
+
throw new Error('Unable to find mvhd bytes');
|
|
311
311
|
case 36:
|
|
312
312
|
// Create DataView for reading big-endian integers
|
|
313
313
|
dataView = new DataView(arrayBuffer);
|
|
@@ -326,7 +326,7 @@ export var FileFetcherImpl = /*#__PURE__*/function () {
|
|
|
326
326
|
_context4.next = 44;
|
|
327
327
|
break;
|
|
328
328
|
}
|
|
329
|
-
throw new Error(
|
|
329
|
+
throw new Error('Timescale is invalid');
|
|
330
330
|
case 44:
|
|
331
331
|
// get the video length in seconds
|
|
332
332
|
videoLength = Math.floor(duration / timeScale);
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { UploadController } from './upload-controller';
|
|
|
3
3
|
export { isPreviewableType } from './models/media';
|
|
4
4
|
export { getArtifactUrl } from './models/artifacts';
|
|
5
5
|
export { isMediaClientError, getMediaClientErrorReason, isCommonMediaClientError, toCommonMediaClientError } from './models/errors';
|
|
6
|
-
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState } from './models/file-state';
|
|
6
|
+
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, hasArtifacts } from './models/file-state';
|
|
7
7
|
export { uploadFile } from './uploader';
|
|
8
8
|
export { request, RequestError, isRequestError, isRateLimitedError, createRequestErrorReason } from './utils/request';
|
|
9
9
|
export { isAbortedRequestError, createUrl } from './utils/request/helpers';
|
|
@@ -22,6 +22,9 @@ export var isFinalFileState = function isFinalFileState(fileState) {
|
|
|
22
22
|
export var isNonErrorFinalFileState = function isNonErrorFinalFileState(fileState) {
|
|
23
23
|
return ['processed', 'failed-processing'].includes(fileState.status);
|
|
24
24
|
};
|
|
25
|
+
export var hasArtifacts = function hasArtifacts(fileState) {
|
|
26
|
+
return 'artifacts' in fileState && fileState.artifacts !== undefined;
|
|
27
|
+
};
|
|
25
28
|
export var isImageRepresentationReady = function isImageRepresentationReady(fileState) {
|
|
26
29
|
switch (fileState.status) {
|
|
27
30
|
case 'processing':
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type { MediaFileProcessingStatus, MediaType, MediaFile, MediaRepresentati
|
|
|
8
8
|
export { getArtifactUrl } from './models/artifacts';
|
|
9
9
|
export { isMediaClientError, getMediaClientErrorReason, isCommonMediaClientError, toCommonMediaClientError, } from './models/errors';
|
|
10
10
|
export type { MediaClientError, MediaClientErrorReason, MediaClientErrorAttributes, } from './models/errors';
|
|
11
|
-
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, } from './models/file-state';
|
|
11
|
+
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, hasArtifacts, } from './models/file-state';
|
|
12
12
|
export type { FileStatus, PreviewOptions, GetFileOptions, NonErrorFileState, PreviewableFileState, } from './models/file-state';
|
|
13
13
|
export type { FileState, FilePreview, ErrorFileState, UploadingFileState, ProcessingFileState, ProcessedFileState, ProcessingFailedState, MediaFileArtifact, MediaFileArtifacts, } from '@atlaskit/media-state';
|
|
14
14
|
export type { MobileUpload, MobileUploadStartEvent, MobileUploadProgressEvent, MobileUploadEndEvent, MobileUploadErrorEvent, } from './models/mobile-upload';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FileStatus as CommonFileStatus } from '@atlaskit/media-common';
|
|
2
2
|
import { type MediaStoreResponse } from '../client/media-store';
|
|
3
3
|
import { type MediaItemDetails, type MediaFile } from './media';
|
|
4
|
-
import { type FilePreview, type FileState, type ErrorFileState, type UploadingFileState, type ProcessingFileState, type ProcessedFileState, type ProcessingFailedState } from '@atlaskit/media-state';
|
|
4
|
+
import { type FilePreview, type FileState, type ErrorFileState, type UploadingFileState, type ProcessingFileState, type ProcessedFileState, type ProcessingFailedState, type MediaFileArtifacts } from '@atlaskit/media-state';
|
|
5
5
|
export type FileStatus = CommonFileStatus;
|
|
6
6
|
export interface PreviewOptions {
|
|
7
7
|
}
|
|
@@ -23,6 +23,9 @@ export declare const isErrorFileState: (fileState: FileState) => fileState is Er
|
|
|
23
23
|
export declare const isPreviewableFileState: (fileState: FileState) => fileState is (UploadingFileState | ProcessingFileState | ProcessedFileState | ProcessingFailedState) & PreviewableFileState;
|
|
24
24
|
export declare const isFinalFileState: (fileState: FileState) => fileState is ProcessedFileState | ErrorFileState | ProcessingFailedState;
|
|
25
25
|
export declare const isNonErrorFinalFileState: (fileState: FileState) => fileState is ProcessedFileState | ProcessingFailedState;
|
|
26
|
+
export declare const hasArtifacts: (fileState: FileState) => fileState is FileState & {
|
|
27
|
+
artifacts: MediaFileArtifacts;
|
|
28
|
+
};
|
|
26
29
|
export declare const isImageRepresentationReady: (fileState: FileState) => boolean;
|
|
27
30
|
export declare const mapMediaFileToFileState: (mediaFile: MediaStoreResponse<MediaFile>) => FileState;
|
|
28
31
|
export declare const mapMediaItemToFileState: (id: string, item: MediaItemDetails) => FileState;
|
|
@@ -8,7 +8,7 @@ export type { MediaFileProcessingStatus, MediaType, MediaFile, MediaRepresentati
|
|
|
8
8
|
export { getArtifactUrl } from './models/artifacts';
|
|
9
9
|
export { isMediaClientError, getMediaClientErrorReason, isCommonMediaClientError, toCommonMediaClientError, } from './models/errors';
|
|
10
10
|
export type { MediaClientError, MediaClientErrorReason, MediaClientErrorAttributes, } from './models/errors';
|
|
11
|
-
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, } from './models/file-state';
|
|
11
|
+
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, hasArtifacts, } from './models/file-state';
|
|
12
12
|
export type { FileStatus, PreviewOptions, GetFileOptions, NonErrorFileState, PreviewableFileState, } from './models/file-state';
|
|
13
13
|
export type { FileState, FilePreview, ErrorFileState, UploadingFileState, ProcessingFileState, ProcessedFileState, ProcessingFailedState, MediaFileArtifact, MediaFileArtifacts, } from '@atlaskit/media-state';
|
|
14
14
|
export type { MobileUpload, MobileUploadStartEvent, MobileUploadProgressEvent, MobileUploadEndEvent, MobileUploadErrorEvent, } from './models/mobile-upload';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FileStatus as CommonFileStatus } from '@atlaskit/media-common';
|
|
2
2
|
import { type MediaStoreResponse } from '../client/media-store';
|
|
3
3
|
import { type MediaItemDetails, type MediaFile } from './media';
|
|
4
|
-
import { type FilePreview, type FileState, type ErrorFileState, type UploadingFileState, type ProcessingFileState, type ProcessedFileState, type ProcessingFailedState } from '@atlaskit/media-state';
|
|
4
|
+
import { type FilePreview, type FileState, type ErrorFileState, type UploadingFileState, type ProcessingFileState, type ProcessedFileState, type ProcessingFailedState, type MediaFileArtifacts } from '@atlaskit/media-state';
|
|
5
5
|
export type FileStatus = CommonFileStatus;
|
|
6
6
|
export interface PreviewOptions {
|
|
7
7
|
}
|
|
@@ -23,6 +23,9 @@ export declare const isErrorFileState: (fileState: FileState) => fileState is Er
|
|
|
23
23
|
export declare const isPreviewableFileState: (fileState: FileState) => fileState is (UploadingFileState | ProcessingFileState | ProcessedFileState | ProcessingFailedState) & PreviewableFileState;
|
|
24
24
|
export declare const isFinalFileState: (fileState: FileState) => fileState is ProcessedFileState | ErrorFileState | ProcessingFailedState;
|
|
25
25
|
export declare const isNonErrorFinalFileState: (fileState: FileState) => fileState is ProcessedFileState | ProcessingFailedState;
|
|
26
|
+
export declare const hasArtifacts: (fileState: FileState) => fileState is FileState & {
|
|
27
|
+
artifacts: MediaFileArtifacts;
|
|
28
|
+
};
|
|
26
29
|
export declare const isImageRepresentationReady: (fileState: FileState) => boolean;
|
|
27
30
|
export declare const mapMediaFileToFileState: (mediaFile: MediaStoreResponse<MediaFile>) => FileState;
|
|
28
31
|
export declare const mapMediaItemToFileState: (id: string, item: MediaItemDetails) => FileState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "33.
|
|
3
|
+
"version": "33.3.0",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@atlaskit/media-core": "^36.1.0",
|
|
54
|
-
"@atlaskit/media-state": "^1.
|
|
54
|
+
"@atlaskit/media-state": "^1.6.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@atlaskit/media-core": "^36.1.0",
|
|
58
|
-
"@atlaskit/media-state": "^1.
|
|
58
|
+
"@atlaskit/media-state": "^1.6.0",
|
|
59
59
|
"@atlaskit/ssr": "workspace:^",
|
|
60
60
|
"@atlaskit/tokens": "^4.8.0",
|
|
61
61
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|