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

Simplify token imports #34

Merged
merged 5 commits into from
Feb 17, 2025
Merged

Simplify token imports #34

merged 5 commits into from
Feb 17, 2025

Conversation

nickfrosty
Copy link
Collaborator

@nickfrosty nickfrosty commented Feb 17, 2025

Problem

since the token22 is fully backwards compatible with the token client, having both packages installed is unnecessary. it adds lots of redundant functionality

Summary of Changes

  • removed @solana-program-token package
  • added TOKEN_PROGRAM_ADDRESS back in manually
  • reorganized token exports/imports
  • consolidated the token related imports to gill/programs/token and removed gill/programs/token22

Copy link

changeset-bot bot commented Feb 17, 2025

🦋 Changeset detected

Latest commit: 30f6205

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

This PR includes changesets to release 2 packages
Name Type
gill Minor
gill-examples-esrun Patch

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

bundlemon bot commented Feb 17, 2025

BundleMon

Files added (1)
Status Path Size Limits
gill/dist/programs/token/index.node.mjs
+1.86KB -
Files updated (2)
Status Path Size Limits
gill/dist/index.node.mjs
1.31KB (+12B +0.9%) -
gill/dist/programs/index.node.mjs
739B (-3.28KB -81.98%) -
Unchanged files (10)
Status Path Size Limits
gill/dist/index.browser.mjs
5.28KB -
gill/dist/index.native.mjs
5.28KB -
gill/dist/node/index.node.mjs
416B -
react/dist/index.browser.mjs
325B -
react/dist/index.native.mjs
323B -
react/dist/index.node.mjs
322B -
svelte/dist/index.browser.mjs
265B -
vue/dist/index.browser.mjs
265B -
svelte/dist/index.node.mjs
262B -
vue/dist/index.node.mjs
262B -

Total files change -1.41KB -7.71%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@nickfrosty nickfrosty marked this pull request as ready for review February 17, 2025 02:34
@nickfrosty nickfrosty merged commit dc635bb into master Feb 17, 2025
5 checks passed
@nickfrosty nickfrosty deleted the simplify-token-imports branch February 17, 2025 02:41
@github-actions github-actions bot mentioned this pull request Feb 17, 2025
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.

1 participant