🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@browserbasehq/sdk

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browserbasehq/sdk - npm Package Compare versions

Comparing version

to
2.5.0

@@ -82,1 +82,3 @@ /**

export function isFsReadStream(value: any): value is FsReadStream;
export const init: () => void;

@@ -6,3 +6,5 @@ /**

const auto = require('@browserbasehq/sdk/_shims/auto/runtime');
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
exports.init = () => {
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
};
for (const property of Object.keys(shims)) {

@@ -15,1 +17,3 @@ Object.defineProperty(exports, property, {

}
exports.init();
# Changelog
## 2.5.0 (2025-03-28)
Full Changelog: [v2.4.0...v2.5.0](https://github.com/browserbase/sdk-node/compare/v2.4.0...v2.5.0)
### Features
* **api:** api update ([#151](https://github.com/browserbase/sdk-node/issues/151)) ([9433265](https://github.com/browserbase/sdk-node/commit/9433265b54e3b560152be7642a5a314c82d8ad08))
* **api:** api update ([#153](https://github.com/browserbase/sdk-node/issues/153)) ([53c928c](https://github.com/browserbase/sdk-node/commit/53c928cbc008d2b8b33d405ecd853a46e960ffd5))
### Bug Fixes
* avoid type error in certain environments ([#154](https://github.com/browserbase/sdk-node/issues/154)) ([0288fa5](https://github.com/browserbase/sdk-node/commit/0288fa562ed1397cfba2cc7c77ae060e3e747382))
* **internal:** work around https://github.com/vercel/next.js/issues/76881 ([#155](https://github.com/browserbase/sdk-node/issues/155)) ([f2b25bc](https://github.com/browserbase/sdk-node/commit/f2b25bc31f4dd4d5a1978065478cca1dfd75526d))
### Chores
* **exports:** cleaner resource index imports ([#149](https://github.com/browserbase/sdk-node/issues/149)) ([ef04d35](https://github.com/browserbase/sdk-node/commit/ef04d358436d2883af62c88281dad0a379900512))
* **exports:** stop using path fallbacks ([#150](https://github.com/browserbase/sdk-node/issues/150)) ([32c5ee7](https://github.com/browserbase/sdk-node/commit/32c5ee7d6de48ac826b608e4e582e37fa92a5188))
* **internal:** version bump ([#147](https://github.com/browserbase/sdk-node/issues/147)) ([ea90300](https://github.com/browserbase/sdk-node/commit/ea9030070914ad0d790dd89a81a266cc54434161))
## 2.4.0 (2025-03-14)

@@ -4,0 +26,0 @@

@@ -23,2 +23,4 @@ "use strict";

const index_1 = require("./_shims/index.js");
// try running side effects outside of _shims/index to workaround https://github.com/vercel/next.js/issues/76881
(0, index_1.init)();
const uploads_1 = require("./uploads.js");

@@ -25,0 +27,0 @@ var uploads_2 = require("./uploads.js");

{
"name": "@browserbasehq/sdk",
"version": "2.4.0",
"version": "2.5.0",
"description": "The official Node.js library for the Browserbase API",

@@ -89,36 +89,15 @@ "author": "Browserbase <support@browserbase.com>",

"./*.mjs": {
"types": [
"./*.d.ts",
"./*/index.d.ts"
],
"default": [
"./*.mjs",
"./*/index.mjs"
]
"types": "./*.d.ts",
"default": "./*.mjs"
},
"./*.js": {
"types": [
"./*.d.ts",
"./*/index.d.ts"
],
"default": [
"./*.js",
"./*/index.js"
]
"types": "./*.d.ts",
"default": "./*.js"
},
"./*": {
"types": [
"./*.d.ts",
"./*/index.d.ts"
],
"require": [
"./*.js",
"./*/index.js"
],
"default": [
"./*.mjs",
"./*/index.mjs"
]
"types": "./*.d.ts",
"require": "./*.js",
"default": "./*.mjs"
}
}
}

@@ -19,2 +19,6 @@ import { APIResource } from "../resource.js";

id: string;
/**
* The maximum number of sessions that this project can run concurrently.
*/
concurrency: number;
createdAt: string;

@@ -21,0 +25,0 @@ defaultTimeout: number;

@@ -82,1 +82,3 @@ /**

export function isFsReadStream(value: any): value is FsReadStream;
export const init: () => void;

@@ -6,3 +6,5 @@ /**

const auto = require('@browserbasehq/sdk/_shims/auto/runtime');
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
exports.init = () => {
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
};
for (const property of Object.keys(shims)) {

@@ -15,1 +17,3 @@ Object.defineProperty(exports, property, {

}
exports.init();

@@ -19,3 +19,8 @@ import { VERSION } from './version';

type HeadersInit,
init,
} from './_shims/index';
// try running side effects outside of _shims/index to workaround https://github.com/vercel/next.js/issues/76881
init();
export { type Response };

@@ -399,3 +404,3 @@ import { BlobLike, isBlobLike, isMultipartBody } from './uploads';

Object.fromEntries(Array.from(headers as Iterable<string[]>).map((header) => [...header]))
: { ...headers }
: { ...(headers as any as Record<string, string>) }
);

@@ -402,0 +407,0 @@ }

@@ -32,2 +32,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

/**
* The maximum number of sessions that this project can run concurrently.
*/
concurrency: number;
createdAt: string;

@@ -34,0 +39,0 @@

@@ -1,1 +0,1 @@

export const VERSION = '2.4.0'; // x-release-please-version
export const VERSION = '2.5.0'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "2.4.0";
export declare const VERSION = "2.5.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '2.4.0'; // x-release-please-version
exports.VERSION = '2.5.0'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet