Skip to content

Conversation

ilbertt
Copy link
Member

@ilbertt ilbertt commented Jul 24, 2025

Description

Moves all the content of the packages/principal/src/index.ts into packages/principal/src/principal.ts and re-export them from packages/principal/src/index.ts. Renames packages/principal/src/index.test.ts into packages/principal/src/principal.test.ts.

Exports the getCrc32 function as well.

How Has This Been Tested?

Same tests should still pass.

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.

@ilbertt ilbertt requested a review from a team as a code owner July 24, 2025 09:29
Copy link
Contributor

size-limit report 📦

Path Size
@dfinity/agent 47.86 KB (0%)
@dfinity/assets 52.84 KB (0%)
@dfinity/auth-client 19.38 KB (0%)
@dfinity/candid 13.22 KB (0%)
@icp-sdk/core 91 B (0%)
@dfinity/identity 18.81 KB (0%)
@dfinity/identity-secp256k1 33.03 KB (0%)
@dfinity/principal 4.44 KB (0%)
@dfinity/use-auth-client 58.75 KB (0%)

@ilbertt ilbertt merged commit 947225f into main Jul 24, 2025
28 checks passed
@ilbertt ilbertt deleted the luca/principal-exports branch July 24, 2025 09:42
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