Skip to content

fix(deps): bump @doist/comms-sdk to 0.4.5#24

Merged
amix merged 1 commit into
mainfrom
amix/bump-comms-sdk-0.4.5
Jun 15, 2026
Merged

fix(deps): bump @doist/comms-sdk to 0.4.5#24
amix merged 1 commit into
mainfrom
amix/bump-comms-sdk-0.4.5

Conversation

@amix

@amix amix commented Jun 15, 2026

Copy link
Copy Markdown
Member

Context

The CLI pinned @doist/comms-sdk@0.4.2, which crashed on real data:

  • tdc comment view / tdc thread view --commentexpected object, received undefined at comment (the SDK assumed getone wraps the comment in { comment }; it returns it bare).
  • tdc thread view / tdc inboxexpected boolean, received Date at pinned (the SDK turned pinned_ts into pinned: Date).

Both are fixed in @doist/comms-sdk@0.4.5 (#26, #24).

What was changed

  • Bump @doist/comms-sdk 0.4.20.4.5 (package.json + lockfile).

Verification

  • npm run type-check, npm run build, npm test (756 tests) pass.
  • Ran the rebuilt CLI against the exact thread/comment that previously threw: thread view returns the thread + 50 comments, comment view returns the comment. Both clean.

Picks up two SDK fixes that crashed the CLI on real data:
- `comments/getone` is parsed as a bare object, fixing `comment view`
  and `thread view --comment` (comms-sdk #26)
- `pinned_ts` maps to `pinnedDate`, fixing `thread view` / `inbox`
  crashing with "expected boolean, received Date" (comms-sdk #24)

Verified against live data: `thread view` and `comment view` both
return cleanly where they previously threw ZodErrors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@amix amix requested a review from scottlovegrove June 15, 2026 14:42
@amix amix marked this pull request as ready for review June 15, 2026 14:42
@amix amix merged commit a859976 into main Jun 15, 2026
7 checks passed
@amix amix deleted the amix/bump-comms-sdk-0.4.5 branch June 15, 2026 14:43
doist-release-bot Bot added a commit that referenced this pull request Jun 15, 2026
## [1.6.1](v1.6.0...v1.6.1) (2026-06-15)

### Bug Fixes

* **deps:** bump @doist/comms-sdk to 0.4.5 ([#24](#24)) ([a859976](a859976))
@doist-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@doistbot doistbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues were flagged for this bump to @doist/comms-sdk@0.4.5, which fixes the comment wrapping and pinned type bugs that crashed thread view and comment view on real data.

Share FeedbackReview Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants