cogito-client 1.0.21 → 1.0.23
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 +6 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -428,6 +428,11 @@ export declare interface CogitoMessagePayload {
|
|
|
428
428
|
message: CogitoMessage;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
+
export declare interface CogitoModePayload {
|
|
432
|
+
type: "mode";
|
|
433
|
+
newMode: "chat" | "voice";
|
|
434
|
+
}
|
|
435
|
+
|
|
431
436
|
export declare interface CogitoOptionListSurface {
|
|
432
437
|
type: "option-list";
|
|
433
438
|
state: {
|
|
@@ -550,7 +555,7 @@ export declare interface CogitoParameterSliderSurface {
|
|
|
550
555
|
/**
|
|
551
556
|
* Messages sent between LiveKit and Client
|
|
552
557
|
*/
|
|
553
|
-
export declare type CogitoPayload = CogitoReadyPayload | CogitoMessagePayload | CogitoSurfaceActionPayload | CogitoSurfaceUpdatePayload;
|
|
558
|
+
export declare type CogitoPayload = CogitoReadyPayload | CogitoMessagePayload | CogitoSurfaceActionPayload | CogitoSurfaceUpdatePayload | CogitoModePayload;
|
|
554
559
|
|
|
555
560
|
export declare interface CogitoPlanSurface {
|
|
556
561
|
type: "plan";
|