@browserbasehq/stagehand 2.4.1 → 2.4.2-alpha-6b4e6e3f31d5496cf15728e9018eddeb04839542
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -673,7 +673,7 @@ ${goal}
|
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
// lib/version.ts
|
|
676
|
-
var STAGEHAND_VERSION = "2.4.
|
|
676
|
+
var STAGEHAND_VERSION = "2.4.2-alpha-6b4e6e3f31d5496cf15728e9018eddeb04839542";
|
|
677
677
|
|
|
678
678
|
// types/stagehandErrors.ts
|
|
679
679
|
var StagehandError = class extends Error {
|
|
@@ -2351,7 +2351,7 @@ function loadApiKeyFromEnv(provider, logger) {
|
|
|
2351
2351
|
return void 0;
|
|
2352
2352
|
}
|
|
2353
2353
|
function trimTrailingTextNode(path4) {
|
|
2354
|
-
return path4.replace(/\/text\(\)(\[\d+\])?$/iu, "");
|
|
2354
|
+
return path4 == null ? void 0 : path4.replace(/\/text\(\)(\[\d+\])?$/iu, "");
|
|
2355
2355
|
}
|
|
2356
2356
|
|
|
2357
2357
|
// lib/a11y/utils.ts
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -46,4 +46,4 @@ export declare const providerEnvVarMap: Partial<Record<ModelProvider | string, s
|
|
|
46
46
|
* @returns The API key if found, undefined otherwise
|
|
47
47
|
*/
|
|
48
48
|
export declare function loadApiKeyFromEnv(provider: string | undefined, logger: (logLine: LogLine) => void): string | undefined;
|
|
49
|
-
export declare function trimTrailingTextNode(path: string): string;
|
|
49
|
+
export declare function trimTrailingTextNode(path: string | undefined): string | undefined;
|
package/dist/lib/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@browserbasehq/stagehand",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2-alpha-6b4e6e3f31d5496cf15728e9018eddeb04839542",
|
|
4
4
|
"description": "An AI web browsing framework focused on simplicity and extensibility.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|