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
12
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.36.1 to 1.0.0

16

lib/groupchats.d.ts
import { UserUid, OrganizationUid } from "@giosg/types";
export declare type PubChannelUid = string & {
export type PubChannelUid = string & {
readonly __nominal: "PubChannelUid";
};
export declare type PubChannelMemberUid = string & {
export type PubChannelMemberUid = string & {
readonly __nominal: "PubChannelMemberUid";
};
export declare type PubMessageUid = string & {
export type PubMessageUid = string & {
readonly __nominal: "PubMessageUid";
};
export declare type NotificationSettingsUid = string & {
export type NotificationSettingsUid = string & {
readonly __nominal: "PubMessageUid";

@@ -90,3 +90,3 @@ };

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

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

}
export declare type PubReportingBody = {
export type PubReportingBody = {
title: string;

@@ -148,3 +148,3 @@ version: number;

};
export declare type NotificationMode = "muted" | "unmuted" | "mentions";
export type NotificationMode = "muted" | "unmuted" | "mentions";
export interface NotificationSettings {

@@ -198,3 +198,3 @@ /** Unique identifier of the settings */

}
export declare type PubMessagePayload = PubUserMessagePayload | PubCallRequestPayload | PubCallLeavePayload | PubSystemMessagePayload;
export type PubMessagePayload = PubUserMessagePayload | PubCallRequestPayload | PubCallLeavePayload | PubSystemMessagePayload;
export interface ChannelPayload {

@@ -201,0 +201,0 @@ /** Name of channel to create */

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

const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/members/${memberId}`;
const serverTime = serverclock_1.getServerTime() || new Date();
const serverTime = (0, serverclock_1.getServerTime)() || new Date();
return this.sdk

@@ -111,0 +111,0 @@ .patchResource(apiUrl, {

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

@@ -31,15 +31,12 @@ "main": "lib/index.js",

"@giosg/realtime-sdk": "^2.5.0",
"@giosg/types": "^6.1.2",
"@giosg/types": "^12.0.4",
"rxjs": "5.4.2"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"jest": "^26.4.2",
"ts-jest": "^26.3.0",
"ts-node": "^8.5.4",
"typescript": "^4.0.3"
},
"peerDependencies": {
"typescript": "^4.0.3"
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}

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