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.
- package/dist/AssistsX.d.ts +1 -1
- package/dist/AssistsX.js +1 -1
- package/package.json +1 -1
- package/src/AssistsX.ts +1 -1
package/dist/AssistsX.d.ts
CHANGED
|
@@ -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():
|
|
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
|
|
451
|
+
static getAndroidID() {
|
|
452
452
|
const response = this.call(CallMethod.getAndroidID);
|
|
453
453
|
return response.getDataOrDefault("");
|
|
454
454
|
}
|
package/package.json
CHANGED
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
|
|
525
|
+
public static getAndroidID(): any {
|
|
526
526
|
const response = this.call(CallMethod.getAndroidID);
|
|
527
527
|
return response.getDataOrDefault("");
|
|
528
528
|
}
|