@upstash/qstash 0.1.2 → 0.1.5
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.
- package/README.md +2 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,9 +86,8 @@ console.log(res);
|
|
|
86
86
|
|
|
87
87
|
### Receiving a message
|
|
88
88
|
|
|
89
|
-
How to
|
|
90
|
-
|
|
91
|
-
handler function.
|
|
89
|
+
How to receive a message depends on your http server. The `Receiver.verify`
|
|
90
|
+
method should be called by you as the first step in your handler function.
|
|
92
91
|
|
|
93
92
|
```ts
|
|
94
93
|
import { Receiver } from "@upstash/qstash";
|
|
@@ -108,11 +107,6 @@ const isValid = await r.verify({
|
|
|
108
107
|
* The raw request body.
|
|
109
108
|
*/
|
|
110
109
|
body: "string";
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* URL of the endpoint where the request was sent to.
|
|
114
|
-
*/
|
|
115
|
-
url: "string";
|
|
116
110
|
})
|
|
117
111
|
```
|
|
118
112
|
|
package/package.json
CHANGED