chore: updates ONVIF library and adds error listener
parent
a9b381909e
commit
c9da11fa0c
|
@ -49,6 +49,9 @@ module.exports = function (s, config, lang) {
|
|||
this.on('event', function (event) {
|
||||
handleEvent(event, monitorConfig, onvifEventLog);
|
||||
})
|
||||
this.on('eventsError', function (e) {
|
||||
onvifEventLog(`ONVIF Event Error`,e)
|
||||
})
|
||||
|
||||
})
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
"node-shinobi": "^1.0.4",
|
||||
"node-ssh": "^12.0.4",
|
||||
"nodemailer": "^6.7.1",
|
||||
"onvif": "^0.7.1",
|
||||
"onvif": "^0.8.0",
|
||||
"pam-diff": "^1.1.0",
|
||||
"path": "^0.12.7",
|
||||
"pipe2pam": "^0.6.2",
|
||||
|
@ -3702,11 +3702,6 @@
|
|||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
||||
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
||||
},
|
||||
"node_modules/lodash.get": {
|
||||
"version": "4.4.2",
|
||||
"resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
|
||||
"integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ=="
|
||||
},
|
||||
"node_modules/lodash.isequal": {
|
||||
"version": "4.5.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
|
||||
|
@ -4272,15 +4267,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/onvif": {
|
||||
"version": "0.7.4",
|
||||
"resolved": "https://registry.npmjs.org/onvif/-/onvif-0.7.4.tgz",
|
||||
"integrity": "sha512-VEUkBb0Fxe+EO8sX74x/qon1PbU1SfN+eSjiR+4LD6zhONa9pZuHlDA5drnhJsNlvSy+MwDW165T81nPCQwH5A==",
|
||||
"version": "0.8.0",
|
||||
"resolved": "https://registry.npmjs.org/onvif/-/onvif-0.8.0.tgz",
|
||||
"integrity": "sha512-voGchPfdU2Ah+8vdTN8LjMUvzun25B0NCSTDdOCBm8ytEkyOuFeZZ4AWZHVSywehKPaHP2IKbc5IAFJDXnlE4w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"lodash.get": "^4.4.2",
|
||||
"xml2js": "^0.6.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.0"
|
||||
"node": ">=14.0"
|
||||
}
|
||||
},
|
||||
"node_modules/pam-diff": {
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"node-shinobi": "^1.0.4",
|
||||
"node-ssh": "^12.0.4",
|
||||
"nodemailer": "^6.7.1",
|
||||
"onvif": "^0.7.1",
|
||||
"onvif": "^0.8.0",
|
||||
"pam-diff": "^1.1.0",
|
||||
"path": "^0.12.7",
|
||||
"pipe2pam": "^0.6.2",
|
||||
|
|
Loading…
Reference in New Issue