@openrouter/sdk 1.1.7 → 1.1.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.
@@ -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.7";
52
+ readonly sdkVersion: "1.1.8";
53
53
  readonly genVersion: "2.914.0";
54
- readonly userAgent: "speakeasy-sdk/typescript 1.1.7 2.914.0 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 1.1.8 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.7",
29
+ sdkVersion: "1.1.8",
30
30
  genVersion: "2.914.0",
31
- userAgent: "speakeasy-sdk/typescript 1.1.7 2.914.0 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 1.1.8 2.914.0 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -59,6 +59,7 @@ export declare const BYOKProviderSlug: {
59
59
  readonly Meta: "meta";
60
60
  readonly Minimax: "minimax";
61
61
  readonly Mistral: "mistral";
62
+ readonly Modal: "modal";
62
63
  readonly Modelrun: "modelrun";
63
64
  readonly Modular: "modular";
64
65
  readonly Moonshotai: "moonshotai";
@@ -62,6 +62,7 @@ export const BYOKProviderSlug = {
62
62
  Meta: "meta",
63
63
  Minimax: "minimax",
64
64
  Mistral: "mistral",
65
+ Modal: "modal",
65
66
  Modelrun: "modelrun",
66
67
  Modular: "modular",
67
68
  Moonshotai: "moonshotai",
@@ -83,6 +83,7 @@ export declare const Provider: {
83
83
  readonly Meta: "meta";
84
84
  readonly Minimax: "minimax";
85
85
  readonly Mistral: "mistral";
86
+ readonly Modal: "modal";
86
87
  readonly Modelrun: "modelrun";
87
88
  readonly Modular: "modular";
88
89
  readonly Moonshotai: "moonshotai";
@@ -66,6 +66,7 @@ export const Provider = {
66
66
  Meta: "meta",
67
67
  Minimax: "minimax",
68
68
  Mistral: "mistral",
69
+ Modal: "modal",
69
70
  Modelrun: "modelrun",
70
71
  Modular: "modular",
71
72
  Moonshotai: "moonshotai",
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  export declare const ProviderName: {
4
+ readonly Modal: "Modal";
4
5
  readonly AkashML: "AkashML";
5
6
  readonly Ai21: "AI21";
6
7
  readonly AionLabs: "AionLabs";
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import * as openEnums from "../types/enums.js";
6
6
  export const ProviderName = {
7
+ Modal: "Modal",
7
8
  AkashML: "AkashML",
8
9
  Ai21: "AI21",
9
10
  AionLabs: "AionLabs",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.1.7",
5
+ "version": "1.1.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.1.7",
3
+ "version": "1.1.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",
75
75
  "prepublishOnly": "npm run build",
76
- "compile": "tsc",
77
76
  "postinstall": "node scripts/check-types.js || true",
78
77
  "prepare": "npm run build",
79
- "test:transit": "exit 0",
80
- "typecheck": "tsc --noEmit",
81
- "test": "vitest --run --project unit",
82
78
  "test:e2e": "vitest --run --project e2e",
79
+ "test:transit": "exit 0",
83
80
  "test:watch": "vitest --watch --project unit",
84
- "typecheck:transit": "exit 0"
81
+ "typecheck": "tsc --noEmit",
82
+ "typecheck:transit": "exit 0",
83
+ "compile": "tsc",
84
+ "test": "vitest --run --project unit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {