Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vivocha/public-types

Package Overview
Dependencies
Maintainers
25
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivocha/public-types - npm Package Compare versions

Comparing version 1.1.1-gaia.4 to 1.1.1-gaia.5

15

dist/message.d.ts

@@ -71,2 +71,6 @@ import { Encryptable } from './encryptable';

}
export declare type MessageMetadata = {
can_create?: boolean;
[key: string]: any;
};
export interface GenericMessage extends VvcRawMessage {

@@ -85,12 +89,13 @@ code: 'message';

modal?: boolean;
meta?: MessageMetadata;
}
export interface SpeechToTextMessage extends GenericMessage {
export interface SpeechToTextMessage extends TextMessage {
type: 'text';
body: string;
meta?: any;
meta?: MessageMetadata;
}
export interface TextToSpeechMessage extends GenericMessage {
export interface TextToSpeechMessage extends TextMessage {
type: 'text';
body: string;
meta?: any;
meta?: MessageMetadata;
}

@@ -198,3 +203,3 @@ export interface TemplateType {

}
export declare type Message = TextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage | Ai.Request | Ai.Response;
export declare type Message = TextMessage | TextToSpeechMessage | SpeechToTextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage | Ai.Request | Ai.Response;
export declare type MessageExt = Message | JoinRawMessage | LeaveRawMessage | TransferRawMessage | DataRawMessage | PingRawMessage | EventRawMessage;

@@ -201,0 +206,0 @@ export interface GenericEvent {

{
"name": "@vivocha/public-types",
"version": "1.1.1-gaia.4",
"version": "1.1.1-gaia.5",
"description": "Vivocha public types",

@@ -25,3 +25,3 @@ "main": "dist/index.js",

},
"gitHead": "f3e3bb85bd1be13921f1091b1d2d64983dcd957e"
"gitHead": "5816cca1ac5387cd9ee19b0bb227a1ddc938e4ad"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc