@go1/go1-embedding-react-sdk 0.0.32 → 0.0.34

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
@@ -85,7 +85,7 @@ export interface Go1Message {
85
85
 
86
86
  interface FeatureAttributeCommon {
87
87
  shouldSuppressPreview?: boolean;
88
- testFlag?: 'beta';
88
+ shouldShowGo1FeedbackButton?: boolean;
89
89
  }
90
90
 
91
91
  /**
package/dist/README.md CHANGED
@@ -85,7 +85,7 @@ export interface Go1Message {
85
85
 
86
86
  interface FeatureAttributeCommon {
87
87
  shouldSuppressPreview?: boolean;
88
- testFlag?: 'beta';
88
+ shouldShowGo1FeedbackButton?: boolean;
89
89
  }
90
90
 
91
91
  /**
@@ -18,9 +18,13 @@ export interface Go1Message {
18
18
  }
19
19
  interface FeatureAttributeCommon {
20
20
  shouldSuppressPreview?: boolean;
21
- testFlag?: 'beta';
21
+ shouldShowGo1FeedbackButton?: boolean;
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,15 +44,17 @@ 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
59
  export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch;
56
60
  export interface AdditionalUserInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
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": [