@openrouter/sdk 1.5.75 → 1.5.77

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.
@@ -50,8 +50,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
50
50
  export declare const SDK_METADATA: {
51
51
  readonly language: "typescript";
52
52
  readonly openapiDocVersion: "1.0.0";
53
- readonly sdkVersion: "1.5.75";
53
+ readonly sdkVersion: "1.5.77";
54
54
  readonly genVersion: "2.950.13";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.5.75 2.950.13 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.5.77 2.950.13 1.0.0 @openrouter/sdk";
56
56
  };
57
57
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -29,8 +29,8 @@ export function serverURLFromOptions(options) {
29
29
  export const SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "1.0.0",
32
- sdkVersion: "1.5.75",
32
+ sdkVersion: "1.5.77",
33
33
  genVersion: "2.950.13",
34
- userAgent: "speakeasy-sdk/typescript 1.5.75 2.950.13 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.5.77 2.950.13 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -9,10 +9,12 @@ import { TraceConfig, TraceConfig$Outbound } from "./traceconfig.js";
9
9
  export declare const ImageGenerationRequestAspectRatio: {
10
10
  readonly Eleven: "1:1";
11
11
  readonly Twelve: "1:2";
12
+ readonly Thirteen: "1:3";
12
13
  readonly Fourteen: "1:4";
13
14
  readonly Eighteen: "1:8";
14
15
  readonly TwentyOne: "2:1";
15
16
  readonly TwentyThree: "2:3";
17
+ readonly ThirtyOne: "3:1";
16
18
  readonly TwoDot351: "2.35:1";
17
19
  readonly ThirtyTwo: "3:2";
18
20
  readonly ThirtyFour: "3:4";
@@ -14,10 +14,12 @@ import { TraceConfig$outboundSchema, } from "./traceconfig.js";
14
14
  export const ImageGenerationRequestAspectRatio = {
15
15
  Eleven: "1:1",
16
16
  Twelve: "1:2",
17
+ Thirteen: "1:3",
17
18
  Fourteen: "1:4",
18
19
  Eighteen: "1:8",
19
20
  TwentyOne: "2:1",
20
21
  TwentyThree: "2:3",
22
+ ThirtyOne: "3:1",
21
23
  TwoDot351: "2.35:1",
22
24
  ThirtyTwo: "3:2",
23
25
  ThirtyFour: "3:4",
@@ -8,6 +8,7 @@ export declare const ReasoningFormat: {
8
8
  readonly BedrockXaiResponsesV1: "bedrock-xai-responses-v1";
9
9
  readonly XaiResponsesV1: "xai-responses-v1";
10
10
  readonly MetaResponsesV1: "meta-responses-v1";
11
+ readonly GoogleVertexResponsesV1: "google-vertex-responses-v1";
11
12
  readonly OpenrouterStealthV1: "openrouter-stealth-v1";
12
13
  readonly AnthropicClaudeV1: "anthropic-claude-v1";
13
14
  readonly GoogleGeminiV1: "google-gemini-v1";
@@ -11,6 +11,7 @@ export const ReasoningFormat = {
11
11
  BedrockXaiResponsesV1: "bedrock-xai-responses-v1",
12
12
  XaiResponsesV1: "xai-responses-v1",
13
13
  MetaResponsesV1: "meta-responses-v1",
14
+ GoogleVertexResponsesV1: "google-vertex-responses-v1",
14
15
  OpenrouterStealthV1: "openrouter-stealth-v1",
15
16
  AnthropicClaudeV1: "anthropic-claude-v1",
16
17
  GoogleGeminiV1: "google-gemini-v1",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.5.75",
5
+ "version": "1.5.77",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openrouter/sdk",
3
- "version": "1.5.75",
3
+ "version": "1.5.77",
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": [
@@ -73,15 +73,15 @@
73
73
  "lint": "eslint --cache --max-warnings=0 src",
74
74
  "build": "tsc && node scripts/unbarrel-imports.js",
75
75
  "prepublishOnly": "npm run build",
76
- "typecheck:transit": "exit 0",
77
- "compile": "tsc && node scripts/unbarrel-imports.js",
78
76
  "prepare": "npm run build",
79
77
  "test": "vitest --run --project unit",
78
+ "test:watch": "vitest --watch --project unit",
79
+ "compile": "tsc && node scripts/unbarrel-imports.js",
80
80
  "test:e2e": "vitest --run --project e2e",
81
81
  "test:transit": "exit 0",
82
82
  "typecheck": "tsc --noEmit",
83
- "postinstall": "node scripts/check-types.js || true",
84
- "test:watch": "vitest --watch --project unit"
83
+ "typecheck:transit": "exit 0",
84
+ "postinstall": "node scripts/check-types.js || true"
85
85
  },
86
86
  "peerDependencies": {
87
87