ide-assi 0.172.0 → 0.173.0

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.
@@ -193725,8 +193725,18 @@ class IdeAssi extends HTMLElement
193725
193725
  });
193726
193726
  };
193727
193727
 
193728
+ #config = async () => {
193729
+ const res = await fetch(`/api/source/generateTmplFile`, {
193730
+ method: "POST",
193731
+ headers: {"Content-Type": "application/json"},
193732
+ });
193733
+
193734
+ console.log(res);
193735
+ };
193728
193736
 
193729
193737
  #init = (info) => {
193738
+ this.#config();
193739
+
193730
193740
  this.settings = this.shadowRoot.querySelector("ide-assi-settings");
193731
193741
 
193732
193742
  this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
@@ -193721,8 +193721,18 @@ class IdeAssi extends HTMLElement
193721
193721
  });
193722
193722
  };
193723
193723
 
193724
+ #config = async () => {
193725
+ const res = await fetch(`/api/source/generateTmplFile`, {
193726
+ method: "POST",
193727
+ headers: {"Content-Type": "application/json"},
193728
+ });
193729
+
193730
+ console.log(res);
193731
+ };
193724
193732
 
193725
193733
  #init = (info) => {
193734
+ this.#config();
193735
+
193726
193736
  this.settings = this.shadowRoot.querySelector("ide-assi-settings");
193727
193737
 
193728
193738
  this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
@@ -53,8 +53,18 @@ export class IdeAssi extends HTMLElement
53
53
  });
54
54
  };
55
55
 
56
+ #config = async () => {
57
+ const res = await fetch(`/api/source/generateTmplFile`, {
58
+ method: "POST",
59
+ headers: {"Content-Type": "application/json"},
60
+ });
61
+
62
+ console.log(res);
63
+ };
56
64
 
57
65
  #init = (info) => {
66
+ this.#config();
67
+
58
68
  this.settings = this.shadowRoot.querySelector("ide-assi-settings");
59
69
 
60
70
  this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.172.0",
4
+ "version": "0.173.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -53,8 +53,18 @@ export class IdeAssi extends HTMLElement
53
53
  });
54
54
  };
55
55
 
56
+ #config = async () => {
57
+ const res = await fetch(`/api/source/generateTmplFile`, {
58
+ method: "POST",
59
+ headers: {"Content-Type": "application/json"},
60
+ });
61
+
62
+ console.log(res);
63
+ };
56
64
 
57
65
  #init = (info) => {
66
+ this.#config();
67
+
58
68
  this.settings = this.shadowRoot.querySelector("ide-assi-settings");
59
69
 
60
70
  this.shadowRoot.querySelector("textarea").addEventListener("keydown", this.#keydownHandler);