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 26, 2024
1 parent 2a06ea5 commit a5b0ab1
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 a5b0ab1

Please sign in to comment.