@axsdk/core 0.1.5 → 0.1.8

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @axsdk/core
2
2
 
3
+ These packages are code for integrating with the AXSDK (https://axsdk.ai) platform.
4
+
3
5
  Framework-agnostic JavaScript/TypeScript SDK for the AXSDK AI chat platform. Manages sessions, real-time SSE streaming, and chat state — no UI dependencies required.
4
6
 
5
7
  ## Installation
@@ -27,8 +27,8 @@ export interface ApiClientConfig {
27
27
  errorInterceptors?: ErrorInterceptor[];
28
28
  }
29
29
  export declare class ApiClient {
30
- private baseURL;
31
- private basePath;
30
+ private baseURL?;
31
+ private basePath?;
32
32
  private defaultHeaders;
33
33
  private timeout;
34
34
  private requestInterceptors;
package/dist/axapi.d.ts CHANGED
@@ -5,5 +5,6 @@ export declare function health(): Promise<unknown>;
5
5
  export declare function createSession(): Promise<unknown>;
6
6
  export declare function getMessages(): Promise<unknown>;
7
7
  export declare function postMessage(text: string, images: string[]): Promise<unknown>;
8
+ export declare function cancelSession(sessionID: string): Promise<unknown>;
8
9
  export declare function getPendingCalls(): Promise<unknown>;
9
10
  export declare function updateCall(callID: string, status: string, result: string): Promise<unknown>;
package/dist/config.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export declare const Config: {
2
2
  baseURL: string;
3
+ basePath: string;
3
4
  };