@voiceflow/natural-language-commander
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -202,3 +202,3 @@ "use strict"; | ||
const [{ name }, ...required] = match.required; | ||
return Object.assign(Object.assign({}, match), { slots: [...((_c = intent.slots) !== null && _c !== void 0 ? _c : []), { name, value: command }], required: required }); | ||
return Object.assign(Object.assign({}, match), { slots: [...((_c = match.slots) !== null && _c !== void 0 ? _c : []), { name, value: command }], required: required }); | ||
} | ||
@@ -205,0 +205,0 @@ /** |
{ | ||
"name": "@voiceflow/natural-language-commander", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A tool for connecting natural language commands with callbacks.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/will-wow/natural-language-commander", |
@@ -268,3 +268,3 @@ import _ = require("lodash"); | ||
...match, | ||
slots: [...(intent.slots ?? []), { name,value: command }], | ||
slots: [...(match.slots ?? []), { name,value: command }], | ||
required: required, | ||
@@ -271,0 +271,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
6
1556815
36
26967