@slack/client v4.7.0
New Features
- You can now specify HTTP headers you'd like to include on all requests from
WebClient
. Just pass aheaders
option to the constructor. Thanks @ethan0920 (#629).
Bug fixes
- Fixes a bug when specifying the
agent
option onWebClient
using an agent fromhttps-proxy-agent
. Thanks @aoberoi (#645).
Documentation improvements
-
Fixes pagination sample code. Thanks @smaeda-ks (#641).
-
Adds missing
WebClient
instance in the Getting Started guide. Thanks @jharrilim (#637). -
Adds documentation for using the package within a TypeScript project - see https://slackapi.github.io/node-slack-sdk/typescript. Thanks @aoberoi (#644).
-
Clarifies usage of Web API methods with no required options using callbacks. Thanks @aoberoi (#631).