@giosg/pub-sdk
Advanced tools
Comparing version 0.13.2 to 0.13.3
@@ -7,2 +7,6 @@ # Changelog | ||
## 0.13.3 | ||
- Retry to publish npm package | ||
## 0.13.2 | ||
@@ -9,0 +13,0 @@ |
@@ -121,3 +121,3 @@ import { UserUid, OrganizationUid } from "@giosg/types"; | ||
/** Type of the message (default is "user") */ | ||
type?: "user" | "reporting" | "call_request"; | ||
type: "user" | "reporting" | "call_request"; | ||
/** List of channel members to be notified about the message */ | ||
@@ -130,7 +130,7 @@ notify_users?: UserUid[]; | ||
} | ||
interface PubUserMessagePayload extends PubMessageBasePayload { | ||
type?: "user"; | ||
export interface PubUserMessagePayload extends PubMessageBasePayload { | ||
type: "user"; | ||
body: PubMessageBody; | ||
} | ||
interface PubCallRequestPayload extends PubMessageBasePayload { | ||
export interface PubCallRequestPayload extends PubMessageBasePayload { | ||
type: "call_request"; | ||
@@ -166,2 +166,7 @@ body: CallRequestBody; | ||
} | ||
export interface VoiceChunk { | ||
type: "voice"; | ||
url: string; | ||
duration: number; | ||
} | ||
export interface VideoChunk { | ||
@@ -177,3 +182,3 @@ type: "video"; | ||
export declare type ChunkV2 = TextChunk; | ||
export declare type ChunkV3 = TextChunk | AudioChunk | VideoChunk | FileChunk | ImageChunk | LinkChunk; | ||
export declare type ChunkV3 = TextChunk | AudioChunk | VoiceChunk | VideoChunk | FileChunk | ImageChunk | LinkChunk; | ||
export interface ExternalViewV1 { | ||
@@ -180,0 +185,0 @@ /** Link to external content source */ |
@@ -1,3 +0,3 @@ | ||
export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubMessagePayload, ChannelPayload, TextChunk, AudioChunk, FileChunk, ImageChunk, LinkChunk, VideoChunk, ChunkV2, ChunkV3, PubMessageBody, PubMessageBodyV1, PubMessageBodyV2, PubMessageBodyV3, } from "./groupchats"; | ||
export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubCallRequestPayload, PubUserMessagePayload, PubMessagePayload, ChannelPayload, TextChunk, AudioChunk, VoiceChunk, FileChunk, ImageChunk, LinkChunk, VideoChunk, ChunkV2, ChunkV3, ExternalViewV1, PubMessageBody, PubMessageBodyV1, PubMessageBodyV2, PubMessageBodyV3, CallRequestBody, } from "./groupchats"; | ||
export { BasePubSdk } from "./sdk"; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@giosg/pub-sdk", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"description": "TypeScript interfaces for Giosg Pub", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
29072
371
0