@atlaskit/media-client 14.3.0 → 14.3.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/CHANGELOG.md +10 -0
- package/dist/cjs/client/media-client.js +2 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/client/media-client.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/client/media-client.js +2 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/polling/errors.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 14.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`586b7869085`](https://bitbucket.org/atlassian/atlassian-frontend/commits/586b7869085) - Pass initialAuth to MediaStore
|
|
8
|
+
- [`dc1f9d42903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc1f9d42903) - Updated typeguard
|
|
9
|
+
- [`f461edcfd05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f461edcfd05) - Update CardLoader to use react-loadable
|
|
10
|
+
Add SSR feature prop to be passed in renderer and media card
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 14.3.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -39,7 +39,8 @@ var MediaClient = /*#__PURE__*/function () {
|
|
|
39
39
|
this.mediaClientConfig = mediaClientConfig;
|
|
40
40
|
this.featureFlags = featureFlags;
|
|
41
41
|
this.mediaStore = new _mediaStore.MediaStore({
|
|
42
|
-
authProvider: mediaClientConfig.authProvider
|
|
42
|
+
authProvider: mediaClientConfig.authProvider,
|
|
43
|
+
initialAuth: mediaClientConfig.initialAuth
|
|
43
44
|
}, featureFlags);
|
|
44
45
|
this.config = mediaClientConfig;
|
|
45
46
|
this.collection = new _collectionFetcher.CollectionFetcher(this.mediaStore);
|
package/dist/cjs/version.json
CHANGED
|
@@ -10,7 +10,8 @@ export class MediaClient {
|
|
|
10
10
|
this.mediaClientConfig = mediaClientConfig;
|
|
11
11
|
this.featureFlags = featureFlags;
|
|
12
12
|
this.mediaStore = new MediaStore({
|
|
13
|
-
authProvider: mediaClientConfig.authProvider
|
|
13
|
+
authProvider: mediaClientConfig.authProvider,
|
|
14
|
+
initialAuth: mediaClientConfig.initialAuth
|
|
14
15
|
}, featureFlags);
|
|
15
16
|
this.config = mediaClientConfig;
|
|
16
17
|
this.collection = new CollectionFetcher(this.mediaStore);
|
package/dist/es2019/version.json
CHANGED
|
@@ -16,7 +16,8 @@ export var MediaClient = /*#__PURE__*/function () {
|
|
|
16
16
|
this.mediaClientConfig = mediaClientConfig;
|
|
17
17
|
this.featureFlags = featureFlags;
|
|
18
18
|
this.mediaStore = new MediaStore({
|
|
19
|
-
authProvider: mediaClientConfig.authProvider
|
|
19
|
+
authProvider: mediaClientConfig.authProvider,
|
|
20
|
+
initialAuth: mediaClientConfig.initialAuth
|
|
20
21
|
}, featureFlags);
|
|
21
22
|
this.config = mediaClientConfig;
|
|
22
23
|
this.collection = new CollectionFetcher(this.mediaStore);
|
package/dist/esm/version.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { isFileIdentifier, isExternalImageIdentifier, isDifferentIdentifier, } f
|
|
|
41
41
|
export type { Identifier, FileIdentifier, ExternalImageIdentifier, } from './identifier';
|
|
42
42
|
export type { EventPayloadListener, UploadEventPayloadMap, MediaViewedEventPayload, } from './client/events';
|
|
43
43
|
export { withMediaClient, getMediaClient } from './utils/with-media-client-hoc';
|
|
44
|
-
export type { WithMediaClientConfig, WithMediaClientConfigProps, } from './utils/with-media-client-hoc';
|
|
44
|
+
export type { WithMediaClientConfig, WithMediaClientConfigProps, WithMediaClientFunction, } from './utils/with-media-client-hoc';
|
|
45
45
|
export { globalMediaEventEmitter } from './globalMediaEventEmitter';
|
|
46
46
|
export { isMediaBlobUrl, getAttrsFromUrl, addFileAttrsToUrl, objectToQueryString, } from './utils/url';
|
|
47
47
|
export type { MediaBlobUrlAttrs } from './utils/url';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.1",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/chunkinator": "^3.0.0",
|
|
31
|
-
"@atlaskit/media-common": "^2.
|
|
31
|
+
"@atlaskit/media-common": "^2.10.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"dataloader": "^2.0.0",
|
|
34
34
|
"deep-equal": "^1.0.1",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@atlaskit/build-utils": "*",
|
|
52
52
|
"@atlaskit/button": "^16.1.0",
|
|
53
53
|
"@atlaskit/docs": "*",
|
|
54
|
-
"@atlaskit/media-card": "^72.
|
|
54
|
+
"@atlaskit/media-card": "^72.1.0",
|
|
55
55
|
"@atlaskit/media-core": "^32.2.0",
|
|
56
|
-
"@atlaskit/media-test-helpers": "^28.
|
|
56
|
+
"@atlaskit/media-test-helpers": "^28.9.0",
|
|
57
57
|
"@atlaskit/ssr": "*",
|
|
58
58
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
59
59
|
"@types/deep-equal": "^1.0.1",
|