@dotbots-boutique/auth-sdk 1.0.22 → 1.0.23
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/DotBotsAuth.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/types.d.ts +9 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export declare class DotBotsAuth {
|
|
|
11
11
|
private initialized;
|
|
12
12
|
private initializePromise;
|
|
13
13
|
private readonly _console;
|
|
14
|
-
static readonly SDK_VERSION = "1.0.
|
|
14
|
+
static readonly SDK_VERSION = "1.0.23";
|
|
15
15
|
constructor(config: DotBotsConfig);
|
|
16
16
|
initialize(): Promise<void>;
|
|
17
17
|
private _doInitialize;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DotBotsAuth } from './DotBotsAuth.js';
|
|
2
2
|
export { DotBotsAuthError } from './DotBotsAuthError.js';
|
|
3
|
-
export type { DotBotsConfig, DotBotsUser, DotBotsAuthEvent, DotBotsAuthErrorCode, DotBotsProxyConfig, ProxyFeature, DotBotsEnvironment, AiMessage, AiContentBlock, AiTool, AiRequest, AiResponse, AiToolCall, } from './types.js';
|
|
3
|
+
export type { DotBotsConfig, DotBotsUser, DotBotsAuthEvent, DotBotsAuthErrorCode, DotBotsProxyConfig, ProxyFeature, DotBotsEnvironment, AiMessage, AiContentBlock, AiTool, AiRequest, AiResponse, AiImage, AiToolCall, } from './types.js';
|
package/dist/types/index.js
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -69,8 +69,17 @@ export interface AiRequest {
|
|
|
69
69
|
tools?: AiTool[];
|
|
70
70
|
maxTokens?: number;
|
|
71
71
|
}
|
|
72
|
+
export interface AiImage {
|
|
73
|
+
mimeType: string;
|
|
74
|
+
data: string;
|
|
75
|
+
url: string;
|
|
76
|
+
}
|
|
72
77
|
export interface AiResponse {
|
|
73
78
|
content: string;
|
|
79
|
+
images?: AiImage[];
|
|
80
|
+
imageUrl?: string;
|
|
81
|
+
image_url?: string;
|
|
82
|
+
image?: AiImage;
|
|
74
83
|
model: string;
|
|
75
84
|
provider: string;
|
|
76
85
|
usage: {
|