@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 CHANGED
@@ -618,7 +618,7 @@ class DotBotsAuth {
618
618
  }
619
619
  }
620
620
  }
621
- DotBotsAuth.SDK_VERSION = '1.0.22';
621
+ DotBotsAuth.SDK_VERSION = '1.0.23';
622
622
 
623
623
  exports.DotBotsAuth = DotBotsAuth;
624
624
  exports.DotBotsAuthError = DotBotsAuthError;
package/dist/esm/index.js CHANGED
@@ -616,6 +616,6 @@ class DotBotsAuth {
616
616
  }
617
617
  }
618
618
  }
619
- DotBotsAuth.SDK_VERSION = '1.0.22';
619
+ DotBotsAuth.SDK_VERSION = '1.0.23';
620
620
 
621
621
  export { DotBotsAuth, DotBotsAuthError };
@@ -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.22";
14
+ static readonly SDK_VERSION = "1.0.23";
15
15
  constructor(config: DotBotsConfig);
16
16
  initialize(): Promise<void>;
17
17
  private _doInitialize;
@@ -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';
@@ -616,6 +616,6 @@ class DotBotsAuth {
616
616
  }
617
617
  }
618
618
  }
619
- DotBotsAuth.SDK_VERSION = '1.0.22';
619
+ DotBotsAuth.SDK_VERSION = '1.0.23';
620
620
 
621
621
  export { DotBotsAuth, DotBotsAuthError };
@@ -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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotbots-boutique/auth-sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Authentication SDK for DotBots marketplace apps",
5
5
  "license": "MIT",
6
6
  "type": "module",