comprodls-sdk 2.29.0 → 2.30.0
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
CHANGED
|
@@ -9351,6 +9351,13 @@ function pushX() {
|
|
|
9351
9351
|
**********************************/
|
|
9352
9352
|
|
|
9353
9353
|
function _connect(pubnubCW, options) {
|
|
9354
|
+
if (!options.userid) {
|
|
9355
|
+
var err = {};
|
|
9356
|
+
err.message = err.description = 'Mandatory parameter userid not found in request options.';
|
|
9357
|
+
err = new DLSError(helpers.errors.ERROR_TYPES.PUSHX_ERROR, err);
|
|
9358
|
+
throw err;
|
|
9359
|
+
}
|
|
9360
|
+
|
|
9354
9361
|
// Adding SSL flag
|
|
9355
9362
|
return pubnubCW.setup({
|
|
9356
9363
|
'userid': options.userid,
|