SubtleCrypto required a secure origin (e.g. https, localhost) in most browsers. While testing I ran in to an issue where SubtleCrypto was not available.
Currently this error is being thrown:
TypeError: r2(...).createHash is not a function
This might be an edge case as most testing happens on localhost, and production is hopefully always https, but I think the library should handle this - at least with a usable error.
SubtleCrypto required a secure origin (e.g. https, localhost) in most browsers. While testing I ran in to an issue where SubtleCrypto was not available.
Currently this error is being thrown:
This might be an edge case as most testing happens on localhost, and production is hopefully always https, but I think the library should handle this - at least with a usable error.