Skip to content

Commit 499b14b

Browse files
Releasing v4.29.11
1 parent c0ddd2f commit 499b14b

File tree

15 files changed

+203
-28
lines changed

15 files changed

+203
-28
lines changed

.pubnub.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
changelog:
3+
-
4+
changes:
5+
-
6+
text: "Set default increased limit for message count of History v3 api single call."
7+
type: improvement
8+
date: 2021-01-11
9+
version: v4.29.11
310
-
411
changes:
512
-
@@ -985,4 +992,4 @@ supported-platforms:
985992
- "Ubuntu 14.04 and up"
986993
- "Windows 7 and up"
987994
version: "Pubnub Javascript for Node"
988-
version: "4.29.10"
995+
version: "4.29.11"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [v4.29.11](https://github.com/pubnub/javascript/releases/tag/v4.29.11)
2+
January-11-2021
3+
4+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.29.10...v4.29.11)
5+
6+
- ⭐️️ Set default increased limit for message count of History v3 api single call.
7+
18
## [v4.29.10](https://github.com/pubnub/javascript/releases/tag/v4.29.10)
29
November-30-2020
310

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PubNub JavaScript SDK (V4)
22

3-
[![Build Status](https://travis-ci.org/pubnub/javascript.svg?branch=master)](https://travis-ci.org/pubnub/javascript)
3+
[![Build Status](https://travis-ci.com/pubnub/javascript.svg?branch=master)](https://travis-ci.com/pubnub/javascript)
44
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2859917905c549b8bfa27630ff276fce)](https://www.codacy.com/app/PubNub/javascript?utm_source=github.com&utm_medium=referral&utm_content=pubnub/javascript&utm_campaign=Badge_Grade)
55
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/2859917905c549b8bfa27630ff276fce)](https://www.codacy.com/app/PubNub/javascript?utm_source=github.com&utm_medium=referral&utm_content=pubnub/javascript&utm_campaign=Badge_Coverage)
66
[![npm](https://img.shields.io/npm/v/pubnub.svg)]()
@@ -23,8 +23,8 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2323
npm install pubnub
2424
```
2525
* or download one of our builds from our CDN:
26-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.29.10.js
27-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.29.10.min.js
26+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.29.11.js
27+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.29.11.min.js
2828
2929
2. Configure your keys:
3030

dist/titanium/pubnub.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.29.10 / Consumer */
1+
/*! 4.29.11 / Consumer */
22
exports["PubNub"] =
33
/******/ (function(modules) { // webpackBootstrap
44
/******/ // The module cache
@@ -566,7 +566,7 @@ var _default = function () {
566566
}, {
567567
key: "getVersion",
568568
value: function getVersion() {
569-
return '4.29.10';
569+
return '4.29.11';
570570
}
571571
}, {
572572
key: "_addPnsdkSuffix",
@@ -13243,8 +13243,10 @@ function isAuthSupported() {
1324313243
}
1324413244

1324513245
function prepareParams(modules, incomingParams) {
13246-
var start = incomingParams.start,
13246+
var channels = incomingParams.channels,
13247+
start = incomingParams.start,
1324713248
end = incomingParams.end,
13249+
includeMessageActions = incomingParams.includeMessageActions,
1324813250
count = incomingParams.count,
1324913251
_incomingParams$strin = incomingParams.stringifiedTimeToken,
1325013252
stringifiedTimeToken = _incomingParams$strin === void 0 ? false : _incomingParams$strin,
@@ -13256,7 +13258,13 @@ function prepareParams(modules, incomingParams) {
1325613258
_incomingParams$inclu5 = incomingParams.includeMessageType,
1325713259
includeMessageType = _incomingParams$inclu5 === void 0 ? true : _incomingParams$inclu5;
1325813260
var outgoingParams = {};
13259-
if (count) outgoingParams.max = count;
13261+
13262+
if (count) {
13263+
outgoingParams.max = count;
13264+
} else {
13265+
outgoingParams.max = channels.length > 1 || includeMessageActions === true ? 25 : 100;
13266+
}
13267+
1326013268
if (start) outgoingParams.start = start;
1326113269
if (end) outgoingParams.end = end;
1326213270
if (stringifiedTimeToken) outgoingParams.string_message_token = 'true';

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: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.29.10 / Consumer */
1+
/*! 4.29.11 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -576,7 +576,7 @@ var _default = function () {
576576
}, {
577577
key: "getVersion",
578578
value: function getVersion() {
579-
return '4.29.10';
579+
return '4.29.11';
580580
}
581581
}, {
582582
key: "_addPnsdkSuffix",
@@ -15435,8 +15435,10 @@ function isAuthSupported() {
1543515435
}
1543615436

1543715437
function prepareParams(modules, incomingParams) {
15438-
var start = incomingParams.start,
15438+
var channels = incomingParams.channels,
15439+
start = incomingParams.start,
1543915440
end = incomingParams.end,
15441+
includeMessageActions = incomingParams.includeMessageActions,
1544015442
count = incomingParams.count,
1544115443
_incomingParams$strin = incomingParams.stringifiedTimeToken,
1544215444
stringifiedTimeToken = _incomingParams$strin === void 0 ? false : _incomingParams$strin,
@@ -15448,7 +15450,13 @@ function prepareParams(modules, incomingParams) {
1544815450
_incomingParams$inclu5 = incomingParams.includeMessageType,
1544915451
includeMessageType = _incomingParams$inclu5 === void 0 ? true : _incomingParams$inclu5;
1545015452
var outgoingParams = {};
15451-
if (count) outgoingParams.max = count;
15453+
15454+
if (count) {
15455+
outgoingParams.max = count;
15456+
} else {
15457+
outgoingParams.max = channels.length > 1 || includeMessageActions === true ? 25 : 100;
15458+
}
15459+
1545215460
if (start) outgoingParams.start = start;
1545315461
if (end) outgoingParams.end = end;
1545415462
if (stringifiedTimeToken) outgoingParams.string_message_token = 'true';

dist/web/pubnub.min.js

Lines changed: 3 additions & 3 deletions
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.

0 commit comments

Comments
 (0)