New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@observertc/observer-js

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@observertc/observer-js - npm Package Compare versions

Comparing version 0.9.9-beta to 0.9.10-beta

7

lib/sources/Sources.js

@@ -44,3 +44,3 @@ "use strict";

if (closed) {
throw new Error('Closed ClientSource cannot accept samples');
throw new Error('Cannot accept ClientSample, because the ClientSource is closed');
}

@@ -67,2 +67,3 @@ const observedCallBuilder = this._observedCallsBuilder.getOrCreateObservedCallBuilder(config.callId, () => {

closed = true;
this._clientSources.delete(config.clientId);
this._emit('removed-client-source', source);

@@ -93,3 +94,3 @@ },

if (closed) {
throw new Error('Closed ClientSource cannot accept samples');
throw new Error('Cannot accept SfuSample, because the SfuSource is closed');
}

@@ -111,2 +112,3 @@ const observedSfuBuilder = this._observedSfusBuilder.getOrCreateObservedSfuBuilder(config.sfuId, () => {

closed = true;
this._sfuSources.delete(config.sfuId);
this._emit('removed-sfu-source', source);

@@ -135,2 +137,3 @@ },

const observedSfus = this._observedSfusBuilder.build();
this._observedSfusBuilder = new ObservedSfus_1.ObservedSfusBuilder();
this._emit('observed-samples', {

@@ -137,0 +140,0 @@ observedCalls,

{
"name": "@observertc/observer-js",
"version": "0.9.9-beta",
"version": "0.9.10-beta",
"description": "Server Side NodeJS Library for processing ObserveRTC Samples",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -69,3 +69,3 @@ import { ClientSample, SfuSample } from '@observertc/sample-schemas-js';

if (closed) {
throw new Error('Closed ClientSource cannot accept samples');
throw new Error('Cannot accept ClientSample, because the ClientSource is closed');
}

@@ -93,2 +93,3 @@ const observedCallBuilder = this._observedCallsBuilder.getOrCreateObservedCallBuilder(config.callId, () => {

closed = true;
this._clientSources.delete(config.clientId);
this._emit('removed-client-source', source);

@@ -120,3 +121,3 @@ },

if (closed) {
throw new Error('Closed ClientSource cannot accept samples');
throw new Error('Cannot accept SfuSample, because the SfuSource is closed');
}

@@ -139,2 +140,3 @@ const observedSfuBuilder = this._observedSfusBuilder.getOrCreateObservedSfuBuilder(config.sfuId, () => {

closed = true;
this._sfuSources.delete(config.sfuId);
this._emit('removed-sfu-source', source);

@@ -165,2 +167,3 @@ },

const observedSfus = this._observedSfusBuilder.build();
this._observedSfusBuilder = new ObservedSfusBuilder();
this._emit('observed-samples', {

@@ -167,0 +170,0 @@ observedCalls,

Sorry, the diff of this file is not supported yet

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