slack-block-builder
Advanced tools
Comparing version 1.2.0 to 1.2.1
# Change Log | ||
## v1.2.0 – 2020-06-26 | ||
## v1.2.1 – 2020-06-27 | ||
* Fix issue where Slack timestamp format not permitted for `ts` and `threadTs` parameters of the `Message` surface object. | ||
## v1.2.0 – 2020-06-27 | ||
* Parameter `ts` for the `Message` surface object is now supported. | ||
@@ -6,0 +10,0 @@ |
{ | ||
"name": "slack-block-builder", | ||
"version": "1.2.0", | ||
"version": "1.2.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": { |
@@ -83,8 +83,8 @@ const { Surface } = require('./base'); | ||
* | ||
* @param {timestamp} timestamp The timestamp of message to be replied to | ||
* @param {string} string The Slack-produced timestamp of message to be replied to | ||
* @return {this} The instance on which the method is called | ||
*/ | ||
threadTs(timestamp) { | ||
return this.set(timestamp, props.threadTs); | ||
threadTs(string) { | ||
return this.set(string, props.threadTs); | ||
} | ||
@@ -97,8 +97,8 @@ | ||
* | ||
* @param {timestamp} timestamp The timestamp of message to be replied to | ||
* @param {string} string The Slack-produced timestamp of message to be replaced | ||
* @return {this} The instance on which the method is called | ||
*/ | ||
ts(timestamp) { | ||
return this.set(timestamp, props.ts); | ||
ts(string) { | ||
return this.set(string, props.ts); | ||
} | ||
@@ -105,0 +105,0 @@ |
@@ -59,4 +59,4 @@ const types = require('./type-validators'); | ||
asUser: types.isBool, | ||
ts: types.isTimestamp, | ||
threadTs: types.isTimestamp, | ||
ts: types.isString, | ||
threadTs: types.isString, | ||
replaceOriginal: types.isBool, | ||
@@ -63,0 +63,0 @@ deleteOriginal: types.isBool, |
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
155453