browser-use-sdk 2.0.7 → 2.0.9

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.
Files changed (110) hide show
  1. package/dist/cjs/BaseClient.d.ts +2 -1
  2. package/dist/cjs/BaseClient.js +47 -0
  3. package/dist/cjs/Client.d.ts +22 -22
  4. package/dist/cjs/Client.js +10 -51
  5. package/dist/cjs/api/resources/billing/client/Client.d.ts +6 -6
  6. package/dist/cjs/api/resources/billing/client/Client.js +7 -6
  7. package/dist/cjs/api/resources/browsers/client/Client.d.ts +12 -12
  8. package/dist/cjs/api/resources/browsers/client/Client.js +10 -9
  9. package/dist/cjs/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.ts +4 -0
  10. package/dist/cjs/api/resources/files/client/Client.d.ts +10 -10
  11. package/dist/cjs/api/resources/files/client/Client.js +9 -8
  12. package/dist/cjs/api/resources/index.d.ts +0 -1
  13. package/dist/cjs/api/resources/index.js +0 -1
  14. package/dist/cjs/api/resources/profiles/client/Client.d.ts +14 -14
  15. package/dist/cjs/api/resources/profiles/client/Client.js +11 -10
  16. package/dist/cjs/api/resources/sessions/client/Client.d.ts +20 -20
  17. package/dist/cjs/api/resources/sessions/client/Client.js +14 -13
  18. package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +4 -0
  19. package/dist/cjs/api/resources/tasks/client/Client.d.ts +14 -14
  20. package/dist/cjs/api/resources/tasks/client/Client.js +11 -10
  21. package/dist/cjs/api/resources/workflows/client/Client.d.ts +92 -35
  22. package/dist/cjs/api/resources/workflows/client/Client.js +241 -27
  23. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.ts +9 -0
  24. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.js +3 -0
  25. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.ts +9 -0
  26. package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.js +3 -0
  27. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.ts +9 -0
  28. package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.js +3 -0
  29. package/dist/cjs/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.ts +0 -3
  30. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +3 -0
  31. package/dist/cjs/api/resources/workflows/index.d.ts +0 -1
  32. package/dist/cjs/api/resources/workflows/index.js +0 -1
  33. package/dist/cjs/api/types/SupportedLlMs.d.ts +2 -0
  34. package/dist/cjs/api/types/SupportedLlMs.js +2 -0
  35. package/dist/cjs/api/types/WorkflowExecutionMediaStepView.d.ts +13 -0
  36. package/dist/cjs/api/types/WorkflowExecutionMediaStepView.js +3 -0
  37. package/dist/cjs/api/types/WorkflowExecutionMediaView.d.ts +8 -0
  38. package/dist/cjs/api/types/WorkflowExecutionMediaView.js +3 -0
  39. package/dist/cjs/api/types/WorkflowExecutionStateView.d.ts +28 -0
  40. package/dist/cjs/api/types/WorkflowExecutionStateView.js +3 -0
  41. package/dist/cjs/api/types/WorkflowExecutionStepView.d.ts +29 -0
  42. package/dist/cjs/api/types/WorkflowExecutionStepView.js +3 -0
  43. package/dist/cjs/api/types/WorkflowGenerationStateView.d.ts +18 -0
  44. package/dist/cjs/api/types/WorkflowGenerationStateView.js +3 -0
  45. package/dist/cjs/api/types/WorkflowGenerationStepView.d.ts +19 -0
  46. package/dist/cjs/api/types/WorkflowGenerationStepView.js +3 -0
  47. package/dist/cjs/api/types/index.d.ts +6 -1
  48. package/dist/cjs/api/types/index.js +6 -1
  49. package/dist/cjs/version.d.ts +1 -1
  50. package/dist/cjs/version.js +1 -1
  51. package/dist/cjs/wrapper/api/BrowserUseTasks.d.ts +7 -7
  52. package/dist/cjs/wrapper/api/BrowserUseTasks.js +1 -1
  53. package/dist/cjs/wrapper/lib/webhooks.d.ts +2 -2
  54. package/dist/cjs/wrapper/lib/webhooks.js +3 -3
  55. package/dist/esm/BaseClient.d.mts +2 -1
  56. package/dist/esm/BaseClient.mjs +13 -1
  57. package/dist/esm/Client.d.mts +22 -22
  58. package/dist/esm/Client.mjs +17 -25
  59. package/dist/esm/api/resources/billing/client/Client.d.mts +6 -6
  60. package/dist/esm/api/resources/billing/client/Client.mjs +5 -4
  61. package/dist/esm/api/resources/browsers/client/Client.d.mts +12 -12
  62. package/dist/esm/api/resources/browsers/client/Client.mjs +8 -7
  63. package/dist/esm/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.mts +4 -0
  64. package/dist/esm/api/resources/files/client/Client.d.mts +10 -10
  65. package/dist/esm/api/resources/files/client/Client.mjs +7 -6
  66. package/dist/esm/api/resources/index.d.mts +0 -1
  67. package/dist/esm/api/resources/index.mjs +0 -1
  68. package/dist/esm/api/resources/profiles/client/Client.d.mts +14 -14
  69. package/dist/esm/api/resources/profiles/client/Client.mjs +9 -8
  70. package/dist/esm/api/resources/sessions/client/Client.d.mts +20 -20
  71. package/dist/esm/api/resources/sessions/client/Client.mjs +12 -11
  72. package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +4 -0
  73. package/dist/esm/api/resources/tasks/client/Client.d.mts +14 -14
  74. package/dist/esm/api/resources/tasks/client/Client.mjs +9 -8
  75. package/dist/esm/api/resources/workflows/client/Client.d.mts +92 -35
  76. package/dist/esm/api/resources/workflows/client/Client.mjs +239 -25
  77. package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.mts +9 -0
  78. package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.mjs +2 -0
  79. package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.mts +9 -0
  80. package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.mjs +2 -0
  81. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.mts +9 -0
  82. package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.mjs +2 -0
  83. package/dist/esm/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.mts +0 -3
  84. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +3 -0
  85. package/dist/esm/api/resources/workflows/index.d.mts +0 -1
  86. package/dist/esm/api/resources/workflows/index.mjs +0 -1
  87. package/dist/esm/api/types/SupportedLlMs.d.mts +2 -0
  88. package/dist/esm/api/types/SupportedLlMs.mjs +2 -0
  89. package/dist/esm/api/types/WorkflowExecutionMediaStepView.d.mts +13 -0
  90. package/dist/esm/api/types/WorkflowExecutionMediaStepView.mjs +2 -0
  91. package/dist/esm/api/types/WorkflowExecutionMediaView.d.mts +8 -0
  92. package/dist/esm/api/types/WorkflowExecutionMediaView.mjs +2 -0
  93. package/dist/esm/api/types/WorkflowExecutionStateView.d.mts +28 -0
  94. package/dist/esm/api/types/WorkflowExecutionStateView.mjs +2 -0
  95. package/dist/esm/api/types/WorkflowExecutionStepView.d.mts +29 -0
  96. package/dist/esm/api/types/WorkflowExecutionStepView.mjs +2 -0
  97. package/dist/esm/api/types/WorkflowGenerationStateView.d.mts +18 -0
  98. package/dist/esm/api/types/WorkflowGenerationStateView.mjs +2 -0
  99. package/dist/esm/api/types/WorkflowGenerationStepView.d.mts +19 -0
  100. package/dist/esm/api/types/WorkflowGenerationStepView.mjs +2 -0
  101. package/dist/esm/api/types/index.d.mts +6 -1
  102. package/dist/esm/api/types/index.mjs +6 -1
  103. package/dist/esm/version.d.mts +1 -1
  104. package/dist/esm/version.mjs +1 -1
  105. package/dist/esm/wrapper/api/BrowserUseTasks.d.mts +7 -7
  106. package/dist/esm/wrapper/api/BrowserUseTasks.mjs +2 -2
  107. package/dist/esm/wrapper/lib/webhooks.d.mts +2 -2
  108. package/dist/esm/wrapper/lib/webhooks.mjs +3 -3
  109. package/package.json +82 -83
  110. package/reference.md +251 -44
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -7,7 +7,6 @@ export * from "./BrowserSessionStatus.mjs";
7
7
  export * from "./BrowserSessionUpdateAction.mjs";
