From 618127c6b9b876c0aceebd320b68558abfa4ab39 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 31 Mar 2024 16:16:10 +0530 Subject: [PATCH] chore(README): updated method signature for `generatePublicKey` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2cdb4f..b2feefb 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ print(wg:generatePublicKey(keypair.privateKey)) - #### Wireguard:generateKeypair() -> { publicKey: string, privateKey: string } > Generates a wireguard keypair consisting of a public and private key. -- #### Wireguard:generatePublicKey(privateKey: { number }) -> string +- #### Wireguard:generatePublicKey(privateKey: { number } | string) -> string > Generates a wireguard public key, given a private key. ## Development