@xuda.io/runtime-bundle 1.0.1233 → 1.0.1235
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/js/xuda-runtime-bundle.js +3 -0
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +3 -0
- package/js/xuda-runtime-slim.min.es.js +3 -0
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +3 -0
- package/js/xuda-worker-bundle.js +3 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/js/xuda_common-bundle.js +3 -0
- package/js/xuda_common-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -2598,6 +2598,9 @@ func.common.perform_rpi_request = async function (SESSION_ID, serviceP, opt = {}
|
|
|
2598
2598
|
if (_session.engine_mode === 'live_preview') {
|
|
2599
2599
|
throw new Error('live_preview');
|
|
2600
2600
|
}
|
|
2601
|
+
if (_session.engine_mode === 'miniapp') {
|
|
2602
|
+
throw new Error('miniapp');
|
|
2603
|
+
}
|
|
2601
2604
|
|
|
2602
2605
|
if (SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)) {
|
|
2603
2606
|
const ret = await func.common.get_data_from_websocket(SESSION_ID, serviceP, data);
|
|
@@ -2599,6 +2599,9 @@ func.common.perform_rpi_request = async function (SESSION_ID, serviceP, opt = {}
|
|
|
2599
2599
|
if (_session.engine_mode === 'live_preview') {
|
|
2600
2600
|
throw new Error('live_preview');
|
|
2601
2601
|
}
|
|
2602
|
+
if (_session.engine_mode === 'miniapp') {
|
|
2603
|
+
throw new Error('miniapp');
|
|
2604
|
+
}
|
|
2602
2605
|
|
|
2603
2606
|
if (SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)) {
|
|
2604
2607
|
const ret = await func.common.get_data_from_websocket(SESSION_ID, serviceP, data);
|