Skip to content

Commit aa00043

Browse files
feat(api): api update (#120)
1 parent 2f135b1 commit aa00043

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.1.2"
2+
".": "2.1.3"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-7d749df7d5d78af46e1469203f20eca5dedd2f06076b3191f44ef921f4b10596.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-3b940292f5146d4659546ef49685da0a2877a622957e2cf48c6bc2ccf3c153ca.yml

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserbasehq/sdk",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "The official TypeScript library for the Browserbase API",
55
"author": "Browserbase <support@browserbase.com>",
66
"types": "dist/index.d.ts",

src/resources/sessions/sessions.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ export interface Session {
111111
* Memory used by the Session
112112
*/
113113
memoryUsage?: number;
114+
115+
/**
116+
* Arbitrary user metadata to attach to the session.
117+
*/
118+
userMetadata?: unknown;
114119
}
115120

116121
export interface SessionLiveURLs {
@@ -203,6 +208,11 @@ export interface SessionCreateResponse {
203208
* Memory used by the Session
204209
*/
205210
memoryUsage?: number;
211+
212+
/**
213+
* Arbitrary user metadata to attach to the session.
214+
*/
215+
userMetadata?: unknown;
206216
}
207217

208218
export type SessionListResponse = Array<Session>;
@@ -246,6 +256,11 @@ export interface SessionCreateParams {
246256
* the Project's `defaultTimeout`.
247257
*/
248258
timeout?: number;
259+
260+
/**
261+
* Arbitrary user metadata to attach to the session.
262+
*/
263+
userMetadata?: unknown;
249264
}
250265

251266
export namespace SessionCreateParams {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '2.1.2'; // x-release-please-version
1+
export const VERSION = '2.1.3'; // x-release-please-version

tests/api-resources/sessions/sessions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ describe('resource sessions', () => {
4545
proxies: true,
4646
region: 'us-west-2',
4747
timeout: 60,
48+
userMetadata: {},
4849
});
4950
});
5051

0 commit comments

Comments
 (0)