alexa-annotations
Advanced tools
Comparing version 9.1.6 to 9.1.7
@@ -82,4 +82,2 @@ 'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const values = (obj = {}) => Object.keys(obj).map(key => obj[key]); | ||
@@ -94,3 +92,3 @@ | ||
return values(slots).reduce((state, { name, value }) => { | ||
return name && value != null ? _extends({}, state, { [name]: value }) : state; | ||
return name && value != null ? Object.assign({}, state, { [name]: value }) : state; | ||
}, {}); | ||
@@ -157,4 +155,2 @@ })); | ||
var _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$2 = alexaConstants.ConnectedHome.Request.SetTargetTemperature; | ||
@@ -174,4 +170,4 @@ | ||
}, | ||
payload: _extends$1({}, state.current, { | ||
previousState: _extends$1({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -182,4 +178,2 @@ })); | ||
var _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$3 = alexaConstants.ConnectedHome.Request.IncrementTargetTemperature; | ||
@@ -199,4 +193,4 @@ | ||
}, | ||
payload: _extends$2({}, state.current, { | ||
previousState: _extends$2({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -207,4 +201,2 @@ })); | ||
var _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$4 = alexaConstants.ConnectedHome.Request.DecrementTargetTemperature; | ||
@@ -224,4 +216,4 @@ | ||
}, | ||
payload: _extends$3({}, state.current, { | ||
previousState: _extends$3({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -228,0 +220,0 @@ })); |
@@ -82,4 +82,2 @@ 'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const values = (obj = {}) => Object.keys(obj).map(key => obj[key]); | ||
@@ -94,3 +92,3 @@ | ||
return values(slots).reduce((state, { name, value }) => { | ||
return name && value != null ? _extends({}, state, { [name]: value }) : state; | ||
return name && value != null ? Object.assign({}, state, { [name]: value }) : state; | ||
}, {}); | ||
@@ -157,4 +155,2 @@ })); | ||
var _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$2 = alexaConstants.ConnectedHome.Request.SetTargetTemperature; | ||
@@ -174,4 +170,4 @@ | ||
}, | ||
payload: _extends$1({}, state.current, { | ||
previousState: _extends$1({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -182,4 +178,2 @@ })); | ||
var _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$3 = alexaConstants.ConnectedHome.Request.IncrementTargetTemperature; | ||
@@ -199,4 +193,4 @@ | ||
}, | ||
payload: _extends$2({}, state.current, { | ||
previousState: _extends$2({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -207,4 +201,2 @@ })); | ||
var _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
const name$4 = alexaConstants.ConnectedHome.Request.DecrementTargetTemperature; | ||
@@ -224,4 +216,4 @@ | ||
}, | ||
payload: _extends$3({}, state.current, { | ||
previousState: _extends$3({}, state.previous) | ||
payload: Object.assign({}, state.current, { | ||
previousState: Object.assign({}, state.previous) | ||
}) | ||
@@ -228,0 +220,0 @@ })); |
{ | ||
"name": "alexa-annotations", | ||
"description": "Create Alexa skills for the Amazon Echo, easily.", | ||
"version": "9.1.6", | ||
"author": "Cameron Hunter <hello@cameronhunter.co.uk> (http://cameronhunter.co.uk)", | ||
"license": "MIT", | ||
"repository": "https://github.com/cameronhunter/alexa/tree/master/packages/alexa-annotations", | ||
"author": { | ||
"name": "Cameron Hunter", | ||
"email": "hello@cameronhunter.co.uk", | ||
"url": "http://cameronhunter.co.uk" | ||
}, | ||
"version": "9.1.7", | ||
"main": "build/index.min.js", | ||
"license": "MIT", | ||
"files": [ | ||
@@ -18,17 +14,17 @@ "build", | ||
"dependencies": { | ||
"alexa-constants": "^0.4.2", | ||
"bluebird": "^3.3.4", | ||
"object-values": "^1.0.0", | ||
"uuid": "^2.0.3", | ||
"alexa-constants": "^0.4.1" | ||
"uuid": "^2.0.3" | ||
}, | ||
"devDependencies": { | ||
"alexa-request": "^0.3.2" | ||
"alexa-request": "^0.3.3" | ||
}, | ||
"keywords": [ | ||
"alexa", | ||
"amazon", | ||
"echo", | ||
"skill", | ||
"amazon", | ||
"lambda" | ||
"lambda", | ||
"skill" | ||
] | ||
} |
35782
753
Updatedalexa-constants@^0.4.2