@tokenoftrust/cli 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/cli",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Token of Trust developer CLI — clone a tenant store, run it locally with save→reload, and submit it for preview. Installs the `tot` command.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Token of Trust",
@@ -107,8 +107,8 @@ export function seoDeclarationProblems(seo) {
107
107
  problems.push(`\`${at}\`: unknown page type (${STRUCTURED_DATA_PAGE_TYPES.join(", ")})`);
108
108
  continue;
109
109
  }
110
- if (!Array.isArray(tokens) || tokens.length === 0) {
111
- problems.push(`\`${at}\` must be a non-empty array of node types`);
110
+ if (!Array.isArray(tokens)) {
111
+ problems.push(`\`${at}\` must be an array of node types (empty emits no nodes)`);
112
112
  continue;
113
113
  }
114
114
  const seen = new Set();