ide-assi 0.126.0 → 0.127.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.
@@ -193515,10 +193515,10 @@ class IdeAi
193515
193515
  const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
193516
193516
  let params = [];
193517
193517
  files.forEach(async (file) => {
193518
- params.push({
193518
+ params.push(JSON.stringify({
193519
193519
  "path": `/tmpl/${file}`,
193520
193520
  "contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
193521
- });
193521
+ }));
193522
193522
  });
193523
193523
 
193524
193524
  console.log(params);
@@ -193511,10 +193511,10 @@ class IdeAi
193511
193511
  const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
193512
193512
  let params = [];
193513
193513
  files.forEach(async (file) => {
193514
- params.push({
193514
+ params.push(JSON.stringify({
193515
193515
  "path": `/tmpl/${file}`,
193516
193516
  "contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
193517
- });
193517
+ }));
193518
193518
  });
193519
193519
 
193520
193520
  console.log(params);
@@ -221,10 +221,10 @@ export class IdeAi
221
221
  const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
222
222
  let params = [];
223
223
  files.forEach(async (file) => {
224
- params.push({
224
+ params.push(JSON.stringify({
225
225
  "path": `/tmpl/${file}`,
226
226
  "contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
227
- });
227
+ }));
228
228
  });
229
229
 
230
230
  console.log(params);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.126.0",
4
+ "version": "0.127.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -221,10 +221,10 @@ export class IdeAi
221
221
  const files = ["mybatis.xml", "service.java", "controller.java", "react.jsx"];
222
222
  let params = [];
223
223
  files.forEach(async (file) => {
224
- params.push({
224
+ params.push(JSON.stringify({
225
225
  "path": `/tmpl/${file}`,
226
226
  "contents": await fetch(`/api/templates/${file}`).then(res => res.text()),
227
- });
227
+ }));
228
228
  });
229
229
 
230
230
  console.log(params);