@openrouter/sdk 1.1.8 → 1.1.10
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/lib/config.d.ts
CHANGED
|
@@ -49,8 +49,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
49
49
|
export declare const SDK_METADATA: {
|
|
50
50
|
readonly language: "typescript";
|
|
51
51
|
readonly openapiDocVersion: "1.0.0";
|
|
52
|
-
readonly sdkVersion: "1.1.
|
|
52
|
+
readonly sdkVersion: "1.1.10";
|
|
53
53
|
readonly genVersion: "2.914.0";
|
|
54
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.1.
|
|
54
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.1.10 2.914.0 1.0.0 @openrouter/sdk";
|
|
55
55
|
};
|
|
56
56
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -26,8 +26,8 @@ export function serverURLFromOptions(options) {
|
|
|
26
26
|
export const SDK_METADATA = {
|
|
27
27
|
language: "typescript",
|
|
28
28
|
openapiDocVersion: "1.0.0",
|
|
29
|
-
sdkVersion: "1.1.
|
|
29
|
+
sdkVersion: "1.1.10",
|
|
30
30
|
genVersion: "2.914.0",
|
|
31
|
-
userAgent: "speakeasy-sdk/typescript 1.1.
|
|
31
|
+
userAgent: "speakeasy-sdk/typescript 1.1.10 2.914.0 1.0.0 @openrouter/sdk",
|
|
32
32
|
};
|
|
33
33
|
//# sourceMappingURL=config.js.map
|
|
@@ -4,8 +4,11 @@ export declare const Quantization: {
|
|
|
4
4
|
readonly Int4: "int4";
|
|
5
5
|
readonly Int8: "int8";
|
|
6
6
|
readonly Fp4: "fp4";
|
|
7
|
+
readonly Mxfp4: "mxfp4";
|
|
8
|
+
readonly Nvfp4: "nvfp4";
|
|
7
9
|
readonly Fp6: "fp6";
|
|
8
10
|
readonly Fp8: "fp8";
|
|
11
|
+
readonly Mxfp8: "mxfp8";
|
|
9
12
|
readonly Fp16: "fp16";
|
|
10
13
|
readonly Bf16: "bf16";
|
|
11
14
|
readonly Fp32: "fp32";
|
|
@@ -4,6 +4,7 @@ export declare const ReasoningFormat: {
|
|
|
4
4
|
readonly Unknown: "unknown";
|
|
5
5
|
readonly OpenaiResponsesV1: "openai-responses-v1";
|
|
6
6
|
readonly AzureOpenaiResponsesV1: "azure-openai-responses-v1";
|
|
7
|
+
readonly BedrockOpenaiResponsesV1: "bedrock-openai-responses-v1";
|
|
7
8
|
readonly XaiResponsesV1: "xai-responses-v1";
|
|
8
9
|
readonly MetaResponsesV1: "meta-responses-v1";
|
|
9
10
|
readonly AnthropicClaudeV1: "anthropic-claude-v1";
|
|
@@ -7,6 +7,7 @@ export const ReasoningFormat = {
|
|
|
7
7
|
Unknown: "unknown",
|
|
8
8
|
OpenaiResponsesV1: "openai-responses-v1",
|
|
9
9
|
AzureOpenaiResponsesV1: "azure-openai-responses-v1",
|
|
10
|
+
BedrockOpenaiResponsesV1: "bedrock-openai-responses-v1",
|
|
10
11
|
XaiResponsesV1: "xai-responses-v1",
|
|
11
12
|
MetaResponsesV1: "meta-responses-v1",
|
|
12
13
|
AnthropicClaudeV1: "anthropic-claude-v1",
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openrouter/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
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
|
+
"provenance": true,
|
|
25
|
+
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "./esm/index.js",
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"lint": "eslint --cache --max-warnings=0 src",
|
|
74
74
|
"build": "tsc",
|
|
75
75
|
"prepublishOnly": "npm run build",
|
|
76
|
+
"compile": "tsc",
|
|
76
77
|
"postinstall": "node scripts/check-types.js || true",
|
|
77
|
-
"
|
|
78
|
-
"test:e2e": "vitest --run --project e2e",
|
|
78
|
+
"test": "vitest --run --project unit",
|
|
79
79
|
"test:transit": "exit 0",
|
|
80
80
|
"test:watch": "vitest --watch --project unit",
|
|
81
|
-
"typecheck": "tsc --noEmit",
|
|
82
81
|
"typecheck:transit": "exit 0",
|
|
83
|
-
"
|
|
84
|
-
"test": "vitest --run --project
|
|
82
|
+
"prepare": "npm run build",
|
|
83
|
+
"test:e2e": "vitest --run --project e2e",
|
|
84
|
+
"typecheck": "tsc --noEmit"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {},
|
|
87
87
|
"devDependencies": {
|