From 23c252c7e30f618602c9a13196109142684ff021 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 21:05:17 +0000 Subject: [PATCH] SDK regeneration --- package.json | 2 +- src/Client.ts | 2 +- .../client/requests/CreateSessionRequest.ts | 4 ++-- src/api/types/ProxySettings.ts | 15 --------------- src/api/types/index.ts | 1 - src/version.ts | 2 +- 6 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 src/api/types/ProxySettings.ts diff --git a/package.json b/package.json index 2a7f5c9..c0b9697 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "", - "version": "0.0.37", + "version": "0.0.40", "private": false, "repository": "github:browser-use/browser-use-node", "type": "commonjs", diff --git a/src/Client.ts b/src/Client.ts index 0a48356..b60c9f8 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -50,7 +50,7 @@ export class BrowserUseClient { { "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "", - "X-Fern-SDK-Version": "0.0.37", + "X-Fern-SDK-Version": "0.0.40", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/sessions/client/requests/CreateSessionRequest.ts b/src/api/resources/sessions/client/requests/CreateSessionRequest.ts index aca0b83..e6c06ab 100644 --- a/src/api/resources/sessions/client/requests/CreateSessionRequest.ts +++ b/src/api/resources/sessions/client/requests/CreateSessionRequest.ts @@ -11,6 +11,6 @@ import * as BrowserUse from "../../../../index.js"; export interface CreateSessionRequest { /** The ID of the profile to use for the session */ profileId?: string; - /** Proxy settings for the session */ - proxy?: BrowserUse.ProxySettings; + /** Country code for proxy location. */ + proxyCountryCode?: BrowserUse.ProxyCountryCode; } diff --git a/src/api/types/ProxySettings.ts b/src/api/types/ProxySettings.ts deleted file mode 100644 index 845faf4..0000000 --- a/src/api/types/ProxySettings.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as BrowserUse from "../index.js"; - -/** - * Proxy configuration settings. - */ -export interface ProxySettings { - /** Whether proxy is enabled */ - enable?: boolean; - /** Country code for proxy location */ - proxyCountryCode?: BrowserUse.ProxyCountryCode; -} diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 2ed2249..afb8cdc 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -13,7 +13,6 @@ export * from "./ProfileListResponse.js"; export * from "./ProfileNotFoundError.js"; export * from "./ProfileView.js"; export * from "./ProxyCountryCode.js"; -export * from "./ProxySettings.js"; export * from "./SessionHasRunningTaskError.js"; export * from "./SessionItemView.js"; export * from "./SessionListResponse.js"; diff --git a/src/version.ts b/src/version.ts index 912ac7d..2eb2a2f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.0.37"; +export const SDK_VERSION = "0.0.40";