@slack/client
Advanced tools
Comparing version 2.3.0-beta.1 to 2.3.0-beta.2
@@ -14,2 +14,3 @@ /** | ||
var isUndefined = require('lodash').isUndefined; | ||
var forEach = require('lodash').forEach; | ||
var noop = require('lodash').noop; | ||
@@ -676,9 +677,8 @@ var keys = require('lodash').keys; | ||
var _handleWsSendResponse = bind(this._handleWsSendResponse, this, msgId); | ||
// NOTE: this is done before we clone and add the id property to the message, so that if the | ||
// message is retried it'll definitely get a new id | ||
this._pendingMessages[msgId] = message; | ||
var wsMsg = cloneDeep(message); | ||
wsMsg.id = msgId; | ||
// Track the message from the client's perspective | ||
this._pendingMessages[msgId] = message; | ||
jsonMessage = JSON.stringify(wsMsg); | ||
@@ -685,0 +685,0 @@ this.logger('debug', 'sending message via ws: ' + jsonMessage); |
{ | ||
"name": "@slack/client", | ||
"version": "2.3.0-beta.1", | ||
"version": "2.3.0-beta.2", | ||
"description": "A library for creating a Slack client", | ||
@@ -5,0 +5,0 @@ "main": "./index", |
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
221118