@go1/go1-embedding-react-sdk 0.0.22 → 0.0.25

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
@@ -107,6 +107,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
107
107
  id: number;
108
108
  experience?: 'manager' | 'learner';
109
109
  startWith1Player?: boolean;
110
+ showFooter?: boolean;
110
111
  }
111
112
 
112
113
  /**
@@ -136,7 +137,15 @@ export interface AdditionalUserInfo {
136
137
  jobTitle: string;
137
138
  }
138
139
 
139
- 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';
140
149
 
141
150
  export interface InitOptions {
142
151
  /** Mandatory identifier for the embedded feature */
package/dist/README.md CHANGED
@@ -107,6 +107,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
107
107
  id: number;
108
108
  experience?: 'manager' | 'learner';
109
109
  startWith1Player?: boolean;
110
+ showFooter?: boolean;
110
111
  }
111
112
 
112
113
  /**
@@ -136,7 +137,15 @@ export interface AdditionalUserInfo {
136
137
  jobTitle: string;
137
138
  }
138
139
 
139
- 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';
140
149
 
141
150
  export interface InitOptions {
142
151
  /** Mandatory identifier for the embedded feature */
@@ -32,6 +32,7 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
32
32
  id: number;
33
33
  experience?: 'manager' | 'learner';
34
34
  startWith1Player?: boolean;
35
+ showFooter?: boolean;
35
36
  }
36
37
  export interface FeatureAttributesWallet extends FeatureAttributeCommon {
37
38
  walletMode: 'setup' | 'main';
@@ -48,7 +49,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
48
49
  export interface AdditionalUserInfo {
49
50
  jobTitle: string;
50
51
  }
51
- 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"];
52
53
  export type FeatureType = (typeof features)[number];
53
54
  export interface InitOptions {
54
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.22",
3
+ "version": "0.0.25",
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": [