@d-id/client-sdk 1.0.11 → 1.0.13

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.
@@ -0,0 +1,2 @@
1
+ import { Auth } from '../../../../common/types/src/auth';
2
+ export declare function getAuthHeader(auth: Auth): string;
@@ -2,6 +2,7 @@ export interface Message {
2
2
  role: 'system' | 'assistant' | 'user' | 'function' | 'tool';
3
3
  content: string;
4
4
  name?: string;
5
+ created_at: string;
5
6
  }
6
7
  export interface ChatPayload {
7
8
  messages: Message[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d-id/client-sdk",
3
3
  "private": false,
4
- "version": "1.0.11",
4
+ "version": "1.0.13",
5
5
  "type": "module",
6
6
  "description": "d-id client sdk",
7
7
  "repository": {
@@ -31,6 +31,7 @@
31
31
  "scripts": {
32
32
  "dev": "vite",
33
33
  "build": "tsc && vite build",
34
+ "build:dev": "tsc && vite build --mode development",
34
35
  "dopublish": "yarn build && npm publish --access public",
35
36
  "preview": "vite preview"
36
37
  },