@voiceflow/common
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -117,3 +117,3 @@ 'use strict'; | ||
const findSlot = (slot_type, platform) => { | ||
const built_in_slot = find(SLOT_TYPES, { label: slot_type }); | ||
const built_in_slot = find(SLOT_TYPES, (s) => s.label === slot_type || s.type[platform] === slot_type); | ||
if (built_in_slot) return built_in_slot.type[platform]; | ||
@@ -120,0 +120,0 @@ return null; |
{ | ||
"name": "@voiceflow/common", | ||
"description": "Junk drawer of utility functions", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"author": "Voiceflow", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
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
99503