@ambiwork/shared-js
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -19,2 +19,4 @@ "use strict"; | ||
_classCallCheck(this, AmbiUser); | ||
this.clientMemberships = []; | ||
} | ||
@@ -25,3 +27,3 @@ | ||
value: function getRoleAliasForClient(client) { | ||
var matchingClientMemberships = (this.clientMemberships || []).filter(function (clientMembership) { | ||
var matchingClientMemberships = this.clientMemberships.filter(function (clientMembership) { | ||
return clientMembership.client.id === client.id; | ||
@@ -28,0 +30,0 @@ }); |
@@ -30,2 +30,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "AmbiUser", { | ||
enumerable: true, | ||
get: function get() { | ||
return _AmbiUser.default; | ||
} | ||
}); | ||
@@ -40,2 +46,4 @@ var _AmbiClient = _interopRequireDefault(require("./AmbiClient")); | ||
var _AmbiUser = _interopRequireDefault(require("./AmbiUser")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "@ambiwork/shared-js", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Ambi's shared JS", | ||
@@ -5,0 +5,0 @@ "author": "Chris Cohoat <chris@ambi.work> (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
15708
423