Socket
Socket
Sign inDemoInstall

opentok-react-native

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentok-react-native - npm Package Compare versions

Comparing version 0.3.6 to 0.4.0

2

package.json
{
"name": "opentok-react-native",
"version": "0.3.6",
"version": "0.4.0",
"description": "React Native components for OpenTok iOS and Android SDKs",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -51,12 +51,12 @@ import React, { Component } from 'react';

OT.destroyPublisher((error) => {
if (!error) {
if (error) {
handleError(error);
} else {
this.sessionConnected.remove();
this.streamDestroyed.remove();
OT.removeJSComponentEvents(this.componentEventsArray);
const events = sanitizePublisherEvents(this.props.eventHandlers);
removeNativeEvents(events);
} else {
handleError(error);
}
});
OT.removeJSComponentEvents(this.componentEventsArray);
this.sessionConnected.remove();
}

@@ -63,0 +63,0 @@ sessionConnectedHandler = () => {

@@ -61,7 +61,3 @@ import React, { Component, Children, cloneElement } from 'react';

OT.disconnectSession((disconnectError) => {
if (!disconnectError) {
this.setState({
sessionInfo: null,
});
} else {
if (disconnectError) {
handleError(disconnectError);

@@ -68,0 +64,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc