@openrouter/sdk 1.3.30 → 1.3.31

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.3.30";
53
+ readonly sdkVersion: "1.3.31";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.3.30 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.3.31 2.914.0 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.3.30",
32
+ sdkVersion: "1.3.31",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.3.30 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.3.31 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -21,6 +21,8 @@ export declare const ImageGenerationRequestAspectRatio: {
21
21
  readonly FortyFive: "4:5";
22
22
  readonly FiftyTwo: "5:2";
23
23
  readonly FiftyFour: "5:4";
24
+ readonly FiftySeven: "5:7";
25
+ readonly SeventyFive: "7:5";
24
26
  readonly EightyOne: "8:1";
25
27
  readonly NineHundredAndSixteen: "9:16";
26
28
  readonly OneHundredAndSixtyNine: "16:9";
@@ -81,6 +83,7 @@ export type ImageGenerationRequestQuality = OpenEnum<typeof ImageGenerationReque
81
83
  */
82
84
  export declare const ImageGenerationRequestResolution: {
83
85
  readonly FiveHundredAndTwelve: "512";
86
+ readonly SevenHundredAndSixtyEight: "768";
84
87
  readonly OneK: "1K";
85
88
  readonly TwoK: "2K";
86
89
  readonly FourK: "4K";
@@ -26,6 +26,8 @@ export const ImageGenerationRequestAspectRatio = {
26
26
  FortyFive: "4:5",
27
27
  FiftyTwo: "5:2",
28
28
  FiftyFour: "5:4",
29
+ FiftySeven: "5:7",
30
+ SeventyFive: "7:5",
29
31
  EightyOne: "8:1",
30
32
  NineHundredAndSixteen: "9:16",
31
33
  OneHundredAndSixtyNine: "16:9",
@@ -70,6 +72,7 @@ export const ImageGenerationRequestQuality = {
70
72
  */
71
73
  export const ImageGenerationRequestResolution = {
72
74
  FiveHundredAndTwelve: "512",
75
+ SevenHundredAndSixtyEight: "768",
73
76
  OneK: "1K",
74
77
  TwoK: "2K",
75
78
  FourK: "4K",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.3.30",
5
+ "version": "1.3.31",
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.3.30",
3
+ "version": "1.3.31",
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
76
  "compile": "tsc && node scripts/unbarrel-imports.js",
78
- "postinstall": "node scripts/check-types.js || true",
79
- "test:e2e": "vitest --run --project e2e",
77
+ "test": "vitest --run --project unit",
80
78
  "test:transit": "exit 0",
81
79
  "test:watch": "vitest --watch --project unit",
82
80
  "typecheck": "tsc --noEmit",
81
+ "postinstall": "node scripts/check-types.js || true",
83
82
  "prepare": "npm run build",
84
- "test": "vitest --run --project unit"
83
+ "test:e2e": "vitest --run --project e2e",
84
+ "typecheck:transit": "exit 0"
85
85
  },
86
86
  "peerDependencies": {
87
87