@slack/client
Version:
A library for creating a Slack client
11 lines • 913 B
Markdown
---
layout: changelog
---
* Updates the `_makeAPICall` method to make the optional API args param optional to pass in, so the third param to this function can be either an opts object or a cb. This is to allow us to add optional arguments to API methods without it being a breaking change.
* Fixes the `retry-after` header name and adds a numeric fallback if the retry-after value can't be parsed, thanks @foiseworth!
* Adds new API methods to various facets
- [`auth.revoke`](/lib/clients/web/facets/auth.js)
- [`users.identify`](/lib/clients/web/facets/users.js)
* Adds optional arguments to:
- [`files.comments.add`](/lib/clients/web/facets/files.comments.js): adds a `channel` param, for the channel id of the location to associate with the new comment
- [`chat.delete`](/lib/clients/web/facets/chat.js): adds a boolean `as_user` param, to support deleting a message as the authed user