v1.6.0
Hello again, we are releasing new features and improvements.
Changes:
- 🐞 Any platform can now generate keys, a separate addon has been created.
- 🐞 We've updated our
tests/
, it covers the new systems, and some features that were missing from the tests. - 🎉 Hello Windows and MacOS for pre-compiled addons.
- 👀 We are rewriting
utils.config
and we removed a lot of lines, we rewroteparseConfig
and renamedwriteConfig
tocreateConfig
and rewrote it too. - 👀 We've changed a few things in
src/index
that might break some things:- It has been renamed and changes the return of
showAll
andshow
, now it is calledlistDevices
and returns an array with the names of the wireguard interfaces. - Now if you want to get the data from the Wireguard interface use
parseWgDevice
, I recommend usinglistDevices
to get the Wireguard interfaces. - We changed the
addDevice
to return avoid
if successful, otherwise it returns athrow Error
. peerOperation
has been deprecated and removed.- If you want to remove an interface from Wireguard use
removeInterface
.
- It has been renamed and changes the return of