diff --git a/README.md b/README.md index cdd8c43..bc8b951 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A mongoose plugin that verifies the fields in a query to ensure that: - All fields exist in mongoose schema. -- The query have sufficient index coverage. +- The query has sufficient index coverage. When there is any violation, you can configure the plugin to run arbitrary code, or throw a customizable message. diff --git a/package.json b/package.json index 63bcb9a..5e68e1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongoose-safe-query", - "version": "0.2.0", + "version": "0.2.1", "description": "A mongoose plugin that verifies the fields in a query", "main": "dist/index.js", "types": "dist/index.d.ts",