-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
@0xwoo is attempting to deploy a commit to the coral-xyz Team on Vercel. A member of the Team first needs to authorize it. |
@acheroncrypto You can find main changes in this commit. |
@@ -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)). |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
PR for #2665
Hi @acheroncrypto!
May I trouble you reviewing this PR?