Skip to content

Bridge @intx/types isAgentAddress -> isRunAddress rename (CL-6003) - #11

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6003-run-address-compat
Aug 14, 2026
Merged

Bridge @intx/types isAgentAddress -> isRunAddress rename (CL-6003)#11
TheGreatAxios merged 2 commits into
mainfrom
cl-6003-run-address-compat

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

Interchange renamed @intx/types's isAgentAddress to isRunAddress (INTR-358). Replaces the direct named import in recipients.ts with a small compat module (src/intx-types-compat.ts) that prefers isRunAddress and falls back to isAgentAddress, so this package works against both the pre-rename (npm 0.2.2) and post-rename @intx/types without a version bump.

Ref: CL-6003

Test plan

  • bun test src (344 pass, 100% coverage on changed files) against live Postgres
  • bun run typecheck clean after bun run build + forced reinstall
  • bun test --cwd examples/reference-host (20 pass)
  • New unit tests cover both module shapes (isRunAddress only, isAgentAddress only, both present, neither present)

Interchange renamed isAgentAddress to isRunAddress (INTR-358). Import
the address check through a small compat module that prefers the new
export and falls back to the old one, so this package works against
both the pre-rename and post-rename @intx/types without a hard version
bump or an external patch.
@TheGreatAxios
TheGreatAxios merged commit caa5214 into main Aug 14, 2026
1 check passed
TheGreatAxios added a commit to corbitsdev/workbench that referenced this pull request Aug 14, 2026
… (CL-6003)

corbits-mailbox now carries its own isRunAddress/isAgentAddress compat
shim (corbitsdev/corbits-mailbox#11), so the local bun patch bridging
the INTR-358 rename is no longer needed.
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.

1 participant