Skip to content

tmi.js v1.5.0

Compare
Choose a tag to compare
@AlcaDesign AlcaDesign released this 12 Sep 10:03

v1.5.0

  • Add isReactNative utility function. #354 3557618
    This is used by client.api to know when to use XMLHttpRequest instead of JSONP.
const isReactNative = require('tmi.js/utils').isReactNative();
  • Fixed followersonly event when followers-only mode is enabled. #351 7e27d0c
client.on('followersonly', (channel, enabled, minutes) => {
    if(enabled) {
        console.log('Followers-only mode was enabled without throwing an error.');
    }
});