Skip to content

Commit d389482

Browse files
kjgbotclaude
andcommitted
fix(core): inner @relayauth/sdk dep stuck at caret 0.1.0
@relayauth/core@0.2.0 was published with "@relayauth/sdk": "^0.1.0" in its dependency list — a stale caret range from before the 0.2.x line. npm dutifully installs the latest matching version (0.1.9) into a nested node_modules/@relayauth/core/node_modules/@relayauth/sdk, so downstream consumers end up with both 0.2.0 (top-level) and 0.1.9 (nested under core) at the same time. Nothing routes through the nested copy from cloud today — every cloud package resolves the top-level 0.2.0 directly — but it is dead weight, wasted install size, and a real bug if any future code path reaches @relayauth/sdk via the core re-export. Fix: change the inner dep to "*" to match the pattern used by @relayauth/server and @relayauth/sdk (both of which use "*" for their sibling workspace deps so publish-time version substitution follows the actual workspace). Bump core to 0.2.1 so the fix can be published and picked up. After merge, republish @relayauth/core@0.2.1 and the nested-sdk diamond disappears on next npm install. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent bfa0c51 commit d389482

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@relayauth/core",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
1616
"typecheck": "tsc --noEmit"
1717
},
1818
"dependencies": {
19-
"@relayauth/sdk": "^0.1.0",
19+
"@relayauth/sdk": "*",
2020
"yaml": "^2.8.3"
2121
},
2222
"peerDependencies": {

0 commit comments

Comments
 (0)