blank-web-sdk
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -80,9 +80,9 @@ var Blank = | ||
var _wamp = __webpack_require__(1); | ||
var _WSClient2 = __webpack_require__(1); | ||
var _wamp2 = _interopRequireDefault(_wamp); | ||
var _WSClient3 = _interopRequireDefault(_WSClient2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var WSClient = exports.WSClient = new _wamp2.default(); | ||
var WSClient = exports.WSClient = _WSClient3.default; | ||
@@ -94,5 +94,2 @@ /***/ }, | ||
"use strict"; | ||
// Wamp-one wamp-client.js 1.0.2 | ||
// (c) 2015 Samorukov Valentin, Kuvshinov Evgeniy | ||
// Wamp-one may be freely distributed under the MIT license. | ||
"use strict"; | ||
@@ -142,9 +139,6 @@ | ||
var WampClient = function () { | ||
function WampClient(heartBeat, stringMsgTypes) { | ||
_classCallCheck(this, WampClient); | ||
var WSClient = function () { | ||
function WSClient(heartBeat, stringMsgTypes) { | ||
_classCallCheck(this, WSClient); | ||
if (!(this instanceof WampClient)) { | ||
return new WampClient(heartBeat); | ||
} | ||
this._wsClient = null; | ||
@@ -201,3 +195,3 @@ this._heartBeat = heartBeat; | ||
_createClass(WampClient, [{ | ||
_createClass(WSClient, [{ | ||
key: "connect", | ||
@@ -352,3 +346,3 @@ value: function connect(serverUrl, cb) { | ||
} catch (e) { | ||
console.debug("WAMP: Invalid message JSON"); | ||
console.error("WSClient: Invalid message JSON"); | ||
return; | ||
@@ -517,6 +511,6 @@ } | ||
return WampClient; | ||
return WSClient; | ||
}(); | ||
exports.default = WampClient; | ||
exports.default = WSClient; | ||
@@ -523,0 +517,0 @@ /***/ }, |
@@ -8,8 +8,8 @@ "use strict"; | ||
var _wamp = require("./client/wamp"); | ||
var _WSClient2 = require("./client/WSClient"); | ||
var _wamp2 = _interopRequireDefault(_wamp); | ||
var _WSClient3 = _interopRequireDefault(_WSClient2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var WSClient = exports.WSClient = new _wamp2.default(); | ||
var WSClient = exports.WSClient = _WSClient3.default; |
{ | ||
"name": "blank-web-sdk", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "SDK for web applications created with Blank back-end", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
41399
1000