@koi-design/callkit 2.3.0-beta.7 → 2.3.0-beta.8
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.global.js +5 -11
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -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.
|
|
3892
|
+
version: "2.3.0-beta.8",
|
|
3893
3893
|
description: "callkit",
|
|
3894
3894
|
author: "koi",
|
|
3895
3895
|
license: "ISC",
|
|
@@ -20549,10 +20549,7 @@ ${log}` : log;
|
|
|
20549
20549
|
caller: "CallKit.register",
|
|
20550
20550
|
content: {}
|
|
20551
20551
|
});
|
|
20552
|
-
|
|
20553
|
-
if (userInfo.phoneType === PhoneTypeEnum.SIP) {
|
|
20554
|
-
this.connect.register();
|
|
20555
|
-
}
|
|
20552
|
+
this.connect.register();
|
|
20556
20553
|
}
|
|
20557
20554
|
async unregister() {
|
|
20558
20555
|
if (!this.config.check())
|
|
@@ -20662,13 +20659,10 @@ ${log}` : log;
|
|
|
20662
20659
|
force
|
|
20663
20660
|
}
|
|
20664
20661
|
});
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
if (this.connect.isCalling()) {
|
|
20668
|
-
await this.hangup();
|
|
20669
|
-
}
|
|
20670
|
-
await this.connect.reset({ force });
|
|
20662
|
+
if (this.connect.isCalling()) {
|
|
20663
|
+
await this.hangup();
|
|
20671
20664
|
}
|
|
20665
|
+
await this.connect.reset({ force });
|
|
20672
20666
|
if (this.config.isLogin()) {
|
|
20673
20667
|
await this.logout({ isReset: false });
|
|
20674
20668
|
} else {
|