ws-process 0.3.43 → 0.3.44
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/index.js +3 -3
- package/package.json +1 -1
- package/reducer.js +2 -1
package/index.js
CHANGED
|
@@ -718,7 +718,7 @@ function asyncSend(msg) {
|
|
|
718
718
|
callback.afterFailed(newData);
|
|
719
719
|
}
|
|
720
720
|
if (callback.always) {
|
|
721
|
-
callback.always();
|
|
721
|
+
callback.always(newData);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
724
|
if (cProcessItem.reject) {
|
|
@@ -980,7 +980,7 @@ function asyncSend(msg) {
|
|
|
980
980
|
callback.afterFailed(jsonResponse);
|
|
981
981
|
}
|
|
982
982
|
if (callback.always) {
|
|
983
|
-
callback.always();
|
|
983
|
+
callback.always(jsonResponse);
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
if (cProcessItem.reject) {
|
|
@@ -1233,7 +1233,7 @@ function runProcess(processID, data) {
|
|
|
1233
1233
|
} else {
|
|
1234
1234
|
local.afterEachProcess(prcInner, local.wsProcess.processes);
|
|
1235
1235
|
|
|
1236
|
-
|
|
1236
|
+
prcInner.reject(error);
|
|
1237
1237
|
wrapClearWSProcess(error.processID);
|
|
1238
1238
|
}
|
|
1239
1239
|
});
|
package/package.json
CHANGED