Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: separate secp256k1 library #663

Merged
merged 16 commits into from Dec 9, 2022
Merged

Conversation

krpeacock
Copy link
Contributor

@krpeacock krpeacock commented Dec 8, 2022

Description

Moves Secp256k1KeyIdentity out of @dfinity/identity, in order to reduce adding unnecessary dependency / polyfill bloat for users of @dfinity/identity or @dfinity/auth-client.

More optimization can be done in future updates, but the package has little overlap with the other entries identities

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

  • My changes follow the guidelines in CONTRIBUTING.md.
  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@krpeacock krpeacock requested a review from a team as a code owner December 8, 2022 00:50
@krpeacock krpeacock marked this pull request as draft December 8, 2022 00:53
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

size-limit report 📦

Path Size
@dfinity/agent 89.92 KB (0%)
@dfinity/principal 6.8 KB (0%)
@dfinity/auth-client 95.04 KB (-69.45% 🔽)
@dfinity/assets 92.11 KB (0%)
@dfinity/identity 92.42 KB (-70.08% 🔽)

@krpeacock krpeacock changed the title Sdk 866 dependency regression feat: separate secp256k1 library Dec 8, 2022
@krpeacock krpeacock marked this pull request as ready for review December 8, 2022 22:34
packages/identity/src/index.ts Outdated Show resolved Hide resolved
packages/identity/stats.html Outdated Show resolved Hide resolved
krpeacock and others added 2 commits December 8, 2022 15:57
Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com>
@krpeacock krpeacock merged commit 620a536 into main Dec 9, 2022
@krpeacock krpeacock deleted the SDK-866-dependency-regression branch December 9, 2022 00:18
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.

None yet

2 participants