From 8a53e00f24122b76631e118a2199bec7609ed1e8 Mon Sep 17 00:00:00 2001 From: richard-loafle <44828666+richard-loafle@users.noreply.github.com> Date: Thu, 16 Apr 2020 13:40:06 +0900 Subject: [PATCH] bug fixed --- package-lock.json | 12 ++++++------ package.json | 4 ++-- src/app/resolvers/app-session.resolver.ts | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index e9e6c3c..1cde174 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1981,9 +1981,9 @@ "integrity": "sha512-nWev387pHxeBHtOu0EvRTVQ0/JeJL44Ew0PzQaiqHsC5mghkJ6ok7z22nk9nmuZ7lONxGJmW7CHT8X8lyviZJg==" }, "@ucap/protocol": { - "version": "0.0.13", - "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol/-/protocol-0.0.13.tgz", - "integrity": "sha512-S7RM3ht24ZEp1qNh4fEupgSV1U2JLDqltEt2Xpzk/1UnwLK+O4h1QVSBmfONErP2Ms2tVi3ZXiihWtDlKQ1v9g==" + "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==" }, "@ucap/protocol-authentication": { "version": "0.0.5", @@ -2061,9 +2061,9 @@ "integrity": "sha512-PVrQJC5g+eywOPQ8BATnlr3UDLXW7HDZpNuBCablvtEcylIIIbP0czsZsEWGuLCJqSQ9pZy/sEQDbGiM7yTpmQ==" }, "@ucap/web-socket": { - "version": "0.0.9", - "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/web-socket/-/web-socket-0.0.9.tgz", - "integrity": "sha512-X3KABxW1lLMbLOkdBt59WuT4mMfsCki7fFiQIIn9QX/8WlJtdHOV8/AA7WvlmccaxSG8Y0AjSs9AgO0bmUCI9A==" + "version": "0.0.10", + "resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/web-socket/-/web-socket-0.0.10.tgz", + "integrity": "sha512-8UI31FJTbh6VpQSyMNpyZ0sHW89rdsvponHd7GebILQGzxmu2tnzxAGI+jLt2RDZTsI4tANVsKWMqpBezKqGQw==" }, "@ucap/web-storage": { "version": "0.0.5", diff --git a/package.json b/package.json index ff9bcb9..0b94e33 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.13", + "@ucap/protocol": "~0.0.16", "@ucap/protocol-authentication": "~0.0.5", "@ucap/protocol-buddy": "~0.0.5", "@ucap/protocol-event": "~0.0.5", @@ -95,7 +95,7 @@ "@ucap/protocol-status": "~0.0.5", "@ucap/protocol-sync": "~0.0.4", "@ucap/protocol-umg": "~0.0.5", - "@ucap/web-socket": "~0.0.9", + "@ucap/web-socket": "~0.0.10", "@ucap/web-storage": "~0.0.5", "autolinker": "^3.13.0", "axios": "^0.19.2", diff --git a/src/app/resolvers/app-session.resolver.ts b/src/app/resolvers/app-session.resolver.ts index 8350132..dd33a37 100644 --- a/src/app/resolvers/app-session.resolver.ts +++ b/src/app/resolvers/app-session.resolver.ts @@ -119,8 +119,6 @@ export class AppSessionResolver implements Resolve { }) ); - this.protocolService.connect(versionInfo2Res.serverIp); - const destroy$ = new Subject(); this.sessionStorageService.changed$ .pipe( @@ -140,6 +138,8 @@ export class AppSessionResolver implements Resolve { reject(error); } ); + + this.protocolService.connect(versionInfo2Res.serverIp); }, (error) => { reject(error);