Skip to content

Commit 90c9185

Browse files
feat(api): api update
1 parent 0efabac commit 90c9185

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-219341ea9864a23d33fbb51843fd6f762f41ec8be5154bd963bfceff0bc30bb1.yml
3-
openapi_spec_hash: 43fdb5f9ab7c52a17206c881128afb45
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-86464130af6afb678b92cd7a412035fa95d0f806eb35d5cfc1902c0d417c44ca.yml
3+
openapi_spec_hash: 9df21af9ca1497c2a481936ba585290d
44
config_hash: b3ca4ec5b02e5333af51ebc2e9fdef1b

src/resources/sessions/sessions.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,10 @@ export namespace SessionCreateParams {
431431
*/
432432
extensionId?: string;
433433

434+
/**
435+
* See usage examples
436+
* [on the Stealth Mode page](/features/stealth-mode#fingerprinting)
437+
*/
434438
fingerprint?: BrowserSettings.Fingerprint;
435439

436440
/**
@@ -464,6 +468,10 @@ export namespace SessionCreateParams {
464468
persist?: boolean;
465469
}
466470

471+
/**
472+
* See usage examples
473+
* [on the Stealth Mode page](/features/stealth-mode#fingerprinting)
474+
*/
467475
export interface Fingerprint {
468476
browsers?: Array<'chrome' | 'edge' | 'firefox' | 'safari'>;
469477

@@ -480,13 +488,13 @@ export namespace SessionCreateParams {
480488

481489
export namespace Fingerprint {
482490
export interface Screen {
483-
maxHeight: number;
491+
maxHeight?: number;
484492

485-
maxWidth: number;
493+
maxWidth?: number;
486494

487-
minHeight: number;
495+
minHeight?: number;
488496

489-
minWidth: number;
497+
minWidth?: number;
490498
}
491499
}
492500

0 commit comments

Comments
 (0)