guideai-app 0.3.1 → 0.3.3
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 +13 -2
- package/dist/GuideAI.js +1 -1
- package/dist/GuideAI.js.map +1 -1
- package/dist/components/TranscriptBox.d.ts +1 -1
- package/dist/metric/metadata-tracker.d.ts +4 -1
- package/package.json +1 -1
- package/components/Styles.d.ts +0 -3
- package/types/index.d.ts +0 -24
|
@@ -13,5 +13,5 @@ interface TranscriptBoxProps {
|
|
|
13
13
|
onTextKeyPress?: (event: React.KeyboardEvent) => void;
|
|
14
14
|
textPlaceholder?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const TranscriptBox: React.
|
|
16
|
+
declare const TranscriptBox: React.NamedExoticComponent<TranscriptBoxProps>;
|
|
17
17
|
export default TranscriptBox;
|
|
@@ -7,10 +7,13 @@ declare class UserMetadataTracker {
|
|
|
7
7
|
private isInitialized;
|
|
8
8
|
private onError?;
|
|
9
9
|
constructor(organizationKey: string, config?: MetadataConfig, onError?: (error: Error, context: string) => void);
|
|
10
|
-
|
|
10
|
+
init(): void;
|
|
11
11
|
updateUserInfo(userInfo: Partial<UserMetadata>): void;
|
|
12
12
|
trackLogin(additionalInfo?: Partial<UserMetadata>): void;
|
|
13
|
+
private trackVisitOncePerSession;
|
|
13
14
|
trackVisit(): void;
|
|
15
|
+
resetSessionVisitTracking(): void;
|
|
16
|
+
trackVisitManually(): void;
|
|
14
17
|
trackCustomEvent(eventType: string, customData: Record<string, any>): void;
|
|
15
18
|
getMetadata(): UserMetadata;
|
|
16
19
|
getPendingUpdates(): MetadataUpdate[];
|
package/package.json
CHANGED
package/components/Styles.d.ts
DELETED
package/types/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface ConversationItem {
|
|
2
|
-
event_id?: string;
|
|
3
|
-
type: string;
|
|
4
|
-
previous_item_id: string | null;
|
|
5
|
-
item: Record<string, any>;
|
|
6
|
-
timestamp: number;
|
|
7
|
-
}
|
|
8
|
-
export type RecordingStatus = 'idle' | 'recording' | 'processing' | 'playing' | 'initializing';
|
|
9
|
-
export interface GuideAIProps {
|
|
10
|
-
apiKey?: string;
|
|
11
|
-
organizationKey: string;
|
|
12
|
-
position?: {
|
|
13
|
-
top?: string;
|
|
14
|
-
right?: string;
|
|
15
|
-
bottom?: string;
|
|
16
|
-
left?: string;
|
|
17
|
-
marginTop?: string;
|
|
18
|
-
marginRight?: string;
|
|
19
|
-
marginBottom?: string;
|
|
20
|
-
marginLeft?: string;
|
|
21
|
-
transform?: string;
|
|
22
|
-
};
|
|
23
|
-
onError?: (error: string | Error, context?: string) => void;
|
|
24
|
-
}
|