ws-process 0.3.32 → 0.3.33

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1049,7 +1049,7 @@ function runProcess(processID, data) {
1049
1049
  : prcItem.reqParameters;
1050
1050
  if (!reqParameters) {
1051
1051
  local.afterEachProcess(prc, local.wsProcess.processes);
1052
- prc.reject('No request to send, process is stopped');
1052
+ prc.reject({ requestIsFalsy: true, message: 'No request to send, process is stopped' });
1053
1053
  wrapClearWSProcess(processID);
1054
1054
  return;
1055
1055
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws-process",
3
- "version": "0.3.32",
3
+ "version": "0.3.33",
4
4
  "description": "Process Management for Web Socket Client",
5
5
  "main": "index.js",
6
6
  "scripts": {