Comparing version 4.21.1 to 4.21.2
@@ -0,1 +1,13 @@ | ||
## [v4.21.2](https://github.com/pubnub/javascript/tree/v4.21.2) | ||
June-12-2018 | ||
[Full Chan6gelog](https://github.com/pubnub/javascript/compare/v4.21.1...v4.21.2) | ||
- ⭐add stringifiedTimeToken into the fetch endpoint | ||
## [v4.21.1](https://github.com/pubnub/javascript/tree/v4.21.1) | ||
@@ -2,0 +14,0 @@ June-08-2018 |
@@ -1,1 +0,1 @@ | ||
{"errors":[],"warnings":[],"version":"1.15.0","hash":"e5ce97d4e0a6e9be4da2","publicPath":"","assetsByChunkName":{"main":"pubnub.js"},"assets":[{"name":"pubnub.js","size":155990,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"stats.json","size":0,"chunks":[],"chunkNames":[]}],"chunks":[{"id":0,"rendered":true,"initial":true,"entry":true,"extraAsync":false,"size":148422,"names":["main"],"files":["pubnub.js"],"hash":"def522241f833984e22e","parents":[],"modules":[],"filteredModules":43,"origins":[{"moduleId":0,"module":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/titanium/index.js","moduleIdentifier":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/titanium/index.js","moduleName":"./src/titanium/index.js","loc":"","name":"main","reasons":[]}]}],"modules":[],"filteredModules":43,"children":[]} | ||
{"errors":[],"warnings":[],"version":"1.15.0","hash":"8443e0e6026e7406b1bc","publicPath":"","assetsByChunkName":{"main":"pubnub.js"},"assets":[{"name":"pubnub.js","size":155990,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"stats.json","size":0,"chunks":[],"chunkNames":[]}],"chunks":[{"id":0,"rendered":true,"initial":true,"entry":true,"extraAsync":false,"size":148422,"names":["main"],"files":["pubnub.js"],"hash":"2009e0cafb82e29198fc","parents":[],"modules":[],"filteredModules":43,"origins":[{"moduleId":0,"module":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/titanium/index.js","moduleIdentifier":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/titanium/index.js","moduleName":"./src/titanium/index.js","loc":"","name":"main","reasons":[]}]}],"modules":[],"filteredModules":43,"children":[]} |
@@ -1,1 +0,1 @@ | ||
{"errors":[],"warnings":[],"version":"1.15.0","hash":"96218c08bc878db7c6b6","publicPath":"","assetsByChunkName":{"main":"pubnub.js"},"assets":[{"name":"pubnub.js","size":202651,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"stats.json","size":0,"chunks":[],"chunkNames":[]}],"chunks":[{"id":0,"rendered":true,"initial":true,"entry":true,"extraAsync":false,"size":192946,"names":["main"],"files":["pubnub.js"],"hash":"bd7f9013d99788b341ae","parents":[],"modules":[],"filteredModules":49,"origins":[{"moduleId":0,"module":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/web/index.js","moduleIdentifier":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/web/index.js","moduleName":"./src/web/index.js","loc":"","name":"main","reasons":[]}]}],"modules":[],"filteredModules":49,"children":[]} | ||
{"errors":[],"warnings":[],"version":"1.15.0","hash":"0272a51191b980712ee0","publicPath":"","assetsByChunkName":{"main":"pubnub.js"},"assets":[{"name":"pubnub.js","size":202651,"chunks":[0],"chunkNames":["main"],"emitted":true},{"name":"stats.json","size":0,"chunks":[],"chunkNames":[]}],"chunks":[{"id":0,"rendered":true,"initial":true,"entry":true,"extraAsync":false,"size":192946,"names":["main"],"files":["pubnub.js"],"hash":"fdb74e5d3eedac873814","parents":[],"modules":[],"filteredModules":49,"origins":[{"moduleId":0,"module":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/web/index.js","moduleIdentifier":"/Users/madison/Documents/repos/javascript/node_modules/babel-loader/lib/index.js!/Users/madison/Documents/repos/javascript/src/web/index.js","moduleName":"./src/web/index.js","loc":"","name":"main","reasons":[]}]}],"modules":[],"filteredModules":49,"children":[]} |
@@ -181,3 +181,3 @@ 'use strict'; | ||
value: function getVersion() { | ||
return '4.21.1'; | ||
return '4.21.2'; | ||
} | ||
@@ -184,0 +184,0 @@ }, { |
@@ -75,3 +75,5 @@ 'use strict'; | ||
end = incomingParams.end, | ||
count = incomingParams.count; | ||
count = incomingParams.count, | ||
_incomingParams$strin = incomingParams.stringifiedTimeToken, | ||
stringifiedTimeToken = _incomingParams$strin === undefined ? false : _incomingParams$strin; | ||
@@ -83,2 +85,3 @@ var outgoingParams = {}; | ||
if (end) outgoingParams.end = end; | ||
if (stringifiedTimeToken) outgoingParams.string_message_token = 'true'; | ||
@@ -85,0 +88,0 @@ return outgoingParams; |
{ | ||
"name": "pubnub", | ||
"version": "4.21.1", | ||
"version": "4.21.2", | ||
"author": "PubNub <support@pubnub.com>", | ||
@@ -5,0 +5,0 @@ "description": "Publish & Subscribe Real-time Messaging with PubNub", |
@@ -23,3 +23,3 @@ # PubNub JavaScript SDK (V4) | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.21.1.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.21.1.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.21.2.min.js | ||
* https://cdn.pubnub.com/sdk/javascript/pubnub.4.21.2.js |
@@ -231,3 +231,3 @@ /* @flow */ | ||
getVersion(): string { | ||
return '4.21.1'; | ||
return '4.21.2'; | ||
} | ||
@@ -234,0 +234,0 @@ |
@@ -47,3 +47,3 @@ /* @flow */ | ||
export function prepareParams(modules: ModulesInject, incomingParams: FetchMessagesArguments): Object { | ||
const { start, end, count } = incomingParams; | ||
const { start, end, count, stringifiedTimeToken = false } = incomingParams; | ||
let outgoingParams: Object = {}; | ||
@@ -54,2 +54,3 @@ | ||
if (end) outgoingParams.end = end; | ||
if (stringifiedTimeToken) outgoingParams.string_message_token = 'true'; | ||
@@ -56,0 +57,0 @@ return outgoingParams; |
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 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
1797312
19612