Commit b4e322c
committed
chore: re-apply manual patches after regen
Re-apply patches that Fern's regen reverted, and adapt hand-maintained
tests to the new generator output.
ClientOptions.java: restore correct User-Agent/X-Fern-SDK-* headers
(com.deepgram:deepgram-java-sdk, version 0.4.0) and the
// x-release-please-version markers. Fern regen still rewrites these
to the wrong artifact id and strips the version markers.
ReconnectingWebSocketListener.java: restore applyOptionsOverride()
hook, volatile option-derived fields, configurable connectionTimeoutMs
on ReconnectOptions, and the maxRetries(0) "connect once, don't retry"
semantics (retryCount > maxRetries, not >=). Generator regen still
reverts all of these.
Environment.AGENT was removed by the generator (4-arg constructor with
new agentRest field). Hand-maintained tests that referenced
Environment.AGENT now build an equivalent agent-shaped environment via
Environment.custom().agentRest(...).1 parent 0f4b69e commit b4e322c
7 files changed
Lines changed: 92 additions & 811 deletions
File tree
- src
- main/java/com/deepgram/core
- test/java/com/deepgram
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
This file was deleted.
0 commit comments