@fluid-topics/public-api 1.0.58 → 1.0.59

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.
@@ -1,7 +1,11 @@
1
1
  export interface GenAIChunk {
2
2
  id?: string;
3
3
  message?: string;
4
- error?: string;
4
+ error?: {
5
+ code: number;
6
+ name: string;
7
+ message: string;
8
+ };
5
9
  }
6
10
  export declare class GenAIChunkReader {
7
11
  private readonly reader;
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites>
3
- <testsuite name="Chromium_playwright_/test-browser/helpers/GenAIChunkReader.test.ts" id="0" tests="2" skipped="0" errors="0" failures="0" time="0.004">
3
+ <testsuite name="Chromium_playwright_/test-browser/helpers/GenAIChunkReader.test.ts" id="0" tests="2" skipped="0" errors="0" failures="0" time="0.002">
4
4
  <properties>
5
5
  <property name="test.fileName" value="test-browser/helpers/GenAIChunkReader.test.ts"/>
6
6
  <property name="browser.name" value="Chromium"/>
7
7
  <property name="browser.launcher" value="playwright"/>
8
8
  </properties>
9
- <testcase name="should wait for complete chunks" time="0.004" classname="GenAIChunkReader" file="test-browser/helpers/GenAIChunkReader.test.ts"/>
9
+ <testcase name="should wait for complete chunks" time="0.002" classname="GenAIChunkReader" file="test-browser/helpers/GenAIChunkReader.test.ts"/>
10
10
  <testcase name="should ignore non-data chunks" time="0" classname="GenAIChunkReader" file="test-browser/helpers/GenAIChunkReader.test.ts"/>
11
11
  </testsuite>
12
12
  </testsuites>
@@ -1,7 +1,11 @@
1
1
  export interface GenAIChunk {
2
2
  id?: string;
3
3
  message?: string;
4
- error?: string;
4
+ error?: {
5
+ code: number;
6
+ name: string;
7
+ message: string;
8
+ };
5
9
  }
6
10
  export declare class GenAIChunkReader {
7
11
  private readonly reader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/public-api",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "Fluid Topics Public API",
5
5
  "author": "Fluid Topics dev team <opensource@antidot.net>",
6
6
  "license": "LGPL-3.0-only",