Skip to content

Commit 498ba04

Browse files
author
Max Presman
committed
4.12.0
1 parent 91e93dd commit 498ba04

File tree

13 files changed

+42
-32
lines changed

13 files changed

+42
-32
lines changed

.pubnub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: javascript
2-
version: 4.11.0-beta.1
2+
version: 4.12.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.11.0-beta.1
9+
- version: v4.12.0
1010
date:
1111
changes:
1212
- type: improvement

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11

2+
## [v4.12.0](https://github.com/pubnub/javascript/tree/v4.12.0)
3+
4+
5+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.10.0...v4.12.0)
6+
7+
8+
- ⭐fix issue of net with android for titanium
9+
10+
- 🌟add additional hooks for connectivity
11+
12+
13+
- 🌟add auto network detection
14+
15+
16+
17+
218
## [v4.10.0](https://github.com/pubnub/javascript/tree/v4.10.0)
319

420

README.md

Lines changed: 2 additions & 2 deletions
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.11.0-beta.1.min.js
23-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.11.0-beta.1.js
22+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.12.0.min.js
23+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.12.0.js

dist/titanium/pubnub.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.11.0-beta.1 / Consumer */
1+
/*! 4.12.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -405,9 +405,6 @@ return /******/ (function(modules) { // webpackBootstrap
405405
/* 3 */
406406
/***/ (function(module, exports, __webpack_require__) {
407407

408-
// Unique ID creation requires a high quality random # generator. We feature
409-
// detect to determine the best RNG source, normalizing to a function that
410-
// returns 128-bits of randomness, since that's what's usually required
411408
var rng = __webpack_require__(4);
412409
var bytesToUuid = __webpack_require__(5);
413410

@@ -523,7 +520,7 @@ return /******/ (function(modules) { // webpackBootstrap
523520
var crypto = global.crypto || global.msCrypto; // for IE 11
524521
if (crypto && crypto.getRandomValues) {
525522
// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
526-
var rnds8 = new Uint8Array(16);
523+
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
527524
rng = function whatwgRNG() {
528525
crypto.getRandomValues(rnds8);
529526
return rnds8;
@@ -535,7 +532,7 @@ return /******/ (function(modules) { // webpackBootstrap
535532
//
536533
// If all else fails, use Math.random(). It's fast, but is of unspecified
537534
// quality.
538-
var rnds = new Array(16);
535+
var rnds = new Array(16);
539536
rng = function() {
540537
for (var i = 0, r; i < 16; i++) {
541538
if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
@@ -556,7 +553,7 @@ return /******/ (function(modules) { // webpackBootstrap
556553

557554
/**
558555
* Convert array of 16 byte values to UUID string format of the form:
559-
* XXXXXXXX-XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
556+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
560557
*/
561558
var byteToHex = [];
562559
for (var i = 0; i < 256; ++i) {
@@ -566,7 +563,7 @@ return /******/ (function(modules) { // webpackBootstrap
566563
function bytesToUuid(buf, offset) {
567564
var i = offset || 0;
568565
var bth = byteToHex;
569-
return bth[buf[i++]] + bth[buf[i++]] +
566+
return bth[buf[i++]] + bth[buf[i++]] +
570567
bth[buf[i++]] + bth[buf[i++]] + '-' +
571568
bth[buf[i++]] + bth[buf[i++]] + '-' +
572569
bth[buf[i++]] + bth[buf[i++]] + '-' +
@@ -789,7 +786,7 @@ return /******/ (function(modules) { // webpackBootstrap
789786
}, {
790787
key: 'getVersion',
791788
value: function getVersion() {
792-
return '4.10.0';
789+
return '4.12.0';
793790
}
794791
}, {
795792
key: '_decideUUID',

dist/titanium/pubnub.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web/pubnub.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.11.0.beta1 / Consumer */
1+
/*! 4.12.0 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -427,9 +427,6 @@ return /******/ (function(modules) { // webpackBootstrap
427427
/* 3 */
428428
/***/ (function(module, exports, __webpack_require__) {
429429

430-
// Unique ID creation requires a high quality random # generator. We feature
431-
// detect to determine the best RNG source, normalizing to a function that
432-
// returns 128-bits of randomness, since that's what's usually required
433430
var rng = __webpack_require__(4);
434431
var bytesToUuid = __webpack_require__(5);
435432

@@ -545,7 +542,7 @@ return /******/ (function(modules) { // webpackBootstrap
545542
var crypto = global.crypto || global.msCrypto; // for IE 11
546543
if (crypto && crypto.getRandomValues) {
547544
// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
548-
var rnds8 = new Uint8Array(16);
545+
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
549546
rng = function whatwgRNG() {
550547
crypto.getRandomValues(rnds8);
551548
return rnds8;
@@ -557,7 +554,7 @@ return /******/ (function(modules) { // webpackBootstrap
557554
//
558555
// If all else fails, use Math.random(). It's fast, but is of unspecified
559556
// quality.
560-
var rnds = new Array(16);
557+
var rnds = new Array(16);
561558
rng = function() {
562559
for (var i = 0, r; i < 16; i++) {
563560
if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
@@ -578,7 +575,7 @@ return /******/ (function(modules) { // webpackBootstrap
578575

579576
/**
580577
* Convert array of 16 byte values to UUID string format of the form:
581-
* XXXXXXXX-XXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
578+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
582579
*/
583580
var byteToHex = [];
584581
for (var i = 0; i < 256; ++i) {
@@ -588,7 +585,7 @@ return /******/ (function(modules) { // webpackBootstrap
588585
function bytesToUuid(buf, offset) {
589586
var i = offset || 0;
590587
var bth = byteToHex;
591-
return bth[buf[i++]] + bth[buf[i++]] +
588+
return bth[buf[i++]] + bth[buf[i++]] +
592589
bth[buf[i++]] + bth[buf[i++]] + '-' +
593590
bth[buf[i++]] + bth[buf[i++]] + '-' +
594591
bth[buf[i++]] + bth[buf[i++]] + '-' +
@@ -811,7 +808,7 @@ return /******/ (function(modules) { // webpackBootstrap
811808
}, {
812809
key: 'getVersion',
813810
value: function getVersion() {
814-
return '4.10.0';
811+
return '4.12.0';
815812
}
816813
}, {
817814
key: '_decideUUID',

dist/web/pubnub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/core/components/config.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/networking/modules/titanium.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/networking/modules/titanium.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pubnub",
3-
"version": "4.11.0-beta.1",
3+
"version": "4.12.0",
44
"author": "PubNub <[email protected]>",
55
"description": "Publish & Subscribe Real-time Messaging with PubNub",
66
"bin": {},
@@ -92,4 +92,4 @@
9292
"engine": {
9393
"node": ">=0.8"
9494
}
95-
}
95+
}

src/core/components/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default class {
209209
setSendBeaconConfig(val: boolean): this { this._useSendBeacon = val; return this; }
210210

211211
getVersion(): string {
212-
return '4.11.0-beta.1';
212+
return '4.12.0';
213213
}
214214

215215
_decideUUID(providedUUID: string): string {

0 commit comments

Comments
 (0)