@openrouter/sdk 1.1.7 → 1.1.9

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.9";
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.9 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.9",
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.9 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",
@@ -4,8 +4,11 @@ export declare const Quantization: {
4
4
  readonly Int4: "int4";
5
5
  readonly Int8: "int8";
6
6
  readonly Fp4: "fp4";
7
+ readonly Mxfp4: "mxfp4";
8
+ readonly Nvfp4: "nvfp4";
7
9
  readonly Fp6: "fp6";
8
10
  readonly Fp8: "fp8";
11
+ readonly Mxfp8: "mxfp8";
9
12
  readonly Fp16: "fp16";
10
13
  readonly Bf16: "bf16";
11
14
  readonly Fp32: "fp32";
@@ -7,8 +7,11 @@ export const Quantization = {
7
7
  Int4: "int4",
8
8
  Int8: "int8",
9
9
  Fp4: "fp4",
10
+ Mxfp4: "mxfp4",
11
+ Nvfp4: "nvfp4",
10
12
  Fp6: "fp6",
11
13
  Fp8: "fp8",
14
+ Mxfp8: "mxfp8",
12
15
  Fp16: "fp16",
13
16
  Bf16: "bf16",
14
17
  Fp32: "fp32",
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.9",
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.9",
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": [
@@ -74,14 +74,14 @@
74
74
  "build": "tsc",
75
75
  "prepublishOnly": "npm run build",
76
76
  "compile": "tsc",
77
- "postinstall": "node scripts/check-types.js || true",
78
77
  "prepare": "npm run build",
79
- "test:transit": "exit 0",
80
- "typecheck": "tsc --noEmit",
81
78
  "test": "vitest --run --project unit",
82
79
  "test:e2e": "vitest --run --project e2e",
83
- "test:watch": "vitest --watch --project unit",
84
- "typecheck:transit": "exit 0"
80
+ "test:transit": "exit 0",
81
+ "typecheck": "tsc --noEmit",
82
+ "typecheck:transit": "exit 0",
83
+ "postinstall": "node scripts/check-types.js || true",
84
+ "test:watch": "vitest --watch --project unit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {