1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
d12809e15d Fixed typo 2021-02-08 17:01:30 +01:00
7a093c2c85 Fixed typo 2021-02-08 17:00:57 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const jwt = require('@tsndr/cloudflare-worker-jwt')
const token = jwt.sign({ name: 'John Doe', email: 'john.doe@gmail.com' }, 'secret')
// Verifing token
const isValid = jwt.verify(token, secret)
const isValid = jwt.verify(token, 'secret')
// Decoding token
const payload = jwt.decode(token)

View File

@@ -1,6 +1,6 @@
{
"name": "@tsndr/cloudflare-worker-jwt",
"version": "1.0.5",
"version": "1.0.6",
"description": "A lightweight JWT implementation with ZERO dependencies for Cloudflare Worker",
"main": "index.js",
"scripts": {