diff --git a/package-lock.json b/package-lock.json index cb58bbe..bf90320 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ulms/api-clients", - "version": "7.2.1", + "version": "7.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ulms/api-clients", - "version": "7.2.1", + "version": "7.3.0", "license": "MIT", "dependencies": { "axios": "1.6.2", diff --git a/package.json b/package.json index 4aba8e0..e90fc40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/api-clients", - "version": "7.2.1", + "version": "7.3.0", "description": "JavaScript API clients for ULMS platform", "keywords": [], "homepage": "https://github.com/foxford/ulms-api-clients-js#readme", diff --git a/src/redux/middleware.js b/src/redux/middleware.js index f8d9eb9..47a7e63 100644 --- a/src/redux/middleware.js +++ b/src/redux/middleware.js @@ -120,6 +120,10 @@ async function startPresenceFlow( }) } + if (trackError) { + trackError(reason) + } + debug('[flow] disconnected, reason:', reason) dispatch({ type: PRESENCE_UPDATE,