assistsx-js 0.0.1350 → 0.0.1352

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.
@@ -325,7 +325,7 @@ export declare class AssistsX {
325
325
  longPressDuration?: number;
326
326
  }): Promise<boolean>;
327
327
  static getAppInfo(packageName: string): Promise<any>;
328
- static getAndroidID(): Promise<any>;
328
+ static getAndroidID(): any;
329
329
  static getMacAddress(): Promise<any>;
330
330
  /**
331
331
  * 获取屏幕尺寸
package/dist/AssistsX.js CHANGED
@@ -448,7 +448,7 @@ export class AssistsX {
448
448
  const response = await this.asyncCall(CallMethod.getAppInfo, { args: { packageName } });
449
449
  return response.getDataOrDefault({});
450
450
  }
451
- static async getAndroidID() {
451
+ static getAndroidID() {
452
452
  const response = this.call(CallMethod.getAndroidID);
453
453
  return response.getDataOrDefault("");
454
454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assistsx-js",
3
- "version": "0.0.1350",
3
+ "version": "0.0.1352",
4
4
  "description": "assistsx-js自动化开发SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/src/AssistsX.ts CHANGED
@@ -522,7 +522,7 @@ export class AssistsX {
522
522
  const response = await this.asyncCall(CallMethod.getAppInfo, { args: { packageName } });
523
523
  return response.getDataOrDefault({});
524
524
  }
525
- public static async getAndroidID(): Promise<any> {
525
+ public static getAndroidID(): any {
526
526
  const response = this.call(CallMethod.getAndroidID);
527
527
  return response.getDataOrDefault("");
528
528
  }