Comparing version 1.1.8 to 1.1.9
@@ -64,4 +64,5 @@ import { ICollection, IMonkManager } from "monk"; | ||
findByIdAndDelete(id: string | ObjectID, options?: FindOneOptions | string): Promise<TSchema | null>; | ||
drop(): Promise<true | "ns not found">; | ||
} | ||
declare const _default: (uri: string) => Manager; | ||
export default _default; |
@@ -172,2 +172,5 @@ "use strict"; | ||
}; | ||
Collection.prototype.drop = function () { | ||
return this.collection.drop(); | ||
}; | ||
return Collection; | ||
@@ -174,0 +177,0 @@ }()); |
{ | ||
"name": "minimonk", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "A tiny wrapper around monk", | ||
@@ -5,0 +5,0 @@ "main": "lib/minimonk.js", |
@@ -232,4 +232,8 @@ import monk, { ICollection, IMonkManager } from "monk"; | ||
} | ||
drop() { | ||
return this.collection.drop(); | ||
} | ||
} | ||
export default (uri: string) => new Manager(uri); |
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
18878
460