Skip to content

Commit 3e90486

Browse files
refactor: remove User-Agent header from client requests
Clean up HTTP client configuration by removing the User-Agent header from default request headers. This change simplifies the header configuration while maintaining SDK identification through the remaining X-Fern headers. Key changes: - Remove "User-Agent" header from default client headers - Maintain SDK identification through X-Fern-* headers - Simplify client initialization configuration 🌿 Generated with Fern
1 parent bb993e2 commit 3e90486

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ tests/wire/fhir/main.test.ts
1717

1818
# CI workflow with OIDC fixes (until generator is updated)
1919
.github/workflows/ci.yml
20+
changelog.md

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## 0.0.22 - 2026-01-20
2+
* refactor: remove User-Agent header from client requests
3+
* Clean up HTTP client configuration by removing the User-Agent header from default request headers. This change simplifies the header configuration while maintaining SDK identification through the remaining X-Fern headers.
4+
* Key changes:
5+
* Remove "User-Agent" header from default client headers
6+
* Maintain SDK identification through X-Fern-* headers
7+
* Simplify client initialization configuration
8+
* 🌿 Generated with Fern
9+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phenoml",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"private": false,
55
"repository": "github:PhenoML/phenoml-ts-sdk",
66
"type": "commonjs",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class phenomlClient {
4040
{
4141
"X-Fern-Language": "JavaScript",
4242
"X-Fern-SDK-Name": "phenoml",
43-
"X-Fern-SDK-Version": "0.0.21",
44-
"User-Agent": "phenoml/0.0.21",
43+
"X-Fern-SDK-Version": "0.0.22",
44+
"User-Agent": "phenoml/0.0.22",
4545
"X-Fern-Runtime": core.RUNTIME.type,
4646
"X-Fern-Runtime-Version": core.RUNTIME.version,
4747
},

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.0.21";
1+
export const SDK_VERSION = "0.0.22";

0 commit comments

Comments
 (0)