@browserbasehq/sdk
Advanced tools
Comparing version
import BrowserbaseAISDK from './integrations/ai-sdk.js'; | ||
import { BrowserbaseCodeGenerator, type GeneratorOptions, type ActionsEvent } from './recorder/recorder'; | ||
export type ClientOptions = { | ||
@@ -113,2 +114,2 @@ apiKey?: string; | ||
} | ||
export { Browserbase, BrowserbaseAISDK }; | ||
export { Browserbase, BrowserbaseAISDK, BrowserbaseCodeGenerator, type GeneratorOptions, type ActionsEvent, }; |
@@ -6,6 +6,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BrowserbaseAISDK = exports.Browserbase = void 0; | ||
exports.BrowserbaseCodeGenerator = exports.BrowserbaseAISDK = exports.Browserbase = void 0; | ||
const puppeteer_core_1 = __importDefault(require("puppeteer-core")); | ||
const ai_sdk_js_1 = __importDefault(require("./integrations/ai-sdk.js")); | ||
exports.BrowserbaseAISDK = ai_sdk_js_1.default; | ||
const recorder_1 = require("./recorder/recorder"); | ||
Object.defineProperty(exports, "BrowserbaseCodeGenerator", { enumerable: true, get: function () { return recorder_1.BrowserbaseCodeGenerator; } }); | ||
class Browserbase { | ||
@@ -12,0 +14,0 @@ apiKey; |
{ | ||
"name": "@browserbasehq/sdk", | ||
"version": "1.4.2", | ||
"version": "1.4.3-next.0", | ||
"description": "Browserbase JS SDK", | ||
@@ -9,2 +9,3 @@ "main": "dist/index.js", | ||
"build": "tsc -p tsconfig.json", | ||
"build:browser": "tsc -p tsconfig.browser.json", | ||
"test": "tsx --test test/*" | ||
@@ -28,2 +29,3 @@ }, | ||
"dependencies": { | ||
"playwright-core": "^1.45.1", | ||
"puppeteer-core": "^22.10.0", | ||
@@ -33,3 +35,5 @@ "zod": "^3.22.5" | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"@changesets/cli": "^2.27.7", | ||
"@types/node": "^20.14.10", | ||
"browserify": "^17.0.0", | ||
"chai": "^5.1.0", | ||
@@ -36,0 +40,0 @@ "tsx": "^4.7.2", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
188194
949.31%43
514.29%5001
1230.05%3
50%6
50%1
Infinity%1
Infinity%10
11.11%+ Added
+ Added