@koi-design/callkit 2.0.5-beta.3 → 2.0.5-beta.4
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 +4 -4
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -628,7 +628,7 @@ var Call = class {
|
|
|
628
628
|
// package.json
|
|
629
629
|
var package_default = {
|
|
630
630
|
name: "@koi-design/callkit",
|
|
631
|
-
version: "2.0.5-beta.
|
|
631
|
+
version: "2.0.5-beta.4",
|
|
632
632
|
description: "callkit",
|
|
633
633
|
author: "koi",
|
|
634
634
|
license: "ISC",
|
|
@@ -1045,6 +1045,9 @@ var Connect = class {
|
|
|
1045
1045
|
this.callKit.trigger(KitEvent.KIT_CALL_ID_CHANGE, callId);
|
|
1046
1046
|
}
|
|
1047
1047
|
async reset() {
|
|
1048
|
+
this.isOutgoing = false;
|
|
1049
|
+
this.isUnprompted = false;
|
|
1050
|
+
this.hasInvite = false;
|
|
1048
1051
|
if (this.isHolding()) {
|
|
1049
1052
|
await this.setHold(false);
|
|
1050
1053
|
}
|
|
@@ -1064,9 +1067,6 @@ var Connect = class {
|
|
|
1064
1067
|
this.mediaStream = void 0;
|
|
1065
1068
|
this.userAgent = void 0;
|
|
1066
1069
|
this.registerer = void 0;
|
|
1067
|
-
this.isOutgoing = false;
|
|
1068
|
-
this.isUnprompted = false;
|
|
1069
|
-
this.hasInvite = false;
|
|
1070
1070
|
if (this.mediaStream) {
|
|
1071
1071
|
try {
|
|
1072
1072
|
closeStream(this.mediaStream);
|