Skip to content

Commit 8b5f691

Browse files
fix(typings): typo from jonServerPublicKey to onServerPublicKey (#2699)
* Fixed missing i in caching_sha2_password * Changed joinServerPublicKey to correct onServerPublicKey
1 parent 5c75802 commit 8b5f691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/mysql/lib/Auth.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const authPlugins: {
1414
caching_sha2_password: AuthPluginDefinition<{
1515
overrideIsSecure?: boolean;
1616
serverPublicKey?: RsaPublicKey | RsaPrivateKey | KeyLike;
17-
jonServerPublicKey?: (data: Buffer) => void;
17+
onServerPublicKey?: (data: Buffer) => void;
1818
}>;
1919
mysql_clear_password: AuthPluginDefinition<{
2020
password?: string;
@@ -25,6 +25,6 @@ export const authPlugins: {
2525
}>;
2626
sha256_password: AuthPluginDefinition<{
2727
serverPublicKey?: RsaPublicKey | RsaPrivateKey | KeyLike;
28-
joinServerPublicKey?: (data: Buffer) => void;
28+
onServerPublicKey?: (data: Buffer) => void;
2929
}>;
3030
};

0 commit comments

Comments
 (0)