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

livekit-client

Package Overview
Dependencies
Maintainers
29
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livekit-client - npm Package Compare versions

Comparing version 2.9.4 to 2.9.5

4

dist/src/room/errors.d.ts

@@ -38,2 +38,6 @@ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';

}
export declare class PublishTrackError extends LivekitError {
status: number;
constructor(message: string, status: number);
}
export type RequestErrorReason = Exclude<RequestResponse_Reason, RequestResponse_Reason.OK> | 'TimeoutError';

@@ -40,0 +44,0 @@ export declare class SignalRequestError extends LivekitError {

@@ -128,2 +128,3 @@ import { Codec, ParticipantInfo, ParticipantPermission } from '@livekit/protocol';

private publishOrRepublishTrack;
private hasPermissionsToPublish;
private publish;

@@ -130,0 +131,0 @@ get isLocal(): boolean;

3

dist/src/room/track/utils.d.ts

@@ -1,2 +0,2 @@

import { TrackPublishedResponse } from '@livekit/protocol';
import { TrackPublishedResponse, TrackSource } from '@livekit/protocol';
import type { AudioProcessorOptions, TrackProcessor, VideoProcessorOptions } from '../..';

@@ -44,2 +44,3 @@ import { Track } from './Track';

};
export declare function getTrackSourceFromProto(source: TrackSource): Track.Source;
//# sourceMappingURL=utils.d.ts.map

@@ -38,2 +38,6 @@ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';

}
export declare class PublishTrackError extends LivekitError {
status: number;
constructor(message: string, status: number);
}
export type RequestErrorReason = Exclude<RequestResponse_Reason, RequestResponse_Reason.OK> | 'TimeoutError';

@@ -40,0 +44,0 @@ export declare class SignalRequestError extends LivekitError {

@@ -128,2 +128,3 @@ import { Codec, ParticipantInfo, ParticipantPermission } from '@livekit/protocol';

private publishOrRepublishTrack;
private hasPermissionsToPublish;
private publish;

@@ -130,0 +131,0 @@ get isLocal(): boolean;

@@ -1,2 +0,2 @@

import { TrackPublishedResponse } from '@livekit/protocol';
import { TrackPublishedResponse, TrackSource } from '@livekit/protocol';
import type { AudioProcessorOptions, TrackProcessor, VideoProcessorOptions } from '../..';

@@ -44,2 +44,3 @@ import { Track } from './Track';

};
export declare function getTrackSourceFromProto(source: TrackSource): Track.Source;
//# sourceMappingURL=utils.d.ts.map
{
"name": "livekit-client",
"version": "2.9.4",
"version": "2.9.5",
"description": "JavaScript/TypeScript client SDK for LiveKit",

@@ -5,0 +5,0 @@ "main": "./dist/livekit-client.umd.js",

@@ -87,2 +87,12 @@ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';

export class PublishTrackError extends LivekitError {
status: number;
constructor(message: string, status: number) {
super(15, message);
this.name = 'PublishTrackError';
this.status = status;
}
}
export type RequestErrorReason =

@@ -89,0 +99,0 @@ | Exclude<RequestResponse_Reason, RequestResponse_Reason.OK>

@@ -1,2 +0,2 @@

import { TrackPublishedResponse } from '@livekit/protocol';
import { TrackPublishedResponse, TrackSource } from '@livekit/protocol';
import type { AudioProcessorOptions, TrackProcessor, VideoProcessorOptions } from '../..';

@@ -297,1 +297,16 @@ import { cloneDeep } from '../../utils/cloneDeep';

}
export function getTrackSourceFromProto(source: TrackSource): Track.Source {
switch (source) {
case TrackSource.CAMERA:
return Track.Source.Camera;
case TrackSource.MICROPHONE:
return Track.Source.Microphone;
case TrackSource.SCREEN_SHARE:
return Track.Source.ScreenShare;
case TrackSource.SCREEN_SHARE_AUDIO:
return Track.Source.ScreenShareAudio;
default:
return Track.Source.Unknown;
}
}

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

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 not supported yet

Sorry, the diff of this file is too big to display

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