fanoutpub
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -7,2 +7,3 @@ node-fanoutpub CHANGE LOG | ||
v 0.1.2 05-15-2013 - Documentation updates to reflect new company name. | ||
v 1.0.0 01-20-2015 - Redesigned Fanout to match the other language libs. | ||
v 1.0.0 01-20-2015 - Redesigned Fanout to match the other language libs. | ||
v 1.0.1 01-21-2015 - Added 'var' where it was missing. |
@@ -66,8 +66,8 @@ /* | ||
var Fanout = function(realm, key, ssl) { | ||
scheme = 'https'; | ||
var scheme = 'https'; | ||
if (typeof ssl !== 'undefined' && !ssl) { | ||
scheme = 'http'; | ||
} | ||
uri = scheme + '://api.fanout.io/realm/' + realm; | ||
pubControl = new pubcontrol.PubControlClient(uri); | ||
var uri = scheme + '://api.fanout.io/realm/' + realm; | ||
var pubControl = new pubcontrol.PubControlClient(uri); | ||
pubControl.setAuthJwt({'iss': realm}, new Buffer(key, 'base64')); | ||
@@ -74,0 +74,0 @@ this.pubControl = pubControl; |
{ | ||
"name": "fanoutpub", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Fanout, Inc. <info@fanout.io>", | ||
@@ -5,0 +5,0 @@ "description": "Fanout Pubsub Protocol Library", |
Fanout.io Library for NodeJS | ||
=================================================== | ||
Version: v 1.0.0 | ||
Date: January 20th, 2015 | ||
Version: v 1.0.1 | ||
Date: January 21th, 2015 | ||
Author: Katsuyuki Ohmuro <harmony7@pex2.jp>, Konstantin Bokarius <kon@fanout.io> | ||
@@ -7,0 +7,0 @@ |
8504