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
18
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.35.3 to 0.36.0

4

lib/groupchats.d.ts

@@ -297,2 +297,6 @@ import { UserUid, OrganizationUid } from "@giosg/types";

}
export interface ConferenceStreamOptions {
provider: "cloudflare" | "mux.com";
low_latency?: boolean;
}
export interface ConferenceStreamResponse {

@@ -299,0 +303,0 @@ rtmps_url: string;

4

lib/sdk.d.ts
import { IRealtimeSdk } from "@giosg/realtime-sdk";
import { Observable } from "rxjs";
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsPayload, ConferenceTokenResponse, ConferenceTokenContext, ConferenceStreamResponse, Conference } from "./groupchats";
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsPayload, ConferenceTokenResponse, ConferenceTokenContext, ConferenceStreamResponse, Conference, ConferenceStreamOptions } from "./groupchats";
import { OrganizationUid, UserUid } from "@giosg/types";

@@ -33,4 +33,4 @@ export declare class BasePubSdk {

getConferences(orgId: OrganizationUid, userId: UserUid): Observable<Observable<Conference>>;
getConferenceLiveStream(orgId: OrganizationUid, channelId: PubChannelUid): Promise<ConferenceStreamResponse>;
createConferenceLiveStream(orgId: OrganizationUid, channelId: PubChannelUid, options: ConferenceStreamOptions): Promise<ConferenceStreamResponse>;
}
//# sourceMappingURL=sdk.d.ts.map

@@ -150,7 +150,10 @@ "use strict";

}
getConferenceLiveStream(orgId, channelId) {
createConferenceLiveStream(orgId, channelId, options) {
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/conference/create_stream`;
return this.sdk.postResource(apiUrl, {}).take(1).toPromise();
return this.sdk
.postResource(apiUrl, options)
.take(1)
.toPromise();
}
}
exports.BasePubSdk = BasePubSdk;
{
"name": "@giosg/pub-sdk",
"version": "0.35.3",
"version": "0.36.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