tmi.js v1.8.4
AlcaDesign
released this
13 Aug 20:59
·
7 commits
to revert-for-1.8.1
since this release
v1.8.4
- 4a21293 Removed
union
from utils as it only had a single use in the library. These util functions shouldn't be used outside of the library but worth mentioning. - b44286d Allow passing an HTTP proxy agent instance to
node-fetch
(Node) at the optionconnection.fetchAgent
. Feedback on this is very welcomed, please open an issue if it doesn't work. - 643b2c9 Allow passing an HTTP proxy agent instance to
ws
(Node) at the optionconnection.agent
. #209 #380 See this example onhttps-proxy-agent
for more detail and available options. Feedback on this is very welcomed, please open an issue if it doesn't work.
const HttpsProxyAgent = require('https-proxy-agent');
const agent = new HttpsProxyAgent(proxyOptions);
const client = new tmi.Client({ connection: { agent } });
client.connect();