Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #29 from luongngocminh/feat/update-export
Browse files Browse the repository at this point in the history
update export routes for utils
  • Loading branch information
luongngocminh authored Dec 7, 2023
2 parents fecb63e + 437f1d5 commit 0f4e7e1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export {
};

export * from './lib/interfaces';
export * from './lib/utils/types';
export * from './lib/utils';
4 changes: 4 additions & 0 deletions src/lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from './typed-event-emitter';
export * from './simple-event-emiiter';
export * from './logger';
export * from './types';
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import type { ISessionConfig } from './lib/interfaces/session';
export declare function createSession(urls: string | string[], cfg: ISessionConfig): Session;
export { RealtimeSocket, Atm0s as MediaGatewayConnector, RPC, Session, StreamSender, StreamReceiver, StreamPublisher, StreamConsumer, StreamConsumerPair, StreamRemote, };
export * from './lib/interfaces';
export * from './lib/utils/types';
export * from './lib/utils';
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion types/index.d.ts.map

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

2 changes: 1 addition & 1 deletion types/lib/sender.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export declare class StreamSender extends TypedEventEmitter<IStreamSenderCallbac
get uuid(): string;
get label(): string | undefined;
get stream(): MediaStream | null;
get kind(): import("..").StreamKinds;
get kind(): import("./utils").StreamKinds;
private _state;
private logger;
constructor(_rpc: IRPC, _track: ISenderTrack);
Expand Down
2 changes: 1 addition & 1 deletion types/lib/sender.d.ts.map

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

5 changes: 5 additions & 0 deletions types/lib/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export * from './typed-event-emitter';
export * from './simple-event-emiiter';
export * from './logger';
export * from './types';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions types/lib/utils/index.d.ts.map

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

0 comments on commit 0f4e7e1

Please sign in to comment.