Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "pubnub", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"main": "dist/web/pubnub.min.js", | ||
@@ -5,0 +5,0 @@ "license": "https://github.com/pubnub/javascript/blob/master/LICENSE", |
@@ -43,3 +43,3 @@ 'use strict'; | ||
this._timeEndpoint.fetch(function (status) { | ||
this._timeEndpoint(function (status) { | ||
if (!status.error) { | ||
@@ -46,0 +46,0 @@ clearInterval(_this._timeTimer); |
@@ -83,3 +83,3 @@ 'use strict'; | ||
_this._subscriptionStatusAnnounced = true; | ||
_this._listenerManager.announceStatus(status); | ||
_this._listenerManager.announceStatus(reconnectedStatus); | ||
}); | ||
@@ -86,0 +86,0 @@ } |
{ | ||
"name": "pubnub", | ||
"preferGlobal": false, | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"author": "PubNub <support@pubnub.com>", | ||
@@ -6,0 +6,0 @@ "description": "Publish & Subscribe Real-time Messaging with PubNub", |
@@ -22,7 +22,7 @@ # PubNub JavaScript SDK (V4) | ||
#### HTTP | ||
* http://cdn.pubnub.com/sdk/javascript/pubnub.4.0.1.min.js | ||
* http://cdn.pubnub.com/sdk/javascript/pubnub.4.0.1.js | ||
* http://cdn.pubnub.com/sdk/javascript/pubnub.4.0.2.min.js | ||
* http://cdn.pubnub.com/sdk/javascript/pubnub.4.0.2.js | ||
#### HTTPS | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.0.1.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.0.1.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.0.2.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.0.2.js |
@@ -27,3 +27,3 @@ import TimeEndpoint from '../endpoints/time'; | ||
_performTimeLoop() { | ||
this._timeEndpoint.fetch((status: StatusAnnouncement) => { | ||
this._timeEndpoint((status: StatusAnnouncement) => { | ||
if (!status.error) { | ||
@@ -30,0 +30,0 @@ clearInterval(this._timeTimer); |
@@ -43,3 +43,2 @@ | ||
_reconnectionManager: ReconnectionManager; | ||
_subscribeEndpoints: SubscribeEndpoints; | ||
@@ -91,3 +90,3 @@ _leaveEndpoint: Function; | ||
this._subscriptionStatusAnnounced = true; | ||
this._listenerManager.announceStatus(status); | ||
this._listenerManager.announceStatus(reconnectedStatus); | ||
}); | ||
@@ -94,0 +93,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1107179
11150