Commit d389482
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments