@xuda.io/xuda-worker-bundle-min 1.3.276 → 1.3.277

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 +22 -23
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1924,7 +1924,6 @@ func.datasource.execute = async function (
1924
1924
  break;
1925
1925
 
1926
1926
  case "array": {
1927
- debugger;
1928
1927
  let data = await get_data_from_source();
1929
1928
  console.log("data", data);
1930
1929
  if (!_ds.v.raw_data) {
@@ -5949,33 +5948,33 @@ func.utils.alerts.invoke = async function (
5949
5948
  } else {
5950
5949
  console.error(message);
5951
5950
  }
5952
- } else {
5953
- // if (typeof IS_PROCESS_SERVER !== "undefined") return;
5954
- func.utils.post_back_to_client(SESSION_ID, "alert", _session.worker_id, [
5955
- SESSION_ID,
5956
- alert_type,
5957
- alertDisplay,
5958
- message,
5959
- ]);
5960
- }
5961
-
5962
- if (sys_alerts_obj[paramsP]) {
5963
- var str = paramsP + " " + title + " " + message;
5964
- if (sys_alerts_obj[paramsP].alert_type === "error") {
5965
- console.error(str);
5966
- } else if (sys_alerts_obj[paramsP].alert_type === "warning") {
5967
- console.warn(str);
5968
- } else {
5969
- console.log(str);
5970
- }
5951
+ return;
5952
+ }
5953
+
5954
+ // if (typeof IS_PROCESS_SERVER !== "undefined") return;
5955
+ return func.utils.post_back_to_client(
5956
+ SESSION_ID,
5957
+ "alert",
5958
+ _session.worker_id,
5959
+ [SESSION_ID, alert_type, alertDisplay, message]
5960
+ );
5961
+ }
5962
+
5963
+ if (sys_alerts_obj[paramsP]) {
5964
+ var str = paramsP + " " + title + " " + message;
5965
+ if (sys_alerts_obj[paramsP].alert_type === "error") {
5966
+ console.error(str);
5967
+ } else if (sys_alerts_obj[paramsP].alert_type === "warning") {
5968
+ console.warn(str);
5971
5969
  } else {
5972
5970
  console.log(str);
5973
5971
  }
5974
- ALERT_IS_ACTIVE = false;
5975
-
5976
- return;
5972
+ } else {
5973
+ console.log(str);
5977
5974
  }
5978
5975
 
5976
+ ALERT_IS_ACTIVE = false;
5977
+
5979
5978
  func.utils.alerts.execute(
5980
5979
  SESSION_ID,
5981
5980
  alert_type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.276",
3
+ "version": "1.3.277",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {