@tuya-sat/micro-script 3.2.2 → 3.2.4

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.
@@ -221,9 +221,9 @@ function refactorConstructApp(config, localApps) {
221
221
  const packageInfo = (0, micro_utils_1.getPackage)();
222
222
  return localApps.map((app) => {
223
223
  const uuid = app.manifest.universalId;
224
- const appInfo = saasAppsMap[app.oem_micro_app_id];
224
+ const appInfo = saasAppsMap[app.oem_micro_app_id] || {};
225
225
  return {
226
- ext_info: appInfo === null || appInfo === void 0 ? void 0 : appInfo.ext_info,
226
+ ext_info: appInfo.ext_info,
227
227
  micro_app_config: appInfo.micro_app_config,
228
228
  lang_package_biz_id: appInfo.lang_package_biz_id,
229
229
  active_rule: app.baseUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -23,9 +23,9 @@
23
23
  "@babel/preset-typescript": "7.16.7",
24
24
  "@babel/traverse": "^7.20.13",
25
25
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
26
- "@tuya-sat/micro-dev-loader": "3.2.2",
27
- "@tuya-sat/micro-dev-proxy": "3.2.2",
28
- "@tuya-sat/micro-utils": "3.2.2",
26
+ "@tuya-sat/micro-dev-loader": "3.2.4",
27
+ "@tuya-sat/micro-dev-proxy": "3.2.4",
28
+ "@tuya-sat/micro-utils": "3.2.4",
29
29
  "@types/kill-port": "^2.0.0",
30
30
  "babel-loader": "8.2.4",
31
31
  "babel-plugin-import": "1.13.3",