Skip to content

Commit

Permalink
v2.1.5 - Rename stringify to encode
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed Sep 23, 2016
1 parent a769ad1 commit ea5e7ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ AbstractDataClient.prototype.hasKey = function () {
this._dataClient.hasKey.apply(this._dataClient, arguments);
};

AbstractDataClient.prototype.stringify = function (value) {
return this._dataClient.stringify(value);
};

AbstractDataClient.prototype.extractKeys = function (object) {
return this._dataClient.extractKeys(object);
};
Expand Down Expand Up @@ -642,7 +638,7 @@ Client.prototype._handleExchangeMessage = function (channel, message, options) {
// Optimization
var emitOptions = {};
try {
emitOptions.stringifiedData = SCSocket.prototype.stringify({
emitOptions.stringifiedData = SCSocket.prototype.encode({
event: '#publish',
data: packet
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sc-broker-cluster",
"version": "2.1.4",
"version": "2.1.5",
"description": "Realtime clustering engine",
"keywords": [
"broker",
Expand Down

0 comments on commit ea5e7ba

Please sign in to comment.