@go1/go1-embedding-react-sdk 0.0.58 → 0.0.59
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
|
@@ -105,6 +105,7 @@ export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
|
|
|
105
105
|
existingSkills?: string[]; // max items 7, any more are discarded
|
|
106
106
|
desiredSkills?: string[]; // max items 7, any more are discarded
|
|
107
107
|
desiredRole?: string; // e.g. "Senior Account Manager"
|
|
108
|
+
showFooter?: boolean // Whether to show/hide the footer, defaults to true
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/**
|
package/dist/README.md
CHANGED
|
@@ -105,6 +105,7 @@ export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
|
|
|
105
105
|
existingSkills?: string[]; // max items 7, any more are discarded
|
|
106
106
|
desiredSkills?: string[]; // max items 7, any more are discarded
|
|
107
107
|
desiredRole?: string; // e.g. "Senior Account Manager"
|
|
108
|
+
showFooter?: boolean // Whether to show/hide the footer, defaults to true
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/**
|
package/dist/common/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type IframesMap = {
|
|
|
4
4
|
[key: string]: HTMLIFrameElement;
|
|
5
5
|
};
|
|
6
6
|
export interface AdditionalInfoMessage {
|
|
7
|
+
feature: FeatureType;
|
|
7
8
|
additionalUserInfo?: AdditionalUserInfo;
|
|
8
9
|
featureAttributes?: FeatureAttributes;
|
|
9
10
|
themeInformation?: ThemeInformation;
|
|
@@ -38,6 +39,7 @@ export interface FeatureAttributesAIChat extends FeatureAttributesPreviewCommon
|
|
|
38
39
|
existingSkills?: string[];
|
|
39
40
|
desiredSkills?: string[];
|
|
40
41
|
desiredRole?: string;
|
|
42
|
+
showFooter?: boolean;
|
|
41
43
|
}
|
|
42
44
|
export interface FeatureAttributesPreview extends FeatureAttributesPreviewCommon {
|
|
43
45
|
id: number;
|
|
@@ -39,6 +39,7 @@ function useGo1ContentView(props) {
|
|
|
39
39
|
featureAttributes,
|
|
40
40
|
integrationSystemId,
|
|
41
41
|
presentingIntegrationSystemId,
|
|
42
|
+
feature,
|
|
42
43
|
};
|
|
43
44
|
sendMessageToGo1({
|
|
44
45
|
type: 'set_additional_embedding_data',
|
|
@@ -59,6 +60,7 @@ function useGo1ContentView(props) {
|
|
|
59
60
|
presentingIntegrationSystemId,
|
|
60
61
|
sendMessageToGo1,
|
|
61
62
|
onGo1MessageReceived,
|
|
63
|
+
feature,
|
|
62
64
|
]);
|
|
63
65
|
(0, react_1.useEffect)(() => {
|
|
64
66
|
window.addEventListener('message', eventListenerInstance);
|