Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Oct 30, 2025

This PR regenerates code to match the latest API Definition.

twitchard and others added 9 commits October 30, 2025 02:42
Added `:void` return type annotations to 9 methods that required explicit
types with --isolatedDeclarations:
- Socket.ts: on() method
- ws.ts: close(), reconnect(), send() methods
- EVIWebAudioPlayer.ts: stop(), setVolume(), mute(), unmute(), dispose() methods

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Added `: number` type annotations to 4 getter accessors in ReconnectingWebSocket
that required explicit types with --isolatedDeclarations:
- CONNECTING getter
- OPEN getter
- CLOSING getter
- CLOSED getter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
When 'isolatedModules' is enabled, type re-exports must use 'export type' syntax.
Fixed 3 type re-exports:
- src/index.ts: HumeEnvironmentUrls type export
- src/wrapper/index.ts: EVIWebAudioPlayerFFTOptions and EVIWebAudioPlayerOptions type exports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
…nHeaders

Added explicit return type annotation `Record<string, string | undefined>` to
the _getCustomAuthorizationHeaders method in Chat client. This fixes the
'Expression type can't be inferred' errors with --isolatedDeclarations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Added explicit return type annotations to 2 exported functions:
- checkForAudioTracks.ts: added `: void` return type
- wrapper/index.ts: added `Promise<typeof import("./SilenceFiller.js").SilenceFiller>` return type to createSilenceFiller

Also fixed type annotation for _getCustomAuthorizationHeaders to accept null values.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
twitchard and others added 10 commits October 30, 2025 03:08
This reverts commit c12ae7e.
The browser tests were redundant - the regular test suite already covers
Web ReadableStream, Blob, File, ArrayBuffer and other browser APIs in the
Node.js environment. Maintaining a separate browser test environment adds
complexity without meaningful additional coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants