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

@livekit/rtc-node

Package Overview
Dependencies
Maintainers
20
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/rtc-node - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

README.md

1

dist/ffi_client.d.ts

@@ -21,5 +21,4 @@ import type { PartialMessage } from '@bufbuild/protobuf';

retrievePtr(data: Uint8Array): bigint;
dispose(): Promise<void>;
waitFor<T>(predicate: (ev: FfiEvent) => boolean): Promise<T>;
}
//# sourceMappingURL=ffi_client.d.ts.map
import EventEmitter from 'events';
import { FfiHandle, livekitCopyBuffer, livekitDispose, livekitFfiRequest, livekitInitialize, livekitRetrievePtr, } from './napi/native.js';
import { FfiHandle, livekitCopyBuffer, livekitFfiRequest, livekitInitialize, livekitRetrievePtr, } from './napi/native.js';
import { FfiEvent, FfiRequest, FfiResponse } from './proto/ffi_pb.js';

@@ -35,5 +35,2 @@ export { FfiHandle, FfiEvent, FfiResponse, FfiRequest };

}
async dispose() {
return await livekitDispose();
}
async waitFor(predicate) {

@@ -40,0 +37,0 @@ return new Promise((resolve) => {

@@ -7,3 +7,2 @@ /* tslint:disable */

export function livekitInitialize(callback: (data: Uint8Array) => void, captureLogs: boolean): void;
export function livekitDispose(): Promise<void>;
export function livekitFfiRequest(data: Uint8Array): Uint8Array;

@@ -10,0 +9,0 @@ export function livekitRetrievePtr(handle: Uint8Array): bigint;

@@ -10,3 +10,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

livekitInitialize,
livekitDispose,
livekitCopyBuffer,

@@ -13,0 +12,0 @@ livekitRetrievePtr,

@@ -231,3 +231,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

FfiClient.instance.removeAllListeners();
await FfiClient.instance.dispose();
this.removeAllListeners();

@@ -234,0 +233,0 @@ }

@@ -6,3 +6,3 @@ {

"author": "LiveKit",
"version": "0.4.0",
"version": "0.4.1",
"main": "dist/index.js",

@@ -13,4 +13,4 @@ "types": "dist/index.d.ts",

"type": "git",
"url": "https://github.com/livekit/node-sdks-temp.git",
"directory": "rtc-node"
"url": "https://github.com/livekit/node-sdks.git",
"directory": "packages/livekit-rtc"
},

@@ -51,3 +51,3 @@ "files": [

"scripts": {
"build:tsc": "tsc && cp -r src/napi dist/napi",
"build:tsc": "tsc && cp -r src/napi dist/",
"build": "pnpm build:tsc && napi build --platform --release --dts native.d.ts --js native.cjs --pipe \"prettier -w\" src/napi",

@@ -54,0 +54,0 @@ "artifacts": "pnpm build:tsc && napi artifacts",

@@ -10,3 +10,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

livekitCopyBuffer,
livekitDispose,
livekitFfiRequest,

@@ -62,6 +61,2 @@ livekitInitialize,

async dispose() {
return await livekitDispose();
}
async waitFor<T>(predicate: (ev: FfiEvent) => boolean): Promise<T> {

@@ -68,0 +63,0 @@ return new Promise<T>((resolve) => {

@@ -7,3 +7,2 @@ /* tslint:disable */

export function livekitInitialize(callback: (data: Uint8Array) => void, captureLogs: boolean): void;
export function livekitDispose(): Promise<void>;
export function livekitFfiRequest(data: Uint8Array): Uint8Array;

@@ -10,0 +9,0 @@ export function livekitRetrievePtr(handle: Uint8Array): bigint;

@@ -10,3 +10,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

livekitInitialize,
livekitDispose,
livekitCopyBuffer,

@@ -13,0 +12,0 @@ livekitRetrievePtr,

@@ -161,3 +161,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

FfiClient.instance.removeAllListeners();
await FfiClient.instance.dispose();
this.removeAllListeners();

@@ -164,0 +163,0 @@ }

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

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