Skip to content

Commit a5b0ab1

Browse files
committed
chore(internal): don't re-export streaming type (#267)
exporting it breaks cloudflare types
1 parent 2a06ea5 commit a5b0ab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vertex-sdk/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@jridgewell/trace-mapping" "^0.3.9"
1717

1818
"@anthropic-ai/sdk@file:../../dist":
19-
version "0.12.3"
19+
version "0.12.4"
2020
dependencies:
2121
"@types/node" "^18.11.18"
2222
"@types/node-fetch" "^2.6.4"

src/streaming.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AnthropicError } from './error';
44
import { safeJSON, createResponseHeaders } from '@anthropic-ai/sdk/core';
55
import { APIError } from '@anthropic-ai/sdk/error';
66

7-
export type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
7+
type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
88

99
export type ServerSentEvent = {
1010
event: string | null;

0 commit comments

Comments
 (0)