@nomalism-com/api 0.40.95 → 0.40.96

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/index.d.ts CHANGED
@@ -1750,7 +1750,7 @@ declare class Repository$1 implements Nomalism$1.LLM.IRepository {
1750
1750
  route: string;
1751
1751
  private api;
1752
1752
  constructor({ api, route }: IModuleConstructor);
1753
- prompt(data: Nomalism$1.LLM.IPromptRequest, { onChunk, onDone, onError }: Nomalism$1.LLM.IPromptResponse): Promise<Nomalism$1.LLM.IPromptAbortController>;
1753
+ prompt(data: Nomalism$1.LLM.IPromptRequest, { onChunk, onDone, onError }: Nomalism$1.LLM.IPromptResponse): Nomalism$1.LLM.IPromptAbortController;
1754
1754
  }
1755
1755
 
1756
1756
  declare namespace llm {
package/dist/index.js CHANGED
@@ -4055,7 +4055,7 @@ var Repository120 = class {
4055
4055
  this.api = api;
4056
4056
  this.route = route;
4057
4057
  }
4058
- async prompt(data, { onChunk, onDone, onError }) {
4058
+ prompt(data, { onChunk, onDone, onError }) {
4059
4059
  const ac = new AbortController();
4060
4060
  (async () => {
4061
4061
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "0.40.95",
4
+ "version": "0.40.96",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.40.95",
26
+ "@nomalism-com/types": "^0.40.96",
27
27
  "axios": "^1.13.2"
28
28
  },
29
29
  "devDependencies": {