stream-chat
Advanced tools
Comparing version 4.4.3-dev.1 to 4.4.3-dev.2
@@ -381,2 +381,3 @@ /// <reference types="node" /> | ||
connect(): Promise<void | import("./types").ConnectionOpen<ChannelType, CommandType, UserType>>; | ||
sendBeacon(): void; | ||
/** | ||
@@ -798,10 +799,2 @@ * queryUsers - Query users and watch user presence | ||
shadowed?: boolean | undefined; | ||
/** | ||
* connectUser - Set the current user and open a WebSocket connection | ||
* | ||
* @param {OwnUserResponse<ChannelType, CommandType, UserType> | UserResponse<UserType>} user Data about this user. IE {name: "john"} | ||
* @param {TokenOrProvider} userTokenOrProvider Token or provider | ||
* | ||
* @return {ConnectAPIResponse<ChannelType, CommandType, UserType>} Returns a promise that resolves when the connection is setup | ||
*/ | ||
silent?: boolean | undefined; | ||
@@ -808,0 +801,0 @@ status?: string | undefined; |
/// <reference types="ws" /> | ||
import { StableWSConnection } from './connection'; | ||
import { LiteralStringForUnion, UnknownType } from './types'; | ||
export declare type InsightTypes = 'ws_fatal' | 'ws_success_after_failure'; | ||
export declare type InsightTypes = 'ws_fatal' | 'ws_success_after_failure' | 'http_beacon_failed'; | ||
export declare class InsightMetrics { | ||
@@ -6,0 +6,0 @@ connectionStartTimestamp: number | null; |
@@ -1210,2 +1210,3 @@ import { AxiosRequestConfig } from 'axios'; | ||
messages?: DeleteType; | ||
new_channel_owner_id?: string; | ||
}; | ||
@@ -1212,0 +1213,0 @@ export declare type SegmentData = { |
{ | ||
"name": "stream-chat", | ||
"version": "4.4.3-dev.1", | ||
"version": "4.4.3-dev.2", | ||
"description": "JS SDK for the Stream Chat API", | ||
@@ -5,0 +5,0 @@ "author": "GetStream", |
@@ -273,3 +273,3 @@ import WebSocket from 'isomorphic-ws'; | ||
device: this.device, | ||
request_id: reqID, | ||
client_request_id: reqID, | ||
}; | ||
@@ -276,0 +276,0 @@ const qs = encodeURIComponent(JSON.stringify(params)); |
@@ -5,3 +5,3 @@ import { StableWSConnection } from './connection'; | ||
export type InsightTypes = 'ws_fatal' | 'ws_success_after_failure'; | ||
export type InsightTypes = 'ws_fatal' | 'ws_success_after_failure' | 'http_beacon_failed'; | ||
export class InsightMetrics { | ||
@@ -8,0 +8,0 @@ connectionStartTimestamp: number | null; |
@@ -2166,2 +2166,3 @@ import { AxiosRequestConfig } from 'axios'; | ||
`messages` soft-hard will delete any messages that the user has sent. | ||
`new_channel_owner_id` any channels owned by the hard-deleted user will be transferred to this user ID | ||
*/ | ||
@@ -2172,2 +2173,3 @@ export type DeleteUserOptions = { | ||
messages?: DeleteType; | ||
new_channel_owner_id?: string; | ||
}; | ||
@@ -2174,0 +2176,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4026928
44987