@livekit/rtc-node
Advanced tools
Comparing version 0.4.1 to 0.4.2
import type { PartialMessage } from '@bufbuild/protobuf'; | ||
import type TypedEmitter from 'typed-emitter'; | ||
import { FfiHandle } from './napi/native.js'; | ||
import { FfiHandle, livekitDispose } from './napi/native.js'; | ||
import { FfiEvent, FfiRequest, FfiResponse } from './proto/ffi_pb.js'; | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest }; | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest, livekitDispose as dispose }; | ||
export type FfiClientCallbacks = { | ||
@@ -7,0 +7,0 @@ ffi_event: (event: FfiEvent) => void; |
import EventEmitter from 'events'; | ||
import { FfiHandle, livekitCopyBuffer, livekitFfiRequest, livekitInitialize, livekitRetrievePtr, } from './napi/native.js'; | ||
import { FfiHandle, livekitCopyBuffer, livekitDispose, livekitFfiRequest, livekitInitialize, livekitRetrievePtr, } from './napi/native.js'; | ||
import { FfiEvent, FfiRequest, FfiResponse } from './proto/ffi_pb.js'; | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest }; | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest, livekitDispose as dispose }; | ||
export var FfiClientEvent; | ||
@@ -6,0 +6,0 @@ (function (FfiClientEvent) { |
@@ -16,2 +16,3 @@ export { Room, RoomEvent, ConnectError, RoomOptions, RtcConfiguration } from './room.js'; | ||
export { VideoBufferType, VideoRotation } from './proto/video_frame_pb.js'; | ||
export { dispose } from './ffi_client.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -19,2 +19,3 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc. | ||
export { VideoBufferType, VideoRotation } from './proto/video_frame_pb.js'; | ||
export { dispose } from './ffi_client.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -10,2 +10,3 @@ /* tslint:disable */ | ||
export function livekitCopyBuffer(ptr: bigint, len: number): Uint8Array; | ||
export function livekitDispose(): Promise<void>; | ||
export class FfiHandle { | ||
@@ -12,0 +13,0 @@ constructor(handle: bigint); |
@@ -9,2 +9,3 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc. | ||
export const { | ||
livekitDispose, | ||
livekitInitialize, | ||
@@ -11,0 +12,0 @@ livekitCopyBuffer, |
@@ -6,3 +6,3 @@ { | ||
"author": "LiveKit", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"main": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "types": "dist/index.d.ts", |
@@ -26,3 +26,2 @@ <!-- | ||
import { | ||
dispose, | ||
RemoteParticipant, | ||
@@ -33,2 +32,3 @@ RemoteTrack, | ||
RoomEvent, | ||
dispose, | ||
} from '@livekit/rtc-node'; | ||
@@ -48,2 +48,3 @@ | ||
await room.disconnect(); | ||
await dispose(); | ||
}); | ||
@@ -50,0 +51,0 @@ ``` |
@@ -10,2 +10,3 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc. | ||
livekitCopyBuffer, | ||
livekitDispose, | ||
livekitFfiRequest, | ||
@@ -17,3 +18,3 @@ livekitInitialize, | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest }; | ||
export { FfiHandle, FfiEvent, FfiResponse, FfiRequest, livekitDispose as dispose }; | ||
@@ -20,0 +21,0 @@ export type FfiClientCallbacks = { |
@@ -42,1 +42,2 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc. | ||
export { VideoBufferType, VideoRotation } from './proto/video_frame_pb.js'; | ||
export { dispose } from './ffi_client.js'; |
@@ -10,2 +10,3 @@ /* tslint:disable */ | ||
export function livekitCopyBuffer(ptr: bigint, len: number): Uint8Array; | ||
export function livekitDispose(): Promise<void>; | ||
export class FfiHandle { | ||
@@ -12,0 +13,0 @@ constructor(handle: bigint); |
@@ -9,2 +9,3 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc. | ||
export const { | ||
livekitDispose, | ||
livekitInitialize, | ||
@@ -11,0 +12,0 @@ livekitCopyBuffer, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1568731
27171
83
2