chore: add deprecation notice for createProgramAddress (#27879)

This commit is contained in:
Ian Macalinao 2022-11-29 01:29:06 -06:00 committed by GitHub
parent ac8ddc841c
commit 61803b914f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ export class PublicKey extends Struct {
/**
* Async version of createProgramAddressSync
* For backwards compatibility
*
* @deprecated Use {@link createProgramAddressSync} instead
*/
/* eslint-disable require-await */
static async createProgramAddress(