appbase-js
Advanced tools
Comparing version 0.10.3 to 0.10.4
{ | ||
"name": "appbase-js", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"homepage": "https://github.com/appbaseio/appbase-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -30,5 +30,7 @@ 'use strict'; | ||
if (args.type.constructor === Array) { | ||
this.type = args.type.join(); | ||
this.type = args.type; | ||
this.type_string = args.type.join(); | ||
} else { | ||
this.type = [args.type]; | ||
this.type_string = args.type; | ||
} | ||
@@ -57,3 +59,3 @@ | ||
var hash = murmur.hash128(JSON.stringify(this.query)).hex(); | ||
var path = '.percolator/webhooks-0-' + this.type + '-0-' + hash; | ||
var path = '.percolator/webhooks-0-' + this.type_string + '-0-' + hash; | ||
@@ -60,0 +62,0 @@ this.path = path; |
{ | ||
"name": "appbase-js", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"description": "Appbase.io streaming client lib for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "dist/appbase.js", |
@@ -29,5 +29,7 @@ var murmur = require('murmur') | ||
if(args.type.constructor === Array) { | ||
this.type = args.type.join() | ||
this.type = args.type | ||
this.type_string = args.type.join() | ||
} else { | ||
this.type = [args.type] | ||
this.type_string = args.type | ||
} | ||
@@ -56,3 +58,3 @@ | ||
var hash = murmur.hash128(JSON.stringify(this.query)).hex() | ||
var path = '.percolator/webhooks-0-' + this.type + '-0-' + hash | ||
var path = '.percolator/webhooks-0-' + this.type_string + '-0-' + hash | ||
@@ -59,0 +61,0 @@ this.path = path |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
763896
17658