@vercel/slack-bolt 0.1.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -6,6 +6,7 @@ A custom [Slack Bolt](https://slack.dev/bolt-js/) receiver built for Vercel's [F
6
6
  - **Easy integration:** Use with your existing Bolt app code
7
7
  - **Customizable:** Supports custom response handlers and property extraction
8
8
  - **TypeScript ready:** Fully typed for modern development
9
+ - **Node.js Compatible:** The library is compatible with any framework or function using the Node.js Request object.
9
10
 
10
11
  ## Installation
11
12
 
@@ -77,7 +78,7 @@ export const POST = async (req: Request) => {
77
78
  ```
78
79
 
79
80
  > **Note:**
80
- > The `handler` returned by `createHandler` works with standard `WebRequest` objects.
81
+ > The `handler` returned by `createHandler` works with standard Node.js `Request` objects.
81
82
  > You can use it directly in your Vercel API routes or with any framework that provides compatible request objects.
82
83
 
83
84
  ### 5. Update your Slack App Manifest
@@ -94,19 +95,19 @@ This package is compatible with the Slack CLI and can be used with the `slack ru
94
95
 
95
96
  ### 1. Update the `start` command in your `./slack/hooks.json` file
96
97
 
97
- ```json
98
+ ```jsonc
98
99
  // ./slack/hooks.json
99
100
  {
100
101
  "hooks": {
101
102
  "get-hooks": "npx -q --no-install -p @slack/cli-hooks slack-cli-get-hooks",
102
- "start": "vc dev"
103
+ "start": "vc dev" // or the start command for your framework
103
104
  }
104
105
  }
105
106
  ```
106
107
 
107
108
  ### 2. If you'd like to use your local `manifest.json`, update your `config.json` file. (optional)
108
109
 
109
- ```json
110
+ ```jsonc
110
111
  {
111
112
  // ./slack/config.json
112
113
  "manifest": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/slack-bolt",
3
- "version": "0.1.4",
3
+ "version": "1.0.0",
4
4
  "description": "A Vercel receiver for building Slack apps with Bolt and deploying them to Vercel",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -20,10 +20,10 @@
20
20
  ],
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "https://github.com/vercel/vercel-bolt.git"
23
+ "url": "https://github.com/vercel-labs/slack-bolt"
24
24
  },
25
25
  "bugs": {
26
- "url": "https://github.com/vercel/vercel-bolt/issues"
26
+ "url": "https://github.com/vercel-labs/slack-bolt/issues"
27
27
  },
28
28
  "keywords": [
29
29
  "vercel",
@@ -37,7 +37,7 @@
37
37
  "@vercel/functions": "^2.2.12"
38
38
  },
39
39
  "devDependencies": {
40
- "@biomejs/biome": "2.2.0",
40
+ "@biomejs/biome": "2.2.2",
41
41
  "@changesets/cli": "^2.29.6",
42
42
  "@types/node": "^24.3.0",
43
43
  "husky": "^9.1.7",