@eloquentai/chat-sdk 0.25.10-dev → 0.25.11-dev

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { C as n, a as t, r } from "./index-jaki6zSQ.js";
1
+ import { C as n, a as t, r } from "./index-BIHZZIqD.js";
2
2
  try {
3
3
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, a = new e.Error().stack;
4
4
  a && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[a] = "2f86aa74-a654-4fad-86f8-adba1f3666a9", e._sentryDebugIdIdentifier = "sentry-dbid-2f86aa74-a654-4fad-86f8-adba1f3666a9");
@@ -60,6 +60,7 @@ export declare class EloquentAiApiClient {
60
60
  * Reset API client by clearing all stored state
61
61
  */
62
62
  reset(): void;
63
+ setRegion(region: string): void;
63
64
  /**
64
65
  * Get organization data by app ID
65
66
  */
@@ -14,7 +14,9 @@ export interface HttpClientConfig {
14
14
  export declare class HttpClient {
15
15
  private baseURL;
16
16
  private headers;
17
+ private region;
17
18
  constructor(config: HttpClientConfig);
19
+ setRegion(region: string): void;
18
20
  private request;
19
21
  get<T>(url: string): Promise<T>;
20
22
  post<T, D>(url: string, data: D): Promise<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eloquentai/chat-sdk",
3
- "version": "0.25.10-dev",
3
+ "version": "0.25.11-dev",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "chat",