@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.
@@ -3826,7 +3826,7 @@ var WebCall = (() => {
3826
3826
  // package.json
3827
3827
  var package_default = {
3828
3828
  name: "@koi-design/callkit",
3829
- version: "2.0.5-beta.3",
3829
+ version: "2.0.5-beta.4",
3830
3830
  description: "callkit",
3831
3831
  author: "koi",
3832
3832
  license: "ISC",
@@ -18635,6 +18635,9 @@ var WebCall = (() => {
18635
18635
  this.callKit.trigger(KitEvent.KIT_CALL_ID_CHANGE, callId);
18636
18636
  }
18637
18637
  async reset() {
18638
+ this.isOutgoing = false;
18639
+ this.isUnprompted = false;
18640
+ this.hasInvite = false;
18638
18641
  if (this.isHolding()) {
18639
18642
  await this.setHold(false);
18640
18643
  }
@@ -18654,9 +18657,6 @@ var WebCall = (() => {
18654
18657
  this.mediaStream = void 0;
18655
18658
  this.userAgent = void 0;
18656
18659
  this.registerer = void 0;
18657
- this.isOutgoing = false;
18658
- this.isUnprompted = false;
18659
- this.hasInvite = false;
18660
18660
  if (this.mediaStream) {
18661
18661
  try {
18662
18662
  closeStream(this.mediaStream);