@pb33f/cowboy-components 0.1.6 → 0.1.7

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.
@@ -23,6 +23,7 @@ export declare class TheDoctor extends LitElement {
23
23
  tabGroup: SlTabGroup;
24
24
  owaspSwitch: SlSwitch;
25
25
  private unavailable;
26
+ doctorEndpoint: string;
26
27
  private errorBanner;
27
28
  private bagManager;
28
29
  private readonly editor;
@@ -42,7 +43,6 @@ export declare class TheDoctor extends LitElement {
42
43
  private OWASPEnabled;
43
44
  private readonly statusBar;
44
45
  private session;
45
- private doctorEndpoint;
46
46
  constructor();
47
47
  ruleGroupClicked(event: CustomEvent<ProblemRuleFilterChangedEvent>): void;
48
48
  ruleDocsClicked(event: CustomEvent<ProblemDrawerEvent>): void;
@@ -37,8 +37,6 @@ let TheDoctor = class TheDoctor extends LitElement {
37
37
  super();
38
38
  this.debounceTime = 300;
39
39
  this.bounceId = 0;
40
- //private doctorEndpoint: string = "https://doctor.pb33f.io";
41
- this.doctorEndpoint = "http://localhost:9090";
42
40
  // create a stateful bag manager
43
41
  this.bagManager = CreateBagManager(true);
44
42
  this.bagManager.loadStatefulBags().then(this.loadState.bind(this));
@@ -50,6 +48,7 @@ let TheDoctor = class TheDoctor extends LitElement {
50
48
  this.statusBar = new StatusBar();
51
49
  this.ruleDocsWorker = new RuleDocumentationWorker();
52
50
  this.unavailable = false;
51
+ this.doctorEndpoint = "https://doctor.pb33f.io";
53
52
  // TODO: make this configurable
54
53
  this.editor.language = "yaml";
55
54
  //@ts-ignore
@@ -335,6 +334,9 @@ __decorate([
335
334
  __decorate([
336
335
  property({ type: Boolean })
337
336
  ], TheDoctor.prototype, "unavailable", void 0);
337
+ __decorate([
338
+ property()
339
+ ], TheDoctor.prototype, "doctorEndpoint", void 0);
338
340
  TheDoctor = __decorate([
339
341
  customElement("pb33f-doctor")
340
342
  ], TheDoctor);