According to the TypeScript definitions, you should be able to call new dmxnet() without providing an option object. Right now though, leaving this parameter empty throws TypeError: Cannot read property 'oem' of undefined.
This pull request adds a default value to the constructor of dmxnet so that it behaves according to the documentation.
According to the TypeScript definitions, you should be able to call
new dmxnet()
without providing an option object. Right now though, leaving this parameter empty throwsTypeError: Cannot read property 'oem' of undefined
. This pull request adds a default value to the constructor ofdmxnet
so that it behaves according to the documentation.