@iblai/web-utils 1.7.2 → 1.8.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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -46,6 +46,12 @@ export interface ArtifactVersion {
46
46
  created_by?: string;
47
47
  change_summary?: string;
48
48
  }
49
+ export interface RawMessageFromWS {
50
+ id: string;
51
+ is_ai: boolean;
52
+ is_human: boolean;
53
+ generation_id: string;
54
+ }
49
55
  export interface Message {
50
56
  id: string;
51
57
  role: "user" | "assistant" | "system";
@@ -111,6 +111,7 @@ export interface RedirectToAuthSpaOptions {
111
111
  authRedirectProxy?: string;
112
112
  /** Function to check if the app is running as a native app (e.g., Tauri). Affects redirect behavior. */
113
113
  isNativeApp?: () => boolean;
114
+ forceRedirect?: boolean;
114
115
  }
115
116
  /**
116
117
  * Redirect to authentication SPA for login/logout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.7.2",
3
+ "version": "1.8.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",