@dcloudio/uni-quickapp-webview 2.0.2-4020820240925002 → 2.0.2-4030620241128001
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/dist/index.js +7 -1
- package/license.md +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -311,6 +311,10 @@ const promiseInterceptor = {
|
|
|
311
311
|
}
|
|
312
312
|
return new Promise((resolve, reject) => {
|
|
313
313
|
res.then(res => {
|
|
314
|
+
if (!res) {
|
|
315
|
+
resolve(res);
|
|
316
|
+
return
|
|
317
|
+
}
|
|
314
318
|
if (res[0]) {
|
|
315
319
|
reject(res[0]);
|
|
316
320
|
} else {
|
|
@@ -861,6 +865,7 @@ function populateParameters (result) {
|
|
|
861
865
|
appVersionCode: process.env.UNI_APP_VERSION_CODE,
|
|
862
866
|
appLanguage: getAppLanguage(hostLanguage),
|
|
863
867
|
uniCompileVersion: process.env.UNI_COMPILER_VERSION,
|
|
868
|
+
uniCompilerVersion: process.env.UNI_COMPILER_VERSION,
|
|
864
869
|
uniRuntimeVersion: process.env.UNI_COMPILER_VERSION,
|
|
865
870
|
uniPlatform: process.env.UNI_SUB_PLATFORM || process.env.UNI_PLATFORM,
|
|
866
871
|
deviceBrand,
|
|
@@ -884,7 +889,8 @@ function populateParameters (result) {
|
|
|
884
889
|
ua: undefined,
|
|
885
890
|
hostPackageName: undefined,
|
|
886
891
|
browserName: undefined,
|
|
887
|
-
browserVersion: undefined
|
|
892
|
+
browserVersion: undefined,
|
|
893
|
+
isUniAppX: false
|
|
888
894
|
};
|
|
889
895
|
|
|
890
896
|
Object.assign(result, parameters, extraParam);
|
package/license.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[https://
|
|
1
|
+
[https://dcloud.io/license/uni-app.html](https://dcloud.io/license/uni-app.html)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "2.0.2-
|
|
3
|
+
"version": "2.0.2-4030620241128001",
|
|
4
4
|
"description": "uni-app quickapp-webview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"name": "quickapp-webview",
|
|
18
18
|
"title": "快应用(Webview)版"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "260d428e1b77f54051f87b758586e3333ca58619"
|
|
21
21
|
}
|