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
5 changes: 5 additions & 0 deletions .changeset/fix-zod-runtime-dep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@across-protocol/app-sdk": patch
---

Fix unresolved `zod` import at build time by moving it from `devDependencies` to `dependencies`. The SDK imports `zod` at runtime (in `api/` modules), so consumers without `zod` transitively in their tree previously failed to build.
6 changes: 4 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"ci": "pnpm run build && pnpm run check-exports && pnpm run lint && pnpm run test",
"typedoc": "typedoc --out docs src/index.ts"
},
"dependencies": {
"zod": "^3.24.2"
},
"devDependencies": {
"@across-toolkit/eslint-config": "workspace:*",
"@across-toolkit/typescript-config": "workspace:*",
Expand All @@ -54,8 +57,7 @@
"typedoc-plugin-markdown": "^4.8.1",
"typescript": "^5.3.3",
"viem": "2.31.2",
"vitest": "^2.0.5",
"zod": "^3.24.2"
"vitest": "^2.0.5"
},
"publishConfig": {
"access": "public"
Expand Down
30 changes: 12 additions & 18 deletions pnpm-lock.yaml

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

Loading