Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Commit b0cd457

Browse files
committed
Fix require()
1 parent 830f8c3 commit b0cd457

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hyperswarm/peersocket.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
const EventEmitter = require('events')
2-
const crypto = require('crypto')
32
const createSwarm = require('@hyperswarm/network')
43
const lpstream = require('length-prefixed-stream')
54
const pump = require('pump')
6-
const sodium = require('sodium')
5+
const sodium = require('sodium-universal')
76
const schemas = require('./peersocket-schemas')
87
const {extractOrigin} = require('../../../lib/strings')
98

0 commit comments

Comments
 (0)