Skip to content

internal/xrpc-utils: drop redundant @atproto/xrpc dependency - #5424

Open
bigmoves wants to merge 1 commit into
bluesky-social:mainfrom
bigmoves:bigmoves/internal-pkg-lex-replacements
Open

internal/xrpc-utils: drop redundant @atproto/xrpc dependency#5424
bigmoves wants to merge 1 commit into
bluesky-social:mainfrom
bigmoves:bigmoves/internal-pkg-lex-replacements

Conversation

@bigmoves

@bigmoves bigmoves commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What & why

ResponseType was the only symbol @atproto-labs/xrpc-utils used from @atproto/xrpc, and @atproto/xrpc-server — which the package already depends on — re-exports it. Importing it from there lets the extra dependency and its tsconfig project reference go away. Same enum, no behavior change.

Also switches the last two in-repo callers of the deprecated isUnicastIp alias (pds pipethrough, bsky blob-dispatcher) to isUnicastIpHostname. The alias itself stays in @atproto-labs/fetch-node — it's published, so removing it would break external consumers.

Both changes are behavior-preserving, so there's nothing new to cover with tests.

Checklist

  • pnpm build && pnpm verify passes
  • A changeset is included for every package this touches

`ResponseType` was the only symbol `@atproto-labs/xrpc-utils` used from
`@atproto/xrpc`, and `@atproto/xrpc-server` — which the package already
depends on — re-exports it. Import it from there instead, and drop the
dependency plus its tsconfig project reference. Same enum, no behavior
change.

Also switch the last two in-repo callers of the deprecated `isUnicastIp`
alias (pds pipethrough, bsky blob-dispatcher) to `isUnicastIpHostname`.
The alias itself stays in `@atproto-labs/fetch-node`, since that package
is published and removing it would break external consumers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bigmoves bigmoves changed the title xrpc-utils: drop redundant @atproto/xrpc dependency internal/xrpc-utils: drop redundant @atproto/xrpc dependency Aug 18, 2026
@bigmoves
bigmoves marked this pull request as ready for review August 18, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants