opentok-react
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -99,7 +99,10 @@ 'use strict'; | ||
} | ||
var properties = this.props.properties || {}; | ||
var container = void 0; | ||
if (properties.insertDefaultUI !== false) { | ||
container = document.createElement('div'); | ||
container.setAttribute('class', 'OTSubscriberContainer'); | ||
this.node.appendChild(container); | ||
} | ||
var container = document.createElement('div'); | ||
container.setAttribute('class', 'OTSubscriberContainer'); | ||
this.node.appendChild(container); | ||
this.subscriberId = (0, _uuid2.default)(); | ||
@@ -106,0 +109,0 @@ var subscriberId = this.subscriberId; |
{ | ||
"name": "opentok-react", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "React components for OpenTok.js", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"types": "tsd types", | ||
"test": "karma start", | ||
@@ -44,2 +45,3 @@ "unit": "karma start --single-run", | ||
"devDependencies": { | ||
"@types/react": "^16.9.34", | ||
"babel-cli": "^6.18.0", | ||
@@ -73,2 +75,3 @@ "babel-eslint": "^7.1.1", | ||
"travis-multirunner": "^4.5.0", | ||
"tsd": "^0.11.0", | ||
"watchify": "^3.8.0" | ||
@@ -80,3 +83,4 @@ }, | ||
] | ||
} | ||
}, | ||
"types": "./types/index.d.ts" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
297338
17
1511
31
1