assistsx-js 0.0.2034 → 0.0.2035

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.
@@ -647,7 +647,7 @@ export class AssistsXAsync {
647
647
  }
648
648
  static async audioPlayFromFile(filePath, volume = undefined, timeout) {
649
649
  const response = await this.asyncCall(CallMethod.audioPlayFromFile, {
650
- args: { filePath },
650
+ args: { filePath, volume },
651
651
  timeout,
652
652
  });
653
653
  return response.getDataOrDefault(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assistsx-js",
3
- "version": "0.0.2034",
3
+ "version": "0.0.2035",
4
4
  "description": "assistsx-js自动化开发SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -931,7 +931,7 @@ export class AssistsXAsync {
931
931
  timeout?: number
932
932
  ): Promise<string | null | undefined> {
933
933
  const response = await this.asyncCall(CallMethod.audioPlayFromFile, {
934
- args: { filePath },
934
+ args: { filePath, volume },
935
935
  timeout,
936
936
  });
937
937
  return response.getDataOrDefault(null);