Comparing version 2.1.7 to 2.1.8
@@ -5,6 +5,7 @@ import { AdapterOptions, BackupOptions, SecureSystem, DevLogsOptions, CollectionFilter, DisplayOptions, operationKeys, QueryOptions } from "../types/connect"; | ||
import { jsonAdapter, yamlAdapter, sqlAdapter } from "../adapters/export"; | ||
import EventEmitter from "events"; | ||
/** | ||
* The main connect class for interacting with the database | ||
*/ | ||
export default class connect { | ||
export default class connect extends EventEmitter { | ||
adapter: jsonAdapter | yamlAdapter | sqlAdapter | null; | ||
@@ -11,0 +12,0 @@ devLogs: DevLogsOptions; |
@@ -10,6 +10,7 @@ "use strict"; | ||
const logger_1 = require("./functions/logger"); | ||
const events_1 = __importDefault(require("events")); | ||
/** | ||
* The main connect class for interacting with the database | ||
*/ | ||
class connect { | ||
class connect extends events_1.default { | ||
/** | ||
@@ -21,2 +22,3 @@ * Sets up a database with one of the adapters | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j; | ||
super(); | ||
this.adapter = null; | ||
@@ -23,0 +25,0 @@ this.fileType = ""; |
{ | ||
"name": "verse.db", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "verse.db isn't just a database, it's your universal data bridge. Designed for unmatched flexibility, security, and performance, verse.db empowers you to manage your data with ease.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
714433
9296