vapi-network 0.5.0 → 0.8.0

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/client.d.ts CHANGED
@@ -2,15 +2,12 @@ import { type AgentRouterUsage, type ChatRequest, type ChatResult, type Receipt,
2
2
  import { type RouterTopupTier } from "@vapi-network/core/router-client";
3
3
  import { type CallToolInput, type CallToolResult, type InspectToolResult, type RunAgentDeps, type RunAgentResult } from "@vapi-network/mcp";
4
4
  export type VapiClientOptions = {
5
- /** Wallet name. Defaults to VAPI_WALLET, then the machine default. */
5
+ /** Account name. Defaults to VAPI_WALLET, then the vault default. Pass a viem/VapiPaymentAccount object instead to sign with an injected server account. */
6
+ account?: string | VapiPaymentAccount;
7
+ /** @deprecated Use `account`. Removed in 0.7. */
6
8
  wallet?: string;
7
9
  /** Local state directory. Defaults to VAPI_HOME or ~/.vapi. */
8
10
  home?: string;
9
- /**
10
- * Server use: sign with this account instead of the local keystore, for
11
- * example a KMS or CDP server wallet represented as a viem account.
12
- */
13
- account?: VapiPaymentAccount;
14
11
  /** Used only without account, VAPI_KEYSTORE_PASSWORD, or a keychain entry. */
15
12
  passphrase?: string;
16
13
  fetch?: typeof fetch;