From 225200a54796f6ac409a9891e53ab7abb45a7549 Mon Sep 17 00:00:00 2001 From: Jeff Galbraith Date: Thu, 25 Feb 2021 14:20:02 -0700 Subject: [PATCH 1/2] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f50b449e..f91ea450 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onvif-nvt", - "version": "0.3.1", + "version": "0.3.2", "description": "Wrapper for ONVIF spec to control NVT (Network Video Transitter) devices.", "main": "./dist/onvif-nvt.js", "scripts": { From e69ed16009d714b37802e3f92ce0e55228f6a367 Mon Sep 17 00:00:00 2001 From: Jeff Galbraith Date: Thu, 25 Feb 2021 14:20:29 -0700 Subject: [PATCH 2/2] chore: build docs --- dist/modules/events.js | 8 ++++++-- docs/Access.html | 2 +- docs/AccessRules.html | 2 +- docs/Action.html | 2 +- docs/Analytics.html | 2 +- docs/Camera.html | 2 +- docs/Core.html | 2 +- docs/Credential.html | 2 +- docs/DeviceIO.html | 2 +- docs/Discovery.html | 2 +- docs/Display.html | 2 +- docs/Door.html | 2 +- docs/Events.html | 12 ++++++------ docs/Imaging.html | 2 +- docs/Media.html | 2 +- docs/Media2.html | 2 +- docs/OnvifManager.html | 2 +- docs/Ptz.html | 2 +- docs/Receiver.html | 2 +- docs/Recording.html | 2 +- docs/Replay.html | 2 +- docs/Schedule.html | 2 +- docs/Search.html | 2 +- docs/Security.html | 2 +- docs/Snapshot.html | 2 +- docs/Soap.html | 2 +- docs/Thermal.html | 2 +- docs/VideoAnalytics.html | 2 +- docs/camera.js.html | 4 ++-- docs/global.html | 2 +- docs/index.html | 2 +- docs/modules_access.js.html | 2 +- docs/modules_accessrules.js.html | 2 +- docs/modules_action.js.html | 2 +- docs/modules_analytics.js.html | 2 +- docs/modules_core.js.html | 2 +- docs/modules_credential.js.html | 2 +- docs/modules_deviceio.js.html | 2 +- docs/modules_discovery.js.html | 2 +- docs/modules_display.js.html | 2 +- docs/modules_door.js.html | 2 +- docs/modules_events.js.html | 10 +++++++--- docs/modules_imaging.js.html | 2 +- docs/modules_media.js.html | 2 +- docs/modules_media2.js.html | 2 +- docs/modules_ptz.js.html | 2 +- docs/modules_receiver.js.html | 2 +- docs/modules_recording.js.html | 2 +- docs/modules_replay.js.html | 2 +- docs/modules_schedule.js.html | 2 +- docs/modules_search.js.html | 2 +- docs/modules_security.js.html | 2 +- docs/modules_thermal.js.html | 2 +- docs/modules_videoanalytics.js.html | 2 +- docs/onvif-nvt.js.html | 2 +- docs/utils_snapshot.js.html | 2 +- docs/utils_soap.js.html | 2 +- 57 files changed, 74 insertions(+), 66 deletions(-) diff --git a/dist/modules/events.js b/dist/modules/events.js index 7441f1b5..ff14686f 100644 --- a/dist/modules/events.js +++ b/dist/modules/events.js @@ -249,8 +249,12 @@ class Events extends EventEmitter { let soapBody = ''; soapBody = ''; - soapBody += 'PT1M'; - soapBody += '99'; + soapBody += ''; + soapBody += timeout; + soapBody += ''; + soapBody += ''; + soapBody += messageLimit.toString(); + soapBody += ''; soapBody += ''; this.buildRequest('PullMessages', soapBody, subscriptionId).then(results => { resolve(results); diff --git a/docs/Access.html b/docs/Access.html index d0d9effe..26abea08 100644 --- a/docs/Access.html +++ b/docs/Access.html @@ -549,7 +549,7 @@

Home

Classes