miqro 7.3.5 → 7.3.6

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.
Files changed (2) hide show
  1. package/build/lib.cjs +4 -1
  2. package/package.json +2 -2
package/build/lib.cjs CHANGED
@@ -11580,8 +11580,11 @@ var Database = class _Database extends EventTarget {
11580
11580
  parser2.parse(config, DATABASE_CONFIG_SCHEMA, "no_extra");
11581
11581
  this.executor = null;
11582
11582
  this._errorListener = (event) => {
11583
+ const errorEvent = new CustomEvent("error", {
11584
+ detail: event.detail
11585
+ });
11583
11586
  this.config.logger?.error(event.detail);
11584
- this.dispatchEvent(event);
11587
+ this.dispatchEvent(errorEvent);
11585
11588
  };
11586
11589
  }
11587
11590
  async connect() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miqro",
3
- "version": "7.3.5",
3
+ "version": "7.3.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "build/esm/src/lib.js",
@@ -46,7 +46,7 @@
46
46
  "@miqro/jsx-dom": "^1.0.6",
47
47
  "@miqro/jsx-node": "^1.0.9",
48
48
  "@miqro/parser": "^2.0.6",
49
- "@miqro/query": "^0.1.0",
49
+ "@miqro/query": "^0.1.1",
50
50
  "@miqro/runner": "^2.0.3",
51
51
  "@miqro/test": "^0.2.10",
52
52
  "@miqro/test-http": "^0.1.4",