@openrouter/sdk 1.2.131 → 1.2.132
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/esm/funcs/vaultCopyVaultSecretsToIntern.d.ts +21 -0
- package/esm/funcs/vaultCopyVaultSecretsToIntern.js +108 -0
- package/esm/funcs/vaultDeleteInternVaultSecret.d.ts +20 -0
- package/esm/funcs/vaultDeleteInternVaultSecret.js +109 -0
- package/esm/funcs/vaultDeleteVaultSecret.d.ts +20 -0
- package/esm/funcs/vaultDeleteVaultSecret.js +105 -0
- package/esm/funcs/vaultListInternVaultSecrets.d.ts +21 -0
- package/esm/funcs/vaultListInternVaultSecrets.js +110 -0
- package/esm/funcs/vaultListVaultSecrets.d.ts +21 -0
- package/esm/funcs/vaultListVaultSecrets.js +104 -0
- package/esm/funcs/vaultStoreInternVaultSecret.d.ts +21 -0
- package/esm/funcs/vaultStoreInternVaultSecret.js +112 -0
- package/esm/funcs/vaultStoreVaultSecret.d.ts +21 -0
- package/esm/funcs/vaultStoreVaultSecret.js +108 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/index.d.ts +6 -0
- package/esm/models/index.js +6 -0
- package/esm/models/operations/copyvaultsecretstointern.d.ts +61 -0
- package/esm/models/operations/copyvaultsecretstointern.js +24 -0
- package/esm/models/operations/deleteinternvaultsecret.d.ts +63 -0
- package/esm/models/operations/deleteinternvaultsecret.js +22 -0
- package/esm/models/operations/deletevaultsecret.d.ts +58 -0
- package/esm/models/operations/deletevaultsecret.js +21 -0
- package/esm/models/operations/index.d.ts +7 -0
- package/esm/models/operations/index.js +7 -0
- package/esm/models/operations/listinternvaultsecrets.d.ts +68 -0
- package/esm/models/operations/listinternvaultsecrets.js +23 -0
- package/esm/models/operations/listvaultsecrets.d.ts +63 -0
- package/esm/models/operations/listvaultsecrets.js +22 -0
- package/esm/models/operations/storeinternvaultsecret.d.ts +66 -0
- package/esm/models/operations/storeinternvaultsecret.js +25 -0
- package/esm/models/operations/storevaultsecret.d.ts +61 -0
- package/esm/models/operations/storevaultsecret.js +24 -0
- package/esm/models/vaultsecret.d.ts +16 -0
- package/esm/models/vaultsecret.js +23 -0
- package/esm/models/vaultsecretcopyrequest.d.ts +18 -0
- package/esm/models/vaultsecretcopyrequest.js +13 -0
- package/esm/models/vaultsecretcopyresponse.d.ts +14 -0
- package/esm/models/vaultsecretcopyresponse.js +15 -0
- package/esm/models/vaultsecretlistresponse.d.ts +18 -0
- package/esm/models/vaultsecretlistresponse.js +21 -0
- package/esm/models/vaultsecretresponse.d.ts +17 -0
- package/esm/models/vaultsecretresponse.js +15 -0
- package/esm/models/vaultsecretwriterequest.d.ts +23 -0
- package/esm/models/vaultsecretwriterequest.js +14 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/vault.d.ts +55 -0
- package/esm/sdk/vault.js +79 -0
- package/jsr.json +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Secret value and the exact hostnames it may be released to.
|
|
4
|
+
*/
|
|
5
|
+
export type VaultSecretWriteRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Exact DNS hostnames the secret may be sent to, 1 to 100 entries. Each entry is lowercased and a trailing dot is removed, so `API.Example.com.` is stored as `api.example.com`. Schemes, ports, paths, wildcards and empty values are rejected. Duplicates after normalization are collapsed. Matching is exact: a secret bound to `api.example.com` is never released to `example.com` or any other hostname.
|
|
8
|
+
*/
|
|
9
|
+
hosts: Array<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Secret value, 1 to 65536 characters. It is encrypted at rest and never returned.
|
|
12
|
+
*/
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type VaultSecretWriteRequest$Outbound = {
|
|
17
|
+
hosts: Array<string>;
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const VaultSecretWriteRequest$outboundSchema: z.ZodType<VaultSecretWriteRequest$Outbound, VaultSecretWriteRequest>;
|
|
22
|
+
export declare function vaultSecretWriteRequestToJSON(vaultSecretWriteRequest: VaultSecretWriteRequest): string;
|
|
23
|
+
//# sourceMappingURL=vaultsecretwriterequest.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: fa3836b8b8e1
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const VaultSecretWriteRequest$outboundSchema = z.object({
|
|
8
|
+
hosts: z.array(z.string()),
|
|
9
|
+
value: z.string(),
|
|
10
|
+
});
|
|
11
|
+
export function vaultSecretWriteRequestToJSON(vaultSecretWriteRequest) {
|
|
12
|
+
return JSON.stringify(VaultSecretWriteRequest$outboundSchema.parse(vaultSecretWriteRequest));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=vaultsecretwriterequest.js.map
|
package/esm/sdk/sdk.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { Responses } from "./responses.js";
|
|
|
26
26
|
import { Scim } from "./scim.js";
|
|
27
27
|
import { STT } from "./stt.js";
|
|
28
28
|
import { TTS } from "./tts.js";
|
|
29
|
+
import { Vault } from "./vault.js";
|
|
29
30
|
import { VideoGeneration } from "./videogeneration.js";
|
|
30
31
|
import { Workspaces } from "./workspaces.js";
|
|
31
32
|
import type { $ZodObject, $ZodShape, infer as zodInfer } from "zod/v4/core";
|
|
@@ -89,6 +90,8 @@ export declare class OpenRouter extends ClientSDK {
|
|
|
89
90
|
get beta(): Beta;
|
|
90
91
|
private _scim?;
|
|
91
92
|
get scim(): Scim;
|
|
93
|
+
private _vault?;
|
|
94
|
+
get vault(): Vault;
|
|
92
95
|
private _videoGeneration?;
|
|
93
96
|
get videoGeneration(): VideoGeneration;
|
|
94
97
|
private _workspaces?;
|
package/esm/sdk/sdk.js
CHANGED
|
@@ -30,6 +30,7 @@ import { Responses } from "./responses.js";
|
|
|
30
30
|
import { Scim } from "./scim.js";
|
|
31
31
|
import { STT } from "./stt.js";
|
|
32
32
|
import { TTS } from "./tts.js";
|
|
33
|
+
import { Vault } from "./vault.js";
|
|
33
34
|
import { VideoGeneration } from "./videogeneration.js";
|
|
34
35
|
import { Workspaces } from "./workspaces.js";
|
|
35
36
|
import { callModel as callModelFunc, } from "../funcs/call-model.js";
|
|
@@ -118,6 +119,9 @@ export class OpenRouter extends ClientSDK {
|
|
|
118
119
|
get scim() {
|
|
119
120
|
return (this._scim ?? (this._scim = new Scim(this._options)));
|
|
120
121
|
}
|
|
122
|
+
get vault() {
|
|
123
|
+
return (this._vault ?? (this._vault = new Vault(this._options)));
|
|
124
|
+
}
|
|
121
125
|
get videoGeneration() {
|
|
122
126
|
return (this._videoGeneration ?? (this._videoGeneration = new VideoGeneration(this._options)));
|
|
123
127
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as models from "../models/index.js";
|
|
3
|
+
import * as operations from "../models/operations/index.js";
|
|
4
|
+
export declare class Vault extends ClientSDK {
|
|
5
|
+
/**
|
|
6
|
+
* List intern secrets
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* Lists secret metadata stored for one intern. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
10
|
+
*/
|
|
11
|
+
listInternVaultSecrets(request: operations.ListInternVaultSecretsRequest, options?: RequestOptions): Promise<models.VaultSecretListResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Delete an intern secret
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Deletes a secret stored for one intern. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
17
|
+
*/
|
|
18
|
+
deleteInternVaultSecret(request: operations.DeleteInternVaultSecretRequest, options?: RequestOptions): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Store an intern secret
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Creates or replaces a secret stored for one intern. The value is encrypted at rest and released only to the exact hostnames in `hosts`. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
24
|
+
*/
|
|
25
|
+
storeInternVaultSecret(request: operations.StoreInternVaultSecretRequest, options?: RequestOptions): Promise<models.VaultSecretResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Copy workspace secrets to an intern
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Copies the named workspace secrets into one intern's scope, replacing any intern secret with the same name. Each copy keeps the source value and host bindings. Every name must exist in the workspace scope or the request fails with 404 and nothing is copied. A workspace secret whose `hosts` is `null` cannot be copied: the request fails with 409 and nothing is copied until that secret is stored again with hosts. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
31
|
+
*/
|
|
32
|
+
copyVaultSecretsToIntern(request: operations.CopyVaultSecretsToInternRequest, options?: RequestOptions): Promise<models.VaultSecretCopyResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* List workspace secrets
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Lists secret metadata for the workspace of the authenticated API key. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
38
|
+
*/
|
|
39
|
+
listVaultSecrets(request?: operations.ListVaultSecretsRequest | undefined, options?: RequestOptions): Promise<models.VaultSecretListResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Delete a workspace secret
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Deletes a secret from the workspace of the authenticated API key. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
45
|
+
*/
|
|
46
|
+
deleteVaultSecret(request: operations.DeleteVaultSecretRequest, options?: RequestOptions): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Store a workspace secret
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Creates or replaces a secret in the workspace of the authenticated API key. The value is encrypted at rest and released only to the exact hostnames in `hosts`. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
52
|
+
*/
|
|
53
|
+
storeVaultSecret(request: operations.StoreVaultSecretRequest, options?: RequestOptions): Promise<models.VaultSecretResponse>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=vault.d.ts.map
|
package/esm/sdk/vault.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: adbb922fff4a
|
|
4
|
+
*/
|
|
5
|
+
import { vaultCopyVaultSecretsToIntern } from "../funcs/vaultCopyVaultSecretsToIntern.js";
|
|
6
|
+
import { vaultDeleteInternVaultSecret } from "../funcs/vaultDeleteInternVaultSecret.js";
|
|
7
|
+
import { vaultDeleteVaultSecret } from "../funcs/vaultDeleteVaultSecret.js";
|
|
8
|
+
import { vaultListInternVaultSecrets } from "../funcs/vaultListInternVaultSecrets.js";
|
|
9
|
+
import { vaultListVaultSecrets } from "../funcs/vaultListVaultSecrets.js";
|
|
10
|
+
import { vaultStoreInternVaultSecret } from "../funcs/vaultStoreInternVaultSecret.js";
|
|
11
|
+
import { vaultStoreVaultSecret } from "../funcs/vaultStoreVaultSecret.js";
|
|
12
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
13
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
14
|
+
export class Vault extends ClientSDK {
|
|
15
|
+
/**
|
|
16
|
+
* List intern secrets
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Lists secret metadata stored for one intern. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
20
|
+
*/
|
|
21
|
+
async listInternVaultSecrets(request, options) {
|
|
22
|
+
return unwrapAsync(vaultListInternVaultSecrets(this, request, options));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Delete an intern secret
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* Deletes a secret stored for one intern. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
29
|
+
*/
|
|
30
|
+
async deleteInternVaultSecret(request, options) {
|
|
31
|
+
return unwrapAsync(vaultDeleteInternVaultSecret(this, request, options));
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Store an intern secret
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Creates or replaces a secret stored for one intern. The value is encrypted at rest and released only to the exact hostnames in `hosts`. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
38
|
+
*/
|
|
39
|
+
async storeInternVaultSecret(request, options) {
|
|
40
|
+
return unwrapAsync(vaultStoreInternVaultSecret(this, request, options));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Copy workspace secrets to an intern
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* Copies the named workspace secrets into one intern's scope, replacing any intern secret with the same name. Each copy keeps the source value and host bindings. Every name must exist in the workspace scope or the request fails with 404 and nothing is copied. A workspace secret whose `hosts` is `null` cannot be copied: the request fails with 409 and nothing is copied until that secret is stored again with hosts. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
47
|
+
*/
|
|
48
|
+
async copyVaultSecretsToIntern(request, options) {
|
|
49
|
+
return unwrapAsync(vaultCopyVaultSecretsToIntern(this, request, options));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* List workspace secrets
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Lists secret metadata for the workspace of the authenticated API key. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
56
|
+
*/
|
|
57
|
+
async listVaultSecrets(request, options) {
|
|
58
|
+
return unwrapAsync(vaultListVaultSecrets(this, request, options));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Delete a workspace secret
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* Deletes a secret from the workspace of the authenticated API key. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
65
|
+
*/
|
|
66
|
+
async deleteVaultSecret(request, options) {
|
|
67
|
+
return unwrapAsync(vaultDeleteVaultSecret(this, request, options));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Store a workspace secret
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Creates or replaces a secret in the workspace of the authenticated API key. The value is encrypted at rest and released only to the exact hostnames in `hosts`. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key's active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.
|
|
74
|
+
*/
|
|
75
|
+
async storeVaultSecret(request, options) {
|
|
76
|
+
return unwrapAsync(vaultStoreVaultSecret(this, request, options));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=vault.js.map
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openrouter/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.132",
|
|
4
4
|
"author": "OpenRouter",
|
|
5
5
|
"description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.",
|
|
6
6
|
"keywords": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"packageManager": "pnpm@10.22.0",
|
|
23
23
|
"publishConfig": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"access": "public",
|
|
25
|
+
"provenance": true
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "./esm/index.js",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"build": "tsc",
|
|
75
75
|
"prepublishOnly": "npm run build",
|
|
76
76
|
"typecheck": "tsc --noEmit",
|
|
77
|
-
"compile": "tsc",
|
|
78
77
|
"test:e2e": "vitest --run --project e2e",
|
|
79
78
|
"test:transit": "exit 0",
|
|
80
79
|
"typecheck:transit": "exit 0",
|
|
80
|
+
"compile": "tsc",
|
|
81
81
|
"postinstall": "node scripts/check-types.js || true",
|
|
82
82
|
"prepare": "npm run build",
|
|
83
83
|
"test": "vitest --run --project unit",
|