@openrouter/sdk 1.1.22 → 1.1.23

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.22";
52
+ readonly sdkVersion: "1.1.23";
53
53
  readonly genVersion: "2.914.0";
54
- readonly userAgent: "speakeasy-sdk/typescript 1.1.22 2.914.0 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 1.1.23 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.22",
29
+ sdkVersion: "1.1.23",
30
30
  genVersion: "2.914.0",
31
- userAgent: "speakeasy-sdk/typescript 1.1.22 2.914.0 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 1.1.23 2.914.0 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -430,6 +430,7 @@ export type VideoGenerationRequestProvider = {
430
430
  export declare const VideoGenerationRequestResolution: {
431
431
  readonly FourHundredAndEightyp: "480p";
432
432
  readonly SevenHundredAndTwentyp: "720p";
433
+ readonly SevenHundredAndSixtyEightp: "768p";
433
434
  readonly OneThousandAndEightyp: "1080p";
434
435
  readonly OneK: "1K";
435
436
  readonly TwoK: "2K";
@@ -27,6 +27,7 @@ export const VideoGenerationRequestAspectRatio = {
27
27
  export const VideoGenerationRequestResolution = {
28
28
  FourHundredAndEightyp: "480p",
29
29
  SevenHundredAndTwentyp: "720p",
30
+ SevenHundredAndSixtyEightp: "768p",
30
31
  OneThousandAndEightyp: "1080p",
31
32
  OneK: "1K",
32
33
  TwoK: "2K",
@@ -22,6 +22,7 @@ export type SupportedFrameImage = OpenEnum<typeof SupportedFrameImage>;
22
22
  export declare const SupportedResolution: {
23
23
  readonly FourHundredAndEightyp: "480p";
24
24
  readonly SevenHundredAndTwentyp: "720p";
25
+ readonly SevenHundredAndSixtyEightp: "768p";
25
26
  readonly OneThousandAndEightyp: "1080p";
26
27
  readonly OneK: "1K";
27
28
  readonly TwoK: "2K";
@@ -41,8 +42,14 @@ export declare const SupportedSize: {
41
42
  readonly SevenHundredAndTwentyx1080: "720x1080";
42
43
  readonly SevenHundredAndTwentyx1280: "720x1280";
43
44
  readonly SevenHundredAndTwentyx1680: "720x1680";
45
+ readonly SevenHundredAndSixtyEightx768: "768x768";
46
+ readonly SevenHundredAndSixtyEightx1024: "768x1024";
47
+ readonly SevenHundredAndSixtyEightx1152: "768x1152";
48
+ readonly SevenHundredAndSixtyEightx1366: "768x1366";
49
+ readonly SevenHundredAndSixtyEightx1792: "768x1792";
44
50
  readonly EightHundredAndFiftyFourx480: "854x480";
45
51
  readonly NineHundredAndSixtyx720: "960x720";
52
+ readonly OneThousandAndTwentyFourx768: "1024x768";
46
53
  readonly OneThousandAndEightyx720: "1080x720";
47
54
  readonly OneThousandAndEightyx1080: "1080x1080";
48
55
  readonly OneThousandAndEightyx1440: "1080x1440";
@@ -50,7 +57,9 @@ export declare const SupportedSize: {
50
57
  readonly OneThousandAndEightyx1920: "1080x1920";
51
58
  readonly OneThousandAndEightyx2520: "1080x2520";
52
59
  readonly OneThousandOneHundredAndTwentyx480: "1120x480";
60
+ readonly OneThousandOneHundredAndFiftyTwox768: "1152x768";
53
61
  readonly OneThousandTwoHundredAndEightyx720: "1280x720";
62
+ readonly OneThousandThreeHundredAndSixtySixx768: "1366x768";
54
63
  readonly OneThousandFourHundredAndFortyx1080: "1440x1080";
55
64
  readonly OneThousandFourHundredAndFortyx1440: "1440x1440";
56
65
  readonly OneThousandFourHundredAndFortyx1920: "1440x1920";
@@ -59,6 +68,7 @@ export declare const SupportedSize: {
59
68
  readonly OneThousandFourHundredAndFortyx3360: "1440x3360";
60
69
  readonly OneThousandSixHundredAndTwentyx1080: "1620x1080";
61
70
  readonly OneThousandSixHundredAndEightyx720: "1680x720";
71
+ readonly OneThousandSevenHundredAndNinetyTwox768: "1792x768";
62
72
  readonly OneThousandNineHundredAndTwentyx1080: "1920x1080";
63
73
  readonly OneThousandNineHundredAndTwentyx1440: "1920x1440";
64
74
  readonly TwoThousandOneHundredAndSixtyx1440: "2160x1440";
@@ -24,6 +24,7 @@ export const SupportedFrameImage = {
24
24
  export const SupportedResolution = {
25
25
  FourHundredAndEightyp: "480p",
26
26
  SevenHundredAndTwentyp: "720p",
27
+ SevenHundredAndSixtyEightp: "768p",
27
28
  OneThousandAndEightyp: "1080p",
28
29
  OneK: "1K",
29
30
  TwoK: "2K",
@@ -42,8 +43,14 @@ export const SupportedSize = {
42
43
  SevenHundredAndTwentyx1080: "720x1080",
43
44
  SevenHundredAndTwentyx1280: "720x1280",
44
45
  SevenHundredAndTwentyx1680: "720x1680",
46
+ SevenHundredAndSixtyEightx768: "768x768",
47
+ SevenHundredAndSixtyEightx1024: "768x1024",
48
+ SevenHundredAndSixtyEightx1152: "768x1152",
49
+ SevenHundredAndSixtyEightx1366: "768x1366",
50
+ SevenHundredAndSixtyEightx1792: "768x1792",
45
51
  EightHundredAndFiftyFourx480: "854x480",
46
52
  NineHundredAndSixtyx720: "960x720",
53
+ OneThousandAndTwentyFourx768: "1024x768",
47
54
  OneThousandAndEightyx720: "1080x720",
48
55
  OneThousandAndEightyx1080: "1080x1080",
49
56
  OneThousandAndEightyx1440: "1080x1440",
@@ -51,7 +58,9 @@ export const SupportedSize = {
51
58
  OneThousandAndEightyx1920: "1080x1920",
52
59
  OneThousandAndEightyx2520: "1080x2520",
53
60
  OneThousandOneHundredAndTwentyx480: "1120x480",
61
+ OneThousandOneHundredAndFiftyTwox768: "1152x768",
54
62
  OneThousandTwoHundredAndEightyx720: "1280x720",
63
+ OneThousandThreeHundredAndSixtySixx768: "1366x768",
55
64
  OneThousandFourHundredAndFortyx1080: "1440x1080",
56
65
  OneThousandFourHundredAndFortyx1440: "1440x1440",
57
66
  OneThousandFourHundredAndFortyx1920: "1440x1920",
@@ -60,6 +69,7 @@ export const SupportedSize = {
60
69
  OneThousandFourHundredAndFortyx3360: "1440x3360",
61
70
  OneThousandSixHundredAndTwentyx1080: "1620x1080",
62
71
  OneThousandSixHundredAndEightyx720: "1680x720",
72
+ OneThousandSevenHundredAndNinetyTwox768: "1792x768",
63
73
  OneThousandNineHundredAndTwentyx1080: "1920x1080",
64
74
  OneThousandNineHundredAndTwentyx1440: "1920x1440",
65
75
  TwoThousandOneHundredAndSixtyx1440: "2160x1440",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.1.22",
5
+ "version": "1.1.23",
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.22",
3
+ "version": "1.1.23",
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
- "prepare": "npm run build",
77
- "test": "vitest --run --project unit",
78
- "test:e2e": "vitest --run --project e2e",
79
- "test:transit": "exit 0",
80
- "typecheck:transit": "exit 0",
81
76
  "compile": "tsc",
82
77
  "postinstall": "node scripts/check-types.js || true",
78
+ "test:transit": "exit 0",
83
79
  "test:watch": "vitest --watch --project unit",
84
- "typecheck": "tsc --noEmit"
80
+ "prepare": "npm run build",
81
+ "test": "vitest --run --project unit",
82
+ "test:e2e": "vitest --run --project e2e",
83
+ "typecheck": "tsc --noEmit",
84
+ "typecheck:transit": "exit 0"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {