@tuya-sat/micro-script 3.0.27-beta.10 → 3.0.27-beta.11

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.
@@ -68,6 +68,7 @@ function getFakeSaas(config) {
68
68
  base: '',
69
69
  env: '',
70
70
  region: '',
71
+ isOpenCode: true,
71
72
  saas: {
72
73
  background_image: 'https://images.tuyacn.com/rms-static/537a3fd0-1b5a-11ec-b7af-2d39f353debc-1632283530317.jpg?tyName=login.jpg',
73
74
  charge_status: 'TRIAL',
@@ -81,18 +82,18 @@ function getFakeSaas(config) {
81
82
  label: '',
82
83
  legal_notice: 'https://ruomu-abc-001.fast-cn.wgine.com/policies/legal',
83
84
  logo: 'https://images.tuyacn.com/rms-static/bc42adb0-6f86-11ec-b5fa-7deb2a111a61-1641538501643.png?tyName=%E9%BB%98%E8%AE%A4logo%2056X56%20.png',
84
- privacy_policy: "https://ruomu-abc-001.fast-cn.wgine.com/policies/privacy",
85
- service_terms: "https://ruomu-abc-001.fast-cn.wgine.com/policies/service",
85
+ privacy_policy: 'https://ruomu-abc-001.fast-cn.wgine.com/policies/privacy',
86
+ service_terms: 'https://ruomu-abc-001.fast-cn.wgine.com/policies/service',
86
87
  supported_language: { en: 'English', zh: '简体中文' },
87
88
  tenant_register_support: false,
88
- tenant_type: "SINGLE_TENANT",
89
- title: "物联网开放平台"
89
+ tenant_type: 'SINGLE_TENANT',
90
+ title: '物联网开放平台',
90
91
  },
91
92
  },
92
93
  _SDF_CONFIG: {},
93
94
  __MAIN_APP_PUBLIC_PATH: 'https://static1.tuyacn.com/static/sdf-main-app/0.0.0-123/',
94
95
  };
95
- Object.keys(saasInfo).forEach(key => {
96
+ Object.keys(saasInfo).forEach((key) => {
96
97
  saas._SDF.saas[key] = saasInfo[key] ? saasInfo[key] : saas._SDF.saas[key];
97
98
  });
98
99
  return saas;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.0.27-beta.10",
3
+ "version": "3.0.27-beta.11",
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.0.27-beta.10",
27
- "@tuya-sat/micro-dev-proxy": "3.0.27-beta.10",
28
- "@tuya-sat/micro-utils": "3.0.27-beta.10",
26
+ "@tuya-sat/micro-dev-loader": "3.0.27-beta.11",
27
+ "@tuya-sat/micro-dev-proxy": "3.0.27-beta.11",
28
+ "@tuya-sat/micro-utils": "3.0.27-beta.11",
29
29
  "@types/kill-port": "^2.0.0",
30
30
  "babel-loader": "8.2.4",
31
31
  "babel-plugin-import": "1.13.3",