Comparing version 0.2.5 to 0.2.6
@@ -10,4 +10,3 @@ var util = require('util') | ||
function PubSubConnection(token, secret, stream){ | ||
this.appToken = token; | ||
function PubSubConnection(secret, stream){ | ||
this.appSecret = secret; | ||
@@ -14,0 +13,0 @@ this.stream = stream; |
@@ -68,3 +68,3 @@ var stream = require('stream') | ||
this.subscriptionCallbackURL = opts.subscriptionCallbackURL; | ||
this.pubsub = opts.pubsub || new PubSubConnection( this.appSecret); | ||
this.pubsub = opts.pubsub || new PubSubConnection( this.appSecret, this); | ||
this.uuid = uuid.v1(); | ||
@@ -71,0 +71,0 @@ |
@@ -36,3 +36,3 @@ var stream = require('stream') | ||
this.pubsub = opts.pubsub || new PubSubConnection( this.appSecret); | ||
this.pubsub = opts.pubsub || new PubSubConnection( this.appSecret, this); | ||
this.uuid = uuid.v1(); | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "socializr", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Read data streams from several social networks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
48678
1730