stream-chat
Advanced tools
Comparing version 4.4.1 to 4.4.2
@@ -10,2 +10,3 @@ /// <reference types="ws" /> | ||
wsTotalFailures: number; | ||
instanceClientId: string; | ||
constructor(); | ||
@@ -31,2 +32,3 @@ } | ||
user_agent: string | null; | ||
instance_client_id: string; | ||
err: { | ||
@@ -56,3 +58,4 @@ wasClean: boolean; | ||
user_agent: string | null; | ||
instance_client_id: string; | ||
}; | ||
//# sourceMappingURL=insights.d.ts.map |
{ | ||
"name": "stream-chat", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"description": "JS SDK for the Stream Chat API", | ||
@@ -5,0 +5,0 @@ "author": "GetStream", |
import { StableWSConnection } from './connection'; | ||
import WebSocket from 'isomorphic-ws'; | ||
import { LiteralStringForUnion, UnknownType } from './types'; | ||
import { randomId } from './utils'; | ||
@@ -10,2 +11,3 @@ export type InsightTypes = 'ws_fatal' | 'ws_success_after_failure'; | ||
wsTotalFailures: number; | ||
instanceClientId: string; | ||
@@ -16,2 +18,3 @@ constructor() { | ||
this.wsConsecutiveFailures = 0; | ||
this.instanceClientId = randomId(); | ||
} | ||
@@ -61,2 +64,3 @@ } | ||
user_agent: typeof navigator !== 'undefined' ? navigator?.userAgent : null, | ||
instance_client_id: connection.insightMetrics.instanceClientId, | ||
}; | ||
@@ -63,0 +67,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
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
3977535
44914