Skip to content

chore(bitgo): deprecate sjcl export and drop unused SJCL deps - #10077

Open
pranavjain97 wants to merge 2 commits into
masterfrom
pranavjain/wcn-177-remove-dead-sjcl-touchpoints-re-export-demo-unused-deps
Open

pranavjain97 wants to merge 2 commits into
masterfrom
pranavjain/wcn-177-remove-dead-sjcl-touchpoints-re-export-demo-unused-deps

Conversation

@pranavjain97

Copy link
Copy Markdown
Contributor

Summary

Small SJCL cleanup that does not touch crypto behavior.

  • bitgo.sjcl export: the deprecation notice now says it may be removed in a future major release and points to bitgo.encrypt / bitgo.decrypt. Nothing is removed, and SJCL stays for v1 decrypt.
  • sdk-coin-polygon: @bitgo/sjcl moves to devDependencies, since only tests use it.
  • web-demo: the demo keycard fixture now uses encrypt from @bitgo/sdk-api instead of @bitgo/sjcl, and the direct dependency is dropped. The demo keycard now shows a v2 envelope.

Testing

  • sdk-coin-polygon unit tests pass.
  • web-demo typechecks.
  • Lint and Prettier are clean. No lockfile change.
  • The demo fixture was not run in a browser.

Ticket: WCN-177

🤖 Generated with Claude Code

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Compatibility checks are failing on Node.js 27-nightly (experimental, non-blocking). This does not block merge, but it signals an incompatibility to fix before this release becomes supported.

View run

s84krish
s84krish previously approved these changes Oct 27, 2026

@dsobkowi dsobkowi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

merge conflicts

@pranavjain97
pranavjain97 requested a review from s84krish November 3, 2026 16:09
s84krish
s84krish previously approved these changes Nov 3, 2026

@s84krish s84krish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

merge conflicts again :(

Note that the bitgo.sjcl export may be removed in a future major release. Move @bitgo/sjcl to
devDependencies in sdk-coin-polygon, where only tests use it. In web-demo, build the demo
keycard with encrypt from sdk-api and drop the direct @bitgo/sjcl dependency.

Ticket: WCN-177
Drop the direct @bitgo/sjcl import. Await assertIsValidKey, which is
async, so the example's error cases are actually caught.

Ticket: WCN-177
@pranavjain97
pranavjain97 force-pushed the pranavjain/wcn-177-remove-dead-sjcl-touchpoints-re-export-demo-unused-deps branch from d6c94d2 to de52614 Compare November 5, 2026 17:41

This branch has not been deployed

No deployments
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.

4 participants