diff --git a/.changeset/sweet-badgers-remain.md b/.changeset/sweet-badgers-remain.md new file mode 100644 index 000000000..35ac6687e --- /dev/null +++ b/.changeset/sweet-badgers-remain.md @@ -0,0 +1,5 @@ +--- +"@slack/oauth": patch +--- + +docs: remove links to deleted OAuth examples; fix migration-guide cross-references diff --git a/docs/english/migration/socket-mode/migrating-socket-mode-package-to-v3.md b/docs/english/migration/socket-mode/migrating-socket-mode-package-to-v3.md index bf8975a25..957c7ec81 100644 --- a/docs/english/migration/socket-mode/migrating-socket-mode-package-to-v3.md +++ b/docs/english/migration/socket-mode/migrating-socket-mode-package-to-v3.md @@ -93,7 +93,7 @@ const client = new SocketModeClient({ ### We've updated the dependency on `@slack/web-api@^8` -This package now uses `@slack/web-api@^8` internally. If you're passing `clientOptions`, the web-api breaking changes apply there too. Check the [web-api v8 migration guide](./web-api-v8-migration.md) for details. +This package now uses `@slack/web-api@^8` internally. If you're passing `clientOptions`, the web-api breaking changes apply there too. Check the [web-api v8 migration guide](../web-api/migrating-web-api-package-to-v8.md) for details. ```diff const client = new SocketModeClient({ diff --git a/docs/english/migration/web-api/migrating-web-api-package-to-v8.md b/docs/english/migration/web-api/migrating-web-api-package-to-v8.md index f456a5dfe..d9db4ad9b 100644 --- a/docs/english/migration/web-api/migrating-web-api-package-to-v8.md +++ b/docs/english/migration/web-api/migrating-web-api-package-to-v8.md @@ -337,7 +337,7 @@ function handleError(error: WebAPIHTTPError) { ### We've removed the `RequestConfig` type -The `RequestConfig` type was an alias for axios's `InternalAxiosRequestConfig`. If you were importing it for `requestInterceptor`, [that has also been removed](requestinterceptor-and-requestinterceptor-type-removed). Use a fetch wrapper instead as described above. +The `RequestConfig` type was an alias for axios's `InternalAxiosRequestConfig`. If you were importing it for `requestInterceptor`, [that has also been removed](#weve-removed-the-requestinterceptor-and-requestinterceptor-types). Use a fetch wrapper instead as described above. ```diff -import type { RequestConfig } from '@slack/web-api'; diff --git a/docs/english/oauth.md b/docs/english/oauth.md index 042b23861..b963fb10f 100644 --- a/docs/english/oauth.md +++ b/docs/english/oauth.md @@ -463,12 +463,6 @@ const installer = new InstallProvider({ ``` ---- - -## Examples - -* [OAuth Express app](https://github.com/slackapi/node-slack-sdk/tree/main/examples/oauth-v2/README.md). This example uses [Keyv](https://github.com/lukechilds/keyv) library as an installation store. -* [Classic Slack app](https://github.com/slackapi/node-slack-sdk/tree/main/examples/oauth-v1/README.md). This example uses the built-in installation store. --- diff --git a/packages/oauth/README.md b/packages/oauth/README.md index 5e3eb5f47..33f4e6ac0 100644 --- a/packages/oauth/README.md +++ b/packages/oauth/README.md @@ -388,12 +388,6 @@ const installer = new InstallProvider({ ``` ---- - -### Examples - -* [OAuth Express app](../../examples/oauth-v2/README.md). This example uses [Keyv](https://github.com/lukechilds/keyv) library as an installation store. -* [classic Slack App](../../examples/oauth-v1/README.md). This example uses the built-in installation store ---