diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e2bc0..2412bc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ ## Version History +### v6.0.1 + +- :bug: Fix array type of InputFeatureCollection + ### v6.0.0 - :rocket: Change `submit(FeatureCollection)` to `submit(InputFeatureCollection)` diff --git a/index.ts b/index.ts index fba5494..ee22fb3 100644 --- a/index.ts +++ b/index.ts @@ -37,7 +37,7 @@ FormatRegistry.Set('uuid', formats.IsUuid); export const InputFeatureCollection = Type.Object({ type: Type.Literal('FeatureCollection'), - features: Feature.InputFeature + features: Type.Array(Feature.InputFeature) }) export function env(current: string) {