@streamscloud/embeddable 6.4.0 → 6.4.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.
@@ -1,10 +1,12 @@
1
1
  import { type IMediaCenterDataProvider } from '../../media-center/data-provider';
2
2
  import type { IPlayerItemsProvider } from '../../ui/player';
3
3
  import { default as ShortVideosPlayer } from './cmp.short-videos-player.svelte';
4
+ import { mapToShortVideosPlayerModel } from './mapper';
4
5
  import type { IShortVideosPlayerLocalization } from './short-videos-player-localization';
5
6
  import { type PlayerSettings, type IShortVideoAnalyticsHandler, type ShortVideoPlayerModel } from './types';
6
7
  export { ShortVideosPlayer, type ShortVideoPlayerModel };
7
8
  export type { IShortVideosPlayerLocalization, IMediaCenterDataProvider, IPlayerItemsProvider, IShortVideoAnalyticsHandler };
9
+ export { mapToShortVideosPlayerModel };
8
10
  /**
9
11
  * Opens the short videos player modal.
10
12
  *
@@ -5,9 +5,11 @@ import { ModalShadowHost } from '../../ui/shadow-dom';
5
5
  import { default as ShortVideosPlayer } from './cmp.short-videos-player.svelte';
6
6
  import { InternalShortVideoAnalyticsHandler } from './internal-short-video-analytics-handler';
7
7
  import { InternalShortVideoPlayerProvider } from './internal-short-video-player-provider';
8
+ import { mapToShortVideosPlayerModel } from './mapper';
8
9
  import {} from './types';
9
10
  import { mount, unmount } from 'svelte';
10
11
  export { ShortVideosPlayer };
12
+ export { mapToShortVideosPlayerModel };
11
13
  export function openShortVideosPlayer(init) {
12
14
  const { shortVideosProvider, ids, graphqlOrigin, initialId, initiator, socialInteractionsHandler, disableBackground, localization, showStreamsCloudWatermark } = init;
13
15
  let dataProvider = shortVideosProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/embeddable",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",