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

@videosdk.live/react

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@videosdk.live/react - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

19

dist/index.js

@@ -5,4 +5,22 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var React__default = _interopDefault(React);
var EventEmitter = _interopDefault(require('events'));
var js = require('@videosdk.live/js');
var eventPrifix = 'zn-meeting-react-sdk';
var events = {
'participant-joined': eventPrifix + "-participant-joined",
'participant-left': eventPrifix + "-participant-left",
'speaker-changed': eventPrifix + "-speaker-changed",
'presenter-changed': eventPrifix + "-presenter-changed",
'main-participant-changed': eventPrifix + "-main-participant-changed",
'entry-requested': eventPrifix + "-entry-requested",
'entry-responded': eventPrifix + "-entry-responded",
'recording-started': eventPrifix + "-recording-started",
'recording-stopped': eventPrifix + "-recording-stopped",
'chat-message': eventPrifix + "-chat-message",
'meeting-joined': eventPrifix + "-meeting-joined",
'meeting-left': eventPrifix + "-meeting-left"
};
var eventEmitter = new EventEmitter();
var MeetingProviderContex = React.createContext();

@@ -298,2 +316,3 @@ var useMeeting = function useMeeting(_temp) {

var join = function join() {
console.log(js.ZujoSDK);
var meeting = js.ZujoSDK.initMeeting(config);

@@ -300,0 +319,0 @@ setMeeting(meeting);

import React, { createContext, useEffect, useContext, useState, useRef } from 'react';
import EventEmitter from 'events';
import { ZujoSDK } from '@videosdk.live/js';
var eventPrifix = 'zn-meeting-react-sdk';
var events = {
'participant-joined': eventPrifix + "-participant-joined",
'participant-left': eventPrifix + "-participant-left",
'speaker-changed': eventPrifix + "-speaker-changed",
'presenter-changed': eventPrifix + "-presenter-changed",
'main-participant-changed': eventPrifix + "-main-participant-changed",
'entry-requested': eventPrifix + "-entry-requested",
'entry-responded': eventPrifix + "-entry-responded",
'recording-started': eventPrifix + "-recording-started",
'recording-stopped': eventPrifix + "-recording-stopped",
'chat-message': eventPrifix + "-chat-message",
'meeting-joined': eventPrifix + "-meeting-joined",
'meeting-left': eventPrifix + "-meeting-left"
};
var eventEmitter = new EventEmitter();
var MeetingProviderContex = createContext();

@@ -294,2 +312,3 @@ var useMeeting = function useMeeting(_temp) {

var join = function join() {
console.log(ZujoSDK);
var meeting = ZujoSDK.initMeeting(config);

@@ -296,0 +315,0 @@ setMeeting(meeting);

2

package.json
{
"name": "@videosdk.live/react",
"version": "0.0.10",
"version": "0.0.11",
"license": "ISC",

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

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