Skip to content

Commit 156d4c5

Browse files
ManuelFernandomadisonsmith
authored andcommitted
Develop (pubnub#125)
* add missing flow types (pubnub#116) * upgrade superagent to v3.8.1 (pubnub#115) * Thomasconner add nativescript support (pubnub#117) * Add NativeScript support * Add tests for NativeScript * Replace React-Native with NativeScript in NativeScript tests * Fix support for nativescript * Add tasks for to gulpfile for nativescript * Create dist for nativescript * Update .gitignore for nativescript * Remove NativeScript dist bundle * Use NativeScript http module * Remove some Gulp tasks related to NativeScript * Update compiled modules * Update dist bundles * Replace all uses of uuid with lil-uuid * Fix error detection for NartiveScript network module * Check if abort is a function before calling it Some platforms don't return an object that contains an abort function to cancel network requests. This change checks if an abort function is available before calling it. * Update all the builds * add entry point to app with Native Script * resolve eslint issues * add operation delete to native script * remove multi-spaces * replace empty body for the function delete in Native Script * v4.19.0 * add method setProxy for Nodejs (pubnub#120) * set ssl to true for nodejs by default * Heartbeat configs (pubnub#119) * isHeartbeatOnAllSubscriptions * remove isHeartbeatOnAllSubscriptions from the config * start only the heartbeat loop with heartbeatChannels and heartbeatChannelGroup * post merge fixes * 4.20.0 * cleanup * update .pubnub.yml and changelog.md * fix yaml identity * allow set ssl for nodejs * v4.20.1 * fix signature to delete message * v4.20.2 * sign v4.20.2 to distribution files
1 parent 047cdc8 commit 156d4c5

File tree

14 files changed

+45
-70
lines changed

14 files changed

+45
-70
lines changed

.pubnub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: javascript
2-
version: 4.20.1
2+
version: 4.20.2
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.20.2
10+
date: 2018-02-28
11+
changes:
12+
- type: bug
13+
text: fix signature to delete message
914
- version: v4.20.1
1015
date: 2018-01-29
1116
changes:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## [v4.20.2](https://github.com/pubnub/javascript/tree/v4.20.2)
2+
February-28-2018
3+
4+
5+
[Full Changelog](https://github.com/pubnub/javascript/compare/v4.20.1...v4.20.2)
6+
7+
8+
9+
- 🐛fix signature to delete message
10+
11+
12+
113
## [v4.20.1](https://github.com/pubnub/javascript/tree/v4.20.1)
214
January-29-2018
315

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ please use the [master_3x](https://github.com/pubnub/javascript/tree/master_3x)
2020

2121
## CDN Links
2222

23-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.20.1.min.js
24-
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.20.1.js
23+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.20.2.min.js
24+
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.20.2.js

dist/titanium/pubnub.js

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.20.1 / Consumer */
1+
/*! 4.20.2 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -586,7 +586,7 @@ return /******/ (function(modules) { // webpackBootstrap
586586
}, {
587587
key: 'getVersion',
588588
value: function getVersion() {
589-
return '4.20.1';
589+
return '4.20.2';
590590
}
591591
}, {
592592
key: '_decideUUID',
@@ -4193,22 +4193,11 @@ return /******/ (function(modules) { // webpackBootstrap
41934193
}
41944194

41954195
function getURL(modules, incomingParams) {
4196-
var channel = incomingParams.channel,
4197-
start = incomingParams.start,
4198-
end = incomingParams.end;
4196+
var channel = incomingParams.channel;
41994197
var config = modules.config;
42004198

4201-
var querystring = '';
4202-
4203-
if (start) {
4204-
querystring = '?start=' + start;
4205-
}
42064199

4207-
if (end) {
4208-
querystring += (querystring !== '' ? '&' : '?') + 'end=' + end;
4209-
}
4210-
4211-
return '/v3/history/sub-key/' + config.subscribeKey + '/channel/' + _utils2.default.encodeString(channel) + querystring;
4200+
return '/v3/history/sub-key/' + config.subscribeKey + '/channel/' + _utils2.default.encodeString(channel);
42124201
}
42134202

42144203
function getRequestTimeout(_ref) {
@@ -4231,7 +4220,7 @@ return /******/ (function(modules) { // webpackBootstrap
42314220
if (start) outgoingParams.start = start;
42324221
if (end) outgoingParams.end = end;
42334222

4234-
return {};
4223+
return outgoingParams;
42354224
}
42364225

42374226
function handleResponse(modules, serverResponse) {

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: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 4.20.1 / Consumer */
1+
/*! 4.20.2 / Consumer */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();
@@ -608,7 +608,7 @@ return /******/ (function(modules) { // webpackBootstrap
608608
}, {
609609
key: 'getVersion',
610610
value: function getVersion() {
611-
return '4.20.1';
611+
return '4.20.2';
612612
}
613613
}, {
614614
key: '_decideUUID',
@@ -4215,22 +4215,11 @@ return /******/ (function(modules) { // webpackBootstrap
42154215
}
42164216

42174217
function getURL(modules, incomingParams) {
4218-
var channel = incomingParams.channel,
4219-
start = incomingParams.start,
4220-
end = incomingParams.end;
4218+
var channel = incomingParams.channel;
42214219
var config = modules.config;
42224220

4223-
var querystring = '';
4224-
4225-
if (start) {
4226-
querystring = '?start=' + start;
4227-
}
42284221

4229-
if (end) {
4230-
querystring += (querystring !== '' ? '&' : '?') + 'end=' + end;
4231-
}
4232-
4233-
return '/v3/history/sub-key/' + config.subscribeKey + '/channel/' + _utils2.default.encodeString(channel) + querystring;
4222+
return '/v3/history/sub-key/' + config.subscribeKey + '/channel/' + _utils2.default.encodeString(channel);
42344223
}
42354224

42364225
function getRequestTimeout(_ref) {
@@ -4253,7 +4242,7 @@ return /******/ (function(modules) { // webpackBootstrap
42534242
if (start) outgoingParams.start = start;
42544243
if (end) outgoingParams.end = end;
42554244

4256-
return {};
4245+
return outgoingParams;
42574246
}
42584247

42594248
function handleResponse(modules, serverResponse) {

dist/web/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.

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/core/endpoints/history/delete_messages.js

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

0 commit comments

Comments
 (0)