@giosg/pub-sdk
Advanced tools
Comparing version 0.36.1 to 1.0.0
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
1
35366
+ Added@giosg/types@12.0.16(transitive)
+ Addedtypescript@5.7.3(transitive)
- Removed@giosg/types@6.10.0(transitive)
- Removedtypescript@4.9.5(transitive)
Updated@giosg/types@^12.0.4