@d-id/client-sdk 1.1.68 → 1.1.69-staging.331

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.
@@ -1,4 +1,5 @@
1
1
  import { Auth } from '../types/auth';
2
2
 
3
3
  export declare function getExternalId(externalId?: string): string;
4
+ export declare function rotateConnectionId(): void;
4
5
  export declare function getAuthHeader(auth: Auth, externalId?: string): string;
@@ -7,6 +7,6 @@ export interface ChatEventQueue {
7
7
  answer?: string;
8
8
  }
9
9
  export declare function createMessageEventQueue(analytics: Analytics, items: AgentManagerItems, options: AgentManagerOptions, agentEntity: Agent, onStreamDone: () => void): {
10
- clearQueue: () => {};
10
+ clearQueue: () => void;
11
11
  onMessage: (event: ChatProgress | StreamEvents, data: any) => void;
12
12
  };
@@ -32,6 +32,7 @@ export declare function getAgentInfo(agent: Agent): {
32
32
  access: "public" | "private" | "rejected" | "pending-public" | "unlisted" | undefined;
33
33
  agentName: string | undefined;
34
34
  };
35
+ export declare const getErrorMessage: (error: unknown) => string;
35
36
  export declare const sumFunc: (numbers: number[]) => number;
36
37
  export declare const average: (numbers: number[]) => number;
37
38
  export declare function getStreamAnalyticsProps(data: any, agent: Agent, additionalProps: Record<string, any>): any;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d-id/client-sdk",
3
3
  "private": false,
4
- "version": "1.1.68",
4
+ "version": "1.1.69-staging.331",
5
5
  "type": "module",
6
6
  "description": "d-id client sdk",
7
7
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "@types/node": "^22.15.0",
49
49
  "@types/rosie": "^0.0.45",
50
50
  "commander": "^11.1.0",
51
- "glob": "^10.3.10",
51
+ "glob": "^12.0.0",
52
52
  "jest": "^29.7.0",
53
53
  "jest-environment-jsdom": "^29.7.0",
54
54
  "preact": "^10.19.6",
@@ -61,7 +61,7 @@
61
61
  "ts-jest": "^29.4.1",
62
62
  "typedoc": "^0.25.7",
63
63
  "typescript": "^5.3.3",
64
- "vite": "^5.1.4",
64
+ "vite": "^6.4.2",
65
65
  "vite-plugin-dts": "^3.7.3"
66
66
  }
67
67
  }