@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.
@@ -62,6 +62,8 @@ export const getDeviceInfo = () => {
62
62
  const info = {
63
63
  /** 应用二进制接口类型(仅 Android 支持) */
64
64
  abi: '',
65
+ /** 设备二进制接口类型(仅 Android 支持) */
66
+ deviceAbi: '',
65
67
  /** 设备性能等级(仅Android小游戏)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50) */
66
68
  benchmarkLevel: -1,
67
69
  /** 设备品牌 */
@@ -71,7 +73,9 @@ export const getDeviceInfo = () => {
71
73
  /** 操作系统及版本 */
72
74
  system: md.os(),
73
75
  /** 客户端平台 */
74
- platform: navigator.platform
76
+ platform: navigator.platform,
77
+ /** 设备二进制接口类型(仅 Android 支持) */
78
+ CPUType: '',
75
79
  };
76
80
  return info;
77
81
  };
package/dist/index.cjs.js CHANGED
@@ -657,6 +657,8 @@ const getDeviceInfo = () => {
657
657
  const info = {
658
658
  /** 应用二进制接口类型(仅 Android 支持) */
659
659
  abi: '',
660
+ /** 设备二进制接口类型(仅 Android 支持) */
661
+ deviceAbi: '',
660
662
  /** 设备性能等级(仅Android小游戏)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50) */
661
663
  benchmarkLevel: -1,
662
664
  /** 设备品牌 */
@@ -666,7 +668,9 @@ const getDeviceInfo = () => {
666
668
  /** 操作系统及版本 */
667
669
  system: md.os(),
668
670
  /** 客户端平台 */
669
- platform: navigator.platform
671
+ platform: navigator.platform,
672
+ /** 设备二进制接口类型(仅 Android 支持) */
673
+ CPUType: '',
670
674
  };
671
675
  return info;
672
676
  };