cogito-client 1.0.46 → 1.0.48
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/index.d.ts +3 -1
- package/dist/index.js +2447 -2445
- package/dist/index.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1307,7 +1307,7 @@ export declare type CogitoWebhookPayload = CogitoMessageWebhook | CogitoCallComp
|
|
|
1307
1307
|
|
|
1308
1308
|
export declare type ConnectionState = 'disconnected' | 'connecting' | 'connected' | 'error';
|
|
1309
1309
|
|
|
1310
|
-
export declare function useCogito({ mode, server, configuration, id }: UseCogitoOptions): {
|
|
1310
|
+
export declare function useCogito({ mode, server, configuration, applicationId, tenantId, id }: UseCogitoOptions): {
|
|
1311
1311
|
messages: CogitoMessage[];
|
|
1312
1312
|
connectionState: ConnectionState;
|
|
1313
1313
|
isLoading: boolean;
|
|
@@ -1328,6 +1328,8 @@ declare interface UseCogitoOptions {
|
|
|
1328
1328
|
server: string;
|
|
1329
1329
|
mode: ChatMode;
|
|
1330
1330
|
configuration: string;
|
|
1331
|
+
applicationId: string;
|
|
1332
|
+
tenantId: string;
|
|
1331
1333
|
/** Optional unique identifier for localStorage conversation key.
|
|
1332
1334
|
* When provided, each id gets its own conversation history.
|
|
1333
1335
|
* Without it, all agents share a single global conversation. */
|