chore(README): updated method signature for generatePublicKey

This commit is contained in:
Erica Marigold 2024-03-31 16:16:10 +05:30 committed by GitHub
parent f408f1559b
commit 618127c6b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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