@xuda.io/xuda-worker-bundle-min 1.3.199 → 1.3.201
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.
- package/index.js +6 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -355,7 +355,11 @@ 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
|
-
|
|
358
|
+
const ret = {
|
|
359
|
+
code: 1,
|
|
360
|
+
data: perform_rpi_request_from_studio(serviceP),
|
|
361
|
+
};
|
|
362
|
+
return success_callback(ret);
|
|
359
363
|
}
|
|
360
364
|
return perform_rpi_request(serviceP);
|
|
361
365
|
}
|
|
@@ -5443,7 +5447,7 @@ func.utils.ws_worker.functions = {
|
|
|
5443
5447
|
self.dispatchEvent(event);
|
|
5444
5448
|
}
|
|
5445
5449
|
emitCustomEvent("rpi_request_response_worker_" + params.table_id, {
|
|
5446
|
-
data: params,
|
|
5450
|
+
data: params.data,
|
|
5447
5451
|
});
|
|
5448
5452
|
},
|
|
5449
5453
|
};
|