Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 1.0.0
speakeasyVersion: 1.651.0
generationVersion: 2.745.2
releaseVersion: 0.1.5
configChecksum: cc7daa093de271171610868047a4bb63
releaseVersion: 0.1.6
configChecksum: e27fc703d71f79dfd40a863b5853fe72
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
published: true
Expand Down
17 changes: 16 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
typescript:
version: 0.1.5
version: 0.1.6
acceptHeaderEnum: false
additionalDependencies:
dependencies: {}
Expand All @@ -40,6 +40,21 @@ typescript:
vitest: ^3.2.4
peerDependencies: {}
additionalPackageJSON:
description: The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 300+ language models through a unified API.
keywords:
- openrouter
- sdk
- typescript
- api
- client
- library
- rest
- http
- agent
- ai
- openai
- models
- llm
license: Apache-2.0
additionalScripts: {}
alwaysIncludeInboundAndOutbound: false
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ targets:
sourceRevisionDigest: sha256:73beb40e7db6cb1d1bfbc364fd655f9ebdf6f9d6b3f1a71836a3a851d07e5d80
sourceBlobDigest: sha256:ab3d90309e030249c89844dba54d28dc758bee9c5749ddfd961e4bb844bc5128
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:e36c63ccca7df7e9300067c65b08f441965877cc015ddd0cab42798c07b1f3bc
codeSamplesRevisionDigest: sha256:b6196f12c8fcc8d875b535837a4bd70c5312256f43a98034d60c6fbca000ed87
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@openrouter/sdk",
"version": "0.1.5",
"version": "0.1.6",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 17 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
{
"name": "@openrouter/sdk",
"version": "0.1.5",
"version": "0.1.6",
"author": "OpenRouter",
"description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 300+ language models through a unified API.",
"keywords": [
"openrouter",
"sdk",
"typescript",
"api",
"client",
"library",
"rest",
"http",
"agent",
"ai",
"openai",
"models",
"llm"
],
"license": "Apache-2.0",
"type": "module",
"main": "./esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0.0",
sdkVersion: "0.1.5",
sdkVersion: "0.1.6",
genVersion: "2.745.2",
userAgent: "speakeasy-sdk/typescript 0.1.5 2.745.2 1.0.0 @openrouter/sdk",
userAgent: "speakeasy-sdk/typescript 0.1.6 2.745.2 1.0.0 @openrouter/sdk",
} as const;