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

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

@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

⚠️ Unit tests are failing on Node 26.x (Current release line, non-blocking). This is not an LTS version yet, so it does not block merge, but it signals an incompatibility to fix before Node 26.x becomes LTS.

View run

s84krish
s84krish previously approved these changes Oct 27, 2026
Drop the direct @bitgo/sjcl import. Await assertIsValidKey, which is
async, so the example's error cases are actually caught.

Ticket: WCN-177

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.

2 participants