From fa92407fd0280d9187ee8429520302d7d41f37a7 Mon Sep 17 00:00:00 2001 From: MaltronCraft Network <41383245+MaltronCraft@users.noreply.github.com> Date: Fri, 22 May 2020 09:25:32 -0700 Subject: [PATCH 1/2] Fix AlexaResponse.js not working properly. Fixed an issue where uuid module would not work. Replaced uuid with uuid-random. --- lambda/smarthome/alexa/skills/smarthome/AlexaResponse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda/smarthome/alexa/skills/smarthome/AlexaResponse.js b/lambda/smarthome/alexa/skills/smarthome/AlexaResponse.js index 06abfa8..67e74c7 100644 --- a/lambda/smarthome/alexa/skills/smarthome/AlexaResponse.js +++ b/lambda/smarthome/alexa/skills/smarthome/AlexaResponse.js @@ -13,7 +13,7 @@ 'use strict'; -let uuid = require('uuid'); +let uuid = require('uuid-change'); /** * Helper class to generate an AlexaResponse. @@ -170,4 +170,4 @@ class AlexaResponse { } } -module.exports = AlexaResponse; \ No newline at end of file +module.exports = AlexaResponse; From 41b5dee82bb3036eba7e3f510e7cecb70c1c6ad4 Mon Sep 17 00:00:00 2001 From: MaltronCraft Network <41383245+MaltronCraft@users.noreply.github.com> Date: Fri, 22 May 2020 09:29:26 -0700 Subject: [PATCH 2/2] Updated dependency for AlexaResponse.js fix --- lambda/smarthome/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda/smarthome/package.json b/lambda/smarthome/package.json index 5892514..d6ac9eb 100644 --- a/lambda/smarthome/package.json +++ b/lambda/smarthome/package.json @@ -11,7 +11,7 @@ ], "dependencies": { "mocha": "^5.2.0", - "uuid": ">1.0.0" + "uuid-random": ">1.8.0" }, "devDependencies": {}, "scripts": {