@xuda.io/xuda-worker-bundle-min 1.3.204 → 1.3.206

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -354,7 +354,12 @@ func.common.db = async function (
354
354
  typeof IS_PROCESS_SERVER === "undefined") ||
355
355
  !SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)
356
356
  ) {
357
- if (SESSION_OBJ[SESSION_ID].engine_mode === "live_preview") {
357
+ if (
358
+ SESSION_OBJ[SESSION_ID].engine_mode === "live_preview" &&
359
+ ["dbs_read", "dbs_update", "dbs_delete", "dbs_restore"].includes(
360
+ serviceP
361
+ )
362
+ ) {
358
363
  const ret = {
359
364
  code: 1,
360
365
  data: await perform_rpi_request_from_studio(serviceP),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.204",
3
+ "version": "1.3.206",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {