@huddle01/observer-client-sdk
Advanced tools
Comparing version 0.11.1-1ccf3ca.0 to 0.11.1-32878d0.0
@@ -7,3 +7,3 @@ import { DashboardDataStreamNotification } from './protocols/DashboardMessageProtocol'; | ||
newrow: [row: T]; | ||
error: [error: string]; | ||
streamerror: [error: string]; | ||
}; | ||
@@ -10,0 +10,0 @@ export type ObserverDashboardDataStreamConfig = { |
@@ -86,4 +86,4 @@ "use strict"; | ||
} | ||
case 'error': { | ||
this.emit('error', event.payload); | ||
case 'streamerror': { | ||
this.emit('streamerror', event.payload); | ||
break; | ||
@@ -90,0 +90,0 @@ } |
@@ -52,8 +52,2 @@ import { CallSnapshot } from "./CallSnapshotSchema"; | ||
}[]; | ||
dataStreams: { | ||
streamType: string; | ||
streamId: string; | ||
instanceType: 'dataCollector' | 'dataSource'; | ||
collectedBytes: number; | ||
}[]; | ||
jobRouter: { | ||
@@ -66,2 +60,36 @@ createdAt: number; | ||
}; | ||
streamRouter: { | ||
emitter: { | ||
numberOfSubscriptions: number; | ||
numberOfSentEventInvocations: number; | ||
numberOfReceivedEventInvocations: number; | ||
}; | ||
sinks: { | ||
sinkId: string; | ||
streamId: string; | ||
state: string; | ||
streamProviderPeerId?: string; | ||
}[]; | ||
streamProviders: { | ||
streamType: string; | ||
bytesHighWaterMark: number; | ||
bytesLowWaterMark: number; | ||
totalBytes: number; | ||
collectors: { | ||
createdAt: number; | ||
streamId: string; | ||
numberOfFilesUploaded: number; | ||
numberOfSinks: number; | ||
collectedBytes: number; | ||
}[]; | ||
sources: { | ||
createdAt: number; | ||
streamId: string; | ||
numberOfFilesDownloaded: number; | ||
numberOfSinks: number; | ||
activeClosingTimer: boolean; | ||
collectedBytes: number; | ||
}[]; | ||
}[]; | ||
}; | ||
stats: { | ||
@@ -166,3 +194,3 @@ consumedSamples: number; | ||
data: unknown; | ||
error: string; | ||
streamerror: string; | ||
close: undefined; | ||
@@ -169,0 +197,0 @@ }; |
@@ -161,3 +161,3 @@ "use strict"; | ||
} | ||
console.warn('sending request', pendingRequest.request); | ||
// console.warn('sending request', pendingRequest.request); | ||
this._pendingRequests.set(pendingRequest.request.requestId, pendingRequest); | ||
@@ -164,0 +164,0 @@ this._socket?.send(this._codec.encode(pendingRequest.request)); |
{ | ||
"name": "@huddle01/observer-client-sdk", | ||
"version": "0.11.1-1ccf3ca.0", | ||
"version": "0.11.1-32878d0.0", | ||
"description": "ObserverDashboardClient SDK", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
175542
3635