@hautechai/sdk 2.2.0 → 2.2.2
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.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as axios from 'axios';
|
|
|
2
2
|
import { AxiosResponse } from 'axios';
|
|
3
3
|
import { Pipeline, Methods } from '@hautechai/pipelines';
|
|
4
4
|
import { ChangeMethodSignaturesInObject, WrapRefOrValue, TaskOutput, WrapRef, UnwrapRef } from '@hautechai/pipelines/dist/pipeline';
|
|
5
|
-
import {
|
|
5
|
+
import { io } from 'socket.io-client';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Generated by orval v7.10.0 🍺
|
|
@@ -6842,7 +6842,7 @@ interface Config {
|
|
|
6842
6842
|
baseUrl: string;
|
|
6843
6843
|
baseWsUrl: string;
|
|
6844
6844
|
authToken: () => string | Promise<string>;
|
|
6845
|
-
wsConfig?:
|
|
6845
|
+
wsConfig?: Parameters<typeof io>[1];
|
|
6846
6846
|
}
|
|
6847
6847
|
|
|
6848
6848
|
interface BaseWsEvent<T> {
|
|
@@ -7303,7 +7303,7 @@ interface SDKOptions {
|
|
|
7303
7303
|
authToken: () => string | Promise<string>;
|
|
7304
7304
|
baseUrl?: string;
|
|
7305
7305
|
baseWsUrl?: string;
|
|
7306
|
-
wsConfig?:
|
|
7306
|
+
wsConfig?: Parameters<typeof io>[1];
|
|
7307
7307
|
}
|
|
7308
7308
|
type ApiDefinitionTree<T> = {
|
|
7309
7309
|
[K in keyof T]: T[K] extends (...args: any[]) => any ? T[K] : T[K] extends object ? ApiDefinitionTree<T[K]> : never;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as axios from 'axios';
|
|
|
2
2
|
import { AxiosResponse } from 'axios';
|
|
3
3
|
import { Pipeline, Methods } from '@hautechai/pipelines';
|
|
4
4
|
import { ChangeMethodSignaturesInObject, WrapRefOrValue, TaskOutput, WrapRef, UnwrapRef } from '@hautechai/pipelines/dist/pipeline';
|
|
5
|
-
import {
|
|
5
|
+
import { io } from 'socket.io-client';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Generated by orval v7.10.0 🍺
|
|
@@ -6842,7 +6842,7 @@ interface Config {
|
|
|
6842
6842
|
baseUrl: string;
|
|
6843
6843
|
baseWsUrl: string;
|
|
6844
6844
|
authToken: () => string | Promise<string>;
|
|
6845
|
-
wsConfig?:
|
|
6845
|
+
wsConfig?: Parameters<typeof io>[1];
|
|
6846
6846
|
}
|
|
6847
6847
|
|
|
6848
6848
|
interface BaseWsEvent<T> {
|
|
@@ -7303,7 +7303,7 @@ interface SDKOptions {
|
|
|
7303
7303
|
authToken: () => string | Promise<string>;
|
|
7304
7304
|
baseUrl?: string;
|
|
7305
7305
|
baseWsUrl?: string;
|
|
7306
|
-
wsConfig?:
|
|
7306
|
+
wsConfig?: Parameters<typeof io>[1];
|
|
7307
7307
|
}
|
|
7308
7308
|
type ApiDefinitionTree<T> = {
|
|
7309
7309
|
[K in keyof T]: T[K] extends (...args: any[]) => any ? T[K] : T[K] extends object ? ApiDefinitionTree<T[K]> : never;
|