@chatie/angular
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -635,13 +635,13 @@ (function (global, factory) { | ||
WechatyComponent.ctorParameters = function () { return [ | ||
{ type: Brolog.Brolog, }, | ||
{ type: core.NgZone, }, | ||
{ type: Brolog.Brolog }, | ||
{ type: core.NgZone } | ||
]; }; | ||
WechatyComponent.propDecorators = { | ||
"message": [{ type: core.Output },], | ||
"scan": [{ type: core.Output },], | ||
"login": [{ type: core.Output },], | ||
"logout": [{ type: core.Output },], | ||
"error": [{ type: core.Output },], | ||
"heartbeat": [{ type: core.Output },], | ||
"token": [{ type: core.Input },], | ||
message: [{ type: core.Output }], | ||
scan: [{ type: core.Output }], | ||
login: [{ type: core.Output }], | ||
logout: [{ type: core.Output }], | ||
error: [{ type: core.Output }], | ||
heartbeat: [{ type: core.Output }], | ||
token: [{ type: core.Input }] | ||
}; | ||
@@ -648,0 +648,0 @@ var WechatyModule = /** @class */ (function () { |
@@ -218,3 +218,2 @@ import { __awaiter } from 'tslib'; | ||
// FIXME: check & close the old one | ||
// FIXME: check & close the old one | ||
if (this._websocket) { | ||
@@ -226,5 +225,2 @@ throw new Error('already has a websocket'); | ||
// || this.state.stable() | ||
// if (this.state.target() !== 'open' | ||
// || this.state.current() !== 'open' | ||
// || this.state.stable() | ||
if (this.state.off()) { | ||
@@ -427,5 +423,2 @@ throw new Error('switch state is off'); | ||
*/ | ||
/** | ||
* reconnect inside onClose | ||
*/ | ||
if (this.autoReconnect) { | ||
@@ -525,5 +518,2 @@ this.state.on('pending'); | ||
*/ | ||
/** | ||
* @Input(token) is not inittialized in constructor() | ||
*/ | ||
if (this.token) { | ||
@@ -650,3 +640,2 @@ this.ioService.token(this.token); | ||
// this.timer = null | ||
// this.timer = null | ||
if (this.ender) { | ||
@@ -696,13 +685,13 @@ this.ender.next(null); | ||
WechatyComponent.ctorParameters = () => [ | ||
{ type: Brolog$1, }, | ||
{ type: NgZone, }, | ||
{ type: Brolog$1 }, | ||
{ type: NgZone } | ||
]; | ||
WechatyComponent.propDecorators = { | ||
"message": [{ type: Output },], | ||
"scan": [{ type: Output },], | ||
"login": [{ type: Output },], | ||
"logout": [{ type: Output },], | ||
"error": [{ type: Output },], | ||
"heartbeat": [{ type: Output },], | ||
"token": [{ type: Input },], | ||
message: [{ type: Output }], | ||
scan: [{ type: Output }], | ||
login: [{ type: Output }], | ||
logout: [{ type: Output }], | ||
error: [{ type: Output }], | ||
heartbeat: [{ type: Output }], | ||
token: [{ type: Input }] | ||
}; | ||
@@ -709,0 +698,0 @@ |
@@ -578,13 +578,13 @@ import { __awaiter, __generator } from 'tslib'; | ||
WechatyComponent.ctorParameters = function () { return [ | ||
{ type: Brolog$1, }, | ||
{ type: NgZone, }, | ||
{ type: Brolog$1 }, | ||
{ type: NgZone } | ||
]; }; | ||
WechatyComponent.propDecorators = { | ||
"message": [{ type: Output },], | ||
"scan": [{ type: Output },], | ||
"login": [{ type: Output },], | ||
"logout": [{ type: Output },], | ||
"error": [{ type: Output },], | ||
"heartbeat": [{ type: Output },], | ||
"token": [{ type: Input },], | ||
message: [{ type: Output }], | ||
scan: [{ type: Output }], | ||
login: [{ type: Output }], | ||
logout: [{ type: Output }], | ||
error: [{ type: Output }], | ||
heartbeat: [{ type: Output }], | ||
token: [{ type: Input }] | ||
}; | ||
@@ -591,0 +591,0 @@ var WechatyModule = /** @class */ (function () { |
{ | ||
"name": "@chatie/angular", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Wechaty Component NgModule", | ||
@@ -24,3 +24,3 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@angular/cli": "^1.7.4", | ||
"@angular/cli": "^6.0.2", | ||
"@angular/common": "^5.2.9", | ||
@@ -46,3 +46,3 @@ "@angular/compiler": "^5.2.9", | ||
"karma-cli": "~1.0.1", | ||
"karma-coverage-istanbul-reporter": "^1.4.2", | ||
"karma-coverage-istanbul-reporter": "^2.0.0", | ||
"karma-jasmine": "~1.1.0", | ||
@@ -53,4 +53,4 @@ "karma-jasmine-html-reporter": "^1.0.0", | ||
"puppeteer": "^1.3.0", | ||
"rollup": "^0.58.2", | ||
"rollup-plugin-json": "^2.1.1", | ||
"rollup": "^0.59.0", | ||
"rollup-plugin-json": "^3.0.0", | ||
"rxjs": "^5.5.8", | ||
@@ -60,7 +60,8 @@ "shx": "^0.2.2", | ||
"ts-node": "^6.0.2", | ||
"tsickle": "^0.27.5", | ||
"tsickle": "^0.29.0", | ||
"tslint": "^5.9.1", | ||
"typescript": "^2.8.1", | ||
"uglify-js": "^3.3.21", | ||
"zone.js": "^0.8.4" | ||
"zone.js": "^0.8.4", | ||
"@angular-devkit/build-angular": "~0.6.5" | ||
}, | ||
@@ -67,0 +68,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
281610
39
2193