@xuda.io/xuda-worker-bundle-min 1.3.705 → 1.3.707

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 +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4315,14 +4315,16 @@ func.datasource.get_value = async function (
4315
4315
 
4316
4316
  if (!org_dsSessionP && recordId) {
4317
4317
  // if (typeof _ds.data_feed?.rows?.[recordId]?.[_field_id] !== "undefined") {
4318
- if (!Object.keys(_ds.data_feed?.rows?.[recordId])?.includes(_field_id)) {
4318
+ if (
4319
+ Object.keys(_ds.data_feed?.rows?.[recordId] || {})?.includes(_field_id)
4320
+ ) {
4319
4321
  return await return_value(
4320
4322
  _field_id,
4321
4323
  _ds.data_feed.rows[recordId][_field_id]
4322
4324
  );
4323
4325
  }
4324
4326
  // if (typeof _ds?.dynamic_fields?.[_field_id] !== "undefined") {
4325
- if (!Object.keys(_ds?.dynamic_fields)?.includes(_field_id)) {
4327
+ if (Object.keys(_ds?.dynamic_fields || {})?.includes(_field_id)) {
4326
4328
  return await return_dynamic_value(
4327
4329
  _field_id,
4328
4330
  _ds.dynamic_fields[_field_id]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.705",
3
+ "version": "1.3.707",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {