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