@ambiwork/shared-js
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -14,2 +14,4 @@ "use strict"; | ||
var _AmbiClientAuth = require("./AmbiClientAuth"); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
@@ -39,3 +41,4 @@ | ||
statusTitle = fromModel.statusTitle, | ||
features = fromModel.features; | ||
features = fromModel.features, | ||
auth0 = fromModel.auth0; | ||
this.id = id; | ||
@@ -54,2 +57,3 @@ this.name = name; | ||
this.features = features ? new _AmbiClientFeatures.AmbiClientFeatures(features) : null; | ||
this.auth0 = auth0 ? new _AmbiClientAuth.AmbiClientAuth(auth0) : null; | ||
} | ||
@@ -67,3 +71,4 @@ } | ||
theme = _ref.theme, | ||
features = _ref.features; | ||
features = _ref.features, | ||
auth0 = _ref.auth0; | ||
this.id = id; | ||
@@ -76,2 +81,3 @@ this.name = name; | ||
this.features = features ? new _AmbiClientFeatures.AmbiClientFeatures(features) : null; | ||
this.auth0 = auth0 ? new _AmbiClientAuth.AmbiClientAuth(auth0) : null; | ||
} // eslint-disable-next-line class-methods-use-this | ||
@@ -127,3 +133,4 @@ | ||
theme: this.theme ? this.theme.toJson() : null, | ||
features: this.features ? this.features.toJson() : null | ||
features: this.features ? this.features.toJson() : null, | ||
auth0: this.auth0 ? this.auth0.toJson() : null | ||
}; | ||
@@ -130,0 +137,0 @@ } |
{ | ||
"name": "@ambiwork/shared-js", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Ambi's shared JS", | ||
@@ -5,0 +5,0 @@ "author": "Ambi (https://ambi.work)", |
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
18217
11
463