Skip to content

Commit

Permalink
Use new uuid require format
Browse files Browse the repository at this point in the history
  • Loading branch information
brycekahle committed Oct 12, 2017
1 parent 1e86fe5 commit 02c4dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# ***** END LICENSE BLOCK *****

stream = require('stream')
uuid = require('uuid')
uuidv4 = require('uuid/v4')
utils = require('./utils')

class Transport
Expand All @@ -21,7 +21,7 @@ closeFrame = (status, reason) ->

class SockJSConnection extends stream.Stream
constructor: (@_session) ->
@id = uuid.v4()
@id = uuidv4()
@headers = {}
@prefix = @_session.prefix

Expand Down

0 comments on commit 02c4dcd

Please sign in to comment.