@openrouter/sdk 1.1.21 → 1.1.22

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.
@@ -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.21";
52
+ readonly sdkVersion: "1.1.22";
53
53
  readonly genVersion: "2.914.0";
54
- readonly userAgent: "speakeasy-sdk/typescript 1.1.21 2.914.0 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 1.1.22 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.21",
29
+ sdkVersion: "1.1.22",
30
30
  genVersion: "2.914.0",
31
- userAgent: "speakeasy-sdk/typescript 1.1.21 2.914.0 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 1.1.22 2.914.0 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -52,17 +52,26 @@ export declare const SupportedSize: {
52
52
  readonly OneThousandOneHundredAndTwentyx480: "1120x480";
53
53
  readonly OneThousandTwoHundredAndEightyx720: "1280x720";
54
54
  readonly OneThousandFourHundredAndFortyx1080: "1440x1080";
55
+ readonly OneThousandFourHundredAndFortyx1440: "1440x1440";
56
+ readonly OneThousandFourHundredAndFortyx1920: "1440x1920";
57
+ readonly OneThousandFourHundredAndFortyx2160: "1440x2160";
58
+ readonly OneThousandFourHundredAndFortyx2560: "1440x2560";
59
+ readonly OneThousandFourHundredAndFortyx3360: "1440x3360";
55
60
  readonly OneThousandSixHundredAndTwentyx1080: "1620x1080";
56
61
  readonly OneThousandSixHundredAndEightyx720: "1680x720";
57
62
  readonly OneThousandNineHundredAndTwentyx1080: "1920x1080";
63
+ readonly OneThousandNineHundredAndTwentyx1440: "1920x1440";
64
+ readonly TwoThousandOneHundredAndSixtyx1440: "2160x1440";
58
65
  readonly TwoThousandOneHundredAndSixtyx2160: "2160x2160";
59
66
  readonly TwoThousandOneHundredAndSixtyx2880: "2160x2880";
60
67
  readonly TwoThousandOneHundredAndSixtyx3240: "2160x3240";
61
68
  readonly TwoThousandOneHundredAndSixtyx3840: "2160x3840";
62
69
  readonly TwoThousandOneHundredAndSixtyx5040: "2160x5040";
63
70
  readonly TwoThousandFiveHundredAndTwentyx1080: "2520x1080";
71
+ readonly TwoThousandFiveHundredAndSixtyx1440: "2560x1440";
64
72
  readonly TwoThousandEightHundredAndEightyx2160: "2880x2160";
65
73
  readonly ThreeThousandTwoHundredAndFortyx2160: "3240x2160";
74
+ readonly ThreeThousandThreeHundredAndSixtyx1440: "3360x1440";
66
75
  readonly ThreeThousandEightHundredAndFortyx2160: "3840x2160";
67
76
  readonly FiveThousandAndFortyx2160: "5040x2160";
68
77
  };
@@ -53,17 +53,26 @@ export const SupportedSize = {
53
53
  OneThousandOneHundredAndTwentyx480: "1120x480",
54
54
  OneThousandTwoHundredAndEightyx720: "1280x720",
55
55
  OneThousandFourHundredAndFortyx1080: "1440x1080",
56
+ OneThousandFourHundredAndFortyx1440: "1440x1440",
57
+ OneThousandFourHundredAndFortyx1920: "1440x1920",
58
+ OneThousandFourHundredAndFortyx2160: "1440x2160",
59
+ OneThousandFourHundredAndFortyx2560: "1440x2560",
60
+ OneThousandFourHundredAndFortyx3360: "1440x3360",
56
61
  OneThousandSixHundredAndTwentyx1080: "1620x1080",
57
62
  OneThousandSixHundredAndEightyx720: "1680x720",
58
63
  OneThousandNineHundredAndTwentyx1080: "1920x1080",
64
+ OneThousandNineHundredAndTwentyx1440: "1920x1440",
65
+ TwoThousandOneHundredAndSixtyx1440: "2160x1440",
59
66
  TwoThousandOneHundredAndSixtyx2160: "2160x2160",
60
67
  TwoThousandOneHundredAndSixtyx2880: "2160x2880",
61
68
  TwoThousandOneHundredAndSixtyx3240: "2160x3240",
62
69
  TwoThousandOneHundredAndSixtyx3840: "2160x3840",
63
70
  TwoThousandOneHundredAndSixtyx5040: "2160x5040",
64
71
  TwoThousandFiveHundredAndTwentyx1080: "2520x1080",
72
+ TwoThousandFiveHundredAndSixtyx1440: "2560x1440",
65
73
  TwoThousandEightHundredAndEightyx2160: "2880x2160",
66
74
  ThreeThousandTwoHundredAndFortyx2160: "3240x2160",
75
+ ThreeThousandThreeHundredAndSixtyx1440: "3360x1440",
67
76
  ThreeThousandEightHundredAndFortyx2160: "3840x2160",
68
77
  FiveThousandAndFortyx2160: "5040x2160",
69
78
  };
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.1.21",
5
+ "version": "1.1.22",
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.1.21",
3
+ "version": "1.1.22",
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",
75
75
  "prepublishOnly": "npm run build",
76
- "typecheck": "tsc --noEmit",
77
- "typecheck:transit": "exit 0",
78
- "postinstall": "node scripts/check-types.js || true",
79
76
  "prepare": "npm run build",
80
77
  "test": "vitest --run --project unit",
81
- "compile": "tsc",
82
78
  "test:e2e": "vitest --run --project e2e",
83
79
  "test:transit": "exit 0",
84
- "test:watch": "vitest --watch --project unit"
80
+ "typecheck:transit": "exit 0",
81
+ "compile": "tsc",
82
+ "postinstall": "node scripts/check-types.js || true",
83
+ "test:watch": "vitest --watch --project unit",
84
+ "typecheck": "tsc --noEmit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {