comprodls-sdk 2.75.3 → 2.75.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ function _cleanup(pubnubCW) { pubnubCW.cleanup(); }
90
90
  function grantByUserOrgId(options) {
91
91
  var dfd = q.defer(); // Initializing promise
92
92
  var allowedChannels = ['jobs', 'systemevents'];
93
- var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token + "\\$";
93
+ var baseChannelName = "o-" + this.orgId + "\\$u-" + this.token.access_token + "\\$";
94
94
  var patterns = [];
95
95
  for(var i in allowedChannels) {
96
96
  var channelName = baseChannelName + allowedChannels[i] + "\\..*";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "comprodls-sdk",
3
3
  "description": "comproDLS SDK for JavaScript",
4
- "version": "2.75.3",
4
+ "version": "2.75.4",
5
5
  "author": {
6
6
  "name": "Compro Technologies Private Limited",
7
7
  "url": "http://www.comprotechnologies.com/"