@go1/go1-embedding-react-sdk 0.9.1 → 0.9.3

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/README.md CHANGED
@@ -170,10 +170,6 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
170
170
  export interface FeatureAttributesSearch extends FeatureAttributeCommon {
171
171
  searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
172
172
  }
173
- export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
174
- playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
175
- }
176
-
177
173
  export interface FeatureAttributesProspect {
178
174
  isProspectExperience?: boolean;
179
175
  }
@@ -198,7 +194,6 @@ export type FeatureAttributes =
198
194
  | FeatureAttributesWallet
199
195
  | FeatureAttributesLibrary
200
196
  | FeatureAttributesSearch
201
- | FeatureAttributesMyPlaylists
202
197
  | FeatureAttributesRecommendations;
203
198
 
204
199
  export interface AdditionalUserInfo {
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @go1/go1-embedding-react-sdk
2
2
 
3
+ ## 0.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove the deprecated internal `library` SDK feature.
8
+
9
+ ## 0.9.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Remove the deprecated standalone `my-playlists` SDK feature and attributes
14
+
3
15
  ## 0.9.1
4
16
 
5
17
  ### Patch Changes
package/dist/README.md CHANGED
@@ -170,10 +170,6 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
170
170
  export interface FeatureAttributesSearch extends FeatureAttributeCommon {
171
171
  searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
172
172
  }
173
- export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
174
- playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
175
- }
176
-
177
173
  export interface FeatureAttributesProspect {
178
174
  isProspectExperience?: boolean;
179
175
  }
@@ -198,7 +194,6 @@ export type FeatureAttributes =
198
194
  | FeatureAttributesWallet
199
195
  | FeatureAttributesLibrary
200
196
  | FeatureAttributesSearch
201
- | FeatureAttributesMyPlaylists
202
197
  | FeatureAttributesRecommendations;
203
198
 
204
199
  export interface AdditionalUserInfo {
@@ -100,9 +100,6 @@ export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon
100
100
  }
101
101
  export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
102
102
  }
103
- export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
104
- playlistId?: number;
105
- }
106
103
  export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
107
104
  contentId?: number;
108
105
  selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
@@ -121,11 +118,11 @@ export type SearchLearningObjectsOptions = {
121
118
  sort?: string;
122
119
  };
123
120
  export type FeatureAttributesRecommendations = Omit<FeatureAttributesGo1LearnSearch, 'searchProvider'> & SearchLearningObjectsOptions;
124
- export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyPlaylists | FeatureAttributesMyLearning | FeatureAttributesBulkUpload | FeatureAttributesContentStatus | FeatureAttributesGo1LearnSearch | FeatureAttributesRecommendations;
121
+ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyLearning | FeatureAttributesBulkUpload | FeatureAttributesContentStatus | FeatureAttributesGo1LearnSearch | FeatureAttributesRecommendations;
125
122
  export interface AdditionalUserInfo {
126
123
  jobTitle: string;
127
124
  }
128
- export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "bulk-upload", "content-hub", "content-retirement", "content-status", "library", "my-playlists", "partner-sales", "preview", "recommendations", "search", "wallet"];
125
+ export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "bulk-upload", "content-hub", "content-retirement", "content-status", "partner-sales", "preview", "recommendations", "search", "wallet"];
129
126
  export type FeatureType = Exclude<(typeof features)[number], 'content-hub'> | 'content-hub';
130
127
  export interface InitOptions {
131
128
  feature: FeatureType;
@@ -15,8 +15,6 @@ exports.features = [
15
15
  'content-hub',
16
16
  'content-retirement',
17
17
  'content-status',
18
- 'library',
19
- 'my-playlists',
20
18
  'partner-sales',
21
19
  'preview',
22
20
  'recommendations',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
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": [