use websocket-polyfill.

This commit is contained in:
fiatjaf 2021-02-14 22:44:23 -03:00
parent 4c7d53421d
commit d355bbead4
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,8 @@
},
"dependencies": {
"buffer": "^6.0.3",
"noble-secp256k1": "^1.1.1"
"noble-secp256k1": "^1.1.1",
"websocket-polyfill": "^0.0.3"
},
"keywords": [
"decentralization",

View File

@ -1,3 +1,5 @@
import 'websocket-polyfill'
import {verifySignature} from './event'
export function normalizeRelayURL(url) {