@go1/go1-embedding-react-sdk 0.0.21 → 0.0.24

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,6 +85,7 @@ export interface Go1Message {
85
85
 
86
86
  interface FeatureAttributeCommon {
87
87
  shouldSuppressPreview?: boolean;
88
+ testFlag?: 'beta';
88
89
  }
89
90
 
90
91
  /**
@@ -106,6 +107,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
106
107
  id: number;
107
108
  experience?: 'manager' | 'learner';
108
109
  startWith1Player?: boolean;
110
+ showFooter?: boolean;
109
111
  }
110
112
 
111
113
  /**
@@ -135,7 +137,15 @@ export interface AdditionalUserInfo {
135
137
  jobTitle: string;
136
138
  }
137
139
 
138
- export type FeatureType = 'ai-chat' | 'content-hub' | 'preview' | 'library' | 'search' | 'wallet' | 'learner-search';
140
+ export type FeatureType =
141
+ | 'ai-chat'
142
+ | 'content-hub'
143
+ | 'preview'
144
+ | 'library'
145
+ | 'search'
146
+ | 'wallet'
147
+ | 'learner-search'
148
+ | 'content-retirement';
139
149
 
140
150
  export interface InitOptions {
141
151
  /** Mandatory identifier for the embedded feature */
package/dist/README.md CHANGED
@@ -85,6 +85,7 @@ export interface Go1Message {
85
85
 
86
86
  interface FeatureAttributeCommon {
87
87
  shouldSuppressPreview?: boolean;
88
+ testFlag?: 'beta';
88
89
  }
89
90
 
90
91
  /**
@@ -106,6 +107,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
106
107
  id: number;
107
108
  experience?: 'manager' | 'learner';
108
109
  startWith1Player?: boolean;
110
+ showFooter?: boolean;
109
111
  }
110
112
 
111
113
  /**
@@ -135,7 +137,15 @@ export interface AdditionalUserInfo {
135
137
  jobTitle: string;
136
138
  }
137
139
 
138
- export type FeatureType = 'ai-chat' | 'content-hub' | 'preview' | 'library' | 'search' | 'wallet' | 'learner-search';
140
+ export type FeatureType =
141
+ | 'ai-chat'
142
+ | 'content-hub'
143
+ | 'preview'
144
+ | 'library'
145
+ | 'search'
146
+ | 'wallet'
147
+ | 'learner-search'
148
+ | 'content-retirement';
139
149
 
140
150
  export interface InitOptions {
141
151
  /** Mandatory identifier for the embedded feature */
@@ -18,6 +18,7 @@ export interface Go1Message {
18
18
  }
19
19
  interface FeatureAttributeCommon {
20
20
  shouldSuppressPreview?: boolean;
21
+ testFlag?: 'beta';
21
22
  }
22
23
  export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
23
24
  experience: 'manager' | 'learner';
@@ -31,6 +32,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
31
32
  id: number;
32
33
  experience?: 'manager' | 'learner';
33
34
  startWith1Player?: boolean;
35
+ showFooter?: boolean;
34
36
  }
35
37
  export interface FeatureAttributesWallet extends FeatureAttributeCommon {
36
38
  walletMode: 'setup' | 'main';
@@ -47,7 +49,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
47
49
  export interface AdditionalUserInfo {
48
50
  jobTitle: string;
49
51
  }
50
- export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "learner-search"];
52
+ export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "learner-search", "content-retirement"];
51
53
  export type FeatureType = (typeof features)[number];
52
54
  export interface InitOptions {
53
55
  feature: FeatureType;
@@ -1,4 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.features = void 0;
4
- exports.features = ['ai-chat', 'content-hub', 'preview', 'library', 'search', 'wallet', 'learner-search'];
4
+ exports.features = [
5
+ 'ai-chat',
6
+ 'content-hub',
7
+ 'preview',
8
+ 'library',
9
+ 'search',
10
+ 'wallet',
11
+ 'learner-search',
12
+ 'content-retirement',
13
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.21",
3
+ "version": "0.0.24",
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": [