Skip to content

Commit ecaf06d

Browse files
author
Max Presman
committed
4.17.0
1 parent 12c8509 commit ecaf06d

File tree

11 files changed

+33
-17
lines changed

11 files changed

+33
-17
lines changed

.pubnub.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: javascript
2-
version: 4.16.2
2+
version: 4.17.0
33
schema: 1
44
scm: github.com/pubnub/javascript
55
files:
66
- dist/web/pubnub.js
77
- dist/web/pubnub.min.js
88
changelog:
9+
- version: v4.17.0
10+
date: 2017-10-19
11+
changes:
12+
- type: improvement
13+
text: allow disabling of heartbeats by passing 0 during initialization.
914
- version: v4.16.2
1015
date: 2017-10-19
1116
changes:

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11

2+
## [v4.17.0](https://github.com/pubnub/javascript/tree/v4.17.0)
3+
October-19-2017
4+
5+
6+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.16.2...v4.17.0)
7+
8+
9+
- ⭐allow disabling of heartbeats by passing 0 during initialization.
10+
11+
12+
213
## [v4.16.2](https://github.com/pubnub/javascript/tree/v4.16.2)
314
October-19-2017
415

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
1919
- If you **need help** or have a **general question**, contact <[email protected]>
2020

2121
## CDN Links
22-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.16.2.min.js
23-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.16.2.js
22+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.17.0.min.js
23+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.17.0.js

dist/titanium/pubnub.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.16.2 / Consumer */
1+
/*! 4.17.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -473,7 +473,7 @@ return /******/ (function(modules) { // webpackBootstrap
473473

474474
this.setPresenceTimeout(setup.presenceTimeout || 300);
475475

476-
if (setup.heartbeatInterval) {
476+
if (setup.heartbeatInterval != null) {
477477
this.setHeartbeatInterval(setup.heartbeatInterval);
478478
}
479479

@@ -572,7 +572,7 @@ return /******/ (function(modules) { // webpackBootstrap
572572
}, {
573573
key: 'getVersion',
574574
value: function getVersion() {
575-
return '4.16.2';
575+
return '4.17.0';
576576
}
577577
}, {
578578
key: '_decideUUID',

dist/titanium/pubnub.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.16.2 / Consumer */
1+
/*! 4.17.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -495,7 +495,7 @@ return /******/ (function(modules) { // webpackBootstrap
495495

496496
this.setPresenceTimeout(setup.presenceTimeout || 300);
497497

498-
if (setup.heartbeatInterval) {
498+
if (setup.heartbeatInterval != null) {
499499
this.setHeartbeatInterval(setup.heartbeatInterval);
500500
}
501501

@@ -594,7 +594,7 @@ return /******/ (function(modules) { // webpackBootstrap
594594
}, {
595595
key: 'getVersion',
596596
value: function getVersion() {
597-
return '4.16.2';
597+
return '4.17.0';
598598
}
599599
}, {
600600
key: '_decideUUID',

dist/web/pubnub.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pubnub",
3-
"version": "4.16.2",
3+
"version": "4.17.0",
44
"author": "PubNub <[email protected]>",
55
"description": "Publish & Subscribe Real-time Messaging with PubNub",
66
"bin": {},

src/core/components/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default class {
176176
// how long the SDK will report the client to be alive before issuing a timeout
177177
this.setPresenceTimeout(setup.presenceTimeout || 300);
178178

179-
if (setup.heartbeatInterval) {
179+
if (setup.heartbeatInterval != null) {
180180
this.setHeartbeatInterval(setup.heartbeatInterval);
181181
}
182182

@@ -218,7 +218,7 @@ export default class {
218218
setSendBeaconConfig(val: boolean): this { this._useSendBeacon = val; return this; }
219219

220220
getVersion(): string {
221-
return '4.16.2';
221+
return '4.17.0';
222222
}
223223

224224
_decideUUID(providedUUID: string): string {

0 commit comments

Comments
 (0)