Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slack-block-builder

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-block-builder - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

6

CHANGELOG.md
# 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 @@

2

package.json
{
"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,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc