From e4a593d9dbfa05620029c2c6c5d27d2a54212825 Mon Sep 17 00:00:00 2001 From: adel-frad Date: Mon, 12 Sep 2016 18:42:09 +0200 Subject: [PATCH] Bump version 0.7.1 --- angular2-websocket.js | 17 +++++++++-------- angular2-websocket.js.map | 2 +- package.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/angular2-websocket.js b/angular2-websocket.js index af9064e..af17fbf 100644 --- a/angular2-websocket.js +++ b/angular2-websocket.js @@ -9,8 +9,8 @@ var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var core_1 = require('@angular/core'); -var Observable_1 = require("rxjs/Observable"); -var Subject_1 = require("rxjs/Subject"); +var Observable_1 = require('rxjs/Observable'); +var Subject_1 = require('rxjs/Subject'); var $WebSocket = (function () { function $WebSocket(url, protocols, config) { this.url = url; @@ -66,7 +66,8 @@ var $WebSocket = (function () { }; $WebSocket.prototype.send = function (data) { var self = this; - if (this.getReadyState() != this.readyStateConstants.OPEN && this.getReadyState() != this.readyStateConstants.CONNECTING) { + if (this.getReadyState() !== this.readyStateConstants.OPEN + && this.getReadyState() !== this.readyStateConstants.CONNECTING) { this.connect(); } return Observable_1.Observable.create(function (observer) { @@ -136,7 +137,6 @@ var $WebSocket = (function () { return this; }; $WebSocket.prototype.onMessageHandler = function (message) { - var pattern; var self = this; var currentCallback; for (var i = 0; i < self.onMessageCallbacks.length; i++) { @@ -147,7 +147,8 @@ var $WebSocket = (function () { ; $WebSocket.prototype.onCloseHandler = function (event) { this.notifyCloseCallbacks(event); - if ((this.config.reconnectIfNotNormalClose && event.code !== this.normalCloseCode) || this.reconnectableStatusCodes.indexOf(event.code) > -1) { + if ((this.config.reconnectIfNotNormalClose && event.code !== this.normalCloseCode) + || this.reconnectableStatusCodes.indexOf(event.code) > -1) { this.reconnect(); } else { @@ -162,7 +163,7 @@ var $WebSocket = (function () { $WebSocket.prototype.reconnect = function () { this.close(true); var backoffDelay = this.getBackoffDelay(++this.reconnectAttempts); - var backoffDelaySeconds = backoffDelay / 1000; + // let backoffDelaySeconds = backoffDelay / 1000; // console.log('Reconnecting in ' + backoffDelaySeconds + ' seconds'); setTimeout(this.connect(), backoffDelay); return this; @@ -208,13 +209,13 @@ var $WebSocket = (function () { return obj !== undefined && obj !== null; }; class_1.isString = function (obj) { - return typeof obj === "string"; + return typeof obj === 'string'; }; class_1.isArray = function (obj) { return Array.isArray(obj); }; class_1.isFunction = function (obj) { - return typeof obj === "function"; + return typeof obj === 'function'; }; return class_1; }()); diff --git a/angular2-websocket.js.map b/angular2-websocket.js.map index 9bb8925..32cf45c 100644 --- a/angular2-websocket.js.map +++ b/angular2-websocket.js.map @@ -1 +1 @@ -{"version":3,"file":"angular2-websocket.js","sourceRoot":"","sources":["src/angular2-websocket.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,qBAAyB,eAAe,CAAC,CAAA;AACzC,2BAAyB,iBAAiB,CAAC,CAAA;AAE3C,wBAAsB,cAAc,CAAC,CAAA;AAIrC;IAoBI,oBAAoB,GAAU,EAAU,SAAwB,EAAU,MAAwB;QAA9E,QAAG,GAAH,GAAG,CAAO;QAAU,cAAS,GAAT,SAAS,CAAe;QAAU,WAAM,GAAN,MAAM,CAAkB;QAlB1F,sBAAiB,GAAG,CAAC,CAAC;QACtB,cAAS,GAAG,EAAE,CAAC;QACf,oBAAe,GAAG,EAAE,CAAC;QACrB,uBAAkB,GAAG,EAAE,CAAC;QACxB,qBAAgB,GAAG,EAAE,CAAC;QACtB,qBAAgB,GAAG,EAAE,CAAC;QACtB,wBAAmB,GAAG;YAC1B,YAAY,EAAE,CAAC;YACf,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,CAAC;YACX,mBAAmB,EAAE,CAAC;SACzB,CAAC;QACO,oBAAe,GAAG,IAAI,CAAC;QACvB,6BAAwB,GAAG,CAAC,IAAI,CAAC,CAAC;QAKvC,IAAI,KA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AAC,CAAC;QAC9B,CAAC;QAEM,kBAAU,GAAjB,UAAkB,GAAQ;YACtB,MAAM,CAAC,OAAO,GAAG,KAAK,UAAU,CAAC;QACrC,CAAC;QACL,cAAC;IAAD,CAAC,AAhBwB,GAgBxB,CAAC;IAnBN;QAAC,iBAAU,EAAE;;kBAAA;IAqOb,iBAAC;AAAD,CAAC,AApOD,IAoOC;AApOY,kBAAU,aAoOtB,CAAA"} \ No newline at end of file diff --git a/package.json b/package.json index edb26a8..37427f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "angular2-websocket", "main": "angular2-websocket", - "version": "0.7.0", + "version": "0.7.1", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "compile": "tsc",