slack-logs 3.0.2 → 3.0.3
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 +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,6 +26,16 @@ npm install slack-logs
|
|
|
26
26
|
yarn add slack-logs
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
### Demo
|
|
30
|
+
|
|
31
|
+
[StackBlitz Demo](https://stackblitz.com/edit/stackblitz-starters-minuqbqu?file=index.js)
|
|
32
|
+
|
|
33
|
+
<!--  -->
|
|
34
|
+
|
|
35
|
+
### Try payload experiments here:
|
|
36
|
+
|
|
37
|
+
[Slack Block Kit Builder](https://app.slack.com/block-kit-builder/T9D4GM7L0)
|
|
38
|
+
|
|
29
39
|
### Configuration:
|
|
30
40
|
|
|
31
41
|
Before you start, ensure you have created an Incoming Webhook in Slack and have the webhook URL ready. For more information on setting up Incoming Webhooks in Slack, visit [Slack's API documentation.](https://api.slack.com/messaging/webhooks)
|
|
@@ -208,12 +218,6 @@ Contributions are welcome! If you have a feature request, bug report, or a pull
|
|
|
208
218
|
|
|
209
219
|
This package is licensed under the MIT License - see the LICENSE file for details.
|
|
210
220
|
|
|
211
|
-
### Demo
|
|
212
|
-
|
|
213
|
-
[StackBlitz Demo](https://stackblitz.com/edit/stackblitz-starters-minuqbqu?file=index.js)
|
|
214
|
-
|
|
215
|
-
<!--  -->
|
|
216
|
-
|
|
217
221
|
### Raw body
|
|
218
222
|
|
|
219
223
|
Use `slack.rawBody(...)` when you want to send a custom Slack payload as-is.
|
|
@@ -263,7 +267,3 @@ slack.rawBody(payload);
|
|
|
263
267
|
```
|
|
264
268
|
|
|
265
269
|
If payload is invalid or sending fails, it logs a console error.
|
|
266
|
-
|
|
267
|
-
Try payload experiments here:
|
|
268
|
-
|
|
269
|
-
[Slack Block Kit Builder](https://app.slack.com/block-kit-builder/T9D4GM7L0)
|