Skip to content

Commit

Permalink
Merge pull request #90 from zoom/3.5.1
Browse files Browse the repository at this point in the history
3.5.1
  • Loading branch information
ylkjick532428 authored Mar 13, 2024
2 parents fa0a39a + 0254e11 commit 86519b4
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 55 deletions.
11 changes: 6 additions & 5 deletions CDN/corp.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ new WebpackDevServer(
port: 9999,
host: '0.0.0.0',
open: https ? 'https://localhost:9999/' : 'http://127.0.0.1:9999/',
https: https
? {
cert: fs.readFileSync('./localhost.crt'),
server: {
type: https ? 'https' : 'http',
options: {
cert: fs.readFileSync('./localhost.crt'),
key: fs.readFileSync('./localhost.key')
}
: false,
},
},
headers: {
'Cross-Origin-Resource-Policy': 'cross-origin'
},
Expand Down
15 changes: 8 additions & 7 deletions CDN/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/3.5.1/css/bootstrap.css" />

</head>

Expand Down Expand Up @@ -60,7 +61,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="3.1.6#CDN" maxLength="100"
<input type="text" name="display_name" id="display_name" value="3.5.1#CDN" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down Expand Up @@ -140,12 +141,12 @@
})
</script>

<script src="https://source.zoom.us/3.1.6/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-3.1.6.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/3.5.1/zoom-meeting-3.5.1.min.js"></script>
<script src="js/tool.js"></script>
<script src="js/vconsole.min.js"></script>
<script src="js/index.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion CDN/js/meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function websdkready() {
// it's option if you want to change the MeetingSDK-Web dependency link resources. setZoomJSLib must be run at first
// ZoomMtg.setZoomJSLib("https://source.zoom.us/{VERSION}/lib", "/av"); // default, don't need call it
if (meetingConfig.china)
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/3.1.6/lib", "/av"); // china cdn option
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/3.5.1/lib", "/av"); // china cdn option

ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
Expand Down
12 changes: 6 additions & 6 deletions CDN/meeting.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</head>

<body>
<script src="https://source.zoom.us/3.1.6/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-3.1.6.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/3.5.1/zoom-meeting-3.5.1.min.js"></script>
<script src="js/tool.js"></script>
<script src="js/vconsole.min.js"></script>
<script src="js/meeting.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions CDN/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "websdk-cdn",
"version": "3.1.6",
"version": "3.5.1",
"description": "Zoom sample app for MeetingSDK-Web client view",
"main": "index.js",
"scripts": {
Expand All @@ -11,8 +11,8 @@
"author": "Zoom Video Communications, Inc.",
"license": "SEE LICENSE IN LICENSE.md",
"devDependencies": {
"webpack": "^5.89.0",
"webpack": "^5.90.3",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1"
"webpack-dev-server": "^5.0.2"
}
}
8 changes: 4 additions & 4 deletions Components/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "websdk-component-demo",
"version": "3.1.6",
"version": "3.5.1",
"private": true,
"dependencies": {
"@zoom/meetingsdk": "3.1.6",
"jsrsasign": "^10.9.0",
"@zoom/meetingsdk": "3.5.1",
"jsrsasign": "11.1.0",
"react-scripts": "5.0.1",
"web-vitals": "3.5.0"
"web-vitals": "3.5.2"
},
"scripts": {
"preinstall": "npx force-resolutions || echo 1",
Expand Down
6 changes: 3 additions & 3 deletions Components/public/cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<meta charset="UTF-8" />
<title>WebSDK Embedded CDN demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://source.zoom.us/3.1.6/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.1.6/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.1.6/zoom-meeting-embedded-3.1.6.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.5.1/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.5.1/zoom-meeting-embedded-3.5.1.min.js"></script>
<script src="./tools/tool.js"></script>
<script src="./tools/vconsole.min.js"></script>
<script src="./tools/token-tool.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions Components/public/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<title>Zoom WebSDK Embedded Demo Nav</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/3.1.6/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/3.1.6/css/react-select.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/3.5.1/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/3.5.1/css/react-select.css" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="./tools/jsrsasign-all-min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="3.1.6#CDN" maxLength="100"
<input type="text" name="display_name" id="display_name" value="3.5.1#CDN" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down
14 changes: 0 additions & 14 deletions Components/src/config/dev.ts

This file was deleted.

3 changes: 2 additions & 1 deletion Local/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Zoom MeetingSDK Local</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="node_modules/@zoom/meetingsdk/dist/css/bootstrap.css" />

<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
Expand Down Expand Up @@ -58,7 +59,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="3.1.6#Local" maxLength="100"
<input type="text" name="display_name" id="display_name" value="3.5.1#Local" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion Local/js/meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));
// it's option if you want to change the MeetingSDK-Web dependency link resources. setZoomJSLib must be run at first
// ZoomMtg.setZoomJSLib("https://source.zoom.us/{VERSION}/lib", "/av"); // default, don't need call it
if (meetingConfig.china)
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/3.1.6/lib", "/av"); // china cdn option
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/3.5.1/lib", "/av"); // china cdn option

ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
Expand Down
14 changes: 7 additions & 7 deletions Local/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/coffeelint",
"name": "websdk-local",
"version": "3.1.6",
"version": "3.5.1",
"description": "Zoom sample app for MeetingSDK-Web client view",
"main": "index.js",
"scripts": {
Expand All @@ -20,11 +20,11 @@
"author": "Zoom Video Communications, Inc.",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@zoom/meetingsdk": "3.1.6",
"@zoom/meetingsdk": "3.5.1",
"lodash": "^4.17.21",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-redux": "7.2.9",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-redux": "8.1.2",
"redux": "4.2.1",
"redux-thunk": "2.4.2"
},
Expand Down Expand Up @@ -55,9 +55,9 @@
"url-loader": "4.1.1",
"webpack": "^5.89.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "^4.15.1"
"webpack-dev-server": "^5.0.2"
},
"resolutions": {
"browserify-sign": "4.2.2"
}
}
}

0 comments on commit 86519b4

Please sign in to comment.