rheactor-web-app
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -50,3 +50,3 @@ 'use strict'; | ||
file.upload = _this2.Upload.upload({ | ||
url: url, | ||
url: url.toString(), | ||
data: { file: file }, | ||
@@ -79,3 +79,3 @@ headers: { 'Authorization': 'Bearer ' + token.token } | ||
file.progress = 0; | ||
_this3.user.updated(); | ||
_this3.user = _this3.user.updated(); | ||
_this3.ClientStorageService.set('me', _this3.user); | ||
@@ -82,0 +82,0 @@ }); |
@@ -81,5 +81,4 @@ 'use strict'; | ||
var version = +response.headers('etag'); | ||
user.updated(lastModified, version); | ||
user.active = true; | ||
return user; | ||
return user.updated(lastModified, version); | ||
}); | ||
@@ -101,5 +100,4 @@ } | ||
var version = +response.headers('etag'); | ||
user.updated(lastModified, version); | ||
user.active = false; | ||
return user; | ||
return user.updated(lastModified, version); | ||
}); | ||
@@ -124,5 +122,4 @@ } | ||
var version = +response.headers('etag'); | ||
user.updated(lastModified, version); | ||
user[property] = value; | ||
return user; | ||
return user.updated(lastModified, version); | ||
}); | ||
@@ -129,0 +126,0 @@ } |
@@ -6,4 +6,5 @@ 'use strict'; | ||
}); | ||
exports.HttpProgress = undefined; | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* global trackJs, document */ | ||
@@ -14,5 +15,7 @@ exports.auth = auth; | ||
var _logger = require('./logger'); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
/* global trackJs, document */ | ||
var logger = (0, _logger.appLogger)(); | ||
@@ -69,5 +72,6 @@ /** | ||
var HttpProgress = exports.HttpProgress = function () { | ||
function HttpProgress() { | ||
function HttpProgress(log) { | ||
_classCallCheck(this, HttpProgress); | ||
this.log = log || logger.appWarning; | ||
this.reset(); | ||
@@ -98,2 +102,3 @@ } | ||
if (typeof trackJs !== 'undefined') trackJs.track(httpProblem); | ||
this.log(httpProblem); | ||
return done(this, true, httpProblem); | ||
@@ -100,0 +105,0 @@ } |
@@ -24,2 +24,6 @@ 'use strict'; | ||
/** | ||
* @deprecated LiveCollection updates models in place, this should only be used our legacy Angular 1 apps. | ||
*/ | ||
var LiveCollection = exports.LiveCollection = function () { | ||
@@ -26,0 +30,0 @@ /** |
{ | ||
"name": "rheactor-web-app", | ||
"description": "Contains the building blocks for a web application", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"scripts": { | ||
@@ -26,13 +26,15 @@ "test": "NODE_ENV=testing mocha --compilers js:babel-register --reporter=dot --timeout=1350 test/\\*\\*/\\*.js", | ||
"@resourcefulhumans/rheactor-errors": "1.x", | ||
"angular": "^1.6.1", | ||
"bluebird": "^3.4.7", | ||
"bootstrap": "4.0.0-alpha.5", | ||
"compare-versions": "^3.0.0", | ||
"event-source-polyfill": "^0.0.9", | ||
"jquery": "^3.1.1", | ||
"lodash": "^4.17.4", | ||
"moment": "^2.17.1", | ||
"rheactor-value-objects": "9.x", | ||
"rheactor-models": "3.x >=3.0.1", | ||
"rheactor-value-objects": "9.x", | ||
"showdown": "^1.6.0", | ||
"showdown": "^1.6.0" | ||
}, | ||
"peerDependencies": { | ||
"angular": "^1.6.1", | ||
"bluebird": "^3.4.7", | ||
"bootstrap": "4.0.0-alpha.5", | ||
"lodash": "^4.17.4", | ||
"tcomb": "^3.2.16" | ||
@@ -39,0 +41,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
211261
3145
- Removedangular@^1.6.1
- Removedbluebird@^3.4.7
- Removedbootstrap@4.0.0-alpha.5
- Removedlodash@^4.17.4
- Removedtcomb@^3.2.16