@go1/go1-embedding-react-sdk 0.0.31 → 0.0.33

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
@@ -139,8 +139,7 @@ export type FeatureAttributes =
139
139
  | FeatureAttributesPreview
140
140
  | FeatureAttributesWallet
141
141
  | FeatureAttributesLibrary
142
- | FeatureAttributesSearch
143
- | FeatureAttributesLearnerSearch;
142
+ | FeatureAttributesSearch;
144
143
 
145
144
  export interface AdditionalUserInfo {
146
145
  jobTitle: string;
@@ -153,7 +152,6 @@ export type FeatureType =
153
152
  | 'library'
154
153
  | 'search'
155
154
  | 'wallet'
156
- | 'learner-search'
157
155
  | 'content-retirement';
158
156
 
159
157
  export interface InitOptions {
package/dist/README.md CHANGED
@@ -139,8 +139,7 @@ export type FeatureAttributes =
139
139
  | FeatureAttributesPreview
140
140
  | FeatureAttributesWallet
141
141
  | FeatureAttributesLibrary
142
- | FeatureAttributesSearch
143
- | FeatureAttributesLearnerSearch;
142
+ | FeatureAttributesSearch;
144
143
 
145
144
  export interface AdditionalUserInfo {
146
145
  jobTitle: string;
@@ -153,7 +152,6 @@ export type FeatureType =
153
152
  | 'library'
154
153
  | 'search'
155
154
  | 'wallet'
156
- | 'learner-search'
157
155
  | 'content-retirement';
158
156
 
159
157
  export interface InitOptions {
@@ -20,7 +20,11 @@ interface FeatureAttributeCommon {
20
20
  shouldSuppressPreview?: boolean;
21
21
  testFlag?: 'beta';
22
22
  }
23
- export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
23
+ interface FeatureAttributesPreviewCommon extends FeatureAttributeCommon {
24
+ startWith1Player?: boolean;
25
+ showFooter?: boolean;
26
+ }
27
+ export interface FeatureAttributesAIChat extends FeatureAttributesPreviewCommon {
24
28
  experience: 'manager' | 'learner';
25
29
  intent?: 'skill_gap' | 'improve_skills' | 'next_role' | 'aspirations';
26
30
  message?: string;
@@ -28,11 +32,9 @@ export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
28
32
  desiredSkills?: string[];
29
33
  desiredRole?: string;
30
34
  }
31
- export interface FeatureAttributesPreview extends FeatureAttributeCommon {
35
+ export interface FeatureAttributesPreview extends FeatureAttributesPreviewCommon {
32
36
  id: number;
33
37
  experience?: 'manager' | 'learner';
34
- startWith1Player?: boolean;
35
- showFooter?: boolean;
36
38
  }
37
39
  export interface FeatureAttributesWallet extends FeatureAttributeCommon {
38
40
  walletMode: 'setup' | 'main';
@@ -42,21 +44,23 @@ export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
42
44
  isGo1MobileApp?: boolean;
43
45
  experience?: 'learner';
44
46
  }
45
- export interface FeatureAttributesLibrary extends FeatureAttributeCommon, FeatureAttributesRetirement {
47
+ export interface FeatureAttributesLibrary extends FeatureAttributesPreviewCommon, FeatureAttributesRetirement {
46
48
  libraryEmptyStateDescription?: string;
47
49
  shouldShowLibraryTabs?: boolean;
48
50
  }
49
- export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
51
+ export interface FeatureAttributesRetirement extends FeatureAttributesPreviewCommon {
50
52
  shouldShowAlternativesSearchButton?: boolean;
51
53
  shouldShowNotificationEmailRegisterSwitch?: boolean;
52
54
  }
53
- export interface FeatureAttributesSearch extends FeatureAttributeCommon {
55
+ export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon {
56
+ }
57
+ export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
54
58
  }
55
- export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesLearnerSearch;
59
+ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch;
56
60
  export interface AdditionalUserInfo {
57
61
  jobTitle: string;
58
62
  }
59
- export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "learner-search", "content-retirement"];
63
+ export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement"];
60
64
  export type FeatureType = (typeof features)[number];
61
65
  export interface InitOptions {
62
66
  feature: FeatureType;
@@ -8,6 +8,5 @@ exports.features = [
8
8
  'library',
9
9
  'search',
10
10
  'wallet',
11
- 'learner-search',
12
11
  'content-retirement',
13
12
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
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": [