@xuda.io/xuda-worker-bundle-min 1.3.196 → 1.3.198

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 +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -355,8 +355,7 @@ func.common.db = async function (
355
355
  !SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)
356
356
  ) {
357
357
  if (SESSION_OBJ[SESSION_ID].engine_mode === "live_preview") {
358
- const ret = await perform_rpi_request_from_studio(serviceP);
359
- return ret;
358
+ return resolve(perform_rpi_request_from_studio(serviceP));
360
359
  }
361
360
  return perform_rpi_request(serviceP);
362
361
  }
@@ -5443,7 +5442,7 @@ func.utils.ws_worker.functions = {
5443
5442
  const event = new CustomEvent(eventName, { detail });
5444
5443
  self.dispatchEvent(event);
5445
5444
  }
5446
- emitCustomEvent("rpi_request_response_worker_" + detail.table_id, {
5445
+ emitCustomEvent("rpi_request_response_worker_" + params.table_id, {
5447
5446
  data: params,
5448
5447
  });
5449
5448
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.196",
3
+ "version": "1.3.198",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {