obs-websocket-community-projects / obs-websocket-js

Consumes https://github.com/obsproject/obs-websocket
MIT License
657 stars 95 forks source link

fix: don't export debug #347

Closed mint-dewit closed 6 months ago

mint-dewit commented 6 months ago

Related Issue (if applicable):

None that I'm aware of.

Description:

The debug library uses a slightly particular way of exporting a namespace. This causes an issue when mixing this library in a typescript module that uses esModuleInterop = false.

Since the debug library is only used in 1 file and shouldn't be used by a library user anyway the easiest fix is to not export the debug lib.