You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@veltdev/react

Package Overview
Dependencies
Maintainers
2
Versions
575
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veltdev/react - npm Package Compare versions

Comparing version
1.0.89
to
1.0.90
+3
-3
cjs/index.js

@@ -112,3 +112,3 @@ 'use strict';

var VELT_SDK_VERSION = '1.0.105';
var VELT_SDK_VERSION = '1.0.106';
var VELT_SDK_INIT_EVENT = 'onVeltInit';

@@ -325,3 +325,3 @@

var SnippylyPresence = function (props) {
var maxUsers = props.maxUsers, inactivityTime = props.inactivityTime, documentParams = props.documentParams, location = props.location, onUsersChanged = props.onUsersChanged, onPresenceUserChange = props.onPresenceUserChange, disableFlockNavigation = props.disableFlockNavigation, defaultFlockNavigation = props.defaultFlockNavigation, onNavigate = props.onNavigate, flockMode = props.flockMode;
var maxUsers = props.maxUsers, inactivityTime = props.inactivityTime, documentParams = props.documentParams, location = props.location, self = props.self, onUsersChanged = props.onUsersChanged, onPresenceUserChange = props.onPresenceUserChange, disableFlockNavigation = props.disableFlockNavigation, defaultFlockNavigation = props.defaultFlockNavigation, onNavigate = props.onNavigate, flockMode = props.flockMode;
var ref = React.useRef();

@@ -346,3 +346,3 @@ React.useEffect(function () {

}, []);
return (React__default["default"].createElement("velt-presence", { ref: ref, "flock-mode": [true, false].includes(flockMode) ? (flockMode ? 'true' : 'false') : undefined, "max-users": maxUsers, "inactivity-time": inactivityTime, "document-params": (typeof documentParams === 'object') ? JSON.stringify(documentParams) : (documentParams ? documentParams : undefined), "disable-flock-navigation": [true, false].includes(disableFlockNavigation) ? (disableFlockNavigation ? 'true' : 'false') : undefined, "default-flock-navigation": [true, false].includes(defaultFlockNavigation) ? (defaultFlockNavigation ? 'true' : 'false') : undefined, location: (typeof location === 'object') ? JSON.stringify(location) : (location ? location : undefined) }));
return (React__default["default"].createElement("velt-presence", { ref: ref, "flock-mode": [true, false].includes(flockMode) ? (flockMode ? 'true' : 'false') : undefined, "max-users": maxUsers, "inactivity-time": inactivityTime, "document-params": (typeof documentParams === 'object') ? JSON.stringify(documentParams) : (documentParams ? documentParams : undefined), "disable-flock-navigation": [true, false].includes(disableFlockNavigation) ? (disableFlockNavigation ? 'true' : 'false') : undefined, "default-flock-navigation": [true, false].includes(defaultFlockNavigation) ? (defaultFlockNavigation ? 'true' : 'false') : undefined, self: [true, false].includes(self) ? (self ? 'true' : 'false') : undefined, location: (typeof location === 'object') ? JSON.stringify(location) : (location ? location : undefined) }));
};

@@ -349,0 +349,0 @@

@@ -18,2 +18,3 @@ import React from 'react';

defaultFlockNavigation?: boolean;
self?: boolean;
onNavigate?: (pageInfo: {

@@ -20,0 +21,0 @@ path: string;

@@ -1,2 +0,2 @@

export declare const VELT_SDK_VERSION = "1.0.105";
export declare const VELT_SDK_VERSION = "1.0.106";
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";

@@ -104,3 +104,3 @@ import React, { createContext, useContext, useState, useEffect, useRef } from 'react';

var VELT_SDK_VERSION = '1.0.105';
var VELT_SDK_VERSION = '1.0.106';
var VELT_SDK_INIT_EVENT = 'onVeltInit';

@@ -317,3 +317,3 @@

var SnippylyPresence = function (props) {
var maxUsers = props.maxUsers, inactivityTime = props.inactivityTime, documentParams = props.documentParams, location = props.location, onUsersChanged = props.onUsersChanged, onPresenceUserChange = props.onPresenceUserChange, disableFlockNavigation = props.disableFlockNavigation, defaultFlockNavigation = props.defaultFlockNavigation, onNavigate = props.onNavigate, flockMode = props.flockMode;
var maxUsers = props.maxUsers, inactivityTime = props.inactivityTime, documentParams = props.documentParams, location = props.location, self = props.self, onUsersChanged = props.onUsersChanged, onPresenceUserChange = props.onPresenceUserChange, disableFlockNavigation = props.disableFlockNavigation, defaultFlockNavigation = props.defaultFlockNavigation, onNavigate = props.onNavigate, flockMode = props.flockMode;
var ref = useRef();

@@ -338,3 +338,3 @@ useEffect(function () {

}, []);
return (React.createElement("velt-presence", { ref: ref, "flock-mode": [true, false].includes(flockMode) ? (flockMode ? 'true' : 'false') : undefined, "max-users": maxUsers, "inactivity-time": inactivityTime, "document-params": (typeof documentParams === 'object') ? JSON.stringify(documentParams) : (documentParams ? documentParams : undefined), "disable-flock-navigation": [true, false].includes(disableFlockNavigation) ? (disableFlockNavigation ? 'true' : 'false') : undefined, "default-flock-navigation": [true, false].includes(defaultFlockNavigation) ? (defaultFlockNavigation ? 'true' : 'false') : undefined, location: (typeof location === 'object') ? JSON.stringify(location) : (location ? location : undefined) }));
return (React.createElement("velt-presence", { ref: ref, "flock-mode": [true, false].includes(flockMode) ? (flockMode ? 'true' : 'false') : undefined, "max-users": maxUsers, "inactivity-time": inactivityTime, "document-params": (typeof documentParams === 'object') ? JSON.stringify(documentParams) : (documentParams ? documentParams : undefined), "disable-flock-navigation": [true, false].includes(disableFlockNavigation) ? (disableFlockNavigation ? 'true' : 'false') : undefined, "default-flock-navigation": [true, false].includes(defaultFlockNavigation) ? (defaultFlockNavigation ? 'true' : 'false') : undefined, self: [true, false].includes(self) ? (self ? 'true' : 'false') : undefined, location: (typeof location === 'object') ? JSON.stringify(location) : (location ? location : undefined) }));
};

@@ -341,0 +341,0 @@

@@ -18,2 +18,3 @@ import React from 'react';

defaultFlockNavigation?: boolean;
self?: boolean;
onNavigate?: (pageInfo: {

@@ -20,0 +21,0 @@ path: string;

@@ -1,2 +0,2 @@

export declare const VELT_SDK_VERSION = "1.0.105";
export declare const VELT_SDK_VERSION = "1.0.106";
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";

@@ -206,2 +206,3 @@ /// <reference types="react" />

defaultFlockNavigation?: boolean;
self?: boolean;
onNavigate?: (pageInfo: {

@@ -208,0 +209,0 @@ path: string;

{
"name": "@veltdev/react",
"version": "1.0.89",
"version": "1.0.90",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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

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