bug fixed

This commit is contained in:
richard-loafle 2020-04-20 15:18:08 +09:00
parent efe731487a
commit ed5e5df081
7 changed files with 262 additions and 11 deletions

242
package-lock.json generated
View File

@ -2861,6 +2861,12 @@
"defer-to-connect": "^1.0.1"
}
},
"@tokenizer/token": {
"version": "0.1.1",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@tokenizer/token/-/token-0.1.1.tgz",
"integrity": "sha512-XO6INPbZCxdprl+9qa/AAbFFOMzzwqYxpjPgLICrMD6C2FCw6qfJOPcBk6JqqPLSaZ/Qx87qn4rpPmPMwaAK6w==",
"dev": true
},
"@types/anymatch": {
"version": "1.3.1",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@types/anymatch/-/anymatch-1.3.1.tgz",
@ -3220,6 +3226,190 @@
"integrity": "sha512-V9wcOFQ+Vt6k5Fn3SzGgvenwYwOkAzbgIeBL53733lT/3FYuv5uauxFEn2YVnR74LsJ/+8p6p8Ab0nIqKweYQA==",
"dev": true
},
"@ucap/ng-api-common": {
"version": "file:pack/ucap-ng-api-common-0.0.1.tgz",
"integrity": "sha512-3We+eoPG7fWlX1U1zM9r9JoLcxQkf1Ldelii2fWEor4Rd006fAev8N1mE0+fmBk/n4xcUksvwL/sPYa7reYZpA==",
"dev": true
},
"@ucap/ng-api-external": {
"version": "file:pack/ucap-ng-api-external-0.0.1.tgz",
"integrity": "sha512-DIjfB3KQURj1EQkPbEVf5mLMXc1SDf9jW/y9RHKhMeF13I//qyJLgld9aIaax9285I4YFkMP2JXBeP2Ebds4Ow==",
"dev": true
},
"@ucap/ng-api-message": {
"version": "file:pack/ucap-ng-api-message-0.0.1.tgz",
"integrity": "sha512-UcVQzp3lpXDlU1zPWMwO2PI28vzUvzQF3+ObjNYdXixzEw7ncuTiwVU6e5ijjDFKXXzLsdFFBwTMLrxObEYxGw==",
"dev": true
},
"@ucap/ng-api-prompt": {
"version": "file:pack/ucap-ng-api-prompt-0.0.1.tgz",
"integrity": "sha512-K+KZaborzSIkwvhoJ2swtJZMvi1GdVt4ptNlNARLpvOIm4izfgY2D8t7kakYJmImahuypE8xJvpN1BA0rIC50w==",
"dev": true
},
"@ucap/ng-api-public": {
"version": "file:pack/ucap-ng-api-public-0.0.1.tgz",
"integrity": "sha512-Vp+i24aFd5lOgeN2G3PWUU2baMRqjoIJzwM/nvi1uQ6IAO4hAkLlOJPAeCXwveGIGjmxG565QGuqGpqkuZZvNA==",
"dev": true
},
"@ucap/ng-core": {
"version": "file:pack/ucap-ng-core-0.0.1.tgz",
"integrity": "sha512-F1q2lIzwn5yUkQI5mdQmRHc8NvOnyH5NJAI3JpTWp+5LWCpCMw9+bWuxYcUST4RFJkawLrNm/Sq2N3pO7c4g6Q==",
"dev": true
},
"@ucap/ng-i18n": {
"version": "file:pack/ucap-ng-i18n-0.0.6.tgz",
"integrity": "sha512-j/+qOKTFzJxFVzOYZnc2C+4oBh08R+Hg6dZTj7a5/AY3nKoE6s5VoNIleerIO+hC1YZRiOb0OZbMItlN77Gw8g==",
"dev": true
},
"@ucap/ng-logger": {
"version": "file:pack/ucap-ng-logger-0.0.2.tgz",
"integrity": "sha512-QmiPirCXa0lh9IwHHfTHLrWzsCbj03B5xPF7q0d83803s+WCsZgcaSbLCnFH4vA5WxLk8AgVUP+vzxoy+lst9A==",
"dev": true
},
"@ucap/ng-native": {
"version": "file:pack/ucap-ng-native-0.0.1.tgz",
"integrity": "sha512-NHJILG8ccX/UKWNJoMGX+T/ZXEm73sN5sXKWTivXbArg2B3kG4EtXlcYo2eaN0IUgUy2xoaDTCfhuzGFbPIY/g==",
"dev": true
},
"@ucap/ng-native-browser": {
"version": "file:pack/ucap-ng-native-browser-0.0.1.tgz",
"integrity": "sha512-zxPBeTWAUL9vbUHDtvIH4WQmPCBJBH5wK/DFEThola926gSvEBTVOdfwgPtzi3OenPFU3zWgNb67GyP2Sm/wSw==",
"dev": true
},
"@ucap/ng-pi": {
"version": "file:pack/ucap-ng-pi-0.0.1.tgz",
"integrity": "sha512-eMIK9NrZLZGztwWBD+ulha1IKxv8UV5pdJlZK9O5hGPczFS+QJcWUEtJk+Z8G9fKEdBraXdcWjTDcjE5td4VTA==",
"dev": true
},
"@ucap/ng-protocol": {
"version": "file:pack/ucap-ng-protocol-0.0.3.tgz",
"integrity": "sha512-FcGnMRrrqK2fHwy+k7h7ljio9Tqw4/1AKsaF9WzD6hscvWRlxvoVn4CF7cB+2eGsfJtEaDyIvvT8ChBYLPLGSA==",
"dev": true
},
"@ucap/ng-protocol-authentication": {
"version": "file:pack/ucap-ng-protocol-authentication-0.0.3.tgz",
"integrity": "sha512-yzdmYslzStwSVUZdKJMnLQmkVrNhYvdCIa040HqWzZ1mvRHtObiG4l5vRTuGYwBeVJQItol2A42ielltcqsucg==",
"dev": true
},
"@ucap/ng-protocol-buddy": {
"version": "file:pack/ucap-ng-protocol-buddy-0.0.3.tgz",
"integrity": "sha512-cks4DvIwZnK7HFTvY/FKnn3zKnEIGxbmGn/1khG9Am/4qY5p09PFIsqi/QiI9etpLMj2o+q7BP7eVtDYnsiMTQ==",
"dev": true
},
"@ucap/ng-protocol-event": {
"version": "file:pack/ucap-ng-protocol-event-0.0.3.tgz",
"integrity": "sha512-rQ0+7bQBCW9RH2wmBgfs/eKUZ95m1dqOaEExJeb3XwyGh9uZzVXlmQ2B708A2CO9XhLv1PLUVIRjvC6nw5LoQA==",
"dev": true
},
"@ucap/ng-protocol-file": {
"version": "file:pack/ucap-ng-protocol-file-0.0.3.tgz",
"integrity": "sha512-BMwOwrf7LTI/x6s7goKm7A+xNg85YPr4BYWGN4gRN46jDE928/O3Aq6UmSjKPWcyXRsrG8aOe5p3ceiOOULFmA==",
"dev": true
},
"@ucap/ng-protocol-group": {
"version": "file:pack/ucap-ng-protocol-group-0.0.3.tgz",
"integrity": "sha512-MpWmcExMBeixIiNHyIY5vN4KNP1GXm1F40DSe+Mj+WLnQQa15fYgm7RI6RV/LG85IZKjxsEHYVGanMCHn7I1Qg==",
"dev": true
},
"@ucap/ng-protocol-info": {
"version": "file:pack/ucap-ng-protocol-info-0.0.3.tgz",
"integrity": "sha512-y8Sc0K/URUH8LA4hMFFX6+16ngrTLAit4T0mDybyq4erc+FxvCCg1XiqWDJOleKPx3rUkO37DKOCIVR5tl5ROg==",
"dev": true
},
"@ucap/ng-protocol-inner": {
"version": "file:pack/ucap-ng-protocol-inner-0.0.3.tgz",
"integrity": "sha512-p6r6zoPGdwsdzL2Z0Gp4lmr63C9p4F8hH1dzZQRew8bbpPizssMbnbPDWwDdpbuVaphA9EcRWH8Jr0lCZNVw0Q==",
"dev": true
},
"@ucap/ng-protocol-option": {
"version": "file:pack/ucap-ng-protocol-option-0.0.3.tgz",
"integrity": "sha512-xjNcuXFJWKf9PRZAFe1sJ++L6GVepSjNgq3jNUNdJWI3+xWFIvFqwqjkGOOeuCVc87qYghJqKxX/F++6GovlVg==",
"dev": true
},
"@ucap/ng-protocol-ping": {
"version": "file:pack/ucap-ng-protocol-ping-0.0.3.tgz",
"integrity": "sha512-QBPrM96PDws8aJ3tqWeYrAJDKacApDJ7vSEjj8sT1aeSimkHpQNFv+dYsrXDMcSOTMqUA6RyWsvvThBg0ERolg==",
"dev": true
},
"@ucap/ng-protocol-query": {
"version": "file:pack/ucap-ng-protocol-query-0.0.3.tgz",
"integrity": "sha512-LnhNKYBEH2lRiPwAnLQNsK8cS7s03mWZDmC6X3HHB5m21hV5ob0o/QpFHrDEj24V4p4SZZ/bnzN3L/U3zpAjFQ==",
"dev": true
},
"@ucap/ng-protocol-room": {
"version": "file:pack/ucap-ng-protocol-room-0.0.3.tgz",
"integrity": "sha512-MSkuHI8IXBx/l7VDTO33UWl4yeBI9TQVuMfU189bItWdmQunPo1d+nBrVaIC560ZYP+qOmaOpKdq5jVugFWJRw==",
"dev": true
},
"@ucap/ng-protocol-service": {
"version": "file:pack/ucap-ng-protocol-service-0.0.3.tgz",
"integrity": "sha512-QFI2UfIJ1CFzHM4Ksuo0esBn9wjRYnG/ERGNx68NJLWqkJw55fw3L8lO4TWLdVld7XQHHFqHYF8cihk5cab4EQ==",
"dev": true
},
"@ucap/ng-protocol-status": {
"version": "file:pack/ucap-ng-protocol-status-0.0.3.tgz",
"integrity": "sha512-5c8gBBSGYX2LrPQk6ks8mUqhlTaUYl5swWClk7+fXRFDiawbytRfgL58cI5VVBhnEHynj3+WpoH8UGsstqB80Q==",
"dev": true
},
"@ucap/ng-protocol-sync": {
"version": "file:pack/ucap-ng-protocol-sync-0.0.3.tgz",
"integrity": "sha512-Hi3zDAOutbSJ7s4IPQonLSeT5HxEEvXe8cuxzNfX7N1QaYu6SrywmhBTpO8R2IS6Gnzkor91dRLOA0N0NvUMRw==",
"dev": true
},
"@ucap/ng-protocol-umg": {
"version": "file:pack/ucap-ng-protocol-umg-0.0.3.tgz",
"integrity": "sha512-Eu9etPwhTxLfydabeRvybLhSKkR6mRieoMyWAFS3Tsf4RRC9SR1TqNa4FAL3/nm6y2HEQJ2ZeBc5HXmZpMiBHQ==",
"dev": true
},
"@ucap/ng-store-authentication": {
"version": "file:pack/ucap-ng-store-authentication-0.0.10.tgz",
"integrity": "sha512-eGdxf9VXmwLlhwpMndnAQUaKV/JaMmtxebSN+kiez8czQiqVKFXSjdVyA92/3AscMf5GvdwKMMh553IT7EhpqA==",
"dev": true
},
"@ucap/ng-store-chat": {
"version": "file:pack/ucap-ng-store-chat-0.0.5.tgz",
"integrity": "sha512-FlvWI52w58jq/ZO8b8sk/MonY+TYKiEYlkyIfZWfFYOxlnKG0MkbpL0R+tiOFO9GLbBGEsXrzYtaDazrLk55ZQ==",
"dev": true
},
"@ucap/ng-store-group": {
"version": "file:pack/ucap-ng-store-group-0.0.6.tgz",
"integrity": "sha512-WShenZp/RP+cgiswvM12HPWOeSFuhNYkCUY6fxEAg58unxUZhBskVhefSq+OgD3dX/OaAPo2eQkwvXVANnyiZw==",
"dev": true
},
"@ucap/ng-store-organization": {
"version": "file:pack/ucap-ng-store-organization-0.0.4.tgz",
"integrity": "sha512-gVGOTfGmp58U0nHEn0UkjMc9AWQEmopNXDbyIrltMwR5XCKweC9AWXAiQzDxCb3sN07cSozEseFBJzJ7XO+dwg==",
"dev": true
},
"@ucap/ng-ui": {
"version": "file:pack/ucap-ng-ui-0.0.3.tgz",
"integrity": "sha512-fd9zmOt2/mHM1iIEnST4pr+IUEnKFLkZkvQLBtybOdu1YgdFB1wvsK7Hk+OTuYdUYCGdg31iBoSgTYXZrAJufw==",
"dev": true
},
"@ucap/ng-ui-authentication": {
"version": "file:pack/ucap-ng-ui-authentication-0.0.16.tgz",
"integrity": "sha512-j9JLn3btK2yVF3cthELaSwn5oe6qYW7z+knT8O9b/a36xuHGeMZLr60IGM6cF1QgRdFpFWaK2oN0DgdnU/s8Iw==",
"dev": true
},
"@ucap/ng-ui-organization": {
"version": "file:pack/ucap-ng-ui-organization-0.0.2.tgz",
"integrity": "sha512-IzTDv19feOL76nxRrRJ3PMKuV86HQJrqUXHMurkUjvlQnZM/1yMa7gNSvQcERprwnMCAwB42VTvbI+mN5AxoAA==",
"dev": true
},
"@ucap/ng-ui-skin-default": {
"version": "file:pack/ucap-ng-ui-skin-default-0.0.1.tgz",
"integrity": "sha512-vtgJBOsJj/S2GjP02PpBz9ebGikNtzdsC7JQc5HKkCZRC6JKkzZmWzcaFGlLPsh9dcWEeZuNhwnAZfmPXgz6Aw=="
},
"@ucap/ng-web-socket": {
"version": "file:pack/ucap-ng-web-socket-0.0.2.tgz",
"integrity": "sha512-Y74eYMf2jYsYHvtPbMLdLrFZtSpv7hHbv4ufLobv6Og53T8wl7BhQI5VTt8LwzUZxf1FRWRCwuz+FlNkbzS3oQ==",
"dev": true
},
"@ucap/ng-web-storage": {
"version": "file:pack/ucap-ng-web-storage-0.0.3.tgz",
"integrity": "sha512-M69RhO79l/z5pQ/U29r67zAxv4AX5kplNIp3weF8agfEzQhuUbccoFQDn/nmrHXsj+1HXFu8drpRD5Pw9Di4FQ==",
"dev": true
},
"@ucap/pi": {
"version": "0.0.5",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/pi/-/pi-0.0.5.tgz",
@ -7053,6 +7243,12 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
"dev": true
},
"detect-browser": {
"version": "5.0.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/detect-browser/-/detect-browser-5.0.0.tgz",
"integrity": "sha512-jUaq/SAT9YMlmhq/8w7gnqqr8AMcc7iYG1eAp7vP/7xn2eLtlcnEmxOkh2PmTg2Q+jVSUO3XD4sZ/IldbGg3dA==",
"dev": true
},
"detect-node": {
"version": "2.0.4",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/detect-node/-/detect-node-2.0.4.tgz",
@ -8142,6 +8338,18 @@
}
}
},
"file-type": {
"version": "14.1.4",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/file-type/-/file-type-14.1.4.tgz",
"integrity": "sha512-1n6FczX8n73Y/cLjTiMboeTGHfm/i2AWk2oQE7m9a/G5YTCZHCEHEGr32thhLm3iQNUYzTKVQUcYcNHtOLwqgQ==",
"dev": true,
"requires": {
"readable-web-to-node-stream": "^2.0.0",
"strtok3": "^6.0.0",
"token-types": "^2.0.0",
"typedarray-to-buffer": "^3.1.5"
}
},
"fileset": {
"version": "2.0.3",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/fileset/-/fileset-2.0.3.tgz",
@ -12964,6 +13172,12 @@
"sha.js": "^2.4.8"
}
},
"peek-readable": {
"version": "3.1.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/peek-readable/-/peek-readable-3.1.0.tgz",
"integrity": "sha512-KGuODSTV6hcgdZvDrIDBUkN0utcAVj1LL7FfGbM0viKTtCHmtZcuEJ+lGqsp0fTFkGqesdtemV2yUSMeyy3ddA==",
"dev": true
},
"performance-now": {
"version": "2.1.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/performance-now/-/performance-now-2.1.0.tgz",
@ -15602,6 +15816,12 @@
"util-deprecate": "~1.0.1"
}
},
"readable-web-to-node-stream": {
"version": "2.0.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/readable-web-to-node-stream/-/readable-web-to-node-stream-2.0.0.tgz",
"integrity": "sha512-+oZJurc4hXpaaqsN68GoZGQAQIA3qr09Or4fqEsargABnbe5Aau8hFn6ISVleT3cpY/0n/8drn7huyyEvTbghA==",
"dev": true
},
"readdir-scoped-modules": {
"version": "1.1.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz",
@ -17506,6 +17726,18 @@
"integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==",
"dev": true
},
"strtok3": {
"version": "6.0.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/strtok3/-/strtok3-6.0.0.tgz",
"integrity": "sha512-ZXlmE22LZnIBvEU3n/kZGdh770fYFie65u5+2hLK9s74DoFtpkQIdBZVeYEzlolpGa+52G5IkzjUWn+iXynOEQ==",
"dev": true,
"requires": {
"@tokenizer/token": "^0.1.1",
"@types/debug": "^4.1.5",
"debug": "^4.1.1",
"peek-readable": "^3.1.0"
}
},
"style-loader": {
"version": "1.0.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/style-loader/-/style-loader-1.0.0.tgz",
@ -18055,6 +18287,16 @@
"integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
"dev": true
},
"token-types": {
"version": "2.0.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/token-types/-/token-types-2.0.0.tgz",
"integrity": "sha512-WWvu8sGK8/ZmGusekZJJ5NM6rRVTTDO7/bahz4NGiSDb/XsmdYBn6a1N/bymUHuWYTWeuLUg98wUzvE4jPdCZw==",
"dev": true,
"requires": {
"@tokenizer/token": "^0.1.0",
"ieee754": "^1.1.13"
}
},
"tough-cookie": {
"version": "2.5.0",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/tough-cookie/-/tough-cookie-2.5.0.tgz",

View File

@ -40,7 +40,7 @@
"build:web-socket": "node ./scripts/build.js web-socket",
"build:web-storage": "node ./scripts/build.js web-storage",
"build:i18n": "node ./scripts/build.js i18n",
"build:store:all": "npm-run-all -s build:store-organization build:store-authentication build:store-group build:store-chat",
"build:store:all": "npm-run-all -s build:store-authentication build:store-organization build:store-group build:store-chat",
"build:store-authentication": "node ./scripts/build.js store-authentication",
"build:store-chat": "node ./scripts/build.js store-chat",
"build:store-group": "node ./scripts/build.js store-group",
@ -209,6 +209,8 @@
"babel-loader": "^8.1.0",
"codelyzer": "^5.2.1",
"concurrently": "^5.1.0",
"detect-browser": "^5.0.0",
"file-type": "^14.1.4",
"fs-extra": "^9.0.0",
"i18next": "^19.3.2",
"jasmine-core": "~3.5.0",

View File

@ -1,7 +1,8 @@
import { TestBed } from '@angular/core/testing';
import { CommonApiService } from './common-api.service';
import { AXIOS_INSTANCE } from '@ucap/ng-core';
import { CommonApiService } from './common-api.service';
import { _MODULE_CONFIG } from '../config/token';
describe('CommonApiService', () => {

View File

@ -1,7 +1,8 @@
import { TestBed } from '@angular/core/testing';
import { ExternalApiService } from './external-api.service';
import { AXIOS_INSTANCE } from '@ucap/ng-core';
import { ExternalApiService } from './external-api.service';
import { _MODULE_CONFIG } from '../config/token';
describe('ExternalApiService', () => {

View File

@ -1,9 +1,9 @@
import { TestBed } from '@angular/core/testing';
import { BrowserNativeService } from './browser-native.service';
import { AXIOS_INSTANCE } from '@ucap/ng-core';
import { BrowserNativeService } from './browser-native.service';
describe('BrowserNativeService', () => {
let service: BrowserNativeService;

View File

@ -1,10 +1,13 @@
import { of } from 'rxjs';
import { TestBed } from '@angular/core/testing';
import { AuthenticationProtocolService } from './authentication-protocol.service';
import { DeviceType, LocaleCode } from '@ucap/core';
import { ProtocolMessage } from '@ucap/protocol';
import { LogService } from '@ucap/ng-logger';
import { ProtocolService } from '@ucap/ng-protocol';
import { _MODULE_CONFIG } from '../config/token';
import { of } from 'rxjs';
import {
LoginRequest,
SSOMode,
@ -14,8 +17,9 @@ import {
SSVC_TYPE_LOGOUT_RES,
SSVC_TYPE_LOGIN_RES
} from '@ucap/protocol-authentication';
import { DeviceType, LocaleCode } from '@ucap/core';
import { ProtocolMessage } from '@ucap/protocol';
import { AuthenticationProtocolService } from './authentication-protocol.service';
import { _MODULE_CONFIG } from '../config/token';
describe('AuthenticationProtocolService', () => {
const senderSeq = '10045';

View File

@ -4,8 +4,9 @@
"lib": {
"entryFile": "src/public-api.ts",
"umdModuleIds": {
"@ucap/protocol": "@ucap/protocol",
"@ucap/ng-logger": "@ucap/ng-logger",
"@ucap/protocol": "@ucap/protocol"
"@ucap/ng-web-socket": "@ucap/ng-web-socket"
}
}
}