diff --git a/adapters/slack/package.json b/adapters/slack/package.json index 129f433f..578f1650 100644 --- a/adapters/slack/package.json +++ b/adapters/slack/package.json @@ -30,7 +30,6 @@ }, "dependencies": { "@slack/types": "^2.8.0", - "form-data": "^4.0.0", - "seratch-slack-types": "^0.8.0" + "form-data": "^4.0.0" } } diff --git a/adapters/slack/src/bot.ts b/adapters/slack/src/bot.ts index 5be04326..8845d9a0 100644 --- a/adapters/slack/src/bot.ts +++ b/adapters/slack/src/bot.ts @@ -5,7 +5,6 @@ import { adaptChannel, adaptGuild, adaptMessage, adaptUser, AuthTestResponse } f import { SlackMessageEncoder } from './message' import { GenericMessageEvent, SlackChannel, SlackTeam, SlackUser } from './types' import FormData from 'form-data' -import * as WebApi from 'seratch-slack-types/web-api' import { Internal, Token } from './types/internal' export class SlackBot extends Bot { diff --git a/adapters/slack/src/utils.ts b/adapters/slack/src/utils.ts index fc5b1538..77dc7120 100644 --- a/adapters/slack/src/utils.ts +++ b/adapters/slack/src/utils.ts @@ -169,15 +169,18 @@ export async function adaptSession(bot: SlackBot, payload: EnvelopedEvent