Skip to content

Commit

Permalink
fix(typings): typo from jonServerPublicKey to onServerPublicKey (#…
Browse files Browse the repository at this point in the history
…2699)

* Fixed missing i in caching_sha2_password

* Changed joinServerPublicKey to correct onServerPublicKey
  • Loading branch information
johanwestling committed May 24, 2024
1 parent 5c75802 commit 8b5f691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/mysql/lib/Auth.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -25,6 +25,6 @@ export const authPlugins: {
}>;
sha256_password: AuthPluginDefinition<{
serverPublicKey?: RsaPublicKey | RsaPrivateKey | KeyLike;
joinServerPublicKey?: (data: Buffer) => void;
onServerPublicKey?: (data: Buffer) => void;
}>;
};

0 comments on commit 8b5f691

Please sign in to comment.