Comparing version 0.13.0 to 0.13.1
@@ -6,2 +6,3 @@ 'use strict'; | ||
var Events = _interopDefault(require('./Events')); | ||
var Client = _interopDefault(require('isomorphic-ws')); | ||
@@ -105,17 +106,2 @@ function Endpoint (ws, booth) | ||
// TODO: fix usage | ||
// https://github.com/rollup/rollup-plugin-node-resolve/issues/177 | ||
// import Client from 'isomorphic-ws' | ||
// var Client = window.WebSocket | ||
if (typeof window !== 'undefined') | ||
{ | ||
var Client = window.WebSocket; | ||
} | ||
else | ||
{ | ||
var Client = require('isomorphic-ws'); | ||
} | ||
function Ws (ws) | ||
@@ -122,0 +108,0 @@ { |
@@ -5,7 +5,7 @@ 'use strict'; | ||
var Emitter = _interopDefault(require('./nanoevents')); | ||
var Emitter = _interopDefault(require('./Emitter')); | ||
function Events () | ||
{ | ||
var emitter = new Emitter; | ||
var emitter = Emitter(); | ||
@@ -12,0 +12,0 @@ var events = |
{ | ||
"name": "booth", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"license": "ISC", | ||
@@ -23,3 +23,4 @@ "author": "Strider <strange.transistor@gmail.com>", | ||
"Endpoint.js", | ||
"nanoevents.js" | ||
"Emitter.js", | ||
"Endpoint*.js" | ||
], | ||
@@ -26,0 +27,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7972
9
281
0