-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #523 from slackapi/rel-v4.1.0
Release v4.1.0
- Loading branch information
Showing
8 changed files
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: changelog | ||
--- | ||
|
||
- `IncomingWebhook.send()` works with both callbacks and Promises (#508) - thanks @clavin | ||
- Completes type defintions for all `WebClient` method arguments (#512) - thanks @clavin | ||
- Allows `files.upload` to work with Buffers (in addition to ReadableStreams) (#500) - thanks @KharitonOff | ||
- Allows any WebClient methods argument to work with binary types (#519) - thanks @clavin and @aoberoi | ||
- Fails when `WebClient.apiCall()` options don't look like the right type (#522) - thanks @aoberoi | ||
- Fixes TypeScript compile errors in node >=6 <=8 related to `callbackify` (#518) - thanks @aoberoi | ||
- Fixes mismatched parenthesis in RTMClient usage example documentation (#511) - thanks @parthsr | ||
- Adds `examples` directory back to the repository (#520) - thanks @aoberoi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* @module @slack/client/dist/IncomingWebhook | ||
*/ | ||
|
||
/** | ||
* @interface module:@slack/client/dist/IncomingWebhook.IncomingWebhookHTTPError | ||
* @extends module:@slack/client.CodedError | ||
* @property {"slackclient_incomingwebhook_http_error"} code | ||
* @property {Error} original | ||
*/ | ||
export class IncomingWebhookHTTPError { | ||
} | ||
|
||
/** | ||
* @interface module:@slack/client/dist/IncomingWebhook.IncomingWebhookReadError | ||
* @extends module:@slack/client.CodedError | ||
* @property {"slackclient_incomingwebhook_read_error"} code | ||
* @property {Error} original | ||
*/ | ||
export class IncomingWebhookReadError { | ||
} | ||
|
||
/** | ||
* @interface module:@slack/client/dist/IncomingWebhook.IncomingWebhookRequestError | ||
* @extends module:@slack/client.CodedError | ||
* @property {"slackclient_incomingwebhook_request_error"} code | ||
* @property {Error} original | ||
*/ | ||
export class IncomingWebhookRequestError { | ||
} | ||
|
||
/** | ||
* @interface module:@slack/client/dist/IncomingWebhook.IncomingWebhookResult | ||
* @property {string} text | ||
*/ | ||
export class IncomingWebhookResult { | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters