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

chore: cleanup exports #34

Merged
merged 2 commits into from
Feb 18, 2025
Merged

chore: cleanup exports #34

merged 2 commits into from
Feb 18, 2025

Conversation

nikgraf
Copy link
Collaborator

@nikgraf nikgraf commented Feb 18, 2025

No description provided.

@nikgraf nikgraf requested a review from baiirun February 18, 2025 13:01
Copy link

changeset-bot bot commented Feb 18, 2025

🦋 Changeset detected

Latest commit: 9b886cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/grc-20 Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@baiirun baiirun left a comment

Choose a reason for hiding this comment

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

Need to make sure that the README is also updated to these exports.

@nikgraf
Copy link
Collaborator Author

nikgraf commented Feb 18, 2025

@baiirun I updated the readme 👍

@nikgraf nikgraf requested a review from baiirun February 18, 2025 20:06
Copy link
Contributor

@baiirun baiirun left a comment

Choose a reason for hiding this comment

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

Approved but had a question on whether we should go ahead and add a namespace for the base58 utilities.

Note that these are pretty breaking changes and we already have a few repos relying on this package. Namely the web app and the hackathon template. I'll update those once this gets merged in and a new version published.

index.ts Outdated

/**
* This module provides utility functions for working with base58 ids
* in TypeScript.
*
* @since 0.0.6
*/
export { BASE58_ALLOWED_CHARS, decodeBase58ToUUID, encodeBase58 } from './src/core/base58.js';
export { decodeBase58ToUUID, encodeBase58 } from './src/core/base58.js';
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it make sense to Namespace these as part of this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agreed, just added a commit. In this case I think it's also fine to expose BASE58_ALLOWED_CHARS

@nikgraf nikgraf merged commit f906741 into main Feb 18, 2025
3 checks passed
@nikgraf nikgraf deleted the ng/cleanup-exports branch February 18, 2025 21:11
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