Skip to content

Commit

Permalink
fix: export message types
Browse files Browse the repository at this point in the history
also add different root exporting
  • Loading branch information
trew authored and steabert committed Oct 30, 2020
1 parent 64e6969 commit 41acc65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/components/index.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ 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'
export * from './onvifdepay'
export * from './rtsp-parser'
export * from './rtsp-session'
export * from './ws-source'

export { MessageType } from './message'
4 changes: 2 additions & 2 deletions lib/components/index.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -14,5 +16,3 @@ export * from './rtsp-parser'
export * from './rtsp-session'
export * from './tcp'
export * from './ws-sink'

export { MessageType } from './message'
4 changes: 4 additions & 0 deletions lib/index.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
4 changes: 4 additions & 0 deletions lib/index.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 41acc65

Please sign in to comment.