-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ Key differences include: | |
import { | ||
SlackApp, | ||
SlackEdgeAppEnv, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].3/mod.ts"; | ||
|
||
const app = new SlackApp<SlackEdgeAppEnv>({ | ||
env: { | ||
|
@@ -77,7 +77,7 @@ run a Socket Mode app as below: | |
import { | ||
SlackApp, | ||
SlackSocketModeAppEnv, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].3/mod.ts"; | ||
|
||
const app = new SlackApp<SlackSocketModeAppEnv>({ | ||
env: { | ||
|
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 |
---|---|---|
|
@@ -44,7 +44,7 @@ import { | |
import { | ||
ResponseUrlSender, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { | ||
builtBaseContext, | ||
SlackAppContext, | ||
|
@@ -55,7 +55,7 @@ import { Middleware, PreAuthorizeMiddleware } from "./middleware/middleware.ts"; | |
import { | ||
isDebugLogEnabled, | ||
prettyPrint, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { Authorize } from "./authorization/authorize.ts"; | ||
import { AuthorizeResult } from "./authorization/authorize-result.ts"; | ||
import { | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
AuthTestResponse, | ||
SlackAPIClient, | ||
SlackAPIError, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { Authorize } from "./authorize.ts"; | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ import { | |
ChatPostMessageResponse, | ||
SlackAPIClient, | ||
WebhookParams, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
/** | ||
* SlackApp context object that provides data available before performing authorize() | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ export * from "./app.ts"; | |
export * from "./app-env.ts"; | ||
export * from "./execution-context.ts"; | ||
|
||
export * from "https://deno.land/x/[email protected].2/mod.ts"; | ||
export * from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
export * from "./errors.ts"; | ||
export * from "./oauth/error-codes.ts"; | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ import { | |
OAuthV2AccessResponse, | ||
OpenIDConnectTokenResponse, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { toInstallation } from "./oauth/installation.ts"; | ||
import { | ||
AfterInstallation, | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { InvalidStateParameter, OAuthErrorCode } from "./error-codes.ts"; | ||
import { Installation } from "./installation.ts"; | ||
import { | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { OAuthV2AccessResponse } from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
/** | ||
* Slack app installation data. | ||
|
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ import { LoggingEnv } from "../app-env.ts"; | |
import { | ||
OpenIDConnectTokenResponse, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { prettyPrint } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { prettyPrint } from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
/** | ||
* OpenIDConnectCallback args | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { | ||
OpenIDConnectTokenResponse, | ||
OpenIDConnectUserInfoResponse, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
/** | ||
* Data type representing the SIWS login result. | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ import { | |
MessageAttachment, | ||
MessageMetadata, | ||
PlainTextField, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { DataSubmissionView, ViewStateValue } from "./view-objects.ts"; | ||
import { BotProfile } from "./event.ts"; | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { AnyOption } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { AnyOption } from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { DataSubmissionView } from "./view-objects.ts"; | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
HomeTabView, | ||
MessageAttachment, | ||
MessageMetadata, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
export type AnySlackEvent = | ||
| AppRequestedEvent | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
AnyModalBlock, | ||
PlainTextField, | ||
RichTextBlock, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
export interface ViewStateSelectedOption { | ||
text: PlainTextField; | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ import { | |
MessageAttachment, | ||
MessageMetadata, | ||
ModalView, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
|
||
/** | ||
* Response for sending a message. | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { | ||
isDebugLogEnabled, | ||
SlackAPIClient, | ||
} from "https://deno.land/x/[email protected].2/mod.ts"; | ||
} from "https://deno.land/x/[email protected].4/mod.ts"; | ||
import { SlackApp } from "../app.ts"; | ||
import { ConfigError, SocketModeError } from "../errors.ts"; | ||
import { SlackSocketModeAppEnv } from "../app-env.ts"; | ||
|