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

Need Help: why rename spl-token package #69

Open
koa202405 opened this issue Jun 27, 2024 · 0 comments
Open

Need Help: why rename spl-token package #69

koa202405 opened this issue Jun 27, 2024 · 0 comments

Comments

@koa202405
Copy link

koa202405 commented Jun 27, 2024

I cloned this repo and try to change

{
  "@solana/spl-token-3.x": "npm:@solana/spl-token@^0.3.8"
}

to

{
  "@solana/spl-token": "^0.3.8"
}

but I failed, it shows that XXX not exported from @solana/spl-token

This also affect the project of which use marinade sdk, my project use @solana/spl-token and @marinade.finance/marinade-ts-sdk at the same time, but it also shows error as above.

But when I use package like

{
  "@solana/spl-token-0.4.x": "npm:@solana/spl-token@^0.4.6"
}

just as the marinade sdk did in my project, it works.

This confused me, I think it may be pnpm issue, but I am not sure

pnpm version: 9.4.0

@koa202405 koa202405 changed the title Help: why use spl-token-3.x Need Help: why use spl-token-3.x Jun 27, 2024
@koa202405 koa202405 changed the title Need Help: why use spl-token-3.x Need Help: why rename spl-token package Jun 27, 2024
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

No branches or pull requests

1 participant