From 41acc6583baa8565846c089b7e46865142ddc570 Mon Sep 17 00:00:00 2001 From: Samuel Andersson Date: Tue, 27 Oct 2020 08:33:19 +0100 Subject: [PATCH] fix: export message types also add different root exporting --- lib/components/index.browser.ts | 4 ++-- lib/components/index.node.ts | 4 ++-- lib/index.browser.ts | 4 ++++ lib/index.node.ts | 4 ++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/components/index.browser.ts b/lib/components/index.browser.ts index 6b8fdb789..9db6a3328 100644 --- a/lib/components/index.browser.ts +++ b/lib/components/index.browser.ts @@ -7,6 +7,8 @@ export * from './h264depay' export * from './http-source' export * from './inspector' export * from './jpegdepay' +export * from './message' +export * from './messageStreams' export * from './mp4capture' export * from './mp4muxer' export * from './mse' @@ -14,5 +16,3 @@ export * from './onvifdepay' export * from './rtsp-parser' export * from './rtsp-session' export * from './ws-source' - -export { MessageType } from './message' diff --git a/lib/components/index.node.ts b/lib/components/index.node.ts index 3280f8d8b..f8e5e0bde 100644 --- a/lib/components/index.node.ts +++ b/lib/components/index.node.ts @@ -5,6 +5,8 @@ export * from './basicdepay' export * from './h264depay' export * from './inspector' export * from './jpegdepay' +export * from './message' +export * from './messageStreams' export * from './mp4capture' export * from './mp4muxer' export * from './onvifdepay' @@ -14,5 +16,3 @@ export * from './rtsp-parser' export * from './rtsp-session' export * from './tcp' export * from './ws-sink' - -export { MessageType } from './message' diff --git a/lib/index.browser.ts b/lib/index.browser.ts index daa04878d..db772b2a0 100644 --- a/lib/index.browser.ts +++ b/lib/index.browser.ts @@ -3,3 +3,7 @@ import * as pipelines from './pipelines/index.browser' import * as utils from './utils/index.browser' export { components, pipelines, utils } + +export * from './components/index.browser' +export * from './pipelines/index.browser' +export * from './utils/index.browser' diff --git a/lib/index.node.ts b/lib/index.node.ts index 4245ee1ba..2d0b28e9a 100644 --- a/lib/index.node.ts +++ b/lib/index.node.ts @@ -3,3 +3,7 @@ import * as pipelines from './pipelines/index.node' import * as utils from './utils/index.node' export { components, pipelines, utils } + +export * from './components/index.node' +export * from './pipelines/index.node' +export * from './utils/index.node'