Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cobrowse-sdk-react-native

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cobrowse-sdk-react-native - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

CHANGELOG.md

6

android/build/intermediates/res/symbol-table-with-package/debug/package-aware-r.txt

@@ -725,4 +725,4 @@ io.cobrowse.reactnative

id cobrowse_error_constraint_layout
id cobrowse_error_image
id cobrowse_error_title
id cobrowse_error_image2
id cobrowse_error_title2
id cobrowse_fragment_container

@@ -873,3 +873,2 @@ id cobrowse_manage_constraint_layout

layout activity_cobrowse
layout activity_error
layout dev_loading_view

@@ -879,2 +878,3 @@ layout fps_view

layout fragment_code_display
layout fragment_error
layout fragment_manage_session

@@ -881,0 +881,0 @@ layout notification_action

@@ -18,2 +18,10 @@ 'use strict';

static get SESSION_REQUESTED() {
return CobrowseIONative.SESSION_REQUESTED;
}
static handleSessionRequest(session) {
this.activateSession();
}
static addListener(event, cb) {

@@ -59,4 +67,4 @@ return emitter.addListener(event, cb);

static loadSession(codeOrId) {
return CobrowseIONative.loadSession(codeOrId);
static getSession(codeOrId) {
return CobrowseIONative.getSession(codeOrId);
}

@@ -68,1 +76,5 @@

}
CobrowseIO.addListener(CobrowseIO.SESSION_REQUESTED, (session) => {
CobrowseIO.onSessionRequest(session);
});

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

try {
if (this.props.code) {
const session = await CobrowseIO.loadSession(this.props.code);
const current = await CobrowseIO.currentSession();
if (current) this.setState({ session:current });
else {
const session = await CobrowseIO.createSession();
this.setState({ session });
} else {
const current = await CobrowseIO.currentSession();
if (current) this.setState({ session:current });
else {
const session = await CobrowseIO.createSession();
this.setState({ session });
}
}

@@ -67,0 +62,0 @@ } catch (error) {

{
"name": "cobrowse-sdk-react-native",
"version": "2.0.0",
"version": "2.1.0",
"description": "Cobrowse SDK for React Native",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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