mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 04:40:36 +00:00
fix(types): rename method to generatePublicKey
This commit is contained in:
parent
32ce02146c
commit
a50adb2fb9
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ export type Keypair = {
|
|||
|
||||
export type Wireguard = {
|
||||
generateKeypair: (self: {}) -> Keypair,
|
||||
generatePrivateKey: (self: {}, privateKey: { number }) -> string,
|
||||
generatePublicKey: (self: {}, privateKey: { number }) -> string,
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue