Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@DamonOehlman DamonOehlman released this 22 Oct 00:56
· 5 commits to master since this release

Minor but breaking change to the way rtc-core/detect is implemented. The new function signature now uses an opts argument in second argument position, allowing prefixes to be specified through a prefixes option.

Additionally and more importantly, the detect function no longer attaches a detected entity to the host object by default (see rtc-io/rtc#11 for reported global leaks by mocha) as this was unnecessary. If required, however, an attach: true option can be specified to have the object/function attached to the host object.