8
8
  export * from "./BrowserSessionView.mjs";
9
9
  export * from "./DownloadUrlGenerationError.mjs";
10
- export * from "./ExecutionMode.mjs";
11
10
  export * from "./FileView.mjs";
12
11
  export * from "./HttpValidationError.mjs";
13
12
  export * from "./InsufficientCreditsError.mjs";
@@ -50,10 +49,16 @@ export * from "./WorkflowExecutionCreatedResponse.mjs";
50
49
  export * from "./WorkflowExecutionItemView.mjs";
51
50
  export * from "./WorkflowExecutionListResponse.mjs";
52
51
  export * from "./WorkflowExecutionLogResponse.mjs";
52
+ export * from "./WorkflowExecutionMediaStepView.mjs";
53
+ export * from "./WorkflowExecutionMediaView.mjs";
53
54
  export * from "./WorkflowExecutionResponse.mjs";
55
+ export * from "./WorkflowExecutionStateView.mjs";
54
56
  export * from "./WorkflowExecutionStatus.mjs";
57
+ export * from "./WorkflowExecutionStepView.mjs";
55
58
  export * from "./WorkflowGenerateResponse.mjs";
59
+ export * from "./WorkflowGenerationStateView.mjs";
56
60
  export * from "./WorkflowGenerationStatus.mjs";
61
+ export * from "./WorkflowGenerationStepView.mjs";
57
62
  export * from "./WorkflowItemView.mjs";
58
63
  export * from "./WorkflowListResponse.mjs";
59
64
  export * from "./WorkflowResponse.mjs";
@@ -7,7 +7,6 @@ export * from "./BrowserSessionStatus.mjs";
7
7
  export * from "./BrowserSessionUpdateAction.mjs";
8
8
  export * from "./BrowserSessionView.mjs";
9
9
  export * from "./DownloadUrlGenerationError.mjs";
10
- export * from "./ExecutionMode.mjs";
11
10
  export * from "./FileView.mjs";
12
11
  export * from "./HttpValidationError.mjs";
13
12
  export * from "./InsufficientCreditsError.mjs";
@@ -50,10 +49,16 @@ export * from "./WorkflowExecutionCreatedResponse.mjs";
50
49
  export * from "./WorkflowExecutionItemView.mjs";
51
50
  export * from "./WorkflowExecutionListResponse.mjs";
52
51
  export * from "./WorkflowExecutionLogResponse.mjs";
52
+ export * from "./WorkflowExecutionMediaStepView.mjs";
53
+ export * from "./WorkflowExecutionMediaView.mjs";
53
54
  export * from "./WorkflowExecutionResponse.mjs";
55
+ export * from "./WorkflowExecutionStateView.mjs";
54
56
  export * from "./WorkflowExecutionStatus.mjs";
57
+ export * from "./WorkflowExecutionStepView.mjs";
55
58
  export * from "./WorkflowGenerateResponse.mjs";
59
+ export * from "./WorkflowGenerationStateView.mjs";
56
60
  export * from "./WorkflowGenerationStatus.mjs";
61
+ export * from "./WorkflowGenerationStepView.mjs";
57
62
  export * from "./WorkflowItemView.mjs";
58
63
  export * from "./WorkflowListResponse.mjs";
59
64
  export * from "./WorkflowResponse.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.7";
1
+ export declare const SDK_VERSION = "2.0.9";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.7";
1
+ export const SDK_VERSION = "2.0.9";
@@ -1,15 +1,15 @@
1
1
  import type { ZodType } from "zod";
2
2
  import * as BrowserUse from "../../api/index.mjs";
3
3
  import * as core from "../../core/index.mjs";
4
- import { Tasks } from "../../api/resources/tasks/client/Client.mjs";
4
+ import { TasksClient } from "../../api/resources/tasks/client/Client.mjs";
5
5
  import { type CreateTaskRequestWithSchema, type WrappedTaskFnsWithSchema, type WrappedTaskFnsWithoutSchema, type TaskViewWithSchema } from "../lib/parse.mjs";
6
- export declare class BrowserUseTasks extends Tasks {
7
- constructor(options: Tasks.Options);
8
- createTask<T extends ZodType>(request: CreateTaskRequestWithSchema<T>, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<WrappedTaskFnsWithSchema<T>>;
9
- createTask(request: BrowserUse.CreateTaskRequest, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<WrappedTaskFnsWithoutSchema>;
6
+ export declare class BrowserUseTasks extends TasksClient {
7
+ constructor(options: TasksClient.Options);
8
+ createTask<T extends ZodType>(request: CreateTaskRequestWithSchema<T>, requestOptions?: TasksClient.RequestOptions): core.HttpResponsePromise<WrappedTaskFnsWithSchema<T>>;
9
+ createTask(request: BrowserUse.CreateTaskRequest, requestOptions?: TasksClient.RequestOptions): core.HttpResponsePromise<WrappedTaskFnsWithoutSchema>;
10
10
  getTask<T extends ZodType>(request: {
11
11
  task_id: string;
12
12
  schema: T;
13
- }, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<TaskViewWithSchema<T>>;
14
- getTask(request: BrowserUse.GetTaskTasksTaskIdGetRequest, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<BrowserUse.TaskView>;
13
+ }, requestOptions?: TasksClient.RequestOptions): core.HttpResponsePromise<TaskViewWithSchema<T>>;
14
+ getTask(request: BrowserUse.GetTaskTasksTaskIdGetRequest, requestOptions?: TasksClient.RequestOptions): core.HttpResponsePromise<BrowserUse.TaskView>;
15
15
  }
@@ -1,8 +1,8 @@
1
1
  import * as BrowserUse from "../../api/index.mjs";
2
2
  import * as core from "../../core/index.mjs";
3
- import { Tasks } from "../../api/resources/tasks/client/Client.mjs";
3
+ import { TasksClient } from "../../api/resources/tasks/client/Client.mjs";
4
4
  import { stringifyStructuredOutput, wrapCreateTaskResponse, parseStructuredTaskOutput, } from "../lib/parse.mjs";
5
- export class BrowserUseTasks extends Tasks {
5
+ export class BrowserUseTasks extends TasksClient {
6
6
  constructor(options) {
7
7
  super(options);
8
8
  }
@@ -85,8 +85,8 @@ export declare function verifyWebhookEventSignature(evt: {
85
85
  /**
86
86
  * Creates a webhook signature for the given payload, timestamp, and secret.
87
87
  */
88
- export declare function createWebhookSignature({ payload, timestamp, secret, }: {
89
- payload: unknown;
88
+ export declare function createWebhookSignature({ body, timestamp, secret, }: {
89
+ body: unknown;
90
90
  timestamp: string;
91
91
  secret: string;
92
92
  }): string;
@@ -61,7 +61,7 @@ export function verifyWebhookEventSignature(evt, cfg) {
61
61
  return { ok: false };
62
62
  }
63
63
  const signature = createWebhookSignature({
64
- payload: event.data.payload,
64
+ body: event.data, // NOTE: We need to encrypt the entire body, not just the payload
65
65
  timestamp: evt.timestamp,
66
66
  secret: cfg.secret,
67
67
  });
@@ -80,8 +80,8 @@ export function verifyWebhookEventSignature(evt, cfg) {
80
80
  /**
81
81
  * Creates a webhook signature for the given payload, timestamp, and secret.
82
82
  */
83
- export function createWebhookSignature({ payload, timestamp, secret, }) {
84
- const dump = stringify(payload);
83
+ export function createWebhookSignature({ body, timestamp, secret, }) {
84
+ const dump = stringify(body);
85
85
  const message = `${timestamp}.${dump}`;
86
86
  const hmac = createHmac("sha256", secret);
87
87
  hmac.update(message);
package/package.json CHANGED
@@ -1,85 +1,84 @@
1
1
  {
2
- "name": "browser-use-sdk",
3
- "version": "2.0.7",
4
- "private": false,
5
- "repository": "github:browser-use/browser-use-node",
6
- "type": "commonjs",
7
- "main": "./dist/cjs/index.js",
8
- "module": "./dist/esm/index.mjs",
9
- "types": "./dist/cjs/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "types": "./dist/cjs/index.d.ts",
13
- "import": {
14
- "types": "./dist/esm/index.d.mts",
15
- "default": "./dist/esm/index.mjs"
16
- },
17
- "require": {
18
- "types": "./dist/cjs/index.d.ts",
19
- "default": "./dist/cjs/index.js"
20
- },
21
- "default": "./dist/cjs/index.js"
22
- },
23
- "./package.json": "./package.json"
2
+ "name": "browser-use-sdk",
3
+ "version": "2.0.9",
4
+ "private": false,
5
+ "repository": "github:browser-use/browser-use-node",
6
+ "type": "commonjs",
7
+ "main": "./dist/cjs/index.js",
8
+ "module": "./dist/esm/index.mjs",
9
+ "types": "./dist/cjs/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/cjs/index.d.ts",
13
+ "import": {
14
+ "types": "./dist/esm/index.d.mts",
15
+ "default": "./dist/esm/index.mjs"
16
+ },
17
+ "require": {
18
+ "types": "./dist/cjs/index.d.ts",
19
+ "default": "./dist/cjs/index.js"
20
+ },
21
+ "default": "./dist/cjs/index.js"
24
22
  },
25
- "files": [
26
- "dist",
27
- "reference.md",
28
- "README.md",
29
- "LICENSE"
30
- ],
31
- "scripts": {
32
- "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
33
- "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
34
- "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
35
- "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
36
- "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
37
- "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
38
- "build": "pnpm build:cjs && pnpm build:esm",
39
- "build:cjs": "tsc --project ./tsconfig.cjs.json",
40
- "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
41
- "test": "vitest",
42
- "test:unit": "vitest --project unit",
43
- "test:wire": "vitest --project wire",
44
- "tsn": "ts-node -r tsconfig-paths/register"
45
- },
46
- "dependencies": {
47
- "fast-json-stable-stringify": "^2.1.0"
48
- },
49
- "peerDependencies": {
50
- "react": "^18 || ^19",
51
- "zod": "^4"
52
- },
53
- "devDependencies": {
54
- "webpack": "^5.97.1",
55
- "ts-loader": "^9.5.1",
56
- "vitest": "^3.2.4",
57
- "msw": "2.11.2",
58
- "@types/node": "^18.19.70",
59
- "typescript": "~5.7.2",
60
- "@biomejs/biome": "2.3.1",
61
- "@dotenvx/dotenvx": "^1.49.0",
62
- "react": "^19.1.1",
63
- "react-dom": "^19.1.1",
64
- "tsconfig-paths": "^4.2.0",
65
- "ts-node": "^10.5.0",
66
- "zod": "^4"
67
- },
68
- "browser": {
69
- "fs": false,
70
- "os": false,
71
- "path": false,
72
- "stream": false
73
- },
74
- "packageManager": "pnpm@10.20.0",
75
- "engines": {
76
- "node": ">=18.0.0"
77
- },
78
- "sideEffects": false,
79
- "description": "The official TypeScript library for the Browser Use API",
80
- "author": {
81
- "name": "Browser Use",
82
- "url": "https://browser-use.com",
83
- "email": "support@browser-use.com"
84
- }
85
- }
23
+ "./package.json": "./package.json"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "reference.md",
28
+ "README.md",
29
+ "LICENSE"
30
+ ],
31
+ "dependencies": {
32
+ "fast-json-stable-stringify": "^2.1.0",
33
+ "zod": "^4"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^18 || ^19",
37
+ "zod": "^4"
38
+ },
39
+ "devDependencies": {
40
+ "webpack": "^5.97.1",
41
+ "ts-loader": "^9.5.1",
42
+ "vitest": "^3.2.4",
43
+ "msw": "2.11.2",
44
+ "@types/node": "^18.19.70",
45
+ "typescript": "~5.7.2",
46
+ "@biomejs/biome": "2.3.1",
47
+ "@dotenvx/dotenvx": "^1.49.0",
48
+ "react": "^19.1.1",
49
+ "react-dom": "^19.1.1",
50
+ "tsconfig-paths": "^4.2.0",
51
+ "ts-node": "^10.5.0"
52
+ },
53
+ "browser": {
54
+ "fs": false,
55
+ "os": false,
56
+ "path": false,
57
+ "stream": false
58
+ },
59
+ "engines": {
60
+ "node": ">=18.0.0"
61
+ },
62
+ "sideEffects": false,
63
+ "description": "The official TypeScript library for the Browser Use API",
64
+ "author": {
65
+ "name": "Browser Use",
66
+ "url": "https://browser-use.com",
67
+ "email": "support@browser-use.com"
68
+ },
69
+ "scripts": {
70
+ "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
71
+ "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
72
+ "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
73
+ "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
74
+ "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
75
+ "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
76
+ "build": "pnpm build:cjs && pnpm build:esm",
77
+ "build:cjs": "tsc --project ./tsconfig.cjs.json",
78
+ "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
79
+ "test": "vitest",
80
+ "test:unit": "vitest --project unit",
81
+ "test:wire": "vitest --project wire",
82
+ "tsn": "ts-node -r tsconfig-paths/register"
83
+ }
84
+ }