@xuda.io/xuda-worker-bundle-min 1.3.1126 → 1.3.1128

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 +7 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -181,7 +181,7 @@ glb.SYS_DATE_ARR = [
181
181
  "SYS_TIME",
182
182
  ];
183
183
 
184
- glb.API_OUTPUT_ARR = ["json", "html", "xml", "text", "css"];
184
+ glb.API_OUTPUT_ARR = ["json", "html", "xml", "text", "css", "javascript"];
185
185
 
186
186
  const PROTECTED_NAMES_ARR = ["THIS", "ROWID"]; //tbd
187
187
 
@@ -261,7 +261,7 @@ func.common.db = async function (
261
261
  ) {
262
262
  data.device_name = firebase.auth().currentUser.displayName;
263
263
  }
264
- } catch (error) {}
264
+ } catch (error) { }
265
265
 
266
266
  for (const [key, val] of Object.entries(dataP)) {
267
267
  data[key] = val;
@@ -412,7 +412,7 @@ func.common.db = async function (
412
412
  });
413
413
  }
414
414
  func.db.pouch.set_db_replication_from_server(SESSION_ID);
415
- } catch (err) {}
415
+ } catch (err) { }
416
416
  }
417
417
  return json;
418
418
  }
@@ -853,9 +853,8 @@ func.common.getContrast_color = function (hexcolor) {
853
853
  };
854
854
 
855
855
  func.common.get_url = function (SESSION_ID, method, path) {
856
- return `https://${SESSION_OBJ[SESSION_ID].domain}/${method}${
857
- path ? "/" + path : "/"
858
- }`;
856
+ return `https://${SESSION_OBJ[SESSION_ID].domain}/${method}${path ? "/" + path : "/"
857
+ }`;
859
858
  };
860
859
 
861
860
  var UI_FRAMEWORK_INSTALLED = null;
@@ -2516,6 +2515,8 @@ func.datasource.execute = async function (
2516
2515
  break;
2517
2516
  }
2518
2517
 
2518
+
2519
+
2519
2520
  case "csv":
2520
2521
  let data = await get_data_from_source();
2521
2522
  if (data === null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.1126",
3
+ "version": "1.3.1128",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {