1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
7299ea0614 update package.json 2023-11-14 12:09:51 +01:00
7004cd16ed clean up 2023-11-14 12:09:38 +01:00
2 changed files with 5 additions and 2 deletions

View File

@@ -2,8 +2,12 @@
"name": "@tsndr/cloudflare-worker-jwt",
"version": "2.2.9",
"description": "A lightweight JWT implementation with ZERO dependencies for Cloudflare Worker",
"main": "index.js",
"type": "module",
"exports": "./index.js",
"types": "index.d.ts",
"engine": {
"node": ">=18"
},
"scripts": {
"build": "tsc",
"test": "jest"

View File

@@ -1,4 +1,3 @@
import crypto from 'node:crypto'
Object.defineProperty(global, 'crypto', { value: { subtle: crypto.webcrypto.subtle }})