Comparing version 3.1.7 to 3.1.8
@@ -12,3 +12,3 @@ /* --------------------------------------------------------------------------- | ||
secret_key : "", | ||
ssl : false, | ||
ssl : true, | ||
origin : "pubsub.pubnub.com" | ||
@@ -15,0 +15,0 @@ }); |
{ | ||
"name": "pubnub", | ||
"preferGlobal": false, | ||
"version": "3.1.7", | ||
"version": "3.1.8", | ||
"author": "Pubnub <stephen@pubnub.com>", | ||
@@ -6,0 +6,0 @@ "description": "Publish & Subscribe Real-time Messaging with PubNub", |
@@ -38,2 +38,3 @@ /* --------------------------------------------------------------------------- | ||
, http = require('http') | ||
, https = require('https') | ||
, URLBIT = '/' | ||
@@ -117,3 +118,3 @@ , XHRTME = 140000 | ||
try { | ||
http.get( { | ||
(ssl ? https : http).get( { | ||
host : origin, | ||
@@ -120,0 +121,0 @@ port : ssl ? 443 : 80, |
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
Network access
Supply chain riskThis module accesses the network.
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
21549
543
4