@foundbyte/uni-libs 0.0.10-alpha.2 → 0.0.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.
@@ -4,13 +4,8 @@ import wx from "weixin-js-sdk";
4
4
  const userAgent = navigator.userAgent.toLowerCase();
5
5
  const isIOSOrAndroid = !userAgent.includes("miniprogram") && (userAgent.includes("android") || userAgent.includes("iphone") || userAgent.includes("ipad"));
6
6
  async function loadWebview() {
7
- if (isIOSOrAndroid) {
8
- console.log("webview.1.5.6");
9
- await import("../../assets/js/webview/uni.webview.1.5.6.js");
10
- } else {
11
- console.log("webview.1.5.5");
12
- await import("../../assets/js/webview/uni.webview.1.5.5.js");
13
- }
7
+ if (isIOSOrAndroid) await import("../../assets/js/webview/uni.webview.1.5.6.js");
8
+ else await import("../../assets/js/webview/uni.webview.1.5.5.js");
14
9
  }
15
10
  loadWebview();
16
11
  document.addEventListener("UniAppJSBridgeReady", function() {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@foundbyte/uni-libs",
3
3
  "description": "FoundByte Uni Libs",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "0.0.10-alpha.02",
5
+ "version": "0.0.11",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",