slack-block-builder
Advanced tools
Comparing version 1.2.1 to 1.3.1
# Change Log | ||
## v1.3.1 – 2020-06-30 | ||
* Add support for markdown for the `description` property of the `Options` `Bit` object. | ||
## v1.2.1 – 2020-06-27 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "slack-block-builder", | ||
"version": "1.2.1", | ||
"version": "1.3.1", | ||
"description": "Maintainable code for interactive Slack messages, modals and home tabs. A must-have for the Slack Block Kit framework.", | ||
@@ -39,3 +39,7 @@ "author": { | ||
"slack-block-builder", | ||
"block-kit" | ||
"block-kit", | ||
"blocks", | ||
"botkit", | ||
"bolt", | ||
"slack-bolt" | ||
], | ||
@@ -42,0 +46,0 @@ "scripts": { |
@@ -103,4 +103,8 @@ const { Bit } = require('./base'); | ||
const augmentedProps = { | ||
text: isMarkdown ? BuilderHelper.getMarkdownObject(this.props.text) : BuilderHelper.getPlainTextObject(this.props.text), | ||
description: BuilderHelper.getPlainTextObject(this.props.description), | ||
text: isMarkdown | ||
? BuilderHelper.getMarkdownObject(this.props.text) | ||
: BuilderHelper.getPlainTextObject(this.props.text), | ||
description: isMarkdown | ||
? BuilderHelper.getMarkdownObject(this.props.description) | ||
: BuilderHelper.getPlainTextObject(this.props.description), | ||
}; | ||
@@ -107,0 +111,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155730
3677