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.8.1 to 0.8.2

5

CHANGELOG.md

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

## 0.8.2
- Fixed `patchChannelNotificationSettings` function in sdk.
- Changed field `muted` to `mode` in `NotificationSettingsPayload` and `NotificationSettings` interfaces.
## 0.8.1

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

4

lib/groupchats.d.ts

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

/** Notification mode of the settings */
muted: NotificationMode;
mode: NotificationMode;
}

@@ -160,4 +160,4 @@ export interface DMChannelPayload {

/** Notification mode to be applied */
muted: NotificationMode;
mode: NotificationMode;
}
//# sourceMappingURL=groupchats.d.ts.map
import { IRealtimeSdk } from "@giosg/realtime-sdk";
import { Observable } from "rxjs";
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsUid, NotificationSettingsPayload } from "./groupchats";
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsPayload } from "./groupchats";
import { OrganizationUid, UserUid } from "@giosg/types";

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

streamChannelNotificationSettings(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid): Observable<NotificationSettings>;
patchChannelNotificationSettings(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid, notificatioSettingsId: NotificationSettingsUid, payload: NotificationSettingsPayload): Promise<NotificationSettings>;
patchChannelNotificationSettings(orgId: OrganizationUid, channelId: PubChannelUid, memberId: UserUid, payload: NotificationSettingsPayload): Promise<NotificationSettings>;
}
//# sourceMappingURL=sdk.d.ts.map

@@ -103,7 +103,7 @@ "use strict";

}
patchChannelNotificationSettings(orgId, channelId, memberId, notificatioSettingsId, payload) {
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/members/${memberId}/notification_settings/${notificatioSettingsId}`;
patchChannelNotificationSettings(orgId, channelId, memberId, payload) {
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/members/${memberId}/notification_settings`;
return this.sdk
.patchResource(apiUrl, {
muted: payload.muted,
mode: payload.mode,
})

@@ -110,0 +110,0 @@ .take(1)

{
"name": "@giosg/pub-sdk",
"version": "0.8.1",
"version": "0.8.2",
"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