New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@giosg/pub-sdk

Package Overview
Dependencies
Maintainers
10
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/pub-sdk - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Changelog

## 0.16.0
- Add `callId` to the `CallRequestBody` interface.
- Add `call_leave` message type for implementing call end.
## 0.15.0

@@ -9,0 +14,0 @@

18

lib/groupchats.d.ts

@@ -59,3 +59,3 @@ import { UserUid, OrganizationUid } from "@giosg/types";

}
export declare type PubMessage = PubUserMessage | PubCallRequestMessage | PubReportingMessage;
export declare type PubMessage = PubUserMessage | PubCallRequestMessage | PubCallLeaveMessage | PubReportingMessage;
interface PubBaseMessage {

@@ -65,3 +65,3 @@ /** Unique identifier of the message */

/** Type of the message */
type: "user" | "call_request" | "reporting";
type: "user" | "call_request" | "call_leave" | "reporting";
/** Unique identifier of the organization */

@@ -89,2 +89,6 @@ organization_id: OrganizationUid;

}
export interface PubCallLeaveMessage extends PubUserBaseMessage {
type: "call_leave";
body: CallRequestBody;
}
export interface PubReportingMessage extends PubBaseMessage {

@@ -126,3 +130,3 @@ type: "reporting";

/** Type of the message (default is "user") */
type: "user" | "reporting" | "call_request";
type: "user" | "reporting" | "call_request" | "call_leave";
/** List of channel members to be notified about the message */

@@ -143,3 +147,7 @@ notify_users?: UserUid[];

}
export declare type PubMessagePayload = PubUserMessagePayload | PubCallRequestPayload;
export interface PubCallLeavePayload extends PubMessageBasePayload {
type: "call_leave";
body: CallRequestBody;
}
export declare type PubMessagePayload = PubUserMessagePayload | PubCallRequestPayload | PubCallLeavePayload;
export interface ChannelPayload {

@@ -212,2 +220,4 @@ /** Name of channel to create */

version: 1;
/** Chat call id and Jitsi conference name */
callId: string;
}

@@ -214,0 +224,0 @@ export interface NotificationSettingsPayload {

@@ -1,3 +0,3 @@

export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubCallRequestPayload, PubUserMessagePayload, PubMessagePayload, ChannelPayload, TextChunk, VoiceChunk, FileChunk, ImageChunk, LinkChunk, VideoChunk, ChunkV2, ChunkV3, ExternalViewV1, PubMessageBody, PubMessageBodyV1, PubMessageBodyV2, PubMessageBodyV3, CallRequestBody, } from "./groupchats";
export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubCallRequestPayload, PubCallLeavePayload, PubUserMessagePayload, PubMessagePayload, ChannelPayload, TextChunk, 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.15.0",
"version": "0.16.0",
"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

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