@visorcraft/mongreldb 0.35.0 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/native.d.ts CHANGED
@@ -260,6 +260,8 @@ export declare class Database {
260
260
  * only be reopened via `openWithCredentials`.
261
261
  */
262
262
  enableAuth(adminUsername: string, adminPassword: string): void
263
+ /** Disable `require_auth`, reverting to credentialless mode (recovery). */
264
+ disableAuth(): void
263
265
  /** Returns `true` if this database has `require_auth = true`. */
264
266
  requireAuthEnabled(): boolean
265
267
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visorcraft/mongreldb",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "High-performance Node.js bindings for MongrelDB with native in-process storage, sub-ms writes, and hybrid indexing.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",