@xuda.io/xuda-worker-bundle-min 1.3.2258 → 1.3.2260
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 +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -974,6 +974,9 @@ func.common.perform_rpi_request = async function (SESSION_ID, serviceP, opt = {}
|
|
|
974
974
|
if (_session.engine_mode === 'live_preview') {
|
|
975
975
|
throw new Error('live_preview');
|
|
976
976
|
}
|
|
977
|
+
if (_session.engine_mode === 'miniapp') {
|
|
978
|
+
throw new Error('miniapp');
|
|
979
|
+
}
|
|
977
980
|
|
|
978
981
|
if (SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)) {
|
|
979
982
|
const ret = await func.common.get_data_from_websocket(SESSION_ID, serviceP, data);
|