@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.
- package/mongreldb.linux-x64-gnu.node +0 -0
- package/native.d.ts +2 -0
- package/package.json +1 -1
|
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