Comparing version 4.27.1 to 4.27.2
@@ -1,2 +0,13 @@ | ||
## [v4.27.1](https://github.com/pubnub/javascript/tree/v4.27.1) | ||
## [v4.27.2](https://github.com/pubnub/javascript/tree/v4.27.2) | ||
December-05-2019 | ||
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.27.1...v4.27.2) | ||
- ⭐ disable presence heartbeats by default | ||
## [v4.27.1](https://github.com/pubnub/javascript/tree/v4.27.1) | ||
November-20-2019 | ||
@@ -3,0 +14,0 @@ |
@@ -203,3 +203,2 @@ "use strict"; | ||
this.setHeartbeatInterval(this._presenceTimeout / 2 - 1); | ||
return this; | ||
@@ -259,3 +258,3 @@ } | ||
value: function getVersion() { | ||
return '4.27.1'; | ||
return '4.27.2'; | ||
} | ||
@@ -262,0 +261,0 @@ }, { |
@@ -59,3 +59,5 @@ "use strict"; | ||
var response = { | ||
data: getMessageActionsResponse.data | ||
data: getMessageActionsResponse.data, | ||
start: null, | ||
end: null | ||
}; | ||
@@ -62,0 +64,0 @@ |
@@ -97,3 +97,2 @@ "use strict"; | ||
announce.channel = channelName; | ||
announce.subscription = null; | ||
announce.timetoken = messageEnvelope.timetoken; | ||
@@ -103,2 +102,3 @@ announce.message = __processMessage(modules, messageEnvelope.message); | ||
if (messageEnvelope.actions) { | ||
announce.actions = messageEnvelope.actions; | ||
announce.data = messageEnvelope.actions; | ||
@@ -105,0 +105,0 @@ } |
{ | ||
"name": "pubnub", | ||
"version": "4.27.1", | ||
"version": "4.27.2", | ||
"author": "PubNub <support@pubnub.com>", | ||
@@ -5,0 +5,0 @@ "description": "Publish & Subscribe Real-time Messaging with PubNub", |
@@ -25,3 +25,3 @@ # PubNub JavaScript SDK (V4) | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.1.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.1.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.2.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.27.2.js |
@@ -252,4 +252,2 @@ /* @flow */ | ||
this.setHeartbeatInterval(this._presenceTimeout / 2 - 1); | ||
return this; | ||
@@ -300,3 +298,3 @@ } | ||
getVersion(): string { | ||
return '4.27.1'; | ||
return '4.27.2'; | ||
} | ||
@@ -303,0 +301,0 @@ |
@@ -30,2 +30,3 @@ /* global describe, beforeEach, it, before, afterEach, after */ | ||
uuid: 'myUUID', | ||
heartbeatInterval: 149, | ||
}); | ||
@@ -32,0 +33,0 @@ clock = sinon.useFakeTimers(); |
@@ -31,2 +31,3 @@ /* global describe, beforeEach, it, before, afterEach, after */ | ||
autoNetworkDetection: false, | ||
heartbeatInterval: 149, | ||
}); | ||
@@ -39,2 +40,3 @@ pubnubWithPassingHeartbeats = new PubNub({ | ||
autoNetworkDetection: false, | ||
heartbeatInterval: 149, | ||
}); | ||
@@ -47,2 +49,3 @@ pubnubWithLimitedQueue = new PubNub({ | ||
autoNetworkDetection: false, | ||
heartbeatInterval: 149, | ||
}); | ||
@@ -560,3 +563,3 @@ }); | ||
it('supports deduping on shawllow queue', (done) => { | ||
it('supports deduping on shallow queue', (done) => { | ||
pubnub._config.dedupeOnSubscribe = true; | ||
@@ -563,0 +566,0 @@ pubnub._config.maximumCacheSize = 1; |
@@ -9,2 +9,7 @@ /* global describe, it */ | ||
describe('#core / mounting point', () => { | ||
it('should have default heartbeat interval undefined', () => { | ||
let pn = new PubNub({}); | ||
assert(pn._config.getHeartbeatInterval() === undefined); | ||
}); | ||
it('supports UUID generation', () => { | ||
@@ -11,0 +16,0 @@ assert.equal(lilUUID.isUUID(PubNub.generateUUID()), true); |
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 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
69948
5250251
417