browser-use-sdk 2.0.1 → 2.0.2

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/README.md CHANGED
@@ -44,6 +44,8 @@ The BrowserUse TypeScript library provides convenient access to the BrowserUse A
44
44
 
45
45
  > The full API of this library can be found in [api.md](api.md).
46
46
 
47
+ ---
48
+
47
49
  ### Structured Output with Zod
48
50
 
49
51
  ```ts
@@ -49,8 +49,8 @@ class BrowserUseClient {
49
49
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "browser-use-sdk",
52
- "X-Fern-SDK-Version": "2.0.1",
53
- "User-Agent": "browser-use-sdk/2.0.1",
52
+ "X-Fern-SDK-Version": "2.0.2",
53
+ "User-Agent": "browser-use-sdk/2.0.2",
54
54
  "X-Fern-Runtime": core.RUNTIME.type,
55
55
  "X-Fern-Runtime-Version": core.RUNTIME.version,
56
56
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -2,6 +2,6 @@ export * as BrowserUse from "./api/index.js";
2
2
  export { BrowserUseEnvironment } from "./environments.js";
3
3
  export { BrowserUseError, BrowserUseTimeoutError } from "./errors/index.js";
4
4
  export { BrowserUseClient } from "./wrapper/BrowserUseClient.js";
5
- export type { WrappedTaskFnsWithoutSchema, WrappedTaskFnsWithSchema } from "./wrapper/lib/parse.js";
5
+ export type { WrappedTaskFnsWithoutSchema, WrappedTaskFnsWithSchema, PollConfig, TaskViewWithSchema, } from "./wrapper/lib/parse.js";
6
6
  export { createWebhookSignature, verifyWebhookEventSignature } from "./wrapper/lib/webhooks.js";
7
7
  export type { Webhook, WebhookAgentTaskStatusUpdatePayload, WebhookTestPayload } from "./wrapper/lib/webhooks.js";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.1";
1
+ export declare const SDK_VERSION = "2.0.2";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.0.1";
4
+ exports.SDK_VERSION = "2.0.2";
@@ -13,8 +13,8 @@ export class BrowserUseClient {
13
13
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
14
14
  "X-Fern-Language": "JavaScript",
15
15
  "X-Fern-SDK-Name": "browser-use-sdk",
16
- "X-Fern-SDK-Version": "2.0.1",
17
- "User-Agent": "browser-use-sdk/2.0.1",
16
+ "X-Fern-SDK-Version": "2.0.2",
17
+ "User-Agent": "browser-use-sdk/2.0.2",
18
18
  "X-Fern-Runtime": core.RUNTIME.type,
19
19
  "X-Fern-Runtime-Version": core.RUNTIME.version,
20
20
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -2,6 +2,6 @@ export * as BrowserUse from "./api/index.mjs";
2
2
  export { BrowserUseEnvironment } from "./environments.mjs";
3
3
  export { BrowserUseError, BrowserUseTimeoutError } from "./errors/index.mjs";
4
4
  export { BrowserUseClient } from "./wrapper/BrowserUseClient.mjs";
5
- export type { WrappedTaskFnsWithoutSchema, WrappedTaskFnsWithSchema } from "./wrapper/lib/parse.mjs";
5
+ export type { WrappedTaskFnsWithoutSchema, WrappedTaskFnsWithSchema, PollConfig, TaskViewWithSchema, } from "./wrapper/lib/parse.mjs";
6
6
  export { createWebhookSignature, verifyWebhookEventSignature } from "./wrapper/lib/webhooks.mjs";
7
7
  export type { Webhook, WebhookAgentTaskStatusUpdatePayload, WebhookTestPayload } from "./wrapper/lib/webhooks.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.1";
1
+ export declare const SDK_VERSION = "2.0.2";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.1";
1
+ export const SDK_VERSION = "2.0.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-use-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "private": false,
5
5
  "repository": "github:browser-use/browser-use-node",
6
6
  "type": "commonjs",