@go1/go1-embedding-react-sdk 0.4.0 → 0.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @go1/go1-embedding-react-sdk
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - New featureAttributes for Select Welcome Modal and Recommendation
8
+ - new Go1MessageType 'contact_go1_navigation'
9
+ - Add new feature auth-clients
10
+
11
+ ### Patch Changes
12
+
13
+ - Add new message library_content_added
14
+ - Remove message elysium_modal_open and elysium_modal_close
15
+ - Adding shouldSuppressBookmark and shouldSuppressPlaylistAdministration to featureAttributes, allowing partners to hide the bookmark and playlist functionality
16
+
3
17
  ## 0.4.0
4
18
 
5
19
  ### Minor Changes
@@ -19,7 +19,7 @@ export interface ThemeInformation {
19
19
  export interface ThemeInformationElysium {
20
20
  brandColor: string;
21
21
  }
22
- export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'set_access_token' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'elysium_modal_open' | 'elysium_modal_close' | 'play_content' | 'go1pay_custom_data' | 'bulk_upload_content' | 'bulk_upload_metadata' | 'bulk_upload_close' | 'contact_go1_navigation' | 'library_content_added';
22
+ export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'set_access_token' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'play_content' | 'go1pay_custom_data' | 'bulk_upload_content' | 'bulk_upload_metadata' | 'bulk_upload_close' | 'contact_go1_navigation' | 'library_content_added';
23
23
  interface Go1MessageUpdateExperience {
24
24
  type: 'update_experience';
25
25
  payload: {
@@ -36,6 +36,8 @@ export interface FeatureAttributeCommon {
36
36
  shouldSuppressPreview?: boolean;
37
37
  shouldSuppressOpeningPlayer?: boolean;
38
38
  shouldShowSelectWelcomeModal?: boolean;
39
+ shouldSuppressBookmark?: boolean;
40
+ shouldSuppressPlaylistAdministration?: boolean;
39
41
  experience?: ExternalExperience;
40
42
  contentScope?: 'subscription' | 'library';
41
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "A React library to embed Go1 content into your website.",
5
5
  "main": "dist/go1-embedding-react-sdk/src/index.js",
6
6
  "files": [