@openrouter/sdk 1.2.88 → 1.2.89
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/byokproviderslug.d.ts +1 -0
- package/esm/models/byokproviderslug.js +1 -0
- package/esm/models/operations/listbyokkeys.d.ts +1 -0
- package/esm/models/operations/listbyokkeys.js +1 -0
- package/jsr.json +1 -1
- package/package.json +5 -5
package/esm/lib/config.d.ts
CHANGED
|
@@ -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.2.
|
|
53
|
+
readonly sdkVersion: "1.2.89";
|
|
54
54
|
readonly genVersion: "2.914.0";
|
|
55
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.2.
|
|
55
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.2.89 2.914.0 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.2.
|
|
32
|
+
sdkVersion: "1.2.89",
|
|
33
33
|
genVersion: "2.914.0",
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 1.2.
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 1.2.89 2.914.0 1.0.0 @openrouter/sdk",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -102,6 +102,7 @@ export declare const BYOKProviderSlug: {
|
|
|
102
102
|
readonly Together: "together";
|
|
103
103
|
readonly Upstage: "upstage";
|
|
104
104
|
readonly Venice: "venice";
|
|
105
|
+
readonly Voyageai: "voyageai";
|
|
105
106
|
readonly Wafer: "wafer";
|
|
106
107
|
readonly Wandb: "wandb";
|
|
107
108
|
readonly WandbLegacy: "wandb-legacy";
|
|
@@ -126,6 +126,7 @@ export declare const Provider: {
|
|
|
126
126
|
readonly Together: "together";
|
|
127
127
|
readonly Upstage: "upstage";
|
|
128
128
|
readonly Venice: "venice";
|
|
129
|
+
readonly Voyageai: "voyageai";
|
|
129
130
|
readonly Wafer: "wafer";
|
|
130
131
|
readonly Wandb: "wandb";
|
|
131
132
|
readonly WandbLegacy: "wandb-legacy";
|
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.89",
|
|
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
76
|
"test:e2e": "vitest --run --project e2e",
|
|
78
77
|
"test:transit": "exit 0",
|
|
79
78
|
"test:watch": "vitest --watch --project unit",
|
|
80
|
-
"typecheck:transit": "exit 0",
|
|
81
|
-
"test": "vitest --run --project unit",
|
|
82
79
|
"typecheck": "tsc --noEmit",
|
|
83
80
|
"compile": "tsc",
|
|
84
|
-
"postinstall": "node scripts/check-types.js || true"
|
|
81
|
+
"postinstall": "node scripts/check-types.js || true",
|
|
82
|
+
"test": "vitest --run --project unit",
|
|
83
|
+
"typecheck:transit": "exit 0",
|
|
84
|
+
"prepare": "npm run build"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {},
|
|
87
87
|
"devDependencies": {
|