@openrouter/sdk 1.5.7 → 1.5.8

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.7";
53
+ readonly sdkVersion: "1.5.8";
54
54
  readonly genVersion: "2.948.4";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.5.7 2.948.4 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.5.8 2.948.4 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.7",
32
+ sdkVersion: "1.5.8",
33
33
  genVersion: "2.948.4",
34
- userAgent: "speakeasy-sdk/typescript 1.5.7 2.948.4 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.5.8 2.948.4 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -42,6 +42,7 @@ export declare const SupportedSize: {
42
42
  readonly FourHundredAndEightyx720: "480x720";
43
43
  readonly FourHundredAndEightyx854: "480x854";
44
44
  readonly FourHundredAndEightyx1120: "480x1120";
45
+ readonly FourHundredAndNinetySixx864: "496x864";
45
46
  readonly FiveHundredAndFortyx360: "540x360";
46
47
  readonly FiveHundredAndSixtyx752: "560x752";
47
48
  readonly SixHundredAndFortyx360: "640x360";
@@ -62,6 +63,7 @@ export declare const SupportedSize: {
62
63
  readonly EightHundredAndThirtyFourx1112: "834x1112";
63
64
  readonly EightHundredAndFortyx360: "840x360";
64
65
  readonly EightHundredAndFiftyFourx480: "854x480";
66
+ readonly EightHundredAndSixtyFourx496: "864x496";
65
67
  readonly NineHundredAndSixtyx720: "960x720";
66
68
  readonly NineHundredAndSixtyx960: "960x960";
67
69
  readonly NineHundredAndNinetyTwox432: "992x432";
@@ -43,6 +43,7 @@ export const SupportedSize = {
43
43
  FourHundredAndEightyx720: "480x720",
44
44
  FourHundredAndEightyx854: "480x854",
45
45
  FourHundredAndEightyx1120: "480x1120",
46
+ FourHundredAndNinetySixx864: "496x864",
46
47
  FiveHundredAndFortyx360: "540x360",
47
48
  FiveHundredAndSixtyx752: "560x752",
48
49
  SixHundredAndFortyx360: "640x360",
@@ -63,6 +64,7 @@ export const SupportedSize = {
63
64
  EightHundredAndThirtyFourx1112: "834x1112",
64
65
  EightHundredAndFortyx360: "840x360",
65
66
  EightHundredAndFiftyFourx480: "854x480",
67
+ EightHundredAndSixtyFourx496: "864x496",
66
68
  NineHundredAndSixtyx720: "960x720",
67
69
  NineHundredAndSixtyx960: "960x960",
68
70
  NineHundredAndNinetyTwox432: "992x432",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.5.7",
5
+ "version": "1.5.8",
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.7",
3
+ "version": "1.5.8",
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
- "compile": "tsc && node scripts/unbarrel-imports.js",
76
+ "typecheck:transit": "exit 0",
77
77
  "prepare": "npm run build",
78
- "test": "vitest --run --project unit",
79
78
  "test:e2e": "vitest --run --project e2e",
80
- "typecheck": "tsc --noEmit",
81
- "postinstall": "node scripts/check-types.js || true",
82
79
  "test:transit": "exit 0",
83
80
  "test:watch": "vitest --watch --project unit",
84
- "typecheck:transit": "exit 0"
81
+ "compile": "tsc && node scripts/unbarrel-imports.js",
82
+ "postinstall": "node scripts/check-types.js || true",
83
+ "test": "vitest --run --project unit",
84
+ "typecheck": "tsc --noEmit"
85
85
  },
86
86
  "peerDependencies": {
87
87