[mirotalk] - fix wb clear, update dep

This commit is contained in:
Miroslav Pejic
2025-12-04 11:43:47 +01:00
parent d167d1572c
commit 9a177c3d1b
7 changed files with 33 additions and 25 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# ====================================================
# MiroTalk P2P v.1.6.71 - Environment Configuration
# MiroTalk P2P v.1.6.72 - Environment Configuration
# ====================================================
# App environment
+1 -1
View File
@@ -2,7 +2,7 @@
/**
* ==============================================
* MiroTalk P2P v.1.6.71 - Configuration File
* MiroTalk P2P v.1.6.72 - Configuration File
* ==============================================
*
* Branding and customizations require a license:
+1 -1
View File
@@ -45,7 +45,7 @@ dependencies: {
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.71
* @version 1.6.72
*
*/
+15 -15
View File
@@ -1,12 +1,12 @@
{
"name": "mirotalk",
"version": "1.6.71",
"version": "1.6.72",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "mirotalk",
"version": "1.6.71",
"version": "1.6.72",
"license": "AGPL-3.0",
"dependencies": {
"@mattermost/client": "11.1.0",
@@ -28,7 +28,7 @@
"httpolyglot": "0.1.2",
"js-yaml": "^4.1.1",
"jsdom": "^27.2.0",
"jsonwebtoken": "^9.0.2",
"jsonwebtoken": "^9.0.3",
"nodemailer": "^7.0.11",
"openai": "^6.9.1",
"qs": "^6.14.0",
@@ -4321,12 +4321,12 @@
"license": "MIT"
},
"node_modules/jsonwebtoken": {
"version": "9.0.2",
"resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz",
"integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==",
"version": "9.0.3",
"resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz",
"integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==",
"license": "MIT",
"dependencies": {
"jws": "^3.2.2",
"jws": "^4.0.1",
"lodash.includes": "^4.3.0",
"lodash.isboolean": "^3.0.3",
"lodash.isinteger": "^4.0.4",
@@ -4349,23 +4349,23 @@
"license": "MIT"
},
"node_modules/jwa": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
"integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz",
"integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==",
"license": "MIT",
"dependencies": {
"buffer-equal-constant-time": "1.0.1",
"buffer-equal-constant-time": "^1.0.1",
"ecdsa-sig-formatter": "1.0.11",
"safe-buffer": "^5.0.1"
}
},
"node_modules/jws": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
"integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz",
"integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==",
"license": "MIT",
"dependencies": {
"jwa": "^1.4.1",
"jwa": "^2.0.1",
"safe-buffer": "^5.0.1"
}
},
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.6.71",
"version": "1.6.72",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
@@ -60,7 +60,7 @@
"httpolyglot": "0.1.2",
"js-yaml": "^4.1.1",
"jsdom": "^27.2.0",
"jsonwebtoken": "^9.0.2",
"jsonwebtoken": "^9.0.3",
"nodemailer": "^7.0.11",
"openai": "^6.9.1",
"qs": "^6.14.0",
+1 -1
View File
@@ -77,7 +77,7 @@ let brand = {
},
about: {
imageUrl: '../images/mirotalk-logo.gif',
title: 'WebRTC P2P v1.6.71',
title: 'WebRTC P2P v1.6.72',
html: `
<button
id="support-button"
+12 -4
View File
@@ -15,7 +15,7 @@
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.71
* @version 1.6.72
*
*/
@@ -12042,6 +12042,15 @@ function wbCanvasRedo() {
}
}
/**
* Whiteboard: clear
*/
function wbCanvasClear() {
wbCanvas.clear();
wbCanvas.renderAll();
setColor(whiteboardGridBtn, 'white');
}
/**
* Whiteboard: save as images png
*/
@@ -12192,8 +12201,7 @@ function handleWhiteboardAction(config, logMe = true) {
wbCanvasRedo();
break;
case 'clear':
wbCanvas.clear();
wbCanvas.renderAll();
wbCanvasClear();
break;
case 'toggle':
toggleWhiteboard();
@@ -13223,7 +13231,7 @@ function showAbout() {
Swal.fire({
background: swBg,
position: 'center',
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.71',
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.72',
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
customClass: { image: 'img-about' },
html: `