@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.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2258",
3
+ "version": "1.3.2260",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {