Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.
Rust
fix: Add default export to NPM switchyard/runner (#968)
Graham Kingb2b5e60f7f2b
diff --git a/bindings/typescript/package.json b/bindings/typescript/package.jsonindex 416fc75fd..640d99460 100644--- a/bindings/typescript/package.json+++ b/bindings/typescript/package.json@@ -6,7 +6,13 @@"license": "Apache-2.0","type": "module","engines": { "node": ">=22.19.0" },- "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } },+ "exports": {+ ".": {+ "types": "./dist/index.d.ts",+ "import": "./dist/index.js",+ "default": "./dist/index.js"+ }+ },"files": ["dist", "LICENSE", "NOTICE", "README.md"],"scripts": {"build": "node scripts/build.mjs && tsc",diff --git a/examples/pi/package-lock.json b/examples/pi/package-lock.jsonindex 764516730..51517d8a5 100644--- a/examples/pi/package-lock.json+++ b/examples/pi/package-lock.json@@ -1,11 +1,11 @@{- "name": "switchyard-pi-example",+ "name": "switchyard-pi","version": "0.3.0","lockfileVersion": 3,"requires": true,"packages": {"": {- "name": "switchyard-pi-example",+ "name": "switchyard-pi","version": "0.3.0","license": "Apache-2.0","dependencies": {