@go1/go1-embedding-react-sdk 0.0.75 → 0.0.78

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.
@@ -16,11 +16,11 @@ export interface AdditionalInfoMessage {
16
16
  export interface ThemeInformation {
17
17
  accent: string;
18
18
  }
19
- 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' | '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';
20
- export interface Go1Message {
19
+ 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' | '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';
20
+ export type Go1Message = {
21
21
  type: Go1MessageType;
22
22
  payload?: any;
23
- }
23
+ };
24
24
  export type ExternalExperience = 'manager' | 'learner' | 'role-aware';
25
25
  export interface FeatureAttributeCommon {
26
26
  shouldSuppressPreview?: boolean;
@@ -51,6 +51,7 @@ export interface FeatureAttributesWallet extends FeatureAttributeCommon {
51
51
  }
52
52
  export interface FeatureAttributesBulkUpload extends FeatureAttributeCommon {
53
53
  bulkMode: 'create' | 'update';
54
+ isStandalone?: boolean;
54
55
  }
55
56
  export interface FeatureAttributesContentStatus extends FeatureAttributeCommon {
56
57
  isStandalone?: boolean;
@@ -85,7 +86,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
85
86
  export interface AdditionalUserInfo {
86
87
  jobTitle: string;
87
88
  }
88
- export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "go1-learn/library", "go1-learn/my-learning", "go1-learn/learner-content", "go1-learn/search", "bulk-upload", "content-status", "partner-sales", "home"];
89
+ export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "go1-learn/library", "go1-learn/my-learning", "go1-learn/learner-content", "go1-learn/search", "bulk-upload", "content-status", "partner-sales", "home", "recommendations"];
89
90
  export type FeatureType = (typeof features)[number];
90
91
  export interface InitOptions {
91
92
  feature: FeatureType;
@@ -21,4 +21,5 @@ exports.features = [
21
21
  'content-status',
22
22
  'partner-sales',
23
23
  'home',
24
+ 'recommendations',
24
25
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.75",
3
+ "version": "0.0.78",
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": [