v6.2.1
Bug Fixes:
- undo recent addition of
env
export.
- undo recent addition of
v6.2.0
New Features:
access your environment variables completely stateless.
import { env } from 'https://deno.gg/darkflare@v6.2.0' export function func() { console.log(env) }
Bug Fixes:
no more usage of built-in Deno functions.
https://esm.sh/file-type@18.2.0
seemed to cause some unexpected imports.
v6.1.0
New Features:
exp
andnbf
options in jwt’ssign
method now automatically determine the seconds elapsed since midnight, January 1, 1970 UTC.
v6.0.1
Bug Fixes:
- cli should now work as expected
v6.0.0
Breaking Changes:
removed
Store
utilitywe recommend to use e.g. flare as an alternative.
removed
Webhook
utilityyou should know how to send a webhook. so this utility is pretty useless.
renamed
deploycommand to publishindex routes must now be named
mod.ts
(following Deno’s naming convention)jwt module now uses djwt under the hood
the module exports only two methods now:
sign
(create a new token) andverify
(validate tokens and return payload if it’s valid)
Bug Fixes:
realm-web
is only included in the bundle if you’re actually using it
New Features:
added
darkflare/authenticator
modulea easy and well-tested module for creating and validating one time passwords.
added
encrypt
anddecrypt
functionsencrypt/decrypt text using AES-GCM SHA-256.