@smarterservices/iam-react-client
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -63,3 +63,3 @@ 'use strict'; | ||
//if this child has action and resource run auth against it | ||
if (child.props.iamAction && child.props.iamResource) { | ||
if (child.props && child.props.iamAction && child.props.iamResource) { | ||
//either return the child or blank based on iam authorize | ||
@@ -85,2 +85,2 @@ return _openIam2.default.authorize(child.props.iamResource, child.props.iamAction, _openIam2.default.processIamData(localIam)) ? child : ''; | ||
exports.default = ValidateConstructor; | ||
exports.default = ValidateConstructor; |
{ | ||
"name": "@smarterservices/iam-react-client", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "react-scripts": "0.9.5" |
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
46861
347