Skip to content

magicbell@1.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Dec 08:40
· 670 commits to main since this release
2188278

Minor Changes

  • #39 68b2fbd Thanks @smeijer! - Add support for usage in browsers.

    • Stop tracking client-id. Client id was a random token stored on the filesystem, so we could identify origins across session.

    • Don't generate HMAC if no api-secret is provided, or if HMAC is already provided via request options.

    • Export createHmac, a util that generates MagicBell compatible HMAC digests.

      import { createHmac } from 'magicbell';
      createHmac(process.env.MAGICBELL_API_SECRET, user.email);