Skip to content

Commit

Permalink
chore(internal): don't re-export streaming type (#267)
Browse files Browse the repository at this point in the history
exporting it breaks cloudflare types
  • Loading branch information
stainless-bot committed Jan 23, 2024
1 parent 2a06ea5 commit bcae5a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vertex-sdk/yarn.lock
Expand Up @@ -16,7 +16,7 @@
"@jridgewell/trace-mapping" "^0.3.9"

"@anthropic-ai/sdk@file:../../dist":
version "0.12.3"
version "0.12.4"
dependencies:
"@types/node" "^18.11.18"
"@types/node-fetch" "^2.6.4"
Expand Down
2 changes: 1 addition & 1 deletion src/streaming.ts
Expand Up @@ -4,7 +4,7 @@ import { AnthropicError } from './error';
import { safeJSON, createResponseHeaders } from '@anthropic-ai/sdk/core';
import { APIError } from '@anthropic-ai/sdk/error';

export type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;

export type ServerSentEvent = {
event: string | null;
Expand Down

0 comments on commit bcae5a9

Please sign in to comment.