Comparing version 1.1.7 to 1.1.8
@@ -43,3 +43,3 @@ import { ICollection, IMonkManager } from "monk"; | ||
createIndex(index: Index): Promise<string>; | ||
count(filter: FilterQuery<TSchema>, options?: MongoCountPreferences): Promise<number>; | ||
count(filter?: FilterQuery<TSchema>, options?: MongoCountPreferences): Promise<number>; | ||
exists(filter: FilterQuery<TSchema>): Promise<boolean>; | ||
@@ -46,0 +46,0 @@ existsById(id: string | ObjectID): Promise<boolean>; |
{ | ||
"name": "minimonk", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "A tiny wrapper around monk", | ||
@@ -5,0 +5,0 @@ "main": "lib/minimonk.js", |
@@ -87,3 +87,3 @@ import monk, { ICollection, IMonkManager } from "monk"; | ||
count( | ||
filter: FilterQuery<TSchema>, | ||
filter?: FilterQuery<TSchema>, | ||
options?: MongoCountPreferences | ||
@@ -90,0 +90,0 @@ ): Promise<number> { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18683