comprodls-sdk 2.31.0 → 2.31.3
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.
- package/dist/comprodls-sdk.js +2 -1
- package/dist/comprodls-sdk.min.js +4 -4
- package/lib/services/pushX/index.js +2 -1
- package/package.json +1 -1
- package/test.js +0 -33
package/dist/comprodls-sdk.js
CHANGED
|
@@ -9561,7 +9561,8 @@ function pushX() {
|
|
|
9561
9561
|
**********************************/
|
|
9562
9562
|
|
|
9563
9563
|
function _connect(pubnubCW, options) {
|
|
9564
|
-
|
|
9564
|
+
var bpubnubV7 = true; // If pubnub v7 or higher in package.json, set it true
|
|
9565
|
+
if (bpubnubV7 && !options.userid) {
|
|
9565
9566
|
var err = {};
|
|
9566
9567
|
err.message = err.description = 'Mandatory parameter userid not found in request options.';
|
|
9567
9568
|
err = new DLSError(helpers.errors.ERROR_TYPES.PUSHX_ERROR, err);
|