@koi-design/callkit 2.0.2 → 2.0.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.
@@ -37,9 +37,9 @@ var WebCall = (() => {
37
37
  ));
38
38
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
39
39
 
40
- // node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js
40
+ // ../../node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js
41
41
  var require_md5 = __commonJS({
42
- "node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js"(exports, module) {
42
+ "../../node_modules/.pnpm/blueimp-md5@2.19.0/node_modules/blueimp-md5/js/md5.js"(exports, module) {
43
43
  (function($) {
44
44
  "use strict";
45
45
  function safeAdd(x, y) {
@@ -246,9 +246,9 @@ var WebCall = (() => {
246
246
  }
247
247
  });
248
248
 
249
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/bind.js
249
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/bind.js
250
250
  var require_bind = __commonJS({
251
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/bind.js"(exports, module) {
251
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/bind.js"(exports, module) {
252
252
  "use strict";
253
253
  module.exports = function bind(fn, thisArg) {
254
254
  return function wrap() {
@@ -262,9 +262,9 @@ var WebCall = (() => {
262
262
  }
263
263
  });
264
264
 
265
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/utils.js
265
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/utils.js
266
266
  var require_utils = __commonJS({
267
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/utils.js"(exports, module) {
267
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/utils.js"(exports, module) {
268
268
  "use strict";
269
269
  var bind = require_bind();
270
270
  var toString = Object.prototype.toString;
@@ -415,9 +415,9 @@ var WebCall = (() => {
415
415
  }
416
416
  });
417
417
 
418
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/buildURL.js
418
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/buildURL.js
419
419
  var require_buildURL = __commonJS({
420
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/buildURL.js"(exports, module) {
420
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/buildURL.js"(exports, module) {
421
421
  "use strict";
422
422
  var utils = require_utils();
423
423
  function encode(val) {
@@ -466,9 +466,9 @@ var WebCall = (() => {
466
466
  }
467
467
  });
468
468
 
469
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/InterceptorManager.js
469
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/InterceptorManager.js
470
470
  var require_InterceptorManager = __commonJS({
471
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/InterceptorManager.js"(exports, module) {
471
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/InterceptorManager.js"(exports, module) {
472
472
  "use strict";
473
473
  var utils = require_utils();
474
474
  function InterceptorManager() {
@@ -499,9 +499,9 @@ var WebCall = (() => {
499
499
  }
500
500
  });
501
501
 
502
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/normalizeHeaderName.js
502
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/normalizeHeaderName.js
503
503
  var require_normalizeHeaderName = __commonJS({
504
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/normalizeHeaderName.js"(exports, module) {
504
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/normalizeHeaderName.js"(exports, module) {
505
505
  "use strict";
506
506
  var utils = require_utils();
507
507
  module.exports = function normalizeHeaderName(headers, normalizedName) {
@@ -515,9 +515,9 @@ var WebCall = (() => {
515
515
  }
516
516
  });
517
517
 
518
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/enhanceError.js
518
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/enhanceError.js
519
519
  var require_enhanceError = __commonJS({
520
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/enhanceError.js"(exports, module) {
520
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/enhanceError.js"(exports, module) {
521
521
  "use strict";
522
522
  module.exports = function enhanceError(error, config, code, request2, response) {
523
523
  error.config = config;
@@ -551,9 +551,9 @@ var WebCall = (() => {
551
551
  }
552
552
  });
553
553
 
554
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/transitional.js
554
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/transitional.js
555
555
  var require_transitional = __commonJS({
556
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/transitional.js"(exports, module) {
556
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/transitional.js"(exports, module) {
557
557
  "use strict";
558
558
  module.exports = {
559
559
  silentJSONParsing: true,
@@ -563,9 +563,9 @@ var WebCall = (() => {
563
563
  }
564
564
  });
565
565
 
566
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/createError.js
566
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/createError.js
567
567
  var require_createError = __commonJS({
568
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/createError.js"(exports, module) {
568
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/createError.js"(exports, module) {
569
569
  "use strict";
570
570
  var enhanceError = require_enhanceError();
571
571
  module.exports = function createError(message, config, code, request2, response) {
@@ -575,9 +575,9 @@ var WebCall = (() => {
575
575
  }
576
576
  });
577
577
 
578
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/settle.js
578
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/settle.js
579
579
  var require_settle = __commonJS({
580
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/settle.js"(exports, module) {
580
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/settle.js"(exports, module) {
581
581
  "use strict";
582
582
  var createError = require_createError();
583
583
  module.exports = function settle(resolve, reject, response) {
@@ -597,9 +597,9 @@ var WebCall = (() => {
597
597
  }
598
598
  });
599
599
 
600
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/cookies.js
600
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/cookies.js
601
601
  var require_cookies = __commonJS({
602
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/cookies.js"(exports, module) {
602
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/cookies.js"(exports, module) {
603
603
  "use strict";
604
604
  var utils = require_utils();
605
605
  module.exports = utils.isStandardBrowserEnv() ? (
@@ -649,9 +649,9 @@ var WebCall = (() => {
649
649
  }
650
650
  });
651
651
 
652
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
652
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
653
653
  var require_isAbsoluteURL = __commonJS({
654
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAbsoluteURL.js"(exports, module) {
654
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAbsoluteURL.js"(exports, module) {
655
655
  "use strict";
656
656
  module.exports = function isAbsoluteURL(url) {
657
657
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
@@ -659,9 +659,9 @@ var WebCall = (() => {
659
659
  }
660
660
  });
661
661
 
662
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/combineURLs.js
662
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/combineURLs.js
663
663
  var require_combineURLs = __commonJS({
664
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/combineURLs.js"(exports, module) {
664
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/combineURLs.js"(exports, module) {
665
665
  "use strict";
666
666
  module.exports = function combineURLs(baseURL, relativeURL) {
667
667
  return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
@@ -669,9 +669,9 @@ var WebCall = (() => {
669
669
  }
670
670
  });
671
671
 
672
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/buildFullPath.js
672
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/buildFullPath.js
673
673
  var require_buildFullPath = __commonJS({
674
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/buildFullPath.js"(exports, module) {
674
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/buildFullPath.js"(exports, module) {
675
675
  "use strict";
676
676
  var isAbsoluteURL = require_isAbsoluteURL();
677
677
  var combineURLs = require_combineURLs();
@@ -684,9 +684,9 @@ var WebCall = (() => {
684
684
  }
685
685
  });
686
686
 
687
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/parseHeaders.js
687
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/parseHeaders.js
688
688
  var require_parseHeaders = __commonJS({
689
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/parseHeaders.js"(exports, module) {
689
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/parseHeaders.js"(exports, module) {
690
690
  "use strict";
691
691
  var utils = require_utils();
692
692
  var ignoreDuplicateOf = [
@@ -736,9 +736,9 @@ var WebCall = (() => {
736
736
  }
737
737
  });
738
738
 
739
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
739
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
740
740
  var require_isURLSameOrigin = __commonJS({
741
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isURLSameOrigin.js"(exports, module) {
741
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isURLSameOrigin.js"(exports, module) {
742
742
  "use strict";
743
743
  var utils = require_utils();
744
744
  module.exports = utils.isStandardBrowserEnv() ? (
@@ -783,9 +783,9 @@ var WebCall = (() => {
783
783
  }
784
784
  });
785
785
 
786
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/Cancel.js
786
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/Cancel.js
787
787
  var require_Cancel = __commonJS({
788
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/Cancel.js"(exports, module) {
788
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/Cancel.js"(exports, module) {
789
789
  "use strict";
790
790
  function Cancel2(message) {
791
791
  this.message = message;
@@ -798,9 +798,9 @@ var WebCall = (() => {
798
798
  }
799
799
  });
800
800
 
801
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/xhr.js
801
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/xhr.js
802
802
  var require_xhr = __commonJS({
803
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/xhr.js"(exports, module) {
803
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/xhr.js"(exports, module) {
804
804
  "use strict";
805
805
  var utils = require_utils();
806
806
  var settle = require_settle();
@@ -949,9 +949,9 @@ var WebCall = (() => {
949
949
  }
950
950
  });
951
951
 
952
- // node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
952
+ // ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
953
953
  var require_ms = __commonJS({
954
- "node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module) {
954
+ "../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module) {
955
955
  var s = 1e3;
956
956
  var m = s * 60;
957
957
  var h = m * 60;
@@ -1065,9 +1065,9 @@ var WebCall = (() => {
1065
1065
  }
1066
1066
  });
1067
1067
 
1068
- // node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
1068
+ // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
1069
1069
  var require_common = __commonJS({
1070
- "node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module) {
1070
+ "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module) {
1071
1071
  function setup(env) {
1072
1072
  createDebug.debug = createDebug;
1073
1073
  createDebug.default = createDebug;
@@ -1242,9 +1242,9 @@ var WebCall = (() => {
1242
1242
  }
1243
1243
  });
1244
1244
 
1245
- // node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
1245
+ // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
1246
1246
  var require_browser = __commonJS({
1247
- "node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module) {
1247
+ "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module) {
1248
1248
  exports.formatArgs = formatArgs;
1249
1249
  exports.save = save;
1250
1250
  exports.load = load;
@@ -1412,9 +1412,9 @@ var WebCall = (() => {
1412
1412
  }
1413
1413
  });
1414
1414
 
1415
- // node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1415
+ // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1416
1416
  var require_has_flag = __commonJS({
1417
- "node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
1417
+ "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
1418
1418
  "use strict";
1419
1419
  module.exports = (flag, argv = process.argv) => {
1420
1420
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -1425,9 +1425,9 @@ var WebCall = (() => {
1425
1425
  }
1426
1426
  });
1427
1427
 
1428
- // node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1428
+ // ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1429
1429
  var require_supports_color = __commonJS({
1430
- "node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
1430
+ "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
1431
1431
  "use strict";
1432
1432
  var os = __require("os");
1433
1433
  var tty = __require("tty");
@@ -1527,9 +1527,9 @@ var WebCall = (() => {
1527
1527
  }
1528
1528
  });
1529
1529
 
1530
- // node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
1530
+ // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
1531
1531
  var require_node = __commonJS({
1532
- "node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module) {
1532
+ "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module) {
1533
1533
  var tty = __require("tty");
1534
1534
  var util = __require("util");
1535
1535
  exports.init = init;
@@ -1701,9 +1701,9 @@ var WebCall = (() => {
1701
1701
  }
1702
1702
  });
1703
1703
 
1704
- // node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
1704
+ // ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
1705
1705
  var require_src = __commonJS({
1706
- "node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module) {
1706
+ "../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module) {
1707
1707
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
1708
1708
  module.exports = require_browser();
1709
1709
  } else {
@@ -1712,9 +1712,9 @@ var WebCall = (() => {
1712
1712
  }
1713
1713
  });
1714
1714
 
1715
- // node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/debug.js
1715
+ // ../../node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/debug.js
1716
1716
  var require_debug = __commonJS({
1717
- "node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/debug.js"(exports, module) {
1717
+ "../../node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/debug.js"(exports, module) {
1718
1718
  var debug;
1719
1719
  module.exports = function() {
1720
1720
  if (!debug) {
@@ -1732,9 +1732,9 @@ var WebCall = (() => {
1732
1732
  }
1733
1733
  });
1734
1734
 
1735
- // node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js
1735
+ // ../../node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js
1736
1736
  var require_follow_redirects = __commonJS({
1737
- "node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js"(exports, module) {
1737
+ "../../node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js"(exports, module) {
1738
1738
  var url = __require("url");
1739
1739
  var URL = url.URL;
1740
1740
  var http = __require("http");
@@ -2228,18 +2228,18 @@ var WebCall = (() => {
2228
2228
  }
2229
2229
  });
2230
2230
 
2231
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/env/data.js
2231
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/env/data.js
2232
2232
  var require_data = __commonJS({
2233
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/env/data.js"(exports, module) {
2233
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/env/data.js"(exports, module) {
2234
2234
  module.exports = {
2235
2235
  "version": "0.26.1"
2236
2236
  };
2237
2237
  }
2238
2238
  });
2239
2239
 
2240
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/http.js
2240
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/http.js
2241
2241
  var require_http = __commonJS({
2242
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/http.js"(exports, module) {
2242
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/adapters/http.js"(exports, module) {
2243
2243
  "use strict";
2244
2244
  var utils = require_utils();
2245
2245
  var settle = require_settle();
@@ -2561,9 +2561,9 @@ var WebCall = (() => {
2561
2561
  }
2562
2562
  });
2563
2563
 
2564
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/index.js
2564
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/index.js
2565
2565
  var require_defaults = __commonJS({
2566
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/index.js"(exports, module) {
2566
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/defaults/index.js"(exports, module) {
2567
2567
  "use strict";
2568
2568
  var utils = require_utils();
2569
2569
  var normalizeHeaderName = require_normalizeHeaderName();
@@ -2668,9 +2668,9 @@ var WebCall = (() => {
2668
2668
  }
2669
2669
  });
2670
2670
 
2671
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/transformData.js
2671
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/transformData.js
2672
2672
  var require_transformData = __commonJS({
2673
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/transformData.js"(exports, module) {
2673
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/transformData.js"(exports, module) {
2674
2674
  "use strict";
2675
2675
  var utils = require_utils();
2676
2676
  var defaults = require_defaults();
@@ -2684,9 +2684,9 @@ var WebCall = (() => {
2684
2684
  }
2685
2685
  });
2686
2686
 
2687
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/isCancel.js
2687
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/isCancel.js
2688
2688
  var require_isCancel = __commonJS({
2689
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/isCancel.js"(exports, module) {
2689
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/isCancel.js"(exports, module) {
2690
2690
  "use strict";
2691
2691
  module.exports = function isCancel(value) {
2692
2692
  return !!(value && value.__CANCEL__);
@@ -2694,9 +2694,9 @@ var WebCall = (() => {
2694
2694
  }
2695
2695
  });
2696
2696
 
2697
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/dispatchRequest.js
2697
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/dispatchRequest.js
2698
2698
  var require_dispatchRequest = __commonJS({
2699
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/dispatchRequest.js"(exports, module) {
2699
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/dispatchRequest.js"(exports, module) {
2700
2700
  "use strict";
2701
2701
  var utils = require_utils();
2702
2702
  var transformData = require_transformData();
@@ -2759,9 +2759,9 @@ var WebCall = (() => {
2759
2759
  }
2760
2760
  });
2761
2761
 
2762
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/mergeConfig.js
2762
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/mergeConfig.js
2763
2763
  var require_mergeConfig = __commonJS({
2764
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/mergeConfig.js"(exports, module) {
2764
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/mergeConfig.js"(exports, module) {
2765
2765
  "use strict";
2766
2766
  var utils = require_utils();
2767
2767
  module.exports = function mergeConfig(config1, config2) {
@@ -2841,9 +2841,9 @@ var WebCall = (() => {
2841
2841
  }
2842
2842
  });
2843
2843
 
2844
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/validator.js
2844
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/validator.js
2845
2845
  var require_validator = __commonJS({
2846
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/validator.js"(exports, module) {
2846
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/validator.js"(exports, module) {
2847
2847
  "use strict";
2848
2848
  var VERSION = require_data().version;
2849
2849
  var validators = {};
@@ -2902,9 +2902,9 @@ var WebCall = (() => {
2902
2902
  }
2903
2903
  });
2904
2904
 
2905
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/Axios.js
2905
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/Axios.js
2906
2906
  var require_Axios = __commonJS({
2907
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/Axios.js"(exports, module) {
2907
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/core/Axios.js"(exports, module) {
2908
2908
  "use strict";
2909
2909
  var utils = require_utils();
2910
2910
  var buildURL = require_buildURL();
@@ -3014,9 +3014,9 @@ var WebCall = (() => {
3014
3014
  }
3015
3015
  });
3016
3016
 
3017
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/CancelToken.js
3017
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/CancelToken.js
3018
3018
  var require_CancelToken = __commonJS({
3019
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/CancelToken.js"(exports, module) {
3019
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/cancel/CancelToken.js"(exports, module) {
3020
3020
  "use strict";
3021
3021
  var Cancel2 = require_Cancel();
3022
3022
  function CancelToken(executor) {
@@ -3096,9 +3096,9 @@ var WebCall = (() => {
3096
3096
  }
3097
3097
  });
3098
3098
 
3099
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/spread.js
3099
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/spread.js
3100
3100
  var require_spread = __commonJS({
3101
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/spread.js"(exports, module) {
3101
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/spread.js"(exports, module) {
3102
3102
  "use strict";
3103
3103
  module.exports = function spread(callback) {
3104
3104
  return function wrap(arr) {
@@ -3108,9 +3108,9 @@ var WebCall = (() => {
3108
3108
  }
3109
3109
  });
3110
3110
 
3111
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAxiosError.js
3111
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAxiosError.js
3112
3112
  var require_isAxiosError = __commonJS({
3113
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAxiosError.js"(exports, module) {
3113
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/helpers/isAxiosError.js"(exports, module) {
3114
3114
  "use strict";
3115
3115
  var utils = require_utils();
3116
3116
  module.exports = function isAxiosError(payload) {
@@ -3119,9 +3119,9 @@ var WebCall = (() => {
3119
3119
  }
3120
3120
  });
3121
3121
 
3122
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/axios.js
3122
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/axios.js
3123
3123
  var require_axios = __commonJS({
3124
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/axios.js"(exports, module) {
3124
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/lib/axios.js"(exports, module) {
3125
3125
  "use strict";
3126
3126
  var utils = require_utils();
3127
3127
  var bind = require_bind();
@@ -3154,16 +3154,16 @@ var WebCall = (() => {
3154
3154
  }
3155
3155
  });
3156
3156
 
3157
- // node_modules/.pnpm/axios@0.26.1/node_modules/axios/index.js
3157
+ // ../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/index.js
3158
3158
  var require_axios2 = __commonJS({
3159
- "node_modules/.pnpm/axios@0.26.1/node_modules/axios/index.js"(exports, module) {
3159
+ "../../node_modules/.pnpm/axios@0.26.1/node_modules/axios/index.js"(exports, module) {
3160
3160
  module.exports = require_axios();
3161
3161
  }
3162
3162
  });
3163
3163
 
3164
- // node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js
3164
+ // ../../node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js
3165
3165
  var require_stringify = __commonJS({
3166
- "node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js"(exports, module) {
3166
+ "../../node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js"(exports, module) {
3167
3167
  exports = module.exports = stringify2;
3168
3168
  exports.getSerialize = serializer;
3169
3169
  function stringify2(obj, replacer, spaces, cycleReplacer) {
@@ -3192,19 +3192,20 @@ var WebCall = (() => {
3192
3192
  }
3193
3193
  });
3194
3194
 
3195
- // package/index.ts
3196
- var package_exports = {};
3197
- __export(package_exports, {
3195
+ // core/index.ts
3196
+ var core_exports = {};
3197
+ __export(core_exports, {
3198
3198
  CallKit: () => CallKit
3199
3199
  });
3200
3200
  var import_blueimp_md5 = __toESM(require_md5());
3201
3201
 
3202
- // package/axios.ts
3202
+ // core/axios.ts
3203
3203
  var import_axios = __toESM(require_axios2());
3204
3204
  var instance = import_axios.default.create({
3205
3205
  headers: {
3206
3206
  "Content-Type": "application/x-www-form-urlencoded"
3207
- }
3207
+ },
3208
+ timeout: 6e4
3208
3209
  });
3209
3210
  instance.interceptors.request.use((config) => config);
3210
3211
  instance.interceptors.response.use(
@@ -3214,25 +3215,49 @@ var WebCall = (() => {
3214
3215
  var request = (config) => instance.request(config);
3215
3216
  var axios_default = request;
3216
3217
 
3217
- // package/api.ts
3218
+ // core/api.ts
3218
3219
  var Api = class {
3219
3220
  callKit;
3220
3221
  constructor(callKit) {
3221
3222
  this.callKit = callKit;
3222
3223
  }
3224
+ isLogining = false;
3225
+ isLoginOuting = false;
3223
3226
  async login(params) {
3224
- return this.post({
3225
- url: "/auth/agentUser/login",
3226
- method: "post",
3227
- data: params
3228
- });
3227
+ if (this.isLogining) {
3228
+ return;
3229
+ }
3230
+ this.isLogining = true;
3231
+ try {
3232
+ const res = await this.post({
3233
+ url: "/auth/agentUser/login",
3234
+ method: "post",
3235
+ data: params
3236
+ });
3237
+ this.isLogining = false;
3238
+ return res;
3239
+ } catch (error) {
3240
+ this.isLogining = false;
3241
+ throw error;
3242
+ }
3229
3243
  }
3230
3244
  async loginOut(params) {
3231
- return this.post({
3232
- url: "/auth/agentUser/loginOut",
3233
- method: "post",
3234
- data: params
3235
- });
3245
+ if (this.isLoginOuting) {
3246
+ return;
3247
+ }
3248
+ this.isLoginOuting = true;
3249
+ try {
3250
+ const res = await this.post({
3251
+ url: "/auth/agentUser/loginOut",
3252
+ method: "post",
3253
+ data: params
3254
+ });
3255
+ this.isLoginOuting = false;
3256
+ return res;
3257
+ } catch (error) {
3258
+ this.isLoginOuting = false;
3259
+ throw error;
3260
+ }
3236
3261
  }
3237
3262
  async trackLogs(log) {
3238
3263
  return this.post(
@@ -3295,7 +3320,7 @@ var WebCall = (() => {
3295
3320
  }
3296
3321
  };
3297
3322
 
3298
- // package/const.ts
3323
+ // core/const.ts
3299
3324
  var CallStatus = {
3300
3325
  /**
3301
3326
  * Initial state/Hang up
@@ -3644,7 +3669,7 @@ var WebCall = (() => {
3644
3669
  maxSize: 8192
3645
3670
  };
3646
3671
 
3647
- // package/call.ts
3672
+ // core/call.ts
3648
3673
  var Call = class {
3649
3674
  callKit;
3650
3675
  constructor(callKit) {
@@ -3785,20 +3810,20 @@ var WebCall = (() => {
3785
3810
  // package.json
3786
3811
  var package_default = {
3787
3812
  name: "@koi-design/callkit",
3788
- version: "2.0.2",
3813
+ version: "2.0.4",
3789
3814
  description: "callkit",
3790
3815
  author: "koi",
3791
3816
  license: "ISC",
3792
3817
  scripts: {
3793
3818
  build: "tsup",
3794
- start: "tsup --watch",
3819
+ "build:watch": "tsup --watch",
3795
3820
  dev: "vite",
3796
- lint: "eslint -c .eslintrc.js --ext .jsx,.js,.tsx,.ts ./package --fix",
3797
- prepare: "husky install",
3821
+ lint: "eslint -c ../../.eslintrc.js --ext .jsx,.js,.tsx,.ts ./package --fix",
3798
3822
  release: "tsup && node scripts/pkg.js"
3799
3823
  },
3800
3824
  exports: {
3801
3825
  ".": {
3826
+ types: "./dist/index.d.ts",
3802
3827
  require: "./dist/index.js",
3803
3828
  import: "./dist/index.mjs"
3804
3829
  }
@@ -3835,7 +3860,7 @@ var WebCall = (() => {
3835
3860
  }
3836
3861
  };
3837
3862
 
3838
- // package/config.ts
3863
+ // core/config.ts
3839
3864
  var Config = class {
3840
3865
  callKit;
3841
3866
  constructor(callKit) {
@@ -3851,6 +3876,7 @@ var WebCall = (() => {
3851
3876
  socket: "",
3852
3877
  userInfo: {
3853
3878
  wsUrl: "",
3879
+ logGather: false,
3854
3880
  sessionId: "",
3855
3881
  // User
3856
3882
  username: "",
@@ -3905,7 +3931,8 @@ var WebCall = (() => {
3905
3931
  fsPort: "",
3906
3932
  iceInfo: [],
3907
3933
  iceGatheringTimeout: this.config.userInfo.iceGatheringTimeout,
3908
- encryptionMethod: EncryptionMethod.INTERNAL
3934
+ encryptionMethod: EncryptionMethod.INTERNAL,
3935
+ logGather: false
3909
3936
  };
3910
3937
  this.callKit.trigger(KitEvent.KIT_LOGIN_CHANGE, false);
3911
3938
  }
@@ -3938,7 +3965,7 @@ var WebCall = (() => {
3938
3965
  }
3939
3966
  };
3940
3967
 
3941
- // package/logger.ts
3968
+ // core/logger.ts
3942
3969
  var import_json_stringify_safe = __toESM(require_stringify());
3943
3970
  function getLevel(level) {
3944
3971
  return LoggerLevelMap[level];
@@ -4075,10 +4102,10 @@ var WebCall = (() => {
4075
4102
  }
4076
4103
  };
4077
4104
 
4078
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/version.js
4105
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/version.js
4079
4106
  var LIBRARY_VERSION = "0.21.1";
4080
4107
 
4081
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/exception.js
4108
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/exception.js
4082
4109
  var Exception = class extends Error {
4083
4110
  constructor(message) {
4084
4111
  super(message);
@@ -4086,14 +4113,14 @@ var WebCall = (() => {
4086
4113
  }
4087
4114
  };
4088
4115
 
4089
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/content-type-unsupported.js
4116
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/content-type-unsupported.js
4090
4117
  var ContentTypeUnsupportedError = class extends Exception {
4091
4118
  constructor(message) {
4092
4119
  super(message ? message : "Unsupported content type.");
4093
4120
  }
4094
4121
  };
4095
4122
 
4096
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/request-pending.js
4123
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/request-pending.js
4097
4124
  var RequestPendingError = class extends Exception {
4098
4125
  /** @internal */
4099
4126
  constructor(message) {
@@ -4101,28 +4128,28 @@ var WebCall = (() => {
4101
4128
  }
4102
4129
  };
4103
4130
 
4104
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-description-handler.js
4131
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-description-handler.js
4105
4132
  var SessionDescriptionHandlerError = class extends Exception {
4106
4133
  constructor(message) {
4107
4134
  super(message ? message : "Unspecified session description handler error.");
4108
4135
  }
4109
4136
  };
4110
4137
 
4111
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-terminated.js
4138
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-terminated.js
4112
4139
  var SessionTerminatedError = class extends Exception {
4113
4140
  constructor() {
4114
4141
  super("The session has terminated.");
4115
4142
  }
4116
4143
  };
4117
4144
 
4118
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/state-transition.js
4145
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/state-transition.js
4119
4146
  var StateTransitionError = class extends Exception {
4120
4147
  constructor(message) {
4121
4148
  super(message ? message : "An error occurred during state transition.");
4122
4149
  }
4123
4150
  };
4124
4151
 
4125
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/ack.js
4152
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/ack.js
4126
4153
  var Ack = class {
4127
4154
  /** @internal */
4128
4155
  constructor(incomingAckRequest) {
@@ -4134,7 +4161,7 @@ var WebCall = (() => {
4134
4161
  }
4135
4162
  };
4136
4163
 
4137
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/bye.js
4164
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/bye.js
4138
4165
  var Bye = class {
4139
4166
  /** @internal */
4140
4167
  constructor(incomingByeRequest) {
@@ -4156,7 +4183,7 @@ var WebCall = (() => {
4156
4183
  }
4157
4184
  };
4158
4185
 
4159
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/cancel.js
4186
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/cancel.js
4160
4187
  var Cancel = class {
4161
4188
  /** @internal */
4162
4189
  constructor(incomingCancelRequest) {
@@ -4168,7 +4195,7 @@ var WebCall = (() => {
4168
4195
  }
4169
4196
  };
4170
4197
 
4171
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/emitter.js
4198
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/emitter.js
4172
4199
  var EmitterImpl = class {
4173
4200
  constructor() {
4174
4201
  this.listeners = new Array();
@@ -4233,7 +4260,7 @@ var WebCall = (() => {
4233
4260
  }
4234
4261
  };
4235
4262
 
4236
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/info.js
4263
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/info.js
4237
4264
  var Info = class {
4238
4265
  /** @internal */
4239
4266
  constructor(incomingInfoRequest) {
@@ -4255,7 +4282,7 @@ var WebCall = (() => {
4255
4282
  }
4256
4283
  };
4257
4284
 
4258
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/parameters.js
4285
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/parameters.js
4259
4286
  var Parameters = class {
4260
4287
  constructor(parameters) {
4261
4288
  this.parameters = {};
@@ -4291,7 +4318,7 @@ var WebCall = (() => {
4291
4318
  }
4292
4319
  };
4293
4320
 
4294
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/name-addr-header.js
4321
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/name-addr-header.js
4295
4322
  var NameAddrHeader = class extends Parameters {
4296
4323
  /**
4297
4324
  * Constructor
@@ -4331,7 +4358,7 @@ var WebCall = (() => {
4331
4358
  }
4332
4359
  };
4333
4360
 
4334
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/uri.js
4361
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/uri.js
4335
4362
  var URI = class extends Parameters {
4336
4363
  /**
4337
4364
  * Constructor
@@ -4547,7 +4574,7 @@ var WebCall = (() => {
4547
4574
  return true;
4548
4575
  }
4549
4576
 
4550
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/pegjs/dist/grammar.js
4577
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/pegjs/dist/grammar.js
4551
4578
  function peg$padEnd(str, targetLength, padString) {
4552
4579
  padString = padString || " ";
4553
4580
  if (str.length > targetLength) {
@@ -6072,7 +6099,7 @@ var WebCall = (() => {
6072
6099
  }
6073
6100
  var parse = peg$parse;
6074
6101
 
6075
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/grammar.js
6102
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/grammar.js
6076
6103
  var Grammar;
6077
6104
  (function(Grammar2) {
6078
6105
  function parse2(input, startRule) {
@@ -6097,7 +6124,7 @@ var WebCall = (() => {
6097
6124
  Grammar2.URIParse = URIParse;
6098
6125
  })(Grammar = Grammar || (Grammar = {}));
6099
6126
 
6100
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/utils.js
6127
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/utils.js
6101
6128
  var REASON_PHRASE = {
6102
6129
  100: "Trying",
6103
6130
  180: "Ringing",
@@ -6212,7 +6239,7 @@ var WebCall = (() => {
6212
6239
  return encodeURIComponent(str).replace(/%[A-F\d]{2}/g, "U").length;
6213
6240
  }
6214
6241
 
6215
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-message.js
6242
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-message.js
6216
6243
  var IncomingMessage = class {
6217
6244
  constructor() {
6218
6245
  this.headers = {};
@@ -6327,21 +6354,21 @@ var WebCall = (() => {
6327
6354
  }
6328
6355
  };
6329
6356
 
6330
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-request-message.js
6357
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-request-message.js
6331
6358
  var IncomingRequestMessage = class extends IncomingMessage {
6332
6359
  constructor() {
6333
6360
  super();
6334
6361
  }
6335
6362
  };
6336
6363
 
6337
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-response-message.js
6364
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-response-message.js
6338
6365
  var IncomingResponseMessage = class extends IncomingMessage {
6339
6366
  constructor() {
6340
6367
  super();
6341
6368
  }
6342
6369
  };
6343
6370
 
6344
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-request-message.js
6371
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-request-message.js
6345
6372
  var OutgoingRequestMessage = class {
6346
6373
  constructor(method, ruri, fromURI, toURI, options, extraHeaders, body) {
6347
6374
  this.headers = {};
@@ -6541,7 +6568,7 @@ var WebCall = (() => {
6541
6568
  }
6542
6569
  };
6543
6570
 
6544
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/body.js
6571
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/body.js
6545
6572
  function contentTypeToContentDisposition(contentType) {
6546
6573
  if (contentType === "application/sdp") {
6547
6574
  return "session";
@@ -6621,7 +6648,7 @@ var WebCall = (() => {
6621
6648
  };
6622
6649
  }
6623
6650
 
6624
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/session/session.js
6651
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/session/session.js
6625
6652
  var SessionState;
6626
6653
  (function(SessionState3) {
6627
6654
  SessionState3["Initial"] = "Initial";
@@ -6639,7 +6666,7 @@ var WebCall = (() => {
6639
6666
  SignalingState2["Closed"] = "Closed";
6640
6667
  })(SignalingState = SignalingState || (SignalingState = {}));
6641
6668
 
6642
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/timers.js
6669
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/timers.js
6643
6670
  var T1 = 500;
6644
6671
  var T2 = 4e3;
6645
6672
  var T4 = 5e3;
@@ -6661,14 +6688,14 @@ var WebCall = (() => {
6661
6688
  // See RFC 3261 Section 13.3.1.1
6662
6689
  };
6663
6690
 
6664
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transaction-state-error.js
6691
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transaction-state-error.js
6665
6692
  var TransactionStateError = class extends Exception {
6666
6693
  constructor(message) {
6667
6694
  super(message ? message : "Transaction state error.");
6668
6695
  }
6669
6696
  };
6670
6697
 
6671
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/methods/constants.js
6698
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/methods/constants.js
6672
6699
  var C;
6673
6700
  (function(C2) {
6674
6701
  C2.ACK = "ACK";
@@ -6687,7 +6714,7 @@ var WebCall = (() => {
6687
6714
  C2.PRACK = "PRACK";
6688
6715
  })(C = C || (C = {}));
6689
6716
 
6690
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/allowed-methods.js
6717
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/allowed-methods.js
6691
6718
  var AllowedMethods = [
6692
6719
  C.ACK,
6693
6720
  C.BYE,
@@ -6703,7 +6730,7 @@ var WebCall = (() => {
6703
6730
  C.SUBSCRIBE
6704
6731
  ];
6705
6732
 
6706
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/message.js
6733
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/message.js
6707
6734
  var Message = class {
6708
6735
  /** @internal */
6709
6736
  constructor(incomingMessageRequest) {
@@ -6725,7 +6752,7 @@ var WebCall = (() => {
6725
6752
  }
6726
6753
  };
6727
6754
 
6728
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/notification.js
6755
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/notification.js
6729
6756
  var Notification = class {
6730
6757
  /** @internal */
6731
6758
  constructor(incomingNotifyRequest) {
@@ -6747,7 +6774,7 @@ var WebCall = (() => {
6747
6774
  }
6748
6775
  };
6749
6776
 
6750
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/referral.js
6777
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/referral.js
6751
6778
  var Referral = class {
6752
6779
  /** @internal */
6753
6780
  constructor(incomingReferRequest, session) {
@@ -6822,7 +6849,7 @@ var WebCall = (() => {
6822
6849
  }
6823
6850
  };
6824
6851
 
6825
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session-state.js
6852
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session-state.js
6826
6853
  var SessionState2;
6827
6854
  (function(SessionState3) {
6828
6855
  SessionState3["Initial"] = "Initial";
@@ -6832,7 +6859,7 @@ var WebCall = (() => {
6832
6859
  SessionState3["Terminated"] = "Terminated";
6833
6860
  })(SessionState2 = SessionState2 || (SessionState2 = {}));
6834
6861
 
6835
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session.js
6862
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session.js
6836
6863
  var Session = class {
6837
6864
  /**
6838
6865
  * Constructor.
@@ -7864,7 +7891,7 @@ var WebCall = (() => {
7864
7891
  }
7865
7892
  };
7866
7893
 
7867
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-options.js
7894
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-options.js
7868
7895
  var SIPExtension;
7869
7896
  (function(SIPExtension2) {
7870
7897
  SIPExtension2["Required"] = "Required";
@@ -7908,7 +7935,7 @@ var WebCall = (() => {
7908
7935
  // RFC 7433
7909
7936
  };
7910
7937
 
7911
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/invitation.js
7938
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/invitation.js
7912
7939
  var Invitation = class extends Session {
7913
7940
  /** @internal */
7914
7941
  constructor(userAgent, incomingInviteRequest) {
@@ -8441,7 +8468,7 @@ var WebCall = (() => {
8441
8468
  }
8442
8469
  };
8443
8470
 
8444
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/inviter.js
8471
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/inviter.js
8445
8472
  var Inviter = class extends Session {
8446
8473
  /**
8447
8474
  * Constructs a new instance of the `Inviter` class.
@@ -9114,7 +9141,7 @@ var WebCall = (() => {
9114
9141
  }
9115
9142
  };
9116
9143
 
9117
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/messager.js
9144
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/messager.js
9118
9145
  var Messager = class {
9119
9146
  /**
9120
9147
  * Constructs a new instance of the `Messager` class.
@@ -9161,7 +9188,7 @@ var WebCall = (() => {
9161
9188
  }
9162
9189
  };
9163
9190
 
9164
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer-state.js
9191
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer-state.js
9165
9192
  var RegistererState;
9166
9193
  (function(RegistererState2) {
9167
9194
  RegistererState2["Initial"] = "Initial";
@@ -9170,7 +9197,7 @@ var WebCall = (() => {
9170
9197
  RegistererState2["Terminated"] = "Terminated";
9171
9198
  })(RegistererState = RegistererState || (RegistererState = {}));
9172
9199
 
9173
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer.js
9200
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer.js
9174
9201
  var Registerer = class {
9175
9202
  /**
9176
9203
  * Constructs a new instance of the `Registerer` class.
@@ -9707,7 +9734,7 @@ var WebCall = (() => {
9707
9734
  Registerer.defaultExpires = 600;
9708
9735
  Registerer.defaultRefreshFrequency = 99;
9709
9736
 
9710
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/subscription/subscription.js
9737
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/subscription/subscription.js
9711
9738
  var SubscriptionState;
9712
9739
  (function(SubscriptionState2) {
9713
9740
  SubscriptionState2["Initial"] = "Initial";
@@ -9717,7 +9744,7 @@ var WebCall = (() => {
9717
9744
  SubscriptionState2["Terminated"] = "Terminated";
9718
9745
  })(SubscriptionState = SubscriptionState || (SubscriptionState = {}));
9719
9746
 
9720
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/transport-state.js
9747
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/transport-state.js
9721
9748
  var TransportState;
9722
9749
  (function(TransportState2) {
9723
9750
  TransportState2["Connecting"] = "Connecting";
@@ -9726,14 +9753,14 @@ var WebCall = (() => {
9726
9753
  TransportState2["Disconnected"] = "Disconnected";
9727
9754
  })(TransportState = TransportState || (TransportState = {}));
9728
9755
 
9729
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-state.js
9756
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-state.js
9730
9757
  var UserAgentState;
9731
9758
  (function(UserAgentState2) {
9732
9759
  UserAgentState2["Started"] = "Started";
9733
9760
  UserAgentState2["Stopped"] = "Stopped";
9734
9761
  })(UserAgentState = UserAgentState || (UserAgentState = {}));
9735
9762
 
9736
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/md5.js
9763
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/md5.js
9737
9764
  var Md5 = class {
9738
9765
  constructor() {
9739
9766
  this._dataLength = 0;
@@ -10060,7 +10087,7 @@ var WebCall = (() => {
10060
10087
  console.error("Md5 self test failed.");
10061
10088
  }
10062
10089
 
10063
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/digest-authentication.js
10090
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/digest-authentication.js
10064
10091
  function MD5(s) {
10065
10092
  return Md5.hashStr(s);
10066
10093
  }
@@ -10186,7 +10213,7 @@ var WebCall = (() => {
10186
10213
  }
10187
10214
  };
10188
10215
 
10189
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/levels.js
10216
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/levels.js
10190
10217
  var Levels;
10191
10218
  (function(Levels2) {
10192
10219
  Levels2[Levels2["error"] = 0] = "error";
@@ -10195,7 +10222,7 @@ var WebCall = (() => {
10195
10222
  Levels2[Levels2["debug"] = 3] = "debug";
10196
10223
  })(Levels = Levels || (Levels = {}));
10197
10224
 
10198
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger.js
10225
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger.js
10199
10226
  var Logger2 = class {
10200
10227
  constructor(logger, category, label) {
10201
10228
  this.logger = logger;
@@ -10225,7 +10252,7 @@ var WebCall = (() => {
10225
10252
  }
10226
10253
  };
10227
10254
 
10228
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger-factory.js
10255
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger-factory.js
10229
10256
  var LoggerFactory = class {
10230
10257
  constructor() {
10231
10258
  this.builtinEnabled = true;
@@ -10310,7 +10337,7 @@ var WebCall = (() => {
10310
10337
  }
10311
10338
  };
10312
10339
 
10313
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/parser.js
10340
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/parser.js
10314
10341
  var Parser;
10315
10342
  (function(Parser2) {
10316
10343
  function getHeader(data, headerStart) {
@@ -10514,7 +10541,7 @@ var WebCall = (() => {
10514
10541
  Parser2.parseMessage = parseMessage;
10515
10542
  })(Parser = Parser || (Parser = {}));
10516
10543
 
10517
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-response.js
10544
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-response.js
10518
10545
  function constructOutgoingResponse(message, options) {
10519
10546
  const CRLF = "\r\n";
10520
10547
  if (options.statusCode < 100 || options.statusCode > 699) {
@@ -10573,14 +10600,14 @@ var WebCall = (() => {
10573
10600
  return { message: response };
10574
10601
  }
10575
10602
 
10576
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transport-error.js
10603
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transport-error.js
10577
10604
  var TransportError = class extends Exception {
10578
10605
  constructor(message) {
10579
10606
  super(message ? message : "Unspecified transport error.");
10580
10607
  }
10581
10608
  };
10582
10609
 
10583
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction.js
10610
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction.js
10584
10611
  var Transaction = class {
10585
10612
  constructor(_transport, _user, _id, _state, loggerCategory) {
10586
10613
  this._transport = _transport;
@@ -10688,7 +10715,7 @@ var WebCall = (() => {
10688
10715
  }
10689
10716
  };
10690
10717
 
10691
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/server-transaction.js
10718
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/server-transaction.js
10692
10719
  var ServerTransaction = class extends Transaction {
10693
10720
  constructor(_request, transport, user, state, loggerCategory) {
10694
10721
  super(transport, user, _request.viaBranch, state, loggerCategory);
@@ -10701,7 +10728,7 @@ var WebCall = (() => {
10701
10728
  }
10702
10729
  };
10703
10730
 
10704
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction-state.js
10731
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction-state.js
10705
10732
  var TransactionState;
10706
10733
  (function(TransactionState2) {
10707
10734
  TransactionState2["Accepted"] = "Accepted";
@@ -10713,7 +10740,7 @@ var WebCall = (() => {
10713
10740
  TransactionState2["Trying"] = "Trying";
10714
10741
  })(TransactionState = TransactionState || (TransactionState = {}));
10715
10742
 
10716
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-server-transaction.js
10743
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-server-transaction.js
10717
10744
  var InviteServerTransaction = class extends ServerTransaction {
10718
10745
  /**
10719
10746
  * Constructor.
@@ -11013,7 +11040,7 @@ var WebCall = (() => {
11013
11040
  }
11014
11041
  };
11015
11042
 
11016
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/client-transaction.js
11043
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/client-transaction.js
11017
11044
  var ClientTransaction = class extends Transaction {
11018
11045
  constructor(_request, transport, user, state, loggerCategory) {
11019
11046
  super(transport, user, ClientTransaction.makeId(_request), state, loggerCategory);
@@ -11052,7 +11079,7 @@ var WebCall = (() => {
11052
11079
  }
11053
11080
  };
11054
11081
 
11055
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-client-transaction.js
11082
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-client-transaction.js
11056
11083
  var NonInviteClientTransaction = class extends ClientTransaction {
11057
11084
  /**
11058
11085
  * Constructor
@@ -11237,7 +11264,7 @@ var WebCall = (() => {
11237
11264
  }
11238
11265
  };
11239
11266
 
11240
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/dialog.js
11267
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/dialog.js
11241
11268
  var Dialog = class {
11242
11269
  /**
11243
11270
  * Dialog constructor.
@@ -11553,7 +11580,7 @@ var WebCall = (() => {
11553
11580
  }
11554
11581
  };
11555
11582
 
11556
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-client-transaction.js
11583
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-client-transaction.js
11557
11584
  var InviteClientTransaction = class extends ClientTransaction {
11558
11585
  /**
11559
11586
  * Constructor.
@@ -11880,7 +11907,7 @@ var WebCall = (() => {
11880
11907
  }
11881
11908
  };
11882
11909
 
11883
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-client.js
11910
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-client.js
11884
11911
  var UserAgentClient = class {
11885
11912
  constructor(transactionConstructor, core, message, delegate) {
11886
11913
  this.transactionConstructor = transactionConstructor;
@@ -12122,7 +12149,7 @@ var WebCall = (() => {
12122
12149
  }
12123
12150
  };
12124
12151
 
12125
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-client.js
12152
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-client.js
12126
12153
  var ByeUserAgentClient = class extends UserAgentClient {
12127
12154
  constructor(dialog, delegate, options) {
12128
12155
  const message = dialog.createOutgoingRequestMessage(C.BYE, options);
@@ -12131,7 +12158,7 @@ var WebCall = (() => {
12131
12158
  }
12132
12159
  };
12133
12160
 
12134
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-server-transaction.js
12161
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-server-transaction.js
12135
12162
  var NonInviteServerTransaction = class extends ServerTransaction {
12136
12163
  /**
12137
12164
  * Constructor.
@@ -12306,7 +12333,7 @@ var WebCall = (() => {
12306
12333
  }
12307
12334
  };
12308
12335
 
12309
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-server.js
12336
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-server.js
12310
12337
  var UserAgentServer = class {
12311
12338
  constructor(transactionConstructor, core, message, delegate) {
12312
12339
  this.transactionConstructor = transactionConstructor;
@@ -12501,14 +12528,14 @@ var WebCall = (() => {
12501
12528
  }
12502
12529
  };
12503
12530
 
12504
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-server.js
12531
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-server.js
12505
12532
  var ByeUserAgentServer = class extends UserAgentServer {
12506
12533
  constructor(dialog, message, delegate) {
12507
12534
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
12508
12535
  }
12509
12536
  };
12510
12537
 
12511
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-client.js
12538
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-client.js
12512
12539
  var InfoUserAgentClient = class extends UserAgentClient {
12513
12540
  constructor(dialog, delegate, options) {
12514
12541
  const message = dialog.createOutgoingRequestMessage(C.INFO, options);
@@ -12516,28 +12543,28 @@ var WebCall = (() => {
12516
12543
  }
12517
12544
  };
12518
12545
 
12519
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-server.js
12546
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-server.js
12520
12547
  var InfoUserAgentServer = class extends UserAgentServer {
12521
12548
  constructor(dialog, message, delegate) {
12522
12549
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
12523
12550
  }
12524
12551
  };
12525
12552
 
12526
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-client.js
12553
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-client.js
12527
12554
  var MessageUserAgentClient = class extends UserAgentClient {
12528
12555
  constructor(core, message, delegate) {
12529
12556
  super(NonInviteClientTransaction, core, message, delegate);
12530
12557
  }
12531
12558
  };
12532
12559
 
12533
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-server.js
12560
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-server.js
12534
12561
  var MessageUserAgentServer = class extends UserAgentServer {
12535
12562
  constructor(core, message, delegate) {
12536
12563
  super(NonInviteServerTransaction, core, message, delegate);
12537
12564
  }
12538
12565
  };
12539
12566
 
12540
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-client.js
12567
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-client.js
12541
12568
  var NotifyUserAgentClient = class extends UserAgentClient {
12542
12569
  constructor(dialog, delegate, options) {
12543
12570
  const message = dialog.createOutgoingRequestMessage(C.NOTIFY, options);
@@ -12545,7 +12572,7 @@ var WebCall = (() => {
12545
12572
  }
12546
12573
  };
12547
12574
 
12548
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-server.js
12575
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-server.js
12549
12576
  function instanceOfDialog(object) {
12550
12577
  return object.userAgentCore !== void 0;
12551
12578
  }
@@ -12561,7 +12588,7 @@ var WebCall = (() => {
12561
12588
  }
12562
12589
  };
12563
12590
 
12564
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-client.js
12591
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-client.js
12565
12592
  var PrackUserAgentClient = class extends UserAgentClient {
12566
12593
  constructor(dialog, delegate, options) {
12567
12594
  const message = dialog.createOutgoingRequestMessage(C.PRACK, options);
@@ -12570,7 +12597,7 @@ var WebCall = (() => {
12570
12597
  }
12571
12598
  };
12572
12599
 
12573
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-server.js
12600
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-server.js
12574
12601
  var PrackUserAgentServer = class extends UserAgentServer {
12575
12602
  constructor(dialog, message, delegate) {
12576
12603
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
@@ -12589,7 +12616,7 @@ var WebCall = (() => {
12589
12616
  }
12590
12617
  };
12591
12618
 
12592
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-client.js
12619
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-client.js
12593
12620
  var ReInviteUserAgentClient = class extends UserAgentClient {
12594
12621
  constructor(dialog, delegate, options) {
12595
12622
  const message = dialog.createOutgoingRequestMessage(C.INVITE, options);
@@ -12659,7 +12686,7 @@ var WebCall = (() => {
12659
12686
  }
12660
12687
  };
12661
12688
 
12662
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-server.js
12689
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-server.js
12663
12690
  var ReInviteUserAgentServer = class extends UserAgentServer {
12664
12691
  constructor(dialog, message, delegate) {
12665
12692
  super(InviteServerTransaction, dialog.userAgentCore, message, delegate);
@@ -12721,7 +12748,7 @@ var WebCall = (() => {
12721
12748
  }
12722
12749
  };
12723
12750
 
12724
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-client.js
12751
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-client.js
12725
12752
  var ReferUserAgentClient = class extends UserAgentClient {
12726
12753
  constructor(dialog, delegate, options) {
12727
12754
  const message = dialog.createOutgoingRequestMessage(C.REFER, options);
@@ -12729,7 +12756,7 @@ var WebCall = (() => {
12729
12756
  }
12730
12757
  };
12731
12758
 
12732
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-server.js
12759
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-server.js
12733
12760
  function instanceOfSessionDialog(object) {
12734
12761
  return object.userAgentCore !== void 0;
12735
12762
  }
@@ -12745,7 +12772,7 @@ var WebCall = (() => {
12745
12772
  }
12746
12773
  };
12747
12774
 
12748
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/session-dialog.js
12775
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/session-dialog.js
12749
12776
  var SessionDialog = class extends Dialog {
12750
12777
  constructor(initialTransaction, core, state, delegate) {
12751
12778
  super(core, state);
@@ -13358,7 +13385,7 @@ var WebCall = (() => {
13358
13385
  }
13359
13386
  };
13360
13387
 
13361
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-client.js
13388
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-client.js
13362
13389
  var InviteUserAgentClient = class extends UserAgentClient {
13363
13390
  constructor(core, message, delegate) {
13364
13391
  super(InviteClientTransaction, core, message, delegate);
@@ -13524,7 +13551,7 @@ var WebCall = (() => {
13524
13551
  }
13525
13552
  };
13526
13553
 
13527
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-server.js
13554
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-server.js
13528
13555
  var InviteUserAgentServer = class extends UserAgentServer {
13529
13556
  constructor(core, message, delegate) {
13530
13557
  super(InviteServerTransaction, core, message, delegate);
@@ -13664,21 +13691,21 @@ var WebCall = (() => {
13664
13691
  }
13665
13692
  };
13666
13693
 
13667
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/publish-user-agent-client.js
13694
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/publish-user-agent-client.js
13668
13695
  var PublishUserAgentClient = class extends UserAgentClient {
13669
13696
  constructor(core, message, delegate) {
13670
13697
  super(NonInviteClientTransaction, core, message, delegate);
13671
13698
  }
13672
13699
  };
13673
13700
 
13674
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-client.js
13701
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-client.js
13675
13702
  var RegisterUserAgentClient = class extends UserAgentClient {
13676
13703
  constructor(core, message, delegate) {
13677
13704
  super(NonInviteClientTransaction, core, message, delegate);
13678
13705
  }
13679
13706
  };
13680
13707
 
13681
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-server.js
13708
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-server.js
13682
13709
  var RegisterUserAgentServer = class extends UserAgentServer {
13683
13710
  constructor(core, message, delegate) {
13684
13711
  super(NonInviteServerTransaction, core, message, delegate);
@@ -13686,7 +13713,7 @@ var WebCall = (() => {
13686
13713
  }
13687
13714
  };
13688
13715
 
13689
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-subscribe-user-agent-client.js
13716
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-subscribe-user-agent-client.js
13690
13717
  var ReSubscribeUserAgentClient = class extends UserAgentClient {
13691
13718
  constructor(dialog, delegate, options) {
13692
13719
  const message = dialog.createOutgoingRequestMessage(C.SUBSCRIBE, options);
@@ -13722,7 +13749,7 @@ var WebCall = (() => {
13722
13749
  }
13723
13750
  };
13724
13751
 
13725
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/subscription-dialog.js
13752
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/subscription-dialog.js
13726
13753
  var SubscriptionDialog = class extends Dialog {
13727
13754
  constructor(subscriptionEvent, subscriptionExpires, subscriptionState, core, state, delegate) {
13728
13755
  super(core, state);
@@ -14072,7 +14099,7 @@ var WebCall = (() => {
14072
14099
  }
14073
14100
  };
14074
14101
 
14075
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-client.js
14102
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-client.js
14076
14103
  var SubscribeUserAgentClient = class extends UserAgentClient {
14077
14104
  constructor(core, message, delegate) {
14078
14105
  const event = message.getHeader("Event");
@@ -14235,7 +14262,7 @@ var WebCall = (() => {
14235
14262
  }
14236
14263
  };
14237
14264
 
14238
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-server.js
14265
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-server.js
14239
14266
  var SubscribeUserAgentServer = class extends UserAgentServer {
14240
14267
  constructor(core, message, delegate) {
14241
14268
  super(NonInviteServerTransaction, core, message, delegate);
@@ -14243,7 +14270,7 @@ var WebCall = (() => {
14243
14270
  }
14244
14271
  };
14245
14272
 
14246
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/user-agent-core.js
14273
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/user-agent-core.js
14247
14274
  var acceptedBodyTypes = ["application/sdp", "application/dtmf-relay"];
14248
14275
  var UserAgentCore = class {
14249
14276
  /**
@@ -14661,7 +14688,7 @@ var WebCall = (() => {
14661
14688
  }
14662
14689
  };
14663
14690
 
14664
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/media-stream-factory-default.js
14691
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/media-stream-factory-default.js
14665
14692
  function defaultMediaStreamFactory() {
14666
14693
  return (constraints) => {
14667
14694
  if (!constraints.audio && !constraints.video) {
@@ -14674,7 +14701,7 @@ var WebCall = (() => {
14674
14701
  };
14675
14702
  }
14676
14703
 
14677
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/peer-connection-configuration-default.js
14704
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/peer-connection-configuration-default.js
14678
14705
  function defaultPeerConnectionConfiguration() {
14679
14706
  const configuration = {
14680
14707
  bundlePolicy: "balanced",
@@ -14687,7 +14714,7 @@ var WebCall = (() => {
14687
14714
  return configuration;
14688
14715
  }
14689
14716
 
14690
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler.js
14717
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler.js
14691
14718
  var SessionDescriptionHandler = class {
14692
14719
  /**
14693
14720
  * Constructor
@@ -15450,7 +15477,7 @@ var WebCall = (() => {
15450
15477
  }
15451
15478
  };
15452
15479
 
15453
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-default.js
15480
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-default.js
15454
15481
  function defaultSessionDescriptionHandlerFactory(mediaStreamFactory) {
15455
15482
  return (session, options) => {
15456
15483
  if (mediaStreamFactory === void 0) {
@@ -15466,7 +15493,7 @@ var WebCall = (() => {
15466
15493
  };
15467
15494
  }
15468
15495
 
15469
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/transport/transport.js
15496
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/transport/transport.js
15470
15497
  var Transport = class {
15471
15498
  constructor(logger, options) {
15472
15499
  this._state = TransportState.Disconnected;
@@ -16024,7 +16051,7 @@ var WebCall = (() => {
16024
16051
  traceSip: true
16025
16052
  };
16026
16053
 
16027
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent.js
16054
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent.js
16028
16055
  var UserAgent = class {
16029
16056
  /**
16030
16057
  * Constructs a new instance of the `UserAgent` class.
@@ -16745,7 +16772,7 @@ var WebCall = (() => {
16745
16772
  }
16746
16773
  };
16747
16774
 
16748
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/index.js
16775
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/index.js
16749
16776
  var web_exports = {};
16750
16777
  __export(web_exports, {
16751
16778
  SessionDescriptionHandler: () => SessionDescriptionHandler,
@@ -16768,7 +16795,7 @@ var WebCall = (() => {
16768
16795
  stripVideo: () => stripVideo
16769
16796
  });
16770
16797
 
16771
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/modifiers/modifiers.js
16798
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/modifiers/modifiers.js
16772
16799
  var stripPayload = (sdp, payload) => {
16773
16800
  const mediaDescs = [];
16774
16801
  const lines = sdp.split(/\r\n/);
@@ -16895,7 +16922,7 @@ var WebCall = (() => {
16895
16922
  return Promise.resolve({ sdp, type });
16896
16923
  }
16897
16924
 
16898
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/web-audio-session-description-handler.js
16925
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/web-audio-session-description-handler.js
16899
16926
  function startLocalConference(conferenceSessions) {
16900
16927
  if (conferenceSessions.length < 2) {
16901
16928
  throw new Error("Start local conference requires at leaast 2 sessions.");
@@ -16991,14 +17018,14 @@ var WebCall = (() => {
16991
17018
  }
16992
17019
  };
16993
17020
 
16994
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/managed-session-factory-default.js
17021
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/managed-session-factory-default.js
16995
17022
  function defaultManagedSessionFactory() {
16996
17023
  return (sessionManager, session) => {
16997
17024
  return { session, held: false, muted: false };
16998
17025
  };
16999
17026
  }
17000
17027
 
17001
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/session-manager.js
17028
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/session-manager.js
17002
17029
  var SessionManager = class {
17003
17030
  /**
17004
17031
  * Constructs a new instance of the `SessionManager` class.
@@ -18164,7 +18191,7 @@ var WebCall = (() => {
18164
18191
  }
18165
18192
  };
18166
18193
 
18167
- // node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/simple-user/simple-user.js
18194
+ // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/simple-user/simple-user.js
18168
18195
  var SimpleUser = class {
18169
18196
  /**
18170
18197
  * Constructs a new instance of the `SimpleUser` class.
@@ -18476,7 +18503,7 @@ var WebCall = (() => {
18476
18503
  }
18477
18504
  };
18478
18505
 
18479
- // package/utils.ts
18506
+ // core/utils.ts
18480
18507
  var formatGetInviteData = (inviteData) => {
18481
18508
  const extendInfoStr = inviteData["x-antaios-manual-extend_info"] || inviteData["x-antaios-manual-extend-info"];
18482
18509
  let extendInfoObj = null;
@@ -18491,7 +18518,7 @@ var WebCall = (() => {
18491
18518
  }
18492
18519
  };
18493
18520
 
18494
- // package/connect.ts
18521
+ // core/connect.ts
18495
18522
  var DEFAULT_RECONNECT_CONFIG = {
18496
18523
  maxAttempts: 3,
18497
18524
  delay: 500
@@ -19021,7 +19048,7 @@ var WebCall = (() => {
19021
19048
  this.setCallId(inviteData.callUuid);
19022
19049
  } else {
19023
19050
  this.setCallId(null);
19024
- this.callKit.logger.error("call id is not exist", {
19051
+ this.callKit.logger.warn("call id is not exist", {
19025
19052
  caller: "Connect.register.onInvite",
19026
19053
  content: {
19027
19054
  inviteData
@@ -19085,9 +19112,7 @@ var WebCall = (() => {
19085
19112
  onDisconnect: (error) => {
19086
19113
  console.log("onDisconnect", error);
19087
19114
  if (error) {
19088
- this.startReconnectTimer();
19089
- } else {
19090
- this.callKit.logger.info("SIP User Agent Disconnected", {
19115
+ this.callKit.logger.info("SIP User Agent Disconnected with error", {
19091
19116
  caller: "Connect.register",
19092
19117
  type: "SIP",
19093
19118
  content: {
@@ -19095,6 +19120,13 @@ var WebCall = (() => {
19095
19120
  errCode: ErrorCode.WEBRTC_USER_AGENT_ERROR
19096
19121
  }
19097
19122
  });
19123
+ this.startReconnectTimer();
19124
+ } else {
19125
+ this.callKit.logger.info("SIP User Agent Disconnected", {
19126
+ caller: "Connect.register",
19127
+ type: "SIP",
19128
+ content: {}
19129
+ });
19098
19130
  }
19099
19131
  },
19100
19132
  onRegister: () => {
@@ -19203,6 +19235,15 @@ var WebCall = (() => {
19203
19235
  }
19204
19236
  });
19205
19237
  });
19238
+ await this.userAgent?.stop().catch((err) => {
19239
+ this.callKit.logger.warn(err, {
19240
+ caller: "Connect.unregister",
19241
+ type: "SIP",
19242
+ content: {
19243
+ errCode: ErrorCode.WEBRTC_CANCEL_REGISTER_ERROR
19244
+ }
19245
+ });
19246
+ });
19206
19247
  }
19207
19248
  async call(callback) {
19208
19249
  this.callKit.logger.info("connect call", {
@@ -19437,12 +19478,11 @@ var WebCall = (() => {
19437
19478
  }
19438
19479
  };
19439
19480
 
19440
- // package/socket.ts
19481
+ // core/socket.ts
19441
19482
  var RECONNECT_CONFIG = {
19442
19483
  enabled: true,
19443
19484
  maxAttempts: 3,
19444
- delay: 500,
19445
- backoffMultiplier: 1.5,
19485
+ delay: 1e3,
19446
19486
  pingInterval: 3e4,
19447
19487
  pingTimeout: 5e3
19448
19488
  };
@@ -19487,6 +19527,9 @@ var WebCall = (() => {
19487
19527
  });
19488
19528
  return;
19489
19529
  }
19530
+ if (this.socketError) {
19531
+ return;
19532
+ }
19490
19533
  if (this.isReconnecting) {
19491
19534
  return;
19492
19535
  }
@@ -19499,8 +19542,8 @@ var WebCall = (() => {
19499
19542
  this.ws.onerror = null;
19500
19543
  this.ws.onmessage = null;
19501
19544
  }
19502
- if (this.ws.readyState === WebSocket.CONNECTING || this.ws.readyState === WebSocket.OPEN) {
19503
- this.ws.close();
19545
+ if (this.ws?.readyState === WebSocket.CONNECTING || this.ws?.readyState === WebSocket.OPEN) {
19546
+ this.ws?.close(1e3, "socket close");
19504
19547
  this.callKit.logger.info("socket clear", {
19505
19548
  caller: "Socket.clearWebSocket",
19506
19549
  type: "INCALL",
@@ -19559,9 +19602,6 @@ var WebCall = (() => {
19559
19602
  type: "INCALL",
19560
19603
  content: { ev }
19561
19604
  });
19562
- if (this.socketError) {
19563
- return;
19564
- }
19565
19605
  this.handleDisconnect();
19566
19606
  }
19567
19607
  onError(ev) {
@@ -19890,7 +19930,6 @@ var WebCall = (() => {
19890
19930
  this.resetReconnectState();
19891
19931
  this.lastPingTime = void 0;
19892
19932
  this.satrtConfirm = false;
19893
- this.socketError = false;
19894
19933
  this.clearWebSocket();
19895
19934
  }
19896
19935
  attemptReconnect() {
@@ -19940,7 +19979,7 @@ var WebCall = (() => {
19940
19979
  }
19941
19980
  };
19942
19981
 
19943
- // package/index.ts
19982
+ // core/index.ts
19944
19983
  var CallKit = class {
19945
19984
  api;
19946
19985
  config;
@@ -20280,6 +20319,6 @@ var WebCall = (() => {
20280
20319
  });
20281
20320
  }
20282
20321
  };
20283
- return __toCommonJS(package_exports);
20322
+ return __toCommonJS(core_exports);
20284
20323
  })();
20285
20324
  //# sourceMappingURL=index.global.js.map