Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .changeset/nine-buckets-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
"@effect/platform-node-shared": patch
"@effect/ai-amazon-bedrock": patch
"@effect/rpc": patch
"@effect/ai": patch
"@effect/ai-anthropic": patch
"@effect/ai-google": patch
"@effect/ai-openai": patch
"@effect/ai-openrouter": patch
"@effect/cli": patch
"@effect/cluster": patch
"effect": patch
"@effect/experimental": patch
"@effect/opentelemetry": patch
"@effect/platform": patch
"@effect/platform-browser": patch
"@effect/platform-bun": patch
"@effect/platform-node": patch
"@effect/printer": patch
"@effect/printer-ansi": patch
"@effect/sql": patch
"@effect/sql-clickhouse": patch
"@effect/sql-d1": patch
"@effect/sql-drizzle": patch
"@effect/sql-kysely": patch
"@effect/sql-libsql": patch
"@effect/sql-mssql": patch
"@effect/sql-mysql2": patch
"@effect/sql-pg": patch
"@effect/sql-sqlite-bun": patch
"@effect/sql-sqlite-do": patch
"@effect/sql-sqlite-node": patch
"@effect/sql-sqlite-react-native": patch
"@effect/sql-sqlite-wasm": patch
"@effect/typeclass": patch
"@effect/vitest": patch
"@effect/workflow": patch
---

Downgrade TypeScript version to 5.6.3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rimraf": "^6.0.1",
"tstyche": "^4.1.0",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"typescript": "^5.6.3",
"vite": "^6.1.1",
"vitest": "^3.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/amazon-bedrock/src/EventStreamEncoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const makeChannel: <A, I, R, IE, Done>(schema: Schema.Schema<A, I, R>, op
readonly bufferSize?: number
}) => Channel.Channel<
Chunk.Chunk<A>,
Chunk.Chunk<Uint8Array<ArrayBufferLike>>,
Chunk.Chunk<Uint8Array>,
IE | ParseError,
IE,
void,
Expand Down
4 changes: 2 additions & 2 deletions packages/platform-node-shared/src/NodeStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface FromWritableOptions {
* @category constructors
* @since 1.0.0
*/
export const fromReadable: <E, A = Uint8Array<ArrayBufferLike>>(
export const fromReadable: <E, A = Uint8Array>(
evaluate: LazyArg<Readable | NodeJS.ReadableStream>,
onError: (error: unknown) => E,
options?: FromReadableOptions
Expand All @@ -45,7 +45,7 @@ export const fromReadable: <E, A = Uint8Array<ArrayBufferLike>>(
* @category constructors
* @since 1.0.0
*/
export const fromReadableChannel: <E, A = Uint8Array<ArrayBufferLike>>(
export const fromReadableChannel: <E, A = Uint8Array>(
evaluate: LazyArg<Readable | NodeJS.ReadableStream>,
onError: (error: unknown) => E,
options?: FromReadableOptions | undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-node-shared/src/internal/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const toUint8Array = <E>(
}

/** @internal */
export const fromDuplex = <IE, E, I = string | Uint8Array<ArrayBufferLike>, O = Uint8Array<ArrayBufferLike>>(
export const fromDuplex = <IE, E, I = string | Uint8Array, O = Uint8Array>(
evaluate: LazyArg<Duplex>,
onError: (error: unknown) => E,
options?: FromReadableOptions & FromWritableOptions
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/src/RpcServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ export const makeProtocolWithHttpApp: Effect.Effect<
const request = yield* HttpServerRequest.HttpServerRequest
const scope = yield* Effect.scope
const requestHeaders = Object.entries(request.headers)
const data = yield* Effect.orDie<string | Uint8Array<ArrayBuffer>, HttpServerError.HttpServerError, never>(
const data = yield* Effect.orDie<string | Uint8Array, HttpServerError.HttpServerError, never>(
isBinary ? Effect.map(request.arrayBuffer, (ab) => new Uint8Array(ab)) : request.text
)
const id = clientId++
Expand Down
Loading