@koi-design/callkit 2.1.5-beta.2 → 2.2.0-beta.1

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.
@@ -3883,13 +3883,13 @@ var WebCall = (() => {
3883
3883
  // package.json
3884
3884
  var package_default = {
3885
3885
  name: "@koi-design/callkit",
3886
- version: "2.1.5-beta.2",
3886
+ version: "2.2.0-beta.1",
3887
3887
  description: "callkit",
3888
3888
  author: "koi",
3889
3889
  license: "ISC",
3890
3890
  scripts: {
3891
3891
  build: "tsup",
3892
- start: "vite --host 0.0.0.0",
3892
+ start: "pnpm build && vite --host 0.0.0.0",
3893
3893
  dev: "tsup --watch",
3894
3894
  lint: "eslint -c ../../.eslintrc.js --ext .jsx,.js,.tsx,.ts ./package --fix",
3895
3895
  release: "tsup && node scripts/pkg.js"
@@ -3910,15 +3910,14 @@ var WebCall = (() => {
3910
3910
  dependencies: {
3911
3911
  axios: "~0.26.1",
3912
3912
  "blueimp-md5": "^2.12.0",
3913
- "eslint-plugin-jsonc": "^2.21.0",
3914
- "json-stringify-safe": "^5.0.1",
3915
- "sip.js": "^0.21.2"
3913
+ "json-stringify-safe": "^5.0.1"
3916
3914
  },
3917
3915
  devDependencies: {
3918
3916
  "@commitlint/cli": "^9.1.2",
3919
3917
  "@commitlint/config-conventional": "^9.1.2",
3920
3918
  "@koi-design/eslint-config-ts": "^0.0.14",
3921
3919
  "@types/blueimp-md5": "^2.18.2",
3920
+ "eslint-plugin-jsonc": "^2.21.0",
3922
3921
  archiver: "^5.3.1",
3923
3922
  consola: "^3.4.2",
3924
3923
  eslint: "~8.29.0",
@@ -4193,10 +4192,10 @@ ${log}` : log;
4193
4192
  }
4194
4193
  };
4195
4194
 
4196
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/version.js
4195
+ // sip.js/lib/version.js
4197
4196
  var LIBRARY_VERSION = "0.21.1";
4198
4197
 
4199
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/exception.js
4198
+ // sip.js/lib/core/exceptions/exception.js
4200
4199
  var Exception = class extends Error {
4201
4200
  constructor(message) {
4202
4201
  super(message);
@@ -4204,14 +4203,14 @@ ${log}` : log;
4204
4203
  }
4205
4204
  };
4206
4205
 
4207
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/content-type-unsupported.js
4206
+ // sip.js/lib/api/exceptions/content-type-unsupported.js
4208
4207
  var ContentTypeUnsupportedError = class extends Exception {
4209
4208
  constructor(message) {
4210
4209
  super(message ? message : "Unsupported content type.");
4211
4210
  }
4212
4211
  };
4213
4212
 
4214
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/request-pending.js
4213
+ // sip.js/lib/api/exceptions/request-pending.js
4215
4214
  var RequestPendingError = class extends Exception {
4216
4215
  /** @internal */
4217
4216
  constructor(message) {
@@ -4219,28 +4218,28 @@ ${log}` : log;
4219
4218
  }
4220
4219
  };
4221
4220
 
4222
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-description-handler.js
4221
+ // sip.js/lib/api/exceptions/session-description-handler.js
4223
4222
  var SessionDescriptionHandlerError = class extends Exception {
4224
4223
  constructor(message) {
4225
4224
  super(message ? message : "Unspecified session description handler error.");
4226
4225
  }
4227
4226
  };
4228
4227
 
4229
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/session-terminated.js
4228
+ // sip.js/lib/api/exceptions/session-terminated.js
4230
4229
  var SessionTerminatedError = class extends Exception {
4231
4230
  constructor() {
4232
4231
  super("The session has terminated.");
4233
4232
  }
4234
4233
  };
4235
4234
 
4236
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/exceptions/state-transition.js
4235
+ // sip.js/lib/api/exceptions/state-transition.js
4237
4236
  var StateTransitionError = class extends Exception {
4238
4237
  constructor(message) {
4239
4238
  super(message ? message : "An error occurred during state transition.");
4240
4239
  }
4241
4240
  };
4242
4241
 
4243
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/ack.js
4242
+ // sip.js/lib/api/ack.js
4244
4243
  var Ack = class {
4245
4244
  /** @internal */
4246
4245
  constructor(incomingAckRequest) {
@@ -4252,7 +4251,7 @@ ${log}` : log;
4252
4251
  }
4253
4252
  };
4254
4253
 
4255
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/bye.js
4254
+ // sip.js/lib/api/bye.js
4256
4255
  var Bye = class {
4257
4256
  /** @internal */
4258
4257
  constructor(incomingByeRequest) {
@@ -4274,7 +4273,7 @@ ${log}` : log;
4274
4273
  }
4275
4274
  };
4276
4275
 
4277
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/cancel.js
4276
+ // sip.js/lib/api/cancel.js
4278
4277
  var Cancel = class {
4279
4278
  /** @internal */
4280
4279
  constructor(incomingCancelRequest) {
@@ -4286,7 +4285,7 @@ ${log}` : log;
4286
4285
  }
4287
4286
  };
4288
4287
 
4289
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/emitter.js
4288
+ // sip.js/lib/api/emitter.js
4290
4289
  var EmitterImpl = class {
4291
4290
  constructor() {
4292
4291
  this.listeners = new Array();
@@ -4351,7 +4350,7 @@ ${log}` : log;
4351
4350
  }
4352
4351
  };
4353
4352
 
4354
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/info.js
4353
+ // sip.js/lib/api/info.js
4355
4354
  var Info = class {
4356
4355
  /** @internal */
4357
4356
  constructor(incomingInfoRequest) {
@@ -4373,7 +4372,7 @@ ${log}` : log;
4373
4372
  }
4374
4373
  };
4375
4374
 
4376
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/parameters.js
4375
+ // sip.js/lib/grammar/parameters.js
4377
4376
  var Parameters = class {
4378
4377
  constructor(parameters) {
4379
4378
  this.parameters = {};
@@ -4409,7 +4408,7 @@ ${log}` : log;
4409
4408
  }
4410
4409
  };
4411
4410
 
4412
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/name-addr-header.js
4411
+ // sip.js/lib/grammar/name-addr-header.js
4413
4412
  var NameAddrHeader = class extends Parameters {
4414
4413
  /**
4415
4414
  * Constructor
@@ -4449,7 +4448,7 @@ ${log}` : log;
4449
4448
  }
4450
4449
  };
4451
4450
 
4452
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/uri.js
4451
+ // sip.js/lib/grammar/uri.js
4453
4452
  var URI = class extends Parameters {
4454
4453
  /**
4455
4454
  * Constructor
@@ -4665,7 +4664,7 @@ ${log}` : log;
4665
4664
  return true;
4666
4665
  }
4667
4666
 
4668
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/pegjs/dist/grammar.js
4667
+ // sip.js/lib/grammar/pegjs/dist/grammar.js
4669
4668
  function peg$padEnd(str, targetLength, padString) {
4670
4669
  padString = padString || " ";
4671
4670
  if (str.length > targetLength) {
@@ -6190,7 +6189,7 @@ ${log}` : log;
6190
6189
  }
6191
6190
  var parse = peg$parse;
6192
6191
 
6193
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/grammar/grammar.js
6192
+ // sip.js/lib/grammar/grammar.js
6194
6193
  var Grammar;
6195
6194
  (function(Grammar2) {
6196
6195
  function parse2(input, startRule) {
@@ -6215,7 +6214,7 @@ ${log}` : log;
6215
6214
  Grammar2.URIParse = URIParse;
6216
6215
  })(Grammar = Grammar || (Grammar = {}));
6217
6216
 
6218
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/utils.js
6217
+ // sip.js/lib/core/messages/utils.js
6219
6218
  var REASON_PHRASE = {
6220
6219
  100: "Trying",
6221
6220
  180: "Ringing",
@@ -6330,7 +6329,7 @@ ${log}` : log;
6330
6329
  return encodeURIComponent(str).replace(/%[A-F\d]{2}/g, "U").length;
6331
6330
  }
6332
6331
 
6333
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-message.js
6332
+ // sip.js/lib/core/messages/incoming-message.js
6334
6333
  var IncomingMessage = class {
6335
6334
  constructor() {
6336
6335
  this.headers = {};
@@ -6445,21 +6444,21 @@ ${log}` : log;
6445
6444
  }
6446
6445
  };
6447
6446
 
6448
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-request-message.js
6447
+ // sip.js/lib/core/messages/incoming-request-message.js
6449
6448
  var IncomingRequestMessage = class extends IncomingMessage {
6450
6449
  constructor() {
6451
6450
  super();
6452
6451
  }
6453
6452
  };
6454
6453
 
6455
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/incoming-response-message.js
6454
+ // sip.js/lib/core/messages/incoming-response-message.js
6456
6455
  var IncomingResponseMessage = class extends IncomingMessage {
6457
6456
  constructor() {
6458
6457
  super();
6459
6458
  }
6460
6459
  };
6461
6460
 
6462
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-request-message.js
6461
+ // sip.js/lib/core/messages/outgoing-request-message.js
6463
6462
  var OutgoingRequestMessage = class {
6464
6463
  constructor(method, ruri, fromURI, toURI, options, extraHeaders, body) {
6465
6464
  this.headers = {};
@@ -6659,7 +6658,7 @@ ${log}` : log;
6659
6658
  }
6660
6659
  };
6661
6660
 
6662
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/body.js
6661
+ // sip.js/lib/core/messages/body.js
6663
6662
  function contentTypeToContentDisposition(contentType) {
6664
6663
  if (contentType === "application/sdp") {
6665
6664
  return "session";
@@ -6739,7 +6738,7 @@ ${log}` : log;
6739
6738
  };
6740
6739
  }
6741
6740
 
6742
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/session/session.js
6741
+ // sip.js/lib/core/session/session.js
6743
6742
  var SessionState;
6744
6743
  (function(SessionState3) {
6745
6744
  SessionState3["Initial"] = "Initial";
@@ -6757,7 +6756,7 @@ ${log}` : log;
6757
6756
  SignalingState2["Closed"] = "Closed";
6758
6757
  })(SignalingState = SignalingState || (SignalingState = {}));
6759
6758
 
6760
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/timers.js
6759
+ // sip.js/lib/core/timers.js
6761
6760
  var T1 = 500;
6762
6761
  var T2 = 4e3;
6763
6762
  var T4 = 5e3;
@@ -6779,14 +6778,14 @@ ${log}` : log;
6779
6778
  // See RFC 3261 Section 13.3.1.1
6780
6779
  };
6781
6780
 
6782
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transaction-state-error.js
6781
+ // sip.js/lib/core/exceptions/transaction-state-error.js
6783
6782
  var TransactionStateError = class extends Exception {
6784
6783
  constructor(message) {
6785
6784
  super(message ? message : "Transaction state error.");
6786
6785
  }
6787
6786
  };
6788
6787
 
6789
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/methods/constants.js
6788
+ // sip.js/lib/core/messages/methods/constants.js
6790
6789
  var C;
6791
6790
  (function(C2) {
6792
6791
  C2.ACK = "ACK";
@@ -6805,7 +6804,7 @@ ${log}` : log;
6805
6804
  C2.PRACK = "PRACK";
6806
6805
  })(C = C || (C = {}));
6807
6806
 
6808
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/allowed-methods.js
6807
+ // sip.js/lib/core/user-agent-core/allowed-methods.js
6809
6808
  var AllowedMethods = [
6810
6809
  C.ACK,
6811
6810
  C.BYE,
@@ -6821,7 +6820,7 @@ ${log}` : log;
6821
6820
  C.SUBSCRIBE
6822
6821
  ];
6823
6822
 
6824
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/message.js
6823
+ // sip.js/lib/api/message.js
6825
6824
  var Message = class {
6826
6825
  /** @internal */
6827
6826
  constructor(incomingMessageRequest) {
@@ -6843,7 +6842,7 @@ ${log}` : log;
6843
6842
  }
6844
6843
  };
6845
6844
 
6846
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/notification.js
6845
+ // sip.js/lib/api/notification.js
6847
6846
  var Notification = class {
6848
6847
  /** @internal */
6849
6848
  constructor(incomingNotifyRequest) {
@@ -6865,7 +6864,7 @@ ${log}` : log;
6865
6864
  }
6866
6865
  };
6867
6866
 
6868
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/referral.js
6867
+ // sip.js/lib/api/referral.js
6869
6868
  var Referral = class {
6870
6869
  /** @internal */
6871
6870
  constructor(incomingReferRequest, session) {
@@ -6940,7 +6939,7 @@ ${log}` : log;
6940
6939
  }
6941
6940
  };
6942
6941
 
6943
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session-state.js
6942
+ // sip.js/lib/api/session-state.js
6944
6943
  var SessionState2;
6945
6944
  (function(SessionState3) {
6946
6945
  SessionState3["Initial"] = "Initial";
@@ -6950,7 +6949,7 @@ ${log}` : log;
6950
6949
  SessionState3["Terminated"] = "Terminated";
6951
6950
  })(SessionState2 = SessionState2 || (SessionState2 = {}));
6952
6951
 
6953
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/session.js
6952
+ // sip.js/lib/api/session.js
6954
6953
  var Session = class {
6955
6954
  /**
6956
6955
  * Constructor.
@@ -7982,7 +7981,7 @@ ${log}` : log;
7982
7981
  }
7983
7982
  };
7984
7983
 
7985
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-options.js
7984
+ // sip.js/lib/api/user-agent-options.js
7986
7985
  var SIPExtension;
7987
7986
  (function(SIPExtension2) {
7988
7987
  SIPExtension2["Required"] = "Required";
@@ -8026,7 +8025,7 @@ ${log}` : log;
8026
8025
  // RFC 7433
8027
8026
  };
8028
8027
 
8029
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/invitation.js
8028
+ // sip.js/lib/api/invitation.js
8030
8029
  var Invitation = class extends Session {
8031
8030
  /** @internal */
8032
8031
  constructor(userAgent, incomingInviteRequest) {
@@ -8559,7 +8558,7 @@ ${log}` : log;
8559
8558
  }
8560
8559
  };
8561
8560
 
8562
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/inviter.js
8561
+ // sip.js/lib/api/inviter.js
8563
8562
  var Inviter = class extends Session {
8564
8563
  /**
8565
8564
  * Constructs a new instance of the `Inviter` class.
@@ -9232,7 +9231,7 @@ ${log}` : log;
9232
9231
  }
9233
9232
  };
9234
9233
 
9235
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/messager.js
9234
+ // sip.js/lib/api/messager.js
9236
9235
  var Messager = class {
9237
9236
  /**
9238
9237
  * Constructs a new instance of the `Messager` class.
@@ -9279,7 +9278,7 @@ ${log}` : log;
9279
9278
  }
9280
9279
  };
9281
9280
 
9282
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer-state.js
9281
+ // sip.js/lib/api/registerer-state.js
9283
9282
  var RegistererState;
9284
9283
  (function(RegistererState2) {
9285
9284
  RegistererState2["Initial"] = "Initial";
@@ -9288,7 +9287,7 @@ ${log}` : log;
9288
9287
  RegistererState2["Terminated"] = "Terminated";
9289
9288
  })(RegistererState = RegistererState || (RegistererState = {}));
9290
9289
 
9291
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/registerer.js
9290
+ // sip.js/lib/api/registerer.js
9292
9291
  var Registerer = class {
9293
9292
  /**
9294
9293
  * Constructs a new instance of the `Registerer` class.
@@ -9493,6 +9492,7 @@ ${log}` : log;
9493
9492
  this.waitingToggle(true);
9494
9493
  const outgoingRegisterRequest = this.userAgent.userAgentCore.register(this.request, {
9495
9494
  onAccept: (response) => {
9495
+ console.log("onAccept", response);
9496
9496
  let expires;
9497
9497
  if (response.message.hasHeader("expires")) {
9498
9498
  expires = Number(response.message.getHeader("expires"));
@@ -9520,10 +9520,8 @@ ${log}` : log;
9520
9520
  break;
9521
9521
  }
9522
9522
  } else {
9523
- if (equivalentURI(contact.uri, this.userAgent.contact.uri)) {
9524
- expires = Number(contact.getParam("expires"));
9525
- break;
9526
- }
9523
+ expires = Number(contact.getParam("expires"));
9524
+ break;
9527
9525
  }
9528
9526
  contact = void 0;
9529
9527
  }
@@ -9825,7 +9823,7 @@ ${log}` : log;
9825
9823
  Registerer.defaultExpires = 600;
9826
9824
  Registerer.defaultRefreshFrequency = 99;
9827
9825
 
9828
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/subscription/subscription.js
9826
+ // sip.js/lib/core/subscription/subscription.js
9829
9827
  var SubscriptionState;
9830
9828
  (function(SubscriptionState2) {
9831
9829
  SubscriptionState2["Initial"] = "Initial";
@@ -9835,7 +9833,7 @@ ${log}` : log;
9835
9833
  SubscriptionState2["Terminated"] = "Terminated";
9836
9834
  })(SubscriptionState = SubscriptionState || (SubscriptionState = {}));
9837
9835
 
9838
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/transport-state.js
9836
+ // sip.js/lib/api/transport-state.js
9839
9837
  var TransportState;
9840
9838
  (function(TransportState2) {
9841
9839
  TransportState2["Connecting"] = "Connecting";
@@ -9844,14 +9842,14 @@ ${log}` : log;
9844
9842
  TransportState2["Disconnected"] = "Disconnected";
9845
9843
  })(TransportState = TransportState || (TransportState = {}));
9846
9844
 
9847
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent-state.js
9845
+ // sip.js/lib/api/user-agent-state.js
9848
9846
  var UserAgentState;
9849
9847
  (function(UserAgentState2) {
9850
9848
  UserAgentState2["Started"] = "Started";
9851
9849
  UserAgentState2["Stopped"] = "Stopped";
9852
9850
  })(UserAgentState = UserAgentState || (UserAgentState = {}));
9853
9851
 
9854
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/md5.js
9852
+ // sip.js/lib/core/messages/md5.js
9855
9853
  var Md5 = class {
9856
9854
  constructor() {
9857
9855
  this._dataLength = 0;
@@ -10178,7 +10176,7 @@ ${log}` : log;
10178
10176
  console.error("Md5 self test failed.");
10179
10177
  }
10180
10178
 
10181
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/digest-authentication.js
10179
+ // sip.js/lib/core/messages/digest-authentication.js
10182
10180
  function MD5(s) {
10183
10181
  return Md5.hashStr(s);
10184
10182
  }
@@ -10304,7 +10302,7 @@ ${log}` : log;
10304
10302
  }
10305
10303
  };
10306
10304
 
10307
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/levels.js
10305
+ // sip.js/lib/core/log/levels.js
10308
10306
  var Levels;
10309
10307
  (function(Levels2) {
10310
10308
  Levels2[Levels2["error"] = 0] = "error";
@@ -10313,7 +10311,7 @@ ${log}` : log;
10313
10311
  Levels2[Levels2["debug"] = 3] = "debug";
10314
10312
  })(Levels = Levels || (Levels = {}));
10315
10313
 
10316
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger.js
10314
+ // sip.js/lib/core/log/logger.js
10317
10315
  var Logger2 = class {
10318
10316
  constructor(logger, category, label) {
10319
10317
  this.logger = logger;
@@ -10343,7 +10341,7 @@ ${log}` : log;
10343
10341
  }
10344
10342
  };
10345
10343
 
10346
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/log/logger-factory.js
10344
+ // sip.js/lib/core/log/logger-factory.js
10347
10345
  var LoggerFactory = class {
10348
10346
  constructor() {
10349
10347
  this.builtinEnabled = true;
@@ -10428,7 +10426,7 @@ ${log}` : log;
10428
10426
  }
10429
10427
  };
10430
10428
 
10431
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/parser.js
10429
+ // sip.js/lib/core/messages/parser.js
10432
10430
  var Parser;
10433
10431
  (function(Parser2) {
10434
10432
  function getHeader(data, headerStart) {
@@ -10632,7 +10630,7 @@ ${log}` : log;
10632
10630
  Parser2.parseMessage = parseMessage;
10633
10631
  })(Parser = Parser || (Parser = {}));
10634
10632
 
10635
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/messages/outgoing-response.js
10633
+ // sip.js/lib/core/messages/outgoing-response.js
10636
10634
  function constructOutgoingResponse(message, options) {
10637
10635
  const CRLF = "\r\n";
10638
10636
  if (options.statusCode < 100 || options.statusCode > 699) {
@@ -10691,14 +10689,14 @@ ${log}` : log;
10691
10689
  return { message: response };
10692
10690
  }
10693
10691
 
10694
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/exceptions/transport-error.js
10692
+ // sip.js/lib/core/exceptions/transport-error.js
10695
10693
  var TransportError = class extends Exception {
10696
10694
  constructor(message) {
10697
10695
  super(message ? message : "Unspecified transport error.");
10698
10696
  }
10699
10697
  };
10700
10698
 
10701
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction.js
10699
+ // sip.js/lib/core/transactions/transaction.js
10702
10700
  var Transaction = class {
10703
10701
  constructor(_transport, _user, _id, _state, loggerCategory) {
10704
10702
  this._transport = _transport;
@@ -10806,7 +10804,7 @@ ${log}` : log;
10806
10804
  }
10807
10805
  };
10808
10806
 
10809
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/server-transaction.js
10807
+ // sip.js/lib/core/transactions/server-transaction.js
10810
10808
  var ServerTransaction = class extends Transaction {
10811
10809
  constructor(_request, transport, user, state, loggerCategory) {
10812
10810
  super(transport, user, _request.viaBranch, state, loggerCategory);
@@ -10819,7 +10817,7 @@ ${log}` : log;
10819
10817
  }
10820
10818
  };
10821
10819
 
10822
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/transaction-state.js
10820
+ // sip.js/lib/core/transactions/transaction-state.js
10823
10821
  var TransactionState;
10824
10822
  (function(TransactionState2) {
10825
10823
  TransactionState2["Accepted"] = "Accepted";
@@ -10831,7 +10829,7 @@ ${log}` : log;
10831
10829
  TransactionState2["Trying"] = "Trying";
10832
10830
  })(TransactionState = TransactionState || (TransactionState = {}));
10833
10831
 
10834
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-server-transaction.js
10832
+ // sip.js/lib/core/transactions/invite-server-transaction.js
10835
10833
  var InviteServerTransaction = class extends ServerTransaction {
10836
10834
  /**
10837
10835
  * Constructor.
@@ -11131,7 +11129,7 @@ ${log}` : log;
11131
11129
  }
11132
11130
  };
11133
11131
 
11134
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/client-transaction.js
11132
+ // sip.js/lib/core/transactions/client-transaction.js
11135
11133
  var ClientTransaction = class extends Transaction {
11136
11134
  constructor(_request, transport, user, state, loggerCategory) {
11137
11135
  super(transport, user, ClientTransaction.makeId(_request), state, loggerCategory);
@@ -11170,7 +11168,7 @@ ${log}` : log;
11170
11168
  }
11171
11169
  };
11172
11170
 
11173
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-client-transaction.js
11171
+ // sip.js/lib/core/transactions/non-invite-client-transaction.js
11174
11172
  var NonInviteClientTransaction = class extends ClientTransaction {
11175
11173
  /**
11176
11174
  * Constructor
@@ -11355,7 +11353,7 @@ ${log}` : log;
11355
11353
  }
11356
11354
  };
11357
11355
 
11358
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/dialog.js
11356
+ // sip.js/lib/core/dialogs/dialog.js
11359
11357
  var Dialog = class {
11360
11358
  /**
11361
11359
  * Dialog constructor.
@@ -11671,7 +11669,7 @@ ${log}` : log;
11671
11669
  }
11672
11670
  };
11673
11671
 
11674
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/invite-client-transaction.js
11672
+ // sip.js/lib/core/transactions/invite-client-transaction.js
11675
11673
  var InviteClientTransaction = class extends ClientTransaction {
11676
11674
  /**
11677
11675
  * Constructor.
@@ -11998,7 +11996,7 @@ ${log}` : log;
11998
11996
  }
11999
11997
  };
12000
11998
 
12001
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-client.js
11999
+ // sip.js/lib/core/user-agents/user-agent-client.js
12002
12000
  var UserAgentClient = class {
12003
12001
  constructor(transactionConstructor, core, message, delegate) {
12004
12002
  this.transactionConstructor = transactionConstructor;
@@ -12240,7 +12238,7 @@ ${log}` : log;
12240
12238
  }
12241
12239
  };
12242
12240
 
12243
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-client.js
12241
+ // sip.js/lib/core/user-agents/bye-user-agent-client.js
12244
12242
  var ByeUserAgentClient = class extends UserAgentClient {
12245
12243
  constructor(dialog, delegate, options) {
12246
12244
  const message = dialog.createOutgoingRequestMessage(C.BYE, options);
@@ -12249,7 +12247,7 @@ ${log}` : log;
12249
12247
  }
12250
12248
  };
12251
12249
 
12252
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/transactions/non-invite-server-transaction.js
12250
+ // sip.js/lib/core/transactions/non-invite-server-transaction.js
12253
12251
  var NonInviteServerTransaction = class extends ServerTransaction {
12254
12252
  /**
12255
12253
  * Constructor.
@@ -12424,7 +12422,7 @@ ${log}` : log;
12424
12422
  }
12425
12423
  };
12426
12424
 
12427
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/user-agent-server.js
12425
+ // sip.js/lib/core/user-agents/user-agent-server.js
12428
12426
  var UserAgentServer = class {
12429
12427
  constructor(transactionConstructor, core, message, delegate) {
12430
12428
  this.transactionConstructor = transactionConstructor;
@@ -12619,14 +12617,14 @@ ${log}` : log;
12619
12617
  }
12620
12618
  };
12621
12619
 
12622
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/bye-user-agent-server.js
12620
+ // sip.js/lib/core/user-agents/bye-user-agent-server.js
12623
12621
  var ByeUserAgentServer = class extends UserAgentServer {
12624
12622
  constructor(dialog, message, delegate) {
12625
12623
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
12626
12624
  }
12627
12625
  };
12628
12626
 
12629
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-client.js
12627
+ // sip.js/lib/core/user-agents/info-user-agent-client.js
12630
12628
  var InfoUserAgentClient = class extends UserAgentClient {
12631
12629
  constructor(dialog, delegate, options) {
12632
12630
  const message = dialog.createOutgoingRequestMessage(C.INFO, options);
@@ -12634,28 +12632,28 @@ ${log}` : log;
12634
12632
  }
12635
12633
  };
12636
12634
 
12637
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/info-user-agent-server.js
12635
+ // sip.js/lib/core/user-agents/info-user-agent-server.js
12638
12636
  var InfoUserAgentServer = class extends UserAgentServer {
12639
12637
  constructor(dialog, message, delegate) {
12640
12638
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
12641
12639
  }
12642
12640
  };
12643
12641
 
12644
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-client.js
12642
+ // sip.js/lib/core/user-agents/message-user-agent-client.js
12645
12643
  var MessageUserAgentClient = class extends UserAgentClient {
12646
12644
  constructor(core, message, delegate) {
12647
12645
  super(NonInviteClientTransaction, core, message, delegate);
12648
12646
  }
12649
12647
  };
12650
12648
 
12651
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/message-user-agent-server.js
12649
+ // sip.js/lib/core/user-agents/message-user-agent-server.js
12652
12650
  var MessageUserAgentServer = class extends UserAgentServer {
12653
12651
  constructor(core, message, delegate) {
12654
12652
  super(NonInviteServerTransaction, core, message, delegate);
12655
12653
  }
12656
12654
  };
12657
12655
 
12658
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-client.js
12656
+ // sip.js/lib/core/user-agents/notify-user-agent-client.js
12659
12657
  var NotifyUserAgentClient = class extends UserAgentClient {
12660
12658
  constructor(dialog, delegate, options) {
12661
12659
  const message = dialog.createOutgoingRequestMessage(C.NOTIFY, options);
@@ -12663,7 +12661,7 @@ ${log}` : log;
12663
12661
  }
12664
12662
  };
12665
12663
 
12666
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/notify-user-agent-server.js
12664
+ // sip.js/lib/core/user-agents/notify-user-agent-server.js
12667
12665
  function instanceOfDialog(object) {
12668
12666
  return object.userAgentCore !== void 0;
12669
12667
  }
@@ -12679,7 +12677,7 @@ ${log}` : log;
12679
12677
  }
12680
12678
  };
12681
12679
 
12682
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-client.js
12680
+ // sip.js/lib/core/user-agents/prack-user-agent-client.js
12683
12681
  var PrackUserAgentClient = class extends UserAgentClient {
12684
12682
  constructor(dialog, delegate, options) {
12685
12683
  const message = dialog.createOutgoingRequestMessage(C.PRACK, options);
@@ -12688,7 +12686,7 @@ ${log}` : log;
12688
12686
  }
12689
12687
  };
12690
12688
 
12691
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/prack-user-agent-server.js
12689
+ // sip.js/lib/core/user-agents/prack-user-agent-server.js
12692
12690
  var PrackUserAgentServer = class extends UserAgentServer {
12693
12691
  constructor(dialog, message, delegate) {
12694
12692
  super(NonInviteServerTransaction, dialog.userAgentCore, message, delegate);
@@ -12707,7 +12705,7 @@ ${log}` : log;
12707
12705
  }
12708
12706
  };
12709
12707
 
12710
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-client.js
12708
+ // sip.js/lib/core/user-agents/re-invite-user-agent-client.js
12711
12709
  var ReInviteUserAgentClient = class extends UserAgentClient {
12712
12710
  constructor(dialog, delegate, options) {
12713
12711
  const message = dialog.createOutgoingRequestMessage(C.INVITE, options);
@@ -12777,7 +12775,7 @@ ${log}` : log;
12777
12775
  }
12778
12776
  };
12779
12777
 
12780
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-server.js
12778
+ // sip.js/lib/core/user-agents/re-invite-user-agent-server.js
12781
12779
  var ReInviteUserAgentServer = class extends UserAgentServer {
12782
12780
  constructor(dialog, message, delegate) {
12783
12781
  super(InviteServerTransaction, dialog.userAgentCore, message, delegate);
@@ -12839,7 +12837,7 @@ ${log}` : log;
12839
12837
  }
12840
12838
  };
12841
12839
 
12842
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-client.js
12840
+ // sip.js/lib/core/user-agents/refer-user-agent-client.js
12843
12841
  var ReferUserAgentClient = class extends UserAgentClient {
12844
12842
  constructor(dialog, delegate, options) {
12845
12843
  const message = dialog.createOutgoingRequestMessage(C.REFER, options);
@@ -12847,7 +12845,7 @@ ${log}` : log;
12847
12845
  }
12848
12846
  };
12849
12847
 
12850
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/refer-user-agent-server.js
12848
+ // sip.js/lib/core/user-agents/refer-user-agent-server.js
12851
12849
  function instanceOfSessionDialog(object) {
12852
12850
  return object.userAgentCore !== void 0;
12853
12851
  }
@@ -12863,7 +12861,7 @@ ${log}` : log;
12863
12861
  }
12864
12862
  };
12865
12863
 
12866
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/session-dialog.js
12864
+ // sip.js/lib/core/dialogs/session-dialog.js
12867
12865
  var SessionDialog = class extends Dialog {
12868
12866
  constructor(initialTransaction, core, state, delegate) {
12869
12867
  super(core, state);
@@ -13476,7 +13474,7 @@ ${log}` : log;
13476
13474
  }
13477
13475
  };
13478
13476
 
13479
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-client.js
13477
+ // sip.js/lib/core/user-agents/invite-user-agent-client.js
13480
13478
  var InviteUserAgentClient = class extends UserAgentClient {
13481
13479
  constructor(core, message, delegate) {
13482
13480
  super(InviteClientTransaction, core, message, delegate);
@@ -13642,7 +13640,7 @@ ${log}` : log;
13642
13640
  }
13643
13641
  };
13644
13642
 
13645
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/invite-user-agent-server.js
13643
+ // sip.js/lib/core/user-agents/invite-user-agent-server.js
13646
13644
  var InviteUserAgentServer = class extends UserAgentServer {
13647
13645
  constructor(core, message, delegate) {
13648
13646
  super(InviteServerTransaction, core, message, delegate);
@@ -13782,21 +13780,21 @@ ${log}` : log;
13782
13780
  }
13783
13781
  };
13784
13782
 
13785
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/publish-user-agent-client.js
13783
+ // sip.js/lib/core/user-agents/publish-user-agent-client.js
13786
13784
  var PublishUserAgentClient = class extends UserAgentClient {
13787
13785
  constructor(core, message, delegate) {
13788
13786
  super(NonInviteClientTransaction, core, message, delegate);
13789
13787
  }
13790
13788
  };
13791
13789
 
13792
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-client.js
13790
+ // sip.js/lib/core/user-agents/register-user-agent-client.js
13793
13791
  var RegisterUserAgentClient = class extends UserAgentClient {
13794
13792
  constructor(core, message, delegate) {
13795
13793
  super(NonInviteClientTransaction, core, message, delegate);
13796
13794
  }
13797
13795
  };
13798
13796
 
13799
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/register-user-agent-server.js
13797
+ // sip.js/lib/core/user-agents/register-user-agent-server.js
13800
13798
  var RegisterUserAgentServer = class extends UserAgentServer {
13801
13799
  constructor(core, message, delegate) {
13802
13800
  super(NonInviteServerTransaction, core, message, delegate);
@@ -13804,7 +13802,7 @@ ${log}` : log;
13804
13802
  }
13805
13803
  };
13806
13804
 
13807
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/re-subscribe-user-agent-client.js
13805
+ // sip.js/lib/core/user-agents/re-subscribe-user-agent-client.js
13808
13806
  var ReSubscribeUserAgentClient = class extends UserAgentClient {
13809
13807
  constructor(dialog, delegate, options) {
13810
13808
  const message = dialog.createOutgoingRequestMessage(C.SUBSCRIBE, options);
@@ -13840,7 +13838,7 @@ ${log}` : log;
13840
13838
  }
13841
13839
  };
13842
13840
 
13843
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/dialogs/subscription-dialog.js
13841
+ // sip.js/lib/core/dialogs/subscription-dialog.js
13844
13842
  var SubscriptionDialog = class extends Dialog {
13845
13843
  constructor(subscriptionEvent, subscriptionExpires, subscriptionState, core, state, delegate) {
13846
13844
  super(core, state);
@@ -14190,7 +14188,7 @@ ${log}` : log;
14190
14188
  }
14191
14189
  };
14192
14190
 
14193
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-client.js
14191
+ // sip.js/lib/core/user-agents/subscribe-user-agent-client.js
14194
14192
  var SubscribeUserAgentClient = class extends UserAgentClient {
14195
14193
  constructor(core, message, delegate) {
14196
14194
  const event = message.getHeader("Event");
@@ -14353,7 +14351,7 @@ ${log}` : log;
14353
14351
  }
14354
14352
  };
14355
14353
 
14356
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-server.js
14354
+ // sip.js/lib/core/user-agents/subscribe-user-agent-server.js
14357
14355
  var SubscribeUserAgentServer = class extends UserAgentServer {
14358
14356
  constructor(core, message, delegate) {
14359
14357
  super(NonInviteServerTransaction, core, message, delegate);
@@ -14361,7 +14359,7 @@ ${log}` : log;
14361
14359
  }
14362
14360
  };
14363
14361
 
14364
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/core/user-agent-core/user-agent-core.js
14362
+ // sip.js/lib/core/user-agent-core/user-agent-core.js
14365
14363
  var acceptedBodyTypes = ["application/sdp", "application/dtmf-relay"];
14366
14364
  var UserAgentCore = class {
14367
14365
  /**
@@ -14779,7 +14777,7 @@ ${log}` : log;
14779
14777
  }
14780
14778
  };
14781
14779
 
14782
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/media-stream-factory-default.js
14780
+ // sip.js/lib/platform/web/session-description-handler/media-stream-factory-default.js
14783
14781
  function defaultMediaStreamFactory() {
14784
14782
  return (constraints) => {
14785
14783
  if (!constraints.audio && !constraints.video) {
@@ -14792,7 +14790,7 @@ ${log}` : log;
14792
14790
  };
14793
14791
  }
14794
14792
 
14795
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/peer-connection-configuration-default.js
14793
+ // sip.js/lib/platform/web/session-description-handler/peer-connection-configuration-default.js
14796
14794
  function defaultPeerConnectionConfiguration() {
14797
14795
  const configuration = {
14798
14796
  bundlePolicy: "balanced",
@@ -14805,7 +14803,7 @@ ${log}` : log;
14805
14803
  return configuration;
14806
14804
  }
14807
14805
 
14808
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler.js
14806
+ // sip.js/lib/platform/web/session-description-handler/session-description-handler.js
14809
14807
  var SessionDescriptionHandler = class {
14810
14808
  /**
14811
14809
  * Constructor
@@ -15568,7 +15566,7 @@ ${log}` : log;
15568
15566
  }
15569
15567
  };
15570
15568
 
15571
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-default.js
15569
+ // sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-default.js
15572
15570
  function defaultSessionDescriptionHandlerFactory(mediaStreamFactory) {
15573
15571
  return (session, options) => {
15574
15572
  if (mediaStreamFactory === void 0) {
@@ -15584,7 +15582,7 @@ ${log}` : log;
15584
15582
  };
15585
15583
  }
15586
15584
 
15587
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/transport/transport.js
15585
+ // sip.js/lib/platform/web/transport/transport.js
15588
15586
  var Transport = class {
15589
15587
  constructor(logger, options) {
15590
15588
  this._state = TransportState.Disconnected;
@@ -16142,7 +16140,7 @@ ${log}` : log;
16142
16140
  traceSip: true
16143
16141
  };
16144
16142
 
16145
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/api/user-agent.js
16143
+ // sip.js/lib/api/user-agent.js
16146
16144
  var UserAgent = class {
16147
16145
  /**
16148
16146
  * Constructs a new instance of the `UserAgent` class.
@@ -16270,7 +16268,7 @@ ${log}` : log;
16270
16268
  authorizationUsername: "",
16271
16269
  delegate: {},
16272
16270
  contactName: "",
16273
- contactParams: { transport: "ws" },
16271
+ contactParams: { transport: "wss" },
16274
16272
  displayName: "",
16275
16273
  forceRport: false,
16276
16274
  gracefulShutdown: true,
@@ -16863,7 +16861,7 @@ ${log}` : log;
16863
16861
  }
16864
16862
  };
16865
16863
 
16866
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/index.js
16864
+ // sip.js/lib/platform/web/index.js
16867
16865
  var web_exports = {};
16868
16866
  __export(web_exports, {
16869
16867
  SessionDescriptionHandler: () => SessionDescriptionHandler,
@@ -16886,7 +16884,7 @@ ${log}` : log;
16886
16884
  stripVideo: () => stripVideo
16887
16885
  });
16888
16886
 
16889
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/modifiers/modifiers.js
16887
+ // sip.js/lib/platform/web/modifiers/modifiers.js
16890
16888
  var stripPayload = (sdp, payload) => {
16891
16889
  const mediaDescs = [];
16892
16890
  const lines = sdp.split(/\r\n/);
@@ -17013,7 +17011,7 @@ ${log}` : log;
17013
17011
  return Promise.resolve({ sdp, type });
17014
17012
  }
17015
17013
 
17016
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-description-handler/web-audio-session-description-handler.js
17014
+ // sip.js/lib/platform/web/session-description-handler/web-audio-session-description-handler.js
17017
17015
  function startLocalConference(conferenceSessions) {
17018
17016
  if (conferenceSessions.length < 2) {
17019
17017
  throw new Error("Start local conference requires at leaast 2 sessions.");
@@ -17109,14 +17107,14 @@ ${log}` : log;
17109
17107
  }
17110
17108
  };
17111
17109
 
17112
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/managed-session-factory-default.js
17110
+ // sip.js/lib/platform/web/session-manager/managed-session-factory-default.js
17113
17111
  function defaultManagedSessionFactory() {
17114
17112
  return (sessionManager, session) => {
17115
17113
  return { session, held: false, muted: false };
17116
17114
  };
17117
17115
  }
17118
17116
 
17119
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/session-manager/session-manager.js
17117
+ // sip.js/lib/platform/web/session-manager/session-manager.js
17120
17118
  var SessionManager = class {
17121
17119
  /**
17122
17120
  * Constructs a new instance of the `SessionManager` class.
@@ -18282,7 +18280,7 @@ ${log}` : log;
18282
18280
  }
18283
18281
  };
18284
18282
 
18285
- // ../../node_modules/.pnpm/sip.js@0.21.2/node_modules/sip.js/lib/platform/web/simple-user/simple-user.js
18283
+ // sip.js/lib/platform/web/simple-user/simple-user.js
18286
18284
  var SimpleUser = class {
18287
18285
  /**
18288
18286
  * Constructs a new instance of the `SimpleUser` class.
@@ -19155,6 +19153,7 @@ ${log}` : log;
19155
19153
  logLevel: "error",
19156
19154
  allowLegacyNotifications: true,
19157
19155
  contactName: userPart,
19156
+ contactParams: { transport: "wss" },
19158
19157
  sessionDescriptionHandlerFactory: web_exports.defaultSessionDescriptionHandlerFactory(localStreamFactory),
19159
19158
  sessionDescriptionHandlerFactoryOptions: {
19160
19159
  constraints: constrains,