@koi-design/callkit 2.3.0-beta.2 → 2.3.0-beta.3

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/index.d.ts CHANGED
@@ -5338,7 +5338,7 @@ declare class CallKit {
5338
5338
  */
5339
5339
  setUserStatus(status: number, extra?: {
5340
5340
  [key: string]: any;
5341
- }): Promise<any>;
5341
+ }): Promise<void>;
5342
5342
  /**
5343
5343
  * reset callkit
5344
5344
  * @description recover the callkit to the initial state
@@ -3889,7 +3889,7 @@ var WebCall = (() => {
3889
3889
  // package.json
3890
3890
  var package_default = {
3891
3891
  name: "@koi-design/callkit",
3892
- version: "2.3.0-beta.2",
3892
+ version: "2.3.0-beta.3",
3893
3893
  description: "callkit",
3894
3894
  author: "koi",
3895
3895
  license: "ISC",
@@ -20638,13 +20638,12 @@ ${log}` : log;
20638
20638
  agentId
20639
20639
  }
20640
20640
  });
20641
- const res = await this.api.updateUserStatus({
20641
+ await this.api.updateUserStatus({
20642
20642
  agentId,
20643
20643
  userStatus: status,
20644
20644
  timestamp: Date.now(),
20645
20645
  ...extra
20646
20646
  });
20647
- return res;
20648
20647
  }
20649
20648
  /**
20650
20649
  * reset callkit