@tarojs/taro-h5 3.5.11 → 3.5.12
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/api/base/system.js +5 -1
- package/dist/index.cjs.js +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -631,6 +631,8 @@ const getDeviceInfo = () => {
|
|
|
631
631
|
const info = {
|
|
632
632
|
/** 应用二进制接口类型(仅 Android 支持) */
|
|
633
633
|
abi: '',
|
|
634
|
+
/** 设备二进制接口类型(仅 Android 支持) */
|
|
635
|
+
deviceAbi: '',
|
|
634
636
|
/** 设备性能等级(仅Android小游戏)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50) */
|
|
635
637
|
benchmarkLevel: -1,
|
|
636
638
|
/** 设备品牌 */
|
|
@@ -640,7 +642,9 @@ const getDeviceInfo = () => {
|
|
|
640
642
|
/** 操作系统及版本 */
|
|
641
643
|
system: md.os(),
|
|
642
644
|
/** 客户端平台 */
|
|
643
|
-
platform: navigator.platform
|
|
645
|
+
platform: navigator.platform,
|
|
646
|
+
/** 设备二进制接口类型(仅 Android 支持) */
|
|
647
|
+
CPUType: '',
|
|
644
648
|
};
|
|
645
649
|
return info;
|
|
646
650
|
};
|