@tarojs/taro-h5 3.6.0-alpha.0 → 3.6.0-alpha.2

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
@@ -662,6 +662,8 @@ const getDeviceInfo = () => {
662
662
  const info = {
663
663
  /** 应用二进制接口类型(仅 Android 支持) */
664
664
  abi: '',
665
+ /** 设备二进制接口类型(仅 Android 支持) */
666
+ deviceAbi: '',
665
667
  /** 设备性能等级(仅Android小游戏)。取值为:-2 或 0(该设备无法运行小游戏),-1(性能未知),>=1(设备性能值,该值越高,设备性能越好,目前最高不到50) */
666
668
  benchmarkLevel: -1,
667
669
  /** 设备品牌 */
@@ -671,7 +673,9 @@ const getDeviceInfo = () => {
671
673
  /** 操作系统及版本 */
672
674
  system: md.os(),
673
675
  /** 客户端平台 */
674
- platform: navigator.platform
676
+ platform: navigator.platform,
677
+ /** 设备二进制接口类型(仅 Android 支持) */
678
+ CPUType: '',
675
679
  };
676
680
  return info;
677
681
  };