@voxket-ai/voxket-live 1.1.33 → 1.1.35
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/dist/components/widget.d.ts +6 -2
- package/dist/core/connection-manager.d.ts +3 -2
- package/dist/index.cjs +44 -44
- package/dist/index.css +1 -1
- package/dist/index.js +4588 -4548
- package/dist/types/core.d.ts +6 -4
- package/package.json +1 -1
- package/dist/shopify-entry.d.ts +0 -44
|
@@ -7,8 +7,12 @@ export interface VoxketWidgetProps {
|
|
|
7
7
|
agentId: string;
|
|
8
8
|
participantName?: string;
|
|
9
9
|
baseUrl: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
/** App secret (not required if authToken is provided) */
|
|
11
|
+
appSecret?: string;
|
|
12
|
+
/** App ID (not required if authToken is provided) */
|
|
13
|
+
appId?: string;
|
|
14
|
+
/** Pre-generated auth token from your backend (recommended for production) */
|
|
15
|
+
authToken?: string;
|
|
12
16
|
className?: string;
|
|
13
17
|
prompts?: string[];
|
|
14
18
|
statusMessage?: string;
|
|
@@ -3,8 +3,9 @@ import { VoxketEventEmitter } from './event-emitter';
|
|
|
3
3
|
import { VoxketEvents, AgentInfo, ParticipantInfo, SessionModality } from '../types/core';
|
|
4
4
|
export interface ConnectionConfig {
|
|
5
5
|
baseUrl: string;
|
|
6
|
-
appId
|
|
7
|
-
appSecret
|
|
6
|
+
appId?: string;
|
|
7
|
+
appSecret?: string;
|
|
8
|
+
authToken?: string;
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
11
|
* ConnectionManager
|