@juspay/neurolink 9.69.1 → 9.69.2

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.
@@ -44,7 +44,7 @@ underlyingError?: unknown): Promise<{
44
44
  * observation with the enriched status message. Without this, only
45
45
  * `StreamHandler`-based providers produced the rich telemetry; the
46
46
  * provider-specific paths (openAI, openaiCompatible, litellm,
47
- * huggingFace, openRouter, anthropicBaseProvider) yielded the sentinel
47
+ * huggingFace, openRouter, anthropic) yielded the sentinel
48
48
  * to direct stream consumers but Pipeline B saw nothing.
49
49
  *
50
50
  * Stamps three attributes:
@@ -135,7 +135,7 @@ underlyingError) {
135
135
  * observation with the enriched status message. Without this, only
136
136
  * `StreamHandler`-based providers produced the rich telemetry; the
137
137
  * provider-specific paths (openAI, openaiCompatible, litellm,
138
- * huggingFace, openRouter, anthropicBaseProvider) yielded the sentinel
138
+ * huggingFace, openRouter, anthropic) yielded the sentinel
139
139
  * to direct stream consumers but Pipeline B saw nothing.
140
140
  *
141
141
  * Stamps three attributes:
@@ -21,7 +21,7 @@ declare const ANTHROPIC_BETA_HEADERS: {
21
21
  * Enhanced with OAuth support, subscription tiers, and beta headers for Claude Code integration.
22
22
  */
23
23
  export declare class AnthropicProvider extends BaseProvider {
24
- private model;
24
+ private client;
25
25
  private readonly authMethod;
26
26
  private readonly subscriptionTier;
27
27
  private readonly enableBetaFeatures;
@@ -129,7 +129,10 @@ export declare class AnthropicProvider extends BaseProvider {
129
129
  getProviderName(): AIProviderName;
130
130
  getDefaultModel(): string;
131
131
  /**
132
- * Returns the Vercel AI SDK model instance for Anthropic
132
+ * Returns a V3-shaped delegating model whose `doGenerate` drives the
133
+ * official Anthropic Messages API directly. BaseProvider's `generate()`
134
+ * path (and its middleware wrapping) keeps working unchanged; the
135
+ * streaming path bypasses this entirely via `executeStream`.
133
136
  */
134
137
  getAISDKModel(): LanguageModel;
135
138
  protected formatProviderError(error: unknown): Error;
@@ -144,4 +147,3 @@ export declare class AnthropicProvider extends BaseProvider {
144
147
  }
145
148
  export { getModelCapabilities, getRecommendedModelForTier, isModelAvailableForTier, ModelAccessError, } from "../models/anthropicModels.js";
146
149
  export { ANTHROPIC_BETA_HEADERS };
147
- export default AnthropicProvider;