@hyperbrowser/sdk 0.61.0 → 0.62.0

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.
@@ -1,4 +1,4 @@
1
- export type SessionEventLogType = "captcha_detected" | "captcha_solved" | "captcha_error";
1
+ export type SessionEventLogType = "captcha_detected" | "captcha_solved" | "captcha_error" | "file_downloaded";
2
2
  export type ScrapeFormat = "markdown" | "html" | "links" | "screenshot";
3
3
  export type ScrapeJobStatus = "pending" | "running" | "completed" | "failed";
4
4
  export type ExtractJobStatus = "pending" | "running" | "completed" | "failed";
@@ -114,8 +114,8 @@ export interface GetActiveSessionsCountResponse {
114
114
  export interface SessionEventLog {
115
115
  id: string;
116
116
  sessionId: string;
117
- targetId: string;
118
- pageUrl: string;
117
+ targetId: string | null;
118
+ pageUrl: string | null;
119
119
  teamId: string;
120
120
  type: SessionEventLogType;
121
121
  metadata: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbrowser/sdk",
3
- "version": "0.61.0",
3
+ "version": "0.62.0",
4
4
  "description": "Node SDK for Hyperbrowser API",
5
5
  "author": "",
6
6
  "main": "dist/index.js",