@go1/go1-embedding-react-sdk 0.9.0 → 0.9.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/README.md CHANGED
@@ -174,11 +174,6 @@ export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCo
174
174
  playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
175
175
  }
176
176
 
177
- export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
178
- contentId?: number; // If the embedding my-learning feature includes a content id, the app will initialize with the specified content page.
179
- selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
180
- }
181
-
182
177
  export interface FeatureAttributesProspect {
183
178
  isProspectExperience?: boolean;
184
179
  }
@@ -204,7 +199,6 @@ export type FeatureAttributes =
204
199
  | FeatureAttributesLibrary
205
200
  | FeatureAttributesSearch
206
201
  | FeatureAttributesMyPlaylists
207
- | FeatureAttributesMyLearning
208
202
  | FeatureAttributesRecommendations;
209
203
 
210
204
  export interface AdditionalUserInfo {
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @go1/go1-embedding-react-sdk
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Update the SDK documentation to remove the legacy standalone My Learning attributes
8
+
3
9
  ## 0.9.0
4
10
 
5
11
  ### Minor Changes
package/dist/README.md CHANGED
@@ -174,11 +174,6 @@ export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCo
174
174
  playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
175
175
  }
176
176
 
177
- export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
178
- contentId?: number; // If the embedding my-learning feature includes a content id, the app will initialize with the specified content page.
179
- selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
180
- }
181
-
182
177
  export interface FeatureAttributesProspect {
183
178
  isProspectExperience?: boolean;
184
179
  }
@@ -204,7 +199,6 @@ export type FeatureAttributes =
204
199
  | FeatureAttributesLibrary
205
200
  | FeatureAttributesSearch
206
201
  | FeatureAttributesMyPlaylists
207
- | FeatureAttributesMyLearning
208
202
  | FeatureAttributesRecommendations;
209
203
 
210
204
  export interface AdditionalUserInfo {
@@ -125,7 +125,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
125
125
  export interface AdditionalUserInfo {
126
126
  jobTitle: string;
127
127
  }
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-learning", "my-playlists", "partner-sales", "preview", "recommendations", "search", "wallet"];
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"];
129
129
  export type FeatureType = Exclude<(typeof features)[number], 'content-hub'> | 'content-hub';
130
130
  export interface InitOptions {
131
131
  feature: FeatureType;
@@ -16,7 +16,6 @@ exports.features = [
16
16
  'content-retirement',
17
17
  'content-status',
18
18
  'library',
19
- 'my-learning',
20
19
  'my-playlists',
21
20
  'partner-sales',
22
21
  'preview',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
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": [