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

Re-added "Wallet" and "workspace" back to TS declaration files #1182

Conversation

janlegner
Copy link

@janlegner janlegner commented Dec 20, 2021

This is a proposed change to make it easy to import anchor.Wallet and anchor.workspace.

See the issue #1153

After this change:

  • The declaration file once again contains Wallet and workspace after the build. Therefore e.g. import { Wallet } from 'project-serum/anchor' works again.
  • The web build does not contain the code of the workspace.js or nodewallet.js as only the types are re-exported.

@janlegner
Copy link
Author

Already implemented #1137

@janlegner janlegner closed this Dec 21, 2021
@janlegner janlegner deleted the add-wallet-and-workspace-to-declaration-files branch December 21, 2021 17:38
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

1 participant