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

ts: improve types for Provider and AccountClient #2666

Closed
wants to merge 5 commits into from

Conversation

kAsky53
Copy link
Contributor

@kAsky53 kAsky53 commented Oct 13, 2023

PR for #2665

Hi @acheroncrypto!
May I trouble you reviewing this PR?

@vercel
Copy link

vercel bot commented Oct 13, 2023

@0xwoo is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@kAsky53
Copy link
Contributor Author

kAsky53 commented Oct 13, 2023

@acheroncrypto You can find main changes in this commit.
Other commits are adjustments in test scripts fyi.

@@ -55,6 +55,7 @@ The minor version will be incremented upon a breaking change and the patch versi
- ts: Remove `base64-js` dependency ([#2635](https://github.com/coral-xyz/anchor/pull/2635)).
- syn: `IdlTypeDefinitionTy` enum has a new variant `Alias` ([#2637](https://github.com/coral-xyz/anchor/pull/2637)).
- cli, client, lang, spl: Solana `1.14` is no longer supported, minimum required Solana version is `1.16.0` ([#2645](https://github.com/coral-xyz/anchor/pull/2645)).
- ts: Change Provider.publicKey type into `PublicKey | null` instead of `PublicKey | undefined`, `AccountClient.createInstruction(signer: Signer, size?: number)` into `AccountClient.createInstruction(signerPubkey: PublicKey, size?: number)` ([#2665](https://github.com/coral-xyz/anchor/issues/2665)).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why put the summary of changes in the issue and link the issue instead of the PR?

@@ -1,6 +1,6 @@
{
"name": "@coral-xyz/anchor",
"version": "0.28.1-beta.2",
"version": "0.28.1-beta.3",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please don't change versions.

@kAsky53 kAsky53 closed this Mar 12, 2024
@kAsky53 kAsky53 deleted the pkg-anchor branch March 12, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants