homey-lib
Advanced tools
Comparing version 2.17.1 to 2.17.2
@@ -399,3 +399,3 @@ /* eslint-disable no-restricted-properties */ | ||
this._validateFlowCard(card, `flow.${type}.${card.id}`, appJson, { levelPublish, levelVerified }); | ||
this._validateFlowCard(card, `flow.${type}['${card.id}']`, appJson, { levelPublish, levelVerified }); | ||
} | ||
@@ -608,3 +608,3 @@ } | ||
if (typeof token.type !== 'string') { | ||
console.warn(`Warning: ${errorPath}.type is missing, it defaults to "string". Specifying a token type will be required in the future.`); | ||
console.warn(`Warning: ${errorPath}.tokens['${token.name}'].type is missing, it defaults to "string". Specifying a token type will be required in the future.`); | ||
} | ||
@@ -631,3 +631,3 @@ } | ||
if (argument.title === undefined) { | ||
throw new Error(`${errorPath}: property \`title\` is required for arguments in order to publish a verified app.`); | ||
throw new Error(`${errorPath}.args['${argument.name}'].title is required for arguments in order to publish a verified app.`); | ||
} | ||
@@ -643,3 +643,3 @@ } | ||
if (levelVerified) { | ||
throw new Error(`${errorPath}: property \`titleFormatted\` is required in order to publish a verified app.`); | ||
throw new Error(`${errorPath}.titleFormatted is required in order to publish a verified app.`); | ||
} else { | ||
@@ -646,0 +646,0 @@ console.warn(`Warning: ${errorPath}.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.`); |
{ | ||
"name": "homey-lib", | ||
"version": "2.17.1", | ||
"version": "2.17.2", | ||
"description": "Shared Library for Homey", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
856651