From 8b5f6911b69b766a3732fa160049d263460da74b Mon Sep 17 00:00:00 2001 From: Johan Westling Date: Fri, 24 May 2024 13:28:58 +0300 Subject: [PATCH] fix(typings): typo from `jonServerPublicKey` to `onServerPublicKey` (#2699) * Fixed missing i in caching_sha2_password * Changed joinServerPublicKey to correct onServerPublicKey --- typings/mysql/lib/Auth.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/mysql/lib/Auth.d.ts b/typings/mysql/lib/Auth.d.ts index 13374a9485..c301f41bfe 100644 --- a/typings/mysql/lib/Auth.d.ts +++ b/typings/mysql/lib/Auth.d.ts @@ -14,7 +14,7 @@ export const authPlugins: { caching_sha2_password: AuthPluginDefinition<{ overrideIsSecure?: boolean; serverPublicKey?: RsaPublicKey | RsaPrivateKey | KeyLike; - jonServerPublicKey?: (data: Buffer) => void; + onServerPublicKey?: (data: Buffer) => void; }>; mysql_clear_password: AuthPluginDefinition<{ password?: string; @@ -25,6 +25,6 @@ export const authPlugins: { }>; sha256_password: AuthPluginDefinition<{ serverPublicKey?: RsaPublicKey | RsaPrivateKey | KeyLike; - joinServerPublicKey?: (data: Buffer) => void; + onServerPublicKey?: (data: Buffer) => void; }>; };