speakeasy.totp.verify({
secret: undefined, // should have been a string
encoding: 'ascii',
token: "123456"
}
And I had trouble debugging my program - the function spent a lot of time computing and never returned. I think a better behavior would be to check the validity of inputs and throwing errors when invalid options are passed.
Short issue here!
I inadvertently tried to calculate
And I had trouble debugging my program - the function spent a lot of time computing and never returned. I think a better behavior would be to check the validity of inputs and throwing errors when invalid options are passed.