@tuya-sat/micro-script 3.1.6 → 3.1.7
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.
|
@@ -132,15 +132,7 @@ function mockSaasInfo(app, microPort) {
|
|
|
132
132
|
const entry_id = (0, uuid_1.v4)();
|
|
133
133
|
const oem_micro_app_id = manifest.universalId;
|
|
134
134
|
const baseUrl = `/apps/${oem_micro_app_id}`;
|
|
135
|
-
const
|
|
136
|
-
{
|
|
137
|
-
manifest,
|
|
138
|
-
oem_micro_app_id,
|
|
139
|
-
baseUrl,
|
|
140
|
-
lang,
|
|
141
|
-
port: microPort
|
|
142
|
-
}
|
|
143
|
-
]);
|
|
135
|
+
const app = consturctApp(manifest, oem_micro_app_id, baseUrl, lang, microPort);
|
|
144
136
|
const entryInfo = consturctEntry(manifest, oem_micro_app_id, entry_id, baseUrl, lang, '');
|
|
145
137
|
const permission = consturctPermissions();
|
|
146
138
|
res.send({
|
|
@@ -148,7 +140,7 @@ function mockSaasInfo(app, microPort) {
|
|
|
148
140
|
errorMsg: null,
|
|
149
141
|
msg: null,
|
|
150
142
|
result: {
|
|
151
|
-
apps:
|
|
143
|
+
apps: [app],
|
|
152
144
|
entry_info: { entries: [entryInfo], entry_mode: 'normal' },
|
|
153
145
|
permissions: { [oem_micro_app_id]: permission },
|
|
154
146
|
saas_id_info_list: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-script",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
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.1.
|
|
27
|
-
"@tuya-sat/micro-dev-proxy": "3.1.
|
|
28
|
-
"@tuya-sat/micro-utils": "3.1.
|
|
26
|
+
"@tuya-sat/micro-dev-loader": "3.1.7",
|
|
27
|
+
"@tuya-sat/micro-dev-proxy": "3.1.7",
|
|
28
|
+
"@tuya-sat/micro-utils": "3.1.7",
|
|
29
29
|
"@types/kill-port": "^2.0.0",
|
|
30
30
|
"babel-loader": "8.2.4",
|
|
31
31
|
"babel-plugin-import": "1.13.3",
|