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
9
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.11.0 to 0.11.1

6

lib/sdk.d.ts

@@ -8,9 +8,9 @@ import { IRealtimeSdk } from "@giosg/realtime-sdk";

constructor(sdk: IRealtimeSdk);
streamPublicChannels(orgId: OrganizationUid, ordering?: "created_at" | "-created_at" | "updated_at" | "-updated_at"): Observable<Observable<PubChannel>>;
streamPublicChannels(orgId: OrganizationUid, ordering?: "created_at" | "-created_at" | "latest_message_created_at" | "-latest_message_created_at"): Observable<Observable<PubChannel>>;
postPublicChannel(orgId: OrganizationUid, payload: ChannelPayload): Promise<PubChannel>;
streamChannel(orgId: OrganizationUid, channelId: PubChannelUid): Observable<PubChannel>;
patchChannel(orgId: OrganizationUid, channelId: PubChannelUid, payload: ChannelPayload): Promise<PubChannel>;
streamJoinedChannels(orgId: OrganizationUid, userId: UserUid, ordering?: "created_at" | "-created_at" | "updated_at" | "-updated_at"): Observable<Observable<PubChannel>>;
streamJoinedChannels(orgId: OrganizationUid, userId: UserUid, ordering?: "created_at" | "-created_at" | "latest_message_created_at" | "-latest_message_created_at"): Observable<Observable<PubChannel>>;
streamJoinedChannel(orgId: OrganizationUid, userId: UserUid, channelId: PubChannelUid): Observable<PubChannel>;
streamUserDMChannels(orgId: OrganizationUid, userId: UserUid, ordering?: "created_at" | "-created_at" | "updated_at" | "-updated_at"): Observable<Observable<PubChannel>>;
streamUserDMChannels(orgId: OrganizationUid, userId: UserUid, ordering?: "created_at" | "-created_at" | "latest_message_created_at" | "-latest_message_created_at"): Observable<Observable<PubChannel>>;
postDMChannel(orgId: OrganizationUid, userId: UserUid, payload: DMChannelPayload): Promise<PubChannel>;

@@ -17,0 +17,0 @@ streamUserDMChannel(orgId: OrganizationUid, userId: UserUid, channelId: PubChannelUid): Observable<PubChannel>;

@@ -11,3 +11,3 @@ "use strict";

// Channels:
streamPublicChannels(orgId, ordering = "-updated_at") {
streamPublicChannels(orgId, ordering = "-latest_message_created_at") {
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels`;

@@ -31,3 +31,3 @@ return this.sdk.streamCollection(apiUrl, { ordering });

}
streamJoinedChannels(orgId, userId, ordering = "-updated_at") {
streamJoinedChannels(orgId, userId, ordering = "-latest_message_created_at") {
const apiUrl = `/api/pub/v1/orgs/${orgId}/users/${userId}/joined-channels`;

@@ -41,3 +41,3 @@ return this.sdk.streamCollection(apiUrl, { ordering });

//DM Channels:
streamUserDMChannels(orgId, userId, ordering = "-updated_at") {
streamUserDMChannels(orgId, userId, ordering = "-latest_message_created_at") {
const apiUrl = `/api/pub/v1/orgs/${orgId}/users/${userId}/dm-channels`;

@@ -44,0 +44,0 @@ return this.sdk.streamCollection(apiUrl, { ordering });

{
"name": "@giosg/pub-sdk",
"version": "0.11.0",
"version": "0.11.1",
"description": "TypeScript interfaces for Giosg Pub",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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