Skip to content

v1.4.1

Compare
Choose a tag to compare
@dev-xo dev-xo released this 17 Dec 18:57
· 55 commits to main since this release

What's Changed

Implemented a solution for generating magic links using the request's origin instead of the host in the request headers when hostUrl is not provided. This addresses issues in environments like Cloudflare local development (wrangler/miniflare), ensuring the correct cookies are used. See #29 for more details.

Refactor 🛠️

  • Use request origin for magic link if hostUrl is not provided.

Chores 👷‍♂️

  • Minor test name rearrangement.
  • Remove getHostUrl and its respective tests, along with HOST constant and its calls in test headers.
  • Bumped module version to v1.4.1.

Special thanks to @mw10013 for issuing this and for taking the time to look into it!

That's all for this release. Happy coding, folks!