Closed MitchellJeppson closed 2 months ago
Current return type: {:ok, String.t()} | {:error, String.t()}, but in the success case only the string is returned. I've updated the spec to reflect that. This is breaking dialyzer checks in our use of Paseto.generate_token/4.
{:ok, String.t()} | {:error, String.t()}
I'll get a patch version released sometime tomorrow. thanks for the PR
https://hex.pm/packages/paseto/1.4.1
Current return type:
{:ok, String.t()} | {:error, String.t()}
, but in the success case only the string is returned. I've updated the spec to reflect that. This is breaking dialyzer checks in our use of Paseto.generate_token/4.