alexa-response
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -313,5 +313,5 @@ 'use strict'; | ||
value: function card(_ref) { | ||
var _ref$type = _ref.type; | ||
var type = _ref$type === undefined ? alexaConstants.CardType.Simple : _ref$type; | ||
var rest = objectWithoutProperties(_ref, ['type']); | ||
var _ref$type = _ref.type, | ||
type = _ref$type === undefined ? alexaConstants.CardType.Simple : _ref$type, | ||
rest = objectWithoutProperties(_ref, ['type']); | ||
@@ -349,7 +349,6 @@ return new Response(_extends({}, this.state, { | ||
var _ref2 = this.state.response || {}; | ||
var _ref2 = this.state.response || {}, | ||
_ref2$directives = _ref2.directives, | ||
previousDirectives = _ref2$directives === undefined ? [] : _ref2$directives; | ||
var _ref2$directives = _ref2.directives; | ||
var previousDirectives = _ref2$directives === undefined ? [] : _ref2$directives; | ||
return new Response(_extends({}, this.state, { | ||
@@ -356,0 +355,0 @@ response: _extends({}, this.state.response, { |
{ | ||
"name": "alexa-response", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Build JSON responses for Amazon Alexa, easily.", | ||
@@ -20,5 +20,5 @@ "author": "Cameron Hunter <hello@cameronhunter.co.uk>", | ||
"dependencies": { | ||
"alexa-ssml-jsx": "^1.1.0", | ||
"alexa-ssml-jsx": "^1.1.1", | ||
"alexa-constants": "^0.3.1" | ||
} | ||
} |
28003
Updatedalexa-ssml-jsx@^1.1.1