assistsx-js 0.0.2023 → 0.0.2024
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 +2 -2
- package/dist/CallMethod.d.ts +1 -1
- package/dist/CallMethod.js +1 -1
- package/package.json +1 -1
- package/src/AssistsX.ts +2 -2
- package/src/CallMethod.ts +1 -1
package/dist/AssistsX.d.ts
CHANGED
|
@@ -384,7 +384,7 @@ export declare class AssistsX {
|
|
|
384
384
|
static getAndroidID(): any;
|
|
385
385
|
static getMacAddress(): Promise<any>;
|
|
386
386
|
static getDeviceInfo(): Promise<any>;
|
|
387
|
-
static
|
|
387
|
+
static getNetworkType(): Promise<any>;
|
|
388
388
|
static setAccessibilityEventFilters(value: AccessibilityEventFilter[]): Promise<any>;
|
|
389
389
|
static addAccessibilityEventFilter(value: AccessibilityEventFilter): Promise<any>;
|
|
390
390
|
/**
|
package/dist/AssistsX.js
CHANGED
|
@@ -570,8 +570,8 @@ export class AssistsX {
|
|
|
570
570
|
const response = await this.asyncCall(CallMethod.getDeviceInfo);
|
|
571
571
|
return response.getDataOrDefault({});
|
|
572
572
|
}
|
|
573
|
-
static async
|
|
574
|
-
const response = await this.asyncCall(CallMethod.
|
|
573
|
+
static async getNetworkType() {
|
|
574
|
+
const response = await this.asyncCall(CallMethod.getNetworkType);
|
|
575
575
|
return response.getDataOrDefault({});
|
|
576
576
|
}
|
|
577
577
|
static async setAccessibilityEventFilters(value) {
|
package/dist/CallMethod.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ export declare const CallMethod: {
|
|
|
46
46
|
readonly setAccessibilityEventFilters: "setAccessibilityEventFilters";
|
|
47
47
|
readonly httpRequest: "httpRequest";
|
|
48
48
|
readonly getDeviceInfo: "getDeviceInfo";
|
|
49
|
-
readonly
|
|
49
|
+
readonly getNetworkType: "getNetworkType";
|
|
50
50
|
};
|
|
51
51
|
export type CallMethodType = (typeof CallMethod)[keyof typeof CallMethod];
|
package/dist/CallMethod.js
CHANGED
package/package.json
CHANGED
package/src/AssistsX.ts
CHANGED
|
@@ -824,8 +824,8 @@ export class AssistsX {
|
|
|
824
824
|
const response = await this.asyncCall(CallMethod.getDeviceInfo);
|
|
825
825
|
return response.getDataOrDefault({});
|
|
826
826
|
}
|
|
827
|
-
public static async
|
|
828
|
-
const response = await this.asyncCall(CallMethod.
|
|
827
|
+
public static async getNetworkType(): Promise<any> {
|
|
828
|
+
const response = await this.asyncCall(CallMethod.getNetworkType);
|
|
829
829
|
return response.getDataOrDefault({});
|
|
830
830
|
}
|
|
831
831
|
public static async setAccessibilityEventFilters(
|