Skip to content

Support for non-secure contexts

Latest
Compare
Choose a tag to compare
@tmcw tmcw released this 03 Jul 16:07
· 4 commits to main since this release
450fb92

Previously, this module used crypto.randomUUID() to generate a session ID. That API is only available in secure contexts (HTTPS). This release adds a fallback so that the module works in non-secure contexts (http) too. Thanks @mscolnick for this fix!