Comparing version 5.1.0 to 5.1.1
@@ -197,4 +197,2 @@ var tilelive = exports; | ||
break; | ||
case 'legend': | ||
case 'template': | ||
case 'attribution': | ||
@@ -205,2 +203,7 @@ case 'description': | ||
break; | ||
case 'legend': | ||
case 'template': | ||
if (typeof val !== 'string' || val.length > 8000) | ||
return new Error(key + ' must be a string of 8000 characters or less'); | ||
break; | ||
case 'tiles': | ||
@@ -207,0 +210,0 @@ case 'grids': |
{ | ||
"name": "tilelive", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"main": "./lib/tilelive.js", | ||
@@ -5,0 +5,0 @@ "description": "API for various map tile backends", |
48064
787