@d-id/client-sdk 1.0.18-beta.7 → 1.0.18-beta.8

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,15 +1,15 @@
1
- import { Agent, AgentManagerOptions, AgentsManagerAPI, CreateStreamOptions } from '../types/index';
1
+ import { Agent, AgentManagerOptions, AgentsManager, CreateStreamOptions } from '../types/index';
2
2
  export declare function getAgentStreamArgs(agent: Agent): CreateStreamOptions;
3
3
  /**
4
4
  * Creates a new Agent Manager instance for interacting with an agent, chat, and related connections.
5
5
  *
6
6
  * @param {string} agentId - The ID of the agent to chat with.
7
7
  * @param {AgentManagerOptions} options - Configurations for the Agent Manager API.
8
- * * @returns {Promise<AgentsManagerAPI>} - A promise that resolves to an instance of the AgentsAPI interface.
8
+ * * @returns {Promise<AgentsManager>} - A promise that resolves to an instance of the AgentsAPI interface.
9
9
  *
10
10
  * @throws {Error} Throws an error if the agent is not initialized.
11
11
  *
12
12
  * @example
13
13
  * const agentManager = await createAgentManager('id-agent123', { auth: { type: 'key', clientKey: '123', externalId: '123' } });
14
14
  */
15
- export declare function createAgentManager(agentId: string, options: AgentManagerOptions): Promise<AgentsManagerAPI>;
15
+ export declare function createAgentManager(agentId: string, options: AgentManagerOptions): Promise<AgentsManager>;
@@ -59,7 +59,7 @@ export interface AgentManagerOptions {
59
59
  debug?: boolean;
60
60
  auth: Auth;
61
61
  }
62
- export interface AgentsManagerAPI {
62
+ export interface AgentsManager {
63
63
  /**
64
64
  * Agent instance you are working with.
65
65
  * To know more about agents go to https://docs.d-id.com/reference/agents
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.18-beta.7",
4
+ "version": "1.0.18-beta.8",
5
5
  "type": "module",
6
6
  "description": "d-id client sdk",
7
7
  "repository": {