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

connectycube

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connectycube - npm Package Compare versions

Comparing version 3.20.0 to 3.20.1

2

lib/cubeInternalUtils.js

@@ -294,3 +294,3 @@ const config = require('./cubeConfig')

static cloneObject(obj, escapeNull = false) {
static cloneObject(obj = {}, escapeNull = false) {
try {

@@ -297,0 +297,0 @@ const json = JSON.stringify(obj)

@@ -769,8 +769,10 @@ const config = require('../cubeConfig');

function _prepareExtension(extension) {
function _prepareExtension(extension = {}) {
const ext = {userInfo: extension};
try {
if (({}).toString.call(extension) === '[object Object]') {
return {userInfo: Utils.cloneObject(extension, true)};
if (Utils.isObject(extension)) {
ext.userInfo = Utils.cloneObject(extension, true)
} else {
throw new Error('Invalid type of "extension" object.');
Helpers.traceWarning("Ignore 'extension', must be an object.");
}

@@ -777,0 +779,0 @@ } catch (err) {

{
"name": "connectycube",
"description": "ConnectyCube chat and video chat JavaScript SDK",
"version": "3.20.0",
"version": "3.20.1",
"homepage": "https://developers.connectycube.com/reactnative",

@@ -84,3 +84,3 @@ "main": "lib/cubeMain.js",

},
"gitHead": "3a84d71cea6fcdb19cd5b9969447e4e67e5fd5b4"
"gitHead": "ead56a2e79a6758dee0c70455166c1a5d1c25789"
}

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

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