ide-assi 0.14.0 → 0.16.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.
@@ -193315,13 +193315,13 @@ class IdeAi
193315
193315
  console.log(menus);
193316
193316
  console.log(tables);
193317
193317
 
193318
- const response = await fetch(`${#API_URL}/ai/generateSource`, {
193318
+ const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
193319
193319
  method: "POST",
193320
193320
  headers: { "Content-Type": "application/json" },
193321
193321
  body: JSON.stringify({
193322
193322
  question: question,
193323
193323
  menus: menus,
193324
- tables: tables,
193324
+ tables: tables.list,
193325
193325
  })
193326
193326
  });
193327
193327
 
@@ -193311,13 +193311,13 @@ class IdeAi
193311
193311
  console.log(menus);
193312
193312
  console.log(tables);
193313
193313
 
193314
- const response = await fetch(`${#API_URL}/ai/generateSource`, {
193314
+ const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
193315
193315
  method: "POST",
193316
193316
  headers: { "Content-Type": "application/json" },
193317
193317
  body: JSON.stringify({
193318
193318
  question: question,
193319
193319
  menus: menus,
193320
- tables: tables,
193320
+ tables: tables.list,
193321
193321
  })
193322
193322
  });
193323
193323
 
@@ -58,13 +58,13 @@ export class IdeAi
58
58
  console.log(menus);
59
59
  console.log(tables);
60
60
 
61
- const response = await fetch(`${#API_URL}/ai/generateSource`, {
61
+ const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
62
62
  method: "POST",
63
63
  headers: { "Content-Type": "application/json" },
64
64
  body: JSON.stringify({
65
65
  question: question,
66
66
  menus: menus,
67
- tables: tables,
67
+ tables: tables.list,
68
68
  })
69
69
  });
70
70
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.14.0",
4
+ "version": "0.16.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -58,13 +58,13 @@ export class IdeAi
58
58
  console.log(menus);
59
59
  console.log(tables);
60
60
 
61
- const response = await fetch(`${#API_URL}/ai/generateSource`, {
61
+ const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
62
62
  method: "POST",
63
63
  headers: { "Content-Type": "application/json" },
64
64
  body: JSON.stringify({
65
65
  question: question,
66
66
  menus: menus,
67
- tables: tables,
67
+ tables: tables.list,
68
68
  })
69
69
  });
70
70