@videosdk.live/react-sdk
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,3 +6,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var EventEmitter = _interopDefault(require('events')); | ||
var js = require('@videosdk.live/js'); | ||
var jsSdk = require('@videosdk.live/js-sdk'); | ||
@@ -316,4 +316,4 @@ var eventPrifix = 'zn-meeting-react-sdk'; | ||
var join = function join() { | ||
console.log(js.ZujoSDK); | ||
var meeting = js.ZujoSDK && js.ZujoSDK.initMeeting(config); | ||
console.log(jsSdk.ZujoSDK); | ||
var meeting = jsSdk.ZujoSDK && jsSdk.ZujoSDK.initMeeting(config); | ||
setMeeting(meeting); | ||
@@ -463,3 +463,3 @@ var localParticipant = meeting.localParticipant, | ||
var initSDK = function initSDK() { | ||
js.ZujoSDK.config(token); | ||
jsSdk.ZujoSDK.config(token); | ||
@@ -466,0 +466,0 @@ if (joinWithoutUserInteraction) { |
import React, { createContext, useEffect, useContext, useState, useRef } from 'react'; | ||
import EventEmitter from 'events'; | ||
import { ZujoSDK } from '@videosdk.live/js'; | ||
import { ZujoSDK } from '@videosdk.live/js-sdk'; | ||
@@ -5,0 +5,0 @@ var eventPrifix = 'zn-meeting-react-sdk'; |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"license": "ISC", | ||
@@ -50,4 +50,3 @@ "main": "dist/index.js", | ||
"npm run prettier -- ", | ||
"npm run lint -- ", | ||
"git add" | ||
"git add ." | ||
] | ||
@@ -54,0 +53,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135630