Library does not work with the new independent "joi" library which has now split from @hapi/joi.
This lib has dependencies on @hapi/joi and @hapi/boom.
The @hapi/joi dependency in particular causes a collision when using the new joi library as joi detects two versions and throws an exception.
Solution: Instead set both of the libraries as peer dependencies for maximum flexibility and reference "joi" as opposed to "@hapi/joi" for future versions.
Library does not work with the new independent "joi" library which has now split from @hapi/joi.
This lib has dependencies on @hapi/joi and @hapi/boom.
The @hapi/joi dependency in particular causes a collision when using the new joi library as joi detects two versions and throws an exception.
Solution: Instead set both of the libraries as peer dependencies for maximum flexibility and reference "joi" as opposed to "@hapi/joi" for future versions.