slack-block-builder
Advanced tools
Comparing version 1.6.0 to 1.6.1
# Change Log | ||
## v1.6.1 – 2020-10-13 | ||
* Parameter `text` in the `ConfirmationDialog` object now supports markdown. | ||
## v1.6.0 – 2020-07-30 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "slack-block-builder", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Maintainable code for interactive Slack messages, modals and home tabs. A must-have for the Slack Block Kit framework.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -55,2 +55,3 @@ const { Bit } = require('./base'); | ||
* * Max 300 characters | ||
* * Supports markdown | ||
* | ||
@@ -131,3 +132,3 @@ * {@link https://api.slack.com/reference/block-kit/composition-objects#confirm|View in Slack API Documentation} | ||
const augmentedProps = { | ||
text: BuilderHelper.getPlainTextObject(this.props.text), | ||
text: BuilderHelper.getMarkdownObject(this.props.text), | ||
title: BuilderHelper.getPlainTextObject(this.props.title), | ||
@@ -134,0 +135,0 @@ confirm: BuilderHelper.getPlainTextObject(this.props.confirm), |
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
161870
3852