Closed bestickley closed 1 year ago
Alternatively, the TS types could be updated to make this property required in the Issuer
constructor
Currently this.default_max_age fails
How?
this allows it to not be set.
This PR actually doesn't change anything, other than break compatibility with the supported nodejs versions.
sorry, @panva. I was misinterpreting the error message I was seeing when I suggested this change. Appreciate your discernment and maintaining this awesome library!
The docs say that
default_max_age
is an optional Client constructor property. However, it is used as if it is a required field. Currentlythis.default_max_age
fails ifdefault_max_age
property is not set so this allows it to not be set.