Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

stream-chat

Package Overview
Dependencies
Maintainers
11
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-chat - npm Package Compare versions

Comparing version 4.4.3-dev.1 to 4.4.3-dev.2

9

dist/types/client.d.ts

@@ -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;

2

dist/types/insights.d.ts
/// <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

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