Skip to content

Commit

Permalink
{ -> @livekit/}typed-emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp committed Sep 19, 2024
1 parent 23511a9 commit 4adf571
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/livekit-rtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@bufbuild/protobuf": "^1.4.2",
"typed-emitter": "^2.1.0"
"@livekit/typed-emitter": "^3.0.0"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/livekit-rtc/src/audio_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0
import EventEmitter from 'events';
import type TypedEmitter from 'typed-emitter';
import type { TypedEventEmitter as TypedEmitter } from '@livekit/typed-emitter';
import { AudioFrame } from './audio_frame.js';
import type { FfiEvent } from './ffi_client.js';
import { FfiClient, FfiClientEvent, FfiHandle } from './ffi_client.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/livekit-rtc/src/ffi_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0
import type { PartialMessage } from '@bufbuild/protobuf';
import EventEmitter from 'events';
import type TypedEmitter from 'typed-emitter';
import type { TypedEventEmitter as TypedEmitter } from '@livekit/typed-emitter';
import {
FfiHandle,
livekitCopyBuffer,
Expand Down
2 changes: 1 addition & 1 deletion packages/livekit-rtc/src/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0
import EventEmitter from 'events';
import type TypedEmitter from 'typed-emitter';
import type { TypedEventEmitter as TypedEmitter } from '@livekit/typed-emitter';
import type { E2EEOptions } from './e2ee.js';
import { E2EEManager } from './e2ee.js';
import { FfiClient, FfiClientEvent, FfiHandle } from './ffi_client.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/livekit-rtc/src/video_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0
import EventEmitter from 'events';
import type TypedEmitter from 'typed-emitter';
import type { TypedEventEmitter as TypedEmitter } from '@livekit/typed-emitter';
import type { FfiEvent } from './ffi_client.js';
import { FfiClient, FfiClientEvent, FfiHandle } from './ffi_client.js';
import type {
Expand Down
26 changes: 8 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4adf571

Please sign in to comment.