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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.14.0"
".": "2.14.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-f39b852755134d01a440f7c37701f6c5397f43d13740d9ba08739cae488382a7.yml
openapi_spec_hash: de6c25eebe5026d0fb9a4d7a93ec7718
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-325727e382d1635cdcff3d81e93432c314290a644a5252095fc9d23350e8fbae.yml
openapi_spec_hash: 1c0874c5d6253bdf144e617203d788c7
config_hash: d4b0c534eaf7665ea25168e0e824c9d3
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.14.1 (2026-06-12)

Full Changelog: [v2.14.0...v2.14.1](https://github.com/browserbase/sdk-node/compare/v2.14.0...v2.14.1)

### Documentation

* document and un-gate allowedDomains session setting ([eb0113d](https://github.com/browserbase/sdk-node/commit/eb0113dd0c7336a68a01f0451258aaf97fc14413))

## 2.14.0 (2026-06-08)

Full Changelog: [v2.13.0...v2.14.0](https://github.com/browserbase/sdk-node/compare/v2.13.0...v2.14.0)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@browserbasehq/sdk",
"version": "2.14.0",
"version": "2.14.1",
"description": "The official Node.js library for the Browserbase API",
"author": "Browserbase <support@browserbase.com>",
"types": "dist/index.d.ts",
Expand Down
12 changes: 12 additions & 0 deletions src/resources/sessions/sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,18 @@ export namespace SessionCreateParams {
*/
advancedStealth?: boolean;

/**
* An optional list of allowed domains for the session. If you pass one or more
* domains, Browserbase restricts top-level (main-frame) page navigations to the
* listed domains and their subdomains. For example, `example.com` also permits
* `www.example.com` and `a.b.example.com`, but not `notexample.com`. Matching is
* domain-based, not full-URL. An empty list (the default) disables the restriction
* entirely. Browserbase enforces only main-frame navigations; it does not block
* iframe/subframe loads or other in-page resource requests (images, scripts, XHR,
* etc.).
*/
allowedDomains?: Array<string>;

/**
* Enable or disable ad blocking in the browser. Defaults to `false`.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '2.14.0'; // x-release-please-version
export const VERSION = '2.14.1'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/sessions/sessions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('resource sessions', () => {
{
browserSettings: {
advancedStealth: true,
allowedDomains: ['string'],
blockAds: true,
captchaImageSelector: 'captchaImageSelector',
captchaInputSelector: 'captchaInputSelector',
Expand Down
Loading