Skip to content

Commit

Permalink
Merge pull request #1189 from seratch/fix-misspelled-words
Browse files Browse the repository at this point in the history
Fix misspelled words
  • Loading branch information
stevengill committed Mar 15, 2021
2 parents f3a3a37 + a10ab4d commit e319041
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/events-api/src/http-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function createHTTPHandler(adapter: SlackEventAdapter): HTTPHandler {
* Binds a response handler to the given response.
*
* @param res - The response object.
* @returns The responder funciton bound to the input response.
* @returns The responder function bound to the input response.
*/
function sendResponse(res: ServerResponse): ResponseHandler {
// This function is the completion handler for sending a response to an event. It can either
Expand Down Expand Up @@ -133,7 +133,7 @@ export function createHTTPHandler(adapter: SlackEventAdapter): HTTPHandler {
* @param res - The outgoing response.
*/
return (req, res) => {
debug('request recieved - method: %s, path: %s', req.method, req.url);
debug('request received - method: %s, path: %s', req.method, req.url);

// Bind a response function to this request's respond object.
const respond = sendResponse(res);
Expand Down
4 changes: 2 additions & 2 deletions packages/socket-mode/src/SocketModeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class SocketModeClient extends EventEmitter {
.initialState('ready')
.onEnter(() => {
if (this.badConnection) {
// arrived here because `server ping timeout` ocurred and a new connection was created
// arrived here because `server ping timeout` occurred and a new connection was created
// tear down old connection
this.teardownWebsocket();
this.badConnection = false;
Expand Down Expand Up @@ -332,7 +332,7 @@ export class SocketModeClient extends EventEmitter {
super();

if (appToken === undefined) {
throw new Error('Must provide an App Level Token when initalizing a Socket Mode Client');
throw new Error('Must provide an App Level Token when initializing a Socket Mode Client');
}

this.clientPingTimeout = clientPingTimeout;
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface Confirm {
* Action Types
*/

// Selects and Multiselects are available in different surface areas so I've seperated them here
// Selects and Multiselects are available in different surface areas so I've separated them here
export type Select = UsersSelect | StaticSelect | ConversationsSelect | ChannelsSelect | ExternalSelect;

export type MultiSelect =
Expand Down
2 changes: 1 addition & 1 deletion packages/web-api/src/WebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export class WebClient extends Methods {
}

/**
* Processes an HTTP response into a WebAPICallResult by performing JSON parsing on the body and merging relevent
* Processes an HTTP response into a WebAPICallResult by performing JSON parsing on the body and merging relevant
* HTTP headers into the object.
* @param response - an http response
*/
Expand Down

0 comments on commit e319041

Please sign in to comment.