Commit 6e131092 authored by Muhammadali's avatar Muhammadali

update-

parent cd4254b7
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.4.9", "version": "4.5.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -322,7 +322,7 @@ export class BoxDialer { ...@@ -322,7 +322,7 @@ export class BoxDialer {
sipRegister = ({ number, secret, wsurl, isIce }) => { sipRegister = ({ number, secret, wsurl, isIce }) => {
try { try {
if (window.alovoice_setversion) { if (window?.alovoice_setversion && packageJson?.version) {
window.alovoice_setversion(packageJson?.version); window.alovoice_setversion(packageJson?.version);
} }
if (this.options) { if (this.options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment