@openrouter/sdk 1.2.15 → 1.2.16
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 +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/videomodel.d.ts +8 -0
- package/esm/models/videomodel.js +8 -0
- package/jsr.json +1 -1
- package/package.json +5 -5
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.2.
|
|
52
|
+
readonly sdkVersion: "1.2.16";
|
|
53
53
|
readonly genVersion: "2.914.0";
|
|
54
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.2.
|
|
54
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.2.16 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.2.
|
|
29
|
+
sdkVersion: "1.2.16",
|
|
30
30
|
genVersion: "2.914.0",
|
|
31
|
-
userAgent: "speakeasy-sdk/typescript 1.2.
|
|
31
|
+
userAgent: "speakeasy-sdk/typescript 1.2.16 2.914.0 1.0.0 @openrouter/sdk",
|
|
32
32
|
};
|
|
33
33
|
//# sourceMappingURL=config.js.map
|
|
@@ -35,20 +35,26 @@ export declare const SupportedSize: {
|
|
|
35
35
|
readonly FourHundredAndEightyx720: "480x720";
|
|
36
36
|
readonly FourHundredAndEightyx854: "480x854";
|
|
37
37
|
readonly FourHundredAndEightyx1120: "480x1120";
|
|
38
|
+
readonly FiveHundredAndSixtyx752: "560x752";
|
|
38
39
|
readonly SixHundredAndFortyx480: "640x480";
|
|
40
|
+
readonly SixHundredAndFortyx640: "640x640";
|
|
39
41
|
readonly SevenHundredAndTwentyx480: "720x480";
|
|
40
42
|
readonly SevenHundredAndTwentyx720: "720x720";
|
|
41
43
|
readonly SevenHundredAndTwentyx960: "720x960";
|
|
42
44
|
readonly SevenHundredAndTwentyx1080: "720x1080";
|
|
43
45
|
readonly SevenHundredAndTwentyx1280: "720x1280";
|
|
44
46
|
readonly SevenHundredAndTwentyx1680: "720x1680";
|
|
47
|
+
readonly SevenHundredAndFiftyTwox560: "752x560";
|
|
45
48
|
readonly SevenHundredAndSixtyEightx768: "768x768";
|
|
46
49
|
readonly SevenHundredAndSixtyEightx1024: "768x1024";
|
|
47
50
|
readonly SevenHundredAndSixtyEightx1152: "768x1152";
|
|
48
51
|
readonly SevenHundredAndSixtyEightx1366: "768x1366";
|
|
49
52
|
readonly SevenHundredAndSixtyEightx1792: "768x1792";
|
|
53
|
+
readonly EightHundredAndThirtyFourx1112: "834x1112";
|
|
50
54
|
readonly EightHundredAndFiftyFourx480: "854x480";
|
|
51
55
|
readonly NineHundredAndSixtyx720: "960x720";
|
|
56
|
+
readonly NineHundredAndSixtyx960: "960x960";
|
|
57
|
+
readonly NineHundredAndNinetyTwox432: "992x432";
|
|
52
58
|
readonly OneThousandAndTwentyFourx768: "1024x768";
|
|
53
59
|
readonly OneThousandAndEightyx720: "1080x720";
|
|
54
60
|
readonly OneThousandAndEightyx1080: "1080x1080";
|
|
@@ -56,6 +62,7 @@ export declare const SupportedSize: {
|
|
|
56
62
|
readonly OneThousandAndEightyx1620: "1080x1620";
|
|
57
63
|
readonly OneThousandAndEightyx1920: "1080x1920";
|
|
58
64
|
readonly OneThousandAndEightyx2520: "1080x2520";
|
|
65
|
+
readonly OneThousandOneHundredAndTwelvex834: "1112x834";
|
|
59
66
|
readonly OneThousandOneHundredAndTwentyx480: "1120x480";
|
|
60
67
|
readonly OneThousandOneHundredAndFiftyTwox768: "1152x768";
|
|
61
68
|
readonly OneThousandTwoHundredAndEightyx720: "1280x720";
|
|
@@ -66,6 +73,7 @@ export declare const SupportedSize: {
|
|
|
66
73
|
readonly OneThousandFourHundredAndFortyx2160: "1440x2160";
|
|
67
74
|
readonly OneThousandFourHundredAndFortyx2560: "1440x2560";
|
|
68
75
|
readonly OneThousandFourHundredAndFortyx3360: "1440x3360";
|
|
76
|
+
readonly OneThousandFourHundredAndSeventyx630: "1470x630";
|
|
69
77
|
readonly OneThousandSixHundredAndTwentyx1080: "1620x1080";
|
|
70
78
|
readonly OneThousandSixHundredAndEightyx720: "1680x720";
|
|
71
79
|
readonly OneThousandSevenHundredAndNinetyTwox768: "1792x768";
|
package/esm/models/videomodel.js
CHANGED
|
@@ -36,20 +36,26 @@ export const SupportedSize = {
|
|
|
36
36
|
FourHundredAndEightyx720: "480x720",
|
|
37
37
|
FourHundredAndEightyx854: "480x854",
|
|
38
38
|
FourHundredAndEightyx1120: "480x1120",
|
|
39
|
+
FiveHundredAndSixtyx752: "560x752",
|
|
39
40
|
SixHundredAndFortyx480: "640x480",
|
|
41
|
+
SixHundredAndFortyx640: "640x640",
|
|
40
42
|
SevenHundredAndTwentyx480: "720x480",
|
|
41
43
|
SevenHundredAndTwentyx720: "720x720",
|
|
42
44
|
SevenHundredAndTwentyx960: "720x960",
|
|
43
45
|
SevenHundredAndTwentyx1080: "720x1080",
|
|
44
46
|
SevenHundredAndTwentyx1280: "720x1280",
|
|
45
47
|
SevenHundredAndTwentyx1680: "720x1680",
|
|
48
|
+
SevenHundredAndFiftyTwox560: "752x560",
|
|
46
49
|
SevenHundredAndSixtyEightx768: "768x768",
|
|
47
50
|
SevenHundredAndSixtyEightx1024: "768x1024",
|
|
48
51
|
SevenHundredAndSixtyEightx1152: "768x1152",
|
|
49
52
|
SevenHundredAndSixtyEightx1366: "768x1366",
|
|
50
53
|
SevenHundredAndSixtyEightx1792: "768x1792",
|
|
54
|
+
EightHundredAndThirtyFourx1112: "834x1112",
|
|
51
55
|
EightHundredAndFiftyFourx480: "854x480",
|
|
52
56
|
NineHundredAndSixtyx720: "960x720",
|
|
57
|
+
NineHundredAndSixtyx960: "960x960",
|
|
58
|
+
NineHundredAndNinetyTwox432: "992x432",
|
|
53
59
|
OneThousandAndTwentyFourx768: "1024x768",
|
|
54
60
|
OneThousandAndEightyx720: "1080x720",
|
|
55
61
|
OneThousandAndEightyx1080: "1080x1080",
|
|
@@ -57,6 +63,7 @@ export const SupportedSize = {
|
|
|
57
63
|
OneThousandAndEightyx1620: "1080x1620",
|
|
58
64
|
OneThousandAndEightyx1920: "1080x1920",
|
|
59
65
|
OneThousandAndEightyx2520: "1080x2520",
|
|
66
|
+
OneThousandOneHundredAndTwelvex834: "1112x834",
|
|
60
67
|
OneThousandOneHundredAndTwentyx480: "1120x480",
|
|
61
68
|
OneThousandOneHundredAndFiftyTwox768: "1152x768",
|
|
62
69
|
OneThousandTwoHundredAndEightyx720: "1280x720",
|
|
@@ -67,6 +74,7 @@ export const SupportedSize = {
|
|
|
67
74
|
OneThousandFourHundredAndFortyx2160: "1440x2160",
|
|
68
75
|
OneThousandFourHundredAndFortyx2560: "1440x2560",
|
|
69
76
|
OneThousandFourHundredAndFortyx3360: "1440x3360",
|
|
77
|
+
OneThousandFourHundredAndSeventyx630: "1470x630",
|
|
70
78
|
OneThousandSixHundredAndTwentyx1080: "1620x1080",
|
|
71
79
|
OneThousandSixHundredAndEightyx720: "1680x720",
|
|
72
80
|
OneThousandSevenHundredAndNinetyTwox768: "1792x768",
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openrouter/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
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
|
-
"
|
|
76
|
+
"test:transit": "exit 0",
|
|
77
|
+
"test:watch": "vitest --watch --project unit",
|
|
77
78
|
"typecheck": "tsc --noEmit",
|
|
78
79
|
"typecheck:transit": "exit 0",
|
|
79
80
|
"compile": "tsc",
|
|
81
|
+
"postinstall": "node scripts/check-types.js || true",
|
|
80
82
|
"prepare": "npm run build",
|
|
81
|
-
"test": "vitest --run --project unit",
|
|
82
83
|
"test:e2e": "vitest --run --project e2e",
|
|
83
|
-
"test
|
|
84
|
-
"test:watch": "vitest --watch --project unit"
|
|
84
|
+
"test": "vitest --run --project unit"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {},
|
|
87
87
|
"devDependencies": {
|