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.
- package/dist/cjs/BaseClient.d.ts +2 -1
- package/dist/cjs/BaseClient.js +47 -0
- package/dist/cjs/Client.d.ts +22 -22
- package/dist/cjs/Client.js +10 -51
- package/dist/cjs/api/resources/billing/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/billing/client/Client.js +7 -6
- package/dist/cjs/api/resources/browsers/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/browsers/client/Client.js +10 -9
- package/dist/cjs/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.ts +4 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/files/client/Client.js +9 -8
- package/dist/cjs/api/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/index.js +0 -1
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/profiles/client/Client.js +11 -10
- package/dist/cjs/api/resources/sessions/client/Client.d.ts +20 -20
- package/dist/cjs/api/resources/sessions/client/Client.js +14 -13
- package/dist/cjs/api/resources/sessions/client/requests/CreateSessionRequest.d.ts +4 -0
- package/dist/cjs/api/resources/tasks/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/tasks/client/Client.js +11 -10
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +92 -35
- package/dist/cjs/api/resources/workflows/client/Client.js +241 -27
- package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.ts +0 -3
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/workflows/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/index.js +0 -1
- package/dist/cjs/api/types/SupportedLlMs.d.ts +2 -0
- package/dist/cjs/api/types/SupportedLlMs.js +2 -0
- package/dist/cjs/api/types/WorkflowExecutionMediaStepView.d.ts +13 -0
- package/dist/cjs/api/types/WorkflowExecutionMediaStepView.js +3 -0
- package/dist/cjs/api/types/WorkflowExecutionMediaView.d.ts +8 -0
- package/dist/cjs/api/types/WorkflowExecutionMediaView.js +3 -0
- package/dist/cjs/api/types/WorkflowExecutionStateView.d.ts +28 -0
- package/dist/cjs/api/types/WorkflowExecutionStateView.js +3 -0
- package/dist/cjs/api/types/WorkflowExecutionStepView.d.ts +29 -0
- package/dist/cjs/api/types/WorkflowExecutionStepView.js +3 -0
- package/dist/cjs/api/types/WorkflowGenerationStateView.d.ts +18 -0
- package/dist/cjs/api/types/WorkflowGenerationStateView.js +3 -0
- package/dist/cjs/api/types/WorkflowGenerationStepView.d.ts +19 -0
- package/dist/cjs/api/types/WorkflowGenerationStepView.js +3 -0
- package/dist/cjs/api/types/index.d.ts +6 -1
- package/dist/cjs/api/types/index.js +6 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/wrapper/api/BrowserUseTasks.d.ts +7 -7
- package/dist/cjs/wrapper/api/BrowserUseTasks.js +1 -1
- package/dist/cjs/wrapper/lib/webhooks.d.ts +2 -2
- package/dist/cjs/wrapper/lib/webhooks.js +3 -3
- package/dist/esm/BaseClient.d.mts +2 -1
- package/dist/esm/BaseClient.mjs +13 -1
- package/dist/esm/Client.d.mts +22 -22
- package/dist/esm/Client.mjs +17 -25
- package/dist/esm/api/resources/billing/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/billing/client/Client.mjs +5 -4
- package/dist/esm/api/resources/browsers/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/browsers/client/Client.mjs +8 -7
- package/dist/esm/api/resources/browsers/client/requests/CreateBrowserSessionRequest.d.mts +4 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/files/client/Client.mjs +7 -6
- package/dist/esm/api/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/index.mjs +0 -1
- package/dist/esm/api/resources/profiles/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/profiles/client/Client.mjs +9 -8
- package/dist/esm/api/resources/sessions/client/Client.d.mts +20 -20
- package/dist/esm/api/resources/sessions/client/Client.mjs +12 -11
- package/dist/esm/api/resources/sessions/client/requests/CreateSessionRequest.d.mts +4 -0
- package/dist/esm/api/resources/tasks/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/tasks/client/Client.mjs +9 -8
- package/dist/esm/api/resources/workflows/client/Client.d.mts +92 -35
- package/dist/esm/api/resources/workflows/client/Client.mjs +239 -25
- package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/workflows/client/requests/GetExecutionMediaWorkflowsExecutionsExecutionIdMediaGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/workflows/client/requests/GetExecutionStateWorkflowsExecutionsExecutionIdStateGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/workflows/client/requests/GetWorkflowGenerationStateWorkflowsWorkflowIdGenerationStateGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowExecuteRequest.d.mts +0 -3
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/workflows/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/index.mjs +0 -1
- package/dist/esm/api/types/SupportedLlMs.d.mts +2 -0
- package/dist/esm/api/types/SupportedLlMs.mjs +2 -0
- package/dist/esm/api/types/WorkflowExecutionMediaStepView.d.mts +13 -0
- package/dist/esm/api/types/WorkflowExecutionMediaStepView.mjs +2 -0
- package/dist/esm/api/types/WorkflowExecutionMediaView.d.mts +8 -0
- package/dist/esm/api/types/WorkflowExecutionMediaView.mjs +2 -0
- package/dist/esm/api/types/WorkflowExecutionStateView.d.mts +28 -0
- package/dist/esm/api/types/WorkflowExecutionStateView.mjs +2 -0
- package/dist/esm/api/types/WorkflowExecutionStepView.d.mts +29 -0
- package/dist/esm/api/types/WorkflowExecutionStepView.mjs +2 -0
- package/dist/esm/api/types/WorkflowGenerationStateView.d.mts +18 -0
- package/dist/esm/api/types/WorkflowGenerationStateView.mjs +2 -0
- package/dist/esm/api/types/WorkflowGenerationStepView.d.mts +19 -0
- package/dist/esm/api/types/WorkflowGenerationStepView.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +6 -1
- package/dist/esm/api/types/index.mjs +6 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/esm/wrapper/api/BrowserUseTasks.d.mts +7 -7
- package/dist/esm/wrapper/api/BrowserUseTasks.mjs +2 -2
- package/dist/esm/wrapper/lib/webhooks.d.mts +2 -2
- package/dist/esm/wrapper/lib/webhooks.mjs +3 -3
- package/package.json +82 -83
- package/reference.md +251 -44
|
@@ -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";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.9";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.0.
|
|
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 {
|
|
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
|
|
7
|
-
constructor(options:
|
|
8
|
-
createTask<T extends ZodType>(request: CreateTaskRequestWithSchema<T>, requestOptions?:
|
|
9
|
-
createTask(request: BrowserUse.CreateTaskRequest, requestOptions?:
|
|
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?:
|
|
14
|
-
getTask(request: BrowserUse.GetTaskTasksTaskIdGetRequest, requestOptions?:
|
|
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 {
|
|
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
|
|
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({
|
|
89
|
-
|
|
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
|
-
|
|
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({
|
|
84
|
-
const dump = stringify(
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
+
}
|