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.14.0 to 0.15.0

4

CHANGELOG.md

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

## 0.15.0
- Add `deleteChannelMember` function.
## 0.14.0

@@ -9,0 +13,0 @@

@@ -25,2 +25,3 @@ import { IRealtimeSdk } from "@giosg/realtime-sdk";

patchLastSeenAtField(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid): Promise<PubChannelMember>;
deleteChannelMember(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid): Promise<void>;
streamChannelNotificationSettings(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid): Observable<NotificationSettings>;

@@ -27,0 +28,0 @@ patchChannelNotificationSettings(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid, payload: NotificationSettingsPayload): Promise<NotificationSettings>;

@@ -104,2 +104,9 @@ "use strict";

}
deleteChannelMember(orgId, channelId, memberId) {
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/members/${memberId}`;
return this.sdk
.deleteResource(apiUrl)
.take(1)
.toPromise();
}
// Notification settings:

@@ -106,0 +113,0 @@ streamChannelNotificationSettings(orgId, channelId, memberId) {

2

package.json
{
"name": "@giosg/pub-sdk",
"version": "0.14.0",
"version": "0.15.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

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