@seamapi/http 0.16.0 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connect.cjs CHANGED
@@ -234,7 +234,6 @@ var SeamHttpInvalidOptionsError = class extends Error {
234
234
  constructor(message) {
235
235
  super(`SeamHttp received invalid options: ${message}`);
236
236
  this.name = this.constructor.name;
237
- Error.captureStackTrace(this, this.constructor);
238
237
  }
239
238
  };
240
239
  var SeamHttpMultiWorkspaceInvalidOptionsError = class extends SeamHttpInvalidOptionsError {
@@ -431,7 +430,6 @@ var SeamHttpInvalidTokenError = class extends Error {
431
430
  constructor(message) {
432
431
  super(`SeamHttp received an invalid token: ${message}`);
433
432
  this.name = this.constructor.name;
434
- Error.captureStackTrace(this, this.constructor);
435
433
  }
436
434
  };
437
435
  var warnOnInsecureuserIdentifierKey = (userIdentifierKey) => {
@@ -455,7 +453,6 @@ var SeamHttpApiError = class extends Error {
455
453
  const { type, message, data } = error;
456
454
  super(message);
457
455
  this.name = this.constructor.name;
458
- Error.captureStackTrace(this, this.constructor);
459
456
  this.code = type;
460
457
  this.statusCode = statusCode;
461
458
  this.requestId = requestId;
@@ -472,7 +469,6 @@ var SeamHttpUnauthorizedError = class extends SeamHttpApiError {
472
469
  const status = 401;
473
470
  super({ type, message: "Unauthorized" }, status, requestId);
474
471
  this.name = this.constructor.name;
475
- Error.captureStackTrace(this, this.constructor);
476
472
  this.code = type;
477
473
  this.statusCode = status;
478
474
  this.requestId = requestId;
@@ -485,7 +481,6 @@ var SeamHttpInvalidInputError = class extends SeamHttpApiError {
485
481
  constructor(error, statusCode, requestId) {
486
482
  super(error, statusCode, requestId);
487
483
  this.name = this.constructor.name;
488
- Error.captureStackTrace(this, this.constructor);
489
484
  this.code = "invalid_input";
490
485
  }
491
486
  };
@@ -609,7 +604,6 @@ var SeamActionAttemptError = class extends Error {
609
604
  super(message);
610
605
  this.name = this.constructor.name;
611
606
  this.actionAttempt = actionAttempt;
612
- Error.captureStackTrace(this, this.constructor);
613
607
  }
614
608
  };
615
609
  var isSeamActionAttemptFailedError = (error) => {
@@ -620,7 +614,6 @@ var SeamActionAttemptFailedError = class extends SeamActionAttemptError {
620
614
  super(actionAttempt.error.message, actionAttempt);
621
615
  this.name = this.constructor.name;
622
616
  this.code = actionAttempt.error.type;
623
- Error.captureStackTrace(this, this.constructor);
624
617
  }
625
618
  };
626
619
  var isSeamActionAttemptTimeoutError = (error) => {
@@ -633,7 +626,6 @@ var SeamActionAttemptTimeoutError = class extends SeamActionAttemptError {
633
626
  actionAttempt
634
627
  );
635
628
  this.name = this.constructor.name;
636
- Error.captureStackTrace(this, this.constructor);
637
629
  }
638
630
  };
639
631
  var isSuccessfulActionAttempt = (actionAttempt) => actionAttempt.status === "success";