diff --git a/package-lock.json b/package-lock.json index 1cde174..13b66e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1981,9 +1981,9 @@ "integrity": "sha512-nWev387pHxeBHtOu0EvRTVQ0/JeJL44Ew0PzQaiqHsC5mghkJ6ok7z22nk9nmuZ7lONxGJmW7CHT8X8lyviZJg==" }, "@ucap/protocol": { - "version": "0.0.16", - "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol/-/protocol-0.0.16.tgz", - "integrity": "sha512-Ly99SjR550YFr9NEJ2LrJ0TvmzjDI3V7fsHyUt6ZPmwMOkVY99KA0t6CteDUa5fWbUCLoM38ZI68venAQlstUQ==" + "version": "0.0.17", + "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol/-/protocol-0.0.17.tgz", + "integrity": "sha512-ax3vOvVmoynxZlqtl5oNqrsbbOJJ5BQt1k9qqPuDomtXlHpYLS1eVdXPHzICaP4ysZwtcUK4Hd2xGIb2Pe8j5Q==" }, "@ucap/protocol-authentication": { "version": "0.0.5", @@ -2026,9 +2026,9 @@ "integrity": "sha512-IuFzc8BTGt3CegTm8DNBDa65/hDnFYaUehkv+bbXvsebUUwy8ttpIVm1yi57jl4AQCyYLqxEW0YotCxnICOARA==" }, "@ucap/protocol-ping": { - "version": "0.0.5", - "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol-ping/-/protocol-ping-0.0.5.tgz", - "integrity": "sha512-lr/NZYyPL52xWnEWDq6ex6X+BdpELBn8j66/kFeoJgftLnv0zsWJh47948hbpLlrolE+wHd8Ncb1fw3bbjhCjw==" + "version": "0.0.6", + "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol-ping/-/protocol-ping-0.0.6.tgz", + "integrity": "sha512-CF3hes/Lv0syVSXfN7QkfUIEf1i9yhVaq4THlAR4Bxt+vW1LrXz+t16VDEn7ehBSh+luEKGSkkMEZAG16wu4Rw==" }, "@ucap/protocol-query": { "version": "0.0.5", diff --git a/package.json b/package.json index 0b94e33..c1ea20a 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@ucap/ng-ui-authentication": "~0.0.15", "@ucap/ng-ui-skin-default": "~0.0.1", "@ucap/pi": "~0.0.5", - "@ucap/protocol": "~0.0.16", + "@ucap/protocol": "~0.0.17", "@ucap/protocol-authentication": "~0.0.5", "@ucap/protocol-buddy": "~0.0.5", "@ucap/protocol-event": "~0.0.5", @@ -88,7 +88,7 @@ "@ucap/protocol-info": "~0.0.5", "@ucap/protocol-inner": "~0.0.4", "@ucap/protocol-option": "~0.0.7", - "@ucap/protocol-ping": "~0.0.5", + "@ucap/protocol-ping": "~0.0.6", "@ucap/protocol-query": "~0.0.5", "@ucap/protocol-room": "~0.0.5", "@ucap/protocol-service": "~0.0.4", diff --git a/src/app/services/app.service.ts b/src/app/services/app.service.ts index d171d9b..2ffcb1b 100644 --- a/src/app/services/app.service.ts +++ b/src/app/services/app.service.ts @@ -149,6 +149,9 @@ export class AppService { const initProtocol = new Promise(async (resolve, reject) => { try { this.protocolService.connected$.subscribe((connected) => { + if (undefined === connected) { + return; + } if (connected) { this.appAuthenticationService .createSession()