@wxn0brp/db-core 0.1.4 → 0.1.5

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.
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from "@wxn0brp/event-emitter";
1
+ import { VEE } from "@wxn0brp/event-emitter";
2
2
  import ActionsBase from "../base/actions.js";
3
3
  import CollectionManager from "../helpers/CollectionManager.js";
4
4
  import executorC from "../helpers/executor.js";
@@ -18,7 +18,7 @@ type DbActionsFns = keyof {
18
18
  declare class ValtheraClass implements ValtheraCompatible {
19
19
  dbAction: ActionsBase;
20
20
  executor: executorC;
21
- emiter: EventEmitter;
21
+ emiter: VEE;
22
22
  version: string;
23
23
  constructor(options?: DbOpts);
24
24
  init(...args: any[]): Promise<unknown>;
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from "@wxn0brp/event-emitter";
1
+ import { VEE } from "@wxn0brp/event-emitter";
2
2
  import ActionsBase from "../base/actions.js";
3
3
  import CollectionManager from "../helpers/CollectionManager.js";
4
4
  import executorC from "../helpers/executor.js";
@@ -15,7 +15,7 @@ class ValtheraClass {
15
15
  constructor(options = {}) {
16
16
  this.dbAction = options.dbAction || new ActionsBase();
17
17
  this.executor = options.executor || new executorC();
18
- this.emiter = new EventEmitter();
18
+ this.emiter = new VEE();
19
19
  }
20
20
  async init(...args) {
21
21
  if (this.dbAction._inited)
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.1.4";
1
+ export const version = "0.1.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db-core",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "author": "wxn0brP",
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "homepage": "https://github.com/wxn0brP/ValtheraDB",
15
15
  "devDependencies": {
16
- "@types/node": "^22.12.0",
16
+ "@types/node": "^24.2.0",
17
17
  "tsc-alias": "^1.8.10",
18
- "typescript": "^5.7.3"
18
+ "typescript": "^5.9.2"
19
19
  },
20
20
  "files": [
21
21
  "dist"
@@ -33,6 +33,6 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@wxn0brp/event-emitter": "^0.0.1"
36
+ "@wxn0brp/event-emitter": "^0.0.2"
37
37
  }
38
38
  }