@alexa-skill-components/feedback-elicitation
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -355,33 +355,14 @@ { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.ask.conversations.or", | ||
"name": "com.amazon.alexa.ask.conversations.and", | ||
"arguments": { | ||
"left": { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.ask.conversations.and", | ||
"name": "com.amazon.alexa.ask.conversations.greaterEqual", | ||
"arguments": { | ||
"left": { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.ask.conversations.greaterEqual", | ||
"arguments": { | ||
"left": { | ||
"kind": "NameReference", | ||
"name": "rating", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.ask.types.builtins.AMAZON.NUMBER" | ||
} | ||
}, | ||
"right": { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.Number", | ||
"arguments": 1, | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Number" | ||
} | ||
} | ||
}, | ||
"kind": "NameReference", | ||
"name": "rating", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Boolean" | ||
"name": "com.amazon.ask.types.builtins.AMAZON.NUMBER" | ||
} | ||
@@ -391,25 +372,7 @@ }, | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.ask.conversations.lessEqual", | ||
"arguments": { | ||
"left": { | ||
"kind": "NameReference", | ||
"name": "rating", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.ask.types.builtins.AMAZON.NUMBER" | ||
} | ||
}, | ||
"right": { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.Number", | ||
"arguments": 5, | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Number" | ||
} | ||
} | ||
}, | ||
"name": "com.amazon.alexa.schema.Number", | ||
"arguments": 1, | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Boolean" | ||
"name": "com.amazon.alexa.schema.Number" | ||
} | ||
@@ -425,11 +388,5 @@ } | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.ask.conversations.in", | ||
"genericArguments": [ | ||
{ | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Thing" | ||
} | ||
], | ||
"name": "com.amazon.alexa.ask.conversations.lessEqual", | ||
"arguments": { | ||
"entity": { | ||
"left": { | ||
"kind": "NameReference", | ||
@@ -442,67 +399,9 @@ "name": "rating", | ||
}, | ||
"entities": { | ||
"right": { | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.List", | ||
"genericArguments": [ | ||
{ | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Thing" | ||
} | ||
], | ||
"arguments": [ | ||
{ | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.String", | ||
"arguments": "one", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.String" | ||
} | ||
}, | ||
{ | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.String", | ||
"arguments": "two", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.String" | ||
} | ||
}, | ||
{ | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.String", | ||
"arguments": "three", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.String" | ||
} | ||
}, | ||
{ | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.String", | ||
"arguments": "four", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.String" | ||
} | ||
}, | ||
{ | ||
"kind": "Call", | ||
"name": "com.amazon.alexa.schema.String", | ||
"arguments": "five", | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.String" | ||
} | ||
} | ||
], | ||
"name": "com.amazon.alexa.schema.Number", | ||
"arguments": 5, | ||
"type": { | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.List", | ||
"arguments": [ | ||
{ | ||
"kind": "TypeReference", | ||
"name": "com.amazon.alexa.schema.Thing" | ||
} | ||
] | ||
"name": "com.amazon.alexa.schema.Number" | ||
} | ||
@@ -509,0 +408,0 @@ } |
{ | ||
"name": "@alexa-skill-components/feedback-elicitation", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"publisher": "Amazon", | ||
@@ -40,3 +40,3 @@ "description": "Alexa skill component for eliciting feedback from users", | ||
"devDependencies": { | ||
"@alexa/acdl": "0.1.13", | ||
"@alexa/acdl": "^0.1.13", | ||
"@types/jest": "^26.0.24", | ||
@@ -43,0 +43,0 @@ "@types/lodash": "^4.14.181", |
@@ -210,4 +210,4 @@ { | ||
"type": "AlexaRating", | ||
"ratingNumber": 3.5, | ||
"ratingText": 3.5, | ||
"ratingNumber": "${payload.ratingResult.rating}", | ||
"ratingText": "${payload.ratingResult.rating}", | ||
"paddingTop": "@spacingSmall", | ||
@@ -245,15 +245,7 @@ "paddingBottom": "@spacingSmall" | ||
"type": "SimpleText", | ||
"backgroundImageSource": "https://d2o906d8ln7ui1.cloudfront.net/images/response_builder/background-green.png", | ||
"footerHintText": "", | ||
"foregroundImageLocation": "top", | ||
"foregroundImageSource": "https://d2o906d8ln7ui1.cloudfront.net/images/response_builder/asparagus.jpeg", | ||
"headerAttributionImage": "https://d2o906d8ln7ui1.cloudfront.net/images/response_builder/logo-world-of-plants-2.png", | ||
"headerTitle": "Skill Feedback", | ||
"headerSubtitle": "", | ||
"primaryText": "${payload.ratingResult.rating >= 4 ? 'Glad that you enjoyed the experience' : (payload.ratingResult.rating <= 3 ? 'All right! We will continue to improve' : 'Sorry about that. We will fix the concern soon!')}", | ||
"textAlignment": "center", | ||
"titleText": "Thank you for your feedback!" | ||
"primaryText": "Thank you for the feedback! ${payload.ratingResult.rating >= 4 ? 'Glad that you enjoyed the experience' : (payload.ratingResult.rating <= 3 ? 'All right! We will continue to improve' : 'Sorry about that. We will fix the concern soon!')}" | ||
} | ||
] | ||
} | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
105794
1893
1