@dcloudio/uni-quickapp-webview 2.0.2-3061820230117002 → 2.0.2-3070320230222001

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/dist/index.js +4 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -318,7 +318,7 @@ const promiseInterceptor = {
318
318
  };
319
319
 
320
320
  const SYNC_API_RE =
321
- /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting/;
321
+ /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
322
322
 
323
323
  const CONTEXT_API_RE = /^create|Manager$/;
324
324
 
@@ -819,6 +819,8 @@ function populateParameters (result) {
819
819
  } = result;
820
820
  // const isQuickApp = "quickapp-webview".indexOf('quickapp-webview') !== -1
821
821
 
822
+ const extraParam = {};
823
+
822
824
  // osName osVersion
823
825
  let osName = '';
824
826
  let osVersion = '';
@@ -884,7 +886,7 @@ function populateParameters (result) {
884
886
  browserVersion: undefined
885
887
  };
886
888
 
887
- Object.assign(result, parameters);
889
+ Object.assign(result, parameters, extraParam);
888
890
  }
889
891
 
890
892
  function getGetDeviceType (result, model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-quickapp-webview",
3
- "version": "2.0.2-3061820230117002",
3
+ "version": "2.0.2-3070320230222001",
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": "ba73983f0945234511259f345277642d32a4b9f9"
20
+ "gitHead": "a9d838acc59ca170813ae09cd04890ffffd88071"
21
21
  }